/*
 * Khaamar Baari storefront — built from the approved design (03 Design System, C01–C09).
 * Everything is scoped under .kbs so the theme cannot leak in and this cannot leak out.
 * Breakpoints from the design: 1100 (tablet), 1000 (product page), 700 (phone).
 */
@font-face {
	font-family: "KB Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.kbs {
	--kb-green: #0c5b3a;
	--kb-green-hover: #08402a;
	--kb-ink: #16231d;
	--kb-muted: #6b7570;
	--kb-body: #4a5550;
	--kb-white: #fff;
	--kb-surface: #f7f9f7;
	--kb-border: #e3e8e5;
	--kb-border-strong: #cdd3d0;
	--kb-well: #f5f5f5;
	--kb-accent: #dabb28;
	--kb-tint: #fdf9e3;
	--kb-tint-ink: #5e4e00;
	--kb-error: #a2281e;
	--kb-low: #765400;
	font-family: "KB Inter", Inter, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	color: var(--kb-ink);
	background: var(--kb-white);
	-webkit-font-smoothing: antialiased;
	font-size: 14px;
	line-height: 1.45;
}
.kbs *, .kbs *::before, .kbs *::after { box-sizing: border-box; }
.kbs a { color: var(--kb-green); text-decoration: none; }
.kbs a:hover { color: var(--kb-green-hover); text-decoration: underline; }
.kbs button, .kbs input, .kbs select, .kbs textarea { font-family: inherit; }
.kbs button { white-space: normal; text-transform: none; letter-spacing: normal; }
.kbs img { max-width: 100%; height: auto; }
.kbs h1, .kbs h2, .kbs h3, .kbs p { color: inherit; }
.kbs a:focus-visible, .kbs button:focus-visible, .kbs input:focus-visible, .kbs select:focus-visible, .kbs textarea:focus-visible, .kbs summary:focus-visible { outline: 2px solid var(--kb-green); outline-offset: 2px; }
.kbs .kbs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kbs .wrap { box-sizing: content-box; max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.kbs .kbs-tabular { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.kbs-topbar { background: var(--kb-green); color: #fff; font-size: 11.5px; }
.kbs-topbar__in { height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kbs-topbar a { color: #fff; }
.kbs-topbar__links { display: flex; gap: 10px; align-items: center; }
.kbs-topbar__links .dot { opacity: .6; }
.kbs-hdr { background: #fff; }
.kbs-hdr__main { height: 86px; display: grid; grid-template-columns: 303px minmax(0, 500px) 1fr; align-items: center; }
.kbs-logo { display: flex; align-items: center; gap: 12px; color: var(--kb-green); }
.kbs-logo:hover { text-decoration: none; }
.kbs-logo img { width: 56px; height: 56px; display: block; flex-shrink: 0; }
.kbs-logo__text { display: flex; flex-direction: column; gap: 3px; }
.kbs-logo__name { font-size: 22px; font-weight: 700; color: var(--kb-green); letter-spacing: -.01em; line-height: 1; }
.kbs-logo__tag { font-size: 8.5px; font-weight: 600; color: var(--kb-green); letter-spacing: .14em; text-transform: uppercase; }
.kbs-search { display: flex; height: 48px; border: 1px solid var(--kb-border); border-radius: 10px; overflow: hidden; background: #fff; position: relative; }
.kbs-search__icon { display: flex; align-items: center; padding-left: 16px; color: var(--kb-muted); }
.kbs-search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 12px; font-size: 14px; color: var(--kb-ink); background: transparent; height: auto; box-shadow: none; }
.kbs-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.kbs-search__go { width: 48px; border: 0; background: var(--kb-green); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; border-radius: 0; }
.kbs-search__go:hover { background: var(--kb-green-hover); }
.kbs-hdr__actions { display: flex; align-items: center; justify-content: flex-end; gap: 30px; }
.kbs-act { display: flex; align-items: center; gap: 10px; color: var(--kb-ink); }
.kbs a.kbs-act { color: var(--kb-ink); }
.kbs a.kbs-act:hover { text-decoration: none; color: var(--kb-green); }
.kbs-act__txt { display: flex; flex-direction: column; gap: 2px; }
.kbs-act__k { font-size: 10.5px; color: var(--kb-muted); }
.kbs-act__v { font-size: 13px; font-weight: 600; }
.kbs-act--cart { min-width: 92px; }
.kbs-nav { border-top: 1px solid var(--kb-border); border-bottom: 1px solid var(--kb-border); }
.kbs-nav__in { height: 50px; display: flex; align-items: center; gap: 36px; font-size: 14px; overflow-x: auto; scrollbar-width: none; }
.kbs-nav__in::-webkit-scrollbar { display: none; }
.kbs a.kbs-nav__a { white-space: nowrap; padding: 14px 0; color: var(--kb-ink); font-weight: 500; }
.kbs a.kbs-nav__a:hover { color: var(--kb-green); text-decoration: none; }
.kbs a.kbs-nav__a.is-current { color: var(--kb-green); font-weight: 600; box-shadow: inset 0 -2px 0 var(--kb-green); }
.kbs a.kbs-nav__again { margin-left: auto; white-space: nowrap; padding: 14px 0; color: var(--kb-green); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kbs-fbar { background: var(--kb-surface); border-bottom: 1px solid var(--kb-border); }
.kbs-fbar__in { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 8px; }
.kbs-fbar__l { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.kbs-fbar__hint { font-size: 13px; color: var(--kb-muted); }
.kbs-fbar__set { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.kbs-seg { display: inline-flex; background: #fff; border: 1px solid var(--kb-border); border-radius: 8px; padding: 3px; gap: 2px; }
.kbs-seg button { height: 30px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent; color: var(--kb-ink); font-size: 12.5px; font-weight: 500; cursor: pointer; }
.kbs-seg button[aria-pressed="true"] { background: var(--kb-green); color: #fff; font-weight: 600; }

/* Mobile header */
.kbs-mhdr { display: none; background: #fff; padding-bottom: 12px; }
.kbs-mhdr__top { height: 70px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; }
.kbs-iconbtn { width: 44px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; color: var(--kb-ink); padding: 0; }
.kbs-iconbtn--l { margin-left: -10px; }
.kbs-iconbtn--r { margin-right: -10px; }
.kbs-mhdr .kbs-logo { gap: 9px; }
.kbs-mhdr .kbs-logo img { width: 42px; height: 42px; }
.kbs-mhdr .kbs-logo__name { font-size: 17px; }
.kbs-mhdr .kbs-logo__tag { font-size: 7px; letter-spacing: .12em; }
.kbs-mhdr__rows { padding: 0 16px; display: flex; flex-direction: column; gap: 12px; }
.kbs-mhdr .kbs-search { height: 46px; }
.kbs-mhdr .kbs-search__icon { padding: 0 10px 0 14px; }
.kbs-mhdr .kbs-search input[type="search"] { padding: 0; }
.kbs-mhdr .kbs-search__go { width: 46px; }
.kbs a.kbs-mloc { height: 44px; padding: 0 12px 0 14px; border-radius: 10px; background: var(--kb-surface); display: flex; align-items: center; gap: 10px; color: var(--kb-ink); }
.kbs-mloc__t { flex: 1; font-size: 13px; font-weight: 600; }
.kbs-mloc__t span { color: var(--kb-muted); font-weight: 400; }
.kbs-mchips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 2px; scrollbar-width: none; }
.kbs-mchips::-webkit-scrollbar { display: none; }
.kbs-cartbadge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--kb-green); color: #fff; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.kbs-cartbadge[hidden] { display: none; }

/* Drawer (mobile menu) */
.kbs-drawer { position: fixed; inset: 0; z-index: 99990; display: none; }
.kbs-drawer.is-open { display: block; }
.kbs-drawer__bg { position: absolute; inset: 0; background: rgba(22, 35, 29, .45); }
.kbs-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: #fff; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.kbs-drawer__panel a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid var(--kb-border); color: var(--kb-ink); font-size: 15px; font-weight: 500; }

/* ---------- Buttons, chips, badges ---------- */
.kbs .kbs-btn { height: 44px; padding: 0 22px; border-radius: 8px; border: 0; background: var(--kb-green); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; line-height: 1.2; }
.kbs .kbs-btn:hover { background: var(--kb-green-hover); color: #fff; text-decoration: none; }
.kbs .kbs-btn--ghost { background: #fff; border: 1px solid var(--kb-border); color: var(--kb-green); padding: 0 20px; }
.kbs .kbs-btn--ghost:hover { background: var(--kb-surface); color: var(--kb-green); }
.kbs .kbs-btn--outline { background: #fff; border: 1.5px solid var(--kb-green); color: var(--kb-green); }
.kbs .kbs-btn--outline:hover { background: var(--kb-surface); color: var(--kb-green); }
.kbs .kbs-btn--sm { height: 40px; padding: 0 20px; font-size: 13px; }
.kbs .kbs-btn--block { width: 100%; }
.kbs .kbs-btn[disabled], .kbs .kbs-btn.is-disabled { background: #e3e8e5; color: var(--kb-muted); cursor: not-allowed; }
.kbs .kbs-chip { height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--kb-border); background: #fff; color: var(--kb-ink); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; white-space: nowrap; cursor: pointer; text-decoration: none; }
.kbs .kbs-chip:hover { border-color: var(--kb-green); color: var(--kb-green); text-decoration: none; }
.kbs .kbs-chip.is-on, .kbs .kbs-chip[aria-pressed="true"] { background: var(--kb-green); border-color: var(--kb-green); color: #fff; font-weight: 600; }
.kbs .kbs-chip--soft { background: var(--kb-surface); border-color: transparent; color: var(--kb-green); font-weight: 600; }
.kbs .kbs-chip--tint { background: var(--kb-tint); border-color: transparent; color: var(--kb-green); font-weight: 600; }
.kbs-badge-save { background: var(--kb-tint); color: var(--kb-tint-ink); font-size: 11px; font-weight: 700; line-height: 1; padding: 5px 7px; border-radius: 6px; display: inline-block; }
.kbs-low { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--kb-low); }
.kbs-low::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--kb-accent); }
.kbs-instock { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--kb-green); }
.kbs-instock::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--kb-green); }
.kbs-instock.is-out { color: var(--kb-error); }
.kbs-instock.is-out::before { background: var(--kb-error); }

/* ---------- Section headings, grids ---------- */
.kbs-sec { padding-top: 72px; }
.kbs-sec__h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.kbs-sec__h h2 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.kbs-sec__h p { margin: 4px 0 0; font-size: 13px; color: var(--kb-muted); }
.kbs-sec__h a { font-size: 12px; font-weight: 600; white-space: nowrap; }
.kbs .g5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; }
.kbs .g6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.kbs .g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.kbs .g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kbs .g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kbs .kbs-plp .g4 { gap: 24px; }

/* ---------- Product card ---------- */
.kbs-card { color: var(--kb-ink); width: 100%; height: 100%; background: #fff; border: 1px solid var(--kb-border); border-radius: 12px; padding: 14px 14px 18px; display: flex; flex-direction: column; position: relative; }
.kbs-card__media { position: relative; display: block; }
.kbs-card__img { display: block; width: 100%; aspect-ratio: 196 / 118; border-radius: 8px; object-fit: contain; background: var(--kb-well); }
.kbs-card.is-out .kbs-card__img { opacity: .55; }
.kbs-card__badge { position: absolute; top: 8px; left: 8px; }
.kbs-card__outtag { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--kb-muted); }
.kbs .kbs-fav { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--kb-border); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: var(--kb-green); }
.kbs .kbs-fav svg path { fill: none; }
.kbs .kbs-fav[aria-pressed="true"] svg path { fill: var(--kb-green); }
.kbs-card__brand { margin-top: 12px; font-size: 11px; font-weight: 600; color: var(--kb-muted); text-transform: none; }
.kbs-card__name { margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.kbs-card__brand + .kbs-card__name { margin-top: 2px; }
.kbs a.kbs-card__name { color: var(--kb-ink); display: block; }
.kbs a.kbs-card__name:hover { color: var(--kb-green); }
.kbs-card__size { margin-top: 5px; font-size: 12px; color: var(--kb-muted); }
.kbs-card__low { margin-top: 6px; }
.kbs-card__price { margin-top: 8px; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.kbs-price { font-size: 18px; font-weight: 700; color: var(--kb-green); font-variant-numeric: tabular-nums; }
.kbs-price small { font-size: inherit; font-weight: 700; }
.kbs-was { font-size: 12.5px; color: var(--kb-muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.kbs-card__note { margin-top: 3px; font-size: 11px; color: var(--kb-muted); }
.kbs-card__cta { margin-top: auto; padding-top: 12px; }
.kbs .kbs-add { width: 100%; height: 38px; border: 0; border-radius: 8px; background: var(--kb-green); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0; line-height: 1; }
.kbs .kbs-add:hover { background: var(--kb-green-hover); }
.kbs .kbs-add--outline { background: #fff; color: var(--kb-green); border: 1.5px solid var(--kb-green); }
.kbs .kbs-add--outline:hover { background: var(--kb-surface); color: var(--kb-green); text-decoration: none; }
.kbs .kbs-add--notify { background: #fff; color: var(--kb-ink); border: 1.5px solid var(--kb-border-strong); }
.kbs .kbs-add--notify:hover { background: var(--kb-surface); }
.kbs .kbs-add.is-busy { opacity: .7; pointer-events: none; }
.kbs-stepper { height: 38px; border: 1.5px solid var(--kb-green); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; background: #fff; }
.kbs .kbs-stepper button { width: 38px; height: 35px; border: 0; background: transparent; color: var(--kb-green); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.kbs-stepper__q { font-size: 14px; font-weight: 700; color: var(--kb-green); font-variant-numeric: tabular-nums; }
.kbs-card__err { margin-top: 6px; font-size: 11.5px; color: var(--kb-error); }

/* ---------- Home ---------- */
.kbs-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 660px); gap: 56px; align-items: center; }
.kbs-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--kb-green); }
.kbs-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--kb-accent); }
.kbs-hero h1 { margin: 20px 0 0; font-size: 56px; line-height: 1.02; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.kbs-hero p { margin: 22px 0 0; font-size: 17px; line-height: 1.55; color: var(--kb-muted); max-width: 440px; }
.kbs-hero__cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.kbs-hero__media { background: var(--kb-surface); border-radius: 18px; padding: 20px; }
.kbs-hero__media img { display: block; width: 100%; aspect-ratio: 612 / 319; object-fit: cover; border-radius: 12px; }
.kbs a.kbs-cat { height: 132px; border: 1px solid var(--kb-border); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--kb-ink); background: #fff; padding: 0 8px; text-align: center; }
.kbs a.kbs-cat:hover { border-color: var(--kb-green); text-decoration: none; }
.kbs-cat img { width: 74px; height: 58px; object-fit: contain; }
.kbs-cat__ph { width: 74px; height: 58px; border-radius: 6px; background: var(--kb-well); }
.kbs-cat span { font-size: 13px; font-weight: 500; }
.kbs-dept { background: var(--kb-surface); border-radius: 16px; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: center; }
.kbs-dept h3 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.015em; }
.kbs-dept p { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--kb-muted); max-width: 270px; }
.kbs-dept .kbs-btn { margin-top: 18px; }
.kbs-dept img { display: block; width: 100%; aspect-ratio: 236 / 146; object-fit: cover; border-radius: 10px; }
.kbs-info { background: var(--kb-surface); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.kbs-info__icon { width: 40px; height: 40px; border-radius: 999px; background: #fff; border: 1px solid var(--kb-border); display: flex; align-items: center; justify-content: center; color: var(--kb-green); }
.kbs-info h3 { margin: 18px 0 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.kbs-info p { margin: 8px 0 0; font-size: 12.5px; color: var(--kb-muted); line-height: 1.5; }
.kbs-info a { margin-top: 12px; font-size: 12.5px; font-weight: 600; }
.kbs-chiprow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.kbs-panel { border: 1px solid var(--kb-border); border-radius: 16px; padding: 34px 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.kbs-panel h2 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.015em; }
.kbs-panel p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--kb-muted); max-width: 420px; }
.kbs-panel .kbs-btn { margin-top: 20px; height: 40px; font-size: 13px; }
.kbs-panel__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.kbs .kbs-panel__chips .kbs-chip { height: 40px; padding: 0 24px; }
.kbs-again { border: 1px solid var(--kb-border); border-radius: 12px; padding: 12px; display: flex; align-items: center; gap: 14px; background: #fff; }
.kbs-again img, .kbs-again .kbs-again__ph { width: 76px; height: 56px; border-radius: 8px; object-fit: contain; background: var(--kb-well); flex-shrink: 0; }
.kbs-again__txt { flex: 1; min-width: 0; }
.kbs-again__n { font-size: 13.5px; font-weight: 500; }
.kbs-again__s { font-size: 11.5px; color: var(--kb-muted); }
.kbs-again__p { font-size: 13.5px; font-weight: 700; color: var(--kb-green); margin-top: 2px; }
.kbs .kbs-reorder { height: 36px; padding: 0 14px; border-radius: 8px; border: 1.5px solid var(--kb-green); background: #fff; color: var(--kb-green); font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.kbs-again .kbs-stepper { width: 92px; height: 36px; }
.kbs-again .kbs-stepper button { width: 28px; height: 32px; }
.kbs a.kbs-brand { height: 96px; border: 1px solid var(--kb-border); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--kb-ink); background: #fff; text-align: center; padding: 0 8px; }
.kbs a.kbs-brand:hover { border-color: var(--kb-green); text-decoration: none; }
.kbs-brand__n { font-size: 17px; font-weight: 700; color: var(--kb-green); }
.kbs-brand__s { font-size: 11.5px; color: var(--kb-muted); }
.kbs-step { border: 1px solid var(--kb-border); border-radius: 12px; padding: 22px; display: flex; gap: 16px; background: #fff; }
.kbs-step__n { width: 32px; height: 32px; border-radius: 999px; background: var(--kb-green); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kbs-step h3 { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.kbs-step p { margin: 8px 0 0; font-size: 13px; line-height: 1.55; color: var(--kb-muted); }
.kbs-note { margin-top: 18px; font-size: 12.5px; color: var(--kb-muted); }
.kbs-feat { border: 1px solid var(--kb-border); border-radius: 12px; padding: 22px 20px; background: #fff; }
.kbs-feat__n { width: 28px; height: 28px; border-radius: 999px; background: var(--kb-surface); color: var(--kb-green); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.kbs-feat h3 { margin: 16px 0 0; font-size: 14.5px; font-weight: 600; }
.kbs-feat p { margin: 8px 0 0; font-size: 12.5px; color: var(--kb-muted); line-height: 1.45; }

/* ---------- Listing (shop, category, search) ---------- */
.kbs-crumbs { padding-top: 22px; font-size: 12.5px; color: var(--kb-muted); display: flex; flex-wrap: wrap; gap: 6px; }
.kbs-crumbs a { color: var(--kb-muted); }
.kbs-crumbs [aria-current] { color: var(--kb-ink); }
.kbs-ph { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.kbs-ph h1 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.kbs-ph p { margin: 8px 0 0; font-size: 13.5px; color: var(--kb-muted); }
.kbs-sort { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--kb-muted); }
.kbs .kbs-sort select { height: 40px; min-width: 184px; border: 1px solid var(--kb-border); border-radius: 8px; padding: 0 12px; font-size: 13.5px; font-weight: 600; color: var(--kb-ink); background: #fff; }
.kbs-ph + .kbs-chiprow { margin-top: 22px; }
.kbs-plp { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; margin-top: 28px; }
.kbs-side { flex: 0 0 248px; border: 1px solid var(--kb-border); border-radius: 12px; padding: 18px; }
.kbs-side__h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--kb-border); }
.kbs-side__h strong { font-size: 15px; }
.kbs-side__h a { font-size: 12.5px; font-weight: 600; }
.kbs-fgroup { padding: 16px 0 12px; border-bottom: 1px solid var(--kb-border); }
.kbs-fgroup:last-child { border-bottom: 0; padding-bottom: 0; }
.kbs-fgroup legend, .kbs-fgroup h3 { font-size: 13.5px; font-weight: 600; margin: 0 0 8px; padding: 0; }
.kbs-fgroup fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.kbs .kbs-chk { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--kb-ink); cursor: pointer; padding: 5px 0; }
.kbs .kbs-chk input { width: 16px; height: 16px; accent-color: var(--kb-green); margin: 0; }
.kbs-chk .n { margin-left: auto; color: var(--kb-muted); font-size: 12px; }
.kbs-main { flex: 999 1 560px; min-width: 0; }
.kbs-count { font-size: 13.5px; color: var(--kb-muted); margin-bottom: 14px; }
.kbs-more { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; color: var(--kb-muted); }
.kbs-more__bar { width: 220px; height: 4px; background: var(--kb-border); border-radius: 99px; overflow: hidden; }
.kbs-more__bar span { display: block; height: 100%; background: var(--kb-green); }
.kbs-empty { border: 1px dashed var(--kb-border-strong); border-radius: 12px; padding: 40px 24px; text-align: center; }
.kbs-empty h2 { margin: 0; font-size: 20px; }
.kbs-empty p { margin: 8px 0 0; color: var(--kb-muted); font-size: 13.5px; }
.kbs-filterbtn { display: none; }
.kbs-cat-hero { margin-top: 18px; background: var(--kb-surface); border-radius: 16px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: center; }
.kbs-cat-hero h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.kbs-cat-hero p { margin: 10px 0 0; color: var(--kb-muted); font-size: 14px; }
.kbs-cat-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }

/* Autocomplete */
.kbs-ac { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--kb-border); border-radius: 12px; box-shadow: 0 12px 32px rgba(22, 35, 29, .12); z-index: 9999; padding: 8px; display: none; max-height: 70vh; overflow-y: auto; }
.kbs-ac.is-open { display: block; }
.kbs-ac__h { font-size: 11px; font-weight: 600; color: var(--kb-muted); padding: 8px 10px 4px; text-transform: uppercase; letter-spacing: .04em; }
.kbs a.kbs-ac__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; color: var(--kb-ink); }
.kbs a.kbs-ac__item:hover, .kbs a.kbs-ac__item[aria-selected="true"] { background: var(--kb-surface); text-decoration: none; }
.kbs-ac__item img, .kbs-ac__ph { width: 40px; height: 40px; border-radius: 6px; object-fit: contain; background: var(--kb-well); flex-shrink: 0; }
.kbs-ac__t { flex: 1; min-width: 0; font-size: 13.5px; }
.kbs-ac__t mark { background: none; color: inherit; font-weight: 700; }
.kbs-ac__p { font-size: 13px; font-weight: 700; color: var(--kb-green); }
.kbs a.kbs-ac__all { display: block; padding: 10px; font-size: 13px; font-weight: 600; border-top: 1px solid var(--kb-border); margin-top: 6px; }

/* ---------- Product page ---------- */
.kbs-pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 18px; }
.kbs-gal { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
.kbs-gal__thumbs { display: flex; flex-direction: column; gap: 10px; }
.kbs .kbs-gal__thumbs button { width: 72px; height: 72px; border-radius: 10px; border: 1px solid var(--kb-border); background: var(--kb-well); padding: 6px; cursor: pointer; }
.kbs .kbs-gal__thumbs button[aria-current="true"] { border: 1.5px solid var(--kb-green); }
.kbs-gal__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.kbs-gal__main { position: relative; background: var(--kb-well); border-radius: 18px; aspect-ratio: 518 / 425; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kbs-gal__main img { width: 100%; height: 100%; object-fit: contain; }
.kbs-gal__tag { position: absolute; top: 16px; left: 16px; }
.kbs-gal__tag.kbs-wtag { background: #fff; color: var(--kb-green); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 6px; display: flex; gap: 6px; align-items: center; }
.kbs-pi__kick { font-size: 12.5px; font-weight: 600; color: var(--kb-green); }
.kbs-pi__kick.is-muted { color: var(--kb-muted); }
.kbs-pi h1 { margin: 8px 0 0; font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.kbs-pi__size { margin-top: 8px; font-size: 13.5px; color: var(--kb-muted); }
.kbs-pi__price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.kbs-pi__price .kbs-price { font-size: 32px; }
.kbs-pi__per { font-size: 14px; color: var(--kb-muted); }
.kbs-pi__price .kbs-was { font-size: 14px; }
.kbs-pi__unitp { font-size: 13px; color: var(--kb-muted); }
.kbs-pi__stock { margin-top: 12px; }
.kbs-opt { margin-top: 28px; }
.kbs-opt__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.kbs-opt__h span { font-weight: 400; font-size: 13px; color: var(--kb-muted); }
.kbs-tiles { display: flex; gap: 10px; flex-wrap: wrap; }
.kbs .kbs-tile { min-width: 96px; min-height: 56px; padding: 8px 14px; border: 1px solid var(--kb-border); border-radius: 10px; background: #fff; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--kb-ink); }
.kbs .kbs-tile b { font-size: 13.5px; font-weight: 600; }
.kbs .kbs-tile small { font-size: 12px; color: var(--kb-muted); }
.kbs .kbs-tile[aria-pressed="true"], .kbs .kbs-tile[aria-checked="true"] { border: 1.5px solid var(--kb-green); background: var(--kb-surface); }
.kbs-tiles--grow .kbs-tile { flex: 1 1 0; align-items: flex-start; text-align: left; }
.kbs-radios { display: flex; flex-direction: column; gap: 10px; }
.kbs .kbs-radio { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--kb-border); border-radius: 10px; cursor: pointer; background: #fff; text-align: left; width: 100%; color: var(--kb-ink); }
.kbs .kbs-radio[aria-checked="true"] { border: 1.5px solid var(--kb-green); background: var(--kb-surface); }
.kbs-radio__dot { width: 20px; height: 20px; border-radius: 99px; border: 1.5px solid var(--kb-border-strong); flex-shrink: 0; }
.kbs .kbs-radio[aria-checked="true"] .kbs-radio__dot { border: 6px solid var(--kb-green); }
.kbs-radio b { display: block; font-size: 13.5px; font-weight: 600; }
.kbs-radio small { display: block; font-size: 12px; color: var(--kb-muted); margin-top: 2px; }
.kbs-qty { display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--kb-border); border-radius: 10px; min-width: 122px; justify-content: space-between; }
.kbs .kbs-qty button { width: 46px; height: 48px; border: 0; background: transparent; color: var(--kb-ink); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.kbs-qty__v { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 40px; text-align: center; }
.kbs-qty--wide { min-width: 208px; }
.kbs-buy { margin-top: 26px; display: flex; gap: 12px; align-items: center; }
.kbs .kbs-buy .kbs-btn { flex: 1; height: 50px; font-size: 15px; }
.kbs .kbs-buy .kbs-fav-lg { width: 50px; height: 50px; border-radius: 10px; border: 1px solid var(--kb-border); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; color: var(--kb-ink); padding: 0; }
.kbs .kbs-buy .kbs-fav-lg[aria-pressed="true"] svg path { fill: var(--kb-green); stroke: var(--kb-green); }
.kbs-textarea { width: 100%; min-height: 60px; border: 1px solid var(--kb-border); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--kb-ink); resize: vertical; }
.kbs-est { margin-top: 24px; background: var(--kb-surface); border-radius: 12px; padding: 18px; }
.kbs-est__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.kbs-est__row b { font-size: 14px; }
.kbs-est__row .kbs-price { font-size: 22px; }
.kbs-est small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--kb-muted); }
.kbs-est p { margin: 10px 0 0; font-size: 12.5px; color: var(--kb-muted); }
.kbs-fulfil { margin-top: 24px; border: 1px solid var(--kb-border); border-radius: 12px; }
.kbs-fulfil__row { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--kb-border); }
.kbs-fulfil__row:last-child { border-bottom: 0; }
.kbs-fulfil__row b { display: block; font-size: 13.5px; }
.kbs-fulfil__row span { font-size: 12.5px; color: var(--kb-muted); }
.kbs-fulfil__foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: 12.5px; color: var(--kb-muted); background: #fff; border-radius: 0 0 12px 12px; }
.kbs-acc { border-top: 1px solid var(--kb-border); }
.kbs-acc:last-of-type { border-bottom: 1px solid var(--kb-border); }
.kbs-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; height: 52px; font-size: 15px; font-weight: 600; }
.kbs-acc summary::-webkit-details-marker { display: none; }
.kbs-acc[open] summary svg { transform: rotate(180deg); }
.kbs-acc__body { margin: 0 0 18px; font-size: 13.5px; line-height: 1.6; color: var(--kb-body); }
.kbs-acc dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 18px; font-size: 13.5px; }
.kbs-acc dt { color: var(--kb-muted); }
.kbs-acc dd { margin: 0; }
.kbs-pdp__accs { margin-top: 28px; }
.kbs-msg { margin-top: 12px; font-size: 13px; }
.kbs-msg.is-err { color: var(--kb-error); }
.kbs-msg.is-ok { color: var(--kb-green); font-weight: 600; }

/* ---------- Footer, bottom nav, sticky cart ---------- */
.kbs-foot { background: var(--kb-surface); margin-top: 72px; }
.kbs-foot__in { padding-top: 56px; padding-bottom: 28px; }
.kbs-foot__cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 24px; }
.kbs-foot .kbs-logo { gap: 12px; }
.kbs-foot .kbs-logo img { width: 40px; height: 40px; }
.kbs-foot .kbs-logo__name { font-size: 24px; }
.kbs-foot__about { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--kb-body); max-width: 330px; }
.kbs-foot h3 { margin: 0 0 12px; font-size: 13px; font-weight: 600; }
.kbs-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.kbs-foot li a { font-size: 12.5px; color: var(--kb-body); }
.kbs-foot__bar { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--kb-border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--kb-body); }
.kbs-foot__bar nav { display: flex; gap: 18px; }
.kbs-foot__bar a { color: var(--kb-body); }
.kbs-mfoot { display: none; }
.kbs-mfoot a.kbs-mfoot__row { display: flex; justify-content: space-between; align-items: center; height: 48px; border-bottom: 1px solid var(--kb-border); color: var(--kb-ink); font-size: 14.5px; font-weight: 600; }
.kbs-bnav { display: none; }
.kbs-cartbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.kbs .g5, .kbs .g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kbs .g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kbs-hero { grid-template-columns: minmax(0, 1fr); }
	.kbs-hdr__main { grid-template-columns: auto minmax(0, 1fr); gap: 24px; }
	.kbs-hdr__actions .kbs-act--loc { display: none; }
	.kbs-dept { grid-template-columns: minmax(0, 1fr); }
	.kbs-panel { grid-template-columns: minmax(0, 1fr); }
	.kbs-panel__chips { justify-content: flex-start; }
	.kbs-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kbs-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
	.kbs-pdp { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.kbs-cat-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
	.kbs-topbar, .kbs-hdr, .kbs-nav, .kbs-fbar { display: none; }
	.kbs-mhdr { display: block; }
	.kbs .wrap { padding-inline: 16px; }
	.kbs-sec { padding-top: 44px; }
	.kbs-sec__h { margin-bottom: 14px; }
	.kbs-sec__h h2 { font-size: 22px; }
	.kbs-hero h1 { font-size: 35px; margin-top: 14px; line-height: 1.06; }
	.kbs-hero p { font-size: 15px; margin-top: 14px; }
	.kbs-hero__cta { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; }
	.kbs-hero__cta .kbs-btn { padding: 0 12px; height: 46px; }
	.kbs-hero__media { padding: 0; background: none; }
	.kbs-hero__media img { border-radius: 14px; }
	.kbs .rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.kbs .rail::-webkit-scrollbar { display: none; }
	.kbs .rail > * { scroll-snap-align: start; flex: 0 0 162px; }
	.kbs .g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.kbs a.kbs-cat { height: 146px; }
	.kbs-cat img, .kbs-cat__ph { width: 104px; height: 82px; }
	.kbs-dept { padding: 16px; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; }
	.kbs-dept h3 { font-size: 20px; }
	.kbs-dept p { font-size: 12.5px; margin-top: 8px; }
	.kbs-dept .kbs-btn { height: 38px; padding: 0 14px; font-size: 12.5px; margin-top: 12px; }
	.kbs .g3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.kbs .g4, .kbs .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.kbs .g2 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.kbs-feats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.kbs-steps .kbs-step { border: 0; padding: 0; }
	.kbs-panel { padding: 22px 18px; }
	.kbs-panel h2 { font-size: 22px; }
	.kbs-foot { margin-top: 44px; }
	.kbs-foot__cols { display: none; }
	.kbs-mfoot { display: block; }
	.kbs-foot__in { padding-top: 28px; }
	.kbs-foot__bar { margin-top: 18px; padding-top: 0; border-top: 0; }
	.kbs-bnav { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: #fff; border-top: 1px solid var(--kb-border); grid-template-columns: repeat(5, 1fr); height: 62px; padding-bottom: env(safe-area-inset-bottom); }
	.kbs a.kbs-bnav__a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 500; color: var(--kb-muted); position: relative; }
	.kbs a.kbs-bnav__a.is-current { color: var(--kb-green); font-weight: 600; }
	.kbs a.kbs-bnav__a:hover { text-decoration: none; }
	.kbs-bnav .kbs-cartbadge { top: 4px; right: calc(50% - 22px); }
	.kbs-cartbar:not([hidden]) { display: flex; position: fixed; left: 16px; right: 16px; bottom: 74px; z-index: 9989; height: 50px; border-radius: 10px; background: var(--kb-green); color: #fff; align-items: center; justify-content: space-between; padding: 0 16px; box-shadow: 0 8px 24px rgba(12, 91, 58, .25); }
	.kbs a.kbs-cartbar { color: #fff; }
	.kbs a.kbs-cartbar:hover { text-decoration: none; }
	.kbs-cartbar__l { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; }
	.kbs-cartbar__n { width: 26px; height: 26px; border-radius: 99px; background: #fff; color: var(--kb-green); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
	.kbs-cartbar__t { font-size: 15px; font-weight: 700; }
	body.kbs-has-bnav { padding-bottom: 140px; }
	.kbs-ph h1 { font-size: 26px; }
	.kbs-ph { margin-top: 10px; }
	.kbs-sort { width: 100%; }
	.kbs .kbs-sort select { flex: 1; }
	.kbs-ph + .kbs-chiprow { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
	.kbs-side { display: none; flex-basis: 100%; }
	.kbs-side.is-open { display: block; }
	.kbs-filterbtn { display: inline-flex; }
	.kbs-plp { margin-top: 16px; gap: 16px; }
	.kbs-gal { grid-template-columns: minmax(0, 1fr); }
	.kbs-gal__thumbs { flex-direction: row; order: 2; }
	.kbs .kbs-gal__thumbs button { width: 56px; height: 56px; }
	.kbs-pi h1 { font-size: 26px; }
	.kbs-pi__price .kbs-price { font-size: 28px; }
	.kbs-buy { position: sticky; bottom: 70px; background: #fff; padding: 10px 0; z-index: 5; }
	.kbs-ac { position: fixed; top: 0; left: 0; right: 0; bottom: 0; border-radius: 0; max-height: none; }
}
@media (max-width: 420px) {
	.kbs .rail > * { flex-basis: 158px; }
	.kbs-card { padding: 12px 12px 14px; }
	.kbs-card__name { font-size: 14px; }
	.kbs-price { font-size: 17px; }
}
@media (prefers-reduced-motion: no-preference) {
	.kbs-card, .kbs .kbs-add, .kbs .kbs-chip { transition: border-color .15s, background-color .15s, color .15s; }
}

/* ---------- S1 additions: hidden, landing, sub-category tiles, search, brands ---------- */
.kbs [hidden] { display: none !important; }
.kbs-body { margin: 0; background: #fff; }
.kbs-land { margin-top: 18px; background: var(--kb-surface); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; min-height: 360px; }
.kbs-land__txt { padding: 48px; }
.kbs-land h1 { margin: 0; font-size: 44px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.kbs-land p { margin: 16px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--kb-muted); max-width: 440px; }
.kbs-land__img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 360px; }
.kbs a.kbs-subcat { border: 1px solid var(--kb-border); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 12px; color: var(--kb-ink); background: #fff; }
.kbs a.kbs-subcat:hover { border-color: var(--kb-green); text-decoration: none; }
.kbs-subcat img, .kbs-subcat__ph { width: 100%; aspect-ratio: 208 / 118; object-fit: contain; border-radius: 8px; background: var(--kb-well); display: block; }
.kbs-subcat__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.kbs-subcat__row b { font-size: 14.5px; font-weight: 600; }
.kbs-subcat__row small { font-size: 12px; color: var(--kb-muted); white-space: nowrap; }
.kbs-subtiles { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kbs a.kbs-subtile { border: 1px solid var(--kb-border); border-radius: 12px; padding: 12px; display: flex; align-items: center; gap: 14px; color: var(--kb-ink); background: #fff; min-height: 76px; }
.kbs a.kbs-subtile:hover { border-color: var(--kb-green); text-decoration: none; }
.kbs a.kbs-subtile.is-on { border: 1.5px solid var(--kb-green); background: var(--kb-surface); }
.kbs-subtile img, .kbs-subtile__ph { width: 64px; height: 48px; object-fit: contain; border-radius: 6px; background: var(--kb-well); flex-shrink: 0; }
.kbs-subtile b { display: block; font-size: 14px; font-weight: 600; }
.kbs-subtile small { display: block; font-size: 12px; color: var(--kb-muted); }
.kbs-countrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kbs-countrow .kbs-sort { margin-left: auto; }
.kbs-active { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
.kbs .kbs-active .kbs-chip { height: 28px; padding: 0 12px; font-size: 12px; }
.kbs-related__k { font-size: 13px; color: var(--kb-muted); align-self: center; }
.kbs .kbs-chip--opt { height: 40px; padding: 0 18px; font-size: 13.5px; }
.kbs .kbs-chip--opt[aria-checked="true"] { border: 1.5px solid var(--kb-green); background: var(--kb-surface); color: var(--kb-ink); font-weight: 600; }
.kbs-content { padding-top: 28px; }
/* WooCommerce blocks (cart, checkout, account) inside the store frame: brand buttons, readable text. */
.kbs .kbs-content .wp-element-button, .kbs .kbs-content .wp-block-button__link, .kbs .kbs-content .wc-block-components-button:not(.is-link), .kbs .kbs-content .button { background: var(--kb-green); color: #fff; border-radius: 8px; border: 0; }
.kbs .kbs-content .wp-element-button:hover, .kbs .kbs-content .wp-block-button__link:hover, .kbs .kbs-content .wc-block-components-button:not(.is-link):hover, .kbs .kbs-content .button:hover { background: var(--kb-green-hover); color: #fff; text-decoration: none; }
.kbs-content__h { margin: 0 0 20px; font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.kbs-acct__h { margin: 0 0 16px; font-size: 22px; }
.kbs a.kbs-pi__kick { display: inline-block; }
.kbs-pi .kbs-opt__h label { font-weight: 600; }
.kbs .kbs-filterbtn { display: none; }
/* Themes (Hello Elementor's reset) colour every button on hover / focus: keep ours plain. */
.kbs .kbs-iconbtn:hover, .kbs .kbs-iconbtn:focus { background: transparent; color: var(--kb-ink); }
.kbs .kbs-tile:hover, .kbs .kbs-radio:hover, .kbs .kbs-tile:focus, .kbs .kbs-radio:focus { color: var(--kb-ink); }
.kbs .kbs-fav:hover, .kbs .kbs-fav:focus { background: #fff; color: var(--kb-green); }
.kbs .kbs-stepper button:hover, .kbs .kbs-qty button:hover, .kbs .kbs-stepper button:focus, .kbs .kbs-qty button:focus { background: var(--kb-surface); }
.kbs .kbs-stepper button:hover, .kbs .kbs-stepper button:focus { color: var(--kb-green); }
.kbs .kbs-qty button:hover, .kbs .kbs-qty button:focus { color: var(--kb-ink); }
.kbs .kbs-gal__thumbs button:hover { background: var(--kb-well); }
.kbs .kbs-ac__add:hover { background: var(--kb-green-hover); color: #fff; }
.kbs .kbs-reorder:hover { background: var(--kb-surface); color: var(--kb-green); }
/* Store photos are pack shots on white: show them on white, keep the grey well for "no photo". */
.kbs img.kbs-card__img, .kbs-subcat img, .kbs-subtile img, .kbs-cat img, .kbs-again img, .kbs-ac__item img { background: #fff; }
.kbs-gal__main:has(img) { background: #fff; border: 1px solid var(--kb-border); }
.kbs-sort label { white-space: nowrap; }
.kbs-gal--single { grid-template-columns: minmax(0, 1fr); }
.kbs .kbs-tiles--center .kbs-tile { align-items: center; text-align: center; }
.kbs-land--text { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.kbs-land--text .kbs-land__txt { padding: 40px 48px; }
.kbs-cat-hero:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }

/* No results (C06) */
.kbs-noresults { margin-top: 28px; border: 1px solid var(--kb-border); border-radius: 16px; padding: 40px 32px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 40px; }
.kbs-noresults__icon { width: 72px; height: 72px; border-radius: 999px; background: var(--kb-surface); color: var(--kb-green); display: flex; align-items: center; justify-content: center; }
.kbs-noresults h2 { margin: 6px 0 0; font-size: 28px; letter-spacing: -.015em; }
.kbs-noresults p { margin: 10px 0 0; color: var(--kb-muted); font-size: 14.5px; max-width: 560px; line-height: 1.55; }
.kbs-noresults .kbs-noresults__mean { color: var(--kb-ink); font-size: 15px; }
.kbs-noresults__mean a { font-weight: 700; text-decoration: underline; }
.kbs-noresults__warn { margin-top: 20px; background: var(--kb-tint); border-radius: 10px; padding: 12px 14px 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.kbs-noresults h3 { margin: 24px 0 10px; font-size: 13.5px; font-weight: 600; }

/* Autocomplete (C05): suggestions + categories + brands | products */
.kbs-hdr .kbs-ac { left: -48px; right: -212px; padding: 0; }
.kbs-ac__cols { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); }
.kbs-ac__cols > :only-child { grid-column: 1 / -1; }
.kbs-ac__l { padding: 10px; border-right: 1px solid var(--kb-border); }
.kbs-ac__r { padding: 10px 16px; }
.kbs a.kbs-ac__sug { padding: 7px 10px; }
.kbs-ac__n { margin-left: auto; font-size: 12px; color: var(--kb-muted); }
.kbs-ac__prod { display: flex; align-items: center; gap: 8px; }
.kbs-ac__prod .kbs-ac__item { flex: 1; min-width: 0; }
.kbs-ac__t small { display: block; font-size: 12px; color: var(--kb-muted); margin-top: 2px; }
.kbs-ac__t small b { color: var(--kb-green); }
.kbs .kbs-ac__add { height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--kb-green); color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.kbs-ac__out, .kbs-ac__opt { font-size: 12px; font-weight: 600; color: var(--kb-muted); white-space: nowrap; }
.kbs-ac__none { margin: 6px 10px; color: var(--kb-muted); font-size: 13px; }
.kbs a.kbs-ac__all { text-align: center; border: 1px solid var(--kb-border); border-radius: 10px; background: var(--kb-surface); margin-top: 10px; }
.kbs-ac__foot { display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--kb-border); background: var(--kb-surface); font-size: 12px; color: var(--kb-muted); border-radius: 0 0 12px 12px; }
.kbs-ac__foot kbd { display: inline-block; min-width: 20px; padding: 1px 5px; margin: 0 2px; border: 1px solid var(--kb-border-strong); border-radius: 5px; background: #fff; font-family: inherit; font-size: 11px; text-align: center; }

/* Brands directory (C11) */
.kbs-brandsearch { width: 320px; max-width: 100%; }
.kbs .kbs-brandsearch input[type="search"] { padding: 0 14px; }
.kbs-az { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 4px; border-top: 1px solid var(--kb-border); border-bottom: 1px solid var(--kb-border); padding: 10px 0; }
.kbs-az a, .kbs-az span { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 13px; font-weight: 600; }
.kbs-az span { color: var(--kb-border-strong); }
.kbs-az a:hover { background: var(--kb-surface); text-decoration: none; }
.kbs-az + .kbs-count { margin-top: 16px; }
.kbs-azgroup { padding-top: 20px; scroll-margin-top: 20px; }
.kbs-azgroup h2 { margin: 0 0 12px; font-size: 18px; color: var(--kb-green); }
.kbs a.kbs-brandrow { border: 1px solid var(--kb-border); border-radius: 12px; padding: 12px; display: flex; align-items: center; gap: 12px; color: var(--kb-ink); }
.kbs a.kbs-brandrow:hover { border-color: var(--kb-green); text-decoration: none; }
.kbs-brandrow__i { width: 40px; height: 40px; border-radius: 999px; background: var(--kb-surface); color: var(--kb-green); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kbs-brandrow b { display: block; font-size: 14px; }
.kbs-brandrow small { display: block; font-size: 12px; color: var(--kb-muted); }

@media (max-width: 1100px) {
	.kbs-subtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kbs-hdr .kbs-ac { left: 0; right: 0; }
}
@media (max-width: 860px) {
	.kbs-land { grid-template-columns: minmax(0, 1fr); }
	.kbs-land__txt { padding: 24px 18px; }
	.kbs-land h1 { font-size: 32px; }
	.kbs-land__img { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
	.kbs-subtiles { display: flex; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.kbs a.kbs-subtile { flex: 0 0 200px; }
	.kbs .kbs-subcats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kbs-countrow .kbs-sort { margin-left: 0; }
	.kbs .kbs-filterbtn { display: inline-flex; }
	.kbs-noresults { grid-template-columns: minmax(0, 1fr); padding: 24px 18px; gap: 16px; }
	.kbs-noresults h2 { font-size: 22px; }
	.kbs-noresults__warn { flex-direction: column; align-items: flex-start; }
	.kbs-ac__cols { grid-template-columns: minmax(0, 1fr); }
	.kbs-ac__l { border-right: 0; border-bottom: 1px solid var(--kb-border); }
	.kbs-ac__foot { display: none; }
	.kbs-mhdr .kbs-ac { position: absolute; top: calc(100% + 6px); left: 0; right: 0; bottom: auto; border-radius: 12px; max-height: 70vh; }
	.kbs-content__h { font-size: 26px; }
}
