/* ==========================================================================
   Khareedoo storefront
   Layout modelled on markaz.app/shop, palette kept on the Khareedoo brand.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand — sampled from the logo; swap to restyle the whole storefront */
  --kh-primary: #fe6414;
  --kh-primary-dark: #d94f0d;
  --kh-primary-darker: #a83c08;
  --kh-primary-tint: #fff3ec;
  --kh-primary-tint-2: #ffe4d4;

  /* Neutrals */
  --kh-navy: #101a3d;
  --kh-navy-2: #1b2650;
  --kh-900: #1d2939;
  --kh-800: #26313f;
  --kh-700: #344054;
  --kh-600: #475467;
  --kh-500: #667085;
  --kh-400: #98a2b3;
  --kh-300: #d0d5dd;
  --kh-200: #eaecf0;
  --kh-100: #f2f4f7;
  --kh-50: #f9fafb;
  --kh-white: #fff;
  /* Warm page ground; cards and panels stay white on top of it. */
  --kh-page: #fdf7f2;

  /* Header chrome — sampled from the Khareedoo logo (#fe6414 orange + near-black) */
  --kh-trust-bg: #16110e;
  --kh-catbar-bg: #fdf7f2;
  --kh-brand-accent: #fe6414;
  --kh-brand-accent-dark: #d94f0d;
  --kh-brand-ink: #1c1c1c;
  --kh-hero-ink: #1c1613;
  /* Footer black, with the newsletter band a step lighter above it. */
  --kh-footer-bg: #000;
  --kh-news-bg: #171717;
  --kh-hot: #1c1c1c;
  /* Warm charcoal-to-orange wash, mirroring the reference's neutral→brand ramp */
  --kh-masthead: linear-gradient(90deg, #43332b 0%, #7d4119 28%, #c2530f 58%, #f2610f 84%, #fe6414 100%);

  /* Semantic */
  --kh-rose: #be123c;
  --kh-rose-tint: #fff1f3;
  --kh-amber: #f59e0b;
  --kh-green: #027a48;
  --kh-green-tint: #ecfdf3;

  /* Shape */
  --kh-r-sm: 8px;
  --kh-r: 12px;
  --kh-r-lg: 16px;
  --kh-r-xl: 24px;
  --kh-r-pill: 999px;

  /* Elevation */
  --kh-shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --kh-shadow-sm: 0 1px 3px rgba(16, 24, 40, .1), 0 1px 2px rgba(16, 24, 40, .06);
  --kh-shadow-md: 0 4px 8px -2px rgba(16, 24, 40, .1), 0 2px 4px -2px rgba(16, 24, 40, .06);
  --kh-shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, .08), 0 4px 6px -2px rgba(16, 24, 40, .03);

  /* Layout */
  --kh-container: 1280px;
  --kh-gutter: 20px;
  --kh-header-h: 72px;

  --kh-sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Cart glyph, used as a CSS mask on WooCommerce's own add-to-cart button. */
  --kh-cart-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.6'/%3E%3Ccircle cx='18' cy='20' r='1.6'/%3E%3Cpath d='M2 3h2.2l2.3 12.1a2 2 0 0 0 2 1.6h8.6a2 2 0 0 0 2-1.6L21 7H5.4'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--kh-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--kh-700);
  background: var(--kh-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--kh-primary); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--kh-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

svg { display: block; flex: none; }

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

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

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

.kh-skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--kh-primary);
  color: #fff;
  border-radius: 0 0 var(--kh-r-sm) var(--kh-r-sm);
  font-weight: 600;
  transition: top .2s;
}
.kh-skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Buttons / chips
   -------------------------------------------------------------------------- */

.kh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--kh-r-sm);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .18s, border-color .18s, color .18s, transform .12s, box-shadow .18s;
}
.kh-btn:active { transform: translateY(1px); }

.kh-btn--primary {
  background: var(--kh-primary);
  border-color: var(--kh-primary);
  color: #fff;
  box-shadow: var(--kh-shadow-xs);
}
.kh-btn--primary:hover {
  background: var(--kh-primary-dark);
  border-color: var(--kh-primary-dark);
  color: #fff;
}

.kh-btn--ghost {
  background: #fff;
  border-color: var(--kh-300);
  color: var(--kh-700);
}
.kh-btn--ghost:hover { border-color: var(--kh-primary); color: var(--kh-primary); }

.kh-btn--dark {
  background: var(--kh-navy);
  border-color: var(--kh-navy);
  color: #fff;
}
.kh-btn--dark:hover { background: var(--kh-navy-2); color: #fff; }

.kh-btn--sm { padding: 8px 14px; font-size: 13px; }
.kh-btn--lg { padding: 14px 26px; font-size: 15px; }
.kh-btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   4. Trust bar (black strip above the masthead)
   -------------------------------------------------------------------------- */

.kh-trustbar {
  background: var(--kh-trust-bg);
  color: #fff;
  font-size: 14px;
}
.kh-trustbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
}
.kh-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: #fff;
  font-weight: 400;
}
.kh-trust svg { color: #fff; }

@media (max-width: 1100px) {
  .kh-trustbar { font-size: 13px; }
  .kh-trustbar__inner { gap: 14px; }
}
@media (max-width: 900px) {
  .kh-trustbar__inner {
    justify-content: flex-start;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .kh-trustbar__inner::-webkit-scrollbar { display: none; }
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */

.kh-header {
  position: relative;
  z-index: 200;
  background: #fff;
}

/* Masthead — gradient band carrying logo, search and account nav */
.kh-masthead { background: var(--kh-masthead); }
.kh-masthead__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 80px;
}

/* Brand lockup */
.kh-brand { flex: none; display: flex; align-items: center; }
.kh-brand img {
  height: 46px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
}
/* The supplied logo is dark-on-transparent; knock it to white so it reads on
   the gradient exactly like the reference. Remove this rule to show it in
   full colour instead. */
.kh-brand--invert img { filter: brightness(0) invert(1); }

/* Search */
.kh-hsearch { flex: 1; min-width: 0; max-width: 740px; }
.kh-hsearch__form {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 5px 0 18px;
  background: #fff;
  border-radius: var(--kh-r-pill);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.kh-hsearch__icon { color: var(--kh-500); flex: none; }
.kh-hsearch__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--kh-900);
}
.kh-hsearch__input:focus { outline: none; }
.kh-hsearch__input::placeholder { color: var(--kh-500); }

.kh-hsearch__tools { display: flex; align-items: center; gap: 12px; flex: none; }
.kh-hsearch__chip {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--kh-hot);
  color: #fff;
}
.kh-hsearch__chip:hover { background: var(--kh-brand-accent); color: #fff; }

/* Camera (image search) with the reference's teal progress arc */
.kh-hsearch__cam {
  position: relative;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--kh-800);
}
.kh-hsearch__cam::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--kh-brand-accent);
  border-right-color: transparent;
  border-bottom-color: transparent;
  animation: kh-cam-spin 2.4s linear infinite;
  will-change: transform;
}
.kh-hsearch__cam:hover { color: var(--kh-brand-accent); }
/* Tighten the orbit on hover so it reads as interactive. */
.kh-hsearch__cam:hover::after { animation-duration: 1s; }

@keyframes kh-cam-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.kh-hsearch__btn {
  flex: none;
  height: 42px;
  padding: 0 32px;
  border-radius: var(--kh-r-pill);
  /* Ink rather than orange — the masthead's right edge is already brand
     orange, so an orange button would disappear into it. */
  background: var(--kh-brand-ink);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: background-color .18s;
}
.kh-hsearch__btn:hover { background: #000; }

/* Account nav */
.kh-hnav { display: flex; align-items: center; gap: 26px; flex: none; }
.kh-hnav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity .18s;
}
.kh-hnav__item:hover { color: #fff; opacity: .82; }
.kh-hnav__badge {
  position: absolute;
  top: -6px;
  left: 13px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: var(--kh-r-pill);
  background: var(--kh-hot);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
}

/* Legacy logo lockup — still used in the footer and mobile drawer */
.kh-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.kh-logo img { max-height: 42px; width: auto; }
/* Search (used by the archive / 404 empty states) */
.kh-search { flex: 1; max-width: 620px; position: relative; }
.kh-search__form {
  display: flex;
  align-items: center;
  height: 44px;
  background: var(--kh-100);
  border: 1.5px solid transparent;
  border-radius: var(--kh-r-sm);
  transition: border-color .18s, background-color .18s;
}
.kh-search__form:focus-within {
  background: #fff;
  border-color: var(--kh-primary);
  box-shadow: 0 0 0 4px rgba(255, 100, 22, .1);
}
.kh-search__icon { padding: 0 12px; color: var(--kh-400); }
.kh-search__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--kh-900);
}
.kh-search__input:focus { outline: none; }
.kh-search__input::placeholder { color: var(--kh-400); }
.kh-search__submit {
  height: 34px;
  margin-right: 5px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--kh-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.kh-search__submit:hover { background: var(--kh-primary-dark); }

/* Search suggestion chips */
.kh-search__hints {
  display: flex;
  gap: 8px;
  margin-top: 7px;
  font-size: 11.5px;
  color: var(--kh-400);
  align-items: center;
}
.kh-search__hints a {
  color: var(--kh-500);
  padding: 2px 8px;
  border-radius: var(--kh-r-pill);
  background: var(--kh-100);
}
.kh-search__hints a:hover { background: var(--kh-primary-tint); color: var(--kh-primary); }

.kh-burger {
  display: none;
  width: 42px; height: 42px;
  place-items: center;
  border-radius: var(--kh-r-sm);
  color: #fff;
  flex: none;
}
.kh-burger:hover { background: rgba(255, 255, 255, .16); }

/* --------------------------------------------------------------------------
   7. Category nav bar
   -------------------------------------------------------------------------- */

.kh-catbar {
  background: var(--kh-catbar-bg);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.kh-catbar__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}
.kh-catbar__inner::-webkit-scrollbar { display: none; }

.kh-catbar__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
  transition: color .18s;
}
.kh-catbar__link:hover { color: var(--kh-brand-accent-dark); }
.kh-catbar__emoji { font-size: 17px; line-height: 1; }
.kh-catbar__cn {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--kh-600);
  text-transform: uppercase;
}

@media (max-width: 1240px) {
  .kh-masthead__inner { gap: 20px; }
  .kh-hnav { gap: 18px; }
  .kh-hnav__item span { display: none; }
  .kh-hnav__badge { left: 12px; }
}
@media (max-width: 1023px) {
  .kh-masthead__inner {
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
    min-height: 0;
  }
  .kh-hsearch { order: 10; flex-basis: 100%; max-width: none; }
  .kh-hsearch__form { height: 46px; }
  .kh-hsearch__btn { padding: 0 20px; font-size: 15px; }
  .kh-brand img { height: 38px; }
  .kh-burger { display: grid; }
  .kh-hnav { margin-left: auto; }
  .kh-catbar { display: none; }
}
@media (max-width: 560px) {
  .kh-hsearch__chip { display: none; }
  .kh-hsearch__form { padding-left: 14px; gap: 8px; }
  .kh-hsearch__btn { padding: 0 16px; }
  .kh-hnav { gap: 14px; }
}

/* --------------------------------------------------------------------------
   8. Mobile drawer
   -------------------------------------------------------------------------- */

.kh-drawer {
  position: fixed;
  inset: 0;
  z-index: 400;
  visibility: hidden;
  pointer-events: none;
}
.kh-drawer.is-open { visibility: visible; pointer-events: auto; }

.kh-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(16, 26, 61, .5);
  opacity: 0;
  transition: opacity .25s;
}
.kh-drawer.is-open .kh-drawer__scrim { opacity: 1; }

.kh-drawer__panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(320px, 86vw);
  background: #fff;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
}
.kh-drawer.is-open .kh-drawer__panel { transform: none; }

.kh-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--kh-200);
}
.kh-drawer__head .kh-brand img { height: 34px; max-width: 170px; }
.kh-drawer__close {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--kh-600);
}
.kh-drawer__close:hover { background: var(--kh-100); }

.kh-drawer__body { flex: 1; overflow-y: auto; padding: 10px 0; }
.kh-drawer__title {
  padding: 14px 18px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--kh-400);
}
.kh-drawer__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--kh-700);
}
.kh-drawer__link:hover { background: var(--kh-primary-tint); color: var(--kh-primary); }
.kh-drawer__emoji { font-size: 17px; width: 22px; text-align: center; }

.kh-drawer__foot { padding: 16px 18px; border-top: 1px solid var(--kh-200); }

/* --------------------------------------------------------------------------
   9. Section shell
   -------------------------------------------------------------------------- */

.kh-section { padding: 44px 0; }
.kh-section--tight { padding: 30px 0; }

.kh-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.kh-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px 11px;
  border-radius: var(--kh-r-pill);
  background: var(--kh-primary-tint);
  color: var(--kh-primary-darker);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.kh-section__title { font-size: 24px; }
.kh-section__sub { margin: 6px 0 0; color: var(--kh-500); font-size: 14px; }
.kh-section__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kh-primary);
}
.kh-section__link:hover { gap: 9px; }
.kh-section__link svg { transition: transform .18s; }

@media (max-width: 767px) {
  .kh-section { padding: 32px 0; }
  .kh-section__title { font-size: 20px; }
  .kh-section__head { margin-bottom: 16px; }
}

/* --------------------------------------------------------------------------
   10. Hero
   -------------------------------------------------------------------------- */

.kh-hero { padding: 22px 0 8px; }
.kh-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 16px;
}

/* All slides share one grid cell, so every slide stretches to the tallest —
   the banner never collapses below min-height and never jumps between slides. */
.kh-slider {
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  border-radius: var(--kh-r-lg);
  overflow: hidden;
  background: var(--kh-page);
  /* Kept just below the natural content height so the padding below is what
     you actually see — a taller min-height would re-add centring slack. */
  min-height: 220px;
}
.kh-slide {
  position: relative;
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  padding: 22px 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease;
}
.kh-slide.is-active { opacity: 1; visibility: visible; }

/* Photo sits on the right; the wash keeps the left-hand copy readable. The
   banners are bright cream with the product on the right, so the wash is a
   light one and the copy is dark. */
.kh-slide__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.kh-slide__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(253, 247, 242, .97) 0%,
      rgba(253, 247, 242, .94) 44%,
      rgba(253, 247, 242, .62) 64%,
      rgba(253, 247, 242, 0) 84%);
}

.kh-slide__inner { max-width: 520px; position: relative; z-index: 2; }
.kh-slide__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: var(--kh-r-pill);
  background: #fff;
  border: 1px solid var(--kh-200);
  box-shadow: var(--kh-shadow-xs);
  color: var(--kh-700);
  font-size: 13px;
  font-weight: 600;
}
.kh-slide__title {
  font-size: 37px;
  line-height: 1.13;
  color: var(--kh-navy);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.kh-slide__title em { font-style: normal; color: var(--kh-primary); }
.kh-slide__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--kh-600);
  margin-bottom: 24px;
  max-width: 430px;
}
.kh-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--kh-r-sm);
  background: #fff;
  color: var(--kh-900);
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--kh-shadow-md);
  transition: transform .18s, color .18s;
}
.kh-slide__cta:hover { color: var(--kh-primary); transform: translateY(-2px); }

