/* ==========================================================================
   Karudan Crackers
   Mobile-first, no framework. Brand colours are taken from the logo:
   red wordmark, gold eagle mark, deep blue sub-wordmark.
   ========================================================================== */

:root {
	--red: #d91e26;
	--red-dark: #a3151c;
	--red-deep: #7a0f14;
	--gold: #f5b921;
	--gold-deep: #c4870a;
	--blue: #1b3a93;
	--green: #1f9d55;
	--whatsapp: #25d366;

	--ink: #1a1512;
	--ink-soft: #574c46;
	--ink-faint: #8a7d75;
	--line: #ece2d8;
	--line-strong: #d9cabc;
	--surface: #ffffff;
	--cream: #fff9f0;
	--cream-deep: #fdf1de;

	--radius-s: 8px;
	--radius: 14px;
	--radius-l: 22px;

	--shadow-s: 0 1px 2px rgba(26, 21, 18, .06), 0 2px 6px rgba(26, 21, 18, .05);
	--shadow: 0 2px 6px rgba(26, 21, 18, .07), 0 12px 28px -12px rgba(26, 21, 18, .22);
	--shadow-l: 0 18px 50px -18px rgba(122, 15, 20, .38);

	--wrap: 1220px;
	--gap: 20px;
	--header-h: 68px;

	--font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--cream);
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
p { margin: 0 0 1em; }

/* :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; } */

.kc-wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.kc-section { padding-block: clamp(40px, 6vw, 76px); }
.kc-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius-s) 0;
}
.kc-skip:focus { left: 0; color: #fff; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* --------------------------------------------------------------- buttons */
.kc-btn {
	--btn-bg: var(--red);
	--btn-fg: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 24px; min-height: 46px;
	font: 700 .95rem/1 var(--font);
	color: var(--btn-fg); background: var(--btn-bg);
	border: 0; border-radius: 999px; cursor: pointer;
	text-decoration: none; text-align: center;
	transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
	box-shadow: var(--shadow-s);
}
.kc-btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.kc-btn:active { transform: translateY(0); }
.kc-btn--gold { --btn-bg: var(--gold); --btn-fg: #3a2600; }
.kc-btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border: 2px solid var(--line-strong); box-shadow: none; }
.kc-btn--ghost:hover { border-color: var(--red); --btn-fg: var(--red); }
.kc-btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #06301a; }
.kc-btn--block { width: 100%; }
.kc-btn--lg { padding: 16px 34px; min-height: 54px; font-size: 1.05rem; }
.kc-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------- header */
.kc-topbar {
	background: linear-gradient(90deg, var(--red-deep), var(--red-dark) 55%, var(--red));
	color: #fff; font-size: .82rem;
}
.kc-topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: center; padding: 7px 0; text-align: center; }
.kc-topbar a { color: #ffe6a8; text-decoration: none; font-weight: 600; }
.kc-topbar a:hover { color: #fff; text-decoration: underline; }
.kc-topbar__tag { color: var(--gold); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.kc-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.kc-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); justify-content: space-between; }
.kc-logo { flex: 0 0 auto; display: block; }
.kc-logo img { height: 40px; width: auto; }

.kc-nav { display: none; margin-left: auto; }
.kc-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.kc-nav a {
	display: block; padding: 10px 14px; border-radius: 999px;
	font-weight: 600; font-size: .94rem; color: var(--ink); text-decoration: none;
}
.kc-nav a:hover, .kc-nav .current-menu-item > a { background: var(--cream-deep); color: var(--red-dark); }

.kc-header__actions { display: flex; align-items: flex-end; gap: 8px; justify-items: right; }
.kc-nav ~ .kc-header__actions { margin-left: 0; }

.kc-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--line); background: var(--surface); color: var(--ink);
	cursor: pointer; text-decoration: none; position: relative;
}
.kc-icon-btn:hover { border-color: var(--red); color: var(--red); }
.kc-icon-btn svg { width: 21px; height: 21px; }

.kc-cart-count {
	position: absolute; top: -4px; right: -4px;
	min-width: 20px; height: 20px; padding: 0 5px;
	display: grid; place-items: center;
	background: var(--red); color: #fff;
	border-radius: 999px; font-size: .7rem; font-weight: 700;
	opacity: 0; transform: scale(.6); transition: .18s ease;
}
.kc-cart-count.is-filled { opacity: 1; transform: scale(1); }

.kc-header__wa { display: none; }

@media (min-width: 960px) {
	.kc-nav { display: block; }
	.kc-header__wa { display: inline-flex; }
	.kc-burger { display: none; }
}

/* ------------------------------------------------------------- mobile nav */
.kc-burger { display: inline-flex; }
.kc-drawer {
	position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); z-index: 200;
	background: var(--surface); box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .4);
	transform: translateX(100%); transition: transform .28s ease;
	display: flex; flex-direction: column; overflow-y: auto;
}
.kc-drawer.is-open { transform: translateX(0); }
/* A class selector outranks the UA's [hidden] rule, so restate it — otherwise
   the closed drawer stays in the layout and in the tab order. */
