/* ==========================================================================
   Andrés Joyas y Relojes — tienda
   Rediseño 2026 (fase 1): fondo marfil para que el oro y las esmeraldas se
   vean como son, negro de vitrina para relojería y pie, y un acento
   esmeralda. La pared de microcemento de la tienda vive solo en «Tiendas».
   ========================================================================== */

:root {
  --wall: #faf8f5;      /* marfil: fondo general */
  --wall-2: #f1ede7;    /* piedra: fondo de fotos de producto */
  --surface: #ffffff;   /* historias, barra de confianza, paneles */
  --bone: #f4f1ec;      /* texto claro sobre negro */
  --bone-a: rgba(244, 241, 236, .3);
  --ink: #161514;
  --ink-2: #57524b;     /* 7,3:1 sobre marfil */
  --ink-3: #6b655d;
  --line: rgba(22, 21, 20, .14);
  --line-2: rgba(22, 21, 20, .08);
  --black: #121110;
  --emerald: #0e4b3b;   /* acento de marca */
  --ok: #22513a;
  --low: #7a4d0b;
  --out: #7d2a24;

  --serif: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; /* títulos */
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;         /* etiquetas y specs */

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 0px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--wall);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.is-locked { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { background: var(--wall); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0 0 1em; }
main { display: block; outline: none; }
[hidden] { display: none !important; }

::selection { background: var(--ink); color: var(--bone); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.i {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--black);
  color: var(--bone);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografía ---------- */

.eyebrow {
  margin: 0 0 16px;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.sec-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -.028em;
}

.page-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.032em;
}

.page-title--xl {
  font-size: clamp(42px, 6.2vw, 92px);
  line-height: .98;
  max-width: 15ch;
}

.sec-title em, .page-title em, .hero__title em { font-style: normal; }

.page-lead {
  max-width: 56ch;
  margin: 22px 0 0;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.page-lead a { text-underline-offset: 3px; }

.prose { max-width: 54ch; font-size: 16.5px; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--ink); text-underline-offset: 3px; }

.prose--lg { font-size: 18px; }
.prose--lg p:first-child {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.015em;
  font-size: clamp(23px, 2.1vw, 30px);
  line-height: 1.3;
  color: var(--ink);
}

.muted { color: var(--ink-2); }

/* Títulos secundarios: mismo peso y espaciado que los títulos de sección */
.drawer__title, .menu-cats__name, .cart-empty__title, .help-tile__text, .empty__title,
.fs__title, .summary__title, .values h3, .service-list h3, .legal h2 { font-weight: 500; letter-spacing: -.02em; }

/* ---------- Botones y enlaces ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--black);
  color: var(--bone);
  font: 500 14px/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, opacity .25s;
}
.btn:hover { background: #2b2926; border-color: #2b2926; }
.btn .i { width: 19px; height: 19px; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.btn--light { background: var(--bone); color: var(--black); border-color: var(--bone); }
.btn--light:hover { background: #fff; border-color: #fff; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 13px; }
.btn--lg { min-height: 58px; }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font: 500 14px/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  background: none;
  border-top: 0; border-left: 0; border-right: 0;
}
.text-link .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover .i { transform: translateX(4px); }
.text-link--light { color: var(--bone); }
.text-link--back { border-bottom: 0; }
.text-link--back:hover .i { transform: translateX(-4px); }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background .2s;
}
.icon-btn:hover { background: rgba(23, 22, 20, .07); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover, .chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bone); }

/* ---------- Barra de anuncios ---------- */

.announce {
  height: 34px;
  overflow: hidden;
  background: var(--emerald);
  color: #fff;
  font: 500 12px/34px var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: center;
}
.announce__track { position: relative; height: 100%; }
.announce__msg {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.announce__msg.is-on { opacity: 1; transform: none; }

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: transform .45s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 248, 245, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
  opacity: 0;
  transition: opacity .3s;
}
.site-header.is-stuck::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 78px;
  padding: 0 var(--gutter);
}
.site-header__side { display: flex; align-items: center; gap: 26px; min-width: 0; }
.site-header__side--right { justify-content: flex-end; gap: 4px; }
.site-header__side--right .nav-inline { margin-right: 14px; }

.nav-inline { display: flex; gap: 28px; }
.nav-inline a,
.site-header__cats a {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
  font: 500 14px/1 var(--sans);
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.nav-inline a::after,
.site-header__cats a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-inline a:hover::after, .nav-inline a[aria-current]::after,
.site-header__cats a:hover::after, .site-header__cats a[aria-current]::after { transform: scaleX(1); }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark { width: 40px; height: 40px; }
.brand__name {
  display: grid;
  gap: 5px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .28em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__name span {
  font: 500 10px/1 var(--sans);
  letter-spacing: .4em;
  color: var(--ink-2);
}

.cart-count {
  position: absolute;
  top: 3px; right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--bone);
  font: 500 11px/18px var(--sans);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 35% { transform: scale(1.35); } }

.site-header__cats { border-top: 1px solid var(--line-2); }
.site-header__cats ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 3.6vw, 56px);
  height: 46px;
  margin: 0;
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-header__cats ul::-webkit-scrollbar { display: none; }

.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.secure-note .i { width: 17px; height: 17px; }