/* Whole-banner click target (replaces the per-slide CTA button) */
.kh-slide__link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Slide indicators — boxed, bottom right */
.kh-slider__dots {
  position: absolute;
  bottom: 18px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: var(--kh-r-pill);
  background: rgba(10, 8, 7, .34);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
  z-index: 5;
}
.kh-slider__dot {
  width: 6px; height: 6px;
  border-radius: var(--kh-r-pill);
  background: rgba(255, 255, 255, .5);
  transition: width .25s, background-color .25s;
}
.kh-slider__dot:hover { background: rgba(255, 255, 255, .8); }
.kh-slider__dot.is-active { width: 16px; background: #fff; }

/* Sourcing cards — Pakistan / China */
.kh-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }

.kh-promo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  border-radius: var(--kh-r-lg);
  /* Both hero columns share one grid row, so two tall cards would stretch the
     banner. Kept low enough that the slider's own content sets the height. */
  min-height: 104px;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.kh-promo-card:hover { transform: translateY(-2px); box-shadow: var(--kh-shadow-lg); }
/* Card ground sampled from each photo, so the readability fade below is
   invisible where it meets the artwork. */
.kh-promo-card--new    { --kh-card-cream: #fdeadb; border-color: #f6d9c2; }
.kh-promo-card--budget { --kh-card-cream: #fbe3d0; border-color: #f4d0b3; }

/* Both banners are composed edge to edge — Khareedoo bags on the left, the
   model on the right — so they are centred rather than anchored right, with a
   shorter fade that leaves the branding visible. */
.kh-promo-card--new .kh-promo-card__art,
.kh-promo-card--budget .kh-promo-card__art { object-position: center; }
.kh-promo-card--new::before {
  background: linear-gradient(90deg,
    var(--kh-card-cream) 0%,
    rgba(253, 234, 219, .82) 24%,
    rgba(253, 234, 219, .3) 46%,
    rgba(255, 255, 255, 0) 62%);
}
.kh-promo-card--budget::before {
  background: linear-gradient(90deg,
    var(--kh-card-cream) 0%,
    rgba(251, 227, 208, .84) 24%,
    rgba(251, 227, 208, .34) 46%,
    rgba(255, 255, 255, 0) 62%);
}
.kh-promo-card { background: var(--kh-card-cream); }

/* Photographs run edge to edge, so the copy needs its own ground: an opaque
   band on the left fading out across the middle. Held to two thirds so the
   picture still reads on the right. */
.kh-promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    var(--kh-card-cream) 0%,
    var(--kh-card-cream) 46%,
    rgba(255, 255, 255, 0) 78%);
}

/* Full-bleed artwork, anchored right so the subject stays in frame while the
   cropped left edge sits under the fade. */
.kh-promo-card__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  user-select: none;
}

.kh-promo-card__pill {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 10px;
  border-radius: var(--kh-r-pill);
  background: #fff;
  border: 1px solid var(--kh-200);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--kh-700);
  box-shadow: var(--kh-shadow-xs);
}

.kh-promo-card__title {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.kh-promo-card--new .kh-promo-card__title    { color: var(--kh-navy); }
.kh-promo-card--budget .kh-promo-card__title { color: var(--kh-primary-darker); }

/* The arrow inherits each card's own title colour and nudges on hover. */
.kh-promo-card__title svg { transition: transform .18s; color: currentColor; }
.kh-promo-card:hover .kh-promo-card__title svg { transform: translateX(4px); }

@media (max-width: 1023px) {
  .kh-hero__grid { grid-template-columns: 1fr; }
  .kh-hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .kh-slider { min-height: 250px; }
  .kh-slide { padding: 24px 32px; }
  .kh-slide__title { font-size: 31px; }
  .kh-promo-card { min-height: 128px; }
}
@media (max-width: 767px) {
  .kh-hero__side { grid-template-columns: 1fr; }
  .kh-slider { min-height: 330px; }
  .kh-slide { padding: 26px 24px; align-items: flex-end; }
  .kh-slide__title { font-size: 26px; }
  .kh-slide__text { font-size: 14px; margin-bottom: 18px; }
  .kh-slide__kicker { margin-bottom: 12px; }
  /* Stack the wash vertically so the photo still reads on a narrow screen. */
  .kh-slide__scrim {
    background: linear-gradient(180deg,
      rgba(253, 247, 242, 0) 0%,
      rgba(253, 247, 242, .72) 42%,
      rgba(253, 247, 242, .97) 74%);
  }
  .kh-slide__photo { object-position: center 25% !important; }
  .kh-slider__dots { right: 14px; bottom: 12px; padding: 4px 7px; }
}
@media (max-width: 420px) {
  .kh-slide__title { font-size: 23px; }
  .kh-promo-card__title { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   11. Category circles
   -------------------------------------------------------------------------- */

/* Reusable white rounded panel on the cream page ground — same treatment as
   the category card, for any section that should sit on its own surface. */
.kh-panel {
  background: #fff;
  border-radius: 28px;
  padding: 32px 40px 36px;
}

@media (max-width: 991px) { .kh-panel { padding: 24px; border-radius: 22px; } }
@media (max-width: 767px) { .kh-panel { padding: 20px 18px 24px; } }

/* White card sitting on the cream page ground */
.kh-section--cream { background: var(--kh-catbar-bg); }
.kh-catcard {
  position: relative;
  background: #fff;
  border-radius: 28px;
  /* Bottom padding is 12px light: .kh-cats supplies it, so the hover shadow
     has somewhere to go. */
  padding: 34px 40px 26px;
}

.kh-catcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /* 16 + the grid's 10px top padding = the intended 26px gap. */
  margin-bottom: 16px;
}
.kh-catcard__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--kh-navy);
  letter-spacing: -.02em;
}
.kh-catcard__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--kh-navy);
}
.kh-catcard__link svg { transition: transform .18s; }
.kh-catcard__link:hover { color: var(--kh-primary); }
.kh-catcard__link:hover svg { transform: translateX(3px); }

/* Two rows, flowing sideways */
.kh-cats {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: calc((100% - 9 * 18px) / 10);
  gap: 22px 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* overflow-x:auto makes overflow-y compute to auto, which clips the hover
     lift and its shadow. Pad the scroll box; the card's own padding is
     reduced by the same amount so spacing is unchanged. */
  padding: 10px 0 12px;
}
.kh-cats::-webkit-scrollbar { display: none; }
.kh-cats > * { scroll-snap-align: start; }

.kh-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.kh-cat:hover { color: inherit; }
.kh-cat__icon {
  width: 100%;
  max-width: 108px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4f5f7;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, background-color .22s;
}
.kh-cat__icon img { width: 100%; height: 100%; object-fit: cover; }
.kh-cat__emoji { font-size: 42px; line-height: 1; }
.kh-cat:hover .kh-cat__icon {
  transform: translateY(-4px);
  box-shadow: var(--kh-shadow-md);
  background: var(--kh-primary-tint);
}
.kh-cat__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--kh-navy);
  line-height: 1.28;
}
.kh-cat:hover .kh-cat__name { color: var(--kh-primary); }

@media (max-width: 1199px) {
  .kh-cats { grid-auto-columns: calc((100% - 7 * 18px) / 8); }
}
@media (max-width: 991px) {
  .kh-catcard { padding: 26px 24px 18px; border-radius: 22px; }
  .kh-catcard__title { font-size: 22px; }
  .kh-cats { grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 18px 16px; }
}
@media (max-width: 767px) {
  .kh-catcard { padding: 22px 18px 14px; }
  .kh-catcard__title { font-size: 19px; }
  .kh-catcard__link { font-size: 13.5px; }
  .kh-cats { grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 16px 14px; }
  .kh-cat__emoji { font-size: 32px; }
  .kh-cat__name { font-size: 11.5px; }
}
@media (max-width: 480px) {
  .kh-cats { grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 14px 12px; }
}

/* --------------------------------------------------------------------------
   13. Occasion tiles
   -------------------------------------------------------------------------- */

.kh-occ__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.kh-occ__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--kh-navy);
  letter-spacing: -.02em;
}
.kh-occ__note { margin: 0; font-size: 15px; color: var(--kh-500); }

/* Vibe pills */
.kh-vibes { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.kh-vibe {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--kh-r-pill);
  font-size: 15px;
  font-weight: 700;
  background: var(--vibe-bg);
  color: var(--vibe-fg);
  transition: transform .18s, box-shadow .18s;
}
.kh-vibe:hover { transform: translateY(-2px); box-shadow: var(--kh-shadow-md); color: var(--vibe-fg); }
.kh-vibe--eid     { --vibe-bg: #fdf1de; --vibe-fg: #b45309; }
.kh-vibe--wedding { --vibe-bg: #fde7ef; --vibe-fg: #be123c; }
.kh-vibe--daily   { --vibe-bg: #e4eefc; --vibe-fg: #1d4ed8; }
.kh-vibe--office  { --vibe-bg: #e7e9fd; --vibe-fg: #4338ca; }
.kh-vibe--glow    { --vibe-bg: #f3e8fd; --vibe-fg: #7e22ce; }
.kh-vibe--gift    { --vibe-bg: #dff5ea; --vibe-fg: #047857; }

/* Feature + tiles + banner */
.kh-occ__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

/* Editor's pick */
.kh-pick {
  position: relative;
  grid-row: span 2;
  overflow: hidden;
  /* Every slide shares one grid cell, so image and copy cross-fade together. */
  display: grid;
  grid-template: 1fr / 1fr;
  /* The right column drives the real height (148+18+148+18+140 = 472). */
  min-height: 360px;
  border-radius: 18px;
  background: var(--kh-hero-ink);
  transition: transform .22s, box-shadow .22s;
}
.kh-pick:hover { transform: translateY(-3px); box-shadow: var(--kh-shadow-lg); }

.kh-pick__slide {
  position: relative;
  grid-area: 1 / 1;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
}
.kh-pick__slide.is-active { opacity: 1; visibility: visible; }

/* Anchored right of centre: the models sit on the right of these frames,
   with wall space to the left. */
.kh-pick__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

/* Stretched click target, under the body copy and dots. */
.kh-pick__link { position: absolute; inset: 0; z-index: 2; }

.kh-pick__dots {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: var(--kh-r-pill);
  background: rgba(10, 8, 7, .34);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
}
.kh-pick__dot {
  width: 6px; height: 6px;
  border-radius: var(--kh-r-pill);
  background: rgba(255, 255, 255, .5);
  transition: width .25s, background-color .25s;
}
.kh-pick__dot:hover { background: rgba(255, 255, 255, .8); }
.kh-pick__dot.is-active { width: 16px; background: #fff; }
.kh-pick__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 14, .1) 30%, rgba(20, 16, 14, .82) 78%, rgba(20, 16, 14, .95) 100%);
}
/* Sits above the stretched link but passes clicks through to it. */
.kh-pick__body {
  position: relative;
  z-index: 3;
  padding: 26px 28px;
  display: block;
  pointer-events: none;
}
.kh-pick__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px 13px;
  border-radius: var(--kh-r-pill);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.kh-pick__title {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 8px;
}
.kh-pick__title em { font-style: normal; color: var(--kh-primary); display: block; }
.kh-pick__text {
  display: block;
  max-width: 300px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 16px;
}
.kh-pick__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.kh-pick__cta svg { transition: transform .18s; }
.kh-pick:hover .kh-pick__cta svg { transform: translateX(4px); }

/* Small tiles */
.kh-occ__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.kh-otile {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 148px;
  padding: 18px 18px 18px 22px;
  border-radius: 18px;
  background: var(--tile-bg);
  border: 1px solid var(--tile-line);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.kh-otile:hover {
  transform: translateY(-3px);
  box-shadow: var(--kh-shadow-lg);
  border-color: transparent;
}
.kh-otile--cosmetics { --tile-bg: #fceef3; --tile-line: #f6dbe5; }
.kh-otile--jewellery { --tile-bg: #f6f1e9; --tile-line: #ebe1d1; }
/* Warm peach sampled from the artwork's left edge, so the wash below blends
   into the photo instead of meeting it as a hard band. */
.kh-otile--shoes     { --tile-bg: #fedabd; --tile-line: #f7c9a4; }
/* Cool grey sampled from the artwork, so the wash meets the photo cleanly. */
.kh-otile--tech      { --tile-bg: #cfcdd0; --tile-line: #bfbdc1; }

.kh-otile__body { position: relative; z-index: 2; }
.kh-otile__name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--kh-navy);
  margin-bottom: 4px;
}
.kh-otile__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: #047857;
}
.kh-otile__cta::after {
  content: "→";
  transition: transform .18s;
}
.kh-otile:hover .kh-otile__cta::after { transform: translateX(3px); }

/* Contained thumbnail rather than a bled-in photo: each category image
   carries its own background, which would clash with the pastel ground. */
.kh-otile__img {
  flex: none;
  width: 104px;
  height: 104px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .16);
  transition: transform .25s;
}
.kh-otile:hover .kh-otile__img { transform: scale(1.05) rotate(-1.5deg); }

/* Full-bleed variant: the artwork fills the tile and the label sits over a
   wash drawn in the tile's own colour, so the two meet seamlessly. */
.kh-otile.is-full { padding: 18px 22px; }
.kh-otile.is-full .kh-otile__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}
.kh-otile.is-full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    var(--tile-bg) 0%,
    var(--tile-bg) 34%,
    rgba(255, 255, 255, 0) 68%);
}
.kh-otile.is-full .kh-otile__body { z-index: 2; }
/* The inset thumbnail tilts on hover; a full-bleed photo should not. */
.kh-otile.is-full:hover .kh-otile__img { transform: scale(1.03); }

/* China banner */
/* Warm ground, matched to the sunset tones of the ship photo so the fade
   reads as one image rather than two colour worlds meeting. */
.kh-china {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 140px;
  border-radius: 18px;
  background: #fdf0e4;
  border: 1px solid #f5ddc8;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.kh-china:hover { transform: translateY(-3px); box-shadow: var(--kh-shadow-lg); border-color: transparent; }

/* Full-bleed photo on the right, fading into the warm card ground. */
.kh-china__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
}
.kh-china__photo.is-active { opacity: 1; visibility: visible; }

.kh-china__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fdf0e4 0%, #fdf0e4 36%, rgba(253, 240, 228, .6) 54%, rgba(253, 240, 228, 0) 76%);
}

.kh-china__link { position: absolute; inset: 0; z-index: 2; }

.kh-china__body {
  position: relative;
  z-index: 3;
  padding: 20px 26px;
  pointer-events: none;
}

.kh-china__dots {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: var(--kh-r-pill);
  background: rgba(10, 8, 7, .38);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
}
.kh-china__dot {
  width: 5px; height: 5px;
  border-radius: var(--kh-r-pill);
  background: rgba(255, 255, 255, .55);
  transition: width .25s, background-color .25s;
}
.kh-china__dot:hover { background: rgba(255, 255, 255, .85); }
.kh-china__dot.is-active { width: 14px; background: #fff; }
.kh-china__title {
  display: block;
  font-size: 21px;
  font-weight: 700;
  color: var(--kh-navy);
  letter-spacing: -.01em;
  margin-bottom: 4px;
}
.kh-china__text { display: block; font-size: 13.5px; color: var(--kh-600); margin-bottom: 10px; }
.kh-china__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: #d92b1f;
}
.kh-china__cta svg { transition: transform .18s; }
.kh-china:hover .kh-china__cta svg { transform: translateX(4px); }

@media (max-width: 991px) {
  .kh-occ__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .kh-occ__title { font-size: 22px; }
  .kh-occ__note { font-size: 13.5px; }
  .kh-vibes { gap: 9px; margin-bottom: 20px; }
  .kh-vibe { padding: 10px 16px; font-size: 13.5px; }
  .kh-occ__grid { grid-template-columns: 1fr; }
  .kh-pick { grid-row: auto; min-height: 380px; }
  .kh-pick__title { font-size: 26px; }
}
@media (max-width: 560px) {
  .kh-occ__tiles { gap: 12px; }
  .kh-otile { min-height: 118px; padding: 14px; gap: 8px; }
  .kh-otile__name { font-size: 14px; }
  .kh-otile__cta { font-size: 11.5px; }
  .kh-otile__img { width: 68px; height: 68px; border-radius: 11px; }
  .kh-china { min-height: 124px; }
  .kh-china__body { padding: 16px 18px; }
  .kh-china__title { font-size: 17px; }
  .kh-china__text { font-size: 12.5px; margin-bottom: 8px; }
  .kh-china__cta { font-size: 13px; }
  .kh-pick { min-height: 300px; }
  .kh-pick__body { padding: 20px; }
  .kh-pick__title { font-size: 23px; }
}

/* --------------------------------------------------------------------------
   14. Product cards + carousel
   -------------------------------------------------------------------------- */

/* Rail section header — title with an inline tag chip, link on the right */
.kh-railhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.kh-railhead__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--kh-navy);
  letter-spacing: -.02em;
}
.kh-railhead__sub { margin: 6px 0 0; font-size: 14.5px; color: var(--kh-500); }

