/* ==========================================================
   Kovai Fresh — main stylesheet (v1.3, Phase 4)
   Hand-coded, AI-assisted, error-checked.
   ----------------------------------------------------------
   1. Tokens       6. Aisles         11. Footer
   2. Base         7. Product cards  12. Pages & shop
   3. Buttons      8. How it works   13. Motion
   4. Header       9. Offer band     14. Responsive
   5. Hero        10. Delivery
   ========================================================== */

/* 1. Tokens ------------------------------------------------ */
:root {
	--kf-green-950: #08301C;
	--kf-green-800: #0E4D2E;
	--kf-green-600: #17824A;
	--kf-green-100: #E3F1E7;
	--kf-green-50:  #F3F9F5;
	--kf-orange-700: #C4450A;
	--kf-orange-600: #EE5A12;
	--kf-orange-100: #FFE8D8;
	--kf-tag: #FFD23F;
	--kf-twine: #B98A3E;
	--kf-ink: #15231B;
	--kf-muted: #52645A;
	--kf-line: #D8E5DC;
	--kf-white: #FFFFFF;
	--kf-wa: #1FAF55;

	--kf-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
	--kf-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--kf-wrap: 1240px;
	--kf-r-tag: 5px;
	--kf-r-card: 14px;
	--kf-r-hero: 28px;
	--kf-shadow: 0 1px 0 rgba(14, 77, 46, .05), 0 10px 28px -14px rgba(14, 77, 46, .35);
	--kf-ease: cubic-bezier(.2, .7, .2, 1);
	--kf-header-h: 72px;
}

/* 2. Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
	margin: 0;
	font-family: var(--kf-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--kf-ink);
	background: var(--kf-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--kf-green-600); text-underline-offset: 3px; }
a:hover { color: var(--kf-green-800); }
p { margin: 0 0 1em; }
h1, h2, h3 {
	font-family: var(--kf-display);
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--kf-green-950);
	margin: 0 0 .5em;
}
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--kf-orange-600); outline-offset: 3px; border-radius: 6px; }

.kf-ico { width: 20px; height: 20px; flex: none; }
.kf-lock { overflow: hidden; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.kf-skip {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	background: var(--kf-green-950); color: var(--kf-white);
	padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.kf-skip:focus { top: 12px; color: var(--kf-white); }

.kf-wrap { width: 100%; max-width: var(--kf-wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

.kf-h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.kf-h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.kf-sub { color: var(--kf-muted); max-width: 58ch; margin: 0; }
.kf-link { font-weight: 600; color: var(--kf-green-800); white-space: nowrap; }
.kf-link:hover { color: var(--kf-orange-700); }

/* 3. Buttons ----------------------------------------------- */
.kf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px;
	border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--kf-ease);
}
.kf-btn:active { transform: scale(.97); }
.kf-btn--primary { background: var(--kf-orange-700); color: var(--kf-white); }
.kf-btn--primary:hover { background: #A63905; color: var(--kf-white); }
.kf-btn--ghost { border-color: currentColor; color: var(--kf-green-800); background: transparent; }
.kf-btn--ghost:hover { background: var(--kf-green-800); border-color: var(--kf-green-800); color: var(--kf-white); }
.kf-btn--wa { background: var(--kf-wa); color: var(--kf-white); }
.kf-btn--wa:hover { background: #178F45; color: var(--kf-white); }
.kf-btn .kf-ico { width: 20px; height: 20px; }

.kf-icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 0; border-radius: 12px; background: var(--kf-green-50); color: var(--kf-green-950);
}
.kf-icon-btn:hover { background: var(--kf-green-100); }

/* 4. Header ------------------------------------------------ */
.kf-announce { background: var(--kf-green-950); color: #D9EEDF; font-size: .875rem; }
.kf-announce .kf-wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; padding-block: 6px; text-align: center; }
.kf-announce .kf-ico { width: 18px; height: 18px; color: var(--kf-tag); }

.kf-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--kf-line);
	transition: box-shadow .25s;
}
.kf-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(8, 48, 28, .45); }
.admin-bar .kf-header { top: 32px; }

.kf-header__row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "brand search actions";
	align-items: center; gap: 20px;
	min-height: var(--kf-header-h); padding-block: 10px;
}
.kf-header__menu { grid-area: menu; display: none; }
.kf-brand { grid-area: brand; min-width: 0; }
.kf-brand__link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.kf-brand__mark {
	display: grid; place-items: center; width: 40px; height: 40px;
	border-radius: 12px 12px 12px 4px; background: var(--kf-orange-600); color: var(--kf-white);
	transform: rotate(-6deg);
}
.kf-brand__mark .kf-ico { width: 22px; height: 22px; }
.kf-brand__name { font-family: var(--kf-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; color: var(--kf-green-800); white-space: nowrap; }
.kf-brand .custom-logo { max-height: 52px; width: auto; }

.kf-search { grid-area: search; position: relative; max-width: 560px; width: 100%; justify-self: center; }
.kf-search input {
	width: 100%; height: 48px; padding: 0 54px 0 20px;
	border: 2px solid var(--kf-line); border-radius: 999px; background: var(--kf-green-50);
	transition: border-color .2s, background-color .2s;
}
.kf-search input::placeholder { color: #7A8B81; }
.kf-search input:focus { outline: none; border-color: var(--kf-green-600); background: var(--kf-white); }
.kf-search button {
	position: absolute; right: 5px; top: 5px; width: 38px; height: 38px;
	display: grid; place-items: center; border: 0; border-radius: 50%;
	background: var(--kf-green-800); color: var(--kf-white);
}
.kf-search button .kf-ico { width: 18px; height: 18px; }

.kf-header__actions { grid-area: actions; display: flex; align-items: center; gap: 10px; }
.kf-pill {
	display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px;
	border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s;
}
.kf-pill--wa { border-color: var(--kf-green-100); color: var(--kf-green-800); background: var(--kf-white); }
.kf-pill--wa:hover { border-color: var(--kf-wa); color: var(--kf-green-800); }
.kf-pill--wa .kf-ico { color: var(--kf-wa); }
.kf-pill--basket { background: var(--kf-orange-700); color: var(--kf-white); }
.kf-pill--basket:hover { background: #A63905; }
.kf-count {
	min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px;
	display: inline-grid; place-items: center;
	background: var(--kf-white); color: var(--kf-orange-700); font-size: .8rem; font-weight: 800;
}
.kf-count.is-bump { animation: kfBump .45s var(--kf-ease); }

.kf-nav { border-top: 1px solid var(--kf-line); }
.kf-nav .kf-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.kf-nav__list { display: flex; gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
.kf-nav__list a {
	display: block; padding: 11px 0; position: relative;
	color: var(--kf-ink); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.kf-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 2px;
	background: var(--kf-orange-600); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--kf-ease);
}
.kf-nav__list a:hover::after,
.kf-nav__list .current-menu-item > a::after { transform: scaleX(1); }
.kf-nav__hours { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .875rem; color: var(--kf-muted); }
.kf-nav__hours .kf-ico { width: 16px; height: 16px; }

/* Drawer (mobile menu) */
.kf-drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.kf-drawer.is-open { visibility: visible; }
.kf-drawer__scrim { position: absolute; inset: 0; background: rgba(8, 48, 28, .55); opacity: 0; transition: opacity .3s; }
.kf-drawer.is-open .kf-drawer__scrim { opacity: 1; }
.kf-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px);
	display: flex; flex-direction: column; gap: 8px;
	background: var(--kf-white); padding: 16px 20px 28px; overflow-y: auto;
	transform: translateX(-102%); transition: transform .35s var(--kf-ease);
}
.kf-drawer.is-open .kf-drawer__panel { transform: none; }
.kf-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--kf-line); }
.kf-drawer .kf-nav__list { flex-direction: column; gap: 0; }
.kf-drawer .kf-nav__list a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--kf-green-50); }
.kf-drawer .kf-nav__list a::after { display: none; }
.kf-drawer__label { margin: 16px 0 4px; font-weight: 700; color: var(--kf-muted); font-size: .9rem; }
.kf-drawer__cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kf-drawer__cats a {
	display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px;
	background: var(--kf-green-50); color: var(--kf-ink); text-decoration: none; font-size: .9rem; font-weight: 600;
}
.kf-drawer__wa { margin-top: 20px; }

