/* ==========================================================================
   C_LUXE — estilos
   Paleta: blanco · azul · negro · toques de dorado
   ========================================================================== */
:root {
  --paper: #faf9f6;
  --white: #ffffff;
  --ink: #0a0c12;
  --ink-2: #161a24;
  --navy: #0c1a3d;
  --blue: #1f40a8;
  --blue-2: #3a5fd6;
  --blue-soft: #eaf0fc;
  --gold: #c6a15b;
  --gold-2: #e8cd92;
  --gold-deep: #94723a;
  --muted: #5d6372;
  --line: rgba(10, 12, 18, .09);
  --shadow: 0 1px 2px rgba(10, 12, 18, .04), 0 12px 32px -14px rgba(12, 26, 61, .22);
  --shadow-lg: 0 30px 60px -24px rgba(12, 26, 61, .35);
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Syne", "Manrope", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 1em; height: 1em; }
em { font-family: var(--serif); font-style: italic; font-weight: 600; }
::selection { background: var(--gold-2); color: var(--ink); }

/* ---------- Fondo: dragones + nubes (muy sutil) ---------- */
.bg-art { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-art svg { position: absolute; }
.bg-dragon { color: var(--gold-deep); opacity: .16; width: 760px; height: 336px; }
.bg-dragon--a { top: 10%; right: -240px; transform: rotate(-8deg); animation: drift 26s ease-in-out infinite alternate; }
.bg-dragon--b { bottom: 0; left: -300px; transform: scaleX(-1) rotate(-6deg); color: var(--blue); opacity: .11; animation: drift-b 30s ease-in-out infinite alternate; }
.bg-cloud { color: var(--blue); opacity: .09; width: 190px; height: 86px; animation: float 18s ease-in-out infinite alternate; }
.bg-cloud--1 { top: 12%; left: 6%; }
.bg-cloud--2 { top: 46%; left: 44%; width: 140px; color: var(--gold-deep); opacity: .1; animation-duration: 22s; }
.bg-cloud--3 { top: 68%; right: 8%; width: 230px; animation-duration: 24s; }
.bg-cloud--4 { top: 30%; left: -40px; width: 150px; color: var(--gold-deep); opacity: .08; }
.bg-cloud--5 { bottom: 6%; right: 34%; width: 120px; animation-duration: 20s; }
@keyframes drift { from { translate: 0 0; } to { translate: -30px 22px; } }
@keyframes drift-b { from { translate: 0 0; } to { translate: 28px -18px; } }
@keyframes float { from { translate: 0 0; } to { translate: 18px -10px; } }

.topbar, .header, main, .footer { position: relative; z-index: 1; }

/* ---------- Barra superior ---------- */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--ink); color: rgba(255, 255, 255, .82);
  font-size: 10.5px; font-weight: 600; letter-spacing: .26em;
  padding: 8px 16px; text-align: center;
}
.topbar em { font-family: var(--sans); font-style: normal; font-weight: 700; color: var(--gold-2); letter-spacing: .26em; }
.topbar__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--gutter);
  background: rgba(250, 249, 246, .72);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, padding .3s;
}
.header.is-scrolled { border-color: var(--line); background: rgba(250, 249, 246, .9); padding-block: 12px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .06em; color: var(--ink); line-height: 1; }
.logo__u { color: var(--gold); display: inline-block; transition: transform .4s var(--ease); }
.logo:hover .logo__u { transform: translateY(-3px); }
.logo--light { color: var(--white); }
.logo--sm { font-size: 18px; }
.nav { display: flex; gap: 34px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav a { position: relative; padding: 4px 0; color: var(--ink-2); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--ink); transition: background .3s, color .3s;
}
.header__cta svg { width: 16px; height: 16px; }
.header__cta:hover { background: var(--ink); color: var(--white); }