/* Plain text link, same treatment as "See all" in the category card. */
.kh-railhead__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--kh-navy);
}
.kh-railhead__link svg { transition: transform .18s; }
.kh-railhead__link:hover { color: var(--kh-primary); }
.kh-railhead__link:hover svg { transform: translateX(3px); }

@media (max-width: 767px) {
  .kh-railhead { align-items: flex-start; gap: 12px; }
  .kh-railhead__title { font-size: 20px; }
  .kh-railhead__sub { font-size: 13px; }
  .kh-railhead__link { font-size: 13.5px; }
}

.kh-rail { position: relative; }
.kh-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * 16px) / 6);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 8px;
  margin: -4px -2px -8px;
}
.kh-rail__track::-webkit-scrollbar { display: none; }
.kh-rail__track > * { scroll-snap-align: start; }

.kh-rail__nav {
  position: absolute;
  top: 34%;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--kh-900);
  border: 1px solid var(--kh-200);
  box-shadow: var(--kh-shadow-md);
  z-index: 6;
  transition: opacity .2s, background-color .2s;
}
.kh-rail__nav:hover { background: var(--kh-primary); color: #fff; border-color: var(--kh-primary); }
.kh-rail__nav[disabled] { opacity: 0; pointer-events: none; }
.kh-rail__nav--prev { left: -16px; }
.kh-rail__nav--next { right: -16px; }

/* Fixed grid variant */
.kh-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

/* No panel, border or shadow: the photo is the card, and the copy sits on the
   page ground beneath it. */
.kh-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.kh-card:hover { color: inherit; }

.kh-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--kh-100);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--kh-r-lg);
}
.kh-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.kh-card:hover .kh-card__media img { transform: scale(1.06); }
.kh-card__ph { font-size: 46px; line-height: 1; opacity: .55; }

.kh-card__badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.kh-badge {
  padding: 4px 9px;
  border-radius: var(--kh-r-pill);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.5;
  color: #fff;
  background: var(--kh-rose);
  box-shadow: 0 2px 6px rgba(16, 24, 40, .18);
}
.kh-badge--new { background: var(--kh-green); }
.kh-badge--brand { background: var(--kh-primary); }
.kh-badge--free { background: var(--kh-navy); }

.kh-card__tools {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
}
.kh-card__tool {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--kh-600);
  box-shadow: 0 2px 8px rgba(16, 24, 40, .14);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .2s, transform .2s, color .2s;
}
.kh-card:hover .kh-card__tool { opacity: 1; transform: none; }
.kh-card__tool:hover { color: var(--kh-primary); }
.kh-card__wish:hover { color: var(--kh-rose); }
.kh-card__wish.is-on { opacity: 1; transform: none; color: var(--kh-rose); }
.kh-card__wish.is-on svg { fill: currentColor; }

/* Flush with the photo's left edge — there is no panel to pad against. */
.kh-card__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 2px 0;
  flex: 1;
}
.kh-card__title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--kh-navy);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.8em;
}
.kh-card:hover .kh-card__title { color: var(--kh-primary); }

.kh-rating { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.kh-rating__stars { display: flex; gap: 1px; color: var(--kh-amber); }
.kh-rating__stars svg { width: 13px; height: 13px; fill: currentColor; }
/* On a card the rating is a supporting line, so it sits tight under the title
   rather than taking the body's full gap. */
.kh-card__body .kh-rating { margin-top: -2px; }
.kh-rating__stars svg.is-off { color: var(--kh-300); }
.kh-rating__count { color: var(--kh-400); }

.kh-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin-top: auto; }
.kh-price__now { font-size: 16.5px; font-weight: 800; color: var(--kh-navy); }
.kh-price__was { font-size: 12.5px; color: var(--kh-400); text-decoration: line-through; }
/* "PKR" sits at the same weight and size as the figure, reading as one price
   rather than a unit plus a number. */
.kh-price .woocommerce-Price-currencySymbol {
  font-weight: inherit;
  font-size: inherit;
}
.kh-price__off { font-size: 11.5px; font-weight: 700; color: var(--kh-rose); }


@media (max-width: 1199px) {
  .kh-rail__track { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
  .kh-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .kh-rail__track { grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; }
  .kh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Keep the arrows on touch, but tuck them inside the container so they
     can't push the page sideways. */
  .kh-rail__nav { width: 34px; height: 34px; top: 30%; }
  .kh-rail__nav--prev { left: -4px; }
  .kh-rail__nav--next { right: -4px; }
}
@media (max-width: 767px) {
  .kh-rail__track { grid-auto-columns: 46%; gap: 12px; }
  .kh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .kh-card__title { font-size: 12.5px; }
  .kh-rail__nav { width: 32px; height: 32px; top: 28%; }
  .kh-rail__nav--prev { left: -2px; }
  .kh-rail__nav--next { right: -2px; }
}
@media (max-width: 480px) {
  .kh-rail__track { grid-auto-columns: 60%; }
  .kh-rail__nav { width: 30px; height: 30px; }
  .kh-rail__nav--prev { left: 0; }
  .kh-rail__nav--next { right: 0; }
}

/* --------------------------------------------------------------------------
   16. Value props strip
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   16b. Editor's pick promo band
   -------------------------------------------------------------------------- */

.kh-eband {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 440px;
  padding: 48px;
  border-radius: 24px;
  background: #f8bd83;
}
.kh-eband__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Weighted low so the product still-life stays in frame. */
  object-position: center 55%;
}

.kh-eband__body { position: relative; z-index: 1; max-width: 470px; }
.kh-eband__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kh-primary-darker);
}
.kh-eband__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: #23150c;
  margin-bottom: 14px;
  max-width: 12ch;
}
.kh-eband__text {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(35, 21, 12, .78);
  max-width: 38ch;
}

/* Plain solid button, same shape as the rest of the site. Ink rather than
   orange, which would vanish into the artwork. */
.kh-eband__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--kh-r-sm);
  background: var(--kh-brand-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background-color .18s;
}
.kh-eband__cta svg { transition: transform .18s; }
.kh-eband__cta:hover { background: #000; color: #fff; }
.kh-eband__cta:hover svg { transform: translateX(3px); }

@media (max-width: 991px) {
  .kh-eband { min-height: 360px; padding: 36px 32px; gap: 22px; }
  .kh-eband__title { font-size: 30px; }
  .kh-eband__text { font-size: 14.5px; }
}
@media (max-width: 700px) {
  /* Below this the still-life would sit under the copy, so the photo becomes
     a band across the top and the text takes a solid ground beneath it. */
  .kh-eband {
    display: block;
    min-height: 0;
    padding: 0;
    background: linear-gradient(180deg, #ffe6cf 0%, #ffd9b8 100%);
  }
  .kh-eband__photo { position: relative; height: 220px; object-position: center 60%; }
  .kh-eband__body { max-width: none; padding: 24px 22px 28px; }
  .kh-eband__title { font-size: 24px; max-width: none; }
  .kh-eband__text { margin-bottom: 20px; }
  .kh-eband__cta { padding: 12px 24px; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */

.kh-faq__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--kh-navy);
  letter-spacing: -.02em;
  line-height: 1.18;
  margin-bottom: 10px;
}
.kh-faq__lede {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--kh-500);
  max-width: 58ch;
  margin-bottom: 12px;
}

/* Plain rows divided by hairlines — no card borders or fills. */
.kh-acc { border-top: 1px solid var(--kh-200); }
.kh-acc:first-child { border-top: 0; }

.kh-acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--kh-navy);
  transition: color .18s;
}
.kh-acc__q:hover { color: var(--kh-primary); }

/* Thin plus that loses its upright stroke to become a minus when open. */
.kh-acc__icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--kh-400);
  transition: color .18s;
}
.kh-acc__icon::before,
.kh-acc__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.kh-acc__icon::before {
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  margin-top: -.75px;
}
.kh-acc__icon::after {
  top: 0; bottom: 0; left: 50%;
  width: 1.5px;
  margin-left: -.75px;
  transition: transform .25s ease, opacity .2s ease;
}
.kh-acc__q:hover .kh-acc__icon { color: var(--kh-primary); }
.kh-acc.is-open .kh-acc__icon { color: var(--kh-primary); }
.kh-acc.is-open .kh-acc__icon::after { transform: scaleY(0); opacity: 0; }

.kh-acc__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.kh-acc.is-open .kh-acc__a { grid-template-rows: 1fr; }
.kh-acc__a > div { overflow: hidden; }
.kh-acc__a p {
  padding: 0 40px 26px 0;
  margin: -6px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--kh-600);
  max-width: 78ch;
}

@media (max-width: 767px) {
  .kh-faq__title { font-size: 22px; }
  .kh-faq__lede { font-size: 14px; }
  .kh-acc__q { padding: 20px 0; font-size: 15px; gap: 16px; }
  .kh-acc__a p { padding: 0 24px 20px 0; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   19. Closing shopping CTA
   -------------------------------------------------------------------------- */

/* Brand banner band. The artwork is bright (luminance 150-209 across the
   frame), so the copy is dark and no wash is used — its left third is
   already clear space made for exactly this. */
.kh-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 420px;
  padding: 48px;
  border-radius: 24px;
  background: #f7bb84;
}
.kh-cta__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Near-centre: the still-life sits low in this artwork, so a high crop would
     show wall and cut the trolley off. */
  object-position: center 48%;
}

.kh-cta__body { position: relative; z-index: 1; max-width: 470px; }
.kh-cta__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kh-primary-darker);
}
.kh-cta__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: #23150c;
  max-width: 12ch;
  margin-bottom: 14px;
}
.kh-cta__text {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(35, 21, 12, .78);
  max-width: 38ch;
}

/* Plain solid button, same shape as the rest of the site. Ink rather than
   orange, which would vanish into the artwork. */
