/* =============================================================
   SHAWAJ INTERNATIONAL — Design System
   Custom activewear & apparel manufacturer (OEM & ODM)
   Editorial / refined-minimal / black-white-grey + bronze accent
   ============================================================= */

/* -------------------------------------------------------------
   0. DESIGN TOKENS
   ------------------------------------------------------------- */
:root {
  /* Color */
  --c-ink:        #1a1a1a;
  --c-black:      #000000;
  --c-white:      #ffffff;
  --c-offwhite:   #f6f6f4;
  --c-band:       #f1f1ef;
  --c-border:     #e4e4e1;
  --c-muted:      #6b6b6b;
  --c-accent:     #b08d57;   /* warm gold / bronze — use sparingly */
  --c-accent-dk:  #94733f;
  --c-sale:       #e84e4e;

  /* Typography */
  --font-head: "Jost", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Jost", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fw-light: 300;
  --fw-reg:   400;
  --fw-med:   500;
  --fw-semi:  600;
  --fw-bold:  700;

  /* Type scale (fluid) */
  --fs-eyebrow: 0.72rem;
  --fs-body:    1rem;
  --fs-lead:    clamp(1.05rem, 0.9rem + 0.6vw, 1.3rem);
  --fs-h4:      clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  --fs-h3:      clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
  --fs-h2:      clamp(2rem, 1.5rem + 2.3vw, 3.4rem);
  --fs-h1:      clamp(2.6rem, 1.8rem + 4vw, 5.2rem);

  /* Spacing / layout */
  --maxw:        1280px;
  --gutter:      clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(64px, 9vw, 130px);
  --radius:      2px;

  /* Motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:    0.2s;
  --t-med:     0.4s;
  --t-slow:    0.7s;

  /* Elevation */
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 14px 40px rgba(0,0,0,0.10);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.16);

  /* Chrome heights */
  --header-h: 76px;
  --promo-h:  38px;
}

/* -------------------------------------------------------------
   1. RESET / BASE
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-weight: var(--fw-reg);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-white);
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

img { background: var(--c-band); }

a { color: inherit; text-decoration: none; }

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

input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: var(--fw-med);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-light); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-light); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-med); }

p { max-width: 68ch; }

::selection { background: var(--c-ink); color: var(--c-white); }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

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

.container--wide { max-width: 1480px; }
.container--narrow { max-width: 880px; }

.section { padding-block: var(--section-pad); }
.section--alt { background: var(--c-offwhite); }
.section--band { background: var(--c-band); }
.section--ink { background: var(--c-ink); color: var(--c-white); }
.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 { color: var(--c-white); }
.section--tight { padding-block: clamp(40px, 5vw, 70px); }

/* Section header block */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--center { margin-inline: auto; text-align: center; }

/* -------------------------------------------------------------
   3. TYPOGRAPHY HELPERS
   ------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-med);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--c-accent);
  opacity: 0.8;
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--c-accent); }

.lead {
  font-size: var(--fs-lead);
  font-weight: var(--fw-light);
  line-height: 1.6;
  color: var(--c-muted);
}
.section--ink .lead { color: rgba(255,255,255,0.78); }

.display { font-weight: var(--fw-light); letter-spacing: -0.02em; }

.text-center { text-align: center; }
.text-muted  { color: var(--c-muted); }
.text-accent { color: var(--c-accent); }
.uppercase   { text-transform: uppercase; letter-spacing: 0.12em; }

/* -------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-black);
  --btn-fg: var(--c-white);
  --btn-bd: var(--c-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 0.95em 2.1em;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: background var(--t-med) var(--ease),
              color var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              transform var(--t-fast) var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--c-black);
  --btn-fg: var(--c-white);
  --btn-bd: var(--c-black);
}
.btn--primary:hover {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-black);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-ink);
}
.btn--outline:hover {
  background: var(--c-ink);
  color: var(--c-white);
}

.btn--light {
  --btn-bg: var(--c-white);
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-white);
}
.btn--light:hover {
  background: transparent;
  color: var(--c-white);
  border-color: var(--c-white);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--c-white);
  --btn-bd: rgba(255,255,255,0.55);
}
.btn--outline-light:hover {
  background: var(--c-white);
  color: var(--c-ink);
  border-color: var(--c-white);
}

.btn--sm  { padding: 0.7em 1.5em; font-size: 0.7rem; }
.btn--lg  { padding: 1.1em 2.6em; font-size: 0.82rem; }
.btn--block { display: flex; width: 100%; }

/* Ghost / link with arrow */
.btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0;
  background: none;
  border: none;
  color: var(--c-ink);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}