@media (min-width: 900px) {
  .only-mobile { display: none !important; }
  .site-header__cats { display: none; } /* en desktop las categorías viven en el menú «Joyería» */
}

/* Menú desplegable «Joyería» */
.nav-drop { position: relative; }
.nav-drop__toggle { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop__toggle .i { width: 15px; height: 15px; stroke-width: 1.6; transition: transform .2s; }
.nav-drop__panel {
  position: absolute;
  top: 100%;
  left: -20px;
  z-index: 5;
  min-width: 230px;
  padding: 14px 0;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 18px 40px rgba(22, 21, 20, .1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s;
}
.nav-drop:hover .nav-drop__panel,
.nav-drop:focus-within .nav-drop__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-drop:hover .nav-drop__toggle .i,
.nav-drop:focus-within .nav-drop__toggle .i { transform: rotate(180deg); }
.nav-drop__panel ul { margin: 0; padding: 0; list-style: none; }
.nav-drop__panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}
.nav-drop__panel a::after { display: none; }
.nav-drop__panel a:hover { background: var(--wall); }
.nav-drop__all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line-2); }
.nav-drop__all a { color: var(--emerald); font-weight: 500; }
.nav-drop__all .i { width: 16px; height: 16px; }
@media (min-width: 900px) and (max-width: 1199px) {
  .nav-inline { gap: 22px; }
  .nav-inline .nav-inline__extra { display: none; } /* en tablet no cabe junto al logo */
}

