/* ==========================================================================
   Kick-Off Gear — main.css
   Single stylesheet. No framework. Design: clean sport-retail, bold condensed
   headings (Chakra Petch), square product cards, lime accent.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (self-hosted, latin subset, ~40 KB total)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/chakra-petch-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/chakra-petch-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/chakra-petch-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/chakra-petch-700.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --navy: #192a3d;
  --navy-deep: #0e1a28;
  --ink: #22303f;
  --muted: #5d6c7d;
  --blue: #2872fa;
  --blue-dark: #1559ed;
  --lime: #6cff45;
  --lime-dark: #4be326;
  --red: #c0263c;
  --line: #e4e9ef;
  --line-dark: #cfd8e2;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-softer: #fafbfc;

  --font: 'Chakra Petch', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-s: 4px;
  --radius: 6px;
  --radius-l: 10px;

  --container: 1300px;
  --gutter: 20px;

  --shadow-s: 0 2px 8px rgba(14, 26, 40, .06);
  --shadow: 0 12px 32px rgba(14, 26, 40, .12);
  --shadow-l: 0 24px 64px rgba(14, 26, 40, .22);

  --header-h: 68px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

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

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

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; color: var(--navy); }

p { margin: 0 0 1em; }

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

input, select, textarea { font: inherit; color: inherit; }

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

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

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

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

.skip-link:focus {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 1000;
  width: auto; height: auto;
  clip: auto;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-s);
}

.icon { flex: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  border: 2px solid var(--navy);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn:active { transform: translateY(1px); }

.btn--accent { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.btn--accent:hover { background: var(--lime-dark); border-color: var(--lime-dark); color: var(--navy); }

.btn--ghost { background: transparent; border-color: currentColor; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.btn--block { width: 100%; }

.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-s);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.4;
}
.badge--sale { background: var(--red); color: #fff; }
.badge--new { background: var(--blue); color: #fff; }
.badge--out { background: var(--navy); color: #fff; }

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */
.announce { background: var(--navy); color: #fff; font-size: 13px; }
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
}
.announce__inner p { margin: 0; letter-spacing: .03em; }
.announce .icon { color: var(--lime); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-s); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.header__logo img { width: auto; height: 44px; }

.header__burger { display: none; padding: 8px; }

.site-nav { flex: 1; min-width: 0; }

.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__list > li { position: relative; }

.nav__list > li > a {
  display: block;
  padding: 24px 12px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.nav__list > li > a:hover,
.nav__list > li.current-menu-item > a { color: var(--blue); }

.nav__list > li > a::after {
  content: '';
  display: block;
  height: 3px;
  margin-top: 20px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.nav__list > li:hover > a::after { transform: scaleX(1); }

/* Dropdown (mega-lite) */
.nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 95;
  min-width: 230px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__list .sub-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
}
.nav__list .sub-menu a:hover { background: var(--bg-soft); color: var(--blue); }

.header__actions { display: flex; align-items: center; gap: 6px; }

.header__action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--navy);
  transition: background .15s ease;
}
.header__action:hover { background: var(--bg-soft); color: var(--navy); }

.header__count {
  position: absolute;
  top: 3px; right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--lime);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.header__count[data-empty="true"] { display: none; }

.header__search {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  background: #fff;
}
.header__search[hidden] { display: none; }

.nav__mobile-extra { display: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(40, 114, 250, .25), transparent 60%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  padding-block: 64px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lime);
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(108, 255, 69, .2);
}
.hero__title {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #fff;
}
.hero__text {
  max-width: 46ch;
  margin: 0 0 28px;
  font-size: 17px;
  color: rgba(255, 255, 255, .78);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }

.hero__media img {
  width: min(460px, 100%);
  margin-inline: auto;
  border-radius: var(--radius-l);
}

/* --------------------------------------------------------------------------
   USP strip
   -------------------------------------------------------------------------- */