.btn--ghost::after {
  content: "→";
  display: inline-block;
  transition: transform var(--t-med) var(--ease);
}
.btn--ghost > .btn__line {
  position: relative;
}
.btn--ghost > .btn__line::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.btn--ghost:hover::after { transform: translateX(6px); }
.btn--ghost:hover > .btn__line::after { transform: scaleX(1); }
.section--ink .btn--ghost { color: var(--c-white); }

/* -------------------------------------------------------------
   5. PROMO / ANNOUNCEMENT BAR (marquee)
   ------------------------------------------------------------- */
.promo-bar {
  background: var(--c-ink);
  color: var(--c-white);
  height: var(--promo-h);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: var(--fw-reg);
}
.promo-bar__track {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.promo-bar:hover .promo-bar__track { animation-play-state: paused; }
.promo-bar__item {
  display: inline-flex;
  align-items: center;
  padding-inline: 1.6rem;
}
.promo-bar__item .dot {
  color: var(--c-accent);
  margin-right: 1.6rem;
  font-size: 0.6em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-bar__track { animation: none; transform: none; justify-content: center; width: 100%; }
}

/* -------------------------------------------------------------
   6. HEADER + NAV
   ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: 1rem;
}

/* Transparent-over-hero variant */
.site-header--transparent {
  position: fixed;
  left: 0; right: 0;
  top: var(--promo-h);
  background: transparent;
  border-bottom-color: transparent;
  color: var(--c-white);
}
.site-header--transparent .logo,
.site-header--transparent .main-nav > ul > li > a,
.site-header--transparent .header-icons button,
.site-header--transparent .hamburger { color: var(--c-white); }
.site-header--transparent.is-scrolled {
  position: fixed;
  top: 0;
  background: var(--c-white);
  border-bottom-color: var(--c-border);
  color: var(--c-ink);
  box-shadow: var(--shadow-sm);
  animation: dropIn var(--t-med) var(--ease);
}
.site-header--transparent.is-scrolled .logo,
.site-header--transparent.is-scrolled .main-nav > ul > li > a,
.site-header--transparent.is-scrolled .header-icons button,
.site-header--transparent.is-scrolled .hamburger { color: var(--c-ink); }
@keyframes dropIn {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* Logo wordmark */
.logo {
  font-family: var(--font-head);
  font-weight: var(--fw-semi);
  font-size: 1.05rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  justify-self: start;
}
.logo .logo__mark { color: var(--c-accent); font-weight: var(--fw-bold); }
.logo .logo__sub {
  font-size: 0.5rem;
  letter-spacing: 0.34em;
  color: var(--c-muted);
  font-weight: var(--fw-reg);
}
@media (max-width: 900px) { .logo .logo__sub { display: none; } }

/* Desktop nav */
.main-nav { justify-self: center; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.6rem);
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.82rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-block: 1.6rem;
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 1.1rem;
  width: 100%; height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.main-nav > ul > li > a:hover { color: var(--c-accent); }
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li[aria-current] > a::after,
.main-nav > ul > li > a[aria-current]::after { transform: scaleX(1); }

.has-dropdown > a .caret {
  width: 9px; height: 9px;
  transition: transform var(--t-fast) var(--ease);
}
.has-dropdown:hover > a .caret { transform: rotate(180deg); }

/* Dropdown panel */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease),
              transform var(--t-med) var(--ease),
              visibility var(--t-med);
  z-index: 50;
}
.has-dropdown:hover .nav__dropdown,
.has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: 0.62rem 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  border-radius: var(--radius);
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              padding-left var(--t-fast) var(--ease);
}
.nav__dropdown a:hover {
  background: var(--c-offwhite);
  color: var(--c-accent);
  padding-left: 1.2rem;
}