@media (max-width: 899px) {
  :root { --gutter: 18px; }
  .only-desktop, .nav-inline { display: none !important; }
  .site-header__bar { height: 62px; padding: 0 6px; }
  .brand { gap: 10px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 14px; letter-spacing: .26em; padding-left: 10px; gap: 4px; }
  .brand__name span { display: none; } /* a 7 px no se lee: en móvil queda solo el nombre */
  .site-header__cats ul {
    justify-content: flex-start;
    gap: 26px;
    height: 42px;
    padding: 0 18px;
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
    mask-image: linear-gradient(90deg, #000 82%, transparent);
  }
  .site-header--minimal .site-header__bar { padding: 0 var(--gutter); }
  .site-header--minimal .text-link--back span, .secure-note span { display: none; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 12.5px; letter-spacing: .2em; }
}

/* ---------- Portada ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(calc(100svh - 112px), 880px);
  color: #fff;
  background: #1c1a18;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; margin: 0; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 9, 8, .62) 0%, rgba(10, 9, 8, .22) 45%, rgba(10, 9, 8, 0) 70%);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 53%; /* centrado en cuello y manos: se ven el dije, el anillo y los pulsos en cualquier ancho */
  animation: settle .9s var(--ease) both;
}
@keyframes settle { from { opacity: .6; } to { opacity: 1; } }
.hero__text {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  padding: clamp(96px, 14vw, 180px) 0 clamp(48px, 7vw, 96px);
}
.hero__text > * { max-width: 620px; }
/* Desktop: texto arriba a la izquierda, sobre la pared oscura, para dejar libres el anillo y los pulsos */
@media (min-width: 900px) {
  .hero { align-items: flex-start; }
  .hero__text { padding: clamp(48px, 6.5vw, 110px) 0 clamp(48px, 6vw, 90px); }
  .hero__media::after { background: linear-gradient(160deg, rgba(10, 9, 8, .66) 0%, rgba(10, 9, 8, .3) 34%, rgba(10, 9, 8, 0) 58%); }
}
/* Texto a la derecha, sobre el papel negro del ramo, para no tapar las joyas */
@media (min-width: 900px) {
  .hero--right .hero__text { display: flex; flex-direction: column; align-items: flex-end; }
  .hero--right .hero__text > * { width: min(100%, 520px); max-width: none; }
  .hero--right .hero__media::after { background: linear-gradient(270deg, rgba(10, 9, 8, .55) 0%, rgba(10, 9, 8, .18) 40%, rgba(10, 9, 8, 0) 62%); }
}
.hero .eyebrow { color: rgba(255, 255, 255, .86); }
.hero__title {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 3.7vw, 60px);
  line-height: 1.02;
  letter-spacing: -.012em;
  text-transform: uppercase;
  max-width: 15ch;
}
.hero__title span, .hero__title em { display: block; }
.hero__lead { max-width: 46ch; margin: 0 0 12px; font-size: 17.5px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.hero__lead:first-of-type { font-weight: 500; color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn { background: #fff; border-color: #fff; color: var(--ink); }
.hero .btn:hover { background: var(--wall); border-color: var(--wall); }
.hero .btn--line { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.hero .btn--line:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero__caption { margin: 26px 0 0; }
.hero__caption a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .86);
  font-size: 13.5px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .4);
  text-underline-offset: 4px;
}
.hero__caption a:hover { color: #fff; text-decoration-color: #fff; }
.hero__caption .i { width: 16px; height: 16px; }

@media (max-width: 899px) {
  /* En celular: foto arriba (joyas completas) y el texto debajo, sin taparlas */
  .hero { flex-direction: column; align-items: stretch; min-height: 0; background: var(--black); }
  .hero__media { position: relative; order: -1; aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(18, 17, 16, .55) 0%, rgba(18, 17, 16, 0) 30%); }
  .hero__img { object-position: 50% 42%; }
  .hero__text { padding: 26px 0 36px; }
  .hero__title { font-size: clamp(30px, 8.6vw, 44px); margin-bottom: 16px; }
  .hero__lead { font-size: 16px; margin-bottom: 10px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__caption { display: none; }
}

/* ---------- Secciones ---------- */

.section { padding: clamp(64px, 9vw, 128px) 0; }

.sec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.sec-head .eyebrow { margin-bottom: 12px; }
.sec-head__aside { max-width: 44ch; margin: 0; font-size: 15px; color: var(--ink-2); }

/* Grillas de imágenes de lado a lado (categorías y más vendidos) */
.bleed { padding-inline: clamp(8px, 1vw, 16px); }

/* Categorías */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(6px, .6vw, 12px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cat-tile { display: block; color: var(--ink); text-decoration: none; }
.cat-tile__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--wall-2);
}
.cat-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.cat-tile:hover .cat-tile__img { transform: scale(1.03); }
.cat-tile--dark .cat-tile__media { background: var(--black); color: #d9d3c9; }
.cat-tile__plate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 20px;
  background: radial-gradient(80% 60% at 50% 0, rgba(246, 222, 181, .14), transparent 70%);
  text-align: center;
  font: 500 12px/1.6 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.cat-tile__mark { width: 48%; color: #cfc8bd; transition: transform 1.4s var(--ease); }
.cat-tile:hover .cat-tile__mark { transform: scale(1.05); }
.cat-tile__label {
  display: grid;
  gap: 4px;
  padding: 14px 4px 0;
}
.cat-tile__name { font: 500 clamp(16px, 1.2vw, 20px)/1.2 var(--sans); letter-spacing: -.01em; }
.cat-tile__from { font: 400 12.5px/1.3 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }

@media (max-width: 1099px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 719px) {
  /* En celular las categorías se deslizan de lado, sin dejar una sola en la última fila */
  .cat-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 44%;
    gap: 10px;
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-grid > li { scroll-snap-align: start; }
}

/* Tarjetas de producto */
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(32px, 3.4vw, 52px) clamp(12px, 1.6vw, 24px);
}
.bleed .grid-products { gap: clamp(28px, 3vw, 44px) clamp(6px, .6vw, 12px); }
.bleed .card__body { padding-inline: 4px; }
@media (max-width: 1099px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 719px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; } }

.card { position: relative; }
.card__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wall-2); }
.card__media { position: absolute; inset: 0; display: block; }
.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.card__img--alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__img--alt { opacity: 1; }
  .card:hover .card__img:not(.card__img--alt) { transform: scale(1.02); }
}
.card__badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 7px 9px;
  background: var(--surface);
  color: var(--emerald);
  font: 500 12px/1 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  pointer-events: none;
}
.card__add {
  position: absolute;
  right: 10px; bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 11px;
  border: 0;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  font: 500 13px/1 var(--sans);
  letter-spacing: .01em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.card__add .i { width: 16px; height: 16px; stroke-width: 1.6; }
.card__add:hover { background: #fff; }
@media (hover: hover) {
  .card:hover .card__add, .card__add:focus-visible { opacity: 1; transform: none; }
}
@media (hover: none) {
  .card__add { opacity: 1; transform: none; width: 38px; padding: 0; justify-content: center; border-radius: 50%; }
  .card__add span { display: none; }
}
.card__body { padding-top: 14px; }
.card__name { margin: 0 0 4px; font: 500 15px/1.35 var(--sans); letter-spacing: -.005em; }
.card__name a { color: inherit; text-decoration: none; }
.card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__meta { margin: 0 0 8px; font: 400 12px/1.45 var(--mono); color: var(--ink-2); }
.card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; font: 500 15px var(--sans); font-variant-numeric: tabular-nums; }
.card__price s { font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.card.is-soldout .card__img { filter: grayscale(.5); opacity: .72; }

/* Historia editorial */
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--surface); }
.story__media { position: relative; margin: 0; min-height: min(92vh, 860px); overflow: hidden; background: var(--wall-2); }
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 660px;
  padding: clamp(48px, 7vw, 120px) clamp(24px, 6vw, 110px);
}
.story .sec-title { margin-bottom: 26px; max-width: 16ch; }
.story .prose { margin-bottom: 34px; }
.story--reverse .story__media { order: 2; }
.story--reverse .story__text { justify-self: end; }
.story__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

@media (max-width: 899px) {
  .story { grid-template-columns: 1fr; }
  .story__media { min-height: 0; aspect-ratio: 4 / 5; }
  .story--reverse .story__media { order: 0; }
  .story__text { padding: 40px var(--gutter) 64px; }
}

/* Promesas */
.promise { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise--bar { background: var(--surface); border-top: 0; }
.promise--bar .promise__list { padding: 28px 0; gap: 24px 32px; }
.promise--bar .i { width: 26px; height: 26px; }
.promise--bar h3 { margin-top: 12px; }
.promise--bar p { font-size: 14px; }
.promise__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) 0;
  list-style: none;
}
.promise .i { width: 30px; height: 30px; stroke-width: 1.1; }
.promise h3 { margin: 18px 0 6px; font: 500 15px/1.35 var(--sans); letter-spacing: -.005em; }
.promise p { max-width: 30ch; margin: 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 899px) { .promise__list { grid-template-columns: 1fr 1fr; gap: 36px 20px; } }

