/* ==========================================================================
   Khalijy Store
   1. Tokens  2. Base  3. Buttons  4. Preloader  5. Header  6. Hero
   7. Marquee  8. Categories  9. Sections  10. Product cards  11. Shop
   12. Single product  13. Cart / checkout  14. Footer  15. Motion helpers
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--bg: #0b1f1a;
	--bg-2: #10302a;
	--bg-3: #1a3d35;
	--mint: #4fe0b0;
	--mint-2: #8ff0cf;
	--gold: #d8b25a;
	--gold-2: #f4dc94;
	--cream: #f3efe4;
	--surface: #efefef;
	--ink: #0f1f1b;
	--muted: rgba(243, 239, 228, 0.64);
	--muted-dark: rgba(15, 31, 27, 0.6);
	--line: rgba(243, 239, 228, 0.14);
	--line-dark: rgba(15, 31, 27, 0.13);

	--font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
	--font-body: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;

	--gutter: clamp(18px, 3.2vw, 56px);
	--container: 1560px;
	--radius: 18px;
	--announce-h: 34px;
	--bar-h: 84px;
	--header-h: calc(var(--announce-h) + var(--bar-h));
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--cream);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.25; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 2000; inset-block-start: 8px; inset-inline-start: 8px;
	background: var(--mint); color: var(--ink); padding: 8px 16px; border-radius: 8px;
}

.kh-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.kh-center { text-align: center; }

.kh-surface { background: var(--surface); color: var(--ink); }
.kh-main { padding-block: clamp(36px, 5vw, 72px) clamp(64px, 8vw, 120px); min-height: 40vh; }

.kh-eyebrow {
	font-family: var(--font-display);
	font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
	color: var(--mint);
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
	margin-bottom: 14px;
}
.kh-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kh-eyebrow a:hover { color: var(--cream); }
.kh-eyebrow--dark { color: #0c8f69; }

.kh-h2 { font-size: clamp(2rem, 4.6vw, 4.4rem); font-weight: 900; line-height: 1.22; }

.kh-link { text-decoration: underline; text-underline-offset: 4px; font-size: 0.9rem; }

.kh-grain {
	position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 3. Buttons --------------------------------------------------------------- */
.kh-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:not(.is-link) {
	--btn-bg: var(--mint);
	--btn-fg: var(--ink);
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 12px 30px;
	border: 1px solid var(--btn-bg); border-radius: 999px;
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; line-height: 1.2;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: color 0.45s var(--ease), border-color 0.45s var(--ease), background-color 0.45s var(--ease), transform 0.3s var(--ease);
}
.kh-btn::before,
.woocommerce a.button::before,
.woocommerce button.button::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--ink); border-radius: inherit;
	transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.kh-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--btn-bg); color: var(--mint); border-color: var(--ink);
}
.kh-btn:hover::before,
.woocommerce a.button:hover::before,
.woocommerce button.button:hover::before { transform: translateY(0); }
.kh-btn:active { transform: scale(0.97); }

.kh-btn svg { transition: transform 0.4s var(--ease); }
.kh-btn:hover svg { transform: translate(-3px, 3px); }

.kh-btn--sm { min-height: 44px; padding: 8px 22px; font-size: 0.84rem; }
.kh-btn--block { width: 100%; }

.kh-btn--ghost { --btn-bg: transparent; --btn-fg: var(--cream); border-color: var(--line); }
.kh-btn--ghost::before { background: var(--cream); }
.kh-btn--ghost:hover { color: var(--ink); border-color: var(--cream); background: transparent; }

.kh-btn--dark { --btn-bg: var(--ink); --btn-fg: var(--cream); }
.kh-btn--dark::before { background: var(--mint); }
.kh-btn--dark:hover { color: var(--ink); border-color: var(--mint); background: var(--ink); }

/* On dark sections the hover fill is cream instead of ink. */
.kh-hero .kh-btn:not(.kh-btn--ghost)::before,
.kh-story .kh-btn:not(.kh-btn--ghost)::before { background: var(--cream); }
.kh-hero .kh-btn:not(.kh-btn--ghost):hover,
.kh-story .kh-btn:not(.kh-btn--ghost):hover { color: var(--ink); border-color: var(--cream); }

.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button.disabled { opacity: 0.45; cursor: not-allowed; padding: 12px 30px; }
.woocommerce a.button.loading,
.woocommerce button.button.loading { opacity: 0.7; padding-inline-end: 44px; }
.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after { inset-block-start: 50%; margin-top: -8px; }
.woocommerce a.added_to_cart {
	display: inline-flex; align-items: center; margin-inline-start: 12px;
	font-size: 0.85rem; text-decoration: underline; text-underline-offset: 4px;
}

/* 4. Preloader ------------------------------------------------------------- */
.kh-preloader { display: none; }
html.js.kh-first-visit .kh-preloader {
	display: block; position: fixed; inset: 0; z-index: 1000;
	animation: kh-failsafe-hide 0s linear 9s forwards;
}
.kh-preloader__cols { position: absolute; inset: 0; display: flex; }
.kh-preloader__cols span { flex: 1; background: var(--bg); margin-inline: -0.5px; }
.kh-preloader__center {
	position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 28px;
}
.kh-preloader__logo { overflow: hidden; }
.kh-preloader__logo img { width: clamp(170px, 22vw, 300px); height: auto; }
.kh-preloader__bar { width: clamp(170px, 22vw, 300px); height: 1px; background: var(--line); overflow: hidden; }
.kh-preloader__bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right center; }
.kh-preloader__count {
	position: absolute; inset-block-end: clamp(18px, 4vw, 48px); inset-inline-start: var(--gutter);
	font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 11vw, 10rem); line-height: 1;
	color: var(--cream); direction: ltr; display: flex; align-items: baseline; gap: 6px;
	font-variant-numeric: tabular-nums;
}
.kh-preloader__count i { font-style: normal; font-size: 0.3em; color: var(--mint); }
@keyframes kh-failsafe-hide { to { visibility: hidden; pointer-events: none; } }