.kh-cta__primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--kh-r-sm);
  background: var(--kh-brand-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background-color .18s;
}
.kh-cta__primary svg { transition: transform .18s; }
.kh-cta__primary:hover { background: #000; color: #fff; }
.kh-cta__primary:hover svg { transform: translateX(3px); }

@media (max-width: 991px) {
  .kh-cta { min-height: 340px; padding: 36px 32px; }
  .kh-cta__title { font-size: 30px; }
  .kh-cta__text { font-size: 14.5px; margin-bottom: 22px; }
}
@media (max-width: 700px) {
  /* Below this the subject would sit under the copy, so the photo becomes a
     band across the top and the text takes a solid ground beneath it. */
  .kh-cta {
    display: block;
    min-height: 0;
    padding: 0;
    background: linear-gradient(180deg, #ffe6cf 0%, #ffd9b8 100%);
  }
  .kh-cta__photo {
    position: relative;
    height: 230px;
    object-position: center 52%;
  }
  .kh-cta__body { max-width: none; padding: 24px 22px 28px; }
  .kh-cta__title { font-size: 24px; max-width: none; }
  .kh-cta__text { margin-bottom: 20px; }
  .kh-cta__primary { padding: 12px 24px; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */

/* --kh-footer-bg keeps the ground a one-line change. */
.kh-footer {
  background: var(--kh-footer-bg);
  color: rgba(255, 255, 255, .68);
  font-size: 13.5px;
}

.kh-footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 40px 28px;
  padding: 52px 0 42px;
}

.kh-footer__brand .kh-brand { margin-bottom: 16px; }
.kh-footer__brand .kh-brand img { height: 44px; }
.kh-footer__about { font-size: 13px; line-height: 1.65; margin-bottom: 20px; max-width: 330px; }

.kh-footer__contact { display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; }
.kh-footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.kh-footer__contact svg { color: var(--kh-primary); margin-top: 2px; }
.kh-footer__contact a:hover { color: #fff; }

.kh-footer__col-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: .01em;
}
.kh-footer__links { display: flex; flex-direction: column; gap: 10px; }
.kh-footer__links a { font-size: 13px; color: rgba(255, 255, 255, .66); transition: color .18s, padding-left .18s; }
.kh-footer__links a:hover { color: #fff; padding-left: 3px; }

/* Category list spans the full width below the link columns — there are far
   too many to sit in a single narrow column. */
.kh-footer__cats {
  grid-column: 1 / -1;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.kh-footer__links--cats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px 24px;
}

.kh-footer__apps { display: flex; gap: 10px; flex-wrap: wrap; }
.kh-store {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: var(--kh-r-sm);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .18s, border-color .18s;
}
.kh-store:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: inherit; }
.kh-store svg { color: #fff; }
.kh-store__text { line-height: 1.15; }
.kh-store__text small { display: block; font-size: 9.5px; color: rgba(255, 255, 255, .55); }
.kh-store__text strong { display: block; font-size: 13px; color: #fff; font-weight: 600; }

.kh-footer__mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.kh-footer__pay { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kh-footer__pay-label { font-size: 12px; color: rgba(255, 255, 255, .5); margin-right: 2px; }
.kh-pay {
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 7px;
  background: #fff;
  color: #2b1a12;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
}
/* Tint the line-drawn marks. JazzCash and Easypaisa carry their own brand
   colours in the SVG, so they are left alone. */
.kh-pay svg { flex: none; }
.kh-pay--cod svg { color: #0d7a3e; }
.kh-pay--visa svg { color: #1a1f71; }
.kh-pay--mc svg { color: #eb001b; }
.kh-pay--bank svg { color: #475467; }

.kh-social { display: flex; align-items: center; gap: 9px; }
.kh-social__label { font-size: 12px; color: rgba(255, 255, 255, .5); margin-right: 2px; }
.kh-social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .8);
  transition: background-color .18s, color .18s, transform .18s;
}
.kh-social a:hover { background: var(--kh-primary); color: #fff; transform: translateY(-2px); }

.kh-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 0 28px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
}
.kh-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.kh-footer__legal a:hover { color: #fff; }
.kh-footer__made { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 1099px) {
  .kh-footer__top { grid-template-columns: 1fr 1fr 1fr; gap: 34px 24px; }
  .kh-footer__brand { grid-column: 1 / -1; }
  .kh-footer__links--cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .kh-footer__top { grid-template-columns: 1fr 1fr; padding: 38px 0 30px; }
  .kh-footer__links--cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-footer__mid { flex-direction: column; align-items: flex-start; }
  .kh-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   21. Mobile bottom tab bar
   -------------------------------------------------------------------------- */

.kh-tabbar { display: none; }

@media (max-width: 767px) {
  .kh-tabbar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 180;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #fff;
    border-top: 1px solid var(--kh-200);
    box-shadow: 0 -2px 12px rgba(16, 24, 40, .08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .kh-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 2px 7px;
    font-size: 10px;
    font-weight: 500;
    color: var(--kh-500);
  }
  .kh-tab.is-active { color: var(--kh-primary); }
  body { padding-bottom: 62px; }
}

/* --------------------------------------------------------------------------
   22. Back to top
   -------------------------------------------------------------------------- */

.kh-totop {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 170;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--kh-primary);
  color: #fff;
  box-shadow: var(--kh-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.kh-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.kh-totop:hover { background: var(--kh-primary-dark); color: #fff; }

@media (max-width: 767px) { .kh-totop { bottom: 74px; right: 14px; } }

/* --------------------------------------------------------------------------
   23. wp_nav_menu wrappers
   -------------------------------------------------------------------------- */

/* Menus output <li> wrappers; the anchors carry the styling. */
.kh-catbar__inner li { flex: none; display: flex; }
.kh-drawer__body li { display: block; }
.kh-footer__links li,
.kh-footer__legal li { display: block; }
.kh-footer__legal { flex-direction: row; }

/* --------------------------------------------------------------------------
   24. Inner pages (archives, single, search, 404)
   -------------------------------------------------------------------------- */

.kh-pagehead {
  padding: 34px 0;
  background: var(--kh-white);
  border-bottom: 1px solid var(--kh-200);
}
.kh-pagehead h1 { font-size: 28px; }
.kh-pagehead p { margin-top: 6px; color: var(--kh-500); }
/* Flex, so the leading home icon sits on the same line as the trail. */
.kh-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 12.5px;
  color: var(--kh-500);
  margin-bottom: 8px;
}
.kh-crumbs a { display: inline-flex; align-items: center; }
.kh-crumbs a:hover { color: var(--kh-primary); }

.kh-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.kh-post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.kh-post:hover { box-shadow: var(--kh-shadow-lg); transform: translateY(-3px); }
.kh-post__thumb { aspect-ratio: 16 / 10; background: var(--kh-100); overflow: hidden; }
.kh-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.kh-post__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kh-post__meta { font-size: 11.5px; color: var(--kh-400); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.kh-post__title { font-size: 16px; line-height: 1.35; }
.kh-post__title a:hover { color: var(--kh-primary); }
.kh-post__excerpt { font-size: 13px; color: var(--kh-500); }

.kh-entry { max-width: 780px; margin-inline: auto; font-size: 15px; line-height: 1.7; color: var(--kh-700); }
/* Static pages — policies, about, help — carry headed sections rather than
   running prose, so they take a wider measure than a blog post. */
.page .kh-entry { max-width: 1000px; }
.kh-entry h2 { font-size: 22px; margin: 1.6em 0 .5em; }
.kh-entry h3 { font-size: 18px; margin: 1.4em 0 .4em; }
.kh-entry a { color: var(--kh-primary); text-decoration: underline; }
.kh-entry img { border-radius: var(--kh-r); margin: 1.2em 0; }
.kh-entry blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--kh-primary);
  color: var(--kh-600);
  font-style: italic;
}
.kh-entry ul, .kh-entry ol { margin: 0 0 1.2em 1.3em; }
.kh-entry ul { list-style: disc; }
.kh-entry ol { list-style: decimal; }
.kh-entry li { margin-bottom: .4em; }
.kh-entry code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--kh-100);
  font-size: .9em;
}

.kh-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 34px;
}
.kh-pagination .page-numbers {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kh-600);
}
.kh-pagination .page-numbers:hover { border-color: var(--kh-primary); color: var(--kh-primary); }
.kh-pagination .page-numbers.current {
  background: var(--kh-primary);
  border-color: var(--kh-primary);
  color: #fff;
}

.kh-empty { text-align: center; padding: 60px 20px; }
.kh-empty__emoji { font-size: 56px; line-height: 1; margin-bottom: 14px; }
.kh-empty h1 { font-size: 26px; margin-bottom: 8px; }
.kh-empty p { color: var(--kh-500); margin-bottom: 22px; }
.kh-empty .kh-search { max-width: 460px; margin-inline: auto; }

@media (max-width: 991px) { .kh-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .kh-posts { grid-template-columns: 1fr; } .kh-pagehead h1 { font-size: 22px; } }

/* --------------------------------------------------------------------------
   24b. Product category archive
   -------------------------------------------------------------------------- */

.kh-cathead { padding: 40px 0 36px; }
/* With artwork the band grows and stacks: photo, scrim, then the copy. The
   scrim is heaviest on the left so the navy heading keeps its contrast while
   the picture stays visible on the right. Keyed off .kh-pagehead so cart,
   checkout, account, blog and ordinary pages share it with the archives. */
.kh-pagehead.has-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 52px 0 46px;
  min-height: 232px;
  display: flex;
  align-items: center;
  border-bottom-color: transparent;
}
/* Painted as a background rather than an <img>: the band's height comes from
   min-height plus content, so it is indefinite, and `height: 100%` on an
   absolutely positioned replaced element falls back to the image's intrinsic
   size — which cropped every hero to the top of a viewport-tall frame.
   background-size has no such rule. The near-centre position keeps the subject
   in the band rather than the backdrop above it. */
.kh-cathead__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
}
.kh-cathead__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(253, 247, 242, .97) 0%,
      rgba(253, 247, 242, .95) 34%,
      rgba(253, 247, 242, .68) 62%,
      rgba(253, 247, 242, .3) 100%);
}
.kh-pagehead.has-art .kh-container { width: 100%; }
/* The tinted pill disappears into the wash, so over artwork it goes solid. */
.kh-pagehead.has-art .kh-cathead__count {
  background: #fff;
  box-shadow: 0 1px 3px rgba(28, 22, 19, .12);
}
.kh-cathead__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--kh-navy);
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.kh-cathead__sub { margin: 0 0 12px; font-size: 15.5px; color: var(--kh-500); max-width: 62ch; }

/* "Clear search" link under the results count. */
.kh-cathead__clear { margin: 12px 0 0; font-size: 13.5px; }
.kh-cathead__clear a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--kh-primary);
}
.kh-cathead__clear a:hover { text-decoration: underline; }

/* Retry field in the no-results state. */
.kh-empty__form { max-width: 440px; margin: 4px auto 20px; }

.kh-cathead__count {
  display: inline-block;
  padding: 5px 13px;
  border-radius: var(--kh-r-pill);
  background: var(--kh-primary-tint);
  color: var(--kh-primary-darker);
  font-size: 13px;
  font-weight: 700;
}

.kh-catnav-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--kh-navy);
  margin-bottom: 16px;
}

/* Subcategory chips */
.kh-subcats {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 16px 12px;
}
.kh-subcat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
}
.kh-subcat__icon {
  width: 100%;
  max-width: 84px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4f5f7;
  overflow: hidden;
  font-size: 30px;
  transition: transform .22s, box-shadow .22s, background-color .22s;
}
.kh-subcat__icon img { width: 100%; height: 100%; object-fit: cover; }
.kh-subcat:hover .kh-subcat__icon {
  transform: translateY(-3px);
  box-shadow: var(--kh-shadow-md);
  background: var(--kh-primary-tint);
}
.kh-subcat__name { font-size: 12.5px; font-weight: 700; color: var(--kh-navy); line-height: 1.3; }
.kh-subcat:hover .kh-subcat__name { color: var(--kh-primary); }

/* Budget filter links */
.kh-budgets { display: flex; flex-wrap: wrap; gap: 10px; }
.kh-budget {
  display: inline-flex;
  align-items: center;
  /* A flex container drops the whitespace between "Under" and the price. */
  gap: 5px;
  padding: 10px 18px;
  border-radius: var(--kh-r-pill);
  background: #fff;
  border: 1px solid var(--kh-200);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kh-700);
  transition: border-color .18s, color .18s;
}
.kh-budget:hover { border-color: var(--kh-primary); color: var(--kh-primary); }

/* Result count + sort */
.kh-cattoolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--kh-200);
}
.kh-cattoolbar__count { margin: 0; font-size: 14px; color: var(--kh-500); }
.kh-cattoolbar__sort select {
  padding: 9px 14px;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-sm);
  background: #fff;
  font: inherit;
  font-size: 13.5px;
  color: var(--kh-700);
}
.kh-cattoolbar__sort form { margin: 0; }

@media (max-width: 1199px) { .kh-subcats { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (max-width: 991px) {
  .kh-cathead { padding: 28px 0 24px; }
  /* Narrower viewports leave less room beside the copy, so the wash covers
     more of the frame. */
  .kh-pagehead.has-art { padding: 34px 0 30px; min-height: 190px; }
  .kh-pagehead.has-art .kh-cathead__scrim {
    background:
      linear-gradient(90deg,
        rgba(253, 247, 242, .97) 0%,
        rgba(253, 247, 242, .94) 52%,
        rgba(253, 247, 242, .74) 100%);
  }
  .kh-cathead__title { font-size: 26px; }
  .kh-cathead__sub { font-size: 14px; }
  .kh-subcats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .kh-subcats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; }
  .kh-subcat__icon { font-size: 24px; }
  .kh-subcat__name { font-size: 11.5px; }
  .kh-budget { padding: 8px 14px; font-size: 12.5px; }
  .kh-catnav-title { font-size: 16px; }
}

/* --------------------------------------------------------------------------
   24c. Single product
   -------------------------------------------------------------------------- */

.kh-pdp__head { padding: 20px 0 4px; }
.kh-crumbs__here {
  display: inline-block;
  max-width: 32ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
  color: var(--kh-navy);
  font-weight: 600;
}
.kh-pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* Gallery — vertical thumbs beside the stage.
   The stage is a fixed height rather than an aspect ratio: driving it from the
   column width made it over 1000px tall. Thumbs share the height so both
   columns end on the same line. */
.kh-gal {
  --kh-gal-h: min(84vh, 760px);
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
}
.kh-gal__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: var(--kh-gal-h);
  overflow-y: auto;
  scrollbar-width: none;
}
.kh-gal__thumbs::-webkit-scrollbar { display: none; }
.kh-gal__thumb {
  flex: none;
  padding: 0;
  border: 2px solid var(--kh-200);
  border-radius: var(--kh-r);
  overflow: hidden;
  background: transparent;
  transition: border-color .18s;
}
/* Thumbs are navigation, so a light 3:4 crop is fine and keeps the column
   from running past the stage. */
.kh-gal__thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.kh-gal__thumb:hover { border-color: var(--kh-300); }
.kh-gal__thumb.is-active { border-color: var(--kh-primary); }

.kh-gal__main {
  position: relative;
  border-radius: var(--kh-r-lg);
  background: transparent;
  border: 1px solid var(--kh-200);
  overflow: hidden;
  height: var(--kh-gal-h);
}
/* contain, so tall product shots are shown whole instead of being cropped
   to fit the frame. */
.kh-gal__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
}
.kh-gal__img.is-active { opacity: 1; visibility: visible; cursor: zoom-in; }

.kh-gal__view,
.kh-gal__count {
  position: absolute;
  top: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border-radius: var(--kh-r-pill);
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--kh-200);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--kh-700);
  backdrop-filter: blur(6px);
}
.kh-gal__view { left: 14px; }
.kh-gal__view:hover { color: var(--kh-primary); border-color: var(--kh-primary); }
.kh-gal__count { right: 14px; }

.kh-gal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--kh-200);
  color: var(--kh-700);
  box-shadow: var(--kh-shadow-sm);
  opacity: 0;
  transition: opacity .2s, background-color .2s, color .2s;
}
.kh-gal__main:hover .kh-gal__nav,
.kh-gal__nav:focus-visible { opacity: 1; }
.kh-gal__nav:hover { background: var(--kh-primary); border-color: var(--kh-primary); color: #fff; }
.kh-gal__nav--prev { left: 12px; }
.kh-gal__nav--next { right: 12px; }

/* Lightbox. z-index clears the WordPress admin bar (99999), and the image is
   sized against the viewport so it can never overflow. */
.kh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px;
  background: rgba(10, 8, 7, .93);
  backdrop-filter: blur(4px);
}
.kh-lightbox img {
  width: auto;
  height: auto;
  max-width: min(900px, calc(100vw - 140px));
  max-height: calc(100vh - 144px);
  object-fit: contain;
  border-radius: var(--kh-r);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.kh-lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  transition: background-color .18s;
}
.kh-lightbox__close:hover { background: rgba(255, 255, 255, .28); color: #fff; }

.kh-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  transition: background-color .18s;
}
.kh-lightbox__nav:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.kh-lightbox__nav--prev { left: 24px; }
.kh-lightbox__nav--next { right: 24px; }

.kh-lightbox__count {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 16px;
  border-radius: var(--kh-r-pill);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .kh-lightbox { padding: 64px 12px; }
  .kh-lightbox img { max-width: calc(100vw - 24px); max-height: calc(100vh - 150px); }
  .kh-lightbox__nav { width: 40px; height: 40px; }
  .kh-lightbox__nav--prev { left: 10px; }
  .kh-lightbox__nav--next { right: 10px; }
}

/* Summary column */
.kh-pdp__toprow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.kh-pdp__seller {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--kh-r-pill);
  background: var(--kh-green-tint);
  border: 1px solid #b7e4c9;
  font-size: 12px;
  font-weight: 700;
  color: var(--kh-green);
}
.kh-pdp__sku { font-size: 12.5px; color: var(--kh-400); font-weight: 600; }
.kh-pdp__save {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 15px;
  border-radius: var(--kh-r-pill);
  background: #fff;
  border: 1px solid var(--kh-200);
  font-size: 13px;
  font-weight: 600;
  color: var(--kh-700);
  transition: border-color .18s, color .18s;
}
.kh-pdp__save:hover { border-color: var(--kh-rose); color: var(--kh-rose); }
.kh-pdp__save.is-on { border-color: var(--kh-rose); color: var(--kh-rose); }
.kh-pdp__save.is-on svg { fill: currentColor; }

.kh-pdp__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--kh-navy);
  margin-bottom: 12px;
}
.kh-pdp__loved {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--kh-green);
}
.kh-pdp__loved svg { fill: currentColor; }
.kh-pdp__rating { margin-bottom: 14px; }

