/* ════════════════════════════════════════════
   VAN MERINO — Premium Minimal Stylesheet
   Design: Ultra-minimalist luxury editorial
   Palette: #FFFFFF · #111111 · #888 · #F5F5F5
   Font: Montserrat (headings) · Inter (body)
════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ─────────────────── */
:root {
  --black:       #111111;
  --white:       #FFFFFF;
  --off-white:   #F7F7F7;
  --grey-light:  #E8E8E8;
  --grey-mid:    #888888;
  --grey-dark:   #444444;
  --charcoal:    #1A1A1A;

  --font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --header-h:    80px;
  --max-w:       1200px;
  --gutter:      clamp(20px, 5vw, 64px);

  --ease:        cubic-bezier(.4, 0, .2, 1);
  --t-fast:      0.2s;
  --t-med:       0.35s;
  --t-slow:      0.6s;
}

/* ── RESET ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--white); color: var(--black); overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY BASE ───────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

/* ── LAYOUT UTILITIES ──────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}


/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  transition: background var(--t-med) var(--ease),
              backdrop-filter var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

/* Transparent state (over hero) */
.site-header.is-transparent {
  background: transparent;
}

/* Scrolled state */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: 0 1px 0 var(--grey-light);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand mark */
.brand-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--t-fast) var(--ease);
}
.brand-mark:hover { opacity: 0.75; }

.brand-logo-img {
  height: 72px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

/* Over hero: invert logo to white */
.site-header.is-transparent .brand-logo-img {
  filter: invert(1) brightness(10);
  mix-blend-mode: normal;
}
.site-header.is-transparent .nav-link,
.site-header.is-transparent .cart-btn { color: var(--white); }

/* Primary nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding-bottom: 2px;
  transition: opacity var(--t-fast) var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width var(--t-med) var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover { opacity: 0.7; }

/* Cart */
.header-actions { display: flex; align-items: center; gap: 12px; }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--black);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.cart-btn:hover { opacity: 0.6; transform: scale(0.96); }

.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--black);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
  transform-origin: center;
}
.mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.site-header.is-transparent .mobile-menu-btn span { background: var(--white); }

/* Mobile nav drawer */
.mobile-nav {
  position: absolute;
  top: var(--header-h); left: 0; right: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease), padding var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.mobile-nav.is-open {
  max-height: 240px;
  padding: 16px 0 24px;
  border-bottom-color: var(--grey-light);
}
.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px var(--gutter);
  color: var(--black);
  transition: opacity var(--t-fast) var(--ease);
}
.mobile-nav-link:hover { opacity: 0.5; }


/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              opacity var(--t-fast) var(--ease);
}

.btn-hero {
  background: var(--white);
  color: var(--black);
  padding: 16px 40px;
  letter-spacing: 0.18em;
}
.btn-hero:hover {
  background: var(--black);
  color: var(--white);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 16px 40px;
  width: 100%;
}
.btn-primary:hover { background: var(--grey-dark); }
.btn-primary:active { transform: scale(0.98); }

.btn-newsletter {
  background: var(--white);
  color: var(--charcoal);
  padding: 13px 24px;
  flex-shrink: 0;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}
.btn-newsletter:hover { background: var(--grey-light); }


/* ══════════════════════════════════════════
   SECTION A — HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 8vh, 96px);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}
.hero.is-loaded .hero-img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.18) 50%,
    rgba(0,0,0,0.52) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-label {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.7);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}


/* ══════════════════════════════════════════
   SECTION B — PRODUCT
══════════════════════════════════════════ */
.product-section {
  padding: clamp(64px, 8vh, 120px) 0;
}

.product-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* ── Gallery ─── */
.product-gallery { position: sticky; top: calc(var(--header-h) + 24px); }

.gallery-stage {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--off-white);
  cursor: crosshair;
}

.gallery-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--t-fast) var(--ease);
}
.gallery-main-img.is-loading { opacity: 0; }

.gallery-zoom-lens {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
  pointer-events: none;
  display: none;
  width: 120px; height: 120px;
}
.gallery-stage:hover .gallery-zoom-lens { display: block; }

.gallery-zoom-result {
  position: absolute;
  right: -105%;
  top: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-color: var(--off-white);
  display: none;
  z-index: 10;
  pointer-events: none;
}
.gallery-stage:hover .gallery-zoom-result { display: block; }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.thumb {
  flex: 1;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
  padding: 0;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: 0.75; }
.thumb.active { border-color: var(--black); }

/* ── Product Details ─── */
.product-details { display: flex; flex-direction: column; gap: 32px; }

.product-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-dna {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
  text-transform: uppercase;
}

/* Offer blocks */
.offer-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--grey-light);
  transition: border-color var(--t-fast) var(--ease);
}
.offer-block:hover { border-color: var(--black); }

.offer-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.offer-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
}

.offer-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
}

.offer-price-group { display: flex; align-items: center; gap: 10px; }

.offer-badge {
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 4px 8px;
}

/* Offer divider */
.offer-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--grey-mid);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.offer-divider::before,
.offer-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grey-light);
}

