/*
Theme Name: Bay Custom Embroidery — Ink & Thread
Theme URI: https://baycustomsf.com
Author: Bay Custom Embroidery
Description: 2026 redesign of Bay Custom Embroidery. A premium "Ink & Thread" design system — deep ink navy, porcelain paper, and a thread-gold accent — over the same WooCommerce shop, OTTO inventory sync, and quote workflow. Ships as a new theme so rollback to the previous theme is instant.
Version: 5.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bay-custom-2026
*/
/* =====================================================================
   Bay Custom Embroidery — 2026 redesign
   Design system: "Ink & Thread"
   Deep ink navy · porcelain paper · thread-gold accent
   Type: Bricolage Grotesque (display) · Inter (body) · IBM Plex Mono (labels)
   ===================================================================== */

/* ------------------------------------------------------------ tokens */
:root {
  --ink: #101820;
  --ink-800: #16212c;
  --ink-700: #1e2d3b;
  --ink-600: #2a3c4e;
  --paper: #f4f3ef;
  --paper-deep: #eceae3;
  --card: #ffffff;
  --gold: #c9922e;
  --gold-deep: #a8761f;
  --gold-soft: #e8c97f;
  --gold-tint: #f6ecd8;
  --muted: #5f6b76;
  --mist: #9fabb6;
  --line: #dcdad2;
  --line-strong: #c9c6bc;
  --line-dark: rgba(255, 255, 255, 0.14);
  --ok: #2e7d4f;
  --danger: #b3402e;

  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --shell: 1240px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-1: 0 2px 8px rgba(16, 24, 32, 0.07);
  --shadow-2: 0 14px 40px rgba(16, 24, 32, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* type scale */
.display {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  font-weight: 700;
  line-height: 1.02;
}
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 9px);
}
.on-dark .eyebrow, .eyebrow--light { color: var(--gold-soft); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.on-dark .lead { color: var(--mist); }

/* stitch divider */
.stitch-line {
  height: 2px;
  border: 0;
  margin: 0;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 9px, transparent 9px 16px);
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); color: #fff; box-shadow: var(--shadow-2); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-700); box-shadow: var(--shadow-2); }

.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); }

.btn--outline-light { border-color: var(--line-dark); color: var(--paper); background: transparent; }
.btn--outline-light:hover { border-color: var(--paper); }

.btn--outline-ink { border-color: rgba(16, 24, 32, 0.35); color: var(--ink); background: transparent; }
.btn--outline-ink:hover { border-color: var(--ink); }

.btn--small { padding: 10px 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }

.text-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px dashed var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--gold-deep); }

/* ------------------------------------------------------------ topbar */
.topbar {
  background: var(--ink);
  color: var(--mist);
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
}
.topbar p { margin: 0; }
.topbar__fact { color: var(--gold-soft); }
@media (max-width: 980px) {
  .topbar__fact { display: none; }
}
@media (max-width: 560px) {
  .topbar__hours { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ------------------------------------------------------------ header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 24, 32, 0.92);
  backdrop-filter: blur(12px);
  color: var(--paper);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(16, 24, 32, 0.35); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark { width: 40px; height: 40px; flex: none; color: currentColor; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.brand__word em {
  font-style: normal;
  font-weight: 500;
  color: var(--gold-soft);
  font-size: 0.82em;
  letter-spacing: 0.06em;
}

.nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--mist);
  border-radius: var(--r-sm);
  transition: color 0.2s, background-color 0.2s;
}
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__list a[aria-current="page"] {
  color: var(--gold-soft);
  position: relative;
}
.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 9px);
}
.nav__extra { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header__phone {
  color: var(--mist);
  text-decoration: none;
  font-size: 0.8rem;
}
.header__phone:hover { color: #fff; }

.cartbtn {
  position: relative;
  background: none;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r-sm);
  color: var(--paper);
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.cartbtn:hover { border-color: var(--gold); }
.cartbtn svg { width: 20px; height: 20px; }
.cartbtn__count {
  position: absolute;
  top: -7px; right: -7px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
}

.burger {
  display: none;
  background: none;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r-sm);
  width: 42px; height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 980px) {
  /* header's backdrop-filter makes it the containing block for fixed
     descendants, so size the overlay in viewport units instead of inset */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
    z-index: 90;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; text-align: center; gap: 8px; }
  .nav__list a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--paper); }
  .nav__list a[aria-current="page"]::after { left: 30%; right: 30%; }
  .nav__extra { display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .nav__phone { color: var(--gold-soft); text-decoration: none; }
  .header__phone, .header__cta { display: none; }
  .burger { display: inline-flex; z-index: 95; }
}