.kh-pdp__stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 9px 16px;
  border-radius: var(--kh-r-pill);
  border: 1px solid var(--kh-200);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kh-700);
}
.kh-pdp__stock svg { color: var(--kh-500); }
.kh-pdp__stock--out { border-color: #f6cdd4; background: var(--kh-rose-tint); color: var(--kh-rose); }
.kh-pdp__stock--out svg { color: currentColor; }

.kh-pdp__price {
  font-size: 32px;
  font-weight: 800;
  color: var(--kh-primary);
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.kh-pdp__price del { font-size: 18px; font-weight: 500; color: var(--kh-400); margin-right: 8px; }
.kh-pdp__price ins { text-decoration: none; }
/* The currency symbol carried the same 800 weight as the figure, which read as
   a second heavy word rather than a unit. */
.kh-pdp__price .woocommerce-Price-currencySymbol {
  font-weight: 500;
  font-size: .74em;
  margin-right: 2px;
}
.kh-pdp__price del .woocommerce-Price-currencySymbol { font-weight: 400; }

.kh-pdp__excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--kh-600);
  margin-bottom: 22px;
}

/* WooCommerce's add-to-cart form, restyled */
.kh-pdp form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 0 0 22px;
}
/* Woo renders the attributes as a table; unwrap it so each attribute sits on
   one line as "Size : [pills]". */
.kh-pdp form.cart .variations { width: 100%; margin-bottom: 4px; }
.kh-pdp form.cart .variations tbody { display: block; }
.kh-pdp form.cart .variations tr {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 14px;
}
.kh-pdp form.cart .variations th,
.kh-pdp form.cart .variations td { padding: 6px 0; display: block; text-align: left; }
/* Positioned so the visually-hidden select the pills replace is contained by
   the cell — left to the viewport it resolved far to the right and pushed a
   horizontal scrollbar onto the page above 1024px. */
.kh-pdp form.cart .variations td { position: relative; flex: 1 1 auto; min-width: 0; }
.kh-pdp form.cart .variations label {
  font-weight: 700;
  color: var(--kh-navy);
  font-size: 14.5px;
}
.kh-pdp form.cart .variations label::after { content: " :"; }

/* Stock already reads in the pill above the price, so Woo's own per-variation
   line is a duplicate. */
.kh-pdp .woocommerce-variation-availability { display: none; }

/* The variation form gets the same row layout as a simple product's. */
.kh-pdp .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.kh-qty__label {
  flex-basis: 100%;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--kh-navy);
}

/* Attribute pills, built by JS from the hidden select */
.kh-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.kh-pill {
  min-width: 58px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--kh-r-pill);
  border: 1px solid var(--kh-200);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kh-700);
  transition: border-color .18s, background-color .18s, color .18s;
}
.kh-pill:hover:not([disabled]) { border-color: var(--kh-primary); color: var(--kh-primary); }
.kh-pill.is-active { background: var(--kh-primary); border-color: var(--kh-primary); color: #fff; }
/* Sizes Woo reports as unavailable stay in place, greyed, so the run of sizes
   still reads as a complete set. */
.kh-pill[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

/* Quantity stepper */
.kh-pdp .quantity.kh-qty {
  display: inline-flex;
  align-items: center;
  height: 54px;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-pill);
  background: #fff;
  overflow: hidden;
}
.kh-qty__btn {
  width: 46px;
  height: 100%;
  font-size: 19px;
  line-height: 1;
  color: var(--kh-700);
  transition: background-color .18s, color .18s;
}
.kh-qty__btn:hover { background: var(--kh-100); color: var(--kh-primary); }
.kh-pdp .quantity.kh-qty .qty {
  width: 46px;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}
.kh-pdp .quantity.kh-qty .qty::-webkit-outer-spin-button,
.kh-pdp .quantity.kh-qty .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Add to bag — outlined and transparent, beside the filled Buy now */
.kh-pdp form.cart .button,
.kh-pdp form.cart button.button {
  flex: 1;
  min-width: 180px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 28px !important;
  border-radius: var(--kh-r-pill) !important;
  background: transparent !important;
  border: 1.5px solid var(--kh-navy) !important;
  color: var(--kh-navy) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  transition: background-color .18s, color .18s;
}
/* Cart glyph as a mask, so it inherits the button's text colour on hover. */
.kh-pdp form.cart .button::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--kh-cart-glyph) center / contain no-repeat;
  mask: var(--kh-cart-glyph) center / contain no-repeat;
}
.kh-pdp form.cart .button:hover {
  background: var(--kh-navy) !important;
  color: #fff !important;
}

/* Sits in the cart form's row beside Add to cart, and is rendered as a link on
   simple products and a button on variable ones — so the box model is stated
   rather than inherited. */
.kh-pdp__buynow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 180px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  gap: 9px;
  height: 54px;
  border-radius: var(--kh-r-pill);
  background: var(--kh-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(254, 100, 20, .28);
  transition: background-color .18s, transform .18s;
}
.kh-pdp__buynow:hover { background: var(--kh-primary-dark); color: #fff; transform: translateY(-1px); }

.kh-pdp__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.kh-pdp__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--kh-600);
}
.kh-pdp__trust svg { color: var(--kh-green); }

/* Share / copy link */
.kh-pdp__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--kh-200);
}
.kh-pdp__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--kh-r-pill);
  border: 1px solid var(--kh-200);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kh-700);
  transition: border-color .18s, color .18s;
}
.kh-pdp__action:hover { border-color: var(--kh-primary); color: var(--kh-primary); }
.kh-pdp__action.is-done { border-color: var(--kh-green); color: var(--kh-green); }

.kh-pdp__ship { display: flex; flex-direction: column; gap: 14px; }
.kh-pdp__ship-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--kh-500);
}
.kh-pdp__ship-row svg { color: var(--kh-primary); margin-top: 2px; flex: none; }
.kh-pdp__ship-row strong { display: block; color: var(--kh-navy); font-size: 14px; }

/* Description / additional info tabs */
.kh-pdp__tabs .woocommerce-tabs { margin: 0; }
.kh-pdp__tabs .woocommerce-tabs ul.tabs {
  margin: 0 0 22px;
  padding: 0 0 0 0;
  border-bottom: 1px solid var(--kh-200);
  /* Scroll the strip instead of wrapping it, so extra tabs from plugins can't
     stack up on a phone. */
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.kh-pdp__tabs .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.kh-pdp__tabs .woocommerce-tabs ul.tabs li { flex: none; }
.kh-pdp__tabs .woocommerce-tabs ul.tabs::before { border: 0; }
.kh-pdp__tabs .woocommerce-tabs ul.tabs li {
  margin: 0 6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.kh-pdp__tabs .woocommerce-tabs ul.tabs li::before,
.kh-pdp__tabs .woocommerce-tabs ul.tabs li::after { display: none; }
.kh-pdp__tabs .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 12px 18px !important;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--kh-500);
  border-bottom: 2px solid transparent;
}
.kh-pdp__tabs .woocommerce-tabs ul.tabs li.active a { color: var(--kh-primary); border-bottom-color: var(--kh-primary); }
.kh-pdp__tabs .woocommerce-Tabs-panel h2 { font-size: 19px; margin-bottom: 12px; }
.kh-pdp__tabs .woocommerce-Tabs-panel { font-size: 15px; line-height: 1.7; color: var(--kh-600); }
/* Product copy is author-supplied, so anything unwrappable scrolls in place
   rather than widening the page. */
.kh-pdp__tabs .woocommerce-Tabs-panel table,
.kh-pdp__tabs .woocommerce-Tabs-panel pre { display: block; max-width: 100%; overflow-x: auto; }
.kh-pdp__tabs .woocommerce-Tabs-panel img { height: auto; }

@media (max-width: 991px) {
  .kh-pdp__grid { grid-template-columns: 1fr; gap: 28px; }
  .kh-pdp__title { font-size: 24px; }
  .kh-pdp__price { font-size: 27px; }
}
@media (max-width: 640px) {
  /* Thumbs move under the stage once the column is this narrow. */
  .kh-gal { --kh-gal-h: min(72vh, 520px); grid-template-columns: 1fr; gap: 10px; }
  .kh-gal__thumbs {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .kh-gal__thumb { width: 64px; }
  .kh-gal__nav { display: none; }
  .kh-pdp__title { font-size: 21px; }
  .kh-pdp__price { font-size: 24px; }
  .kh-pdp__toprow { gap: 8px; }
  .kh-pdp__save { margin-left: 0; }
  .kh-pdp form.cart .button,
  .kh-pdp__buynow { min-width: 0; width: 100%; flex-basis: 100%; }
  .kh-pdp .quantity.kh-qty { width: 100%; justify-content: space-between; }
  .kh-pdp__trust { gap: 8px 16px; }
  .kh-pdp__trust li { font-size: 12.5px; }
  .kh-crumbs__here { max-width: 18ch; }
}

/* --------------------------------------------------------------------------
   25. WooCommerce
   Overrides on top of Woo's own stylesheets, so shop pages match the theme.
   -------------------------------------------------------------------------- */

.kh-woo .woocommerce-result-count,
.kh-woo .woocommerce-ordering { margin-bottom: 20px; font-size: 13.5px; color: var(--kh-500); }
.kh-woo .woocommerce-ordering select {
  padding: 8px 12px;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-sm);
  font: inherit;
  font-size: 13.5px;
  background: #fff;
}

/* Product grid */
.kh-woo ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kh-woo ul.products::before,
.kh-woo ul.products::after { content: none; }
.kh-woo ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.kh-woo ul.products li.product:hover {
  border-color: transparent;
  box-shadow: var(--kh-shadow-lg);
  transform: translateY(-3px);
}
.kh-woo ul.products li.product a img {
  margin: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--kh-100);
}
.kh-woo ul.products li.product .woocommerce-loop-product__title {
  padding: 11px 12px 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--kh-800);
}
.kh-woo ul.products li.product .price {
  padding: 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--kh-900);
}
.kh-woo ul.products li.product .price del { font-size: 12px; font-weight: 400; color: var(--kh-400); }
.kh-woo ul.products li.product .price ins { text-decoration: none; }
.kh-woo ul.products li.product .star-rating { margin: 6px 12px 0; font-size: .75em; color: var(--kh-amber); }
.kh-woo ul.products li.product .button {
  margin: 10px 12px 12px;
  align-self: flex-start;
}
/* WooCommerce's own rule is `.woocommerce ul.products li.product .onsale`, four
   classes, so the badge needs at least that much weight to be moved — otherwise
   it keeps Woo's negative margin and gets clipped by the card's rounded corner. */
.kh-woo span.onsale,
.kh-woo ul.products li.product span.onsale,
.kh-woo div.product span.onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  z-index: 2;
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 5px 10px;
  border-radius: var(--kh-r-pill);
  background: var(--kh-rose);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.4;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

/* Buttons */
.kh-woo .button,
.kh-woo button.button,
.kh-woo input.button,
.kh-woo a.button,
.kh-woo .woocommerce-button {
  padding: 10px 18px !important;
  border-radius: var(--kh-r-sm) !important;
  background: var(--kh-primary) !important;
  color: #fff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  transition: background-color .18s;
}
.kh-woo .button:hover,
.kh-woo button.button:hover,
.kh-woo a.button:hover { background: var(--kh-primary-dark) !important; }
.kh-woo .button.alt,
.kh-woo button.button.alt { background: var(--kh-brand-ink) !important; }
.kh-woo .button.alt:hover { background: #000 !important; }

/* Notices */
.kh-woo .woocommerce-message,
.kh-woo .woocommerce-info,
.kh-woo .woocommerce-error {
  border-top: 0;
  border-left: 3px solid var(--kh-primary);
  border-radius: var(--kh-r-sm);
  background: var(--kh-primary-tint);
  color: var(--kh-700);
  font-size: 13.5px;
}
.kh-woo .woocommerce-message::before,
.kh-woo .woocommerce-info::before { color: var(--kh-primary); }
.kh-woo .woocommerce-error { border-left-color: var(--kh-rose); background: var(--kh-rose-tint); }

/* Single product */
.kh-woo div.product .product_title { font-size: 26px; margin-bottom: 10px; }
.kh-woo div.product p.price { font-size: 24px; font-weight: 700; color: var(--kh-900); }
.kh-woo div.product p.price del { font-size: 16px; color: var(--kh-400); }
.kh-woo div.product .woocommerce-tabs ul.tabs li {
  border-radius: var(--kh-r-sm) var(--kh-r-sm) 0 0;
  background: var(--kh-100);
  border-color: var(--kh-200);
}
.kh-woo div.product .woocommerce-tabs ul.tabs li.active { background: #fff; }
.kh-woo .quantity .qty {
  padding: 8px;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-sm);
  font: inherit;
}

/* Forms, cart and checkout */
.kh-woo table.shop_table {
  border-radius: var(--kh-r);
  border-color: var(--kh-200);
  font-size: 14px;
}
.kh-woo table.shop_table th { color: var(--kh-900); }
.kh-woo .form-row input.input-text,
.kh-woo .form-row textarea,
.kh-woo .form-row select,
.kh-woo #coupon_code {
  padding: 10px 12px;
  border: 1px solid var(--kh-300);
  border-radius: var(--kh-r-sm);
  font: inherit;
  font-size: 14px;
}
.kh-woo .form-row input.input-text:focus,
.kh-woo .form-row textarea:focus {
  outline: none;
  border-color: var(--kh-primary);
  box-shadow: 0 0 0 3px rgba(254, 100, 20, .12);
}
.kh-woo .select2-container--default .select2-selection--single {
  height: 42px;
  border-color: var(--kh-300);
  border-radius: var(--kh-r-sm);
}
.kh-woo .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 40px; }

/* Pagination */
.kh-woo .woocommerce-pagination ul.page-numbers {
  border: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
}
.kh-woo .woocommerce-pagination ul.page-numbers li { border: 0; }
.kh-woo .woocommerce-pagination .page-numbers {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kh-600);
}
.kh-woo .woocommerce-pagination .page-numbers.current {
  background: var(--kh-primary);
  border-color: var(--kh-primary);
  color: #fff;
}

@media (max-width: 991px) {
  .kh-woo ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .kh-woo ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .kh-woo div.product .product_title { font-size: 21px; }
}

/* --------------------------------------------------------------------------
   24d. Sellers — landing page, mini-store, dashboard
   -------------------------------------------------------------------------- */

.kh-sell { padding: 44px 0 8px; background: var(--kh-white); border-bottom: 1px solid var(--kh-200); }

/* With artwork the band stacks: photo, wash, then the copy. The wash is
   heaviest on the left so the headline keeps its contrast while the storefront
   stays visible behind the application card. */
.kh-sell.has-art {
  position: relative;
  isolation: isolate;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-color: transparent;
}
.kh-sell__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, .94) 0%,
      rgba(255, 255, 255, .88) 36%,
      rgba(255, 255, 255, .55) 58%,
      rgba(255, 255, 255, .25) 100%);
}

.kh-sell__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
}

.kh-sell__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: var(--kh-r-pill);
  background: var(--kh-primary-tint);
  color: var(--kh-primary-darker);
  font-size: 13px;
  font-weight: 700;
}
.kh-sell__title {
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--kh-navy);
  margin-bottom: 16px;
}
.kh-sell__title em { font-style: normal; color: var(--kh-primary); }
.kh-sell__lede { font-size: 17px; line-height: 1.65; color: var(--kh-600); max-width: 54ch; margin-bottom: 26px; }