/* Taller */
.workshop { background: var(--wall); }
.workshop__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}
.workshop__head .sec-title { margin-bottom: 22px; }
.workshop__head p:not(.eyebrow) { max-width: 40ch; margin-bottom: 32px; color: var(--ink-2); font-size: 16.5px; }

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li { padding: 22px 0 30px; border-top: 1px solid var(--line); }
.steps__num { display: block; margin-bottom: 18px; font: 500 14px/1 var(--mono); color: var(--emerald); }
.steps h3 { margin: 0 0 8px; font: 500 18px/1.3 var(--sans); letter-spacing: -.01em; }
.steps p { max-width: 34ch; margin: 0; font-size: 15px; color: var(--ink-2); }
.steps--page { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: clamp(32px, 5vw, 64px); }

@media (max-width: 899px) {
  .workshop__inner { grid-template-columns: 1fr; }
  .steps--page { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 559px) { .steps, .steps--page { grid-template-columns: 1fr; } }

/* Relojería */
.watches { position: relative; overflow: hidden; background: var(--black); color: var(--bone); }
.watches::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 70%;
  background: radial-gradient(55% 100% at 50% 0, rgba(246, 222, 181, .15), transparent 72%);
  pointer-events: none;
}
.watches__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding: clamp(72px, 10vw, 150px) 0;
}
.watches .eyebrow { color: rgba(239, 235, 228, .68); }
.watches .sec-title, .watches .page-title { margin-bottom: 24px; }
.watches p { max-width: 46ch; color: rgba(239, 235, 228, .78); font-size: 16.5px; }
.watches__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.watches__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(239, 235, 228, .2); }
.watches__list li {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(239, 235, 228, .2);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: -.015em;
  line-height: 1.2;
}
.watches__list span { font: 500 12px/1 var(--mono); color: rgba(244, 241, 236, .55); }
.watches__list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bone);
  font: 500 14px/1 var(--sans);
  text-decoration: none;
}
.watches--page .watches__inner { padding-top: clamp(56px, 8vw, 110px); }
@media (max-width: 899px) { .watches__inner { grid-template-columns: 1fr; } }