/* 5. Header ---------------------------------------------------------------- */
.kh-header {
	position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 200;
	color: var(--cream);
	transition: transform 0.6s var(--ease), background-color 0.4s ease;
}
.kh-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(to bottom, rgba(11, 31, 26, 0.85), rgba(11, 31, 26, 0));
	transition: opacity 0.4s ease;
}
.kh-header::after {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
	background: rgba(11, 31, 26, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
	transition: opacity 0.4s ease;
}
.kh-header.is-solid::after { opacity: 1; }
.kh-header.is-solid { transform: translateY(calc(var(--announce-h) * -1)); }
.kh-header.is-hidden { transform: translateY(-100%); }

.kh-announce {
	height: var(--announce-h); display: flex; align-items: center; justify-content: center; gap: 10px;
	font-size: 0.78rem; letter-spacing: 0.03em; color: var(--muted);
	border-bottom: 1px solid var(--line);
}
.kh-announce span { color: var(--gold); }

.kh-header__bar {
	height: var(--bar-h);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.kh-header__logo { justify-self: center; display: block; }
.kh-header__logo img { height: 58px; width: auto; transition: height 0.4s var(--ease); }
.kh-header.is-solid .kh-header__logo img { height: 50px; }

.kh-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.kh-nav__list > li { position: relative; }
.kh-nav__list a {
	position: relative; display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 0; font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
}
.kh-nav__list > li > a::after {
	content: ""; position: absolute; inset-inline: 0; inset-block-end: 4px; height: 1px;
	background: var(--mint); transform: scaleX(0); transform-origin: left center;
	transition: transform 0.5s var(--ease);
}
.kh-nav__list > li > a:hover::after,
.kh-nav__list > li.current-menu-item > a::after { transform: scaleX(1); transform-origin: right center; }
.kh-nav__list > li.menu-item-has-children > a::before {
	content: ""; order: 2; width: 6px; height: 6px; border-inline-end: 1px solid currentColor; border-block-end: 1px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}
.kh-nav__list .sub-menu {
	position: absolute; inset-block-start: 100%; inset-inline-start: -18px; min-width: 220px;
	padding: 10px; border-radius: 14px;
	background: rgba(16, 48, 42, 0.96); border: 1px solid var(--line); backdrop-filter: blur(14px);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity 0.35s ease, transform 0.45s var(--ease), visibility 0.35s;
}
.kh-nav__list li:hover > .sub-menu,
.kh-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.kh-nav__list .sub-menu a { display: flex; padding: 9px 14px; border-radius: 9px; font-weight: 400; font-family: var(--font-body); }
.kh-nav__list .sub-menu a:hover { background: rgba(79, 224, 176, 0.12); color: var(--mint); }

.kh-header__actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.kh-header__shop {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; color: var(--mint);
}
.kh-header__shop svg { transition: transform 0.4s var(--ease); }
.kh-header__shop:hover svg { transform: translate(-3px, 3px); }
.kh-header__cart {
	position: relative; display: grid; place-items: center; width: 46px; height: 46px;
	border: 1px solid var(--line); border-radius: 50%;
	transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.kh-header__cart:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.kh-cart-count {
	position: absolute; inset-block-start: -5px; inset-inline-end: -5px;
	min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px;
	display: grid; place-items: center;
	background: var(--mint); color: var(--ink);
	font-family: var(--font-display); font-size: 0.68rem; font-weight: 800; line-height: 1;
	transform: scale(0); transition: transform 0.4s var(--ease);
}
.kh-cart-count.has-items { transform: scale(1); }

.kh-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: none; position: relative; }
.kh-burger span { position: absolute; inset-inline: 13px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), inset-block-start 0.4s var(--ease); }
.kh-burger span:first-child { inset-block-start: 18px; }
.kh-burger span:last-child { inset-block-start: 26px; }
.menu-open .kh-burger span:first-child { inset-block-start: 22px; transform: rotate(45deg); }
.menu-open .kh-burger span:last-child { inset-block-start: 22px; transform: rotate(-45deg); }

@media (max-width: 991px) {
	:root { --bar-h: 68px; }
	.kh-header__bar { grid-template-columns: auto 1fr auto; }
	.kh-burger { display: block; }
	.kh-header__logo img { height: 46px; }
	.kh-header.is-solid .kh-header__logo img { height: 42px; }
	.kh-header__shop { display: none; }
	.kh-nav {
		position: fixed; inset: 0; z-index: -2; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		background: var(--bg); overflow-y: auto;
		clip-path: inset(0 0 100% 0); visibility: hidden;
		transition: clip-path 0.7s var(--ease), visibility 0.7s;
	}
	.menu-open .kh-nav { clip-path: inset(0); visibility: visible; }
	.menu-open .kh-header { transform: none !important; }
	.kh-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.kh-nav__list > li { border-bottom: 1px solid var(--line); }
	.kh-nav__list > li > a { font-size: 1.7rem; font-weight: 800; padding: 16px 0; display: flex; }
	.kh-nav__list > li > a::after,
	.kh-nav__list > li.menu-item-has-children > a::before { display: none; }
	.kh-nav__list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 14px;
		display: flex; flex-wrap: wrap; gap: 8px; backdrop-filter: none;
	}
	.kh-nav__list .sub-menu a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 0.9rem; }
}

