/*!
 * Krishimandi storefront stylesheet
 * --------------------------------
 *  1. Tokens & reset          7. Product cards, grids, rails
 *  2. Layout primitives       8. Product page
 *  3. Buttons & forms         9. Cart, checkout, order, account
 *  4. Header & navigation    10. Blog, pages, contact, empty states
 *  5. Drawer                 11. Footer & floating buttons
 *  6. Homepage sections      12. Responsive & motion
 */

/* ========================================================== 1. Tokens */

:root {
	--kk-primary: #0f7a3d;
	--kk-accent: #f26522;
	--kk-ink: #14321f;

	--kk-primary-dark: #0a5c2d;
	--kk-primary-soft: #eaf5ee;
	--kk-accent-soft: #fdeee6;

	--kk-text: #1f2a24;
	--kk-muted: #62726a;
	--kk-line: #e3e8e4;
	--kk-line-strong: #ccd6cf;
	--kk-surface: #ffffff;
	--kk-surface-alt: #f6f8f6;
	--kk-star: #f5a524;
	--kk-danger: #c0362c;
	--kk-danger-soft: #fdecea;
	--kk-info-soft: #eef4fb;

	--kk-container: 1320px;
	--kk-gutter: 16px;

	--kk-radius-sm: 6px;
	--kk-radius: 12px;
	--kk-radius-lg: 18px;
	--kk-pill: 999px;

	--kk-shadow-sm: 0 1px 2px rgba(20, 50, 31, .06), 0 1px 3px rgba(20, 50, 31, .04);
	--kk-shadow: 0 2px 8px rgba(20, 50, 31, .08), 0 8px 24px rgba(20, 50, 31, .06);
	--kk-shadow-lg: 0 12px 40px rgba(20, 50, 31, .18);

	--kk-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--kk-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--kk-text);
	background: var(--kk-surface);
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--kk-primary); text-decoration: none; }
a:hover, a:focus-visible { color: var(--kk-primary-dark); text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .5em; color: var(--kk-ink); letter-spacing: -.012em; }
h1 { font-size: clamp(23px, 3vw, 32px); }
h2 { font-size: clamp(19px, 2.2vw, 25px); }
h3 { font-size: 17px; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

button { font: inherit; cursor: pointer; }

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

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 0; left: 0; z-index: 999;
	width: auto; height: auto; overflow: visible; clip: auto; clip-path: none;
	padding: 10px 16px; background: var(--kk-primary); color: #fff; border-radius: 0 0 8px 0;
}

.kk-muted { color: var(--kk-muted); }

/* ================================================ 2. Layout primitives */

.kk-container { width: 100%; max-width: var(--kk-container); margin-inline: auto; padding-inline: var(--kk-gutter); }

main { flex: 1; }

.kk-narrow { max-width: 860px; }

.kk-section { padding-block: 40px; }
.kk-section--tight { padding-block: 26px; }
.kk-section--soft { background: var(--kk-surface-alt); }
.kk-section--deals { background: linear-gradient(180deg, var(--kk-accent-soft), transparent 72%); }

.kk-section__head {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 16px; margin-bottom: 18px;
}
.kk-section__head h2 { margin: 0; }
.kk-section__link { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 14px; white-space: nowrap; }

.kk-page-head { margin-bottom: 22px; }
.kk-page-sub { color: var(--kk-muted); margin: 0; }

.kk-panel {
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: var(--kk-radius);
	padding: 20px;
	margin-bottom: 20px;
}
.kk-panel > h2 { margin-top: 0; font-size: 18px; }

.kk-prose { font-size: 16px; line-height: 1.75; }
.kk-prose h2 { font-size: 23px; margin-top: 1.6em; }
.kk-prose h3 { font-size: 18px; margin-top: 1.4em; }
.kk-prose img { border-radius: var(--kk-radius); margin-block: 1em; }
.kk-prose ul, .kk-prose ol { padding-left: 1.4em; }
.kk-prose li { margin-bottom: .4em; }
.kk-prose blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 20px;
	border-left: 3px solid var(--kk-primary); color: var(--kk-muted); font-style: italic;
}
.kk-prose table { width: 100%; border-collapse: collapse; margin-block: 1.4em; }
.kk-prose th, .kk-prose td { border: 1px solid var(--kk-line); padding: 8px 12px; text-align: left; }
.kk-prose th { background: var(--kk-surface-alt); }

.kk-lede { font-size: 18px; color: var(--kk-muted); }

.kk-breadcrumb {
	border-bottom: 1px solid var(--kk-line);
	background: var(--kk-surface-alt);
	font-size: 13px; color: var(--kk-muted);
}
.kk-breadcrumb .kk-container { padding-block: 10px; }
.kk-breadcrumb a { color: var(--kk-muted); }
.kk-breadcrumb a:hover { color: var(--kk-primary); }
.kk-breadcrumb__sep { margin-inline: 8px; opacity: .55; }

