/* ═══════════════════════════════════════════════════════
   shop.css — Officium storefront styles
   Extends theme.css tokens. Never redefines :root.
   ═══════════════════════════════════════════════════════ */

/* ── NAV ── */
.shop-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8vw;
  background: var(--accent);
  border-bottom: 1px solid rgba(12, 10, 8, 0.2);
}

.shop-nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
  min-height: 44px;
  padding: 8px 0;
}
.shop-nav-brand:hover { opacity: 0.8; }

.shop-nav-logo {
  height: 28px;
  width: auto;
}

.shop-nav-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
}

/* ── PRODUCT HERO ── */
.product-hero {
  min-height: 100vh;
  padding-top: 100px;
  background: var(--bg);
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 100px);
}

/* Visual / left column */
.product-visual {
  background: var(--bg-warm);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 8vw;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
}

.product-visual-card {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.product-visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(196,149,106,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.product-visual-ornament {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dark), transparent);
  position: absolute;
  top: 72px;
}

.product-visual-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.product-visual-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  opacity: 0.4;
}

.product-visual-caption {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.product-material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.material-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border: 1px solid var(--border);
  padding: 5px 12px;
  white-space: nowrap;
}

/* Details / right column */
.product-details {
  padding: 80px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}

.product-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.product-intro {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 48px;
}

.product-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 52px;
}

.product-fact {
  background: var(--bg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-label-pass);
}

.fact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--fg);
}

/* ── DEVICE SELECTOR ── */
.device-selector {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.device-selector-heading {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 16px;
}

.device-options {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.device-option {
  background: var(--bg-card);
  border: none;
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
  text-align: left;
}

.device-option:hover {
  background: var(--bg-warm);
}

.device-option.selected {
  background: var(--bg-warm);
  box-shadow: inset 3px 0 0 var(--accent);
}

.device-option-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--fg-dim-pass);
}

.device-option.selected .device-option-label {
  color: var(--cream);
}

.device-option-price {
  font-size: 0.85rem;
  color: var(--fg-label-pass);
  letter-spacing: 0.05em;
}

.device-option.selected .device-option-price {
  color: var(--fg);
}

.device-selected-info {
  margin-bottom: 32px;
  min-height: 24px;
}

.device-desc {
  font-size: 0.9rem;
  color: var(--fg-dim-pass);
  font-style: italic;
}

.purchase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.purchase-price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.purchase-price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
}

.purchase-price-note {
  font-size: 0.75rem;
  color: var(--fg-label-pass);
  letter-spacing: 0.05em;
}

.purchase-btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.purchase-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.purchase-btn:active {
  transform: translateY(0);
}

/* ── CRAFT SECTION ── */
.craft-section {
  padding: 140px 8vw;
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
}

.craft-inner { max-width: 1100px; margin: 0 auto; }

.craft-header {
  text-align: center;
  margin-bottom: 80px;
}

.craft-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  margin-top: 20px;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.craft-card {
  background: var(--bg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.craft-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}

.craft-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
}

.craft-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── GUARANTEE ── */
.guarantee-section {
  padding: 140px 8vw;
  border-top: 1px solid var(--border);
  text-align: center;
}

.guarantee-inner { max-width: 900px; margin: 0 auto; }

.guarantee-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--cream);
  margin: 20px 0 24px;
  line-height: 1.15;
}

.guarantee-inner h2 em {
  font-style: italic;
  color: var(--accent);
}

.guarantee-inner > p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 60px;
}

.guarantee-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  text-align: left;
}

.guarantee-badge {
  background: var(--bg-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badge-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--cream);
}

.badge-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── FINAL CTA ── */
.shop-cta-section {
  padding: 120px 8vw;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg);
}

.shop-cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--cream);
  margin: 20px 0 20px;
  line-height: 1.15;
}

.shop-cta-section p {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

.shop-cta-scroll-btn {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.shop-cta-scroll-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── FOOTER (shop variant) ── */
.footer-back-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--bg);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  min-height: 44px;
}

.footer-back-link:hover { color: var(--accent-dark); }

/* ── SUCCESS PAGE ── */
.success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 8vw 80px;
  background: var(--bg);
}

.success-inner {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.success-mark {
  margin-bottom: 40px;
}

.success-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 24px;
}

.success-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.success-subtext {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 48px;
}

.success-subtext strong { color: var(--fg); font-weight: 400; }

.success-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 40px;
  text-align: left;
}

.success-detail-row {
  background: var(--bg-card);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--fg);
}

.success-promise {
  padding: 28px 32px;
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

.success-promise p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-style: italic;
}

