/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --bg:          oklch(0.96 0.012 70);
  --bg-deep:     oklch(0.92 0.022 60);
  --bg-card:     oklch(0.985 0.006 75);
  --ink:         oklch(0.22 0.012 60);
  --ink-soft:    oklch(0.38 0.012 60);
  --ink-mute:    oklch(0.55 0.010 60);
  --rule:        oklch(0.85 0.012 60);
  --rule-soft:   oklch(0.90 0.014 60);
  --accent:      oklch(0.52 0.14 25);
  --accent-deep: oklch(0.42 0.10 22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter Tight', Helvetica, sans-serif;
  --mono:  'JetBrains Mono', monospace;
}

/* ── BASE ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.t-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.t-display {
  font-family: var(--serif);
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.05;
  font-weight: 400;
}
.t-display em { font-style: italic; color: var(--accent); }
.t-h2 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.t-h2 em { font-style: italic; color: var(--accent); }
.t-body { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.t-mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-mute); }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 13px 32px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-ghost { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
/* ── TOPBAR ───────────────────────────────────────────────── */
.topbar {
  background: var(--ink);
  color: var(--bg-deep);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  padding: 11px 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.topbar-msg { white-space: nowrap; }
.topbar-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-mute);
  flex-shrink: 0;
}

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-soft);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px;
}
.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}
.logo-brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.logo-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--ink-mute);
  margin-top: 3px;
  text-transform: uppercase;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.site-nav > a,
.site-nav .nav-item > a {
  color: var(--ink);
  transition: color 0.2s;
}
.site-nav > a:hover,
.site-nav .nav-item > a:hover { color: var(--accent-deep); }

/* Nav dropdown */
.nav-item { position: relative; }
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.nav-item > a .chev {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.25s;
}
.nav-item:hover > a .chev,
.nav-item.is-open > a .chev {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--rule-soft);
  padding: 14px 0;
  box-shadow: 0 18px 40px -20px oklch(0.22 0.012 60 / 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 60;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item:hover .dropdown,
.nav-item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover {
  background: var(--bg);
  color: var(--accent-deep);
}
.dropdown a .count {
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: none;
}
.dropdown .sep {
  height: 1px;
  background: var(--rule-soft);
  margin: 8px 0;
}

/* Right side */
.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.cart-btn:hover { opacity: 0.55; }
#cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  width: 28px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE PANEL ─────────────────────────────────────────── */
.mobile-panel {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 50;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
  overflow-y: auto;
  padding: 88px 28px 40px;
}
.mobile-panel.is-open {
  transform: translateY(0);
  visibility: visible;
}
.mobile-panel-inner {
  max-width: 520px;
  margin: 0 auto;
}
.mobile-panel a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.mobile-panel a:hover { color: var(--accent); }
.mobile-panel a .count {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mobile-panel .group-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 32px 0 4px;
}
.mobile-panel .mobile-sub a {
  font-family: var(--sans);
  font-style: normal;
  font-size: 18px;
  letter-spacing: 0;
  padding: 14px 0 14px 16px;
}
.mobile-panel .mobile-footer-actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-panel .mobile-footer-actions .btn {
  display: block;
  text-align: center;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.15em;
  border-bottom: none;
  padding: 13px 32px;
}
.mobile-panel .mobile-footer-actions .btn:hover { color: inherit; }

body.menu-open { overflow: hidden; }

/* ── MANIFIESTO STRIP ─────────────────────────────────────── */
.manifiesto {
  background: color-mix(in oklch, var(--accent) 12%, var(--bg));
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 44px 24px;
  text-align: center;
  position: relative;
}
.manifiesto-bullet {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: color-mix(in oklch, var(--accent) 55%, transparent);
  margin: 0 auto 14px;
}
.manifiesto-bullet:last-child { margin: 14px auto 0; }
.manifiesto-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.manifiesto-headline {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto;
}
.manifiesto-headline em {
  font-style: italic;
  color: var(--accent);
}
@media (max-width: 768px) {
  .manifiesto { padding: 36px 20px; }
  .manifiesto-headline { font-size: 24px; line-height: 1.22; }
  .manifiesto-headline br { display: none; }
  .manifiesto-bullet { font-size: 22px; margin-bottom: 10px; }
  .manifiesto-bullet:last-child { margin: 10px auto 0; }
}

/* ── COLLECTION ───────────────────────────────────────────── */
.collection { padding: 88px 0 120px; background: var(--bg); isolation: isolate; }
.collection > .container { max-width: 1700px; padding-left: clamp(20px, 3vw, 56px); padding-right: clamp(20px, 3vw, 56px); }
.collection-header { margin-bottom: 48px; }
.collection-footer {
  display: flex;
  justify-content: center;
  margin-top: 72px;
  padding-bottom: 24px;
}
.collection-header-top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-end;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule-soft);
}
.filter-row {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 7px 20px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-mute);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-items: start;
  column-gap: 20px;
  row-gap: 44px;
}
/* Reserva espacio del catálogo antes de que cargue /api/products — evita CLS por empuje del footer.
   :empty solo aplica mientras el grid no tiene hijos; al primer appendChild de renderGrid() se libera. */
