/* =====================================================================
   Tienda pública — verde agave sobre crema, títulos serif.
   Cada tienda puede cambiar el color principal en Ajustes (--st-green).
   ===================================================================== */
:root {
    --st-green: #1f3d33;
    --st-green-2: #2c5546;
    --st-cream: #f6f1e8;
    --st-sand: #ece3d3;
    --st-clay: #b5522e;
    --st-gold: #c99a4a;
    --st-ink: #1c211f;
    --st-muted: #6b716d;
    --st-card: #ffffff;
    --st-line: rgba(31, 61, 51, .12);
    --st-radius: 16px;
    --st-btn-radius: 10px;
    --st-search-radius: 999px;
    --st-on-primary: #fff;
    --st-font-head: 'DM Serif Display', Georgia, serif;
    --st-head-weight: 400;
    --st-font-body: 'Outfit', system-ui, sans-serif;
    --st-accent: var(--st-green);          /* textos y links verdes */
    --st-img: #f1ece2; --st-img-hi: #fbf8f2; --st-img-lo: #e9e0cf;
    --st-tint: #e5eee8; --st-tint-2: #d3e3d9; --st-clay-tint: #f3e2d6;
    --st-zebra: #f5f5f5; --st-zebra-2: #ebebeb; --st-gray: #ccc; --st-faint: #aaa;
}

/* Títulos sin serif (Ajustes > Apariencia) */
.st-sans .st-serif, .st-sans h1, .st-sans .st-hero-title, .st-sans .st-section-head h2, .st-sans .st-tile h3,
.st-sans .st-band h3, .st-sans .st-footer-brand, .st-sans .st-age h2, .st-sans .st-brand-text {
    font-family: 'Outfit', system-ui, sans-serif !important; font-weight: 700; letter-spacing: -.5px;
}