.success-home-link {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--fg-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.success-home-link:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-hero-inner {
    grid-template-columns: 1fr;
  }

  .product-visual {
    position: static;
    height: auto;
    overflow-y: visible;
    padding: 60px 8vw;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .product-details {
    padding: 60px 8vw 80px;
  }

  .craft-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guarantee-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .shop-nav { padding: 20px 6vw; height: 72px; }
  .shop-nav-logo { height: 24px; }
  .shop-nav-label { font-size: 0.65rem; }
  .first-run-badge { font-size: 0.6rem; padding: 5px 12px; }
  .scarcity-callout { padding: 12px 16px; }
  
  .product-visual {
    height: auto;
    padding: 48px 6vw;
  }

  .product-visual-card { max-width: 280px; padding: 36px 28px; }
  .product-visual-number { font-size: 5rem; }
  .product-material-tags { gap: 6px; }
  .material-tag { font-size: 0.6rem; padding: 4px 10px; }

  .product-details { padding: 48px 6vw 72px; }
  .product-title { font-size: 2.2rem; }
  .product-intro { font-size: 0.95rem; margin-bottom: 36px; }

  .device-selector-heading { font-size: 0.65rem; }
  .device-option { padding: 16px 20px; }
  .device-option-label { font-size: 1rem; }
  .device-option-price { font-size: 0.8rem; }

  .purchase-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .purchase-price-amount { font-size: 2rem; }
  .purchase-btn { text-align: center; }

  .craft-section, .guarantee-section, .shop-cta-section { padding: 80px 6vw; }
  .craft-grid { grid-template-columns: 1fr; }
  .guarantee-badges { grid-template-columns: 1fr; }
  .product-facts { grid-template-columns: 1fr; }
  .craft-card { padding: 36px 28px; }

  .guarantee-inner h2 { font-size: 2rem; }
  .shop-cta-section h2 { font-size: 2rem; }

  .site-footer { padding: 40px 6vw; flex-direction: column; gap: 12px; text-align: center; }
  .footer-logo { height: 18px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .shop-nav { height: 64px; padding: 0 5vw; }
  .shop-nav-logo { height: 20px; }
  .shop-nav-label { display: none; }
  .product-visual { height: auto; padding: 32px 5vw; }
  .product-visual-card { max-width: 200px; padding: 24px 20px; }
  .product-visual-number { font-size: 4rem; }
  .product-visual-ornament { top: 48px; }

  .product-details { padding: 36px 5vw 60px; }
  .product-title { font-size: 1.8rem; margin-bottom: 20px; }
  .product-intro { font-size: 0.9rem; margin-bottom: 28px; }

  .device-option { padding: 14px 16px; }
  .device-option-label { font-size: 0.95rem; }
  .purchase-btn { padding: 14px 28px; font-size: 0.75rem; letter-spacing: 0.18em; }

  .craft-section, .guarantee-section, .shop-cta-section { padding: 60px 5vw; }
  .craft-card { padding: 28px 20px; }
  .craft-number { font-size: 2rem; }
  .craft-header { margin-bottom: 48px; }
  .craft-header h2 { font-size: 1.8rem; }

  .guarantee-badge { padding: 28px 20px; }
  .guarantee-section { padding: 60px 5vw; }
  .shop-cta-section { padding: 60px 5vw; }
  .shop-cta-section h2 { font-size: 1.8rem; }
  .shop-cta-scroll-btn { padding: 14px 32px; }

  .success-section { padding: 80px 5vw 60px; }
  .success-heading { font-size: 2.2rem; }
  .success-detail-row { padding: 14px 20px; }
}

/* ══════════════════════════════
   IMAGE PLACEHOLDER EARMARKS
   These are visible markers for photo placement.
   Replace each placeholder div with an <img> or <figure> when assets are ready.
   ══════════════════════════════ */

.img-placeholder {
  width: 100%;
  border: 1.5px dashed var(--accent);
  background: rgba(196, 149, 106, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 24px;
  text-align: center;
  border-radius: 2px;
}

.img-placeholder--primary {
  flex: 1;
  min-height: 220px;
  max-width: 380px;
}

.img-placeholder--secondary {
  min-height: 100px;
  max-width: 380px;
}

/* Standalone (between sections) */
.img-placeholder--materials {
  margin-bottom: 48px;
  padding: 40px 24px;
}

.img-placeholder--lifestyle {
  max-width: 1000px;
  margin: 0 auto 0 auto;
  padding: 48px 24px;
}

/* Inside device selector */
.img-placeholder--fit {
  margin: 20px 0;
  padding: 28px 20px;
}

.img-placeholder-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.img-placeholder-hint {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  color: var(--fg-dim);
  font-style: italic;
}

/* ══════════════════════════════
   MADE TO ORDER / PRE-ORDER NOTICE
   ══════════════════════════════ */

.made-to-order-notice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  border-left: 2px solid var(--accent);
  background: rgba(196, 149, 106, 0.06);
  margin: 24px 0 0;
}

.mto-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: rgba(196, 149, 106, 0.2);
  padding: 4px 10px;
  border-radius: 2px;
}

.mto-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--fg-label-pass);
  line-height: 1.6;
  margin: 0;
}