.kk-flashes { padding-top: 14px; }
.kk-flash {
	padding: 11px 16px; border-radius: var(--kk-radius-sm);
	background: var(--kk-primary-soft); border-left: 3px solid var(--kk-primary);
	font-size: 14px; margin-bottom: 10px;
}
.kk-flash--error { background: var(--kk-danger-soft); border-left-color: var(--kk-danger); }
.kk-flash--info  { background: var(--kk-info-soft); border-left-color: #3b7dd8; }

.kk-notice {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 14px 16px; margin-bottom: 20px;
	border-radius: var(--kk-radius); background: var(--kk-primary-soft);
	font-size: 14px;
}
.kk-notice p { margin: 0; }
.kk-notice .kk-icon { color: var(--kk-primary); flex: none; margin-top: 2px; }
.kk-notice--warn { background: var(--kk-accent-soft); }
.kk-notice--warn strong { display: block; margin-bottom: 2px; }

/* ================================================= 3. Buttons & forms */

.kk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 20px;
	border: 1px solid transparent; border-radius: var(--kk-pill);
	background: var(--kk-primary); color: #fff;
	font-weight: 600; font-size: 14px; line-height: 1.2; text-align: center;
	transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.kk-btn:hover, .kk-btn:focus-visible { background: var(--kk-primary-dark); color: #fff; text-decoration: none; }
.kk-btn:active { transform: translateY(1px); }

.kk-btn--accent { background: var(--kk-accent); }
.kk-btn--accent:hover { background: #d9521a; }
.kk-btn--ghost { background: transparent; border-color: var(--kk-line-strong); color: var(--kk-text); }
.kk-btn--ghost:hover { background: var(--kk-surface-alt); border-color: var(--kk-primary); color: var(--kk-text); }
.kk-btn--light { background: #fff; color: var(--kk-primary); }
.kk-btn--light:hover { background: #eef5f0; color: var(--kk-primary-dark); }
.kk-btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.kk-btn--ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.kk-btn--sm { padding: 8px 14px; font-size: 13px; }
.kk-btn--lg { padding: 14px 26px; font-size: 15px; }
.kk-btn--block { width: 100%; }
.kk-btn[disabled] { opacity: .55; pointer-events: none; }

.kk-icon-btn {
	display: grid; place-items: center;
	width: 34px; height: 34px; padding: 0;
	border: 1px solid var(--kk-line); border-radius: var(--kk-radius-sm);
	background: #fff; color: var(--kk-muted);
}
.kk-icon-btn:hover { border-color: var(--kk-danger); color: var(--kk-danger); }

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
select, textarea {
	width: 100%;
	padding: 10px 13px;
	border: 1px solid var(--kk-line-strong);
	border-radius: var(--kk-radius-sm);
	background: #fff; font: inherit; color: var(--kk-text);
	transition: border-color .16s ease, box-shadow .16s ease;
}
input:focus, select:focus, textarea:focus {
	border-color: var(--kk-primary);
	box-shadow: 0 0 0 3px var(--kk-primary-soft);
	outline: none;
}
input[disabled], textarea[disabled], select[disabled] { background: var(--kk-surface-alt); color: var(--kk-muted); }
textarea { resize: vertical; }

.kk-field { margin-bottom: 16px; }
.kk-field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 5px; }
.kk-field__hint { display: block; font-size: 12.5px; color: var(--kk-muted); margin-top: 4px; }
.kk-field__error { display: block; font-size: 12.5px; color: var(--kk-danger); margin-top: 4px; font-weight: 600; }

.kk-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.kk-field-grid--3 { grid-template-columns: repeat(3, 1fr); }

.kk-check {
	display: flex; align-items: center; gap: 9px;
	padding: 5px 0; font-size: 14px; cursor: pointer;
}
.kk-check input { width: auto; }
.kk-check span { flex: 1; }
.kk-check em { font-style: normal; font-size: 12px; color: var(--kk-muted); }

.kk-radio {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 14px; margin-bottom: 10px;
	border: 1px solid var(--kk-line-strong); border-radius: var(--kk-radius);
	cursor: pointer; transition: border-color .16s ease, background .16s ease;
}
.kk-radio:hover { border-color: var(--kk-primary); }
.kk-radio input { width: auto; margin-top: 3px; }
.kk-radio strong { display: block; }
.kk-radio small { color: var(--kk-muted); }
.kk-radio:has(input:checked) { border-color: var(--kk-primary); background: var(--kk-primary-soft); }

.kk-fineprint { font-size: 12.5px; color: var(--kk-muted); margin-bottom: 0; }

.kk-qty {
	display: inline-flex; align-items: stretch;
	border: 1px solid var(--kk-line-strong); border-radius: var(--kk-pill); overflow: hidden;
}
.kk-qty__btn {
	width: 40px; border: 0; background: var(--kk-surface-alt);
	color: var(--kk-text); font-size: 17px; line-height: 1;
}
.kk-qty__btn:hover { background: var(--kk-primary-soft); color: var(--kk-primary); }
.kk-qty input {
	width: 56px; border: 0; border-radius: 0; text-align: center; padding: 10px 2px;
	-moz-appearance: textfield;
}
.kk-qty input:focus { box-shadow: none; }
.kk-qty input::-webkit-outer-spin-button,
.kk-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kk-qty--sm .kk-qty__btn { width: 32px; font-size: 15px; }
.kk-qty--sm input { width: 44px; padding: 7px 2px; }

/* =============================================== 4. Header & navigation */

.kk-announce {
	background: var(--kk-ink); color: #e7f2ea;
	font-size: 13px; text-align: center; padding: 7px 0;
}

.kk-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--kk-line); }

.kk-topbar { border-bottom: 1px solid var(--kk-line); font-size: 13px; color: var(--kk-muted); }
.kk-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.kk-topbar__call { display: inline-flex; align-items: center; gap: 6px; color: var(--kk-muted); }
.kk-topbar__call strong { color: var(--kk-primary); }
.kk-topbar__call .kk-icon { color: var(--kk-primary); }
.kk-topbar__list { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.kk-topbar__list a { color: var(--kk-muted); }
.kk-topbar__list a:hover { color: var(--kk-primary); }

.kk-header__row { display: flex; align-items: center; gap: 18px; padding-block: 12px; min-width: 0; }

.kk-burger {
	display: none; place-items: center; padding: 8px;
	border: 1px solid var(--kk-line-strong); border-radius: var(--kk-radius-sm);
	background: #fff; color: var(--kk-text);
}

.kk-wordmark { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--kk-primary); }
.kk-wordmark:hover { text-decoration: none; }
.kk-wordmark__img { max-height: 54px; width: auto; }
/* The logo has dark green lettering, so on the dark footer it sits on a white chip. */
.kk-footer__logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 14px; margin-bottom: 14px; }
.kk-footer__logo img { display: block; max-height: 42px; width: auto; }
.kk-wordmark__mark {
	display: grid; place-items: center; width: 40px; height: 40px;
	border-radius: 11px; background: var(--kk-primary-soft); color: var(--kk-primary);
}
.kk-wordmark__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.kk-wordmark__text strong, .kk-wordmark__text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kk-wordmark__text strong { font-size: 20px; font-weight: 800; color: var(--kk-ink); letter-spacing: -.02em; }
.kk-wordmark__text small { font-size: 11px; color: var(--kk-muted); font-weight: 500; }

.kk-header__search { flex: 1; min-width: 0; }

.kk-search {
	position: relative; display: flex; align-items: stretch;
	border: 2px solid var(--kk-primary); border-radius: var(--kk-pill); background: #fff;
}
.kk-search__scope {
	width: auto; max-width: 168px; border: 0; border-right: 1px solid var(--kk-line);
	border-radius: var(--kk-pill) 0 0 var(--kk-pill);
	padding: 10px 10px 10px 18px; font-size: 13px; color: var(--kk-muted); background: transparent;
}
.kk-search__scope:focus { box-shadow: none; }
.kk-search__field { flex: 1; min-width: 0; border: 0; padding: 11px 16px; font-size: 14px; background: transparent; }
.kk-search__field:focus { box-shadow: none; }
.kk-search__submit {
	display: grid; place-items: center; width: 52px; border: 0;
	border-radius: 0 var(--kk-pill) var(--kk-pill) 0;
	background: var(--kk-primary); color: #fff;
}
.kk-search__submit:hover { background: var(--kk-primary-dark); }

.kk-search__results {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 70;
	max-height: 62vh; overflow-y: auto; padding: 6px;
	border: 1px solid var(--kk-line); border-radius: var(--kk-radius);
	background: #fff; box-shadow: var(--kk-shadow);
}
.kk-search__results[hidden] { display: none; }

.kk-suggest { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--kk-radius-sm); color: var(--kk-text); }
.kk-suggest:hover { background: var(--kk-primary-soft); text-decoration: none; color: var(--kk-text); }
.kk-suggest img { width: 44px; height: 44px; border-radius: var(--kk-radius-sm); object-fit: contain; background: var(--kk-surface-alt); flex: none; }
.kk-suggest__body { flex: 1; min-width: 0; }
.kk-suggest__brand { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--kk-primary); }
.kk-suggest__name { display: block; font-size: 14px; }
.kk-suggest__price { font-size: 13px; font-weight: 700; color: var(--kk-ink); }
.kk-suggest__price del { font-weight: 400; color: var(--kk-muted); margin-left: 5px; font-size: 12px; }
.kk-suggest--empty, .kk-suggest--more { padding: 12px; text-align: center; font-size: 13.5px; color: var(--kk-muted); }

.kk-header__actions { display: flex; align-items: center; gap: 4px; flex: none; margin-left: auto; }
.kk-action { display: inline-flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: var(--kk-radius-sm); color: var(--kk-text); white-space: nowrap; }
.kk-action:hover { background: var(--kk-surface-alt); text-decoration: none; color: var(--kk-text); }
.kk-action__icon { position: relative; display: grid; place-items: center; color: var(--kk-primary); }
.kk-action__text { display: flex; flex-direction: column; line-height: 1.2; }
.kk-action__text small { font-size: 11px; color: var(--kk-muted); }
.kk-action__text strong { font-size: 13px; font-weight: 600; }

.kk-badge-dot {
	position: absolute; top: -6px; right: -8px;
	min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: var(--kk-pill); background: var(--kk-accent); color: #fff;
	font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}