/* ---------- Modo oscuro (Ajustes > Apariencia: oscuro o automático) ---------- */
[data-theme="dark"] {
    --st-cream: #121a17;
    --st-sand: #222c27;
    --st-card: #1a2420;
    --st-ink: #e8eee9;
    --st-muted: #9eaaa3;
    --st-line: rgba(255, 255, 255, .10);
    --st-accent: #8fd3b0;
    --st-clay: #e58a62;
    --st-gold: #d9b06a;
    --st-ok: #3ccf7f;
    --st-blue: #6ea8ff;
    --st-img: #222c27; --st-img-hi: #2a3530; --st-img-lo: #1b2420;
    --st-tint: #233b31; --st-tint-2: #2b4a3d; --st-clay-tint: #3d2a21;
    --st-zebra: #1f2a25; --st-zebra-2: #24302a; --st-gray: #4a5550; --st-faint: #6f7a74;
    color-scheme: dark;
}
[data-theme="dark"] .st-btn-dark { box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
[data-theme="dark"] .st-tile.t0 { background: #1f3129; }
[data-theme="dark"] .st-tile.t1 { background: #33291f; }
[data-theme="dark"] .st-tile.t2 { background: #1f2a33; }
[data-theme="dark"] .st-hero.theme-green { background: linear-gradient(105deg, #1f3129 0%, #1f3129 45%, rgba(31,49,41,0) 70%), var(--hero-img, linear-gradient(135deg, #1f3129, #2b4a3d)); }
[data-theme="dark"] .st-hero.theme-clay  { background: linear-gradient(105deg, #33291f 0%, #33291f 45%, rgba(51,41,31,0) 70%), var(--hero-img, linear-gradient(135deg, #33291f, #4a3426)); }
[data-theme="dark"] .st-hero.theme-sky   { background: linear-gradient(105deg, #1f2a33 0%, #1f2a33 45%, rgba(31,42,51,0) 70%), var(--hero-img, linear-gradient(135deg, #1f2a33, #2a3d4d)); }
[data-theme="dark"] .st-hero:not([class*="theme-"]), [data-theme="dark"] .st-hero.theme-sand { background: linear-gradient(105deg, var(--st-sand) 0%, var(--st-sand) 45%, rgba(34,44,39,0) 70%), var(--hero-img, linear-gradient(135deg, #222c27, #33402f)); }
[data-theme="dark"] .st-hero[class*="theme-"], [data-theme="dark"] .st-hero { background-size: cover; background-position: center right; }
[data-theme="dark"] .st-specs.zebra th { color: var(--st-muted); }
[data-theme="dark"] .st-age { background: rgba(0,0,0,.75); }
[data-theme="dark"] .st-footer { background: #0d1411; }
[data-theme="dark"] .st-announce { background: #0d1411; }
[data-theme="dark"] .st-band { background: #1f3129; }
[data-theme="dark"] .st-ph i { color: var(--st-accent); }
[data-theme="dark"] .alert-secondary { background: var(--st-sand); color: var(--st-ink); border-color: var(--st-line); }

body.st-body {
    font-family: var(--st-font-body);
    background: var(--st-cream);
    color: var(--st-ink);
}
.st-serif, .st-body h1, .st-hero h1, .st-section-head h2, .st-tile h3, .st-band h3, .st-footer-brand, .st-age h2 {
    font-family: var(--st-font-head); font-weight: var(--st-head-weight); letter-spacing: -.2px;
}
.st-body :where(a:not(.btn)) { color: var(--st-accent); }  /* baja especificidad: footer, nav y botones mandan */
.st-body .text-muted { color: var(--st-muted) !important; }
.st-eyebrow { font-size: .75rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--st-clay); font-weight: 600; }

/* ---------- Botones ---------- */
.st-btn-dark { background: var(--st-green); color: #fff; border: 0; border-radius: 10px; font-weight: 600; }
.st-btn-dark:hover, .st-btn-dark:focus { background: var(--st-green-2); color: #fff; }
.st-btn-light { background: var(--st-sand); color: var(--st-accent); border: 0; border-radius: 10px; font-weight: 600; }
.st-btn-light:hover { background: var(--st-card); color: var(--st-accent); }
.st-body .btn-outline-dark { border-radius: 10px; }

/* ---------- Barra superior + header ---------- */
.st-announce { background: var(--st-green); color: #e8efe9; font-size: .8rem; padding: 7px 0; }
.st-announce i { color: var(--st-gold); }
.st-header { background: var(--st-cream); border-bottom: 1px solid var(--st-line); }
.st-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--st-accent) !important; flex-shrink: 0; }
.st-brand img { max-height: 46px; max-width: 150px; }
.st-brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--st-green); color: var(--st-gold); display: grid; place-items: center; font-size: 1.3rem; }
.st-brand-text { font-family: var(--st-font-head); font-size: 1.35rem; line-height: 1; }
.st-brand-text small { display: block; font-family: var(--st-font-body); font-size: .62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--st-muted); margin-top: 3px; }

.st-search { flex: 1; max-width: 520px; margin: 0 auto; background: var(--st-card); border: 1px solid var(--st-line); border-radius: 999px; padding: 4px 4px 4px 18px; }
.st-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: .92rem; min-width: 0; }
.st-search button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--st-green); color: #fff; flex-shrink: 0; }

.st-icons { display: flex; gap: 18px; }
.st-icons a { position: relative; display: flex; flex-direction: column; align-items: center; font-size: .7rem; color: var(--st-ink); text-decoration: none; }
.st-icons a i { font-size: 1.3rem; }
.st-icons a:hover { color: var(--st-clay); }
.st-cart-badge { position: absolute; top: -6px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--st-clay); color: #fff; font-size: .68rem; display: grid; place-items: center; }

.st-nav { display: flex; align-items: center; gap: 22px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding-bottom: 2px; }
.st-nav::-webkit-scrollbar { display: none; }
.st-nav > a { color: var(--st-ink); text-decoration: none; font-size: .9rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.st-nav > a.active, .st-nav > a:hover { border-color: var(--st-green); color: var(--st-accent); }
.st-nav .dropdown-menu { border-radius: 12px; border-color: var(--st-line); }

/* ---------- Secciones ---------- */
.st-section { margin-top: 1.6rem; }
.st-panel { background: var(--st-card); border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 1.4rem; }
.st-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.st-section-head h2 { font-size: 1.6rem; margin: 0; }
.st-section-head a { font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* ---------- Hero ---------- */
.st-hero {
    position: relative; overflow: hidden; border-radius: 22px; min-height: 360px;
    background: linear-gradient(105deg, var(--st-sand) 0%, var(--st-sand) 45%, rgba(236,227,211,0) 70%), var(--hero-img, linear-gradient(135deg, #e7dcc7, #d6c6a8));
    background-size: cover; background-position: center right;
    display: flex; align-items: center;
}
.st-hero-copy { position: relative; z-index: 2; padding: 2.6rem; max-width: 560px; }
.st-hero h1, .st-hero .st-hero-title { font-family: var(--st-font-head); font-weight: var(--st-head-weight); font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; color: var(--st-accent); margin: .5rem 0 1rem; }
.st-hero p { color: var(--st-muted); font-size: 1.05rem; margin-bottom: 1.4rem; }
.st-hero-trust { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.6rem; font-size: .8rem; color: var(--st-muted); }
.st-hero-trust i { color: var(--st-accent); }
.st-hero-art { position: absolute; right: 6%; bottom: 0; top: 0; width: 38%; z-index: 1; }
.st-bottle { position: absolute; bottom: 0; right: 30%; width: 88px; height: 250px; border-radius: 28px 28px 10px 10px; background: linear-gradient(90deg, #8a6a3a, #c99a4a 45%, #8a6a3a); box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.st-bottle::before { content: ''; position: absolute; top: -56px; left: 32px; width: 24px; height: 60px; border-radius: 6px 6px 0 0; background: #6d4f26; }
.st-bottle span { position: absolute; top: 90px; left: 10px; right: 10px; height: 80px; border-radius: 6px; background: var(--st-cream); border: 2px solid var(--st-green); }
.st-bottle.b2 { right: 6%; height: 200px; width: 76px; background: linear-gradient(90deg, #cfd8d3, #f2f5f3 45%, #cfd8d3); }
.st-bottle.b2::before { left: 26px; }
.st-bottle.b2 span { top: 70px; height: 64px; border-color: var(--st-clay); }
.st-agave-leaf { position: absolute; bottom: -10px; width: 34px; height: 210px; background: linear-gradient(var(--st-green-2), var(--st-green)); border-radius: 50% 50% 0 0 / 90% 90% 0 0; transform-origin: bottom center; opacity: .9; }
.st-agave-leaf.l1 { right: 62%; transform: rotate(-28deg); }
.st-agave-leaf.l2 { right: 66%; height: 250px; transform: rotate(-8deg); }
.st-agave-leaf.l3 { right: 58%; height: 180px; transform: rotate(-48deg); }

/* ---------- Círculos de agave ---------- */
.st-circles { display: flex; gap: 1.4rem; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.st-circle { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 84px; text-decoration: none; color: var(--st-ink) !important; font-size: .82rem; font-weight: 500; text-align: center; }
.st-circle span { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: var(--st-tint); color: var(--st-accent); border: 1px solid var(--st-line); transition: transform .15s; }
.st-circle span.wild { background: var(--st-clay-tint); color: var(--st-clay); }
.st-circle span.all { background: var(--st-card); }
.st-circle:hover span { transform: translateY(-3px); }

/* ---------- Tarjetas de producto ---------- */
.st-rail-wrap { position: relative; }
.st-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.st-rail::-webkit-scrollbar { display: none; }
.st-rail > * { scroll-snap-align: start; }
@media (min-width: 992px) { .st-rail { grid-auto-columns: calc((100% - 56px) / 5); } }
.st-rail-btn { position: absolute; right: -14px; top: 38%; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--st-line); background: var(--st-card); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.st-grid.four { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

.st-card { background: var(--st-card); border: 1px solid var(--st-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.st-card:hover { box-shadow: 0 14px 30px rgba(31,61,51,.12); transform: translateY(-2px); }
.st-card-img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--st-img); }
.st-card-img img { width: 100%; height: 100%; object-fit: cover; }
.st-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--st-accent); background: radial-gradient(circle at 50% 40%, var(--st-img-hi), var(--st-img-lo)); }
.st-ph i { font-size: 2.6rem; opacity: .75; }
.st-ph small { font-size: .78rem; color: var(--st-muted); padding: 0 10px; text-align: center; }
.st-ph.big i { font-size: 5rem; }
.st-badge-off { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--st-clay-tint); color: var(--st-clay); font-weight: 700; font-size: .72rem; padding: 3px 8px; border-radius: 6px; }
.st-badge-stock { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--st-gold); color: #fff; font-weight: 600; font-size: .7rem; padding: 3px 8px; border-radius: 6px; }
.st-badge-stock.out { background: #6b716d; }
.st-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.st-card-title { color: var(--st-ink) !important; text-decoration: none; font-weight: 600; font-size: .93rem; line-height: 1.25; }
.st-card-meta { font-size: .75rem; color: var(--st-muted); margin-top: 3px; min-height: 1.1em; }
.st-card-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 10px; }
.st-price b { color: var(--st-clay); font-size: 1.05rem; }
.st-price s { color: var(--st-muted); font-size: .8rem; margin-left: 6px; }
.st-price.big b { font-size: 1.9rem; }
.st-price.big s { font-size: 1rem; }
.st-save { display: inline-block; margin-left: 10px; font-size: .78rem; background: var(--st-tint); color: var(--st-accent); padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.st-add { width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--st-green); color: #fff; font-size: 1rem; }
.st-add:hover { background: var(--st-clay); }
.st-add.added { background: var(--st-gold); }

/* ---------- Colecciones (banners) ---------- */
.st-tile { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 170px; padding: 1.4rem; border-radius: var(--st-radius); text-decoration: none; overflow: hidden; color: var(--st-ink) !important; }
.st-tile.t0 { background: #dfe9e1; }
.st-tile.t1 { background: #f0e2d0; }
.st-tile.t2 { background: #dbe5ec; }
.st-tile small { font-size: .74rem; color: var(--st-muted); }
.st-tile h3 { font-size: 1.5rem; margin: .2rem 0 .7rem; color: var(--st-accent); }
.st-tile span { font-size: .85rem; font-weight: 600; }
.st-tile img { width: 120px; height: 140px; object-fit: cover; border-radius: 12px; }
.st-tile-ic { font-size: 4rem; color: var(--st-accent); opacity: .35; }

/* ---------- Historia / proceso ---------- */
.st-step { position: relative; background: var(--st-cream); border-radius: 14px; padding: 1rem; height: 100%; }
.st-step span { position: absolute; top: 10px; right: 14px; font-family: var(--st-font-head); font-size: 1.6rem; color: var(--st-sand); }
.st-step i { font-size: 1.4rem; color: var(--st-clay); display: block; margin-bottom: .3rem; }
.st-step b { display: block; }
.st-step small { color: var(--st-muted); }

/* ---------- Banda WhatsApp ---------- */
.st-band { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; background: var(--st-green); color: #e8efe9; border-radius: var(--st-radius); padding: 1.6rem 2rem; }
.st-band h3 { color: #fff; font-size: 1.5rem; margin: 0 0 .2rem; }
.st-band-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--st-card); color: #25d366; display: grid; place-items: center; font-size: 1.8rem; flex-shrink: 0; }

/* ---------- Beneficios + footer ---------- */
.st-benefits { margin-top: 2rem; }
.st-benefits .container > .row { background: var(--st-card); border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 1rem .5rem; margin: 0; }
.st-benefit { display: flex; gap: 12px; align-items: center; }
.st-benefit i { font-size: 1.6rem; color: var(--st-accent); }
.st-benefit b { display: block; font-size: .9rem; }
.st-benefit small { color: var(--st-muted); font-size: .76rem; }
.st-footer { background: var(--st-green); color: #dfe8e2; margin-top: 2rem; padding: 2.6rem 0 1rem; }
.st-footer h6 { color: #fff; font-weight: 600; margin-bottom: .8rem; }
.st-footer a { display: block; color: #c9d6cd; text-decoration: none; font-size: .88rem; margin-bottom: .4rem; }
.st-footer a:hover { color: #fff; }
.st-footer-brand { font-size: 1.6rem; color: #fff; margin-bottom: .4rem; }
.st-social { display: flex; gap: 10px; }
.st-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; margin: 0; }
.st-footer-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2rem; font-size: .78rem; }
.st-footer-pay span { color: #a9bbb0; margin-right: 6px; }
.st-footer-pay b { background: var(--st-card); color: var(--st-ink); border-radius: 5px; padding: 3px 9px; font-size: .72rem; letter-spacing: .3px; }
.st-footer-bottom a { display: inline; color: #a9bbb0; margin: 0; }
.st-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1rem; font-size: .78rem; color: #a9bbb0; }

/* ---------- Catálogo ---------- */
.st-filters h6 { font-size: .75rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--st-muted); }
.st-filters a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--st-ink); text-decoration: none; font-size: .9rem; }
.st-filters a:hover { background: var(--st-cream); }
.st-filters a.active { background: var(--st-tint); color: var(--st-accent); font-weight: 600; }

/* ---------- Producto ---------- */
.st-pimg { position: relative; border-radius: var(--st-radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--st-img); }
.st-pimg img { width: 100%; height: 100%; object-fit: cover; }
.st-chip { display: inline-flex; gap: 5px; align-items: center; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--st-tint); color: var(--st-accent); margin-right: 4px; }
.st-chip.wild { background: var(--st-clay-tint); color: var(--st-clay); }
.st-notes { background: var(--st-cream); border-radius: 12px; padding: .9rem 1rem; }
.st-notes b { display: block; margin-bottom: .2rem; color: var(--st-accent); }
.st-specs { --bs-table-bg: transparent; font-size: .9rem; }
.st-specs th { color: var(--st-muted); font-weight: 500; width: 42%; }
.st-qty { display: inline-flex; align-items: center; border: 1px solid var(--st-line); border-radius: 10px; background: var(--st-card); overflow: hidden; }
.st-qty button { width: 40px; height: 44px; border: 0; background: transparent; font-size: 1.1rem; }
.st-qty input { width: 48px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; outline: 0; }
.st-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.st-qty.sm button { width: 32px; height: 32px; }
.st-qty.sm input { width: 38px; }

/* ---------- Carrito / checkout ---------- */
.st-line { display: flex; gap: 14px; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--st-line); }
.st-line:last-child { border-bottom: 0; }
.st-line-img { width: 78px; height: 78px; border-radius: 12px; overflow: hidden; background: var(--st-img); display: grid; place-items: center; color: var(--st-accent); font-size: 1.8rem; flex-shrink: 0; }
.st-line-img img { width: 100%; height: 100%; object-fit: cover; }
.st-summary > div { margin-bottom: .35rem; }
.st-freebar small { display: block; margin-bottom: 4px; }
.st-freebar div { height: 7px; border-radius: 4px; background: var(--st-sand); overflow: hidden; }
.st-freebar span { display: block; height: 100%; background: var(--st-green); }
.st-step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--st-green); color: #fff; font-size: .8rem; margin-right: 6px; }
.st-options { display: grid; gap: 10px; }
.st-option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--st-line); border-radius: 12px; padding: .8rem 1rem; cursor: pointer; }
.st-option:has(input:checked) { border-color: var(--st-green); background: var(--st-tint); box-shadow: 0 0 0 1px var(--st-green); }
.st-option input { margin-top: 4px; accent-color: var(--st-green); }
.st-option b { display: block; }
.st-option small { color: var(--st-muted); }
.st-option[hidden] { display: none; }
.st-body .form-control, .st-body .form-select { border-radius: 10px; border-color: rgba(31,61,51,.2); }
.st-body .form-control:focus, .st-body .form-select:focus { border-color: var(--st-green); box-shadow: 0 0 0 3px rgba(31,61,51,.12); }
.st-body .form-label { font-size: .85rem; font-weight: 500; margin-bottom: .2rem; }
.st-body .form-check-input:checked { background-color: var(--st-green); border-color: var(--st-green); }

/* ---------- Pasos de la compra ---------- */
.st-steps { display: flex; list-style: none; padding: 0; margin: 0 0 1.2rem; gap: 6px; }
.st-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--st-muted); padding: 8px 10px; border-radius: 10px; background: var(--st-card); border: 1px solid var(--st-line); }
.st-steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--st-sand); color: var(--st-ink); font-weight: 700; font-size: .75rem; flex-shrink: 0; }
.st-steps li.done { color: var(--st-ink); }
.st-steps li.done span { background: var(--st-ok); color: #fff; }
.st-steps li.current { color: var(--st-ink); font-weight: 600; border-color: var(--st-green); }
.st-steps li.current span { background: var(--st-green); color: #fff; }
@media (max-width: 575px) { .st-steps li:not(.current) { flex: 0 0 auto; font-size: 0; gap: 0; } }
.st-secure { text-align: center; font-size: .78rem; color: var(--st-ok); margin-top: 8px; }

/* ---------- Seguimiento ---------- */
.st-track { display: flex; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.st-track li { flex: 1; position: relative; text-align: center; font-size: .78rem; color: var(--st-muted); padding-top: 30px; }
.st-track li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--st-sand); border: 3px solid var(--st-card); box-shadow: 0 0 0 1px var(--st-line); z-index: 1; }
.st-track li::before { content: ''; position: absolute; top: 10px; left: -50%; width: 100%; height: 3px; background: var(--st-sand); }
.st-track li:first-child::before { display: none; }
.st-track li.done { color: var(--st-ink); }
.st-track li.done span, .st-track li.done::before { background: var(--st-green); }
.st-track li.current { font-weight: 700; color: var(--st-accent); }
.st-instructions { background: var(--st-cream); border-left: 4px solid var(--st-gold); border-radius: 12px; padding: 1rem 1.2rem; }

/* ---------- Toast + verificación de edad ---------- */
.st-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(20px); opacity: 0; background: #1c211f; color: #fff; padding: 10px 18px; border-radius: 12px; font-size: .9rem; z-index: 1100; transition: .25s; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px); }
.st-toast.show { opacity: 1; transform: translateX(-50%); }
.st-toast a { color: var(--st-gold); margin-left: 8px; font-weight: 600; }
.st-age { position: fixed; inset: 0; z-index: 2000; background: rgba(20, 30, 26, .78); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.st-age[hidden] { display: none; }
.st-age-box { background: var(--st-cream); border-radius: 20px; padding: 2rem; max-width: 420px; text-align: center; }
.st-age-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--st-green); color: var(--st-gold); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 1rem; }
.st-age h2 { color: var(--st-accent); }
.st-age-no { color: var(--st-clay); }

/* =====================================================================
   Patrones "pro" (Mercado Libre / Coppel)
   ===================================================================== */
:root { --st-ok: #00a650; --st-blue: #3483fa; }

/* Carrusel de portada */
.st-carousel { border-radius: 22px; overflow: hidden; }
.st-carousel .st-hero { border-radius: 0; min-height: 380px; }
.st-hero.theme-green { background: linear-gradient(105deg, #dfe9e1 0%, #dfe9e1 45%, rgba(223,233,225,0) 70%), var(--hero-img, linear-gradient(135deg, #cfe0d4, #a9c7b3)); }
.st-hero.theme-clay  { background: linear-gradient(105deg, var(--st-clay-tint) 0%, var(--st-clay-tint) 45%, rgba(243,226,214,0) 70%), var(--hero-img, linear-gradient(135deg, #f0d6c4, #e0b497)); }
.st-hero.theme-sky   { background: linear-gradient(105deg, #dbe5ec 0%, #dbe5ec 45%, rgba(219,229,236,0) 70%), var(--hero-img, linear-gradient(135deg, #d3e0ea, #aac3d5)); }
.st-hero[class*="theme-"] { background-size: cover; background-position: center right; }
.st-carousel .carousel-indicators { margin-bottom: .9rem; }
.st-carousel .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; background: var(--st-green); border: 0; opacity: .3; }
.st-carousel .carousel-indicators .active { opacity: 1; width: 22px; border-radius: 4px; }
.st-carousel .carousel-control-prev, .st-carousel .carousel-control-next { width: 64px; opacity: 1; }
/* Por encima del texto del banner (.st-hero-copy, z-index 2), o la flecha izquierda no recibe clics. */
.st-carousel .carousel-control-prev, .st-carousel .carousel-control-next, .st-carousel .carousel-indicators { z-index: 3; }
.st-car-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--st-card); color: var(--st-ink); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.15); font-size: 1.1rem; opacity: 0; transition: opacity .2s; }
.st-carousel:hover .st-car-btn, .st-carousel:focus-within .st-car-btn { opacity: 1; }

/* Franja de beneficios bajo el carrusel */
.st-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--st-line); border: 1px solid var(--st-line); border-radius: var(--st-radius); overflow: hidden; margin-top: 12px; }
.st-perks > div { background: var(--st-card); display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-size: .86rem; }
.st-perks i { font-size: 1.5rem; color: var(--st-accent); }

.st-circle small { display: block; font-size: .7rem; color: var(--st-muted); font-weight: 400; }
.st-hot { font-family: system-ui; font-size: 1.2rem; }

/* Tarjeta de producto (anatomía ML) */
.st-card { position: relative; }
.st-card.is-out .st-card-img img, .st-card.is-out .st-ph { opacity: .45; }
.st-tag { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: .64rem; font-weight: 700; letter-spacing: .4px; padding: 3px 7px; border-radius: 4px; color: #fff; background: var(--st-clay); }
.st-tag.wild { background: var(--st-green); }
.st-tag.static { position: static; display: inline-block; margin-bottom: 6px; }
.st-card-body { padding: 12px 14px 14px; }
.st-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500 !important; }
.st-card-price { margin-top: 8px; line-height: 1.2; }
.st-card-price s { display: block; color: var(--st-muted); font-size: .78rem; }
.st-card-price b { font-size: 1.35rem; font-weight: 500; color: var(--st-ink); letter-spacing: -.3px; }
.st-off { color: var(--st-ok); font-size: .82rem; font-weight: 600; margin-left: 8px; white-space: nowrap; }
.st-off.big { font-size: 1.05rem; }
.st-msi { display: block; color: var(--st-ok); font-size: .76rem; margin-top: 3px; }
.st-msi.big { font-size: .95rem; margin-top: 6px; }
.st-card-tags { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; font-size: .76rem; min-height: 1.2em; }
.st-free { color: var(--st-ok); font-weight: 600; }
.st-last { color: var(--st-clay); font-weight: 600; }
.st-sold { color: var(--st-muted); }
.st-card-add { margin-top: auto; padding-top: 10px; }
.st-card .st-add { width: 100%; height: 36px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .85rem; font-weight: 600; background: var(--st-tint); color: var(--st-accent); transition: background .15s, color .15s; }
.st-card .st-add:hover { background: var(--st-green); color: #fff; }
@media (hover: hover) and (min-width: 992px) {
    .st-card .st-card-add { opacity: 0; transform: translateY(4px); transition: .15s; }
    .st-card:hover .st-card-add, .st-card:focus-within .st-card-add { opacity: 1; transform: none; }
}
.st-rail-btn.prev { right: auto; left: -14px; }
.st-rail-btn[hidden] { display: none; }

/* Migas, filtros y resultados */
.st-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .82rem; margin-bottom: 12px; }
.st-crumbs a { color: var(--st-blue) !important; text-decoration: none; }
.st-crumbs i { font-size: .65rem; color: var(--st-muted); }
.st-filters { background: transparent; }
.st-filters h6 { margin-top: 1.3rem; font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--st-ink); font-weight: 600; }
.st-filters > a { padding: 3px 0; font-size: .87rem; color: var(--st-muted) !important; }
.st-filters > a:hover { background: none; color: var(--st-blue) !important; }
.st-filters > a span { color: var(--st-muted); }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: .8rem; }
.st-filters .st-chip-x, .st-chip-x { display: inline-flex; align-items: center; gap: 2px; background: var(--st-card); border: 1px solid var(--st-line); border-radius: 6px; padding: 3px 6px 3px 10px; font-size: .78rem; color: var(--st-ink) !important; text-decoration: none; }
.st-chip-x:hover { border-color: var(--st-ink); }
.st-toggles { display: grid; gap: 8px; }
.st-filters .st-toggle, .st-toggle { display: flex; justify-content: space-between; align-items: center; background: var(--st-card); border-radius: 10px; padding: 10px 12px; font-size: .86rem; color: var(--st-ink) !important; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.st-toggle i { color: var(--st-ok); }
.st-switch { width: 30px; height: 16px; border-radius: 8px; background: var(--st-gray); position: relative; transition: background .15s; flex-shrink: 0; }
.st-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--st-card); transition: left .15s; }
.st-toggle.on .st-switch { background: var(--st-blue); }
.st-toggle.on .st-switch::after { left: 16px; }
.st-price-form { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.st-price-form input { width: 100%; min-width: 0; border: 1px solid var(--st-line); border-radius: 6px; padding: 5px 8px; font-size: .82rem; background: var(--st-card); color: var(--st-ink); }
.st-price-form button { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--st-gray); }
.st-results-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 12px; }
.st-results-bar select { width: auto; }
.st-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 1.6rem; }
.st-pager a, .st-pager span { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px; display: grid; place-items: center; text-decoration: none; color: var(--st-blue) !important; font-size: .9rem; }
.st-pager a.current { background: var(--st-card); color: var(--st-ink) !important; font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.st-pager a.disabled { pointer-events: none; color: var(--st-faint) !important; }

/* Ficha de producto */
.st-gallery { display: flex; gap: 10px; position: sticky; top: 12px; }
.st-thumbs { display: flex; flex-direction: column; gap: 8px; }
.st-thumbs button { width: 52px; height: 52px; padding: 2px; border: 1px solid var(--st-line); border-radius: 8px; background: var(--st-card); overflow: hidden; }
.st-thumbs button.active { border: 2px solid var(--st-blue); }
.st-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.st-gallery .st-pimg { flex: 1; }
.st-pdp-sub { font-size: .8rem; color: var(--st-muted); margin-bottom: 6px; min-height: 1em; }
.st-pdp-title { font-family: var(--st-font-body) !important; font-weight: 600 !important; font-size: 1.5rem; line-height: 1.2; margin: 4px 0 6px; }
.st-pdp-price { margin: 18px 0; line-height: 1.2; }
.st-pdp-price s { color: var(--st-muted); }
.st-pdp-price b { font-size: 2.2rem; font-weight: 400; letter-spacing: -.5px; }
.st-know h2 { font-size: 1rem; font-weight: 600; font-family: var(--st-font-body); }
.st-know ul { padding-left: 1.1rem; font-size: .9rem; margin-bottom: 6px; }
.st-know li { margin-bottom: 4px; }
.st-buybox, .st-seller { border: 1px solid var(--st-line); border-radius: 12px; padding: 16px; background: var(--st-card); }
.st-seller { margin-top: 12px; }
.st-ship { display: flex; gap: 10px; font-size: .88rem; margin-bottom: 12px; }
.st-ship i { color: var(--st-ok); font-size: 1.1rem; }
.st-ship small { display: block; color: var(--st-muted); font-size: .78rem; }
.st-stock-line { font-size: .9rem; margin: 6px 0 10px; }
.st-qty-select { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; margin-bottom: 14px; }
.st-qty-select select { border: 0; font-weight: 700; background: transparent; padding: 0; }
.st-qty-select small { color: var(--st-muted); }
.st-btn-soft { background: var(--st-tint); color: var(--st-accent); border: 0; border-radius: 10px; font-weight: 600; }
.st-btn-soft:hover { background: var(--st-tint-2); color: var(--st-accent); }
.st-buybox .btn-lg { font-size: 1rem; padding: .7rem; }
.st-guarantees { list-style: none; padding: 0; margin: 16px 0 0; font-size: .8rem; color: var(--st-muted); }
.st-guarantees li { display: flex; gap: 8px; margin-bottom: 8px; }
.st-guarantees i { color: var(--st-muted); font-size: 1rem; }
.st-brand-mark.sm { width: 36px; height: 36px; border-radius: 10px; font-size: 1rem; flex-shrink: 0; }
.st-paylogos { display: flex; flex-wrap: wrap; gap: 8px; }
.st-paylogos span { border: 1px solid var(--st-line); border-radius: 8px; padding: 6px 12px; font-size: .82rem; background: var(--st-card); white-space: nowrap; }
.st-paylogos.sm span { padding: 3px 8px; font-size: .74rem; }
.st-paybox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.st-h2 { font-family: var(--st-font-body) !important; font-size: 1.35rem; font-weight: 500; margin-bottom: 1rem; }
.st-specs.zebra tr:nth-child(odd) th, .st-specs.zebra tr:nth-child(odd) td { background: var(--st-zebra); }
.st-specs.zebra th { background: var(--st-zebra-2) !important; }
.st-specs.zebra th, .st-specs.zebra td { border: 0; padding: 10px 14px; }
.st-desc { color: var(--st-muted); font-size: 1rem; line-height: 1.6; white-space: normal; }
.st-ask { background: var(--st-cream); border-radius: 12px; padding: 14px; }
.st-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.st-qa { padding: 12px 0; border-bottom: 1px solid var(--st-line); font-size: .93rem; }
.st-qa-a { color: var(--st-muted); padding-left: 10px; }
.st-qa-a small { color: var(--st-faint); margin-left: 6px; }
.st-sticky-buy { display: none; }

@media (max-width: 991px) {
    .st-gallery { position: static; flex-direction: column-reverse; }
    .st-thumbs { flex-direction: row; overflow-x: auto; }
}
@media (max-width: 767px) {
    .st-carousel .st-hero { min-height: 0; }
    .st-car-btn { display: none; }
    .st-pdp-price b { font-size: 1.9rem; }
    .st-sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; align-items: center; justify-content: space-between; gap: 12px;
        background: var(--st-card); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
    .st-sticky-buy b { font-size: 1.2rem; }
    .st-sticky-buy small { display: block; font-size: .72rem; color: var(--st-ok); }
    body:has(.st-sticky-buy) .st-footer { padding-bottom: 90px; }
    .st-results-bar label { display: none; }
}
@media (max-width: 767px) {
    .st-icons span { display: none; }
    .st-icons { gap: 14px; }
    .st-hero { min-height: 0; background: var(--st-sand); }
    .st-hero-copy { padding: 1.6rem; }
    .st-hero-art { display: none; }
    .st-panel { padding: 1rem; }
    .st-band { padding: 1.3rem; }
    .st-rail-btn { display: none; }
    .st-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* =====================================================================
   Pulido: secciones abiertas (menos cajas), ilustraciones de producto,
   ficha técnica limpia. Va al final para mandar sobre lo anterior.
   ===================================================================== */
.st-agave-ic { width: 1em; height: 1em; display: block; }
.st-brand-mark { font-size: 1.45rem; }
.st-brand-mark.sm { font-size: 1.1rem; }
.st-age-icon { font-size: 2rem; }

/* Secciones: más aire y encabezado editorial */
.st-main .st-section { margin-top: 3.2rem; }
.st-main > .st-section:first-child, .st-main > .container:first-child + .st-section:not([id]) { margin-top: 1.6rem; }
.st-section-head { align-items: flex-end; margin-bottom: 1.2rem; }
.st-section-head .st-eyebrow { display: block; margin-bottom: .35rem; }
.st-section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--st-accent); }
.st-section-head > a { border: 1px solid var(--st-line); border-radius: 999px; padding: 7px 14px; background: var(--st-card); transition: border-color .15s, background .15s; }
.st-section-head > a:hover { border-color: var(--st-green); }
.st-section-head > a i { transition: transform .15s; display: inline-block; }
.st-section-head > a:hover i { transform: translateX(3px); }
.st-perks { margin-top: 14px; box-shadow: 0 1px 2px rgba(31,61,51,.04); }

/* Ilustración de producto */
.st-ph { background: radial-gradient(120% 90% at 50% 30%, var(--st-img-hi) 0%, var(--st-img) 55%, var(--st-img-lo) 100%); }
.st-ph .st-art { width: 88%; height: 88%; margin-top: 6%; transition: transform .35s ease; }
.st-card:hover .st-ph .st-art { transform: translateY(-4px) scale(1.03); }
.st-ph.big .st-art { width: 78%; height: 78%; margin-top: 8%; }
.st-line-img { background: radial-gradient(circle at 50% 35%, var(--st-img-hi), var(--st-img-lo)); }
.st-line-img .st-art { width: 100%; height: 100%; }

/* Tarjetas: botón siempre visible (sin hueco vacío al pie) */
.st-card { border-radius: 16px; box-shadow: 0 1px 2px rgba(31,61,51,.05); }
.st-card:hover { box-shadow: 0 18px 36px -12px rgba(31,61,51,.22); transform: translateY(-3px); }
.st-card-body { padding: 14px 16px 16px; }
.st-card-title { font-size: .98rem; font-weight: 500 !important; }
.st-card-price b { font-size: 1.4rem; }
.st-tag { border-radius: 999px; padding: 4px 9px; letter-spacing: .6px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.st-card .st-add { background: transparent; border: 1px solid var(--st-line); color: var(--st-accent); border-radius: 10px; }
.st-card .st-add:hover { background: var(--st-green); border-color: var(--st-green); color: #fff; }
@media (hover: hover) and (min-width: 992px) {
    .st-card .st-card-add { opacity: 1; transform: none; }
}
.st-rail { padding: 4px 2px 18px; }
.st-rail-btn { top: 34%; }

/* Compra por agave */
.st-circles { gap: 1.6rem; }
.st-circle { min-width: 96px; gap: 10px; }
.st-circle span { width: 84px; height: 84px; font-size: 2.1rem; background: var(--st-card); color: var(--st-accent); border: 1px solid var(--st-line); box-shadow: 0 1px 2px rgba(31,61,51,.06); transition: transform .15s, background .15s, color .15s; }
.st-circle span.wild { background: var(--st-card); color: var(--st-clay); }
.st-circle span.all { font-size: 1.6rem; }
.st-circle:hover span { background: var(--st-green); color: #fff; border-color: var(--st-green); }
.st-circle:hover span.wild { background: var(--st-clay); border-color: var(--st-clay); }

/* Colecciones con ilustración */
.st-tile { min-height: 190px; padding: 1.6rem 1.2rem 1.6rem 1.8rem; transition: transform .2s, box-shadow .2s; }
.st-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -14px rgba(31,61,51,.28); }
.st-tile h3 { font-size: 1.7rem; }
.st-tile-art { width: 130px; height: 150px; flex-shrink: 0; margin: -8px -6px -24px 0; }
.st-tile-art .st-art { width: 100%; height: 100%; transition: transform .3s; }
.st-tile:hover .st-tile-art .st-art { transform: rotate(-4deg) translateY(-4px); }

/* Historia */
.st-story { background: var(--st-sand); border: 0; padding: clamp(1.4rem, 3vw, 2.6rem); }
.st-story h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--st-accent); }
.st-story .st-step { background: var(--st-card); padding: 1.2rem; box-shadow: 0 1px 2px rgba(31,61,51,.05); }
.st-story .st-step span { color: var(--st-clay); opacity: .3; font-size: 1.5rem; }
.st-story .st-step b { margin-top: .2rem; }

/* Pagos y banda */
.st-paybox { background: transparent; border-style: dashed; }
.st-band { padding: 2rem 2.4rem; background-image: radial-gradient(120% 140% at 100% 0%, rgba(201,154,74,.22), transparent 55%); }

/* Pie */
.st-benefits .container > .row { padding: 1.2rem .75rem; }
.st-footer { padding-top: 3.2rem; }
.st-footer-pay b { background: transparent; color: #e8efe9; border: 1px solid rgba(255,255,255,.25); font-weight: 500; }

/* Ficha técnica en dos columnas con líneas finas */
.st-specgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.4rem; margin: 0; }
.st-specgrid > div { display: flex; justify-content: space-between; gap: 1rem; padding: 11px 0; border-bottom: 1px solid var(--st-line); font-size: .92rem; }
.st-specgrid dt { font-weight: 400; color: var(--st-muted); }
.st-specgrid dd { margin: 0; font-weight: 500; text-align: right; }
.st-h2 { font-family: var(--st-font-head) !important; font-weight: 400; font-size: 1.6rem; color: var(--st-accent); }

@media (max-width: 767px) {
    .st-main .st-section { margin-top: 2.2rem; }
    .st-section-head > a { padding: 5px 10px; font-size: .8rem; }
    .st-circle span { width: 68px; height: 68px; font-size: 1.7rem; }
    .st-circle { min-width: 76px; }
    .st-tile-art { width: 100px; height: 120px; }
    .st-specgrid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Diseño por negocio (admin/design.php → includes/design.php).
   Los valores por defecto reproducen el diseño original.
   ===================================================================== */
.st-body h1, .st-body h2, .st-body h3, .st-serif, .st-hero-title, .st-section-head h2, .st-tile h3, .st-story h2, .st-h2 { font-weight: var(--st-head-weight); }
.st-hero { border-radius: calc(var(--st-radius) + 6px); }
.st-carousel { border-radius: calc(var(--st-radius) + 6px); }
.st-card, .st-tile, .st-panel, .st-perks, .st-pimg, .st-story, .st-band { border-radius: var(--st-radius); }
.st-buybox, .st-seller, .st-option, .st-steps li, .st-step, .st-notes, .st-ask, .st-age-box, .st-line-img, .st-instructions, .st-toggle, .st-brand-mark, .st-age-icon { border-radius: calc(var(--st-radius) * .75); }
.st-btn-dark, .st-btn-light, .st-btn-soft, .st-card .st-add, .st-body .btn, .st-qty, .st-section-head > a { border-radius: var(--st-btn-radius); }
.st-body .form-control, .st-body .form-select { border-radius: min(var(--st-btn-radius), 12px); }
.st-search { border-radius: var(--st-search-radius); }
.st-search button { border-radius: var(--st-search-radius); }
.st-corners-square .st-circle span { border-radius: 4px; }
.st-corners-square .st-tag { border-radius: 2px; }

/* Texto sobre el color principal (oscuro si el negocio eligió un color claro) */
.st-btn-dark, .st-btn-dark:hover, .st-btn-dark:focus, .st-search button, .st-tag.wild, .st-step-n, .st-steps li.current span,
.st-card .st-add:hover, .st-circle:hover span:not(.wild), .st-announce { color: var(--st-on-primary); }

/* Estilo de tarjetas */
.st-cards-shadow .st-card { border-color: transparent; box-shadow: 0 8px 24px -10px rgba(0,0,0,.20); }
.st-cards-shadow .st-card:hover { box-shadow: 0 22px 40px -14px rgba(0,0,0,.30); }
.st-cards-flat .st-card { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.st-cards-flat .st-card:hover { box-shadow: none; transform: none; }
.st-cards-flat .st-card-img { border-radius: var(--st-radius); overflow: hidden; }
.st-cards-flat .st-card:hover .st-card-img { box-shadow: 0 14px 30px -14px rgba(0,0,0,.3); }
.st-cards-flat .st-card-body { padding: 12px 2px 4px; }

/* =====================================================================
   Bloques de portada (includes/blocks.php)
   ===================================================================== */
.st-rich p:last-child { margin-bottom: 0; }
.st-story-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--st-radius) * .75); display: block; }
.st-benefits-row { background: var(--st-card); border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 1.2rem .75rem; margin: 0; }
.st-benefits .container > .row, .st-benefits .st-benefits-row { margin: 0; }

/* Texto con imagen */
.st-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.4rem, 4vw, 3.4rem); border-radius: var(--st-radius); }
.st-split.bg-sand { background: var(--st-sand); padding: clamp(1.2rem, 3vw, 2.4rem); }
.st-split.bg-tint { background: var(--st-tint); padding: clamp(1.2rem, 3vw, 2.4rem); }
.st-split.img-right .st-split-img { order: 2; }
.st-split-img { aspect-ratio: 4 / 3; border-radius: var(--st-radius); overflow: hidden; background: var(--st-img); }
.st-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-split-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--st-accent); margin: .35rem 0 .8rem; }
.st-split-copy .btn { margin-top: 1.2rem; }
.st-img-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; font-size: 4rem; color: var(--st-accent); opacity: .35;
    background: radial-gradient(circle at 50% 40%, var(--st-img-hi), var(--st-img-lo)); }
.st-img-ph small { font-size: .85rem; }

/* Banner de imagen */
.st-imgbanner { position: relative; display: flex; align-items: center; border-radius: calc(var(--st-radius) + 6px); overflow: hidden; color: #fff;
    background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.15) 70%), var(--bn-img, linear-gradient(135deg, var(--st-green), color-mix(in srgb, var(--st-green) 60%, var(--st-clay)))); background-size: cover; background-position: center; }
.st-imgbanner.h-sm { min-height: 220px; } .st-imgbanner.h-md { min-height: 340px; } .st-imgbanner.h-lg { min-height: 480px; }
.st-imgbanner.align-center { justify-content: center; text-align: center; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), var(--bn-img, linear-gradient(135deg, var(--st-green), color-mix(in srgb, var(--st-green) 60%, var(--st-clay)))); background-size: cover; background-position: center; }
.st-imgbanner-copy { padding: clamp(1.6rem, 4vw, 3rem); max-width: 620px; }
.st-imgbanner .st-eyebrow { color: var(--st-gold); }
.st-imgbanner h2 { font-family: var(--st-font-head); font-weight: var(--st-head-weight); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; color: #fff; margin: .4rem 0 .8rem; }
.st-imgbanner p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 1.4rem; }

/* Llamado a la acción: colores */
.st-band.c-accent { background-color: var(--st-clay); }
.st-band.c-dark { background-color: #1c211f; }

/* Preguntas frecuentes */
.st-faq { max-width: 820px; margin: 0 auto; }
.st-faq details { background: var(--st-card); border: 1px solid var(--st-line); border-radius: calc(var(--st-radius) * .75); margin-bottom: .6rem; }
.st-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; font-weight: 600; }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary i { transition: transform .2s; color: var(--st-accent); }
.st-faq details[open] summary i { transform: rotate(45deg); }
.st-faq details > div { padding: 0 1.2rem 1.1rem; color: var(--st-muted); }

/* Texto libre */
.st-textblock { max-width: 760px; }
.st-textblock h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--st-accent); margin: .35rem 0 .8rem; }
.st-textblock .st-rich { font-size: 1.05rem; line-height: 1.65; }

@media (max-width: 767px) {
    .st-split { grid-template-columns: 1fr; }
    .st-split.img-right .st-split-img { order: 0; }
}

/* Vista previa del Editor de portada: clic para editar */
.st-blk { position: relative; cursor: pointer; }
.st-blk::after { content: ''; position: absolute; inset: -6px 6px; border: 2px dashed transparent; border-radius: 12px; pointer-events: none; transition: border-color .12s; z-index: 5; }
.st-blk::before { content: attr(data-label) ' · editar'; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 6; font: 600 .72rem/1 system-ui, sans-serif;
    background: #7c3aed; color: #fff; padding: 5px 10px; border-radius: 999px; opacity: 0; transition: opacity .12s; pointer-events: none; white-space: nowrap; }
.st-blk:hover::after { border-color: #a78bfa; }
.st-blk:hover::before { opacity: 1; }
.st-blk.is-active::after { border: 2px solid #7c3aed; }
.st-blk.is-active::before { opacity: 1; }
.st-blk-empty { border: 2px dashed var(--st-line); border-radius: var(--st-radius); padding: 1.1rem 1.3rem; color: var(--st-muted); font-size: .9rem; text-align: center; background: var(--st-card); }
.st-blk.is-off { opacity: .7; }

/* Instrucciones de transferencia (pedido.php) */
.st-pay-rows, .st-bank { background: var(--st-card); border: 1px solid var(--st-line); border-radius: calc(var(--st-radius) * .75); margin: .6rem 0; }
.st-bank-head { padding: .7rem 1rem .2rem; }
.st-bank-head b { display: block; }
.st-bank-head span { font-size: .85rem; color: var(--st-muted); }
.st-pay-row { display: flex; align-items: center; gap: .8rem; padding: .6rem 1rem; border-top: 1px solid var(--st-line); }
.st-pay-rows .st-pay-row:first-child { border-top: 0; }
.st-pay-row > span { width: 34%; flex-shrink: 0; font-size: .85rem; color: var(--st-muted); }
.st-pay-row > span small { display: block; font-size: .72rem; }
.st-pay-row > b { flex: 1; min-width: 0; font-size: 1rem; letter-spacing: .3px; word-break: break-all; }
.st-copy { flex-shrink: 0; border: 1px solid var(--st-line); background: transparent; color: var(--st-accent); border-radius: var(--st-btn-radius); padding: 4px 10px; font-size: .8rem; font-weight: 600; }
.st-copy:hover { border-color: var(--st-green); }
.st-copy.done { background: var(--st-green); border-color: var(--st-green); color: var(--st-on-primary); }
@media (max-width: 575px) { .st-pay-row { flex-wrap: wrap; gap: .2rem .8rem; } .st-pay-row > span { width: 100%; } }

/* Checkout: dirección de envío / dónde recoges */
.st-addr { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--st-line); }
.st-addr-title { font-weight: 700; margin-bottom: .7rem; color: var(--st-accent); }
.st-req { color: var(--st-clay); }
.st-addr-hint { font-size: .82rem; }
.st-addr-hint.bad { color: #b42318; }

/* Giros sin ilustración propia: tarjeta con el ícono del giro e inicial del producto */
.st-art-ic { position: relative; display: grid; place-items: center; width: 70%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--st-green) 14%, #fff), color-mix(in srgb, var(--st-green) 6%, var(--st-img))); color: var(--st-accent); }
.st-art-ic i { font-size: clamp(2rem, 9vw, 3.4rem); opacity: .85; }
.st-art-ic b { position: absolute; right: 8%; bottom: 8%; width: 2.1em; height: 2.1em; border-radius: 50%; display: grid; place-items: center;
    background: var(--st-clay); color: #fff; font-family: var(--st-font-head); font-weight: var(--st-head-weight); font-size: clamp(.8rem, 3vw, 1.15rem); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.st-ph .st-art-ic { width: 62%; height: auto; margin-top: 0; }
.st-ph.big .st-art-ic i { font-size: 5.5rem; }
.st-ph.big .st-art-ic b { font-size: 1.8rem; }
.st-line-img .st-art-ic { width: 100%; border-radius: 0; }
.st-line-img .st-art-ic i { font-size: 1.8rem; }
.st-line-img .st-art-ic b { display: none; }
.st-hero-ic { display: grid; place-items: center; }
.st-hero-ic span { width: min(320px, 80%); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--st-green) 22%, #fff), color-mix(in srgb, var(--st-green) 10%, transparent)); color: var(--st-green); }
.st-hero-ic i { font-size: clamp(5rem, 12vw, 9rem); opacity: .9; }
.st-circle span.st-circle-txt { font-family: var(--st-font-head); font-weight: var(--st-head-weight); font-size: 2rem; }

/* =====================================================================
   Estilos de tienda (Diseño > Estilo): clásico (lo de arriba), vitrina y editorial.
   Cada giro arranca con uno (includes/design.php → design_presets()).
   ===================================================================== */
.st-tag.off { display: none; }
.st-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.st-btn-ghost { background: var(--st-card); color: var(--st-ink); border: 1px solid var(--st-line); font-weight: 600; }
.st-btn-ghost:hover { background: var(--st-card); color: var(--st-ink); border-color: var(--st-ink); }

/* ---------- Vitrina: tarjetas suaves, promociones al lado, píldoras ---------- */
.st-style-vitrina .st-header { background: var(--st-card); }
.st-style-vitrina .st-nav > a { color: var(--st-muted); font-weight: 500; }
.st-style-vitrina .st-nav > a.active, .st-style-vitrina .st-nav > a:hover { color: var(--st-ink); border-color: var(--st-ink); }
.st-style-vitrina .st-nav .st-btn-dark { border-radius: 999px; padding-inline: 14px; }
.st-style-vitrina .st-search { background: var(--st-cream); border-color: transparent; }

.st-vt-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; }
.st-vt-main .st-hero, .st-vt-main .st-carousel { height: 100%; }
.st-vt-main .st-carousel .carousel-inner, .st-vt-main .st-carousel .carousel-item { height: 100%; }
.st-style-vitrina .st-hero { min-height: 420px; background: linear-gradient(105deg, var(--st-sand) 0%, var(--st-sand) 38%, transparent 66%), var(--hero-img, linear-gradient(135deg, var(--st-sand), color-mix(in srgb, var(--st-sand) 60%, var(--st-card)))); background-size: cover; background-position: center right; }
.st-style-vitrina .st-hero h1, .st-style-vitrina .st-hero .st-hero-title { color: var(--st-ink); letter-spacing: -1px; }
.st-style-vitrina .st-hero .st-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--st-card); color: var(--st-muted); border-radius: 999px; padding: 6px 14px; letter-spacing: .3px; text-transform: none; font-size: .78rem; font-weight: 500; }
.st-style-vitrina .st-hero-ic span { background: color-mix(in srgb, var(--st-card) 60%, transparent); }
.st-vt-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.st-vt-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 1.3rem; border-radius: calc(var(--st-radius) + 6px); background: var(--st-card); color: var(--st-ink) !important; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.st-vt-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.25); }
.st-vt-card b { font-family: var(--st-font-head); font-weight: var(--st-head-weight); font-size: 1.15rem; line-height: 1.2; max-width: 75%; }
.st-vt-card small { color: var(--st-muted); font-size: .8rem; max-width: 70%; }
.st-vt-btn { margin-top: auto; background: var(--st-green); color: var(--st-on-primary); border-radius: var(--st-btn-radius); padding: 7px 14px; font-size: .8rem; font-weight: 600; }
.st-vt-ic { position: absolute; right: -6px; bottom: -10px; font-size: 5.2rem; color: var(--st-clay); opacity: .22; }
.st-vt-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 16px; padding-bottom: 2px; }
.st-vt-cats::-webkit-scrollbar { display: none; }
.st-vt-cats a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: var(--st-card); border: 1px solid var(--st-line); color: var(--st-ink) !important; font-size: .88rem; font-weight: 500; text-decoration: none; transition: border-color .15s; }
.st-vt-cats a:hover { border-color: var(--st-ink); }
.st-vt-cats a.active { background: var(--st-green); border-color: var(--st-green); color: var(--st-on-primary) !important; }