/* ---------- Tipografía común ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-title { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 14px; }
.section-title em { font-size: 1.12em; color: var(--blue); letter-spacing: 0; }
.section-sub { color: var(--muted); margin: 0; }
.gold { color: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: var(--white); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.btn--light:hover { background: var(--gold-2); }
.btn--ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; margin: 14px var(--gutter) 0; border-radius: 28px; overflow: hidden;
  min-height: min(82vh, 760px); display: flex; align-items: flex-end; background: var(--ink);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 62%; transform: scale(1.08); animation: hero-in 2.4s var(--ease) forwards; }
@keyframes hero-in { to { transform: scale(1); } }
.hero { background: radial-gradient(80% 90% at 0% 100%, #13265a 0%, var(--ink) 70%); }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 1) 30%, rgba(10, 12, 18, .7) 40%, rgba(10, 12, 18, 0) 58%),
    linear-gradient(0deg, rgba(8, 12, 28, .45) 0%, transparent 35%);
}
@media (min-width: 961px) {
  .hero__media { left: 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 14%, #000 34%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 14%, #000 34%); }
  .hero__veil { background: linear-gradient(0deg, rgba(8, 12, 28, .4) 0%, transparent 35%); }
  .hero__content { max-width: 560px; }
}
@media (max-width: 960px) {
  .hero__veil { background: linear-gradient(0deg, rgba(8, 12, 28, .94) 0%, rgba(8, 12, 28, .55) 50%, rgba(8, 12, 28, .1) 100%); }
}
.hero::after { /* marco dorado fino */
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(232, 205, 146, .28); border-radius: 18px; pointer-events: none;
}
.hero__content { padding: clamp(28px, 6vw, 80px); max-width: 680px; color: var(--white); }
.hero__title {
  font-family: var(--display); font-weight: 800; font-size: clamp(56px, 11vw, 150px);
  line-height: .86; letter-spacing: -.01em; margin: 6px 0 22px; width: max-content; white-space: nowrap;
  background: linear-gradient(180deg, #fff 30%, #dfe6f7 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title .gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .82); max-width: 460px; margin: 0 0 30px; }
.hero__lead em { color: var(--gold-2); font-size: 1.15em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; right: clamp(24px, 4vw, 48px); bottom: clamp(24px, 4vw, 48px); width: 28px; height: 46px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-2); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Cinta ---------- */
.ribbon { position: relative; z-index: 1; margin-top: 44px; background: var(--ink); color: var(--white); overflow: hidden; padding: 15px 0; transform: rotate(-1deg); width: 104%; margin-left: -2%; }
.ribbon__track { display: flex; gap: 34px; width: max-content; animation: marquee 34s linear infinite; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .2em; }
.ribbon__track i { font-style: normal; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Catálogo ---------- */
.catalog { padding: clamp(70px, 9vw, 120px) var(--gutter) 40px; max-width: 1360px; margin: 0 auto; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .7);
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.card {
  position: relative; display: flex; flex-direction: column; text-align: left; width: 100%;
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: #ece9e3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::before, .card__media::after { /* esquinas doradas */
  content: ""; position: absolute; z-index: 2; width: 22px; height: 22px; border: 1.5px solid var(--gold-2);
  opacity: 0; transition: opacity .4s, transform .5s var(--ease);
}
.card__media::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; transform: translate(6px, 6px); }
.card__media::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; transform: translate(-6px, -6px); }
.card:hover .card__media::before, .card:hover .card__media::after { opacity: 1; transform: none; }
.card__tag {
  position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 11px; border-radius: 999px;
  background: rgba(10, 12, 18, .82); color: var(--gold-2); backdrop-filter: blur(6px);
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.card__off { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 6px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
/* Agotada (inventario desde Google Sheets) */
.card__soldout { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.card--soldout .card__media img { filter: grayscale(.85); opacity: .72; }
.card--soldout .price { opacity: .55; }
.sizes__hint.is-soldout { color: #b3261e; font-weight: 700; }
.card__view {
  position: absolute; z-index: 2; left: 50%; bottom: 16px; translate: -50% 10px; opacity: 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: opacity .4s, translate .5s var(--ease); white-space: nowrap;
}
.card__view svg { width: 14px; height: 14px; }
.card:hover .card__view { opacity: 1; translate: -50% 0; }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.card__brand { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); }
.card__name { margin: 0; font-size: 15.5px; font-weight: 800; letter-spacing: .02em; line-height: 1.3; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price__now { font-weight: 700; font-size: 15px; }
.price__now small { font-size: .72em; font-weight: 600; color: var(--muted); letter-spacing: .08em; margin-left: 3px; }
.price__old { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold-deep); font-size: 13px; }
.price--sale .price__now { color: var(--blue); }

/* ---------- Cómo comprar ---------- */
.howto { padding: clamp(60px, 8vw, 110px) var(--gutter); max-width: 1180px; margin: 0 auto; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 30px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .75); border: 1px solid var(--line); position: relative; overflow: hidden; }
.step::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.step__n { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 40px; color: var(--gold); line-height: 1; }
.step h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 70px var(--gutter) 28px; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer__cloud { position: absolute; right: -30px; top: 20px; width: 340px; height: 150px; color: var(--gold); opacity: .09; }
.footer__inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; position: relative; }
.footer__brand .logo { font-size: 34px; }
.footer__brand p { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: 20px; color: rgba(255, 255, 255, .6); }
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; transition: border-color .3s, background .3s, transform .35s var(--ease); }
.contact-link svg { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--gold-2); flex: none; }
.contact-link span { display: flex; flex-direction: column; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); line-height: 1.4; }
.contact-link strong { font-size: 15px; letter-spacing: .02em; text-transform: none; color: var(--white); font-weight: 600; }
.contact-link:hover { border-color: var(--gold); background: rgba(198, 161, 91, .07); transform: translateX(4px); }
.footer__legal { max-width: 1180px; margin: 50px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .4); position: relative; }