/* 6. Hero ------------------------------------------------------------------ */
.kh-hero {
	position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden;
	background:
		radial-gradient(120% 80% at 50% 110%, rgba(79, 224, 176, 0.16), transparent 60%),
		radial-gradient(90% 70% at 50% 40%, var(--bg-3), var(--bg) 75%);
}
.kh-hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.kh-hero__glow {
	position: absolute; inset-inline-start: 50%; inset-block-start: 58%;
	width: min(70vw, 900px); aspect-ratio: 1; transform: translate(50%, -50%);
	background: radial-gradient(circle, rgba(216, 178, 90, 0.3), rgba(79, 224, 176, 0.1) 42%, transparent 68%);
	filter: blur(30px); pointer-events: none;
}
[dir="ltr"] .kh-hero__glow { transform: translate(-50%, -50%); }
.kh-hero__stage { position: absolute; inset: 0; }

.kh-hero__bottles {
	position: absolute; inset-inline: 0; inset-block-end: 6vh; height: min(64vh, 700px);
	display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: end center; pointer-events: none;
}
.kh-hero__bottles > * { grid-area: 1 / 1; }
.kh-hero__main { position: relative; height: 100%; z-index: 3; will-change: transform; }
.kh-hero__main .kh-hero__bottle { height: 100%; width: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.45)); }
.kh-hero__shadow {
	position: absolute; inset-inline: 8%; inset-block-end: -3%; height: 7%;
	background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); filter: blur(8px); z-index: -1;
}
.kh-hero__sidewrap { position: relative; height: 62%; z-index: 2; will-change: transform; }
.kh-hero__sidewrap .kh-hero__bottle { height: 100%; width: auto; filter: blur(1.5px) brightness(0.8) drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4)); }
.kh-hero__sidewrap.is-right { left: clamp(150px, 15vw, 290px); }
.kh-hero__sidewrap.is-left { left: calc(clamp(150px, 15vw, 290px) * -1); }

.kh-hero__rings { position: relative; width: min(60vh, 620px); aspect-ratio: 1; align-self: center; z-index: 1; }
.kh-hero__rings span { position: absolute; inset: 0; border: 1px solid rgba(216, 178, 90, 0.26); border-radius: 50%; }
.kh-hero__rings span:nth-child(2) { inset: -14%; border-color: rgba(243, 239, 228, 0.08); border-style: dashed; }
.kh-hero__rings span:nth-child(3) { inset: 14%; border-color: rgba(79, 224, 176, 0.18); }

.kh-hero__ghost {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-family: var(--font-display); font-weight: 900; font-size: min(46vw, 78vh); line-height: 1;
	color: rgba(216, 178, 90, 0.09);
	opacity: 0; visibility: hidden; pointer-events: none;
}

.kh-note {
	position: absolute; opacity: 0; visibility: hidden;
	display: grid; gap: 2px; padding: 14px 22px; min-width: 200px;
	border: 1px solid var(--line); border-radius: 16px;
	background: rgba(16, 48, 42, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.kh-note small { font-size: 0.74rem; color: var(--mint); letter-spacing: 0.04em; }
.kh-note strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--cream); }
.kh-note.is-1 { inset-block-start: 32%; right: calc(50% + min(19vw, 300px)); }
.kh-note.is-2 { inset-block-start: 50%; left: calc(50% + min(19vw, 300px)); }
.kh-note.is-3 { inset-block-start: 68%; right: calc(50% + min(16vw, 250px)); }

.kh-hero__lead { position: absolute; inset-inline-start: var(--gutter); inset-block-end: clamp(24px, 5vh, 56px); z-index: 4; }
.kh-hero__tagline {
	margin: 0; font-family: var(--font-display); font-weight: 900; color: var(--cream);
	font-size: clamp(2rem, 4.3vw, 4.6rem); line-height: 1.22;
}
.kh-hero__side { position: absolute; inset-inline-end: var(--gutter); inset-block-end: clamp(24px, 5vh, 56px); z-index: 4; max-width: 400px; }
.kh-hero__side p { color: var(--muted); font-size: 0.98rem; margin-bottom: 22px; }
.kh-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.kh-hero__scroll {
	position: absolute; inset-inline-start: 50%; inset-block-end: 14px; transform: translateX(50%);
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; z-index: 4;
}
[dir="ltr"] .kh-hero__scroll { transform: translateX(-50%); }
.kh-hero__scroll span { width: 1px; height: 26px; background: linear-gradient(var(--mint), transparent); animation: kh-scroll-cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes kh-scroll-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 991px) {
	.kh-hero { min-height: 620px; }
	.kh-hero__stage { display: flex; flex-direction: column; padding: calc(var(--header-h) + 26px) var(--gutter) 26px; }
	.kh-hero__bottles { position: relative; inset: auto; flex: 1; min-height: 0; height: auto; place-items: center; }
	.kh-hero__main { height: 72%; }
	.kh-hero__sidewrap { height: 48%; align-self: end; margin-bottom: 14%; }
	.kh-hero__sidewrap.is-right { left: 29vw; }
	.kh-hero__sidewrap.is-left { left: -29vw; }
	.kh-hero__rings { width: min(70vw, 340px); }
	.kh-hero__lead { position: static; margin-top: 22px; text-align: center; }
	.kh-hero__lead .kh-eyebrow { justify-content: center; margin-bottom: 8px; }
	.kh-hero__lead .kh-eyebrow::before { display: none; }
	.kh-hero__tagline { font-size: clamp(1.4rem, 6.2vw, 2.6rem); line-height: 1.4; text-wrap: balance; }
	.kh-hero__tagline br { display: none; }
	.kh-hero__side { position: static; max-width: none; margin-top: 18px; }
	.kh-hero__side p { display: none; }
	.kh-hero__cta { flex-wrap: nowrap; gap: 10px; }
	.kh-hero__cta .kh-btn { flex: 1; min-width: 0; padding-inline: 12px; font-size: 0.86rem; }
	.kh-hero__scroll, .kh-hero__notes, .kh-hero__ghost { display: none; }
}

