/*
Theme Name: Kikoy Collective
Theme URI: https://example.com
Author: Kikoy Collective
Description: A WooCommerce-ready theme for Kikoy Collective, the home of Lively Lines and Dürk Authentics. Split-screen home page, one page per brand, kikoy-stripe styling.
Version: 1.19.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: kikoy-collective
*/

:root {
  --kc-indigo: #1d2a5b;
  --kc-indigo-deep: #131c40;
  --kc-turmeric: #e3a72a;
  --kc-hibiscus: #c4305a;
  --kc-teal: #0e7c7b;
  --kc-sand: #f7f3ea;
  --kc-ink: #1b1b22;
  --kc-black: #111111;
  --kc-red: #bb0000;
  --kc-green: #006600;
  --kc-muted: #62626e;
  --kc-line: #e4ded0;
  --kc-charcoal: #232427;
  --kc-burgundy: #6a1631;
  --kc-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --kc-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--kc-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--kc-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--kc-indigo); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--kc-turmeric);
  outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--kc-display); line-height: 1.15; margin: 0 0 .5em; }
.screen-reader-text {
  position: absolute !important; clip: rect(1px,1px,1px,1px);
  width: 1px; height: 1px; overflow: hidden;
}

/* ---------- Kikoy stripe (the signature) ---------- */
.kc-stripe {
  height: 10px;
  background: repeating-linear-gradient(90deg,
    var(--kc-black) 0 36px,
    #fff 36px 42px,
    var(--kc-red) 42px 78px,
    #fff 78px 84px,
    var(--kc-green) 84px 120px,
    #fff 120px 126px);
}

/* ---------- Header ---------- */
.kc-header { background: #fff; position: sticky; top: 0; z-index: 50; }
.kc-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 18px 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.kc-brand { grid-column: 2; text-align: center; text-decoration: none; color: var(--kc-ink); }
.kc-brand__name {
  font-family: var(--kc-display); font-weight: 800;
  display: block;
  font-size: clamp(2.3rem, 7.5vw, 5.4rem); letter-spacing: -0.035em; line-height: .95;
}
.kc-brand__tagline {
  display: block; margin-top: 10px;
  font-size: clamp(.95rem, 2vw, 1.3rem); font-weight: 600; letter-spacing: .01em;
  color: var(--kc-indigo);
}
.kc-brand img { max-height: 110px; width: auto; display: inline-block; }
.kc-nav { grid-column: 1; grid-row: 1; }
.kc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.kc-nav li { position: relative; }
.kc-nav a { text-decoration: none; color: var(--kc-ink); font-weight: 600; font-size: .98rem; }
.kc-nav a:hover { color: var(--kc-hibiscus); }
.kc-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: -12px; min-width: 190px;
  background: #fff; border: 1px solid var(--kc-line); padding: 10px 14px; flex-direction: column; gap: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.kc-nav li:hover > .sub-menu, .kc-nav li:focus-within > .sub-menu { display: flex; }
.kc-tools { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; }
.kc-cart { text-decoration: none; font-weight: 700; color: var(--kc-ink); white-space: nowrap; }
.kc-cart__count {
  display: inline-block; min-width: 1.6em; padding: 0 .45em; margin-left: .35em;
  background: var(--kc-indigo); color: #fff; border-radius: 99px; text-align: center; font-size: .85rem;
}
.kc-menu-toggle { display: none; }

@media (max-width: 800px) {
  .kc-header__inner { grid-template-columns: 1fr auto; padding: 14px 16px; row-gap: 10px; }
  .kc-brand { grid-column: 1 / -1; grid-row: 1; }
  .kc-nav { grid-column: 1; grid-row: 2; }
  .kc-tools { grid-column: 2; grid-row: 2; }
  .kc-menu-toggle {
    display: inline-block; background: none; border: 2px solid var(--kc-ink);
    padding: 6px 12px; font: 700 .9rem var(--kc-body); cursor: pointer;
  }
  .kc-nav ul {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; padding: 16px 24px 22px; flex-direction: column;
    border-bottom: 1px solid var(--kc-line);
  }
  .kc-nav.is-open ul { display: flex; }
  .kc-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 6px 0 0 14px; }
}

/* ---------- Home menu: brands bigger on the first line, other links below ---------- */
@media (min-width: 801px) {
  .kc-home .kc-nav > ul { gap: 8px 26px; align-items: baseline; }
  .kc-home .kc-nav > ul::after { content: ""; flex-basis: 100%; height: 0; order: 2; }
  .kc-home .kc-nav .kc-nav-brand { order: 1; }
  .kc-home .kc-nav .kc-nav-brand > a { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
  .kc-home .kc-nav .kc-nav-minor { order: 3; }
}

/* ---------- Compact header on every page except Home ---------- */
.kc-inner .kc-header__inner { grid-template-columns: auto 1fr auto; padding: 12px 24px; }
.kc-inner .kc-brand { grid-column: 1; grid-row: 1; text-align: left; }
.kc-inner .kc-brand__name { font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -0.02em; }
.kc-inner .kc-brand__tagline { font-size: .78rem; margin-top: 4px; }
.kc-inner .kc-brand img { max-height: 46px; }
.kc-inner .kc-nav { grid-column: 2; grid-row: 1; justify-self: end; }
.kc-inner .kc-nav > ul { gap: 26px; }
.kc-inner .kc-tools { grid-column: 3; grid-row: 1; }
@media (max-width: 800px) {
  .kc-inner .kc-header__inner { grid-template-columns: 1fr auto auto; padding: 10px 16px; gap: 12px; }
  .kc-inner .kc-brand { grid-column: 1; grid-row: 1; }
  .kc-inner .kc-brand__tagline { display: none; }
  .kc-inner .kc-nav { grid-column: 2; grid-row: 1; }
  .kc-inner .kc-tools { grid-column: 3; grid-row: 1; }
}

/* Smooth shrink-and-slide of the banner between pages (browsers that support it). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .kc-brand { view-transition-name: kc-brand; }
  ::view-transition-group(kc-brand) { animation-duration: .5s; animation-timing-function: ease-in-out; }
  ::view-transition-group(root) { animation-duration: .3s; }
}

/* ---------- Drop-down categories in the top menu ---------- */
.kc-nav .sub-menu { z-index: 60; min-width: 230px; gap: 10px; padding: 14px 18px; }
.kc-nav .sub-menu li { white-space: nowrap; }
.kc-nav .sub-menu a { font-size: .98rem; font-weight: 600; }
.kc-nav .kc-sub-sub { list-style: none; display: grid; gap: 6px; margin: 6px 0 2px 4px; padding: 0 0 0 14px; border-left: 2px solid var(--kc-line); }
.kc-nav .kc-sub-sub a { font-weight: 500; font-size: .92rem; }
@media (max-width: 800px) { .kc-nav .sub-menu { min-width: 0; padding: 6px 0 0 14px; } }

/* ---------- Home halves: categories stay hidden on hover (shown as buttons on phones) ---------- */
.kc-half__cats {
  list-style: none; margin: 0; padding: 14px 18px; display: grid; gap: 8px;
  position: absolute; left: 0; bottom: calc(100% + 16px); width: max-content; min-width: 210px;
  background: #fff; color: var(--kc-ink); border-radius: 2px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  pointer-events: auto;
}
.kc-half__cats a { color: var(--kc-ink); text-decoration: none; font-weight: 700; position: relative; z-index: 3; }
.kc-half__cats a:hover { color: var(--kc-hibiscus); }
.kc-half__subcats { list-style: none; margin: 6px 0 0 4px; padding: 0 0 0 14px; border-left: 2px solid var(--kc-line); display: grid; gap: 6px; }
.kc-half__subcats a { font-weight: 500; }
@media (max-width: 800px), (hover: none) {
  .kc-half__cats {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px; width: auto; min-width: 0; margin-top: 18px;
  }
  .kc-half__cats li, .kc-half__subcats { display: contents; }
  .kc-half__cats a {
    display: inline-block; color: #fff; border: 2px solid rgba(255,255,255,.85); border-radius: 99px;
    padding: .3em .95em; font-size: .92rem; font-weight: 600;
  }
}

/* ---------- Shop layout with side category menu ---------- */
.kc-shoplayout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.kc-sidebar { position: sticky; top: 130px; }
.kc-sidebar__title { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; }
.kc-sidebar__list, .kc-sidebar__children { list-style: none; margin: 0; padding: 0; }
.kc-sidebar__list > li { border-top: 1px solid var(--kc-line); padding: 10px 0; }
.kc-sidebar__list a { text-decoration: none; color: var(--kc-ink); font-weight: 700; display: block; }
.kc-sidebar__list a:hover { color: var(--kc-hibiscus); }
.kc-sidebar__children { margin: 8px 0 0 2px; padding-left: 14px; border-left: 2px solid var(--kc-line); display: grid; gap: 6px; }
.kc-sidebar__children a { font-weight: 500; font-size: .96rem; }
.kc-sidebar .is-current > a { color: var(--kc-hibiscus); }
.kc-sidebar .is-current > a::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--kc-turmeric); margin-right: 8px; }
.kc-shopmain ul.products, .kc-shopmain .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
.kc-shopmain .woocommerce-products-header__title { font-size: 1.8rem; font-weight: 800; }
.kc-brandhero--slim { padding: 22px 24px; }
.kc-brandhero--slim .kc-brandhero__logo { height: clamp(64px, 9vh, 96px); }
@media (max-width: 860px) {
  .kc-shoplayout { grid-template-columns: 1fr; gap: 24px; }
  .kc-sidebar { position: static; }
  .kc-sidebar__list { display: flex; flex-wrap: wrap; gap: 8px; }
  .kc-sidebar__list > li { border: 0; padding: 0; }
  .kc-sidebar__list a { border: 2px solid var(--kc-ink); border-radius: 99px; padding: .3em .95em; font-size: .95rem; }
  .kc-sidebar__children { display: contents; border: 0; padding: 0; margin: 0; }
  .kc-sidebar__children li { display: block; }
  .kc-sidebar__list > li:has(.kc-sidebar__children) { display: contents; }
  .kc-shopmain ul.products, .kc-shopmain .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Header search: a small icon that opens into a box ---------- */
.kc-search { display: flex; align-items: center; position: relative; }
.kc-search input[type=search] {
  width: 190px; font: inherit; font-size: .95rem; padding: .45em .9em; color: var(--kc-ink); background: #fff;
  border: 2px solid var(--kc-indigo); border-right: 0; border-radius: 99px 0 0 99px;
  transition: width .25s ease, padding .25s ease, opacity .2s ease;
}
.kc-search input[type=search]:focus { outline: 3px solid var(--kc-turmeric); outline-offset: 1px; }
.kc-search__go {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none;
  background: var(--kc-indigo); color: #fff; border: 2px solid var(--kc-indigo); border-radius: 0 99px 99px 0; cursor: pointer;
}
.kc-search__go:hover { background: var(--kc-hibiscus); border-color: var(--kc-hibiscus); }
.kc-search.is-collapsible:not(.is-open) input[type=search] { width: 0; padding: 0; border-width: 0; opacity: 0; }
.kc-search.is-collapsible:not(.is-open) .kc-search__go { border-radius: 99px; }
@media (max-width: 600px) {
  .kc-search.is-open {
    position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%); z-index: 5; background: #fff;
  }
  .kc-search.is-open input[type=search] { flex: 1; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .kc-search input[type=search] { transition: none; } }

/* ---------- Split home ---------- */
.kc-split { display: flex; min-height: calc(100vh - 210px); }
.kc-half {
  flex: 1; position: relative; display: flex; align-items: flex-end;
  padding: clamp(24px, 5vw, 64px); color: #fff; text-decoration: none; overflow: hidden;
  background-size: cover; background-position: center;
  transition: flex .5s ease;
}
.kc-half:hover, .kc-half:focus-within { flex: 1.25; }
.kc-half--durk {
  background-color: var(--kc-indigo);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 2px, transparent 2px 22px);
}
.kc-half--lively {
  background-color: var(--kc-hibiscus);
  background-image: repeating-linear-gradient(90deg,
    rgba(227,167,42,.55) 0 28px, transparent 28px 40px,
    rgba(14,124,123,.5) 40px 52px, transparent 52px 92px);
}
.kc-half.has-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.6));
}
.kc-half__main { position: absolute; inset: 0; z-index: 1; }
.kc-half__text { position: relative; z-index: 2; max-width: 28rem; pointer-events: none; }
.kc-half__name {
  font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 .25em;
}
.kc-half__logo {
  display: block; height: auto; margin: 0 0 18px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.3));
}
.kc-half__logo { height: clamp(120px, 24vh, 210px); width: auto; max-width: 100%; }
.kc-half__tag { margin: 0 0 1.1em; font-size: 1.1rem; opacity: .95; }
.kc-half__cta {
  display: inline-block; background: #fff; color: var(--kc-ink);
  padding: .7em 1.4em; font-weight: 700; border-radius: 2px;
}
.kc-half--lively .kc-half__cta { color: var(--kc-hibiscus); }
.kc-half--durk .kc-half__cta { color: var(--kc-indigo); }