#catalogo-grid:empty { min-height: 1300px; }
@media (max-width: 1024px) { #catalogo-grid:empty { min-height: 1200px; } }
@media (max-width: 768px)  { #catalogo-grid:empty { min-height: 1700px; } }

/* ── PRODUCT CARD ─────────────────────────────────────────── */
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: box-shadow 0.35s ease;
}
.card:hover { box-shadow: 0 8px 28px -8px oklch(0.22 0.012 60 / 0.18); }
.card-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='56'%3E%3Ctext x='100' y='24' text-anchor='middle' font-family='Georgia,serif' font-size='13' letter-spacing='4' fill='%23362418' opacity='0.2'%3EBENGALI%3C/text%3E%3Ctext x='100' y='44' text-anchor='middle' font-family='Georgia,serif' font-size='9' letter-spacing='6' fill='%23362418' opacity='0.15'%3EJEWELRY%3C/text%3E%3C/svg%3E") center/auto no-repeat;
}
/* Acento editorial: columna 3 más ancha — cada 3ra card de cada fila queda 1:1 pero más grande */
@media (min-width: 1025px) {
  .product-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  }
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.5s ease;
}
.card-img-wrap img.is-loaded {
  opacity: 1;
}
.card:hover .card-img-wrap img { transform: scale(1.04); }
.card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: color-mix(in oklch, var(--bg-card) 85%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ink);
  padding: 5px 10px;
}
.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover .card-overlay { opacity: 1; }
.card-overlay span {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--bg);
  color: var(--ink);
  padding: 6px 14px;
}
.card-status {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--ink);
  color: var(--bg);
  padding: 5px 11px;
}
.card-sub {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}
.card-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.card-bottom { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink); }
.card.unavailable { cursor: default; }
.card.unavailable:hover { box-shadow: none; }
.card.unavailable .card-img-wrap img { filter: grayscale(20%); opacity: 0.45; }
.card.unavailable .card-overlay { display: none; }
.card.unavailable .card-sub,
.card.unavailable .card-title,
.card.unavailable .card-price { color: var(--ink-mute); }

