/* Zerentia — estilo base: negro sobre fondos claros */
:root {
  --bg: #FFFFFF;
  --soft: #F6F6F4;
  --line: #E6E6E3;
  --ink: #111111;
  --muted: #6B6B6B;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.i18n-pending body { opacity: 0; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); transition: opacity .15s; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Barra de anuncio y encabezado */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: .55rem 1rem; }
.top { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.left { display: flex; align-items: center; gap: .9rem; }
.menu-btn { background: none; border: 0; padding: .35rem; margin-left: -.35rem; cursor: pointer; display: flex; }
.menu-btn svg { width: 24px; height: 24px; }
.logo-link { display: flex; }
.logo-link img { width: 26px; height: 26px; }
.wordmark { justify-self: center; text-decoration: none; font: 500 1.05rem/1 var(--sans); letter-spacing: .32em; margin-right: -.32em; }
/* Marca del pie: ZERENTIA arriba, ícono al final */
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: .7rem; text-decoration: none; font: 500 .95rem/1 var(--sans); }
.foot-icon { width: 22px; height: 22px; margin-top: .4rem; }
.brand span { letter-spacing: .32em; margin-right: -.32em; }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 1.1rem; }
.lang { display: flex; border: 1px solid var(--line); }
.lang button { background: none; border: 0; padding: .3rem .55rem; font-size: .75rem; letter-spacing: .1em; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.bag { background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: .35rem; font-size: .85rem; padding: .3rem 0; }
.bag svg { width: 20px; height: 20px; }

/* Producto */
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); padding: 2rem 0 4rem; align-items: start; }
.gallery { min-width: 0; }
.viewer { position: relative; }
.arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid var(--line);
  background: rgb(255 255 255 / .9); font-size: 1.6rem; line-height: 1; cursor: pointer; display: none; opacity: 0; transition: opacity .2s; }
.arrow.prev { left: 14px; } .arrow.next { right: 14px; }
.viewer:hover .arrow, .arrow:focus-visible { opacity: 1; }
@media (hover: hover) and (min-width: 768px) { .arrow { display: grid; place-items: center; } }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--soft); }
.track::-webkit-scrollbar { display: none; }
.track.positioning { visibility: hidden; }
.slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1; margin: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: .5rem; }
.thumbs button { padding: 0; border: 1px solid transparent; background: var(--soft); cursor: pointer; aspect-ratio: 1; opacity: .6; transition: opacity .15s; }
.thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.info { position: sticky; top: 92px; }
.eyebrow { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.info h1 { font: 600 clamp(2.1rem, 3.6vw, 3rem)/1.05 var(--serif); letter-spacing: -.01em; margin: 0; }
.price { font-size: 1.35rem; margin: .9rem 0 0; }
.sub { color: var(--muted); font-size: .92rem; margin: .2rem 0 0; }
.pitch { margin: 1.4rem 0; max-width: 46ch; }
.option-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .5rem; }
.option-label span { color: var(--muted); letter-spacing: 0; text-transform: none; margin-left: .35rem; }
.chips { display: flex; gap: .5rem; margin-bottom: 1.4rem; }
.chip { border: 1px solid var(--ink); padding: .5rem 1rem; font-size: .9rem; background: var(--bg); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: .6rem; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 42px; height: 52px; background: none; border: 0; cursor: pointer; font-size: 1.1rem; }
.qty output { width: 28px; text-align: center; }
.btn { background: var(--ink); color: #fff; border: 1px solid var(--ink); height: 52px; padding: 0 1.5rem; font: 500 .85rem var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: #fff; color: var(--ink); }
.perks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .55rem; font-size: .92rem; }
.perks li { display: flex; gap: .7rem; align-items: center; }
.perks svg { width: 20px; height: 20px; flex: none; }