.st-style-vitrina .st-section-head h2 { font-size: 1.45rem; letter-spacing: -.5px; }
.st-style-vitrina .st-card { border: 0; box-shadow: none; background: var(--st-card); }
.st-style-vitrina .st-card:hover { box-shadow: 0 16px 34px -16px rgba(0,0,0,.25); }
.st-style-vitrina .st-card-img { margin: 8px 8px 0; border-radius: calc(var(--st-radius) - 4px); overflow: hidden; background: var(--st-cream); }
.st-style-vitrina .st-card-img img { object-fit: contain; mix-blend-mode: multiply; }
[data-theme="dark"] .st-style-vitrina .st-card-img img, [data-theme="dark"].st-style-vitrina .st-card-img img { mix-blend-mode: normal; }
.st-style-vitrina .st-tag, .st-style-editorial .st-tag { background: var(--st-card); color: var(--st-ink); box-shadow: none; border: 1px solid var(--st-line); font-weight: 600; letter-spacing: .2px; }
.st-style-vitrina .st-tag.off, .st-style-editorial .st-tag.off { display: inline-block; background: var(--st-clay); color: #fff; border-color: transparent; }
.st-style-vitrina .st-off, .st-style-editorial .st-off { display: none; }
.st-style-vitrina .st-card-body { position: relative; }
.st-style-vitrina .st-card-tags { order: 1; }
.st-style-vitrina .st-card-price { order: 2; margin-top: auto; padding-top: 8px; padding-right: 46px; }
.st-style-vitrina .st-card-price b { font-weight: 700; font-size: 1.2rem; }
.st-style-vitrina .st-card-add { position: absolute; right: 14px; bottom: 14px; margin: 0; padding: 0; opacity: 1 !important; transform: none !important; }
.st-style-vitrina .st-card .st-add { width: 38px; height: 38px; padding: 0; border: 0; background: var(--st-green); color: var(--st-on-primary); border-radius: min(var(--st-btn-radius), 12px); }
.st-style-vitrina .st-card .st-add span { display: none; }
.st-style-vitrina .st-card .st-add:hover { background: var(--st-clay); color: #fff; }
.st-style-vitrina .st-perks, .st-style-vitrina .st-benefits .container > .row { border: 0; }
.st-style-vitrina .st-tile { border-radius: calc(var(--st-radius) + 6px); }
.st-style-vitrina .st-footer { background: var(--st-card); color: var(--st-ink); border-top: 1px solid var(--st-line); }
.st-style-vitrina .st-footer h6, .st-style-vitrina .st-footer-brand { color: var(--st-ink); }
.st-style-vitrina .st-footer a { color: var(--st-muted); }
.st-style-vitrina .st-footer a:hover { color: var(--st-ink); }
.st-style-vitrina .st-footer .opacity-75 { color: var(--st-muted); opacity: 1 !important; }
.st-style-vitrina .st-social a { border-color: var(--st-line); color: var(--st-ink); }
.st-style-vitrina .st-footer-pay span, .st-style-vitrina .st-footer-bottom, .st-style-vitrina .st-footer-bottom a { color: var(--st-muted); }
.st-style-vitrina .st-footer-pay b { background: var(--st-cream); border: 1px solid var(--st-line); }
.st-style-vitrina .st-footer-bottom { border-top-color: var(--st-line); }
@media (max-width: 991px) {
    .st-vt-top { grid-template-columns: 1fr; }
    .st-vt-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
    .st-style-vitrina .st-hero { min-height: 320px; }
}
@media (max-width: 575px) {
    .st-vt-side { grid-template-columns: 1fr; }
    .st-vt-card { min-height: 130px; }
}

/* ---------- Editorial: aireado, centrado, como revista ---------- */
.st-style-editorial .st-header .st-nav { justify-content: center; }
.st-style-editorial .st-nav > a { text-transform: uppercase; letter-spacing: 1.6px; font-size: .74rem; font-weight: 600; }
.st-style-editorial .st-brand-text { letter-spacing: .5px; }
.st-style-editorial .st-hero { min-height: 480px; }
.st-style-editorial .st-hero h1, .st-style-editorial .st-hero .st-hero-title { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.5px; }
.st-style-editorial .st-eyebrow { letter-spacing: 3px; }
.st-style-editorial .st-section { margin-top: 3rem; }
.st-style-editorial .st-section-head { flex-direction: column; align-items: center; text-align: center; gap: .4rem; margin-bottom: 1.6rem; }
.st-style-editorial .st-section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.st-style-editorial .st-section-head > a { border: 0; background: none; text-transform: uppercase; letter-spacing: 1.4px; font-size: .74rem; text-decoration: underline; text-underline-offset: 4px; }
.st-style-editorial .st-card { border: 0; background: transparent; box-shadow: none; }
.st-style-editorial .st-card:hover { transform: none; box-shadow: none; }
.st-style-editorial .st-card-img { aspect-ratio: 3 / 4; border-radius: var(--st-radius); overflow: hidden; }
.st-style-editorial .st-card:hover .st-card-img img { transform: scale(1.04); }
.st-style-editorial .st-card-img img { transition: transform .5s; }
.st-style-editorial .st-card-body { padding: 12px 2px 0; text-align: center; align-items: center; }
.st-style-editorial .st-card-title { font-size: .95rem; }
.st-style-editorial .st-card-price b { font-size: 1.05rem; font-weight: 600; }
.st-style-editorial .st-card-tags { justify-content: center; }
.st-style-editorial .st-card-add { width: 100%; }
.st-style-editorial .st-card .st-add { background: transparent; border: 1px solid var(--st-ink); color: var(--st-ink); text-transform: uppercase; letter-spacing: 1.2px; font-size: .72rem; }
.st-style-editorial .st-card .st-add:hover { background: var(--st-ink); color: var(--st-cream); border-color: var(--st-ink); }
.st-style-editorial .st-perks { background: transparent; border: 0; border-top: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); border-radius: 0; box-shadow: none; gap: 0; }
.st-style-editorial .st-perks > div { background: transparent; justify-content: center; text-align: center; }
.st-style-editorial .st-benefits .container > .row { background: transparent; border: 0; border-top: 1px solid var(--st-line); border-radius: 0; }
.st-style-editorial .st-footer { background: var(--st-ink); }
[data-theme="dark"] .st-style-editorial .st-footer, [data-theme="dark"].st-style-editorial .st-footer { background: #0d1411; }

/* ---------- Vitrina con personalidad: cada giro pinta con sus colores ---------- */
.st-hero-ic em, .st-hero-ic .st-dot { display: none; }
.st-style-vitrina {
    --vt-p: color-mix(in srgb, var(--st-green) 14%, var(--st-card));
    --vt-a: color-mix(in srgb, var(--st-clay) 20%, var(--st-card));
}
/* Banner sin foto: degradado con los dos colores de la marca y manchas suaves */
.st-style-vitrina .st-hero:not([style*="--hero-img"]) {
    background:
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--st-clay) 38%, transparent) 0, transparent 34%),
        radial-gradient(circle at 62% 105%, color-mix(in srgb, var(--st-green) 30%, transparent) 0, transparent 40%),
        linear-gradient(120deg, var(--vt-p) 0%, color-mix(in srgb, var(--st-card) 55%, var(--vt-a)) 55%, var(--vt-a) 100%);
}
.st-style-vitrina .st-hero h1, .st-style-vitrina .st-hero .st-hero-title { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.st-style-vitrina .st-hero .st-eyebrow { box-shadow: 0 2px 10px -4px rgba(0,0,0,.2); color: var(--st-ink); font-weight: 600; }
.st-style-vitrina .st-hero .st-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--st-clay); }
.st-style-vitrina .st-hero-btns .btn { box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--st-green) 70%, transparent); }
.st-style-vitrina .st-hero-btns .st-btn-ghost { box-shadow: none; }
/* Ilustración: disco con degradado de marca, ícono blanco, emoji del giro y burbujas */
.st-style-vitrina .st-hero-ic span {
    position: relative; width: min(300px, 78%);
    background: linear-gradient(145deg, var(--st-green), color-mix(in srgb, var(--st-green) 55%, var(--st-clay)));
    color: var(--st-on-primary); box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--st-green) 80%, transparent), inset 0 -10px 30px rgba(0,0,0,.12);
    animation: vt-float 6s ease-in-out infinite;
}
.st-style-vitrina .st-hero-ic i { opacity: 1; font-size: clamp(4.5rem, 10vw, 7.5rem); }
.st-style-vitrina .st-hero-ic em { display: grid; place-items: center; position: absolute; right: -4%; top: 4%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--st-card); font-style: normal; font-size: clamp(1.8rem, 4vw, 3rem); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); transform: rotate(8deg); }
.st-style-vitrina .st-hero-ic .st-dot { display: block; position: absolute; border-radius: 50%; }
.st-hero-ic .st-dot.d1 { width: 46px; height: 46px; left: 8%; top: 18%; background: var(--st-clay); opacity: .85; animation: vt-float 5s ease-in-out infinite reverse; }
.st-hero-ic .st-dot.d2 { width: 22px; height: 22px; right: 10%; bottom: 16%; background: var(--st-green); opacity: .6; }
.st-hero-ic .st-dot.d3 { width: 90px; height: 90px; left: 14%; bottom: 6%; border: 3px dashed color-mix(in srgb, var(--st-green) 35%, transparent); }
@keyframes vt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .st-style-vitrina .st-hero-ic span, .st-hero-ic .st-dot { animation: none !important; } }