/* Visítanos (portada) */
.visit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.visit__media { position: relative; margin: 0; min-height: 560px; overflow: hidden; background: var(--wall-2); }
.visit__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 100px) clamp(24px, 5vw, 80px);
  background: #9f978b url("../img/pared/pared-port.webp") center / cover; /* la pared de microcemento de la tienda */
}
.visit__text .eyebrow { color: #2d2a26; }
.visit__stores li { border-top-color: rgba(22, 21, 20, .22); }
.visit__text > p { max-width: 38ch; margin: 22px 0 0; color: #2d2a26; } /* 4,95:1 sobre la pared */
.visit__stores { display: grid; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.visit__stores li { padding-top: 18px; border-top: 1px solid var(--line); }
.visit__stores h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -.015em; }
.visit__stores p { margin: 0; font-size: 15px; color: #2d2a26; }
.visit__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px !important; }
.visit__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 13.5px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.visit__links .i { width: 17px; height: 17px; }
@media (max-width: 899px) {
  .visit { grid-template-columns: 1fr; }
  .visit__media { min-height: 0; aspect-ratio: 4 / 3; }
  .visit__text { padding: 40px var(--gutter) 64px; }
}

/* Instagram */
.ig-band { padding: clamp(64px, 9vw, 120px) 0; text-align: center; }
.ig-band__inner p { margin: 0 0 14px; color: var(--ink-2); }
.ig-band__handle {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(32px, 5.6vw, 80px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
  overflow-wrap: anywhere;
}
.ig-band__handle:hover { border-color: var(--ink); }

/* ---------- Pie de página ---------- */

.site-footer { background: var(--black); color: var(--bone); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(56px, 7vw, 100px) 0 52px;
}
.footer-brand__logo { display: inline-block; color: #d6d0c6; }
.footer-logo { width: 210px; height: auto; }
.footer-brand p { max-width: 32ch; margin: 26px 0; font-size: 14.5px; color: rgba(239, 235, 228, .7); }
.footer-social { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-social a { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); font-size: 14px; text-decoration: none; }
.footer-social a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-social .i { width: 20px; height: 20px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-title {
  margin: 0 0 18px;
  color: rgba(244, 241, 236, .6);
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-cols ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-cols a { color: var(--bone); font-size: 14.5px; text-decoration: none; opacity: .86; transition: opacity .2s; }
.footer-cols a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-stores li { display: grid; gap: 2px; font-size: 14px; color: rgba(239, 235, 228, .72); }
.footer-stores strong { color: var(--bone); font-weight: 500; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(239, 235, 228, .14);
  color: rgba(239, 235, 228, .58);
  font-size: 12.5px;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--bone); }
.site-footer--minimal { background: transparent; color: var(--ink-2); }
.site-footer--minimal .footer-bottom { border-color: var(--line); color: var(--ink-2); }
.site-footer--minimal .footer-bottom a:hover { color: var(--ink); }

@media (max-width: 999px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
}

/* ---------- Cajones: carrito, menú y búsqueda ---------- */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(18, 17, 16, .45);
  opacity: 0;
  transition: opacity .35s;
}
.scrim.is-on { opacity: 1; }

.drawer,
.search-panel { background: var(--wall); }

.drawer {
  position: fixed;
  top: 0; bottom: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(440px, 92vw);
  box-shadow: 0 0 60px rgba(0, 0, 0, .2);
  transition: transform .45s var(--ease);
}
.drawer--right { right: 0; transform: translateX(104%); }
.drawer--left { left: 0; transform: translateX(-104%); }
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 16px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--serif); font-size: 26px; }
.drawer__count { font: 500 12px var(--sans); letter-spacing: .06em; color: var(--ink-2); vertical-align: 4px; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 24px; }
.drawer__foot {
  display: grid;
  gap: 10px;
  padding: 18px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.drawer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}
.drawer__mark { width: 30px; height: 30px; }

.menu-cats { display: grid; margin: 6px 0 26px; }
.menu-cats a {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.menu-cats__num { font: 500 12px/1 var(--mono); color: var(--ink-2); }
.menu-cats__name { font-family: var(--serif); font-size: 28px; line-height: 1.05; }
.menu-cats .i { width: 18px; height: 18px; }
.menu-links { display: grid; margin-bottom: 28px; }
.menu-links a { padding: 9px 0; color: var(--ink); font-size: 15.5px; text-decoration: none; }
.menu-contact { display: grid; gap: 14px; }
.menu-contact p { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 13.5px; color: var(--ink-2); }
.menu-contact p .i { width: 18px; height: 18px; margin-top: 2px; }
.menu-contact strong { color: var(--ink); font-weight: 500; }

.search-panel {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  padding: 26px var(--gutter) 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  transform: translateY(-104%);
  transition: transform .45s var(--ease);
}
.search-panel.is-open { transform: none; }
.search-panel__form {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
  padding: 4px 0;
  border-bottom: 1px solid var(--ink);
}
.search-panel__form input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  font: 500 clamp(21px, 3vw, 34px) var(--serif);
  letter-spacing: -.02em;
  color: var(--ink);
  outline: none;
}
.search-panel__form input::placeholder { color: var(--ink-3); }
.search-panel__form input::-webkit-search-cancel-button { display: none; }
.search-panel__hints { max-width: 900px; margin: 24px auto 0; }
.search-panel__hints .eyebrow { margin-bottom: 12px; }

/* Líneas del carrito */
.cart-line {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wall-2); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { display: block; color: var(--ink); font-size: 15px; line-height: 1.35; text-decoration: none; }
.cart-line__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-line__meta { margin: 4px 0 12px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.cart-line__row { display: flex; align-items: center; gap: 16px; }
.cart-line__remove {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-line__price { margin: 0; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.cart-line__warn { margin: 8px 0 0; font-size: 12.5px; color: var(--out); }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.cart-sum strong { font-size: 20px; font-weight: 500; }
.cart-note { margin: 0 0 4px; font-size: 13px; color: var(--ink-2); }
.cart-empty { padding: 26px 0; }
.cart-empty__title { margin: 0 0 8px; font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.cart-empty p { font-size: 15px; color: var(--ink-2); }
.cart-empty .chips { margin-top: 22px; }

.qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--ink); }
.qty button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.qty button .i { width: 16px; height: 16px; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty input {
  width: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  font: 500 15px var(--sans);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 34px; border-color: var(--line); }
.qty--sm button { width: 32px; }
.qty--sm input { width: 26px; font-size: 13.5px; }

/* ---------- Encabezado de página y tienda ---------- */

.page-head { padding: clamp(40px, 6vw, 92px) 0 clamp(24px, 3vw, 44px); }
.page-head--tight { padding-bottom: 8px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 12px; letter-spacing: .06em; color: var(--ink-2); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }

.cat-chips { margin-bottom: 22px; }
.cat-chips .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }

.shop-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 36px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.select { position: relative; display: inline-block; }
.select select {
  height: 40px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 13px var(--sans);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.select select:hover { border-color: var(--ink-3); }
.select::after {
  content: "";
  position: absolute;
  top: 50%; right: 15px;
  width: 7px; height: 7px;
  border-right: 1.3px solid var(--ink);
  border-bottom: 1.3px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.shop-count { margin: 0; font-size: 13px; color: var(--ink-2); }
.shop-count a { color: var(--ink); text-underline-offset: 3px; }
.shop-results { padding-bottom: clamp(64px, 8vw, 110px); }

.help-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  aspect-ratio: 4 / 5;
  padding: 28px 24px;
  border: 1px solid var(--line);
}
.help-tile .eyebrow { margin-bottom: 6px; }
.help-tile__text { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.25; }
.help-tile .text-link { align-self: flex-start; }

.more { margin: 64px 0 0; text-align: center; }
.more p { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); }

.empty { max-width: 580px; margin: 12px auto 40px; padding: 52px 28px; border: 1px solid var(--line); text-align: center; }
.empty__title { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.empty p { color: var(--ink-2); }
.empty__icon { width: 44px; height: 44px; margin: 0 auto 18px; stroke-width: 1; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 26px; margin-top: 26px; }

.search-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}
.search-inline input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font: 500 21px var(--serif);
  color: var(--ink);
  outline: none;
}

.shop-foot { padding-bottom: 88px; }
.shop-foot__note {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 660px;
  padding: 22px 24px;
  border: 1px solid var(--line);
}
.shop-foot__note p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.shop-foot__note strong { color: var(--ink); font-weight: 500; }

@media (max-width: 719px) {
  .shop-bar { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  .filters { flex-wrap: nowrap; width: calc(100% + var(--gutter)); margin-right: calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .select select { font-size: 16px; height: 42px; }
  .help-tile { grid-column: span 2; aspect-ratio: auto; }
}

/* ---------- Ficha de producto ---------- */

.draft-note { padding: 10px 0; background: var(--black); color: var(--bone); font-size: 13.5px; }
.draft-note .wrap { display: flex; align-items: center; gap: 10px; }
.draft-note .i { width: 18px; height: 18px; }

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}
.gallery { position: relative; }
.gallery__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.gallery--n1 .gallery__track { grid-template-columns: 1fr; }
.gallery--n3 .gallery__item:first-child,
.gallery--n4 .gallery__item:first-child { grid-column: span 2; }
.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--wall-2);
  cursor: zoom-in;
}
.gallery--n1 .gallery__item { max-height: calc(100vh - 150px); width: 100%; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover .gallery__img { transform: scale(1.02); }
.gallery__item--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: default;
  color: var(--ink-2);
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.gallery__mark { width: 30%; opacity: .5; }
.gallery__count { display: none; }

.pdp__info { padding: clamp(28px, 4vw, 60px) clamp(20px, 4.4vw, 72px) 60px; }
.pdp__sticky { position: sticky; top: calc(var(--hdr) + 24px); transition: top .45s var(--ease); }
.pdp__title { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -.028em; }
.pdp__line { margin: 0 0 24px; font: 400 13px/1.5 var(--mono); color: var(--ink-2); }
.pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 10px; font: 500 24px var(--sans); font-variant-numeric: tabular-nums; }
.pdp__price s { font-size: 16px; font-weight: 400; color: var(--ink-3); }
.pdp__desc { margin: 0 0 28px; font-size: 15.5px; }

.stock { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; font-size: 13.5px; }
.stock__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(34, 81, 58, .16); }
.stock--low .stock__dot { background: var(--low); box-shadow: 0 0 0 4px rgba(122, 77, 11, .16); }
.stock--out .stock__dot { background: var(--out); box-shadow: 0 0 0 4px rgba(125, 42, 36, .16); }
.stock--info .stock__dot { background: var(--ink-2); box-shadow: 0 0 0 4px rgba(23, 22, 20, .1); }

.sizes { margin: 0 0 22px; padding: 0; border: 0; }
.sizes legend {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.sizes legend a { color: var(--ink); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; text-underline-offset: 3px; }
.sizes__list { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
}
.size span:hover { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field-error { margin: 8px 0 0; font-size: 12.5px; color: var(--out); }
.field-error:empty { display: none; }

.pdp__actions { display: flex; gap: 10px; margin-bottom: 10px; }

.pdp__advisor {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.pdp__advisor:hover { background: var(--wall); border-color: var(--ink-3); }
.pdp__advisor .i { width: 28px; height: 28px; }
.pdp__advisor span { font-size: 13px; color: var(--ink-2); }
.pdp__advisor strong { display: block; color: var(--ink); font-size: 14.5px; font-weight: 500; }

.pdp__perks { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.pdp__perks li { display: flex; align-items: flex-start; gap: 14px; font-size: 13.5px; color: var(--ink-2); }
.pdp__perks strong { display: block; color: var(--ink); font-weight: 500; }
.pdp__perks .i { width: 24px; height: 24px; }

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 19px 0;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.acc__item[open] summary .i { transform: rotate(45deg); }
.acc__item > div, .acc__item > dl { padding-bottom: 22px; }
.acc__item .prose { font-size: 15px; }

.specs { display: grid; margin: 0; }
.specs div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; }

.sizes-guide .prose { margin-bottom: 14px; }
.size-table { width: 100%; max-width: 520px; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line-2); text-align: left; font-weight: 400; }
.size-table thead th { font: 500 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.size-table tbody th { font-weight: 500; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; font-size: 13px; color: var(--ink-2); }
.share a, .share button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}
.share .i { width: 18px; height: 18px; }
.share a:hover, .share button:hover { text-decoration: underline; text-underline-offset: 3px; }

.buy-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(176, 168, 156, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.buy-bar.is-on { transform: none; }
.buy-bar__info { min-width: 0; }
.buy-bar__info strong { display: block; overflow: hidden; font-size: 13.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.buy-bar__info span { font-size: 13px; }
@media (min-width: 1000px) { .buy-bar { display: none !important; } }

@media (max-width: 999px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery__track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gallery__track::-webkit-scrollbar { display: none; }
  .gallery__item { flex: 0 0 100%; scroll-snap-align: start; }
  .gallery--n1 .gallery__item { max-height: none; }
  .gallery__count {
    position: absolute;
    right: 12px; bottom: 12px;
    display: block;
    margin: 0;
    padding: 5px 10px;
    background: rgba(239, 235, 228, .9);
    font-size: 12px;
    letter-spacing: .08em;
  }
  .pdp__info { padding: 28px var(--gutter) 40px; }
  .pdp__sticky { position: static; }
}

/* Visor de fotos */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  background: rgba(18, 17, 16, .97);
  opacity: 0;
  transition: opacity .3s;
}
.lightbox.is-on { opacity: 1; }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; }
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bone);
}
.lightbox .i { width: 26px; height: 26px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 8px; top: calc(50% - 27px); }
.lightbox__next { right: 8px; top: calc(50% - 27px); }
.lightbox__count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: rgba(239, 235, 228, .7); font-size: 13px; letter-spacing: .12em; }

