/* Lemaitre Perfumería — tienda · Dirección "Auras" (2026)
   Oscura e inmersiva. Cada perfume tiene un aura de luz con los colores de su familia olfativa (--a1, --a2).
   Tipografía Geist; latón como único acento; vidrio esmerilado para la navegación y las etiquetas. */

/* Geist (SIL Open Font License, ver assets/fonts/OFL.txt), servida desde el propio sitio */
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0b0f0d;
  --bg-2: #101513;
  --card: rgba(255, 255, 255, .035);
  --card-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #f2f1ec;
  --muted: #a3aaa5;
  --brass: #d4b07a;
  --brass-2: #f3e5c8;
  --brass-deep: #b08a4e;
  --green: #1f5546;
  --ok: #7fd3a4;
  --bad: #f2a7a2;
  --wa: #25a366;
  --f: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 24px; --r-sm: 14px; --r-pill: 999px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f); -webkit-font-smoothing: antialiased; padding-top: 92px; overflow-x: hidden; }
body.is-home { padding-top: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brass); color: #14110b; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: #14110b; padding: 8px 16px; z-index: 80; border-radius: 8px; }
.skip:focus { left: 16px; }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }
.center { justify-content: center; text-align: center; }
.center-text { text-align: center; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 820px; }
.hero-grid, .two-col, .product, .checkout-grid, .results, .reviews, .footer-grid { grid-template-columns: minmax(0, 1fr); }
.hero-grid > *, .two-col > *, .product > *, .checkout-grid > * { min-width: 0; }