.usp { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.usp__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-block: 18px;
}
.usp__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--navy);
}
.usp__item .icon { color: var(--blue); }
.usp__item strong { display: block; font-size: 15px; }
.usp__item span { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: 56px; }
.section--promo { background: var(--navy); }
.section--promo .section__title { color: #fff; }
.section--promo .section__link { color: var(--lime); }
.section--promo .card__brand,
.section--promo .card__title a { color: #fff; }
.section--promo .card__price { color: rgba(255, 255, 255, .85); }
.section--promo .product-card { background: #fff; }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section__title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--blue);
  white-space: nowrap;
}
.section__link:hover { color: var(--blue-dark); }

/* --------------------------------------------------------------------------
   League tiles
   -------------------------------------------------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, #24405e 100%);
  color: #fff;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tile:nth-child(2n) { background: linear-gradient(135deg, #24405e, var(--navy-deep)); }
.tile:nth-child(3n) { background: linear-gradient(135deg, var(--blue-dark), var(--navy)); }
.tile::after {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(108, 255, 69, .12);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: #fff; }
.tile__label {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.tile__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--lime);
}

/* --------------------------------------------------------------------------
   Product grid + card
   -------------------------------------------------------------------------- */
.products-grid,
ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.products::before, ul.products::after { content: none; }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
}
.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__img--hover { opacity: 0; transition: opacity .2s ease; }
.card__media:hover .card__img--hover { opacity: 1; }

.card__badges {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.card__quick {
  position: absolute;
  left: 10px; right: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, background .15s ease;
}
.product-card:hover .card__quick,
.card__quick:focus-visible { opacity: 1; transform: translateY(0); }
.card__quick:hover { background: var(--blue); }
.card__quick.is-loading { opacity: 1; transform: none; pointer-events: none; }

.card__body { padding-top: 12px; }
.card__brand {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.card__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
  color: var(--navy);
}
.card__title a { color: inherit; }
.card__title a:hover { color: var(--blue); }
.card__price { font-weight: 600; font-size: 15px; color: var(--navy); }
.card__price del { color: var(--muted); font-weight: 400; margin-right: 6px; }
.card__price ins { text-decoration: none; color: var(--red); }

.product-card.is-outofstock .card__media { opacity: .65; }

/* --------------------------------------------------------------------------
   Store section
   -------------------------------------------------------------------------- */
.section--store { background: var(--bg-soft); }
.store__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 40px;
}
.store__address { max-width: 52ch; font-size: 17px; }
.store__hours {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 22px;
}
.store__map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(25, 42, 61, .05) 0 12px, transparent 12px 24px),
    #fff;
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 40px;
  padding-top: 56px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: var(--lime); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer__logo img { width: auto; height: 48px; filter: brightness(0) invert(1); }
.footer__blurb { margin: 16px 0; max-width: 34ch; color: rgba(255, 255, 255, .6); }
.footer__socials { display: flex; gap: 8px; }
.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.footer__social:hover { background: var(--lime); border-color: var(--lime); color: var(--navy); }

.footer__title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.footer__links li { margin-bottom: 9px; }