/* Size selector */
.size-selector { display: flex; flex-direction: column; gap: 12px; }

.size-selector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.size-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
}

.size-chart-link {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--grey-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease);
  cursor: pointer;
}
.size-chart-link:hover { color: var(--black); }

.size-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.size-btn {
  aspect-ratio: 1;
  border: 1px solid var(--grey-light);
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.size-btn:hover { border-color: var(--black); }
.size-btn.selected,
.size-btn[aria-checked="true"] {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.size-btn.unavailable {
  opacity: 0.25;
  pointer-events: none;
  text-decoration: line-through;
}

/* Stripe embed */
.stripe-embed {
  min-height: 52px;
}

stripe-buy-button {
  display: block;
  width: 100%;
}

/* Trust list */
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--grey-mid);
  font-weight: 400;
}
.trust-list svg { flex-shrink: 0; color: var(--black); }


/* ══════════════════════════════════════════
   SECTION C — MATERIAL
══════════════════════════════════════════ */
.material-section {
  padding: clamp(80px, 10vh, 140px) 0;
  background: var(--off-white);
}

.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
}

.section-desc {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey-dark);
  max-width: 540px;
}

/* Material cards */
.material-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

.material-card {
  background: var(--white);
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--t-fast) var(--ease);
}
.material-card:hover { background: var(--black); color: var(--white); }

.material-stat-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.material-number {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: inherit;
  line-height: 1;
}

.material-unit {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-mid);
  transition: color var(--t-fast) var(--ease);
}
.material-card:hover .material-unit { color: rgba(255,255,255,0.5); }

.material-card-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
}

.material-card-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--grey-dark);
  transition: color var(--t-fast) var(--ease);
}
.material-card:hover .material-card-text { color: rgba(255,255,255,0.72); }

/* Texture visual */
.material-visual {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.material-img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease);
}
.material-visual:hover .material-img { transform: scale(1.02); }

.material-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px clamp(24px, 4vw, 48px);
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}


/* Care tag image */
.care-tag-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.care-tag-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--grey-light);
}

/* ══════════════════════════════════════════
   SECTION D — CARE
══════════════════════════════════════════ */
.care-section {
  padding: clamp(80px, 10vh, 140px) 0;
  background: var(--white);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.care-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 36px);
  background: var(--off-white);
  transition: background var(--t-fast) var(--ease);
}
.care-card:hover { background: var(--black); }
.care-card:hover .care-title,
.care-card:hover .care-desc { color: var(--white); }
.care-card:hover .care-icon svg path,
.care-card:hover .care-icon svg line,
.care-card:hover .care-icon svg rect,
.care-card:hover .care-icon svg circle,
.care-card:hover .care-icon svg text { stroke: var(--white); fill: none; }
.care-card:hover .care-icon svg text { fill: var(--white); stroke: none; }

.care-icon {
  width: 64px; height: 64px;
  flex-shrink: 0;
}
.care-icon svg { width: 100%; height: 100%; }

.care-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  transition: color var(--t-fast) var(--ease);
}

.care-desc {
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--grey-dark);
  transition: color var(--t-fast) var(--ease);
}


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background: var(--charcoal);
  color: var(--white);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(56px, 7vh, 96px) var(--gutter) clamp(32px, 5vh, 56px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(40px, 5vh, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* Newsletter */
.newsletter-heading {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color var(--t-fast) var(--ease);
}
.newsletter-form:focus-within { border-color: rgba(255,255,255,0.6); }

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white);
  outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }

.newsletter-confirm {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  letter-spacing: 0.06em;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--t-fast) var(--ease);
}
.footer-link:hover { color: var(--white); }

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}


/* ══════════════════════════════════════════
   SIZE MODAL
══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  backdrop-filter: blur(4px);
}
.modal-overlay:not([hidden]) { opacity: 1; }
.modal-overlay[hidden] { display: none; }

.modal {
  background: var(--white);
  max-width: 600px;
  width: 100%;
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform var(--t-med) var(--ease);
}
.modal-overlay:not([hidden]) .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-mid);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.modal-close:hover { color: var(--black); transform: rotate(90deg); }

.modal-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--grey-mid);
  margin-bottom: 28px;
}

.size-table-wrap { overflow-x: auto; }

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.size-table th {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  padding: 10px 12px;
  border-bottom: 2px solid var(--black);
  text-align: left;
}

.size-table td {
  padding: 12px 12px;
  border-bottom: 1px solid var(--grey-light);
  color: var(--black);
}

.size-table tr:hover td { background: var(--off-white); }

.size-table td:first-child {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.modal-note {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--grey-mid);
  font-style: italic;
}


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .material-cards { grid-template-columns: 1fr 1fr; }
  .care-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .product-inner { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .gallery-zoom-result { display: none !important; }
  .gallery-stage { cursor: default; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .material-cards { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: 1fr 1fr; }
  .size-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 2.8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .care-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════
   ACCESSIBILITY
══════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Text selection */
::selection { background: var(--black); color: var(--white); }

/* Scrollbar (Chrome/Edge) */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--grey-light); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--grey-mid); }
