/* ==========================================================================
   VÉLORA Eyewear — shared stylesheet
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Header · 5 Buttons · 6 Hero
             7 Products · 8 Editorial · 9 Page headers · 10 About
             11 Contact · 12 Footer · 13 Responsive · 14 Reduced motion
   ========================================================================== */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
  --beige: #E8DCCB;      /* subtle section backgrounds */
  --espresso: #49372B;   /* text and important elements */
  --cream: #FAF7F2;      /* primary page background */
  --caramel: #B79A78;    /* secondary accents, borders */
  --gold: #D6C09A;       /* small accents only */

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 7rem;

  --max-width: 1240px;
  --header-height: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 var(--space-2);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 var(--space-2); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--espresso);
  color: var(--cream);
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 3. LAYOUT HELPERS ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section { padding-block: var(--space-6); }
.section--beige { background: var(--beige); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold);          /* gold used as a small accent only */
  vertical-align: middle;
  margin-right: 0.8rem;
}

.section-heading { text-align: center; max-width: 640px; margin: 0 auto var(--space-5); }

/* 4. HEADER / NAV -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.96);
  border-bottom: 1px solid rgba(183, 154, 120, 0.35);
}

.nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark small {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  display: block;
  margin-top: -0.25rem;
  color: var(--caramel);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { border-bottom-color: var(--gold); }

.nav__actions { display: flex; align-items: center; gap: var(--space-1); }

.bag-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  text-decoration: none;
}
.bag-link svg { width: 22px; height: 22px; }
.bag-count {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 0.65rem;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
}
.bag-count[hidden] { display: none; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  margin-inline: auto;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}
.nav__toggle span::before { position: absolute; top: -7px; left: 0; }
.nav__toggle span::after  { position: absolute; top: 7px; left: 0; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* 5. BUTTONS & LINKS ----------------------------------------------------- */
.btn {
  display: inline-block;
  min-height: 48px;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--espresso);
  background: var(--espresso);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:hover { background: transparent; color: var(--espresso); }

.btn--light { background: var(--cream); border-color: var(--cream); color: var(--espresso); }
.btn--light:hover { background: transparent; color: var(--cream); }

.btn--ghost { background: transparent; color: var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--cream); }

.text-link {
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--caramel);
}
.text-link:hover { border-bottom-color: var(--espresso); }

/* 6. HERO SLIDESHOW ------------------------------------------------------ */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  min-height: 520px;
  max-height: 860px;
  overflow: hidden;
  background: var(--espresso);
  color: var(--cream);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay keeps white text readable on any photo. Lighten or remove if your photos are dark. */
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 25, 19, 0.62) 0%, rgba(36, 25, 19, 0.25) 60%, rgba(36, 25, 19, 0.1) 100%);
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 var(--space-3) 3rem;
  pointer-events: none;
}
.hero__content > * { pointer-events: auto; }

.hero__title {
  font-size: clamp(2.2rem, 6.2vw, 5rem);
  letter-spacing: 0.06em;
  max-width: 14ch;
  margin-bottom: var(--space-2);
}
.hero__text { max-width: 34ch; font-size: 1.1rem; margin-bottom: var(--space-4); }

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 25, 19, 0.35);
  border: 1px solid rgba(250, 247, 242, 0.6);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  transition: background 0.3s ease;
}
.hero__arrow:hover { background: rgba(36, 25, 19, 0.7); }
.hero__arrow:focus-visible { outline-color: var(--cream); }
.hero__arrow svg { width: 18px; height: 18px; }
.hero__arrow--prev { left: var(--space-3); }
.hero__arrow--next { right: var(--space-3); }

.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}
.hero__dot {
  /* 44px tap area, small visible dot */
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.hero__dot::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--cream);
  border-radius: 50%;
  transition: background 0.3s ease;
}
.hero__dot[aria-current="true"]::after { background: var(--gold); border-color: var(--gold); }
.hero__dot:focus-visible { outline-color: var(--cream); }

/* 7. PRODUCT CARDS ------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4) var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-grid--four { grid-template-columns: repeat(4, 1fr); }

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

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;           /* identical image proportions on every card */
  overflow: hidden;
  background: var(--beige);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.03); }

.product-card__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.2rem 0.7rem;
  background: var(--cream);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product-card__body { padding-top: var(--space-2); }
.product-card__name { font-size: 1.45rem; margin-bottom: 0.15rem; }
.product-card__price { margin-bottom: 0.4rem; font-weight: 400; }

.demo-note {
  font-size: 0.8rem;
  text-align: center;
  color: var(--espresso);
  opacity: 0.8;
  margin-top: var(--space-4);
}

.section-cta { text-align: center; margin-top: var(--space-5); }

/* Shop filter chips (simple anchor-based collection groups) */
.collection-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
}
.collection-nav li {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--caramel);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* 8. EDITORIAL BLOCKS ---------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.split__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--beige); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text { max-width: 520px; }
.split--reverse .split__media { order: 2; }