.footer__contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.footer__contact .icon { color: var(--lime); margin-top: 2px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__payments { display: flex; gap: 8px; }
.pay {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-s);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer__legal { margin: 0; color: rgba(255, 255, 255, .5); font-size: 13px; }

.footer__scam {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 10px 16px;
  border: 1px dashed rgba(255, 255, 255, .25);
  border-radius: var(--radius-s);
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  text-align: center;
}
.footer__scam .icon { color: var(--lime); }

/* --------------------------------------------------------------------------
   Cart drawer
   -------------------------------------------------------------------------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(14, 26, 40, .5);
  backdrop-filter: blur(2px);
}
.backdrop[hidden] { display: none; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 130;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100dvh;
  background: #fff;
  box-shadow: var(--shadow-l);
  transform: translateX(100%);
  transition: transform .25s ease;
}
.cart-drawer[hidden] { display: none; }
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__head h2 { margin: 0; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.cart-drawer__close { padding: 6px; border-radius: 50%; }
.cart-drawer__close:hover { background: var(--bg-soft); }

.cart-drawer__ship { padding: 14px 20px 0; }
.cart-drawer__ship-text { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--navy); }
.ship-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.ship-bar__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--lime));
  transition: width .25s ease;
}

.cart-drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-drawer__empty { color: var(--muted); text-align: center; padding-block: 40px; }

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line__img {
  width: 64px; height: 64px;
  border-radius: var(--radius-s);
  background: var(--bg-soft);
  object-fit: cover;
}
.cart-line__name { margin: 0 0 2px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.cart-line__meta { font-size: 12px; color: var(--muted); }
.cart-line__qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
.cart-line__qty button {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.cart-line__qty button:hover { background: var(--bg-soft); }
.cart-line__qty span { min-width: 24px; text-align: center; font-size: 13px; font-weight: 600; }
.cart-line__side { text-align: right; }
.cart-line__price { font-weight: 600; font-size: 14px; color: var(--navy); }
.cart-line__remove { margin-top: 8px; font-size: 12px; color: var(--muted); text-decoration: underline; }
.cart-line__remove:hover { color: var(--red); }

.cart-drawer__foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-softer);
}
.cart-drawer__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 16px;
}
.cart-drawer__total strong { font-size: 18px; color: var(--navy); }
.cart-drawer__note { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.cart-drawer__view {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   Quick-add modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}
.modal__close {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  padding: 8px;
  border-radius: 50%;
  background: #fff;
}
.modal__close:hover { background: var(--bg-soft); }
.modal__body { padding: 24px; }

.quick-add {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
}
.quick-add__img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--bg-soft);
  object-fit: cover;
  width: 100%;
}
.quick-add__brand { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quick-add__name { margin: 4px 0 8px; font-size: 18px; color: var(--navy); }
.quick-add__price { font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.quick-add__price del { color: var(--muted); font-weight: 400; margin-right: 6px; }
.quick-add__price ins { text-decoration: none; color: var(--red); }
.quick-add__label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; color: var(--navy); }
.quick-add__sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.size-chip {
  min-width: 46px;
  padding: 8px 10px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-s);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  transition: border-color .12s ease, background .12s ease, color .12s ease;
}
.size-chip:hover { border-color: var(--navy); }
.size-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.size-chip.is-disabled { opacity: .35; text-decoration: line-through; pointer-events: none; }
.quick-add__foot { display: flex; align-items: center; gap: 12px; }
.quick-add__stock { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 150;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: toast-in .2s ease;
}
.toast[hidden] { display: none; }
.toast--error { background: var(--red); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   WooCommerce: breadcrumb, archive
   -------------------------------------------------------------------------- */
.kog-breadcrumb {
  padding-block: 14px;
  font-size: 13px;
  color: var(--muted);
}
.kog-breadcrumb a { color: var(--muted); }
.kog-breadcrumb a:hover { color: var(--blue); }
.crumb__sep { margin-inline: 8px; color: var(--line-dark); }

.archive-head { padding-block: 8px 22px; }
.archive-head__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.archive-head__desc { max-width: 70ch; color: var(--muted); }

.woocommerce-products-header { padding-block: 8px 0; }

/* Toolbar */
.woocommerce-notices-wrapper { padding-top: 12px; }
ul.woocommerce-result-count,
.woocommerce-result-count {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}
.woocommerce-ordering { margin-bottom: 16px; }
.woocommerce-ordering select {
  min-height: 42px;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-s);
  background: #fff;
  font-size: 14px;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  background: var(--bg-softer);
  font-size: 14px;
  list-style: none;
}
.woocommerce-error { border-left-color: var(--red); }
.woocommerce-message { border-left-color: var(--lime-dark); }
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  margin-left: auto;
  flex: none;
  padding: 8px 16px;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover { background: var(--navy-deep); color: #fff; }

/* Pagination */
.woocommerce-pagination { padding-block: 34px; }
.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 6px;
  border: 0;
}
.woocommerce-pagination ul li { border: 0; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.page-numbers { display: flex; justify-content: center; gap: 6px; padding-block: 30px; }
.page-numbers li { list-style: none; }
.page-numbers a, .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-weight: 600;
}
.page-numbers span.current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* --------------------------------------------------------------------------
   WooCommerce: single product
   -------------------------------------------------------------------------- */
.single-product div.product {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: start;
  padding-block: 12px 40px;
}

/* Grid children must be allowed to shrink or long content blows the row out. */
.single-product div.product > * { min-width: 0; }
.single-product .summary { min-width: 0; }