/* Tarjetas laterales: una con el color principal y otra con el acento */
.st-style-vitrina .st-vt-card.is-primary { background: var(--st-green); color: var(--st-on-primary) !important; }
.st-style-vitrina .st-vt-card.is-primary small { color: color-mix(in srgb, var(--st-on-primary) 75%, transparent); }
.st-style-vitrina .st-vt-card.is-primary .st-vt-btn { background: var(--st-card); color: var(--st-ink); }
.st-style-vitrina .st-vt-card.is-primary .st-vt-ic { color: var(--st-on-primary); opacity: .18; }
.st-style-vitrina .st-vt-card.is-accent { background: var(--vt-a); }
.st-style-vitrina .st-vt-card.is-accent .st-vt-ic { color: var(--st-clay); opacity: .45; }
.st-style-vitrina .st-vt-card b { font-size: 1.25rem; }
.st-style-vitrina .st-vt-ic { font-size: 6rem; right: -10px; bottom: -18px; transform: rotate(-12deg); transition: transform .3s; }
.st-style-vitrina .st-vt-card:hover .st-vt-ic { transform: rotate(0) scale(1.06); }

/* Píldoras de categorías con un toque de color al pasar */
.st-style-vitrina .st-vt-cats a:hover { background: var(--vt-p); border-color: transparent; }