/* 5. Hero -------------------------------------------------- */
.kf-hero { padding-block: clamp(16px, 2.5vw, 28px) 8px; }
.kf-hero__stage { display: grid; }
.kf-slide {
	grid-area: 1 / 1;
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center;
	gap: clamp(20px, 4vw, 56px);
	min-height: clamp(460px, 62vh, 580px);
	padding: clamp(28px, 5vw, 72px);
	border-radius: var(--kf-r-hero);
	overflow: hidden; position: relative;
	opacity: 0; visibility: hidden;
	transition: opacity .7s ease, visibility 0s linear .7s;
}
.kf-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; z-index: 1; }

/* Tones */
.kf-slide--green {
	background:
		radial-gradient(60% 70% at 78% 50%, rgba(23, 130, 74, .55), transparent 70%),
		var(--kf-green-800);
	color: #E4F3E9;
}
.kf-slide--green .kf-slide__title { color: var(--kf-white); }
.kf-slide--green .kf-btn--ghost { color: var(--kf-white); }
.kf-slide--green .kf-btn--ghost:hover { background: var(--kf-white); border-color: var(--kf-white); color: var(--kf-green-800); }
.kf-slide--green .kf-pile { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12); }
.kf-slide--light { background: var(--kf-green-100); }
.kf-slide--light .kf-pile { background: var(--kf-white); }
.kf-slide--orange { background: var(--kf-orange-100); }
.kf-slide--orange .kf-pile { background: var(--kf-white); }

.kf-slide__copy { position: relative; z-index: 2; }
.kf-slide__title {
	font-size: clamp(2.4rem, 5.4vw, 4.4rem);
	font-weight: 800; line-height: 1; letter-spacing: -.035em;
	max-width: 13ch; margin-bottom: .35em;
	font-variation-settings: "opsz" 96;
}
.kf-slide__text { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 42ch; margin-bottom: 1.6em; opacity: .92; }
.kf-slide__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Copy entrance — the one orchestrated moment */
.kf-slide__copy > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--kf-ease), transform .6s var(--kf-ease); }
.kf-slide.is-active .kf-slide__copy > * { opacity: 1; transform: none; }
.kf-slide.is-active .kf-slide__copy > :nth-child(1) { transition-delay: .12s; }
.kf-slide.is-active .kf-slide__copy > :nth-child(2) { transition-delay: .24s; }
.kf-slide.is-active .kf-slide__copy > :nth-child(3) { transition-delay: .36s; }
html:not(.js) .kf-slide__copy > * { opacity: 1; transform: none; }

.kf-slide__art { position: relative; display: grid; place-items: center; min-height: 320px; }

/* Emoji produce pile */
.kf-pile {
	position: relative; width: clamp(260px, 32vw, 410px); aspect-ratio: 1; border-radius: 50%;
}
.kf-pile span { position: absolute; line-height: 1; filter: drop-shadow(0 10px 12px rgba(8, 48, 28, .22)); }
.kf-pile span:nth-child(1) { top: 9%;  left: 30%; font-size: clamp(3.6rem, 6vw, 5.6rem); }
.kf-pile span:nth-child(2) { top: 37%; left: 6%;  font-size: clamp(3rem, 5vw, 4.6rem); }
.kf-pile span:nth-child(3) { top: 34%; left: 47%; font-size: clamp(4rem, 7vw, 6.4rem); }
.kf-pile span:nth-child(4) { top: 66%; left: 20%; font-size: clamp(2.8rem, 4.4vw, 4.2rem); }
.kf-pile span:nth-child(5) { top: 64%; left: 57%; font-size: clamp(3rem, 4.8vw, 4.6rem); }
.kf-pile span:nth-child(6) { top: 12%; left: 64%; font-size: clamp(2.4rem, 3.6vw, 3.4rem); }
.kf-slide.is-active .kf-pile span { animation: kfBob 4.8s ease-in-out infinite alternate; }
.kf-slide.is-active .kf-pile span:nth-child(2n) { animation-duration: 5.6s; animation-delay: -1.4s; }
.kf-slide.is-active .kf-pile span:nth-child(3n) { animation-duration: 6.2s; animation-delay: -2.6s; }

/* Photo variant */
.kf-slide__img {
	width: min(100%, 440px); aspect-ratio: 1; overflow: hidden;
	border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
	box-shadow: 0 30px 60px -30px rgba(8, 48, 28, .55);
}
.kf-slide__img img { width: 100%; height: 100%; object-fit: cover; }
.kf-slide.is-active .kf-slide__img img { animation: kfZoom 9s ease-out both; }

/* Hanging price tag — the signature element */
.kf-hangtag {
	position: absolute; top: 4%; right: 4%; z-index: 3;
	padding-top: 44px;
	transform-origin: 50% 0;
}
.kf-hangtag::before { /* twine */
	content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 62px; margin-left: -1px;
	background: var(--kf-twine); border-radius: 1px;
}
.kf-hangtag::after { /* nail */
	content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
	border-radius: 50%; background: #7C5A22;
}
.kf-hangtag__card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	min-width: 132px; padding: 34px 20px 18px;
	background: radial-gradient(circle at 50% 18px, transparent 6px, var(--kf-tag) 6.5px);
	color: var(--kf-green-950);
	clip-path: polygon(50% 0, 100% 22px, 100% 100%, 0 100%, 0 22px);
	filter: drop-shadow(0 10px 14px rgba(8, 48, 28, .25));
}
.kf-hangtag__big { font-family: var(--kf-display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -.03em; }
.kf-hangtag__small { margin-top: 6px; font-size: .85rem; font-weight: 600; max-width: 14ch; line-height: 1.25; }
.kf-slide.is-active .kf-hangtag { animation: kfSway 3.8s ease-in-out infinite alternate; }

/* Controls */
.kf-hero__controls { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.kf-round {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 2px solid var(--kf-line); background: var(--kf-white); color: var(--kf-green-950);
	transition: border-color .2s, background-color .2s;
}
.kf-round:hover { border-color: var(--kf-green-800); }
.kf-round--quiet { margin-left: auto; border-color: transparent; background: var(--kf-green-50); }
.kf-ico-play { display: none; }
.kf-hero.is-paused .kf-ico-play { display: block; }
.kf-hero.is-paused .kf-ico-pause { display: none; }
.kf-dots { display: flex; align-items: center; gap: 4px; }
.kf-dot { position: relative; width: 34px; height: 30px; border: 0; padding: 0; background: none; transition: width .3s var(--kf-ease); }
.kf-dot::before, .kf-dot__bar { content: ""; position: absolute; left: 0; top: 12px; height: 6px; border-radius: 3px; }
.kf-dot::before { right: 0; background: var(--kf-line); }
.kf-dot__bar { width: 0; background: var(--kf-orange-600); }
.kf-dot.is-active { width: 60px; }
.kf-dot.is-active .kf-dot__bar { width: 100%; }
.kf-hero.is-playing .kf-dot.is-active .kf-dot__bar { animation: kfProgress var(--kf-interval, 6500ms) linear both; }

/* Section rhythm ------------------------------------------- */
.kf-section { padding-block: clamp(52px, 7vw, 92px); }
.kf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(22px, 3vw, 34px); flex-wrap: wrap; }
.kf-head .kf-h2 { margin-bottom: .25em; }

/* 6. Aisles ------------------------------------------------ */
.kf-cats { padding-top: clamp(40px, 5vw, 64px); }
.kf-cats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.kf-cat {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
	height: 100%; padding: 20px 12px 18px; border-radius: var(--kf-r-card);
	background: var(--kf-green-100); color: var(--kf-ink); text-decoration: none;
	transition: transform .25s var(--kf-ease), box-shadow .25s;
}
.kf-cats__grid li:nth-child(4n+2) .kf-cat { background: var(--kf-orange-100); }
.kf-cats__grid li:nth-child(4n+3) .kf-cat { background: #FFF3C9; }
.kf-cats__grid li:nth-child(4n+4) .kf-cat { background: #ECF0E1; }
.kf-cat:hover { transform: translateY(-4px); box-shadow: var(--kf-shadow); color: var(--kf-ink); }
.kf-cat__icon {
	display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 10px;
	border-radius: 50%; background: var(--kf-white); font-size: 2.2rem; overflow: hidden;
	transition: transform .35s var(--kf-ease);
}
.kf-cat:hover .kf-cat__icon { transform: rotate(-8deg) scale(1.06); }
.kf-cat__icon img { width: 100%; height: 100%; object-fit: cover; }
.kf-cat__name { font-weight: 700; line-height: 1.25; }
.kf-cat__count { font-size: .85rem; color: var(--kf-muted); }

/* 7. Product cards ----------------------------------------- */
.kf-picks { padding-top: 0; }
.kf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kf-card {
	display: flex; flex-direction: column; height: 100%;
	background: var(--kf-white); border: 1px solid var(--kf-line); border-radius: var(--kf-r-card);
	overflow: hidden; transition: border-color .2s, box-shadow .25s;
}
.kf-card:hover { border-color: #B9D3C1; box-shadow: var(--kf-shadow); }
.kf-card__media {
	position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4;
	background: var(--kf-green-50); text-decoration: none; overflow: hidden;
}
.kf-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--kf-ease); }
.kf-card:hover .kf-card__img { transform: scale(1.05); }
.kf-card__emoji { font-size: clamp(3.6rem, 6vw, 4.8rem); line-height: 1; filter: drop-shadow(0 8px 10px rgba(8, 48, 28, .18)); transition: transform .4s var(--kf-ease); }
.kf-card:hover .kf-card__emoji { transform: scale(1.08) rotate(-4deg); }
.kf-card__save {
	position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px;
	background: var(--kf-green-800); color: var(--kf-white); font-size: .78rem; font-weight: 700;
}
.kf-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.kf-card__title { font-family: var(--kf-body); font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; margin: 0 0 2px; }
.kf-card__title a { color: var(--kf-ink); text-decoration: none; }
.kf-card__title a:hover { color: var(--kf-green-600); }
.kf-card__unit { margin: 0; font-size: .875rem; color: var(--kf-muted); }
.kf-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; }
.kf-card__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 0; }
.kf-card__was { font-size: .82rem; color: var(--kf-muted); }

