/* VENGE-WP-CSS-VERSION: 1.4.2 cart-totals-checkout */
/* =====================================================================
   Venge — WordPress & WooCommerce glue
   Maps core/Woo markup onto the design system (assets/css/styles.css).
   Only classes the static layout never needed live here. All colours,
   radii and spacing reuse the design tokens defined in :root.
   ===================================================================== */

/* ------------------------------------------------------------------ *
 * 1. WordPress core
 * ------------------------------------------------------------------ */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--surface);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-md);
	clip: auto !important;
	clip-path: none;
	color: var(--accent-2);
	display: block;
	font-size: 14px;
	height: auto;
	left: 6px;
	line-height: normal;
	padding: 14px 22px;
	text-decoration: none;
	top: 6px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
}
.skip-link:focus {
	left: 6px;
	top: 6px;
}

/* Alignments */
.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}
.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
}
.alignwide {
	margin-left: calc(50% - 50vw + 8px);
	margin-right: calc(50% - 50vw + 8px);
	max-width: 100vw;
}
.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
}
figure.alignwide,
figure.alignfull {
	width: auto;
}

/* Captions & images */
.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5em;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
	border-radius: var(--radius);
}
.wp-caption-text,
.wp-element-caption,
figcaption {
	font-size: 13px;
	color: var(--ink-3);
	text-align: center;
	margin-top: 8px;
}
img {
	max-width: 100%;
	height: auto;
}
.post-thumbnail img,
.wp-post-image {
	border-radius: var(--radius);
}

/* Core galleries */
.gallery {
	display: grid;
	gap: 10px;
	margin-bottom: 1.5em;
}
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-item img {
	border-radius: var(--radius-sm);
	width: 100%;
	object-fit: cover;
}

/* Blocks */
.wp-block-quote,
blockquote {
	border-left: 3px solid var(--accent);
	padding: 4px 0 4px 22px;
	margin: 1.6em 0;
	color: var(--ink-2);
	font-style: italic;
}
.wp-block-pullquote {
	border-top: 2px solid var(--line);
	border-bottom: 2px solid var(--line);
	padding: 24px 0;
	text-align: center;
}
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 26px;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 14px;
	text-decoration: none;
	transition: background .2s;
}
.wp-block-button__link:hover { background: var(--accent-2); }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ink);
	border: 1px solid var(--line-2);
}
.wp-block-table table,
.wp-block-table td,
.wp-block-table th {
	border-color: var(--line);
}
.wp-block-separator,
hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2em 0;
}
.wp-block-code,
pre {
	background: var(--ink);
	color: #f4ece0;
	border-radius: var(--radius);
	padding: 18px 22px;
	overflow: auto;
	font-size: 13px;
}
code {
	background: var(--bg-2);
	border-radius: var(--radius-sm);
	padding: 2px 6px;
	font-size: .92em;
}

/* Page-links (paginated posts) */
.page-links {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 24px 0;
	font-size: 13px;
}
.page-links .page-number,
.page-links a {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--ink);
}
.page-links > .page-links-title { border: 0; width: auto; color: var(--ink-3); }
.page-links a:hover { border-color: var(--ink); }
.page-links .current > .page-number,
.page-links > .page-number.current {
	background: var(--accent);
	color: var(--accent-ink);
	border-color: var(--accent);
}

/* Sticky post flag & author highlight (used in some loops) */
.sticky-flag {
	display: inline-block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--terracotta);
}

/* ------------------------------------------------------------------ *
 * 2. Comments
 * ------------------------------------------------------------------ */

.comments-area {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}
.comments-title,
.comment-reply-title {
	font-size: 26px;
	font-weight: 300;
	margin-bottom: 22px;
}
.comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}
.comment-list ol.children {
	list-style: none;
	margin: 0;
	padding-left: 28px;
}
.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}
.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}
.comment-author .avatar {
	border-radius: 50%;
}
.comment-author .fn {
	font-weight: 500;
	font-style: normal;
}
.comment-metadata {
	font-size: 12px;
	color: var(--ink-3);
	margin-bottom: 10px;
}
.comment-metadata a { color: var(--ink-3); }
.comment-content { color: var(--ink-2); line-height: 1.7; }
.comment-content p { margin: 0 0 12px; }
.reply a {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--accent);
}
.comment-respond {
	background: var(--bg-2);
	border-radius: var(--radius);
	padding: 28px;
	margin-top: 24px;
}
.comment-form {
	display: grid;
	gap: 16px;
}
.comment-form-comment { grid-column: 1 / -1; }
.comment-form label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ink-3);
	margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font: inherit;
	color: var(--ink);
}
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--accent);
}
.comment-form .form-submit input {
	display: inline-flex;
	padding: 13px 30px;
	border: 0;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 14px;
	cursor: pointer;
}
.comment-form .form-submit input:hover { background: var(--accent-2); }
.comment-notes,
.comment-form-cookies-consent {
	font-size: 12px;
	color: var(--ink-3);
	grid-column: 1 / -1;
}

/* ------------------------------------------------------------------ *
 * 3. Helper classes introduced by theme templates
 * ------------------------------------------------------------------ */

/* Page heads that replaced inline-styled <h1> blocks */
.catalog-head,
.cart-page-head,
.checkout-head,
.account-page-head { padding: 8px 0 24px; }
.cart-page-head,
.account-page-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 12px;
}
.catalog-title,
.cart-title,
.checkout-title,
.account-title {
	font-size: 48px;
	font-weight: 200;
	margin-bottom: 12px;
	line-height: 1.05;
}
.checkout-title { margin-bottom: 8px; }
.catalog-intro { max-width: 720px; }
.catalog-intro p:last-child { margin-bottom: 0; }

/* Full-width image link inside product cards */
.product-image-link {
	display: block;
	width: 100%;
	height: 100%;
}
.product-image-link img { display: block; }

/* ------------------------------------------------------------------ *
 * 4. WooCommerce — notices
 * ------------------------------------------------------------------ */

.woocommerce-notices-wrapper:not(:empty) { margin-bottom: 22px; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	list-style: none;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 15px 20px;
	border-radius: var(--radius);
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 16px;
	border: 1px solid var(--line);
	background: var(--bg-2);
	color: var(--ink-2);
}
.woocommerce-message {
	border-color: rgba(14, 166, 114, .3);
	background: rgba(14, 166, 114, .08);
}
.woocommerce-error {
	border-color: rgba(255, 107, 53, .35);
	background: rgba(255, 107, 53, .07);
	flex-direction: column;
}
.woocommerce-error li { list-style: none; }
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	margin-left: auto;
	white-space: nowrap;
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 13px;
	text-decoration: none;
}
.demo_store,
.woocommerce-store-notice {
	background: var(--ink);
	color: #f4ece0;
	padding: 12px 20px;
	font-size: 13px;
	text-align: center;
}

/* ------------------------------------------------------------------ *
 * 5. WooCommerce — form fields (checkout, account, address)
 * ------------------------------------------------------------------ */

.woocommerce form .form-row,
.woocommerce-page form .form-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
	padding: 0;
}
.woocommerce form .form-row label,
.woocommerce-page form .form-row label,
.woocommerce-account .woocommerce label {
	font-size: 12px;
	color: var(--ink-3);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.woocommerce form .form-row .required { color: var(--terracotta); border: 0; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce .select2-selection,
.select2-container .select2-selection--single {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font: inherit;
	font-size: 14px;
	color: var(--ink);
	min-height: 46px;
	box-sizing: border-box;
}
.woocommerce form .form-row textarea { min-height: 90px; resize: vertical; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	outline: none;
	border-color: var(--accent);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 22px;
	padding: 0;
	color: var(--ink);
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 44px;
}
.select2-dropdown {
	border-color: var(--line-2);
	border-radius: var(--radius-sm);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: var(--accent);
}
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--terracotta); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--accent); }
.required-field-message { font-size: 12px; color: var(--ink-3); }

/* Password reveal */
.woocommerce-password-strength {
	font-size: 12px;
	padding: 6px 0;
	color: var(--ink-3);
}
.woocommerce-password-strength.strong { color: var(--accent); }
.woocommerce-password-strength.short,
.woocommerce-password-strength.bad { color: var(--terracotta); }
.woocommerce-password-hint { font-size: 12px; color: var(--ink-3); }

/* Buttons: map Woo's .button onto the design's .btn */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 26px;
	border: 0;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	transition: background .2s, border-color .2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: var(--accent-2); color: var(--accent-ink); }
.woocommerce a.button.wc-backward,
.woocommerce .button.wp-element-button.wc-backward {
	background: transparent;
	color: var(--ink);
	border: 1px solid var(--line-2);
}
.woocommerce a.button.wc-backward:hover { border-color: var(--ink); background: transparent; }
.woocommerce button.button:disabled,
.woocommerce button.button.disabled { opacity: .5; cursor: default; }

/* ------------------------------------------------------------------ *
 * 6. WooCommerce — catalog toolbar & pagination
 * ------------------------------------------------------------------ */

.catalog-toolbar .toolbar-tools {
	display: flex;
	gap: 14px;
	align-items: center;
}
.woocommerce .catalog-toolbar .woocommerce-result-count { margin: 0; color: var(--ink-3); font-size: 13px; }
.woocommerce .catalog-toolbar .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select,
.sort-select {
	padding: 10px 34px 10px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font: inherit;
	font-size: 13px;
	color: var(--ink);
	cursor: pointer;
}

/* Remove Woo's default loop columns; the design grid controls layout.
   Always 3 across on desktop regardless of the store's "columns" setting. */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto;
	margin: 0;
	float: none;
	clear: none;
}
.woocommerce ul.products li.product::before { display: none; }

/* Fix WooCommerce clearfix pseudo-elements becoming CSS Grid items.
   WooCommerce adds ::before/::after to ul.products for float clearing. Since
   this theme uses display:grid on ul.products, those pseudo-elements occupy
   real grid cells and create an empty space before the first card. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
	content: none !important;
	display: none !important;
}

/* Woo pagination fallback → reuse .pagination look */
.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	gap: 6px;
	border: 0;
	margin: 40px 0 0;
	justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
	margin: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-flex;
	min-width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink);
	background: var(--surface);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--accent);
	color: var(--accent-ink);
	border-color: var(--accent);
}

/* ------------------------------------------------------------------ *
 * 7. WooCommerce — single product extras
 * ------------------------------------------------------------------ */

/* Variable/grouped product form styled to match the purchase row */
.venge-woo-addtocart { margin: 4px 0 8px; }
.venge-woo-addtocart .variations {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 16px;
}
.venge-woo-addtocart .variations th,
.venge-woo-addtocart .variations td {
	text-align: left;
	padding: 8px 0;
	vertical-align: middle;
}
.venge-woo-addtocart .variations th.label label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ink-3);
	margin: 0;
}
.venge-woo-addtocart .variations select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font: inherit;
	font-size: 14px;
}
.venge-woo-addtocart .reset_variations {
	font-size: 12px;
	color: var(--ink-3);
	margin-left: 8px;
}
.venge-woo-addtocart .woocommerce-variation-price .price { font-size: 26px; color: var(--ink); }
.venge-woo-addtocart .single_variation_wrap,
.venge-woo-addtocart form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 0;
}
.venge-woo-addtocart .woocommerce-variation { flex: 1 1 100%; }
.venge-woo-addtocart .quantity { flex: 0 0 auto; }
.venge-woo-addtocart button.single_add_to_cart_button {
	flex: 1 1 auto;
	padding: 18px 34px;
	font-size: 15px;
}
.venge-woo-addtocart .group_table { width: 100%; }
.venge-woo-addtocart .group_table td { padding: 8px 6px; border-bottom: 1px solid var(--line); }

/* Quantity stepper buttons added by the themed quantity-input template */
.qty-input .qty-btn {
	width: 38px;
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 18px;
	color: var(--ink-2);
	cursor: pointer;
}
.qty-input.quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--surface);
}
.qty-input.quantity input.qty {
	width: 46px;
	border: 0;
	border-left: 1px solid var(--line);
	border-right: 1px solid var(--line);
	text-align: center;
	padding: 11px 0;
	font: inherit;
	-moz-appearance: textfield;
}
.qty-input.quantity input.qty::-webkit-outer-spin-button,
.qty-input.quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-single { display: none !important; }

/* Product attribute table → .spec-table already styled in the design.
   Woo's own attribute table (if ever shown) inherits the same look. */
.woocommerce-product-attributes,
table.shop_attributes {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.woocommerce-product-attributes th,
table.shop_attributes th {
	text-align: left;
	width: 40%;
	padding: 12px 0;
	color: var(--ink-3);
	font-weight: 400;
	border-bottom: 1px solid var(--line);
}
.woocommerce-product-attributes td,
table.shop_attributes td {
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}
table.shop_attributes p { margin: 0; }

/* Reviews inside the themed tab */
.woocommerce #reviews #comments { margin-top: 8px; }
.woocommerce #reviews ol.commentlist { list-style: none; margin: 0; padding: 0; }
.woocommerce #reviews ol.commentlist li {
	background: var(--bg-2);
	border-radius: var(--radius);
	padding: 18px 22px;
	margin-bottom: 14px;
}
.woocommerce #reviews .comment-text { margin: 0; }
.woocommerce #reviews .star-rating { color: var(--gold); float: right; }
.woocommerce .star-rating { color: var(--gold); }
.woocommerce p.stars a { color: var(--gold); }
.woocommerce #review_form .comment-form-rating { margin-bottom: 12px; }
.woocommerce #respond input#submit,
.woocommerce #review_form #respond .form-submit input {
	background: var(--accent);
	color: var(--accent-ink);
}

/* ------------------------------------------------------------------ *
 * 8. WooCommerce — cart
 * ------------------------------------------------------------------ */

.cart-actions-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 20px;
	font-size: 13px;
	color: var(--ink-3);
}
.cart-continue { color: var(--ink); }
.cart-actions-right {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}
.cart-coupon-inline {
	display: flex;
	gap: 8px;
	align-items: center;
}
.cart-coupon-inline input {
	padding: 9px 12px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font: inherit;
	font-size: 13px;
	width: 150px;
}
.qty-input.qty-single { padding: 0 14px; align-items: center; }

/* Summary block extras (trust badges + coupon rows already themed) */
.summary-trust {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 22px;
	font-size: 12px;
	color: var(--ink-3);
}
.summary-trust > div {
	display: flex;
	gap: 10px;
	align-items: center;
}
.summary .cart_totals,
.cart-collaterals .summary { margin: 0; }
.summary .shipping-cell { text-align: right; font-size: 13px; }
.summary .shipping-cell ul { list-style: none; margin: 0; padding: 0; }
.summary .shipping-cell .woocommerce-Price-amount { font-weight: 400; }
.wc-proceed-to-checkout { margin-top: 18px; padding: 0; }
.wc-proceed-to-checkout .checkout-button {
	display: flex !important;
	width: 100%;
	padding: 18px 34px;
	font-size: 15px;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: var(--radius);
	text-align: center;
	justify-content: center;
}
.wc-proceed-to-checkout .checkout-button:hover { background: var(--accent-2); }

/* Cross-sell / suggested products grid */
.cross-sells > h2,
.up-sells > h2 {
	font-size: 24px;
	font-weight: 300;
	margin: 48px 0 18px;
}
.cross-sells ul.products,
.up-sells ul.products { margin-top: 8px; }

/* Shipping calculator inside summary */
.summary .shipping-calculator-form { margin-top: 10px; }
.summary .shipping-calculator-button {
	font-size: 13px;
	color: var(--accent);
	background: none;
	padding: 0;
}

/* ------------------------------------------------------------------ *
 * 9. WooCommerce — checkout
 * ------------------------------------------------------------------ */

.checkout-layout .checkout-main { min-width: 0; }
.checkout-section {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 28px;
	margin-bottom: 18px;
}
.checkout-section > h3,
.checkout-section h3#order_review_heading {
	font-size: 18px;
	font-weight: 400;
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.checkout-section .num {
	width: 26px;
	height: 26px;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}
.checkout-how {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.checkout-how p { margin: 6px 0 0; color: var(--ink-3); font-size: 14px; line-height: 1.6; }
.checkout-shipping:empty { display: none; }
.woocommerce-billing-fields > h3,
.woocommerce-shipping-fields > h3,
.woocommerce-additional-fields > h3 {
	font-size: 18px;
	font-weight: 400;
	margin: 0 0 18px;
}
#customer_details .col-1,
#customer_details .col-2 { width: 100%; float: none; padding: 0; }
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-billing-fields__field-wrapper #billing_address_1_field,
.woocommerce-billing-fields__field-wrapper #order_comments_field,
.form-row-wide { grid-column: 1 / -1; }
.checkout-priority {
	background: var(--bg-2);
	border-radius: var(--radius);
	padding: 18px;
	margin-top: 14px;
	font-size: 12px;
	color: var(--ink-3);
	display: flex;
	gap: 10px;
	align-items: center;
}

/* Order review table */
.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin-bottom: 8px;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 10px 0;
	text-align: left;
	border-bottom: 1px solid var(--line);
}
.woocommerce-checkout-review-order-table td.product-total,
.woocommerce-checkout-review-order-table th.product-total { text-align: right; }
.woocommerce-checkout-review-order-table .cart-discount td,
.woocommerce-checkout-review-order-table .fee td,
.woocommerce-checkout-review-order-table .fee th { color: var(--terracotta); }
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
	font-size: 17px;
	font-weight: 500;
	border-bottom: 0;
	padding-top: 14px;
}
.woocommerce-checkout-review-order-table .product-name { color: var(--ink-2); }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--ink-3); }

/* Payment methods */
#payment,
.woocommerce-checkout #payment {
	background: transparent;
	border-radius: 0;
	margin-top: 18px;
}
#payment ul.payment_methods {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}
#payment ul.payment_methods li {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
#payment ul.payment_methods li input { accent-color: var(--accent); }
#payment ul.payment_methods li label { display: inline; text-transform: none; font-size: 14px; color: var(--ink); }
#payment div.payment_box {
	background: var(--bg-2);
	border-radius: var(--radius-sm);
	margin-top: 10px;
	padding: 14px 16px;
	font-size: 13px;
	color: var(--ink-3);
}
#payment div.payment_box::before { display: none; }
#payment .place-order { padding: 0; margin-top: 8px; }
#payment #place_order {
	width: 100%;
	padding: 18px 34px;
	font-size: 15px;
	background: var(--accent);
	color: var(--accent-ink);
	border: 0;
	border-radius: var(--radius);
	cursor: pointer;
}
#payment #place_order:hover { background: var(--accent-2); }
.woocommerce-terms-and-conditions-wrapper {
	font-size: 12px;
	color: var(--ink-3);
	margin: 12px 0;
}
.woocommerce-form__label-for-checkbox { text-transform: none !important; }

/* ------------------------------------------------------------------ *
 * 10. WooCommerce — account (login + dashboard)
 * ------------------------------------------------------------------ */

