/* ============================================================
   SITIO PÚBLICO Y TIENDA — Detalles Maggical
   Degradados pastel (algodón de azúcar) con un tono fuerte para leer bien;
   letras alojadas en el propio sitio (assets/css/fonts.css).
   Los colores de marca (--brand, --brand2, --soft) los define la
   dueña desde el panel y llegan en un <style> del encabezado.
   ============================================================ */
@import url("tokens.css");

:root {
    --brand: #C2457A;
    --brand2: #8E4FB8;
    --g1: #FFB8D4;
    --g2: #D9C2FF;
    --g3: #B8E4FF;
    --grad: linear-gradient(120deg, var(--g1), var(--g2) 52%, var(--g3));
    --on-grad: #3B1F33;
    --soft: #FDF1F5;
    --ink: #3B2230;
    --muted: #7A5867;
    --line: #F1D9E3;
    --cream: #FFF8F3;
    --white: #FFFFFF;
    --ok: #2E8A6B;
    --bad: #C93A3A;
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 28px;
    --shadow: 0 2px 6px rgba(90, 35, 65, .06), 0 18px 40px -18px rgba(90, 35, 65, .28);
    --shadow-lg: 0 30px 60px -25px rgba(90, 35, 65, .45);
    --display: "Fraunces", Georgia, serif;
    --accent: "Great Vibes", cursive;
    --body: "Nunito", "Segoe UI", system-ui, sans-serif;
    --wrap: 1200px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body.site {
    margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream);
    font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.site img { max-width: 100%; display: block; }
.site a { color: inherit; }
.site h1, .site h2, .site h3, .site h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; font-optical-sizing: auto; }
.site h2 { font-size: clamp(28px, 4vw, 44px); }
.site p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.si { flex: none; }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Botones ---------- */
.s-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
    font: 600 15px/1 var(--body); padding: 15px 24px; border-radius: var(--btn-r, 999px); text-decoration: none;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.s-btn:active { transform: scale(.97); }
.s-btn-primary {
    color: var(--on-grad); background: var(--grad);
    box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--brand) 60%, transparent), inset 0 1px 0 rgba(255,255,255,.45);
}
.s-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px color-mix(in srgb, var(--brand) 65%, transparent); filter: saturate(1.08); }
.s-btn-ghost { color: var(--ink); background: rgba(255,255,255,.75); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.s-btn-ghost:hover { background: #fff; transform: translateY(-2px); }
.s-btn-sm { padding: 10px 16px; font-size: 14px; }
.s-btn-block { width: 100%; }
.s-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.s-link { color: var(--brand); font-weight: 600; text-decoration: none; }
.s-link:hover { text-decoration: underline; }

/* ---------- Aviso superior y navegación ---------- */
.s-announce {
    display: block; text-decoration: none;
    background: var(--grad); color: var(--on-grad); text-align: center;
    font-size: 13.5px; font-weight: 600; padding: 8px 16px;
}
.s-nav {
    position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 243, .78);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid rgba(241, 217, 227, .7);
}
.s-nav-in { display: flex; align-items: center; gap: 18px; height: 74px; }
.s-logo img { height: var(--logo-h, 42px); width: auto; }
.s-links { display: flex; gap: 6px; margin-left: 18px; }
.s-links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 999px; color: var(--muted); transition: .2s; }
.s-links a:hover, .s-links a.on { color: var(--ink); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.s-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.s-icon-btn {
    position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: transparent; border: 0; color: var(--ink); cursor: pointer; text-decoration: none; transition: .2s;
}
.s-icon-btn:hover { background: color-mix(in srgb, var(--brand) 11%, transparent); color: var(--brand); }
.s-badge {
    position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
    background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;
    box-shadow: 0 0 0 2px var(--cream); transition: transform .3s var(--ease);
}
.s-badge.bump { transform: scale(1.35); }
.s-badge[data-count="0"] { display: none; }
.s-burger { display: none; }
.s-search {
    display: none; position: absolute; inset: 100% 0 auto; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
    padding: 14px 0; box-shadow: var(--shadow);
}
.s-search.open { display: block; animation: drop .25s var(--ease); }
.s-search form { display: flex; gap: 10px; }
.s-input, .s-search input, .s-form input, .s-form select, .s-form textarea {
    width: 100%; font: 15px var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line);
    border-radius: var(--r-sm); padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.s-input:focus, .s-search input:focus, .s-form input:focus, .s-form select:focus, .s-form textarea:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Portada 3D ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0;
}
.hero::before { width: 520px; height: 520px; background: var(--g1); top: -160px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: var(--g2); bottom: -200px; left: -160px; }
.hero-txt { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand); background: rgba(255,255,255,.7); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); font-weight: 700; letter-spacing: -.02em; }
.grad {
    background: linear-gradient(110deg, var(--brand) 10%, var(--brand2) 70%, var(--brand) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em .06em 0;
    font-family: var(--accent, var(--display)); font-style: var(--accent-style, italic); font-weight: 400;
    font-size: var(--accent-size, 1em); letter-spacing: 0; line-height: 1;
}
.hero-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink);
    background: rgba(255,255,255,.8); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px;
}
.chip .si { color: var(--brand); }