/* ------------------------------------------------------------ hero */
.hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 130px);
  position: relative;
}
.hero__title { margin-bottom: 22px; }
.hero__title .thread {
  color: var(--gold-soft);
  position: relative;
  white-space: nowrap;
}
.hero__title .thread::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 3px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 17px);
}
.hero__sub { max-width: 50ch; color: var(--mist); font-size: 1.14rem; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.hero__proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-soft);
}
.hero__proof span { color: var(--mist); font-size: 0.85rem; }

.hero__media {
  position: relative;
  min-height: 420px;
}
.hero__photo {
  position: absolute;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--a {
  width: 62%;
  aspect-ratio: 4 / 5;
  top: 0; left: 0;
  transform: rotate(-2.5deg);
}
.hero__photo--b {
  width: 46%;
  aspect-ratio: 1;
  right: 0; top: 14%;
  transform: rotate(2deg);
  z-index: 2;
}
.hero__photo--c {
  width: 44%;
  aspect-ratio: 4 / 5;
  left: 26%;
  bottom: -4%;
  transform: rotate(1.5deg);
  z-index: 3;
}
.hero__badge {
  position: absolute;
  z-index: 4;
  right: 4%;
  bottom: 8%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-2);
  transform: rotate(-2deg);
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: 56px 72px; }
  .hero__media { min-height: 0; height: 400px; margin-top: 8px; }
}
@media (max-width: 560px) {
  .hero__media { height: 300px; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* ------------------------------------------------------------ marquee */
.marquee {
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
  border-block: 2px solid var(--ink);
  padding-block: 12px;
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__seq {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.marquee__seq span { padding-inline: 22px; }
.marquee__seq span::after { content: "✕"; margin-left: 44px; font-size: 0.7em; opacity: 0.55; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ------------------------------------------------------------ sections */
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--deep { background: var(--paper-deep); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head .h2 { margin-bottom: 0; max-width: 22ch; }
.section-head__aside { flex: none; padding-bottom: 6px; }
@media (max-width: 720px) {
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------ service cards */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: var(--gold);
}
.svc-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.svc-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.svc-card__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-deep);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.svc-card__body h3 { font-size: 1.35rem; }
.svc-card__body p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.svc-card__more {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-top: 12px;
}
.svc-card__more::after { content: " →"; color: var(--gold-deep); transition: margin-left 0.25s var(--ease); }
.svc-card:hover .svc-card__more::after { margin-left: 6px; }
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ------------------------------------------------------------ work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.work-tile { margin: 0; }
.work-tile__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.work-tile__btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.work-tile__btn img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.work-tile figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 10px 4px 0;
}
.section--dark .work-tile figcaption { color: var(--mist); }
.section--dark .work-tile__btn { border-color: var(--line-dark); background: var(--ink-800); }

/* filter pills */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-soft);
}
[data-cat].is-filtered-out { display: none; }

/* ------------------------------------------------------------ process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  padding-top: 22px;
}
.step::before {
  content: "";
  position: absolute;
  top: 7px; left: 0; right: -22px;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 9px, transparent 9px 16px);
}
.step:last-child::before { right: 0; }
.step::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 2px var(--gold);
}
.step__num {
  font-family: var(--font-mono);
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
}
.step h3 { font-size: 1.22rem; margin: 6px 0 8px; }
.step p { color: var(--mist); font-size: 0.94rem; margin: 0; }
.step__chip {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-soft);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 4px 12px;
}
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
}

/* ------------------------------------------------------------ product cards */
.p-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.p-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .p-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .p-grid, .p-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.p-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.p-card__media {
  position: relative;
  display: block;
  background: #fff;
}
.p-card__media img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.p-card__tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--ink);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.p-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-card__name { font-size: 1.02rem; font-weight: 600; margin: 0; }
.p-card__name a { text-decoration: none; display: flex; align-items: center; gap: 8px; }
.p-card__name a:hover { color: var(--gold-deep); }
.p-card__swatch {
  width: 14px; height: 14px;
  flex: none;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid rgba(16, 24, 32, 0.2);
}
.p-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0;
}
.p-card__stock { color: var(--ok); font-weight: 500; }
.p-card__stock--out { color: var(--danger); }
.p-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto 0 0;
  padding-top: 10px;
  gap: 8px;
}
.p-card__price { font-size: 1.05rem; font-weight: 600; }
/* WooCommerce's own "View cart" link that appears next to the button
   right after adding an item — not wanted here. */
