/* DIKONFIA — styles.css */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
input  { background: none; border: none; font: inherit; color: inherit; }
a      { color: inherit; text-decoration: none; }


/* ─── TOKENS ─── */
:root {
  --ink:       #272320;
  --ink-deep:  #1e1208;
  --paper:     #f5f1ec;
  --text-warm: #f0ece6;
  --text-soft: rgba(240, 236, 230, 0.72);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: clamp(52px, 7vh, 64px);
  --px:    clamp(1.5rem, 6vw, 4rem);
}


/* ─── BASE ─── */
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.ready { opacity: 1; }


/* ─── NAV ─── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.6s var(--ease);
}

#nav.scrolled {
  background: rgba(39, 35, 32, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-brand {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.65);
  transition: color 0.3s;
}

.nav-brand:hover { color: var(--paper); }

.nav-object {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(236, 233, 228, 0.40);
  transition: color 0.3s;
}

.nav-object:hover { color: rgba(236, 233, 228, 0.75); }


/* ─── HERO ─── */
#hero {
  min-height: 100svh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding:
    calc(var(--nav-h) + 2rem)
    var(--px)
    clamp(3rem, 8vh, 5rem);
  overflow: hidden;
  background: var(--ink-deep);
}

/* Video — add hero.mp4 to activate */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* object-position: 60% center — adjust if main subject is off-center */
  object-position: center center;
  opacity: 0.82;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 10, 4, 0.10)  0%,
    rgba(20, 10, 4, 0.15) 40%,
    rgba(20, 10, 4, 0.55) 75%,
    rgba(20, 10, 4, 0.72) 100%
  );
  pointer-events: none;
}

.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: clamp(280px, 80vw, 760px);
}

.hero-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  line-height: 0.92;
  color: var(--text-warm);
  margin-bottom: clamp(1.2rem, 3vh, 2rem);
}

.hero-date {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.75rem;
  color: rgba(240, 236, 230, 0.35);
  letter-spacing: 0.08em;
}


/* ─── PRODUCT ─── */
#product {
  padding: clamp(7rem, 16vh, 11rem) var(--px) clamp(5rem, 12vh, 8rem);
  border-top: 1px solid rgba(236, 233, 228, 0.10);
}

.product-label {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(236, 233, 228, 0.28);
  margin-bottom: clamp(1.2rem, 3vh, 1.8rem);
  letter-spacing: 0.06em;
}

.product-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.9;
  color: var(--paper);
  margin-bottom: clamp(1.8rem, 4.5vh, 3rem);
}

.product-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.92rem, 1.7vw, 1.1rem);
  line-height: 1.72;
  color: rgba(236, 233, 228, 0.62);
  max-width: 520px;
  margin-bottom: clamp(0.7rem, 1.8vh, 1rem);
}

.product-slogan {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  color: rgba(236, 233, 228, 0.38);
  max-width: 520px;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.product-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem clamp(1.4rem, 3.5vw, 2.4rem);
  margin-bottom: clamp(1.8rem, 4vh, 2.8rem);
}

.product-price {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: var(--paper);
  letter-spacing: -0.01em;
}

.product-edition {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.82rem, 1.5vw, 0.96rem);
  color: rgba(236, 233, 228, 0.38);
  letter-spacing: 0.04em;
}

.product-countdown {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.82rem, 1.5vw, 0.96rem);
  color: rgba(236, 233, 228, 0.38);
  letter-spacing: 0.04em;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  color: rgba(236, 233, 228, 0.45);
  transition: color 0.35s var(--ease);
}

.product-link:hover { color: var(--paper); }


/* ─── ENTER (email capture) ─── */
#enter {
  background: var(--ink);
  color: var(--paper);
  border-top: none;
  padding: clamp(6rem, 15vh, 11rem) var(--px) clamp(5rem, 12vh, 9rem);
}

.enter-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 0.92;
  color: var(--text-warm);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

.enter-form-row {
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid rgba(240, 236, 230, 0.20);
  max-width: 440px;
  transition: border-color 0.4s var(--ease);
}