.kc-drawer[hidden], .kc-scrim[hidden] { display: none; }
.kc-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.kc-drawer nav ul { list-style: none; margin: 0; padding: 8px; }
.kc-drawer nav a { display: block; padding: 13px 12px; border-radius: var(--radius-s); font-weight: 600; color: var(--ink); text-decoration: none; }
.kc-drawer nav a:hover { background: var(--cream-deep); }
.kc-drawer__foot { margin-top: auto; padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.kc-scrim {
	position: fixed; inset: 0; z-index: 150; background: rgba(26, 21, 18, .5);
	opacity: 0; visibility: hidden; transition: .28s ease;
}
.kc-scrim.is-open { opacity: 1; visibility: visible; }
body.kc-locked { overflow: hidden; }

/* ------------------------------------------------------------------ hero */
.kc-hero {
	/* A night sky: fireworks drawn with additive blending are invisible against
	   the cream page background, so the hero band goes dark. */
	background:
		/* warm glow low on the horizon, the way a lit street reads at night */
		radial-gradient(80% 55% at 50% 108%, rgba(196, 78, 20, .55) 0%, transparent 70%),
		radial-gradient(90% 70% at 50% -10%, rgba(122, 15, 20, .5) 0%, transparent 65%),
		linear-gradient(180deg, #0d0604 0%, #150806 45%, #0b0503 100%);
	color: #fff6e9;
}
.kc-hero .kc-badge {
	background: rgba(255, 255, 255, .07);
	border-color: rgba(255, 226, 180, .18);
	color: #fff6e9;
	box-shadow: none;
	backdrop-filter: blur(4px);
}
.kc-hero .kc-badge svg { color: var(--gold); }
.kc-hero .kc-badge span { color: #e8cfae; }
.kc-hero .kc-badge strong { color: #fff; }
.kc-hero__banner { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); }
.kc-hero__banner img { width: 100%; }
.kc-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

.kc-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 26px; }
.kc-badge {
	display: flex; align-items: center; gap: 10px;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow-s);
}
.kc-badge svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--red); }
.kc-badge strong { display: block; font-size: .88rem; line-height: 1.25; }
.kc-badge span { font-size: .76rem; color: var(--ink-faint); }
@media (min-width: 720px) { .kc-badges { grid-template-columns: repeat(5, 1fr); } }

/* -------------------------------------------------------- section headers */
.kc-head { text-align: center; max-width: 660px; margin: 0 auto clamp(24px, 4vw, 44px); }
.kc-head__eyebrow {
	display: inline-block; margin-bottom: 10px; padding: 5px 14px;
	background: var(--cream-deep); color: var(--red-dark);
	border-radius: 999px; font-size: .74rem; font-weight: 800;
	letter-spacing: .1em; text-transform: uppercase;
}
.kc-head p { color: var(--ink-soft); margin: 0; }

/* ------------------------------------------------------------ category grid */
.kc-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (min-width: 640px) { .kc-cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .kc-cats { grid-template-columns: repeat(4, 1fr); } }

.kc-cat {
	position: relative; display: block; overflow: hidden;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); text-decoration: none; color: inherit;
	box-shadow: var(--shadow-s); transition: transform .18s ease, box-shadow .18s ease;
}
.kc-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.kc-cat__img { aspect-ratio: 1; background: var(--cream-deep); }
.kc-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.kc-cat__body { padding: 12px 14px 14px; border-top: 3px solid var(--accent, var(--red)); }
.kc-cat__name { font-weight: 700; font-size: .98rem; line-height: 1.25; }
.kc-cat__count { font-size: .8rem; color: var(--ink-faint); }