.p-card__row .added_to_cart { display: none; }
/* The default WC button (13px/26px padding, ~1rem font) is sized for a
   full-width single-product page, not a narrow card row next to the
   price — shrink it so "Select options" always fits its card. */
.p-card__row .button {
  padding: 8px 12px;
  font-size: 0.78rem;
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}
@media (max-width: 480px) {
  .p-card__row { flex-wrap: wrap; }
  .p-card__row .button { padding: 5px 8px; font-size: 0.62rem; }
  .p-card__price { font-size: 0.85rem; }
}

/* ------------------------------------------------------------ PDP */
.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--muted);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-deep); }

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  /* Gallery top-left, buy-box spans the right column, description flows
     directly under the gallery — no empty band when the gallery is short. */
  grid-template-areas: "gallery info" "tabs info";
  align-items: start;
  column-gap: clamp(28px, 4.5vw, 64px);
  row-gap: clamp(22px, 3vw, 40px);
  padding-block: 30px clamp(40px, 6vw, 80px);
}
.pdp__media { grid-area: gallery; }
.pdp__info  { grid-area: info; align-self: start; }
.pdp__tabs  { grid-area: tabs; min-width: 0; }
/* Related products full-width block below the product */
.section--related { padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.pdp__stage {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumb {
  width: 76px; height: 76px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.is-active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

.pdp__title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 6px; }
.pdp__subtitle { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.pdp__price { font-size: 1.5rem; font-weight: 600; margin-bottom: 20px; }
.pdp__price-note {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.pdp__swatches { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pdp__swatch-label { color: var(--muted); font-size: 0.75rem; }
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1.5px solid rgba(16, 24, 32, 0.22);
  transition: transform 0.2s var(--ease);
}
.swatch:hover { transform: scale(1.15); }
.swatch.is-active { box-shadow: 0 0 0 2.5px var(--paper), 0 0 0 5px var(--gold); }
.swatch--img {
  width: 34px; height: 34px;
  background: #fff;
  overflow: hidden;
  display: inline-flex;
}
.swatch--img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pdp__desc { color: var(--muted); }
.pdp__stock { margin: 18px 0 22px; color: var(--ok); font-size: 0.8rem; }
.pdp__actions { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }
.pdp__actions .btn { flex: 1; min-width: 180px; }

.qty {
  display: inline-flex;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.qty__btn {
  width: 44px;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--muted);
}
.qty__btn:hover { background: var(--paper-deep); color: var(--ink); }
.qty__input {
  width: 56px;
  border: 0;
  text-align: center;
  font-size: 1rem;
  background: transparent;
  -moz-appearance: textfield;
}
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; }

.pdp__quote-link {
  display: block;
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--gold-tint);
  border: 1px dashed var(--gold);
  border-radius: var(--r-sm);
  text-decoration: none;
  font-size: 0.95rem;
}
.pdp__quote-link:hover strong { color: var(--gold-deep); }
.pdp__notes { margin-top: 26px; }

@media (max-width: 900px) {
  .pdp {
    grid-template-columns: 1fr;
    grid-template-areas: "gallery" "info" "tabs"; /* stack: photos, buy-box, description */
  }
}

/* ------------------------------------------------------------ accordions */
.acc {
  border-bottom: 1px solid var(--line);
}
.acc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 2px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--gold-deep);
  font-size: 1.2rem;
  flex: none;
  transition: transform 0.3s var(--ease);
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 2px 20px; color: var(--muted); max-width: 65ch; }
.acc__body p:last-child { margin-bottom: 0; }
.section--dark .acc { border-color: var(--line-dark); }
.section--dark .acc__body { color: var(--mist); }