.kk-navbar { position: relative; border-top: 1px solid var(--kk-line); background: #fff; }
.kk-nav { display: flex; gap: 100px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.kk-nav::-webkit-scrollbar { display: none; }
.kk-nav__item { position: static; }
.kk-nav__link {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--kk-text);
	white-space: nowrap; border-bottom: 2px solid transparent;
}
.kk-nav__link:hover {
	color: var(--kk-primary); border-bottom-color: var(--kk-primary); text-decoration: none;
}

.kk-search-mobile { display: none; padding: 10px 0; border-bottom: 1px solid var(--kk-line); background: #fff; }

/* ========================================================= 5. Drawer */

.kk-drawer { position: fixed; inset: 0; z-index: 200; }
.kk-drawer[hidden] { display: none; }
.kk-drawer__scrim { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(16,32,22,.5); }
.kk-drawer__panel {
	position: relative; z-index: 1;
	display: flex; flex-direction: column; gap: 14px;
	width: min(88vw, 340px); height: 100%; padding: 18px;
	background: #fff; overflow-y: auto;
	animation: kk-slide .22s ease;
}
@keyframes kk-slide { from { transform: translateX(-16px); opacity: 0 } to { transform: none; opacity: 1 } }
.kk-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--kk-line); font-size: 18px; }
.kk-drawer__close { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--kk-line-strong); border-radius: var(--kk-radius-sm); background: #fff; }
.kk-drawer__list, .kk-drawer__list ul { margin: 0; padding: 0; list-style: none; }
.kk-drawer__list > li > a { display: block; padding: 11px 4px; font-weight: 600; color: var(--kk-text); border-bottom: 1px solid var(--kk-line); }
.kk-drawer__list ul a { display: block; padding: 8px 4px 8px 16px; font-size: 14px; color: var(--kk-muted); }

/* =============================================== 6. Homepage sections */

.kk-hero { padding-block: 18px 6px; }
.kk-hero__viewport { position: relative; border-radius: var(--kk-radius-lg); overflow: hidden; background: var(--kk-primary-soft); }
.kk-hero__track { display: flex; }
.kk-slide {
	position: relative; flex: 0 0 100%; display: none;
	min-height: 460px; padding: 44px;
	background-size: cover; background-position: center; background-color: var(--kk-primary-dark);
}
.kk-slide.is-active { display: flex; align-items: center; animation: kk-fade .35s ease; }
@keyframes kk-fade { from { opacity: 0 } to { opacity: 1 } }
.kk-slide::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10,40,22,.84) 0%, rgba(10,40,22,.45) 56%, rgba(10,40,22,.08) 100%);
}
.kk-slide--fallback { background: radial-gradient(120% 140% at 0% 0%, #157a41 0%, #0a4f2a 60%, #083d21 100%); }
.kk-slide--art::after { display: none; }
.kk-slide--art.is-active { align-items: flex-end; }
.kk-slide--art { padding-bottom: 16px; }
.kk-slide--art .kk-slide__body { padding-bottom: 0; }
.kk-slide__body { position: relative; z-index: 1; max-width: 560px; color: #fff; }
.kk-slide__body h2 { color: #fff; margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 42px); }
.kk-slide__body p { font-size: clamp(15px, 1.5vw, 18px); opacity: .94; margin-bottom: 22px; }
.kk-eyebrow {
	display: inline-block; margin-bottom: 12px; padding: 4px 12px;
	border-radius: var(--kk-pill); background: rgba(255,255,255,.2);
	font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

.kk-slider-nav {
	position: absolute; top: 50%; translate: 0 -50%; z-index: 3;
	display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--kk-ink);
	line-height: 0; box-shadow: var(--kk-shadow-sm); cursor: pointer;
}
.kk-slider-nav svg { display: block; flex: none; }
.kk-slider-nav:hover { background: #fff; }
.kk-slider-nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.kk-slider-nav--prev { left: 14px; }
.kk-slider-nav--next { right: 14px; }
.kk-slider-dots { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; z-index: 3; display: flex; gap: 7px; }
.kk-slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); }
.kk-slider-dot.is-active { width: 24px; border-radius: var(--kk-pill); background: #fff; }

.kk-usp { border-block: 1px solid var(--kk-line); background: var(--kk-surface-alt); padding-block: 16px; margin-top: 18px; }
.kk-usp__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.kk-usp__item { display: flex; align-items: center; gap: 12px; }
.kk-usp__item > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.kk-usp__item strong { font-size: 14px; }
.kk-usp__item small { font-size: 12.5px; color: var(--kk-muted); }
.kk-usp__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; color: var(--kk-primary); box-shadow: var(--kk-shadow-sm); }

.kk-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 22px; }
.kk-tiles--wide { grid-template-columns: repeat(auto-fit, minmax(152px, 1fr)); }
.kk-tile {
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	padding: 14px 10px; border: 1px solid var(--kk-line); border-radius: var(--kk-radius);
	background: #fff; color: var(--kk-text); text-align: center;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.kk-tile:hover { border-color: var(--kk-primary); box-shadow: var(--kk-shadow-sm); transform: translateY(-2px); text-decoration: none; color: var(--kk-text); }
.kk-tile__media {
	display: grid; place-items: center; width: 82px; height: 82px;
	border-radius: var(--kk-radius); background: var(--kk-primary-soft); overflow: hidden;
}
.kk-tiles--round .kk-tile__media { border-radius: 50%; }
.kk-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.kk-tile__label { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.kk-tile__meta { font-size: 11.5px; color: var(--kk-muted); }
.kk-tile--flat .kk-tile__media { width: 66px; height: 66px; border-radius: var(--kk-radius-sm); }

.kk-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.kk-strip__card {
	position: relative; display: flex; align-items: flex-end;
	min-height: 180px; padding: 20px; border-radius: var(--kk-radius);
	background: var(--kk-primary-dark); background-size: cover; background-position: center;
	color: #fff; overflow: hidden;
}
.kk-strip__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,36,20,.88), rgba(8,36,20,.2)); }
.kk-strip__card:hover { text-decoration: none; color: #fff; }
.kk-strip__card > span { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; }
.kk-strip__card strong { font-size: 18px; }
.kk-strip__card span span { font-size: 13.5px; opacity: .9; }
.kk-strip__card em { font-style: normal; font-weight: 700; font-size: 13px; color: #ffd9c5; }

.kk-callout { padding: 32px; border-radius: var(--kk-radius-lg); background: linear-gradient(135deg, var(--kk-primary-soft), #fff 72%); border: 1px solid var(--kk-line); }
.kk-callout > div { max-width: 640px; }
.kk-callout__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.kk-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.kk-brand {
	display: grid; place-items: center; min-height: 74px; padding: 12px;
	border: 1px solid var(--kk-line); border-radius: var(--kk-radius);
	background: #fff; color: var(--kk-text); font-weight: 600; font-size: 14px; text-align: center;
}
.kk-brand:hover { border-color: var(--kk-primary); color: var(--kk-primary); text-decoration: none; }
.kk-brand img { max-height: 46px; width: auto; object-fit: contain; }

.kk-statband { padding-block: 34px; background: var(--kk-primary-dark); color: #e8f2eb; }
.kk-statband__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; text-align: center; }
.kk-statband strong { display: block; font-size: clamp(24px, 3vw, 34px); color: #fff; line-height: 1.1; font-weight: 800; }
.kk-statband span { font-size: 13.5px; opacity: .78; }

.kk-appband { padding-block: 48px; background: linear-gradient(120deg, var(--kk-primary-dark), var(--kk-primary)); color: #fff; }
.kk-appband__inner { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 36px; align-items: center; }
.kk-appband h2 { color: #fff; }
.kk-appband p { max-width: 56ch; opacity: .92; }
.kk-appband__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.kk-phone { width: 176px; height: 292px; margin-inline: auto; padding: 12px; border-radius: 28px; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.3); }
.kk-phone__screen { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 14px 12px; border-radius: 18px; background: rgba(255,255,255,.93); }
.kk-phone__bar { height: 22px; border-radius: var(--kk-pill); background: var(--kk-primary-soft); }
.kk-phone__row { height: 9px; border-radius: var(--kk-pill); background: #dfe8e2; }
.kk-phone__row--short { width: 60%; }
.kk-phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.kk-phone__grid i { display: block; aspect-ratio: 1; border-radius: 8px; background: var(--kk-primary-soft); }

/* ============================================ 7. Product cards & grids */

.kk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }

.kk-rail-wrap { position: relative; }
.kk-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(186px, 232px);
	justify-content: start; gap: 14px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding-bottom: 8px; scrollbar-width: thin;
}
.kk-rail > * { scroll-snap-align: start; }
.kk-rail-nav {
	position: absolute; top: 36%; z-index: 4;
	display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
	border: 1px solid var(--kk-line); border-radius: 50%;
	background: #fff; color: var(--kk-ink); line-height: 0; box-shadow: var(--kk-shadow-sm); cursor: pointer;
}
.kk-rail-nav svg { display: block; flex: none; }
.kk-rail-nav--prev { left: -14px; }
.kk-rail-nav--next { right: -14px; }
.kk-rail-nav:hover { border-color: var(--kk-primary); color: var(--kk-primary); }

.kk-card {
	position: relative; display: flex; flex-direction: column;
	border: 1px solid var(--kk-line); border-radius: var(--kk-radius);
	background: #fff; overflow: hidden;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.kk-card:hover { box-shadow: var(--kk-shadow); transform: translateY(-2px); }
.kk-card.is-oos { opacity: .82; }

.kk-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--kk-surface-alt); overflow: hidden; }
.kk-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .3s ease; }
.kk-card:hover .kk-card__media img { transform: scale(1.04); }

.kk-tagline {
	position: absolute; top: 10px; left: 10px; z-index: 2;
	padding: 4px 9px; border-radius: var(--kk-pill);
	background: var(--kk-accent); color: #fff;
	font-size: 11px; font-weight: 700; line-height: 1.3;
}
.kk-tagline--oos { top: auto; bottom: 10px; background: rgba(20,50,31,.88); }

.kk-card__wish { position: absolute; top: 8px; right: 8px; z-index: 3; margin: 0; }
.kk-wish {
	display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
	border: 1px solid var(--kk-line); border-radius: 50%; background: rgba(255,255,255,.94); color: var(--kk-muted);
}
.kk-wish:hover, .kk-wish.is-on { color: var(--kk-accent); border-color: var(--kk-accent); }
.kk-wish.is-on svg { fill: var(--kk-accent); }

.kk-card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 13px 14px; flex: 1; }
.kk-card__brand { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--kk-primary); }
.kk-card__title { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.4; }
.kk-card__title a { color: var(--kk-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.kk-card__tech { font-size: 12px; color: var(--kk-muted); }
.kk-card__price { display: flex; align-items: baseline; gap: 7px; margin-top: auto; padding-top: 6px; }
.kk-card__price strong { font-size: 17px; font-weight: 800; color: var(--kk-ink); }
.kk-card__price del { font-size: 13px; color: var(--kk-muted); }
.kk-card__note { font-size: 11.5px; color: var(--kk-muted); }
.kk-card form { margin: 8px 0 0; }

.kk-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--kk-muted); }
.kk-stars {
	display: inline-block; flex: none; width: 75px; height: 15px;
	background: linear-gradient(90deg, var(--kk-star) var(--kk-rating, 0%), #dfe4e0 var(--kk-rating, 0%));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.2 6.6 7.2 1-5.3 5.1 1.3 7.2L12 18.3l-6.4 3.4 1.3-7.2L1.6 9.4l7.2-1z'/%3E%3C/svg%3E") repeat-x 0 0 / 15px 15px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.2 6.6 7.2 1-5.3 5.1 1.3 7.2L12 18.3l-6.4 3.4 1.3-7.2L1.6 9.4l7.2-1z'/%3E%3C/svg%3E") repeat-x 0 0 / 15px 15px;
}
.kk-rating--empty small { font-style: italic; }

/* ============================================ Shop listing & filters */

.kk-shop { padding-block: 26px 52px; }
.kk-shop__layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 30px; align-items: start; }
.kk-shop__layout--full { grid-template-columns: minmax(0, 1fr); }

.kk-filters { position: sticky; top: 156px; padding: 18px; border: 1px solid var(--kk-line); border-radius: var(--kk-radius); background: #fff; }
.kk-filters__close { display: none; width: 100%; margin-bottom: 12px; padding: 8px; border: 1px solid var(--kk-line-strong); border-radius: var(--kk-radius-sm); background: #fff; }
.kk-filters__open { display: none; }
.kk-filter { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--kk-line); }
.kk-filter h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--kk-muted); margin-bottom: 10px; }
.kk-filter__list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.kk-filter__list a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; color: var(--kk-text); }
.kk-filter__list a.is-active { color: var(--kk-primary); font-weight: 700; }
.kk-filter__list span { font-size: 12px; color: var(--kk-muted); }
.kk-filter__scroll { max-height: 230px; overflow-y: auto; padding-right: 4px; }
.kk-filter__clear { display: inline-block; margin-top: 10px; font-size: 13px; }
.kk-price-range { display: flex; align-items: center; gap: 8px; }
.kk-price-range span { color: var(--kk-muted); font-size: 13px; }