/* Text card (editorial slot dentro del grid) */
.card-text {
  grid-column: span 1;
  background: var(--bg-card);
  border: 1px solid var(--rule-soft);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  aspect-ratio: 1/1;
}
.card-text-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.card-text-body {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.card-text-body em { font-style: italic; color: var(--accent); }
.card-text-note {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.card-text-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}
.card-text-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* ── PROCESO ──────────────────────────────────────────────── */
.proceso {
  padding: 80px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.proceso-header {
  margin-bottom: 28px;
}
.proceso-intro {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 820px;
  margin: 0 0 36px;
  padding-bottom: 0;
}
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.proceso-step { padding-top: 20px; border-top: 1px solid var(--rule); }
.proceso-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1;
}
.proceso-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}
.proceso-body {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ── PRODUCT MODAL ────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--bg);
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: modal-pop 0.28s ease;
}
@keyframes modal-pop {
  from { transform: translateY(16px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-deep);
  border: 1px solid var(--rule);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-soft);
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 22px;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--rule); color: var(--ink); }
.modal-gallery {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}
.modal-main-img { overflow: hidden; background: var(--bg-card); }
.modal-main-img img { width: 100%; height: auto; display: block; }
.modal-thumbs { display: flex; gap: 8px; }
.modal-thumb {
  width: 58px;
  height: 58px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.modal-thumb.active { border-color: var(--ink); }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-details {
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  max-height: 90vh;
}
.modal-sku { font-family: var(--mono); font-size: 9px; color: var(--ink-mute); letter-spacing: 0.1em; }
.modal-name { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.2; color: var(--ink); }
.modal-meta { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-mute); }
.modal-price {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--ink);
  padding: 14px 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.modal-desc { font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.modal-actions .btn { width: 100%; text-align: center; }
.modal-trust {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-align: center;
  padding-top: 4px;
  line-height: 1.7;
}

/* ── PEDIDOS SECTION ──────────────────────────────────────── */
.pedidos-section {
  position: relative;
  background: #000;
  color: var(--bg);
  padding: 110px 24px;
  text-align: center;
}
.pedidos-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.pedidos-section .t-eyebrow { color: rgba(255, 255, 255, 0.55); }
.pedidos-title {
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 18px 0 24px;
  color: var(--bg);
}
.pedidos-title em { font-style: italic; color: color-mix(in oklch, var(--accent) 70%, white); }
.pedidos-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 38px;
}
.pedidos-cta {
  background: var(--bg);
  color: var(--ink);
  border: none;
  padding: 15px 38px;
  font-size: 11px;
  letter-spacing: 0.18em;
  transition: background 0.2s, color 0.2s;
}
.pedidos-cta:hover { background: var(--accent); color: var(--bg); }

/* ── CREADORA ─────────────────────────────────────────────── */
.creadora {
  background: var(--bg);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 96px 24px;
}
.creadora-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.creadora-stack {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
}
.creadora-photo {
  position: absolute;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 14px 40px -16px oklch(0.22 0.012 60 / 0.30);
}
.creadora-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creadora-photo-main {
  top: 4%;
  left: 6%;
  width: 78%;
  aspect-ratio: 1/1;
  border: 6px solid var(--bg-card);
  outline: 1px solid var(--rule-soft);
  transform: rotate(-2.2deg);
  z-index: 1;
}
.creadora-photo-sec {
  right: 2%;
  bottom: 6%;
  width: 38%;
  aspect-ratio: 1/1;
  border: 5px solid var(--bg-card);
  outline: 1px solid var(--rule-soft);
  transform: rotate(4deg);
  z-index: 2;
}
.creadora-caption {
  position: absolute;
  bottom: 2%;
  left: 10%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--accent);
  transform: rotate(-3deg);
  z-index: 3;
  letter-spacing: 0.02em;
}
.creadora-copy {
  display: flex;
  flex-direction: column;
}
.creadora-copy .t-h2 { margin: 14px 0 26px; }
.creadora-copy p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}
.creadora-link {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.creadora-link:hover { opacity: 0.7; }

/* ── REVIEWS ──────────────────────────────────────────────── */
.reviews { padding: 88px 0 96px; background: var(--bg-deep); }
.reviews-header { text-align: center; margin-bottom: 56px; }
.reviews-header .t-h2 { margin: 10px 0 18px; }
.rating-row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.stars-full { color: var(--accent); letter-spacing: 2px; font-size: 14px; }
.rating-count { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: stretch;
}

/* Pull-quote */
.review-pull {
  position: relative;
  background: var(--bg-card);
  padding: 56px 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.review-pull-mark {
  position: absolute;
  top: 8px;
  left: 32px;
  font-family: var(--serif);
  font-size: 88px;
  line-height: 1;
  color: var(--accent);
  font-style: italic;
}
.review-pull-body {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
}
.review-pull-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  flex-shrink: 0;
}
.review-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.review-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 3px;
}