.feature {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  background: var(--espresso);
}
.feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 25, 19, 0.65), rgba(36, 25, 19, 0.1));
}
.feature__content { position: relative; z-index: 2; padding-block: var(--space-5); }
.feature__content h2 { max-width: 16ch; font-size: clamp(2rem, 4.5vw, 3.6rem); }

/* 9. PAGE HEADERS -------------------------------------------------------- */
.page-header {
  padding: var(--space-5) 0 var(--space-4);
  text-align: center;
  background: var(--beige);
}
.page-header p { max-width: 56ch; margin-inline: auto; }

/* 10. ABOUT -------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.pillar { border-top: 1px solid var(--caramel); padding-top: var(--space-3); }
.pillar__num { font-family: var(--font-serif); font-size: 1.1rem; color: var(--caramel); }

.wide-image { aspect-ratio: 16 / 7; overflow: hidden; background: var(--beige); }
.wide-image img { width: 100%; height: 100%; object-fit: cover; }

.notice {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem var(--space-2);
  font-size: 0.9rem;
}

/* 11. CONTACT ------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

.form-field { margin-bottom: var(--space-3); }
.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--espresso);
  background: #fff;
  border: 1px solid var(--caramel);
  border-radius: 0;
}
.form-field input:focus,
.form-field textarea:focus { outline: 2px solid var(--espresso); outline-offset: 1px; }
.form-field textarea { min-height: 180px; resize: vertical; }
.form-field input:user-invalid,
.form-field textarea:user-invalid { border-color: #8a2d1f; }

.form-status {
  margin-top: var(--space-2);
  padding: var(--space-2);
  background: var(--beige);
  font-size: 0.9rem;
}
.form-status[hidden] { display: none; }

.contact-details { padding: var(--space-3); background: var(--beige); }
.contact-details ul { list-style: none; margin: 0; padding: 0; }
.contact-details li { margin-bottom: 0.2rem; }

/* 12. FOOTER ------------------------------------------------------------- */
.site-footer {
  background: var(--espresso);
  color: var(--cream);
  padding: var(--space-5) 0 var(--space-4);
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-brand {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  margin: 0 0 0.5rem;
  padding-left: 0.3em;               /* balances the trailing letter-spacing so it looks centred */
}
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);                /* gold used as a small accent only */
  margin: 0 0 var(--space-4);
}
.footer-copy {
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(214, 192, 154, 0.35);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

/* 13. RESPONSIVE --------------------------------------------------------- */
@media (max-width: 1024px) {
  .product-grid--four { grid-template-columns: repeat(2, 1fr); }
  .split { gap: var(--space-4); }
}

@media (max-width: 820px) {
  :root { --header-height: 68px; }
  .section { padding-block: var(--space-5); }

  .nav__toggle { display: block; }

  .nav__links {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(183, 154, 120, 0.35);
    padding: 0 var(--space-3);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, visibility 0.35s;
  }
  .nav__links.is-open { max-height: 360px; visibility: visible; padding-block: var(--space-1); }
  .nav__links a { display: block; padding: 1rem 0; border-bottom: 1px solid rgba(183, 154, 120, 0.25); }

  .nav { position: relative; }
  .nav__actions { margin-left: auto; }
  .nav { gap: var(--space-1); }

  .split,
  .contact-layout,
  .pillars { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3; }


  .hero__arrow { width: 44px; height: 44px; }
  .hero__arrow--prev { left: 0.5rem; }
  .hero__arrow--next { right: 0.5rem; }
  .hero__slide::after { background: linear-gradient(0deg, rgba(36, 25, 19, 0.7) 0%, rgba(36, 25, 19, 0.35) 100%); }
  .hero__content { padding-bottom: 4.5rem; justify-content: flex-end; }
  .hero__text { font-size: 1rem; margin-bottom: var(--space-3); }
  .hero__dots { bottom: 0.5rem; }

  .wide-image { aspect-ratio: 4 / 3; }
  .feature { min-height: 440px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 1.1rem; }
  .wordmark { font-size: 1.4rem; letter-spacing: 0.26em; }
  .product-grid,
  .product-grid--four { grid-template-columns: 1fr; }
  .hero__arrow { top: 38%; }        /* keep arrows clear of the text and button */
  .btn { width: 100%; }
  .hero .btn { width: auto; }
}

/* 15. LUXURY REFINEMENTS (v2) -------------------------------------------- */

body { text-rendering: optimizeLegibility; }
h1, h2 { letter-spacing: 0.01em; }
h2 { font-weight: 400; }
.page-header h1 { font-weight: 400; letter-spacing: 0.04em; }

/* Gold hairline under the header, a quiet detail */
.site-header { border-bottom: 0; box-shadow: 0 1px 0 rgba(183, 154, 120, 0.4); }
.wordmark { font-weight: 500; letter-spacing: 0.38em; }

/* Buttons: finer, more deliberate */
.btn {
  padding: 1rem 2.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.btn--light:hover { border-color: var(--gold); }

/* Hero: refined overlay, subtle settle-in of the active photo */
.hero { max-height: 880px; }
.hero__slide::after {
  background:
    linear-gradient(0deg, rgba(36, 25, 19, 0.55) 0%, rgba(36, 25, 19, 0) 45%),
    linear-gradient(90deg, rgba(36, 25, 19, 0.55) 0%, rgba(36, 25, 19, 0.15) 65%, rgba(36, 25, 19, 0.05) 100%);
}
.hero__slide img { transform: scale(1.04); transition: transform 7s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero__title { font-weight: 400; letter-spacing: 0.1em; line-height: 1.12; }
.hero__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin-top: var(--space-3);
}
.hero__text { font-weight: 300; letter-spacing: 0.02em; }
.hero__arrow { background: rgba(36, 25, 19, 0.25); border-color: rgba(250, 247, 242, 0.5); }

/* Product cards: square, calm, photo-led */
.product-card__media {
  aspect-ratio: 1 / 1;
  background: var(--beige);
}
.product-card__media img { transition: transform 0.9s ease, opacity 0.35s ease; }
.product-card__media img.is-swapping { opacity: 0.35; }
.product-card__tag {
  background: rgba(250, 247, 242, 0.92);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
}
.product-card__body { padding-top: 1.1rem; text-align: center; }
.product-card__name { font-size: 1.55rem; font-weight: 500; letter-spacing: 0.04em; }
.product-card__price {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.9rem;
}
.product-card__color { font-size: 0.8rem; margin: 0.6rem 0 0.4rem; letter-spacing: 0.06em; }
.product-card__color span { font-weight: 400; }

/* Color swatches */
.swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  min-height: 44px;
}
.swatch {
  position: relative;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  background: var(--swatch, var(--caramel));
  border: 1px solid rgba(73, 55, 43, 0.35);
  cursor: pointer;
  transition: transform 0.25s ease;
}
.swatch::before { content: ""; position: absolute; inset: -9px; }   /* 44px tap target */
.swatch:hover { transform: scale(1.1); }
.swatch.is-selected { outline: 1px solid var(--espresso); outline-offset: 3px; }

/* Section headings: gold hairline detail */
.section-heading h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
  margin: var(--space-2) auto 0;
}

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-field input, .form-field textarea { transition: border-color 0.3s ease; }
.form-field input:hover, .form-field textarea:hover { border-color: var(--espresso); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #8a2d1f; }
.field-error { color: #8a2d1f; font-size: 0.82rem; margin: 0.35rem 0 0; }
.field-error[hidden] { display: none; }
.field-hint { font-size: 0.75rem; opacity: 0.75; margin: 0.3rem 0 0; }
.contact-details { border-top: 1px solid var(--gold); }

@media (max-width: 820px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* 16. PRODUCT PAGE (product.html) ---------------------------------------- */

/* Product names on cards are links to the product page */
.product-card__name a { text-decoration: none; }
.product-card__name a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }

.product-nav { padding-top: var(--space-3); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}
.back-link svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.back-link span { padding-bottom: 2px; border-bottom: 1px solid var(--caramel); transition: border-color 0.3s ease; }
.back-link:hover svg { transform: translateX(-4px); }
.back-link:hover span { border-bottom-color: var(--espresso); }

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
  padding-block: var(--space-3) var(--space-6);
}

.product-gallery__main { aspect-ratio: 1 / 1; overflow: hidden; background: var(--beige); }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease; }
.product-gallery__main img.is-swapping { opacity: 0.35; }

.product-info { max-width: 460px; padding-top: var(--space-2); }
.product-info h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}
.product-info h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin-top: var(--space-2);
}
.product-info__price { font-size: 1.1rem; letter-spacing: 0.16em; margin: var(--space-2) 0; }
.product-info__desc { margin-bottom: var(--space-4); }

.product-colors { margin-bottom: var(--space-4); }
.product-colors__label {
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.product-colors__label span { font-weight: 400; }
.swatches--large { justify-content: flex-start; gap: 0.4rem 0.8rem; }
.swatches--large .swatch { width: 36px; height: 36px; }
.swatches--large .swatch::before { inset: -4px; }

.product-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.5rem;
  margin: 0 0 var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(183, 154, 120, 0.4);
  font-size: 0.92rem;
}
.product-meta dt { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 0.2rem; }
.product-meta dd { margin: 0; }

.product-missing { grid-column: 1 / -1; text-align: center; padding: var(--space-6) var(--space-2); }
.product-missing p { max-width: 44ch; margin-inline: auto; margin-bottom: var(--space-3); }

@media (max-width: 820px) {
  .product-page { grid-template-columns: 1fr; gap: var(--space-3); padding-bottom: var(--space-5); }
  .product-info { max-width: none; }
}

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