/*
Theme Name: KKC Trade
Theme URI: https://trade.kenyakangacollection.com
Description: The Kenya Kanga Collection wholesale portal. A minimal, purpose-built WooCommerce theme: dashboard, image-first catalog, colour-by-quantity order matrix, grouped cart, trimmed checkout. No builder, no options screen.
Author: Kenya Kanga Collection
Version: 1.0.0
Requires PHP: 8.0
Text Domain: kkc-trade
*/

/* ---------- tokens ---------- */
/* Kenya Kanga Collection's own palette (the live theme's settings): navy #062E47, red #E2231A, text #061B2B, dividers #DCDEE0. */
:root{
  --bg:#f5f6f7; --surface:#ffffff; --surface-2:#eef0f2;
  --ink:#061b2b; --ink-2:#44535f; --ink-3:#76838e;
  --line:#dcdee0; --line-2:#e9ebed;
  --accent:#062e47; --accent-hover:#0a4266; --accent-ink:#ffffff; --accent-soft:#e6edf2; --accent-text:#062e47;
  --red:#e2231a;
  --good:#2c7a4b; --good-soft:#e3f2e8;
  --warn:#8f6210; --warn-soft:#fbf0d6;
  --crit:#c4201a; --crit-soft:#fbe6e5;
  --brand-deep:#062e47; --on-brand:#f4f3ee; --on-brand-2:rgba(244,243,238,.82);
  --radius:6px;
  --font:-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --max:1200px;
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 var(--font)}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent-text);text-decoration:none}
a:hover{color:var(--red);text-decoration:underline}
/* Block links (cards, tiles, nav, tabs, buttons) keep their own colours on hover; only text links turn red. */
.kkc-product-card:hover,.kkc-logo:hover,.kkc-nav a:hover,.kkc-tabs a:hover,.kkc-subcats a:hover,.kkc-filter a:hover,.kkc-order-panel__name a:hover,.kkc-drawer__trail a:hover{color:var(--ink)}
.kkc-tile:hover{color:#fff}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
h1,h2,h3,h4{margin:0 0 .4em;line-height:1.2;font-weight:600;letter-spacing:-.01em;text-wrap:balance}
h1{font-size:1.9rem}h2{font-size:1.4rem}h3{font-size:1.15rem}h4{font-size:1rem}
p{margin:0 0 1em}
table{border-collapse:collapse;width:100%}
th{text-align:left}
input,select,textarea,button{font:inherit;color:inherit}
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search],input[type=url],select,textarea{width:100%;padding:.55rem .7rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
textarea{min-height:5rem}
label{font-weight:500}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.kkc-wrap{max-width:var(--max);margin-inline:auto;padding-inline:clamp(16px,3vw,32px)}
.kkc-main{padding-block:28px 64px;min-height:60vh}
/* Browsing pages carry the order so far on the right; the page widens to make room. */
.kkc-wrap--wide{max-width:1480px}
.kkc-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start}
.kkc-layout__main{min-width:0}
.kkc-order-panel{position:sticky;top:calc(var(--kkc-header-h,0px) + 16px)}
.kkc-order-panel__sheet{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.kkc-order-panel__bar{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:12px 16px;cursor:default;list-style:none;border-bottom:1px solid var(--line-2)}
.kkc-order-panel__bar::-webkit-details-marker{display:none}
.kkc-order-panel__title{font-weight:700}
.kkc-order-panel__sum{font-size:.88rem;color:var(--ink-2);white-space:nowrap}
.kkc-order-panel__body{padding:12px 16px 16px;max-height:calc(100vh - 140px);overflow:auto}
.kkc-order-panel__group{padding:8px 0;border-bottom:1px solid var(--line-2)}
.kkc-order-panel__group:last-of-type{border-bottom:0}
.kkc-order-panel__name{display:flex;justify-content:space-between;gap:8px;font-weight:600;font-size:.92rem}
.kkc-order-panel__name a{color:var(--ink)}
.kkc-order-panel__group ul{list-style:none;margin:4px 0 0;padding:0;font-size:.85rem;color:var(--ink-2)}
.kkc-order-panel__group li{display:flex;align-items:center;gap:8px;padding:2px 0}
.kkc-order-panel__group li span:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kkc-order-panel__qty{font-variant-numeric:tabular-nums;color:var(--ink)}
.kkc-order-panel__remove{color:var(--ink-3);font-size:1.05rem;line-height:1;padding:0 2px;text-decoration:none}
.kkc-order-panel__remove:hover{color:var(--crit);text-decoration:none}
.kkc-order-panel__short{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:4px 0 0;font-size:.82rem;color:var(--warn)}
.kkc-order-panel__total{display:flex;justify-content:space-between;padding:12px 0 10px;border-top:1px solid var(--line);margin-top:6px}
.kkc-order-panel__actions{display:flex;flex-direction:column;gap:8px}
.kkc-order-panel__actions .kkc-btn{text-align:center}
.kkc-order-panel__actions .kkc-btn[aria-disabled=true]{opacity:.45;cursor:not-allowed}
.kkc-order-panel__note{margin:0;font-size:.82rem;color:var(--warn)}
@media (max-width:1180px){
  .kkc-layout{display:block}
  .kkc-order-panel{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:40;padding:0 12px env(safe-area-inset-bottom,0)}
  .kkc-order-panel__sheet{border-radius:var(--radius) var(--radius) 0 0;box-shadow:0 -6px 24px rgba(6,27,43,.12);max-width:640px;margin:0 auto}
  .kkc-order-panel__sheet:not([open]) .kkc-order-panel__bar{border-bottom:0}
  .kkc-order-panel__bar{cursor:pointer}
  .kkc-order-panel__bar::after{content:'\25B4';margin-left:auto;color:var(--ink-3)}
  .kkc-order-panel__sheet[open] .kkc-order-panel__bar::after{content:'\25BE'}
  .kkc-order-panel__body{max-height:50vh}
  .kkc-main{padding-bottom:110px}
  .kkc-product .kkc-matrix__foot{bottom:58px}
}
/* The other way round: the categories stay open on the left and the order waits in a bar along the bottom. The top
   row of categories stands down, since the column says the same thing without cutting anything off at the edge. */
.kkc-layout--nav{grid-template-columns:236px minmax(0,1fr);gap:28px}
.kkc-nav--aside{display:none}
.kkc-sidenav{position:sticky;top:calc(var(--kkc-header-h,0px) + 16px);max-height:calc(100vh - var(--kkc-header-h,0px) - 32px);overflow:auto;overscroll-behavior:contain}
.kkc-sidenav__list,.kkc-sidenav__groups{list-style:none;margin:0;padding:0}
.kkc-sidenav__link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border-radius:var(--radius);color:var(--ink);font-size:.94rem;font-weight:500}
.kkc-sidenav__link small,.kkc-sidenav__group small{color:var(--ink-3);font-size:.78rem;font-variant-numeric:tabular-nums;font-weight:400}
.kkc-sidenav__link:hover,.kkc-sidenav__group:hover{background:var(--surface-2);text-decoration:none}
.kkc-sidenav__link.is-open{color:var(--accent-text);font-weight:600}
.kkc-sidenav__link.is-active,.kkc-sidenav__group.is-active{background:var(--accent-soft);color:var(--accent-text);font-weight:600}
.kkc-sidenav__groups{margin:2px 0 10px 18px;padding-left:8px;border-left:1px solid var(--line)}
.kkc-sidenav__groups .kkc-sidenav__groups{margin:2px 0 6px 12px}
body.kkc-side--nav .kkc-tabs{display:none}
.kkc-sidenav__group{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 10px;border-radius:var(--radius);color:var(--ink-2);font-size:.88rem}
body.kkc-side--nav .kkc-order-panel{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:40;padding:0 12px env(safe-area-inset-bottom,0)}
body.kkc-side--nav .kkc-order-panel__sheet{border-radius:var(--radius) var(--radius) 0 0;box-shadow:0 -6px 24px rgba(6,27,43,.12);max-width:640px;margin:0 auto}
body.kkc-side--nav .kkc-order-panel__sheet:not([open]) .kkc-order-panel__bar{border-bottom:0}
body.kkc-side--nav .kkc-order-panel__bar{cursor:pointer}
body.kkc-side--nav .kkc-order-panel__bar::after{content:'\25B4';margin-left:auto;color:var(--ink-3)}
body.kkc-side--nav .kkc-order-panel__sheet[open] .kkc-order-panel__bar::after{content:'\25BE'}
body.kkc-side--nav .kkc-order-panel__body{max-height:50vh}
body.kkc-side--nav .kkc-main{padding-bottom:110px}
body.kkc-side--nav .kkc-product .kkc-matrix__foot{bottom:58px}
@media (max-width:1180px){
  .kkc-sidenav{display:none}
  .kkc-nav--aside{display:block}
}