/* Small price tag (horizontal, same family as the hanging tag) */
.kf-price {
	display: inline-flex; align-items: baseline; gap: 3px;
	padding: 4px 10px 4px 18px;
	background: radial-gradient(circle at 8px 50%, transparent 2.5px, var(--kf-tag) 3px);
	clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
	border-radius: 0 var(--kf-r-tag) var(--kf-r-tag) 0;
	font-family: var(--kf-display); font-weight: 800; font-size: 1.08rem; color: var(--kf-green-950); line-height: 1.3;
}
.kf-price small { font-family: var(--kf-body); font-weight: 600; font-size: .72rem; }

.kf-card__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px;
	border-radius: 999px; background: var(--kf-green-800); color: var(--kf-white);
	font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap;
	transition: background-color .2s, transform .2s var(--kf-ease);
}
.kf-card__btn:hover { background: var(--kf-green-950); color: var(--kf-white); }
.kf-card__btn:active { transform: scale(.94); }
.kf-card__out { font-size: .85rem; font-weight: 600; color: var(--kf-muted); }
.kf-card.is-out .kf-card__media { opacity: .55; filter: grayscale(.6); }

/* 8. How it works ------------------------------------------ */
.kf-how { background: var(--kf-green-50); border-block: 1px solid var(--kf-line); }
.kf-how__steps { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.kf-how__step { position: relative; padding-top: 4px; }
.kf-how__num {
	display: block; font-family: var(--kf-display); font-weight: 800; font-size: 3.4rem; line-height: 1;
	color: var(--kf-orange-600); margin-bottom: 12px; letter-spacing: -.04em;
}
.kf-how__step h3 { font-size: 1.3rem; margin-bottom: .35em; }
.kf-how__step p { color: var(--kf-muted); margin: 0; max-width: 34ch; }
.kf-how__step:not(:last-child)::after {
	content: ""; position: absolute; top: 28px; left: 64px; right: -12px; height: 2px;
	background: repeating-linear-gradient(90deg, var(--kf-line) 0 8px, transparent 8px 14px);
}

/* 9. Offer band -------------------------------------------- */
.kf-offer__box {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; gap: 24px;
	padding: clamp(28px, 5vw, 64px); border-radius: var(--kf-r-hero);
	background: var(--kf-orange-100); position: relative; overflow: hidden;
}
.kf-offer__copy .kf-h2 { max-width: 20ch; }
.kf-offer__copy p { max-width: 54ch; color: #4A3B30; font-size: 1.08rem; margin-bottom: 1.4em; }
.kf-offer__tag { position: relative; min-height: 220px; }
.kf-offer__tag .kf-hangtag { left: 50%; right: auto; top: 0; transform: translateX(-50%) rotate(-5deg); }
.kf-hangtag--still .kf-hangtag__card { min-width: 170px; padding-top: 38px; }

/* 10. Delivery --------------------------------------------- */
.kf-delivery { padding-top: 0; }
.kf-delivery__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.kf-chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kf-chips li { padding: 7px 14px; border-radius: 999px; background: var(--kf-green-50); border: 1px solid var(--kf-line); font-size: .92rem; font-weight: 600; }
.kf-delivery__card { padding: clamp(22px, 3vw, 32px); border: 2px solid var(--kf-green-100); border-radius: var(--kf-r-card); }
.kf-facts { margin: 0; display: grid; gap: 0; }
.kf-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--kf-line); }
.kf-facts dt { color: var(--kf-muted); }
.kf-facts dd { margin: 0; font-weight: 700; text-align: right; }
.kf-delivery__h3 { font-family: var(--kf-body); font-size: 1rem; letter-spacing: 0; margin: 20px 0 8px; }
.kf-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.kf-slots li { display: flex; align-items: center; gap: 8px; }
.kf-slots .kf-ico { width: 18px; height: 18px; color: var(--kf-green-600); }
.kf-delivery__visit { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--kf-line); }
.kf-delivery__visit p { display: flex; gap: 8px; margin-bottom: 8px; color: var(--kf-muted); }
.kf-delivery__visit .kf-ico { margin-top: 3px; color: var(--kf-orange-700); }

/* 11. Footer ----------------------------------------------- */
.kf-footer { background: var(--kf-green-950); color: #C7DCCF; padding-top: clamp(48px, 6vw, 72px); }
.kf-footer a { color: #E9F5EC; text-decoration: none; }
.kf-footer a:hover { color: var(--kf-tag); }
.kf-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 36px; }
.kf-footer__name { font-family: var(--kf-display); font-weight: 800; font-size: 1.6rem; color: var(--kf-white); margin-bottom: 10px; letter-spacing: -.03em; }
.kf-footer__brand p { max-width: 38ch; }
.kf-footer__brand .kf-btn { margin-top: 8px; }
.kf-footer__brand .kf-btn:hover { color: var(--kf-white); }
.kf-footer__title { font-family: var(--kf-body); font-size: 1rem; letter-spacing: 0; color: var(--kf-white); margin-bottom: 14px; }
.kf-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.kf-footer__contact li { display: flex; gap: 10px; }
.kf-footer__contact .kf-ico { width: 18px; height: 18px; margin-top: 3px; color: var(--kf-tag); }
.kf-footer__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	margin-top: 44px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem;
}
.kf-footer__base p { margin: 0; }
.kf-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }

.kf-wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 60;
	display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
	background: var(--kf-wa); color: var(--kf-white);
	box-shadow: 0 12px 26px -10px rgba(8, 48, 28, .6);
	transition: transform .25s var(--kf-ease);
}
.kf-wa-float .kf-ico { width: 30px; height: 30px; }
.kf-wa-float:hover { transform: scale(1.08); color: var(--kf-white); }

/* 12. Pages & shop ----------------------------------------- */
.kf-page { padding-block: clamp(32px, 5vw, 56px); }
.kf-page__head { margin-bottom: 24px; }
.kf-prose .kf-entry { max-width: 72ch; }
.kf-entry > * + * { margin-top: 1em; }
.kf-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.kf-post__media img { border-radius: var(--kf-r-card); margin-bottom: 12px; }
.kf-post__title { font-size: 1.3rem; }
.kf-post__title a { color: inherit; text-decoration: none; }
.kf-post__meta { font-size: .875rem; color: var(--kf-muted); margin-bottom: 6px; }
.kf-404 { text-align: center; max-width: 640px; }
.kf-404__emoji { font-size: 5rem; margin: 0; }
.kf-404__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