.enter-form-row:focus-within {
  border-bottom-color: rgba(240, 236, 230, 0.65);
}

.enter-input {
  flex: 1;
  padding: clamp(0.8rem, 2vh, 1.1rem) 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.7vw, 1.1rem);
  color: var(--paper);
  outline: none;
  background: transparent;
  caret-color: var(--paper);
}

.enter-input::placeholder { color: rgba(240, 236, 230, 0.28); }

.enter-submit {
  flex-shrink: 0;
  padding: 0.8rem 0 0.8rem 1.2rem;
  font-size: 1.3rem;
  color: rgba(240, 236, 230, 0.32);
  transition: color 0.3s, transform 0.35s var(--ease);
}

.enter-submit:hover { color: var(--paper); }

.enter-feedback {
  margin-top: clamp(1rem, 2.5vh, 1.5rem);
  min-height: 1.6rem;
}

.enter-note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(240, 236, 230, 0.35);
  letter-spacing: 0.04em;
}

.enter-confirm {
  display: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--paper);
}

.enter-error {
  display: none;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: rgba(220, 100, 80, 0.85);
}


/* ─── EMAIL MODAL ─── */
body.modal-open { overflow: hidden; }

.email-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 9, 4, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.email-modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.email-modal {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  background: var(--ink);
  border: 1px solid rgba(240, 236, 230, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.4s var(--ease);
}

.email-modal-overlay.visible .email-modal {
  transform: scale(1);
}

.email-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  z-index: 2;
  font-size: 1.4rem;
  line-height: 1;
  color: rgba(240, 236, 230, 0.55);
  transition: color 0.2s;
}

.email-modal-close:hover { color: var(--text-warm); }

.email-modal-visual {
  width: 100%;
  height: 56vw;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ink);
}

.email-modal-visual video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.email-modal-content {
  padding: clamp(1.6rem, 4vw, 2.4rem);
  overflow-y: auto;
}

.email-modal-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--text-warm);
  margin-bottom: 0.9rem;
}

.email-modal-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(240, 236, 230, 0.62);
  margin-bottom: 1.6rem;
}

@media (min-width: 640px) {
  .email-modal {
    flex-direction: row;
    max-height: 520px;
  }

  .email-modal-visual {
    width: 42%;
    height: auto;
  }

  .email-modal-content {
    width: 58%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(20, 12, 5, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(240, 236, 230, 0.18);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(240, 236, 230, 0.85);
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-accept,
.cookie-reject {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(240, 236, 230, 0.25);
  color: rgba(240, 236, 230, 0.75);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.cookie-accept:hover,
.cookie-reject:hover {
  background: rgba(240, 236, 230, 0.1);
  border-color: rgba(240, 236, 230, 0.45);
  color: var(--text-warm);
}


/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(236, 233, 228, 0.07);
  padding: clamp(1.2rem, 3vh, 1.8rem) var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-brand {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.32);
}

.footer-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
}

.footer-links a {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(236, 233, 228, 0.28);
  transition: color 0.3s;
}

.footer-links a:hover { color: rgba(236, 233, 228, 0.65); }


/* ─────────────────────────────────────────────
   OBJECT.HTML — PRODUCT PAGE
───────────────────────────────────────────── */
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  padding-top: var(--nav-h);
  min-height: 100vh;
  background: var(--ink);
}

@media (min-width: 900px) {
  .product-layout { grid-template-columns: 55fr 45fr; padding-top: 0; }
}

/* Visual panel */
.product-visual {
  background: #232019;
}

@media (min-width: 900px) {
  .product-visual {
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    display: flex;
    flex-direction: column;
  }
}

.product-img-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  min-height: 70vw;
  background: #e2ddd6;
}

@media (min-width: 900px) { .product-img-stage { min-height: 0; height: 100%; } }

.product-img-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.product-img-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: opacity 0.55s var(--ease);
}

.product-img-stage img.hidden { opacity: 0; }