/* ---------- Detalle ---------- */
.detail { position: fixed; inset: 0; z-index: 100; background: var(--paper); }
.detail[hidden] { display: none; }
.detail__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; position: relative; }
.detail__scroll::before { /* nube sutil en el detalle */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 10%, rgba(31, 64, 168, .06), transparent 70%), radial-gradient(40% 40% at 5% 90%, rgba(198, 161, 91, .08), transparent 70%);
}
.detail.is-open { animation: detail-in .55s var(--ease) both; }
.detail.is-closing { animation: detail-out .35s ease both; }
@keyframes detail-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes detail-out { to { opacity: 0; } }
.detail__bar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter); background: rgba(250, 249, 246, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.detail__back { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.detail__back svg { width: 16px; height: 16px; transform: scaleX(-1); transition: transform .35s var(--ease); }
.detail__back:hover svg { transform: scaleX(-1) translateX(4px); }
.detail__x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); font-size: 14px; transition: background .3s, color .3s, transform .4s var(--ease); }
.detail__x:hover { background: var(--ink); color: var(--white); transform: rotate(90deg); }
.detail__body { position: relative; max-width: 1280px; margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--gutter); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }

.gallery { position: sticky; top: 96px; }
.gallery__stage { position: relative; border-radius: 22px; overflow: hidden; background: #ece9e3; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); touch-action: pan-y; }
.gallery__track { display: flex; height: 100%; transition: transform .6s var(--ease); }
.gallery__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.gallery__nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35);
  transition: background .3s, color .3s, scale .35s var(--ease), opacity .3s;
}
.gallery__nav svg { width: 18px; height: 18px; }
.gallery__nav--prev { left: 14px; } .gallery__nav--prev svg { transform: scaleX(-1); }
.gallery__nav--next { right: 14px; }
.gallery__nav:hover { background: var(--ink); color: var(--gold-2); scale: 1.08; }
.gallery__nav:disabled { opacity: .35; pointer-events: none; }
.gallery.is-single .gallery__nav, .gallery.is-single .gallery__count, .gallery.is-single .gallery__thumbs { display: none; }
.gallery__count { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 12, 18, .7); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumbs button { flex: 0 0 84px; aspect-ratio: 5 / 4; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .55; transition: opacity .3s, border-color .3s; }
.gallery__thumbs button.is-active { border-color: var(--gold); opacity: 1; }
.gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.info { position: relative; padding-top: 6px; }
.info__brand { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--blue); }
.info__name { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.01em; margin: 0 0 16px; }
.info__price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.info__price .price__now { font-size: 26px; font-weight: 800; }
.info__price .price__old { font-size: 17px; }
.sale-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sale-note { width: 100%; font-size: 13px; color: var(--gold-deep); font-weight: 600; }
.info__desc { color: var(--ink-2); font-size: 16px; margin: 0 0 20px; }
.info__feats { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.info__feats li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.info__feats li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; rotate: 45deg; border: 1.5px solid var(--gold); }

.sizes { margin-bottom: 30px; }
.sizes__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.sizes__hint { font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.sizes__list { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  min-width: 62px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white);
  font-size: 14px; font-weight: 700; transition: all .3s var(--ease); position: relative;
}
.size sup, .size sub { font-size: .66em; }
.size:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-2px); }
.size.is-selected { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--gold); }
.size:disabled { color: #b6b9c1; background: transparent; cursor: not-allowed; overflow: hidden; }
.size:disabled::after { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 1px; background: #c9ccd3; rotate: -18deg; }

.buy { padding: 26px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.buy::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue)); }
.buy__label { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--ink); }
.buy__note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