.kk-shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.kk-shop__count { margin: 0; font-size: 13.5px; color: var(--kk-muted); }
.kk-sort select { width: auto; padding: 8px 12px; font-size: 13.5px; }

.kk-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 30px; }
.kk-pagination a, .kk-pagination span {
	display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 12px;
	border: 1px solid var(--kk-line); border-radius: var(--kk-radius-sm);
	background: #fff; color: var(--kk-text); font-weight: 600; font-size: 14px;
}
.kk-pagination a:hover { border-color: var(--kk-primary); text-decoration: none; }
.kk-pagination .is-current { background: var(--kk-primary); border-color: var(--kk-primary); color: #fff; }
.kk-pagination__gap { border: 0; background: none; }

/* ==================================================== 8. Product page */

.kk-product { padding-block: 26px 52px; }
.kk-product__top { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 40px; align-items: start; }

.kk-gallery__main { position: relative; border: 1px solid var(--kk-line); border-radius: var(--kk-radius); background: #fff; overflow: hidden; }
.kk-gallery__main img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 22px; }
.kk-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.kk-gallery__thumb { flex: none; width: 74px; height: 74px; padding: 4px; border: 1px solid var(--kk-line); border-radius: var(--kk-radius-sm); background: #fff; }
.kk-gallery__thumb.is-active { border-color: var(--kk-primary); }
.kk-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

.kk-product__brand { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.kk-product__rating { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.kk-product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.kk-product__price strong { font-size: 30px; font-weight: 800; color: var(--kk-ink); }
.kk-product__price del { font-size: 17px; color: var(--kk-muted); }
.kk-save { padding: 3px 10px; border-radius: var(--kk-pill); background: var(--kk-accent-soft); color: #b3480f; font-size: 12.5px; font-weight: 700; }
.kk-product__note { font-size: 12.5px; color: var(--kk-muted); margin-bottom: 14px; }
.kk-product__lede { font-size: 15px; color: var(--kk-text); }

.kk-facts { margin: 18px 0; border: 1px solid var(--kk-line); border-radius: var(--kk-radius); overflow: hidden; }
.kk-facts > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 10px 14px; font-size: 14px; border-bottom: 1px solid var(--kk-line); }
.kk-facts > div:last-child { border-bottom: 0; }
.kk-facts > div:nth-child(odd) { background: var(--kk-surface-alt); }
.kk-facts dt { margin: 0; color: var(--kk-muted); }
.kk-facts dd { margin: 0; font-weight: 600; }

.kk-stock { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.kk-stock--in { color: var(--kk-primary); }
.kk-stock--out { color: var(--kk-danger); }

.kk-buybox { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block: 16px 20px; padding-block: 18px; border-block: 1px solid var(--kk-line); }
.kk-buybox .kk-btn { flex: 1; min-width: 200px; }

.kk-assurances { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 18px; margin: 0 0 14px; padding: 0; list-style: none; }
.kk-assurances li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.kk-assurances .kk-icon { color: var(--kk-primary); flex: none; }
.kk-assurances--compact { grid-template-columns: 1fr; margin-top: 14px; font-size: 13px; }

.kk-product__help { padding: 12px 14px; border-radius: var(--kk-radius-sm); background: var(--kk-primary-soft); font-size: 14px; }

.kk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kk-chip {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 5px 12px; border-radius: var(--kk-pill);
	background: var(--kk-primary-soft); color: var(--kk-primary-dark); font-size: 12.5px; font-weight: 600;
}
.kk-chip:hover { background: var(--kk-primary); color: #fff; text-decoration: none; }
.kk-chip--warn { background: var(--kk-accent-soft); color: #b3480f; }
.kk-chip--warn:hover { background: var(--kk-accent); color: #fff; }

.kk-tabs { margin-top: 44px; }
.kk-tabs__nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--kk-line); margin-bottom: 22px; }
.kk-tabs__nav button {
	padding: 12px 18px; border: 0; background: none;
	font-weight: 600; font-size: 14.5px; color: var(--kk-muted); border-bottom: 2px solid transparent;
}
.kk-tabs__nav button.is-active { color: var(--kk-primary); border-bottom-color: var(--kk-primary); }
.kk-tabs__panel { display: none; max-width: 80ch; font-size: 15px; line-height: 1.75; }
.kk-tabs__panel.is-active { display: block; }

.kk-reviews { list-style: none; margin: 0 0 28px; padding: 0; }
.kk-reviews li { padding: 16px 0; border-bottom: 1px solid var(--kk-line); }
.kk-reviews__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 6px; }
.kk-reviews__head time { font-size: 12.5px; color: var(--kk-muted); }
.kk-reviews p { margin: 0; }
.kk-review-form { max-width: 520px; padding: 20px; border: 1px solid var(--kk-line); border-radius: var(--kk-radius); background: var(--kk-surface-alt); }
.kk-review-form h3 { margin-top: 0; }

/* ======================================= 9. Cart, checkout, order, account */

.kk-cart, .kk-checkout, .kk-order, .kk-account, .kk-blog, .kk-contact, .kk-article { padding-block: 26px 52px; }

.kk-cart__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.kk-cart__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 16px; }

.kk-table { width: 100%; border-collapse: collapse; }
.kk-table th {
	text-align: left; padding: 11px 12px; font-size: 12px; text-transform: uppercase;
	letter-spacing: .04em; color: var(--kk-muted); background: var(--kk-surface-alt);
	border-bottom: 1px solid var(--kk-line);
}
.kk-table td { padding: 14px 12px; border-bottom: 1px solid var(--kk-line); font-size: 14px; vertical-align: middle; }
.kk-table td small { display: block; font-size: 12px; }

.kk-cart__product { display: flex; gap: 12px; align-items: center; }
.kk-cart__product img { width: 64px; height: 64px; object-fit: contain; background: var(--kk-surface-alt); border-radius: var(--kk-radius-sm); flex: none; }
.kk-cart__product small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--kk-primary); }
.kk-cart__product a { color: var(--kk-text); font-weight: 500; }
.kk-cart__product em { display: block; font-style: normal; font-size: 12px; color: var(--kk-muted); }

.kk-cart__summary { padding: 20px; border: 1px solid var(--kk-line); border-radius: var(--kk-radius); background: var(--kk-surface-alt); position: sticky; top: 156px; }
.kk-cart__summary h2 { margin-top: 0; font-size: 18px; }

.kk-coupon { display: flex; gap: 8px; margin-bottom: 16px; }

.kk-summary { margin: 0 0 16px; }
.kk-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; }
.kk-summary dt, .kk-summary dd { margin: 0; }
.kk-summary .is-discount { color: var(--kk-primary); }
.kk-summary .is-total { border-top: 1px solid var(--kk-line-strong); margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 800; color: var(--kk-ink); }
.kk-summary__hint { font-size: 13px; color: var(--kk-muted); }

.kk-checkout__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.kk-checkout__summary { padding: 20px; border: 1px solid var(--kk-line); border-radius: var(--kk-radius); background: var(--kk-surface-alt); position: sticky; top: 156px; }
.kk-checkout__summary h2 { margin-top: 0; font-size: 18px; }
.kk-checkout__signin { padding: 12px 16px; border-radius: var(--kk-radius-sm); background: var(--kk-info-soft); font-size: 14px; }
.kk-checkout__back { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; }

.kk-mini-cart { list-style: none; margin: 0 0 16px; padding: 0; }
.kk-mini-cart li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--kk-line); }
.kk-mini-cart img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: var(--kk-radius-sm); flex: none; }
.kk-mini-cart span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kk-mini-cart strong { font-size: 13px; font-weight: 600; }
.kk-mini-cart small { font-size: 12px; color: var(--kk-muted); }
.kk-mini-cart em { font-style: normal; font-weight: 700; font-size: 13.5px; }