.auth-heading { font-weight: 200; font-size: 36px; margin-bottom: 10px; }
.auth-sub { margin-bottom: 24px; }
.auth-remember {
	display: flex;
	gap: 8px;
	align-items: center;
	cursor: pointer;
	color: var(--ink-2);
	text-transform: none !important;
	letter-spacing: normal !important;
	font-size: 13px !important;
}
.auth-remember input { accent-color: var(--accent); }
.auth-form .woocommerce-form-row { margin-bottom: 0; }
.woocommerce-form-login__rememberme { text-transform: none; }

/* Account layout: nav + content */
.account-content { min-width: 0; }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-account .account-nav ul { list-style: none; margin: 0; padding: 0; }

/* Endpoint tables (orders, downloads) */
.woocommerce-orders-table,
.woocommerce-table--order-details,
.shop_table,
.woocommerce-MyAccount-downloads {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin-bottom: 20px;
}
.woocommerce-orders-table th,
.woocommerce-table--order-details th,
.shop_table th {
	text-align: left;
	padding: 12px 10px;
	border-bottom: 1px solid var(--line-2);
	color: var(--ink-3);
	font-weight: 400;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .03em;
}
.woocommerce-orders-table td,
.woocommerce-table--order-details td,
.shop_table td {
	padding: 14px 10px;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}
.woocommerce-orders-table tfoot th,
.woocommerce-table--order-details tfoot th { text-align: left; }
.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions { text-align: right; }
.woocommerce-orders-table .button,
.woocommerce-MyAccount-downloads .button {
	padding: 8px 16px;
	font-size: 13px;
}

/* Order status pills reuse the design's .order-status look */
.order-status {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12px;
	white-space: nowrap;
}
.order-status.done,
.order-status.completed { background: rgba(14,166,114,.12); color: var(--accent-2); }
.order-status.progress,
.order-status.processing,
.order-status.on-hold { background: rgba(208,138,28,.14); color: var(--gold); }

/* Addresses */
.woocommerce-Addresses,
.u-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	margin-top: 10px;
}
.woocommerce-Address {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; }
.woocommerce-Address-title h3 { font-size: 18px; font-weight: 400; margin: 0 0 10px; }
.woocommerce-Address address { font-style: normal; color: var(--ink-2); line-height: 1.7; font-size: 14px; }
.woocommerce-Address .edit { font-size: 13px; color: var(--accent); }

/* Account detail forms */
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	max-width: 640px;
}
.woocommerce-EditAccountForm fieldset {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	margin-top: 20px;
	padding: 16px 18px;
}
.woocommerce-EditAccountForm legend { padding: 0 8px; color: var(--ink-3); font-size: 13px; }

/* Order-detail view */
.woocommerce-customer-details address {
	font-style: normal;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
	line-height: 1.7;
	font-size: 14px;
}
.woocommerce-order-details__title,
.woocommerce-column__title { font-size: 20px; font-weight: 300; margin: 24px 0 14px; }

/* ------------------------------------------------------------------ *
 * 11. Thankyou page steps
 * ------------------------------------------------------------------ */

.thanks-steps {
	text-align: left;
	background: var(--bg-2);
	border-radius: var(--radius);
	padding: 28px;
	margin: 32px auto;
	max-width: 480px;
}
.thanks-steps-label {
	font-size: 12px;
	color: var(--ink-3);
	text-transform: uppercase;
	margin-bottom: 12px;
	letter-spacing: .04em;
}
.thanks-steps-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: 14px;
}
.thanks-step { display: flex; gap: 14px; align-items: flex-start; }
.thanks-step-num {
	width: 28px;
	height: 28px;
	background: var(--accent);
	color: #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	flex-shrink: 0;
}
.thanks-step-sub { color: var(--ink-3); font-size: 13px; }
.thanks-note { font-size: 13px; }
.woocommerce-order .woocommerce-order-overview {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	justify-content: center;
	padding: 20px 0;
	margin: 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	font-size: 13px;
}
.woocommerce-order .woocommerce-order-overview li { border: 0; text-transform: none; color: var(--ink-3); }
.woocommerce-order .woocommerce-order-overview li strong { display: block; color: var(--ink); font-size: 15px; }

/* ------------------------------------------------------------------ *
 * 12. Widgets — WooCommerce layered nav & price filter in the sidebar
 * ------------------------------------------------------------------ */

.filters .widget { margin-bottom: 24px; }
.filters .widget .widget-title,
.filters .widgettitle {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--ink);
	margin-bottom: 12px;
}
.filters .woocommerce-widget-layered-nav-list,
.filters .product-categories,
.filters ul.cat-item,
.filters .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.filters .woocommerce-widget-layered-nav-list__item,
.filters .product-categories li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 0;
	font-size: 14px;
}
.filters .woocommerce-widget-layered-nav-list__item a,
.filters .product-categories li a { color: var(--ink-2); text-decoration: none; }
.filters .woocommerce-widget-layered-nav-list__item.chosen a::before {
	content: "✕";
	color: var(--terracotta);
	margin-right: 6px;
	font-size: 11px;
}
.filters .count { color: var(--ink-3); font-size: 12px; }
.widget_price_filter .price_slider_wrapper { margin-top: 10px; }
.widget_price_filter .ui-slider {
	position: relative;
	height: 4px;
	background: var(--line-2);
	border-radius: 4px;
	margin: 14px 6px 18px;
}
.widget_price_filter .ui-slider .ui-slider-range { background: var(--accent); height: 4px; position: absolute; }
.widget_price_filter .ui-slider .ui-slider-handle {
	width: 14px;
	height: 14px;
	background: var(--accent);
	border-radius: 50%;
	position: absolute;
	top: -5px;
	margin-left: -7px;
	cursor: pointer;
}
.widget_price_filter .price_label { font-size: 13px; color: var(--ink-2); }
.widget_price_filter .button {
	margin-top: 12px;
	padding: 8px 18px;
	font-size: 13px;
}
.filters .woocommerce-Price-amount { color: var(--ink); }

/* Active filters chips */
.woocommerce-widget-layered-nav-dropdown { margin-top: 8px; }

/* Star-rating widget */
.widget_rating_filter ul { list-style: none; margin: 0; padding: 0; }
.widget_rating_filter li { padding: 6px 0; }
.widget_rating_filter .star-rating { display: inline-block; }

/* ------------------------------------------------------------------ *
 * 13. Responsive tweaks for the added layouts
 * ------------------------------------------------------------------ */

@media (max-width: 900px) {
	.woocommerce-billing-fields__field-wrapper,
	.woocommerce-shipping-fields__field-wrapper,
	.woocommerce-additional-fields__field-wrapper,
	.woocommerce-Addresses,
	.u-columns { grid-template-columns: 1fr; }

	.woocommerce ul.products,
	.woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }

	.catalog-title,
	.cart-title,
	.checkout-title,
	.account-title { font-size: 36px; }

	.cart-actions-row { flex-direction: column; align-items: stretch; }
	.cart-actions-right { justify-content: space-between; }
}

@media (max-width: 560px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products { grid-template-columns: 1fr !important; }
	.cart-coupon-inline input { width: 120px; }
	.woocommerce-orders-table thead,
	.shop_table thead { display: none; }
	.woocommerce-orders-table tr,
	.shop_table.order_details tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
	.woocommerce-orders-table td,
	.shop_table.order_details td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 10px; }
	.woocommerce-orders-table td::before,
	.shop_table.order_details td::before {
		content: attr(data-title);
		color: var(--ink-3);
		font-size: 12px;
		text-transform: uppercase;
	}
}

/* ------------------------------------------------------------------ *
 * 14. Category navigation — dropdowns for subcategories
 * ------------------------------------------------------------------ */

/* Let all top-level categories show and don't clip the dropdowns.
   No-JS fallback wraps to multiple rows; with JS the bar is a single row
   and overflow collapses into "Ещё" (see theme.js). */
.catnav-inner {
	flex-wrap: wrap;
	overflow: visible;
	row-gap: 0;
}
.catnav.catnav-js .catnav-inner {
	flex-wrap: nowrap;
}
.catnav-item { position: relative; }
.catnav-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 16px 16px;
	font-size: 13px;
	font-weight: 400;
	color: var(--ink-2);
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color .15s, border-color .15s;
}
.catnav-item:hover > .catnav-link,
.catnav-link.active {
	color: var(--accent);
	border-bottom-color: var(--accent);
}
.catnav-link.sale-link { color: var(--terracotta); }
.catnav-link.sale-link:hover { border-bottom-color: var(--terracotta); }
.catnav-caret { opacity: .45; transition: transform .18s, opacity .18s; flex-shrink: 0; }
.catnav-item.has-sub:hover .catnav-caret { transform: rotate(180deg); opacity: .9; }

/* Dropdown panel */
.catnav-sub {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 60;
	min-width: 220px;
	max-width: 320px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 2px solid var(--accent);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow-md);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.catnav-item.has-sub:hover > .catnav-sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.catnav-sub-inner {
	display: flex;
	flex-direction: column;
	max-height: 70vh;
	overflow-y: auto;
}
/* Override the base ".catnav a" rule for dropdown links (no big padding/border) */
.catnav .catnav-sub a {
	padding: 9px 14px;
	font-size: 13px;
	color: var(--ink-2);
	border: 0;
	border-radius: var(--radius-sm);
	white-space: normal;
	line-height: 1.35;
}
.catnav .catnav-sub a:hover {
	background: var(--bg-2);
	color: var(--accent);
	border: 0;
}
/* Keep the last couple of dropdowns from spilling past the right edge */
.catnav-item.has-sub:nth-last-child(-n+2) > .catnav-sub { left: auto; right: 0; }

/* "Ещё" (More) overflow dropdown — readable multi-column list */
.catnav-sub-wide { min-width: 440px; max-width: 620px; }
.catnav-more-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 10px;
	max-height: none;
}
@media (min-width: 1200px) {
	.catnav-more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.catnav-more-grid a {
	white-space: normal;
	line-height: 1.3;
}
.catnav-more > .catnav-link { cursor: default; }

/* ------------------------------------------------------------------ *
 * 17. Fixes for embedded auth page & footer with long category names
 * ------------------------------------------------------------------ */

/* Login/register screen is embedded between header & footer here, so it must
   size to its content instead of forcing 80vh of empty green. */
.auth-wrap {
	min-height: auto;
}
.auth-side {
	padding: 64px 56px;
}
.auth-form-wrap {
	padding: 64px 56px;
	width: 100%;
}

/* Footer: long auto-pulled category names were expanding their columns and
   crushing the "about" column into a vertical sliver. minmax(0,…) lets every
   track shrink, and wrapping keeps long links inside their column. */
.footer-grid {
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
}
.footer-grid > div { min-width: 0; }
.footer a,
.footer-grid li a,
.footer-about { overflow-wrap: anywhere; word-break: normal; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }

/* ------------------------------------------------------------------ *
 * 15. Subcategory tiles on category archives
 * ------------------------------------------------------------------ */

.woocommerce ul.products li.product.subcat-card { text-align: left; }
.subcat-tile {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	height: 100%;
	transition: border-color .2s, transform .2s, box-shadow .2s;
	text-decoration: none;
}
.subcat-tile:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}
.subcat-img {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--bg-2);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.subcat-img-ph svg {
	width: 56px;
	height: 56px;
	color: var(--accent);
	opacity: .7;
}
.subcat-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 12px;
	line-height: 1;
	padding: 5px 9px;
	border-radius: 999px;
}
.subcat-body { padding: 16px 18px 18px; }
.subcat-name {
	display: block;
	font-size: 16px;
	color: var(--ink);
	margin-bottom: 4px;
}
.subcat-count { font-size: 12px; color: var(--ink-3); }

/* Woo's default category title markup, if it ever surfaces, inherits the look */
.woocommerce ul.products li.product-category > a img { margin: 0; }
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	font-size: 16px;
	font-weight: 400;
	padding: 14px 0 0;
}
.woocommerce ul.products li.product-category .count {
	color: var(--ink-3);
	font-size: 12px;
	background: none;
}

/* ------------------------------------------------------------------ *
 * 16. Catalogue filters — closer to the mockup
 * ------------------------------------------------------------------ */

/* Wrap each widget so it reads like a design ".filter-block" */
.filters .widget {
	padding-bottom: 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--line);
}
.filters .widget:last-child { border-bottom: 0; }
.filters .widget .widget-title,
.filters .widgettitle {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ink);
	margin: 0 0 14px;
	font-weight: 500;
}

/* Price filter → design-style range inputs + button */
.widget_price_filter .price_slider_amount {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.widget_price_filter .price_slider_amount .price_label {
	order: 1;
	font-size: 13px;
	color: var(--ink-2);
}
.widget_price_filter .price_slider_amount .button {
	order: 2;
	align-self: stretch;
	width: 100%;
	background: var(--bg-2);
	color: var(--ink);
	border: 1px solid var(--line-2);
	padding: 11px 18px;
	font-size: 13px;
}
.widget_price_filter .price_slider_amount .button:hover {
	border-color: var(--ink);
	background: var(--bg-2);
}

/* Attribute / category lists as clean checkable rows with counts */
.filters .woocommerce-widget-layered-nav-list,
.filters .product-categories,
.filters ul.cat-item,
.filters .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.filters .woocommerce-widget-layered-nav-list__item,
.filters .product-categories li,
.filters .wc-layered-nav-term {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	font-size: 14px;
	line-height: 1.3;
}
.filters .woocommerce-widget-layered-nav-list__item a,
.filters .product-categories li a {
	color: var(--ink-2);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.filters .woocommerce-widget-layered-nav-list__item a::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 1px solid var(--line-2);
	border-radius: 3px;
	flex-shrink: 0;
	transition: background .15s, border-color .15s;
}
.filters .woocommerce-widget-layered-nav-list__item.chosen a::before {
	background: var(--accent);
	border-color: var(--accent);
}
.filters .woocommerce-widget-layered-nav-list__item a:hover { color: var(--accent); }
.filters .count {
	color: var(--ink-3);
	font-size: 12px;
	background: none;
	border: 0;
	font-weight: 400;
}

/* Colour attribute shown as swatches (variation-swatches plugins) */
.filters .wcpa_swatches,
.filters .variable-items-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.filters .variable-item {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--line-2);
	cursor: pointer;
}

/* Active filter chips */
.filters .woocommerce-widget-layered-nav-list__item.chosen a {
	color: var(--accent);
	font-weight: 500;
}
.filters .woocommerce-widget-layered-nav-list__item.chosen a::after {
	content: "✕";
	margin-left: 4px;
	color: var(--terracotta);
	font-size: 11px;
}

/* "Reset filters" link at the bottom of the sidebar */
.filters .reset-filters,
.filters .wc-block-components-filter-reset-button {
	display: block;
	margin-top: 14px;
	font-size: 13px;
	color: var(--ink-3);
	text-align: center;
	text-decoration: underline;
}

/* ------------------------------------------------------------------ *
 * 18. Catalogue filters — WooCommerce BLOCK filters (wc-block-*)
 *     and robust, markup-agnostic styling scoped to .filters
 * ------------------------------------------------------------------ */

/* Every filter heading (classic widget title, block heading, block filter
   title) reads like the design's small uppercase ".filter-block h5". */
.filters h2,
.filters h3,
.filters h4,
.filters h5,
.filters .wp-block-heading,
.filters .widget-title,
.filters .widgettitle,
.filters .wc-block-components-title,
.filters .wc-block-filter-title,
.filters .wc-blocks-components-form-token-field__label,
.filters .wc-block-components-price-slider__title {
	font-size: 12px !important;
	font-weight: 500 !important;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ink);
	margin: 0 0 14px !important;
	line-height: 1.3;
}

/* Space between block filters, mirroring ".filter-block" rhythm */
.filters .wc-block-price-filter,
.filters .wc-block-stock-filter,
.filters .wc-block-attribute-filter,
.filters .wc-block-rating-filter,
.filters .wc-block-active-filters,
.filters [class*="wp-block-woocommerce-product-filter"],
.filters .wp-block-group,
.filters .widget {
	margin-bottom: 22px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}
.filters .wc-block-active-filters { border-bottom: 0; }

/* --- Inputs: all text/number fields in the sidebar match the design --- */
.filters input[type="text"],
.filters input[type="number"],
.filters input.wc-block-price-filter__amount,
.filters .wc-block-price-filter__range-text {
	padding: 11px 12px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font: inherit;
	font-size: 13px;
	color: var(--ink);
	width: 100%;
	box-sizing: border-box;
}
.filters input:focus { outline: none; border-color: var(--accent); }

/* --- Buttons: "Применить"/"Filter" etc. → design secondary button --- */
.filters button,
.filters .wp-element-button,
.filters .wc-block-components-filter-submit-button,
.filters .wc-block-components-button,
.filters .wc-block-price-filter__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--bg-2);
	color: var(--ink);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.filters button:hover,
.filters .wc-block-components-filter-submit-button:hover {
	border-color: var(--ink);
	background: var(--bg-2);
}

/* --- Price slider (block) — thin accent track + round handles --- */
.filters .wc-block-components-price-slider__range-input-wrapper,
.filters .wc-block-price-filter__range-input-wrapper {
	background: var(--line-2);
	height: 4px;
	border-radius: 4px;
	margin: 8px 0 16px;
}
.filters .wc-block-components-price-slider__range-input-progress,
.filters .wc-block-price-filter__range-input-progress {
	--range-color: var(--accent);
	background: var(--accent);
	height: 4px;
}
.filters .wc-block-components-price-slider__range-input::-webkit-slider-thumb,
.filters .wc-block-price-filter__range-input::-webkit-slider-thumb {
	background: var(--accent);
	border: 2px solid var(--surface);
	box-shadow: 0 0 0 1px var(--accent);
}
.filters .wc-block-components-price-slider__range-input::-moz-range-thumb,
.filters .wc-block-price-filter__range-input::-moz-range-thumb {
	background: var(--accent);
	border: 2px solid var(--surface);
}
.filters .wc-block-components-price-slider__controls,
.filters .wc-block-price-filter__controls {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}
.filters .wc-block-components-price-slider__actions,
.filters .wc-block-price-filter__actions { justify-content: flex-start; }