/* ------------------------------------------------------------- product tile */
.kc-tile {
	position: relative; display: grid; place-items: center;
	aspect-ratio: 1; width: 100%; overflow: hidden;
	border-radius: var(--radius-s);
	background:
		radial-gradient(120% 90% at var(--kc-tile-x, 50%) 0%, color-mix(in srgb, var(--kc-tile-accent, var(--red)) 62%, #fff) 0%, transparent 70%),
		linear-gradient(var(--kc-tile-angle, 155deg), var(--kc-tile-accent, var(--red)), color-mix(in srgb, var(--kc-tile-accent, var(--red)) var(--kc-tile-depth, 55%), #10060a));
	color: rgba(255, 255, 255, .92);
}
.kc-tile__burst { width: 46%; opacity: .9; }
.kc-tile__burst svg { width: 100%; height: auto; }
.kc-tile__meta {
	position: absolute; left: 0; right: 0; bottom: 0;
	display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
	padding: 8px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .45));
	font-size: .7rem;
}
.kc-tile__cat { font-weight: 600; opacity: .92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-tile__sku { font-weight: 800; letter-spacing: .04em; opacity: .85; flex: 0 0 auto; }
.kc-tile--mini { width: 56px; aspect-ratio: 1; border-radius: var(--radius-s); }
.kc-tile--mini .kc-tile__burst { width: 52%; }
.kc-tile--hero { border-radius: var(--radius); }
.kc-tile--hero .kc-tile__burst { width: 40%; }

/* ------------------------------------------------------------ product grid */
.kc-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
@media (min-width: 680px) { .kc-products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .kc-products { grid-template-columns: repeat(4, 1fr); } }

.kc-card {
	display: flex; flex-direction: column;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-s); transition: transform .18s ease, box-shadow .18s ease;
}
.kc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.kc-card__media { position: relative; padding: 10px 10px 0; }
.kc-card__media a { display: block; }
.kc-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kc-card__cat { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent, var(--red)); }
.kc-card__title { margin: 0; font-size: .98rem; line-height: 1.3; font-family: var(--font); font-weight: 700; }
.kc-card__title a { color: inherit; text-decoration: none; }
.kc-card__title a:hover { color: var(--red); }
.kc-card__meta { display: flex; align-items: baseline; gap: 8px; font-size: .78rem; color: var(--ink-faint); }
.kc-card__foot { margin-top: auto; display: grid; gap: 10px; }
.kc-card__price { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.kc-card__price .woocommerce-Price-amount { font-size: inherit; }
.kc-card .add_to_cart_button, .kc-card .added_to_cart {
	--btn-bg: var(--ink); --btn-fg: #fff;
	width: 100%; padding: 10px 14px; min-height: 42px;
	font-size: .84rem; white-space: nowrap;
}
.kc-card .add_to_cart_button.loading { opacity: .6; }
.kc-card .added_to_cart { --btn-bg: var(--green); }

/* ------------------------------------------------------- shop / archive shell */
.kc-shop { display: grid; gap: 26px; }
@media (min-width: 1000px) { .kc-shop { grid-template-columns: 244px 1fr; align-items: start; } }

.kc-rail {
	position: sticky; top: calc(var(--header-h) + 14px);
	max-height: calc(100vh - var(--header-h) - 30px); overflow-y: auto;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 8px;
}
.kc-rail h2 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); padding: 8px 10px 4px; margin: 0; }
.kc-rail ul { list-style: none; margin: 0; padding: 0; }
.kc-rail a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 9px 10px; border-radius: var(--radius-s);
	font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.kc-rail a:hover { background: var(--cream-deep); }