/* ---------- Carrito (página) ---------- */

.cart-page {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
  padding: 18px 0 112px;
}
.cart-page__sum {
  position: sticky;
  top: calc(var(--hdr) + 24px);
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--bone-a);
}
.cart-page__perks { display: grid; gap: 10px; margin: 0; padding: 12px 0 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.cart-page__perks li { display: flex; align-items: center; gap: 10px; }
.cart-page__perks .i { width: 20px; height: 20px; }
@media (max-width: 899px) {
  .cart-page { grid-template-columns: 1fr; }
  .cart-page__sum { position: static; }
}

/* ---------- Checkout ---------- */

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
  padding: clamp(32px, 5vw, 64px) 0 100px;
}
.checkout__head { grid-column: 1 / -1; }
.checkout__intro { max-width: 54ch; margin: 14px 0 0; color: var(--ink-2); }
.fs { margin: 0 0 38px; padding: 0; border: 0; }
.fs__title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 0; font-family: var(--serif); font-size: 27px; }
.fs__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: 500 13px var(--sans);
}
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: 12.5px; letter-spacing: .03em; color: var(--ink-2); }
.field label small { margin-left: 6px; font-size: 12.5px; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(23, 22, 20, .28);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 16px var(--sans);
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background-color: var(--surface); }
.field.has-error input, .field.has-error select { border-color: var(--out); }