/* ---------- browsing without prices ---------- */
.kkc-browse{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin:0 0 20px;padding:12px 16px;border-radius:var(--radius);background:var(--accent-soft);border:1px solid #cfdbe4}
.kkc-browse p{margin:0;font-size:.95rem}
.kkc-browse__actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.kkc-btn--small,.kkc-btn.kkc-btn--small{padding:.4rem .8rem;font-size:.9rem}
.kkc-browse-range{margin-top:12px}
.kkc-browse-range__title{font-size:1.05rem;margin:0 0 10px}
.kkc-browse-range__list{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.kkc-browse-range__pick{display:inline-flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border:1px solid var(--line);border-radius:999px;background:var(--surface);cursor:pointer;font-size:.9rem;color:var(--ink)}
.kkc-browse-range__pick .kkc-thumb{width:28px;height:28px;border-radius:50%}
.kkc-browse-range__pick:hover,.kkc-browse-range__pick.is-active{border-color:var(--accent);background:var(--accent-soft)}
.kkc-browse-range__plain{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:.9rem}
.kkc-browse-range__plain .kkc-swatch{margin:0}
.kkc-browse-cta{padding:20px 22px;border-radius:var(--radius);background:var(--brand-deep);color:var(--on-brand)}
.kkc-browse-cta h2{color:#fff;font-size:1.15rem;margin:0 0 6px}
.kkc-browse-cta p{color:var(--on-brand-2);margin:0 0 12px}
.kkc-browse-cta__actions{display:flex;flex-wrap:wrap;gap:10px;margin:0!important}
.kkc-browse-cta .kkc-btn{background:#fff;border-color:#fff;color:var(--accent)}
.kkc-browse-cta .kkc-btn:hover{background:var(--accent-soft);border-color:var(--accent-soft);color:var(--accent)}
.kkc-browse-cta .kkc-btn--ghost{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
.kkc-browse-cta .kkc-btn--ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.kkc-btn--onbrand,.kkc-btn.kkc-btn--onbrand{background:#fff;border-color:#fff;color:var(--accent)}
.kkc-btn.kkc-btn--onbrand:hover{background:var(--accent-soft);border-color:var(--accent-soft);color:var(--accent)}
/* ---------- WhatsApp: a green button on the dashboard, a floating chat bubble on every page ---------- */
.kkc-btn.kkc-btn--wa,body .woocommerce a.button.kkc-btn--wa{background:#1fa855;border-color:#1fa855;color:#fff}
.kkc-btn.kkc-btn--wa:hover{background:#18904a;border-color:#18904a;color:#fff}
.kkc-wa{position:fixed;left:16px;bottom:16px;z-index:35;display:inline-flex;align-items:center;gap:8px;padding:10px 14px 10px 12px;border-radius:999px;background:#1fa855;color:#fff;font-weight:600;font-size:.92rem;box-shadow:0 4px 16px rgba(6,27,43,.22);text-decoration:none}
.kkc-wa:hover{background:#18904a;color:#fff;text-decoration:none}
.kkc-wa svg{flex:none}
@media (max-width:1180px){
  body.kkc-has-panel .kkc-wa{bottom:calc(74px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:760px){
  /* The button floats over the bottom left corner, which at the very end of the page is the footer's last lines
     (the terms link among them). The footer ends a button's height lower, so they are never under it. */
  .kkc-footer{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .kkc-wa{padding:11px;left:12px}
  .kkc-wa span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
}
body.kkc-drawer-open .kkc-wa,body.kkc-lightbox-open .kkc-wa{display:none}
@media print{.kkc-wa{display:none}}
/* ---------- quick order drawer: slides in over the page and the order panel ---------- */
.kkc-drawer{position:fixed;inset:0;z-index:60}
.kkc-drawer[hidden]{display:none}
.kkc-drawer__backdrop{position:absolute;inset:0;background:rgba(6,27,43,.38)}
.kkc-drawer__panel{position:absolute;top:0;right:0;bottom:0;width:min(660px,100%);background:var(--surface);box-shadow:-12px 0 40px rgba(6,27,43,.2);display:flex;flex-direction:column;outline:none;animation:kkc-slide .22s ease-out}
@keyframes kkc-slide{from{transform:translateX(24px);opacity:.6}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.kkc-drawer__panel{animation:none}}
.kkc-drawer__top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 12px 26px;border-bottom:1px solid var(--line-2)}
.kkc-drawer__label{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
.kkc-drawer__close{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:1.5rem;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0 0 3px}
.kkc-drawer__close:hover{background:var(--surface-2)}
.kkc-drawer__scroll{flex:1 1 auto;overflow:auto;padding:18px 26px 40px}
.kkc-drawer__loading{color:var(--ink-3)}
.kkc-drawer__msg{margin:0 0 12px;padding:10px 14px;border-radius:var(--radius);font-size:.92rem;background:var(--surface-2);color:var(--ink)}
.kkc-drawer__msg--success{background:var(--good-soft);color:var(--good)}
.kkc-drawer__msg--error{background:var(--crit-soft);color:var(--crit)}
.kkc-drawer__head{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px;align-items:start;margin-bottom:14px}
.kkc-drawer__img{aspect-ratio:1/1;border:1px solid var(--line-2);border-radius:var(--radius);overflow:hidden;background:var(--surface-2)}
.kkc-drawer__img img{width:100%;height:100%;object-fit:cover;display:block}
.kkc-drawer__trail{margin:0 0 4px;font-size:.8rem;color:var(--ink-3)}
.kkc-drawer__trail a{color:var(--ink-3)}
.kkc-drawer__facts h2{margin:0 0 6px;font-size:1.2rem;line-height:1.25}
.kkc-drawer__price{margin:0 0 10px;font-size:1.05rem}
.kkc-drawer__price .amount{font-weight:600}
.kkc-drawer__notice{margin:0 0 14px}
.kkc-drawer__form .kkc-matrix{overflow-x:auto}
.kkc-drawer__form .kkc-matrix-form.is-busy{opacity:.6;pointer-events:none}
.kkc-drawer__more{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin:18px 0 0;font-size:.92rem}
body.kkc-drawer-open{overflow:hidden}
/* Signed in as staff, WordPress's admin bar covers the top 32px (46px on narrow screens); keep the overlays and the sticky panel below it. */
body.admin-bar .kkc-drawer,body.admin-bar .kkc-lightbox{top:32px}
@media (min-width:1181px){
  body.admin-bar:not(.kkc-side--nav) .kkc-order-panel{top:calc(var(--kkc-header-h,0px) + 48px)}
  body.admin-bar .kkc-sidenav{top:calc(var(--kkc-header-h,0px) + 48px);max-height:calc(100vh - var(--kkc-header-h,0px) - 64px)}
  body.admin-bar .kkc-tabs{top:calc(var(--kkc-header-h,0px) + 32px)}
}
@media (max-width:782px){
  body.admin-bar .kkc-drawer,body.admin-bar .kkc-lightbox{top:46px}
}
.kkc-muted{color:var(--ink-2)}
.kkc-small{font-size:.9rem}
.kkc-num{font-variant-numeric:tabular-nums}

/* buttons */
.button,button.button,.kkc-btn,.woocommerce-button,.wc-forward,input[type=submit]{display:inline-block;padding:.65rem 1.1rem;border:1px solid var(--accent);border-radius:var(--radius);background:var(--accent);color:var(--accent-ink);font-weight:600;cursor:pointer;text-decoration:none;line-height:1.2}
.button:hover,.kkc-btn:hover,.woocommerce-button:hover,input[type=submit]:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff;text-decoration:none}
/* WooCommerce paints its primary buttons purple with (0,3,1) specificity; the portal's accent wins here. */
body .woocommerce a.button.alt,body .woocommerce button.button.alt,body .woocommerce input.button.alt,body .woocommerce #respond input#submit.alt,body .woocommerce a.button,body .woocommerce button.button,body .woocommerce input.button{background:var(--accent);border:1px solid var(--accent);color:var(--accent-ink);border-radius:var(--radius);font-weight:600}
body .woocommerce a.button.alt:hover,body .woocommerce button.button.alt:hover,body .woocommerce input.button.alt:hover,body .woocommerce a.button:hover,body .woocommerce button.button:hover,body .woocommerce input.button:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}
body .woocommerce button.button:disabled,body .woocommerce button.button:disabled[disabled],body .woocommerce button.button.alt:disabled,body .woocommerce button.button.alt:disabled[disabled]{background:var(--accent);color:var(--accent-ink);opacity:.45;cursor:not-allowed}
body .woocommerce a.button.kkc-btn--ghost,body .woocommerce button.button.kkc-btn--ghost{background:transparent;color:var(--accent-text)}
.button.kkc-btn--ghost{background:transparent;color:var(--accent-text)}
.kkc-btn--ghost{background:#fff;color:var(--accent);border:1px solid var(--accent)}
.kkc-btn--ghost:hover{background:var(--accent);color:#fff}
.button:disabled,.kkc-btn:disabled,button[disabled]{opacity:.45;cursor:not-allowed}
.kkc-btn--lg{padding:.85rem 1.4rem;font-size:1.05rem}

/* chips and pills */
.kkc-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;padding:0;list-style:none}
.kkc-chip{display:inline-block;padding:2px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:.85rem;color:var(--ink-2);white-space:nowrap}
.kkc-chip--lead{border-color:#d9c58a;background:var(--warn-soft);color:var(--warn)}
.kkc-status{font-weight:600}
.kkc-status--ok{color:var(--good)}
.kkc-status--short{color:var(--warn)}
.kkc-swatch{display:inline-block;width:16px;height:16px;border-radius:4px;border:1px solid rgba(0,0,0,.18);vertical-align:-3px;margin-right:8px;flex:none}
.kkc-swatch--none{border-style:dashed;background:transparent}
.kkc-thumb{width:36px;height:36px;border-radius:4px;object-fit:cover;flex:none;display:block}

/* notices (WooCommerce prints these) */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notice,.kkc-notice{list-style:none;margin:0 0 18px;padding:12px 16px;border-radius:var(--radius);border-left:4px solid var(--accent);background:var(--surface);border:1px solid var(--line);border-left-width:4px}
/* WooCommerce positions an icon inside its notices and pads for it; the portal's notices use the coloured edge instead. */
body .woocommerce-message::before,body .woocommerce-info::before,body .woocommerce-error::before{display:none}
body .woocommerce-message,body .woocommerce-info,body .woocommerce-error{padding:12px 16px;border-top:1px solid var(--line);color:var(--ink);background:var(--surface)}
body .woocommerce-message .button,body .woocommerce-info .button,body .woocommerce-error .button{float:right;margin:-4px 0 0 12px;padding:.4rem .8rem;font-size:.9rem}
.woocommerce-message,.kkc-notice--success{border-left-color:var(--good)}
.woocommerce-error,.kkc-notice--error{border-left-color:var(--crit)}
.woocommerce-error li,.woocommerce-message li,.woocommerce-info li{margin:0 0 6px}
.woocommerce-error li:last-child,.woocommerce-message li:last-child{margin:0}
/* A link in a notice is the way out of it ("Choose it again"): it has to look like one. */
.woocommerce-message a:not(.button),.woocommerce-info a:not(.button),.woocommerce-error a:not(.button),.kkc-notice a:not(.button):not(.kkc-btn){text-decoration:underline;text-underline-offset:2px;font-weight:600}
.woocommerce-notices-wrapper:empty{display:none}
.kkc-notice--warn{border-left-color:var(--warn);background:var(--warn-soft)}

/* ---------- header ---------- */
/* The header stays put while the page scrolls (wider than a phone); the script keeps --kkc-header-h at its height. */
.kkc-header{background:var(--surface);border-bottom:1px solid var(--line)}
@media (min-width:761px){
  .kkc-header{position:sticky;top:0;z-index:30}
  .kkc-header.is-stuck{box-shadow:0 2px 12px rgba(6,27,43,.08)}
  body.admin-bar .kkc-header{top:32px}
  :target,.kkc-matrix-form{scroll-margin-top:calc(var(--kkc-header-h,0px) + 16px)}
}
@media (min-width:761px) and (max-width:782px){
  body.admin-bar .kkc-header{top:46px}
}
.kkc-header__row{display:flex;align-items:center;gap:20px;min-height:64px;padding-block:6px}
.kkc-logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.1rem;color:var(--ink);letter-spacing:-.01em;flex:none}
.kkc-logo .kkc-logo__img{display:block;height:64px;width:auto;max-width:none;max-height:none}
.kkc-logo:hover{text-decoration:none}
.kkc-logo__tag{font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-text);border:1px solid var(--accent-soft);background:var(--accent-soft);padding:2px 7px;border-radius:999px}
.kkc-search{flex:1;max-width:520px;display:flex}
.kkc-search input[type=search]{border-radius:var(--radius) 0 0 var(--radius);border-right:0}
.kkc-search button{border-radius:0 var(--radius) var(--radius) 0;padding-inline:.9rem}
.kkc-header__links{margin-left:auto;display:flex;align-items:center;gap:18px;font-weight:500}
.kkc-header__links a{color:var(--ink)}
.kkc-header__links a.kkc-btn{color:#fff}
.kkc-currency{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;font-size:.8rem;font-weight:600;letter-spacing:.03em}
.kkc-currency a,.kkc-currency b{padding:3px 9px;color:var(--ink-2)}
.kkc-currency b{background:var(--accent);color:#fff}
.kkc-currency a:hover{background:var(--surface-2);color:var(--ink);text-decoration:none}
.kkc-currency-note{margin:0 0 12px;padding:10px 14px;border-radius:var(--radius);background:var(--accent-soft);font-size:.92rem}
.kkc-cart{display:inline-flex;align-items:center;gap:6px}
.kkc-cart__count{display:inline-block;min-width:22px;padding:0 6px;border-radius:999px;background:var(--accent);color:#fff;font-size:.8rem;font-weight:700;text-align:center;line-height:22px}
.kkc-nav{border-top:1px solid var(--line-2)}
.kkc-nav ul{display:flex;gap:2px;margin:0;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none}
.kkc-nav li a{display:block;padding:10px 12px;color:var(--ink-2);font-weight:500;font-size:.95rem;white-space:nowrap;border-bottom:2px solid transparent}
.kkc-nav li a:hover,.kkc-nav li.is-active a{color:var(--ink);border-bottom-color:var(--accent);text-decoration:none}
.kkc-nav-toggle{display:none}

/* ---------- footer ---------- */
.kkc-footer{border-top:1px solid var(--line);background:var(--surface);padding-block:28px 40px;font-size:.92rem;color:var(--ink-2)}
.kkc-footer__row{display:flex;flex-wrap:wrap;gap:24px 48px;justify-content:space-between}
.kkc-footer strong{color:var(--ink)}

/* ---------- dashboard ---------- */
.kkc-dash__welcome{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between;margin-bottom:22px}
.kkc-dash__welcome h1{margin:0}
.kkc-grid{display:grid;gap:18px}
.kkc-grid--dash{grid-template-columns:2fr 1fr}
.kkc-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px}
.kkc-card h2{font-size:1.05rem;margin-bottom:10px}
.kkc-card--order .kkc-order-meta{display:flex;flex-wrap:wrap;gap:6px 18px;color:var(--ink-2);margin-bottom:12px}
.kkc-card--order .kkc-actions{display:flex;gap:10px;flex-wrap:wrap}
.kkc-help a{display:block;margin-bottom:6px}
.kkc-section{margin-top:34px}
.kkc-section__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.kkc-section__head h2{margin:0}
.kkc-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.kkc-tile{position:relative;display:block;border-radius:var(--radius);overflow:hidden;background:var(--surface-2);aspect-ratio:3/2;color:#fff}
.kkc-tile img{width:100%;height:100%;object-fit:cover}
.kkc-tile__label{position:absolute;inset:auto 0 0 0;padding:28px 12px 10px;background:linear-gradient(transparent,rgba(0,0,0,.65));font-weight:600;font-size:1.05rem}
.kkc-tile:hover{text-decoration:none}
.kkc-tile:hover img{filter:brightness(1.05)}

/* ---------- catalog ---------- */
.kkc-crumbs{font-size:.9rem;color:var(--ink-3);margin-bottom:10px}
.kkc-crumbs a{color:var(--ink-2)}
.kkc-archive__head{margin-bottom:18px}
.kkc-archive__head p{color:var(--ink-2);max-width:70ch}
.kkc-subcats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0;list-style:none}
.kkc-subcats a{display:inline-block;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-weight:500}
.kkc-subcats a:hover{border-color:var(--accent);color:var(--accent-text);text-decoration:none}
.kkc-subcats li.is-active a{background:var(--accent);border-color:var(--accent);color:#fff}
/* Where you are: department eyebrow, group name, count; then the groups as tabs; then the fabric filter, quieter. */
.kkc-archive__head--place{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}
.kkc-archive__head--place h1{margin:0 0 4px}
.kkc-archive__head--place p{margin:0;max-width:60ch}
.kkc-archive__count{color:var(--ink-3);font-size:.92rem;white-space:nowrap;padding-bottom:6px}
.kkc-eyebrow{display:inline-block;margin-bottom:6px;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-text)}
a.kkc-eyebrow:hover{text-decoration:underline}
/* The groups stay in reach while a long grid scrolls: a strip, not a column, because the order panel already has the
   right-hand side and a third column would squeeze the photographs. */
.kkc-tabs{position:sticky;top:var(--kkc-header-h,0px);z-index:4;margin:0 0 12px;padding-top:6px;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 6px 10px -10px rgba(6,27,43,.45)}
.kkc-tabs ul{display:flex;flex-wrap:nowrap;gap:0 4px;margin:0;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none}
.kkc-tabs ul::-webkit-scrollbar{display:none}
.kkc-tabs li{flex:none}
.kkc-tabs a{display:inline-block;white-space:nowrap;padding:9px 12px 10px;color:var(--ink-2);font-weight:500;border-bottom:2px solid transparent;margin-bottom:-1px}
.kkc-tabs a small{font-size:.8em;color:var(--ink-3);margin-left:2px}
.kkc-tabs a:hover{color:var(--ink);text-decoration:none;border-bottom-color:var(--line)}
.kkc-tabs li.is-active a{color:var(--ink);font-weight:700;border-bottom-color:var(--accent)}
.kkc-tabs li.is-active a small{color:var(--accent-text)}
.kkc-filter{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 20px;font-size:.88rem}
.kkc-filter__label{color:var(--ink-3);margin-right:6px;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.kkc-filter__opt{display:inline-block;padding:3px 11px;border:1px solid var(--line);border-radius:999px;color:var(--ink-2);background:var(--surface)}
.kkc-filter__opt small{color:var(--ink-3);font-size:.85em;margin-left:2px}
.kkc-filter__opt:hover{border-color:var(--ink-3);color:var(--ink);text-decoration:none}
.kkc-filter__opt.is-active{background:var(--ink);border-color:var(--ink);color:#fff}
.kkc-filter__opt.is-active small{color:rgba(255,255,255,.7)}
.kkc-filter__clear{margin-left:6px;color:var(--ink-3);font-size:.85rem}
.kkc-subcats--fabric{margin-top:-8px}
.kkc-subcats--fabric a{font-size:.9rem;padding:4px 10px}
.kkc-subcats__label{align-self:center;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin-right:2px}
.kkc-subcats--shortlists{margin-top:12px}
/* ---------- department rows: one swipeable row per department ---------- */
.kkc-dept{margin:0 0 30px}
.kkc-dept__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.kkc-dept__head h2{margin:0;font-size:1.2rem}
.kkc-dept__head h2 a{color:var(--ink)}
.kkc-dept__count{font-size:.85rem;font-weight:500;color:var(--ink-3);margin-left:4px;font-variant-numeric:tabular-nums}
.kkc-dept__head p{margin:2px 0 0;font-size:.92rem}
.kkc-dept__tools{display:flex;align-items:center;gap:14px;flex:none}
.kkc-dept__all{white-space:nowrap;font-weight:600;font-size:.92rem}
.kkc-dept__arrows{display:inline-flex;gap:6px}
.kkc-dept__arrows[hidden]{display:none}
.kkc-dept__arrow{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:1.25rem;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0 0 2px}
.kkc-dept__arrow:hover:not(:disabled){border-color:var(--ink-3);background:var(--surface-2)}
.kkc-dept__arrow:disabled{opacity:.3;cursor:default}
.kkc-products.kkc-products--row{position:relative;display:flex;flex-wrap:nowrap;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:2px 2px 12px;margin:0 -2px;scrollbar-width:thin;scrollbar-color:var(--line) transparent;-webkit-overflow-scrolling:touch}
.kkc-products--row:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.kkc-products--row>li{flex:0 0 clamp(150px,42vw,210px);scroll-snap-align:start}
.kkc-products--row .kkc-product-card__title{font-size:.88rem}
.kkc-products--row .kkc-product-card__meta{display:none}
.kkc-products--row .kkc-product-card__body{padding:10px 12px 12px}
/* The card foot: swatches with the range under them, then the facts line, all pinned to the bottom so cards in a row line up. */
.kkc-product-card__foot{margin-top:auto;padding-top:6px}
.kkc-product-card__range{display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px;margin:0 0 4px;font-size:.8rem;line-height:1.35;color:var(--ink-2)}
.kkc-product-card__range>span:last-child{flex:1 1 100px;min-width:0}
.kkc-dots{display:inline-flex;gap:3px;flex:none}
.kkc-dots i{display:inline-block;width:11px;height:11px;border-radius:50%;border:1px solid rgba(0,0,0,.12)}
.kkc-product-card[data-quick]{cursor:pointer}
.kkc-products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:0;padding:0;list-style:none}
.kkc-products.columns-3{grid-template-columns:repeat(3,1fr)}
/* Every card in a row is as tall as the tallest: the title keeps two lines' room, the facts line sits at the bottom. */
.kkc-products>li{display:flex;min-width:0}
.kkc-product-card{display:flex;flex-direction:column;flex:1 1 auto;width:100%;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;color:var(--ink)}
.kkc-product-card:hover{text-decoration:none;border-color:#b9c3cc;box-shadow:0 2px 10px rgba(6,27,43,.06)}
.kkc-product-card__img{aspect-ratio:1/1;background:var(--surface-2);border-bottom:1px solid var(--line-2)}
.kkc-product-card__img img{width:100%;height:100%;object-fit:cover;display:block}
.kkc-product-card__body{display:flex;flex-direction:column;flex:1 1 auto;padding:12px 14px 14px}
.kkc-product-card__title{font-weight:600;line-height:1.3;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.kkc-product-card__price{color:var(--ink);margin:0 0 6px}
.kkc-product-card__price .amount{font-weight:600}
.kkc-product-card__meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:.85rem;color:var(--ink-2);margin:0;padding-top:2px}
.kkc-product-card__meta .lead{color:var(--warn)}
.kkc-empty{max-width:640px;padding:28px;text-align:center;color:var(--ink-2);background:var(--surface);border:1px dashed var(--line);border-radius:var(--radius)}

/* ---------- product page ---------- */
.kkc-product{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:32px;align-items:start}
.kkc-gallery__main{aspect-ratio:1/1;border-radius:var(--radius);overflow:hidden;background:var(--surface-2);border:1px solid var(--line)}
.kkc-gallery__main img{width:100%;height:100%;object-fit:cover;cursor:zoom-in;display:block}
.kkc-drawer__img img{cursor:zoom-in}
/* lightbox */
.kkc-lightbox{position:fixed;inset:0;z-index:80}
.kkc-lightbox[hidden]{display:none}
.kkc-lightbox__backdrop{position:absolute;inset:0;background:rgba(14,15,20,.88)}
.kkc-lightbox__figure{position:absolute;inset:0;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:48px 72px;outline:none;pointer-events:none}
.kkc-lightbox__img{max-width:100%;max-height:calc(100vh - 120px);object-fit:contain;border-radius:4px;box-shadow:0 10px 40px rgba(0,0,0,.4);background:#fff;pointer-events:auto}
.kkc-lightbox__caption{color:#e6e7ee;font-size:.92rem;font-variant-numeric:tabular-nums}
.kkc-lightbox__btn{position:absolute;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);color:#fff;font-size:1.7rem;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0 0 3px}
.kkc-lightbox__btn:hover{background:rgba(255,255,255,.22)}
.kkc-lightbox__btn[hidden]{display:none}
.kkc-lightbox__close{top:16px;right:16px}
.kkc-lightbox__prev{left:16px;top:50%;transform:translateY(-50%)}
.kkc-lightbox__next{right:16px;top:50%;transform:translateY(-50%)}
body.kkc-lightbox-open{overflow:hidden}
.kkc-gallery__thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:8px}
.kkc-gallery__thumbs button{padding:0;border:2px solid transparent;border-radius:4px;overflow:hidden;background:none;cursor:pointer;aspect-ratio:1/1}
.kkc-gallery__thumbs button img{width:100%;height:100%;object-fit:cover}
.kkc-gallery__thumbs button.is-active{border-color:var(--accent)}
/* The drawer's filmstrip runs the full width under the picture, and scrolls sideways when there are many. */
.kkc-drawer__thumbs{display:flex;gap:8px;margin:0 0 16px;padding-bottom:2px;overflow-x:auto;scrollbar-width:thin}
.kkc-drawer__thumbs button{flex:0 0 72px;width:72px;height:72px;aspect-ratio:auto}

.kkc-representative{margin-top:12px;padding:12px 14px;border-radius:var(--radius);background:var(--warn-soft);color:var(--warn);font-size:.92rem;line-height:1.45}
.kkc-representative strong{display:block;margin-bottom:2px}
.kkc-summary .price{font-size:1.25rem;font-weight:600;margin:4px 0 10px}
.kkc-summary .price del{color:var(--ink-3);font-weight:400}
.kkc-summary .woocommerce-product-details__short-description{color:var(--ink-2);margin-bottom:14px}
.kkc-matrix{margin-top:8px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.kkc-matrix__scroll{overflow-x:auto;border-radius:var(--radius) var(--radius) 0 0}
.kkc-matrix table{width:100%}
.kkc-matrix th{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);padding:10px 12px;border-bottom:1px solid var(--line);background:var(--surface-2);font-weight:600}
.kkc-matrix td{padding:7px 12px;border-bottom:1px solid var(--line-2);vertical-align:middle}
.kkc-matrix tr:last-child td{border-bottom:0}
.kkc-matrix .c{text-align:center}
.kkc-matrix .r{text-align:right;white-space:nowrap}
.kkc-matrix__row{display:flex;align-items:center;min-width:0;gap:10px}
.kkc-matrix__row--pick{cursor:pointer}
.kkc-matrix__row--pick:hover .kkc-thumb{outline:2px solid var(--accent);outline-offset:1px}
.kkc-matrix tr.is-picked .kkc-thumb{outline:2px solid var(--accent);outline-offset:1px}
.kkc-matrix tr.is-picked td{background:var(--accent-soft)}
/* One quantity per row: the name takes the room, the box and the line total keep to the right in tidy columns. */
.kkc-matrix--single table{table-layout:fixed}
.kkc-matrix--single th.c,.kkc-matrix--single td.c{width:118px}
.kkc-matrix--single th.r,.kkc-matrix--single td.r{width:128px}
.kkc-matrix--single td:first-child{padding-left:14px}
.kkc-matrix__name{font-weight:500}
.kkc-matrix__sku{display:block;font-size:.78rem;color:var(--ink-3);font-family:var(--mono)}
/* Size guide: a closed line under the order grid, a small table when opened. */
.kkc-size-guide{margin:14px 0 0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface,#fff)}
.kkc-size-guide summary{cursor:pointer;padding:11px 14px;font-weight:600;list-style-position:inside}
.kkc-size-guide summary .kkc-muted{font-weight:400;margin-left:6px}
.kkc-size-guide summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.kkc-size-guide__scroll{overflow-x:auto;padding:0 14px}
.kkc-size-guide table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;margin:2px 0 10px}
.kkc-size-guide th,.kkc-size-guide td{padding:7px 12px 7px 0;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
.kkc-size-guide thead th{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.kkc-size-guide tbody th{font-weight:600}
.kkc-size-guide__note{margin:0;padding:0 14px 10px;font-size:.9rem}
.kkc-browse-range .kkc-size-guide{margin:0 0 18px}
/* Beside size columns the first column is narrow: the hint goes under the name instead of wrapping word by word. */
.kkc-matrix:not(.kkc-matrix--single) .kkc-matrix__hint{display:block;white-space:nowrap}
.kkc-matrix:not(.kkc-matrix--single) .kkc-matrix__hint-dot{display:none}
.kkc-matrix__incart{display:inline-block;margin-left:8px;padding:0 7px;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:.75rem;font-weight:600}
.kkc-matrix input[type=number]{width:74px;padding:.45rem .4rem;text-align:center;font-variant-numeric:tabular-nums}
.kkc-matrix input[type=number].has-value{border-color:var(--accent);background:var(--accent-soft)}
/* A grid with size columns: slim enough that five sizes fit the quick-order drawer with nothing cut off, and when a
   longer run does have to scroll (nine children's ages) the colour names stay where they are on the left. */
.kkc-matrix:not(.kkc-matrix--single) th.c,.kkc-matrix:not(.kkc-matrix--single) td.c{padding-left:6px;padding-right:6px}
.kkc-matrix:not(.kkc-matrix--single) input[type=number]{width:62px}
.kkc-matrix:not(.kkc-matrix--single) th.c:last-child,.kkc-matrix:not(.kkc-matrix--single) td.c:last-child{padding-right:12px}
.kkc-matrix:not(.kkc-matrix--single) th:first-child,.kkc-matrix:not(.kkc-matrix--single) td:first-child{position:sticky;left:0;z-index:1;background:var(--surface);box-shadow:1px 0 0 var(--line-2)}
.kkc-matrix:not(.kkc-matrix--single) thead th:first-child{background:var(--surface-2)}
.kkc-matrix:not(.kkc-matrix--single) tr.is-picked td:first-child{background:var(--accent-soft)}
.kkc-matrix .out{color:var(--ink-3);font-size:.85rem}
/* Embroidery request inside the order form. */
.kkc-emb{padding:12px 14px;border-top:1px solid var(--line);background:var(--surface)}
.kkc-emb__toggle{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-weight:400}
.kkc-emb__toggle input{margin-top:5px}
.kkc-emb__toggle strong{display:block}
.kkc-emb__toggle span{font-size:.95rem;color:var(--ink-2)}
.kkc-emb__fields{display:none;margin:10px 0 0 26px}
.kkc-emb.is-on .kkc-emb__fields{display:block}
.kkc-emb__note{margin:0 0 10px;padding:8px 12px;border-radius:var(--radius);background:var(--warn-soft);color:var(--warn);font-size:.9rem}
.kkc-emb .form-row{margin:0 0 10px}
.kkc-emb .form-row label{display:block;margin-bottom:4px;font-size:.92rem}
.kkc-emb input[type=file]{width:100%;padding:.4rem 0;font-size:.92rem}
/* The totals and the button stay in view while a long list scrolls past. */
.kkc-matrix__foot{position:sticky;bottom:0;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:12px 14px;border-top:1px solid var(--line);background:var(--surface-2);border-radius:0 0 var(--radius) var(--radius)}
.kkc-matrix__foot .spacer{flex:1}
.kkc-matrix__totals{font-variant-numeric:tabular-nums}
.kkc-matrix__totals strong{font-size:1.05rem}
.kkc-matrix__actions{display:flex;gap:8px;flex-wrap:wrap}
.kkc-hint{font-size:.88rem;color:var(--ink-3);margin-top:8px}
.kkc-product__details{margin-top:36px;padding-top:28px;border-top:1px solid var(--line);max-width:76ch}
.kkc-product__details h2{font-size:1.15rem;margin:0 0 10px}
.kkc-product__details h2+p{margin-top:0}
.kkc-product__details p{color:var(--ink-2);max-width:68ch}
.kkc-product__details>h2+table,.kkc-product__details p+h2{margin-top:26px}
/* WooCommerce's attribute table, which arrives without its stylesheet here: a label column and a value column,
   each row on the same baseline, so a long list of sizes reads as one answer rather than a block of text. */
.kkc-product__details .shop_attributes{width:100%;border-collapse:collapse;margin:0;font-size:.95rem}
.kkc-product__details .shop_attributes tr{border-bottom:1px solid var(--line-2)}
.kkc-product__details .shop_attributes tr:last-child{border-bottom:0}
.kkc-product__details .shop_attributes th{width:34%;max-width:170px;padding:11px 20px 11px 0;text-align:left;vertical-align:top;font-weight:600;color:var(--ink-2)}
.kkc-product__details .shop_attributes td{padding:11px 0;vertical-align:top;color:var(--ink)}
.kkc-product__details .shop_attributes td p{margin:0;color:inherit}
@media (max-width:540px){
  .kkc-product__details .shop_attributes th,.kkc-product__details .shop_attributes td{display:block;width:auto;max-width:none}
  .kkc-product__details .shop_attributes th{padding:10px 0 0;font-size:.85rem}
  .kkc-product__details .shop_attributes td{padding:2px 0 10px}
}
.kkc-attributes th{width:34%;color:var(--ink-2);font-weight:500;padding:6px 0;vertical-align:top}
.kkc-attributes td{padding:6px 0}
.kkc-attributes tr{border-bottom:1px solid var(--line-2)}
.kkc-qty-simple{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

/* ---------- cart ---------- */
.kkc-matrix__price{display:block;font-weight:500;color:var(--ink-2);font-size:.78rem;letter-spacing:0;text-transform:none;margin-top:2px}
td .kkc-matrix__price{display:inline;margin:0 0 0 8px;font-size:.85rem}
.kkc-thumb--design{width:48px;height:48px}
.kkc-cart-page{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.kkc-cart-group{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:16px;overflow:hidden}
.kkc-cart-group__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 14px;border-bottom:1px solid var(--line);background:var(--surface-2)}
.kkc-cart-group__head h3{margin:0;font-size:1rem}
.kkc-cart-group__head .spacer{flex:1}
.kkc-cart-line{display:grid;grid-template-columns:minmax(0,1fr) 110px 110px 110px 40px;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--line-2)}
.kkc-cart-line:last-child{border-bottom:0}
.kkc-cart-line__name{display:flex;align-items:center;min-width:0}
.kkc-cart-line .r{text-align:right;font-variant-numeric:tabular-nums}
.kkc-cart-line input[type=number]{width:90px;text-align:center}
.kkc-cart-line .remove{color:var(--crit);font-size:1.3rem;text-decoration:none;text-align:center}
.kkc-cart-side{position:sticky;top:16px}
.woocommerce .kkc-cart-side .cart-collaterals,.woocommerce .kkc-cart-side .cart-collaterals .cart_totals{float:none;width:100%}
.woocommerce .kkc-cart-side .cart_totals h2{font-size:1.05rem;margin-bottom:6px}
.woocommerce .kkc-cart-side .cart_totals table.shop_table{width:100%;margin:0 0 12px;border:0;border-collapse:collapse}
.woocommerce .kkc-cart-side .cart_totals table.shop_table th{width:32%;padding:8px 8px 8px 0;font-weight:600;vertical-align:top;border-top:0}
.woocommerce .kkc-cart-side .cart_totals table.shop_table td{padding:8px 0;text-align:right;border-top:0;font-variant-numeric:tabular-nums}
.woocommerce .kkc-cart-side .woocommerce-shipping-methods li{text-align:left;line-height:1.35}
.woocommerce .kkc-cart-side .woocommerce-shipping-destination{margin:6px 0 0;text-align:left;font-size:.85rem;color:var(--ink-2)}
.woocommerce .kkc-cart-side .wc-proceed-to-checkout{padding:0}
.kkc-empty .kkc-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0}
.kkc-cart-side .kkc-card{margin-bottom:14px}
.kkc-totals tr td{padding:6px 0}
.kkc-totals tr td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.kkc-totals .order-total td{font-weight:700;border-top:1px solid var(--line);padding-top:10px}
/* designs that share one minimum (any single crackers count together): one heading, the count said once, the designs inside */
.kkc-cart-pool{margin-bottom:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);overflow:hidden}
.kkc-cart-pool__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 14px}
.kkc-cart-pool__head h2{margin:0;font-size:1.02rem}
.kkc-cart-pool__head .spacer{flex:1}
.kkc-cart-pool>.kkc-cart-group__short{border-top:1px solid #e4b9b6}
.kkc-cart-pool>.kkc-cart-group{margin:10px 10px 0}
.kkc-cart-pool>.kkc-cart-group:last-child{margin-bottom:10px}
.kkc-cart-pool--short{border-color:#e4b9b6;box-shadow:0 0 0 1px #e4b9b6}
.kkc-archive__note{max-width:70ch;margin:6px 0 0;color:var(--ink-2);font-size:.95rem}
.kkc-cart-group--short{border-color:#e4b9b6;box-shadow:0 0 0 1px #e4b9b6}
.kkc-cart-group--short .kkc-cart-group__head{border-bottom-color:#e4b9b6}
.kkc-cart-group__short{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0;padding:9px 14px;background:var(--crit-soft);color:var(--crit);font-size:.9rem;border-bottom:1px solid #e4b9b6}
.kkc-cart-group__short>span{flex:1;min-width:180px}
.kkc-card--short{border-color:#e4b9b6;box-shadow:0 0 0 1px #e4b9b6}
.kkc-card--short .kkc-cart-group__short{margin:-16px -16px 14px;border-bottom:0;border-radius:var(--radius) var(--radius) 0 0}
.kkc-topup__form{display:contents}
.kkc-topup{appearance:none;border:1px solid var(--accent);border-radius:999px;background:var(--accent);color:#fff;font:inherit;font-weight:600;font-size:.85rem;line-height:1;padding:.42rem .9rem;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,opacity .15s}
.kkc-topup:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.kkc-topup:focus-visible{outline:2px solid var(--crit);outline-offset:2px}
.kkc-topup[disabled]{opacity:.55;cursor:default}
.kkc-topup--small{font-size:.8rem;padding:.32rem .75rem}
.kkc-topup--wide{width:100%;justify-content:center;padding:.6rem 1rem;font-size:.92rem;border-radius:var(--radius)}
.kkc-order-panel__short .kkc-topup{border-color:var(--warn);background:transparent;color:var(--warn)}
.kkc-order-panel__short .kkc-topup:hover{background:var(--warn);border-color:var(--warn);color:#fff}
.kkc-cart-actions{display:flex;flex-direction:column;gap:10px}
.kkc-cart-actions .button{width:100%;text-align:center}
.kkc-cart-notes textarea{min-height:4rem}
.cart-empty{padding:40px;text-align:center}

/* ---------- checkout and account (WooCommerce markup) ---------- */
/* The address and the notes sit on their own sheet, so the form reads as a document being filled in rather than
   as boxes floating on the page. The label sits quietly above its field; the field itself carries the weight. */
.woocommerce-checkout .woocommerce-billing-fields,.woocommerce-checkout .woocommerce-additional-fields{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px 8px}
.woocommerce-checkout .woocommerce-shipping-fields:empty{display:none}
.woocommerce-checkout .woocommerce-billing-fields>h3,.woocommerce-checkout .woocommerce-additional-fields>h3{margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid var(--line-2);font-size:1.05rem;letter-spacing:-.01em}
.woocommerce-checkout .woocommerce-additional-fields+.kkc-etr,.woocommerce-checkout .woocommerce-additional-fields .kkc-etr{margin-top:18px}
/* A card inside a card would be one border too many: the tax invoice block sits flat on the sheet it is already on. */
.woocommerce-checkout .woocommerce-additional-fields .kkc-etr{border:0;border-top:1px solid var(--line-2);border-radius:0;background:none;padding:16px 0 0}
.woocommerce form .form-row{margin:0 0 14px;padding:0}
.woocommerce form .form-row label{display:block;margin-bottom:6px;font-size:.88rem;font-weight:500;color:var(--ink-2);letter-spacing:.01em}
.woocommerce form .form-row label .optional{color:var(--ink-3);font-weight:400}
.woocommerce form .form-row .required{color:var(--crit);text-decoration:none;margin-left:2px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection--single{min-height:46px;padding:.65rem .85rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);transition:border-color .15s,box-shadow .15s}
/* WooCommerce styles the textarea through .input-text, which outweighs a plain element selector, so this matches it. */
.woocommerce form .form-row textarea.input-text{min-height:92px;line-height:1.5;border:1px solid var(--line)}
.woocommerce form .form-row textarea.input-text:focus{border-color:var(--accent)}
.woocommerce form .form-row input.input-text::placeholder,.woocommerce form .form-row textarea::placeholder{color:var(--ink-3)}
.woocommerce form .form-row input.input-text:hover,.woocommerce form .form-row textarea:hover,.woocommerce form .form-row select:hover{border-color:var(--line-2)}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
/* The dropdowns get the same chevron as the fields beside them instead of the browser's own. */
.woocommerce form .form-row select{appearance:none;-webkit-appearance:none;padding-right:2.2rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23577287' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center}
.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:var(--crit)}
.woocommerce form .form-row.woocommerce-validated input.input-text{border-color:#bcd3c2}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:48.5%;display:inline-block;vertical-align:top}
.woocommerce form .form-row-first{margin-right:3%}
.woocommerce-checkout .col2-set,.woocommerce-account .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{width:auto}
/* WooCommerce's clearfix pseudo-elements become grid items and push the address form into the second column. */
body .woocommerce .col2-set::before,body .woocommerce .col2-set::after,body.woocommerce-page .col2-set::before,body.woocommerce-page .col2-set::after{display:none;content:none}
body .woocommerce .col2-set .col-1,body .woocommerce .col2-set .col-2,body.woocommerce-page .col2-set .col-1,body.woocommerce-page .col2-set .col-2{float:none;width:auto;max-width:none}
#order_review_heading{margin-top:28px}
.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{padding:8px 0;border-bottom:1px solid var(--line-2)}
.woocommerce-checkout-review-order-table tfoot th,.woocommerce-checkout-review-order-table tfoot td{border-bottom:0}
.woocommerce-checkout-review-order-table .product-total,.woocommerce-checkout-review-order-table tfoot td{text-align:right;font-variant-numeric:tabular-nums}
.woocommerce-checkout-review-order-table tfoot .order-total th,.woocommerce-checkout-review-order-table tfoot .order-total td{font-weight:700;border-top:1px solid var(--line)}
#payment{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-top:18px}
#payment ul.wc_payment_methods{list-style:none;margin:0 0 14px;padding:0}
#payment ul.wc_payment_methods li{padding:10px 0;border-bottom:1px solid var(--line-2)}
#payment ul.wc_payment_methods li:last-child{border-bottom:0}
#payment ul.wc_payment_methods li label{font-weight:600;margin-left:6px}
#payment .payment_box{margin:8px 0 0 24px;padding:10px 12px;background:var(--surface-2);border-radius:var(--radius);font-size:.92rem}
#payment .payment_box p:last-child{margin:0}
#payment .form-row.place-order{margin-top:14px}
body .woocommerce-checkout #payment{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
body .woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--line-2)}
body .woocommerce-checkout #payment div.payment_box{background:var(--surface-2);color:var(--ink-2)}
body .woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--surface-2)}
#payment #place_order{width:100%;padding:.9rem;font-size:1.05rem}
.woocommerce-shipping-methods{list-style:none;margin:0;padding:0}
.woocommerce-shipping-methods li{padding:6px 0}
.woocommerce-shipping-methods label{font-weight:500}
.kkc-etr{margin-top:22px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.kkc-etr h3{font-size:1rem;margin-bottom:8px}
.kkc-etr .kkc-etr-pin{margin-top:8px}
.kkc-etr .kkc-etr-pin input{text-transform:uppercase;font-family:var(--mono);letter-spacing:.06em;max-width:220px}
.kkc-etr .description{display:block;font-size:.85rem;color:var(--ink-3)}
.woocommerce-EditAccountForm fieldset{margin:18px 0;padding:14px 16px 4px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.woocommerce-EditAccountForm legend{padding:0 6px;font-weight:700}
.woocommerce-EditAccountForm .kkc-account-business{margin-top:0}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.woocommerce-MyAccount-navigation li a{display:inline-block;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink)}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--accent);border-color:var(--accent);color:#fff}
.woocommerce-orders-table th,.woocommerce-orders-table td,.order_details th,.order_details td,.shop_table th,.shop_table td{padding:8px 6px;border-bottom:1px solid var(--line-2);text-align:left}
.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button{padding:.4rem .7rem;font-size:.9rem;margin-right:4px}
.woocommerce-order .woocommerce-thankyou-order-received{font-size:1.25rem;font-weight:600}
.woocommerce-order-overview{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:8px 24px;color:var(--ink-2)}
.woocommerce-order-overview strong{display:block;color:var(--ink)}
.woocommerce-customer-details address{font-style:normal}
.order-again{margin:16px 0}

/* ---------- login page ---------- */
/* ---------- sign in / apply ---------- */
/* ---------- sign in, and applying ---------- */
.kkc-gate{max-width:520px;margin:10px auto 0;padding-bottom:36px}
.kkc-gate--apply{max-width:760px}
.kkc-gate__panel{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:30px 30px 26px;overflow:hidden}
.kkc-gate__panel::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:repeating-linear-gradient(90deg,#e0b64a 0 30px,#e2231a 30px 46px,#2e8f8a 46px 72px,#7fa3c0 72px 84px,#f4f3ee 84px 88px)}
.kkc-gate__panel--narrow{max-width:440px;margin-inline:auto}
.kkc-gate__form h1{font-size:1.5rem;margin:0 0 4px;line-height:1.2}
.kkc-gate__form h2{font-size:1.2rem;margin:0 0 12px}
.kkc-gate__hint{margin:0 0 20px;color:var(--ink-2);font-size:.94rem}
.kkc-gate .form-row{margin-bottom:14px}
.kkc-gate .woocommerce-form-login__rememberme{display:flex;gap:8px;align-items:center;font-weight:400}
.kkc-gate .woocommerce-form-login button,.kkc-gate .woocommerce-form-register button{width:100%}
.kkc-gate .lost_password{margin:12px 0 0;font-size:.92rem;text-align:center}
.kkc-gate .woocommerce-message,.kkc-gate .woocommerce-info,.kkc-gate .woocommerce-error{margin-bottom:16px}
.kkc-gate__foot{margin:18px auto 0;max-width:440px;text-align:center;font-size:.95rem;color:var(--ink-2);line-height:1.8}
.kkc-gate__help{margin:12px auto 0;text-align:center;font-size:.86rem;color:var(--ink-3);line-height:1.8}
.kkc-gate__head{margin:0 0 22px}
.kkc-gate__head h1{font-size:1.9rem;line-height:1.15;margin:0 0 10px;text-wrap:balance}
.kkc-gate__lede{margin:0 0 18px;color:var(--ink-2);max-width:64ch}
.kkc-gate__steps{counter-reset:kkc-step;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px 18px;margin:0;padding:0}
.kkc-gate__steps li{counter-increment:kkc-step;position:relative;padding-left:28px;font-size:.88rem;color:var(--ink-2);line-height:1.4}
.kkc-gate__steps li::before{content:counter(kkc-step);position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:.72rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums}
.kkc-gate--apply .kkc-gate__foot{max-width:none}
.kkc-gate--apply .kkc-gate__panel{padding-top:34px}
.kkc-gate--apply .woocommerce-form-register{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.kkc-gate--apply .woocommerce-form-register .form-row{grid-column:1 / -1;margin-bottom:14px}
.kkc-gate--apply .woocommerce-form-register .kkc-half{grid-column:span 1}
.kkc-gate--apply .woocommerce-form-register textarea{min-height:90px}
@media (max-width:620px){.kkc-gate--apply .woocommerce-form-register{grid-template-columns:1fr}.kkc-gate--apply .woocommerce-form-register .kkc-half{grid-column:1 / -1}}
@media (max-width:560px){
  .kkc-gate__panel{padding:26px 20px 22px;border-radius:10px}
  .kkc-gate__head h1{font-size:1.55rem}
}

/* ---------- pages ---------- */
.kkc-page{max-width:76ch}
.kkc-page img{border-radius:var(--radius)}
/* Checkout: agreeing to the terms. WooCommerce's own stylesheet is not loaded, so these had no styles at all. */
.woocommerce-terms-and-conditions-wrapper{margin:16px 0 14px}
.woocommerce-privacy-policy-text p{margin:0 0 10px;font-size:14px;line-height:1.5;color:var(--ink-2)}
.woocommerce-terms-and-conditions-wrapper .form-row{margin:0;padding:0}
.woocommerce form .woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label-for-checkbox,.woocommerce form .kkc-account-news label.woocommerce-form__label-for-checkbox{display:block;position:relative;margin:0;padding-left:32px;font-size:15px;line-height:1.45;font-weight:500;letter-spacing:0;color:var(--ink);cursor:pointer}
.woocommerce form .woocommerce-terms-and-conditions-wrapper label input[type=checkbox],.woocommerce form .kkc-account-news label input[type=checkbox]{position:absolute;left:0;top:1px;width:20px;height:20px;margin:0;accent-color:var(--accent)}
.woocommerce form .woocommerce-terms-and-conditions-wrapper .woocommerce-invalid label.woocommerce-form__label-for-checkbox{color:var(--crit)}
.woocommerce-terms-and-conditions-wrapper .checkout-inline-error-message{margin:6px 0 0 32px;font-size:13px;color:var(--crit)}
.woocommerce-terms-and-conditions{margin:0 0 12px;padding:14px 16px;max-height:260px;overflow:auto;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius);font-size:14px;overscroll-behavior:contain}
.woocommerce-terms-and-conditions h2{margin:16px 0 6px;padding:0;border:0;font-size:15px}
.woocommerce-terms-and-conditions .kkc-terms__contents,.woocommerce-terms-and-conditions .kkc-terms__lead{display:none}
/* A page of words: the terms of trade. Clause numbers hang in the margin so a clause can be found by its number. */
.kkc-page h2{margin:34px 0 12px;padding-top:22px;border-top:1px solid var(--line);font-size:20px;scroll-margin-top:calc(var(--kkc-header-h,0px) + 16px)}
.kkc-page ul,.kkc-page ol{padding-left:22px}
.kkc-page li{margin:0 0 5px}
.kkc-terms__lead{font-size:17px;color:var(--ink-2)}
.kkc-terms__clause{padding-left:3.38em;text-indent:-3.38em}
.kkc-terms__clause>strong:first-child{display:inline-block;width:3.1em;text-indent:0;font-variant-numeric:tabular-nums;color:var(--accent)}
.kkc-terms__short{margin:22px 0;padding:16px 20px 6px;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:var(--radius)}
.kkc-terms__short h2{margin:0 0 8px;padding:0;border:0;font-size:17px}
.kkc-terms__short p:last-child{font-size:14px;color:var(--ink-3)}
.kkc-terms__contents{list-style:none;margin:20px 0 0;padding:14px 0 6px!important;columns:2;column-gap:28px;border-top:1px solid var(--line);font-size:15px}
.kkc-terms__contents li{break-inside:avoid;margin:0 0 6px}
.kkc-terms__contents+h2{border-top:0;padding-top:0;margin-top:22px}
@media (max-width:560px){.kkc-terms__contents{columns:1}.kkc-terms__clause{padding-left:2.98em;text-indent:-2.98em}.kkc-terms__clause>strong:first-child{width:2.7em}}
@media print{.kkc-terms__contents,.kkc-wa{display:none}.kkc-page{max-width:none}.kkc-page h2{break-after:avoid}.kkc-terms__clause{break-inside:avoid}}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .kkc-products,.kkc-tiles{grid-template-columns:repeat(3,1fr)}
  .kkc-grid--dash{grid-template-columns:1fr}
  .kkc-archive__head--place{flex-direction:column;align-items:flex-start}
  .kkc-tabs ul{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .kkc-dept__head{flex-direction:column;align-items:flex-start}
  .kkc-cart-page{grid-template-columns:1fr}
  .kkc-cart-side{position:static}
}
@media (max-width:760px){
  .kkc-logo .kkc-logo__img{height:48px}
  .kkc-header__row{flex-wrap:wrap;gap:10px;padding-block:10px}
  .kkc-search{order:3;flex-basis:100%;max-width:none}
  .kkc-product{grid-template-columns:minmax(0,1fr);gap:20px}
  .kkc-products,.kkc-tiles{grid-template-columns:repeat(2,1fr);gap:12px}
  .kkc-products.columns-3{grid-template-columns:repeat(2,1fr)}
  .kkc-cart-line{grid-template-columns:minmax(0,1fr) 84px 40px;grid-template-areas:"name qty remove" "price total remove"}
  .kkc-cart-line__name{grid-area:name}
  .kkc-cart-line .qty{grid-area:qty}
  .kkc-cart-line .price{grid-area:price;text-align:left;font-size:.9rem;color:var(--ink-2)}
  .kkc-cart-line .total{grid-area:total;text-align:left}
  .kkc-cart-line .remove{grid-area:remove}
  .woocommerce-checkout .col2-set,.woocommerce-account .col2-set{grid-template-columns:1fr}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;margin-right:0}
  .kkc-matrix:not(.kkc-matrix--single) table{min-width:420px}
  .kkc-matrix--single th.c,.kkc-matrix--single td.c{width:88px}
  .kkc-matrix--single th.r,.kkc-matrix--single td.r{width:92px}
  .kkc-matrix td,.kkc-matrix th{padding-left:8px;padding-right:8px}
  .kkc-matrix--single td:first-child{padding-left:10px}
  .kkc-gallery__thumbs{grid-template-columns:repeat(5,1fr)}
  h1{font-size:1.5rem}
}
@media (max-width:480px){
  .kkc-drawer__head{grid-template-columns:96px minmax(0,1fr);gap:12px}
  .kkc-lightbox__figure{padding:64px 12px 40px}
  .kkc-lightbox__prev{left:8px;top:auto;bottom:8px;transform:none}
  .kkc-lightbox__next{right:8px;top:auto;bottom:8px;transform:none}
  .kkc-drawer__scroll{padding:14px 16px 32px}
  .kkc-drawer__top{padding-left:16px}
  .kkc-products,.kkc-tiles{grid-template-columns:1fr 1fr}
  .kkc-product-card__body{padding:8px 10px 10px;font-size:.92rem}
}
@media print{
  .kkc-header,.kkc-footer,.kkc-nav,.kkc-search{display:none}
}

/* --- Shop by trade: chips, cards, the detail columns and the public front page --- */
.kkc-trades-chips{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:14px 0 22px}
.kkc-trades-chips__label{font-size:13px;font-weight:600;color:var(--ink-3);text-transform:uppercase;letter-spacing:.04em}
.kkc-trades-chips ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.kkc-trades-chips a{display:inline-block;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:14px;text-decoration:none;color:var(--ink-2)}
.kkc-trades-chips a:hover{border-color:var(--accent);color:var(--accent)}
.kkc-trades-chips__all{border-style:dashed}
.kkc-trades{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px;list-style:none;margin:18px 0 0;padding:0}
.kkc-trade-card{border:1px solid var(--line);border-radius:10px;background:#fff;display:flex;flex-direction:column;overflow:hidden}
.kkc-trade-card__photo{display:block;aspect-ratio:4/3;background:var(--surface-2);overflow:hidden}
.kkc-trade-card__photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.kkc-trade-card:hover .kkc-trade-card__photo img{transform:scale(1.03)}
.kkc-trade-card__blank{display:block;width:100%;height:100%;background:linear-gradient(135deg,#eef1f4,#dfe5ea)}
.kkc-trade-card__body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.kkc-trade-card h3{margin:0;font-size:17px;line-height:1.3}
.kkc-trade-card h3 a{text-decoration:none;color:var(--accent)}
.kkc-trade-card p{margin:0;font-size:14px;color:var(--ink-2)}
.kkc-trade-card__foot{margin-top:auto;display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:14px}
.kkc-trade-card__foot a{text-decoration:none;font-weight:600}
.kkc-trade-detail__list{margin:0 0 12px;padding-left:20px}
.kkc-trade-detail__list li{margin:0 0 5px}
.kkc-faq{margin:0}
.kkc-faq dt{font-weight:600;margin:12px 0 4px}
.kkc-faq dd{margin:0;color:var(--ink-2)}
.kkc-archive__lede{max-width:70ch}
.kkc-questions__item{border-bottom:1px solid var(--line)}
.kkc-questions__item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 2px;cursor:pointer;list-style:none}
.kkc-questions__item summary::-webkit-details-marker{display:none}
.kkc-questions__item summary::after{content:"";flex:none;width:9px;height:9px;margin-right:4px;border-right:2px solid var(--ink-3);border-bottom:2px solid var(--ink-3);transform:rotate(45deg);transition:transform .15s ease}
.kkc-questions__item[open] summary::after{transform:rotate(-135deg)}
.kkc-questions__item summary:hover h3{color:var(--red)}
.kkc-cloths{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px 26px;margin:14px 0 4px;max-width:1000px}
.kkc-cloths dt{font-weight:600;margin:0 0 3px}
.kkc-cloths dd{margin:0;font-size:15px;color:var(--ink-2)}
.kkc-home-more{margin:22px 0 0;font-weight:600}
.kkc-actions--inline{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.kkc-actions--inline .kkc-link{white-space:nowrap}
@media (prefers-reduced-motion:reduce){.kkc-questions__item summary::after{transition:none}}
.kkc-home-hero{padding:26px 0 8px}
.kkc-home-hero h1{margin:6px 0 10px;font-size:clamp(26px,4vw,40px);line-height:1.15;text-wrap:balance}
.kkc-home-hero__lede{max-width:70ch;font-size:17px;margin:0 0 16px}
.kkc-home-hero__actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 10px}
.kkc-home-section{margin:30px 0 0}
.kkc-home-section .kkc-archive__head{margin-bottom:0}
.kkc-trade-detail__asks{margin:0 0 12px;padding-left:20px;color:var(--ink-3)}
.kkc-trade-detail__asks li{margin:0 0 4px}
.kkc-materials p{max-width:80ch}
.kkc-specs{margin:30px 0 0;padding:20px 0 0;border-top:1px solid var(--line)}
.kkc-specs h2{margin:0 0 10px;font-size:18px}
.kkc-specs__table{border-collapse:collapse;width:100%;max-width:640px;font-size:14px}
.kkc-specs__table th{text-align:left;padding:7px 14px 7px 0;width:210px;vertical-align:top;font-weight:600;color:var(--ink-3)}
.kkc-specs__table td{padding:7px 0;border-bottom:1px solid var(--line)}
.kkc-specs p{margin:10px 0 0;font-size:13px}

/* ---------- how much to pay now ---------- */
.kkc-payplan{margin:0 0 18px;padding:16px 18px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2)}
.kkc-payplan h3{margin:0 0 10px;font-size:1rem}
.kkc-payplan ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.kkc-payplan label{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;background:var(--surface);border:1px solid var(--line);border-radius:8px;cursor:pointer}
.kkc-payplan label:hover{border-color:var(--accent)}
.kkc-payplan input{margin-top:3px}
.kkc-payplan strong{display:block;font-weight:600}
.kkc-payplan__sub{display:block;font-size:.88rem;color:var(--ink-2);margin-top:2px}
.kkc-payplan__note{margin:10px 0 0;font-size:.88rem;color:var(--ink-2)}

/* A design whose photograph has not arrived: its number on cloth colours, not a broken-looking grey box. */
.kkc-photo-soon{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;aspect-ratio:1/1;border-radius:6px;color:#fff;text-align:center}
.kkc-photo-soon--0{background:linear-gradient(135deg,#062e47,#0a4266)}
.kkc-photo-soon--1{background:linear-gradient(135deg,#8f2d24,#e2231a)}
.kkc-photo-soon--2{background:linear-gradient(135deg,#1f6b60,#2e8f8a)}
.kkc-photo-soon--3{background:linear-gradient(135deg,#8a6a1f,#e0b64a)}
.kkc-photo-soon--4{background:linear-gradient(135deg,#4a5a6b,#7fa3c0)}
.kkc-photo-soon__code{font-size:1.6rem;font-weight:700;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.kkc-photo-soon__note{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;opacity:.85}

/* ---------- from walking the site as a customer, 20 September 2026 ---------- */
/* The top row of categories: a little tighter before it runs out of room, and a fade at the edge when it has, so a
   name cut in half reads as "there is more this way" rather than as a mistake. */
/* All twelve categories fit the page's width on a laptop or desktop (they need 1,115 pixels of the 1,136 a page gives
   them), so the last one is never clipped; on a tablet the row scrolls, with the fade at its edge. */
.kkc-nav ul{gap:0}
.kkc-nav li a{padding-inline:8px;font-size:.92rem}
.kkc-nav{position:relative}
.kkc-nav.is-clipped::after{content:'';position:absolute;top:1px;right:0;bottom:0;width:44px;pointer-events:none;background:linear-gradient(to right,rgba(255,255,255,0),var(--surface) 80%)}
/* Signed in on a phone, "Your order" broke onto two lines. The links keep to one line and share the row evenly. */
.kkc-header__links a,.kkc-cart{white-space:nowrap}
@media (max-width:480px){
  .kkc-header__links{flex:1 1 100%;margin-left:0;justify-content:space-between;gap:10px;font-size:.95rem}
}
/* A phone on its side is 390px tall: a header that stays put, a totals bar that stays put and the order bar leave
   no room for the page itself, so on a short screen only the order bar stays. */
@media (max-height:520px){
  .kkc-header{position:static}
  .kkc-tabs,.kkc-matrix__foot{position:static}
  .kkc-sidenav,.kkc-order-panel{top:16px}
}
/* Fingers: the things a buyer taps most were 24px tall. */
@media (pointer:coarse){
  .kkc-header__links a{padding-block:10px}
  .kkc-currency a,.kkc-currency b{padding-block:8px}
  .kkc-topup,.kkc-topup--small{min-height:38px;padding-inline:1rem}
  .kkc-order-panel__remove{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;margin:-8px -8px -8px 0}
  .kkc-filter__opt,.kkc-trades-chips a{padding-block:9px}
  .kkc-dept__head a,.kkc-browse__actions a{display:inline-block;padding-block:8px}
}
/* The order's summary after checkout: WooCommerce floats these and rules them off with dashes, which on a phone
   left each line starting somewhere different. A plain grid of label over value instead. */
.woocommerce ul.order_details,.woocommerce ul.woocommerce-order-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px 24px;margin:0 0 24px;padding:16px 18px;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.woocommerce ul.order_details::before,.woocommerce ul.order_details::after{display:none}
.woocommerce ul.order_details li{float:none;margin:0;padding:0;border:0;font-size:.74rem;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-3);line-height:1.4}
.woocommerce ul.order_details li strong{display:block;margin-top:2px;font-size:1rem;letter-spacing:0;text-transform:none;color:var(--ink);line-height:1.35;word-break:break-word}
/* Order tables: the product takes the room and the amount keeps to its own width, instead of the name being
   squeezed into a third of the table while the rest stood empty. */
.woocommerce table.shop_table{table-layout:auto;width:100%}
.woocommerce table.shop_table .product-name{width:auto}
.woocommerce table.shop_table .product-total,.woocommerce table.shop_table tfoot td{width:1%;white-space:nowrap;text-align:right}
.woocommerce table.shop_table tfoot td .woocommerce-shipping-methods,.woocommerce table.shop_table tfoot td small,.woocommerce table.shop_table tfoot td .shipped_via{white-space:normal}
.woocommerce table.shop_table .wc-item-meta,.woocommerce table.shop_table dl.variation{margin:2px 0 0;padding:0;list-style:none;font-size:.88rem;color:var(--ink-2)}
.woocommerce table.shop_table .wc-item-meta li,.woocommerce table.shop_table dl.variation dt,.woocommerce table.shop_table dl.variation dd{display:inline;margin:0;padding:0;float:none}
.woocommerce table.shop_table .wc-item-meta li+li::before{content:' · '}
.woocommerce table.shop_table .wc-item-meta p,.woocommerce table.shop_table dl.variation p{display:inline;margin:0}
/* The apply and sign-in forms take the same fields as checkout: one height, one chevron. */
.kkc-gate select{appearance:none;-webkit-appearance:none;min-height:44px;padding:.6rem 2.2rem .6rem .8rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23577287' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center}
.kkc-gate input[type=text],.kkc-gate input[type=email],.kkc-gate input[type=tel],.kkc-gate input[type=password],.kkc-gate input[type=url]{min-height:44px}
.kkc-gate input:focus,.kkc-gate select:focus,.kkc-gate textarea:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
/* Checkout reached with an order that is not ready: what is short, and the press that settles it. */
.kkc-cart-errors{max-width:640px}
.kkc-cart-errors h2{font-size:1.2rem;margin:0 0 12px}
.kkc-cart-errors__list{list-style:none;margin:0 0 18px;padding:0}
.kkc-cart-errors__list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;padding:10px 12px;margin:0 0 8px;border-radius:var(--radius);background:var(--crit-soft);color:var(--crit);font-size:.95rem}
.kkc-cart-errors__back{margin:0}
/* The visitor's banner on a phone: the same two actions in half the height, so the catalogue starts on the first screen. */
@media (max-width:600px){
  .kkc-browse{padding:10px 12px;gap:8px 14px;margin-bottom:14px}
  .kkc-browse p{font-size:.88rem;line-height:1.4}
  .kkc-browse p strong{display:none}
  .kkc-browse__actions{gap:6px 14px}
}
/* The dashboard's two cards each take their own height, rather than the shorter one stretching to an empty half. */
.kkc-grid--dash{align-items:start}
/* The dashboard already carries a full-width WhatsApp button in its help card; the floating one only covered it. */
body.home.logged-in .kkc-wa{display:none}

/* ---------- Shop by trade (21 September 2026) ----------
   The Shop by trade page and the trade pages: the owner's photographs of the pieces in use, headings in a classic
   serif, a warm paper ground, hairline rules and the logo's own double rule. Nothing else on the site changes. */
@font-face{font-family:"Cormorant Garamond";src:url(assets/fonts/cormorant-garamond-600.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Cormorant Garamond";src:url(assets/fonts/cormorant-garamond-500-italic.woff2) format("woff2");font-weight:500;font-style:italic;font-display:swap}
:root{--serif:"Cormorant Garamond","Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;--paper:#f6f3ed;--paper-2:#ece6da;--rule:#d9d0c1;--navy:#062e47}
body.kkc-showcase{background:var(--paper)}
.kkc-showcase .kkc-footer{background:var(--paper);border-top-color:var(--rule)}

/* the small line over a heading: letter-spaced capitals behind a short red rule, like COLLECTION under the logo */
.kkc-kicker{display:inline-flex;align-items:center;gap:12px;margin:0 0 14px;font-size:.72rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--navy)}
.kkc-kicker::before{content:"";flex:none;width:28px;height:2px;background:var(--red)}
a.kkc-kicker:hover{color:var(--red);text-decoration:none}
.kkc-kicker--light{color:var(--on-brand)}
/* the section rules below style their paragraphs; the kicker is a paragraph too and keeps its own look */
.kkc-hub-sec__head .kkc-kicker,.kkc-questions__aside .kkc-kicker,.kkc-hub-close .kkc-kicker,.kkc-trade-inuse .kkc-kicker{margin:0 0 14px;max-width:none;font-size:.72rem;line-height:1.5;color:var(--navy)}
.kkc-hub-close .kkc-kicker{color:var(--on-brand)}
.kkc-hub h1,.kkc-hub h2,.kkc-hub-trade h3,.kkc-trade-hero h1,.kkc-trade-inuse h2,.kkc-trade-detail h2,.kkc-questions h2{font-family:var(--serif);font-weight:600;letter-spacing:0;color:var(--navy);text-wrap:balance}

/* the page */
.kkc-hub{padding-top:6px}
.kkc-hub-sec{margin-top:clamp(64px,9vw,112px)}
.kkc-hub-sec__head{max-width:660px;margin:0 auto clamp(28px,4vw,44px);text-align:center}
.kkc-hub-sec__head .kkc-kicker{justify-content:center}
.kkc-hub-sec__head h2{font-size:clamp(2.1rem,4vw,3.1rem);line-height:1.04;margin:0 0 12px}
.kkc-hub-sec__head p{margin:0 auto;color:var(--ink-2);font-size:1.02rem;line-height:1.65;max-width:56ch}

/* the head: the heading and the way in, then the range in one picture */
.kkc-hub-hero__head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px 64px;align-items:end;margin:8px 0 clamp(26px,4vw,40px)}
.kkc-hub-hero h1{font-size:clamp(2.6rem,5.6vw,4.5rem);line-height:.98;margin:0}
.kkc-hub-hero__lede{margin:0 0 20px;font-size:1.05rem;line-height:1.7;color:var(--ink-2);max-width:52ch}
.kkc-hub-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin:0}
.kkc-hub-hero__actions a:not(.kkc-btn){font-weight:600;text-underline-offset:3px}
.kkc-hub-hero__photo{margin:0}
.kkc-hub-hero__photo img{width:100%;aspect-ratio:var(--r,2.4);object-fit:cover;background:var(--paper-2)}
.kkc-hub-hero__photo figcaption,.kkc-trade-hero__photo figcaption{margin-top:12px;font-family:var(--serif);font-style:italic;font-weight:500;font-size:1.08rem;color:var(--ink-2)}
/* the figures, under the logo's double rule: a heavy line over a hairline */
.kkc-hub-facts{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.3fr);margin:clamp(28px,4vw,40px) 0 0;padding:4px 0 0;border-top:2px solid var(--navy);border-bottom:1px solid var(--rule);position:relative}
.kkc-hub-facts::before{content:"";position:absolute;left:0;right:0;top:3px;border-top:1px solid var(--navy)}
.kkc-hub-facts div{padding:18px 22px 18px;border-left:1px solid var(--rule)}
.kkc-hub-facts div:first-child{border-left:0;padding-left:0}
.kkc-hub-facts dt{margin:0 0 6px;font-size:.68rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-3)}
.kkc-hub-facts dd{margin:0;font-family:var(--serif);font-weight:600;font-size:1.75rem;line-height:1.05;color:var(--navy)}

/* the trades: the two hospitality trades at twice the size, then the other six in threes */
.kkc-hub-trades{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(40px,5vw,60px) clamp(20px,2.6vw,32px)}
.kkc-hub-trade{grid-column:span 2;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.kkc-hub-trade--lead{grid-column:span 3}
.kkc-hub-trade__photo{display:block;width:100%;overflow:hidden;background:var(--paper-2)}
.kkc-hub-trade__photo img,.kkc-hub-trade__blank{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;transition:transform .9s cubic-bezier(.2,.6,.2,1)}
.kkc-hub-trade--lead .kkc-hub-trade__photo img,.kkc-hub-trade--lead .kkc-hub-trade__blank{aspect-ratio:3/2}
.kkc-hub-trade:hover .kkc-hub-trade__photo img{transform:scale(1.035)}
.kkc-hub-trade .kkc-hub-trade__meta{margin:18px 0 6px;max-width:none;font-size:.68rem;font-weight:600;line-height:1.4;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-3)}
.kkc-hub-trade h3{margin:0 0 8px;font-size:1.8rem;line-height:1.08}
.kkc-hub-trade--lead h3{font-size:clamp(1.9rem,2.8vw,2.35rem)}
.kkc-hub-trade h3 a{color:inherit}
.kkc-hub-trade h3 a:hover{color:var(--red);text-decoration:none}
.kkc-hub-trade p{margin:0 0 14px;color:var(--ink-2);line-height:1.6;max-width:44ch}
.kkc-hub-trade__more{margin-top:auto;padding-bottom:3px;border-bottom:1px solid currentColor;font-size:.74rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--navy)}
.kkc-hub-trade__more:hover{color:var(--red);text-decoration:none}

/* in use: an editorial grid of twelve columns, rows of three (the widest photograph half the row, the others a quarter
   each; a last row of two shares it, one alone takes it all). kkc_theme_photo_rows() gives each its span. */
.kkc-inuse{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
.kkc-inuse>li{position:relative;min-width:0;grid-column:span var(--span,4);height:clamp(240px,26vw,330px)}
.kkc-inuse--small>li{height:clamp(220px,22vw,300px)}
.kkc-inuse>li.is-pair{height:auto;aspect-ratio:4/3}
.kkc-inuse>li.is-solo{height:clamp(280px,34vw,460px)}
.kkc-inuse a,.kkc-inuse figure{display:block;position:relative;height:100%;margin:0;overflow:hidden;color:#fff;background:var(--paper-2)}
.kkc-inuse img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .9s cubic-bezier(.2,.6,.2,1)}
.kkc-inuse a:hover img{transform:scale(1.03)}
.kkc-inuse a:hover{color:#fff;text-decoration:none}
.kkc-inuse__cap{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:3px;padding:44px 16px 14px;background:linear-gradient(rgba(6,27,43,0),rgba(6,27,43,.74))}
.kkc-inuse__cap b{font-size:.64rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;opacity:.92}
.kkc-inuse__cap span{font-family:var(--serif);font-style:italic;font-weight:500;font-size:1.14rem;line-height:1.2}
@media (max-width:900px){.kkc-inuse>li,.kkc-inuse--small>li,.kkc-inuse>li.is-pair,.kkc-inuse>li.is-solo{grid-column:span var(--span-s,6);height:auto;aspect-ratio:var(--shape-s,1)}}

/* how buying works: a real sequence, so numbered */
.kkc-hub-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;counter-reset:kkc-step}
.kkc-hub-steps li{counter-increment:kkc-step;padding-top:18px;border-top:1px solid var(--rule)}
.kkc-hub-steps li::before{content:counter(kkc-step);display:block;margin:0 0 12px;font-family:var(--serif);font-weight:600;font-size:2.6rem;line-height:1;color:var(--red)}
.kkc-hub-steps strong{display:block;margin:0 0 6px;font-size:1rem;color:var(--ink)}
.kkc-hub-steps p{margin:0;color:var(--ink-2);line-height:1.6}

/* questions: the heading stays in view beside them */
.kkc-questions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:32px clamp(32px,6vw,80px);align-items:start;margin-top:clamp(64px,9vw,112px);padding-top:clamp(28px,4vw,44px);border-top:1px solid var(--rule)}
.kkc-questions__aside{position:sticky;top:calc(var(--kkc-header-h,0px) + 24px)}
.kkc-questions__aside h2{margin:0 0 12px;font-size:clamp(2rem,3.4vw,2.7rem);line-height:1.04}
.kkc-questions__aside>p{color:var(--ink-2);line-height:1.65}
.kkc-questions__aside h3{margin:26px 0 6px;font-size:1rem}
.kkc-questions__contact{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.kkc-questions__list{border-top:1px solid var(--rule)}
.kkc-questions__item{border-bottom-color:var(--rule)}
.kkc-questions__item summary{padding-block:18px}
.kkc-questions__item h3{margin:0;font-family:var(--serif);font-weight:600;font-size:1.32rem;line-height:1.25;color:var(--navy)}
.kkc-questions__item p{margin:0 0 20px;padding:0 28px 0 2px;max-width:66ch;color:var(--ink-2);line-height:1.7}

/* the close, for a visitor: framed like the logo, a line drawn inside the edge */
.kkc-hub-close{position:relative;margin-top:clamp(64px,9vw,112px);padding:clamp(44px,6vw,76px) clamp(20px,5vw,64px);background:var(--navy);color:var(--on-brand);text-align:center}
.kkc-hub-close::before{content:"";position:absolute;inset:10px;border:1px solid rgba(244,243,238,.4);pointer-events:none}
.kkc-hub-close .kkc-kicker{justify-content:center}
.kkc-hub-close h2{margin:0 auto 12px;max-width:22ch;font-size:clamp(2rem,3.8vw,3rem);line-height:1.05;color:#fff}
.kkc-hub-close p{margin:0 auto 22px;max-width:52ch;color:var(--on-brand-2)}
.kkc-hub-close__actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 26px;max-width:none!important;margin:0 auto!important;position:relative}
.kkc-hub-close__actions a:not(.kkc-btn){color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* a trade's page: its heading beside its photograph */
.kkc-trade-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:28px clamp(28px,4.5vw,60px);align-items:center;margin:6px 0 clamp(30px,4vw,44px)}
.kkc-trade-hero--plain{grid-template-columns:minmax(0,1fr)}
.kkc-trade-hero h1{margin:0 0 14px;font-size:clamp(2.2rem,4.2vw,3.4rem);line-height:1.02}
.kkc-trade-hero__lede{margin:0 0 18px;font-size:1.04rem;line-height:1.7;color:var(--ink-2);max-width:58ch}
.kkc-trade-hero__facts{display:grid;gap:10px;margin:0 0 20px;padding:14px 0 0;border-top:1px solid var(--rule)}
.kkc-trade-hero__facts div{display:grid;grid-template-columns:minmax(0,13em) minmax(0,1fr);gap:4px 14px;align-items:baseline}
.kkc-trade-hero__facts dt{font-size:.66rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-3)}
.kkc-trade-hero__facts dd{margin:0;color:var(--ink)}
.kkc-trade-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin:0 0 10px}
.kkc-trade-hero__actions a:not(.kkc-btn){font-weight:600}
.kkc-trade-hero__note{margin:0;font-size:.88rem;color:var(--ink-3);max-width:58ch}
.kkc-trade-hero__photo{margin:0}
.kkc-trade-hero__photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--paper-2)}

/* a trade's page, closing: its pieces in use, what it orders most, its questions */
.kkc-trade-inuse{margin-top:clamp(48px,7vw,80px)}
.kkc-trade-inuse h2{margin:0 0 20px;font-size:clamp(1.9rem,3.2vw,2.5rem);line-height:1.05}
.kkc-trade-detail{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:26px clamp(28px,5vw,64px);margin:clamp(40px,6vw,64px) 0 0;padding:clamp(24px,3vw,32px) 0 0;border-top:1px solid var(--rule)}
.kkc-trade-detail h2{margin:0 0 10px;font-size:clamp(1.7rem,2.6vw,2.1rem);line-height:1.08}
.kkc-trade-detail h3{margin:22px 0 6px;font-size:1rem}
.kkc-trade-detail p{margin:0 0 10px}
.kkc-trade-detail .kkc-faq dt{margin-top:16px}

@media (max-width:900px){
  .kkc-hub-hero__head{grid-template-columns:minmax(0,1fr);align-items:start}
  .kkc-hub-trades{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kkc-hub-trade,.kkc-hub-trade--lead{grid-column:span 1}
  .kkc-hub-trade--lead .kkc-hub-trade__photo img,.kkc-hub-trade--lead .kkc-hub-trade__blank{aspect-ratio:4/5}
  .kkc-hub-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kkc-questions{grid-template-columns:minmax(0,1fr)}
  .kkc-questions__aside{position:static}
  .kkc-trade-hero{grid-template-columns:minmax(0,1fr)}
  .kkc-trade-hero__photo{order:-1}
}
@media (max-width:760px){
  .kkc-hub-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kkc-hub-facts div:nth-child(odd){border-left:0;padding-left:0}
  .kkc-hub-facts div:nth-child(n+3){border-top:1px solid var(--rule)}
  .kkc-hub-facts div{padding:14px 12px 14px 16px}
  .kkc-hub-facts dd{font-size:1.28rem}
}
@media (max-width:600px){
  .kkc-hub-hero__photo img{aspect-ratio:4/3}
  .kkc-hub-trades{grid-template-columns:minmax(0,1fr);gap:44px}
  .kkc-hub-trade__photo img,.kkc-hub-trade__blank,.kkc-hub-trade--lead .kkc-hub-trade__photo img,.kkc-hub-trade--lead .kkc-hub-trade__blank{aspect-ratio:4/3}
  .kkc-hub-steps{grid-template-columns:minmax(0,1fr)}
  .kkc-inuse{gap:10px}
  .kkc-inuse__cap{padding:36px 12px 10px}
  .kkc-inuse__cap span{font-size:1.02rem}
  .kkc-trade-hero__facts div{grid-template-columns:minmax(0,1fr)}
  .kkc-hub-close::before{inset:7px}
}
@media (prefers-reduced-motion:reduce){
  .kkc-hub-trade__photo img,.kkc-inuse img{transition:none}
  .kkc-hub-trade:hover .kkc-hub-trade__photo img,.kkc-inuse a:hover img{transform:none}
}

/* ---------- the front page for a visitor, in the Shop by trade look (21 September 2026) ---------- */
.kkc-home__note{margin:14px 0 0;font-size:.88rem;line-height:1.55;color:var(--ink-3);max-width:52ch}
.kkc-hub-more{margin:clamp(28px,4vw,40px) 0 0;text-align:center}
.kkc-cat-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(28px,3.5vw,40px) clamp(16px,2vw,24px)}
.kkc-cat-tiles a{display:flex;flex-direction:column;color:inherit}
.kkc-cat-tiles a:hover{text-decoration:none}
.kkc-cat-tiles__photo{display:block;overflow:hidden;background:var(--paper-2)}
.kkc-cat-tiles__photo img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;transition:transform .9s cubic-bezier(.2,.6,.2,1)}
.kkc-cat-tiles a:hover .kkc-cat-tiles__photo img{transform:scale(1.035)}
.kkc-cat-tiles__name{margin:14px 0 3px;font-family:var(--serif);font-weight:600;font-size:1.45rem;line-height:1.1;color:var(--navy)}
.kkc-cat-tiles a:hover .kkc-cat-tiles__name{color:var(--red)}
.kkc-cat-tiles__meta{font-size:.66rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-3)}
.kkc-hub .kkc-cloths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px clamp(24px,4vw,48px);margin:0;max-width:none}
.kkc-hub .kkc-cloths div{padding-top:18px;border-top:1px solid var(--rule)}
.kkc-hub .kkc-cloths dt{margin:0 0 8px;font-family:var(--serif);font-weight:600;font-size:1.6rem;line-height:1.1;color:var(--navy)}
.kkc-hub .kkc-cloths dd{margin:0;color:var(--ink-2);line-height:1.7}
.kkc-fabric-list{list-style:none;margin:clamp(28px,4vw,40px) 0 0;padding:20px 0 0;border-top:1px solid var(--rule);display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px}
.kkc-fabric-list a{font-weight:600;color:var(--navy)}
.kkc-fabric-list a:hover{color:var(--red);text-decoration:none}
.kkc-fabric-list span{margin-left:7px;font-weight:400;color:var(--ink-3);font-variant-numeric:tabular-nums}
.kkc-home-name{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px clamp(28px,5vw,64px);align-items:center}
.kkc-home-name--plain{grid-template-columns:minmax(0,1fr)}
.kkc-home-name figure{margin:0}
.kkc-home-name img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--paper-2)}
.kkc-home-name h2{margin:0 0 12px;font-family:var(--serif);font-weight:600;font-size:clamp(2rem,3.6vw,2.8rem);line-height:1.05;color:var(--navy)}
.kkc-home-name p{color:var(--ink-2);line-height:1.7;max-width:52ch}
.kkc-home-name .kkc-kicker{margin:0 0 14px;font-size:.72rem;line-height:1.5;max-width:none;color:var(--navy)}
.kkc-hub-close__actions a:not(.kkc-btn){max-width:32ch;text-align:left}
@media (max-width:900px){
  .kkc-cat-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}
  .kkc-cat-tiles__name{font-size:1.25rem}
  .kkc-hub .kkc-cloths,.kkc-home-name{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){.kkc-hub-close__actions a:not(.kkc-btn){text-align:center}}