.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 1rem 0; display: flex; justify-content: space-between; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.acc[open] summary::after { content: "−"; }
.acc .body { padding: 0 0 1.1rem; color: #333; font-size: .95rem; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: .4rem 0; border-bottom: 1px solid var(--soft); vertical-align: top; font-weight: 400; }
.specs th { color: var(--muted); width: 38%; padding-right: 1rem; }
.acc ul { margin: 0; padding-left: 1.1rem; }

/* Secciones */
section.block { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }
section.soft { background: var(--soft); border-top: 0; }
.block h2 { font: 600 clamp(1.9rem, 3.5vw, 2.7rem)/1.1 var(--serif); margin: 0 0 1rem; }
.block .lead { color: var(--muted); max-width: 52ch; margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.feature h3 { font: 600 1.35rem/1.2 var(--serif); margin: .9rem 0 .4rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature .num { font: 500 .75rem var(--sans); letter-spacing: .18em; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.neck { background: #fff; border: 1px solid var(--line); padding: 1.5rem; }
.neck svg { width: 100%; height: auto; }
.legend { display: grid; gap: .5rem; margin-top: 1.5rem; font-size: .95rem; }
.legend div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: .45rem 0; color: var(--muted); }
.legend .on { color: var(--ink); font-weight: 500; }
.faq { max-width: 760px; }
.faq h2 { margin-bottom: 1.5rem; }

footer.site { border-top: 1px solid var(--line); padding: 3rem 0 6rem; font-size: .85rem; color: var(--muted); }
footer.site .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center; }
footer.site .brand { color: var(--ink); }
footer.site nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; }
footer.site a { text-decoration: none; }

/* Barra fija de compra en el celular */
.sticky-buy { position: fixed; inset: auto 0 0 0; z-index: 40; background: #fff; border-top: 1px solid var(--line);
  padding: .7rem 1.25rem calc(.7rem + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 1rem;
  transform: translateY(110%); transition: transform .25s ease; }
.sticky-buy.show { transform: none; }
.sticky-buy .name { font: 600 1.05rem/1.2 var(--serif); }
.sticky-buy .p { font-size: .85rem; color: var(--muted); }
.sticky-buy .btn { margin-left: auto; height: 46px; padding: 0 1.1rem; }

.toast { position: fixed; left: 50%; bottom: 5.5rem; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: .85rem 1.25rem; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; max-width: calc(100% - 2rem); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; padding-top: 0; }
  .gallery { margin-inline: -1.25rem; }
  .thumbs { padding-inline: 1.25rem; }
  .info { position: static; }
  .features { grid-template-columns: 1fr; gap: 1.75rem; }
  .split { grid-template-columns: 1fr; }
  .sticky-buy { display: flex; }
  .announce { font-size: .68rem; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sticky-buy, .toast, body { transition: none; } }

/* Menú lateral */
.scrim { position: fixed; inset: 0; background: rgb(0 0 0 / .3); z-index: 55; }
.menu { position: fixed; inset: 0 auto 0 0; width: min(340px, 86vw); background: #fff; z-index: 60; transform: translateX(-100%);
  transition: transform .25s ease; display: flex; flex-direction: column; border-right: 1px solid var(--line); visibility: hidden; }
.menu.open { transform: none; visibility: visible; }
.menu-head { display: flex; justify-content: space-between; align-items: center; height: 68px; padding: 0 1.4rem; border-bottom: 1px solid var(--line); }
.menu-title { font-weight: 500; letter-spacing: .32em; font-size: .9rem; }
.menu-close { background: none; border: 0; font-size: 1.1rem; cursor: pointer; padding: .4rem; }
.menu nav { display: flex; flex-direction: column; padding: .75rem 1.4rem; }
.menu nav a { text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }

/* Celular: hamburguesa + ícono + ZERENTIA juntos a la izquierda */
@media (max-width: 767px) {
  .top .wrap { grid-template-columns: auto 1fr auto; }
  .logo-link { display: none; }
  .wordmark { justify-self: start; margin-left: .6rem; font-size: .95rem; }
  .top-actions { gap: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .menu { transition: none; } }