/* Header right icons */
.header-icons {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.header-icons button {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.header-icons button:hover { background: rgba(0,0,0,0.05); color: var(--c-accent); }
.site-header--transparent:not(.is-scrolled) .header-icons button:hover { background: rgba(255,255,255,0.14); }
.header-icons svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 0.6rem;
  font-weight: var(--fw-semi);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Search bar */
.search-bar {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
}
.search-bar.is-open { max-height: 120px; }
.search-bar__form {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1.3rem var(--gutter);
}
.search-bar__form svg { width: 20px; height: 20px; color: var(--c-muted); flex-shrink: 0; }
.search-bar__form input {
  flex: 1;
  border: none;
  font-size: 1.1rem;
  font-weight: var(--fw-light);
  letter-spacing: 0.02em;
  background: transparent;
}
.search-bar__form input:focus { outline: none; }
.search-bar__close { color: var(--c-muted); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* -------------------------------------------------------------
   7. MOBILE MENU
   ------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 88vw);
  background: var(--c-white);
  z-index: 130;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--gutter);
  border-bottom: 1px solid var(--c-border);
}
.mobile-menu__head .logo { font-size: 0.92rem; }
.mobile-menu__close { width: 40px; height: 40px; display: grid; place-items: center; }
.mobile-menu__close svg { width: 20px; height: 20px; }
.mobile-menu__body { padding: 0.5rem 0 2rem; flex: 1; }
.mobile-nav__item { border-bottom: 1px solid var(--c-border); }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem var(--gutter);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mobile-nav__link .acc-icon {
  width: 14px; height: 14px;
  transition: transform var(--t-med) var(--ease);
}
.mobile-nav__item.is-open .acc-icon { transform: rotate(45deg); }
.mobile-nav__sub {
  max-height: 0;
  overflow: hidden;
  background: var(--c-offwhite);
  transition: max-height var(--t-med) var(--ease);
}
.mobile-nav__item.is-open .mobile-nav__sub { max-height: 560px; }
.mobile-nav__sub a {
  display: block;
  padding: 0.8rem var(--gutter);
  padding-left: calc(var(--gutter) + 0.5rem);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  border-top: 1px solid var(--c-border);
}
.mobile-nav__sub a:hover { color: var(--c-accent); }
.mobile-menu__foot {
  padding: 1.6rem var(--gutter) 2.4rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu__contact { font-size: 0.85rem; color: var(--c-muted); line-height: 1.9; }
.mobile-menu__contact a { color: var(--c-ink); }

/* Backdrop (shared by mobile menu / cart / modal) */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,15,15,0.5);
  backdrop-filter: blur(2px);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .logo { font-size: 0.95rem; }
}

/* -------------------------------------------------------------
   8. HERO
   ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--c-white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.12) 48%, rgba(0,0,0,0.34) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(3.5rem, 9vh, 7rem);
  padding-top: calc(var(--header-h) + var(--promo-h) + 2rem);
  max-width: 820px;
}
.hero__content .eyebrow { color: var(--c-accent); }
.hero h1 {
  color: var(--c-white);
  margin-bottom: 1.4rem;
}
.hero .lead { color: rgba(255,255,255,0.85); max-width: 52ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Vertical side label (editorial detail) */
.hero__sidelabel {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(3.5rem, 9vh, 7rem);
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  z-index: 1;
}
@media (max-width: 700px) { .hero__sidelabel { display: none; } }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-top: clamp(7rem, 16vh, 11rem);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
  background: var(--c-ink);
  color: var(--c-white);
  overflow: hidden;
  text-align: center;
}
.page-hero--media { min-height: 46vh; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.35));
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--c-white); margin-bottom: 0.6rem; }
.page-hero .eyebrow { color: var(--c-accent); justify-content: center; }
.page-hero .eyebrow::before { display: none; }
.page-hero p { margin-inline: auto; color: rgba(255,255,255,0.8); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--c-ink); }
.page-hero .breadcrumb { justify-content: center; color: rgba(255,255,255,0.7); margin-bottom: 1.4rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: var(--c-accent); }
.page-hero .breadcrumb [aria-current] { color: var(--c-white); }

/* -------------------------------------------------------------
   9. CATEGORY GRID
   ------------------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cat-grid--4 { grid-template-columns: repeat(4, 1fr); }

.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  background: var(--c-band);
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 55%);
  transition: background var(--t-med) var(--ease);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card:hover::after { background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.08) 70%); }
.cat-card__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.5rem;
  color: var(--c-white);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.cat-card__label h3 {
  color: var(--c-white);
  font-size: 1.3rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.02em;
}
.cat-card__label .count { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.cat-card__cta {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.cat-card:hover .cat-card__cta { background: var(--c-white); color: var(--c-ink); transform: rotate(-45deg); }

/* Tall feature card spanning 2 rows */
.cat-card--tall { aspect-ratio: 3 / 5; }
.cat-card--wide { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .cat-card--span2 { grid-row: span 2; aspect-ratio: auto; }
}