/* Small reviews stack */
.review-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-small {
  background: var(--bg-card);
  border: 1px solid var(--rule-soft);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.review-stars { color: var(--accent); font-size: 12px; letter-spacing: 2px; }
.review-small-body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}
.review-small-author {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ── INSTAGRAM ────────────────────────────────────────────── */
.instagram { padding: 80px 0 88px; }
.instagram-header { text-align: center; margin-bottom: 36px; }
.instagram-header .t-eyebrow { margin-bottom: 10px; }
.instagram-title {
  display: inline-block;
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  transition: color 0.2s;
}
.instagram-title:hover { color: var(--accent-deep); }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.insta-grid a { aspect-ratio: 1; overflow: hidden; display: block; background: var(--bg-deep); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.insta-grid a:hover img { transform: scale(1.05); }


/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer { background: #000; color: rgba(255,255,255,0.85); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 72px 24px 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand { text-align: left; }
.footer-brand-imgs { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 18px; gap: 10px; }
.footer-brand-imgs .f-cat { height: 84px; width: auto; opacity: 0.9; }
.footer-brand-imgs .f-font { height: 36px; width: auto; opacity: 0.85; }
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--bg); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  transition: color 0.2s;
}
.footer-contact-item:hover { color: var(--bg); }
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* ── CART OVERLAY + PANEL ─────────────────────────────────── */
#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  max-width: 400px;
  background: var(--bg);
  z-index: 50;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 32px rgba(0,0,0,0.1);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-panel-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule-soft);
  flex-shrink: 0;
}
.cart-panel-hdr h2 { font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 300; }
#cart-header-back { display: none; align-items: center; gap: 12px; }
.cart-back-btn {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.cart-back-btn:hover { color: var(--ink); }
.cart-step-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); }
.cart-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.cart-close-btn:hover { opacity: 0.5; }

#cart-view { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
#cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 16px;
}
#cart-empty svg { color: var(--rule); width: 48px; height: 48px; }
#cart-empty p { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
#cart-full { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
#cart-items { flex: 1; overflow-y: auto; padding: 0 24px; }

.cart-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule-soft); }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; background: var(--bg-card); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; line-height: 1.3; }
.cart-item-sub { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); margin-top: 4px; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.cart-item-price { font-size: 13px; font-weight: 500; }
.cart-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--rule);
  padding: 2px;
  transition: color 0.2s;
  line-height: 1;
}
.cart-remove:hover { color: var(--ink); }

.cart-footer { padding: 20px 24px; border-top: 1px solid var(--rule-soft); flex-shrink: 0; }
.cart-totals { margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.cart-totals-row { display: flex; justify-content: space-between; }
.cart-totals-row .lbl { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-mute); }
.cart-totals-row .val { font-size: 13px; color: var(--ink-soft); }
.cart-totals-row.is-total .lbl { color: var(--ink); font-weight: 500; font-size: 11px; }
.cart-totals-row.is-total .val { font-size: 16px; font-weight: 500; color: var(--ink); }
.cart-wa-link {
  display: block;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  margin-top: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.cart-wa-link:hover { color: var(--ink); }

/* ── CHECKOUT ─────────────────────────────────────────────── */
#checkout-view { flex: 1; display: none; flex-direction: column; overflow: hidden; }
.checkout-scroll { flex: 1; overflow-y: auto; padding: 24px 20px; }
.checkout-eyebrow { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-mute); margin-bottom: 28px; }
#form-envio { display: flex; flex-direction: column; gap: 26px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.form-input {
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 0 0 10px 0;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--ink);
  background: transparent;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  border-radius: 0;
}
.form-input:focus { border-bottom-color: var(--ink); }
.form-input::placeholder { color: var(--rule); font-size: 12px; }
#form-error { font-size: 11px; color: #c0392b; display: none; margin-top: -8px; }
#paypal-section { display: none; }
.paypal-summary { border-top: 1px solid var(--rule-soft); padding: 20px 0; margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.paypal-row { display: flex; justify-content: space-between; }
.paypal-row .lbl { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-mute); }
.paypal-row .val { font-size: 12px; color: var(--ink-soft); }
.paypal-row.is-total .lbl { color: var(--ink); font-weight: 500; }
.paypal-row.is-total .val { font-size: 16px; font-weight: 500; color: var(--ink); }
#checkout-error { font-size: 11px; color: #c0392b; text-align: center; display: none; margin-bottom: 12px; }

