/* Tienda pública de On Style. Dirección: liquid glass sobre fondo oscuro, tipografía de sistema, entradas que se materializan
   (blur + escala + opacidad). Se carga después de styles.css y lo reemplaza donde hace falta; el mostrador y el admin
   siguen usando solo styles.css. Animaciones: solo transform, opacity y filter. */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --muted-2: #b6b6bd;           /* texto secundario sobre vidrio (contraste > 7:1 sobre el fondo) */
  --glass-fill: linear-gradient(180deg, rgba(255,255,255,.115), rgba(255,255,255,.045));
  --glass-spec: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.14), transparent 55%);
  --glass-blur: blur(24px) saturate(185%);
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.32), inset 0 0 0 .5px rgba(255,255,255,.07), 0 1px 2px rgba(0,0,0,.4), 0 18px 48px -18px rgba(0,0,0,.65);
  --glass-border: rgba(255,255,255,.1);
  --sheet-fill: rgba(24,24,27,.6);
  --field-fill: rgba(255,255,255,.07);
  --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --step-small: 0.8125rem;
  --step-body: 1.0625rem;
  --step-lead: clamp(1.1875rem, 1.05rem + .6vw, 1.5rem);
  --step-h2: clamp(2.25rem, 1.2rem + 3.6vw, 4rem);
  --step-h1: clamp(2.9rem, 1rem + 6.4vw, 6.25rem);
  --m: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --ease-spring: cubic-bezier(.34, 1.3, .5, 1);   /* leve rebote, solo para elementos que ya traen impulso */
}

html { scroll-behavior: auto; }
body.store { font-family: var(--font); font-size: var(--step-body); line-height: 1.5; letter-spacing: -0.011em; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; accent-color: var(--yellow); caret-color: var(--yellow); scrollbar-color: #3a3a3e var(--bg); }
.store ::selection { background: var(--yellow); color: #111; }
.store h1, .store h2, .store h3, .store h4 { font-family: var(--font); font-weight: 700; text-transform: none; line-height: 1.05; margin: 0; }
.store h1 { font-size: var(--step-h1); letter-spacing: -0.045em; line-height: 1; }
.store h2 { font-size: var(--step-h2); letter-spacing: -0.035em; }
.store h3 { letter-spacing: -0.02em; }
.store a { text-decoration: none; }
.store p { margin: 0; }
.store .wrap-s { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--m); }
.store .price, .store .line, .store .cart-count, .store .total { font-variant-numeric: tabular-nums; }

/* ---------- fondo ambiente: da algo que el vidrio pueda refractar ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 88% -8%, rgba(245,197,24,.17), transparent 60%),
    radial-gradient(55vmax 45vmax at -10% 38%, rgba(80,110,255,.10), transparent 60%),
    radial-gradient(60vmax 50vmax at 70% 110%, rgba(245,197,24,.09), transparent 60%),
    var(--bg); }

/* ---------- material: liquid glass ---------- */
.glass { position: relative; background: var(--glass-spec), var(--glass-fill); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); box-shadow: var(--glass-edge); }
.glow { position: relative; }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms var(--ease-out);
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.12), transparent 65%); }
@media (hover: hover) and (pointer: fine) { .glow:hover::after { opacity: 1; } }