/* --- Checkbox rows (block): label left, count right --- */
.filters .wc-block-components-checkbox {
	display: block;
	margin: 0;
	padding: 7px 0;
	font-size: 14px;
}
.filters .wc-block-components-checkbox__label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-2);
	cursor: pointer;
	line-height: 1.3;
}
.filters .wc-block-components-checkbox__input,
.filters input[type="checkbox"] {
	accent-color: var(--accent);
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.filters .wc-block-components-checkbox__mark { display: none; }
.filters .wc-filter-element-label-list-count,
.filters .wc-block-components-checkbox__label-count,
.filters .wc-block-rating-filter__count {
	margin-left: auto;
	color: var(--ink-3);
	font-size: 12px;
	background: none;
	border: 0;
}
.filters .wc-filter-element-label-list-count::before,
.filters .wc-filter-element-label-list-count::after { content: ""; }

/* --- Rating filter stars --- */
.filters .wc-block-components-product-rating,
.filters .wc-block-rating-filter .stars,
.filters .star-rating { color: var(--gold); }

/* --- Active filter chips (block) --- */
.filters .wc-block-active-filters__list-item-type,
.filters .wc-block-active-filters__list-item { font-size: 13px; color: var(--ink-2); }
.filters .wc-block-active-filters__list-item-remove {
	color: var(--terracotta);
}
.filters .wc-block-components-chip {
	background: var(--bg-2);
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 12px;
}

/* --- Category / taxonomy dropdown (block or select) --- */
.filters select {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font: inherit;
	font-size: 13px;
	color: var(--ink);
}

/* Remove default heavy list styling inside any block filter list */
.filters .wc-block-checkbox-list,
.filters .wc-block-components-checkbox-list,
.filters ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ------------------------------------------------------------------ *
 * 19. WooCommerce "Product Filters" block (WooCommerce 9.x)
 *     Exact classes: wc-block-product-filter-* / wp-block-woocommerce-*
 *     This is what styles the live filter on the store.
 * ------------------------------------------------------------------ */

/* Block wrapper: drop its white background box, sit flush in the sidebar */
.filters .wc-block-product-filters,
.filters .wp-block-woocommerce-product-filters {
	--wc-product-filters-background-color: transparent;
	background: transparent !important;
	display: block;
	padding: 0;
	gap: 0;
}
.filters .wc-block-product-filters__overlay,
.filters .wc-block-product-filters__overlay-wrapper,
.filters .wc-block-product-filters__overlay-dialog,
.filters .wc-block-product-filters__overlay-content {
	background: transparent !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	max-width: none;
	position: static;
}
.filters .wc-block-product-filters__overlay-header { display: none; }

/* On desktop the filters show inline — hide the "Фильтрация товаров" button.
   (On mobile WooCommerce keeps its modal behaviour.) */
@media (min-width: 900px) {
	.filters .wc-block-product-filters__open-overlay { display: none !important; }
}

/* Each filter section → spacing + divider, like the design's ".filter-block" */
.filters [class*="wp-block-woocommerce-product-filter-"] {
	margin: 0 0 22px;
	padding: 0 0 22px;
	border-bottom: 1px solid var(--line);
}
.filters [class*="wp-block-woocommerce-product-filter-"]:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}
.filters .wp-block-woocommerce-product-filter-active { border-bottom: 0; }

/* Section headings (Цена / Рейтинг / Категория / Статус) → small uppercase */
.filters .wc-block-product-filters .wp-block-heading,
.filters .wp-block-woocommerce-product-filter-price h3,
.filters .wp-block-woocommerce-product-filter-rating h3,
.filters .wp-block-woocommerce-product-filter-attribute h3,
.filters .wp-block-woocommerce-product-filter-taxonomy h3,
.filters .wp-block-woocommerce-product-filter-status h3 {
	font-size: 12px !important;
	font-weight: 500 !important;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ink) !important;
	margin: 0 0 12px !important;
	line-height: 1.3;
}

/* --- Checkbox list (Категория / Статус / Рейтинг / атрибуты) --- */
.filters .wc-block-product-filter-checkbox-list fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.filters .wc-block-product-filter-checkbox-list__items {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.filters .wc-block-product-filter-checkbox-list__item { margin: 0 !important; }
.filters .wc-block-product-filter-checkbox-list__label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 7px 0;
	margin: 0;
	cursor: pointer;
	color: var(--ink-2);
	font-size: 14px;
	line-height: 1.35;
}
.filters .wc-block-product-filter-checkbox-list__label:hover { color: var(--accent); }
.filters .wc-block-product-filter-checkbox-list__item.has-depth-1 .wc-block-product-filter-checkbox-list__label { padding-left: 22px; }
.filters .wc-block-product-filter-checkbox-list__item.has-depth-2 .wc-block-product-filter-checkbox-list__label { padding-left: 40px; }

/* The checkbox box (native input restyled) + overlaid checkmark */
.filters .wc-block-product-filter-checkbox-list__input-wrapper {
	position: relative;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	display: inline-flex;
	margin-top: 1px;
}
.filters .wc-block-product-filter-checkbox-list__input {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 18px;
	height: 18px;
	margin: 0 !important;
	border: 1px solid var(--line-2) !important;
	border-radius: 4px !important;
	background: var(--surface) !important;
	cursor: pointer;
	transition: background .15s, border-color .15s;
}
.filters .wc-block-product-filter-checkbox-list__input:checked {
	background: var(--accent) !important;
	border-color: var(--accent) !important;
}
.filters .wc-block-product-filter-checkbox-list__mark {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 11px;
	height: 9px;
	color: #fff;
	opacity: 0;
	pointer-events: none;
}
.filters .wc-block-product-filter-checkbox-list__input:checked + .wc-block-product-filter-checkbox-list__mark { opacity: 1; }

/* Label text + optional count */
.filters .wc-block-product-filter-checkbox-list__text-wrapper {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex: 1;
	min-width: 0;
	gap: 8px;
}

/* Belt-and-suspenders: never let a stray empty grid item leave a hole */
.woocommerce ul.products > li:empty { display: none !important; }
.filters .wc-block-product-filter-checkbox-list__text { min-width: 0; }
.filters .wc-block-product-filter-checkbox-list__count {
	color: var(--ink-3);
	font-size: 12px;
}

/* Rating rows → gold stars */
.filters .wp-block-woocommerce-product-filter-rating .wc-block-product-filter-checkbox-list__text svg { color: var(--gold); }

/* --- Price filter: match the design (two inputs, NO slider) --- */
/* The block renders a slider + editable min/max inputs; the design uses just
   the two inputs + an apply button, so hide the slider entirely. */
.filters .wc-block-product-filter-price-slider__range,
.filters .wc-block-product-filter-price-slider .range-bar,
.filters .wc-block-product-filter-price-slider input[type="range"] {
	display: none !important;
}
.filters .wc-block-product-filter-price-slider__content {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-top: 2px;
}
.filters .wc-block-product-filter-price-slider__left,
.filters .wc-block-product-filter-price-slider__right { flex: 1 1 0; min-width: 0; }
.filters .wc-block-product-filter-price-slider__left input,
.filters .wc-block-product-filter-price-slider__right input {
	width: 100%;
	border: 1px solid var(--line-2);
	border-radius: 4px;
	padding: 8px 10px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 300;
	background: var(--bg);
	color: var(--ink);
	box-sizing: border-box;
	-moz-appearance: textfield;
}
.filters .wc-block-product-filter-price-slider__left input::-webkit-outer-spin-button,
.filters .wc-block-product-filter-price-slider__left input::-webkit-inner-spin-button,
.filters .wc-block-product-filter-price-slider__right input::-webkit-outer-spin-button,
.filters .wc-block-product-filter-price-slider__right input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.filters .wc-block-product-filter-price-slider__left input:focus,
.filters .wc-block-product-filter-price-slider__right input:focus { outline: none; border-color: var(--accent); }

/* --- "Очистить фильтры" + "Применить" buttons --- */
.filters .wc-block-product-filter-clear-button .wp-block-button__link,
.filters .wc-block-product-filters__apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 11px 18px !important;
	border: 1px solid var(--line-2) !important;
	border-radius: var(--radius-sm) !important;
	background: var(--bg-2) !important;
	color: var(--ink) !important;
	font-size: 13px !important;
	text-decoration: none;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.filters .wc-block-product-filter-clear-button .wp-block-button__link:hover,
.filters .wc-block-product-filters__apply:hover { border-color: var(--ink) !important; }

/* --- Active filter chips --- */
.filters .wc-block-product-filter-removable-chips__items {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0 0 4px;
	padding: 0;
}
.filters .wc-block-product-filter-removable-chips__item,
.filters .wc-block-product-filter-removable-chips__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--bg-2);
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 12px;
	color: var(--ink-2);
}

/* ------------------------------------------------------------------ *
 * 20. Kill leaking WooCommerce default icons + duplicate empty-cart msg
 * ------------------------------------------------------------------ */

/* WooCommerce notices use an icon-font glyph via ::before (e.g. "\e028").
   The design has its own iconography, so drop these leaking glyphs. */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-noreviews::before,
.cart-empty::before,
.wc-block-components-notice-banner::before,
.woocommerce-store-notice::before {
	content: none !important;
	display: none !important;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { padding-left: 20px; }

/* The themed cart-empty template already shows a full empty state, so hide
   WooCommerce's default "your cart is empty" message + its icon. */
.woocommerce-cart .wc-empty-cart-message,
.woocommerce-cart p.cart-empty.woocommerce-info,
.woocommerce-cart .cart-empty.woocommerce-info { display: none !important; }
/* (Our own empty state uses .empty-state.cart-empty — never hidden.)
   The design's .empty-state is a centred block; flex would lay it out in a row. */
.empty-state.cart-empty { display: block !important; }

/* ------------------------------------------------------------------ *
 * 21. Pagination — full styling (active circle, alignment, arrows)
 *     The design only styled <a>; current page & dots are <span>.
 * ------------------------------------------------------------------ */

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 48px;
}
/* Every cell — links AND spans — is a 40×40 rounded box */
.pagination .page-numbers {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--ink);
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	transition: border-color .15s, background .15s, color .15s;
}
.pagination a.page-numbers:hover {
	border-color: var(--ink);
	color: var(--ink);
}
/* Active / current page → green circle */
.pagination .page-numbers.active,
.pagination .page-numbers.current,
.pagination span[aria-current="page"] {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
/* Ellipsis — no border/background, just dots */
.pagination .page-numbers.dots {
	border: 0;
	background: transparent;
	color: var(--ink-3);
	width: auto;
	min-width: 24px;
}
/* Prev / next arrows */
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	color: var(--ink-2);
}
.pagination .page-numbers.prev svg,
.pagination .page-numbers.next svg { display: block; }
.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* ------------------------------------------------------------------ *
 * 22. Product cards are <li> (wc_product_class) — reset the <ul> grids
 * ------------------------------------------------------------------ */

/* Custom grids (home bestsellers, related, favourites) are now <ul>.
   Strip list chrome so they render exactly like the design's grid. */
ul.product-grid,
.product-grid {
	list-style: none;
	margin: 0;
	padding: 0;
}
.product-grid > li { list-style: none; }
.product-grid > li.product-card::before,
.product-grid > li.product-card::marker { content: none; }

/* WooCommerce adds helper classes to the card <li> (product type-… first/last
   instock etc.) — keep the design's .product-card look regardless of them. */
.product-card.product { margin: 0; padding: 0; }

/* ------------------------------------------------------------------ *
 * 23. Catalog toolbar (count + ordering + view toggle) to match design
 * ------------------------------------------------------------------ */

.catalog-toolbar .count { color: var(--ink-3); font-size: 13px; }
.catalog-toolbar .toolbar-tools {
	display: flex;
	gap: 14px;
	align-items: center;
}
/* WooCommerce ordering <select> → the design's pill ".sort-select" */
.catalog-toolbar .woocommerce-ordering { margin: 0; }
.woocommerce .catalog-toolbar .woocommerce-ordering select,
.catalog-toolbar select.orderby {
	border: 1px solid var(--line-2);
	border-radius: 999px;
	padding: 9px 34px 9px 16px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
}

/* --- Grid / list view toggle (buttons styled by design .view-toggle) --- */
/* List view: single column, cards laid out horizontally */
.woocommerce ul.products.list-view,
.woocommerce-page ul.products.list-view {
	grid-template-columns: 1fr !important;
	gap: 16px;
}
ul.products.list-view .product-card {
	flex-direction: row;
	align-items: stretch;
}
ul.products.list-view .product-image {
	width: 280px;
	flex-shrink: 0;
	aspect-ratio: auto;
}
ul.products.list-view .product-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
ul.products.list-view .product-name { font-size: 18px; }
@media (max-width: 640px) {
	ul.products.list-view .product-card { flex-direction: column; }
	ul.products.list-view .product-image { width: 100%; }
}

/* ------------------------------------------------------------------ *
 * 24. Remove the Rating filter block (per request)
 * ------------------------------------------------------------------ */
.filters .wp-block-woocommerce-product-filter-rating { display: none !important; }

/* ------------------------------------------------------------------ *
 * 25. Float button clears a bottom-right chat widget
 * ------------------------------------------------------------------ */
.fab { bottom: 100px; }
@media (max-width: 768px) { .fab { bottom: 88px; right: 18px; } }

/* ------------------------------------------------------------------ *
 * 26. Filter counts injected from the block's data (theme.js)
 * ------------------------------------------------------------------ */
.filters .venge-filter-count {
	margin-left: auto;
	padding-left: 8px;
	color: var(--ink-3);
	font-size: 12px;
	flex-shrink: 0;
}

/* ------------------------------------------------------------------ *
 * 27. Product Filters block — GLOBAL, high-priority styling
 *     (not scoped to .filters, with !important) so it always wins over
 *     WooCommerce's own block CSS regardless of where the filter renders.
 * ------------------------------------------------------------------ */

/* Section headings → small uppercase like the design's .filter-block h5 */
.wp-block-woocommerce-product-filters .wp-block-heading,
.wc-block-product-filters .wp-block-heading {
	font-size: 13px !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: .04em !important;
	color: var(--ink) !important;
	margin: 0 0 14px !important;
}

/* Price: hide the slider everywhere, keep just the two inputs */
.wc-block-product-filter-price-slider__range,
.wc-block-product-filter-price-slider .range-bar,
.wc-block-product-filter-price-slider input[type="range"] {
	display: none !important;
}
.wc-block-product-filter-price-slider__content {
	display: flex !important;
	gap: 8px !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
}
.wc-block-product-filter-price-slider__left,
.wc-block-product-filter-price-slider__right { flex: 1 1 0 !important; min-width: 0 !important; }
.wc-block-product-filter-price-slider__left input,
.wc-block-product-filter-price-slider__right input,
.wc-block-product-filter-price input[type="text"],
.wc-block-product-filter-price input[type="number"] {
	width: 100% !important;
	border: 1px solid var(--line-2) !important;
	border-radius: 4px !important;
	padding: 8px 10px !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 300 !important;
	background: var(--bg) !important;
	color: var(--ink) !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
	-moz-appearance: textfield;
}

/* Checkbox list: no text clipping, full-width rows, clean spacing */
.wc-block-product-filter-checkbox-list__items { display: flex !important; flex-direction: column !important; gap: 0 !important; }
.wc-block-product-filter-checkbox-list fieldset { border: 0 !important; margin: 0 !important; padding: 0 !important; min-width: 0 !important; }
.wc-block-product-filter-checkbox-list__item { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
.wc-block-product-filter-checkbox-list__label {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	padding: 7px 0 !important;
	margin: 0 !important;
	min-width: 0 !important;
	color: var(--ink-2) !important;
	font-size: 14px !important;
	font-weight: 300 !important;
	line-height: 1.35 !important;
	cursor: pointer !important;
}
.wc-block-product-filter-checkbox-list__text-wrapper {
	display: flex !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	gap: 8px !important;
}
.wc-block-product-filter-checkbox-list__text {
	min-width: 0 !important;
	white-space: normal !important;
	overflow-wrap: anywhere !important;
	word-break: normal !important;
}

/* Checkbox box + green tick */
.wc-block-product-filter-checkbox-list__input-wrapper {
	position: relative !important;
	width: 18px !important;
	height: 18px !important;
	flex: 0 0 18px !important;
	margin-top: 1px !important;
	display: inline-flex !important;
}
.wc-block-product-filter-checkbox-list__input {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	border: 1px solid var(--line-2) !important;
	border-radius: 4px !important;
	background: var(--surface) !important;
	cursor: pointer !important;
	box-shadow: none !important;
}
.wc-block-product-filter-checkbox-list__input:checked {
	background: var(--accent) !important;
	border-color: var(--accent) !important;
}
.wc-block-product-filter-checkbox-list__mark {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 11px !important;
	height: 9px !important;
	color: #fff !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
.wc-block-product-filter-checkbox-list__input:checked + .wc-block-product-filter-checkbox-list__mark { opacity: 1 !important; }

/* Injected count sits at the right, subtle */
.venge-filter-count { margin-left: auto !important; padding-left: 8px !important; color: var(--ink-3) !important; font-size: 12px !important; flex-shrink: 0 !important; }

/* ------------------------------------------------------------------ *
 * 28. Built-in themed filter (venge_render_shop_filters) — extras
 *     Base look comes from the design (.filter-block/.filter-check/
 *     .swatch/.count/.range-inputs). Only the additions live here.
 * ------------------------------------------------------------------ */
.filters .filter-check .fc-text {
	min-width: 0;
	overflow-wrap: anywhere;
}
.filters .filter-check span.count { margin-left: auto; padding-left: 8px; color: var(--ink-3); font-size: 12px; }
.filters .swatch { display: block; text-decoration: none; }
.filters .swatch.active { box-shadow: 0 0 0 2px var(--accent); }
.filters .venge-filter-price { margin: 0; }
.filters .venge-filter-price .btn { margin-top: 2px; }
.filters .venge-filter-reset {
	display: block;
	margin-top: 14px;
	font-size: 13px;
	color: var(--ink-3);
	text-align: center;
	text-decoration: underline;
}
.filters .venge-filter-reset:hover { color: var(--terracotta); }

/* ------------------------------------------------------------------ *
 * 29. Built-in filter — price slider + scrollable long lists
 * ------------------------------------------------------------------ */

/* Dual-handle price slider */
.filters .price-slider {
	position: relative;
	height: 20px;
	margin: 2px 0 14px;
}
.filters .price-slider-track {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 4px;
	transform: translateY(-50%);
	background: var(--line-2);
	border-radius: 4px;
}
.filters .price-slider-range {
	position: absolute;
	top: 0;
	height: 4px;
	background: var(--accent);
	border-radius: 4px;
}
.filters .price-slider-handle {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	margin: 0;
	padding: 0;
	background: transparent;
	pointer-events: none;
}
.filters .price-slider-handle::-webkit-slider-runnable-track { background: transparent; border: 0; }
.filters .price-slider-handle::-moz-range-track { background: transparent; border: 0; }
.filters .price-slider-handle::-webkit-slider-thumb {
	-webkit-appearance: none;
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--accent);
	border: 2px solid var(--surface);
	box-shadow: 0 0 0 1px var(--accent);
	cursor: pointer;
}
.filters .price-slider-handle::-moz-range-thumb {
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--accent);
	border: 2px solid var(--surface);
	box-shadow: 0 0 0 1px var(--accent);
	cursor: pointer;
}

/* Long option lists → scroll instead of an endless column */
.filters .filter-options-scroll {
	max-height: 258px;
	overflow-y: auto;
	padding-right: 8px;
	margin-right: -8px;
}
.filters .filter-options-scroll::-webkit-scrollbar { width: 6px; }
.filters .filter-options-scroll::-webkit-scrollbar-track { background: transparent; }
.filters .filter-options-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.filters .filter-options-scroll:hover::-webkit-scrollbar-thumb { background: var(--line-2); }

/* ------------------------------------------------------------------ *
 * 30. Cart totals robustness + checkout review/payment styling
 * ------------------------------------------------------------------ */

/* Totals rows: label left (may wrap), amount right on a single line — fixes
   the jumbled "К оплате" / cramped discount line. */
.summary-row {
	align-items: baseline;
	gap: 12px;
}
.summary-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.summary-row > span:last-child {
	text-align: right;
	white-space: nowrap;
	flex-shrink: 0;
}
.summary-row.total > span:first-child { white-space: nowrap; }
.summary-row .woocommerce-Price-amount,
.summary-row strong,
.summary-row bdi { white-space: nowrap; }
.summary-row.total { align-items: baseline; }