/* -------------------------------------------------------------
   10. PRODUCT GRID
   ------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2.2rem) clamp(1rem, 2vw, 1.6rem);
}
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }

.product-card { position: relative; display: flex; flex-direction: column; }
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-band);
  margin-bottom: 1rem;
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-med) var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }

/* hover-reveal secondary action */
.product-card__action {
  position: absolute;
  left: 0.7rem; right: 0.7rem; bottom: 0.7rem;
  transform: translateY(130%);
  opacity: 0;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}
.product-card:hover .product-card__action { transform: translateY(0); opacity: 1; }
.product-card__action .btn { width: 100%; backdrop-filter: blur(4px); }

.product-card__title {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.01em;
  margin-bottom: 0.25rem;
}
.product-card__title a:hover { color: var(--c-accent); }
.product-card__meta {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.product-card__price { font-size: 0.9rem; color: var(--c-ink); margin-top: 0.2rem; }

/* Ribbon / badge */
.badge {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  z-index: 2;
  padding: 0.4em 0.85em;
  font-size: 0.62rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--c-ink);
  color: var(--c-white);
  border-radius: var(--radius);
}
.badge--accent { background: var(--c-accent); }
.badge--sale   { background: var(--c-sale); }
.badge--soldout { background: var(--c-white); color: var(--c-ink); border: 1px solid var(--c-border); }
.product-card.is-soldout .product-card__media img { opacity: 0.55; }

/* Collection toolbar */
.collection-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.collection-bar__count { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); }
.collection-bar__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.5em 1.1em;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--c-border);
  border-radius: 100px;
  background: var(--c-white);
  color: var(--c-muted);
  transition: all var(--t-fast) var(--ease);
}
.chip:hover, .chip.is-active { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.collection-bar__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.collection-bar__sort select {
  border: none;
  background: transparent;
  font-weight: var(--fw-med);
  color: var(--c-ink);
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

/* -------------------------------------------------------------
   11. PROMO SPLIT BANNER
   ------------------------------------------------------------- */
.promo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 540px;
}
.promo-split--reverse .promo-split__media { order: 2; }
.promo-split__media { position: relative; overflow: hidden; min-height: 360px; }
.promo-split__media img { width: 100%; height: 100%; object-fit: cover; }
.promo-split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 6rem);
}
.promo-split__body.on-ink { background: var(--c-ink); color: var(--c-white); }
.promo-split__body.on-band { background: var(--c-offwhite); }
.promo-split__body h2 { margin-bottom: 1.2rem; }
.promo-split__body .lead { margin-bottom: 2rem; }
.promo-split__body .actions { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 860px) {
  .promo-split { grid-template-columns: 1fr; }
  .promo-split--reverse .promo-split__media { order: 0; }
  .promo-split__media { aspect-ratio: 4/3; min-height: 0; }
}

/* Callout banner (full-bleed CTA) */
.callout {
  position: relative;
  text-align: center;
  color: var(--c-white);
  padding-block: clamp(4.5rem, 11vw, 9rem);
  overflow: hidden;
}
.callout__media { position: absolute; inset: 0; z-index: 0; }
.callout__media img { width: 100%; height: 100%; object-fit: cover; }
.callout__media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}
.callout > .container { position: relative; z-index: 1; }
.callout h2 { color: var(--c-white); margin-bottom: 1.1rem; }
.callout p { color: rgba(255,255,255,0.85); margin-inline: auto; margin-bottom: 2rem; }
.callout .actions { display: inline-flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* -------------------------------------------------------------
   12. PROCESS STEPS
   ------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 1.5rem; }
.step__num {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: var(--fw-light);
  line-height: 1;
  color: var(--c-border);
  margin-bottom: 1rem;
  transition: color var(--t-med) var(--ease);
}
.step:hover .step__num { color: var(--c-accent); }
.step h4 { margin-bottom: 0.6rem; }
.step p { font-size: 0.95rem; color: var(--c-muted); }
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 46px; height: 2px;
  background: var(--c-ink);
}
.section--ink .step__num { color: rgba(255,255,255,0.22); }
.section--ink .step:hover .step__num { color: var(--c-accent); }
.section--ink .step p { color: rgba(255,255,255,0.7); }
.section--ink .step::before { background: var(--c-accent); }