/* Encabezados de sección más marcados */
.st-style-vitrina .st-section { margin-top: 2.4rem; }
.st-style-vitrina .st-section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--st-ink); }
.st-style-vitrina .st-section-head .st-eyebrow { display: inline-block; background: var(--vt-a); color: var(--st-ink); padding: 4px 10px; border-radius: 999px; letter-spacing: .6px; font-size: .68rem; margin-bottom: 4px; }
.st-style-vitrina .st-section-head > a { background: var(--st-green); color: var(--st-on-primary) !important; border: 0; }

/* Categorías en círculos → mosaicos de color */
.st-style-vitrina .st-circles { gap: 12px; }
.st-style-vitrina .st-circle { min-width: 120px; padding: 14px 10px 12px; border-radius: calc(var(--st-radius) + 2px); background: var(--st-card); transition: transform .15s, box-shadow .15s; }
.st-style-vitrina .st-circle:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(0,0,0,.35); }
.st-style-vitrina .st-circle span { width: 64px; height: 64px; border: 0; border-radius: calc(var(--st-radius) - 4px); background: var(--vt-p); color: var(--st-green); box-shadow: none; }
.st-style-vitrina .st-circle span.wild { background: var(--vt-a); color: var(--st-clay); }
.st-style-vitrina .st-circle:hover span { transform: none; background: var(--st-green); color: var(--st-on-primary); }