.kc-rail a.is-active { background: var(--red); color: #fff; }
.kc-rail a small { font-size: .76rem; opacity: .7; font-weight: 600; }
.kc-rail--mobile { position: static; max-height: none; }
@media (min-width: 1000px) { .kc-rail--mobile { display: none; } }
@media (max-width: 999px) { .kc-rail:not(.kc-rail--mobile) { display: none; } }

.kc-page-head { padding-block: clamp(22px, 3vw, 38px); border-bottom: 1px solid var(--line); background: var(--surface); }
.kc-page-head h1 { margin: 0 0 6px; }
.kc-page-head p { margin: 0; color: var(--ink-soft); }
.kc-crumbs { font-size: .82rem; color: var(--ink-faint); margin-bottom: 10px; }
.kc-crumbs a { color: var(--ink-soft); text-decoration: none; }
.kc-crumbs a:hover { color: var(--red); text-decoration: underline; }

.kc-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.kc-toolbar .woocommerce-result-count { margin: 0; font-size: .86rem; color: var(--ink-faint); }
.kc-toolbar .woocommerce-ordering select {
	padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
	background: var(--surface); font: inherit; font-size: .88rem;
}

/* ------------------------------------------------------------- price list */
.kc-pricelist { display: grid; gap: 26px; padding-bottom: 120px; }
@media (min-width: 1000px) { .kc-pricelist { grid-template-columns: 244px 1fr; align-items: start; } }

.kc-plgroup { margin-bottom: 30px; scroll-margin-top: calc(var(--header-h) + 20px); }
.kc-plgroup__head {
	display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
	padding: 10px 14px; border-radius: var(--radius);
	background: var(--accent, var(--red)); color: #fff;
}
.kc-plgroup__head img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.kc-plgroup__head h2 { margin: 0; font-size: 1.05rem; color: #fff; }
.kc-plgroup__head span { margin-left: auto; font-size: .8rem; opacity: .85; }

.kc-pltable { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kc-pltable th, .kc-pltable td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: .9rem; }
.kc-pltable thead th { background: var(--cream-deep); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.kc-pltable tbody tr:last-child td { border-bottom: 0; }
.kc-pltable tbody tr.is-active { background: #fffbea; }
.kc-pltable .col-code { width: 84px; font-weight: 700; color: var(--ink-faint); font-size: .82rem; }
.kc-pltable .col-content { width: 96px; color: var(--ink-soft); }
.kc-pltable .col-price, .kc-pltable .col-total { width: 110px; text-align: right; font-variant-numeric: tabular-nums; }
.kc-pltable .col-total { font-weight: 800; }
.kc-pltable .col-qty { width: 104px; }
.kc-pltable a { color: inherit; text-decoration: none; font-weight: 600; }
.kc-pltable a:hover { color: var(--red); }

.kc-qty { width: 88px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); font: inherit; font-size: .9rem; text-align: center; }
.kc-qty:focus { border-color: var(--red); }

@media (max-width: 720px) {
	.kc-pltable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
	.kc-pltable, .kc-pltable tbody, .kc-pltable tr, .kc-pltable td { display: block; width: 100%; }
	.kc-pltable tr { border-bottom: 1px solid var(--line); padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
	.kc-pltable td { border: 0; padding: 0; }
	.kc-pltable .col-name { grid-column: 1 / -1; font-weight: 700; }
	.kc-pltable .col-code, .kc-pltable .col-content { display: inline-block; width: auto; font-size: .78rem; }
	.kc-pltable .col-code::after { content: " ·"; }
	.kc-pltable .col-price { text-align: left; }
	.kc-pltable .col-price::before { content: "Price: "; color: var(--ink-faint); }
	.kc-pltable .col-qty { grid-column: 2; grid-row: 3 / span 2; align-self: center; }
	.kc-pltable .col-total::before { content: "Total: "; color: var(--ink-faint); font-weight: 400; }
	.kc-pltable .col-total { text-align: left; }
}

.kc-plbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	background: rgba(26, 21, 18, .97); color: #fff;
	box-shadow: 0 -8px 30px -10px rgba(0, 0, 0, .5);
	padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}
.kc-plbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.kc-plbar__stat { display: flex; flex-direction: column; line-height: 1.15; }
.kc-plbar__stat small { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.kc-plbar__stat strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.kc-plbar__stat--total strong { color: var(--gold); font-size: 1.25rem; }
.kc-plbar__actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.kc-plbar__hint { font-size: .78rem; opacity: .75; flex-basis: 100%; }
.kc-plbar__hint.is-warn { color: #ffc9a3; opacity: 1; }
@media (max-width: 560px) {
	.kc-plbar__stat--saved { display: none; }
	.kc-plbar__actions { width: 100%; }
	.kc-plbar__actions .kc-btn { flex: 1; }
}

/* -------------------------------------------------------------- single product */
.kc-single { display: grid; gap: 28px; padding-block: clamp(24px, 4vw, 48px); }
@media (min-width: 900px) { .kc-single { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; } }
.kc-product-media { display: grid; gap: 14px; }
.kc-product-media .kc-tile--hero { box-shadow: var(--shadow); }
.kc-product-media__cat { margin: 0; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.kc-product-media__cat img { width: 72px; height: 72px; border-radius: var(--radius-s); object-fit: cover; }
.kc-product-media__cat figcaption { font-size: .86rem; color: var(--ink-soft); }
.kc-safety-note { font-size: .82rem; color: var(--ink-faint); border-left: 3px solid var(--gold); padding-left: 12px; margin-top: 16px; }

.woocommerce div.product .product_title { margin-bottom: 8px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.woocommerce .quantity input[type="number"] {
	width: 96px; padding: 12px; text-align: center;
	border: 1px solid var(--line-strong); border-radius: var(--radius-s); font: inherit;
}
.woocommerce div.product form.cart .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--red); color: #fff; border-radius: 999px; padding: 13px 26px;
	font-weight: 700; font-size: .95rem; border: 0; line-height: 1;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--red-dark); color: #fff; }
.woocommerce .product_meta { font-size: .84rem; color: var(--ink-faint); border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------------------------------------------------- woocommerce commons */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	border-radius: var(--radius); border: 1px solid var(--line);
	border-top: 3px solid var(--green); background: var(--surface);
	padding: 14px 18px; margin: 0 0 20px; list-style: none;
	box-shadow: var(--shadow-s);
}
.woocommerce-info { border-top-color: var(--blue); }
.woocommerce-error { border-top-color: var(--red); }
.woocommerce-message .button, .woocommerce-error .button, .woocommerce-info .button { float: right; margin-left: 12px; }

.woocommerce table.shop_table {
	border: 1px solid var(--line); border-radius: var(--radius);
	border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--surface); width: 100%;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px; border-bottom: 1px solid var(--line); }
.woocommerce table.shop_table thead th { background: var(--cream-deep); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.woocommerce table.cart img { width: 56px; }

.woocommerce .cart-collaterals, .woocommerce-cart .cart-collaterals .cart_totals { width: 100%; }
.woocommerce-cart .cart-collaterals .cart_totals h2 { font-size: 1.2rem; }
.woocommerce-checkout .col2-set { display: grid; gap: 24px; }
@media (min-width: 900px) { .woocommerce-checkout .col2-set { grid-template-columns: 1fr; } }
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 5px; margin: 0 0 14px; }
.woocommerce form .form-row label { font-weight: 600; font-size: .88rem; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong);
	border-radius: var(--radius-s); font: inherit; background: var(--surface); min-height: 48px;
}
.woocommerce form .form-row textarea { min-height: 96px; }
.woocommerce .required { color: var(--red); }

.kc-checkout { display: grid; gap: 26px; padding-block: clamp(24px, 4vw, 48px); }
@media (min-width: 980px) { .kc-checkout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: start; } }
.kc-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-s); }
.kc-panel > h2, .kc-panel > h3 { margin-top: 0; }
#order_review { position: sticky; top: calc(var(--header-h) + 14px); }