/* -------------------------------------------------------------
   13. FEATURE ROW
   ------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.feature { display: flex; flex-direction: column; gap: 0.9rem; }
.feature__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-accent);
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.feature:hover .feature__icon { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h4 { font-size: 1.05rem; }
.feature p { font-size: 0.92rem; color: var(--c-muted); }
.features--bordered .feature {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
}
.section--ink .feature p { color: rgba(255,255,255,0.7); }
.section--ink .feature__icon { border-color: rgba(255,255,255,0.25); }

/* Stats row */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: var(--fw-light);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__num .unit { color: var(--c-accent); }
.stat__label {
  margin-top: 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.section--ink .stat__label { color: rgba(255,255,255,0.65); }

/* -------------------------------------------------------------
   14. LOOKBOOK
   ------------------------------------------------------------- */
.lookbook {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}
.lookbook__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-band);
}
.lookbook__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.lookbook__item:hover img { transform: scale(1.05); }
.lookbook__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0) 55%);
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.lookbook__item:hover::after { opacity: 1; }
.lookbook__caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 1;
  color: var(--c-white);
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.lookbook__item:hover .lookbook__caption { opacity: 1; transform: translateY(0); }
.lookbook__caption .eyebrow { color: var(--c-accent); margin-bottom: 0.3rem; }
.lookbook__caption h4 { color: var(--c-white); }
/* span helpers */
.lb-6 { grid-column: span 6; aspect-ratio: 3/4; }
.lb-4 { grid-column: span 4; aspect-ratio: 3/4; }
.lb-8 { grid-column: span 8; aspect-ratio: 16/10; }
.lb-12 { grid-column: span 12; aspect-ratio: 21/9; }
@media (max-width: 760px) {
  .lb-6, .lb-4 { grid-column: span 6; }
  .lb-8, .lb-12 { grid-column: span 12; }
}

/* -------------------------------------------------------------
   15. GALLERY (manufacturing / materials)
   ------------------------------------------------------------- */
.gallery {
  columns: 3 260px;
  column-gap: clamp(0.8rem, 1.6vw, 1.4rem);
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: clamp(0.8rem, 1.6vw, 1.4rem);
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  background: var(--c-band);
}
.gallery__item img { width: 100%; transition: transform var(--t-slow) var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery--grid {
  columns: unset;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}
.gallery--grid .gallery__item { margin: 0; aspect-ratio: 1/1; }
.gallery--grid .gallery__item img { height: 100%; object-fit: cover; }

/* -------------------------------------------------------------
   16. SPLIT TEXT/IMAGE (about) + media object
   ------------------------------------------------------------- */
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.media-split--reverse .media-split__media { order: 2; }
.media-split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--c-band);
}
.media-split__media img { width: 100%; height: 100%; object-fit: cover; }
.media-split__media--tall { aspect-ratio: 3/4; }
.media-split__body .eyebrow { margin-bottom: 1.2rem; }
.media-split__body h2 { margin-bottom: 1.4rem; }
.media-split__body p + p { margin-top: 1rem; }
.media-split__body .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 860px) {
  .media-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .media-split--reverse .media-split__media { order: 0; }
}

/* small definition list (about specs) */
.spec-list { display: grid; gap: 0; margin-top: 1.5rem; }
.spec-list__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--c-border);
  font-size: 0.92rem;
}
.spec-list__row:last-child { border-bottom: 1px solid var(--c-border); }
.spec-list__row dt { color: var(--c-muted); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; }
.spec-list__row dd { font-weight: var(--fw-med); text-align: right; }

/* -------------------------------------------------------------
   17. GET IN TOUCH + CONTACT FORM
   ------------------------------------------------------------- */
.get-in-touch {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .get-in-touch { grid-template-columns: 1fr; } }

.contact-form { display: grid; gap: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: var(--fw-med);
}
.field label .req { color: var(--c-accent); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: var(--fw-light);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-ink);
  box-shadow: 0 0 0 3px rgba(176,141,87,0.12);
}
.field input::placeholder,
.field textarea::placeholder { color: #b3b3b0; }

.form-note { font-size: 0.8rem; color: var(--c-muted); }
.form-success {
  display: none;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
  background: var(--c-offwhite);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--c-ink);
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 20px; height: 20px; color: var(--c-accent); flex-shrink: 0; }

/* Contact details list */
.contact-details { display: grid; gap: 1.6rem; }
.contact-card {
  background: var(--c-offwhite);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.detail-row { display: flex; gap: 1.1rem; align-items: flex-start; }
.detail-row + .detail-row { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--c-border); }
.detail-row__icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-accent);
}
.detail-row__icon svg { width: 19px; height: 19px; }
.detail-row__text h4 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); font-weight: var(--fw-med); margin-bottom: 0.3rem; }
.detail-row__text p, .detail-row__text a { font-size: 0.98rem; color: var(--c-ink); }
.detail-row__text a:hover { color: var(--c-accent); }