.product-img-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1714;
  transition: opacity 0.55s var(--ease);
}
.product-img-stage video.hidden { opacity: 0; }

.product-img-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: #232019;
}

.product-img-placeholder.visible { display: flex; }

.placeholder-label {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.2);
}

/* Toggle */
.product-toggle {
  display: flex;
  gap: 0.6rem;
  padding: 0.9rem var(--px);
  background: #1c1914;
  border-top: 1px solid rgba(236, 233, 228, 0.08);
}

.toggle-btn {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.28);
  padding: 0.4em 0.5em;
  transition: color 0.3s;
}

.toggle-btn.active { color: var(--paper); }
.toggle-btn:hover  { color: rgba(236, 233, 228, 0.65); }

/* Info panel */
.product-info {
  padding: clamp(3.5rem, 8vh, 5.5rem) var(--px) clamp(5rem, 11vh, 7rem);
  background: var(--ink);
}

@media (min-width: 900px) {
  .product-info { overflow-y: auto; }
}

.product-eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.30);
  margin-bottom: clamp(1.2rem, 3vh, 1.8rem);
}

.product-headline {
  font-weight: 300;
  line-height: 0.88;
  margin-bottom: clamp(1.8rem, 4.5vh, 3rem);
}

.product-hl-sans {
  display: block;
  font-family: var(--sans);
  font-size: clamp(2.8rem, 8vw, 6rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
}

.product-hl-serif {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.5rem, 7.5vw, 5.5rem);
  color: var(--paper);
}

.product-rule {
  width: 100%;
  height: 1px;
  background: rgba(236, 233, 228, 0.08);
  margin: clamp(1.8rem, 3.5vh, 2.4rem) 0;
}

.product-taglines { margin-bottom: clamp(1.4rem, 3.5vh, 2.2rem); }

.product-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.8vw, 1.7rem);
  line-height: 1.4;
  color: rgba(236, 233, 228, 0.65);
}

/* Detail rows */
.product-details { margin-bottom: clamp(1.4rem, 3.5vh, 2.2rem); }

.detail-row {
  display: grid;
  grid-template-columns: clamp(4.5rem, 28%, 7.5rem) 1fr;
  gap: 0 1.2rem;
  padding: clamp(0.5rem, 1.3vh, 0.7rem) 0;
  border-bottom: 1px solid rgba(236, 233, 228, 0.05);
}

.detail-row:last-child { border-bottom: none; }

.detail-key {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.25);
}

.detail-val {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(236, 233, 228, 0.68);
}

.detail-val.price-val {
  font-size: 0.88rem;
  color: var(--paper);
  font-weight: 400;
}

/* Size */
.size-note {
  font-size: 0.8rem;
  color: rgba(236, 233, 228, 0.42);
  margin: clamp(1.2rem, 3vh, 1.8rem) 0 clamp(0.7rem, 1.8vh, 1rem);
}

.size-grid {
  display: flex;
  gap: 0.5rem;
  margin-bottom: clamp(1.4rem, 3.5vh, 2.2rem);
}

.sz-btn {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(236, 233, 228, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.28);
  transition: border-color 0.3s, color 0.3s;
  position: relative;
}

.sz-btn:hover  { border-color: rgba(236,233,228,0.4); color: rgba(236,233,228,0.7); }
.sz-btn.active { border-color: var(--paper); color: var(--paper); }

.sz-btn.soldout {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
}
.sz-btn.soldout::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent calc(50% - 0.5px),
    rgba(236, 233, 228, 0.5) calc(50% - 0.5px),
    rgba(236, 233, 228, 0.5) calc(50% + 0.5px),
    transparent calc(50% + 0.5px)
  );
}

/* Price */
.price-amount {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 0.25rem;
}

.price-shipping {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.28);
  line-height: 1.8;
  margin-bottom: clamp(1.5rem, 3.5vh, 2.4rem);
}

.stock-counter {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.45);
  margin-bottom: clamp(0.9rem, 2.2vh, 1.4rem);
}