/* --- Botón Contáctanos: brillo dorado + elevación --- */
.btn-contact {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
  padding: 19px 28px; border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--white); font-size: 14px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  box-shadow: 0 14px 30px -14px rgba(12, 26, 61, .7), inset 0 0 0 1px rgba(232, 205, 146, .35);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), letter-spacing .45s var(--ease);
}
.btn-contact::before { /* borde dorado animado */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--gold-2) 75%, var(--gold) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.btn-contact__shine {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(232, 205, 146, .55) 48%, rgba(255, 255, 255, .7) 50%, rgba(232, 205, 146, .55) 52%, transparent 70%);
  transform: translateX(-120%);
}
.btn-contact__wa { width: 20px; height: 20px; color: var(--gold-2); transition: transform .5s var(--ease); }
.btn-contact__arrow { width: 18px; height: 18px; margin-left: -18px; opacity: 0; transition: margin .45s var(--ease), opacity .35s, transform .45s var(--ease); }
.btn-contact:hover { transform: translateY(-3px); letter-spacing: .26em; box-shadow: 0 22px 40px -16px rgba(31, 64, 168, .65), inset 0 0 0 1px rgba(232, 205, 146, .6); }
.btn-contact:hover::before { opacity: 1; animation: spin-border 2.4s linear infinite; }
.btn-contact:hover .btn-contact__shine { animation: shine 1s var(--ease) forwards; }
.btn-contact:hover .btn-contact__wa { transform: rotate(-12deg) scale(1.12); }
.btn-contact:hover .btn-contact__arrow { margin-left: 0; opacity: 1; transform: translateX(2px); }
.btn-contact:active { transform: translateY(-1px) scale(.99); }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --ang: 360deg; } }
@keyframes shine { to { transform: translateX(120%); } }

.related { position: relative; max-width: 1280px; margin: 0 auto; padding: 20px var(--gutter) 80px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related .card__body { padding: 14px 16px 18px; }
.related .card__name { font-size: 14px; }

/* Entrada escalonada del detalle */
.detail.is-open .gallery { animation: rise .8s var(--ease) both; }
.detail.is-open .d-in { animation: rise .7s var(--ease) both; }
.detail.is-open .d-in:nth-child(1) { animation-delay: .08s; }
.detail.is-open .d-in:nth-child(2) { animation-delay: .14s; }
.detail.is-open .d-in:nth-child(3) { animation-delay: .2s; }
.detail.is-open .d-in:nth-child(4) { animation-delay: .26s; }
.detail.is-open .d-in:nth-child(5) { animation-delay: .32s; }
.detail.is-open .d-in:nth-child(6) { animation-delay: .38s; }
.detail.is-open .d-in:nth-child(7) { animation-delay: .44s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.detail.via-vt.is-open, .detail.via-vt.is-open .gallery { animation: none; }

/* View Transitions (navegadores compatibles) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
::view-transition-group(cap) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

/* ---------- Reveal al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.card.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .5s var(--ease); }
.card.reveal.is-in:hover { transform: translateY(-6px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .detail__body { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; }
  .steps { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
  .related__grid .card:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
  .topbar { font-size: 9px; letter-spacing: .18em; }
  .header { padding: 12px 16px; }
  .header__cta span { display: none; }
  .header__cta { padding: 10px; }
  .hero { margin: 10px 10px 0; border-radius: 22px; min-height: 78vh; }
  .hero__media img { object-position: 50% 60%; }
  .hero__veil { background: linear-gradient(0deg, rgba(8, 12, 28, .92) 0%, rgba(8, 12, 28, .5) 55%, rgba(8, 12, 28, .15) 100%); }
  .hero__scroll { display: none; }
  .hero__content { padding: 26px 22px; max-width: 100%; }
  .hero__title { font-size: 12.5vw; }
  .hero__actions .btn { padding: 13px 20px; font-size: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__body { padding: 12px 12px 16px; }
  .card__name { font-size: 13px; }
  .card__brand { font-size: 9px; letter-spacing: .18em; }
  .price__now { font-size: 13.5px; }
  .card__tag { top: 8px; left: 8px; font-size: 8.5px; padding: 5px 8px; }
  .card__off { top: 8px; right: 8px; font-size: 10px; }
  .card__soldout { top: 8px; right: 8px; font-size: 8.5px; padding: 5px 8px; }
  .card__view { display: none; }
  .info__feats { grid-template-columns: 1fr; }
  .gallery__nav { width: 40px; height: 40px; }
  .buy { padding: 20px; }
  .bg-dragon { width: 520px; height: 230px; }
}
@media (max-width: 360px) {
  .grid { grid-template-columns: 1fr; }
}