/* ---------- botones ---------- */
.store .btn { font-family: var(--font); font-size: var(--step-body); font-weight: 600; text-transform: none; letter-spacing: -0.011em; border-radius: 999px; min-height: 48px; padding: 0 24px; border: 0; position: relative; transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease, color 200ms ease; }
.store .btn:active { transform: scale(.97); }
.store .btn-sm { min-height: 38px; padding: 0 16px; font-size: .875rem; }
.store .btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.0625rem; }
.store .btn-block { width: 100%; margin-top: 8px; }
.store .btn-primary { background: linear-gradient(180deg, #ffd84a, var(--yellow) 55%, #e6b30f); color: var(--on-yellow); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 24px -8px rgba(245,197,24,.55); }
.store .btn-glass { color: var(--ink); background: var(--glass-spec), var(--glass-fill); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge); border: 1px solid var(--glass-border); }
.store .btn-wa { background: linear-gradient(180deg, #4be184, #25d366 55%, #1fb958); color: #04200e; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 24px -8px rgba(37,211,102,.5); }
.store .btn[disabled] { opacity: .45; }
@media (hover: hover) and (pointer: fine) {
  .store .btn-primary:hover { background: linear-gradient(180deg, #ffe064, #f9cf2c 55%, #ebb910); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 12px 30px -8px rgba(245,197,24,.7); }
  .store .btn-glass:hover { background: var(--glass-spec), linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08)); }
  .store .btn-wa:hover { background: linear-gradient(180deg, #5cea94, #2fdc6f 55%, #22c25f); }
}
.store :focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* ---------- barra flotante ---------- */
.nav-wrap { position: fixed; top: max(12px, env(safe-area-inset-top)); left: 12px; right: 12px; z-index: 40; pointer-events: none; }
.nav { pointer-events: auto; max-width: 960px; margin: 0 auto; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px 0 10px;
  transition: background-color 300ms ease, box-shadow 300ms ease; }
.nav.scrolled { background: var(--glass-spec), linear-gradient(180deg, rgba(34,34,38,.72), rgba(20,20,23,.62)); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; border-radius: 999px; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; letter-spacing: 0; color: #111; background: linear-gradient(180deg, #ffd84a, var(--yellow) 60%, #e0ac0b); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.brand-name { font-size: 1.0625rem; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { font-size: .9375rem; font-weight: 500; color: var(--muted-2); padding: 8px 14px; border-radius: 999px; transition: color 200ms ease, background-color 200ms ease; }
.nav-links a[aria-current] { color: var(--ink); background: rgba(255,255,255,.1); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.08); } }
.nav-links .short { display: none; }
.nav-cart { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; font-weight: 600; font-size: .9375rem; color: var(--on-yellow);
  background: linear-gradient(180deg, #ffd84a, var(--yellow) 55%, #e6b30f); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 18px -6px rgba(245,197,24,.6); transition: transform 160ms var(--ease-out), box-shadow 200ms ease; }
.nav-cart:active { transform: scale(.96); }
.nav .cart-count { background: #111; color: var(--ink); min-width: 20px; height: 20px; border-radius: 10px; font-size: 12px; padding: 0 6px; }
.nav .cart-count.bump { animation: bump 420ms var(--ease-spring); }
@media (max-width: 560px) {
  .brand-name { display: none; }
  .nav-links a { padding: 8px 10px; font-size: .875rem; }
  .nav-links .long { display: none; } .nav-links .short { display: inline; }
  .nav-cart-label { display: none; } .nav-cart { padding: 0 12px; }
}

/* ---------- portada ---------- */
.hero { max-width: 1240px; margin: 0 auto; min-height: 100svh; padding: 112px var(--m) 56px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-copy { display: grid; justify-items: start; gap: 22px; }
.hero .eyebrow { text-transform: none; letter-spacing: 0; max-width: none; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--ink); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px 2px rgba(245,197,24,.7); }
.hero h1 { background: linear-gradient(180deg, #fff 35%, rgba(255,255,255,.66)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero h1 .accent { background: linear-gradient(180deg, #ffe27a, var(--yellow) 60%, #c99a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.02em; color: var(--muted-2); max-width: 30ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; }
.hero [data-open].pill { padding: 9px 16px; font-size: .875rem; font-weight: 600; max-width: none; color: var(--ink); }
[data-open] { display: flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; color: var(--ink); }
[data-open] i { width: 9px; height: 9px; border-radius: 50%; background: #8a8a90; display: inline-block; flex: none; }
[data-open].is-open i { background: var(--ok); box-shadow: 0 0 0 3px rgba(70,209,124,.22), 0 0 10px rgba(70,209,124,.8); }

/* collage de fotos reales: tres capas con paralaje */
.collage { position: relative; width: 100%; max-width: 600px; justify-self: center; aspect-ratio: 1 / 1.08; --px: 0; --py: 0; }
.ph { position: absolute; margin: 0; padding: 6px; border-radius: 30px; background: var(--glass-fill); border: 1px solid var(--glass-border); box-shadow: var(--glass-edge), 0 40px 80px -30px rgba(0,0,0,.8);
  transform: translate3d(calc(var(--px) * var(--k) * 1px), calc(var(--py) * var(--k) * 1px), 0) rotate(var(--r, 0deg)); transition: transform 700ms var(--ease-out); will-change: transform; }
.ph img { width: 100%; height: auto; aspect-ratio: 1080 / 1277; object-fit: cover; border-radius: 24px; filter: blur(var(--mb, 0px)); }
.ph-main { left: 22%; top: 3%; width: 56%; --k: 22; z-index: 3; }
.ph-a { left: 0; top: 14%; width: 38%; --r: -6deg; --k: -16; z-index: 1; }
.ph-b { right: 0; bottom: 0; width: 40%; --r: 5deg; --k: 34; z-index: 2; }
.ph .pill { position: absolute; left: 14px; bottom: 14px; border: 1px solid var(--glass-border); padding: 9px 14px; font-size: .8125rem; font-weight: 600; color: var(--ink); white-space: nowrap; max-width: calc(100% - 28px); transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.ph .pill:active { transform: scale(.96); }
.ph-a .pill, .ph-b .pill { left: 10px; bottom: 10px; padding: 7px 11px; }
@media (hover: hover) and (pointer: fine) { .ph .pill:hover { background: var(--glass-spec), linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.09)); } }
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 104px; }
  .collage { max-width: 520px; }
}
@media (max-width: 480px) {
  .ph { padding: 4px; border-radius: 22px; } .ph img { border-radius: 18px; }
  .ph .pill { left: 8px; bottom: 8px; padding: 7px 11px; font-size: .75rem; }
  .ph-a .pill, .ph-b .pill { left: 6px; bottom: 6px; padding: 6px 9px; font-size: .6875rem; }
}

/* ---------- banda de condiciones ---------- */
.band { max-width: 1240px; margin: 0 var(--m); border-radius: 999px; overflow: hidden; padding: 4px 0; }
@media (min-width: 1320px) { .band { margin: 0 auto; } }
.band .track { display: flex; width: max-content; min-width: 100%; animation: marquee 38s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.band ul { list-style: none; margin: 0; padding: 0; display: flex; flex: none; min-width: 100%; justify-content: space-around; gap: 40px; padding-right: 40px; }
.band li { display: inline-flex; align-items: center; gap: 10px; padding: 14px 0; font-size: .9375rem; font-weight: 600; white-space: nowrap; color: var(--ink); }
.band li svg { color: var(--yellow); flex: none; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@media (hover: hover) and (pointer: fine) { .band:hover .track { animation-play-state: paused; } }

/* ---------- secciones ---------- */
.section { padding: var(--section) 0 0; position: relative; }
.sec-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.kicker { font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--yellow); }
.sec-sub { font-size: var(--step-lead); color: var(--muted-2); letter-spacing: -0.02em; }
.sec-head h2 { background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,.7)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }

/* catálogo */
.filters-wrap { position: sticky; top: 80px; z-index: 20; display: flex; margin-bottom: clamp(20px, 3vw, 32px); pointer-events: none; }
.catalog .filters { pointer-events: auto; display: flex; flex-wrap: nowrap; gap: 4px; padding: 5px; margin: 0; max-width: 100%; border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.catalog .filters::-webkit-scrollbar { display: none; }
.store .chip { flex: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted-2); font-size: .9375rem; font-weight: 600; transition: transform 160ms var(--ease-out), background-color 220ms ease, color 220ms ease; }
.store .chip[aria-pressed="true"] { background: var(--ink); color: #111; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
@media (hover: hover) and (pointer: fine) { .store .chip:hover { color: var(--ink); background: rgba(255,255,255,.09); } .store .chip[aria-pressed="true"]:hover { background: var(--ink); color: #111; } }

.catalog .grid { padding: 0; gap: clamp(12px, 2vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .catalog .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .catalog .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.store .card { padding: 6px; border-radius: var(--r-lg); background: var(--glass-spec), var(--glass-fill); border: 1px solid var(--glass-border); box-shadow: var(--glass-edge); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); color: var(--ink); text-align: left; transition: transform 220ms var(--ease-out), box-shadow 220ms ease; }
.store .card:active { transform: scale(.985); }
.store .card-img { border-radius: 22px; background: var(--surface); position: relative; aspect-ratio: 4/5; overflow: hidden; }
.store .card-img img { width: 100%; height: 100%; object-fit: cover; filter: blur(var(--mb, 0px)); transition: transform 600ms var(--ease-out); }
.card .view { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 8px); opacity: 0; padding: 8px 16px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--ink); white-space: nowrap; pointer-events: none;
  background: rgba(20,20,23,.55); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255,255,255,.28); transition: transform 280ms var(--ease-out), opacity 280ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .store .card:hover { transform: translateY(-4px); }
  .store .card:hover .card-img img { transform: scale(1.05); }
  .card:hover .view { opacity: 1; transform: translate(-50%, 0); }
}
.card-body { padding: 12px 10px 8px; }
.store .card h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; margin: 0; }
.store .card .price { font-size: 1.0625rem; font-weight: 600; color: var(--muted-2); margin-top: 4px; }
.store .tag { position: absolute; left: 10px; top: 10px; padding: 5px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--on-yellow); background: var(--yellow); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.store .tag.out { color: var(--ink); background: rgba(20,20,23,.6); -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.catalog .empty { grid-column: 1 / -1; display: grid; justify-items: start; gap: 20px; padding: clamp(28px, 5vw, 48px); border-radius: var(--r-lg); font-size: var(--step-lead); letter-spacing: -0.02em; color: var(--ink); text-align: left; max-width: 640px; }

/* lookbook */
.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.look { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
.look img { width: 100%; height: 100%; object-fit: cover; filter: blur(var(--mb, 0px)); transition: transform 800ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .look:hover img { transform: scale(1.04); } }
.look-cap { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 12px 12px 12px 18px; border-radius: 999px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .9375rem; font-weight: 600; background: linear-gradient(180deg, rgba(40,40,44,.55), rgba(18,18,21,.55)); }
.look-cap span { min-width: 0; line-height: 1.2; }
.look-cap .btn-glass { flex: none; background: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 899px) {
  .looks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--m) * -1); padding: 0 var(--m); scrollbar-width: none; }
  .looks::-webkit-scrollbar { display: none; }
  .look { flex: 0 0 min(78%, 360px); scroll-snap-align: center; }
}

/* cómo comprar: vidrio sobre una foto desenfocada */
.how { margin-top: var(--section); padding-bottom: var(--section); overflow: hidden; isolation: isolate; }
.how-bg { position: absolute; inset: -40px; z-index: -1; background: linear-gradient(180deg, var(--bg), rgba(11,11,12,.55) 30%, rgba(11,11,12,.55) 70%, var(--bg)), url(img/outfit-09.jpg) center / cover; filter: blur(34px) saturate(1.3); transform: scale(1.1); }
.how { padding-top: var(--section); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.step { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: grid; align-content: start; gap: 14px; }
.step-n { position: absolute; top: clamp(20px, 2.6vw, 30px); right: clamp(22px, 2.8vw, 32px); font-size: 3rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: rgba(255,255,255,.14); }
.step-ico { color: var(--yellow); }
.step h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); letter-spacing: -0.035em; margin-top: 18px; }
.step p { color: var(--muted-2); font-size: var(--step-body); line-height: 1.45; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; } .step h3 { margin-top: 6px; } }

/* detalles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); align-items: start; }
.tile { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
.tile:nth-child(even) { margin-top: clamp(0px, 4vw, 56px); }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: blur(var(--mb, 0px)); transition: transform 800ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.05); } }
.tile figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 12px 16px; border-radius: 20px; font-size: .875rem; font-weight: 600; line-height: 1.3; background: linear-gradient(180deg, rgba(40,40,44,.55), rgba(18,18,21,.6)); }
@media (max-width: 899px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile:nth-child(even) { margin-top: 28px; } .tile figcaption { left: 6px; right: 6px; bottom: 6px; padding: 9px 12px; font-size: .75rem; border-radius: 16px; } }

/* contacto */
.contact { padding-bottom: var(--section); }
.contact::before { content: ""; position: absolute; inset: 20% 0 0; z-index: -1; pointer-events: none; background: radial-gradient(50vmax 30vmax at 50% 60%, rgba(245,197,24,.12), transparent 65%); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: clamp(12px, 2vw, 24px); }
.c-card { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); overflow: hidden; }
.c-main { grid-row: 1 / 3; display: grid; align-content: space-between; gap: 24px; }
.c-main .big { font-size: clamp(2.4rem, 1rem + 5vw, 4.5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--ink); white-space: nowrap; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .c-main .big:hover { color: var(--yellow); } }
.hours { display: grid; gap: 8px; font-size: var(--step-body); }
.hours div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.1); }
.hours span { color: var(--muted-2); } .hours b { font-weight: 600; }
.where { color: var(--muted-2); }
.c-size { display: grid; align-content: start; gap: 14px; }
.c-size h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; }
.c-size p { color: var(--muted-2); }
.c-size .btn { justify-self: start; margin-top: 6px; }
.c-ig { position: relative; padding: 0; min-height: 280px; display: grid; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.8); }
.c-ig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: blur(var(--mb, 0px)); }
.c-ig::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,11,12,.15), rgba(11,11,12,.88)); }
.c-ig-body { position: relative; z-index: 2; align-self: end; display: grid; gap: 10px; justify-items: start; padding: clamp(24px, 3vw, 36px); }
.c-ig h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.c-ig p:not(.kicker) { color: #d4d4d8; }
.c-ig .btn { margin-top: 6px; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } .c-main { grid-row: auto; } }