/* -------------------------------------------------------------
   18. NEWSLETTER (standalone band)
   ------------------------------------------------------------- */
.newsletter-band { text-align: center; }
.newsletter-band h2 { margin-bottom: 0.8rem; }
.newsletter-band p { margin-inline: auto; margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  max-width: 520px;
  margin-inline: auto;
}
.newsletter-form input {
  flex: 1;
  padding: 0.95rem 1.2rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  font-size: 0.95rem;
}
.newsletter-form input:focus { outline: none; border-color: var(--c-ink); }
@media (max-width: 480px) { .newsletter-form { flex-direction: column; } }

/* -------------------------------------------------------------
   19. FOOTER
   ------------------------------------------------------------- */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
}
.site-footer a { color: rgba(255,255,255,0.72); transition: color var(--t-fast) var(--ease); }
.site-footer a:hover { color: var(--c-white); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .logo { color: var(--c-white); font-size: 1.05rem; margin-bottom: 1.2rem; }
.footer-brand .logo .logo__sub { display: inline; color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.6rem; max-width: 34ch; }

.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.footer-social a:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-white); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5,
.footer-contact h5,
.footer-col__h5 {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 1.4rem;
}
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col ul a { font-size: 0.9rem; }

.footer-contact ul { display: grid; gap: 0.9rem; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--c-accent); flex-shrink: 0; margin-top: 3px; }

.footer-newsletter { margin-top: 1.6rem; }
.footer-newsletter p { font-size: 0.84rem; margin-bottom: 0.9rem; }
.footer-newsletter form { display: flex; border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius); overflow: hidden; }
.footer-newsletter input {
  flex: 1;
  padding: 0.8rem 1rem;
  background: transparent;
  border: none;
  color: var(--c-white);
  font-size: 0.86rem;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.45); }
.footer-newsletter input:focus { outline: none; }
.footer-newsletter button {
  padding: 0 1.2rem;
  background: var(--c-accent);
  color: var(--c-white);
  transition: background var(--t-fast) var(--ease);
}
.footer-newsletter button:hover { background: var(--c-accent-dk); }
.footer-newsletter button svg { width: 18px; height: 18px; }
.footer-newsletter .form-success { margin-top: 0.8rem; background: transparent; border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.payment-badges { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.pay-badge {
  height: 26px;
  min-width: 40px;
  padding: 0 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
}
.footer-bottom__links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* -------------------------------------------------------------
   20. CART DRAWER
   ------------------------------------------------------------- */
.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 92vw);
  background: var(--c-white);
  z-index: 130;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem var(--gutter);
  border-bottom: 1px solid var(--c-border);
}
.cart-drawer__head h3 { font-size: 1.1rem; letter-spacing: 0.1em; text-transform: uppercase; }
.cart-drawer__body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; gap: 1.2rem; color: var(--c-muted); }
.cart-drawer__body svg { width: 48px; height: 48px; color: var(--c-border); }
.cart-drawer__foot { padding: 1.5rem var(--gutter); border-top: 1px solid var(--c-border); }

/* -------------------------------------------------------------
   21. MODAL (quote request)
   ------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,15,15,0.55); backdrop-filter: blur(3px); }
.modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--t-med) var(--ease-out);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--c-muted);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.modal__close:hover { background: var(--c-offwhite); color: var(--c-ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal__head { margin-bottom: 1.6rem; }
.modal__head .eyebrow { margin-bottom: 0.7rem; }
.modal__head h3 { font-size: 1.5rem; }
.modal__head p { font-size: 0.92rem; color: var(--c-muted); margin-top: 0.5rem; }

/* -------------------------------------------------------------
   22. PROSE (legal / policy pages)
   ------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.3rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.8rem; margin-bottom: 0.4rem; }
.prose h3 { font-size: var(--fs-h4); margin-top: 2rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: #3a3a3a; line-height: 1.85; font-weight: var(--fw-light); }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: 0.6rem; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: var(--fw-semi); color: var(--c-ink); }
.prose .updated { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.prose hr { border: none; border-top: 1px solid var(--c-border); margin-block: 2rem; }

/* -------------------------------------------------------------
   23. 404
   ------------------------------------------------------------- */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section-pad);
}
.notfound__code {
  font-family: var(--font-head);
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: var(--fw-light);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--c-band);
}
.notfound__code span { color: var(--c-accent); }
.notfound h1 { font-size: var(--fs-h3); margin: 0.5rem 0 1rem; }
.notfound p { margin-inline: auto; margin-bottom: 2rem; }