.kf-shop .woocommerce-breadcrumb { font-size: .875rem; color: var(--kf-muted); margin-bottom: 18px; }
.kf-shop .woocommerce-breadcrumb a { color: var(--kf-muted); }
.kf-shop .woocommerce-products-header__title { font-size: clamp(2rem, 4vw, 2.8rem); }
.kf-shop .woocommerce-result-count { color: var(--kf-muted); font-size: .9rem; margin: 0 0 16px; float: left; }
.kf-shop .woocommerce-ordering { float: right; margin: 0 0 16px; }
.kf-shop .woocommerce-ordering select { height: 42px; padding: 0 14px; border: 2px solid var(--kf-line); border-radius: 999px; background: var(--kf-white); }
.kf-shop ul.products { clear: both; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.kf-shop ul.products::before, .kf-shop ul.products::after { display: none; }
.kf-card-li { margin: 0; }
.kf-shop .woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; justify-content: center; padding: 0; margin: 32px 0 0; }
.kf-shop .woocommerce-pagination a, .kf-shop .woocommerce-pagination span {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 999px;
	border: 2px solid var(--kf-line); text-decoration: none; color: var(--kf-ink); font-weight: 600;
}
.kf-shop .woocommerce-pagination .current { background: var(--kf-green-800); border-color: var(--kf-green-800); color: var(--kf-white); }
.kf-shop .woocommerce-info, .kf-shop .woocommerce-message { padding: 14px 18px; border-radius: 12px; background: var(--kf-green-50); border: 1px solid var(--kf-line); list-style: none; }

.kf-shop div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); position: relative; }
.kf-shop div.product .woocommerce-product-gallery { position: relative; }
.kf-shop div.product .woocommerce-product-gallery img { border-radius: var(--kf-r-card); background: var(--kf-green-50); }
.kf-shop div.product .flex-control-thumbs { list-style: none; display: flex; gap: 8px; padding: 0; margin: 10px 0 0; }
.kf-shop div.product .flex-control-thumbs li { width: 72px; cursor: pointer; }
.kf-shop div.product .woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 5; }
.kf-shop div.product .woocommerce-tabs,
.kf-shop div.product .related,
.kf-shop div.product .up-sells { grid-column: 1 / -1; }
.kf-shop .product_title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.kf-shop .summary .price { font-family: var(--kf-display); font-weight: 800; font-size: 1.8rem; color: var(--kf-green-800); }
.kf-shop .summary .price del { font-size: 1.1rem; color: var(--kf-muted); font-weight: 600; margin-right: 6px; }
.kf-shop .summary .price ins { text-decoration: none; }
.kf-shop .onsale { position: absolute; top: 12px; left: 12px; z-index: 5; padding: 4px 12px; border-radius: 999px; background: var(--kf-orange-700); color: var(--kf-white); font-weight: 700; font-size: .85rem; }
.kf-shop .product_meta { font-size: .9rem; color: var(--kf-muted); display: grid; gap: 4px; margin-top: 18px; }
.kf-shop .wc-tabs { list-style: none; display: flex; gap: 8px; padding: 0; margin: 32px 0 16px; border-bottom: 1px solid var(--kf-line); }
.kf-shop .wc-tabs a { display: block; padding: 10px 4px; margin-right: 18px; font-weight: 700; color: var(--kf-muted); text-decoration: none; }
.kf-shop .wc-tabs .active a { color: var(--kf-green-800); box-shadow: inset 0 -3px 0 var(--kf-orange-600); }
.kf-single-cta { margin: 20px 0 8px; }
.kf-single-out { padding: 12px 16px; border-radius: 12px; background: var(--kf-orange-100); color: #6B3210; font-weight: 600; }

/* ==========================================================
   PHASE 2 — basket, Quick Shop, item controls
   15. Item controls  16. Quick Shop  17. Basket drawer
   18. Sticky bar & fly  19. Product page buy box
   ========================================================== */

/* 15. Item controls ---------------------------------------- */
.kf-ta { margin: 0; font-size: .85rem; color: var(--kf-muted); line-height: 1.4; }
.kf-unit { margin: 6px 0 0; font-size: .875rem; color: var(--kf-muted); }

.kf-ws { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.kf-w {
	position: relative; min-height: 32px; padding: 0 12px; border-radius: 999px;
	border: 1.5px solid var(--kf-line); background: var(--kf-white); color: var(--kf-ink);
	font-size: .84rem; font-weight: 600; line-height: 1;
	transition: background-color .15s, border-color .15s, color .15s;
}
.kf-w:hover { border-color: var(--kf-green-600); }
.kf-w[aria-checked="true"] { background: var(--kf-green-800); border-color: var(--kf-green-800); color: var(--kf-white); }
.kf-w:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.kf-w.has-qty::after {
	content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%;
	background: var(--kf-orange-600); box-shadow: 0 0 0 2px var(--kf-white);
}

.kf-action { display: flex; justify-content: flex-end; min-width: 92px; }
.kf-add {
	display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px;
	border-radius: 999px; border: 2px solid var(--kf-green-800); background: var(--kf-white); color: var(--kf-green-800);
	font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap;
	transition: background-color .15s, color .15s, transform .15s var(--kf-ease);
}
.kf-add:hover { background: var(--kf-green-800); color: var(--kf-white); }
.kf-add:active { transform: scale(.94); }

.kf-step {
	display: inline-flex; align-items: center; height: 40px; border-radius: 999px;
	background: var(--kf-green-800); color: var(--kf-white); animation: kfStepIn .25s var(--kf-ease);
}
.kf-step__btn {
	width: 38px; height: 40px; border: 0; background: transparent; color: inherit;
	font-size: 1.25rem; font-weight: 700; line-height: 1; border-radius: 999px;
}
.kf-step__btn:hover { background: rgba(255, 255, 255, .14); }
.kf-step__btn:disabled { opacity: .4; cursor: not-allowed; }
.kf-step__qty { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Cards pick up chips; keep the foot aligned */
.kf-card__body .kf-ta { margin-top: 1px; }
.kf-card__foot { flex-wrap: nowrap; }
.kf-card.is-picked { border-color: var(--kf-green-600); box-shadow: 0 0 0 1px var(--kf-green-600); }

/* 16. Quick Shop ------------------------------------------- */
.kf-qs__head {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); align-items: end; gap: 16px 40px;
	padding-block: clamp(28px, 4vw, 44px) 20px;
}
.kf-qs__head .kf-h1 { margin-bottom: .25em; }
.kf-qs__head .kf-sub p { margin: 0; }
.kf-qs__search { position: relative; }
.kf-qs__search .kf-ico { position: absolute; left: 16px; top: 50%; margin-top: -10px; color: var(--kf-muted); pointer-events: none; }
.kf-qs__search input {
	width: 100%; height: 50px; padding: 0 16px 0 46px; border-radius: 14px;
	border: 2px solid var(--kf-line); background: var(--kf-green-50);
}
.kf-qs__search input:focus { outline: none; border-color: var(--kf-green-600); background: var(--kf-white); }

.kf-qs__bar {
	position: sticky; top: var(--kf-head-h, 118px); z-index: 40;
	background: rgba(255, 255, 255, .97); border-block: 1px solid var(--kf-line);
}
.kf-aisles {
	display: flex; gap: 8px; padding-block: 10px; overflow-x: auto; scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.kf-aisles::-webkit-scrollbar { display: none; }
.kf-aisle {
	flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
	border-radius: 999px; border: 2px solid var(--kf-line); background: var(--kf-white);
	font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s;
}
.kf-aisle:hover { border-color: var(--kf-green-600); }
.kf-aisle .kf-ico { width: 17px; height: 17px; }
.kf-aisle__n {
	min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
	background: var(--kf-green-50); color: var(--kf-muted); font-size: .75rem; font-weight: 700;
}
.kf-aisle[aria-pressed="true"] { background: var(--kf-green-800); border-color: var(--kf-green-800); color: var(--kf-white); }
.kf-aisle[aria-pressed="true"] .kf-aisle__n { background: rgba(255, 255, 255, .18); color: var(--kf-white); }
.kf-aisle--mine { border-color: #F6C8A8; }
.kf-aisle--mine .kf-aisle__n { background: var(--kf-orange-100); color: var(--kf-orange-700); }
.kf-aisle--mine[aria-pressed="true"] { background: var(--kf-orange-700); border-color: var(--kf-orange-700); }

.kf-qs__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-top: 8px; }
.kf-qs__aisle { padding-top: 24px; scroll-margin-top: calc(var(--kf-head-h, 118px) + 70px); }
.kf-qs__h2 { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; margin-bottom: 8px; }
.kf-qs__emoji { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--kf-green-100); font-size: 1.4rem; }

.kf-rows { list-style: none; margin: 0; padding: 0; }
.kf-row {
	position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 4px 16px;
	padding: 14px 12px; border-bottom: 1px solid var(--kf-line); border-radius: 12px;
	transition: background-color .2s;
}
.kf-row::before {
	content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 2px;
	background: var(--kf-orange-600); transform: scaleY(0); transition: transform .25s var(--kf-ease);
}
.kf-row.is-picked { background: var(--kf-green-50); }
.kf-row.is-picked::before { transform: scaleY(1); }
.kf-row__media {
	display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; overflow: hidden;
	background: var(--kf-green-50); font-size: 2.1rem;
}
.kf-row.is-picked .kf-row__media { background: var(--kf-white); }
.kf-row__media img { width: 100%; height: 100%; object-fit: cover; }
.kf-row__media .kf-card__emoji { font-size: 2.1rem; filter: none; }
.kf-row__name { font-family: var(--kf-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin: 0; }
.kf-row__name a { color: var(--kf-ink); text-decoration: none; }
.kf-row__name a:hover { color: var(--kf-green-600); }
.kf-row__ws { margin-top: 8px; }
.kf-row__buy { display: grid; grid-template-columns: auto auto; align-items: center; justify-items: end; gap: 4px 14px; }
.kf-row__line { grid-column: 1 / -1; }
.kf-row__buy .kf-card__price { justify-content: flex-end; }
.kf-row__line { margin: 0; min-height: 0; font-size: .8rem; color: var(--kf-green-800); font-weight: 600; font-variant-numeric: tabular-nums; }
.kf-row.is-out .kf-row__media { opacity: .5; filter: grayscale(.6); }

.kf-qs__empty { text-align: center; padding: 48px 16px; }
.kf-qs__empty-emoji { font-size: 3rem; margin: 0 0 4px; }

.kf-qs__side { position: sticky; top: calc(var(--kf-head-h, 118px) + 76px); }
.kf-summary {
	padding: 22px; border-radius: var(--kf-r-card); border: 2px solid var(--kf-green-100); background: var(--kf-white);
	max-height: calc(100vh - var(--kf-head-h, 118px) - 100px); display: flex; flex-direction: column;
}
.kf-summary__title { font-size: 1.3rem; margin-bottom: 10px; }
.kf-summary__empty { color: var(--kf-muted); font-size: .92rem; }
.kf-summary__list { list-style: none; margin: 0 -6px; padding: 0 6px; overflow-y: auto; flex: 1; min-height: 0; }
.kf-summary__list li {
	display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: baseline;
	padding: 8px 0; border-bottom: 1px dashed var(--kf-line); font-size: .9rem; animation: kfStepIn .25s var(--kf-ease);
}
.kf-summary__q { font-weight: 800; color: var(--kf-orange-700); font-variant-numeric: tabular-nums; }
.kf-summary__n small { color: var(--kf-muted); font-size: .8rem; }
.kf-summary__p { font-weight: 700; font-variant-numeric: tabular-nums; }
.kf-summary__totals { margin: 12px 0 0; }
.kf-summary__go { width: 100%; margin-top: 14px; }
.kf-summary__go:disabled { opacity: .45; cursor: not-allowed; }

/* Totals (summary + basket) */
.kf-totals, .kf-summary__totals { display: grid; gap: 4px; }
.kf-totals > div, .kf-summary__totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.kf-totals dt, .kf-summary__totals dt { color: var(--kf-muted); }
.kf-totals dd, .kf-summary__totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.kf-totals .is-total, .kf-summary__totals .is-total { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--kf-line); }
.kf-totals .is-total dt, .kf-summary__totals .is-total dt { color: var(--kf-ink); font-weight: 700; }
.kf-totals .is-total dd, .kf-summary__totals .is-total dd { font-family: var(--kf-display); font-size: 1.35rem; font-weight: 800; color: var(--kf-green-950); }

/* 17. Basket drawer ---------------------------------------- */
.kf-basket { position: fixed; inset: 0; z-index: 130; visibility: hidden; }
.kf-basket.is-open { visibility: visible; }
.kf-basket__scrim { position: absolute; inset: 0; background: rgba(8, 48, 28, .55); opacity: 0; transition: opacity .3s; }
.kf-basket.is-open .kf-basket__scrim { opacity: 1; }
.kf-basket__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 460px);
	display: flex; flex-direction: column; background: var(--kf-white);
	transform: translateX(102%); transition: transform .38s var(--kf-ease);
	box-shadow: -20px 0 60px -30px rgba(8, 48, 28, .5);
}
.kf-basket.is-open .kf-basket__panel { transform: none; }
.kf-basket__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--kf-line); }
.kf-basket__title { display: flex; align-items: baseline; gap: 10px; font-size: 1.4rem; margin: 0; }
.kf-basket__n { font-family: var(--kf-body); font-size: .9rem; font-weight: 600; color: var(--kf-muted); letter-spacing: 0; }
.kf-basket__body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; overscroll-behavior: contain; }
.kf-basket__empty { text-align: center; padding: 48px 8px; color: var(--kf-muted); }
.kf-basket__empty-emoji { font-size: 3.4rem; margin: 0; }