.faq-cols {
  columns: 2;
  column-gap: 40px;
}
.faq-cols .acc { break-inside: avoid; }
@media (max-width: 860px) { .faq-cols { columns: 1; } }

/* ------------------------------------------------------------ client strip */
.clients {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  align-items: baseline;
  justify-content: center;
}
.clients span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--muted);
  opacity: 0.85;
}
.clients span:nth-child(odd) { color: var(--ink); opacity: 0.55; }

/* ------------------------------------------------------------ CTA band */
.cta-band {
  background: var(--gold);
  color: var(--ink);
  border-block: 2px solid var(--ink);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: clamp(44px, 6vw, 72px);
}
.cta-band .eyebrow { color: var(--ink); }
.cta-band .h2 { margin: 0; }
.cta-band__actions { display: flex; gap: 14px; flex: none; flex-wrap: wrap; }
@media (max-width: 860px) {
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------ footer */
.footer {
  background: var(--ink);
  color: var(--mist);
  padding-top: clamp(52px, 6vw, 84px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
}
.footer__brand .brand__mark { color: var(--paper); margin-bottom: 14px; }
.footer__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--paper);
  margin-bottom: 8px;
}
.footer__tag { font-size: 0.92rem; max-width: 34ch; }
.footer__contact { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.footer__contact a { color: var(--mist); text-decoration: none; font-size: 0.8rem; }
.footer__contact a:hover { color: var(--gold-soft); }

.footer__col h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer__col a {
  display: block;
  color: var(--mist);
  text-decoration: none;
  padding-block: 5px;
  font-size: 0.95rem;
}
.footer__col a:hover { color: #fff; }

.footer__hours { margin: 0; }
.footer__hours div { display: flex; justify-content: space-between; gap: 12px; padding-block: 3px; font-size: 0.8rem; }
.footer__hours dt { color: var(--mist); }
.footer__hours dd { margin: 0; color: var(--paper); }

.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.footer__social a:hover { color: var(--gold-soft); border-color: var(--gold); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  font-size: 0.72rem;
}
.footer__bottom p { margin: 0; }
.footer__preview-note { color: var(--gold-soft); }
@media (max-width: 980px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 74px; } /* room for mobile bar */
}

/* ------------------------------------------------------------ mobile bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 80;
  background: rgba(16, 24, 32, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  color: var(--paper);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}
.mobile-bar svg { width: 17px; height: 17px; }
.mobile-bar__quote { background: var(--gold); color: var(--ink) !important; }
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
}

/* ------------------------------------------------------------ cart drawer */
.cart { position: fixed; inset: 0; z-index: 150; }
.cart__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 18, 0.6);
  backdrop-filter: blur(3px);
}
.cart__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 100%);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
  animation: cart-in 0.35s var(--ease);
}
@keyframes cart-in { from { transform: translateX(40px); opacity: 0; } }
.cart__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cart__head h2 { margin: 0; font-size: 1.3rem; }
.cart__x {
  background: none;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  width: 38px; height: 38px;
  cursor: pointer;
  font-size: 0.9rem;
}
.cart__items { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-block: 12px;
  border-bottom: 1px dashed var(--line-strong);
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); }
.cart-item__name { font-weight: 600; font-size: 0.92rem; text-decoration: none; display: block; }
.cart-item__meta { font-size: 0.78rem; color: var(--muted); }
.cart-item__remove {
  background: none;
  border: 0;
  color: var(--danger);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 4px;
  font-family: var(--font-mono);
}
.cart__empty { color: var(--muted); text-align: center; padding: 40px 10px; }
.cart__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0)); border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.cart__note { color: var(--muted); font-size: 0.7rem; margin: 12px 0 0; }