/* --- Checkout: order review table --- */
.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 18px;
}
.woocommerce-checkout-review-order-table thead th {
	text-align: left;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--ink-3);
	font-weight: 500;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--line);
}
.woocommerce-checkout-review-order-table thead th:last-child { text-align: right; }
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th { padding: 12px 0; }
.woocommerce-checkout-review-order-table .cart_item td { border-bottom: 1px solid var(--line); vertical-align: top; }
.woocommerce-checkout-review-order-table .product-name { font-size: 14px; color: var(--ink); }
.woocommerce-checkout-review-order-table .product-name .product-quantity { color: var(--ink-3); }
.woocommerce-checkout-review-order-table .product-total { text-align: right; white-space: nowrap; }
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
	padding: 10px 0;
	font-weight: 400;
	border-top: 1px solid var(--line);
}
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
	font-size: 20px;
	font-weight: 300;
}
.woocommerce-checkout-review-order-table tfoot td { text-align: right; white-space: nowrap; }
.woocommerce-checkout-review-order-table tfoot .fee td,
.woocommerce-checkout-review-order-table tfoot .cart-discount td { color: var(--terracotta); }

/* Product thumbnail in the review (from our review-order.php override) */
.woocommerce-checkout-review-order-table .cart_item .product-name {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.venge-review-thumb {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--bg-2);
}
.venge-review-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Checkout: payment methods --- */
#payment { background: transparent; border-radius: 0; }
#payment ul.wc_payment_methods {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}
#payment ul.wc_payment_methods li {
	margin: 0 0 8px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
}
#payment ul.wc_payment_methods li label { display: inline; font-weight: 400; color: var(--ink); }
#payment div.payment_box {
	background: var(--bg-2);
	border-radius: var(--radius-sm);
	font-size: 13px;
	color: var(--ink-2);
	margin: 10px 0 0;
	padding: 12px 14px;
}
#payment div.payment_box::before { display: none; }
#payment .place-order { padding: 0; margin-top: 8px; }
#payment .woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
#place_order,
.woocommerce #payment #place_order {
	width: 100%;
	background: var(--accent);
	color: #fff;
	border: 0;
	border-radius: var(--radius);
	padding: 16px 22px;
	font-size: 15px;
	font-weight: 400;
	cursor: pointer;
}
#place_order:hover { background: var(--accent-2); }

/* Checkout field polish (labels/inputs already themed in §5) */
.checkout .checkout-section h3,
.checkout #customer_details h3,
.woocommerce-checkout h3 {
	font-size: 18px;
	font-weight: 300;
	margin: 0 0 18px;
}
.checkout .form-row { margin-bottom: 14px; }

/* ------------------------------------------------------------------ *
 * 31. Venge checkout layout override
 * ------------------------------------------------------------------ */
.woocommerce-checkout .venge-checkout-page {
	padding-top: 28px;
	padding-bottom: 70px;
}
.woocommerce-checkout form.checkout.venge-checkout-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 380px !important;
	gap: 40px !important;
	align-items: start;
	padding: 0 0 70px !important;
	margin: 0 !important;
}
.woocommerce-checkout .checkout-main,
.woocommerce-checkout .checkout-aside { min-width: 0; }
.woocommerce-checkout .venge-checkout-card,
.woocommerce-checkout .venge-order-summary {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 32px;
	box-sizing: border-box;
}
.woocommerce-checkout .venge-checkout-card { margin-bottom: 18px; }
.woocommerce-checkout .venge-checkout-card h3,
.woocommerce-checkout .venge-order-summary > h3 {
	font-size: 22px;
	font-weight: 300;
	line-height: 1.2;
	margin: 0 0 24px;
	color: var(--ink);
	display: flex;
	align-items: center;
	gap: 12px;
}
.woocommerce-checkout .venge-checkout-card .num {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 400;
	flex-shrink: 0;
}
.woocommerce-checkout .venge-checkout-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 18px;
}
.woocommerce-checkout .venge-checkout-fields .form-row,
.woocommerce-checkout .venge-checkout-comment .form-row {
	margin: 0 !important;
	padding: 0 !important;
}
.woocommerce-checkout .venge-checkout-fields .form-row-first,
.woocommerce-checkout .venge-checkout-fields .form-row-last {
	float: none !important;
	width: auto !important;
	clear: none !important;
}
.woocommerce-checkout .venge-checkout-comment textarea {
	min-height: 88px;
}
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields > h3,
.woocommerce-checkout .woocommerce-account-fields,
.woocommerce-checkout .create-account,
.woocommerce-checkout .woocommerce-additional-fields { display: none !important; }
.woocommerce-checkout .venge-order-summary {
	position: sticky;
	top: 18px;
}
.woocommerce-checkout .venge-order-summary .woocommerce-checkout-review-order-table,
.woocommerce-checkout .venge-order-summary .shop_table {
	border: 0 !important;
	margin: 0 0 22px !important;
}
.woocommerce-checkout .venge-order-summary .shop_table th,
.woocommerce-checkout .venge-order-summary .shop_table td {
	border: 0 !important;
	border-bottom: 1px solid var(--line) !important;
	padding: 13px 0 !important;
}
.woocommerce-checkout .venge-order-summary .shop_table thead th {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ink-3);
	font-weight: 500;
}
.woocommerce-checkout .venge-order-summary .shop_table .product-total,
.woocommerce-checkout .venge-order-summary .shop_table tfoot td {
	text-align: right;
	white-space: nowrap;
}
.woocommerce-checkout .venge-order-summary .order-total th,
.woocommerce-checkout .venge-order-summary .order-total td {
	font-size: 22px !important;
	font-weight: 300 !important;
	color: var(--ink) !important;
}
.woocommerce-checkout .venge-order-summary #payment,
.woocommerce-checkout .venge-order-summary .woocommerce-checkout-payment {
	background: transparent !important;
	border-radius: 0 !important;
	margin: 0 !important;
}
.woocommerce-checkout .venge-order-summary #payment ul.payment_methods,
.woocommerce-checkout .venge-order-summary #payment ul.wc_payment_methods {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 0 16px !important;
}
.woocommerce-checkout .venge-order-summary #payment ul.payment_methods li,
.woocommerce-checkout .venge-order-summary #payment ul.wc_payment_methods li {
	border: 1px solid var(--line) !important;
	border-radius: var(--radius-sm);
	padding: 14px !important;
	margin: 0 0 10px !important;
	background: var(--surface) !important;
}
.woocommerce-checkout .venge-order-summary #payment div.payment_box {
	background: var(--bg-2) !important;
	border-radius: var(--radius-sm) !important;
	padding: 13px 14px !important;
	margin: 12px 0 0 !important;
	font-size: 13px;
	color: var(--ink-2);
}
.woocommerce-checkout .venge-order-summary #payment div.payment_box::before { display: none !important; }
.woocommerce-checkout .venge-order-summary #place_order {
	width: 100% !important;
	border-radius: 999px !important;
	padding: 18px 24px !important;
	font-size: 15px !important;
	background: var(--accent) !important;
	color: #fff !important;
}
.woocommerce-checkout .venge-review-thumb { width: 56px; height: 56px; }
@media (max-width: 1100px) {
	.woocommerce-checkout form.checkout.venge-checkout-layout { grid-template-columns: 1fr !important; }
	.woocommerce-checkout .venge-order-summary { position: static; }
}
@media (max-width: 700px) {
	.woocommerce-checkout .venge-checkout-fields { grid-template-columns: 1fr; }
	.woocommerce-checkout .venge-checkout-card,
	.woocommerce-checkout .venge-order-summary { padding: 22px 18px; }
}


/* ------------------------------------------------------------------ *
 * 32. Cart + checkout final overrides
 * ------------------------------------------------------------------ */
.woocommerce-cart .cart-layout {
	grid-template-columns: minmax(0, 1fr) 380px !important;
	align-items: start !important;
}
.woocommerce-cart .cart-layout > aside {
	width: 380px !important;
	min-width: 380px !important;
}
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-page.woocommerce-cart .cart-collaterals .cart_totals {
	float: none !important;
	width: 100% !important;
	clear: none !important;
}
.woocommerce-cart .cart-collaterals .summary.cart_totals {
	box-sizing: border-box !important;
	max-width: 380px !important;
}
.woocommerce-cart .summary-row {
	display: flex !important;
	justify-content: space-between !important;
	align-items: baseline !important;
	gap: 18px !important;
}
.woocommerce-cart .summary-row > span:first-child {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	line-height: 1.45 !important;
}
.woocommerce-cart .summary-row > span:last-child {
	flex: 0 0 auto !important;
	text-align: right !important;
	white-space: nowrap !important;
}
.woocommerce-cart .summary-row.total {
	border-top: 1px solid var(--line) !important;
	padding-top: 18px !important;
	margin-top: 18px !important;
}
.woocommerce-cart .summary-row.total > span:first-child,
.woocommerce-cart .summary-row.total > span:last-child {
	font-size: 22px !important;
	font-weight: 300 !important;
	white-space: nowrap !important;
}

.woocommerce-checkout .venge-checkout-intro {
	margin-bottom: 18px !important;
}
.woocommerce-checkout .venge-checkout-intro h1 {
	font-size: 26px !important;
	font-weight: 300 !important;
	line-height: 1.35 !important;
	margin: 0 0 12px !important;
	color: var(--ink) !important;
}
.woocommerce-checkout .venge-checkout-intro p {
	font-size: 14px !important;
	line-height: 1.7 !important;
	margin: 0 !important;
	color: var(--ink-2) !important;
}
.woocommerce-checkout .venge-checkout-intro a { color: var(--accent) !important; }

.woocommerce-checkout .venge-checkout-fields .form-row label,
.woocommerce-checkout .venge-checkout-comment .form-row label {
	display: block !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	text-transform: uppercase !important;
	letter-spacing: .04em !important;
	color: var(--ink-3) !important;
	margin: 0 0 8px !important;
}
.woocommerce-checkout .venge-checkout-fields .required,
.woocommerce-checkout .venge-checkout-comment .required { color: var(--terracotta) !important; }
.woocommerce-checkout .venge-checkout-comment .optional {
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: 11px !important;
	color: var(--ink-3) !important;
}
.woocommerce-checkout .venge-checkout-fields input.input-text,
.woocommerce-checkout .venge-checkout-fields select,
.woocommerce-checkout .venge-checkout-comment textarea.input-text,
.woocommerce-checkout .venge-checkout-comment textarea {
	width: 100% !important;
	box-sizing: border-box !important;
	border: 1px solid var(--line-2) !important;
	border-radius: var(--radius-sm) !important;
	background: var(--bg) !important;
	color: var(--ink) !important;
	font: inherit !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	padding: 13px 14px !important;
	box-shadow: none !important;
	outline: none !important;
}
.woocommerce-checkout .venge-checkout-comment textarea.input-text,
.woocommerce-checkout .venge-checkout-comment textarea {
	min-height: 96px !important;
	resize: vertical !important;
}
.woocommerce-checkout .venge-checkout-fields input:focus,
.woocommerce-checkout .venge-checkout-fields select:focus,
.woocommerce-checkout .venge-checkout-comment textarea:focus {
	border-color: var(--accent) !important;
	box-shadow: 0 0 0 3px rgba(0,166,112,.08) !important;
}

.woocommerce-checkout .venge-order-summary #payment ul.payment_methods li.payment_method_cod,
.woocommerce-checkout .venge-order-summary #payment ul.wc_payment_methods li.payment_method_cod {
	border: 1px solid var(--line) !important;
	border-radius: var(--radius-sm) !important;
	background: var(--surface) !important;
	padding: 16px !important;
}
.woocommerce-checkout .venge-order-summary #payment ul.payment_methods li.payment_method_cod label,
.woocommerce-checkout .venge-order-summary #payment ul.wc_payment_methods li.payment_method_cod label {
	display: block !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: var(--ink) !important;
	margin: 0 !important;
	padding: 0 !important;
}
.woocommerce-checkout .venge-order-summary #payment li.payment_method_cod .payment_box,
.woocommerce-checkout .venge-order-summary #payment div.payment_box.payment_method_cod {
	display: block !important;
	position: relative !important;
	background: var(--bg-2) !important;
	border: 0 !important;
	border-radius: var(--radius-sm) !important;
	padding: 14px 16px !important;
	margin: 14px 0 0 !important;
	font-size: 13px !important;
	line-height: 1.55 !important;
	color: var(--ink-2) !important;
}
.woocommerce-checkout .venge-order-summary #payment li.payment_method_cod .payment_box p {
	margin: 0 !important;
}
.woocommerce-checkout .venge-order-summary #payment li.payment_method_cod .payment_box::before,
.woocommerce-checkout .venge-order-summary #payment div.payment_box.payment_method_cod::before {
	display: none !important;
}

@media (max-width: 1100px) {
	.woocommerce-cart .cart-layout { grid-template-columns: 1fr !important; }
	.woocommerce-cart .cart-layout > aside,
	.woocommerce-cart .cart-collaterals .summary.cart_totals { width: 100% !important; min-width: 0 !important; max-width: none !important; }
}