.kf-lines { list-style: none; margin: 0; padding: 0; }
.kf-line {
	display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "m i x" "m q t";
	gap: 6px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--kf-line);
}
.kf-line__media { grid-area: m; align-self: start; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--kf-green-50); font-size: 1.6rem; }
.kf-line__media img { width: 100%; height: 100%; object-fit: cover; }
.kf-line__info { grid-area: i; min-width: 0; }
.kf-line__name { margin: 0; font-weight: 700; line-height: 1.3; }
.kf-line__meta { margin: 0; font-size: .85rem; color: var(--kf-muted); }
.kf-line__qty { grid-area: q; }
.kf-line__qty .kf-step { height: 34px; animation: none; }
.kf-line__qty .kf-step__btn { width: 32px; height: 34px; font-size: 1.1rem; }
.kf-line__total { grid-area: t; margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.kf-line__x {
	grid-area: x; justify-self: end; width: 32px; height: 32px; border: 0; border-radius: 50%;
	background: transparent; color: var(--kf-muted); font-size: 1.4rem; line-height: 1;
}
.kf-line__x:hover { background: var(--kf-orange-100); color: var(--kf-orange-700); }

.kf-order { margin-top: 22px; display: grid; gap: 14px; }
.kf-order__h { font-family: var(--kf-body); font-size: 1.05rem; letter-spacing: 0; margin: 0; }
.kf-order__address { display: grid; gap: 14px; }
.kf-order__address[hidden] { display: none; }
.kf-field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.kf-field > label:not(.kf-choice), .kf-field legend { font-size: .875rem; font-weight: 600; padding: 0; margin-bottom: 2px; }
.kf-field input[type="text"], .kf-field select, .kf-field textarea {
	width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px;
	border: 2px solid var(--kf-line); background: var(--kf-white); line-height: 1.4;
}
.kf-field textarea { resize: vertical; }
.kf-field input:focus, .kf-field select:focus, .kf-field textarea:focus { outline: none; border-color: var(--kf-green-600); }
.kf-field.has-error input, .kf-field.has-error select, .kf-field.has-error textarea { border-color: #B42318; }
.kf-field__err { margin: 0; color: #B42318; font-size: .82rem; font-weight: 600; }
.kf-choices { gap: 8px; }
.kf-choices--row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kf-choices--row legend { grid-column: 1 / -1; }
.kf-choice {
	display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
	border: 2px solid var(--kf-line); cursor: pointer; font-size: .92rem; transition: border-color .15s, background-color .15s;
}
.kf-choice input { accent-color: var(--kf-green-800); width: 18px; height: 18px; margin: 0; flex: none; }
.kf-choice:hover { border-color: #B9D3C1; }
.kf-choice:has(input:checked) { border-color: var(--kf-green-600); background: var(--kf-green-50); }
.kf-choice:has(input:focus-visible) { outline: 3px solid var(--kf-orange-600); outline-offset: 2px; }
.kf-choice--pickup { border-style: dashed; }
.kf-order__note { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--kf-green-50); color: var(--kf-muted); font-size: .85rem; }

.kf-basket__foot { padding: 14px 20px 18px; border-top: 1px solid var(--kf-line); background: var(--kf-white); display: grid; gap: 10px; }
.kf-basket__foot[hidden] { display: none; }
.kf-basket__warn { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--kf-orange-100); color: #6B3210; font-size: .88rem; font-weight: 600; }
.kf-basket__send { width: 100%; min-height: 54px; font-size: 1.05rem; }
.kf-basket__send:disabled { opacity: .45; cursor: not-allowed; }
.kf-basket__clear { justify-self: center; border: 0; background: none; color: var(--kf-muted); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; padding: 4px 8px; }
.kf-basket__clear:hover { color: var(--kf-orange-700); }

.kf-basket__done {
	position: absolute; inset: 0; z-index: 2; background: var(--kf-white);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px;
	padding: 32px 28px;
}
.kf-basket__done[hidden] { display: none; }
.kf-basket__done-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 0 12px; border-radius: 50%; background: var(--kf-wa); color: var(--kf-white); animation: kfPop .5s var(--kf-ease); }
.kf-basket__done-icon .kf-ico { width: 40px; height: 40px; stroke-width: 2.5; }
.kf-basket__done-title { font-size: 1.6rem; outline: none; }
.kf-basket__done p { max-width: 34ch; color: var(--kf-muted); }
.kf-basket__oid strong { font-family: var(--kf-display); color: var(--kf-green-950); font-size: 1.15rem; letter-spacing: .02em; }
.kf-basket__done-help { font-size: .88rem; }
.kf-basket__done-actions { display: grid; gap: 10px; width: 100%; max-width: 300px; margin-top: 12px; }

/* 18. Sticky bar & fly ------------------------------------- */
.kf-bar {
	position: fixed; left: 50%; bottom: 14px; z-index: 70; width: min(560px, calc(100% - 28px));
	transform: translateX(-50%); animation: kfBarIn .35s var(--kf-ease);
}
.kf-bar[hidden] { display: none; }
.kf-bar__btn {
	display: flex; align-items: center; gap: 12px; width: 100%; height: 60px; padding: 0 8px 0 10px;
	border: 0; border-radius: 999px; background: var(--kf-green-950); color: var(--kf-white); text-align: left;
	box-shadow: 0 18px 40px -16px rgba(8, 48, 28, .7);
}
.kf-bar__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); flex: none; }
.kf-bar__count { font-size: .9rem; color: #C7DCCF; display: inline-block; margin-right: 4px; white-space: nowrap; }
.kf-bar__count.is-bump { animation: kfBump .45s var(--kf-ease); }
.kf-bar__total { font-family: var(--kf-display); font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.kf-bar__cta { margin-left: auto; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--kf-orange-700); font-weight: 700; }
.kf-bar-on .kf-wa-float { bottom: 92px; }
.kf-bar-on body { padding-bottom: 84px; }
.kf-wa-float { transition: transform .25s var(--kf-ease), bottom .3s var(--kf-ease); }

.kf-fly {
	position: fixed; z-index: 300; width: 56px; height: 56px; pointer-events: none;
	display: grid; place-items: center; font-size: 2.6rem; line-height: 1; border-radius: 50%; object-fit: cover;
}

.kf-how__cta { margin: clamp(24px, 3vw, 36px) 0 0; }

/* 19. Product page buy box --------------------------------- */
.kf-buy { margin: 20px 0 8px; padding: 20px; border-radius: var(--kf-r-card); border: 2px solid var(--kf-green-100); display: grid; gap: 4px; }
.kf-buy__ta { font-size: 1rem; }
.kf-buy__label { margin: 8px 0 0; font-size: .875rem; font-weight: 600; }
.kf-buy__ws { margin-top: 6px; }
.kf-buy__ws .kf-w { min-height: 38px; padding: 0 16px; font-size: .92rem; }
.kf-buy__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.kf-buy .kf-price { font-size: 1.5rem; padding: 6px 14px 6px 22px; }
.kf-buy .kf-add, .kf-buy .kf-step { height: 48px; min-height: 48px; }
.kf-buy .kf-add { padding: 0 32px; font-size: 1rem; background: var(--kf-orange-700); border-color: var(--kf-orange-700); color: var(--kf-white); }
.kf-buy .kf-add:hover { background: #A63905; border-color: #A63905; }
.kf-buy .kf-step__btn { width: 46px; height: 48px; }
.kf-buy__solo { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .92rem; }
.kf-buy__solo .kf-ico { color: var(--kf-wa); }

@keyframes kfStepIn { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes kfBarIn { from { transform: translate(-50%, 120%); } to { transform: translate(-50%, 0); } }
@keyframes kfPop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

/* ==========================================================
   PHASE 3 — recipe kits, festival mode, free-delivery bar, budget
   20. Recipe kits  21. Festival mode  22. Free delivery  23. Budget
   ========================================================== */

/* 20. Recipe kits ------------------------------------------ */
.kf-kits-section { padding-top: 0; }
.kf-kits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kf-kit {
	position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%;
	padding: 20px; border-radius: var(--kf-r-card); border: 1px solid var(--kf-line); background: var(--kf-white);
	transition: border-color .2s, box-shadow .25s;
}
.kf-kit:hover { border-color: #B9D3C1; box-shadow: var(--kf-shadow); }
.kf-kit__head { display: flex; align-items: center; gap: 14px; }
.kf-kit__media {
	flex: none; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; overflow: hidden;
	background: var(--kf-orange-100); font-size: 2.2rem;
}
.kf-kit__media img { width: 100%; height: 100%; object-fit: cover; }
.kf-kit__title { font-size: 1.3rem; margin: 0; }
.kf-kit__meta { margin: 2px 0 0; font-size: .88rem; color: var(--kf-muted); }
.kf-kit__desc { margin: 0; font-size: .92rem; color: var(--kf-muted); }
.kf-kit__badge {
	display: inline-block; margin: 0 0 4px; padding: 2px 10px; border-radius: 999px;
	background: var(--kf-fest-b, var(--kf-tag)); color: var(--kf-green-950); font-size: .75rem; font-weight: 700;
}
.kf-kit.is-festival { border-color: var(--kf-fest-a, var(--kf-green-600)); box-shadow: inset 0 4px 0 var(--kf-fest-a, var(--kf-green-600)); }

.kf-kit__items { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--kf-line); }
.kf-kit__item label {
	display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px;
	padding: 7px 0; border-bottom: 1px dashed var(--kf-line); cursor: pointer; font-size: .92rem;
}
.kf-kit__item input { width: 18px; height: 18px; margin: 0; accent-color: var(--kf-green-800); }
.kf-kit__name small { display: block; font-size: .78rem; color: var(--kf-muted); }
.kf-kit__p { font-weight: 700; font-variant-numeric: tabular-nums; }
.kf-kit__item.is-skipped .kf-kit__name, .kf-kit__item.is-skipped .kf-kit__p { color: var(--kf-muted); text-decoration: line-through; text-decoration-color: rgba(82, 100, 90, .5); }
.kf-kit__item.is-out label { cursor: not-allowed; opacity: .55; }
.kf-kit__hint { margin: 0; font-size: .8rem; color: var(--kf-muted); }
.kf-kit__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.kf-kit__foot .kf-price { font-size: 1.3rem; }
.kf-kit__add { min-height: 46px; padding: 0 18px; font-size: .95rem; }
.kf-kit__add:disabled { opacity: .5; cursor: not-allowed; }
.kf-kit.is-added .kf-kit__add { background: var(--kf-green-800); }

/* Quick Shop kits rail */
.kf-qs__kits { margin-top: 20px; border: 2px solid var(--kf-green-100); border-radius: var(--kf-r-card); background: var(--kf-green-50); }
.kf-qs__kits > summary {
	display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none;
	font-family: var(--kf-display); font-weight: 750; font-size: 1.25rem; color: var(--kf-green-950);
}
.kf-qs__kits > summary::-webkit-details-marker { display: none; }
.kf-qs__kits > summary::after {
	content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
	transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--kf-ease);
}
.kf-qs__kits[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.kf-qs__kits-title small { display: block; font-family: var(--kf-body); font-weight: 500; font-size: .85rem; color: var(--kf-muted); letter-spacing: 0; }
.kf-qs__kits .kf-aisle__n { background: var(--kf-white); }
.kf-kits--rail {
	grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(290px, 46%);
	overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 16px; gap: 14px;
}
.kf-kits--rail > * { scroll-snap-align: start; }
.kf-kits--rail { align-items: start; }

/* 21. Festival mode ---------------------------------------- */
.kf-fest--pongal    { --kf-fest-a: #1F6B2E; --kf-fest-b: #F4B400; --kf-fest-c: #7A3E12; --kf-fest-flower: #F57C00; }
.kf-fest--deepavali { --kf-fest-a: #5B1A3A; --kf-fest-b: #F2B705; --kf-fest-c: #E8590C; --kf-fest-flower: #FF8F00; }
.kf-fest--christmas { --kf-fest-a: #9E1B1B; --kf-fest-b: #F5D06F; --kf-fest-c: #1E5631; --kf-fest-flower: #FFFFFF; }

.kf-fest .kf-announce { background: var(--kf-fest-a); color: #FFF6E0; }
.kf-announce__emoji { font-size: 1.1rem; line-height: 1; }

/* Thoranam: a string of mango leaves with marigolds, as hung over doorways */
.kf-thoranam {
	height: 18px; background-color: var(--kf-white);
	background-image:
		radial-gradient(circle at 8px 11px, var(--kf-fest-flower) 3.5px, transparent 4px),
		linear-gradient(135deg, var(--kf-fest-a) 25%, transparent 25%),
		linear-gradient(225deg, var(--kf-fest-a) 25%, transparent 25%);
	background-size: 16px 18px, 16px 16px, 16px 16px;
	background-position: 0 0, -8px 0, -8px 0;
	background-repeat: repeat-x;
	border-top: 3px solid var(--kf-fest-b);
}
.kf-fest--christmas .kf-thoranam {
	height: 8px; border-top: 0;
	background-image: repeating-linear-gradient(45deg, var(--kf-fest-a) 0 10px, #FFFFFF 10px 20px, var(--kf-fest-c) 20px 30px, #FFFFFF 30px 40px);
	background-size: auto; background-position: 0 0;
}

.kf-festband { padding-top: clamp(28px, 4vw, 44px); }
.kf-festband__box {
	position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	align-items: center; gap: 24px; padding: clamp(26px, 4vw, 52px); border-radius: var(--kf-r-hero);
}
.kf-festband__copy { position: relative; z-index: 1; }
.kf-festband__title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .3em; }
.kf-festband__copy p { max-width: 50ch; margin-bottom: 1.4em; font-size: 1.05rem; }
.kf-festband__btn { background: var(--kf-fest-a); color: #FFFFFF; }
.kf-festband__btn:hover { filter: brightness(1.12); color: #FFFFFF; }
.kf-festband__decor { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-end; gap: clamp(6px, 1.4vw, 16px); font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1; }
.kf-festband__decor span { display: inline-block; animation: kfBob 4.6s ease-in-out infinite alternate; }
.kf-festband__decor span:nth-child(2n) { animation-delay: -1.8s; animation-duration: 5.4s; }
.kf-festband__decor span:nth-child(3n) { animation-delay: -3s; }

/* Pongal: kolam dots on turmeric cream */
.kf-festband--pongal .kf-festband__box {
	background:
		radial-gradient(circle, rgba(122, 62, 18, .22) 1.6px, transparent 2.2px) 0 0 / 24px 24px,
		#FFF3CF;
	color: #4A2A10;
}
.kf-festband--pongal .kf-festband__title { color: #5A2E0C; }

/* Deepavali: night sky with flickering diyas */
.kf-festband--deepavali .kf-festband__box {
	background: radial-gradient(70% 90% at 78% 70%, rgba(242, 183, 5, .28), transparent 70%), #2A0E1C;
	color: #F8E7C9;
}
.kf-festband--deepavali .kf-festband__title { color: var(--kf-fest-b); }
.kf-festband--deepavali .kf-festband__btn { background: var(--kf-fest-b); color: #2A0E1C; }
.kf-festband--deepavali .kf-festband__btn:hover { color: #2A0E1C; }
.kf-festband--deepavali .kf-festband__decor span { animation: kfFlicker 2.4s ease-in-out infinite alternate; filter: drop-shadow(0 0 10px rgba(255, 170, 0, .7)); }
.kf-festband--deepavali .kf-festband__decor span:nth-child(2n) { animation-duration: 1.9s; animation-delay: -.7s; }
.kf-festband--deepavali .kf-festband__decor span:nth-child(3n) { animation-duration: 2.8s; animation-delay: -1.3s; }

/* Christmas: red with falling snow */
.kf-festband--christmas .kf-festband__box { background: #9E1B1B; color: #FFF1EC; }
.kf-festband--christmas .kf-festband__title { color: #FFFFFF; }
.kf-festband--christmas .kf-festband__btn { background: #FFFFFF; color: #9E1B1B; }
.kf-festband--christmas .kf-festband__btn:hover { color: #9E1B1B; }
.kf-snow { position: absolute; inset: 0; pointer-events: none; }
.kf-snow i { position: absolute; top: -10px; border-radius: 50%; background: rgba(255, 255, 255, .85); animation: kfSnow 8s linear infinite; }

/* 22. Free-delivery progress ------------------------------- */
.kf-free { display: grid; gap: 6px; }
.kf-free__text { margin: 0; font-size: .88rem; font-weight: 600; color: var(--kf-green-950); }
.kf-free__track { position: relative; height: 8px; border-radius: 999px; background: var(--kf-green-100); }
.kf-free__fill {
	position: relative; display: block; height: 100%; width: 0; border-radius: 999px;
	background: linear-gradient(90deg, var(--kf-orange-600), #F78A3C); transition: width .6s var(--kf-ease), background-color .3s;
}
.kf-free__truck { position: absolute; right: -12px; top: 50%; margin-top: -11px; font-size: 1.1rem; line-height: 1; transform: scaleX(-1); }
.kf-free.is-done .kf-free__fill { background: var(--kf-green-600); }
.kf-free.is-done .kf-free__text { color: var(--kf-green-600); }
.kf-free.is-celebrate .kf-free__text { animation: kfPop .6s var(--kf-ease); }
.kf-free--summary { margin: 12px 0 4px; }
.kf-free--basket { padding-bottom: 6px; }

.kf-bar__btn { position: relative; overflow: hidden; }
.kf-bar__free { position: absolute; left: 28px; right: 28px; bottom: 5px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.kf-bar__free > span { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--kf-tag); transition: width .6s var(--kf-ease); }
.kf-bar__free.is-done > span { background: #5FD38D; }

/* 23. Budget meter ----------------------------------------- */
.kf-budget { margin: 12px 0 4px; padding: 10px 12px; border: 1.5px dashed var(--kf-line); border-radius: 12px; font-size: .9rem; }
.kf-budget[hidden] { display: none; }
.kf-budget__unset { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.kf-budget__set { border: 0; background: none; padding: 4px 0; color: var(--kf-green-800); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.kf-budget__hint { color: var(--kf-muted); font-size: .82rem; }
.kf-budget__form { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kf-budget__cur { font-weight: 700; color: var(--kf-muted); }
.kf-budget__form input { width: 120px; height: 38px; padding: 0 10px; border: 2px solid var(--kf-line); border-radius: 10px; }
.kf-budget__form input:focus { outline: none; border-color: var(--kf-green-600); }
.kf-budget__save { height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--kf-green-800); color: var(--kf-white); font-weight: 700; }
.kf-budget__rm, .kf-budget__edit { border: 0; background: none; color: var(--kf-muted); font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.kf-budget__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 6px; }
.kf-budget__label { color: var(--kf-muted); }
.kf-budget__label strong { color: var(--kf-ink); }
.kf-budget__status { font-weight: 700; color: var(--kf-green-600); margin-left: auto; }
.kf-budget__edit { margin-left: 0; }
.kf-budget__track { height: 6px; border-radius: 999px; background: var(--kf-green-100); overflow: hidden; }
.kf-budget__fill { display: block; height: 100%; width: 0; background: var(--kf-green-600); transition: width .5s var(--kf-ease), background-color .3s; }
.kf-budget.is-warn .kf-budget__fill { background: #E0A100; }
.kf-budget.is-warn .kf-budget__status { color: #8A5A00; }
.kf-budget.is-over { border-style: solid; border-color: #F3B8B0; background: #FFF6F5; }
.kf-budget.is-over .kf-budget__fill { background: #B42318; }
.kf-budget.is-over .kf-budget__status { color: #B42318; }
.kf-bar__total.is-over { color: #FFB4A8; }

@keyframes kfFlicker { 0% { transform: scale(1) rotate(-2deg); opacity: .9; } 50% { transform: scale(1.06) rotate(1deg); opacity: 1; } 100% { transform: scale(.97) rotate(2deg); opacity: .85; } }
@keyframes kfSnow { from { transform: translateY(0); } to { transform: translateY(520px); } }

/* ==========================================================
   PHASE 4 — FAQ, prices-updated stamp
   ========================================================== */
.kf-stamp { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--kf-green-100); color: var(--kf-green-800); font-size: .85rem; font-weight: 600; }
.kf-stamp .kf-ico { width: 15px; height: 15px; }
.kf-qs__stamp { grid-column: 1 / -1; margin-top: -4px; justify-self: start; }

.kf-faq { padding-top: 0; }
.kf-emoji-gallery { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--kf-r-card); background: var(--kf-green-50); font-size: clamp(6rem, 14vw, 10rem); line-height: 1; }
.kf-emoji-gallery span { filter: drop-shadow(0 16px 20px rgba(8, 48, 28, .2)); }
.kf-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.kf-faq__wa { margin-top: 20px; }
.kf-faq__item { border-bottom: 1px solid var(--kf-line); }
.kf-faq__item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem;
}
.kf-faq__item summary::-webkit-details-marker { display: none; }
.kf-faq__item summary::after {
	content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	background: var(--kf-green-50); color: var(--kf-green-800); font-size: 1.2rem; font-weight: 600; transition: transform .25s var(--kf-ease);
}
.kf-faq__item[open] summary::after { transform: rotate(45deg); background: var(--kf-orange-100); color: var(--kf-orange-700); }
.kf-faq__item p { margin: -4px 0 18px; color: var(--kf-muted); max-width: 64ch; }
@media (max-width: 960px) { .kf-faq__grid { grid-template-columns: 1fr; } }

/* 13. Motion ----------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--kf-ease), transform .7s var(--kf-ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes kfSway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes kfBob { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-10px) rotate(3deg); } }
@keyframes kfZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes kfProgress { from { width: 0; } to { width: 100%; } }
@keyframes kfBump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* 14. Responsive ------------------------------------------- */
@media (max-width: 1100px) {
	.kf-pill__label { display: none; }
	.kf-pill { padding: 0 14px; }
	.kf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kf-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.admin-bar .kf-header { top: 46px; }
	.kf-header__row {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "menu brand actions" "search search search";
		gap: 10px 12px;
	}
	.kf-header__menu { display: inline-grid; }
	.kf-brand__name { font-size: 1.3rem; }
	.kf-brand__mark { width: 34px; height: 34px; }
	.kf-search { max-width: none; }
	.kf-search input { height: 44px; }
	.kf-search button { width: 34px; height: 34px; }
	.kf-pill--wa { display: none; }
	.kf-nav { display: none; }

	.kf-slide { grid-template-columns: 1fr; text-align: left; min-height: 0; padding-bottom: 32px; gap: 8px; }
	.kf-slide__art { order: -1; min-height: 240px; }
	.kf-pile { width: min(68vw, 280px); }
	.kf-slide__img { width: min(70vw, 300px); }
	.kf-hangtag { right: 2%; top: 0; padding-top: 30px; }
	.kf-hangtag::before { height: 48px; }
	.kf-hangtag__card { min-width: 108px; padding: 30px 14px 14px; }

	.kf-cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	/* Product rail scrolls sideways on tablets and phones */
	.kf-grid {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(210px, 40%);
		overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(16px, 4vw, 32px);
		margin-inline: calc(clamp(16px, 4vw, 32px) * -1); padding: 4px clamp(16px, 4vw, 32px) 14px;
		scrollbar-width: thin;
	}
	.kf-grid > * { scroll-snap-align: start; }

	.kf-how__steps { grid-template-columns: 1fr; }
	.kf-how__step { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; }
	.kf-how__num { grid-row: span 2; margin: 0; }
	.kf-how__step:not(:last-child)::after { display: none; }

	.kf-offer__box { grid-template-columns: 1fr; }
	.kf-offer__tag { order: -1; min-height: 180px; }

	.kf-delivery__grid { grid-template-columns: 1fr; }
	.kf-shop div.product { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.kf-announce { font-size: .8rem; }
	.kf-pill--basket { height: 42px; padding: 0 12px; }
	.kf-slide__title { font-size: clamp(2.1rem, 9vw, 2.6rem); }
	.kf-slide__cta .kf-btn { flex: 1 1 100%; }
	.kf-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.kf-cat { padding: 14px 6px; }
	.kf-cat__icon { width: 56px; height: 56px; font-size: 1.8rem; }
	.kf-cat__name { font-size: .88rem; }
	.kf-grid { grid-auto-columns: 70%; }
	.kf-footer__grid { grid-template-columns: 1fr; }
	.kf-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.kf-shop .kf-card__foot { flex-direction: column; align-items: stretch; }
	.kf-wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (max-width: 380px) {
	.kf-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phase 2 responsive ---------------------------------------- */
@media (min-width: 1025px) {
	.kf-has-summary .kf-bar { display: none; }
	.kf-has-summary.kf-bar-on body { padding-bottom: 0; }
	.kf-has-summary.kf-bar-on .kf-wa-float { bottom: 18px; }
}
@media (max-width: 1024px) {
	.kf-qs__layout { grid-template-columns: 1fr; }
	.kf-qs__side { display: none; }
}
@media (max-width: 960px) {
	.kf-qs__head { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.kf-row { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "m i" "b b"; padding: 12px 6px 12px 10px; }
	.kf-row__media { grid-area: m; width: 52px; height: 52px; align-self: start; font-size: 1.7rem; }
	.kf-row__info { grid-area: i; }
	.kf-row__buy { grid-area: b; grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; margin-top: 8px; padding-left: 68px; }
	.kf-row__line { grid-column: 2; grid-row: 1; justify-self: end; }
	.kf-row__buy .kf-action { grid-column: 3; grid-row: 1; }
	.kf-row__buy .kf-card__price { grid-column: 1; grid-row: 1; }

	.kf-basket__panel {
		top: auto; left: 0; width: 100%; height: min(92vh, 100%); border-radius: 22px 22px 0 0;
		transform: translateY(102%);
	}
	.kf-basket__head { position: relative; padding-top: 22px; }
	.kf-basket__head::before { content: ""; position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: var(--kf-line); }
	.kf-bar__btn { height: 56px; gap: 8px; }
	.kf-basket__foot { gap: 8px; padding: 10px 16px 14px; }
	.kf-basket__body { padding-inline: 16px; }
	.kf-totals > div { font-size: .88rem; }
	.kf-totals .is-total dd { font-size: 1.2rem; }
	.kf-basket__send { min-height: 50px; }
	.kf-bar__cta { padding: 0 16px; height: 42px; }
	.kf-card__foot { flex-wrap: wrap; }
	.kf-card .kf-action { min-width: 0; flex: 1 1 100%; }
	.kf-card .kf-add, .kf-card .kf-step { width: 100%; justify-content: space-between; }
	.kf-card .kf-add { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.kf-bar { animation: none; }
}

/* Phase 3 responsive ---------------------------------------- */
@media (max-width: 1100px) {
	.kf-kits--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.kf-festband__box { grid-template-columns: 1fr; }
	.kf-festband__decor { order: -1; justify-content: flex-start; }
}
@media (max-width: 700px) {
	.kf-kits--home {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
		overflow-x: auto; scroll-snap-type: x mandatory;
		margin-inline: calc(clamp(16px, 4vw, 32px) * -1); padding: 4px clamp(16px, 4vw, 32px) 14px;
	}
	.kf-kits--home > * { scroll-snap-align: start; }
	.kf-kits--home { align-items: start; }
	.kf-kits--rail { grid-auto-columns: 86%; }
	.kf-kit__foot { flex-wrap: wrap; }
	.kf-kit__add { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
	.kf-snow { display: none; }
}