/* Productos: fondo de foto con el tinte de la marca y precio protagonista */
.st-style-vitrina .st-card-img { background: linear-gradient(160deg, var(--vt-p), color-mix(in srgb, var(--vt-a) 60%, var(--st-card))); }
.st-style-vitrina .st-card:nth-child(even) .st-card-img { background: linear-gradient(160deg, var(--vt-a), color-mix(in srgb, var(--vt-p) 60%, var(--st-card))); }
.st-style-vitrina .st-ph { background: transparent; }
.st-style-vitrina .st-ph .st-art-ic { background: color-mix(in srgb, var(--st-card) 65%, transparent); color: var(--st-green); }
.st-style-vitrina .st-card-title { font-weight: 600 !important; }
.st-style-vitrina .st-card-price b { color: var(--st-ink); font-size: 1.3rem; letter-spacing: -.5px; }
.st-style-vitrina .st-card .st-add { box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--st-green) 80%, transparent); transition: transform .15s, background .15s; }
.st-style-vitrina .st-card .st-add:hover { transform: scale(1.08); }

/* Colecciones con más contraste */
.st-style-vitrina .st-tile.t0 { background: var(--st-green); }
.st-style-vitrina .st-tile.t0 h3, .st-style-vitrina .st-tile.t0 span, .st-style-vitrina .st-tile.t0 small { color: var(--st-on-primary) !important; }
.st-style-vitrina .st-tile.t1 { background: var(--vt-a); }
.st-style-vitrina .st-tile.t2 { background: var(--vt-p); }

/* Franja de beneficios en tarjetas */
.st-style-vitrina .st-benefits .container > .row { background: var(--st-card); border-radius: calc(var(--st-radius) + 4px); padding: 1.2rem .6rem; }
.st-style-vitrina .st-benefit i { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--vt-p); color: var(--st-green); font-size: 1.35rem; }
.st-style-vitrina .st-footer-pay b { color: var(--st-ink); }
.st-style-vitrina .st-story { background: linear-gradient(120deg, var(--vt-p), var(--vt-a)); }
.st-style-vitrina .st-story .st-step i { color: var(--st-green); }
.st-style-vitrina .st-story .st-step span { color: color-mix(in srgb, var(--st-clay) 45%, transparent); }