/* ── POLÍTICAS PAGE ───────────────────────────────────────── */
.pol-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--rule-soft);
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.pol-header-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pol-back {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.2s;
}
.pol-back:hover { color: var(--ink); }
.pol-brand {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.pol-section {
  padding: 72px 24px;
  scroll-margin-top: 56px;
}
.pol-section:nth-of-type(odd)  { background: var(--bg-card); }
.pol-section:nth-of-type(even) { background: var(--bg-deep); }
.pol-inner {
  max-width: 680px;
  margin: 0 auto;
}
.pol-section-hdr {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule-soft);
}
.pol-section-hdr .t-eyebrow {
  display: block;
  margin-bottom: 0;
}
.pol-section-hdr h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 16px;
  position: relative;
}
.pol-section-hdr h2::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 18px;
}
.pol-wa {
  display: inline-block;
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.pol-wa:hover { color: var(--ink); }
.pol-footer {
  background: var(--ink);
  padding: 24px;
}
.pol-footer .t-eyebrow { color: oklch(0.70 0.010 60); }
.pol-footer .pol-back { color: oklch(0.60 0.010 60); }
.pol-footer .pol-back:hover { color: var(--bg); }
@media (max-width: 600px) {
  .pol-header { padding: 14px 20px; }
  .pol-section { padding: 48px 20px; }
  .pol-section-hdr h2 { font-size: 26px; }
  .pol-section-hdr { margin-bottom: 28px; padding-bottom: 24px; }
  .info-section.info-section--intro p { font-size: 21px; }
}
.info-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.info-section:last-child { border-bottom: none; padding-bottom: 0; }
.info-section--intro { padding-top: 24px; }
.info-section.info-section--intro p {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.6;
}
.info-section h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 7px;
  line-height: 1.3;
}
.info-section p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.info-section p strong { color: var(--ink); font-weight: 500; }
.info-section p em { font-style: italic; }
/* ── PAYMENT PROCESSING ───────────────────────────────────── */
#payment-processing {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0 24px;
  gap: 6px;
}
.processing-title {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  margin: 0;
}
.processing-sub {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.processing-dots {
  display: flex;
  gap: 7px;
}
.processing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-soft);
  animation: dot-pulse 1.2s ease-in-out infinite;
}
.processing-dots span:nth-child(2) { animation-delay: 0.2s; }
.processing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-pulse {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.85); }
  40%            { opacity: 1;   transform: scale(1); }
}