.trust-signals {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.25);
  text-align: center;
  margin-top: 0.75rem;
}

/* Badge */
.pre-launch-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: clamp(0.9rem, 2.2vh, 1.4rem);
}

.pre-launch-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(236, 233, 228, 0.22);
  flex-shrink: 0;
}

.pre-launch-badge.live .pre-launch-dot {
  background: #4ab94a;
  box-shadow: 0 0 0 3px rgba(74,185,74,0.15);
}

.pre-launch-badge-text {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.30);
}

.pre-launch-badge.live .pre-launch-badge-text { color: rgba(236, 233, 228, 0.65); }

/* CTAs */
.cta-email-btn {
  display: block;
  width: 100%;
  padding: clamp(0.9rem, 2.4vh, 1.2rem) 1.4rem;
  border: 1px solid rgba(236, 233, 228, 0.16);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.55);
  text-align: center;
  margin-bottom: 0.5rem;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}

.cta-email-btn:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.cta-inline-form { display: none; margin-bottom: 0.5rem; }
.cta-inline-form.expanded { display: block; }

.cta-inline-form .enter-form-row {
  border-bottom-color: rgba(236, 233, 228, 0.16);
}

.cta-inline-form .enter-form-row:focus-within {
  border-bottom-color: rgba(236, 233, 228, 0.5);
}

.cta-inline-form .enter-input { color: var(--paper); }
.cta-inline-form .enter-input::placeholder { color: rgba(236, 233, 228, 0.22); }
.cta-inline-form .enter-submit { color: rgba(236, 233, 228, 0.28); }
.cta-inline-form .enter-submit:hover { color: var(--paper); }
.cta-inline-form .enter-confirm { color: rgba(236, 233, 228, 0.65); }

.cta-purchase-btn {
  display: block;
  width: 100%;
  padding: clamp(0.9rem, 2.4vh, 1.2rem) 1.4rem;
  border: 1px solid rgba(236, 233, 228, 0.10);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.20);
  text-align: center;
  margin-bottom: clamp(0.7rem, 1.8vh, 1rem);
  cursor: default;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}

.cta-purchase-btn.unlocked {
  border-color: var(--paper);
  color: var(--paper);
  cursor: pointer;
}

.cta-purchase-btn.unlocked:hover {
  background: var(--paper);
  color: var(--ink);
}

.cta-purchase-btn.sold-out {
  border-color: rgba(236, 233, 228, 0.06);
  color: rgba(236, 233, 228, 0.12);
}

.main-action-wrap {
  position: relative;
  margin-bottom: clamp(0.7rem, 1.8vh, 1rem);
}

.buy-button-wrap {
  display: none;
}

.main-action-btn {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(0.9rem, 2.4vh, 1.2rem) 1.4rem;
  border: 1px solid rgba(236, 233, 228, 0.16);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.55);
  text-align: center;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), opacity 0.3s;
}

.main-action-btn:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.main-action-btn.no-size {
  opacity: 0.35;
}

.main-action-btn.no-size:hover {
  border-color: rgba(236, 233, 228, 0.16);
  background: none;
  color: rgba(236, 233, 228, 0.55);
}

.size-hint {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: transparent;
  text-align: center;
  min-height: 1.4em;
  margin-top: -0.4rem;
  margin-bottom: 0.7rem;
  transition: color 0.3s;
}

.size-hint.visible {
  color: rgba(236, 233, 228, 0.40);
}

.cart-subtext {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.40);
  text-align: center;
}

/* Drop context */
.drop-context {
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
  padding-top: clamp(1.2rem, 3vh, 1.8rem);
  border-top: 1px solid rgba(236, 233, 228, 0.07);
}

.drop-context-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.22);
  margin-bottom: 0.9rem;
}

.drop-context-text {
  font-size: clamp(0.82rem, 1.5vw, 0.92rem);
  line-height: 1.72;
  color: rgba(236, 233, 228, 0.52);
  margin-bottom: 1rem;
}

.moods-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(236, 233, 228, 0.45);
  transition: color 0.3s;
}