.kk-order__hero { text-align: center; padding: 30px 0 14px; }
.kk-order__tick { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 12px; border-radius: 50%; background: var(--kk-primary-soft); color: var(--kk-primary); }
.kk-order__number { display: inline-block; padding: 8px 20px; border-radius: var(--kk-pill); background: var(--kk-primary-soft); font-size: 18px; font-weight: 800; letter-spacing: .06em; color: var(--kk-primary-dark); }
.kk-order__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }

.kk-track { display: flex; list-style: none; margin: 26px 0; padding: 0; counter-reset: step; }
.kk-track li { flex: 1; position: relative; text-align: center; font-size: 12.5px; color: var(--kk-muted); }
.kk-track li::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--kk-line); }
.kk-track li:first-child::before { display: none; }
.kk-track li.is-done::before { background: var(--kk-primary); }
.kk-track__dot { position: relative; z-index: 1; display: block; width: 20px; height: 20px; margin: 0 auto 6px; border-radius: 50%; background: #fff; border: 2px solid var(--kk-line); }
.kk-track li.is-done .kk-track__dot { background: var(--kk-primary); border-color: var(--kk-primary); }
.kk-track li.is-current { color: var(--kk-primary); font-weight: 700; }

.kk-order-lines { list-style: none; margin: 16px 0 0; padding: 0; }
.kk-order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--kk-line); font-size: 14px; }
.kk-order-lines em { font-style: normal; color: var(--kk-muted); }