/* ── SKELETON ─────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton {
  display: block;
  background: linear-gradient(90deg, var(--bg-deep) 25%, var(--rule-soft) 50%, var(--bg-deep) 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 2px;
}

/* ── WHATSAPP FAB ─────────────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 30;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.wa-fab:hover { transform: scale(1.1); }
.wa-fab svg { color: white; width: 26px; height: 26px; fill: currentColor; }

/* ── NO-SCROLL ────────────────────────────────────────────── */
.no-scroll::-webkit-scrollbar { display: none; }
.no-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .topbar { gap: 28px; font-size: 9px; padding: 9px 16px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; gap: 24px; }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
  .proceso-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  /* Topbar — un mensaje rotativo */
  .topbar {
    gap: 0;
    padding: 10px 16px;
    height: 32px;
    overflow: hidden;
    position: relative;
  }
  .topbar-dot { display: none; }
  .topbar-msg { display: none; }
  .topbar-msg.live { display: block; animation: fadeMsg 0.4s ease; }
  @keyframes fadeMsg {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: none; }
  }

  /* Header */
  .nav-toggle { display: flex; }
  .site-nav { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; padding: 16px 20px; }
  .logo-brand { font-size: 20px; letter-spacing: 0.16em; }
  .logo-sub { font-size: 8px; letter-spacing: 0.28em; }

  /* Collection */
  .collection { padding: 56px 0 72px; }
  .collection > .container { padding-left: 16px; padding-right: 16px; }
  .collection-header { margin-bottom: 28px; }
  .collection-header-top { grid-template-columns: 1fr; gap: 16px; padding-bottom: 20px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; gap: 6px; -webkit-overflow-scrolling: touch; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
  /* Catálogo mobile: grid 2-col base con ritmo mixto (card-full cada 3 posiciones) */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 14px;
    align-items: start;
  }
  .card, .card-text { align-self: start; width: 100%; }
  .card-img-wrap { width: 100%; }
  /* Ritmo B: cards en posición 0, 3, 6… → full-width */
  .product-grid .card.card-full,
  .product-grid .card-text {
    grid-column: 1 / -1;
  }
  .product-grid .card.card-full .card-sub { display: block; }
  .product-grid .card:not(.card-full) .card-sub { display: none; }
  .product-grid .card.card-full .card-title { font-size: 18px; }
  .product-grid .card:not(.card-full) .card-title { font-size: 14px; }
  /* Text-card full-width: padding generoso, sin aspect-ratio forzado */
  .card-text {
    aspect-ratio: unset;
    padding: 24px 20px;
    gap: 10px;
    justify-content: center;
    text-align: left;
  }
  .card-text-eyebrow { font-size: 9px; letter-spacing: 0.18em; }
  .card-text-body { font-size: 22px; line-height: 1.15; }
  .card-text-note { display: none; }
  .card-text-link { font-size: 9px; letter-spacing: 0.14em; align-self: flex-start; }
  .card-sub { font-size: 9px; }
  .card-price { font-size: 11px; }
  .card-tag { font-size: 8px; padding: 4px 8px; top: 8px; left: 8px; }
  .card-status { font-size: 8px; padding: 4px 8px; top: 8px; right: 8px; }
  .collection-footer { margin-top: 48px; padding-bottom: 12px; }

  /* Modal */
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .modal-box {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    max-height: 92dvh;
    max-height: 92vh;
    border-radius: 0;
    animation: modal-slide 0.28s ease;
  }
  @keyframes modal-slide {
    from { transform: translateY(32px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
  }
  .modal-gallery { padding: 12px 12px 0; flex-shrink: 0; }
  .modal-main-img { height: 44vh; }
  .modal-main-img img { width: 100%; height: 100%; object-fit: contain; max-height: none; }
  .modal-thumbs { overflow-x: auto; }
  .modal-details { flex: 1; min-height: 0; max-height: none; padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 16px)); }
  .modal-name { font-size: 22px; }
  .modal-close { width: 44px; height: 44px; font-size: 26px; top: 10px; right: 10px; }

  /* Proceso */
  .proceso { padding: 56px 0; }
  .proceso-grid { grid-template-columns: 1fr; gap: 28px; }
  .proceso-header { margin-bottom: 20px; }
  .proceso-intro { font-size: 14px; margin: 0 0 28px; }
  /* Creadora */
  .creadora { padding: 64px 20px; }
  .creadora-inner { grid-template-columns: 1fr; gap: 48px; }
  .creadora-stack { max-width: 360px; margin: 0 auto; }
  .creadora-caption { font-size: 22px; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; gap: 20px; }
  .review-pull { padding: 44px 28px 32px; }
  .review-pull-body { font-size: 20px; }
  .review-pull-mark { font-size: 64px; top: 4px; left: 20px; }

  /* Instagram */
  .instagram { padding: 56px 0 64px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .instagram-title { font-size: 24px; }

  /* Reviews */
  .reviews { padding: 56px 0 64px; }
  .reviews-header { margin-bottom: 32px; }
  .review-small { padding: 22px 24px; }
  .review-small-body { font-size: 14px; }

  /* Footer */
  .footer-inner { padding: 48px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* t-h2 */
  .t-h2 { font-size: 28px; }

  /* Pedidos */
  .pedidos-section { padding: 72px 20px; }
  .pedidos-title { font-size: 34px; }
  .pedidos-sub { font-size: 13px; }
}

@media (max-width: 480px) {
  .t-h2 { font-size: 26px; }
  .product-grid { column-gap: 8px; row-gap: 14px; }
  .modal-main-img { height: 38vh; }
  .info-modal-box { max-height: 90vh; }
  .info-modal-hdr { padding: 20px 44px 18px 20px; }
  .info-modal-hdr h2 { font-size: 20px; }
  .info-modal-body { padding: 4px 20px 28px; }
}

/* ── Quick-view bottom sheet (≤1024px) ──────────────────── */
body.sheet-open { overflow: hidden; }
.quick-sheet { display: none; }

@media (max-width: 1024px) {
  .quick-sheet {
    display: block;
    position: fixed; inset: 0;
    z-index: 200;
    pointer-events: none;
  }
  .quick-sheet.is-open { pointer-events: all; }

  .qs-backdrop {
    position: absolute; inset: 0;
    background: rgba(26,23,20,.5);
    opacity: 0;
    transition: opacity .3s;
  }
  .quick-sheet.is-open .qs-backdrop { opacity: 1; }

  .qs-panel {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    max-height: 85dvh;
    background: var(--bg-card);
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 350ms cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .quick-sheet.is-open .qs-panel { transform: translateY(0); }

  .qs-handle {
    width: 40px; height: 4px;
    background: var(--rule); border-radius: 2px;
    margin: 14px auto 4px;
  }

  .qs-gallery {
    position: relative; aspect-ratio: 1/1;
    margin: 12px 22px 0;
    overflow: hidden; border-radius: 8px;
    background: var(--bg-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='56'%3E%3Ctext x='100' y='24' text-anchor='middle' font-family='Georgia,serif' font-size='13' letter-spacing='4' fill='%23362418' opacity='0.2'%3EBENGALI%3C/text%3E%3Ctext x='100' y='44' text-anchor='middle' font-family='Georgia,serif' font-size='9' letter-spacing='6' fill='%23362418' opacity='0.15'%3EJEWELRY%3C/text%3E%3C/svg%3E") center/auto no-repeat;
  }
  .qs-track {
    display: flex; width: 100%; height: 100%;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
  }
  .qs-track img {
    flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 0.3s ease;
  }
  .qs-track img.is-loaded { opacity: 1; }
  .qs-dots {
    position: absolute; bottom: 10px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 5px; align-items: center;
  }
  .qs-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(255,255,255,.6); transition: all .2s;
  }
  .qs-dot.is-active { width: 16px; border-radius: 3px; background: #fff; }

  .qs-info { padding: 16px 20px 4px; }
  .qs-eyebrow {
    display: block;
    font-family: var(--mono); font-size: 9px;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 6px;
  }
  .qs-name {
    font-family: var(--serif); font-size: 26px;
    font-weight: 400; line-height: 1.1;
    margin: 0 0 8px; color: var(--ink);
    outline: none;
  }
  .qs-price-row {
    display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px;
  }
  .qs-price { font-family: var(--serif); font-size: 22px; color: var(--ink); }
  .qs-price-note { font-family: var(--sans); font-size: 11px; color: var(--ink-mute); }
  .qs-desc {
    font-family: var(--sans); font-size: 12px;
    color: var(--ink-soft); line-height: 1.6; margin: 0 0 8px;
  }
  .qs-attrs {
    font-family: var(--mono); font-size: 10px;
    color: var(--ink-mute); letter-spacing: .1em; margin-bottom: 4px;
  }

  .qs-actions {
    position: sticky; bottom: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--rule-soft);
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 10px; padding: 12px 20px 20px;
  }
  .qs-wa {
    display: flex; align-items: center; justify-content: center;
    min-height: 44px; background: #25D366; color: #fff;
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    border-radius: 6px; text-decoration: none;
  }
  .qs-add {
    min-height: 44px; background: var(--ink); color: var(--bg);
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    border: none; border-radius: 6px; cursor: pointer;
  }
  .qs-add.is-sold-out { background: var(--rule); color: var(--ink-mute); cursor: default; }
}