/* ------------------------------------------------------------ lightbox */
.lightbox[hidden], .cart[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(10, 14, 18, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}
.lightbox__img {
  max-width: min(92vw, 1000px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--r-sm);
}
.lightbox__caption { color: var(--mist); margin: 0; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------ quote form */
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 44px);
  box-shadow: var(--shadow-1);
}

.form-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}
.form-progress span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}
.form-progress span.is-done { background: var(--gold); }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
}
.field label .opt { color: var(--muted); font-weight: 400; }
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-tint);
}
.field textarea { min-height: 120px; resize: vertical; }
.field__hint { font-size: 0.78rem; color: var(--muted); margin: 6px 0 0; }
.field--error input, .field--error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.78rem; margin: 6px 0 0; display: none; }
.field--error .field__error { display: block; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.choice-grid--2 { grid-template-columns: repeat(2, 1fr); }
.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.choice span {
  display: block;
  text-align: center;
  padding: 13px 10px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-soft);
}
.choice input:focus-visible + span { outline: 2.5px solid var(--gold); outline-offset: 2px; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr 1fr; } }

.dropzone {
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: 30px 20px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--gold); background: var(--gold-tint); }
.dropzone strong { color: var(--ink); }
.dropzone input { display: none; }
.dropzone__files { margin-top: 10px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold-deep); }

.form-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; }
.form-step[hidden] { display: none; }

.form-success { text-align: center; padding: 30px 10px; }
.form-success__icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold-tint);
  border: 2px dashed var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-deep);
}

.aside-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  position: sticky;
  top: 100px;
}
.aside-card h3 { color: var(--gold-soft); font-size: 1.15rem; }
.aside-card ol {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
  counter-reset: n;
}
.aside-card ol li {
  counter-increment: n;
  display: flex;
  gap: 14px;
  padding-block: 10px;
  border-bottom: 1px dashed var(--line-dark);
  font-size: 0.93rem;
  color: var(--mist);
}
.aside-card ol li::before {
  content: counter(n, decimal-leading-zero);
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.8rem;
  padding-top: 2px;
}
.aside-card__alt { display: flex; flex-direction: column; gap: 10px; }
.aside-card__alt a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--paper);
  font-size: 0.9rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.aside-card__alt a:hover { border-color: var(--gold); background: rgba(201, 146, 46, 0.08); }
.aside-card__alt .mono { color: var(--gold-soft); font-size: 0.72rem; }

/* ------------------------------------------------------------ page hero (interior) */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(44px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 10px; }
.page-hero .lead { margin-bottom: 0; }

/* ------------------------------------------------------------ info blocks */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.5vw, 70px);
  align-items: center;
}
.split--rev > :first-child { order: 2; }
.split__media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.split__media img { width: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

.check-list { list-style: none; margin: 0 0 26px; padding: 0; }
.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 7px);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
}
.info-card h3 { font-size: 1.1rem; }
.info-card p { color: var(--muted); font-size: 0.94rem; margin: 0; overflow-wrap: break-word; }
.info-card p a { color: var(--gold-deep); }
.info-card .mono { color: var(--gold-deep); display: block; margin-bottom: 10px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }
@media (max-width: 860px) { .info-cards { grid-template-columns: 1fr; } }

/* stats row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.stat-row > div {
  padding: 26px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
}
.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--gold-soft);
}
.stat-row span { color: var(--mist); font-size: 0.85rem; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* prose (policies) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .mono { color: var(--gold-deep); }

/* map/visit */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 12px 4px;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 0.95rem;
}
.hours-table td:last-child { text-align: right; font-family: var(--font-mono); font-size: 0.85rem; }
.hours-table tr.is-today td { color: var(--gold-deep); font-weight: 600; }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ------------------------------------------------------------ styleguide */
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.sg-swatch { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.sg-swatch__chip { height: 84px; }
.sg-swatch__label { padding: 10px 14px; font-size: 0.72rem; }
.sg-block { margin-bottom: 56px; }
.sg-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ------------------------------------------------------------ reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; }
}