/* Gallery */
.woocommerce-product-gallery {
  position: relative;
  display: grid;
  gap: 12px;
  /* WooCommerce sets inline opacity:0 waiting for its (removed) gallery JS. */
  opacity: 1 !important;
}
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.kog-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.kog-thumb {
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  padding: 0;
}
.kog-thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.kog-thumb.is-active { border-color: var(--navy); }

/* Summary */
.single-product .summary { padding-top: 6px; }
.single-product .product_title {
  font-size: clamp(24px, 3vw, 34px);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 10px;
  overflow-wrap: break-word;
}
.single-product .price {
  display: block;
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
}
.single-product .price del { font-size: 18px; color: var(--muted); font-weight: 400; margin-right: 8px; }
.single-product .price ins { text-decoration: none; color: var(--red); }
.single-product .woocommerce-product-details__short-description { color: var(--muted); }

.stock-status { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.stock-status.in-stock { color: #1a8f3c; }
.stock-status.out-of-stock { color: var(--red); }

/* Variations */
.kog-atc { margin-block: 18px 24px; }
.variations { width: 100%; margin-bottom: 14px; border: 0; }
.variations tr { display: block; margin-bottom: 14px; }
.variations th, .variations td { display: block; padding: 0; border: 0; text-align: left; }
.variations th.label label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
  color: var(--navy);
}
.variations select {
  min-height: 44px;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-s);
  background: #fff;
  min-width: 200px;
}
.reset_variations { font-size: 13px; color: var(--muted); text-decoration: underline; }

/* Size chips (vanilla enhancement) */
.kog-size-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kog-size-chips .size-chip { cursor: pointer; }

.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-s);
  margin-right: 12px;
  overflow: hidden;
}
.quantity input {
  width: 64px;
  height: 44px;
  border: 0;
  text-align: center;
  font-weight: 600;
}
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single_add_to_cart_button { min-height: 48px; }

.product_meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.product_meta a { color: var(--muted); }
.product_meta > span { display: block; margin-bottom: 4px; }

/* Tabs */
.woocommerce-tabs { grid-column: 1 / -1; padding-block: 30px 10px; border-top: 1px solid var(--line); }
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.woocommerce-tabs ul.tabs li { flex: none; }
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
  border-bottom: 3px solid transparent;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--navy); border-bottom-color: var(--lime); }
.woocommerce-tabs .panel { max-width: 80ch; display: none; }
.woocommerce-tabs .panel.is-active { display: block; }
.woocommerce-tabs .panel[hidden] { display: none; }

/* Related */
.related.products,
.upsells.products {
  padding-block: 34px;
  border-top: 1px solid var(--line);
}
.related.products > h2,
.upsells.products > h2 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   WooCommerce: cart & checkout (light restyle over WC markup)
   -------------------------------------------------------------------------- */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main { padding-block: 24px 60px; }

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
.woocommerce table.shop_table th {
  padding: 12px 14px;
  background: var(--bg-soft);
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.woocommerce table.shop_table td {
  padding: 14px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
.woocommerce table.shop_table img { width: 64px; border-radius: var(--radius-s); }
.woocommerce a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--red) !important;
  font-weight: 700;
}
.woocommerce a.remove:hover { background: var(--red); color: #fff !important; }
.woocommerce .quantity input { height: 40px; }

.cart_totals, .woocommerce-checkout-review-order {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-softer);
}
.cart_totals h2, .woocommerce-checkout-review-order h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { width: auto; float: none; }

.woocommerce form .form-row { margin-bottom: 14px; }
.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-Input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-s);
  background: #fff;
}
.woocommerce form .form-row textarea { min-height: 110px; }

.woocommerce #payment { background: transparent; }
.woocommerce #payment ul.payment_methods { padding: 0 0 12px; border: 0; list-style: none; }
.woocommerce #payment ul.payment_methods li { margin-bottom: 10px; }
.woocommerce #payment div.form-row { padding: 0; }