.kh-sell__points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.kh-sell__points li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.6; color: var(--kh-600); }
.kh-sell__points svg { flex: none; margin-top: 3px; color: var(--kh-green); }
.kh-sell__points strong { color: var(--kh-navy); font-weight: 700; }

/* Application card */
.kh-sell__card {
  position: sticky;
  top: 18px;
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-lg);
  padding: 28px 28px 30px;
  box-shadow: var(--kh-shadow-lg);
}
.kh-sell__card-title { font-size: 22px; font-weight: 800; color: var(--kh-navy); margin-bottom: 4px; }
.kh-sell__card-sub { font-size: 14px; color: var(--kh-500); margin-bottom: 20px; }
.kh-sell__alert {
  padding: 10px 13px;
  margin-bottom: 16px;
  border-radius: var(--kh-r-sm);
  background: var(--kh-rose-tint);
  border-left: 3px solid var(--kh-rose);
  font-size: 13.5px;
  color: var(--kh-700);
}

.kh-field { margin: 0 0 14px; }
.kh-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--kh-700); margin-bottom: 6px; }
.kh-field input,
.kh-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--kh-300);
  border-radius: var(--kh-r-sm);
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  color: var(--kh-800);
}
.kh-field input:focus,
.kh-field select:focus {
  outline: none;
  border-color: var(--kh-primary);
  box-shadow: 0 0 0 3px rgba(254, 100, 20, .12);
}
.kh-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* Password field with a reveal button sitting inside the input. */
.kh-pass { position: relative; display: block; }
.kh-pass input { padding-right: 46px; }
.kh-pass__eye {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--kh-500);
  cursor: pointer;
  transition: color .18s, background-color .18s;
}
.kh-pass__eye:hover { color: var(--kh-primary); background: var(--kh-100); }
.kh-pass__eye:focus-visible { outline: 2px solid var(--kh-primary); outline-offset: 1px; }

.kh-sell__submit { width: 100%; margin-top: 6px; justify-content: center; }
.kh-sell__small { margin: 14px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--kh-500); text-align: center; }

.kh-sell__done { text-align: center; padding: 12px 0 6px; }
.kh-sell__done-icon { font-size: 44px; line-height: 1; margin-bottom: 10px; }
.kh-sell__done h2 { font-size: 22px; font-weight: 800; color: var(--kh-navy); margin-bottom: 8px; }
.kh-sell__done p { font-size: 14.5px; line-height: 1.65; color: var(--kh-600); margin-bottom: 20px; }

/* How it works */
.kh-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.kh-step {
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-lg);
  padding: 24px 22px 26px;
}
.kh-step__n {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--kh-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.kh-step__title { font-size: 16px; font-weight: 700; color: var(--kh-navy); margin-bottom: 7px; }
.kh-step__text { font-size: 14px; line-height: 1.6; color: var(--kh-600); margin: 0; }

/* Commercials */
.kh-sell__terms { text-align: center; }
.kh-sell__terms-title { font-size: 24px; font-weight: 800; color: var(--kh-navy); margin-bottom: 6px; }
.kh-sell__terms-sub { font-size: 15px; color: var(--kh-500); margin-bottom: 26px; }
.kh-sell__terms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kh-sell__term { padding: 24px 18px 22px; border-radius: var(--kh-r); background: var(--kh-page); }
.kh-sell__term-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--kh-200);
  color: var(--kh-primary);
  box-shadow: var(--kh-shadow-xs);
}
.kh-sell__term-figure { display: block; font-size: 24px; font-weight: 800; color: var(--kh-primary); margin-bottom: 6px; }
.kh-sell__term-label { display: block; font-size: 13.5px; line-height: 1.55; color: var(--kh-600); }
.kh-sell__terms-note { margin: 22px 0 0; font-size: 13px; color: var(--kh-500); }

.kh-sell__cta { text-align: center; padding: 8px 0 4px; }
.kh-sell__cta h2 { font-size: 28px; font-weight: 800; color: var(--kh-navy); margin-bottom: 8px; }
.kh-sell__cta p { font-size: 15.5px; color: var(--kh-600); margin-bottom: 22px; }
.kh-sell__cta-or { display: block; margin-top: 14px; font-size: 13.5px; color: var(--kh-500); }

/* Closing CTA: the artwork runs the full width of the section, edge to edge
   and square. The copy is centred, so the veil is even rather than a
   one-sided fade. */
.kh-ctaband {
  position: relative;
  isolation: isolate;
  padding: 68px 0 72px;
  background-position: center 62%;
  background-size: cover;
  background-repeat: no-repeat;
}
.kh-ctaband__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .84);
}
.kh-ctaband .kh-sell__cta { padding: 0; }
.kh-ctaband .kh-sell__cta h2 { font-size: 32px; }
.kh-ctaband .kh-sell__cta p { color: var(--kh-700); }

/* Mini-store header */
.kh-storehead { display: flex; align-items: flex-start; gap: 20px; }
.kh-storehead__logo {
  flex: none;
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--kh-primary-tint);
  color: var(--kh-primary-darker);
  font-size: 30px;
  font-weight: 800;
  border: 1px solid var(--kh-200);
}
.kh-storehead__logo img { width: 100%; height: 100%; object-fit: cover; }
.kh-storehead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 10px 0 12px;
  padding: 0;
  list-style: none;
}
.kh-storehead__meta li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--kh-600); }
.kh-storehead__meta svg { color: var(--kh-primary); }

.kh-pdp__soldby { margin: 0 0 10px; font-size: 13.5px; color: var(--kh-500); }
.kh-pdp__soldby a { font-weight: 700; color: var(--kh-primary); }

/* Seller sign in */
.kh-signin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 28px;
  align-items: start;
}
.kh-signin__card,
.kh-signin__aside {
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-lg);
  padding: 28px 28px 30px;
}
.kh-signin__title { font-size: 21px; font-weight: 800; color: var(--kh-navy); margin-bottom: 4px; }
.kh-signin__sub { font-size: 14px; color: var(--kh-500); margin-bottom: 20px; }
.kh-signin__submit { width: 100%; justify-content: center; margin-top: 4px; }
.kh-signin__links { margin: 14px 0 0; font-size: 13.5px; text-align: center; }
.kh-signin__links a { color: var(--kh-primary); font-weight: 600; }
.kh-signin__aside { background: var(--kh-page); text-align: center; }
.kh-signin__aside h2 { font-size: 19px; font-weight: 800; color: var(--kh-navy); margin-bottom: 8px; }
.kh-signin__aside p { font-size: 14px; line-height: 1.65; color: var(--kh-600); margin-bottom: 20px; }

/* Front-end product form */
.kh-dash__hint { font-size: 13.5px; color: var(--kh-500); margin: -8px 0 20px; }
.kh-field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kh-req { color: var(--kh-rose); }
.kh-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--kh-300);
  border-radius: var(--kh-r-sm);
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--kh-800);
  resize: vertical;
}
.kh-field textarea:focus {
  outline: none;
  border-color: var(--kh-primary);
  box-shadow: 0 0 0 3px rgba(254, 100, 20, .12);
}
.kh-field input[type="file"] {
  width: 100%;
  padding: 11px 13px;
  border: 1px dashed var(--kh-300);
  border-radius: var(--kh-r-sm);
  background: var(--kh-page);
  font: inherit;
  font-size: 13.5px;
}
.kh-field__note { display: block; margin-top: 6px; font-size: 12.5px; color: var(--kh-500); }

/* Settings form: grouped sections, image previews, sign-out footer. */
.kh-pform__legend {
  margin: 26px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--kh-100);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--kh-500);
}
.kh-pform__legend:first-of-type { margin-top: 6px; padding-top: 0; border-top: 0; }

.kh-pform__thumb { display: block; margin-bottom: 10px; }
.kh-pform__thumb img { display: block; border: 1px solid var(--kh-200); }
.kh-pform__thumb--logo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.kh-pform__thumb--cover img { width: 100%; max-width: 320px; height: 82px; border-radius: var(--kh-r-sm); object-fit: cover; }

.kh-pform__drop {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--kh-500);
}
.kh-pform__drop input { width: auto; }

.kh-pform__danger {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--kh-100);
  font-size: 13.5px;
  color: var(--kh-500);
}
.kh-pform__danger a { font-weight: 600; color: var(--kh-rose); }

.kh-storeabout { max-width: 76ch; margin: 0; font-size: 15px; line-height: 1.7; color: var(--kh-600); }

.kh-pform__current { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 13px; color: var(--kh-500); }
.kh-pform__current img { width: 56px; height: 56px; border-radius: var(--kh-r-sm); object-fit: cover; }
.kh-pform__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.kh-pform__cancel { font-size: 14px; font-weight: 600; color: var(--kh-500); }
.kh-pform__cancel:hover { color: var(--kh-rose); }

/* Dashboard notices */
.kh-dash__note {
  padding: 13px 16px;
  margin-bottom: 20px;
  border-radius: var(--kh-r-sm);
  font-size: 14px;
  line-height: 1.55;
}
.kh-dash__note--good { background: var(--kh-green-tint); border-left: 3px solid var(--kh-green); color: var(--kh-700); }
.kh-dash__note--bad { background: var(--kh-rose-tint); border-left: 3px solid var(--kh-rose); color: var(--kh-700); }
.kh-dash__note strong { color: var(--kh-navy); }

/* Dashboard */
.kh-dash__barleft { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.kh-dash__actions { display: flex; align-items: center; gap: 12px; }
.kh-dash__remove { font-size: 13.5px; font-weight: 600; color: var(--kh-500); }
.kh-dash__remove:hover { color: var(--kh-rose); }
.kh-dash__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.kh-dash__store { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--kh-700); }
.kh-dash__store:hover { color: var(--kh-primary); }

.kh-dash__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.kh-dash__stat {
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-lg);
  padding: 20px 22px 22px;
}
.kh-dash__figure { display: block; font-size: 26px; font-weight: 800; color: var(--kh-navy); line-height: 1.2; }
.kh-dash__stat--money .kh-dash__figure { color: var(--kh-primary); }
.kh-dash__label { display: block; margin-top: 4px; font-size: 13px; color: var(--kh-500); }

.kh-dash__panel { padding: 26px 28px 28px; }
.kh-dash__title { font-size: 19px; font-weight: 700; color: var(--kh-navy); margin-bottom: 18px; }

.kh-dash__table { display: grid; gap: 0; font-size: 14px; }
.kh-dash__row {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) 110px 100px 110px 60px;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--kh-100);
}
.kh-dash__row:last-child { border-bottom: 0; }
.kh-dash__row--head {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--kh-200);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--kh-500);
}
.kh-dash__product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.kh-dash__product img { width: 46px; height: 46px; border-radius: var(--kh-r-sm); object-fit: cover; flex: none; }
.kh-dash__product a { font-weight: 600; color: var(--kh-navy); }
.kh-dash__product a:hover { color: var(--kh-primary); }

.kh-dash__pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--kh-r-pill);
  font-size: 11.5px;
  font-weight: 700;
}
.kh-dash__pill--publish { background: var(--kh-green-tint); color: var(--kh-green); }
.kh-dash__pill--pending { background: var(--kh-primary-tint); color: var(--kh-primary-darker); }
.kh-dash__pill--draft   { background: var(--kh-100); color: var(--kh-500); }

.kh-dash__edit { font-size: 13.5px; font-weight: 600; color: var(--kh-primary); }
.kh-dash__aside { margin: 22px 0 0; font-size: 13.5px; color: var(--kh-500); text-align: center; }
.kh-dash__aside a { color: var(--kh-primary); font-weight: 600; }
.kh-empty--flat { padding: 24px 0 8px; }

@media (max-width: 991px) {
  .kh-sell__hero { grid-template-columns: 1fr; gap: 32px; }
  .kh-sell__card { position: static; }
  /* Stacked, so the wash runs top to bottom instead of left to right. */
  .kh-sell__wash {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, .9) 0%,
      rgba(255, 255, 255, .95) 46%,
      rgba(255, 255, 255, .97) 100%);
  }
  .kh-sell__title { font-size: 33px; }
  .kh-steps { grid-template-columns: 1fr 1fr; }
  .kh-dash__stats { grid-template-columns: 1fr 1fr; }
  .kh-dash__row { grid-template-columns: minmax(0, 2fr) 100px 90px 100px 120px; }
  .kh-signin { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kh-sell__title { font-size: 27px; }
  .kh-sell__lede { font-size: 15px; }
  .kh-sell__card { padding: 22px 18px 24px; }
  .kh-ctaband { padding: 44px 0 46px; }
  .kh-ctaband .kh-sell__cta h2 { font-size: 24px; }
  .kh-steps { grid-template-columns: 1fr; }
  .kh-sell__terms-grid { grid-template-columns: 1fr; }
  .kh-storehead { gap: 14px; }
  .kh-storehead__logo { width: 58px; height: 58px; font-size: 24px; }
  /* The table becomes stacked cards; the header row has nothing to head. */
  .kh-dash__row--head { display: none; }
  .kh-dash__row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 16px 0;
  }
  .kh-dash__product { grid-column: 1 / -1; }
  .kh-dash__panel { padding: 20px 18px 22px; }
  .kh-field-row,
  .kh-field-row--3 { grid-template-columns: 1fr; }
  .kh-signin__card,
  .kh-signin__aside { padding: 22px 18px 24px; }
}

/* --------------------------------------------------------------------------
   24h. All categories page
   -------------------------------------------------------------------------- */

/* Shortcut panels above the cards: popular collections, price buckets, FAQ. */
.kh-catpanel {
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-xl);
  padding: 26px 28px 28px;
  margin-bottom: 20px;
}
.kh-catpanel__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--kh-navy);
  letter-spacing: -.01em;
}
.kh-catpanel__title--icon { display: flex; align-items: center; gap: 12px; }
.kh-catpanel__icon {
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--kh-primary-tint);
  color: var(--kh-primary);
}
.kh-catpanel__sub {
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--kh-500);
}

.kh-chipgrid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.kh-chip2 {
  display: block;
  padding: 16px 20px;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-lg);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: var(--kh-navy);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.kh-chip2:hover {
  border-color: var(--kh-primary);
  box-shadow: var(--kh-shadow-md);
  transform: translateY(-1px);
  color: var(--kh-primary);
}

.kh-allcats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  /* Cards in a row share a height, so the grid reads as rows rather than as
     three ragged columns. */
  align-items: stretch;
}
.kh-catbox {
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-xl);
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
  /* Head pinned to the top, tiles filling whatever height the row settles on. */
  display: flex;
  flex-direction: column;
}
.kh-catbox:hover { border-color: var(--kh-300); box-shadow: var(--kh-shadow-md); }

.kh-catbox__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--kh-100);
  transition: background-color .18s;
}
.kh-catbox__head:hover { background: var(--kh-page); }
.kh-catbox__thumb {
  flex: none;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--kh-page);
  font-size: 22px;
}
.kh-catbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kh-catbox__text { min-width: 0; flex: 1; display: grid; gap: 2px; }
.kh-catbox__name {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--kh-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kh-catbox__meta { font-size: 12.5px; color: var(--kh-500); }
.kh-catbox__go { flex: none; color: var(--kh-400); display: grid; place-items: center; transition: transform .18s; }
.kh-catbox__head:hover .kh-catbox__go { transform: translateX(2px); color: var(--kh-primary); }

/* Subcategory tiles */
.kh-catbox__subs {
  list-style: none;
  margin: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
}
.kh-catbox__subs a { display: block; text-align: center; }
.kh-catbox__subthumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--kh-page);
  border: 1px solid var(--kh-100);
  font-size: 18px;
  transition: transform .18s, border-color .18s;
}
.kh-catbox__subthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kh-catbox__subs a:hover .kh-catbox__subthumb { transform: scale(1.06); border-color: var(--kh-primary); }
.kh-catbox__subname {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--kh-600);
  /* Two lines, then clip — the tiles have to stay on a grid. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kh-catbox__subs a:hover .kh-catbox__subname { color: var(--kh-primary); }

/* Stand-in for a category with no artwork: its own initial, not a stock icon
   repeated down the page. */