/* Escena 3D: caja de regalo que gira, globos y corazones flotando */
.scene { position: relative; height: 500px; perspective: 1100px; }
.scene-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.gift {
    --s: 200px; position: absolute; left: 50%; top: 56%; width: var(--s); height: var(--s);
    margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); transform-style: preserve-3d; animation: spin 16s linear infinite;
}
.gift .f {
    position: absolute; inset: 0; border-radius: 14px;
    background: linear-gradient(135deg, #F49AC0, #D9578F); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), inset 0 -30px 50px rgba(120, 20, 70, .18);
}
.gift .f::before, .gift .f::after { content: ""; position: absolute; background: linear-gradient(#FFF6D9, #F3D58A); }
.gift .f::before { left: 50%; top: 0; bottom: 0; width: 30px; margin-left: -15px; }
.gift .f::after { top: 50%; left: 0; right: 0; height: 30px; margin-top: -15px; }
.gift .front { transform: translateZ(calc(var(--s) / 2)); }
.gift .back { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.gift .right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(135deg, #E9739F, #C2457A); }
.gift .left { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(135deg, #E9739F, #C2457A); }
.gift .top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(135deg, #FBB6D2, #EC86B2); }
.gift .bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: #A9356A; }
.gift .top { transform-style: preserve-3d; }
.gift .top .bow { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-90deg); }
.gift .bow i {
    position: absolute; width: 58px; height: 46px; bottom: 0; border: 11px solid #F3D58A; border-radius: 50% 50% 20% 50%;
    box-shadow: inset 0 -4px 0 rgba(180, 120, 30, .25);
}
.gift .bow i:nth-child(1) { right: 0; transform: rotateZ(-25deg) rotateY(25deg); transform-origin: right bottom; }
.gift .bow i:nth-child(2) { left: 0; transform: rotateZ(25deg) rotateY(-25deg) scaleX(-1); transform-origin: left bottom; }
.gift .bow b { position: absolute; width: 22px; height: 22px; left: -11px; bottom: -8px; border-radius: 50%; background: #F3D58A; transform: rotateX(90deg); }
@keyframes spin { from { transform: rotateX(-18deg) rotateY(0); } to { transform: rotateX(-18deg) rotateY(360deg); } }
.gift-shadow {
    position: absolute; left: 50%; bottom: 40px; width: 260px; height: 40px; margin-left: -130px; border-radius: 50%;
    background: radial-gradient(rgba(120, 30, 80, .28), transparent 70%); filter: blur(4px); animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(.85); opacity: .7; } }
.balloon {
    position: absolute; width: 84px; height: 102px; border-radius: 50% 50% 48% 48% / 55% 55% 45% 45%;
    background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.85), transparent 18%), radial-gradient(circle at 40% 40%, var(--c1), var(--c2));
    box-shadow: inset -10px -16px 24px rgba(0,0,0,.08), 0 22px 30px -18px rgba(90, 35, 65, .5);
    animation: float 6s ease-in-out infinite; transform: translateZ(var(--z, 40px));
}
.balloon::after {
    content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 90px; margin-left: -1px;
    background: linear-gradient(rgba(122, 88, 103, .6), transparent);
}
.balloon::before {
    content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -6px; border: 6px solid transparent; border-bottom: 8px solid var(--c2);
}
.balloon.b1 { --c1: #F7C6D9; --c2: #E07AA6; left: 6%; top: 6%; }
.balloon.b2 { --c1: #E4D4F4; --c2: #A98BD6; right: 8%; top: 0; width: 70px; height: 86px; animation-delay: -2s; --z: 90px; }
.balloon.b3 { --c1: #FFE3CF; --c2: #F2B183; right: 0; top: 44%; width: 62px; height: 76px; animation-delay: -4s; --z: 120px; }
.balloon.b4 { --c1: #D7F1E8; --c2: #8BCDB5; left: 0; top: 52%; width: 56px; height: 68px; animation-delay: -1s; --z: 70px; }
@keyframes float { 50% { margin-top: -22px; rotate: 4deg; } }
.floaty { position: absolute; color: var(--brand); opacity: .8; animation: float 5s ease-in-out infinite; transform: translateZ(140px); }
.floaty.h1 { left: 26%; top: 12%; } .floaty.h2 { right: 26%; bottom: 18%; color: var(--brand2); animation-delay: -2.5s; }
.floaty.s1 { left: 14%; bottom: 22%; color: #E9B949; animation-delay: -1.5s; } .floaty.s2 { right: 18%; top: 22%; color: #E9B949; animation-delay: -3s; }
.hero-photo {
    position: absolute; inset: 40px 30px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
    transform: translateZ(30px) rotateY(-8deg) rotateX(4deg); border: 8px solid #fff;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Secciones ---------- */
.sec { padding: 84px 0; position: relative; }
.sec-soft { background: var(--soft); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.sec-head p { color: var(--muted); font-size: 17px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }

/* Carrusel de banners con giro 3D */
.banners { padding: 10px 0 30px; overflow: hidden; }
.slider { position: relative; perspective: 1400px; }
.slides { position: relative; height: clamp(300px, 38vw, 430px); }
.slide {
    position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: center;
    background: var(--bg, #F7C6D9); opacity: 0; transform: rotateY(18deg) translateX(60px) scale(.96); transition: opacity .7s var(--ease), transform .9s var(--ease);
    pointer-events: none; box-shadow: var(--shadow);
}
.slide.on { opacity: 1; transform: none; pointer-events: auto; }
.slide.gone { opacity: 0; transform: rotateY(-18deg) translateX(-60px) scale(.96); }
.slide img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(59, 34, 48, .62), rgba(59, 34, 48, .1) 70%); z-index: 1; }
.slide-txt { position: relative; z-index: 2; padding: 0 clamp(26px, 6vw, 80px); max-width: 640px; }
.slide-txt h3 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; }
.slide-txt p { font-size: clamp(16px, 1.8vw, 20px); color: var(--muted); margin-bottom: 22px; }
.slide.has-img .slide-txt h3, .slide.has-img .slide-txt p { color: #fff; }
.slide-deco { position: absolute; right: 6%; top: 50%; width: 280px; height: 280px; margin-top: -140px; z-index: 1; }
.slide-deco span { position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); animation: float 7s ease-in-out infinite; }
.slide-deco span:nth-child(1) { width: 190px; height: 190px; left: 40px; top: 40px; }
.slide-deco span:nth-child(2) { width: 80px; height: 80px; left: 0; top: 0; animation-delay: -3s; background: rgba(255,255,255,.75); }
.slide-deco span:nth-child(3) { width: 54px; height: 54px; right: 0; bottom: 20px; animation-delay: -5s; }
.slide-deco .si { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--brand); width: 90px; height: 90px; }
.slider-nav { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; }
.dot { width: 9px; height: 9px; border-radius: 999px; border: 0; background: #E5C4D3; cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s; }
.dot.on { width: 30px; background: var(--brand); }
.arrow-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.arrow-btn.prev .si { transform: rotate(180deg); }

/* Categorías */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.cat {
    position: relative; text-decoration: none; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/5;
    background: linear-gradient(160deg, #FFFFFF, #F7D9E5); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease); transform-style: preserve-3d;
}
.cat:nth-child(3n+2) { background: linear-gradient(160deg, #FFFFFF, #E9DDF6); }
.cat:nth-child(3n) { background: linear-gradient(160deg, #FFFFFF, #FFE6D6); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover img { transform: scale(1.07); }
.cat .cat-ic { position: absolute; top: 22px; left: 22px; width: 54px; height: 54px; border-radius: 16px; background: #fff; display: grid; place-items: center; color: var(--brand); box-shadow: var(--shadow); }
.cat-label { position: relative; z-index: 1; padding: 18px; background: linear-gradient(transparent, rgba(255,255,255,.94) 40%); }
.cat.has-img .cat-label { background: linear-gradient(transparent, rgba(59, 34, 48, .82) 55%); color: #fff; }
.cat-label strong { display: block; font-family: var(--display); font-size: 19px; line-height: 1.15; }
.cat-label small { color: var(--muted); font-weight: 600; }
.cat.has-img .cat-label small { color: #F7D9E5; }

/* Productos */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.pcard {
    position: relative; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow);
    display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .3s var(--ease); transform-style: preserve-3d; will-change: transform;
}
.pcard:hover { box-shadow: var(--shadow-lg); }
.pcard-media { position: relative; aspect-ratio: 1; background: linear-gradient(150deg, color-mix(in srgb, var(--g1) 35%, #fff), color-mix(in srgb, var(--g2) 35%, #fff)); overflow: hidden; display: block; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand); opacity: .55; }
.pcard-ph .si { width: 70px; height: 70px; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--brand); color: #fff; }
.tag.out { background: #7A5867; }
.fav-btn {
    position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.92); color: var(--muted); display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(90,35,65,.4); transition: transform .2s, color .2s;
}
.fav-btn:hover { transform: scale(1.1); color: var(--brand); }
.fav-btn.on { color: var(--brand); }
.fav-btn.on .si { fill: currentColor; }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard-cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand2); }
.pcard-name { font-family: var(--display); font-size: 18px; line-height: 1.2; margin: 4px 0 10px; text-decoration: none; }
.pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--display); font-weight: 800; font-size: 20px; }
.price s { font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--muted); margin-right: 6px; }
.add-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; color: var(--on-grad); display: grid; place-items: center;
    background: var(--grad); box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--brand) 60%, transparent); transition: transform .2s;
}
.add-btn:hover { transform: scale(1.08) rotate(-6deg); }
.add-btn[disabled] { background: #D9C3CD; box-shadow: none; cursor: not-allowed; }

/* Por qué elegirnos */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.feature {
    background: rgba(255,255,255,.78); border: 1px solid rgba(241, 217, 227, .9); border-radius: var(--r-md); padding: 30px 26px;
    box-shadow: var(--shadow); backdrop-filter: blur(6px); transition: transform .35s var(--ease);
}
.feature:hover { transform: translateY(-6px) rotateX(4deg); }
.feature-ic {
    width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--on-grad); margin-bottom: 18px;
    background: var(--grad); box-shadow: 0 14px 24px -12px color-mix(in srgb, var(--brand) 55%, transparent); transform: rotate(-6deg);
}
.feature h3 { font-size: 21px; }
.feature p { color: var(--muted); margin: 0; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-media { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: perspective(900px) rotateY(6deg); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-art { background: linear-gradient(150deg, var(--g1), var(--g2), var(--g3)); display: grid; place-items: center; }
.about-art .si { width: 46%; height: 46%; color: #fff; filter: drop-shadow(0 20px 30px rgba(120, 30, 80, .35)); animation: float 6s ease-in-out infinite; }
.about-body p { color: var(--muted); font-size: 17px; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--r-md); padding: 34px 26px 26px; box-shadow: var(--shadow); }
.step::before {
    counter-increment: step; content: counter(step); position: absolute; top: -22px; left: 26px; width: 48px; height: 48px; border-radius: 16px;
    background: var(--grad); color: var(--on-grad); display: grid; place-items: center; font: 800 21px var(--display);
    box-shadow: 0 12px 22px -10px var(--brand);
}
.step h3 { font-size: 20px; margin-top: 8px; }
.step p { color: var(--muted); margin: 0; }

/* Galería */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; border-radius: var(--r-md); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gallery img { width: 100%; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; color: #fff; font-weight: 600; font-size: 14px; background: linear-gradient(transparent, rgba(59,34,48,.75)); }

/* Opiniones */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.quote { background: #fff; border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; position: absolute; top: -8px; right: 20px; font: 800 90px/1 var(--display); color: rgba(194, 69, 122, .16); }
.stars { color: #E9B949; display: flex; gap: 2px; margin-bottom: 12px; }
.stars .si { fill: currentColor; }
.quote p { font-size: 16px; }
.quote strong { font-family: var(--display); }

/* Preguntas */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; white-space: pre-line; }

/* Llamado final */
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 70px); text-align: center; color: var(--on-grad);
    background: var(--grad); box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: inherit; }
.cta-band p { opacity: .92; font-size: 18px; margin-bottom: 26px; }
.cta-band .s-btn { background: #fff; color: var(--brand); }
.cta-band .bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,.3); animation: float 8s ease-in-out infinite; }

/* Contacto */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.contact-card { background: #fff; border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow); text-decoration: none; display: flex; gap: 14px; align-items: flex-start; }
.contact-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--brand); flex: none; }
.contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.contact-card strong { display: block; white-space: pre-line; word-break: break-word; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; text-decoration: none; color: var(--brand);
    background: #fff; box-shadow: var(--shadow); transition: transform .25s var(--ease), color .2s, background .2s;
}
.social:hover { transform: translateY(-4px) rotate(-6deg); color: var(--on-grad); background: var(--grad); }

/* ---------- Pie ---------- */
.s-footer { background: var(--footer, #3B2230); color: #F7E9F0; padding: 64px 0 26px; margin-top: 40px; }
.s-footer a { color: #F7E9F0; text-decoration: none; }
.s-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.foot-logo { height: 46px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 16px; }
.s-footer h4 { font-size: 15px; color: #fff; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.s-footer p, .s-footer li { color: #E3C9D6; font-size: 14.5px; }
.s-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.s-footer .social { background: rgba(255,255,255,.08); color: #fff; box-shadow: none; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 20px 76px 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: #C9A9B8; }
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
    background: #25A366; color: #fff; box-shadow: 0 16px 30px -12px rgba(37, 163, 102, .8); text-decoration: none; animation: float 5s ease-in-out infinite;
}
.wa-float .si { width: 30px; height: 30px; }

/* ---------- Tienda ---------- */
.page-head { padding: 54px 0 26px; }
.page-head h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.page-head p { color: var(--muted); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); transition: .2s; }
.filter:hover { color: var(--ink); border-color: var(--brand); }
.filter.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.toolbar form { display: flex; gap: 8px; min-width: 0; }
.toolbar form input { flex: 1; min-width: 0; }
.toolbar select, .toolbar input { font: 14px var(--body); padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.empty { text-align: center; padding: 70px 20px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.empty .si { width: 64px; height: 64px; color: var(--brand); margin: 0 auto 14px; }
.empty p { color: var(--muted); }

.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: start; padding-bottom: 40px; }
.product-media { position: sticky; top: 100px; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(150deg, color-mix(in srgb, var(--g1) 35%, #fff), color-mix(in srgb, var(--g2) 35%, #fff)); aspect-ratio: 1; box-shadow: var(--shadow-lg); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .pcard-ph .si { width: 140px; height: 140px; }
.product h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.product .price { font-size: 32px; display: block; margin: 8px 0 18px; }
.product-desc { color: var(--muted); white-space: pre-line; margin-bottom: 24px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 42px; height: 46px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty button:hover { color: var(--brand); }
.qty input { width: 48px; text-align: center; border: 0; font: 700 16px var(--body); color: var(--ink); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.stock-note { font-size: 14px; font-weight: 600; color: var(--ok); }
.stock-note.out { color: var(--bad); }
.perks { display: grid; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.perks div { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; }
.perks .si { color: var(--brand); }

/* Canasta y pago */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; padding-bottom: 50px; }
.box { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: 24px; }
.box h2, .box h3 { font-size: 22px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: linear-gradient(150deg, color-mix(in srgb, var(--g1) 35%, #fff), color-mix(in srgb, var(--g2) 35%, #fff)); position: relative; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .pcard-ph .si { width: 34px; height: 34px; }
.cart-line h4 { font-family: var(--display); font-size: 17px; margin: 0 0 6px; }
.cart-line .unit { color: var(--muted); font-size: 14px; }
.cart-line .right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font: 600 13px var(--body); display: inline-flex; align-items: center; gap: 4px; padding: 0; }
.link-btn:hover { color: var(--bad); }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--muted); }
.sum-row.total { color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }
.sticky { position: sticky; top: 100px; }
.option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; margin-bottom: 10px; transition: border-color .2s, background .2s; }
.option:hover { border-color: var(--brand); }
.option input { margin-top: 4px; accent-color: var(--brand); }
.option:has(input:checked) { border-color: var(--brand); background: var(--soft); }
.option small { display: block; color: var(--muted); }

/* Formularios y cuenta */
.s-form label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.s-form .field { margin-bottom: 16px; }
.s-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-form .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.auth-wrap { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 50px 0; }
.auth-card { width: min(460px, 100%); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(26px, 5vw, 42px); position: relative; overflow: hidden; }
.auth-card::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: #F7C6D9; filter: blur(60px); opacity: .6; top: -120px; right: -100px; }
.auth-card > * { position: relative; }
.auth-card h1 { font-size: 32px; font-weight: 800; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; }
.auth-alt { text-align: center; margin-top: 20px; color: var(--muted); font-size: 15px; }
.alert { padding: 13px 16px; border-radius: var(--r-sm); font-size: 14.5px; margin-bottom: 18px; }
.alert-bad { background: #FBE7E7; color: #9B2C2C; }
.alert-ok { background: #E3F4EC; color: #1F6B51; }
.account { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; padding-bottom: 60px; }
.acc-nav { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: 12px; display: grid; gap: 4px; position: sticky; top: 100px; }
.acc-nav a, .acc-nav button { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--muted); background: none; border: 0; font: 600 15px var(--body); cursor: pointer; width: 100%; text-align: left; }
.acc-nav a:hover, .acc-nav button:hover { background: var(--soft); color: var(--ink); }
.acc-nav a.on { background: var(--grad); color: var(--on-grad); }
.acc-hello { padding: 8px 14px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acc-hello strong { display: block; font-family: var(--display); font-size: 18px; }
.acc-hello small { color: var(--muted); word-break: break-all; }
.orders { display: grid; gap: 14px; }
.order { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; transition: border-color .2s, transform .2s; }
.order:hover { border-color: var(--brand); transform: translateY(-2px); }
.order strong { font-family: var(--display); font-size: 18px; }
.order small { color: var(--muted); display: block; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--soft); color: var(--brand); }
.pill.ok { background: #E3F4EC; color: #1F6B51; }
.pill.bad { background: #FBE7E7; color: #9B2C2C; }
.addresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 26px; }
.address { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 18px; position: relative; }
.address.def { border-color: var(--brand); background: var(--soft); }
.address strong { font-family: var(--display); font-size: 17px; }
.address p { color: var(--muted); font-size: 14.5px; margin: 6px 0 12px; }
.address .acts { display: flex; gap: 14px; flex-wrap: wrap; }
.address form { display: inline; }

/* Canasta lateral */
.drawer-bg { position: fixed; inset: 0; background: rgba(59, 34, 48, .45); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(410px, 100%); background: var(--cream); z-index: 91; transform: translateX(105%); transition: transform .4s var(--ease); display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(59,34,48,.4); }
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 10px; }
.drawer .cart-line { grid-template-columns: 64px 1fr auto; }
.drawer .cart-thumb { width: 64px; height: 64px; }
.toast-s { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); opacity: 0; z-index: 100; background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: .35s var(--ease); box-shadow: var(--shadow-lg); }
.toast-s.show { transform: translate(-50%, 0); opacity: 1; }

/* Aparecer al hacer scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Celular y tableta ---------- */
@media (max-width: 960px) {
    .hero-in, .about, .product, .cart-layout, .account { grid-template-columns: 1fr; }
    .scene { height: 380px; }
    .gift { --s: 150px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .product-media, .sticky, .acc-nav { position: static; }
    .slide-deco { opacity: .45; right: -60px; }
}
@media (max-width: 760px) {
    .s-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 16px 18px; margin: 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .s-links.open { display: flex; }
    .s-burger { display: grid; }
    .s-nav-in { height: 64px; gap: 8px; }
    .s-logo img { height: 34px; }
    .s-icon-btn { width: 40px; height: 40px; }
    .hero { padding: 36px 0 50px; }
    .sec { padding: 60px 0; }
    .foot-grid { grid-template-columns: 1fr; }
    .s-form .row2 { grid-template-columns: 1fr; }
    .grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pcard-body { padding: 12px; }
    .pcard-name { font-size: 15.5px; }
    .price { font-size: 17px; }
    .add-btn { width: 38px; height: 38px; }
    .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cart-line { grid-template-columns: 64px 1fr; }
    .cart-line .right { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
    .filters::-webkit-scrollbar { display: none; }
    .filter { white-space: nowrap; }
    .hero-txt { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .gift, .balloon, .floaty, .wa-float, .slide-deco span, .about-art .si, .cta-band .bubble, .gift-shadow { animation: none !important; }
    .reveal { opacity: 1; transform: none; }
}


/* ============================================================
   Opciones de diseño configurables desde el panel
   ============================================================ */
body.site { color: var(--ink); background: var(--cream); }
body[data-cards="borde"] .pcard, body[data-cards="borde"] .feature, body[data-cards="borde"] .step, body[data-cards="borde"] .quote, body[data-cards="borde"] .box { box-shadow: none; border: 1.5px solid var(--line); }
body[data-cards="plana"] .pcard, body[data-cards="plana"] .feature, body[data-cards="plana"] .step, body[data-cards="plana"] .quote { box-shadow: none; background: var(--soft); }
body[data-hero-bg="liso"] .hero::before, body[data-hero-bg="liso"] .hero::after { display: none; }
body[data-hero-bg="degradado"] .hero { background: linear-gradient(160deg, var(--soft), var(--cream) 60%); }
body[data-hero-bg="degradado"] .hero::before, body[data-hero-bg="degradado"] .hero::after { opacity: .25; }
body[data-anim="off"] *, body[data-anim="off"] *::before, body[data-anim="off"] *::after { animation: none !important; transition: none !important; }
body[data-anim="off"] .reveal { opacity: 1; transform: none; }
.hero.simple .hero-in { grid-template-columns: 1fr; text-align: center; max-width: 820px; }
.hero.simple .hero-lead { margin-inline: auto; }
.hero.simple .hero-ctas, .hero.simple .chips { justify-content: center; }
.s-footer .foot-logo.plain { background: none; padding: 0; }

/* Seguimiento del pedido */
.track-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: f; }
.track-flow li { position: relative; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 44px; }
.track-flow li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--line); color: var(--muted); display: grid; place-items: center; font-weight: 800; }
.track-flow li::after { content: ""; position: absolute; top: 16px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 3px; background: var(--line); border-radius: 3px; }
.track-flow li:last-child::after { display: none; }
.track-flow li.done { color: var(--ink); }
.track-flow li.done span { background: var(--grad); color: var(--on-grad); }
.track-flow li.done::after { background: var(--brand); }
.track-flow li.now span { box-shadow: 0 0 0 6px rgba(194, 69, 122, .18); }
.pay-data { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 14px 0 18px; }
.pay-data div { background: var(--soft); border-radius: var(--r-sm); padding: 12px 14px; }
.pay-data small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.pay-data strong { font-family: var(--display); font-size: 18px; word-break: break-all; }
.pay-data [data-copy] { cursor: copy; }
.proof-form { border: 1.5px dashed var(--line); border-radius: var(--r-md); padding: 16px; }

/* Aviso de cookies (solo con píxeles de terceros activos) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; max-width: 560px; margin-inline: auto; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 18px 20px; display: none; gap: 14px; align-items: center; flex-wrap: wrap; }
.consent.show { display: flex; animation: drop .3s var(--ease); }
.consent p { margin: 0; flex: 1 1 260px; font-size: 14px; color: var(--muted); }
.consent .acts { display: flex; gap: 8px; }

/* Ventana de promoción */
.promo-bg { position: fixed; inset: 0; z-index: 96; background: rgba(59, 34, 48, .5); display: none; place-items: center; padding: 16px; }
.promo-bg.show { display: grid; animation: drop .3s var(--ease); }
.promo { position: relative; width: min(440px, 100%); background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); text-align: center; }
.promo img { width: 100%; max-height: 240px; object-fit: cover; }
.promo .in { padding: 26px 24px 28px; }
.promo h3 { font-size: 28px; }
.promo p { color: var(--muted); }
.promo .x { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.9); }

/* Club de novedades */
.newsletter { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.newsletter input[type=email] { flex: 1 1 180px; min-width: 0; border-radius: var(--btn-r, 999px); border: 0; padding: 12px 16px; font: 14px var(--body); }
.newsletter .s-btn { padding: 12px 18px; }
.nl-consent { font-size: 12px; color: #C9A9B8; margin-top: 8px; display: flex; gap: 6px; align-items: flex-start; }
.nl-consent input { margin-top: 3px; }

/* Compartir */
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-size: 14px; font-weight: 600; }
.share a, .share button { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--brand); cursor: pointer; }
.share a:hover, .share button:hover { background: var(--soft); }

/* Ciudades (enlaces locales) */
.city-links { display: flex; flex-wrap: wrap; gap: 8px; }
.city-links a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.city-links a:hover { border-color: var(--brand); color: var(--brand); }
.legal { max-width: 820px; white-space: pre-line; color: var(--muted); font-size: 16px; }
@media (max-width: 760px) {
    .track-flow { grid-template-columns: 1fr; gap: 10px; }
    .track-flow li { text-align: left; padding: 6px 0 6px 46px; min-height: 34px; display: flex; align-items: center; }
    .track-flow li span { left: 0; top: 50%; transform: translateY(-50%); }
    .track-flow li::after { display: none; }
}

/* ---------- Tienda: filtros, búsqueda en vivo, insignias (ronda 6) ---------- */
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding-bottom: 60px; align-items: start; }
.shop-side { position: sticky; top: 96px; background: #fff; border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow); }
.side-head { display: none; }
.side-block { margin-bottom: 18px; } .side-block h4 { margin: 0 0 8px; font-size: 16px; }
.side-link { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.side-link.on, .side-link:hover { background: var(--soft); color: var(--ink); }
.price-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.price-range input { width: 100%; padding: 9px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: 14px var(--body); }
.side-check { display: flex; gap: 8px; align-items: center; font-size: 14.5px; margin-bottom: 8px; }
.shop-search { position: relative; display: flex; gap: 10px; align-items: center; max-width: 720px; margin-top: 14px; }
.shop-search input { flex: 1; padding: 14px 14px 14px 44px; border: 1.5px solid var(--line); border-radius: 999px; font: 15px var(--body); background: #fff; }
.shop-search .ss-ic { position: absolute; left: 16px; color: var(--muted); display: flex; }
.toolbar .results { margin: 0; color: var(--muted); }
.filters-btn { display: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.chip-x { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--soft); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pager a, .pager span { padding: 8px 14px; border-radius: 999px; text-decoration: none; background: #fff; box-shadow: var(--shadow); font-weight: 600; }
.pager a.on { background: var(--grad); color: var(--on-grad); }
.pcard-media .tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pcard-media .tags .tag { position: static; }
.tag.new { background: var(--grad); color: var(--on-grad); } .tag.low { background: #FFE3A3; color: #6B4A00; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; border: 0; padding: 0; margin: 0 0 12px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { cursor: pointer; color: #E5D3DC; }
.star-input label .si { fill: currentColor; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #E9B949; }
.car { position: relative; } .car-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; }
.car-item { scroll-snap-align: start; } .car-btn { display: none; }
.quote-photo { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 12px; }
.quote figcaption { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.quote .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: var(--on-grad); display: grid; place-items: center; font-weight: 800; }
.quote figcaption small { display: block; color: var(--muted); }
.verified { font-size: 12px; font-weight: 700; color: var(--ok); display: inline-flex; gap: 4px; align-items: center; }
.quote-reply { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--soft); font-size: 14px; }
.rating-sum { display: flex; gap: 10px; align-items: center; } .rating-sum strong { font: 800 32px var(--display); }
.hero.has-bg { color: #fff; } .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero.has-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,20,35,.7), rgba(40,20,35,.15)); filter: none; opacity: 1; width: auto; height: auto; border-radius: 0; z-index: 0; }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); z-index: 80; border-radius: 0; overflow-y: auto; transform: translateX(-105%); transition: transform .3s var(--ease); top: 0; }
  .shop-side.open { transform: none; } .side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
  .filters-btn { display: inline-flex; } .form-2 { grid-template-columns: 1fr; }
}
@media (min-width: 1800px) { :root { --wrap: 1560px; } body.site { font-size: 18px; } .grid-products { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } }
.site a:focus-visible, .site button:focus-visible, .site input:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* Sugerencias del buscador */
.head-search, .shop-search { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 10px; max-height: min(70vh, 520px); overflow-y: auto; text-align: left; }
.sg-group { padding: 6px 4px; } .sg-group > small { display: block; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-size: 11.5px; margin: 0 6px 6px; }
.sg-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 7px 8px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.sg-item:hover, .sg-item.on, .sg-chips a.on { background: var(--soft); }
.sg-item img, .sg-ph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; display: grid; place-items: center; background: var(--soft); }
.sg-txt strong { display: block; font-size: 14.5px; line-height: 1.2; } .sg-txt small { color: var(--muted); font-size: 12.5px; }
.sg-price { font-weight: 800; font-family: var(--display); white-space: nowrap; } .sg-price s { color: var(--muted); font-weight: 500; font-size: 12px; margin-right: 4px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px; }
.sg-all { display: block; text-align: center; padding: 10px; font-weight: 700; color: var(--brand); text-decoration: none; border-top: 1px solid var(--line); margin-top: 6px; }
.sg-empty { margin: 8px; color: var(--muted); }
.hold-note { display: flex; gap: 6px; align-items: center; margin-top: 12px; }
.stock-note .si { vertical-align: -2px; }
/* Carrusel */
.car.can-scroll .car-btn { display: grid; }
.car-btn { position: absolute; top: 42%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; place-items: center; }
.car-btn.prev { left: -14px; } .car-btn.prev .si { transform: scaleX(-1); } .car-btn.next { right: -14px; }
.car-track { scrollbar-width: none; } .car-track::-webkit-scrollbar { display: none; }
.car-track.products { grid-auto-columns: minmax(230px, 260px); }
.car-track .pcard { opacity: 1; transform: none; }
/* Producto */
.buy-sticky { display: none; }
@media (max-width: 760px) {
  .buy-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.35); }
  .buy-sticky .price { font-size: 19px; }
  .car-btn { display: none !important; }
}
.product-rating { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: var(--muted); font-size: 14px; margin: -4px 0 10px; }
.product-rating .stars { margin: 0; }
/* Tabletas y pantallas grandes / TV */
@media (min-width: 761px) and (max-width: 1100px) { .grid-products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 2400px) { :root { --wrap: 2000px; } body.site { font-size: 22px; } .s-nav-in { height: 96px; } }
body.is-tv .s-btn, body.is-tv .s-links a { font-size: 1.15em; }
body.is-tv a:focus, body.is-tv button:focus { outline: 4px solid var(--brand); outline-offset: 4px; transform: scale(1.03); }

.order-wrap { display: grid; gap: 8px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }



/* ---------- App en el celular (ronda 7) ---------- */
.tabbar { display: none; }
.install { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 460px; margin-inline: auto; display: grid; grid-template-columns: 56px 1fr; gap: 12px 14px; align-items: center;
    background: #fff; border-radius: var(--r-lg); padding: 16px; box-shadow: 0 30px 60px -20px rgba(59,31,51,.45); border: 1px solid var(--line); transform: translateY(140%); transition: transform .45s var(--ease); }
.install.show { transform: none; }
.install img { width: 56px; height: 56px; border-radius: 16px; }
.install strong { font-family: var(--display); font-size: 17px; display: block; line-height: 1.2; }
.install p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.install-actions { grid-column: 1 / -1; display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.link-btn { background: none; border: 0; color: var(--muted); font: 600 14px var(--body); cursor: pointer; text-decoration: underline; }
@media (max-width: 760px) {
    .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
        background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
        border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
    .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border: 0; background: none;
        color: var(--muted); text-decoration: none; font: 700 11px var(--body); cursor: pointer; border-radius: 14px; }
    .tabbar a.on { color: var(--brand); }
    .tabbar a.on::before { content: ""; position: absolute; top: -7px; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
    .tabbar .s-badge { top: 0; right: calc(50% - 22px); }
    body.site { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .wa-float { bottom: calc(78px + env(safe-area-inset-bottom)); }
    body:has(.buy-sticky) .wa-float { bottom: calc(150px + env(safe-area-inset-bottom)); }
    .buy-sticky { bottom: calc(62px + env(safe-area-inset-bottom)); }
    .install { bottom: calc(76px + env(safe-area-inset-bottom)); }
    .help-fab { bottom: calc(146px + env(safe-area-inset-bottom)) !important; }
    /* Tienda más cómoda en el celular */
    .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pcard-body { padding: 12px; }
    .pcard-name { font-size: 15px; }
    .price { font-size: 17px; }
    .add-btn { width: 38px; height: 38px; }
    .shop-search { flex-wrap: nowrap; }
    .shop-search .s-btn { display: none; }
    .toolbar { flex-wrap: wrap; gap: 10px; }
    .sort-form label { display: none; }
    .page-head h1 { font-size: 30px; }
    .s-actions .s-icon-btn[href="/cuenta/favoritos"] { display: none; }
}
/* En la app instalada: sin el aviso y con margen para la muesca del celular */
body.is-app .s-nav { padding-top: env(safe-area-inset-top); }
@media (display-mode: standalone) { .s-announce { display: none; } }

/* ---------- Burbuja de ayuda ---------- */
.help-fab { position: fixed; right: 22px; bottom: 96px; z-index: 66; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--grad); color: var(--on-grad); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--brand) 70%, transparent); display: grid; place-items: center; transition: transform .2s; }
.help-fab:hover { transform: scale(1.06); }
.help-dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #FF5C8A; box-shadow: 0 0 0 3px #fff; animation: pulse 2s infinite; }
.help-fab.seen .help-dot { display: none; }
.help { position: fixed; right: 22px; bottom: 166px; z-index: 95; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 190px));
    background: #fff; border-radius: 24px; box-shadow: 0 40px 80px -24px rgba(59,31,51,.5); display: flex; flex-direction: column; overflow: hidden; animation: drop .25s var(--ease); }
.help-head { display: flex; gap: 10px; align-items: center; padding: 14px 12px 14px 16px; background: var(--grad); color: var(--on-grad); }
.help-head img { border-radius: 12px; background: #fff; }
.help-head div { flex: 1; } .help-head strong { display: block; font-family: var(--display); font-size: 17px; line-height: 1.1; }
.help-head small { font-size: 12.5px; opacity: .85; } .on-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2ECC71; margin-right: 4px; }
.help-head .s-icon-btn { color: inherit; }
.help-log { flex: 1; overflow-y: auto; padding: 16px 14px 6px; display: flex; flex-direction: column; gap: 8px; background: var(--cream); }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; }
.msg.bot { background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 2px 8px rgba(59,31,51,.07); align-self: flex-start; }
.msg.me { background: var(--grad); color: var(--on-grad); border-bottom-right-radius: 6px; align-self: flex-end; }
.msg-link { display: block; margin-top: 8px; font-weight: 700; color: var(--brand); text-decoration: none; }
.msg-wa { margin-top: 10px; }
.msg.typing { display: flex; gap: 4px; padding: 14px; } .msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .5; animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }
.help-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; background: var(--cream); scrollbar-width: none; }
.help-chips .filter { white-space: nowrap; flex: none; font-size: 13px; cursor: pointer; }
.help-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.help-form input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 14px; font: 14.5px var(--body); }
@media (max-width: 760px) {
    .help { right: 8px; left: 8px; width: auto; bottom: calc(70px + env(safe-area-inset-bottom)); height: min(70vh, 560px); }
    body.help-open .tabbar, body.help-open .wa-float, body.help-open .help-fab { display: none; }
    .help-fab { right: 16px; width: 52px; height: 52px; }
}

/* ---------- Galería (mosaico y visor) ---------- */
.sec-head:has(.s-link) { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.masonry { columns: 4 240px; column-gap: 14px; }
.mz { display: block; position: relative; margin: 0 0 14px; border-radius: var(--r-md); overflow: hidden; break-inside: avoid; box-shadow: var(--shadow); cursor: zoom-in; }
.mz img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.mz:hover img { transform: scale(1.05); }
.mz span { position: absolute; inset: auto 0 0; padding: 26px 12px 10px; color: #fff; font-weight: 600; font-size: 14px; background: linear-gradient(transparent, rgba(40,20,35,.75)); }
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(20,10,18,.92); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; animation: drop .2s var(--ease); }
.lb figure { margin: 0; max-width: 92vw; text-align: center; }
.lb img { max-width: 92vw; max-height: 80vh; border-radius: 12px; object-fit: contain; }
.lb figcaption { color: #fff; margin-top: 10px; font-weight: 600; }
.lb button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 34px; line-height: 1; cursor: pointer; }
.lb-x { top: 16px; right: 16px; } .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); } .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-n { position: absolute; bottom: 16px; color: #fff; opacity: .7; font-size: 14px; }
@media (max-width: 760px) { .masonry { columns: 2; column-gap: 10px; } .mz { margin-bottom: 10px; } .lb-prev, .lb-next { display: none; } }

/* ---------- Novedades ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card { background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-media { position: relative; aspect-ratio: 5 / 3; background: linear-gradient(150deg, color-mix(in srgb, var(--g1) 45%, #fff), color-mix(in srgb, var(--g3) 45%, #fff)); display: grid; place-items: center; overflow: hidden; color: var(--brand); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-media .tag { position: absolute; top: 12px; left: 12px; }
.tag.kind-promocion { background: #FFE3A3; color: #6B4A00; } .tag.kind-evento { background: #D9C2FF; color: #3B1F53; } .tag.kind-consejo { background: #BFF0DA; color: #134A35; }
.post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-body time { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.post-body h3 { font-size: 20px; margin: 0; } .post-body h3 a { text-decoration: none; }
.post-body p { color: var(--muted); margin: 0 0 6px; font-size: 15px; flex: 1; }
.article { max-width: 780px; padding: 40px 0 60px; }
.article h1 { font-size: clamp(32px, 5vw, 52px); margin: 12px 0 8px; }
.article .meta { color: var(--muted); }
.article-cover { width: 100%; border-radius: var(--r-lg); margin: 18px 0 24px; box-shadow: var(--shadow-lg); }
.article-lead { font-size: 20px; color: var(--ink); font-weight: 600; }
.article-body { font-size: 17.5px; line-height: 1.75; } .article-body h2, .article-body h3 { margin-top: 1.4em; }
.article .tag { position: static; display: inline-block; }

/* ---------- Ventanas emergentes ---------- */
.popup-bg { position: fixed; inset: 0; z-index: 97; background: rgba(40, 20, 35, .55); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.popup-bg.show { opacity: 1; }
.popup { position: relative; width: min(460px, 100%); background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); text-align: center; transform: translateY(16px) scale(.97); transition: transform .3s var(--ease); }
.popup-bg.show .popup { transform: none; }
.popup img { width: 100%; max-height: 280px; object-fit: cover; display: block; }
.popup .in { padding: 26px 24px 28px; }
.popup h3 { font-size: 28px; margin-bottom: .3em; } .popup p { color: var(--muted); }
.popup .x { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.92); z-index: 2; }
.lay-lado .popup { width: min(760px, 100%); display: grid; grid-template-columns: 1fr 1fr; text-align: left; }
.lay-lado .popup img { height: 100%; max-height: none; min-height: 300px; }
.lay-lado .popup .in { align-self: center; }
.lay-imagen .popup { background: none; box-shadow: none; width: min(520px, 100%); }
.lay-imagen .popup img { max-height: 80vh; object-fit: contain; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: #fff; }
.lay-barra { background: none; pointer-events: none; place-items: end center; }
.lay-barra .popup { pointer-events: auto; width: min(720px, 100%); display: flex; align-items: center; gap: 14px; text-align: left; padding-right: 48px; background: var(--grad); color: var(--on-grad); }
.lay-barra .popup img { width: 70px; height: 70px; flex: none; }
.lay-barra .popup .in { padding: 14px 6px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.lay-barra .popup h3 { font-size: 18px; margin: 0; } .lay-barra .popup p { margin: 0; color: inherit; opacity: .85; font-size: 14px; }
@media (max-width: 760px) {
    .lay-lado .popup { grid-template-columns: 1fr; text-align: center; } .lay-lado .popup img { min-height: 0; max-height: 220px; }
    .lay-barra { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ---------- Anti-estafas ---------- */
.scam-bar { position: relative; background: #FFF4D6; color: #5C3D00; border-bottom: 1px solid #F2D58A; font-size: 13.5px; text-align: center; padding: 8px 44px; }
.scam-bar a { color: inherit; text-decoration: none; }
.scam-bar a:hover { text-decoration: underline; }
.scam-bar button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: inherit; width: 32px; height: 32px; }
.scam-alert { display: flex; gap: 14px; align-items: flex-start; background: #FFF4D6; border: 1.5px solid #F2D58A; color: #5C3D00; border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 22px; font-size: 16px; line-height: 1.55; }
.scam-ic { font-size: 30px; line-height: 1; }
.official-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.official .box h3 { display: flex; gap: 8px; align-items: center; }
.off-row { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px dashed var(--line); }
.off-num { font-family: var(--display); font-size: 22px; letter-spacing: .02em; flex-basis: 100%; }
.off-row small { color: var(--muted); flex: 1; }
.off-social { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.tips li { margin-bottom: 6px; }
.scam-note { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--r-sm); background: #FFF4D6; color: #5C3D00; font-size: 13.5px; line-height: 1.45; }
.scam-note a { color: inherit; font-weight: 700; }
.foot-official { margin: 26px 0 0; padding: 14px 18px; border-radius: var(--r-md); background: rgba(255, 244, 214, .12); border: 1px solid rgba(255, 244, 214, .35); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 14px; }
.foot-official strong { color: #FFD36E; }
.foot-official a { color: #FFD36E; font-weight: 700; }
@media (max-width: 760px) { .scam-bar { font-size: 12.5px; padding: 7px 40px 7px 12px; text-align: left; } }

/* ---------- Opiniones: tarjetas de tamaño fijo y foto que se abre en grande ---------- */
.car-track.reviews-track { grid-auto-columns: minmax(270px, 340px); justify-content: start; }
.reviews-track .quote { display: flex; flex-direction: column; padding: 18px; }
.reviews-track .quote blockquote { margin: 0; flex: 1; }
.reviews-track .quote blockquote p { margin: 0 0 14px; }
a.quote-photo { height: auto; position: relative; display: block; margin: 0 0 14px; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); cursor: zoom-in; }
a.quote-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
a.quote-photo:hover img { transform: scale(1.05); }
a.quote-photo .zoom { position: absolute; right: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 12px; font-weight: 700; color: var(--ink); }
.reviews-head { text-align: left; }
@media (min-width: 761px) { .reviews-track:not(:has(.car-item:nth-child(3))) { justify-content: center; } }

/* ---------- Domicilio por barrio (pago) ---------- */
.barrio-field { position: relative; }
.barrio-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-lg); max-height: 280px; overflow-y: auto; padding: 4px; }
.barrio-list button { display: flex; width: 100%; justify-content: space-between; gap: 10px; padding: 9px 10px; border: 0; background: none; border-radius: 8px; font: 14.5px var(--body); color: var(--ink); text-align: left; cursor: pointer; }
.barrio-list button:hover, .barrio-list button.on { background: var(--soft); }
.barrio-list small { color: var(--brand); font-weight: 700; white-space: nowrap; }
.barrio-list p { margin: 8px 10px; color: var(--muted); font-size: 14px; }
.fee-note { margin: -4px 0 12px; font-size: 14px; color: var(--muted); }
.fee-note.ok { color: var(--ok); font-weight: 700; } .fee-note.bad { color: var(--bad); font-weight: 700; }

/* ---------- TikTok en la portada ---------- */
.tk-sec { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--g2) 18%, transparent) 30%, color-mix(in srgb, var(--g1) 16%, transparent) 75%, transparent); }
.tk-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; text-align: left; }
.tk-eyebrow { margin-bottom: 10px; }
.tk-follow { background: #111; color: #fff; box-shadow: 4px 4px 0 #25F4EE, -3px -3px 0 #FE2C55; }
.tk-follow:hover { transform: translateY(-2px); color: #fff; }
.car-track.tk-track { grid-auto-columns: clamp(180px, 18vw, 240px); justify-content: start; gap: 18px; }
.tk-card { display: flex; flex-direction: column; gap: 8px; }
.tk-play { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 22px; overflow: hidden; cursor: pointer; background: #111; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); }
.tk-play:hover { transform: translateY(-6px) rotate(-1deg); }
.tk-play img { width: 100%; height: 100%; object-fit: cover; }
.tk-noimg { display: grid; place-items: center; height: 100%; color: #fff; background: linear-gradient(160deg, #25F4EE33, #FE2C5544), #111; }
.tk-icon { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: #111; font-size: 22px; padding-left: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.tk-play:hover .tk-icon { transform: scale(1.1); }
.tk-views { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font: 700 12px var(--body); }
.tk-cap { position: absolute; inset: auto 0 0; padding: 40px 12px 12px; color: #fff; font: 600 13.5px/1.35 var(--body); text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.tk-buy { display: inline-flex; gap: 6px; align-items: center; justify-content: center; padding: 9px 12px; border-radius: 999px; background: var(--grad); color: var(--on-grad); font-weight: 700; font-size: 13.5px; text-decoration: none; }
.tk-modal { position: fixed; inset: 0; z-index: 125; background: rgba(10,6,12,.9); display: none; align-items: center; justify-content: center; padding: 16px; }
.tk-modal.open { display: flex; animation: drop .2s var(--ease); }
.tk-modal iframe { width: min(400px, 92vw); aspect-ratio: 9 / 16; max-height: 86vh; border: 0; border-radius: 18px; background: #000; }
.tk-modal .tk-x { position: absolute; top: 16px; right: 16px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 30px; cursor: pointer; }
.tk-modal .tk-open { position: absolute; bottom: 18px; color: #fff; font-weight: 700; }
@media (max-width: 760px) { .car-track.tk-track { grid-auto-columns: min(44vw, 210px); gap: 12px; } .tk-play { border-radius: 16px; } .tk-icon { width: 48px; height: 48px; font-size: 18px; } .tk-cap { font-size: 12.5px; } }