.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button {
  min-height: 46px;
  padding: 10px 24px;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 14px;
  border: 0;
}
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover { background: var(--navy-deep); color: #fff; }
.woocommerce button.button.alt { background: var(--lime); color: var(--navy); }
.woocommerce button.button.alt:hover { background: var(--lime-dark); }

.woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 18px; }
.woocommerce-form-coupon { margin-bottom: 20px; padding: 18px; border: 1px dashed var(--line-dark); border-radius: var(--radius); }
.checkout_coupon.woocommerce-form-coupon { display: flex; gap: 10px; flex-wrap: wrap; }
.checkout_coupon .form-row { margin: 0; flex: 1; min-width: 220px; }

/* Account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 34px; align-items: start; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; font-weight: 500; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--navy); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content { min-width: 0; }

/* --------------------------------------------------------------------------
   Search form
   -------------------------------------------------------------------------- */
.search-form { position: relative; display: flex; }
.search-form__input {
  flex: 1;
  min-height: 48px;
  padding: 10px 54px 10px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-s);
  background: #fff;
}
.search-form__submit {
  position: absolute;
  right: 4px; top: 4px;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: #fff;
}
.search-form__submit:hover { background: var(--blue); }

/* --------------------------------------------------------------------------
   Content, blog, 404
   -------------------------------------------------------------------------- */
.content { padding-block: 30px 60px; }
.content--narrow { max-width: 860px; }
.entry__title { font-size: clamp(26px, 3.4vw, 40px); }
.entry__meta { color: var(--muted); font-size: 14px; }
.entry__content img { border-radius: var(--radius); }
.entry__content h2, .entry__content h3 { margin-top: 1.4em; }
.entry__content a { color: var(--blue); text-decoration: underline; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card__media img { aspect-ratio: 16/9; object-fit: cover; }
.post-card__body { padding: 16px; }
.post-card__title { font-size: 17px; margin-bottom: 4px; }
.post-card__meta { font-size: 12px; color: var(--muted); }
.post-card__excerpt { font-size: 14px; color: var(--muted); margin: 0; }

.empty-state {
  padding-block: 70px;
  text-align: center;
}
.empty-state__code { font-size: 80px; font-weight: 700; color: var(--line-dark); line-height: 1; margin: 0 0 10px; }
.empty-state__title { font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; }
.empty-state__actions { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.empty-state__search { max-width: 420px; margin: 26px auto 0; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .products-grid, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header__burger { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: 0; left: 0;
    z-index: 135;
    width: min(340px, 90vw);
    height: 100dvh;
    padding: 24px 20px;
    background: #fff;
    box-shadow: var(--shadow-l);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .25s ease;
  }
  .site-nav.is-open { transform: translateX(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__list > li > a::after { display: none; }
  .nav__list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 14px;
    display: none;
  }
  .nav__list li.is-open > .sub-menu { display: block; }
  .nav__mobile-extra { display: block; margin-top: 20px; }
  .nav__mobile-link { display: flex; align-items: center; gap: 10px; padding: 12px 4px; font-weight: 600; }

  .hero__inner { grid-template-columns: 1fr; padding-block: 44px; text-align: left; }
  .hero__media { order: -1; }
  .hero__media img { width: min(340px, 100%); }

  .tiles { grid-template-columns: repeat(2, 1fr); }
  .store__inner { grid-template-columns: 1fr; }
  .single-product div.product { grid-template-columns: 1fr; gap: 28px; }
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-add { grid-template-columns: 1fr; }
  .quick-add__img { max-width: 220px; }
}

@media (max-width: 620px) {
  :root { --gutter: 14px; }
  .announce__inner { justify-content: flex-start; font-size: 12px; }
  .products-grid, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .card__quick { opacity: 1; transform: none; min-height: 38px; font-size: 12px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 110px; padding: 14px; }
  .tile__label { font-size: 16px; }
  .section { padding-block: 38px; }
  .usp__grid { grid-template-columns: 1fr; padding-block: 10px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .post-grid { grid-template-columns: 1fr; }
  .woocommerce table.shop_table { font-size: 13px; }
  .woocommerce table.shop_table td { padding: 10px 8px; }
  .woocommerce table.shop_table img { width: 48px; }
  .hero__actions .btn { width: 100%; }
}

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