.kk-pill { display: inline-block; padding: 3px 11px; border-radius: var(--kk-pill); font-size: 12px; font-weight: 700; background: var(--kk-surface-alt); color: var(--kk-muted); }
.kk-pill--pending { background: #fff4e0; color: #a36200; }
.kk-pill--confirmed, .kk-pill--paid { background: var(--kk-primary-soft); color: var(--kk-primary-dark); }
.kk-pill--packed { background: #e9eefb; color: #2f5bbd; }
.kk-pill--shipped { background: #e4f1fb; color: #1d6ea8; }
.kk-pill--delivered { background: var(--kk-primary); color: #fff; }
.kk-pill--cancelled, .kk-pill--refunded { background: var(--kk-danger-soft); color: var(--kk-danger); }

.kk-bank { margin-top: 14px; padding: 14px; border-radius: var(--kk-radius-sm); background: var(--kk-surface-alt); font-size: 14px; }
.kk-bank h3 { margin-top: 0; font-size: 15px; }

.kk-account__layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.kk-account-nav ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--kk-line); border-radius: var(--kk-radius); overflow: hidden; background: #fff; }
.kk-account-nav a { display: block; padding: 11px 16px; font-size: 14px; color: var(--kk-text); border-bottom: 1px solid var(--kk-line); }
.kk-account-nav li:last-child a { border-bottom: 0; }
.kk-account-nav a.is-active { background: var(--kk-primary-soft); color: var(--kk-primary-dark); font-weight: 700; }
.kk-account-nav a:hover { text-decoration: none; background: var(--kk-surface-alt); }

.kk-auth .kk-panel { max-width: 460px; margin-inline: auto; }
.kk-auth__alt { text-align: center; margin: 16px 0 0; font-size: 14px; }

.kk-contact__layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.kk-contact__list { list-style: none; margin: 0; padding: 0; }
.kk-contact__list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--kk-line); }
.kk-contact__list li:last-child { border-bottom: 0; }
.kk-contact__list .kk-icon { color: var(--kk-primary); flex: none; margin-top: 3px; }
.kk-contact__list strong { display: block; font-size: 13px; }

/* ================================================ 10. Blog & empties */

.kk-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.kk-post-card { display: flex; flex-direction: column; border: 1px solid var(--kk-line); border-radius: var(--kk-radius); background: #fff; overflow: hidden; transition: box-shadow .16s ease, transform .16s ease; }
.kk-post-card:hover { box-shadow: var(--kk-shadow); transform: translateY(-2px); }
.kk-post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--kk-surface-alt); }
.kk-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.kk-post-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kk-post-card__body time { font-size: 12px; color: var(--kk-muted); }
.kk-post-card h2, .kk-post-card h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.kk-post-card h2 a, .kk-post-card h3 a { color: var(--kk-ink); }
.kk-post-card p { margin: 0; font-size: 14px; color: var(--kk-muted); }

.kk-article header { margin-bottom: 18px; }
.kk-article__meta { display: flex; gap: 8px; color: var(--kk-muted); font-size: 13.5px; }
.kk-article__media { margin: 0 0 24px; }
.kk-article__media img { width: 100%; border-radius: var(--kk-radius-lg); }

.kk-empty { max-width: 560px; margin-inline: auto; padding: 46px 20px; text-align: center; }
.kk-empty__icon { display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 14px; border-radius: 50%; background: var(--kk-primary-soft); color: var(--kk-primary); }
.kk-empty--404 { padding-block: 60px; }
.kk-searchform { display: flex; gap: 8px; margin: 20px 0; }
.kk-404__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.kk-404__cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; padding: 0; list-style: none; }
.kk-404__cats a { display: inline-block; padding: 6px 14px; border: 1px solid var(--kk-line); border-radius: var(--kk-pill); font-size: 13px; color: var(--kk-text); }

/* ====================================================== 11. Footer */

.kk-footer { margin-top: auto; background: var(--kk-ink); color: #cadbd0; font-size: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.kk-footer a { color: #cadbd0; }
.kk-footer a:hover { color: #fff; }
.kk-footer__top { padding-block: 44px 34px; }
.kk-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.35fr; gap: 30px; }
.kk-wordmark--footer { color: #8fd6a8; }
.kk-wordmark--footer .kk-wordmark__mark { background: rgba(255,255,255,.12); }
.kk-wordmark--footer .kk-wordmark__text strong { color: #fff; }
.kk-footer__about p { margin-top: 14px; line-height: 1.7; opacity: .86; }
.kk-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.kk-footer__contact a, .kk-footer__contact span { overflow-wrap: anywhere; line-height: 1.55; }
.kk-footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.kk-footer__contact .kk-icon { color: #6fc48c; flex: none; margin-top: 3px; }
.kk-footer__col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 14px; }
.kk-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; }
.kk-footer__col--news p { font-size: 13px; opacity: .8; }
.kk-subscribe { display: flex; gap: 8px; }
.kk-subscribe input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.kk-subscribe input::placeholder { color: rgba(255,255,255,.5); }

.kk-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; }
.kk-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 12.5px; }
.kk-footer__bottom p { margin: 0; opacity: .8; }
.kk-payments, .kk-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.kk-payments li { padding: 4px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--kk-radius-sm); font-size: 11.5px; opacity: .85; }
.kk-social a { display: inline-block; padding: 4px 11px; border-radius: var(--kk-pill); background: rgba(255,255,255,.1); font-size: 12px; }
.kk-social a:hover { background: rgba(255,255,255,.2); text-decoration: none; }