/* Inline row of buttons (404 actions, etc.) */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* -------------------------------------------------------------
   FAQ / disclosure accordions (contact .faq + product .prose details)
   ------------------------------------------------------------- */
.faq { display: grid; gap: 0; }
.faq details,
.prose details {
  border-bottom: 1px solid var(--c-border);
}
.faq details:first-child { border-top: 1px solid var(--c-border); }
.faq summary,
.prose summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-head);
  font-weight: var(--fw-medium);
  color: var(--c-ink);
  transition: color var(--t-fast) var(--ease);
}
.faq summary::-webkit-details-marker,
.prose summary::-webkit-details-marker { display: none; }
.faq summary:hover,
.prose summary:hover { color: var(--c-accent); }
.faq summary::after,
.prose summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t-fast) var(--ease);
}
.faq details[open] summary::after,
.prose details[open] summary::after { transform: rotate(-135deg); }
.faq details > p,
.prose details > p { margin-bottom: 1.1rem; color: var(--c-muted); }
.faq details > p:last-child,
.prose details > p:last-child { margin-bottom: 1.25rem; }

/* -------------------------------------------------------------
   24. IMAGE TREATMENTS (duotone / overlays)
   ------------------------------------------------------------- */
.img-duotone { filter: grayscale(1) contrast(1.05); transition: filter var(--t-slow) var(--ease); }
.img-duotone:hover { filter: grayscale(0) contrast(1); }
.img-mono { filter: grayscale(1); }
.img-cover { width: 100%; height: 100%; object-fit: cover; }

.overlay-wrap { position: relative; }
.overlay-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0));
  pointer-events: none;
}
.overlay-wrap--bronze::after {
  background: linear-gradient(135deg, rgba(176,141,87,0.28), rgba(0,0,0,0.35));
  mix-blend-mode: multiply;
}

/* -------------------------------------------------------------
   25. SCROLL REVEAL
   ------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------------
   26. UTILITIES
   ------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.grid { display: grid; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.gap-sm { gap: 0.6rem; } .gap-md { gap: 1rem; } .gap-lg { gap: 2rem; }

.mt-0 { margin-top: 0; }  .mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; } .mb-6 { margin-bottom: 3rem; }

.full-bleed { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.rounded { border-radius: var(--radius); }
.divider { height: 1px; background: var(--c-border); border: none; }
.hide-mobile { }
@media (max-width: 700px) { .hide-mobile { display: none !important; } }
@media (min-width: 701px) { .show-mobile { display: none !important; } }

/* ============================================================
   Product detail page (PDP) — generated product pages
   ============================================================ */
.pdp { align-items: start; gap: clamp(2rem, 5vw, 4.5rem); }
.pdp__gallery { position: sticky; top: calc(var(--header-h, 72px) + 18px); }
.pdp__main img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block;
  border: 1px solid var(--c-border); border-radius: 2px; background: var(--c-offwhite); }
.pdp__thumbs { display: flex; gap: 0.6rem; margin-top: 0.8rem; flex-wrap: wrap; }
.pdp-thumb { width: 76px; height: 95px; padding: 0; border: 1px solid var(--c-border);
  background: var(--c-offwhite); cursor: pointer; border-radius: 2px; overflow: hidden;
  transition: border-color var(--ease, 0.25s ease); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { border-color: var(--c-muted); }
.pdp-thumb.is-active { border-color: var(--c-ink); }
.pdp__info > .eyebrow { color: var(--c-accent); }
.pdp__info h1 { margin: 0.5rem 0 0.7rem; }
.pdp__desc { margin: 1.5rem 0; }
.pdp__desc p { margin-bottom: 0.8rem; }
.pdp__info .spec-list { margin: 1.6rem 0; border-top: 1px solid var(--c-border); }
.pdp__info .spec-list__row { display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--c-border); font-size: 0.92rem; }
.pdp__info .spec-list__row span:first-child { color: var(--c-muted); }
.pdp__info .spec-list__row span:last-child { text-align: right; font-weight: 500; }
.pdp__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
@media (max-width: 900px) { .pdp__gallery { position: static; } }