/* 7. Marquee --------------------------------------------------------------- */
.kh-marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(14px, 2vw, 26px); background: var(--bg); }
.kh-marquee__track {
	display: flex; align-items: center; gap: clamp(22px, 3vw, 54px); width: max-content; white-space: nowrap;
	font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 4.2vw, 4rem); line-height: 1.4;
	will-change: transform;
}
.kh-marquee__track i { font-style: normal; color: var(--mint); font-size: 0.5em; }
.kh-marquee__track span:nth-of-type(even),
.kh-marquee__track .is-outline { color: var(--gold); }
.kh-marquee--footer { border-block-start: 0; }
.kh-marquee--footer .kh-marquee__track { font-size: clamp(2.4rem, 8vw, 8rem); }
.kh-marquee--footer .kh-marquee__track span:not(.is-outline) { color: var(--cream); }

/* 8. Categories ------------------------------------------------------------ */
.kh-cats { position: relative; background: var(--bg); overflow: hidden; }
.kh-cats__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 56px); padding-block: clamp(60px, 9vh, 110px) clamp(40px, 6vh, 80px); }
.kh-cats__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.kh-cats__head p { max-width: 340px; color: var(--muted); margin: 0; }
.kh-cats__viewport { padding-inline: var(--gutter); }
.kh-cats__track { display: flex; gap: clamp(14px, 1.6vw, 26px); width: max-content; will-change: transform; }

.kh-cat {
	position: relative; flex: none; width: clamp(280px, 30vw, 460px); height: clamp(380px, 54vh, 560px);
	display: flex; flex-direction: column; justify-content: space-between;
	padding: clamp(20px, 2vw, 32px);
	border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
	background: linear-gradient(160deg, var(--bg-2), var(--bg));
	transition: border-color 0.5s ease, transform 0.6s var(--ease);
}
.kh-cat::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background: radial-gradient(90% 70% at 20% 100%, rgba(79, 224, 176, 0.22), transparent 65%);
	opacity: 0; transition: opacity 0.6s ease;
}
.kh-cat:hover { border-color: rgba(79, 224, 176, 0.55); }
.kh-cat:hover::before { opacity: 1; }
.kh-cat > * { position: relative; z-index: 1; }
.kh-cat__num { font-family: var(--font-display); font-weight: 400; font-size: 0.9rem; color: var(--gold); direction: ltr; align-self: flex-start; }
.kh-cat__media {
	position: absolute !important; inset-block-start: clamp(20px, 2vw, 32px); inset-inline-end: clamp(20px, 2vw, 32px);
	width: 46%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--surface);
	transition: transform 0.8s var(--ease);
}
.kh-cat__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 0.8s var(--ease); }
.kh-cat:hover .kh-cat__media { transform: scale(1.06) rotate(-4deg); }
.kh-cat:hover .kh-cat__media img { transform: scale(1.2); }
.kh-cat__media.is-empty { background: none; border: 1px solid rgba(216, 178, 90, 0.35); display: grid; place-items: center; }
.kh-cat__media.is-empty em { font-style: normal; font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 6vw, 6rem); line-height: 1.3; color: var(--gold); opacity: 0.85; }
.kh-cat__body { display: grid; gap: 10px; }
.kh-cat__name { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.25; color: var(--cream); }
.kh-cat__desc { color: var(--muted); font-size: 0.92rem; max-width: 30ch; }
.kh-cat__link {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
	margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line);
	font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; color: var(--mint);
}
.kh-cat__link svg { transition: transform 0.4s var(--ease); }
.kh-cat:hover .kh-cat__link svg { transform: translate(-4px, 4px); }

@media (max-width: 991px) {
	.kh-cats__pin { min-height: 0; }
	.kh-cats__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block-end: 8px; }
	.kh-cats__viewport::-webkit-scrollbar { display: none; }
	.kh-cats__viewport { scroll-padding-inline: var(--gutter); }
	.kh-cats__track { gap: 12px; }
	.kh-cat { width: clamp(150px, 41vw, 300px); height: auto; min-height: 290px; padding: 14px; border-radius: 20px; gap: 14px; scroll-snap-align: start; }
	.kh-cat__media { position: relative !important; inset: auto; width: 100%; margin-top: 8px; }
	.kh-cat__num { position: absolute !important; inset-block-start: 12px; inset-inline-start: 14px; z-index: 2; font-size: 0.78rem; }
	.kh-cat__name { font-size: clamp(1.15rem, 5.2vw, 2rem); }
	.kh-cat__desc { display: none; }
	.kh-cat__link { margin-top: 2px; padding-top: 10px; font-size: 0.78rem; }
}

/* 9. Sections -------------------------------------------------------------- */
.kh-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); }
.kh-featured { padding-block: clamp(64px, 9vw, 140px); border-radius: clamp(22px, 3vw, 44px) clamp(22px, 3vw, 44px) 0 0; }