/* Tipografía */
.display { font-weight: 600; font-size: clamp(46px, 7.4vw, 108px); line-height: .94; letter-spacing: -0.048em; margin: 0; text-wrap: balance; }
.display-l { font-weight: 600; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; margin: 0; }
.h1-brand { display: block; font-size: 13px; font-weight: 500; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; color: var(--brass, var(--muted)); margin: 0 0 12px; }
.catalog-intro { max-width: 68ch; margin: -6px 0 22px; color: var(--muted); font-size: 16px; }
.h1 { font-weight: 600; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.038em; margin: 0 0 18px; text-wrap: balance; }
.h2 { font-weight: 600; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.04; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.h3 { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 8px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); max-width: 52ch; margin: 0 0 32px; }
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--brass); margin: 0 0 14px; }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(212, 176, 122, .18); }
.spec { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.link { color: var(--ink); text-decoration: none; font-weight: 500; background: none; border: 0; padding: 0; cursor: pointer; border-bottom: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.link:hover { color: var(--brass-2); border-color: var(--brass); }
.link.center { display: block; text-align: center; margin: 16px auto 0; width: max-content; }
.estela { display: block; width: min(260px, 60%); height: 3px; margin: 20px 0; background: linear-gradient(90deg, var(--brass), transparent); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px;
  border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  text-decoration: none; text-align: center; cursor: pointer; transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, var(--brass-2), var(--brass)); color: #17130c; box-shadow: 0 10px 30px -10px rgba(212, 176, 122, .55), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(212, 176, 122, .7), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-glass, .btn-ghost { background: rgba(255, 255, 255, .06); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover, .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.btn-light { background: var(--ink); color: #0b0f0d; }
.btn-light:hover { background: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Encabezado flotante de vidrio */
.site-header { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 50; padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); pointer-events: none; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 51; background: var(--bg); }
.nav-pill {
  pointer-events: auto; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 8px 8px 22px;
  background: rgba(14, 19, 17, .55); border: 1px solid var(--line); border-radius: var(--r-pill);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); transition: background .3s, box-shadow .3s;
}
.site-header.scrolled .nav-pill { background: rgba(14, 19, 17, .82); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); }
.brand img { width: 136px; height: auto; }
.nav-desktop { display: none; gap: 4px; margin-left: 20px; }
.nav-desktop a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 9px 14px; border-radius: var(--r-pill); transition: color .2s, background .2s; }
.nav-desktop a:hover, .nav-desktop a[aria-current] { color: var(--ink); background: rgba(255, 255, 255, .07); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.search { display: none; align-items: center; gap: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0 14px; height: 46px; }
.search svg { width: 17px; height: 17px; color: var(--muted); flex: 0 0 auto; }
.search input[type=search] { border: 0; background: transparent; outline: none; box-shadow: none; width: 150px; font-size: 14px; min-height: 0; padding: 0; border-radius: 0; }
.search input::placeholder { color: var(--muted); }
svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-link { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #0b0f0d; transition: transform .2s; }
.cart-link:hover { transform: scale(1.05); }
.cart-count { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--brass); color: #17130c; font: 700 11px/20px var(--f); text-align: center; padding: 0 5px; border: 2px solid var(--bg); }
.menu-mobile summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; margin-left: -10px; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 1.6px; background: currentColor; position: relative; content: ""; border-radius: 2px; }
.burger::before { position: absolute; top: -6px; } .burger::after { position: absolute; top: 6px; }
.menu-panel { position: absolute; left: 12px; right: 12px; top: 84px; background: rgba(14, 19, 17, .96); backdrop-filter: blur(22px); border: 1px solid var(--line); border-radius: var(--r); display: grid; padding: 12px 20px 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.menu-panel a { padding: 14px 0; text-decoration: none; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.menu-search { margin-top: 14px; }
@media (min-width: 1180px) { .menu-mobile { display: none; } .nav-desktop { display: flex; } .search { display: flex; } }
@media (min-width: 1180px) and (max-width: 1379px) { .nav-desktop a { padding-inline: 11px; font-size: 14px; } .search input[type=search] { width: 96px; } }

/* Mensajes */
.flashes { padding-top: 8px; display: grid; gap: 8px; }
.flash { margin: 0; padding: 14px 18px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--card-2); }
.flash-ok { border-color: rgba(127, 211, 164, .45); }
.flash-error { border-color: rgba(242, 167, 162, .5); }
.error-text { color: var(--bad); font-size: 14px; margin: 6px 0 0; }

/* Secciones */
.section { padding-block: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding-block: 40px 0; }
main > section:last-of-type { padding-bottom: clamp(64px, 9vw, 120px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 36px; }
.section-head .h1 { margin: 0; }
.section-lead { color: var(--muted); margin: 14px 0 28px; max-width: 58ch; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.3fr; align-items: start; gap: 64px; } }

/* ===== Aura: campo de luz con los colores de la familia olfativa ===== */
.aura {
  --a1: #2b4a40; --a2: #c9a66b; --ang: 160deg; --ax: 30%;
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(110% 80% at var(--ax) 0%, color-mix(in srgb, var(--a2) 75%, transparent) 0%, transparent 58%),
    radial-gradient(90% 70% at 100% 100%, color-mix(in srgb, var(--a1) 90%, transparent) 0%, transparent 62%),
    linear-gradient(var(--ang), #0e1311 10%, color-mix(in srgb, var(--a1) 55%, #0b0f0d) 100%);
}
.aura::before {
  content: ""; position: absolute; inset: -35%; z-index: -1;
  background: radial-gradient(closest-side at 35% 40%, color-mix(in srgb, var(--a2) 70%, transparent), transparent),
              radial-gradient(closest-side at 70% 65%, color-mix(in srgb, var(--a1) 80%, transparent), transparent);
  filter: blur(30px); opacity: .75; animation: drift 16s var(--ease) infinite alternate;
}
.aura::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
.aura > * { position: relative; z-index: 1; }
@keyframes drift { 0% { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); } 100% { transform: translate3d(5%, 4%, 0) rotate(12deg) scale(1.08); } }
.aura-label {
  position: absolute; inset: auto 14px 14px 14px; display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px;
  background: rgba(10, 14, 12, .28); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.aura-label .ph-brand { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.aura-label .ph-name { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: #fff; }
.aura-label .ph-spec { font-size: 12px; color: rgba(255, 255, 255, .7); }

/* ===== Portada ===== */
.hero { position: relative; padding: 150px 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: float 18s var(--ease) infinite alternate; }
.b1 { width: 560px; height: 560px; left: -140px; top: -120px; background: #1f5546; }
.b2 { width: 520px; height: 520px; right: -120px; top: 60px; background: #8a5a2b; animation-delay: -6s; }
.b3 { width: 420px; height: 420px; left: 38%; bottom: -220px; background: #5e1f33; opacity: .45; animation-delay: -10s; }
.grain { position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes float { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero .lead { color: rgba(242, 241, 236, .72); margin-top: 26px; }
.hero-proof { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; }
.hero-proof li { display: flex; align-items: center; gap: 12px; padding: 4px 22px 4px 0; margin-right: 22px; border-right: 1px solid var(--line-2); }
.hero-proof li:last-child { border-right: 0; }
.hero-proof strong { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.hero-proof span { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
@media (max-width: 600px) {
  .hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
  .hero-proof li { display: grid; gap: 4px; align-content: start; padding: 12px; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
  .hero-proof li:last-child { border-right: 1px solid var(--line); }
  .hero-proof strong { font-size: 18px; }
  .hero .actions .btn { flex: 1 1 100%; }
}
.hero-card {
  display: block; text-decoration: none; aspect-ratio: 4 / 5; border-radius: 32px; max-width: 460px; width: 100%; justify-self: center;
  border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: rotate(-2.5deg); transition: transform .6s var(--ease); animation: bob 7s ease-in-out infinite alternate;
}
.hero-card:hover { transform: rotate(0deg) scale(1.01); }
.hero-card.studio > img { inset: 7% 8% auto; width: 84%; height: 62%; object-fit: contain; mix-blend-mode: multiply; }
.hero-card.studio .chip-glass { background: rgba(11, 15, 13, .72); border-color: transparent; }
.hero-card.studio .hc-body { background: rgba(11, 15, 13, .86); border-color: rgba(255, 255, 255, .08); }
.hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
@keyframes bob { 0% { translate: 0 0; } 100% { translate: 0 -12px; } }
.hc-top { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; gap: 8px; }
.chip-glass { padding: 7px 13px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500; color: #fff; background: rgba(10, 14, 12, .3); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hc-body { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 4px; padding: 20px 22px; border-radius: 22px; background: rgba(10, 14, 12, .34); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; }
.hc-brand { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.hc-name { font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.hc-notes { font-size: 14px; opacity: .8; margin-top: 4px; }
.hc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.hc-price { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.hc-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b0f0d; font-size: 18px; transition: transform .3s var(--ease); }
.hero-card:hover .hc-go { transform: rotate(-45deg); }
@media (min-width: 980px) { .hero { padding: 190px 0 110px; } .hero-grid { grid-template-columns: 1.25fr .9fr; gap: 64px; } }

/* Cinta de marcas */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee var(--dur, 40s) linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: clamp(22px, 3vw, 34px); font-weight: 500; letter-spacing: -0.03em; color: rgba(242, 241, 236, .55); white-space: nowrap; }
.marquee-track .star { color: var(--brass); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 210px; padding: 26px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), border-color .3s, background .3s;
}
a.tile:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--card-2); }
.tile-kicker { font-size: 13px; color: var(--muted); font-weight: 500; padding-right: 44px; }
@media (max-width: 600px) { .tile { padding: 20px; min-height: 190px; } .tile-arrow { top: 14px; right: 14px; width: 34px; height: 34px; } .tile-text { font-size: 13.5px; } }
.tile-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin-top: auto; }
.tile-text { font-size: 14.5px; color: var(--muted); max-width: 42ch; }
.tile-arrow { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: transform .35s var(--ease), background .3s, color .3s; }
a.tile:hover .tile-arrow { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.tile-quiz { grid-column: 1 / -1; min-height: 360px; border-color: rgba(255, 255, 255, .14); }
.tile-quiz .tile-kicker, .tile-quiz .tile-text { color: rgba(255, 255, 255, .78); }
.tile-quiz .tile-title { font-size: clamp(34px, 4.4vw, 58px); margin-top: auto; color: #fff; }
.tile-quiz .btn { align-self: flex-start; margin-top: 12px; }
.tile-arabes::before, .tile-gift::before, .tile-wa::before, .tile-info::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; border-radius: 50%; filter: blur(60px); opacity: .35; right: -80px; bottom: -110px; transition: opacity .4s; }
.tile-arabes::before { background: #b8692a; }
.tile-gift::before { background: #a8406a; }
.tile-info::before { background: #13707e; }
.tile-wa::before { background: #25a366; }
a.tile:hover::before { opacity: .6; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; }
  .tile-quiz { grid-column: span 2; grid-row: span 2; min-height: 0; padding: 40px; }
}

/* Riel de familias */
.family-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 14px) / 1.6); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 0 18px; }
@media (min-width: 640px) { .family-rail { grid-auto-columns: calc((100% - 28px) / 3); } }
@media (min-width: 1000px) { .family-rail { grid-auto-columns: calc((100% - 42px) / 4); gap: 14px; } }
.family-orb { scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; text-decoration: none; border: 1px solid rgba(255, 255, 255, .12); transition: transform .4s var(--ease); }
.family-orb:hover { transform: translateY(-6px); }
.fo-name { font-size: 24px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; color: #fff; }
.fo-desc { font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .78); }
.fo-top { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; }
.fo-icon { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .5s var(--ease), background .3s; }
.fo-icon svg { width: 34px; height: 34px; stroke-width: 1.35; }
.family-orb:hover .fo-icon { transform: rotate(-8deg) scale(1.08); background: rgba(255, 255, 255, .2); }
.fo-count { font-size: 12px; font-weight: 500; color: #fff; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(10, 14, 12, .3); border: 1px solid rgba(255, 255, 255, .16); }
.rail-wrap { position: relative; }
.rail-btn { position: absolute; z-index: 3; top: calc(50% - 9px); transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); background: rgba(11, 15, 13, .62); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .7); transition: background .2s, color .2s, opacity .25s, transform .2s; }
.rail-prev { left: -26px; }
.rail-next { right: -26px; }
.rail-btn:hover:not(:disabled) { background: var(--ink); color: #0b0f0d; transform: translateY(-50%) scale(1.06); }
.rail-btn:disabled { opacity: 0; pointer-events: none; }
.rail-btn svg { width: 22px; height: 22px; }
@media (max-width: 1399px) { .rail-prev { left: -14px; } .rail-next { right: -14px; } }
@media (max-width: 599px) { .rail-btn { width: 42px; height: 42px; } .rail-prev { left: -8px; } .rail-next { right: -8px; } }
.family-rail { scrollbar-width: none; scroll-behavior: smooth; }
.family-rail::-webkit-scrollbar { display: none; }

/* Tarjetas de producto */
.grid-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 900px) { .grid-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 20px; } }
.card { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.card-media { display: block; aspect-ratio: 4 / 5; border-radius: var(--r); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; }
.card-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .7s var(--ease); }
.card:hover .card-media { border-color: var(--line-2); }
.card:hover .card-media > img { transform: scale(1.05); }
.card:hover .card-media::before { animation-duration: 6s; }
.card-mark { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(120px, 16vw, 220px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; color: rgba(255, 255, 255, .14); mix-blend-mode: overlay; transition: transform .7s var(--ease); }
.card:hover .card-mark { transform: scale(1.06); }
.card-chip { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: var(--r-pill); font-size: 12px; font-weight: 500; color: #fff; background: rgba(10, 14, 12, .3); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.card-cta { position: absolute; top: 14px; right: 14px; padding: 8px 14px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; background: #fff; color: #0b0f0d; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease); }
.card:hover .card-cta, .card-media:focus-visible .card-cta { opacity: 1; transform: none; }
.badge { position: absolute; top: 14px; left: 14px; padding: 6px 11px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: var(--brass); color: #17130c; }
.badge-sale { background: #fff; color: #0b0f0d; left: auto; right: 14px; }
.card-body { padding: 16px 4px 0; display: flex; flex-direction: column; min-width: 0; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-title { font-size: 18px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; margin: 0; min-width: 0; }
.card-title a { text-decoration: none; }
.card-meta { font-size: 13.5px; color: var(--muted); margin: 3px 0 6px; }
.price { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; margin: 0; white-space: nowrap; }
.price s { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 4px; }
.price-lg { font-size: 34px; letter-spacing: -0.035em; line-height: 1.1; }
.price-tbd { font-size: 14px; font-weight: 500; color: var(--brass); }
.avail { font-size: 12.5px; margin: 2px 0 0; display: flex; align-items: center; gap: 7px; color: var(--muted); }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; }
.avail-disponible::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(127, 211, 164, .18); }
.avail-pedido::before { background: var(--brass); box-shadow: 0 0 0 3px rgba(212, 176, 122, .18); }
.avail-agotado::before { background: var(--bad); }

/* Bloque del recomendador en otras páginas */
.quiz-band { border-radius: var(--r); padding: 40px 32px; display: grid; gap: 20px; align-items: center; background: var(--card); border: 1px solid var(--line); margin-top: 40px; }
.quiz-band p { margin: 0; color: var(--muted); max-width: 58ch; }
@media (min-width: 860px) { .quiz-band { grid-template-columns: 1fr auto; padding: 48px 56px; } }

/* Reseñas */
.reviews { display: grid; gap: 14px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 12px; align-content: start; }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.5; letter-spacing: -0.01em; }
.review figcaption { font-size: 13px; color: var(--muted); }
.stars { color: var(--brass); letter-spacing: 3px; margin: 0; }
.rating { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* Preguntas frecuentes */
.faq-list { display: grid; gap: 10px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, background .2s; }
.faq[open] { background: var(--card-2); border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 500; font-size: 16.5px; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 18px; transition: rotate .3s var(--ease); }
.faq[open] summary::after { rotate: 45deg; }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.faq-cat { margin: 36px 0 14px; }

/* Catálogo: filtros */
.filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 40px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); align-items: end; }
@media (min-width: 1000px) { .filters { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.filters .field { margin: 0; gap: 4px; }
.filters label { font-size: 11.5px; font-weight: 500; color: var(--muted); padding-left: 6px; }
.filters select { min-height: 44px; font-size: 14px; border-radius: 12px; }
.filters .clear { grid-column: 1 / -1; justify-self: start; font-size: 14px; margin-left: 6px; }
.empty { padding: 40px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.empty p { color: var(--muted); }

/* Formularios */
.field { display: grid; gap: 7px; margin-bottom: 18px; min-width: 0; }
.field label, .label { font-weight: 500; font-size: 14px; }
.hint { font-weight: 400; color: var(--muted); font-size: 13px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=password], input[type=date], input[type=file], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: rgba(255, 255, 255, .04); font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3aaa5' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select option { background: #101513; color: var(--ink); }
input::placeholder, textarea::placeholder { color: rgba(163, 170, 165, .7); }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brass); outline: none; box-shadow: 0 0 0 4px rgba(212, 176, 122, .16); }
.row-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; margin: 0 0 16px; min-width: 0; }
fieldset.box legend { float: left; width: 100%; margin-bottom: 18px; padding: 0; }
fieldset.box legend + * { clear: both; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; min-width: 0; }
.inline .btn { min-height: 50px; padding-inline: 20px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin-bottom: 12px; color: var(--muted); }
.check a { color: var(--ink); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brass); flex: 0 0 auto; }
.checks { margin: 8px 0 20px; }

/* Opciones (cuestionario, entrega, pago) */
.options { display: grid; gap: 10px; }
@media (min-width: 640px) { .options { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } .options-stack { grid-template-columns: 1fr; } }
.options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .options-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); cursor: pointer; min-width: 0; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.opt:hover { background: var(--card-2); }
.opt input { accent-color: var(--brass); width: 18px; height: 18px; flex: 0 0 auto; margin: 0; }
.opt span { display: grid; gap: 2px; min-width: 0; }
.opt small { color: var(--muted); font-size: 13px; line-height: 18px; }
.opt:has(input:checked) { border-color: var(--brass); background: rgba(212, 176, 122, .09); box-shadow: 0 0 0 1px var(--brass) inset; }
.opt-neg:has(input:checked) { border-color: var(--bad); background: rgba(242, 167, 162, .07); box-shadow: 0 0 0 1px var(--bad) inset; }
.opt-row { align-items: flex-start; }
.opt-row .opt-price { margin-left: auto; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Cuestionario */
.quiz fieldset.quiz-step { border: 0; padding: 0; margin: 0 0 36px; }
.quiz legend { font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 22px; padding: 0; }
.quiz legend .hint { display: block; margin-top: 6px; letter-spacing: 0; font-size: 14px; }
.quiz-progress { font-size: 13px; font-weight: 500; color: var(--brass); }
.quiz-progress:empty { display: none; }
.quiz-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.quiz.is-stepped .quiz-step { display: none; }
.quiz.is-stepped .quiz-step.active { display: block; animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.results { display: grid; gap: 32px 16px; margin-top: 40px; }
@media (min-width: 900px) { .results { grid-template-columns: 1.25fr 1fr 1fr; align-items: start; } }
.result { display: grid; gap: 8px; min-width: 0; }
.result p { margin: 0; }
.result-media { display: block; aspect-ratio: 4 / 5; border-radius: var(--r); border: 1px solid var(--line); }
.result-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.result-main .result-media { box-shadow: 0 0 0 2px var(--brass), 0 30px 80px -30px rgba(212, 176, 122, .5); }
.why { margin: 4px 0; padding-left: 18px; color: var(--muted); font-size: 14px; }

/* Producto */
.product { display: grid; gap: 40px; }
@media (min-width: 960px) { .product { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; } .gallery { position: sticky; top: 100px; } }
.gallery-main { aspect-ratio: 4 / 5; border-radius: 32px; border: 1px solid var(--line); }
.gallery-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-main .aura-label { inset: auto 18px 18px 18px; padding: 22px 24px; border-radius: 22px; }
.gallery-main .aura-label .ph-name { font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -0.045em; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs button { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding: 0; background: none; cursor: pointer; width: 72px; flex: 0 0 auto; }
.gallery-thumbs button[aria-current] { border-color: var(--brass); }
.product-info { min-width: 0; }
.product-info .lead { margin: 16px 0 0; }
.buy-box { margin: 32px 0; padding: 26px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); display: grid; gap: 12px; }
.buy-box p { margin: 0; }
.buy-form { display: grid; gap: 10px; grid-template-columns: auto 1fr; }
.buy-form > button[name=buy_now] { grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); width: max-content; height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty input { width: 36px; text-align: center; border: 0; min-height: 0; padding: 0; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.assurances { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.assurances li { display: flex; gap: 10px; }
.assurances li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); margin-top: 8px; flex: 0 0 auto; }
.facts { margin: 0 0 32px; display: grid; }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: center; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 13.5px; text-decoration: none; background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--brass); background: rgba(212, 176, 122, .08); }
.meter { display: inline-flex; gap: 4px; vertical-align: middle; margin-right: 8px; }
.meter span { width: 18px; height: 6px; border-radius: 3px; background: var(--line-2); }
.meter span.on { background: linear-gradient(90deg, var(--brass), var(--brass-2)); }
.notes { position: relative; padding: 26px; margin-bottom: 32px; border-radius: var(--r); background: linear-gradient(140deg, rgba(212, 176, 122, .12), rgba(212, 176, 122, .02)); border: 1px solid rgba(212, 176, 122, .22); }
.notes dl { margin: 0 0 14px; display: grid; gap: 12px; }
.notes dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; }
.notes dt { font-size: 13px; font-weight: 600; color: var(--brass); }
.notes dd { margin: 0; font-size: 15.5px; }
.prose { max-width: 66ch; color: rgba(242, 241, 236, .86); }
.prose h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; margin: 36px 0 10px; color: var(--ink); }
.prose h3 { font-size: 19px; font-weight: 600; margin: 20px 0 8px; color: var(--ink); }
.prose a { color: var(--brass-2); }

/* Carrito y compra */
.checkout-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .checkout-grid { grid-template-columns: 1.5fr 1fr; } .summary { position: sticky; top: 100px; } }
.checkout-form { min-width: 0; }
.cart-lines { min-width: 0; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); align-items: center; }
.line-media { display: block; width: 88px; aspect-ratio: 4 / 5; border-radius: 16px; }
.line-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.line-info { min-width: 0; }
.line-info p { margin: 0; }
.line-info .spec { margin-bottom: 2px; }
.line-name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.line-name a { text-decoration: none; }
.line-actions { display: flex; gap: 16px; align-items: center; margin-top: 10px; }
.line-actions select { width: 84px; min-height: 40px; border-radius: var(--r-pill); }
.line-total { font-weight: 600; margin: 0; font-variant-numeric: tabular-nums; padding-right: 6px; }
.summary { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 28px; min-width: 0; }
.totals { margin: 0 0 20px; display: grid; gap: 10px; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt, .totals dd { margin: 0; }
.totals dt { color: var(--muted); }
.totals dd { font-variant-numeric: tabular-nums; text-align: right; }
.totals .grand { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.totals .grand dt { color: var(--ink); }
.coupon { margin-bottom: 18px; }
.coupon label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 6px; }
.mini-lines { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 16px; }
.mini-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Pedido */
.timeline { list-style: none; padding: 0; margin: 32px 0 16px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.timeline li { font-size: 12.5px; text-align: center; color: var(--muted); padding-top: 16px; position: relative; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 3px; background: var(--line-2); }
.timeline li.done::before { background: var(--brass-deep); }
.timeline li.current::before { background: linear-gradient(90deg, var(--brass), var(--brass-2)); box-shadow: 0 0 16px rgba(212, 176, 122, .6); }
.timeline li.current { color: var(--ink); font-weight: 600; }
.pay-box { border-color: rgba(212, 176, 122, .45); background: linear-gradient(140deg, rgba(212, 176, 122, .1), rgba(212, 176, 122, .02)); }
.pay-data { display: grid; gap: 10px; margin: 18px 0; }
.pay-data > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.pay-data dt { color: var(--muted); font-size: 14px; }
.pay-data dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-word; }
.btn-wa.btn-block { margin-bottom: 16px; }

/* Reseña: estrellas */
.review-item { border: 0; padding: 0 0 20px; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 12px; }
.stars-input input { position: absolute; opacity: 0; }
.stars-input label { font-size: 36px; line-height: 1; color: var(--line-2); cursor: pointer; transition: color .15s; }
.stars-input label:hover, .stars-input label:hover ~ label, .stars-input input:checked ~ label { color: var(--brass); }
.stars-input input:focus-visible + label { outline: 2px solid var(--brass); border-radius: 4px; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: var(--r-pill);
  background: rgba(37, 163, 102, .92); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
  box-shadow: 0 14px 40px -10px rgba(37, 163, 102, .6); backdrop-filter: blur(10px); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }

/* Pie */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; position: relative; overflow: hidden; }
.site-footer .wrap { padding-block: 72px 28px; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 56px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.footer-tagline { font-size: clamp(36px, 5.4vw, 72px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; margin: 0; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-grid a { display: block; text-decoration: none; padding: 5px 0; color: rgba(242, 241, 236, .82); font-size: 15px; transition: color .2s; }
.footer-grid a:hover { color: var(--brass-2); }
.footer-grid p { margin: 8px 0 0; font-size: 14px; }
.f-title { font-size: 13px; font-weight: 500; color: var(--brass); margin: 0 0 12px; }
.footer-giant { margin: 72px 0 24px; opacity: .1; }
.footer-giant img { width: 100%; height: auto; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); padding-bottom: 64px; }

/* Mantenimiento */
.maint { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding: 32px max(20px, env(safe-area-inset-left, 0px)); }

/* Aparición al bajar (solo si hay JavaScript; sin JS todo se ve igual) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Estudio: fotos de producto sobre marfil teñido con el color de la familia ===== */
.aura.studio {
  background:
    radial-gradient(120% 85% at var(--ax) 0%, color-mix(in srgb, var(--a2) 36%, #f5f1ea) 0%, transparent 62%),
    radial-gradient(95% 75% at 100% 100%, color-mix(in srgb, var(--a1) 22%, #f5f1ea) 0%, transparent 66%),
    linear-gradient(var(--ang), #f7f3ed 10%, color-mix(in srgb, var(--a2) 14%, #eee8df) 100%);
}
.aura.studio::before { opacity: .22; filter: blur(44px); }
.aura.studio::after { opacity: .08; mix-blend-mode: multiply; }
.studio .card-chip { color: #fff; background: rgba(11, 15, 13, .72); border-color: transparent; }
.studio .card-cta { background: #0b0f0d; color: #fff; }
.card-media.studio { border-color: rgba(255, 255, 255, .08); }
.gallery-thumbs button { background: #f2ede5; }
/* Fotos sobre fondo blanco: el blanco se funde con el tono de la tarjeta (sin recortes) */
.studio > img, .gallery-thumbs img { mix-blend-mode: multiply; }
@media (max-width: 639px) { .family-orb { aspect-ratio: 5 / 6; } }

/* ---------------------------------------------------------------- Cuenta del cliente */
.acct-link { text-decoration: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.acct-link:hover { background: rgba(255, 255, 255, .1); border-color: var(--line-2); }
.acct-link.is-in { background: linear-gradient(140deg, var(--brass-2), var(--brass)); border-color: transparent; color: #17130c; }
.acct-initial { font-weight: 700; font-size: 17px; line-height: 1; }
@media (max-width: 420px) { .acct-link { width: 42px; height: 42px; } }

.auth { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .auth { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; } .auth-head { grid-column: 1 / -1; margin-bottom: -28px; } }
.auth-form .box { padding: 28px; }
.auth-single { max-width: 560px; }
.auth-alt { color: var(--muted); margin: 6px 0 0; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.label-row .link { font-size: 13.5px; font-weight: 400; }
.auth-perks { position: relative; overflow: hidden; border-radius: var(--r); padding: 34px 30px; color: #fff; isolation: isolate; }
.auth-perks ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 22px; }
.auth-perks li { display: grid; gap: 4px; padding-left: 30px; position: relative; }
.auth-perks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); background: radial-gradient(circle, rgba(255, 255, 255, .9) 0 3px, transparent 3.5px); }
.auth-perks strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.auth-perks span { color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.45; }
.auth-note { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 14px; color: rgba(255, 255, 255, .75); }

.checkout-acct { margin: -6px 0 22px; color: var(--muted); }

.acct-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.acct-head .h1 { margin-bottom: 6px; }
.acct-head .muted { margin: 0; }
.acct-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 20px; margin-bottom: 24px; border-radius: var(--r-sm); border: 1px solid rgba(212, 176, 122, .4); background: rgba(212, 176, 122, .07); }
.acct-banner p { margin: 0; max-width: 70ch; }
.acct-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .acct-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; } }
.acct-title { margin-bottom: 14px; }
.acct-empty { display: grid; justify-items: start; gap: 14px; }
.acct-empty p { margin: 0; color: var(--muted); }
.acct-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.acct-order { display: grid; gap: 8px; padding: 20px 22px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; }
.acct-order:hover { border-color: var(--line-2); background: var(--card-2); }
.ao-top, .ao-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ao-top strong { font-size: 17px; letter-spacing: -0.01em; }
.ao-items { color: var(--ink); opacity: .85; font-size: 15px; }
.ao-foot { font-size: 14px; }
.ao-total { font-weight: 600; font-size: 16px; }
.ao-status { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); }
.ao-status.s-entregado { color: var(--ok); border-color: rgba(127, 211, 164, .4); }
.ao-status.s-enviado, .ao-status.s-preparando, .ao-status.s-confirmado { color: var(--brass-2); border-color: rgba(212, 176, 122, .45); }
.ao-status.s-cancelado { color: var(--bad); border-color: rgba(242, 167, 162, .4); }
.acct-sec summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; margin: 0; }
.acct-sec summary::-webkit-details-marker { display: none; }
.acct-sec summary::after { content: "+"; font-weight: 400; font-size: 22px; color: var(--muted); }
.acct-sec[open] summary::after { content: "–"; }
.acct-sec[open] summary { margin-bottom: 18px; }

/* Pago con tarjeta (ONVO) */
.card-pay { margin: 4px 0 18px; }
.card-pay .small { margin: 8px 0 0; }
.pay-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 4px 0 14px; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Redes sociales */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social a, .footer-grid .social a, .menu-panel .social a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.social a:hover, .footer-grid .social a:hover { border-color: var(--brass); color: var(--brass-2); background: rgba(212, 176, 122, .08); }
.social a:not(:has(span)), .menu-panel .social a:not(:has(span)) { padding: 0; width: 42px; }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.social span { font-size: 14px; }
.menu-panel .social { margin: 8px 0 4px; }

/* ===== Rendimiento al desplazarse =====
   Antes cada tarjeta animaba sin parar una capa difuminada y varios chips recalculaban un desenfoque
   de vidrio en cada cuadro: en celulares el desplazamiento se trababa. Las auras quedan quietas y los
   chips usan fondo sólido; el resultado visual es casi el mismo. */
.aura:not(.hero-card)::before { animation: none; }
.blob { will-change: transform; }
.card-chip, .chip-glass, .aura-label, .fo-icon, .hc-body, .wa-float, .rail-btn { backdrop-filter: none; -webkit-backdrop-filter: none; }
.card-chip, .chip-glass { background: rgba(10, 14, 12, .55); }
.aura-label { background: rgba(10, 14, 12, .58); }
.hc-body { background: rgba(10, 14, 12, .72); }
.rail-btn { background: rgba(11, 15, 13, .85); }
.card-media, .family-orb { contain: paint; }
@media (max-width: 1179px) {
  .nav-pill, .menu-panel { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 19, 17, .94); }
  .site-header.scrolled .nav-pill { background: rgba(14, 19, 17, .96); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transform: translateY(12px); transition-duration: .5s; }
  .js .reveal.in { transform: none; }
}

/* Portada: las manchas de color son degradados radiales en vez de círculos con filter: blur(90px).
   Se ven igual y el navegador no tiene que difuminar 3 capas enormes antes de mostrar el título. */
.blob { filter: none; border-radius: 0; background: radial-gradient(closest-side, var(--blob), transparent); }
.b1 { --blob: #1f5546; width: 760px; height: 760px; left: -240px; top: -220px; }
.b2 { --blob: #8a5a2b; width: 720px; height: 720px; right: -220px; top: -40px; }
.b3 { --blob: #5e1f33; width: 620px; height: 620px; bottom: -320px; }