/* toast */
.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--gold);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  z-index: 170;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
/* =====================================================================
   WooCommerce integration — cart, checkout, account, notices, single
   product summary. Reskins default WooCommerce markup to the Ink &
   Thread system without altering WooCommerce behavior.
   ===================================================================== */

/* neutralize default WC product grid on our custom archive */
.woocommerce ul.products,
.woocommerce-page ul.products {
  margin: 0; padding: 0; list-style: none;
  /* related products & shortcodes render straight into ul.products —
     give it the same responsive grid as the shop page */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

/* WC notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.wc-block-components-notice-banner {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-md);
  padding: 16px 20px;
  color: var(--ink);
  box-shadow: var(--shadow-1);
  list-style: none;
  margin-bottom: 22px;
  font-size: 0.95rem;
}
.woocommerce-error { border-left-color: var(--danger); }
.woocommerce-message { border-left-color: var(--ok); }
.woocommerce-message .button,
.woocommerce-info .button {
  float: right;
  margin-left: 14px;
}

/* WC buttons -> our button system */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-components-button {
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  padding: 13px 26px;
  font-size: 0.98rem;
  line-height: 1.2;
  transition: transform 0.25s var(--ease), background-color 0.2s, box-shadow 0.25s var(--ease);
  cursor: pointer;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-button:hover {
  background: var(--ink-700);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover {
  background: var(--gold-deep);
  color: #fff;
  border-color: var(--gold-deep);
}

/* WC form fields */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .select2-container--default .select2-selection--single,
.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce #order_review input,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font: inherit;
  background: var(--card);
  color: var(--ink);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-tint);
}
.woocommerce form .form-row label,
.woocommerce-checkout label { font-weight: 500; }

/* cart + checkout tables */
.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--card);
}
.woocommerce table.shop_table th { background: var(--paper-deep); font-family: var(--font-display); }
.woocommerce table.shop_table td,
.woocommerce table.shop_table th { padding: 16px; border-top: 1px solid var(--line); }
.woocommerce .cart_totals h2,
.woocommerce-checkout h3 { font-family: var(--font-display); }
.woocommerce .quantity .qty {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 8px;
  width: 68px;
  font: inherit;
  text-align: center;
}

/* order review / totals accent */
.woocommerce-checkout #payment,
.woocommerce .cart-collaterals .cart_totals {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
}
.woocommerce-checkout #payment { border-top: 3px solid var(--gold); }

/* brand logo (original transparent PNG) sits directly on the header —
   no chip/box, per owner request */
.brand--logo { padding: 0; }
.brand--logo .brand__img,
.brand--logo .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 52px;
}
.brand--logo .brand__word { color: var(--paper); }
.brand--logo .brand__word em { display: block; }
@media (max-width: 560px) {
  .brand--logo .brand__img,
  .brand--logo .custom-logo { max-height: 40px; }
  .brand--logo .brand__word { font-size: 0.92rem; }
}

/* hide WooCommerce's default stock line — the PDP shows its own richer one */
.woocommerce div.product .summary > p.stock { display: none; }

/* price color */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
}
.woocommerce div.product p.price { font-size: 1.5rem; }

/* single product summary (uses WC default summary alongside our gallery hook) */
.woocommerce div.product .product_title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--muted);
  margin-bottom: 8px;
}
/* native add-to-cart form laid out like the redesign's action row */
/* The design system's slide-out cart drawer uses a bare `.cart` selector
   (position:fixed; inset:0). WooCommerce's add-to-cart form is <form class="cart">,
   so it collides and gets pinned full-screen. Reset it back to normal flow. */