.kh-story { padding-block: clamp(72px, 11vw, 170px); background: radial-gradient(80% 60% at 85% 0%, var(--bg-3), var(--bg) 70%); }
.kh-story__text {
	font-family: var(--font-display); font-weight: 800; color: var(--cream);
	font-size: clamp(1.5rem, 3.5vw, 3.4rem); line-height: 1.55; max-width: 24em; margin-bottom: clamp(40px, 6vw, 80px);
}
.kh-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: clamp(36px, 5vw, 64px); border-block: 1px solid var(--line); }
.kh-perk { display: grid; gap: 8px; padding: clamp(22px, 3vw, 40px) clamp(16px, 2.4vw, 36px); border-inline-start: 1px solid var(--line); }
.kh-perk:first-child { border-inline-start: 0; padding-inline-start: 0; }
.kh-perk svg { color: var(--gold); margin-bottom: 6px; }
.kh-perk strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }
.kh-perk span { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 767px) {
	.kh-perks { grid-template-columns: 1fr; }
	.kh-perk { border-inline-start: 0; border-block-start: 1px solid var(--line); padding-inline: 0; }
	.kh-perk:first-child { border-block-start: 0; }
}

/* Inner page banner */
.kh-banner { position: relative; overflow: hidden; padding-block: calc(var(--header-h) + clamp(36px, 6vw, 90px)) clamp(36px, 5vw, 72px); background: radial-gradient(90% 120% at 15% 0%, var(--bg-3), var(--bg) 70%); }
.kh-banner__glow { position: absolute; inset-inline-end: -10%; inset-block-end: -60%; width: 60vw; aspect-ratio: 1; background: radial-gradient(circle, rgba(79, 224, 176, 0.16), transparent 62%); pointer-events: none; }
.kh-banner__inner { position: relative; }
.kh-banner__title { font-size: clamp(2.6rem, 8.4vw, 8.4rem); font-weight: 900; line-height: 1.22; color: var(--cream); }
.kh-banner__text { max-width: 46ch; color: var(--muted); margin: 14px 0 0; }
.kh-strip { padding-block: calc(var(--header-h) + 18px) 18px; background: var(--bg); }

.kh-breadcrumb { font-size: 0.84rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kh-breadcrumb a:hover { color: var(--mint); }
.kh-crumb-sep { opacity: 0.5; }

.kh-page-content { max-width: 1240px; }
.kh-page-content > *:first-child { margin-top: 0; }

/* About */
.kh-about__intro { padding-block: clamp(56px, 8vw, 130px); }
.kh-about__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(28px, 6vw, 110px); align-items: center; }
.kh-about__media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, var(--bg-3), var(--bg)); }
.kh-about__media img { position: absolute; inset-block: 11%; inset-inline: 0; margin-inline: auto; height: 78%; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); }
.kh-about__content { font-size: 1.06rem; color: var(--muted-dark); max-width: 52ch; margin-top: 18px; }
.kh-about__content p { color: rgba(15, 31, 27, 0.78); }
@media (max-width: 860px) { .kh-about__grid { grid-template-columns: 1fr; } .kh-about__media { aspect-ratio: 1; } }

/* 10. Product cards -------------------------------------------------------- */
.woocommerce ul.products,
.woocommerce-page ul.products {
	--cols: 3;
	display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	gap: clamp(28px, 3.4vw, 60px) clamp(12px, 1.6vw, 28px);
	margin: 0; padding: 0; list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products.columns-4 { --cols: 4; }
.woocommerce ul.products.columns-2 { --cols: 2; }
[data-cols="2"] ul.products { --cols: 2 !important; }
[data-cols="3"] ul.products { --cols: 3 !important; }
[data-cols="4"] ul.products { --cols: 4 !important; }
@media (max-width: 1100px) { .woocommerce ul.products.columns-4 { --cols: 3; } }
@media (max-width: 860px) {
	.woocommerce ul.products, .woocommerce ul.products.columns-4,
	[data-cols] ul.products { --cols: 2 !important; }
	.woocommerce ul.products li.product .kh-card__action { align-self: stretch; }
	.woocommerce ul.products li.product .kh-card__action .button { width: 100%; padding-inline: 10px; font-size: 0.8rem; white-space: normal; }
	.kh-card__body { padding-inline: 0; }
}

.woocommerce ul.products li.product.kh-card {
	float: none; width: auto; margin: 0; padding: 0; position: relative;
	display: flex; flex-direction: column; text-align: center;
}
.kh-card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.woocommerce ul.products li.product .kh-card__media img.kh-card__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0;
	transition: opacity 0.6s ease, transform 1.1s var(--ease);
}
.woocommerce ul.products li.product .kh-card__media img.kh-card__img--hover { opacity: 0; transform: scale(1.06); }
.kh-card:hover .kh-card__img { transform: scale(1.05); }
.kh-card:hover .kh-card__img--hover { opacity: 1 !important; transform: scale(1) !important; }
.kh-card.outofstock .kh-card__img { filter: grayscale(0.5); opacity: 0.75; }

.kh-badge {
	position: absolute; inset-block-start: 14px; inset-inline-start: 14px; z-index: 2;
	padding: 4px 14px; border-radius: 999px; background: var(--ink); color: var(--cream);
	font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
}
.kh-badge--sale { background: var(--mint); color: var(--ink); }