/* ── WAITLIST CTA (shop page) ── */
.shop-waitlist {
  padding: 20px 0 0;
}

.shop-waitlist-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.shop-waitlist-sub {
  display: block;
  font-size: 0.9rem;
  color: var(--fg-dim);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.shop-waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-waitlist-inputs {
  display: flex;
  gap: 0;
}

.shop-waitlist-email {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.shop-waitlist-email::placeholder {
  color: var(--fg-dim);
}

.shop-waitlist-email:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.shop-waitlist-submit {
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.shop-waitlist-submit:hover {
  background: var(--accent-light);
}

.shop-waitlist-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.shop-waitlist-msg {
  font-size: 0.8rem;
  line-height: 1.5;
  min-height: 20px;
  display: block;
}

.shop-waitlist-msg--success {
  color: var(--accent-light);
}

.shop-waitlist-msg--error {
  color: #c46a5a;
}

@media (max-width: 768px) {
  .shop-waitlist-inputs { flex-direction: column; }
  .shop-waitlist-email { border-right: 1px solid var(--border); }
}

/* ── FIRST RUN HEADER ── */
.first-run-header {
  margin-bottom: 20px;
}

.first-run-badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 2px;
}

/* ── SCARCITY CALLOUT ── */
.scarcity-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(196, 149, 106, 0.08);
  border: 1px solid rgba(196, 149, 106, 0.25);
  margin-bottom: 36px;
}

.scarcity-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.scarcity-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--cream);
  line-height: 1.6;
}

.scarcity-text strong {
  color: var(--accent);
  font-weight: 500;
}


/* ── FAQ ACCORDION ── */
.shop-faq {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.shop-faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 0;
  min-height: 44px;
  color: var(--fg-label-pass);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.shop-faq-toggle:hover {
  color: var(--fg);
}

.shop-faq-toggle[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.shop-faq-content {
  margin-top: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.faq-answer {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--fg-dim);
  line-height: 1.7;
}

/* ── CAROUSEL ── */
.carousel {
  position: relative;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.carousel-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 3 / 4;
  position: relative;
}

.carousel-img-btn {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  display: block;
  position: relative;
}

.carousel-img-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}

.carousel-img-btn:hover img {
  transform: scale(1.02);
}

.carousel-prototype-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(12, 10, 8, 0.72);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(196, 149, 106, 0.2);
  padding: 5px 12px;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: rgba(232, 224, 212, 0.65);
  font-style: italic;
  font-family: 'DM Sans', sans-serif;
  pointer-events: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12, 10, 8, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(196, 149, 106, 0.2);
  color: rgba(232, 224, 212, 0.85);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
  padding: 0;
}

.carousel-arrow:hover {
  background: rgba(196, 149, 106, 0.3);
  color: var(--cream);
}

.carousel-arrow--prev { left: 10px; }
.carousel-arrow--next { right: 10px; }

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 10px;
  background: var(--bg-card);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(196, 149, 106, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

.carousel-hint {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 0 0 10px;
  background: var(--bg-card);
  font-family: 'DM Sans', sans-serif;
}

.material-variation-note {
  margin-top: 12px;
  font-size: 0.7rem;
  color: var(--fg-dim);
  font-style: italic;
  line-height: 1.5;
  text-align: center;
  max-width: 440px;
}

/* ── LIGHTBOX ── */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 10, 8, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  pointer-events: none;
}

.lightbox-content > * {
  pointer-events: auto;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(196, 149, 106, 0.3);
}

.lightbox-caption {
  margin-top: 16px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 224, 212, 0.7);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
}

.lightbox-dots {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.lightbox-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(196, 149, 106, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.lightbox-dot.active {
  background: var(--accent);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(12, 10, 8, 0.7);
  border: 1px solid rgba(196, 149, 106, 0.25);
  color: rgba(232, 224, 212, 0.8);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(196, 149, 106, 0.2);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12, 10, 8, 0.6);
  border: 1px solid rgba(196, 149, 106, 0.25);
  color: rgba(232, 224, 212, 0.8);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
  z-index: 10;
}

.lightbox-arrow:hover {
  background: rgba(196, 149, 106, 0.25);
}

.lightbox-arrow--prev { left: 20px; }
.lightbox-arrow--next { right: 20px; }
