/* ==========================================================================
   Minox — main stylesheet
   1. Tokens & base          9. Single product
   2. Primitives             10. Cart & checkout
   3. Header & navigation    11. Account, notices, forms
   4. Drawers & overlays     12. Mini-cart
   5. Hero                   13. Content pages
   6. Home sections          14. Footer
   7. Product cards          15. Responsive
   8. Catalog
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */

:root {
	--forest-950: #0d1813;
	--forest-900: #12221a;
	--forest-800: #1a3125;
	--forest-700: #21402f;
	--forest-600: #2c563f;
	--green-500: #3e7c53;
	--mint-400: #a6da88;
	--mint-300: #c4eaaa;
	--mint-200: #d9f2c8;
	--mint-100: #eaf7e2;
	--mint-50: #f4fbef;
	--cream: #f5f4ef;
	--sand: #efe9df;
	--paper: #ffffff;
	--ink: #121b16;
	--ink-2: #2b352f;
	--muted: #69726c;
	--line: #e7e6e0;
	--line-2: #d6d5ce;
	--danger: #b42318;
	--star: #e3a21a;

	/* Semantic tokens: the dark theme only redefines these and the palette above. */
	--bg: #ffffff;
	--accent: var(--forest-700);
	--btn: var(--forest-700);
	--btn-hover: var(--forest-800);
	--on: var(--forest-800);
	--on-ink: #ffffff;
	--well: #f4f4f0;
	--header-bg: rgba(255, 255, 255, .92);
	--hover: rgba(18, 27, 22, .06);
	--muted-bg: #ecebe5;
	--danger-bg: #fdf1f0;
	--danger-line: #f6d4d0;
	--link-line: rgba(33, 64, 47, .35);

	--radius-xs: 8px;
	--radius-sm: 10px;
	--radius: 14px;
	--radius-lg: 20px;
	--radius-xl: 28px;

	--shadow-sm: 0 1px 2px rgba(18, 27, 22, .05);
	--shadow: 0 1px 2px rgba(18, 27, 22, .04), 0 10px 30px rgba(18, 27, 22, .07);
	--shadow-lg: 0 24px 60px rgba(13, 24, 19, .18);

	--font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--container: 1280px;
	--gutter: 24px;
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #0d1511;
	--paper: #141e18;
	--cream: #111b15;
	--sand: #1a241e;
	--ink: #e8eee9;
	--ink-2: #c9d3cc;
	--muted: #93a097;
	--line: #223128;
	--line-2: #304238;
	--mint-50: #14251b;
	--mint-100: #1b3224;
	--mint-200: #284331;
	--green-500: #8fd06f;
	--danger: #ff8f84;
	--accent: #a6da88;
	--btn: #3b7a53;
	--btn-hover: #468f61;
	--on: #c4eaaa;
	--on-ink: #12221a;
	--well: #e6e9e4;
	--header-bg: rgba(13, 21, 17, .9);
	--hover: rgba(255, 255, 255, .08);
	--muted-bg: #223128;
	--danger-bg: #2a1715;
	--danger-line: #4b2622;
	--link-line: rgba(166, 218, 136, .4);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
	--shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--paper); padding: 12px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}

/* 2. Primitives ------------------------------------------------------------ */

.btn,
.button,
button.button,
input.button,
#respond input#submit,
.woocommerce #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: var(--btn);
	color: #fff;
	font: 700 15px/1.2 var(--font);
	letter-spacing: -.005em;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover,
.button:hover,
button.button:hover,
input.button:hover,
#respond input#submit:hover,
.woocommerce #place_order:hover { background: var(--btn-hover); color: #fff; }
.btn:active, .button:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow-right { transform: translateX(3px); }