/* Final cart/checkout overrides */
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals{
	float:none !important;
	width:100% !important;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals{
	float:none !important;
	width:100% !important;
	max-width:none !important;
	margin:0 !important;
}

.woocommerce-checkout .venge-checkout-intro h1{
	font-size:26px !important;
	line-height:1.3 !important;
	font-weight:300 !important;
	margin:0 0 16px !important;
}

/* Mobile footer fix */
@media (max-width: 640px) {
  .footer {
    padding: 40px 0 22px !important;
  }

  .footer .container {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-bottom: 32px !important;
  }

  .footer-grid > div {
    min-width: 0 !important;
    width: 100% !important;
  }

  .footer-logo-img {
    height: auto !important;
    width: 170px !important;
    max-width: 80% !important;
    margin: 0 0 18px !important;
    display: block !important;
  }

  .footer-about {
    max-width: none !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .footer h5 {
    margin-bottom: 12px !important;
    font-size: 12px !important;
    letter-spacing: .06em !important;
  }

  .footer ul {
    gap: 8px !important;
    font-size: 14px !important;
  }

  .footer-grid li {
    margin-bottom: 0 !important;
  }

  .footer a,
  .footer-grid li a {
    display: inline-block !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.45 !important;
  }

  .contact-line {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .footer-bottom {
    display: block !important;
    padding-top: 18px !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
  }

  .footer-bottom > div + div {
    margin-top: 8px !important;
  }
}

/* Mobile header logo + product card buttons + favourite active state */
.btn-icon.active svg,
button.btn-icon.active svg {
  fill: var(--terracotta) !important;
  stroke: var(--terracotta) !important;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 118px minmax(112px, 1fr) 48px !important;
    gap: 10px 10px !important;
  }
  .header .logo,
  .header-inner > .logo {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
  }
  .header .logo-img,
  .header-inner .logo-img {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
    opacity: 1 !important;
  }
  .search-wrap {
    max-width: none !important;
    width: 100% !important;
    justify-self: stretch !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 480px) {
  .product-card {
    overflow: hidden !important;
  }
  .product-card .product-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 38px !important;
    gap: 7px !important;
    width: 100% !important;
    align-items: center !important;
  }
  .product-card .product-actions .btn,
  .product-card .product-actions .button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 42px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .product-card .product-actions .btn-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    flex: 0 0 38px !important;
  }
}

@media (max-width: 360px) {
  .header-inner {
    grid-template-columns: 104px minmax(102px, 1fr) 44px !important;
  }
  .header .logo,
  .header-inner > .logo {
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
  }
  .header .logo-img,
  .header-inner .logo-img {
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
  }
  .search-btn {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}


/* Favourite + compare fixed controls */
.product-card-tools{
  position:absolute !important;
  top:12px !important;
  right:12px !important;
  z-index:3 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
}
.product-card-tools .product-fav,
.product-card-tools .product-compare{
  position:static !important;
  width:36px !important;
  height:36px !important;
  border-radius:50% !important;
  border:0 !important;
  background:rgba(255,255,255,.92) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
  color:var(--ink) !important;
  box-shadow:0 8px 20px rgba(0,0,0,.08) !important;
}
.product-card-tools .product-fav svg,
.product-card-tools .product-compare svg,
.purchase-row .btn-icon svg{
  width:18px !important;
  height:18px !important;
  stroke:currentColor !important;
  fill:none !important;
  stroke-width:1.6 !important;
}
.product-card-tools .product-fav.active,
.product-card-tools .product-compare.active,
.purchase-row .btn-icon.active{
  color:var(--terracotta) !important;
}
.product-card-tools .product-fav.active svg,
.purchase-row .btn-icon[data-fav].active svg{
  fill:currentColor !important;
}
.product-card-tools .product-compare.active svg,
.purchase-row .btn-icon[data-compare].active svg{
  fill:none !important;
}
.purchase-row .btn-icon{
  flex:0 0 50px !important;
  width:50px !important;
  height:50px !important;
}
@media (max-width:480px){
  .product-card-tools{top:10px !important; right:10px !important; gap:6px !important;}
  .product-card-tools .product-fav,
  .product-card-tools .product-compare{width:32px !important;height:32px !important;}
  .product-card-tools .product-fav svg,
  .product-card-tools .product-compare svg{width:16px !important;height:16px !important;}
}


/* Footer credit + scroll top button */
.footer-credit {
  margin-top: 18px !important;
  text-align: center !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #76736c !important;
}
.footer-credit a {
  color: #8f897e !important;
  text-decoration: none !important;
}
.footer-credit a:hover {
  color: #ffffff !important;
}
.scroll-top-btn {
  position: fixed !important;
  left: 28px !important;
  bottom: 28px !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: var(--accent) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: var(--shadow-lg) !important;
  z-index: 61 !important;
  cursor: pointer !important;
  transition: transform .15s ease, opacity .15s ease !important;
}
.scroll-top-btn:hover {
  transform: scale(1.05) !important;
}
.scroll-top-btn svg {
  width: 24px !important;
  height: 24px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
@media (max-width: 768px) {
  .scroll-top-btn {
    left: 18px !important;
    bottom: 88px !important;
    width: 48px !important;
    height: 48px !important;
  }
}


/* WCBoost compare: keep the original Venge icon/button look */
.product-card-tools .venge-compare-native,
.product-card-tools .wcboost-products-compare-button,
.product-card-tools a[class*="compare"],
.product-card-tools button[class*="compare"]{
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  padding:0 !important;
  border-radius:50% !important;
  border:0 !important;
  background:#fff !important;
  color:var(--ink) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:relative !important;
  top:auto !important;
  right:auto !important;
  left:auto !important;
  bottom:auto !important;
  margin:0 !important;
  box-shadow:0 8px 20px rgba(20,24,28,.08) !important;
  font-size:0 !important;
  line-height:0 !important;
  text-indent:-9999px !important;
  overflow:hidden !important;
  float:none !important;
  transform:none !important;
  z-index:5 !important;
}
.product-card-tools .venge-compare-native{background:transparent !important;box-shadow:none !important;}
.product-card-tools .wcboost-products-compare-button > *,
.product-card-tools a[class*="compare"] > *,
.product-card-tools button[class*="compare"] > *{display:none !important;}
.product-card-tools .wcboost-products-compare-button:before,
.product-card-tools a[class*="compare"]:before,
.product-card-tools button[class*="compare"]:before{
  content:"" !important;
  width:18px !important;
  height:18px !important;
  display:block !important;
  background:currentColor !important;
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h12M3 12h18M3 18h8" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>') center/contain no-repeat !important;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h12M3 12h18M3 18h8" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>') center/contain no-repeat !important;
  text-indent:0 !important;
}
.product-card-tools .wcboost-products-compare-button.added,
.product-card-tools .wcboost-products-compare-button.active,
.product-card-tools a[class*="compare"].added,
.product-card-tools a[class*="compare"].active,
.product-card-tools button[class*="compare"].added,
.product-card-tools button[class*="compare"].active{color:var(--terracotta) !important;}
.purchase-row .venge-compare-native-single,
.purchase-row .wcboost-products-compare-button,
.purchase-row a[class*="compare"],
.purchase-row button[class*="compare"]{
  flex:0 0 50px !important;
  width:50px !important;
  height:50px !important;
  min-width:50px !important;
  min-height:50px !important;
  border-radius:50% !important;
  border:1px solid var(--line) !important;
  background:#fff !important;
  color:var(--ink) !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  margin:0 !important;
  font-size:0 !important;
  line-height:0 !important;
  text-indent:-9999px !important;
  overflow:hidden !important;
  box-shadow:none !important;
}
.purchase-row .wcboost-products-compare-button > *,
.purchase-row a[class*="compare"] > *,
.purchase-row button[class*="compare"] > *{display:none !important;}
.purchase-row .wcboost-products-compare-button:before,
.purchase-row a[class*="compare"]:before,
.purchase-row button[class*="compare"]:before{
  content:"" !important;
  width:20px !important;
  height:20px !important;
  display:block !important;
  background:currentColor !important;
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h12M3 12h18M3 18h8" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>') center/contain no-repeat !important;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h12M3 12h18M3 18h8" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>') center/contain no-repeat !important;
  text-indent:0 !important;
}

/* ------------------------------------------------------------------ *
 * WCBoost Products Compare page — Venge visual style
 * ------------------------------------------------------------------ */
.wcboost-compare-page{
  margin: 0 auto 72px !important;
}
.wcboost-compare-page .wcboost-products-compare{
  width:100% !important;
  max-width:1120px !important;
  margin:0 auto !important;
  color:var(--ink) !important;
}
.wcboost-compare-page .wcboost-products-compare__table{
  width:100% !important;
  overflow-x:auto !important;
  background:var(--surface) !important;
  border:1px solid var(--line) !important;
  border-radius:22px !important;
  box-shadow:0 18px 45px rgba(20,24,28,.06) !important;
}
.wcboost-compare-page table.compare_table,
.wcboost-compare-page .shop_table.compare_table{
  width:100% !important;
  min-width:760px !important;
  margin:0 !important;
  border:0 !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  background:transparent !important;
  table-layout:fixed !important;
}
.wcboost-compare-page .compare_table th,
.wcboost-compare-page .compare_table td{
  border:0 !important;
  border-bottom:1px solid var(--line) !important;
  background:#fff !important;
  vertical-align:middle !important;
}
.wcboost-compare-page .compare_table th{
  width:190px !important;
  padding:18px 22px !important;
  color:var(--ink-3) !important;
  font-size:12px !important;
  font-weight:600 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
  background:#fbf8f2 !important;
}
.wcboost-compare-page .compare_table td{
  padding:18px 24px !important;
  text-align:center !important;
  font-size:15px !important;
  color:var(--ink-2) !important;
}
.wcboost-compare-page .compare_table tr:last-child th,
.wcboost-compare-page .compare_table tr:last-child td{
  border-bottom:0 !important;
}
.wcboost-compare-page .compare_table tr.product-remove th,
.wcboost-compare-page .compare_table tr.product-remove td{
  padding-top:14px !important;
  padding-bottom:10px !important;
  background:#fbf8f2 !important;
}
.wcboost-compare-page .wcboost-products-compare-remove.remove{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:36px !important;
  height:36px !important;
  border-radius:50% !important;
  background:#fff !important;
  border:1px solid var(--line) !important;
  color:var(--terracotta) !important;
  font-size:22px !important;
  line-height:1 !important;
  font-weight:400 !important;
  text-decoration:none !important;
  box-shadow:0 8px 18px rgba(20,24,28,.06) !important;
}
.wcboost-compare-page .wcboost-products-compare-remove.remove:hover{
  background:var(--terracotta) !important;
  color:#fff !important;
  border-color:var(--terracotta) !important;
}
.wcboost-compare-page .compare_table tr.product-thumbnail td{
  padding-top:10px !important;
  padding-bottom:24px !important;
}
.wcboost-compare-page .compare_table tr.product-thumbnail img{
  width:100% !important;
  max-width:330px !important;
  height:240px !important;
  object-fit:contain !important;
  display:block !important;
  margin:0 auto !important;
  border-radius:18px !important;
  background:#fff !important;
}
.wcboost-compare-page .compare_table tr.product-name td{
  font-size:0 !important;
}
.wcboost-compare-page .compare_table tr.product-name a{
  display:block !important;
  max-width:360px !important;
  margin:0 auto !important;
  color:var(--ink) !important;
  font-size:17px !important;
  line-height:1.35 !important;
  font-weight:600 !important;
  text-decoration:none !important;
}
.wcboost-compare-page .compare_table tr.product-name a:hover{color:var(--accent) !important;}
.wcboost-compare-page .compare_table tr.product-price td,
.wcboost-compare-page .compare_table tr.product-price .price,
.wcboost-compare-page .compare_table tr.product-price .amount{
  color:var(--ink) !important;
  font-size:26px !important;
  line-height:1.1 !important;
  font-weight:300 !important;
}
.wcboost-compare-page .compare_table tr.product-stock .in-stock{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  color:var(--accent) !important;
  font-weight:500 !important;
}
.wcboost-compare-page .compare_table tr.product-stock .in-stock:before{
  content:"" !important;
  width:7px !important;
  height:7px !important;
  border-radius:50% !important;
  background:var(--accent) !important;
}
.wcboost-compare-page .compare_table tr.product-add-to-cart .button,
.wcboost-compare-page .wcboost-products-compare__tools .button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:48px !important;
  padding:0 34px !important;
  border:0 !important;
  border-radius:999px !important;
  background:var(--accent) !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:1 !important;
  text-decoration:none !important;
  box-shadow:none !important;
}
.wcboost-compare-page .compare_table tr.product-add-to-cart .button:hover,
.wcboost-compare-page .wcboost-products-compare__tools .button:hover{
  background:var(--accent-2) !important;
  color:#fff !important;
}
.wcboost-compare-page .wcboost-products-compare__tools{
  max-width:1120px !important;
  margin:18px auto 0 !important;
  display:flex !important;
  justify-content:center !important;
}
.wcboost-compare-page .wcboost-products-compare-clear.button{
  background:#fff !important;
  color:var(--terracotta) !important;
  border:1px solid var(--line) !important;
  min-height:44px !important;
  padding:0 24px !important;
}
.wcboost-compare-page .wcboost-products-compare-clear.button:hover{
  background:var(--terracotta) !important;
  color:#fff !important;
  border-color:var(--terracotta) !important;
}
@media (max-width: 768px){
  .wcboost-compare-page .wcboost-products-compare__table{border-radius:16px !important;}
  .wcboost-compare-page table.compare_table,
  .wcboost-compare-page .shop_table.compare_table{min-width:640px !important;}
  .wcboost-compare-page .compare_table th{width:140px !important;padding:14px 14px !important;}
  .wcboost-compare-page .compare_table td{padding:14px 16px !important;}
  .wcboost-compare-page .compare_table tr.product-thumbnail img{height:190px !important;}
  .wcboost-compare-page .compare_table tr.product-price td,
  .wcboost-compare-page .compare_table tr.product-price .price,
  .wcboost-compare-page .compare_table tr.product-price .amount{font-size:22px !important;}
}


/* ------------------------------------------------------------------ *
 * WCBoost Products Compare page — rebuild to the original Venge compare layout
 * ------------------------------------------------------------------ */
.wcboost-compare-page{margin:0 auto 80px !important;overflow-x:auto !important;}
.wcboost-compare-page .wcboost-products-compare{width:100% !important;max-width:1120px !important;margin:0 auto !important;color:var(--ink) !important;}
.wcboost-compare-page .wcboost-products-compare__table{width:100% !important;overflow-x:auto !important;background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .shop_table,
.wcboost-compare-page .wcboost-products-compare.is-venge-layout table{border:0 !important;background:transparent !important;box-shadow:none !important;}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-table{
  width:100% !important;min-width:760px !important;border-collapse:separate !important;border-spacing:0 !important;background:var(--surface) !important;border-radius:8px !important;overflow:hidden !important;box-shadow:none !important;margin:0 !important;border:0 !important;table-layout:fixed !important;
}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-table th,
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-table td{
  border:0 !important;border-bottom:1px solid var(--line) !important;background:#fff !important;padding:16px 18px !important;text-align:left !important;vertical-align:middle !important;color:var(--ink-2) !important;font-size:14px !important;line-height:1.45 !important;
}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-table tr:last-child th,
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-table tr:last-child td{border-bottom:0 !important;}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-table .row-label{
  width:150px !important;background:#f5f0e8 !important;color:var(--ink-3) !important;font-size:13px !important;font-weight:400 !important;text-transform:none !important;letter-spacing:0 !important;
}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-prod-head{
  position:relative !important;vertical-align:top !important;padding:18px 18px 22px !important;background:#fff !important;
}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-prod-img{
  width:100% !important;height:205px !important;margin:0 0 14px !important;background:#fff !important;border-radius:6px !important;overflow:hidden !important;display:flex !important;align-items:center !important;justify-content:center !important;
}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-prod-img img{
  width:100% !important;height:100% !important;max-width:none !important;object-fit:cover !important;border-radius:0 !important;margin:0 !important;display:block !important;
}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-prod-name{
  display:block !important;margin:0 0 8px !important;color:var(--ink) !important;font-size:14px !important;line-height:1.35 !important;font-weight:400 !important;text-decoration:none !important;
}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-prod-name:hover{color:var(--accent) !important;}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-prod-price,
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-prod-price .price,
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-prod-price .amount{
  color:var(--ink) !important;font-size:20px !important;font-weight:400 !important;line-height:1.2 !important;
}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-remove,
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .wcboost-products-compare-remove.remove{
  position:absolute !important;right:10px !important;top:10px !important;z-index:2 !important;width:24px !important;height:24px !important;border:0 !important;background:rgba(255,255,255,.92) !important;border-radius:50% !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;color:#b8afa2 !important;font-size:18px !important;line-height:1 !important;text-decoration:none !important;box-shadow:none !important;padding:0 !important;
}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-remove:hover,
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .wcboost-products-compare-remove.remove:hover{color:var(--terracotta) !important;background:#fff !important;}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout td.highlight,
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .in-stock{color:var(--accent) !important;font-weight:500 !important;}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .product-add-to-cart td,
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-cart-cell{padding-top:18px !important;padding-bottom:18px !important;}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .button,
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .add_to_cart_button{
  display:flex !important;align-items:center !important;justify-content:center !important;width:100% !important;min-height:36px !important;padding:0 18px !important;border:0 !important;border-radius:999px !important;background:var(--accent) !important;color:#fff !important;font-size:13px !important;font-weight:600 !important;text-decoration:none !important;box-shadow:none !important;line-height:1 !important;
}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .button:hover,
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .add_to_cart_button:hover{background:var(--accent-2) !important;color:#fff !important;}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .wcboost-products-compare__tools{margin:18px 0 0 !important;display:flex !important;justify-content:flex-start !important;}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .wcboost-products-compare-clear.button{width:auto !important;min-height:42px !important;padding:0 24px !important;background:#fff !important;color:var(--ink-2) !important;border:1px solid var(--line) !important;}
.wcboost-compare-page .wcboost-products-compare.is-venge-layout .wcboost-products-compare-clear.button:hover{border-color:var(--accent) !important;color:var(--accent) !important;background:#fff !important;}
@media (max-width:768px){
  .wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-table{min-width:680px !important;}
  .wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-table .row-label{width:130px !important;}
  .wcboost-compare-page .wcboost-products-compare.is-venge-layout .compare-prod-img{height:165px !important;}
}


/* ==================================================================
 * WCBoost Products Compare — force original Venge layout everywhere
 * Works even if the WP page is not using page-compare.php.
 * ================================================================== */
.woocommerce.wcboost-products-compare,
.wcboost-products-compare{
  width:100% !important;
  max-width:1120px !important;
  margin:0 auto 80px !important;
  color:var(--ink) !important;
}
.wcboost-products-compare .wcboost-products-compare__table{
  width:100% !important;
  overflow-x:auto !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
.wcboost-products-compare table.compare_table,
.wcboost-products-compare .shop_table.compare_table{
  width:100% !important;
  margin:0 !important;
  border:0 !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.wcboost-products-compare table.compare_table th,
.wcboost-products-compare table.compare_table td,
.wcboost-products-compare .shop_table.compare_table th,
.wcboost-products-compare .shop_table.compare_table td{
  border:0 !important;
  border-bottom:1px solid var(--line) !important;
  background:#fff !important;
  box-shadow:none !important;
}
.wcboost-products-compare table.compare_table th,
.wcboost-products-compare .shop_table.compare_table th{
  width:190px !important;
  padding:18px 22px !important;
  color:var(--ink-3) !important;
  font-size:12px !important;
  font-weight:400 !important;
  text-transform:none !important;
  background:#f5f1e8 !important;
}
.wcboost-products-compare table.compare_table td,
.wcboost-products-compare .shop_table.compare_table td{
  padding:18px 24px !important;
  font-size:14px !important;
  color:var(--ink-2) !important;
  text-align:left !important;
}
.wcboost-products-compare.is-venge-layout .wcboost-products-compare__table,
.wcboost-products-compare.is-venge-layout .shop_table,
.wcboost-products-compare.is-venge-layout table{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.wcboost-products-compare.is-venge-layout .compare-table{
  width:100% !important;
  min-width:760px !important;
  border:0 !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  background:#fff !important;
  border-radius:8px !important;
  overflow:hidden !important;
}
.wcboost-products-compare.is-venge-layout .compare-table th,
.wcboost-products-compare.is-venge-layout .compare-table td{
  padding:18px 24px !important;
  border:0 !important;
  border-bottom:1px solid var(--line) !important;
  background:#fff !important;
  vertical-align:middle !important;
  text-align:left !important;
  box-shadow:none !important;
}
.wcboost-products-compare.is-venge-layout .compare-table tr:last-child th,
.wcboost-products-compare.is-venge-layout .compare-table tr:last-child td{border-bottom:0 !important;}
.wcboost-products-compare.is-venge-layout .compare-table .row-label{
  width:190px !important;
  min-width:190px !important;
  background:#f5f1e8 !important;
  color:var(--ink-3) !important;
  font-size:14px !important;
  font-weight:400 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}
.wcboost-products-compare.is-venge-layout .compare-prod-head{position:relative !important;padding-top:18px !important;}
.wcboost-products-compare.is-venge-layout .compare-prod-img{width:100% !important;height:210px !important;margin-bottom:14px !important;border-radius:4px !important;overflow:hidden !important;background:#fff !important;}
.wcboost-products-compare.is-venge-layout .compare-prod-img img{width:100% !important;height:100% !important;object-fit:cover !important;display:block !important;border-radius:0 !important;}
.wcboost-products-compare.is-venge-layout .compare-prod-name{display:block !important;margin:0 0 8px !important;color:var(--ink) !important;font-size:14px !important;line-height:1.35 !important;font-weight:400 !important;text-decoration:none !important;}
.wcboost-products-compare.is-venge-layout .compare-prod-name:hover{color:var(--accent) !important;}
.wcboost-products-compare.is-venge-layout .compare-prod-price,
.wcboost-products-compare.is-venge-layout .compare-prod-price .price,
.wcboost-products-compare.is-venge-layout .compare-prod-price .amount{color:var(--ink) !important;font-size:20px !important;line-height:1.2 !important;font-weight:400 !important;}
.wcboost-products-compare.is-venge-layout .wcboost-products-compare-remove.remove,
.wcboost-products-compare.is-venge-layout .compare-remove{
  position:absolute !important;
  top:6px !important;
  right:6px !important;
  z-index:3 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:24px !important;
  height:24px !important;
  border:0 !important;
  border-radius:50% !important;
  background:#fff !important;
  color:#999 !important;
  font-size:16px !important;
  line-height:1 !important;
  text-decoration:none !important;
  box-shadow:0 4px 12px rgba(20,24,28,.08) !important;
}
.wcboost-products-compare.is-venge-layout .wcboost-products-compare-remove.remove:hover,
.wcboost-products-compare.is-venge-layout .compare-remove:hover{color:var(--terracotta) !important;}
.wcboost-products-compare.is-venge-layout td.highlight,
.wcboost-products-compare.is-venge-layout .in-stock{color:var(--accent) !important;font-weight:500 !important;}
.wcboost-products-compare.is-venge-layout .button,
.wcboost-products-compare.is-venge-layout .add_to_cart_button{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:36px !important;
  padding:0 22px !important;
  border:0 !important;
  border-radius:999px !important;
  background:var(--accent) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:600 !important;
  text-decoration:none !important;
  box-shadow:none !important;
}
.wcboost-products-compare.is-venge-layout .button:hover,
.wcboost-products-compare.is-venge-layout .add_to_cart_button:hover{background:var(--accent-2) !important;color:#fff !important;}
.wcboost-products-compare .wcboost-products-compare__tools{max-width:1120px !important;margin:18px auto 0 !important;display:flex !important;justify-content:center !important;}
.wcboost-products-compare .wcboost-products-compare-clear.button{width:auto !important;min-height:42px !important;padding:0 24px !important;border-radius:999px !important;background:#fff !important;color:var(--terracotta) !important;border:1px solid var(--line) !important;}
@media (max-width:768px){
  .wcboost-products-compare.is-venge-layout .compare-table{min-width:720px !important;}
  .wcboost-products-compare.is-venge-layout .compare-table .row-label{width:150px !important;min-width:150px !important;}
  .wcboost-products-compare.is-venge-layout .compare-prod-img{height:170px !important;}
}


/* Product modular collection card */
.venge-product-collection-card{
  margin:22px 0 20px;
  padding:18px 22px;
  border:1px solid var(--accent) !important;
  border-radius:8px;
  background:rgba(0,164,113,.06);
  box-shadow:none !important;
}
.venge-product-collection-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.venge-product-collection-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:7px 14px;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  line-height:1;
  text-transform:uppercase;
}
.venge-product-collection-badge svg{
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
}
.venge-product-collection-link{
  flex:0 0 auto;
  color:var(--accent);
  font-size:14px;
  font-weight:400;
  text-decoration:none !important;
}
.venge-product-collection-link:hover{color:var(--terracotta);}
.venge-product-collection-title{
  color:var(--ink);
  font-size:16px;
  line-height:1.45;
  font-weight:400;
}
.venge-collection-page{padding:0 0 80px;}
.venge-collection-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin:36px 0 28px;
}
.venge-collection-kicker{
  margin:0 0 8px;
  color:var(--accent);
  font-size:13px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.venge-collection-head h1{
  margin:0;
  color:var(--ink);
  font-size:42px;
  font-weight:300;
  line-height:1.15;
}
.venge-collection-grid{margin-top:0 !important;}
@media (max-width:767px){
  .venge-product-collection-card{padding:16px;margin:18px 0;}
  .venge-product-collection-card__top{display:block;}
  .venge-product-collection-link{display:inline-block;margin-top:12px;}
  .venge-collection-head{display:block;margin:28px 0 20px;}
  .venge-collection-head h1{font-size:30px;}
  .venge-collection-head .btn{margin-top:14px;}
}

/* Mobile catalog/product overflow final overrides */
@media (max-width: 900px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .mobile-drawer {
    left: auto !important;
    right: 0 !important;
    width: min(92vw, 360px) !important;
    max-width: calc(100vw - 16px) !important;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .mobile-drawer * { box-sizing: border-box; max-width: 100%; }
  .product-page, .product-gallery, .product-summary, .catalog-content { min-width: 0; max-width: 100%; }
}
@media (max-width: 640px) {
  .catalog-content .product-grid,
  .catalog-products .product-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 16px !important;
  }
  .catalog-content .product-card,
  .catalog-products .product-card,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 900px) {
  .mobile-drawer { width: min(86vw, 380px) !important; max-width: calc(100vw - 16px) !important; right: 0 !important; left: auto !important; overflow-x: hidden !important; }
  .catalog-toolbar { width: 100% !important; max-width: 100% !important; display: grid !important; grid-template-columns: auto minmax(0,1fr) auto !important; gap: 10px !important; align-items: center !important; }
}
@media (max-width: 640px) {
  .catalog-content .product-grid, .catalog-products .product-grid, .woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: 1fr !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; gap: 16px !important; }
  .catalog-content .product-card, .catalog-products .product-card, .woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: 100% !important; max-width: 100% !important; margin: 0 !important; float: none !important; }
}


/* Venge final account pages: orders, single order, addresses */
.woocommerce-account .woocommerce-MyAccount-content.account-content { min-width: 0; }
.woocommerce-account .venge-account-orders { width: 100%; max-width: 780px; }
.woocommerce-account .venge-account-orders-table {
  width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px;
}
.woocommerce-account .venge-account-orders-table th,
.woocommerce-account .venge-account-orders-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.woocommerce-account .venge-account-orders-table tr:last-child td { border-bottom: 0; }
.woocommerce-account .venge-account-orders-table thead th { color: var(--ink-3); text-transform: uppercase; font-size: 11px; letter-spacing: .04em; font-weight: 600; background: var(--bg-2); }
.woocommerce-account .venge-account-orders-table td strong { font-weight: 500; color: var(--ink); }
.woocommerce-account .venge-order-view-btn,
.woocommerce-account .venge-account-pagination .button { background: var(--accent) !important; color: #fff !important; border: 0 !important; border-radius: 8px !important; padding: 10px 18px !important; line-height: 1.2 !important; font-weight: 500 !important; text-decoration: none !important; display: inline-flex !important; justify-content: center; }
.woocommerce-account .venge-account-pagination { margin-top: 22px; display: flex; gap: 12px; }
.woocommerce-account .venge-order-status { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 500; background: var(--bg-3); color: var(--ink-2); white-space: nowrap; }
.woocommerce-account .venge-status-completed,
.woocommerce-account .venge-status-processing { background: color-mix(in srgb, var(--accent) 13%, #fff); color: var(--accent-2); }
.woocommerce-account .venge-status-cancelled,
.woocommerce-account .venge-status-failed { background: #fff0ea; color: var(--terracotta); }

.woocommerce-account .venge-order-view { max-width: 660px; margin: -12px auto 72px; text-align: center; }
.woocommerce-account .venge-order-success-icon { width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; background: var(--bg-2); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.woocommerce-account .venge-order-success-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.woocommerce-account .venge-order-view h1 { font-size: 44px; line-height: 1.1; font-weight: 200; margin: 0 0 14px; }
.woocommerce-account .venge-order-intro { color: var(--ink-3); max-width: 460px; margin: 0 auto 18px; line-height: 1.55; }
.woocommerce-account .venge-order-meta { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--bg-2); margin-bottom: 34px; font-size: 13px; }
.woocommerce-account .venge-order-steps { background: var(--bg-2); border-radius: 14px; padding: 26px 32px; text-align: left; max-width: 500px; margin: 0 auto 36px; }
.woocommerce-account .venge-order-steps-title { color: var(--ink-3); text-transform: uppercase; font-size: 12px; letter-spacing: .04em; margin-bottom: 16px; }
.woocommerce-account .venge-order-step { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; margin: 14px 0; }
.woocommerce-account .venge-order-step span { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.woocommerce-account .venge-order-step strong { display: block; font-size: 14px; font-weight: 500; }
.woocommerce-account .venge-order-step small { display: block; color: var(--ink-3); margin-top: 3px; line-height: 1.4; }
.woocommerce-account .venge-order-section { text-align: left; margin-top: 34px; }
.woocommerce-account .venge-order-section h2 { font-size: 30px; font-weight: 200; margin: 0 0 16px; }
.woocommerce-account .venge-order-items { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.woocommerce-account .venge-order-item { display: grid; grid-template-columns: 104px 1fr auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.woocommerce-account .venge-order-item:last-child { border-bottom: 0; }
.woocommerce-account .venge-order-item-img img { width: 104px; height: 90px; object-fit: contain; background: var(--bg-2); border-radius: 10px; }
.woocommerce-account .venge-order-item-name { font-weight: 500; line-height: 1.35; }
.woocommerce-account .venge-order-item-qty { color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.woocommerce-account .venge-order-item-total { white-space: nowrap; font-weight: 500; }
.woocommerce-account .venge-order-totals { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-align: left; }
.woocommerce-account .venge-order-total-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.woocommerce-account .venge-order-total-row:last-child { border-bottom: 0; }
.woocommerce-account .venge-order-total-row span { color: var(--ink-3); text-transform: uppercase; font-size: 12px; letter-spacing: .03em; }
.woocommerce-account .venge-order-addresses { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 24px; text-align: left; }
.woocommerce-account .venge-order-address { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.woocommerce-account .venge-order-address h2 { font-size: 22px; font-weight: 200; margin: 0 0 10px; }
.woocommerce-account .venge-order-address address,
.woocommerce-account .venge-order-address p { font-style: normal; color: var(--ink-2); line-height: 1.55; margin: 0 0 7px; }
.woocommerce-account .venge-order-actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; }

.woocommerce-account .venge-account-note { color: var(--ink-3); margin: 0 0 22px; }
.woocommerce-account .venge-address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 22px; align-items: start; }
.woocommerce-account .venge-address-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; min-height: 180px; }
.woocommerce-account .venge-address-card-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.woocommerce-account .venge-address-card h2 { margin: 0; font-size: 32px; line-height: 1.05; font-weight: 200; }
.woocommerce-account .venge-address-card a { color: var(--accent); font-size: 13px; }
.woocommerce-account .venge-address-card address { font-style: normal; color: var(--ink-2); line-height: 1.55; }

.woocommerce-account .account-nav a { position: relative; }
.woocommerce-account .account-nav a .cnt { min-width: 28px; text-align: center; margin-left: auto; display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--bg-3); color: var(--ink-3); font-size: 11px; line-height: 1; }

@media (max-width: 900px) {
  .woocommerce-account .account-layout { grid-template-columns: 1fr; gap: 24px; }
  .woocommerce-account .venge-account-orders { max-width: none; }
  .woocommerce-account .venge-address-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .woocommerce-account .venge-account-orders-table,
  .woocommerce-account .venge-account-orders-table thead,
  .woocommerce-account .venge-account-orders-table tbody,
  .woocommerce-account .venge-account-orders-table tr,
  .woocommerce-account .venge-account-orders-table td { display: block; width: 100%; }
  .woocommerce-account .venge-account-orders-table thead { display: none; }
  .woocommerce-account .venge-account-orders-table tr { padding: 14px; border-bottom: 1px solid var(--line); }
  .woocommerce-account .venge-account-orders-table tr:last-child { border-bottom: 0; }
  .woocommerce-account .venge-account-orders-table td { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 0; }
  .woocommerce-account .venge-account-orders-table td::before { content: attr(data-title); color: var(--ink-3); font-size: 12px; }
  .woocommerce-account .venge-order-view { margin: 0 0 48px; }
  .woocommerce-account .venge-order-view h1 { font-size: 32px; }
  .woocommerce-account .venge-order-steps { padding: 22px 18px; }
  .woocommerce-account .venge-order-item { grid-template-columns: 76px 1fr; align-items: start; }
  .woocommerce-account .venge-order-item-img img { width: 76px; height: 70px; }
  .woocommerce-account .venge-order-item-total { grid-column: 2; justify-self: start; }
  .woocommerce-account .venge-order-addresses { grid-template-columns: 1fr; }
  .woocommerce-account .venge-order-actions { flex-direction: column; }
  .woocommerce-account .venge-order-actions .btn { width: 100%; }
  .woocommerce-account .venge-address-card h2 { font-size: 28px; }
}

/* Single product — restore original design for variable products and images */
.single-product .product-price-block{
  border-left:0 !important;
  border-right:0 !important;
  border-top:1px solid var(--line) !important;
  border-bottom:1px solid var(--line) !important;
  padding-left:0 !important;
  padding-right:0 !important;
  background:transparent !important;
}
.single-product .product-gallery .gallery-main{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  aspect-ratio:1/1 !important;
  height:auto !important;
  min-height:0 !important;
  background:var(--surface) !important;
  border-radius:var(--radius) !important;
  overflow:hidden !important;
  padding:0 !important;
  border:0 !important;
}
.single-product .product-gallery .gallery-main img[data-main-img]{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  display:block !important;
}
.single-product .product-gallery .gallery-specs h3{
  background:transparent !important;
  -webkit-mask:none !important;
  mask:none !important;
  color:var(--ink) !important;
  text-indent:0 !important;
}
.single-product .product-gallery .gallery-specs-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:0 40px !important;
}
.single-product .product-gallery .gallery-spec{
  display:flex !important;
  justify-content:space-between !important;
  align-items:baseline !important;
  gap:16px !important;
  padding:13px 0 !important;
  min-height:0 !important;
  border-bottom:1px solid var(--line) !important;
  font-size:14px !important;
}
.single-product .product-gallery .gallery-spec .v{
  text-align:right !important;
  overflow-wrap:normal !important;
}
.venge-woo-addtocart{
  margin:0 0 14px !important;
}
.venge-woo-addtocart .variations{
  width:100% !important;
  margin:0 0 18px !important;
  border-collapse:separate !important;
  border-spacing:0 16px !important;
}
.venge-woo-addtocart .variations tr{
  display:grid !important;
  grid-template-columns:92px minmax(0,1fr) !important;
  align-items:center !important;
  gap:18px !important;
}
.venge-woo-addtocart .variations th,
.venge-woo-addtocart .variations td{
  display:block !important;
  padding:0 !important;
  border:0 !important;
}
.venge-woo-addtocart .variations th.label label{
  font-size:13px !important;
  color:var(--ink-3) !important;
  text-transform:uppercase !important;
  letter-spacing:.04em !important;
  font-weight:400 !important;
  margin:0 !important;
}
.venge-woo-addtocart .variations select.venge-select-hidden{
  position:absolute !important;
  opacity:0 !important;
  pointer-events:none !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
.venge-variation-options{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
}
.venge-variation-option{
  min-width:86px;
  min-height:58px;
  padding:9px 14px;
  border:1px solid var(--line);
  border-radius:6px;
  background:var(--surface);
  color:var(--ink);
  cursor:pointer;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-family:inherit;
  font-size:13px;
  line-height:1.2;
  text-align:center;
}
.venge-variation-option:hover,
.venge-variation-option.active{
  border-color:var(--accent);
  background:var(--bg-2);
}
.venge-variation-option.disabled{
  opacity:.35;
  cursor:not-allowed;
}
.venge-woo-addtocart .reset_variations{
  display:inline-block !important;
  margin:8px 0 0 !important;
}
.venge-woo-addtocart .single_variation_wrap,
.venge-woo-addtocart form.cart{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:12px !important;
  margin:0 !important;
}
.venge-woo-addtocart .woocommerce-variation{
  flex:1 1 100% !important;
}
.venge-woo-addtocart .woocommerce-variation-price,
.venge-woo-addtocart .woocommerce-variation-price .price{
  display:none !important;
}
.venge-woo-addtocart .quantity{
  flex:0 0 auto !important;
  border-radius:999px !important;
}
.venge-woo-addtocart button.single_add_to_cart_button,
.venge-woo-addtocart .single_add_to_cart_button{
  flex:1 1 260px !important;
  min-height:58px !important;
  border-radius:999px !important;
  border:0 !important;
  background:var(--accent) !important;
  color:var(--accent-ink) !important;
  padding:16px 30px !important;
  font-size:15px !important;
  font-weight:700 !important;
  text-transform:none !important;
  box-shadow:none !important;
}
.venge-woo-addtocart button.single_add_to_cart_button:before{
  content:"";
  display:inline-block;
  width:18px;
  height:18px;
  margin-right:8px;
  vertical-align:-3px;
  background:currentColor;
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 7h14l-1.5 11a2 2 0 0 1-2 1.7H8.5a2 2 0 0 1-2-1.7L5 7zM9 7V5a3 3 0 0 1 6 0v2" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 7h14l-1.5 11a2 2 0 0 1-2 1.7H8.5a2 2 0 0 1-2-1.7L5 7zM9 7V5a3 3 0 0 1 6 0v2" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
}
.venge-variable-actions{
  justify-content:flex-end !important;
  margin-top:-72px !important;
  padding-left:calc(92px + 18px + 260px + 12px) !important;
  pointer-events:none;
}
.venge-variable-actions > *{pointer-events:auto;}
.venge-variable-actions .venge-oneclick-open{
  flex:0 0 auto !important;
  min-width:150px !important;
}
@media (max-width:900px){
  .single-product .product-gallery .gallery-specs-grid{grid-template-columns:1fr !important;gap:0 !important;}
  .venge-variable-actions{margin-top:0 !important;padding-left:0 !important;justify-content:flex-start !important;}
}
@media (max-width:640px){
  .venge-woo-addtocart .variations tr{grid-template-columns:1fr !important;gap:8px !important;}
  .venge-woo-addtocart button.single_add_to_cart_button{flex:1 1 100% !important;width:100% !important;}
  .venge-variable-actions .venge-oneclick-open{flex:1 1 calc(100% - 124px) !important;}
}

/* Final single product layout fix: variable products match original card design */
.single-product .product-price-block{
  border-left:0!important;
  border-right:0!important;
  border-top:1px solid var(--line)!important;
  border-bottom:1px solid var(--line)!important;
  background:transparent!important;
  padding:22px 0!important;
}
.single-product .product-price-block .price-now{border:0!important;background:transparent!important;padding:0!important;}

/* One characteristic should be a single full-width line under the photo, not a half table */
.single-product .product-gallery .gallery-specs{width:100%!important;max-width:100%!important;margin-top:26px!important;}
.single-product .product-gallery .gallery-specs-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 40px!important;width:100%!important;}
.single-product .product-gallery .gallery-specs-grid:has(.gallery-spec:only-child){grid-template-columns:1fr!important;max-width:100%!important;}
.single-product .product-gallery .gallery-spec{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:28px!important;padding:15px 0!important;border-bottom:1px solid var(--line)!important;min-height:0!important;}
.single-product .product-gallery .gallery-spec .k{color:var(--ink-3)!important;min-width:120px!important;}
.single-product .product-gallery .gallery-spec .v{text-align:right!important;color:var(--ink)!important;overflow-wrap:normal!important;}

/* Variable options as design buttons, never as visible select */
.single-product .venge-woo-addtocart{margin:0 0 12px!important;}
.single-product .venge-woo-addtocart .variations{width:100%!important;margin:0 0 30px!important;border:0!important;border-collapse:separate!important;border-spacing:0 18px!important;}
.single-product .venge-woo-addtocart .variations tr{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:18px!important;align-items:center!important;}
.single-product .venge-woo-addtocart .variations th,
.single-product .venge-woo-addtocart .variations td{display:block!important;padding:0!important;border:0!important;background:transparent!important;}
.single-product .venge-woo-addtocart .variations th.label label{margin:0!important;font-size:13px!important;font-weight:400!important;text-transform:uppercase!important;letter-spacing:.04em!important;color:var(--ink-3)!important;}
.single-product .venge-woo-addtocart .variations select.venge-select-hidden,
.single-product .venge-woo-addtocart .variations select[style*="display: none"]{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
.single-product .venge-variation-options{display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
.single-product .venge-variation-option{min-width:86px!important;min-height:58px!important;padding:9px 14px!important;border:1px solid var(--line)!important;border-radius:6px!important;background:var(--surface)!important;color:var(--ink)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;font-family:inherit!important;font-size:13px!important;line-height:1.2!important;cursor:pointer!important;}
.single-product .venge-variation-option.active,
.single-product .venge-variation-option:hover{border-color:var(--accent)!important;background:var(--bg-2)!important;}
.single-product .venge-variation-option.disabled{opacity:.35!important;cursor:not-allowed!important;}
.single-product .venge-woo-addtocart .reset_variations{display:none!important;}

/* Variable product purchase row: quantity, buy, one click, wishlist and compare in one normal row */
.single-product .venge-woo-addtocart form.cart,
.single-product .venge-woo-addtocart .single_variation_wrap,
.single-product .venge-woo-addtocart .woocommerce-variation-add-to-cart{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;margin:0!important;width:100%!important;}
.single-product .venge-woo-addtocart .woocommerce-variation{flex:1 1 100%!important;display:none!important;}
.single-product .venge-woo-addtocart .quantity{flex:0 0 auto!important;margin:0!important;}
.single-product .venge-woo-addtocart button.single_add_to_cart_button,
.single-product .venge-woo-addtocart .single_add_to_cart_button{flex:0 0 220px!important;width:220px!important;min-width:220px!important;min-height:58px!important;margin:0!important;border-radius:999px!important;border:0!important;background:var(--accent)!important;color:var(--accent-ink)!important;padding:16px 30px!important;font-size:15px!important;font-weight:700!important;text-transform:none!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.single-product .venge-variable-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;margin:-70px 0 0 calc(92px + 18px + 220px + 12px)!important;padding:0!important;width:auto!important;pointer-events:none!important;}
.single-product .venge-variable-actions>*{pointer-events:auto!important;}
.single-product .venge-variable-actions .venge-oneclick-open{flex:0 0 170px!important;min-width:170px!important;height:58px!important;margin:0!important;}
.single-product .venge-variable-actions .btn-icon,
.single-product .purchase-row .btn-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:52px!important;height:52px!important;min-width:52px!important;flex:0 0 52px!important;margin:0!important;border-radius:50%!important;}

/* The compare plugin prints a text link; keep only the round icon button. */
.single-product .venge-compare-native-single{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:52px!important;height:52px!important;min-width:52px!important;flex:0 0 52px!important;margin:0!important;overflow:hidden!important;font-size:0!important;line-height:0!important;}
.single-product .venge-compare-native-single a,
.single-product .venge-compare-native-single button{width:52px!important;height:52px!important;min-width:52px!important;border:1px solid var(--line)!important;border-radius:50%!important;background:var(--surface)!important;color:var(--ink)!important;padding:0!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:0!important;line-height:0!important;text-indent:-9999px!important;overflow:hidden!important;}
.single-product .venge-compare-native-single a:before,
.single-product .venge-compare-native-single button:before{content:""!important;display:block!important;width:22px!important;height:22px!important;background:currentColor!important;text-indent:0!important;-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h12M3 12h18M3 18h8" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round"/></svg>') center/contain no-repeat!important;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h12M3 12h18M3 18h8" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round"/></svg>') center/contain no-repeat!important;}
.single-product .venge-woo-addtocart a.compare,
.single-product .venge-woo-addtocart .compare:not(.venge-compare-native-single *){display:none!important;}

@media (max-width:1100px){
  .single-product .venge-variable-actions{margin:12px 0 0 0!important;}
}
@media (max-width:900px){
  .single-product .product-gallery .gallery-specs-grid{grid-template-columns:1fr!important;gap:0!important;}
  .single-product .venge-woo-addtocart .variations tr{grid-template-columns:1fr!important;gap:8px!important;}
  .single-product .venge-variable-actions{margin:12px 0 0 0!important;}
}
@media (max-width:640px){
  .single-product .venge-woo-addtocart button.single_add_to_cart_button,
  .single-product .venge-woo-addtocart .single_add_to_cart_button{flex:1 1 calc(50% - 6px)!important;width:auto!important;min-width:0!important;}
  .single-product .venge-variable-actions{width:100%!important;flex-wrap:wrap!important;}
  .single-product .venge-variable-actions .venge-oneclick-open{flex:1 1 calc(50% - 6px)!important;min-width:0!important;}
}

/* Final variable-product quantity row: label + qty above buttons */
.single-product .venge-woo-addtocart .woocommerce-variation-add-to-cart{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;}
.single-product .venge-variable-qty-label{flex:0 0 auto!important;margin:0!important;height:44px!important;display:inline-flex!important;align-items:center!important;font-size:13px!important;font-weight:400!important;color:var(--ink-3)!important;}
.single-product .venge-variable-qty-break{display:block!important;flex:0 0 100%!important;width:100%!important;height:0!important;}
.single-product .venge-woo-addtocart .woocommerce-variation-add-to-cart .quantity{margin:0!important;}
.single-product .venge-woo-addtocart .woocommerce-variation-add-to-cart:has(.venge-variable-qty-label) button.single_add_to_cart_button{margin-top:0!important;}
.single-product .venge-variable-actions{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;padding:0!important;width:auto!important;pointer-events:auto!important;}
.single-product .venge-variable-actions .venge-oneclick-open{flex:0 0 170px!important;min-width:170px!important;height:58px!important;margin:0!important;}
.buy-explain{margin-top:20px!important;}

/* FIX: variable product quantity/buttons layout copied from simple product */
.single-product .venge-woo-addtocart .woocommerce-variation-add-to-cart{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.single-product .venge-woo-addtocart .venge-variable-qty-label{
  order:1!important;
  flex:0 0 auto!important;
  margin:0!important;
  height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  font-size:13px!important;
  font-weight:400!important;
  color:var(--ink-3)!important;
}
.single-product .venge-woo-addtocart .woocommerce-variation-add-to-cart .quantity,
.single-product .venge-woo-addtocart .woocommerce-variation-add-to-cart .qty-input{
  order:2!important;
  flex:0 0 auto!important;
  margin:0!important;
}
.single-product .venge-woo-addtocart .venge-variable-qty-break{
  order:3!important;
  display:block!important;
  flex:0 0 100%!important;
  width:100%!important;
  max-width:100%!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
}
.single-product .venge-woo-addtocart .woocommerce-variation-add-to-cart button.single_add_to_cart_button,
.single-product .venge-woo-addtocart .woocommerce-variation-add-to-cart .single_add_to_cart_button{
  order:4!important;
  flex:0 1 220px!important;
  width:220px!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
}
.single-product .venge-woo-addtocart .venge-variable-actions{
  order:5!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex:0 1 auto!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  box-sizing:border-box!important;
  pointer-events:auto!important;
}
.single-product .venge-woo-addtocart .venge-variable-actions .venge-oneclick-open{
  flex:0 1 170px!important;
  width:170px!important;
  min-width:0!important;
  max-width:100%!important;
  height:58px!important;
  margin:0!important;
}
.single-product .venge-woo-addtocart .venge-variable-actions .btn-icon{
  flex:0 0 52px!important;
  width:52px!important;
  min-width:52px!important;
  height:52px!important;
  margin:0!important;
}
.buy-explain{margin-top:20px!important;}
@media (max-width:640px){
  .single-product .venge-woo-addtocart .woocommerce-variation-add-to-cart button.single_add_to_cart_button,
  .single-product .venge-woo-addtocart .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  .single-product .venge-woo-addtocart .venge-variable-actions .venge-oneclick-open{
    flex:1 1 calc(50% - 6px)!important;
    width:auto!important;
  }
  .single-product .venge-woo-addtocart .venge-variable-actions{flex:1 1 100%!important;width:100%!important;}
}


/* =========================================================================
 *  v1.8.0 — homepage first screen, product gallery, mobile fixes
 * ====================================================================== */

/* ---------- 1. Homepage: photo category grid on the first screen -------- */
.section-cats-first { padding-top: 34px !important; }
.section-cats-first .section-head { align-items: flex-end; }
.cats-title {
  font-size: 42px;
  font-weight: 200;
  line-height: 1.1;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.cat-grid.cat-grid-photo {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.cat-grid-photo .cat-tile {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-align: left !important;
  overflow: hidden !important;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cat-grid-photo .cat-tile:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cat-tile-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}
.cat-tile-media img {
  width: 100% !important;
 
 
  object-fit: cover !important;
  display: block;
  transition: transform .5s ease;
}
.cat-grid-photo .cat-tile:hover .cat-tile-media img { transform: scale(1.05); }
.cat-tile-noimg .cat-tile-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 60%),
    var(--bg-2);
}
.cat-grid-photo .cat-tile-media svg {
  width: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  color: var(--accent);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.1;
  opacity: .75;
}
.cat-tile-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
  min-width: 0;
}
.cat-grid-photo .cat-tile-name {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 !important;
  overflow-wrap: anywhere;
}
.cat-grid-photo .cat-tile-count { font-size: 11px; color: var(--ink-3); }

@media (max-width: 1280px) { .cat-grid.cat-grid-photo { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
@media (max-width: 1100px) { .cat-grid.cat-grid-photo { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; } }
@media (max-width: 900px)  { .cat-grid.cat-grid-photo { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; } }
@media (max-width: 640px)  {
  .cat-grid.cat-grid-photo { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .cat-tile-body { padding: 11px 12px 13px; }
  .cats-title { font-size: 26px !important; }
  .section-cats-first { padding-top: 22px !important; }
}

/* ---------- 2. Full-width "3D kitchen" banner --------------------------- */
.split-banner.split-banner-single { grid-template-columns: 1fr !important; }
.banner-card.banner-card-wide {
  grid-template-columns: 1.05fr .95fr !important;
  min-height: 320px !important;
  padding: 56px !important;
  gap: 40px !important;
}
.banner-card.banner-card-wide h3 { font-size: 40px !important; }
.banner-card.banner-card-wide p { font-size: 15px !important; max-width: 46ch; }
.banner-card.banner-card-wide .banner-card-img { aspect-ratio: 16 / 10 !important; height: 100%; }
@media (max-width: 900px) {
  .banner-card.banner-card-wide { grid-template-columns: 1fr !important; padding: 32px !important; gap: 24px !important; min-height: 0 !important; }
  .banner-card.banner-card-wide h3 { font-size: 28px !important; }
}

/* ---------- 5. Product gallery: thumbnails to the LEFT, vertical scroll -- */
@media (min-width: 721px) {
  .single-product .product-gallery,
  .product-page .product-gallery {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    grid-template-areas:
      "thumbs main"
      "specs  specs" !important;
    gap: 14px !important;
    align-items: start !important;
  }
  .single-product .product-gallery .gallery-thumbs,
  .product-page .product-gallery .gallery-thumbs {
    grid-area: thumbs !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 96px !important;
    max-width: 96px !important;
    /* Never taller than the main photo: the height is measured in theme.js. */
    max-height: var(--venge-gallery-h, 520px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 2px 6px 2px 2px !important;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2, #d8d3c8) transparent;
    overscroll-behavior: contain;
  }
  .single-product .product-gallery .gallery-thumbs::-webkit-scrollbar { width: 5px; }
  .single-product .product-gallery .gallery-thumbs::-webkit-scrollbar-thumb { background: var(--line-2, #d8d3c8); border-radius: 999px; }
  .single-product .product-gallery .gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
  .single-product .product-gallery .gallery-thumb,
  .product-page .product-gallery .gallery-thumb {
    flex: 0 0 84px !important;
    width: 84px !important;
    height: 84px !important;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
  }
  .single-product .product-gallery .gallery-main,
  .product-page .product-gallery .gallery-main {
    grid-area: main !important;
    order: 0 !important;
    align-self: start !important;
  }
  .single-product .product-gallery .gallery-specs,
  .product-page .product-gallery .gallery-specs {
    grid-area: specs !important;
    order: 0 !important;
  }
}

/* ---------- 13-15. Mobile: contacts, headings, header search ------------ */

/* No block may push past the right edge of the screen. */
html, body { max-width: 100%; }
.static-layout, .static-content, .venge-site-content { min-width: 0; }
.static-content { max-width: 100% !important; }
.static-content img,
.static-content iframe,
.static-content video { max-width: 100% !important; height: auto; }

@media (max-width: 900px) {
  body { overflow-x: hidden; }

  /* Contact tiles: one under another, nothing sticking out. */
  .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .contact-block {
    padding: 20px 18px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .contact-block .big { font-size: 19px !important; }
  .contact-block p,
  .contact-block h4 { overflow-wrap: anywhere; word-break: break-word; }

  /* SiteOrigin / page-builder rows inside info pages. */
  .static-content .panel-grid,
  .static-content .panel-grid-cell,
  .static-content .so-panel { max-width: 100% !important; min-width: 0 !important; }
  .static-content .panel-grid { display: block !important; }
  .static-content h1,
  .static-content h2,
  .static-content h3,
  .static-content p,
  .static-content li,
  .static-content strong,
  .static-content span { overflow-wrap: anywhere; word-break: break-word; }
  .static-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
}

@media (max-width: 900px) {
  /* 14. Tablets: bring the display headings down a step too. */
  h1,
  .static-content h1,
  .catalog-title,
  .cats-title { font-size: 34px !important; line-height: 1.15 !important; }
  .static-content h2 { font-size: 24px !important; }
}

@media (max-width: 640px) {
  /* 14. h1 was enormous on phones. */
  h1,
  .static-content h1,
  .catalog-title,
  .cats-title,
  .thanks-card h1 { font-size: 26px !important; line-height: 1.2 !important; }
  .static-content h1 { margin-bottom: 16px !important; }
  .static-content h2 { font-size: 20px !important; margin: 26px 0 12px !important; }
  .static-content h3 { font-size: 17px !important; }
  .single-product .product-info h1 { font-size: 23px !important; }
  .editorial h2 { font-size: 26px !important; }
}
@media (max-width: 380px) {
  h1,
  .static-content h1,
  .catalog-title,
  .cats-title { font-size: 23px !important; }
}

/* 15. Header on phones: search gets its own row, it can no longer sit on
   top of the logo no matter how narrow the screen is. */
@media (max-width: 900px) {
  .header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    grid-template-areas:
      "logo   toggle"
      "search search"
      "actions actions" !important;
    gap: 10px 12px !important;
    align-items: center !important;
  }
  .header .logo,
  .header-inner > .logo {
    grid-area: logo !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 170px !important;
    justify-self: start !important;
  }
  .header .logo-img,
  .header-inner .logo-img {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 38px !important;
    max-height: 38px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  .mobile-toggle { grid-area: toggle !important; justify-self: end !important; }
  .search-wrap {
    grid-area: search !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: stretch !important;
    box-sizing: border-box !important;
    padding: 3px 3px 3px 16px !important;
  }
  .search-wrap input {
    min-width: 0 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
  }
  .search-wrap .search-btn { flex: 0 0 auto !important; }
  .header-actions { grid-area: actions !important; }
  .smart-search-results { width: 100% !important; left: 0 !important; right: auto !important; }
}
@media (max-width: 360px) {
  .header .logo,
  .header-inner > .logo { max-width: 140px !important; }
  .header .logo-img,
  .header-inner .logo-img { height: 34px !important; max-height: 34px !important; }
}

/* ---------- 4. Product tab "Доставка и оплата" -------------------------- */
.product-tabs .delivery-tab-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.product-tabs .delivery-tab-list li {
  position: relative;
  padding: 0 0 0 26px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.product-tabs .delivery-tab-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.product-tabs .delivery-tab-list li strong { color: var(--ink); font-weight: 500; }

/* ---------- Homepage: make sure the catalogue heading is really visible ---
   Some installs carry an old "hide the H1 on the front page" snippet in
   Additional CSS; the tile grid heading must not fall victim to it. */
.section-cats-first .cats-title,
h1.cats-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  clip: auto !important;
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  text-indent: 0 !important;
  color: var(--ink) !important;
  line-height: 1.1 !important;
}

/* ---------- Homepage: tighter spacing around the "3D kitchen" banner ----- */
.section-cats-first { padding-bottom: 40px !important; }
.section-kitchen-banner { padding: 6px 0 !important; }
.section-kitchen-banner + .section { padding-top: 44px !important; }

@media (max-width: 900px) {
  .section-cats-first { padding-bottom: 26px !important; }
  .section-kitchen-banner { padding: 4px 0 !important; }
  .section-kitchen-banner + .section { padding-top: 30px !important; }
}
@media (max-width: 640px) {
  .section-cats-first { padding-bottom: 20px !important; }
  .section-kitchen-banner { padding: 2px 0 !important; }
  .section-kitchen-banner + .section { padding-top: 24px !important; }
}

/* =========================================================================
 *  v1.9.0 — native <select> styling (Safari / macOS ignored our box)
 * ====================================================================== */

/* Safari and macOS Chrome render the OS control unless appearance is reset,
   which is why the sorting dropdown looked like a stock Apple widget. */
.catalog-toolbar select,
.catalog-toolbar select.orderby,
.woocommerce .catalog-toolbar .woocommerce-ordering select,
.woocommerce .woocommerce-ordering select,
.sort-select,
.filters select,
.venge-checkout-fields select,
.woocommerce form .form-row select,
.field select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23514c44' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 15px 15px !important;
  background-color: var(--surface) !important;
  padding-right: 40px !important;
  border: 1px solid var(--line-2) !important;
  color: var(--ink) !important;
  font: inherit !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  text-overflow: ellipsis;
  /* Safari keeps its own inner shadow otherwise. */
  box-shadow: none !important;
  outline: none;
}

.catalog-toolbar select,
.catalog-toolbar select.orderby,
.woocommerce .catalog-toolbar .woocommerce-ordering select,
.sort-select {
  border-radius: 999px !important;
  padding: 10px 40px 10px 18px !important;
  height: 42px !important;
  min-width: 210px;
}

.catalog-toolbar select:hover,
.sort-select:hover { border-color: var(--ink-3) !important; }
.catalog-toolbar select:focus,
.sort-select:focus,
.filters select:focus { border-color: var(--accent) !important; }

/* The option list itself is drawn by the OS — at least keep it readable. */
.catalog-toolbar select option,
.filters select option { color: var(--ink); background: #fff; }

/* Firefox: kill the dotted focus ring and the default arrow gap. */
.catalog-toolbar select::-ms-expand,
.sort-select::-ms-expand { display: none; }

@media (max-width: 640px) {
  .catalog-toolbar select,
  .catalog-toolbar select.orderby,
  .woocommerce .catalog-toolbar .woocommerce-ordering select {
    min-width: 0 !important;
    width: 100% !important;
    font-size: 12px !important;
    padding: 9px 34px 9px 14px !important;
    background-position: right 12px center !important;
  }
}

/* ---------- Manufacturers: logo tiles ----------------------------------- */
a.brand-tile { text-decoration: none; }
.brand-tile-logo {
  padding: 20px 22px !important;
  min-height: 108px;
}
.brand-tile-logo img {
  max-width: 100%;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
  opacity: .78;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.brand-tile-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.03);
}
@media (max-width: 640px) {
  .brand-tile-logo { min-height: 84px; padding: 14px !important; }
  .brand-tile-logo img { max-height: 46px; }
}

/* =========================================================================
 *  v1.10.0 — optional first-screen slider with the "3D kitchen" promo
 * ====================================================================== */

.hero.hero-with-promo { background: var(--bg-2); }
.hero.hero-with-promo .hero-inner {
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  min-height: 0;
  padding: 40px 0;
  align-items: stretch;
}

/* Left column: the promo rendered as a full-height accent card. */
.hero-text.hero-promo { display: flex; padding: 0 !important; }
.banner-card.hero-promo-card {
  width: 100%;
  height: 480px;
  min-height: 0;
  padding: 44px;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
  align-content: stretch;
  gap: 24px;
  overflow: hidden;
}
.hero-promo-card .hero-promo-body { align-self: start; }
.hero-promo-card h2 {
  color: var(--accent-ink) !important;
  font-size: 44px;
  font-weight: 100;
  line-height: 1.05;
  margin: 0 0 16px;
}
.hero-promo-card p {
  color: rgba(247, 243, 234, .85);
  font-size: 16px;
  margin: 0 0 26px;
  max-width: 44ch;
}
.hero-promo-card .banner-card-img.hero-promo-img {
  aspect-ratio: auto !important;
  width: 100%;
  height: 100%;
  min-height: 0;
  align-self: stretch;
  overflow: hidden;
}
.hero-promo-card .hero-promo-img img { width: 100%; height: 100%; object-fit: cover; }

/* Right column: the product carousel keeps the card's height. */
.hero.hero-with-promo .hero-visual {
  height: 480px;
  min-height: 0;
  border-radius: var(--radius-lg);
}

@media (max-width: 1100px) {
  .hero.hero-with-promo .hero-inner { grid-template-columns: 1fr; gap: 22px; padding: 28px 0; }
  .banner-card.hero-promo-card { height: 400px; padding: 34px; }
  .hero-promo-card h2 { font-size: 32px; }
  .hero.hero-with-promo .hero-visual { min-height: 0; height: 340px; }
}
@media (max-width: 640px) {
  .hero.hero-with-promo .hero-inner { padding: 20px 0; gap: 16px; }
  .banner-card.hero-promo-card { height: 330px; padding: 22px; gap: 16px; }
  .hero-promo-card h2 { font-size: 24px; margin-bottom: 10px; }
  .hero-promo-card p { font-size: 14px; margin-bottom: 16px; }
  .hero.hero-with-promo .hero-visual { height: 240px; }
  .hero.hero-with-promo + .section-cats-first { padding-top: 26px !important; }
}

/* =========================================================================
 *  v1.10.4 — tighter vertical rhythm on the homepage
 *  The 80px + 48px section paddings stacked into ~128px gaps between blocks.
 * ====================================================================== */
body.home .section { padding: 40px 0 !important; }
body.home .section-tight { padding: 22px 0 !important; }
body.home .section-head { margin-bottom: 26px !important; }
body.home .editorial { padding: 56px 0 !important; }
body.home .brands { padding: 46px 0 !important; }

body.home .section-cats-first { padding-top: 32px !important; padding-bottom: 24px !important; }
body.home .section-kitchen-banner { padding: 6px 0 !important; }
body.home .section-kitchen-banner + .section { padding-top: 30px !important; }
/* Slider on → no banner between the tiles and "Хиты продаж". */
body.home .section-cats-first + .section { padding-top: 32px !important; }

/* Slider on: the categories follow the hero straight away. */
body.home .hero.hero-with-promo + .section-cats-first { padding-top: 34px !important; }

@media (max-width: 900px) {
  body.home .section { padding: 32px 0 !important; }
  body.home .section-tight { padding: 18px 0 !important; }
  body.home .section-head { margin-bottom: 20px !important; }
  body.home .editorial { padding: 40px 0 !important; }
  body.home .brands { padding: 32px 0 !important; }
  body.home .section-cats-first { padding-top: 24px !important; padding-bottom: 20px !important; }
  body.home .section-kitchen-banner + .section { padding-top: 26px !important; }
}
@media (max-width: 640px) {
  body.home .section { padding: 26px 0 !important; }
  body.home .section-tight { padding: 14px 0 !important; }
  body.home .section-cats-first { padding-top: 18px !important; padding-bottom: 16px !important; }
}

/* =========================================================================
 *  v1.12.0 — shop root = category tiles, promo block moved under them
 * ====================================================================== */

/* ---------- Shop root: the same photo tiles as on the homepage ---------- */
.cat-grid.shop-cat-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 18px !important;
  padding-bottom: 56px;
}
@media (max-width: 1280px) { .cat-grid.shop-cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
@media (max-width: 1100px) { .cat-grid.shop-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; } }
@media (max-width: 900px)  { .cat-grid.shop-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; } }
@media (max-width: 640px)  { .cat-grid.shop-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; padding-bottom: 34px; } }

/* ---------- Promo block now sits under the category grid ---------------- */
body.home .hero.hero-with-promo {
  margin: 0;
  border-radius: 0;
}
body.home .hero.hero-with-promo .hero-inner { padding: 34px 0 !important; }
body.home .hero.hero-with-promo + .section { padding-top: 34px !important; }

/* ---------- Banner slider (image variant) ------------------------------- */
.section-home-slider { padding: 6px 0 !important; }
.home-image-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 520;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
}
.home-image-slider .hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
}
.home-image-slider .hero-slide.is-active { opacity: 1; visibility: visible; }
.home-image-slider .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, .85); }
.hero-dot.is-active { background: #fff; transform: scale(1.25); }

@media (max-width: 900px) {
  .home-image-slider { aspect-ratio: 16 / 9; border-radius: var(--radius); }
  .hero-dots { bottom: 10px; }
  .hero-dot { width: 8px; height: 8px; }
}
@media (max-width: 640px) {
  .home-image-slider { aspect-ratio: 4 / 3; }
  body.home .hero.hero-with-promo .hero-inner { padding: 20px 0 !important; }
}

/* =========================================================================
 *  v1.13.0 — video banner above the category grid
 * ====================================================================== */
.vg-hero {
  position: relative;
  width: 100%;
  height: clamp(440px, 62vw, 720px);
  overflow: hidden;
  background: var(--bg-2);
  display: flex;
  isolation: isolate;
}
.vg-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Soft washes top and bottom so the text stays readable on any frame. */
.vg-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(255,253,250,.78) 0%, rgba(255,253,250,.34) 22%, rgba(255,253,250,0) 42%),
    linear-gradient(to top, rgba(28,36,32,.42) 0%, rgba(28,36,32,.12) 18%, rgba(28,36,32,0) 38%);
}
.vg-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(28px, 4.4vw, 56px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.vg-hero__title {
  margin: 0;
  font-family: inherit;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.06;
  opacity: 0;
  transform: translateY(14px);
  animation: vgUp .9s cubic-bezier(.22,.7,.25,1) .35s forwards;
}
.vg-hero__title-lead {
  display: block;
  font-size: clamp(15px, 1.55vw, 21px);
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ink-2);
  margin-bottom: .55em;
}
.vg-hero__title-main {
  display: block;
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 300;
}
.vg-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink, #fff);
  font-family: inherit;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(26,160,106,.28), 0 2px 6px rgba(20,40,30,.14);
  transition: transform .22s cubic-bezier(.22,.7,.25,1), box-shadow .22s, background .22s;
  opacity: 0;
  transform: translateY(14px);
  animation: vgUp .9s cubic-bezier(.22,.7,.25,1) .9s forwards;
}
.vg-hero__cta:hover {
  background: var(--accent-2, #158c5c);
  color: var(--accent-ink, #fff);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(26,160,106,.36), 0 3px 8px rgba(20,40,30,.18);
}
.vg-hero__cta:hover svg { transform: translateX(3px); }
.vg-hero__cta svg { transition: transform .22s cubic-bezier(.22,.7,.25,1); }
.vg-hero__cta:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@keyframes vgUp { to { opacity: 1; transform: translateY(0); } }

/* The banner is the first thing on the page — pull the grid a little closer. */
body.home .vg-hero + .section-cats-first { padding-top: 32px !important; }

@media (max-width: 900px) {
  .vg-hero { height: clamp(420px, 78vw, 560px); }
}
@media (max-width: 640px) {
  .vg-hero { height: clamp(380px, 100vw, 520px); }
  .vg-hero__inner { padding: 26px 18px 34px; }
  .vg-hero__cta { padding: 14px 26px; width: 100%; max-width: 300px; justify-content: center; }
  body.home .vg-hero + .section-cats-first { padding-top: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .vg-hero__title,
  .vg-hero__cta { animation: none; opacity: 1; transform: none; }
}

/* ---------- Homepage: centred category heading on phones ---------------- */
@media (max-width: 640px) {
  .section-cats-first .section-head {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .section-cats-first .section-head > div { width: 100%; }
  .section-cats-first .cats-title { text-align: center !important; }
  .section-cats-first .section-head .section-sub {
    max-width: 34ch;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
  .section-cats-first .section-head .section-link { align-self: center !important; }
}

/* ======================================================================
   "Доставка и оплата" — cards, payment tiles, FAQ (1.15.0)
   ====================================================================== */

.static-content .static-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 8px;
}

/* ---------- Delivery options -------------------------------------------- */

.static-content .delivery-list {
  display: grid;
  gap: 14px;
  margin: 0 0 8px;
}

.static-content .delivery-card {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.static-content .delivery-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.static-content .delivery-card::before {
  content: "";
  width: 24px;
  height: 24px;
  justify-self: center;
  background-color: var(--accent);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.static-content .delivery-card--truck::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M1.75 5.25h12v10.5h-12z'/><path d='M13.75 9.25h3.6l2.9 2.9v3.6h-6.5z'/><circle cx='6' cy='18' r='2'/><circle cx='17' cy='18' r='2'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M1.75 5.25h12v10.5h-12z'/><path d='M13.75 9.25h3.6l2.9 2.9v3.6h-6.5z'/><circle cx='6' cy='18' r='2'/><circle cx='17' cy='18' r='2'/></svg>");
}

.static-content .delivery-card--pin::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21.5s7-6 7-11.5a7 7 0 1 0-14 0c0 5.5 7 11.5 7 11.5z'/><circle cx='12' cy='10' r='2.6'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21.5s7-6 7-11.5a7 7 0 1 0-14 0c0 5.5 7 11.5 7 11.5z'/><circle cx='12' cy='10' r='2.6'/></svg>");
}

.static-content .delivery-card--box::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7.5 12 3l9 4.5v9L12 21l-9-4.5z'/><path d='M3 7.5 12 12l9-4.5M12 12v9'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7.5 12 3l9 4.5v9L12 21l-9-4.5z'/><path d='M3 7.5 12 12l9-4.5M12 12v9'/></svg>");
}

.static-content .delivery-card--store::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3.5 9.5h17l-1.2-5H4.7z'/><path d='M5 9.5V20h14V9.5'/><path d='M9.75 20v-5.5h4.5V20'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3.5 9.5h17l-1.2-5H4.7z'/><path d='M5 9.5V20h14V9.5'/><path d='M9.75 20v-5.5h4.5V20'/></svg>");
}

.static-content .delivery-card--clock::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5.5l3.5 2'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5.5l3.5 2'/></svg>");
}

.static-content .delivery-card--card::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><rect x='2.5' y='5' width='19' height='14' rx='2.5'/><path d='M2.5 9.5h19'/><path d='M6 14.5h4'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><rect x='2.5' y='5' width='19' height='14' rx='2.5'/><path d='M2.5 9.5h19'/><path d='M6 14.5h4'/></svg>");
}

.static-content .delivery-card-text { min-width: 0; }

.static-content .delivery-card h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 4px;
}

.static-content .delivery-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}

.static-content .delivery-card-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  text-align: right;
}

/* ---------- Payment methods --------------------------------------------- */

.static-content .pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 8px;
}

.static-content .pay-card {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.static-content .pay-card h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 6px;
}

.static-content .pay-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}

/* ---------- FAQ ---------------------------------------------------------- */

.static-content .faq-list {
  display: grid;
  gap: 14px;
}

.static-content .faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
}

.static-content .faq-item > summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}

.static-content .faq-item > summary::-webkit-details-marker { display: none; }

.static-content .faq-item > summary::before {
  content: "";
  flex: 0 0 auto;
  margin-top: 7px;
  border: 5px solid transparent;
  border-top-color: var(--accent);
  transform-origin: 50% 25%;
  transition: transform .2s ease;
}

.static-content .faq-item:not([open]) > summary::before { transform: rotate(-90deg); }

.static-content .faq-item > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
  margin: 12px 0 0;
}

@media (max-width: 720px) {
  .static-content .delivery-card {
    grid-template-columns: 26px 1fr;
    padding: 18px;
    gap: 12px;
  }
  .static-content .delivery-card-price {
    grid-column: 2;
    text-align: left;
  }
  .static-content .pay-grid { grid-template-columns: 1fr; }
}

/* The text column keeps the reference width on desktop; the contacts page,
   which carries its own full-width blocks, stays as wide as the layout. */
@media (min-width: 900px) {
  .static-content:not(.static-content--wide) { max-width: 720px !important; }
}

/* The "Нужна консультация?" strip on info pages: stack it on phones instead
   of squeezing the heading into a two-character column. */
@media (max-width: 600px) {
  .static-content .info-cta {
    grid-template-columns: 1fr !important;
    padding: 24px !important;
    gap: 18px !important;
    text-align: center;
  }
  .static-content .info-cta .btn { justify-self: center; }
}

/* ======================================================================
   Product photos are never cropped (1.15.1)

   The catalogue was built on `object-fit: cover`, which fills the 4:3 tile
   by cutting whatever does not fit — fine for photos shot to one ratio, and
   wrong here, where the shop's photos come from a dozen suppliers in every
   ratio. Tables and beds lost their edges. `contain` keeps the whole photo
   inside the tile and pads it out instead; the tile turns white so the
   padding is invisible on the usual white-background product shot.
   ====================================================================== */

.product-card .product-image,
ul.products .product-image {
  background: #fff;
}

.product-card .product-image img,
ul.products .product-image img,
.product-image-link img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
}

/* List view keeps its own free-height tile: cap the photo instead. */
ul.products.list-view .product-image img {
  height: auto !important;
  max-height: 260px;
}

/* Cart and order thumbnails — same reasoning, smaller boxes. */
.cart-row-img { background: #fff; }

.cart-row-img img {
  object-fit: contain !important;
  padding: 6px;
  box-sizing: border-box;
  background: #fff;
}

@media (max-width: 640px) {
  .product-card .product-image img,
  ul.products .product-image img { padding: 8px; }
}

/* ======================================================================
   Which item a discount came off (1.16.3)
   ====================================================================== */

.cart-row-saving,
.product-total .cart-row-saving {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  text-align: right;
  margin-top: 4px;
  color: var(--accent);
  white-space: nowrap;
}

.cart-row-saving--sale { color: var(--terracotta); }

.cart-row-saving .amount,
.cart-row-saving bdi { font-weight: 500; }

@media (max-width: 640px) {
  .cart-row-saving { font-size: 11.5px; white-space: normal; }
}

/* Totals: what the cart saved, and lines with no discount at all (1.16.4) */
.summary-saved {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(14, 166, 114, .08);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.venge-admin-hint {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: #fffdf5;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.6;
}

.venge-admin-hint strong { color: var(--ink-2); }
.venge-admin-hint a { color: var(--accent-2); text-decoration: underline; }
.venge-admin-hint ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.venge-admin-hint li { margin: 2px 0; }

/* Totals: the label is longer now ("Сумма к оплате"), so it may wrap — only
   the amount stays on one line. Overrides the older nowrap rules above. */
.summary .summary-row.total,
.woocommerce-cart .summary-row.total { gap: 16px !important; align-items: baseline !important; }

.summary .summary-row.total > span:first-child,
.woocommerce-cart .summary-row.total > span:first-child {
  font-size: 18px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

.summary .summary-row.total > span:last-child,
.woocommerce-cart .summary-row.total > span:last-child {
  white-space: nowrap !important;
  text-align: right !important;
}

/* ======================================================================
   Category page: sub-category tiles above the products (1.17.0)
   ====================================================================== */

.catalog-content .cat-grid.subcat-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 0 28px;
}

.catalog-content .subcat-grid .cat-tile-body { padding: 10px 12px 12px; }
.catalog-content .subcat-grid .cat-tile-name { font-size: 13px; }

@media (max-width: 1280px) { .catalog-content .cat-grid.subcat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 900px)  { .catalog-content .cat-grid.subcat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px !important; } }
@media (max-width: 640px)  {
  .catalog-content .cat-grid.subcat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; margin-bottom: 20px; }
}

/* Range sliders for numeric attributes reuse the price-filter styling; only
   the two number boxes need room for a unit-less value. */
.filters .venge-filter-range .range-inputs input { text-align: center; }

/* ======================================================================
   Category tiles: the product count reads as a count (1.17.1)
   ====================================================================== */

.cat-grid-photo .cat-tile-count {
  align-self: flex-start;
  margin-top: 2px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(14, 166, 114, .10);
  color: var(--accent-2);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.cat-grid-photo .cat-tile:hover .cat-tile-count {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 640px) {
  .cat-grid-photo .cat-tile-count { font-size: 11px; padding: 2px 8px; }
}

/* ======================================================================
   Catalogue filter: one form, one button, collapsible on phones (1.18.0)
   ====================================================================== */

.filters-form .filter-block:last-of-type { border-bottom: 0; }

.filters-actions {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.filters-actions .btn { width: 100%; }

.filters-actions .venge-filter-reset {
  font-size: 12.5px;
  color: var(--ink-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.filters-actions .venge-filter-reset:hover { color: var(--terracotta); }

/* Colour swatches are labels now — the checkbox inside does the work. */
.filters .swatch { position: relative; cursor: pointer; }
.filters .swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.filters .swatch:has(input:checked),
.filters .swatch.active {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent);
}

/* ---------- The "Фильтры" button: phones and small tablets only -------- */

.filters .filters-toggle { display: none; }

/* The sidebar styles every <button> as a small secondary one — the single
   apply button has to look like the primary button it is. */
.filters .filters-actions .btn-primary {
  padding: 13px 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.filters .filters-actions .btn-primary:hover {
  border-color: var(--accent-2);
  background: var(--accent-2);
}

@media (max-width: 900px) {
  .catalog-grid { padding-top: 12px !important; }
  .catalog-head { padding-bottom: 14px !important; }

  .filters {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .filters .filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
  }

  .filters-toggle-label { display: flex; align-items: center; gap: 9px; }
  .filters-toggle svg { width: 17px; height: 17px; flex: 0 0 auto; }

  .filters-toggle-count {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
  }

  .filters-toggle-chevron {
    width: 9px;
    height: 9px;
    border-right: 1.6px solid var(--ink-3);
    border-bottom: 1.6px solid var(--ink-3);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .2s ease;
  }

  .filters .filters-toggle:hover,
  .filters .filters-toggle:focus { background: var(--surface); border-color: var(--line-2); }

  .filters.is-open .filters-toggle-chevron { transform: rotate(225deg) translate(-2px, -2px); }

  .filters-form { display: none; }

  .filters.is-open .filters-form {
    display: block;
    margin-top: 12px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
}

/* ---------- Typography trims asked for on phones ----------------------- */

@media (max-width: 640px) {
  h1,
  .static-content h1,
  .catalog-title,
  .cats-title,
  .thanks-card h1 {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 900px) {
  .promo-strip {
    font-size: 12px;
    padding: 10px 16px;
  }
}

/* ======================================================================
   "С этим товаром покупают": rail for five or more picks (1.18.1)
   ====================================================================== */

.prod-rail { position: relative; }

.prod-rail .prod-rail-track {
  display: grid !important;
  grid-template-columns: none !important;
  grid-template-rows: auto !important;
  grid-auto-flow: column !important;
  grid-auto-columns: calc(25% - 14px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  padding-bottom: 6px;
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
}

.prod-rail .prod-rail-track > li { scroll-snap-align: start; min-width: 0; }

.prod-rail .prod-rail-track::-webkit-scrollbar { height: 6px; }
.prod-rail .prod-rail-track::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }

.prod-rail-nav {
  position: absolute;
  top: 38%;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease;
}

.prod-rail-nav svg { width: 18px; height: 18px; }
.prod-rail-nav:hover { border-color: var(--ink); }
.prod-rail-nav.prev { left: -18px; }
.prod-rail-nav.next { right: -18px; }
.prod-rail-nav[disabled] { opacity: 0; pointer-events: none; }

/* The variation price replaces the parent range in place. */
.product-price-block.has-variation-price .price-now del { font-size: 60%; color: var(--price-old); margin-right: 8px; }
.product-price-block.has-variation-price .price-now ins { text-decoration: none; }

/* WooCommerce prints its own copy inside the form — one price is enough. */
.venge-woo-addtocart .woocommerce-variation-price { display: none; }

@media (max-width: 1100px) { .prod-rail .prod-rail-track { grid-auto-columns: calc(33.333% - 12px); } }
@media (max-width: 900px)  { .prod-rail .prod-rail-track { grid-auto-columns: calc(50% - 9px); } .prod-rail-nav { display: none; } }
@media (max-width: 560px)  { .prod-rail .prod-rail-track { grid-auto-columns: 74%; gap: 12px; } }