.moods-link:hover { color: rgba(236, 233, 228, 0.65); }

/* Object footer */
.object-footer {
  background: var(--ink);
  border-top: 1px solid rgba(236, 233, 228, 0.07);
  padding: clamp(1.2rem, 3vh, 1.8rem) var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.object-footer-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
}

.object-footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.25);
  transition: color 0.3s;
}

.object-footer-links a:hover { color: rgba(236, 233, 228, 0.60); }


/* ─── FIT FINDER ─── */
.ff-trigger {
  display: block;
  margin-top: clamp(0.9rem, 2vh, 1.2rem);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.30);
  text-align: left;
  transition: color 0.3s;
}
.ff-trigger:hover { color: rgba(236, 233, 228, 0.60); }

.ff-wrap {
  display: none;
  margin-top: clamp(1.2rem, 3vh, 1.8rem);
  padding-top: clamp(1.2rem, 3vh, 1.8rem);
  border-top: 1px solid rgba(236, 233, 228, 0.07);
}
.ff-wrap.open { display: block; }

.ff-step { display: none; }
.ff-step.active { display: block; }

.ff-q {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.70rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.34);
  margin-bottom: clamp(0.9rem, 2.2vh, 1.2rem);
}

.ff-back {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.20);
  transition: color 0.25s;
}
.ff-back:hover { color: rgba(236, 233, 228, 0.48); }

.ff-fits {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ff-fit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(236, 233, 228, 0.09);
  text-align: left;
  width: 100%;
  transition: border-color 0.25s;
}
.ff-fit:hover { border-color: rgba(236, 233, 228, 0.28); }
.ff-fit-label {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.70rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.56);
}
.ff-fit-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.82rem, 1.5vw, 0.90rem);
  color: rgba(236, 233, 228, 0.30);
  line-height: 1.3;
}

.ff-result { display: none; }
.ff-result.visible { display: block; }

.ff-result-size {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 4.2rem);
  line-height: 0.88;
  color: var(--paper);
  margin-bottom: clamp(0.65rem, 1.6vh, 0.9rem);
}
.ff-result-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.76rem, 1.4vw, 0.86rem);
  line-height: 1.68;
  color: rgba(236, 233, 228, 0.48);
  margin-bottom: clamp(1rem, 2.4vh, 1.4rem);
}
.ff-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.ff-apply {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.70rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  border: 1px solid rgba(236, 233, 228, 0.28);
  padding: 0.58rem 1rem;
  transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.ff-apply:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ff-reset {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.70rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 233, 228, 0.23);
  transition: color 0.3s;
}
.ff-reset:hover { color: rgba(236, 233, 228, 0.52); }


/* ─── index.html: HERO MOMENT ─── */
.hero-moment {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 3vw, 1.4rem);
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: clamp(0.8rem, 2vh, 1.2rem);
}


/* ─── index.html: PRODUCT (light layout) ─── */
#product {
  background: var(--paper);
  color: var(--ink);
  border-top: none;
  padding: clamp(4rem, 10vh, 6rem) var(--px) clamp(5rem, 12vh, 8rem);
}

/* Galería: carrusel táctil en móvil, fila en desktop */
.product-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* bleed past section padding so images can touch screen edges on mobile */
  margin-left: calc(-1 * var(--px));
  margin-right: calc(-1 * var(--px));
  padding-left: var(--px);
  padding-right: var(--px);
  margin-bottom: clamp(3rem, 7vh, 5rem);
}

.product-gallery::-webkit-scrollbar { display: none; }

.product-gallery .product-img {
  flex: 0 0 80vw;
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #e2ddd6;
}

@media (min-width: 768px) {
  .product-gallery {
    overflow: visible;
    scroll-snap-type: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    gap: 1.5rem;
    margin-bottom: clamp(3.5rem, 8vh, 6rem);
  }
  .product-gallery .product-img {
    flex: 1 1 0;
    min-width: 0;
    scroll-snap-align: unset;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center center;
  }
}

.product-info-home {
  max-width: 560px;
}