.options { display: grid; gap: 10px; margin-bottom: 18px; }
.option { position: relative; display: block; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option__box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(23, 22, 20, .26);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.option__box strong { display: block; font-size: 15px; font-weight: 500; }
.option__box small { font-size: 13px; color: var(--ink-2); }
.option__price { font-size: 13px; font-style: normal; font-weight: 500; white-space: nowrap; }
.option input:checked + .option__box { border-color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink); }
.option input:focus-visible + .option__box { outline: 2px solid var(--ink); outline-offset: 2px; }

.pay-note { display: flex; gap: 16px; margin-bottom: 22px; padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); }
.pay-note .i { width: 26px; height: 26px; }
.pay-note p { margin: 0 0 4px; font-size: 14.5px; color: var(--ink-2); }
.pay-note strong { color: var(--ink); font-weight: 500; }

.check { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 4px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.check a { color: var(--ink); text-underline-offset: 3px; }
.checkout__form .btn--lg { margin-top: 22px; }
.form-msg { margin: 14px 0 0; padding: 12px 14px; border: 1px solid rgba(125, 42, 36, .4); background: rgba(125, 42, 36, .1); color: var(--out); font-size: 14px; }
.checkout__secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 12.5px; color: var(--ink-2); text-align: center; }
.checkout__secure .i { width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { position: sticky; top: 24px; padding: 26px 26px 22px; border: 1px solid var(--line); background: var(--surface); }
.summary__title { margin-bottom: 14px; font-family: var(--serif); font-size: 27px; }
.summary__loading { color: var(--ink-2); font-size: 14px; }
.sum-line { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.sum-line__img { position: relative; aspect-ratio: 4 / 5; background: var(--wall-2); }
.sum-line__img img { width: 100%; height: 100%; object-fit: cover; }
.sum-line__qty {
  position: absolute;
  top: -8px; right: -8px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  font-size: 11px;
}
.sum-line__name { display: block; font-size: 14px; line-height: 1.35; }
.sum-line__meta { display: block; font-size: 12.5px; color: var(--ink-2); }
.sum-line__price { font-size: 14px; font-weight: 500; white-space: nowrap; }
.totals { display: grid; gap: 8px; margin: 16px 0 0; }
.totals div { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; }
.totals__total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.totals__total dt, .totals__total dd { color: var(--ink); font-size: 17px; font-weight: 500; }
.summary__edit { display: inline-block; margin-top: 14px; color: var(--ink); font-size: 13px; text-underline-offset: 3px; }
.summary__help { padding: 18px 4px; font-size: 14px; color: var(--ink-2); }
.summary__help p { margin: 0 0 6px; }
.summary__help a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-underline-offset: 3px; }
.summary__help .i { width: 20px; height: 20px; }

.checkout__summary { align-self: stretch; }
.summary { top: calc(var(--hdr) + 24px); }

@media (max-width: 899px) {
  .checkout { grid-template-columns: 1fr; row-gap: 28px; }
  .checkout__head { order: -2; }
  .checkout__summary { order: -1; }
  .summary { position: static; }
}
@media (max-width: 599px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Pedido ---------- */

.order { padding: clamp(40px, 6vw, 84px) 0 100px; }
.order__head { max-width: 780px; margin-bottom: 52px; }
.order__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 30px; }
.order__cta p { max-width: 34ch; margin: 0; font-size: 14px; color: var(--ink-2); }
.track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 44px 0 0; padding: 0; list-style: none; }
.track li { position: relative; padding: 24px 10px 0 0; font-size: 12.5px; letter-spacing: .03em; color: var(--ink-2); }
.track li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--line); }
.track li span { position: absolute; top: 0; left: 0; z-index: 1; width: 11px; height: 11px; border: 1px solid var(--ink-3); border-radius: 50%; background: var(--wall); }
.track li.is-done::before { background: var(--ink); }
.track li.is-done span { border-color: var(--ink); background: var(--ink); }
.track li.is-current { color: var(--ink); font-weight: 500; }
.order__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.order__subtitle { margin: 0 0 14px; font: 500 12px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.line-items { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wall-2); }
.line-item__img img { width: 100%; height: 100%; object-fit: cover; }
.line-item__body { display: grid; gap: 3px; }
.line-item__body strong { font-size: 15px; font-weight: 500; }
.line-item__body small { font-size: 13px; color: var(--ink-2); }
.line-item__price { font-weight: 500; white-space: nowrap; }
.order__info { display: grid; gap: 26px; padding: 28px; border: 1px solid var(--line); background: var(--bone-a); }
.order__info p { margin: 0; font-size: 14.5px; }
.order__keep { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 13px !important; }
.order__keep .i { width: 18px; height: 18px; }
.order__foot { margin-top: 52px; }
@media (max-width: 899px) {
  .order__grid { grid-template-columns: 1fr; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
}

/* ---------- Páginas de contenido ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
  padding: clamp(20px, 3vw, 48px) 0 clamp(64px, 8vw, 116px);
}
.split--reverse .split__media { order: 2; }
.split__media { margin: 0; overflow: hidden; background: var(--wall-2); }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__text .sec-title { margin-bottom: 16px; }
.split__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 34px; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 52px); margin: 0; padding: 0; list-style: none; }
.values li { padding-top: 24px; border-top: 1px solid var(--ink); }
.values__num { display: block; margin-bottom: 22px; font: 500 14px/1 var(--mono); color: var(--emerald); }
.values h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 27px; line-height: 1.15; }
.values p { max-width: 34ch; margin: 0; font-size: 15.5px; color: var(--ink-2); }

.service-list { display: grid; margin: 10px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.service-list h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 24px; }
.service-list p { margin: 0; font-size: 15px; color: var(--ink-2); }
.service-list a { color: var(--ink); text-underline-offset: 3px; }

.custom-form-wrap { align-items: start; }
.custom-form { margin-top: 26px; }
.custom-form .fields { margin-bottom: 20px; }
.faq-mini { max-width: 780px; border-top: 1px solid var(--line); }

.visit-hero { margin-bottom: clamp(40px, 6vw, 76px); overflow: hidden; }
.visit-hero__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.stores { display: grid; gap: clamp(44px, 5vw, 76px); padding-bottom: clamp(64px, 8vw, 116px); }
.store { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); padding-top: 28px; border-top: 1px solid var(--ink); }
.store__address { margin: 12px 0 14px; font-size: 18px; }
.store__hours { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.store__hours .i { width: 19px; height: 19px; margin-top: 2px; }
.store__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.store__map { min-height: 340px; background: var(--wall-2); }
.store__map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(1) sepia(.15) contrast(.95); }

.help { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: start; padding-bottom: 112px; }
.help__nav { position: sticky; top: calc(var(--hdr) + 24px); display: grid; transition: top .45s var(--ease); }
.help__nav a { padding: 10px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: 14.5px; text-decoration: none; }
.help__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.help__section { padding: 6px 0 52px; scroll-margin-top: 130px; }
.help__section .sec-title { margin-bottom: 18px; font-size: clamp(26px, 2.4vw, 36px); }
.help__sub { margin: 30px 0 12px; font: 500 12px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; }

.legal { max-width: 780px; padding-bottom: 112px; font-size: 15.5px; }
.legal h2 { margin: 38px 0 12px; font-family: var(--serif); font-size: 25px; color: var(--ink); }
.legal ul { padding-left: 20px; }

.not-found { padding: clamp(56px, 10vw, 150px) 0; }
.not-found .chips { margin: 34px 0; }
.not-found__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }

@media (max-width: 899px) {
  .split, .store, .help { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .values { grid-template-columns: 1fr; }
  .help__nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .help__nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
  .store__map, .store__map iframe { min-height: 280px; }
}

/* ---------- Flotantes ---------- */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--black);
  color: var(--bone);
  font: 500 14px/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
  transition: transform .35s var(--ease), background .2s;
}
.wa-float:hover { background: #2b2926; }
.wa-float .i { width: 24px; height: 24px; }
.buybar-on .wa-float { transform: translateY(-70px); }
@media (max-width: 719px) {
  .wa-float { width: 52px; padding: 0; justify-content: center; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .wa-float span { display: none; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  max-width: calc(100vw - 32px);
  padding: 14px 20px;
  background: var(--black);
  color: var(--bone);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Aparición suave ---------- */

/* Portada: entra sola con CSS, sin depender del JavaScript */
.rise { animation: rise .7s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity .6s; }
  .hero__img { animation: none; }
  .rise { animation-name: fade-in; }
  @keyframes fade-in { from { opacity: 0; } }
}

@media print {
  .site-header, .announce, .site-footer, .wa-float, .drawer, .scrim { display: none !important; }
  body { background: #fff; }
}