/* pie */
.foot { border: 0; padding: 0 0 calc(96px + env(safe-area-inset-bottom)); color: var(--ink); font-size: var(--step-body); }
.foot .wrap-s { display: block; border-top: 1px solid rgba(255,255,255,.1); padding-top: clamp(32px, 5vw, 56px); }
.foot-top { display: grid; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1fr 2fr; } }
.foot-cols { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
.foot .places, .foot .links { display: grid; gap: 10px; align-content: start; }
.foot .places a, .foot .places span, .foot .links a { color: var(--muted-2); }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--ink); } }
.foot .brand { align-self: start; }
.foot .legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--step-small); color: var(--muted-2); }
.foot .legal a { color: var(--muted-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 719px) { .foot .legal { padding-right: 0; } }

/* botón flotante de WhatsApp */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 35; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; color: var(--ink); font-size: .9375rem; font-weight: 600; background: var(--glass-spec), linear-gradient(180deg, rgba(37,211,102,.34), rgba(37,211,102,.16)); transition: transform 180ms var(--ease-out); }
.fab svg { color: #5dea96; }
.fab:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .fab:hover { transform: translateY(-2px); } }
@media (max-width: 560px) { .fab { width: 52px; padding: 0; justify-content: center; } .fab span { display: none; } }