/* ---- Homepage: process step images + callout safeguard ---- */
.step__media { aspect-ratio: 5/4; overflow: hidden; border-radius: 2px; margin-bottom: 1.1rem; background: var(--c-offwhite); }
.step__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-slow, .6s) var(--ease, ease); }
.step:hover .step__media img { transform: scale(1.05); }
.grid-2 > .callout { min-height: 340px; display: flex; align-items: center; }

/* ---- Brands & Partners auto-scroll marquee ---- */
.brand-marquee { overflow: hidden; position: relative; padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.brand-marquee__track { display: flex; width: max-content; animation: brand-scroll 40s linear infinite; }
.brand-marquee:hover .brand-marquee__track { animation-play-state: paused; }
.brand-marquee__group { display: flex; flex-shrink: 0; }
.brand-marquee__item { flex: 0 0 auto; width: clamp(150px, 18vw, 220px); height: clamp(96px, 12vw, 132px);
  margin: 0 0.7rem; border: 1px solid var(--c-border); border-radius: 3px; background: var(--c-white);
  overflow: hidden; display: flex; align-items: center; justify-content: center; }
.brand-marquee__item img { width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(100%); opacity: 0.78; transition: filter .3s var(--ease, ease), opacity .3s var(--ease, ease); }
.brand-marquee__item:hover img { filter: grayscale(0); opacity: 1; }
@keyframes brand-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* ---- Form error state (Web3Forms delivery failures) ---- */
.form-success.is-error { color: var(--c-sale, #e84e4e); border-color: var(--c-sale, #e84e4e); background: #fbeaea; }

/* ============================================================
   Floating WhatsApp chat button (all pages)
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: inline-flex; align-items: center; justify-content: center;
  height: 58px; width: 58px; padding: 0;
  background: #25D366; color: #fff; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
  transition: width .3s var(--ease, ease), padding .3s var(--ease, ease), background .2s var(--ease, ease);
  overflow: hidden; white-space: nowrap;
  animation: wa-pulse 2.6s infinite;
}
.wa-float svg { width: 30px; height: 30px; flex: 0 0 auto; }
.wa-float__label { max-width: 0; opacity: 0; margin-left: 0; font-weight: 500; font-size: .95rem;
  transition: max-width .3s var(--ease, ease), opacity .25s var(--ease, ease), margin .3s var(--ease, ease); }
.wa-float:hover, .wa-float:focus-visible {
  width: auto; padding: 0 20px 0 15px; background: #1ebe5b; animation-play-state: paused;
}
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 170px; opacity: 1; margin-left: 9px; }
.wa-float:focus-visible { outline: 3px solid rgba(37,211,102,.45); outline-offset: 3px; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 8px 22px rgba(0,0,0,.22), 0 0 0 0 rgba(37,211,102,.45); }
  70%  { box-shadow: 0 8px 22px rgba(0,0,0,.22), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 22px rgba(0,0,0,.22), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: 16px; height: 54px; width: 54px; } .wa-float svg { width: 28px; height: 28px; } }

/* ============================================================
   Mobile optimization (phones ≤600px)
   ============================================================ */
@media (max-width: 600px) {
  /* Header: trim to logo + cart + menu so it fits a phone (no sideways scroll) */
  .logo__sub { display: none; }
  .logo { font-size: 0.9rem; gap: 0.45rem; }
  .header-icons { gap: 0.2rem; }
  .header-icons [data-search-toggle],
  .header-icons .header-icon-link { display: none; }   /* search + account live in the menu */

  /* Two-up grids on phones (were cramped 4-up) */
  .cat-grid, .cat-grid--3, .cat-grid--4,
  .product-grid, .product-grid--3, .product-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }

  /* Marquee tiles a touch smaller */
  .brand-marquee__item { width: 150px; height: 92px; }
}

/* very small phones */
@media (max-width: 360px) {
  .logo { font-size: 0.82rem; }
  .cat-grid, .cat-grid--3, .cat-grid--4 { gap: 0.6rem; }
}

/* Mobile header fit — keep logo + cart + menu button on-screen */
@media (max-width: 600px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .site-header__inner { gap: 0.5rem; }
  .logo { min-width: 0; overflow: hidden; letter-spacing: 0; font-size: 0.8rem; }
  .logo > span:not(.logo__mark) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo__mark { flex: 0 0 auto; width: 26px; height: 26px; min-width: 26px; }
  .header-icons { flex: 0 0 auto; gap: 0.1rem; }
  .header-icons > button, .header-icons > a { width: 40px; height: 40px; }
}