/* Color overrides: dark text on light product background */
#product .product-label     { color: rgba(39, 35, 32, 0.38); }
#product .product-name      { color: var(--ink); }
#product .product-desc      { color: rgba(39, 35, 32, 0.60); }
#product .product-slogan    { color: rgba(39, 35, 32, 0.42); }
#product .product-price     { color: var(--ink); }
#product .product-edition   { color: rgba(39, 35, 32, 0.42); }
#product .product-countdown { color: rgba(39, 35, 32, 0.42); }
#product .product-link      { color: rgba(39, 35, 32, 0.40); }
#product .product-link:hover { color: var(--ink); }


/* ─── index.html: FOOTER (dark) ─── */
.home-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(236, 233, 228, 0.07);
  padding: clamp(2.5rem, 6vh, 3.5rem) var(--px) clamp(3rem, 7vh, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

@media (min-width: 600px) {
  .home-footer {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
}

.footer-word {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(236, 233, 228, 0.48);
}

.home-footer .footer-brand { color: rgba(236, 233, 228, 0.28); }
.home-footer .footer-links a { color: rgba(236, 233, 228, 0.28); }
.home-footer .footer-links a:hover { color: var(--paper); }


/* ─── object.html: SIZE GUIDE ─── */
.product-info .size-guide {
  margin-bottom: clamp(1.4rem, 3.5vh, 2.2rem);
}


.product-info .size-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 0.85rem;
}

.product-info .size-table thead th {
  text-align: left;
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(240, 236, 230, 0.45);
  padding: 0.5rem 1rem 0.5rem 0;
  border-bottom: 1px solid rgba(240, 236, 230, 0.08);
}

.product-info .size-table tbody td {
  padding: 0.55rem 1rem 0.55rem 0;
  border-bottom: 1px solid rgba(240, 236, 230, 0.08);
  color: rgba(240, 236, 230, 0.85);
}

.product-info .size-table tbody tr:last-child td {
  border-bottom: none;
}

.product-info .size-guide .size-note {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: rgba(240, 236, 230, 0.40);
}


/* ─── index.html: SIZE GUIDE ─── */
#product .size-guide {
  max-width: 520px;
  margin-bottom: clamp(2rem, 5vh, 3rem);
}

#product .size-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 0.85rem;
}

#product .size-table thead th {
  text-align: left;
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(39, 35, 32, 0.5);
  padding: 0.5rem 1rem 0.5rem 0;
  border-bottom: 1px solid rgba(39, 35, 32, 0.1);
}

#product .size-table tbody td {
  padding: 0.55rem 1rem 0.55rem 0;
  border-bottom: 1px solid rgba(39, 35, 32, 0.1);
  color: rgba(39, 35, 32, 0.72);
}

#product .size-table tbody tr:last-child td {
  border-bottom: none;
}

#product .size-guide .size-note {
  margin: 0.6rem 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 0.75rem;
  color: rgba(39, 35, 32, 0.5);
}


/* ─── MOBILE ADJUSTMENTS ─── */
@media (max-width: 480px) {
  /* Hero video: mostrar lado izquierdo donde está la persona */
  .hero-video {
    object-position: 25% center;
  }

  /* Botón de envío del formulario de email */
  .enter-submit {
    font-size: 1.1rem;
    padding: 0.7rem 0 0.7rem 1rem;
  }

  /* Botones del banner de cookies */
  .cookie-accept,
  .cookie-reject {
    font-size: 0.72rem;
    padding: 0.42rem 0.85rem;
  }

  /* Footer links: wrap so email doesn't overflow */
  .footer-links {
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
  }

  /* Size table: scroll if columns are too tight */
  .size-guide {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Modal visual: cap height so content isn't pushed off screen */
  .email-modal-visual {
    height: 44vw;
    max-height: 38vh;
  }

  /* Product gallery: slightly narrower cards so next card peeks */
  .product-gallery .product-img {
    flex: 0 0 78vw;
  }
}


/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  body { opacity: 1; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