/* ---------- overlay y sheets: el fondo se desenfoca, el contenido se materializa ---------- */
.store .overlay { background: rgba(6,6,8,.42); -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%); transition: opacity 200ms ease, visibility 0s linear 200ms; }
.store .overlay.open { transition: opacity 320ms ease, visibility 0s; }
.store .sheet { background: var(--glass-spec), var(--sheet-fill); -webkit-backdrop-filter: blur(40px) saturate(190%); backdrop-filter: blur(40px) saturate(190%); border: 1px solid rgba(255,255,255,.1); border-bottom: 0; border-radius: 28px 28px 0 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 -20px 80px -20px rgba(0,0,0,.7);
  max-height: 92dvh; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.store .sheet > * { filter: blur(10px); opacity: 0; transition: filter 200ms var(--ease-out), opacity 200ms var(--ease-out); }
.store .sheet.open > * { filter: none; opacity: 1; transition: filter 460ms var(--ease-out) 60ms, opacity 360ms var(--ease-out) 60ms; }
.sheet-head { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 52px; margin: 0 0 8px; touch-action: none; }
.sheet-head h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.03em; text-transform: none; }
.grab { position: absolute; left: 50%; top: 4px; width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); transform: translateX(-50%); }
.store .x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--ink); display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.store .x:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .store .x:hover { background: rgba(255,255,255,.2); color: var(--ink); } }