@media (max-width: 800px) {
  .kc-split { flex-direction: column; min-height: 0; }
  .kc-half { min-height: 52vh; flex: none; }
  .kc-half:hover { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kc-half { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Brand pages ---------- */
.kc-brandhero { padding: clamp(36px, 6vw, 72px) 24px; color: #fff; }
.kc-brandhero--durk { background: var(--kc-charcoal); }
.kc-brandhero--lively { background: var(--kc-burgundy); }
.kc-brandhero__inner {
  max-width: 1280px; margin: 0 auto; display: grid; gap: 28px 64px; align-items: center;
}
@media (min-width: 900px) { .kc-brandhero__inner { grid-template-columns: auto 1fr; } }
.kc-brandhero h1 { margin: 0; line-height: 0; }
.kc-brandhero__logo {
  display: block; height: clamp(110px, 20vh, 180px); width: auto; max-width: 100%;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.25));
}
.kc-brandhero__text { max-width: 40rem; font-size: 1.2rem; }
.kc-brandhero__text p { margin: 0 0 1em; }
.kc-brandhero__text p:last-child { margin-bottom: 0; }
.kc-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.kc-section { padding: 40px 0 72px; }
.kc-brandhero h1.kc-cathero__title {
  margin: 0 0 .3em; line-height: 1.05; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em;
}
.kc-brandhero--slim .kc-brandhero__text { font-size: 1.1rem; }

/* ---------- Showcase photos: products slide up over them as you scroll ---------- */
.kc-showcase { position: sticky; top: var(--kc-header-h, 0px); z-index: 0; padding: 14px 14px 0; background: #fff; }
.kc-showcase__track {
  display: flex; gap: 12px; height: clamp(260px, 56vh, 600px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  transform-origin: 50% 0; will-change: transform, opacity;
}
.kc-showcase__item { margin: 0; flex: 1 0 min(82vw, 400px); scroll-snap-align: start; overflow: hidden; border-radius: 2px; background: var(--kc-sand); }
.kc-showcase__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kc-showcase__cue {
  position: absolute; right: 30px; bottom: 18px; padding: .55em 1.15em; border-radius: 99px;
  background: #fff; color: var(--kc-ink); text-decoration: none; font-weight: 700; font-size: .95rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: opacity .2s ease;
}
.kc-showcase__cue:hover { background: var(--kc-turmeric); }
.kc-showcase.is-leaving .kc-showcase__cue { opacity: 0; pointer-events: none; }
.kc-showcase + .kc-section { position: relative; z-index: 1; background: #fff; box-shadow: 0 -18px 36px rgba(0,0,0,.10); }
#kc-products { scroll-margin-top: var(--kc-header-h, 0px); }
.kc-owner-hint { margin: 24px 0 0; padding: 14px 18px; border: 2px dashed var(--kc-line); color: var(--kc-muted); font-size: .95rem; }
@media (max-width: 800px) {
  .kc-showcase { padding: 10px 10px 0; }
  .kc-showcase__track { gap: 8px; height: clamp(220px, 46vh, 420px); }
  .kc-showcase__cue { right: 20px; bottom: 12px; }
}

/* ---------- Dürk page: one big tile per category ---------- */
.kc-trio { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; min-height: clamp(380px, 64vh, 700px); }
.kc-trio__tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: clamp(22px, 3vw, 44px); color: #fff; text-decoration: none;
  background-color: var(--kc-charcoal);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px);
}
.kc-trio__tile:nth-child(2) { background-color: #2e2f33; }
.kc-trio__tile:nth-child(3) { background-color: #393a3f; }
.kc-trio__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kc-trio__tile.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.65));
}
.kc-trio__tile:hover .kc-trio__img, .kc-trio__tile:focus-visible .kc-trio__img { transform: scale(1.05); }
.kc-trio__label { font-family: var(--kc-display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -0.02em; line-height: 1.05; }
.kc-trio__cta { margin-top: 16px; padding: .65em 1.3em; background: #fff; color: var(--kc-charcoal); font-weight: 700; border-radius: 2px; transition: background .2s ease; }
.kc-trio__tile:hover .kc-trio__cta { background: var(--kc-turmeric); }
.kc-trio__tile:focus-visible { outline: 3px solid var(--kc-turmeric); outline-offset: -6px; }
.kc-trio__all { text-align: center; margin: 28px 24px 56px; font-weight: 600; }
@media (max-width: 800px) {
  .kc-trio { grid-auto-flow: row; min-height: 0; }
  .kc-trio__tile { min-height: 38vh; }
}
@media (prefers-reduced-motion: reduce) { .kc-trio__img { transition: none; } }

.kc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.kc-chips a {
  text-decoration: none; padding: .45em 1.1em; border: 2px solid var(--kc-ink);
  border-radius: 99px; font-weight: 600; color: var(--kc-ink); font-size: .95rem;
}
.kc-chips a:hover { background: var(--kc-ink); color: #fff; }

/* ---------- Generic content ---------- */
.kc-main { min-height: 50vh; }
.kc-content { max-width: 820px; margin: 0 auto; padding: 48px 24px 72px; }
.kc-content--wide { max-width: 1280px; }
.kc-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }

/* ---------- WooCommerce ---------- */
.woocommerce ul.products, ul.products {
  display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, ul.products li.product {
  width: auto !important; float: none !important; margin: 0 !important; position: relative;
}
ul.products li.product a { text-decoration: none; color: inherit; }
ul.products li.product img { width: 100%; aspect-ratio: 4/5; object-fit: cover; margin: 0 0 12px; background: var(--kc-sand); }
.woocommerce-loop-product__title { font-family: var(--kc-display); font-size: 1.1rem !important; font-weight: 700; padding: 0 !important; margin: 0 0 4px !important; }
.price { color: var(--kc-muted); font-weight: 600; }
.price ins { text-decoration: none; color: var(--kc-hibiscus); }
.woocommerce span.onsale {
  background: var(--kc-turmeric); color: var(--kc-ink); border-radius: 2px; min-height: 0; min-width: 0;
  line-height: 1; padding: .6em .9em; top: 10px; left: 10px; right: auto;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wp-block-button__link, .woocommerce a.button.alt,
.woocommerce button.button.alt, .woocommerce button.button.alt.disabled {
  background: var(--kc-indigo); color: #fff; border-radius: 2px; font-weight: 700; padding: .85em 1.5em;
  font-family: var(--kc-body);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: var(--kc-hibiscus); color: #fff; }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 1.4rem; color: var(--kc-ink); }
.woocommerce-breadcrumb { color: var(--kc-muted); font-size: .9rem; margin-bottom: 24px !important; }
.woocommerce-breadcrumb a { color: var(--kc-muted); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--kc-indigo); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--kc-indigo); }
.woocommerce-ordering select { padding: .5em; border: 1px solid var(--kc-line); }

/* ---------- Single product page: same type as the rest of the site ---------- */
.woocommerce div.product,
.woocommerce div.product input, .woocommerce div.product select,
.woocommerce div.product textarea, .woocommerce div.product button {
  font-family: var(--kc-body);
}
.woocommerce div.product { font-size: 1.0625rem; line-height: 1.65; color: var(--kc-ink); }
.woocommerce div.product .product_title { font-family: var(--kc-display); letter-spacing: -0.02em; line-height: 1.15; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--kc-body); font-weight: 600; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 1.0625rem; line-height: 1.65; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { line-height: 1.65; vertical-align: middle; }
.woocommerce div.product form.cart .variations label { font-family: var(--kc-body); font-weight: 700; font-size: 1rem; }
.woocommerce div.product form.cart .reset_variations { font-size: .9rem; font-weight: 600; }
.woocommerce div.product .woocommerce-variation-price .price { font-size: 1.2rem; }
.woocommerce div.product .stock { font-weight: 600; font-size: .95rem; }
.woocommerce div.product .quantity .qty { font: inherit; font-size: 1rem; }
.woocommerce div.product .product_meta { color: var(--kc-muted); font-size: .9rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-family: var(--kc-body); font-weight: 600; font-size: .98rem; color: var(--kc-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a, .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--kc-hibiscus); }
.woocommerce div.product .woocommerce-tabs .panel { font-size: 1.0625rem; line-height: 1.65; }
.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce div.product section.related > h2, .woocommerce div.product section.upsells > h2,
.woocommerce #reviews #comments h2, .woocommerce #review_form #respond .comment-reply-title {
  font-family: var(--kc-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.15;
}
.woocommerce div.product table.shop_attributes th { font-weight: 700; }
.woocommerce #review_form #respond label { font-weight: 700; }
.woocommerce #review_form #respond input, .woocommerce #review_form #respond textarea { font: inherit; }

/* Size (variation) drop-down: looks like the header search box */
.woocommerce div.product form.cart .variations select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: auto; min-width: 190px; max-width: 100%; margin: 0;
  font: inherit; font-size: .95rem; line-height: 1.65; padding: .45em 2.6em .45em .9em;
  color: var(--kc-ink); background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231d2a5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95em center; background-size: 14px;
  border: 2px solid var(--kc-indigo); border-radius: 99px; cursor: pointer;
}
.woocommerce div.product form.cart .variations select:focus { outline: 3px solid var(--kc-turmeric); outline-offset: 1px; }
.woocommerce div.product form.cart .variations select::-ms-expand { display: none; }

@media (max-width: 1000px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* ---------- Page hero, story, follow, buttons ---------- */
.kc-pagehero { background: var(--kc-sand); padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--kc-line); }
.kc-pagehero__title { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.035em; margin: 0; }
.kc-pagehero__text { max-width: 40rem; font-size: 1.2rem; margin-top: 16px; }
.kc-pagehero__text p { margin: 0; }
.kc-story { max-width: 760px; }
.kc-story .entry-content { font-size: 1.15rem; line-height: 1.75; }
.kc-story .entry-content p { margin: 0 0 1.2em; }
.kc-story .entry-content img { border-radius: 2px; }
.kc-follow { background: var(--kc-indigo); color: #fff; padding: clamp(36px, 6vw, 64px) 0; }
.kc-follow h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 20px; }
.kc-follow__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.kc-btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700;
  padding: .75em 1.4em; background: #fff; color: var(--kc-indigo); border-radius: 2px;
}
.kc-btn:hover { background: var(--kc-turmeric); color: var(--kc-ink); }
.kc-note { opacity: .85; margin: 0; }
.kc-ig { flex: none; }

/* ---------- Markets ---------- */
.kc-markets { max-width: 860px; }
.kc-markets__heading { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 24px; }
.kc-marketlist { display: grid; gap: 28px; }
.kc-market {
  display: grid; grid-template-columns: 130px 1fr; background: #fff; border: 2px solid var(--kc-ink);
  box-shadow: 8px 8px 0 var(--kc-black);
}
.kc-market__date { background: var(--kc-black); color: #fff; text-align: center; padding: 22px 8px; border-bottom: 6px solid var(--kc-red); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.kc-market__day { display: block; font-family: var(--kc-display); font-weight: 800; font-size: 3.2rem; line-height: 1; }
.kc-market__month { display: block; font-weight: 700; margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }
.kc-market__body { padding: 24px 28px; }
.kc-market__body h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin: 0 0 14px; }
.kc-market__facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 12px; }
.kc-market__facts dt { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--kc-muted); padding-top: .2em; }
.kc-market__facts dd { margin: 0; font-weight: 600; }
.kc-market__facts a { font-weight: 700; margin-left: .4em; }
.kc-market__notes { color: var(--kc-muted); margin-bottom: 8px; }
.kc-market__notes p { margin: 0 0 6px; }
.kc-market__tags { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 14px 0 0 !important; }
.kc-pill { display: inline-block; padding: .2em .8em; border-radius: 99px; font-size: .88rem; font-weight: 700; color: #fff; }
.kc-pill--durk { background: var(--kc-indigo); }
.kc-pill--lively { background: var(--kc-hibiscus); }
.kc-empty { padding: 28px; background: var(--kc-sand); border-left: 6px solid var(--kc-turmeric); }
.kc-empty p { margin: 0 0 12px; }
.kc-empty .kc-btn { background: var(--kc-indigo); color: #fff; }
.kc-empty .kc-btn:hover { background: var(--kc-hibiscus); color: #fff; }
@media (max-width: 560px) {
  .kc-market { grid-template-columns: 1fr; box-shadow: 5px 5px 0 var(--kc-black); }
  .kc-market__date { flex-direction: row; gap: 10px; align-items: baseline; justify-content: flex-start; padding: 12px 20px; border-bottom: 0; border-left: 0; border-top: 0; }
  .kc-market__day { font-size: 2rem; }
  .kc-market__body { padding: 18px 20px; }
}

/* ---------- Contact ---------- */
.kc-contact { display: grid; gap: 48px; grid-template-columns: 1fr; max-width: 1080px; }
@media (min-width: 860px) { .kc-contact { grid-template-columns: 1.3fr 1fr; gap: 72px; } }
.kc-contact__form label { display: block; font-weight: 700; margin-bottom: 6px; }
.kc-contact__form input[type=text], .kc-contact__form input[type=email], .kc-contact__form textarea {
  width: 100%; font: inherit; padding: .75em .9em; border: 2px solid var(--kc-ink); border-radius: 2px; background: #fff;
}
.kc-contact__form input:focus, .kc-contact__form textarea:focus { outline: 3px solid var(--kc-turmeric); outline-offset: 2px; }
.kc-submit {
  font: 700 1rem var(--kc-body); background: var(--kc-indigo); color: #fff; border: 0; border-radius: 2px;
  padding: .9em 2em; cursor: pointer;
}
.kc-submit:hover { background: var(--kc-hibiscus); }
.kc-hp { position: absolute; left: -9999px; }
.kc-alert { padding: 14px 18px; margin: 0 0 24px; border-left: 6px solid; font-weight: 600; }
.kc-alert--ok { background: #e6f4ef; border-color: var(--kc-teal); }
.kc-alert--bad { background: #fbe9ee; border-color: var(--kc-hibiscus); }
.kc-contact__details h2 { font-size: 1.5rem; font-weight: 800; }
.kc-contact__details ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.kc-iglink { display: inline-flex; align-items: center; gap: 8px; }
.kc-note-dark { color: var(--kc-muted); font-size: .95rem; margin-top: 24px; }

/* ---------- Widgets ---------- */
.widget { margin: 0 0 24px; }
.widget-title { font-size: 1.1rem; font-weight: 800; margin: 0 0 10px; }
.kc-mw { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 12px; }
.kc-mw span { opacity: .8; font-size: .95rem; }
.kc-mw__all { margin: 0; }
.kc-footer__widgets { max-width: 22rem; }
.kc-footer__widgets .widget:last-child { margin-bottom: 0; }
.kc-footer__widgets .widget-title { color: #fff; }
.kc-findus-extra { padding-top: 0; }

/* ---------- Footer ---------- */
.kc-footer { background: var(--kc-black); color: #ecebe6; margin-top: 0; }
.kc-footer__inner {
  max-width: 1280px; margin: 0 auto; padding: 48px 24px;
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start;
}
.kc-footer__name { font-family: var(--kc-display); font-weight: 800; font-size: 1.6rem; margin: 0 0 6px; color: #fff; }
.kc-footer a { color: #fff; }
.kc-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kc-footer__hint { margin: 0; opacity: .85; max-width: 20rem; }
.kc-footer__social a { display: inline-flex; align-items: center; gap: 8px; }
.kc-footer small { display: block; padding: 0 24px 28px; max-width: 1280px; margin: 0 auto; opacity: .7; }

/* ---------- Size guide (shorts): product tab and [kc_size_guide] ---------- */
.kc-sizes { max-width: 920px; line-height: 1.6; color: var(--kc-ink); }
.kc-sizes h2 { font-family: var(--kc-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.kc-sizes h3 { font-family: var(--kc-display); font-size: 1.25rem; font-weight: 800; margin: 0 0 .5em; }
.kc-sizes__intro { margin: 0 0 22px; color: var(--kc-muted); }
.kc-sizes__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 18px; }
.kc-sizes__toggle { display: inline-flex; border: 2px solid var(--kc-indigo); border-radius: 99px; overflow: hidden; }
.kc-sizes__toggle button {
  font: 700 .95rem/1 var(--kc-body); padding: .65em 1.2em; border: 0; border-radius: 0; background: #fff; color: var(--kc-indigo); cursor: pointer;
}
.kc-sizes__toggle button[aria-pressed="true"] { background: var(--kc-indigo); color: #fff; }
.kc-sizes__toggle button:focus-visible { outline: 3px solid var(--kc-turmeric); outline-offset: -3px; }
.kc-sizes__toggle--units button { padding: .55em 1em; font-size: .88rem; }
.kc-sizes__label { font-family: var(--kc-body) !important; font-size: .82rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--kc-muted); margin: 18px 0 8px !important; }
.kc-sizes__panel > .kc-sizes__label:first-child { margin-top: 0 !important; }
.kc-sizes__table-wrap { overflow-x: auto; border: 2px solid var(--kc-ink); }
.kc-sizes table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 0; border: 0; }
.kc-sizes th, .kc-sizes td { padding: .75em 1em; text-align: left; border: 0; border-bottom: 1px solid var(--kc-line); }
.kc-sizes thead th {
  background: var(--kc-indigo); color: #fff; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; border-bottom: 0; white-space: nowrap;
}
.kc-sizes thead th span {
  display: inline-grid; place-items: center; width: 1.55em; height: 1.55em; margin-right: .45em; border-radius: 50%;
  background: var(--kc-turmeric); color: var(--kc-ink); font-size: .8rem; letter-spacing: 0;
}
.kc-sizes thead th:first-child { width: 22%; }
.kc-sizes tbody th { font-family: var(--kc-display); font-weight: 800; font-size: 1.1rem; }
.kc-sizes tbody tr:nth-child(even) { background: var(--kc-sand); }
.kc-sizes tbody tr:last-child th, .kc-sizes tbody tr:last-child td { border-bottom: 0; }
.kc-sizes td { font-variant-numeric: tabular-nums; }
.kc-sizes td.is-empty { color: var(--kc-muted); }
.kc-sizes__handmade { margin: 12px 0 0; font-size: .9rem; color: var(--kc-muted); font-style: italic; }
.kc-sizes__stripe {
  height: 8px; margin: 36px 0 30px;
  background: repeating-linear-gradient(90deg, #5a2e3a 0 18px, #e08a3c 18px 30px, #3b2a6b 30px 44px, #d79aa4 44px 54px, #8a4430 54px 70px, #f0c08a 70px 78px);
}
.kc-sizes__how { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.kc-sizes__fig { margin: 0; background: var(--kc-sand); border: 1px solid var(--kc-line); padding: 18px 18px 14px; display: flex; flex-direction: column; justify-content: center; }
.kc-sizes__fig svg { display: block; width: 100%; height: auto; max-height: 340px; }
.kc-sizes__fig figcaption { font-size: .9rem; color: var(--kc-muted); margin-top: 10px; text-align: center; }
.kc-sizes__badge circle { fill: var(--kc-turmeric); }
.kc-sizes__badge text { font: 800 15px var(--kc-display); fill: var(--kc-ink); text-anchor: middle; }
.kc-sizes__note text { font: 700 12.5px var(--kc-body); fill: var(--kc-ink); }
.kc-sizes__steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.kc-sizes__steps li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 0; }
.kc-sizes__key {
  display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%;
  background: var(--kc-turmeric); font-family: var(--kc-display); font-weight: 800;
}
.kc-sizes__steps strong { display: block; font-size: 1.05rem; }
.kc-sizes__steps p { margin: 2px 0 0; color: var(--kc-muted); font-size: .97rem; }
.kc-sizes__tip { margin: 28px 0 0; padding: 18px 22px; background: var(--kc-sand); border-left: 6px solid var(--kc-turmeric); }
.kc-sizes__tip p { margin: 0; }
.kc-sizes__tip p + p { margin-top: 8px; }
.kc-sizes [hidden] { display: none !important; }
.kc-sizelink { margin: 0 0 16px; }
.kc-sizelink a { font-weight: 700; font-size: .95rem; color: var(--kc-indigo); text-underline-offset: 3px; }
.kc-sizelink a::before {
  content: ""; display: inline-block; width: 18px; height: 10px; margin-right: 8px; vertical-align: middle;
  border: 2px solid currentColor; border-radius: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px) left bottom / 100% 45% no-repeat;
}
.kc-sizelink a:hover { color: var(--kc-hibiscus); }
@media (max-width: 700px) {
  .kc-sizes__how, .kc-sizes__steps { grid-template-columns: 1fr; }
  .kc-sizes table { font-size: .92rem; }
  .kc-sizes th, .kc-sizes td { padding: .7em .55em; }
  .kc-sizes thead th { font-size: .74rem; letter-spacing: .03em; white-space: normal; }
  .kc-sizes thead th span { display: none; }
}
/* ---------- Shipping banner (top of every page) and product-page note ---------- */
.kc-shipbar { background: var(--kc-indigo-deep, #131c40); color: #fff; font-size: .9rem; line-height: 1.4; }
.kc-shipbar p { max-width: 1280px; margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; text-align: center; }
.kc-shipbar strong { color: var(--kc-turmeric); font-weight: 700; }
.kc-shipbar span { opacity: .9; }
@media (max-width: 600px) { .kc-shipbar { font-size: .82rem; } .kc-shipbar p { padding: 7px 16px; } }
.kc-shipnote {
  margin: -4px 0 20px; padding: 10px 14px; background: var(--kc-sand); border-left: 4px solid var(--kc-turmeric);
  font-size: .95rem; line-height: 1.5;
}
.kc-shipnote span { color: var(--kc-muted); }

/* ---------- "Select options" / "Add to cart" on product grids: always readable ---------- */
ul.products li.product .button,
ul.products li.product a.button,
.woocommerce ul.products li.product .button {
  display: table; margin-top: 10px; padding: .7em 1.3em;
  background: var(--kc-indigo); color: #fff; border: 2px solid var(--kc-indigo); border-radius: 2px;
  font-family: var(--kc-body); font-size: .95rem; font-weight: 700; line-height: 1.2; text-decoration: none;
}
ul.products li.product .button:hover,
ul.products li.product a.button:hover,
.woocommerce ul.products li.product .button:hover { background: var(--kc-hibiscus); border-color: var(--kc-hibiscus); color: #fff; }
ul.products li.product .button:focus-visible { outline: 3px solid var(--kc-turmeric); outline-offset: 2px; }
ul.products li.product a.added_to_cart { display: inline-block; margin: 10px 0 0 10px; font-weight: 700; color: var(--kc-indigo); text-decoration: underline; }
/* ---------- Shop filters: gender, size, colour (sidebar, under the categories) ---------- */
.kc-filters { margin-top: 32px; }
.kc-filter { border-top: 1px solid var(--kc-line); padding: 12px 0 14px; }
.kc-filter__title { font-family: var(--kc-body); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--kc-muted); margin: 0 0 10px; }
.kc-filter__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kc-filter__chip {
  display: inline-flex; align-items: center; gap: 7px; min-width: 2.6em; justify-content: center;
  padding: .35em .85em; border: 2px solid var(--kc-ink); border-radius: 99px; background: #fff;
  color: var(--kc-ink); font-weight: 600; font-size: .92rem; line-height: 1.3; text-decoration: none;
}
.kc-filter__chip:hover { border-color: var(--kc-hibiscus); color: var(--kc-hibiscus); }
.kc-filter__chip.is-on { background: var(--kc-indigo); border-color: var(--kc-indigo); color: #fff; }
.kc-filter__chip.is-on:hover { background: var(--kc-hibiscus); border-color: var(--kc-hibiscus); color: #fff; }
.kc-filter__swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); flex: none; }
.kc-filter__swatch.is-stripes { background: repeating-linear-gradient(90deg, #5a2e3a 0 3px, #e08a3c 3px 6px, #3b2a6b 6px 9px, #d79aa4 9px 12px); }
.kc-filter__chip.is-on .kc-filter__swatch { box-shadow: 0 0 0 2px #fff; }
.kc-filter__swatch.is-bright { background: repeating-linear-gradient(90deg, #e3302f 0 3px, #f2a516 3px 6px, #1fa37a 6px 9px, #2b5bd7 9px 12px); }
.kc-filter__swatch.is-neutral { background: repeating-linear-gradient(90deg, #8a7764 0 3px, #d9cbb5 3px 6px, #5b5650 6px 9px, #b9ab98 9px 12px); }
.kc-filters__clear { display: inline-block; margin-top: 4px; font-weight: 700; font-size: .92rem; color: var(--kc-hibiscus); }
@media (max-width: 860px) {
  .kc-filters { margin-top: 18px; }
  .kc-filters > .kc-sidebar__title { margin-bottom: 4px; }
  .kc-filter { padding: 10px 0; }
}
/* ---------- Product grids: front photo, back photo on hover (first gallery image) ---------- */
.kc-loopimg { position: relative; display: block; margin: 0 0 12px; overflow: hidden; background: var(--kc-sand); }
/* WooCommerce gives loop images a 1em bottom margin, which showed as a cream bar inside the frame. */
.woocommerce ul.products li.product a .kc-loopimg img, ul.products li.product .kc-loopimg img { margin: 0; display: block; }
.woocommerce ul.products li.product a .kc-loopimg img.kc-loopimg__back { height: 100%; }
.kc-loopimg__back { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
@media (hover: hover) {
  ul.products li.product:hover .kc-loopimg__back,
  ul.products li.product a:focus-visible .kc-loopimg__back { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .kc-loopimg__back { transition: none; } }