.kh-card__body { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 8px 0; flex: 1; }
.kh-card__title { font-family: var(--font-display); font-size: clamp(0.92rem, 1.1vw, 1.08rem); font-weight: 800; line-height: 1.6; color: var(--ink); }
.kh-card__title a { background: linear-gradient(currentColor, currentColor) right 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); }
.kh-card:hover .kh-card__title a { background-size: 100% 1px; }
.kh-card__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 0.78rem; color: var(--muted-dark); }
.kh-card__notes span { opacity: 0.4; }
.woocommerce ul.products li.product .kh-card__price,
.woocommerce ul.products li.product .kh-card__price .price {
	font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; color: var(--ink); margin: 0; display: block;
}
.kh-card__price del { opacity: 0.45; font-weight: 400; margin-inline-end: 6px; }
.kh-card__price ins { text-decoration: none; }
.kh-card__action { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.woocommerce ul.products li.product .kh-card__action .button { margin: 0; }
.woocommerce ul.products li.product .kh-card__action .added_to_cart { margin: 0; padding: 0; }

/* 11. Shop ----------------------------------------------------------------- */
.kh-shop { padding-block-start: 0; }
.kh-toolbar {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	border-bottom: 1px solid var(--line-dark); min-height: 68px; margin-bottom: clamp(24px, 3vw, 44px);
}
.kh-toolbar__start { display: flex; align-items: center; gap: 14px; }
.kh-toolbar__count .woocommerce-result-count { margin: 0; float: none; font-family: var(--font-display); font-size: 0.86rem; letter-spacing: 0.04em; color: var(--muted-dark); }
.kh-toolbar__sort { justify-self: end; }
.kh-toolbar__sort .woocommerce-ordering { margin: 0; float: none; }
.kh-toolbar__filter { display: none; align-items: center; gap: 8px; height: 44px; padding-inline: 18px; border: 1px solid var(--line-dark); border-radius: 999px; background: none; font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; }

.kh-gridswitch { display: flex; gap: 4px; }
.kh-gridswitch button { display: flex; gap: 3px; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; opacity: 0.35; transition: opacity 0.3s, background-color 0.3s; }
.kh-gridswitch button i { width: 4px; height: 16px; background: var(--ink); border-radius: 1px; }
.kh-gridswitch button:hover { opacity: 0.7; }
.kh-gridswitch button.is-active { opacity: 1; background: rgba(15, 31, 27, 0.07); }

.woocommerce .woocommerce-ordering select,
.kh-surface select {
	appearance: none; -webkit-appearance: none;
	height: 44px; padding-inline: 18px 40px; border: 1px solid var(--line-dark); border-radius: 999px;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230f1f1b' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat left 16px center;
	font-family: var(--font-body); font-size: 0.88rem; color: var(--ink); cursor: pointer;
}
[dir="ltr"] .woocommerce .woocommerce-ordering select { background-position: right 16px center; }

.kh-shop__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.kh-shop__sidebar { position: sticky; inset-block-start: calc(var(--bar-h) + 20px); }
.kh-shop__overlay { display: none; }

.kh-filters__head { display: none; }
.kh-filter { border-bottom: 1px solid var(--line-dark); }
.kh-filter summary {
	display: flex; align-items: center; justify-content: space-between; padding: 16px 0; cursor: pointer; list-style: none;
	font-family: var(--font-display); font-size: 0.9rem; font-weight: 800;
}
.kh-filter summary::-webkit-details-marker { display: none; }
.kh-filter summary::after { content: ""; width: 7px; height: 7px; border-inline-end: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.kh-filter[open] summary::after { transform: rotate(-135deg); }
.kh-filter__body { padding-bottom: 18px; display: grid; gap: 4px; }

.kh-check { display: flex; align-items: center; gap: 12px; padding: 7px 0; cursor: pointer; font-size: 0.94rem; }
.kh-check input { position: absolute; opacity: 0; pointer-events: none; }
.kh-check__box { flex: none; width: 20px; height: 20px; border: 1.5px solid rgba(15, 31, 27, 0.35); border-radius: 6px; display: grid; place-items: center; transition: background-color 0.25s, border-color 0.25s; }
.kh-check__box::after { content: ""; width: 10px; height: 6px; border-inline-start: 2px solid var(--ink); border-block-end: 2px solid var(--ink); transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform 0.3s var(--ease); }
[dir="rtl"] .kh-check__box::after { transform: rotate(45deg) scale(0); }
.kh-check input:checked + .kh-check__box { background: var(--mint); border-color: var(--mint); }
.kh-check input:checked + .kh-check__box::after { transform: rotate(-45deg) scale(1); }
[dir="rtl"] .kh-check input:checked + .kh-check__box::after { transform: rotate(45deg) scale(1); }
.kh-check input:focus-visible + .kh-check__box { outline: 2px solid var(--ink); outline-offset: 2px; }
.kh-check__label { flex: 1; }
.kh-check__count { font-size: 0.78rem; color: var(--muted-dark); }

.kh-range { position: relative; height: 28px; margin-block: 6px 12px; }
.kh-range__track { position: absolute; inset-inline: 0; inset-block-start: 13px; height: 2px; background: var(--line-dark); border-radius: 2px; }
.kh-range__fill { position: absolute; inset-block: 0; background: var(--ink); }
.kh-range input[type="range"] { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; appearance: none; -webkit-appearance: none; }
.kh-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); cursor: grab; }
.kh-range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); cursor: grab; }
.kh-range input[type="range"]::-webkit-slider-runnable-track { background: none; }
.kh-range input[type="range"]::-moz-range-track { background: none; }
.kh-range__inputs { display: flex; align-items: end; gap: 8px; }
.kh-range__inputs label { flex: 1; display: grid; gap: 4px; font-size: 0.76rem; color: var(--muted-dark); }
.kh-range__inputs input { width: 100%; height: 42px; padding-inline: 12px; border: 1px solid var(--line-dark); border-radius: 10px; background: transparent; font: inherit; font-size: 0.9rem; color: var(--ink); direction: ltr; text-align: center; -moz-appearance: textfield; }
.kh-range__inputs input::-webkit-outer-spin-button,
.kh-range__inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kh-range__currency { padding-bottom: 9px; font-size: 0.82rem; color: var(--muted-dark); }
.kh-filters__actions { display: grid; gap: 12px; justify-items: center; padding-top: 20px; }