.kh-catbox__initial {
  font-weight: 800;
  color: var(--kh-400);
  letter-spacing: -.02em;
  line-height: 1;
}
.kh-catbox__thumb .kh-catbox__initial { font-size: 22px; }
.kh-catbox__subthumb .kh-catbox__initial { font-size: 20px; }

.kh-allcats__more {
  margin: 28px 0 0;
  text-align: center;
}
.kh-allcats__more .kh-btn { display: inline-flex; }

/* The FAQ panel carries the shared accordion, so it only needs spacing. */
.kh-catfaq { margin-top: 32px; }
.kh-catfaq__list { margin-top: 20px; }

@media (max-width: 1100px) {
  .kh-allcats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-chipgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .kh-chipgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-catpanel { padding: 22px 20px 24px; }
  .kh-catpanel__title { font-size: 19px; }
}
@media (max-width: 640px) {
  .kh-allcats { grid-template-columns: 1fr; }
  .kh-catbox__subs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kh-catbox__thumb { width: 48px; height: 48px; }
  .kh-chipgrid { grid-template-columns: 1fr; gap: 10px; }
  .kh-chip2 { padding: 14px 16px; }
}

/* --------------------------------------------------------------------------
   24g. FAQs page
   -------------------------------------------------------------------------- */

.kh-faqp__help {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
}
.kh-faqp__help p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--kh-600); }
.kh-faqp__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.kh-faqp__contact li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  color: var(--kh-700);
}
.kh-faqp__contact svg { flex: none; color: var(--kh-primary); }
.kh-faqp__contact a { color: var(--kh-700); font-weight: 600; }
.kh-faqp__contact a:hover { color: var(--kh-primary); }

/* "See all FAQs" under the short homepage list. */
.kh-faq__more { margin: 22px 0 0; font-size: 14px; color: var(--kh-500); }
.kh-faq__more a { color: var(--kh-primary); font-weight: 700; }

@media (max-width: 767px) {
  .kh-faqp__help { grid-template-columns: 1fr; gap: 20px; }
}

/* --------------------------------------------------------------------------
   24f. About us
   -------------------------------------------------------------------------- */

.kh-abt {
  padding: 44px 0 48px;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: var(--kh-white);
  border-bottom: 1px solid var(--kh-200);
}
.kh-abt > .kh-container { width: 100%; }

/* The copy sits left, so the photo is anchored right and the wash is heaviest
   on the left — the headline keeps its contrast while the people in the
   right-hand side of the picture stay visible. */
.kh-abt.has-art {
  position: relative;
  isolation: isolate;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-color: transparent;
}
/* The wash has to be gone, not merely thin, by the time it reaches the people
   in the photograph — so it runs out entirely around the 64% mark rather than
   carrying a film of white all the way to the right edge. */
.kh-abt__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, .97) 0%,
      rgba(255, 255, 255, .95) 28%,
      rgba(255, 255, 255, .74) 44%,
      rgba(255, 255, 255, .28) 56%,
      rgba(255, 255, 255, 0) 64%);
}
.kh-abt__hero { max-width: 560px; }
.kh-abt__title {
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--kh-navy);
  margin-bottom: 16px;
}
.kh-abt__title em { font-style: normal; color: var(--kh-primary); }
.kh-abt__lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--kh-600);
  margin: 0 0 26px;
  /* Wide enough that the last sentence does not drop a single orphan word. */
  max-width: 58ch;
}
.kh-abt__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Story: picture on the left, a short case for the model on the right. */
.kh-abt__story {
  display: grid;
  /* The picture is square, so its column is the narrower of the two — that
     keeps its height close to the copy beside it. */
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.kh-abt__shot {
  margin: 0;
  border-radius: var(--kh-r-xl);
  overflow: hidden;
  background: var(--kh-100, var(--kh-200));
}
.kh-abt__shot img {
  display: block;
  width: 100%;
  height: 100%;
  /* The artwork is square and detailed — the map, the phone and the desk are
     all part of the story — so it is shown whole rather than cropped. */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

/* Compact promises — a label and a half-line each, not a paragraph. */
.kh-abt__points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.kh-abt__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--kh-600);
}
.kh-abt__points svg { flex: none; margin-top: 3px; color: var(--kh-green); }
.kh-abt__points strong { color: var(--kh-navy); font-weight: 700; }

/* A second way into the shop, part-way down the page. */
.kh-abt__actions--inline { margin-top: 26px; }
.kh-abt__h2 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--kh-navy);
  margin: 0 0 14px;
}
.kh-abt__col p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--kh-600);
}
.kh-abt__col p:last-child { margin-bottom: 0; }
.kh-abt__col .kh-sell__points { margin: 0; }

/* Values */
.kh-abt__values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.kh-abt__value {
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-lg);
  padding: 24px 22px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
/* Same lift the category and pick cards use, so the page feels of a piece.
   The global reduced-motion rule already neutralises the transition. */
.kh-abt__value:hover {
  transform: translateY(-3px);
  box-shadow: var(--kh-shadow-lg);
  border-color: transparent;
}
.kh-abt__value-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--kh-primary-tint);
  color: var(--kh-primary);
  transition: background-color .2s ease, color .2s ease;
}
.kh-abt__value:hover .kh-abt__value-icon { background: var(--kh-primary); color: #fff; }
.kh-abt__value-title { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; color: var(--kh-navy); }
.kh-abt__value-text { margin: 0; font-size: 14px; line-height: 1.65; color: var(--kh-600); }

/* The photo is 2.5:1. Any band taller than width/2.5 makes `cover` crop the
   left edge, which drags the family rightward in the frame — straight under
   the copy. Staying under that ratio keeps the crop vertical instead. */
@media (max-width: 1279px) {
  .kh-abt { min-height: 36vw; }
  .kh-abt__hero { max-width: 470px; }
  .kh-abt__title { font-size: 36px; }
}

@media (max-width: 991px) {
  .kh-abt__values { grid-template-columns: 1fr 1fr; }
  .kh-abt__story { grid-template-columns: 1fr; gap: 28px; }
  .kh-abt__title { font-size: 33px; }
  /* Too narrow to keep the copy clear of the photo, so the wash covers the
     whole band top to bottom instead of fading out to the right. */
  .kh-abt.has-art { background-position: center; }
  .kh-abt__wash {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, .92) 0%,
      rgba(255, 255, 255, .95) 50%,
      rgba(255, 255, 255, .97) 100%);
  }
  .kh-abt__hero { max-width: none; }
}
@media (max-width: 640px) {
  .kh-abt { padding: 36px 0 40px; }
  .kh-abt__title { font-size: 27px; }
  .kh-abt__lede { font-size: 15px; }
  .kh-abt__values { grid-template-columns: 1fr; }
  .kh-abt__actions .kh-btn { flex: 1 1 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   24e. Seller onboarding — the three-step application
   -------------------------------------------------------------------------- */

.kh-onb { display: grid; gap: 18px; }

/* No page title above the wizard, so the section carries the top margin. */
.kh-section--onb { padding-top: 34px; }
.kh-onb__logonote { display: block; margin: -2px 0 0; }

/* Coloured band naming the step, so the seller always knows where they are. */
.kh-onb__band {
  background: linear-gradient(135deg, var(--kh-primary) 0%, #e2541a 100%);
  border-radius: var(--kh-r-xl);
  padding: 26px 28px 28px;
  text-align: center;
  color: #fff;
}
.kh-onb__bandtitle { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.2px; }
.kh-onb__bandsub { margin: 7px 0 0; font-size: 14px; color: rgba(255, 255, 255, .9); }

/* Progress rail */
.kh-onb__rail { padding: 20px 24px; }
.kh-onb__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.kh-onb__step > a,
.kh-onb__step > span {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.kh-onb__step > a:hover .kh-onb__label { color: var(--kh-primary); }

.kh-onb__num {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--kh-200);
  color: var(--kh-500);
  font-size: 14px;
  font-weight: 700;
}
.kh-onb__labels { display: grid; min-width: 0; }
.kh-onb__label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--kh-700);
  transition: color .18s;
}
.kh-onb__sub { font-size: 12px; color: var(--kh-500); }

.kh-onb__step.is-now .kh-onb__num { background: var(--kh-primary); color: #fff; }
.kh-onb__step.is-now .kh-onb__label { color: var(--kh-primary); }
.kh-onb__step.is-done .kh-onb__num { background: var(--kh-green); color: #fff; }
.kh-onb__step.is-done .kh-onb__label { color: var(--kh-green); }

/* Standing warnings, straight above the form. Amber, because they are a
   caution about rejection — green would read as "all good". */
.kh-onb__warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--kh-r-sm);
  padding: 13px 16px;
  display: grid;
  gap: 6px;
}
.kh-onb__warn p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: #854d0e;
}
.kh-onb__warn svg { flex: none; margin-top: 2px; color: var(--kh-amber); }

/* The form itself */
.kh-onb__form { display: block; }
.kh-onb__legend {
  margin: 26px 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--kh-900);
}
.kh-onb__form > .kh-onb__legend:first-of-type { margin-top: 0; }
.kh-onb__hint {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--kh-500);
}
.kh-onb__legend + .kh-field-row,
.kh-onb__legend + .kh-field { margin-top: 14px; }

.kh-onb__count { float: right; font-variant-numeric: tabular-nums; }

/* Checkbox rows — .kh-field makes every label a block, so undo that here. */
.kh-onb__check {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  margin: 8px 0 0 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.5;
  color: var(--kh-700);
  cursor: pointer;
}
.kh-onb__check--tight { margin-top: 7px !important; }
.kh-onb__check input {
  width: 16px !important;
  height: 16px;
  flex: none;
  margin-top: 1px;
  padding: 0 !important;
  accent-color: var(--kh-primary);
  cursor: pointer;
}
.kh-onb__check a { color: var(--kh-primary); font-weight: 600; }

/* A field the page is filling in for them reads as settled, not disabled. */
.kh-field input.is-mirrored,
.kh-field textarea.is-mirrored { background: var(--kh-page); color: var(--kh-500); }

/* "(optional)" next to a label */
.kh-field__opt { font-weight: 500; color: var(--kh-500); }

/* Plain radio pair, sitting on one line */
.kh-onb__inline { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 4px; }
.kh-onb__dot {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--kh-700);
  cursor: pointer;
}
.kh-onb__dot input {
  width: 16px !important;
  height: 16px;
  flex: none;
  margin: 0;
  padding: 0 !important;
  accent-color: var(--kh-primary);
  cursor: pointer;
}

/* Click-to-upload panel */
.kh-drop {
  display: block !important;
  position: relative;
  margin: 0 0 6px !important;
  padding: 26px 20px;
  border: 1.5px dashed var(--kh-300);
  border-radius: var(--kh-r-sm);
  background: var(--kh-page);
  text-align: center;
  cursor: pointer;
  transition: border-color .18s, background-color .18s;
}
.kh-drop:hover { border-color: var(--kh-primary); background: rgba(254, 100, 20, .04); }
/* The input covers the panel, so the whole thing is the click target. */
.kh-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  cursor: pointer;
}
.kh-drop__inner { display: grid; gap: 5px; justify-items: center; }
.kh-drop__icon { color: var(--kh-primary); }
.kh-drop__text { font-size: 13.5px; font-weight: 600; color: var(--kh-700); }
.kh-drop__hint { font-size: 12px; color: var(--kh-500); }
.kh-drop.is-set { border-color: var(--kh-green); background: var(--kh-green-tint); }
.kh-drop.is-set .kh-drop__icon,
.kh-drop.is-set .kh-drop__text { color: var(--kh-green); }
.kh-drop.is-bad { border-color: var(--kh-rose); background: var(--kh-rose-tint); }
.kh-drop.is-bad .kh-drop__icon,
.kh-drop.is-bad .kh-drop__text { color: var(--kh-rose); }

/* Bank picker — a listbox that can carry a logo, standing in for the select */
.kh-bankpick { position: relative; display: block; }
/* Until the script runs, the plain select is the control. */
.kh-bankpick.is-ready > select { position: absolute; opacity: 0; pointer-events: none; height: 0; }
.kh-bankpick > .kh-bankpick__btn,
.kh-bankpick > .kh-bankpick__menu { display: none; }
.kh-bankpick.is-ready > .kh-bankpick__btn { display: flex; }

.kh-bankpick__btn {
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 9px 38px 9px 11px;
  border: 1px solid var(--kh-300);
  border-radius: var(--kh-r-sm);
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  color: var(--kh-800);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s;
}
/* The chevron, drawn rather than shipped as an icon. */
.kh-bankpick__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--kh-500);
  border-bottom: 2px solid var(--kh-500);
  transform: rotate(45deg);
  pointer-events: none;
}
.kh-bankpick__btn:hover { border-color: var(--kh-400, var(--kh-300)); }
.kh-bankpick__btn:focus-visible,
.kh-bankpick.is-ready:focus-within .kh-bankpick__btn {
  outline: none;
  border-color: var(--kh-primary);
  box-shadow: 0 0 0 3px rgba(254, 100, 20, .12);
}
.kh-bankpick__btn.is-empty .kh-bankpick__label { color: var(--kh-500); }
.kh-bankpick.is-bad .kh-bankpick__btn { border-color: var(--kh-rose); box-shadow: 0 0 0 3px rgba(190, 18, 60, .1); }

.kh-bankpick__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.kh-bankpick__badge {
  flex: none;
  width: 44px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  overflow: hidden;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1;
}
/* A real logo sits on white with a hairline, so light marks stay visible. */
.kh-bankpick__badge.has-logo {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--kh-200);
}
.kh-bankpick__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.kh-bankpick.is-ready > .kh-bankpick__menu:not([hidden]) { display: block; }
.kh-bankpick__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  padding: 8px;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-sm);
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .14);
}
.kh-bankpick__search {
  width: 100%;
  padding: 9px 11px !important;
  margin-bottom: 6px;
  border: 1px solid var(--kh-200) !important;
  border-radius: 6px;
  font: inherit;
  font-size: 13.5px;
}
.kh-bankpick__search:focus { outline: none; border-color: var(--kh-primary) !important; }

.kh-bankpick__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
}
.kh-bankpick__list.is-empty::after {
  content: "No bank matches that.";
  display: block;
  padding: 14px 10px;
  font-size: 13px;
  color: var(--kh-500);
}
.kh-bankpick__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--kh-700);
  cursor: pointer;
}
/* The logo sits at the right edge, so the names line up down the left. */
.kh-bankpick__row .kh-bankpick__name { flex: 1 1 auto; }
.kh-bankpick__row .kh-bankpick__badge { margin-left: auto; }
/* An author `display` beats the UA rule for [hidden], so say it explicitly —
   without this the search filter sets the property and nothing moves. */