.woocommerce form.cart,
.woocommerce div.product form.cart {
  position: static;
  inset: auto;
  z-index: auto;
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
  animation: none;
}
.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0 4px;
}
.woocommerce div.product form.cart .quantity { flex: none; }
.woocommerce div.product form.cart .button {
  flex: 1 1 auto;
  min-width: 200px;
  padding-block: 15px;
  align-self: stretch;
}
/* the summary column is placed via grid-template-areas (grid-area: info) */
.woocommerce div.product.pdp > .summary { margin: 0; }
/* product data tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--line);
  display: flex;
  gap: 6px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 18px;
  color: var(--muted);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-family: var(--font-display); }

/* pagination / result count / ordering (hidden on custom archive, styled where WC shows them) */
.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  gap: 6px;
  display: flex;
  justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--ink);
  color: var(--gold-soft);
}

/* my-account nav */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--line);
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 13px 18px;
  text-decoration: none;
  font-weight: 500;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--ink);
  color: var(--gold-soft);
}

/* WC content wrapper spacing */
/* .wc-wrap already sets its own vertical rhythm — cancel the parent
   .section's padding-top so cart/checkout/account don't get double
   whitespace stacked above the actual content. */
.section:has(> .shell.wc-wrap) { padding-top: 0; }
.wc-wrap { padding-block: clamp(24px, 4vw, 56px); }
.wc-wrap .shell > .woocommerce { margin: 0 auto; }

/* star ratings */
.woocommerce .star-rating span::before,
.woocommerce p.stars a::before { color: var(--gold); }

/* onsale badge */
.woocommerce span.onsale {
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
  border-radius: 999px;
  min-height: 0;
  min-width: 0;
  padding: 4px 12px;
  line-height: 1.4;
}

/* floating cart button from ported hook — restyle to gold pill.
   Desktop already shows a cart icon + count in the header, so this
   floating duplicate is mobile-only (where it's a useful thumb-reach
   shortcut instead of clutter). */