.kk-whatsapp {
	position: fixed; right: 18px; bottom: 78px; z-index: 90;
	display: grid; place-items: center; width: 52px; height: 52px;
	border-radius: 50%; background: #25d366; color: #fff; box-shadow: var(--kk-shadow-lg);
}
.kk-whatsapp:hover { color: #fff; }

.kk-to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 90;
	display: grid; place-items: center; width: 44px; height: 44px;
	border: 1px solid var(--kk-line); border-radius: 50%;
	background: #fff; color: var(--kk-ink); box-shadow: var(--kk-shadow);
	opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.kk-to-top.is-visible { opacity: 1; visibility: visible; }

/* ================================================== 12. Responsive */

@media (max-width: 1180px) {
	.kk-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kk-footer__about { grid-column: 1 / -1; max-width: 560px; }
}

@media (max-width: 1024px) {
	.kk-cart__layout, .kk-checkout__layout, .kk-order__layout, .kk-contact__layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.kk-cart__summary, .kk-checkout__summary { position: static; }
	.kk-product__top { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.kk-appband__inner { grid-template-columns: minmax(0, 1fr); }
	.kk-appband__art { display: none; }
}

@media (max-width: 960px) {
	.kk-topbar, .kk-navbar, .kk-header__search { display: none; }
	.kk-search-mobile { display: block; }
	.kk-burger { display: grid; }
	.kk-action--hide-sm { display: none; }
	.kk-header__row { gap: 12px; }

	.kk-shop__layout, .kk-account__layout { grid-template-columns: minmax(0, 1fr); }
	.kk-filters {
		position: fixed; inset: 0 auto 0 0; z-index: 150;
		width: min(86vw, 320px); border-radius: 0; overflow-y: auto;
		transform: translateX(-100%); transition: transform .24s ease;
	}
	.kk-filters.is-open { transform: none; box-shadow: var(--kk-shadow-lg); }
	.kk-filters__close, .kk-filters__open { display: block; }
	.kk-usp__grid { grid-template-columns: 1fr 1fr; }
	.kk-account-nav ul { display: flex; flex-wrap: wrap; }
	.kk-account-nav a { border-bottom: 0; border-right: 1px solid var(--kk-line); }
}

@media (max-width: 720px) {
	:root { --kk-gutter: 14px; }

	.kk-slide { min-height: 340px; padding: 24px; }
	.kk-tiles { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 14px; }
	.kk-tile__media { width: 64px; height: 64px; }
	.kk-tile__label { font-size: 12.5px; }
	.kk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.kk-rail { grid-auto-columns: minmax(152px, 46vw); }
	.kk-rail-nav { display: none; }
	.kk-footer__grid { grid-template-columns: 1fr; gap: 26px; }
	.kk-facts > div { grid-template-columns: 1fr; gap: 2px; }
	.kk-field-grid, .kk-field-grid--3 { grid-template-columns: 1fr; }
	.kk-section { padding-block: 28px; }
	.kk-callout { padding: 22px; }
	.kk-card__title a { font-size: 13px; }
	.kk-card__price strong { font-size: 15px; }
	.kk-buybox .kk-btn { min-width: 0; }
	.kk-track { font-size: 11px; }

	/* Stacked data tables */
	.kk-table thead { display: none; }
	.kk-table, .kk-table tbody, .kk-table tr, .kk-table td { display: block; width: 100%; }
	.kk-table tr { border: 1px solid var(--kk-line); border-radius: var(--kk-radius); margin-bottom: 12px; padding: 6px 0; }
	.kk-table td { border: 0; display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; }
	.kk-table td::before { content: attr(data-label); font-weight: 600; color: var(--kk-muted); font-size: 12.5px; }
	.kk-table--cart .kk-cart__product { flex: 1; }
}

@media (max-width: 480px) {
	.kk-header__row { gap: 8px; }
	.kk-wordmark__text small { display: none; }
	.kk-wordmark__text strong { font-size: 17px; }
	.kk-wordmark__mark { width: 34px; height: 34px; }
	.kk-action { padding: 6px 5px; }
	.kk-action--cart .kk-action__text,
	.kk-action .kk-action__text small { display: none; }
}

@media (max-width: 420px) {
	.kk-usp__grid { grid-template-columns: 1fr; }
	.kk-header__actions .kk-action__text { display: none; }
}

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

@media print {
	.kk-header, .kk-footer, .kk-announce, .kk-whatsapp, .kk-to-top,
	.kk-drawer, .kk-breadcrumb, .kk-search-mobile { display: none !important; }
}

/* Toasts (created by assets/js/app.js) */
.kk-toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 300;
	translate: -50% 12px; opacity: 0;
	padding: 12px 20px; border-radius: var(--kk-pill);
	background: var(--kk-ink); color: #fff; font-size: 14px; font-weight: 600;
	box-shadow: var(--kk-shadow-lg);
	transition: opacity .2s ease, translate .2s ease;
	max-width: calc(100vw - 32px);
}
.kk-toast.is-in { opacity: 1; translate: -50% 0; }
.kk-toast--error { background: var(--kk-danger); }

/* ==========================================================================
   Wholesale edition
   ========================================================================== */

/* Cards */
.kk-card__per { font-size: 13px; color: var(--kk-muted); font-weight: 600; margin-right: 2px; }
.kk-card__moq { display: block; margin: 2px 0 8px; font-size: 12px; color: var(--kk-muted); }
.kk-card__price--locked a { font-size: 13.5px; font-weight: 700; color: var(--kk-primary); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.kk-card__price--locked a:hover { text-decoration: none; }
.kk-card__buy { display: flex; gap: 6px; }
.kk-card__buy .kk-btn { flex: 1; }
.kk-card__pending { display: block; text-align: center; padding: 7px 10px; border-radius: 8px; background: #fff4e0; color: #a36200; font-size: 12.5px; font-weight: 700; }

/* Product page */
.kk-product__per { margin-left: 6px; font-size: 15px; font-weight: 600; color: var(--kk-muted); }
.kk-lockbox, .kk-gate {
	display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center;
	margin: 14px 0; padding: 14px 16px; border-radius: 10px;
	background: var(--kk-primary-soft); color: var(--kk-primary-dark);
}
.kk-gate p { flex: 1 1 100%; margin: 0; }
.kk-buybox--wholesale { display: block; margin: 14px 0; }
.kk-buybox__label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.kk-buybox__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.kk-buybox__hint { margin: 10px 0 0; font-size: 13px; color: var(--kk-muted); }
.kk-buybox__total { display: block; margin-top: 4px; color: var(--kk-ink); }
.kk-buybox__total strong { font-size: 17px; }

/* Cart */
.kk-qty__unit { align-self: center; padding: 0 8px 0 2px; font-size: 12px; color: var(--kk-muted); font-weight: 700; }
.kk-btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; background: var(--kk-muted); color: #fff; text-align: center; }
.kk-cart__product .kk-field__error { display: block; max-width: 34ch; }

/* Checkout / account */
.kk-bizcard {
	display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline;
	margin: 0 0 18px; padding: 14px 18px; border-radius: 12px;
	background: var(--kk-primary-soft); color: var(--kk-primary-dark);
}
.kk-bizcard small { flex: 1 1 100%; opacity: .8; }
.kk-status { margin-bottom: 18px; }

/* Auth forms */
.kk-auth--wide { max-width: 760px; margin-left: auto; margin-right: auto; }
.kk-form-h { font-size: 16px; margin: 22px 0 10px; color: var(--kk-ink); }
.kk-hint-gap { margin: -6px 0 14px; }
.kk-field--check .kk-check { align-items: flex-start; gap: 10px; }
.kk-field--check input[type="checkbox"] { margin-top: 4px; }
.kk-auth select, .kk-checkout select {
	width: 100%; padding: 11px 12px; border: 1px solid var(--kk-line-strong); border-radius: 8px; font: inherit; background: #fff;
}
/* Honeypot: off-screen for people, still present for bots. */
.kk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Status pills for retailer accounts */
.kk-pill--approved { background: var(--kk-primary-soft); color: var(--kk-primary-dark); }
.kk-pill--rejected { background: var(--kk-danger-soft); color: var(--kk-danger); }

/* ==========================================================================
   Order size (product page, cards, cart) - cleaner quantity controls
   ========================================================================== */

/* Small labels */
.kk-tag {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 3px 10px; border-radius: var(--kk-pill);
	background: var(--kk-primary); color: #fff;
	font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap;
}
.kk-tag--soft { background: var(--kk-surface-alt); color: var(--kk-muted); box-shadow: inset 0 0 0 1px var(--kk-line); }

/* Product page order panel */
.kk-obox {
	margin: 18px 0 20px; padding: 18px;
	border: 1px solid var(--kk-line); border-radius: var(--kk-radius);
	background: var(--kk-surface-alt);
	display: grid; gap: 14px;
}
.kk-obox__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.kk-obox__title { font-size: 14px; font-weight: 800; color: var(--kk-ink); }
.kk-obox__range { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.kk-obox__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.kk-obox__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kk-obox__actions .kk-btn { justify-content: center; text-align: center; width: 100%; }
.kk-obox .kk-btn--ghost { background: #fff; }

.kk-qty-select {
	display: flex; align-items: stretch; gap: 1px;
	border: 1px solid var(--kk-line-strong); border-radius: var(--kk-radius-sm); overflow: hidden; background: var(--kk-line);
}
.kk-qty-select select {
	appearance: none; -webkit-appearance: none; border: 0; border-radius: 0; background: #fff;
	padding: 12px 30px 12px 14px; font: inherit; font-size: 15px; font-weight: 800; color: var(--kk-ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 10px center; background-size: 15px;
	min-width: 0;
}
.kk-qty-select select:focus-visible { outline: 2px solid var(--kk-primary); outline-offset: -2px; }
.kk-qty-select__x { align-self: center; padding: 0 4px; font-size: 15px; font-weight: 800; color: var(--kk-muted); background: #fff; }
#kk-qty-base { flex: 1 1 auto; min-width: 110px; }
#kk-qty-mult { flex: 0 0 72px; padding-right: 28px; }

.kk-qty-select--sm { display: inline-flex; }
.kk-qty-select--sm select {
	padding: 8px 24px 8px 10px; font-size: 13.5px; font-weight: 700;
	background-position: right 6px center; background-size: 13px;
}
.kk-qty-select--sm [data-qty-base] { flex: 1 1 auto; min-width: 74px; }
.kk-qty-select--sm [data-qty-mult] { flex: 0 0 44px; padding-right: 20px; }
.kk-qty-select--sm .kk-qty-select__x { font-size: 13px; padding: 0 3px; }

.kk-obox__total {
	display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
	padding-top: 12px; border-top: 1px dashed var(--kk-line-strong);
	font-size: 14px; color: var(--kk-muted);
}
.kk-obox__total strong { font-size: 22px; font-weight: 800; color: var(--kk-ink); }

/* Product cards */
.kk-card__moq {
	display: inline-block; margin: 2px 0 10px; padding: 2px 9px;
	border-radius: var(--kk-pill); background: var(--kk-surface-alt);
	box-shadow: inset 0 0 0 1px var(--kk-line);
	font-size: 11.5px; font-weight: 700; color: var(--kk-muted);
}
.kk-card__moq--seed { background: var(--kk-primary-soft); box-shadow: none; color: var(--kk-primary-dark); }
.kk-card__buy { align-items: stretch; gap: 8px; }

/* Cart */
.kk-cart__product em.kk-cart__limits { margin-top: 2px; font-size: 11.5px; }

@media (max-width: 560px) {
	.kk-obox { padding: 14px; }
	.kk-obox__row { flex-direction: column; }
	.kk-obox__actions { grid-template-columns: 1fr; }
	.kk-qty-select { width: 100%; }
}

/* ==========================================================================
   Product page - B2B spec sheet (category, badges, spec table, quote button)
   ========================================================================== */

.kk-product__summary h1 { margin-bottom: 4px; color: var(--kk-primary-dark); line-height: 1.2; }
.kk-product__cat { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--kk-muted); }

.kk-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.kk-badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px 5px 9px; border-radius: 6px;
	font-size: 13px; font-weight: 700; line-height: 1.4;
}
.kk-badge svg { flex: none; }
.kk-badge--grade { background: #f3e6cc; color: #a5772a; }
.kk-badge--cert  { background: #dcf1e1; color: #1b8a45; }

.kk-spec { width: 100%; margin: 16px 0 18px; border-collapse: collapse; font-size: 14.5px; }
.kk-spec th, .kk-spec td { padding: 12px 0; vertical-align: top; text-align: left; border-bottom: 1px solid var(--kk-line); }
.kk-spec tr:first-child th, .kk-spec tr:first-child td { border-top: 1px solid var(--kk-line); }
.kk-spec th { width: 42%; padding-right: 16px; font-weight: 400; color: var(--kk-muted); }
.kk-spec td { font-weight: 700; color: var(--kk-text); }

@media (max-width: 560px) {
	.kk-spec th { width: 46%; }
	.kk-spec th, .kk-spec td { padding: 10px 0; font-size: 14px; }
}


/* ==========================================================================
   Delivery areas, pincode check and one-time code (OTP)
   ========================================================================== */

.kk-delivery { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--kk-line); border-radius: var(--kk-radius); background: var(--kk-surface-alt); }
.kk-delivery h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; }
.kk-delivery h2 .kk-icon { color: var(--kk-primary); }
.kk-delivery__form { display: flex; gap: 8px; }
.kk-delivery__form input { flex: 1 1 auto; min-width: 0; max-width: 240px; padding: 9px 12px; border: 1px solid var(--kk-line-strong); border-radius: var(--kk-radius-sm); background: #fff; font: inherit; letter-spacing: .04em; }
.kk-delivery__form input:focus-visible { outline: 2px solid var(--kk-primary); outline-offset: 1px; }

.kk-delivery__msg { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 13.5px; color: var(--kk-muted); }
.kk-delivery__msg .kk-icon { flex: none; margin-top: 2px; }
.kk-delivery__msg--ok { color: var(--kk-primary-dark); }
.kk-delivery__msg--ok .kk-icon { color: var(--kk-primary); }
.kk-delivery__msg--bad { color: var(--kk-danger); }
.kk-panel > .kk-delivery__msg, .kk-cart__summary > .kk-delivery__msg { margin: 12px 0; }


.kk-otp { font-size: 26px; letter-spacing: .5em; text-align: center; font-weight: 700; }
.kk-otp__resend { margin-top: 16px; font-size: 14px; text-align: center; color: var(--kk-muted); }
.kk-linkbtn { padding: 0; border: 0; background: none; color: var(--kk-primary); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.kk-linkbtn:hover, .kk-linkbtn:focus-visible { text-decoration: none; }
input[readonly] { background: var(--kk-surface-alt); color: var(--kk-muted); }


/* ==========================================================================
   Checkout — Razorpay payment block and the redirect/processing page
   ========================================================================== */

.kk-payrzp {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 14px; border: 1px solid var(--kk-primary); border-radius: var(--kk-radius);
	background: var(--kk-primary-soft);
}
.kk-payrzp__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--kk-primary); }
.kk-payrzp strong { display: block; }
.kk-payrzp small { color: var(--kk-muted); }
.kk-payrzp--off { border-color: var(--kk-line-strong); background: var(--kk-surface-alt); }
.kk-payrzp--off .kk-payrzp__icon { color: var(--kk-muted); }

.kk-pay-redirect {
	max-width: 560px; margin: 60px auto; padding: 36px 30px; text-align: center;
	border: 1px solid var(--kk-line); border-radius: var(--kk-radius); background: #fff;
}
.kk-pay-redirect__items, .kk-pay-redirect__totals { text-align: left; }
.kk-pay-redirect__items { margin-top: 4px; }
.kk-pay-redirect__spin {
	width: 40px; height: 40px; margin: 0 auto 18px;
	border: 3px solid var(--kk-primary-soft); border-top-color: var(--kk-primary); border-radius: 50%;
	animation: kk-spin 0.9s linear infinite;
}
@keyframes kk-spin { to { transform: rotate(360deg); } }
.kk-pay-redirect h1 { font-size: 20px; margin: 0 0 8px; }
.kk-pay-redirect p { color: var(--kk-muted); margin: 0 0 20px; }
.kk-pay-redirect__amount { font-size: 26px; font-weight: 800; color: var(--kk-primary-dark); margin: 0 0 20px; }

.kk-pill--failed { background: #fbe3e0; color: var(--kk-danger); }


/* ==========================================================================
   "Your orders" — a card per order, with product thumbnails (account-orders.php)
   ========================================================================== */

.kk-orders-list { display: flex; flex-direction: column; gap: 14px; }

.kk-order-card { border: 1px solid var(--kk-line); border-radius: var(--kk-radius); background: #fff; overflow: hidden; }

.kk-order-card__head {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
	padding: 14px 18px; background: var(--kk-surface-alt); border-bottom: 1px solid var(--kk-line);
	font-size: 13.5px;
}
.kk-order-card__label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--kk-muted); }
.kk-order-card__head > div:first-child a { font-weight: 700; font-size: 15px; }
.kk-order-card__date { margin-left: 10px; color: var(--kk-muted); }
.kk-order-card__meta { display: flex; align-items: center; gap: 12px; color: var(--kk-muted); }
.kk-order-card__meta strong { color: var(--kk-text); font-size: 15px; }

.kk-order-card__items { display: flex; gap: 14px; overflow-x: auto; padding: 16px 18px; margin: 0; list-style: none; }
.kk-order-card__items li { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; width: 84px; text-align: center; }
.kk-order-card__thumb { display: block; border: 1px solid var(--kk-line); border-radius: var(--kk-radius-sm); overflow: hidden; }
.kk-order-card__thumb img { display: block; width: 56px; height: 56px; object-fit: cover; }
.kk-order-card__itemname { font-size: 12px; line-height: 1.3; color: var(--kk-text); }
.kk-order-card__itemname small { display: block; color: var(--kk-muted); }

.kk-order-card__foot { padding: 12px 18px; border-top: 1px solid var(--kk-line); text-align: right; }

@media (max-width: 560px) {
	.kk-order-card__head { flex-direction: column; align-items: flex-start; }
	.kk-order-card__meta { width: 100%; justify-content: space-between; }
}