.kh-bankpick__row[hidden] { display: none; }
.kh-bankpick__row:hover { background: var(--kh-page); }
.kh-bankpick__row.is-on { background: rgba(254, 100, 20, .08); color: var(--kh-primary); font-weight: 600; }
.kh-bankpick__name { min-width: 0; }

/* Payout method picker */
.kh-field__lbl {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kh-700);
  margin-bottom: 8px;
}
.kh-onb__radios { display: flex; flex-wrap: wrap; gap: 10px; }
.kh-onb__radio { flex: 1 1 170px; margin: 0 !important; cursor: pointer; }
.kh-onb__radio input { position: absolute; opacity: 0; pointer-events: none; }
.kh-onb__radio > span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--kh-700);
  transition: border-color .18s, background-color .18s, color .18s;
}
.kh-onb__radio > span svg { flex: none; color: var(--kh-500); }
.kh-onb__radio input:checked + span {
  border-color: var(--kh-primary);
  background: rgba(254, 100, 20, .06);
  color: var(--kh-primary);
}
.kh-onb__radio input:checked + span svg { color: var(--kh-primary); }
.kh-onb__radio input:focus-visible + span { box-shadow: 0 0 0 3px rgba(254, 100, 20, .18); }

.kh-onb__note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 8px;
  padding: 12px 14px;
  border-radius: var(--kh-r-sm);
  background: var(--kh-page);
  font-size: 13px;
  line-height: 1.55;
  color: var(--kh-500);
}
.kh-onb__note svg { flex: none; margin-top: 2px; }

.kh-onb__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--kh-200);
}
.kh-onb__actions .kh-btn { margin-left: auto; }
.kh-onb__actions .kh-pform__cancel { margin-right: auto; }

.kh-onb__exit { margin: 0; text-align: center; font-size: 13px; color: var(--kh-500); }
.kh-onb__exit a { color: var(--kh-primary); font-weight: 600; }

/* Verification status banner on the dashboard */
.kh-vstatus {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--kh-r-sm);
  margin-bottom: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--kh-700);
}
.kh-vstatus strong { display: block; font-size: 14.5px; }
.kh-vstatus svg { flex: none; margin-top: 2px; }
.kh-vstatus a { color: var(--kh-primary); font-weight: 600; }
.kh-vstatus--pending { background: #fff7ed; border: 1px solid #fed7aa; }
.kh-vstatus--pending svg { color: var(--kh-amber); }
.kh-vstatus--ok { background: var(--kh-green-tint); border: 1px solid #c7ead6; }
.kh-vstatus--ok svg { color: var(--kh-green); }
.kh-vstatus--bad { background: var(--kh-rose-tint); border: 1px solid #f6cdd4; }
.kh-vstatus--bad svg { color: var(--kh-rose); }

/* The badge itself */
.kh-vbadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--kh-green-tint);
  color: var(--kh-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1px;
}
.kh-vbadge svg { flex: none; }
.kh-vbadge--sm { margin-left: 6px; padding: 2px 8px; font-size: 11px; }

@media (max-width: 767px) {
  .kh-onb__band { padding: 20px 18px 22px; }
  .kh-onb__bandtitle { font-size: 18px; }
  .kh-onb__rail { padding: 16px; }
  /* Three across is unreadable on a phone — stack and keep the sub-labels. */
  .kh-onb__steps { grid-template-columns: 1fr; gap: 10px; }
  .kh-onb__cats { grid-template-columns: 1fr; }
  .kh-onb__radio { flex: 1 1 100%; }
  .kh-onb__actions { gap: 12px; }
  /* Stacked, the field margins alone run the rows together. */
  .kh-onb__form .kh-field-row { row-gap: 6px; }
}

/* --------------------------------------------------------------------------
   25a. Wishlist and orders
   -------------------------------------------------------------------------- */

.kh-wish__loading { text-align: center; padding: 40px 0; color: var(--kh-500); font-size: 14.5px; }

.kh-orders { display: grid; gap: 22px; }
.kh-orders__panel {
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-lg);
  padding: 26px 28px 30px;
}
.kh-orders__title { font-size: 19px; font-weight: 700; color: var(--kh-navy); margin-bottom: 6px; }
.kh-orders__sub { font-size: 14.5px; color: var(--kh-500); margin-bottom: 20px; }
.kh-orders__panel--signin { text-align: center; }
.kh-orders__panel--signin .kh-orders__sub { max-width: 46ch; margin-inline: auto; }
.kh-orders__help { text-align: center; font-size: 14px; color: var(--kh-500); margin: 0; }
.kh-orders__help a { color: var(--kh-primary); font-weight: 600; }

/* WooCommerce's tracking form, brought in line with the theme's fields. */
.kh-orders .track_order .form-row { margin: 0 0 14px; }
.kh-orders .track_order label { display: block; font-size: 13.5px; font-weight: 600; color: var(--kh-700); margin-bottom: 6px; }
.kh-orders .track_order input.input-text {
  width: 100%;
  max-width: 420px;
  padding: 12px 14px;
  border: 1px solid var(--kh-300);
  border-radius: var(--kh-r-sm);
  font: inherit;
  font-size: 14.5px;
}
.kh-orders .track_order button {
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--kh-r-pill);
  background: var(--kh-primary);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}
.kh-orders .track_order button:hover { background: var(--kh-primary-dark); }

@media (max-width: 640px) {
  .kh-orders__panel { padding: 20px 18px 24px; }
}

/* --------------------------------------------------------------------------
   25b. Cart
   The Cart block hydrates client-side, so these target its rendered
   wc-block-* components rather than the classic shop_table.
   -------------------------------------------------------------------------- */

/* .kh-entry caps article text at 780px, which is right for prose and far too
   narrow for a two-column cart. */
.woocommerce-cart .kh-entry { max-width: none; }
.woocommerce-cart .wp-block-woocommerce-cart { margin: 0; max-width: none; }

/* Items left, summary right — Woo's own layout is a flex row that leaves the
   summary floating without a ground. */
.woocommerce-cart .wc-block-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}
.woocommerce-cart .wc-block-cart__main,
.woocommerce-cart .wc-block-cart__sidebar {
  width: auto;
  max-width: none;
  padding: 0;
  float: none;
}

/* Items panel */
.woocommerce-cart .wc-block-cart__main {
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-lg);
  padding: 6px 24px 10px;
}
.woocommerce-cart .wc-block-cart-items { margin: 0; }
.woocommerce-cart .wc-block-cart-items__header {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--kh-500);
}
.woocommerce-cart .wc-block-cart-items__header th { padding: 16px 0 12px; border-bottom: 1px solid var(--kh-200); }
/* Woo styles these cells itself, so the separator needs the extra class in the
   chain to win — otherwise it only paints under some of the row. */
.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row td {
  padding: 20px 0;
  border-top: 0;
  border-bottom: 1px solid var(--kh-100);
}
.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row:last-child td { border-bottom: 0; }

.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
  width: 106px;
  padding-right: 18px;
  border-bottom: 1px solid var(--kh-100);
}
.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row:last-child .wc-block-cart-item__image { border-bottom: 0; }
.woocommerce-cart .wc-block-cart-item__image img {
  width: 100%;
  border-radius: var(--kh-r);
  border: 1px solid var(--kh-200);
}

.woocommerce-cart .wc-block-components-product-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--kh-navy);
  text-decoration: none;
}
.woocommerce-cart .wc-block-components-product-name:hover { color: var(--kh-primary); text-decoration: none; }
.woocommerce-cart .wc-block-components-product-metadata__description { font-size: 13px; color: var(--kh-500); }
.woocommerce-cart .wc-block-components-product-price__value { font-weight: 700; color: var(--kh-navy); }
.woocommerce-cart .wc-block-components-product-price__regular { color: var(--kh-400); font-weight: 500; }

/* Sale badge, matching the "% OFF" pill on the product cards. */
.woocommerce-cart .wc-block-components-sale-badge {
  background: var(--kh-rose);
  border-color: transparent;
  border-radius: var(--kh-r-pill);
  padding: 3px 9px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

/* Quantity stepper, matched to the one on the product page. */
.woocommerce-cart .wc-block-components-quantity-selector {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-pill);
  background: #fff;
  overflow: hidden;
}
.woocommerce-cart .wc-block-components-quantity-selector::after { display: none; }
.woocommerce-cart .wc-block-components-quantity-selector__input {
  width: 42px;
  min-width: 0;
  height: 100%;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--kh-navy);
}
.woocommerce-cart .wc-block-components-quantity-selector__button {
  width: 36px;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 17px;
  color: var(--kh-600);
  opacity: 1;
}
.woocommerce-cart .wc-block-components-quantity-selector__button:hover:not([disabled]) { color: var(--kh-primary); background: var(--kh-100); }

.woocommerce-cart .wc-block-cart-item__remove-link {
  font-size: 12.5px;
  color: var(--kh-500);
  text-decoration: none;
  border-bottom: 1px solid var(--kh-300);
}
.woocommerce-cart .wc-block-cart-item__remove-link:hover { color: var(--kh-rose); border-bottom-color: var(--kh-rose); }

/* Summary panel */
.woocommerce-cart .wc-block-cart__sidebar {
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r-lg);
  padding: 22px 22px 24px;
  box-shadow: var(--kh-shadow-sm);
  position: sticky;
  top: 18px;
}
.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-sidebar {
  padding: 0;
  background: none;
  border: 0;
}
.woocommerce-cart .wc-block-cart__totals-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--kh-500);
  padding: 0 0 12px;
  margin: 0;
}
.woocommerce-cart .wc-block-components-totals-item { padding: 9px 0; font-size: 14px; color: var(--kh-600); }
.woocommerce-cart .wc-block-components-totals-item__label { font-weight: 500; }
.woocommerce-cart .wc-block-components-totals-item__value { font-weight: 700; color: var(--kh-navy); }
.woocommerce-cart .wc-block-components-totals-item__description { font-size: 12px; color: var(--kh-500); }
.woocommerce-cart .wc-block-components-totals-footer-item {
  border-top: 1px solid var(--kh-200);
  margin-top: 6px;
  padding-top: 16px;
  font-size: 16px;
}
.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 800; color: var(--kh-navy); }
.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--kh-primary);
}

/* Coupon accordion */
.woocommerce-cart .wc-block-components-panel__button {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kh-700);
  padding: 10px 0;
}
.woocommerce-cart .wc-block-components-totals-coupon { border-bottom: 1px solid var(--kh-200); }

/* Checkout button */
.woocommerce-cart .wc-block-cart__submit-container { padding: 18px 0 0; }
.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-cart .wc-block-cart__submit-button:not(:hover):not(:active):not(.has-text-color) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: var(--kh-r-pill);
  background: var(--kh-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(254, 100, 20, .28);
  transition: background-color .18s, transform .18s;
}
.woocommerce-cart .wc-block-cart__submit-button:hover { background: var(--kh-primary-dark); color: #fff; transform: translateY(-1px); }

/* Empty state */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block { text-align: center; padding: 8px 0 0; }
.woocommerce-cart .wc-block-cart__empty-cart__title { font-size: 22px; color: var(--kh-navy); margin-bottom: 6px; }
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-separator { display: none; }
.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2 { font-size: 19px; color: var(--kh-navy); margin: 30px 0 18px; }
/* Four to a row, and every card the same height: the media box is a fixed
   square whatever the source ratio, and the button is pushed to the bottom so
   uneven title lengths cannot stagger the row. */
.woocommerce-cart .wc-block-grid .wc-block-grid__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: stretch;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce-cart .wc-block-grid .wc-block-grid__products > li.wc-block-grid__product {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0 0 14px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--kh-200);
  border-radius: var(--kh-r);
  overflow: hidden;
}
.woocommerce-cart .wc-block-grid__product-link { display: block; }
.woocommerce-cart .wc-block-grid__product-image { display: block; margin: 0; }
.woocommerce-cart .wc-block-grid__product-image img {
  display: block;
  width: 100%;
  margin: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--kh-100);
}
.woocommerce-cart .wc-block-grid__product-onsale {
  top: 10px;
  right: 10px;
  min-width: 0;
  padding: 4px 9px;
  border: 0;
  border-radius: var(--kh-r-pill);
  background: var(--kh-rose);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}
.woocommerce-cart .wc-block-grid__product-title {
  padding: 12px 12px 4px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--kh-800);
}
/* The whole card is one link, and Woo underlines it. */
.woocommerce-cart .wc-block-grid .wc-block-grid__product-link,
.woocommerce-cart .wc-block-grid .wc-block-grid__product-link:hover,
.woocommerce-cart .wc-block-grid .wc-block-grid__product-title,
.woocommerce-cart .wc-block-grid .wc-block-grid__product-title a {
  color: inherit;
  text-decoration: none;
}
.woocommerce-cart .wc-block-grid .wc-block-grid__product-link:hover .wc-block-grid__product-title { color: var(--kh-primary); }
.woocommerce-cart .wc-block-grid__product-price {
  padding: 0 12px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--kh-navy);
}
.woocommerce-cart .wc-block-grid__product-price del { color: var(--kh-400); font-weight: 500; }
.woocommerce-cart .wc-block-grid .wc-block-grid__product-add-to-cart { margin-top: auto; padding: 12px 12px 0; }
.woocommerce-cart .wc-block-grid .wc-block-grid__product-add-to-cart .wp-block-button {
  display: block;
  width: 100%;
  margin: 0;
}
.woocommerce-cart .wc-block-grid .wc-block-grid__product-add-to-cart .wp-block-button__link {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--kh-r-pill);
  background: var(--kh-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:hover { background: var(--kh-primary-dark); }

@media (max-width: 991px) {
  .woocommerce-cart .wc-block-cart { grid-template-columns: 1fr; gap: 20px; }
  .woocommerce-cart .wc-block-cart__sidebar { position: static; }
  .woocommerce-cart .wc-block-grid .wc-block-grid__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .woocommerce-cart .wc-block-cart__main { padding: 4px 14px 8px; }
  .woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { width: 78px; }
  .woocommerce-cart .wc-block-components-product-name { font-size: 14px; }
  .woocommerce-cart .wc-block-grid .wc-block-grid__products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* --------------------------------------------------------------------------
   26. Small-screen polish
   Final pass for narrow phones, where the masthead runs out of room before
   any single component does.
   -------------------------------------------------------------------------- */

@media (max-width: 560px) {
  .kh-trustbar { font-size: 12.5px; }
  .kh-trustbar__inner { gap: 20px; }

  .kh-masthead__inner { gap: 10px; }
  .kh-brand img { height: 32px; max-width: 152px; }
  .kh-hnav { gap: 12px; }

  .kh-section { padding: 26px 0; }
  .kh-section--tight { padding: 20px 0; }
}

@media (max-width: 400px) {
  .kh-brand img { max-width: 126px; }
  .kh-burger { width: 36px; height: 36px; }
  .kh-hnav { gap: 9px; }

  /* Give the query itself room once the field gets this narrow. */
  .kh-hsearch__cam { display: none; }
  .kh-hsearch__btn { padding: 0 13px; }

  .kh-container { padding-inline: 14px; }
}

/* --------------------------------------------------------------------------
   27. Motion preferences
   -------------------------------------------------------------------------- */

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