.btn--dark { background: var(--btn); color: #fff; }
.btn--mint { background: var(--mint-300); color: var(--forest-900); }
.btn--mint:hover { background: var(--mint-400); color: var(--forest-900); }
.btn--white { background: #fff; color: #121b16; box-shadow: var(--shadow-sm); }
.btn--white:hover { background: #eaf7e2; color: #121b16; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.btn--outline,
.button.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover,
.button.btn--outline:hover { background: var(--cream); color: var(--ink); border-color: var(--accent); }
.btn--block { display: flex; width: 100%; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.button.loading { opacity: .7; pointer-events: none; }
.button.loading::after {
	content: ''; width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid currentColor; border-right-color: transparent; animation: minox-spin .7s linear infinite;
}
.button.added::after {
	content: ''; width: 16px; height: 16px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.button:disabled, .button.disabled { opacity: .5; cursor: not-allowed; }
a.added_to_cart { display: none; }
@keyframes minox-spin { to { transform: rotate(360deg); } }

.icon-btn {
	display: inline-grid;
	place-items: center;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: var(--hover); }
.icon-btn .icon { width: 22px; height: 22px; }

.eyebrow {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mint-400);
}

.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; pointer-events: none; }
.badge {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	background: var(--forest-800);
	color: #fff;
}
.badge--green { background: var(--green-500); }
.badge--sale { background: var(--mint-300); color: var(--forest-900); }
.badge--soft { background: var(--mint-100); color: var(--accent); }
.badge--muted { background: var(--muted-bg); color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink-2);
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	list-style: none;
	transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip.is-active { background: var(--on); border-color: var(--on); color: var(--on-ink); }
.chip .icon { width: 16px; height: 16px; }
.chip-dropdown { position: relative; }
.chip-dropdown summary::-webkit-details-marker { display: none; }
.chip-dropdown[open] summary .icon { transform: rotate(180deg); }
.chip-dropdown__menu {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 220px; padding: 8px;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.chip-dropdown__menu a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: var(--radius-xs); font-size: 14px; font-weight: 600; }
.chip-dropdown__menu a:hover { background: var(--cream); }
.chip-dropdown__menu span { color: var(--muted); font-weight: 500; }

.glass {
	background: rgba(18, 34, 26, .55);
	border: 1px solid rgba(255, 255, 255, .12);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Messenger buttons */
.messengers { display: flex; flex-wrap: wrap; gap: 8px; }
.messenger {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
	border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; transition: filter .2s var(--ease), transform .2s var(--ease);
}
.messenger:hover { filter: brightness(1.08); color: #fff; transform: translateY(-1px); }
.messenger .icon { width: 18px; height: 18px; }
.messenger--whatsapp { background: #25d366; }
.messenger--telegram { background: #2aabee; }
.messenger--viber { background: #7360f2; }
.messenger--max { background: linear-gradient(135deg, #2f7bff 0%, #7a3cff 100%); }
.messengers--mini { gap: 4px; }
.messengers--mini .messenger { width: 28px; height: 28px; padding: 0; justify-content: center; background: transparent; color: rgba(255, 255, 255, .72); }
.messengers--mini .messenger:hover { color: #fff; transform: none; }
.messengers--mini .messenger .icon { width: 16px; height: 16px; }
.messengers--round .messenger { width: 44px; height: 44px; padding: 0; justify-content: center; background: rgba(255, 255, 255, .08); }
.messengers--round .messenger:hover { background: var(--mint-300); color: var(--forest-900); }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
input[type="number"], input[type="url"], input[type="date"], select, textarea,
.select2-container .select2-selection--single {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--paper);
	color: var(--ink);
	font: 500 15px/1.4 var(--font);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
textarea { min-height: 120px; resize: vertical; }
select {
	padding-right: 40px;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2369726c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest-600); box-shadow: 0 0 0 4px rgba(166, 218, 136, .35); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; flex: none; }
/* Own radio look: the native one draws the focus glow as a square, especially in the dark theme. */
input[type="radio"] {
	-webkit-appearance: none; appearance: none; display: inline-grid; place-content: center;
	border: 2px solid var(--line-2); border-radius: 50%; background: var(--paper); cursor: pointer;
	transition: border-color .15s var(--ease);
}
input[type="radio"]::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .15s var(--ease); }
input[type="radio"]:checked { border-color: var(--accent); }
input[type="radio"]:checked::before { transform: scale(1); }
input[type="radio"]:focus, input[type="checkbox"]:focus { box-shadow: none; outline: none; }
input[type="radio"]:focus-visible, input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; }
.check input { margin-top: 2px; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-message { margin: 12px 0 0; font-size: 14px; font-weight: 600; }
.form-message.is-error { color: var(--danger); }
.form-message.is-success { color: var(--green-500); }

/* Search form */
.search-form { display: flex; align-items: center; gap: 10px; position: relative; }
.search-form > .icon { position: absolute; left: 16px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search-form input[type="search"] { padding-left: 46px; min-height: 52px; border-radius: 14px; }
.search-form .btn { min-height: 52px; }

/* Sections */
.section { padding: 88px 0; }
.section--tint { background: var(--cream); }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; max-width: none; flex-wrap: wrap; }
.section-head--split > div:first-child { max-width: 620px; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 10px; }
.section-text { margin: 0; color: var(--muted); font-size: 16.5px; }

/* Theme switcher */
.theme-toggle .icon { display: none; }
:root:not([data-theme-mode]) .theme-toggle .icon-contrast,
[data-theme-mode="auto"] .theme-toggle .icon-contrast,
[data-theme-mode="light"] .theme-toggle .icon-sun,
[data-theme-mode="dark"] .theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .promo--light { background: linear-gradient(110deg, #1a231d 0%, #212b23 100%); }
[data-theme="dark"] .promo--light .promo__text { color: var(--muted); }
[data-theme="dark"] .site-footer { background: #080e0b; }
[data-theme="dark"] .topbar { background: #080e0b; }
[data-theme="dark"] .delivery-card { background: #12221a; border: 1px solid var(--line); }
[data-theme="dark"] .badge--sale { background: var(--mint-300); color: var(--forest-900); }
[data-theme="dark"] .product-card .button.btn--dark,
[data-theme="dark"] .single_add_to_cart_button { background: var(--btn); }
[data-theme="dark"] .entry-content img { background: #fff; }
/* Small thumbnails carry their own light background: "multiply" would blend them with the dark row behind. */
[data-theme="dark"] .shop_table .product-thumbnail img,
[data-theme="dark"] .woocommerce-mini-cart-item img { mix-blend-mode: normal; background: #fff; }
/* While WooCommerce recalculates (shipping choice, quantity) it covers the block with an inline white overlay:
   use the page colour and a small spinner instead of a white flash. */
.blockUI.blockOverlay { background: var(--bg) !important; opacity: .55 !important; border-radius: inherit; }
.blockUI.blockOverlay::after {
	content: ''; position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px;
	border: 3px solid var(--accent); border-right-color: transparent; border-radius: 50%; animation: minox-spin .7s linear infinite;
}
[data-theme="dark"] .woocommerce-product-details__short-description li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6da88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.checkout-prepay-note { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--mint-100); color: var(--accent); font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.checkout-prepay-note .icon { width: 18px; height: 18px; flex: none; }

/* 3. Header & navigation ----------------------------------------------------- */

.topbar { background: var(--forest-950); color: rgba(255, 255, 255, .78); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__text { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__text .icon { width: 16px; height: 16px; color: var(--mint-400); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__hours { display: inline-flex; align-items: center; gap: 6px; }
.topbar__hours .icon { width: 15px; height: 15px; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--header-bg);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(18, 27, 22, .06); }

.has-dark-hero .site-header:not(.is-scrolled) { background: #0f1c16; color: #fff; border-bottom-color: rgba(255, 255, 255, .08); }
.has-dark-hero .site-header:not(.is-scrolled) .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.has-dark-hero .site-header:not(.is-scrolled) .logo__mark { color: var(--mint-300); }
.has-dark-hero .site-header:not(.is-scrolled) .logo__text { color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled) .nav__list > li > a { color: rgba(255, 255, 255, .86); }
.has-dark-hero .site-header:not(.is-scrolled) .nav__list > li > a:hover { color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled) .header-phone { color: #fff; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--accent); }
.logo__mark svg { width: 30px; height: 30px; }
.logo__text { font-size: 22px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1; }
.logo__accent { color: var(--green-500); }
.has-dark-hero .site-header:not(.is-scrolled) .logo__accent,
.site-footer .logo__accent { color: var(--mint-400); }
.custom-logo-link img { max-height: 48px; width: auto; }

.nav { flex: 1; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__list > li { position: relative; }
.nav__list > li > a {
	display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px;
	border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.nav__list > li > a:hover,
.nav__list > li.current-menu-item > a,
.nav__list > li.current-menu-ancestor > a { color: var(--accent); }
.nav__list > .menu-item-has-children > a::after {
	content: ''; width: 14px; height: 14px; background: currentColor; opacity: .6;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nav .sub-menu {
	position: absolute; top: calc(100% + 6px); left: -8px; z-index: 50; min-width: 260px; margin: 0; padding: 8px; list-style: none;
	background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--ease);
}
.nav .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav .menu-item-has-children:hover > .sub-menu,
.nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { display: block; padding: 10px 14px; border-radius: var(--radius-xs); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.nav .sub-menu a:hover { background: var(--mint-50); color: var(--accent); }
.nav .sub-menu .menu-item--all { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.nav .sub-menu .menu-item--all a { color: var(--green-500); }

.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.header-phone { margin-right: 10px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
	display: grid; place-items: center; border-radius: 999px; background: var(--mint-300); color: var(--forest-900);
	font-size: 11px; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px var(--paper);
}
.has-dark-hero .site-header:not(.is-scrolled) .cart-count { box-shadow: 0 0 0 2px #0f1c16; }
.cart-count.is-empty { display: none; }
.cart-count.is-bump { animation: minox-bump .5s var(--ease); }
@keyframes minox-bump { 40% { transform: scale(1.35); } }
.burger { display: none; }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 22px 0 0; font-size: 13.5px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs__sep { opacity: .5; }
.breadcrumbs [aria-current] { color: var(--ink-2); }

/* 4. Drawers & overlays -------------------------------------------------------- */

.drawer { position: fixed; inset: 0; z-index: 300; }
.drawer__overlay,
.modal__overlay,
.search-overlay__backdrop { position: absolute; inset: 0; background: rgba(13, 24, 19, .5); animation: minox-fade .25s var(--ease); }
.drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); display: flex; flex-direction: column;
	background: var(--paper); box-shadow: var(--shadow-lg); animation: minox-slide .32s var(--ease);
}
.drawer--menu .drawer__panel { right: auto; left: 0; animation-name: minox-slide-left; }
.admin-bar .drawer__panel { top: 32px; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { margin: 0; font-size: 20px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer.is-closing .drawer__panel { animation: minox-slide-out .25s var(--ease) forwards; }
.drawer--menu.is-closing .drawer__panel { animation-name: minox-slide-left-out; }
.drawer.is-closing .drawer__overlay { animation: minox-fade-out .25s var(--ease) forwards; }
@keyframes minox-fade { from { opacity: 0; } }
@keyframes minox-fade-out { to { opacity: 0; } }
@keyframes minox-slide { from { transform: translateX(100%); } }
@keyframes minox-slide-out { to { transform: translateX(100%); } }
@keyframes minox-slide-left { from { transform: translateX(-100%); } }
@keyframes minox-slide-left-out { to { transform: translateX(-100%); } }
@keyframes minox-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.mobile-nav .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
.mobile-nav .nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav .nav__list > li > a { height: 56px; padding: 0 4px; font-size: 17px; color: var(--ink); }
.mobile-nav .menu-item-has-children > a::after { margin-left: auto; }
.mobile-nav .sub-menu { margin: 0 0 12px; padding: 0; list-style: none; }
.mobile-nav .sub-menu a { display: block; padding: 9px 12px; font-size: 15px; font-weight: 600; color: var(--muted); }
.drawer__contacts { display: grid; gap: 14px; margin-top: 24px; }
.drawer__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
.drawer__phone .icon { color: var(--green-500); }

.search-overlay { position: fixed; inset: 0; z-index: 300; }
.search-overlay__panel {
	position: relative; max-width: 860px; margin: 12vh auto 0; padding: 22px; width: calc(100% - 32px);
	background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: minox-pop .3s var(--ease);
}
.search-overlay .search-form input[type="search"] { font-size: 17px; }
.search-overlay__hints { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.search-overlay__hints a { padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--ink-2); font-weight: 600; }
.search-overlay__hints a:hover { background: var(--mint-100); color: var(--accent); }

.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; }
.modal__panel {
	position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 32px;
	background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: minox-pop .3s var(--ease);
}
.modal__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cream); }
.modal__close .icon { width: 20px; height: 20px; }
.modal__title { font-size: 26px; margin-bottom: 8px; }
.modal__text { color: var(--muted); font-size: 15px; }
.quick-order__product { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--mint-50); color: var(--accent); font-weight: 700; font-size: 14.5px; }
.quick-order__product:empty { display: none; }

/* 5. Hero ----------------------------------------------------------------------- */

.hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(900px 520px at 78% 38%, rgba(64, 98, 78, .35), transparent 65%),
		radial-gradient(600px 400px at 10% 100%, rgba(166, 218, 136, .07), transparent 70%),
		linear-gradient(180deg, #0f1c16 0%, #13231b 100%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 580px; }
.hero__content { position: relative; z-index: 2; padding: 64px 0 40px; }
.hero__title { margin: 0 0 22px; font-size: clamp(42px, 5.6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; color: #fff; }
h1.eyebrow { line-height: 1.4; }
.hero__title span { display: block; color: var(--mint-400); }
.hero__text { max-width: 520px; margin: 0 0 32px; font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, .74); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; align-self: stretch; min-height: 520px; }
.hero__img {
	position: absolute; right: -40px; bottom: 0; height: 100%; width: auto; max-width: none; object-fit: cover; object-position: center top;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 88%, transparent 100%), linear-gradient(to top, transparent 0, #000 18%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 88%, transparent 100%), linear-gradient(to top, transparent 0, #000 18%);
	mask-composite: intersect;
}
.hero-stat {
	position: absolute; right: 0; top: 46%; display: flex; align-items: center; gap: 14px;
	padding: 14px 20px 14px 14px; border-radius: 18px; max-width: 290px; animation: minox-pop .6s .2s var(--ease) both;
}
.hero-stat__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: rgba(166, 218, 136, .16); color: var(--mint-400); }
.hero-stat strong { display: block; font-size: 26px; line-height: 1.05; letter-spacing: -.02em; color: var(--mint-300); }
.hero-stat__icon .icon { width: 24px; height: 24px; }
.hero-stat div > span { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .75); line-height: 1.35; }
.hero-product {
	position: absolute; right: 0; bottom: 30px; display: flex; align-items: center; gap: 14px; width: 320px; padding: 12px;
	border-radius: 18px; color: #fff; animation: minox-pop .6s .35s var(--ease) both; transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.hero-product:hover { color: #fff; transform: translateY(-3px); border-color: rgba(166, 218, 136, .5); }
.hero-product__img { flex: none; width: 72px; height: 72px; border-radius: 12px; background: #fff; overflow: hidden; }
.hero-product__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hero-product__info { display: grid; gap: 2px; min-width: 0; }
.hero-product__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-400); }
.hero-product strong { font-size: 15px; line-height: 1.25; }
.hero-product__price { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.hero-product__price del { opacity: .6; font-weight: 500; }
.hero-product__price ins { text-decoration: none; }
.hero-product__go { display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; flex: none; border-radius: 50%; background: var(--mint-300); color: var(--forest-900); }
.hero-product__go .icon { width: 18px; height: 18px; }
.hero-ba { position: absolute; right: 0; bottom: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 240px; padding: 8px; border-radius: 18px; }
.hero-ba figure { margin: 0; text-align: center; }
.hero-ba img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.hero-ba figcaption { margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }

.trust-bar {
	position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 26px 0 34px;
	list-style: none; border-top: 1px solid rgba(255, 255, 255, .1);
}
.trust-bar li { display: flex; align-items: center; gap: 14px; padding: 0 18px; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: rgba(255, 255, 255, .86); }
.trust-bar li + li { border-left: 1px solid rgba(255, 255, 255, .1); }
.trust-bar li:first-child { padding-left: 0; }
.trust-bar__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid rgba(166, 218, 136, .4); color: var(--mint-400); }
.trust-bar__icon .icon { width: 20px; height: 20px; }

/* 6. Home sections -------------------------------------------------------------- */

.home-catalog .products { margin-top: 0; }
.home-catalog__more { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.product-card.is-filtered-out { display: none; }

.guide__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-tile {
	display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--radius-lg); background: var(--paper);
	border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.guide-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.guide-tile__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 16px; background: var(--mint-100); color: var(--accent); }
.guide-tile__icon .icon { width: 24px; height: 24px; }
.guide-tile__title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.guide-tile__text { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.guide-tile__foot { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--green-500); }
.guide-tile__foot .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.guide-tile:hover .guide-tile__foot .icon { transform: translateX(3px); }

.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.why-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: var(--mint-100); color: var(--accent); }
.why-card__icon .icon { width: 24px; height: 24px; }
.why-card h3 { margin: 0 0 8px; font-size: 17px; }
.why-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.results { margin-top: 72px; }
.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.result { margin: 0; }
.result__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: var(--radius-lg); overflow: hidden; }
.result__pair div { position: relative; }
.result__pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.result__pair span {
	position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(13, 24, 19, .6);
	color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.result figcaption { margin-top: 10px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }

.banners { padding-top: 0; }
.banners__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; display: flex; min-height: 300px; overflow: hidden; border-radius: var(--radius-xl); isolation: isolate; }
.promo__body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: 58%; padding: 40px; }
.promo__title { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 12px; }
.promo__text { margin: 0 0 24px; font-size: 15.5px; line-height: 1.55; }
.promo__img { position: absolute; right: 0; bottom: 0; height: 100%; width: 46%; object-fit: cover; object-position: center top; z-index: 1; }
.promo--light { background: linear-gradient(110deg, #f4efe7 0%, #ede4d6 100%); }
.promo--light .promo__text { color: #5d5649; }
.promo--light .promo__img { -webkit-mask-image: linear-gradient(to right, transparent, #000 30%); mask-image: linear-gradient(to right, transparent, #000 30%); }
.promo--dark { background: radial-gradient(500px 300px at 85% 30%, #2b4a39, transparent 70%), var(--forest-900); color: #fff; }
.promo--dark .promo__title { color: #fff; }
.promo--dark .promo__text { color: rgba(255, 255, 255, .72); }
.promo--dark .promo__img { -webkit-mask-image: linear-gradient(to right, transparent, #000 30%); mask-image: linear-gradient(to right, transparent, #000 30%); }

.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.accordion { display: grid; gap: 10px; margin-bottom: 24px; }
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: box-shadow .2s var(--ease); }
.accordion__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.accordion__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px;
	font-size: 16.5px; font-weight: 700; cursor: pointer; list-style: none;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--mint-100); color: var(--accent); transition: transform .25s var(--ease); }
.accordion__item[open] summary .icon { transform: rotate(45deg); }
.accordion__body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.accordion__body p { margin: 0; }

.delivery-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--radius-xl); background: var(--forest-900); color: #fff; }
.delivery-card__title { color: #fff; font-size: 24px; margin-bottom: 22px; }
.delivery-card ul { display: grid; gap: 18px; margin: 0 0 26px; padding: 0; list-style: none; }
.delivery-card li { display: flex; gap: 14px; }
.delivery-card li .icon { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 12px; background: rgba(166, 218, 136, .14); color: var(--mint-400); }
.delivery-card strong { display: block; font-size: 15.5px; }
.delivery-card span { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .65); }
.delivery-card__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-weight: 800; font-size: 17px; color: #fff; }
.delivery-card__phone .icon { width: 18px; height: 18px; color: var(--mint-400); }

/* 7. Product cards --------------------------------------------------------------- */

ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products::before, ul.products::after { display: none; }
.product-card {
	position: relative; display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--line);
	border-radius: var(--radius-lg); background: var(--paper); transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.product-card__media { position: relative; border-radius: var(--radius); background: var(--well); overflow: hidden; }
.product-card__img { display: block; aspect-ratio: 1; }
.product-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card.outofstock .product-card__img img { opacity: .55; filter: grayscale(.4); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 6px 4px; }
.product-card__title { margin: 0 0 6px; font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.product-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.product-card__sub {
	margin: 0 0 14px; font-size: 13.5px; line-height: 1.45; color: var(--muted);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__foot { margin-top: auto; margin-bottom: 14px; }
.product-card .price { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.product-card .price del { margin-right: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.product-card .price ins { text-decoration: none; }
.tier-hint { margin: 2px 0 0; font-size: 12.5px; font-weight: 600; color: var(--green-500); }
.tier-hint .amount { font-weight: 800; }
.product-card .button { position: relative; z-index: 2; min-height: 44px; font-size: 14.5px; border-radius: 11px; }

/* 8. Catalog --------------------------------------------------------------------- */

.shop-main { padding-bottom: 88px; }
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; margin: 22px 0 28px; }
.shop-head__text { max-width: 640px; }
.shop-head__title { margin: 0 0 8px; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.035em; }
.shop-head__desc { color: var(--muted); font-size: 16px; }
.shop-head__desc p:last-child { margin: 0; }
.shop-head .chips { justify-content: flex-end; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.shop-toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce-result-count { margin: 0; font-size: 14px; color: var(--muted); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 42px; width: auto; min-width: 220px; font-size: 14px; font-weight: 600; border-radius: 999px; padding-left: 18px; }

.woocommerce-pagination { margin-top: 44px; }
.woocommerce-pagination ul.page-numbers, .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; border: 0; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.page-numbers .icon { width: 18px; height: 18px; }
a.page-numbers:hover { border-color: var(--accent); }
.page-numbers.current { background: var(--on); border-color: var(--on); color: var(--on-ink); }
.page-numbers.dots { border: 0; }
.woocommerce-info.woocommerce-no-products-found,
.woocommerce-no-products-found .woocommerce-info { margin-top: 12px; }
.filter-widget { margin-bottom: 18px; }

/* 9. Single product ---------------------------------------------------------------- */

.single-product .shop-main { padding-bottom: 40px; }
.single-product div.product { margin-top: 22px; }
.product-top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 24px 56px; align-items: start; }

.product-gallery { position: relative; position: sticky; top: calc(var(--header-h) + 20px); }
.product-gallery .badges { top: 18px; left: 18px; }
.woocommerce-product-gallery { position: relative; margin: 0; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child { border-radius: var(--radius-xl); background: var(--well); overflow: hidden; }
.woocommerce-product-gallery__image a { display: block; }
.woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.woocommerce-product-gallery__trigger {
	position: absolute; top: 16px; right: 16px; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px;
	border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); font-size: 0;
}
.woocommerce-product-gallery__trigger::before {
	content: ''; width: 20px; height: 20px; background: #121b16;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-product-gallery__trigger span, .woocommerce-product-gallery__trigger img { display: none !important; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.woocommerce-product-gallery .flex-control-thumbs li img {
	width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6px; border-radius: var(--radius-sm); background: var(--well);
	border: 2px solid transparent; mix-blend-mode: normal; cursor: pointer; opacity: .75; transition: all .2s var(--ease);
}
.woocommerce-product-gallery .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active { border-color: var(--accent); opacity: 1; }

.summary { min-width: 0; }
.summary .product_title { margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.product-subtitle { margin: 0 0 14px; font-size: 16px; color: var(--muted); }
.woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.woocommerce-review-link { color: var(--muted); }
.summary-price { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 6px 0 18px; }
.summary-price .price { margin: 0; font-size: 36px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.summary-price .price del { margin-right: 8px; font-size: 20px; font-weight: 600; color: var(--muted); }
.summary-price .price ins { text-decoration: none; }

.tiers { margin: 0 0 20px; }
.tiers__title { margin: 0 0 10px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.tiers__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tier {
	position: relative; display: grid; gap: 2px; padding: 11px 12px; text-align: left; border: 1.5px solid var(--line);
	border-radius: 12px; background: var(--paper); transition: all .2s var(--ease);
}
.tier:hover { border-color: var(--line-2); }
.tier.is-active { border-color: var(--accent); background: var(--mint-50); }
.tier__qty { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tier__price { font-size: 15.5px; font-weight: 800; }
.tier__price small { font-size: 11.5px; font-weight: 600; color: var(--muted); }

.woocommerce-product-details__short-description { margin-bottom: 22px; }
.woocommerce-product-details__short-description ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.woocommerce-product-details__short-description li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink-2); }
.woocommerce-product-details__short-description li::before {
	content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321402f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0 0 10px; }
form.cart .single_add_to_cart_button { flex: 1; min-height: 54px; font-size: 16px; border-radius: 14px; }
.quantity { display: inline-flex; align-items: center; }
.quantity--stepper { height: 54px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); }
.quantity--stepper input.qty {
	width: 46px; min-height: 0; height: 100%; padding: 0; border: 0; background: transparent; text-align: center;
	font-weight: 800; font-size: 16px; box-shadow: none; -moz-appearance: textfield;
}
.quantity--stepper input.qty::-webkit-outer-spin-button,
.quantity--stepper input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { display: grid; place-items: center; width: 44px; height: 100%; padding: 0; border: 0; background: transparent; color: var(--ink-2); border-radius: 12px; }
.qty-btn:hover { color: var(--accent); background: var(--cream); }
.qty-btn .icon { width: 18px; height: 18px; }
.quick-order-btn { min-height: 50px; margin-bottom: 20px; border-radius: 14px; }
.quick-order-btn .icon { width: 18px; height: 18px; color: var(--green-500); }

.product-facts { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14.5px; }
.product-facts li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.product-facts .icon { width: 18px; height: 18px; color: var(--green-500); }
.product-facts .is-ok { font-weight: 700; color: var(--accent); }
.product-facts .is-off { font-weight: 700; color: var(--muted); }
.product-facts .is-off .icon { color: var(--muted); }
.product-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 18px; border-radius: var(--radius); background: var(--mint-50); border: 1px solid var(--mint-200); }
.product-note .icon { width: 22px; height: 22px; color: var(--green-500); margin-top: 1px; }
.product-note p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--accent); }
.product-messengers { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.product-messengers > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.product-messengers .messenger { height: 36px; font-size: 13.5px; }
.product-notify { margin: 0 0 18px; padding: 16px; border-radius: var(--radius); background: var(--cream); }
.product-notify p { margin: 0 0 10px; font-weight: 600; font-size: 14.5px; }
.stock.out-of-stock { display: none; }

.woocommerce-tabs { margin-top: 48px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 14px 18px; font-size: 15.5px; font-weight: 700; color: var(--muted); white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; }
.woocommerce-tabs ul.tabs li a:hover { color: var(--ink); }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.woocommerce-tabs .panel { max-width: 880px; padding: 30px 0 0; margin: 0; }
.woocommerce-Tabs-panel--description { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.woocommerce-Tabs-panel--description strong { color: var(--ink); }
.woocommerce-Tabs-panel--description ul { padding-left: 1.3em; }
.woocommerce-Tabs-panel--description li { margin-bottom: .4em; }
.woocommerce-Tabs-panel--description li::marker { color: var(--green-500); }
.woocommerce-Tabs-panel--description a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 3px; word-break: break-word; }
.woocommerce-Tabs-panel--description img { max-width: 100%; border-radius: var(--radius); margin: 12px 0; }
.woocommerce-Tabs-panel--description iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-lg); }
.woocommerce-Tabs-panel--description a[href$=".pdf"] { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--mint-50); text-decoration: none; font-weight: 700; }
.woocommerce-Tabs-panel--description a[href$=".pdf"]::before {
	content: ''; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M12 18v-6M9 15l3 3 3-3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M12 18v-6M9 15l3 3 3-3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.delivery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.delivery-grid__item { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--cream); }
.delivery-grid__item > .icon { width: 42px; height: 42px; padding: 10px; flex: none; border-radius: 12px; background: var(--paper); color: var(--accent); }
.delivery-grid__item h3 { margin: 0 0 4px; font-size: 16px; }
.delivery-grid__item p { margin: 0; font-size: 14px; color: var(--muted); }
.delivery-links { margin-top: 16px; font-weight: 700; }
.delivery-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.related, .upsells, .cross-sells { margin-top: 72px; }
.related > h2, .upsells > h2, .cross-sells > h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 24px; }

/* Stars & reviews */
.star-rating { position: relative; display: inline-block; width: 5.6em; height: 1.1em; overflow: hidden; font-size: 15px; line-height: 1.1; letter-spacing: .12em; }
.star-rating::before { content: '★★★★★'; position: absolute; top: 0; left: 0; color: var(--line-2); }
.star-rating span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: '★★★★★'; position: absolute; top: 0; left: 0; color: var(--star); }
#reviews .commentlist { margin: 0 0 32px; padding: 0; list-style: none; display: grid; gap: 16px; }
#reviews .commentlist li .comment_container { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--cream); }
#reviews .commentlist img.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; }
#reviews .comment-text { flex: 1; }
#reviews .comment-text .star-rating { float: right; }
#reviews .meta { font-size: 13.5px; color: var(--muted); }
#reviews .woocommerce-review__author { color: var(--ink); font-weight: 700; }
#review_form_wrapper { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
#reply-title { display: block; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; margin-bottom: 6px; }
p.stars { margin: 4px 0 14px; }
p.stars span { display: inline-flex; gap: 4px; }
p.stars a { position: relative; width: 28px; height: 28px; font-size: 0; }
p.stars a::before { content: '★'; position: absolute; inset: 0; font-size: 28px; line-height: 1; color: var(--line-2); }
p.stars:hover a::before, p.stars.selected a.active::before, p.stars.selected a:not(.active)::before { color: var(--star); }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { color: var(--line-2); }
.woocommerce-noreviews { color: var(--muted); }

/* 10. Cart & checkout --------------------------------------------------------------- */

.page-wc { padding-bottom: 88px; }
.woocommerce-cart .wc-content > .woocommerce,
.woocommerce-cart .entry-content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce > .wc-empty-cart-message,
.woocommerce-cart .woocommerce > .return-to-shop,
.woocommerce-cart .woocommerce > .cart-empty { grid-column: 1 / -1; }
.cart-collaterals .cross-sells { display: none; }

table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 24px; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
table.shop_table th { padding: 14px 16px; text-align: left; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
table.shop_table td { padding: 16px; border-top: 1px solid var(--line); vertical-align: middle; }
table.shop_table tfoot th, table.shop_table tfoot td { background: transparent; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); border-top: 1px solid var(--line); }
.shop_table .product-thumbnail { width: 96px; }
.shop_table .product-thumbnail img { width: 72px; height: 72px; object-fit: contain; padding: 4px; border-radius: var(--radius-sm); background: var(--well); mix-blend-mode: multiply; }
.shop_table .product-name a { font-weight: 700; }
.shop_table .product-price del, .shop_table .product-subtotal del { color: var(--muted); font-size: 13px; }
.shop_table ins { text-decoration: none; }
.shop_table .product-subtotal { font-weight: 800; }
.shop_table .product-remove { width: 48px; }
a.remove {
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cream);
	color: var(--muted); font-size: 20px; line-height: 1; font-weight: 400;
}
a.remove:hover { background: var(--danger-bg); color: var(--danger); }
.shop_table td.actions { background: var(--paper); }
.shop_table .coupon { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.shop_table .coupon input { width: 200px; min-height: 46px; }
.shop_table .coupon label { display: none; }
.shop_table td.actions > .button { float: right; background: transparent; color: var(--ink); border-color: var(--line-2); }
.shop_table td.actions > .button:hover { border-color: var(--accent); background: var(--cream); }
.shop_table .quantity--stepper { height: 46px; }
.shop_table .quantity--stepper .qty-btn { width: 38px; }

.cart_totals { padding: 28px; border-radius: var(--radius-xl); background: var(--cream); }
.cart_totals h2 { font-size: 22px; margin-bottom: 16px; }
.cart_totals table.shop_table { border: 0; border-radius: 0; background: transparent; margin-bottom: 16px; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { background: transparent; padding: 12px 0; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); border-top: 1px solid var(--line-2); }
.cart_totals table.shop_table tr:first-child th, .cart_totals table.shop_table tr:first-child td { border-top: 0; }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 19px; font-weight: 800; }
.cart_totals td { text-align: right; }
.wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; min-height: 56px; font-size: 16px; }
.cart-hint { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--mint-100); color: var(--accent); font-size: 13.5px; font-weight: 700; }
.cart-hint .icon { width: 18px; height: 18px; }
/* Totals tables as flex rows, so the shipping options can take the full width. */
.cart_totals table.shop_table, .cart_totals table.shop_table tbody,
.woocommerce-checkout-review-order-table, .woocommerce-checkout-review-order-table tbody, .woocommerce-checkout-review-order-table tfoot { display: block; width: 100%; }
.cart_totals table.shop_table tr, .woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line-2); }
.cart_totals table.shop_table tr:first-child { border-top: 0; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td,
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { display: block; border-top: 0 !important; }
.woocommerce-checkout-review-order-table td:last-child { white-space: nowrap; }
.woocommerce-checkout-review-order-table td.product-name { white-space: normal; }
tr.woocommerce-shipping-totals { flex-wrap: wrap; }
tr.woocommerce-shipping-totals > th, tr.woocommerce-shipping-totals > td { flex-basis: 100%; text-align: left !important; }
tr.woocommerce-shipping-totals > th { padding-bottom: 0 !important; }
tr.woocommerce-shipping-totals > td { padding-top: 4px !important; white-space: normal !important; }
#shipping_method { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
#shipping_method li { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font-size: 14px; font-weight: 600; line-height: 1.4; text-align: left; }
#shipping_method li:has(input:checked) { border-color: var(--accent); background: var(--mint-50); }
#shipping_method li input { margin-top: 1px; }
#shipping_method li label { cursor: pointer; }
#shipping_method li:only-child input[type="hidden"] + label { padding-left: 0; }
.woocommerce-shipping-destination, .shipping-calculator-button { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.woocommerce-shipping-destination { text-align: left; }
.shipping-calculator-form { margin-top: 10px; display: grid; gap: 8px; }
.cart-empty.woocommerce-info { font-size: 18px; }
.return-to-shop { margin-top: 16px; }

form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 0 40px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
#customer_details { grid-column: 1; grid-row: 1 / span 3; }
#order_review_heading { grid-column: 2; margin: 0; padding: 28px 28px 0; font-size: 22px; background: var(--cream); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
#order_review { grid-column: 2; padding: 16px 28px 28px; background: var(--cream); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.col2-set .col-1, .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 22px; margin: 0 0 18px; }
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; }
.form-row-wide, .notes, #billing_country_field, #shipping_country_field { grid-column: 1 / -1; }
.form-row label .required { color: var(--danger); text-decoration: none; border: 0; }
.form-row .optional { color: var(--muted); font-weight: 500; }
.form-row.woocommerce-invalid input.input-text, .form-row.woocommerce-invalid select { border-color: var(--danger); }
.woocommerce-input-wrapper { display: block; }
#ship-to-different-address { font-size: 16px; }
#ship-to-different-address label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.woocommerce-checkout-review-order-table { border: 0 !important; border-radius: 0 !important; background: transparent; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { background: transparent !important; padding: 12px 0 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--ink) !important; font-size: 14.5px !important; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 19px !important; font-weight: 800; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--muted); font-weight: 600; }
#payment { margin-top: 12px; }
#payment ul.payment_methods { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
#payment ul.payment_methods > li { padding: 14px 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
#payment ul.payment_methods > li > label { display: inline; margin-left: 8px; font-size: 15px; font-weight: 700; cursor: pointer; }
#payment ul.payment_methods > li img { display: inline-block; max-height: 22px; vertical-align: middle; margin-left: 6px; }
#payment .payment_box { margin-top: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--cream); font-size: 13.5px; color: var(--muted); }
#payment .payment_box p:last-child { margin: 0; }
#payment .place-order { display: grid; gap: 14px; }
.woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.woocommerce-privacy-policy-text a { color: var(--accent); text-decoration: underline; }
.woocommerce #place_order { width: 100%; min-height: 56px; font-size: 16px; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 16px; }
form.checkout_coupon, form.woocommerce-form-login { margin: 0 0 24px; padding: 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
form.checkout_coupon p { margin: 0; }
form.checkout_coupon .form-row-first { flex: 1; }

.select2-container { width: 100% !important; }
.select2-container .select2-selection--single { display: flex; align-items: center; padding: 0 14px; }
.select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--ink); }
.select2-container .select2-selection--single .select2-selection__arrow { top: 50%; right: 10px; transform: translateY(-50%); }
.select2-dropdown { border-color: var(--line-2) !important; border-radius: var(--radius-sm) !important; overflow: hidden; box-shadow: var(--shadow); }
.select2-results__option--highlighted { background: var(--mint-100) !important; color: var(--ink) !important; }

/* Thank you page */
.woocommerce-order { max-width: 860px; }
.woocommerce-thankyou-order-received { padding: 18px 20px; border-radius: var(--radius); background: var(--mint-100); color: var(--accent); font-size: 18px; font-weight: 800; }
ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
ul.woocommerce-order-overview li { padding: 14px 16px; border-radius: var(--radius); background: var(--cream); font-size: 13px; color: var(--muted); }
ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 16px; color: var(--ink); }

/* 11. Account, notices, forms ------------------------------------------------------- */

.woocommerce-account .wc-content > .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.woocommerce-account:not(.logged-in) .wc-content > .woocommerce { display: block; }
.woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; margin: 0; padding: 10px; list-style: none; border-radius: var(--radius-lg); background: var(--cream); }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; color: var(--ink-2); }
.woocommerce-MyAccount-navigation a:hover { background: var(--paper); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--on); color: var(--on-ink); }
.woocommerce-MyAccount-content > p:first-child { font-size: 16px; }
.woocommerce-MyAccount-content a:not(.button) { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.woocommerce-Address { padding: 22px; border-radius: var(--radius); background: var(--cream); }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.woocommerce-Address-title h2 { font-size: 18px; }
.woocommerce-EditAccountForm fieldset { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-EditAccountForm legend { padding: 0 8px; font-weight: 800; }
.u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.u-columns .u-column1, .u-columns .u-column2 { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-xl); }
.u-columns h2 { font-size: 24px; }
.woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; margin-right: 16px; }
.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lost_password a { font-size: 14px; color: var(--accent); }
.woocommerce-password-strength { font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--cream); }
.woocommerce-password-hint { font-size: 12.5px; color: var(--muted); }
.show-password-input { display: none; }
.password-input { display: block; position: relative; }

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .notice {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; padding: 14px 18px;
	border-radius: var(--radius); background: var(--mint-50); border: 1px solid var(--mint-200); color: var(--accent);
	font-size: 15px; font-weight: 600; list-style: none;
}
.woocommerce-info, .notice--info { background: var(--cream); border-color: var(--line); color: var(--ink-2); }
.woocommerce-error, .notice--error { flex-direction: column; align-items: flex-start; background: var(--danger-bg); border-color: var(--danger-line); color: var(--danger); }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { text-decoration: underline; }
.woocommerce-message[role="alert"]::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.notice--success { background: var(--mint-50); }
.demo_store { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; margin: 0; padding: 12px 16px; background: var(--forest-800); color: #fff; text-align: center; font-size: 14px; }
.demo_store a { color: var(--mint-300); margin-left: 8px; }

/* Blocks fallback (if the cart or checkout still uses blocks) */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font); }
.wc-block-components-button:not(.is-link) { border-radius: 12px !important; background: var(--btn) !important; color: #fff !important; min-height: 52px; font-weight: 700 !important; }
.wc-block-components-text-input input, .wc-block-components-select select, .wc-block-components-combobox input { border-radius: var(--radius-sm) !important; }

/* 12. Mini-cart --------------------------------------------------------------------- */

.woocommerce-mini-cart { margin: 0 0 18px; padding: 0; list-style: none; }
.woocommerce-mini-cart-item { position: relative; display: block; min-height: 96px; padding: 14px 36px 14px 84px; border-bottom: 1px solid var(--line); }
.woocommerce-mini-cart-item a:not(.remove) { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; }
.woocommerce-mini-cart-item img {
	position: absolute; left: 0; top: 14px; width: 68px; height: 68px; object-fit: contain; padding: 4px;
	border-radius: var(--radius-sm); background: var(--well); mix-blend-mode: multiply;
}
.woocommerce-mini-cart-item .quantity { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.woocommerce-mini-cart-item .quantity del { font-size: 12.5px; }
.woocommerce-mini-cart-item .quantity ins { text-decoration: none; color: var(--ink); }
.woocommerce-mini-cart-item a.remove { position: absolute; top: 14px; right: 0; width: 28px; height: 28px; font-size: 18px; }
.woocommerce-mini-cart-item dl.variation { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; font-size: 16px; }
.woocommerce-mini-cart__total strong { font-weight: 600; color: var(--muted); }
.woocommerce-mini-cart__total .amount { font-size: 22px; font-weight: 800; }
.mini-cart-hint { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--mint-100); color: var(--accent); font-size: 13px; font-weight: 700; }
.mini-cart-hint .icon { width: 17px; height: 17px; }
.woocommerce-mini-cart__buttons { display: flex; flex-direction: column-reverse; gap: 10px; margin: 0; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__buttons .button.checkout { min-height: 52px; font-size: 16px; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent; color: var(--ink); border-color: var(--line-2); }
.woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--cream); }
.woocommerce-mini-cart__empty-message { padding: 48px 0; text-align: center; color: var(--muted); font-size: 16px; font-weight: 600; }

/* SEO text blocks (home bottom, under category grids) */
.seo-block { padding: 72px 0; }
.seo-text { max-width: 900px; font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.seo-text h2 { font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); margin: 0 0 14px; }
.seo-text h3 { font-size: 18px; color: var(--ink); margin: 22px 0 8px; }
.seo-text strong { color: var(--ink-2); }
.shop-main .seo-text { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }

/* 13. Content pages ------------------------------------------------------------------- */

.page-head { margin: 18px 0 32px; }
.page-title { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.035em; margin: 0; }
.page-lead { margin: 12px 0 0; font-size: 18px; color: var(--muted); max-width: 640px; }
.page-meta { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.page-article { max-width: 860px; padding-bottom: 88px; }
.page-cover { margin-bottom: 32px; border-radius: var(--radius-xl); overflow: hidden; }

.entry-content { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 3px; word-break: break-word; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content strong { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content ul li::marker { color: var(--green-500); }
.entry-content img { border-radius: var(--radius); margin: 8px 0; }
.entry-content hr { margin: 2.2em 0; }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-lg); }
.entry-content blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 3px solid var(--mint-400); background: var(--mint-50); border-radius: 0 var(--radius) var(--radius) 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); }

.child-pages { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.child-pages h2 { font-size: 22px; }
.child-pages__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.child-page { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: var(--radius); background: var(--cream); font-weight: 700; }
.child-page .icon { width: 18px; height: 18px; color: var(--green-500); transition: transform .2s var(--ease); }
.child-page:hover { background: var(--mint-100); }
.child-page:hover .icon { transform: translateX(3px); }

.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 40px; }
.contacts__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { display: grid; gap: 4px; align-content: start; padding: 22px; border-radius: var(--radius-lg); background: var(--cream); }
a.contact-card:hover { background: var(--mint-100); }
.contact-card--wide { grid-column: 1 / -1; gap: 12px; }
.contact-card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 12px; background: var(--paper); color: var(--accent); }
.contact-card__icon .icon { width: 20px; height: 20px; }
.contact-card__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.contact-card strong { font-size: 17px; word-break: break-word; }
.contacts__form { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-xl); }
.contacts__form h2 { font-size: 24px; }
.contacts__extra { max-width: 860px; padding-bottom: 88px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 40px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.post-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 20px; }
.post-card__title { font-size: 19px; }
.post-card p { color: var(--muted); font-size: 15px; }

.not-found { max-width: 620px; margin: 0 auto; padding: 80px 0 120px; text-align: center; }
.not-found__code { margin: 0; font-size: clamp(96px, 16vw, 168px); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: var(--mint-300); }
.not-found p { color: var(--muted); font-size: 17px; }
.not-found .search-form { margin: 28px 0 18px; }
.empty-state { padding: 40px 0 88px; max-width: 620px; }
.comments { margin-top: 48px; }

/* 14. Footer ------------------------------------------------------------------------- */

.site-footer { padding: 72px 0 32px; background: var(--forest-950); color: rgba(255, 255, 255, .7); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .logo__text { color: #fff; }
.site-footer .logo__mark { color: var(--mint-300); }
.footer__about { margin: 18px 0 22px; max-width: 320px; line-height: 1.6; }
.footer__title { margin: 6px 0 18px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer__links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__links a:hover, .footer__contacts a:hover { color: var(--mint-300); }
.footer__contacts ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer__contacts li { display: flex; align-items: center; gap: 10px; }
.footer__contacts .icon { width: 18px; height: 18px; color: var(--mint-400); }
.footer__contacts a { color: #fff; font-weight: 700; }
.footer__pay { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer__pay ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer__pay li { padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-weight: 700; font-size: 13px; }
.footer__bottom { display: grid; gap: 8px; margin-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer__bottom p { margin: 0; }
.footer__disclaimer { max-width: 900px; }

/* 15. Responsive ----------------------------------------------------------------------- */

@media (max-width: 1240px) {
	.header-phone { display: none; }
	.site-header__inner { gap: 20px; }
	.nav__list > li > a { padding: 0 10px; font-size: 14.5px; }
}

@media (max-width: 1080px) {
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.why__grid { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.faq__grid { grid-template-columns: 1fr; }
	.delivery-card { position: static; }
	.trust-bar { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
	.trust-bar li:nth-child(3) { border-left: 0; padding-left: 0; }
	.hero-stat { top: 34%; }
	form.checkout { grid-template-columns: minmax(0, 1fr); }
	#customer_details, #order_review_heading, #order_review { grid-column: 1; grid-row: auto; }
	#order_review_heading { margin-top: 24px; }
	.woocommerce-cart .wc-content > .woocommerce, .woocommerce-cart .entry-content > .woocommerce { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.nav, .icon-btn--account { display: none; }
	.burger { display: inline-grid; }
	.header-actions { margin-left: auto; }
	.hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
	.hero__content { padding: 48px 0 8px; }
	.hero__media { min-height: 440px; margin: 0 calc(var(--gutter) * -1); }
	.hero__img { right: 50%; transform: translateX(50%); }
	.hero-stat { left: var(--gutter); right: auto; top: 22px; }
	.hero-product, .hero-ba { right: var(--gutter); bottom: 22px; }
	.product-top { grid-template-columns: minmax(0, 1fr); }
	.product-gallery { position: relative; top: 0; }
	.guide__grid { grid-template-columns: repeat(2, 1fr); }
	.banners__grid { grid-template-columns: 1fr; }
	.contacts { grid-template-columns: 1fr; }
	.woocommerce-account .wc-content > .woocommerce { grid-template-columns: 1fr; gap: 24px; }
	.woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.results__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .drawer__panel { top: 46px; }
	.topbar__hours { display: none; }
	table.shop_table_responsive, table.shop_table_responsive tbody { display: block; width: 100%; }
	table.shop_table_responsive tbody th { display: none !important; }
	.cart_totals table.shop_table_responsive tr { border-top: 1px solid var(--line-2); }
	.cart_totals table.shop_table_responsive td { padding: 12px 0 !important; border-top: 0 !important; }
	.cart_totals tr.woocommerce-shipping-totals td { display: block; text-align: left; }
	.cart_totals tr.woocommerce-shipping-totals td::before { display: block; margin-bottom: 10px; }
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive td.product-name { flex-wrap: wrap; text-align: right; }
	.shop_table .coupon .button { padding: 0 14px; }
	table.shop_table_responsive tr { display: block; padding: 8px 0; border-top: 1px solid var(--line); }
	table.shop_table_responsive tr:first-child { border-top: 0; }
	table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 16px; border: 0; text-align: right; }
	table.shop_table_responsive td::before { content: attr(data-title); font-size: 13px; font-weight: 700; color: var(--muted); text-align: left; }
	table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.actions::before { display: none; }
	table.shop_table_responsive td.product-thumbnail { justify-content: flex-start; }
	table.shop_table_responsive td.actions { display: grid; gap: 10px; }
	.shop_table .coupon { display: grid; grid-template-columns: 1fr auto; }
	.shop_table .coupon input { width: 100%; }
	.shop_table td.actions > .button { float: none; width: 100%; }
	.u-columns.col2-set, .woocommerce-Addresses { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 400px) {
	.header-actions .icon-btn { width: 40px; }
}

@media (max-width: 720px) {
	:root { --gutter: 16px; }
	.section { padding: 60px 0; }
	.topbar__text { font-size: 12px; }
	.topbar__right { display: none; }
	.logo__text { font-size: 19px; }
	.logo__mark { width: 28px; height: 28px; }
	.logo__mark svg { width: 26px; height: 26px; }
	.hero__title { font-size: clamp(38px, 11vw, 52px); }
	.hero__text { font-size: 16px; }
	.hero__actions .btn { flex: 1; }
	.hero__media { min-height: 380px; }
	.hero-stat { max-width: 230px; padding: 10px 14px 10px 10px; }
	.hero-stat__icon { width: 40px; height: 40px; }
	.hero-stat strong { font-size: 21px; }
	.hero-product { width: calc(100% - var(--gutter) * 2); }
	.trust-bar { grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 22px 0 28px; }
	.trust-bar li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0; font-size: 13.5px; }
	.trust-bar li + li { border-left: 0; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.product-card { padding: 8px; border-radius: var(--radius); }
	.product-card__body { padding: 10px 4px 2px; }
	.product-card__title { font-size: 14.5px; }
	.product-card__sub { font-size: 12.5px; margin-bottom: 10px; }
	.product-card .price { font-size: 17px; }
	.product-card .button { min-height: 40px; font-size: 13.5px; padding: 0 10px; }
	.badges { top: 8px; left: 8px; }
	.badge { height: 22px; padding: 0 8px; font-size: 10.5px; }
	.tier-hint { font-size: 11.5px; }
	.section-head--split .chips, .shop-head .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; justify-content: flex-start; width: calc(100% + var(--gutter) * 2); }
	.section-head--split .chips::-webkit-scrollbar, .shop-head .chips::-webkit-scrollbar { display: none; }
	.chip-dropdown__menu { position: fixed; left: 16px; right: 16px; top: auto; }
	.guide__grid, .why__grid { grid-template-columns: 1fr; }
	.guide-tile, .why-card { padding: 22px; }
	.promo { min-height: 0; flex-direction: column; }
	.promo__body { max-width: none; padding: 28px 24px 0; }
	.promo__img { position: relative; width: 100%; height: 220px; margin-top: 8px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%) !important; mask-image: linear-gradient(to bottom, transparent, #000 35%) !important; }
	.footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.shop-toolbar { flex-direction: row; }
	.woocommerce-ordering select { min-width: 0; }
	.tiers__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.tier { padding: 10px 8px; }
	.tier__price { font-size: 14px; }
	.delivery-grid { grid-template-columns: 1fr; }
	.child-pages__grid, .contacts__cards, .post-grid, .results__grid { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; }
	.cart_totals, #order_review, .contacts__form, .u-columns .u-column1, .u-columns .u-column2 { padding: 20px; }
	#order_review_heading { padding: 20px 20px 0; }
	.entry-content { font-size: 16px; }
	.search-overlay__panel { margin-top: 16px; padding: 14px; }
	.search-overlay .search-form .btn { display: none; }
	.modal__panel { padding: 24px 20px; }
	.woocommerce-product-gallery .flex-control-thumbs { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