@media (min-width: 720px) {
  .store .sheet.center { left: 50%; top: 50%; bottom: auto; right: auto; width: min(940px, 94vw); max-height: 90dvh; border: 1px solid rgba(255,255,255,.1); border-radius: 32px; padding: 14px 28px 28px;
    transform: translate(-50%, -50%) scale(.95); opacity: 0; transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s linear 200ms; }
  .store .sheet.center.open { transform: translate(-50%, -50%); opacity: 1; transition: transform 420ms var(--ease-out), opacity 320ms var(--ease-out), visibility 0s; }
  .store .sheet.center.narrow { width: min(560px, 94vw); }
  .store .sheet.side { left: auto; right: 12px; top: 12px; bottom: 12px; width: 420px; max-height: none; border: 1px solid rgba(255,255,255,.1); border-radius: 32px; padding: 14px 24px 24px; transform: translateX(calc(100% + 24px)); }
  .store .sheet.side.open { transform: none; }
  .grab { display: none; }
}

/* detalle de producto */
.store .detail { display: grid; gap: 20px; }
@media (min-width: 720px) { .store .detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; } }
.store .detail .card-img { aspect-ratio: 4/5; border-radius: 22px; }
@media (max-width: 719px) { .store .detail .card-img { aspect-ratio: 1 / 1; max-height: 40dvh; width: 100%; } .store .detail .card-img img { object-position: 50% 30%; } }
.store .detail h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -0.035em; margin: 6px 0 0; }
.store .detail .cat { font-size: .875rem; font-weight: 600; color: var(--yellow); }
.store .detail .price { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); margin: 8px 0 12px; }
.store .detail p { color: var(--muted-2); margin-bottom: 18px; }
.store .label { font-size: .8125rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted-2); margin-bottom: 8px; display: block; }
.store .sizes { gap: 8px; margin-bottom: 18px; }
.store .size { min-width: 52px; min-height: 46px; padding: 0 16px; border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-sm); background: var(--field-fill); color: var(--ink); font-size: var(--step-body); font-weight: 600; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.store .size:active { transform: scale(.96); }
.store .size[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); box-shadow: 0 6px 18px -6px rgba(245,197,24,.6); }
.store .size[disabled] { opacity: .35; text-decoration: line-through; }
@media (hover: hover) and (pointer: fine) { .store .size:hover:not([aria-pressed="true"]):not([disabled]) { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); } }
.store .qty { border: 1px solid rgba(255,255,255,.08); background: var(--field-fill); border-radius: 999px; margin-bottom: 8px; }
.store .qty button { color: var(--ink); }
.store .qty span { font-variant-numeric: tabular-nums; }
.low-note { margin: -8px 0 14px !important; font-size: .875rem; font-weight: 600; color: var(--yellow) !important; }
.store .note { font-size: .8125rem; color: var(--muted-2); margin-top: 12px; }
.store .error { color: #ff8585; font-size: .875rem; min-height: 20px; margin-top: 6px; }

/* carrito y checkout */
.store .line { grid-template-columns: 72px 1fr auto; gap: 14px; padding: 10px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 22px; background: var(--field-fill); align-items: center; }
.store .line img { width: 72px; height: 90px; border-radius: 14px; object-fit: cover; }
.store .line h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; }
.store .line small { color: var(--muted-2); font-size: .8125rem; }
.store .line .lp { font-weight: 600; color: var(--ink); }
.store .line .rm { color: var(--muted-2); font-size: .8125rem; padding: 8px 0 0; }
@media (hover: hover) and (pointer: fine) { .store .line .rm:hover { color: var(--ink); } }
.store .total { display: flex; justify-content: space-between; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.03em; text-transform: none; padding: 16px 4px 12px; }
.empty-cart { padding: 48px 0; text-align: center; color: var(--muted-2); }
.store .field label { font-size: .8125rem; font-weight: 600; color: var(--muted-2); margin-bottom: 8px; }
.store .input { min-height: 48px; padding: 11px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-sm); background: rgba(0,0,0,.28); color: var(--ink); font-size: 1rem; transition: border-color 200ms ease, box-shadow 200ms ease; }
.store .input:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(245,197,24,.2); outline: none; }
.store .input::placeholder { color: #7f7f86; }
.store .radio span { border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-sm); background: var(--field-fill); font-weight: 600; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.store .radio input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }

/* aviso */
.store .toast { background: var(--glass-spec), linear-gradient(180deg, rgba(48,48,53,.78), rgba(24,24,27,.78)); color: var(--ink); font-weight: 600; padding: 13px 22px; border-radius: 999px; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 16px) scale(.96); filter: blur(8px); transition: opacity 240ms var(--ease-out), transform 360ms var(--ease-out), filter 360ms var(--ease-out); max-width: calc(100vw - 32px); text-align: center; }
.store .toast.show { transform: translate(-50%, 0); filter: none; }
.store .demo-bar { display: none; }

/* ---------- entradas: se materializan ---------- */
.js [data-reveal] { opacity: 0; filter: blur(14px); transform: translateY(22px) scale(.985); transition: opacity 700ms var(--ease-out) var(--d, 0ms), filter 800ms var(--ease-out) var(--d, 0ms), transform 800ms var(--ease-out) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; filter: none; transform: none; }
.store .grid.stagger .card { animation: materialize 620ms var(--ease-out) backwards; animation-delay: calc(min(var(--i, 0), 8) * 50ms); }
@keyframes materialize { from { opacity: 0; filter: blur(12px); transform: translateY(16px) scale(.97); } }
@keyframes bump { 40% { transform: scale(1.3); } }

/* ---------- preferencias del sistema ---------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; filter: none; transition: opacity 200ms ease var(--d, 0ms); }
  .store .grid.stagger .card { animation: fade 200ms ease backwards; }
  .band .track { animation: none; transform: none; width: 100%; -webkit-mask-image: none; mask-image: none; }
  .band ul[aria-hidden] { display: none; }
  .band ul { flex-wrap: wrap; row-gap: 0; }
  .ph { transform: rotate(var(--r, 0deg)); transition: none; }
  .store .card:hover, .store .card:hover .card-img img, .look:hover img, .tile:hover img, .fab:hover { transform: none !important; }
  .store .btn:active, .store .chip:active, .store .size:active, .store .x:active, .store .card:active, .nav-cart:active, .fab:active { transform: none !important; }
  .nav .cart-count.bump { animation: none; }
  .store .sheet > *, .store .sheet.open > * { filter: none; transition: opacity 160ms ease; }
  .store .sheet, .store .sheet.side { transform: none; opacity: 0; transition: opacity 160ms ease, visibility 0s linear 160ms; }
  .store .sheet.open, .store .sheet.side.open { transform: none; opacity: 1; transition: opacity 160ms ease, visibility 0s; }
  .store .toast { filter: none; transform: translate(-50%, 0); transition: opacity 200ms ease; }
  @keyframes fade { from { opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) and (min-width: 720px) {
  .store .sheet.center, .store .sheet.center.open { transform: translate(-50%, -50%); }
  .store .sheet.side, .store .sheet.side.open { transform: none; }
}
/* Sin transparencia: superficies sólidas y sin desenfoque */
@media (prefers-reduced-transparency: reduce) {
  .glass, .store .card, .store .btn-glass, .store .sheet, .store .overlay, .card .view, .store .tag.out, .store .toast, .fab, .nav, .nav.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass, .store .card, .store .btn-glass, .nav, .nav.scrolled, .look-cap, .tile figcaption { background: #1c1c1f; }
  .store .sheet { background: #17171a; }
  .store .overlay { background: rgba(0,0,0,.78); }
  .card .view, .store .tag.out { background: #1c1c1f; }
  .store .toast { background: #26262a; }
  .fab { background: #143a25; }
  .how-bg { filter: none; opacity: .5; }
}
/* Alto contraste: bordes definidos, textos al máximo */
@media (prefers-contrast: more) {
  :root { --muted-2: #e4e4e8; --glass-border: rgba(255,255,255,.55); }
  .glass, .store .card, .store .btn-glass, .nav, .nav.scrolled, .look-cap, .tile figcaption { background: #131315; border-color: rgba(255,255,255,.55); }
  .store .sheet { background: #131315; border-color: rgba(255,255,255,.6); }
  .store .size, .store .qty, .store .radio span, .store .input, .store .line { border-color: rgba(255,255,255,.5); }
  .hero h1, .hero h1 .accent, .sec-head h2 { background: none; color: var(--ink); }
  .hero h1 .accent { color: var(--yellow); }
  .step-n { color: rgba(255,255,255,.4); }
}
/* Navegadores sin backdrop-filter: la superficie se vuelve sólida para no perder legibilidad */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .store .card, .store .btn-glass, .look-cap, .tile figcaption { background: #1c1c1f; }
  .store .sheet { background: #17171a; }
}