.woocommerce nav.woocommerce-pagination { margin-top: clamp(40px, 5vw, 72px); text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 16px;
	border: 1px solid var(--line-dark); border-radius: 999px; color: var(--ink);
	font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; background: none;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce-info, .woocommerce-message, .woocommerce-error {
	border: 1px solid var(--line-dark); border-inline-start: 3px solid var(--mint); border-radius: 12px;
	background: #fff; color: var(--ink); margin-block: 20px;
}
.woocommerce .woocommerce-error { border-inline-start-color: #c0392b; }
.woocommerce-info::before, .woocommerce-message::before { color: #0c8f69; }

@media (max-width: 991px) {
	.kh-toolbar { grid-template-columns: auto minmax(0, 1fr); }
	.kh-toolbar__sort { min-width: 0; max-width: 100%; }
	.kh-toolbar__sort .woocommerce-ordering select { width: 100%; max-width: 100%; text-overflow: ellipsis; }
	.kh-toolbar__count { display: none; }
	.kh-toolbar__filter { display: inline-flex; }
	.kh-gridswitch { display: none; }
	.kh-shop__layout { grid-template-columns: 1fr; }
	.kh-shop__sidebar {
		position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 400; width: min(88vw, 380px);
		background: var(--surface); padding: 20px var(--gutter) 28px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden;
		transition: transform 0.6s var(--ease), visibility 0.6s;
	}
	[dir="ltr"] .kh-shop__sidebar { transform: translateX(-100%); }
	.filters-open .kh-shop__sidebar { transform: none; visibility: visible; }
	.kh-shop__overlay { display: block; position: fixed; inset: 0; z-index: 390; background: rgba(11, 31, 26, 0.6); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
	.filters-open .kh-shop__overlay { opacity: 1; visibility: visible; }
	.kh-filters__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); }
	.kh-filters__close { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; background: none; }
}

/* 12. Single product ------------------------------------------------------- */
.single-product .kh-main { padding-block-start: clamp(24px, 3vw, 48px); }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.woocommerce div.product > .related,
.woocommerce div.product > .up-sells,
.woocommerce div.product > .woocommerce-tabs { grid-column: 1 / -1; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float: none; width: 100%; margin: 0; }
.woocommerce div.product div.images { position: sticky; inset-block-start: calc(var(--bar-h) + 20px); }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: 26px; overflow: hidden; background: var(--surface); margin: 0; }
.woocommerce div.product div.images img { width: 100%; height: auto; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; padding: 0; }
.woocommerce div.product div.images .flex-control-thumbs li { float: none; width: auto; margin: 0; list-style: none; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 12px; border: 1px solid transparent; opacity: 0.6; cursor: pointer; transition: opacity 0.3s, border-color 0.3s; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--ink); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { inset-inline-end: 16px; inset-inline-start: auto; inset-block-start: 16px; }
.woocommerce span.onsale { background: var(--mint); color: var(--ink); border-radius: 999px; min-height: 0; min-width: 0; padding: 4px 14px; line-height: 1.6; font-family: var(--font-display); font-weight: 600; inset-block-start: 16px; inset-inline-start: 16px; inset-inline-end: auto; }

.woocommerce div.product div.summary { padding-block-start: clamp(0px, 2vw, 32px); }
.woocommerce div.product .product_title { font-size: clamp(1.9rem, 3.6vw, 3.5rem); font-weight: 900; line-height: 1.3; color: var(--ink); margin-bottom: 10px; }
.woocommerce div.product div.summary .kh-card__notes { justify-content: flex-start; font-size: 0.86rem; margin-bottom: 18px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 800; color: var(--ink); margin-bottom: 20px; }
.woocommerce div.product p.price del { opacity: 0.4; font-weight: 400; font-size: 0.75em; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 1.05rem; color: rgba(15, 31, 27, 0.78); padding-top: 20px; border-top: 1px solid var(--line-dark); }
.woocommerce div.product p.stock { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.woocommerce div.product p.stock.out-of-stock { color: #b03a2e; padding: 12px 18px; border: 1px solid rgba(176, 58, 46, 0.3); border-radius: 12px; display: inline-block; }
.woocommerce div.product p.stock.in-stock { color: #0c8f69; }

.kh-product-desc { margin-top: 8px; }
.kh-notes-pyramid { display: grid; gap: 0; margin: 0 0 24px; border: 1px solid var(--line-dark); border-radius: 18px; overflow: hidden; }
.kh-notes-pyramid li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line-dark); font-size: 0.96rem; }
.kh-notes-pyramid li:first-child { border-top: 0; }
.kh-notes-pyramid strong { font-family: var(--font-display); font-weight: 800; font-size: 0.86rem; color: #0c8f69; }

.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: stretch; margin: 26px 0 18px; flex-wrap: wrap; }
.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after { content: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty { width: 92px; height: 56px; border: 1px solid var(--line-dark); border-radius: 999px; background: transparent; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.woocommerce div.product form.cart .button { float: none; flex: 1; min-height: 56px; font-size: 1rem; min-width: 220px; }
.kh-cod-note { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 0.92rem; color: rgba(15, 31, 27, 0.75); }
.kh-cod-note svg { color: #0c8f69; }
.woocommerce div.product .product_meta { padding-top: 18px; border-top: 1px solid var(--line-dark); display: grid; gap: 4px; font-size: 0.88rem; color: var(--muted-dark); }
.woocommerce div.product .product_meta .sku_wrapper { display: none; }
.woocommerce div.product .product_meta a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.woocommerce div.product > .related { margin-top: clamp(56px, 8vw, 120px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line-dark); }
.woocommerce div.product > .related > h2 { font-size: clamp(1.8rem, 3.6vw, 3.4rem); font-weight: 900; margin-bottom: clamp(24px, 3vw, 44px); }
.woocommerce .related ul.products { --cols: 4; }

@media (max-width: 860px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images { position: relative; inset-block-start: auto; }
	.kh-notes-pyramid li { grid-template-columns: 1fr; gap: 2px; }
}

/* 13. Cart / checkout (WooCommerce blocks + classic) ------------------------ */
.kh-page-content { font-size: 1rem; }
.kh-page-content .wc-block-cart,
.kh-page-content .wc-block-checkout { font-family: var(--font-body); }
.kh-page-content .wc-block-components-button:not(.is-link) { width: 100%; min-height: 58px; font-size: 1rem; }
.kh-page-content .wc-block-components-button:not(.is-link):hover { background: var(--ink); color: var(--mint); border-color: var(--ink); }
.kh-page-content .wc-block-components-product-name { font-family: var(--font-display); font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.02rem; }
.kh-page-content .wc-block-cart-items__row img { border-radius: 12px; }
.kh-page-content .wc-block-components-totals-item__label,
.kh-page-content .wc-block-cart__totals-title,
.kh-page-content .wc-block-components-title,
.kh-page-content .wc-block-components-checkout-step__title { font-family: var(--font-display); font-weight: 800; }
.kh-page-content .wc-block-components-sidebar { background: #fff; border-radius: 22px; padding: 24px; border: 1px solid var(--line-dark); }
.kh-page-content .wc-block-components-text-input input,
.kh-page-content .wc-blocks-components-select .wc-blocks-components-select__select,
.kh-page-content .wc-block-components-textarea { border-radius: 12px; font-family: var(--font-body); }
.kh-page-content .wc-block-components-quantity-selector { border-radius: 999px; }
.kh-page-content .wc-block-cart__empty-cart__title,
.kh-page-content h2 { font-family: var(--font-display); }
.kh-page-content a:not(.kh-btn):not(.button):not(.wc-block-components-button) { text-underline-offset: 4px; }
.kh-page-content .wc-block-components-checkout-return-to-cart-button { color: var(--ink); }

@media (max-width: 600px) {
	.kh-page-content table.wc-block-cart-items { display: block; width: 100% !important; }
	.kh-page-content table.wc-block-cart-items tbody { display: block; }
	.kh-page-content table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 72px minmax(0, 1fr) !important; }
	.kh-page-content .wc-block-cart-items .wc-block-cart-item__total { font-size: 0.82rem; padding-inline-start: 8px; }
	.kh-page-content .wc-block-components-product-name { font-size: 0.94rem; }
	.kh-page-content .wc-block-components-sidebar { padding: 18px; }
}

.woocommerce table.shop_table { border: 1px solid var(--line-dark); border-radius: 18px; background: #fff; overflow: hidden; }
.woocommerce table.shop_table th { font-family: var(--font-display); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea { border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px 14px; font: inherit; }

/* 14. Footer --------------------------------------------------------------- */
.kh-footer { background: var(--bg); color: var(--cream); position: relative; }
.kh-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 72px); padding-block: clamp(48px, 6vw, 90px); }
.kh-footer__logo { height: 84px; width: auto; margin-bottom: 18px; }
.kh-footer__brand p { color: var(--muted); max-width: 34ch; }
.kh-footer__col h3 { font-size: 0.82rem; font-weight: 600; color: var(--gold); margin-bottom: 16px; letter-spacing: 0.04em; }
.kh-footer__col li { padding: 5px 0; color: var(--muted); }
.kh-footer__col a { color: var(--cream); background: linear-gradient(var(--mint), var(--mint)) right 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease), color 0.3s; padding-bottom: 2px; }
.kh-footer__col a:hover { color: var(--mint); background-size: 100% 1px; }
.kh-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.kh-footer__bottom a:hover { color: var(--mint); }
.kh-footer__credit a { color: var(--gold); font-family: var(--font-display); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .kh-footer__grid { grid-template-columns: 1fr 1fr; } .kh-footer__brand { grid-column: 1 / -1; } }

/* 15. Motion helpers ------------------------------------------------------- */
/* Elements wait hidden for their GSAP reveal; the keyframe is a fallback that
   shows them if the script never runs. */
html.js [data-reveal],
html.js [data-words],
html.js .kh-home [data-hero-fade] > *,
html.js .kh-home .kh-hero__bottle,
html.js .kh-home .kh-hero__rings { visibility: hidden; animation: kh-failsafe-show 0s linear 5s forwards; }
@keyframes kh-failsafe-show { to { visibility: visible; } }

.kh-line-mask { padding-block-end: 0.18em; margin-block-end: -0.18em; }
[data-reveal="img"] { will-change: clip-path; }

@media (prefers-reduced-motion: reduce) {
	html.js [data-reveal],
	html.js [data-words],
		html.js .kh-home [data-hero-fade] > *,
	html.js .kh-home .kh-hero__bottle,
	html.js .kh-home .kh-hero__rings { visibility: visible; animation: none; }
	html.js.kh-first-visit .kh-preloader { display: none; }
	* { transition-duration: 0.01ms !important; }
}