.woocommerce-checkout #payment { background: var(--cream-deep); border-radius: var(--radius); padding: 16px; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 0 0 12px; padding: 0; border: 0; }
.woocommerce-checkout #payment div.payment_box { background: var(--surface); border-radius: var(--radius-s); padding: 12px 14px; font-size: .88rem; margin-top: 8px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment #place_order { width: 100%; }

/* ---------------------------------------------------------- order handoff */
.kc-handoff {
	display: grid; gap: 22px; align-items: center;
	background: linear-gradient(140deg, #0f2f1c, #14532d);
	color: #eafff2; border-radius: var(--radius-l);
	padding: clamp(20px, 4vw, 36px); margin-bottom: 28px;
	box-shadow: var(--shadow-l);
}
@media (min-width: 800px) { .kc-handoff { grid-template-columns: 1fr auto; } }
.kc-handoff__eyebrow { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin: 0 0 6px; }
.kc-handoff__title { color: #fff; margin: 0 0 10px; }
.kc-handoff__lead { color: #cdebd9; margin: 0 0 18px; }
.kc-handoff__lead strong { color: #fff; }
.kc-handoff__alt { margin: 14px 0 0; font-size: .9rem; color: #a9d6bd; }
.kc-handoff__alt a { color: var(--gold); font-weight: 700; }
.kc-handoff__qr { margin: 0; text-align: center; background: #fff; border-radius: var(--radius); padding: 14px; }
.kc-handoff__qr img { width: 220px; height: 220px; margin-inline: auto; }
.kc-handoff__qr figcaption { font-size: .76rem; color: var(--ink-soft); margin-top: 8px; max-width: 220px; }

/* ------------------------------------------------------------- whatsapp band */
.kc-band {
	background: linear-gradient(135deg, var(--red-deep), var(--red-dark) 60%, #c0392b);
	color: #fff; border-radius: var(--radius-l); padding: clamp(24px, 4vw, 40px);
	display: grid; gap: 18px; align-items: center; text-align: center;
	box-shadow: var(--shadow-l);
}
@media (min-width: 800px) { .kc-band { grid-template-columns: 1fr auto; text-align: left; } }
.kc-band h2 { color: #fff; margin: 0 0 6px; }
.kc-band p { margin: 0; color: #ffdede; }
.kc-band__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ------------------------------------------------------------------ content */
.kc-content { padding-block: clamp(28px, 4vw, 56px); }
.kc-prose { max-width: 74ch; }
.kc-prose h2 { margin-top: 1.6em; }
.kc-prose ul, .kc-prose ol { padding-left: 1.3em; }
.kc-prose li { margin-bottom: .4em; }
.kc-prose img { border-radius: var(--radius); }

.kc-contact-grid { display: grid; gap: var(--gap); }
@media (min-width: 760px) { .kc-contact-grid { grid-template-columns: repeat(3, 1fr); } }
.kc-contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-s); }
.kc-contact-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.kc-contact-card a { font-weight: 700; }

.kc-maps { display: grid; gap: var(--gap); margin-top: var(--gap); }
@media (min-width: 800px) { .kc-maps { grid-template-columns: repeat(2, 1fr); } }
/* The route maps carry small Tamil signboard text, so on the contact page they
   run one-per-row at full width instead of being halved. */
.kc-maps--large { grid-template-columns: 1fr; max-width: none; }
@media (min-width: 800px) { .kc-maps--large { grid-template-columns: 1fr; } }
.kc-maps--large img { width: 100%; }
.kc-maps--large figcaption { font-size: .9rem; padding: 12px 16px; }
.kc-maps figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kc-maps figcaption { padding: 10px 14px; font-size: .84rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------- footer */
.kc-footer { background: #17120f; color: #cbbfb6; margin-top: clamp(40px, 6vw, 80px); }
.kc-footer a { color: #e9dcd1; text-decoration: none; }
.kc-footer a:hover { color: var(--gold); text-decoration: underline; }
.kc-footer__grid { display: grid; gap: 28px; padding-block: clamp(32px, 5vw, 56px); }
@media (min-width: 760px) { .kc-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.kc-footer__heading { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.kc-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.kc-footer__logo img { height: 46px; width: auto; margin-bottom: 12px; }
.kc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 16px; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.kc-footer__safety { background: rgba(245, 185, 33, .1); border: 1px solid rgba(245, 185, 33, .3); border-radius: var(--radius); padding: 12px 16px; font-size: .84rem; color: #f3e2c6; }

/* pagination */
.woocommerce nav.woocommerce-pagination { margin-top: 30px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 42px; padding: 10px 12px; border-radius: var(--radius-s);
	background: var(--surface); border: 1px solid var(--line); font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--red); color: #fff; border-color: var(--red); }

/* ------------------------------------------------- woocommerce grid resets */
/* Belt and braces: even if a WooCommerce layout sheet loads, the grid wins. */
.kc-products { margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products.kc-products::before,
.woocommerce ul.products.kc-products::after,
.kc-products::before, .kc-products::after { content: none; display: none; }
.kc-products li.product {
	float: none; width: auto; margin: 0; padding: 0; clear: none;
}
.woocommerce ul.products.kc-products li.product { width: auto; margin: 0; float: none; }
.woocommerce ul.products.kc-products li.product a img { margin: 0; }
.woocommerce ul.products.kc-products li.product .kc-card__title { font-size: .98rem; }
.woocommerce .kc-products li.product .price { color: inherit; font-size: inherit; }
.woocommerce .kc-products li.product .price del,
.woocommerce .kc-products li.product .price ins { display: inline; }

/* --------------------------------------------------------- cart & checkout */
.kc-wc { width: 100%; }

/* Checkout: details on the left, a sticky order summary on the right. */
.woocommerce-checkout form.checkout { display: grid; gap: 26px; }
.woocommerce-checkout form.checkout #customer_details,
.woocommerce-checkout form.checkout #order_review {
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius-l); padding: clamp(18px, 3vw, 28px);
	box-shadow: var(--shadow-s);
}
.woocommerce-checkout form.checkout h3#order_review_heading { margin: 0; }

@media (min-width: 980px) {
	.woocommerce-checkout form.checkout {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr);
		/* Billing spans both rows; the 1fr row absorbs its extra height so the
		   order-summary heading stays pinned to the top of column two. */
		grid-template-rows: auto 1fr;
		align-items: start;
	}
	.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
	.woocommerce-checkout form.checkout h3#order_review_heading { grid-column: 2; grid-row: 1; }
	.woocommerce-checkout form.checkout #order_review {
		grid-column: 2; grid-row: 2;
		position: sticky; top: calc(var(--header-h) + 14px);
	}
}

.woocommerce-checkout #customer_details .col2-set,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; margin: 0; }
.woocommerce-checkout .woocommerce-billing-fields h3 { margin-top: 0; }

/* Cart totals sit beside the cart table on wide screens. */
@media (min-width: 900px) {
	.woocommerce-cart .kc-wc { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 26px; align-items: start; }
	.woocommerce-cart .kc-wc > .woocommerce { display: contents; }
	.woocommerce-cart .woocommerce-cart-form { grid-column: 1; }
	.woocommerce-cart .cart-collaterals { grid-column: 2; position: sticky; top: calc(var(--header-h) + 14px); }
}
.woocommerce-cart .cart-collaterals .cart_totals {
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius-l); padding: 20px; box-shadow: var(--shadow-s);
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; text-align: center; }
.woocommerce table.cart td.product-remove a.remove {
	display: inline-grid; place-items: center; width: 26px; height: 26px;
	border-radius: 50%; background: var(--cream-deep); color: var(--red);
	text-decoration: none; font-weight: 700;
}

/* Order received */
.woocommerce-order { max-width: 900px; margin-inline: auto; }
.woocommerce-order .woocommerce-order-overview,
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details {
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius-l); padding: clamp(18px, 3vw, 26px);
	margin-bottom: 22px; box-shadow: var(--shadow-s);
}
.woocommerce-order ul.woocommerce-order-overview {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 18px 22px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.woocommerce-order ul.woocommerce-order-overview li {
	border: 0; padding: 0; float: none;
	/* Grid items default to min-width:auto, so a long email refuses to shrink
	   and spills over the next column — this is what made the address collide
	   with the order total. */
	min-width: 0;
	font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint);
}
.woocommerce-order ul.woocommerce-order-overview li strong {
	display: block; margin-top: 4px;
	font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--ink);
	/* Email addresses have no spaces to break at. */
	overflow-wrap: anywhere; word-break: break-word; hyphens: none;
}
/* The email is the one value that genuinely needs room; let it span two
   columns where the grid is wide enough to give it any. */
@media (min-width: 720px) {
	.woocommerce-order ul.woocommerce-order-overview li.woocommerce-order-overview__email {
		grid-column: span 2;
	}
}

/* Tabs and related products, below the two-column product block.
   Selectors mirror woocommerce.css's own specificity
   (.woocommerce div.product .woocommerce-tabs ul.tabs li) so these win. */
.kc-single-extra { padding-bottom: clamp(20px, 3vw, 36px); }
.woocommerce div.product .woocommerce-tabs { margin-bottom: 34px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
	margin: 0 0 18px; padding: 0 0 10px;
	border-bottom: 1px solid var(--line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; content: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0; padding: 0; background: none;
	border: 0; border-radius: 999px; box-shadow: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none; content: none; border: 0; box-shadow: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block; padding: 9px 18px; border-radius: 999px;
	font-weight: 700; font-size: .9rem; color: var(--ink-soft); text-decoration: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { background: var(--cream-deep); color: var(--red-dark); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--red); color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .related > h2 { margin-bottom: 18px; }

/* The hero tile should not dominate a wide column. */
.kc-product-media .kc-tile--hero,
.kc-product-media__cat { max-width: 460px; }

/* ============================================================ home slider */
.kc-slider { position: relative; }
/* One fixed viewport height keeps the slider from jumping between a 1.85:1
   banner, a 1.5:1 map and a 9:16 video. Media is contained, never cropped, so
   the text baked into the banners always stays readable. */
.kc-slider__viewport {
	position: relative; overflow: hidden;
	/* Tuned so a 1.85:1 banner nearly fills the frame at every width; the
	   portrait video slide letterboxes against the brand backdrop. */
	height: clamp(238px, 52vw, 560px);
	border-radius: var(--radius-l); box-shadow: var(--shadow-l);
	background:
		radial-gradient(90% 120% at 50% 0%, #3d1206 0%, transparent 70%),
		linear-gradient(160deg, #7a0f14, #2a0a06 70%);
}
.kc-slider__track {
	display: flex; height: 100%; margin: 0; padding: 0; list-style: none;
	transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}
@media (prefers-reduced-motion: reduce) { .kc-slider__track { transition: none; } }

.kc-slide {
	position: relative; flex: 0 0 100%; min-width: 100%; height: 100%;
	display: grid; place-items: center;
}
/* Pin the media to the slide box rather than relying on a percentage-height
   chain through the flex track and centring grid — that chain stayed
   indefinite, so the banner sized to its intrinsic height and overflowed the
   viewport, clipping the trust-badge strip along its bottom edge. */
.kc-slide__media {
	position: absolute; inset: 0;
	display: block; width: 100%; height: 100%;
}
.kc-slide__media img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Portrait video on a wide stage: letterbox it against the brand backdrop
   rather than stretching a 9:16 clip across a landscape slot. */
.kc-slide__video { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 16px 0; }
.kc-slide__poster,
.kc-slide__player {
	width: auto; height: 100%; max-width: min(92vw, 320px);
	aspect-ratio: 478 / 850; object-fit: cover;
	border-radius: var(--radius); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7);
	background: #000;
}
.kc-slide__video.is-playing .kc-slide__poster,
.kc-slide__video.is-playing .kc-slide__play { display: none; }
.kc-slide__play {
	position: absolute; inset: 0; margin: auto;
	width: 74px; height: 74px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .94); color: var(--red);
	display: grid; place-items: center; cursor: pointer;
	box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6);
	transition: transform .18s ease;
}
.kc-slide__play:hover { transform: scale(1.07); }
.kc-slide__play-icon svg { width: 34px; height: 34px; margin-left: 3px; }

.kc-slide__caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: clamp(16px, 3vw, 30px);
	background: linear-gradient(transparent, rgba(20, 8, 4, .82) 55%);
	color: #fff; text-align: center;
}
.kc-slide__caption h2 { color: #fff; margin: 0 0 4px; font-size: clamp(1.15rem, .9rem + 1.1vw, 1.9rem); }
.kc-slide__caption p { margin: 0 0 10px; color: #ffe9d2; font-size: clamp(.85rem, .8rem + .3vw, 1rem); }
.kc-slide__caption .kc-btn { margin-top: 4px; }

.kc-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .9); color: var(--ink);
	display: none; place-items: center; z-index: 2;
	box-shadow: var(--shadow-s);
}
.kc-slider__arrow:hover { background: #fff; color: var(--red); }
.kc-slider__arrow svg { width: 22px; height: 22px; }
.kc-slider__arrow--prev { left: 12px; }
.kc-slider__arrow--next { right: 12px; }
@media (min-width: 720px) { .kc-slider__arrow { display: grid; } }

.kc-slider__dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.kc-slider__dots button {
	width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
	background: var(--line-strong); cursor: pointer; transition: .18s ease;
}
.kc-slider__dots button.is-active { background: var(--red); width: 28px; border-radius: 999px; }

/* ------------------------------------------------------- payment handoff */
.kc-handoff--pay { background: linear-gradient(140deg, #2b1206, #7a0f14 90%); }
.kc-handoff__amount {
	margin: 0 0 10px; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
	font-weight: 800; color: var(--gold); line-height: 1;
}
.kc-handoff__amount .woocommerce-Price-amount { font-size: inherit; color: inherit; }
.kc-handoff__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.kc-handoff__payee { display: block; margin-top: 4px; font-weight: 700; color: var(--ink); }
/* A upi:// link only resolves on a device with a payment app; wide screens get
   the QR instead. */
.kc-handoff__paylink { display: none; }
@media (max-width: 780px) { .kc-handoff__paylink { display: inline-flex; } }

/* ------------------------------------------------------------ google map */
.kc-map {
	position: relative; border-radius: var(--radius-l); overflow: hidden;
	border: 1px solid var(--line); box-shadow: var(--shadow-s); background: var(--cream-deep);
}
.kc-map iframe { display: block; width: 100%; height: clamp(300px, 45vw, 460px); border: 0; }
.kc-map__bar {
	display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
	padding: 14px 18px; background: var(--surface); border-top: 1px solid var(--line);
}
.kc-map__bar p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.kc-map__bar strong { display: block; color: var(--ink); }

/* Contact page: let the map and route images use the full content width even
   though the surrounding copy stays at a comfortable reading measure. */
.page-contact-us .kc-prose { max-width: none; }
.page-contact-us .kc-prose > p,
.page-contact-us .kc-prose > h2 { max-width: 74ch; }

/* Video slides: the clip is portrait, so on a wide stage the caption sits
   beside it instead of over it — an overlaid caption covered the player
   controls. On narrow screens there is no room for both, so the caption is
   dropped and the poster does the talking. */
.kc-slide--video .kc-slide__caption {
	position: static; background: none; padding: 0 18px;
	display: none;
}
@media (min-width: 820px) {
	.kc-slide--video {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center; gap: clamp(24px, 4vw, 60px);
		padding-inline: clamp(28px, 6vw, 80px);
	}
	.kc-slide--video .kc-slide__caption {
		display: block; order: 1; text-align: left; padding: 0;
	}
	.kc-slide--video .kc-slide__video { order: 2; width: auto; }
	.kc-slide--video .kc-slide__caption h2 { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); }
	.kc-slide--video .kc-slide__caption p { margin-bottom: 0; }
}

/* A slide whose caption is only a button (no heading or text) gets a floating
   pill rather than a full-width gradient band — the route map has detail in its
   bottom corners that a band would hide. */
.kc-slide__caption:has(> .kc-btn:only-child) {
	background: none;
	padding-bottom: clamp(14px, 2.5vw, 24px);
}

/* ========================================================== hero fireworks */
.kc-hero { position: relative; overflow: hidden; isolation: isolate; }

.kc-fx__canvas {
	/* Above the slider, not behind it — the banner fills most of the hero, so a
	   canvas underneath would hide every burst. Normal compositing (rather than
	   screen) keeps the sparks visible over the bright banner as well as the
	   dark sky. pointer-events:none means it never blocks a click. */
	position: absolute; inset: 0; z-index: 3;
	width: 100%; height: 100%;
	pointer-events: none;
}
.kc-hero > .kc-wrap { position: relative; z-index: 1; }

.kc-fx__controls {
	position: absolute; z-index: 2;
	right: clamp(12px, 2vw, 22px); top: clamp(12px, 2vw, 22px);
	display: flex; gap: 8px;
}
.kc-fx__btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px; min-height: 38px;
	border: 1px solid rgba(26, 21, 18, .12); border-radius: 999px;
	background: rgba(255, 255, 255, .88);
	backdrop-filter: blur(6px);
	font: 700 .8rem/1 var(--font); color: var(--ink);
	cursor: pointer; box-shadow: var(--shadow-s);
	transition: transform .16s ease, background-color .16s ease;
}
.kc-fx__btn:hover { transform: translateY(-1px); background: #fff; }
.kc-fx__btn:active { transform: translateY(0); }
.kc-fx__btn.is-on { background: var(--gold); border-color: var(--gold-deep); color: #3a2600; }
.kc-fx__btn.is-remembered:not(.is-on) { border-color: var(--gold-deep); }

/* Reduced motion: the display does not run on its own, so the Burst button is
   the only way to set it off and the label says as much. */
.kc-fx--still .kc-fx__canvas { opacity: .85; }

@media (max-width: 560px) {
	.kc-fx__controls { right: 10px; top: 10px; }
	.kc-fx__btn { padding: 7px 11px; min-height: 34px; font-size: .74rem; }
	.kc-fx__btn span:first-child { font-size: .9rem; }
}
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
	position: static !important ;
}