.floating-cart-button {
  display: none;
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 70;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  box-shadow: var(--shadow-2);
  border: 1.5px solid var(--ink);
}
.floating-cart-button:hover { background: var(--gold-deep); color: #fff; }
.floating-cart-icon svg { width: 20px; height: 20px; display: block; }
.floating-cart-count { font-size: 0.85rem; }
@media (max-width: 720px) { .floating-cart-button { bottom: 76px; display: inline-flex; } }

/* ==================================================================
   Restored storefront features (finalized-design parity)
   ================================================================== */

/* Two-path shop cards */
.shop-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 32px; }
@media (max-width: 780px) { .shop-paths { grid-template-columns: 1fr; } }
.shop-path { border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 26px 28px; background: #fff; }
.shop-path__tag { display: inline-block; font-size: 0.68rem; letter-spacing: 0.09em; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.shop-path h3 { margin: 0 0 8px; }
.shop-path p { color: var(--muted); margin: 0 0 16px; }

/* Availability badge on product cards */
.p-card__avail {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--ink);
}
.p-card__avail--in-store { background: var(--gold); color: var(--ink); }
.p-card__media { position: relative; }

/* On narrow mobile cards the category tag (top-left) and availability
   badge (top-right) are wide enough together to overlap. Move the
   availability badge under the category tag instead of beside it. */
@media (max-width: 560px) {
  .p-card__tag { font-size: 0.58rem; padding: 3px 8px; }
  .p-card__avail {
    top: 40px; right: 12px;
    font-size: 0.58rem; padding: 3px 8px;
  }
}

/* Shop toolbar: search + filters */
.shop-toolbar { margin: 0 0 28px; }
.shop-search { display: flex; gap: 10px; margin-bottom: 14px; max-width: 560px; }
.shop-search input[type=search] {
  flex: 1; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px;
  font: inherit; background: #fff;
}
.shop-filterbar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px 20px; align-items: start;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 16px 18px;
}
.shop-filter { min-width: 0; }
.shop-filter__label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 7px; }
.shop-filter select { width: 100%; padding: 9px 10px; border: 1.5px solid var(--line-strong); border-radius: 8px; font: inherit; background: #fff; }
.shop-filter .select2-container { width: 100% !important; }
.shop-filter .select2-container .select2-selection--single { display: flex; align-items: center; height: 41px !important; border: 1.5px solid var(--line-strong) !important; border-radius: 8px !important; background: #fff !important; }
.shop-filter .select2-container .select2-selection--single .select2-selection__rendered { font-size: 0.9rem !important; line-height: 1.3 !important; padding: 0 2rem 0 0.7rem !important; }
.shop-filter .select2-container .select2-selection--single .select2-selection__arrow { height: 100% !important; top: 0 !important; }
.shop-filter .price_slider_wrapper { padding-top: 6px; }
.shop-filter .ui-slider { position: relative; height: 5px; background: var(--line); border-radius: 999px; margin: 6px 8px 14px; }
.shop-filter .ui-slider .ui-slider-range { position: absolute; top: 0; height: 100%; background: var(--gold); border-radius: 999px; }
.shop-filter .ui-slider .ui-slider-handle { position: absolute; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; margin-left: -8px; background: #fff; border: 3px solid var(--gold); border-radius: 50%; cursor: pointer; }
.shop-filter .price_slider_amount { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.82rem; color: var(--muted); }
.shop-filter .price_slider_amount .button { order: 2; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 7px 16px; font-size: 0.82rem; cursor: pointer; }
.shop-filter ul { list-style: none; margin: 0; padding: 0; font-size: 0.85rem; max-height: 110px; overflow-y: auto; }
.shop-filter ul li a { color: var(--ink); }

/* Back to shop link on PDP */
.back-to-shop { display: inline-block; margin: 4px 0 14px; font-size: 0.86rem; color: var(--muted); text-decoration: none; }
.back-to-shop:hover { color: var(--ink); }

/* PDP hover zoom */
.pdp__stage { overflow: hidden; }
.pdp__stage.is-zoomable { cursor: zoom-in; }
.pdp__stage img { transition: transform 0.18s ease-out; will-change: transform; }
.pdp__stage.is-zooming img { transition: none; }

/* Floating WhatsApp button */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 6px 18px rgba(16, 24, 32, 0.28);
  transition: transform 0.15s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; }
.floating-cart-button { bottom: 88px !important; }
/* Below 720px the fixed Call/WhatsApp/Get quote bar covers the bottom
   ~70px of the viewport at z-index 80 — both floating buttons must sit
   above it, and above its z-index, or they render hidden underneath it. */
@media (max-width: 720px) {
  .whatsapp-fab { right: 14px; bottom: 84px; z-index: 85; }
  .floating-cart-button { bottom: 148px !important; z-index: 85; }
}

/* Swatch label sits above the color row, not squeezed beside it */
.pdp__swatches { display: block; margin: 14px 0 4px; }
.pdp__swatch-label { display: block; margin-bottom: 8px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* Free-shipping notice + clickable email, centered on one line, wraps on tiny screens */
.topbar__inner--notice { justify-content: center; text-align: center; flex-wrap: wrap; gap: 6px 18px; }
.topbar__notice { color: var(--gold-soft); font-weight: 600; margin: 0; }
.topbar__email { color: var(--mist); text-decoration: none; }
.topbar__email:hover { color: #fff; text-decoration: underline; }
@media (max-width: 560px) { .topbar__notice, .topbar__email { font-size: 0.64rem; letter-spacing: 0.05em; } }

/* Call / Email / Shop icon buttons: mobile-only quick actions in the
   always-visible header bar (desktop already has phone + Shop in the
   main nav, so these would be redundant there). */
.header__mobile-icon { display: none; }
@media (max-width: 720px) {
  .header__inner { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .brand {
    margin: 0 auto;
    flex: 0 0 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: center;
  }
  .header__actions { flex: 0 0 100%; justify-content: center; }
  .header__mobile-icon { display: inline-flex; }
  /* The floating cart button (bottom-right, always shown on mobile) already
     covers cart access here — the header copy would just duplicate it next
     to the Shop icon. */
  .header__actions .cartbtn.js-cart-open { display: none; }
}
