/*!
 * Ranyave storefront — css/store.css (owner: store-core). Prefix st-. Needs tokens.css + base.css (rv- kit).
 * Shell (announcement bar, header, search, mega menu, mobile drawer, tab bar, footer, floating buttons), the home sections,
 * info pages and the customizer tabs. Every colour/radius/space/font is a token, so the 8 light + 8 dark schemes, 12 accents,
 * 5 radii, 3 densities, 7 fonts, 4 card styles and the header/sticky/motion options all work with no extra code.
 * The only literals: the image scrim (text over photos must stay readable in every theme).
 */

:root {
  --st-nav-h: 3rem;
  --st-tabbar-h: 4.25rem;
  --st-sec-y: clamp(1.25rem, 2.6vw, 2.25rem);
  --st-sec-band-y: clamp(2.25rem, 5vw, 4.5rem);
  --st-scrim: rgba(8, 12, 24, .82);
  --st-scrim-mid: rgba(8, 12, 24, .38);
  --st-on-scrim: #ffffff;
  --st-scrim-ink: #0f172a;
  --rv-sticky-top: calc(var(--rv-header-h) + var(--st-nav-h) + var(--rv-s4));
}
:root[data-header="compact"] { --st-nav-h: 2.5rem; }
@media (max-width: 1023px) { :root { --rv-sticky-top: var(--rv-s4); } }

/* ==========================================================================
 * 0. Page frame
 * ========================================================================== */
.st-main { display: block; min-height: 60vh; outline: 0; }
.st-view { animation: st-view-in var(--rv-dur-slow) var(--rv-ease) backwards; }
@keyframes st-view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.st-noscript { padding: var(--rv-s4); text-align: center; font-weight: 650; color: var(--rv-on-warning); background: var(--rv-warning-fill); }

@media (max-width: 767px) {
  body { padding-bottom: calc(var(--st-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
  :root { --rv-toast-offset: calc(var(--st-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
}

/* Boot skeleton (static markup in index.php, replaced by the first route) */
.st-boot__hero { padding-block: clamp(1.5rem, 4vw, 3.5rem); background: linear-gradient(135deg, var(--rv-accent-soft) 0%, var(--rv-bg-alt) 70%); }
.st-boot__grid { display: grid; gap: var(--rv-s5); align-items: center; }
.st-boot__text { display: flex; flex-direction: column; gap: var(--rv-s3); max-width: 32rem; }
.st-boot__text .rv-skeleton--title { height: 3rem; width: 90%; }
.st-boot__text .rv-skeleton--btn { width: 11rem; }
.st-boot__img { aspect-ratio: 5 / 4; border-radius: var(--rv-radius-lg); }
.st-boot__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--rv-s4); padding-block: var(--rv-s6); }
@media (min-width: 768px) { .st-boot__grid { grid-template-columns: 1.05fr .95fr; } .st-boot__row { grid-template-columns: repeat(4, 1fr); } }

/* Live dot (inventory pill, hero chips, section eyebrows) */
.st-livedot { position: relative; display: inline-block; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--rv-success); }
.st-livedot[data-state="demo"], [data-state="demo"] > .st-livedot { background: var(--rv-warning); }
.st-livedot[data-state="offline"], [data-state="offline"] > .st-livedot { background: var(--rv-danger); }
.st-livedot[data-state="live"]::after, [data-state="live"] > .st-livedot::after, .st-fchip--stock .st-livedot::after, .rv-eyebrow .st-livedot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: st-ping 2.4s ease-out infinite;
}
.st-fchip--stock[data-state="pocas"] .st-livedot { background: var(--rv-warning); }
@keyframes st-ping { 0% { transform: scale(.4); opacity: .6; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* ==========================================================================
 * 1. Announcement bar + utility buttons
 * ========================================================================== */
.st-topbar { position: relative; z-index: calc(var(--rv-z-header) + 1); color: var(--rv-topbar-text); background: var(--rv-topbar-bg); font-size: var(--rv-fs-xs); }
.st-topbar:empty { min-height: var(--rv-topbar-h); }
.st-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--rv-s4); min-height: var(--rv-topbar-h); }
.st-announce { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: var(--rv-s1); min-width: 0; }
.st-announce__viewport { display: grid; flex: 1 1 auto; min-width: 0; }
.st-announce__item {
  grid-area: 1 / 1; display: block; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em; text-align: center;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--rv-dur-slow) var(--rv-ease), transform var(--rv-dur-slow) var(--rv-ease), visibility 0s linear var(--rv-dur-slow);
}
.st-announce__item.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.st-announce__nav { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; color: inherit; opacity: .75; transition: opacity var(--rv-dur-fast), background-color var(--rv-dur-fast); }
.st-announce__nav:hover, .st-announce__nav:focus-visible { opacity: 1; background: var(--rv-topbar-text); color: var(--rv-topbar-bg); }
.st-topbar :focus-visible { outline-color: var(--rv-topbar-text); }
.st-topbar__right { display: none; align-items: center; gap: var(--rv-s3); flex: none; }
.st-utility { display: flex; align-items: center; gap: var(--rv-s4); }
.st-utility a { display: inline-flex; align-items: center; gap: .35rem; color: var(--rv-topbar-text); font-weight: 600; opacity: .88; white-space: nowrap; }
.st-utility a:hover { opacity: 1; text-decoration: underline; }
@media (min-width: 900px) { .st-topbar__right { display: flex; } .st-announce { flex: 0 1 auto; justify-content: flex-start; } .st-announce__item { text-align: left; } }

.st-pill, .st-topbtn { position: relative; display: inline-flex; align-items: center; gap: .45rem; flex: none; color: var(--rv-topbar-text); font-weight: 650; white-space: nowrap; }
.st-pill { padding: .28rem .75rem; border-radius: var(--rv-radius-tag); font-size: .75rem; isolation: isolate; }
.st-pill::before, .st-topbtn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: currentColor; opacity: .12; transition: opacity var(--rv-dur-fast); }
.st-pill:hover::before, .st-topbtn:hover::before { opacity: .22; }
.st-pill b { font-variant-numeric: tabular-nums; }
.st-topbtn { isolation: isolate; min-height: 1.75rem; padding: 0 .55rem; border-radius: var(--rv-radius-tag); font-size: .75rem; }
.st-topbtn--label span { display: none; }
@media (min-width: 1100px) { .st-topbtn--label span { display: inline; } }
.st-themeico { display: inline-flex; }
.st-themeico--sun { display: none; }
:root[data-theme="dark"] .st-themeico--sun { display: inline-flex; }
:root[data-theme="dark"] .st-themeico--moon { display: none; }

.st-invpop { display: flex; flex-direction: column; gap: var(--rv-s3); padding: var(--rv-s4); }
.st-invpop__title { display: flex; align-items: center; gap: .55rem; font-size: 1rem; }
.st-invpop__text { margin: 0; font-size: var(--rv-fs-sm); color: var(--rv-text-dim); }
.st-invpop__stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--rv-s2); margin: 0; }
.st-invpop__stats > div { padding: var(--rv-s2) var(--rv-s3); background: var(--rv-surface-2); border: 1px solid var(--rv-border); border-radius: var(--rv-radius-sm); }
.st-invpop__stats > div:last-child { grid-column: 1 / -1; }
.st-invpop__stats dt { font-size: .6875rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--rv-text-dim); }
.st-invpop__stats dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }

/* ==========================================================================
 * 2. Header (logo · search · actions) — classic / centered / compact, sticky on|off
 * ========================================================================== */
.st-header {
  position: sticky; top: 0; z-index: var(--rv-z-header);
  color: var(--rv-header-text); background: var(--rv-header-bg); border-bottom: 1px solid var(--rv-header-border);
  transition: box-shadow var(--rv-dur) var(--rv-ease);
}
:root[data-sticky="off"] .st-header { position: relative; }
.st-header:empty { min-height: calc(var(--rv-header-h) + 3rem); }
.st-header.is-condensed { box-shadow: var(--rv-shadow); }
.st-header a { color: inherit; }

.st-header__main {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "burger logo actions" "search search search";
  align-items: center; gap: var(--rv-s2) var(--rv-s2); padding-block: var(--rv-s2) var(--rv-s3);
}
.st-burger { grid-area: burger; margin-left: -.5rem; }
.st-header__logo { grid-area: logo; min-width: 0; }
.st-search { grid-area: search; }
.st-actions { grid-area: actions; }
@media (min-width: 1024px) {
  .st-header__main { grid-template-areas: "logo search actions"; gap: var(--rv-s5); min-height: var(--rv-header-h); padding-block: var(--rv-s2); }
  .st-iconbtn.st-burger { display: none; }
  .st-search { width: 100%; max-width: 46rem; justify-self: center; }
}
:root[data-header="centered"] .st-header__main { grid-template-columns: 1fr auto 1fr; }
@media (min-width: 1024px) {
  :root[data-header="centered"] .st-header__main { grid-template-areas: "search logo actions"; }
  :root[data-header="centered"] .st-header__logo { justify-self: center; }
  :root[data-header="centered"] .st-search { justify-self: start; max-width: 25rem; }
  :root[data-header="centered"] .st-search__cat { display: none; }
  :root[data-header="centered"] .st-actions { justify-self: end; }
  :root[data-header="centered"] .st-nav__inner { justify-content: center; }
  :root[data-header="centered"] .st-nav__list { flex: 0 1 auto; }
  :root[data-header="centered"] .st-logo { font-size: 1.6rem; }
}
:root[data-header="compact"] .st-search__cat { display: none; }
:root[data-header="compact"] .st-search__btn span { display: none; }
:root[data-header="compact"] .st-act__label { display: none; }
:root[data-header="compact"] .st-search__input { height: 2.5rem; }
:root[data-header="compact"] .st-search__btn { padding-inline: .9rem; }

.st-iconbtn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--rv-radius-sm); color: var(--rv-header-text); transition: background-color var(--rv-dur-fast); }
.st-iconbtn:hover { background: var(--rv-header-border); }

.st-logo { display: inline-flex; align-items: center; gap: .6rem; max-width: 100%; color: var(--rv-header-text); font-family: var(--rv-font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: var(--rv-track-display); line-height: 1; text-decoration: none; }
.st-logo:hover { text-decoration: none; }
.st-logo__mark { display: grid; place-items: center; flex: none; width: 2.35rem; height: 2.35rem; color: var(--rv-on-accent); background: var(--rv-accent); border-radius: var(--rv-radius-sm); font-size: 1.2rem; box-shadow: var(--rv-shadow-sm); transition: transform var(--rv-dur) var(--rv-ease); }
.st-logo:hover .st-logo__mark { transform: rotate(-6deg) scale(1.05); }
.st-logo__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Search */
.st-search { position: relative; min-width: 0; }
.st-search__bar {
  display: flex; align-items: stretch; overflow: hidden; color: var(--rv-text); background: var(--rv-surface);
  border: 1.5px solid var(--rv-border-strong); border-radius: var(--rv-radius);
  transition: border-color var(--rv-dur-fast) var(--rv-ease), box-shadow var(--rv-dur-fast) var(--rv-ease);
}
.st-search__bar:focus-within { border-color: var(--rv-accent); box-shadow: 0 0 0 3px var(--rv-accent-soft); }
.st-search__cat {
  display: none; flex: 0 1 11rem; min-width: 0; padding: 0 .75rem; color: var(--rv-text-dim); background: var(--rv-surface-2);
  border: 0; border-right: 1px solid var(--rv-border); font-size: .8125rem; font-weight: 600; cursor: pointer;
}
.st-search__cat:focus-visible { outline-offset: -2px; }
@media (min-width: 640px) { .st-search__cat { display: block; } }
.st-search__input { flex: 1 1 auto; min-width: 0; height: 2.75rem; padding: 0 var(--rv-s4); color: var(--rv-text); background: transparent; border: 0; outline: 0; font-size: .9375rem; }
.st-search__input::-webkit-search-cancel-button { appearance: none; }
.st-search__btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; flex: none; padding: 0 1rem; color: var(--rv-on-accent); background: var(--rv-accent); font-weight: 700; font-size: .875rem; transition: background-color var(--rv-dur-fast); }
.st-search__btn:hover { background: var(--rv-accent-hover); }
.st-search__btn span { display: none; }
@media (min-width: 1280px) { .st-search__btn span { display: inline; } .st-search__btn { padding-inline: 1.25rem; } }
.st-search__btn:focus-visible { outline-offset: -3px; outline-color: var(--rv-on-accent); }

.st-suggest {
  position: absolute; top: calc(100% + .4rem); left: 0; right: 0; z-index: var(--rv-z-dropdown); max-height: min(70vh, 32rem); overflow: auto;
  color: var(--rv-text); background: var(--rv-surface); border: 1px solid var(--rv-border); border-radius: var(--rv-radius); box-shadow: var(--rv-shadow-lg);
  animation: st-pop var(--rv-dur) var(--rv-ease) backwards;
}
@keyframes st-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.st-suggest__title { padding: var(--rv-s3) var(--rv-s4) var(--rv-s1); font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rv-text-dim); }
.st-suggest__item { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; align-items: center; gap: var(--rv-s3); padding: var(--rv-s2) var(--rv-s4); color: var(--rv-text); text-decoration: none; }
.st-suggest__item:hover, .st-suggest__item.is-active, .st-suggest__all:hover, .st-suggest__all.is-active { background: var(--rv-accent-soft); text-decoration: none; }
.st-suggest__img { display: block; width: 3.25rem; aspect-ratio: 1; overflow: hidden; background: var(--rv-surface-3); border-radius: var(--rv-radius-sm); }
.st-suggest__main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.st-suggest__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9375rem; font-weight: 650; }
.st-suggest__name mark { padding: 0; color: var(--rv-accent-ink); background: transparent; font-weight: 800; }
.st-suggest__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .1rem .5rem; font-size: .75rem; color: var(--rv-text-dim); }
.st-suggest__price { text-align: right; white-space: nowrap; }
.st-suggest__all { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: var(--rv-s3) var(--rv-s4); font-size: .875rem; font-weight: 700; color: var(--rv-accent-ink); text-decoration: none; border-top: 1px solid var(--rv-border); }
.st-suggest__empty { display: flex; flex-direction: column; align-items: center; gap: var(--rv-s2); padding: var(--rv-s6) var(--rv-s4); text-align: center; color: var(--rv-text-dim); }
.st-suggest__empty p { margin: 0; }
.st-suggest__hint { font-size: var(--rv-fs-sm); }
.st-suggest__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }

/* Header actions */
.st-actions { display: flex; align-items: center; gap: .1rem; }
.st-act {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-width: 2.75rem; min-height: 2.75rem; padding: .3rem .45rem;
  color: var(--rv-header-text); border-radius: var(--rv-radius-sm); font-size: .6875rem; font-weight: 650; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color var(--rv-dur-fast) var(--rv-ease), color var(--rv-dur-fast) var(--rv-ease);
}
.st-act:hover { background: var(--rv-header-border); text-decoration: none; }
.st-act .rv-icon { width: 1.5rem; height: 1.5rem; }
.st-act__label { display: none; }
.st-act--account, .st-act--compare { display: none; }
@media (min-width: 768px) { .st-act--account, .st-act--compare { display: inline-flex; } .st-act__label { display: block; } }
.st-act--cart:hover .rv-icon { color: var(--rv-accent-ink); }
.st-badge {
  position: absolute; top: .05rem; right: .1rem; display: grid; place-items: center; min-width: 1.15rem; height: 1.15rem; padding: 0 .3rem;
  color: var(--rv-on-accent-2); background: var(--rv-accent-2); border-radius: var(--rv-radius-tag); font-size: .6875rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--rv-header-bg);
}
.st-act--cart .st-badge, .st-act--wish .st-badge, .st-act--compare .st-badge { right: .3rem; }

/* Category nav row + mega menu */
.st-nav { position: relative; display: none; background: var(--rv-header-bg); border-top: 1px solid var(--rv-header-border); }
@media (min-width: 1024px) { .st-nav { display: block; } }
.st-nav__inner { display: flex; align-items: center; gap: var(--rv-s3); min-height: var(--st-nav-h); }
.st-nav__all {
  display: inline-flex; align-items: center; gap: .55rem; flex: none; padding: .5rem .95rem; color: var(--rv-on-accent); background: var(--rv-accent);
  border-radius: var(--rv-radius-sm); font-size: .875rem; font-weight: 700; transition: background-color var(--rv-dur-fast);
}
.st-nav__all:hover { background: var(--rv-accent-hover); }
.st-nav__all:focus-visible { outline-offset: 2px; }
.st-nav__chev { transition: transform var(--rv-dur) var(--rv-ease); }
.st-nav__all[aria-expanded="true"] .st-nav__chev { transform: rotate(180deg); }
.st-nav__list, .st-nav__fixed { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.st-nav__list { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.st-nav__list li:nth-child(n + 4) { display: none; }
@media (min-width: 1280px) { .st-nav__list li:nth-child(n + 4) { display: block; } .st-nav__list li:nth-child(n + 7) { display: none; } }
@media (min-width: 1500px) { .st-nav__list li:nth-child(n + 7) { display: block; } .st-nav__list li:nth-child(n + 9) { display: none; } }
.st-nav__fixed { flex: none; margin-left: auto; padding-left: var(--rv-s3); border-left: 1px solid var(--rv-header-border); }
.st-nav__link { position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .8rem; color: var(--rv-header-text); border-radius: var(--rv-radius-sm); font-size: .875rem; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color var(--rv-dur-fast), color var(--rv-dur-fast); }
.st-nav__link:hover { color: var(--rv-accent-ink); background: var(--rv-accent-soft); text-decoration: none; }
.st-nav__link[aria-current="page"] { color: var(--rv-accent-ink); }
.st-nav__link[aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 0; height: 2px; background: var(--rv-accent); border-radius: 2px; }
.st-nav__link--hot { color: var(--rv-accent-2-ink); }
.st-nav__link--hot:hover { color: var(--rv-accent-2-ink); background: var(--rv-accent-2-soft); }

.st-mega {
  position: absolute; top: 100%; left: 0; right: 0; z-index: var(--rv-z-dropdown); width: min(var(--rv-container), 100%); margin-inline: auto; max-height: min(34rem, calc(100vh - 11rem)); overflow: auto;
  color: var(--rv-text); background: var(--rv-surface); border: 1px solid var(--rv-border); border-top: 0; border-radius: 0 0 var(--rv-radius-lg) var(--rv-radius-lg); box-shadow: var(--rv-shadow-lg);
}
.st-mega__inner { display: grid; grid-template-columns: 17rem minmax(0, 1fr); min-height: 21rem; }
.st-mega__list { margin: 0; padding: var(--rv-s3); list-style: none; background: var(--rv-surface-2); border-right: 1px solid var(--rv-border); }
.st-mega__cat { display: flex; align-items: center; gap: .7rem; padding: .5rem .65rem; color: var(--rv-text); border-radius: var(--rv-radius-sm); font-size: .875rem; font-weight: 600; text-decoration: none; transition: background-color var(--rv-dur-fast); }
.st-mega__cat:hover { text-decoration: none; }
.st-mega__cat.is-active { color: var(--rv-accent-ink); background: var(--rv-surface); box-shadow: var(--rv-shadow-sm), inset 3px 0 0 var(--rv-accent); }
.st-mega__label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-mega__count { font-size: .75rem; font-weight: 700; color: var(--rv-text-faint); font-variant-numeric: tabular-nums; }
.st-mega__cat > .rv-icon { color: var(--rv-text-faint); }
.st-mega__panes { min-width: 0; padding: var(--rv-s5); }
.st-mega__pane { display: grid; grid-template-columns: minmax(0, 1fr) 14rem; gap: var(--rv-s5); height: 100%; }
.st-mega__pane[hidden] { display: none; }
.st-mega__main { display: flex; flex-direction: column; gap: var(--rv-s4); min-width: 0; }
.st-mega__head { display: flex; align-items: center; gap: var(--rv-s3); }
.st-mega__headtext { flex: 1 1 auto; min-width: 0; }
.st-mega__headtext h3 { font-size: var(--rv-fs-xl); }
.st-mega__headtext p { margin-top: .15rem; font-size: var(--rv-fs-sm); color: var(--rv-text-dim); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-mega__products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--rv-s3); }
.st-mega__none { margin: 0; color: var(--rv-text-dim); }
.st-mega__none--pad { padding: var(--rv-s6); }
.st-mini { display: flex; flex-direction: column; gap: .4rem; min-width: 0; color: var(--rv-text); text-decoration: none; }
.st-mini:hover { text-decoration: none; }
.st-mini__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--rv-surface-3); border-radius: var(--rv-radius-sm); }
.st-mini__img .rv-img { transition: transform var(--rv-dur-slow) var(--rv-ease); }
.st-mini:hover .st-mini__img .rv-img { transform: scale(1.06); }
.st-mini__name { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.st-mini:hover .st-mini__name { color: var(--rv-accent-ink); }
.st-mega__pane .st-promo { min-height: 0; height: 100%; }
@media (max-width: 1279px) { .st-mega__pane { grid-template-columns: minmax(0, 1fr); } .st-mega__pane .st-promo { display: none; } .st-mega__inner { grid-template-columns: 14rem minmax(0, 1fr); } }

.st-catico { display: inline-grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; color: var(--cat, var(--rv-accent-ink)); background: var(--rv-surface-3); border-radius: 50%; position: relative; isolation: isolate; overflow: hidden; }
.st-catico::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cat, var(--rv-accent)); opacity: .16; }
.st-catico--lg { width: 3.25rem; height: 3.25rem; }
.st-catico--lg .rv-icon { width: 1.6rem; height: 1.6rem; }

/* ==========================================================================
 * 3. Mobile drawer + bottom tab bar
 * ========================================================================== */
.st-menu { display: flex; flex-direction: column; gap: var(--rv-s4); }
.st-menu__quick { display: flex; flex-wrap: wrap; gap: .4rem; }
.st-menu__h { margin-top: var(--rv-s2); font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rv-text-dim); font-family: var(--rv-font); }
.st-menu__cats { display: flex; flex-direction: column; }
.st-menu__acc > summary { display: flex; align-items: center; gap: .7rem; min-height: 3rem; font-weight: 650; }
.st-menu__lbl { flex: 1 1 auto; min-width: 0; }
.st-menu__n { padding: .05rem .5rem; font-size: .75rem; font-weight: 700; color: var(--rv-text-dim); background: var(--rv-surface-3); border-radius: var(--rv-radius-tag); font-variant-numeric: tabular-nums; }
.st-menu__acc .rv-accordion__body { display: flex; flex-direction: column; gap: .15rem; padding-left: 2.8rem; }
.st-menu__all, .st-menu__prod { display: block; padding: .45rem 0; color: var(--rv-text-dim); font-size: .875rem; }
.st-menu__all { display: inline-flex; align-items: center; gap: .35rem; color: var(--rv-accent-ink); font-weight: 700; }
.st-menu__prod { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-menu__empty { margin: 0; color: var(--rv-text-dim); }
.st-menu__links { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.st-menu__links a, .st-menu__links button { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 2.9rem; padding: 0 .25rem; color: var(--rv-text); font-weight: 600; text-decoration: none; border-radius: var(--rv-radius-sm); }
.st-menu__links a:hover, .st-menu__links button:hover { background: var(--rv-surface-3); text-decoration: none; }
.st-menu__links .st-menu__n { margin-left: auto; }
.st-menu__foot { display: flex; flex-wrap: wrap; gap: var(--rv-s2); padding-top: var(--rv-s4); border-top: 1px solid var(--rv-border); }
.st-menu__brand { margin: 0; font-size: var(--rv-fs-xs); color: var(--rv-text-faint); }

.st-tabbar {
  position: fixed; inset: auto 0 0 0; z-index: var(--rv-z-header); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--st-tabbar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
  color: var(--rv-header-text); background: var(--rv-header-bg); border-top: 1px solid var(--rv-header-border); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06);
}
@media (min-width: 768px) { .st-tabbar { display: none; } }
.st-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-width: 0; color: var(--rv-text-dim); font-size: .6875rem; font-weight: 650; text-decoration: none; transition: color var(--rv-dur-fast); }
.st-tab:hover { text-decoration: none; }
.st-tab[aria-current="page"], .st-tab:active { color: var(--rv-accent-ink); }
.st-tab[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; background: var(--rv-accent); border-radius: 0 0 3px 3px; }
.st-tab .st-badge { top: .45rem; right: calc(50% - 1.5rem); box-shadow: 0 0 0 2px var(--rv-header-bg); }

/* ==========================================================================
 * 4. Footer + floating buttons
 * ========================================================================== */
.st-footer { color: var(--rv-footer-text); background: var(--rv-footer-bg); }
.st-footer a { color: var(--rv-footer-dim); }
.st-footer a:hover { color: var(--rv-footer-text); }
.st-footer :focus-visible { outline-color: var(--rv-footer-text); }
.st-foot__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rv-s6) var(--rv-s5); padding-block: var(--st-sec-band-y) var(--rv-s6); }
.st-foot__brand, .st-foot__news { grid-column: 1 / -1; }
@media (min-width: 768px) { .st-foot__top { grid-template-columns: repeat(4, minmax(0, 1fr)); } .st-foot__brand { grid-column: 1 / -1; } .st-foot__news { grid-column: auto; } }
@media (min-width: 1100px) { .st-foot__top { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) 1.35fr; } .st-foot__brand { grid-column: auto; } }
.st-footer .st-logo { color: var(--rv-footer-text); }
.st-foot__tag { margin: var(--rv-s3) 0 0; max-width: 24rem; color: var(--rv-footer-dim); font-size: var(--rv-fs-sm); }
.st-foot__contact { display: flex; flex-direction: column; gap: .5rem; margin: var(--rv-s4) 0 0; padding: 0; list-style: none; font-size: var(--rv-fs-sm); color: var(--rv-footer-dim); }
.st-foot__contact li { display: flex; align-items: flex-start; gap: .6rem; }
.st-foot__contact .rv-icon { margin-top: .15rem; color: var(--rv-footer-text); }
.st-foot__social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--rv-s4); }
.st-social { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; color: var(--rv-footer-text) !important; border: 1px solid var(--rv-footer-dim); border-radius: 50%; transition: background-color var(--rv-dur-fast), color var(--rv-dur-fast); }
.st-social:hover { color: var(--rv-footer-bg) !important; background: var(--rv-footer-text); text-decoration: none; }
.st-foot__h { margin-bottom: var(--rv-s3); color: var(--rv-footer-text); font-family: var(--rv-font); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.st-foot__col ul { display: flex; flex-direction: column; gap: .45rem; margin: 0; padding: 0; list-style: none; font-size: var(--rv-fs-sm); }
.st-foot__col li a { display: inline-block; padding: .1rem 0; }
.st-foot__more { display: inline-flex !important; align-items: center; gap: .35rem; color: var(--rv-footer-text) !important; font-weight: 650; }
.st-foot__news p { margin: 0 0 var(--rv-s3); color: var(--rv-footer-dim); font-size: var(--rv-fs-sm); }
.st-foot__form { display: flex; flex-direction: column; gap: var(--rv-s2); }
.st-foot__formmsg { min-height: 1.25rem; margin: var(--rv-s2) 0 0 !important; font-size: var(--rv-fs-xs) !important; }
.st-foot__formmsg.is-ok { color: var(--rv-footer-text) !important; }
.st-foot__formmsg.is-err { color: var(--rv-footer-text) !important; font-weight: 650; }
.st-foot__pay { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rv-s3) var(--rv-s5); padding-block: var(--rv-s5); position: relative; }
.st-foot__pay::before, .st-foot__bottom::before { content: ""; position: absolute; top: 0; left: var(--rv-gutter); right: var(--rv-gutter); height: 1px; background: currentColor; opacity: .16; }
.st-foot__paylabel { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rv-footer-dim); }
.st-foot__paylist { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.st-pay { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; color: var(--rv-footer-text); border: 1px solid var(--rv-footer-dim); border-radius: var(--rv-radius-tag); font-size: .8125rem; font-weight: 600; }
.st-foot__bottom { position: relative; padding-block: var(--rv-s4) var(--rv-s5); font-size: var(--rv-fs-xs); color: var(--rv-footer-dim); }
.st-foot__bottom::before { left: 0; right: 0; }
.st-foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--rv-s2) var(--rv-s5); }
.st-foot__bar p { margin: 0; }
.st-foot__stats { font-variant-numeric: tabular-nums; }
.st-foot__legal { display: flex; flex-wrap: wrap; gap: var(--rv-s4); }

.st-floats { position: fixed; right: max(var(--rv-s4), env(safe-area-inset-right)); bottom: calc(var(--rv-s4) + env(safe-area-inset-bottom, 0px)); z-index: var(--rv-z-sticky); display: flex; flex-direction: column; align-items: flex-end; gap: var(--rv-s3); pointer-events: none; }
@media (max-width: 767px) { .st-floats { bottom: calc(var(--st-tabbar-h) + var(--rv-s3) + env(safe-area-inset-bottom, 0px)); } }
.st-fab { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; box-shadow: var(--rv-shadow-lg); pointer-events: auto; transition: transform var(--rv-dur) var(--rv-ease), box-shadow var(--rv-dur) var(--rv-ease); }
.st-fab:hover { transform: translateY(-3px) scale(1.04); text-decoration: none; }
.st-fab--wa { color: var(--rv-on-success); background: var(--rv-success-fill); }
.st-fab--wa:hover { color: var(--rv-on-success); }
.st-fab--top { width: 2.75rem; height: 2.75rem; color: var(--rv-text); background: var(--rv-surface); border: 1px solid var(--rv-border-strong); }

/* ==========================================================================
 * 5. Home — section rhythm
 * ========================================================================== */
.st-sec { padding-block: var(--st-sec-y); transition: opacity var(--rv-dur-slow) var(--rv-ease), transform var(--rv-dur-slow) var(--rv-ease); }
.st-sec[hidden] { display: none; }
.st-sec[data-reveal="pending"] { opacity: 0; transform: translateY(20px); }
.st-sec[data-reveal="in"] { opacity: 1; transform: none; }
.st-sec--hero { padding-block: 0; }
.st-sec--line { padding-block: 0; background: var(--rv-surface); border-block: 1px solid var(--rv-border); }
.st-sec--alt { padding-block: var(--st-sec-band-y); background: var(--rv-bg-alt); }
.st-sec--ink { padding-block: var(--st-sec-band-y); color: var(--rv-footer-text); background: var(--rv-footer-bg); }
.st-sec--ink h2 { color: var(--rv-footer-text); }
.st-sec--ink .rv-eyebrow { color: var(--rv-footer-dim); }
.st-sec--ink :focus-visible { outline-color: var(--rv-footer-text); }
.st-sechead--hot .rv-eyebrow { color: var(--rv-accent-2-ink); }
.st-sechead--hot .rv-section-title__h::after, .st-sechead--hot .rv-section-title__text > h2::after { background: var(--rv-accent-2); }
.st-cdlabel { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rv-text-dim); }

/* Rails: product rails follow the grid option (data-grid), category rails show circles */
.st-rail--products { --rv-rail-cols: 2.15; }
@media (min-width: 480px) { .st-rail--products { --rv-rail-cols: 2.8; } }
@media (min-width: 768px) { .st-rail--products { --rv-rail-cols: 3.6; } }
@media (min-width: 1024px) { .st-rail--products { --rv-rail-cols: var(--rv-grid-cols); } }
.st-rail--cats { --rv-rail-cols: 3.3; }
@media (min-width: 480px) { .st-rail--cats { --rv-rail-cols: 4.3; } }
@media (min-width: 768px) { .st-rail--cats { --rv-rail-cols: 6.2; } }
@media (min-width: 1024px) { .st-rail--cats { --rv-rail-cols: 7.4; } }
.st-rail .rv-pcard { height: 100%; }
.st-rail__item-wrap { min-width: 0; }

/* ==========================================================================
 * 6. Hero
 * ========================================================================== */
.st-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--rv-accent-soft) 0%, var(--rv-bg-alt) 72%); }
.st-hero::before, .st-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.st-hero::before { top: -9rem; right: -6rem; width: 30rem; height: 30rem; background: var(--rv-accent); opacity: .16; filter: blur(80px); }
.st-hero::after { bottom: -10rem; left: -8rem; width: 26rem; height: 26rem; background: var(--rv-accent-2); opacity: .14; filter: blur(80px); }
.st-hero__grid { display: grid; gap: var(--rv-s5); padding-block: clamp(1.5rem, 4vw, 3.25rem); }
@media (min-width: 1100px) { .st-hero__grid.has-side { grid-template-columns: minmax(0, 1fr) 19rem; } }
.st-carousel { position: relative; min-width: 0; }
.st-slides { display: grid; }
.st-slide {
  grid-area: 1 / 1; display: grid; gap: var(--rv-s5); align-items: center; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(14px);
  transition: opacity var(--rv-dur-slow) var(--rv-ease), transform var(--rv-dur-slow) var(--rv-ease), visibility 0s linear var(--rv-dur-slow);
}
.st-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 768px) { .st-slide { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--rv-s6); } }
.st-slide__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--rv-s4); min-width: 0; }
.st-slide__title { font-size: clamp(2rem, 1.1rem + 3.2vw, 3.6rem); line-height: 1.04; letter-spacing: var(--rv-track-display); }
.st-hl { color: var(--rv-accent-ink); }
.st-slide__lead { max-width: 34rem; margin: 0; font-size: var(--rv-fs-lg); color: var(--rv-text-dim); }
.st-slide__cta { display: flex; flex-wrap: wrap; gap: var(--rv-s3); }
.st-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rv-s3) var(--rv-s4); width: 100%; max-width: 34rem; margin: var(--rv-s2) 0 0; padding: 0; list-style: none; }
.st-perk { display: flex; align-items: flex-start; gap: .55rem; min-width: 0; }
.st-perk .rv-icon { flex: none; margin-top: .1rem; color: var(--rv-accent-ink); }
.st-perk span { display: flex; flex-direction: column; min-width: 0; font-size: .8125rem; line-height: 1.3; }
.st-perk b { font-weight: 700; }
.st-perk small { color: var(--rv-text-dim); font-size: .75rem; }

.st-slide__media { position: relative; min-width: 0; }
.st-slide__mask {
  position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--tone, var(--rv-accent));
  border-radius: calc(var(--rv-radius-lg) * 1.7) calc(var(--rv-radius-lg) * .6) calc(var(--rv-radius-lg) * 1.7) calc(var(--rv-radius-lg) * .6); box-shadow: var(--rv-shadow-lg);
}
.st-slide__mask .rv-img { transition: transform 1.2s var(--rv-ease); }
.st-slide.is-active .st-slide__mask .rv-img { transform: scale(1.03); }
.st-fchip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; max-width: calc(100% - 1.5rem); padding: .45rem .8rem; color: var(--rv-text);
  background: var(--rv-surface); border: 1px solid var(--rv-border); border-radius: var(--rv-radius-tag); box-shadow: var(--rv-shadow-lg); font-size: .8125rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  animation: st-float 6s ease-in-out infinite;
}
@keyframes st-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
a.st-fchip:hover { text-decoration: none; border-color: var(--rv-accent); }
.st-fchip--stock { top: .9rem; left: .9rem; color: var(--rv-success-ink); animation-delay: -2s; }
.st-fchip--stock[data-state="pocas"] { color: var(--rv-warning-ink); }
.st-fchip--product { left: .75rem; bottom: .9rem; padding: .35rem .85rem .35rem .35rem; border-radius: var(--rv-radius-lg); animation-delay: -4s; }
.st-fchip__img { display: block; flex: none; width: 2.6rem; height: 2.6rem; overflow: hidden; background: var(--rv-surface-3); border-radius: var(--rv-radius-sm); }
.st-fchip__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.st-fchip__txt b { max-width: 11rem; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.st-fchip__txt span { font-weight: 500; font-size: .75rem; color: var(--rv-text-dim); }
.st-fchip__txt strong { color: var(--rv-text); font-weight: 800; font-size: .875rem; font-variant-numeric: tabular-nums; }
.st-fchip--off { top: .9rem; right: .9rem; width: 3.6rem; height: 3.6rem; justify-content: center; padding: 0; color: var(--rv-on-accent-2); background: var(--rv-accent-2); border-color: transparent; border-radius: 50%; font-family: var(--rv-font-display); font-size: 1rem; font-weight: 800; animation-delay: -1s; }
@media (min-width: 1280px) { .st-fchip--product { left: -1.5rem; } }

.st-carousel__ctrl { display: flex; align-items: center; gap: var(--rv-s3); margin-top: var(--rv-s4); }
.st-dots { display: flex; align-items: center; gap: .4rem; }
.st-dotbtn { position: relative; width: .6rem; height: .6rem; padding: 0; background: var(--rv-border-strong); border-radius: var(--rv-radius-pill); transition: width var(--rv-dur) var(--rv-ease), background-color var(--rv-dur); }
.st-dotbtn::after { content: ""; position: absolute; inset: -.6rem -.2rem; }
.st-dotbtn:hover { background: var(--rv-text-faint); }
.st-dotbtn.is-active { width: 1.75rem; background: var(--rv-accent); }
.st-pause { margin-left: auto; }
.st-pause .is-play { display: none; }
.st-pause.is-paused .is-play { display: block; }
.st-pause.is-paused .is-pause { display: none; }
@media (max-width: 767px) { .st-carousel__ctrl .rv-rail__btn:not(.st-pause) { display: none; } .st-carousel__ctrl { justify-content: space-between; } }

.st-hero__side { display: none; flex-direction: column; gap: var(--rv-s4); }
@media (min-width: 1100px) { .st-hero__side { display: flex; } .st-hero__side .st-promo { flex: 1 1 0; } }

/* ==========================================================================
 * 7. Promo tiles (hero side, banners, mega menu)
 * ========================================================================== */
.st-promo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 13rem; padding: var(--rv-s5); overflow: hidden; isolation: isolate;
  color: var(--st-on-scrim); background: var(--tone, linear-gradient(135deg, var(--rv-accent), var(--rv-footer-bg)));
  border-radius: var(--rv-radius-lg); text-decoration: none; box-shadow: var(--rv-shadow-sm);
  transition: transform var(--rv-dur) var(--rv-ease), box-shadow var(--rv-dur) var(--rv-ease);
}
.st-promo:hover { color: var(--st-on-scrim); text-decoration: none; transform: translateY(-4px); box-shadow: var(--rv-shadow-lg); }
.st-promo__img { position: absolute; inset: 0; z-index: -2; display: block; }
.st-promo__img .rv-img { transition: transform .7s var(--rv-ease); }
.st-promo:hover .st-promo__img .rv-img { transform: scale(1.06); }
.st-promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--st-scrim) 0%, var(--st-scrim-mid) 55%, transparent 100%); }
.st-promo__body { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.st-promo__eyebrow { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.st-promo__title { font-family: var(--rv-font-display); font-size: var(--rv-fs-2xl); font-weight: var(--rv-fw-display); letter-spacing: var(--rv-track-display); line-height: 1.12; text-wrap: balance; }
.st-promo__text { max-width: 22rem; font-size: var(--rv-fs-sm); opacity: .92; }
.st-promo__cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: var(--rv-s2); padding: .5rem .95rem; color: var(--st-scrim-ink); background: var(--st-on-scrim); border-radius: var(--rv-radius-tag); font-size: .8125rem; font-weight: 750; transition: gap var(--rv-dur) var(--rv-ease); }
.st-promo:hover .st-promo__cta { gap: .65rem; }
.st-promo:focus-visible { outline-offset: 3px; }
.st-promo--banner { min-height: 16rem; }
.st-banners { display: grid; gap: var(--rv-s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .st-banners { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rv-s5); } .st-promo--banner { min-height: 18rem; } }
.st-promo--mega { padding: var(--rv-s4); }
.st-promo--mega .st-promo__title { font-size: var(--rv-fs-lg); }

/* ==========================================================================
 * 8. Trust · categories · flash · tabs · triple · catalog · guides · stats · testimonials · newsletter
 * ========================================================================== */
.st-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rv-s4) var(--rv-s4); margin: 0; padding: var(--rv-s5) 0; list-style: none; }
@media (min-width: 1024px) { .st-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--rv-s5); } .st-trust__item + .st-trust__item { padding-left: var(--rv-s5); border-left: 1px solid var(--rv-border); } }
.st-trust__item { display: flex; align-items: flex-start; gap: var(--rv-s3); min-width: 0; }
.st-trust__ico { display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; color: var(--rv-accent-ink); background: var(--rv-accent-soft); border-radius: 50%; }
.st-trust__t { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.25; }
.st-trust__item p { margin: .15rem 0 0; font-size: .8125rem; line-height: 1.4; color: var(--rv-text-dim); }
@media (max-width: 767px) { .st-trust { padding: var(--rv-s4) 0; } .st-trust__ico { width: 2.4rem; height: 2.4rem; } .st-trust__item p { display: none; } }

.st-cat { display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .25rem .1rem .5rem; color: var(--rv-text); text-align: center; text-decoration: none; transition: transform var(--rv-dur) var(--rv-ease); }
.st-cat:hover { color: var(--rv-text); text-decoration: none; transform: translateY(-4px); }
.st-cat__circle {
  position: relative; display: grid; place-items: center; width: min(100%, 7.25rem); aspect-ratio: 1; overflow: hidden; margin: 5px; color: var(--cat, var(--rv-accent-ink)); background: var(--rv-surface-3);
  border-radius: 50%; box-shadow: 0 0 0 3px var(--rv-bg), 0 0 0 5px var(--cat, var(--rv-accent)); transition: box-shadow var(--rv-dur) var(--rv-ease), transform var(--rv-dur) var(--rv-ease);
}
.st-sec--alt .st-cat__circle { box-shadow: 0 0 0 3px var(--rv-bg-alt), 0 0 0 5px var(--cat, var(--rv-accent)); }
.st-cat:hover .st-cat__circle { box-shadow: 0 0 0 3px var(--rv-bg), 0 0 0 7px var(--cat, var(--rv-accent)); }
.st-cat__circle .rv-img { position: absolute; inset: 0; transition: transform .6s var(--rv-ease); }
.st-cat:hover .st-cat__circle .rv-img { transform: scale(1.08); }
.st-cat__circle:not(:has(.rv-img))::before { content: ""; position: absolute; inset: 0; background: var(--cat, var(--rv-accent)); opacity: .16; }
.st-cat__label { font-size: .875rem; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.st-cat__count { font-size: .75rem; color: var(--rv-text-dim); }
.st-cat--all .st-cat__circle { color: var(--rv-accent-ink); background: var(--rv-accent-soft); box-shadow: 0 0 0 3px var(--rv-bg), 0 0 0 5px var(--rv-border-strong); }

.st-flashitem { display: flex; flex-direction: column; gap: var(--rv-s2); }
.st-flashitem .rv-pcard { flex: 1 1 auto; }
.st-meter { display: flex; flex-direction: column; gap: .35rem; padding: 0 .15rem; }
.st-meter__row { display: flex; justify-content: space-between; gap: var(--rv-s2); font-size: .75rem; color: var(--rv-text-dim); }
.st-meter__row b { color: var(--rv-accent-2-ink); font-weight: 800; }

.st-tabs { margin-bottom: var(--rv-s5); }
.st-tabpanel:focus-visible { outline-offset: 4px; border-radius: var(--rv-radius); }

.st-triple { display: grid; gap: var(--rv-s6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .st-triple { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rv-s5); } }
.st-list__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--rv-s3); margin-bottom: var(--rv-s4); padding-bottom: var(--rv-s3); border-bottom: 1px solid var(--rv-border); }
.st-list__title { position: relative; font-family: var(--rv-font); font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.st-list__title::after { content: ""; position: absolute; left: 0; bottom: calc(-.75rem - 1px); width: 2.5rem; height: 3px; background: var(--rv-accent); border-radius: 3px; }
.st-list__head .rv-section-title__link { padding: 0; font-size: .8125rem; }
.st-list__items { display: flex; flex-direction: column; gap: var(--rv-s3); }

.st-chips { display: flex; gap: .5rem; margin-bottom: var(--rv-s5); padding: 2px 2px var(--rv-s2); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.st-chips::-webkit-scrollbar { display: none; }
.st-chips .rv-chip { flex: none; }
.st-catalog__more { display: flex; justify-content: center; margin-top: var(--rv-s6); }

.st-guides { display: grid; gap: var(--rv-s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .st-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .st-guides { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--rv-s5); } }
.st-guide { display: flex; flex-direction: column; overflow: hidden; color: var(--rv-text); background: var(--rv-surface); border: 1px solid var(--rv-border); border-radius: var(--rv-radius-lg); text-decoration: none; transition: transform var(--rv-dur) var(--rv-ease), box-shadow var(--rv-dur) var(--rv-ease); }
.st-guide:hover { color: var(--rv-text); text-decoration: none; transform: translateY(-4px); box-shadow: var(--rv-shadow); }
.st-guide__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rv-surface-3); }
.st-guide__img .rv-img { transition: transform .7s var(--rv-ease); }
.st-guide:hover .st-guide__img .rv-img { transform: scale(1.06); }
.st-guide__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: .4rem; padding: var(--rv-s4) var(--rv-s4) var(--rv-s5); }
.st-guide__title { font-family: var(--rv-font-display); font-size: var(--rv-fs-lg); font-weight: var(--rv-fw-display); letter-spacing: var(--rv-track-display); line-height: 1.22; }
.st-guide__text { font-size: var(--rv-fs-sm); color: var(--rv-text-dim); }
.st-guide__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: var(--rv-s2); font-size: .8125rem; font-weight: 750; color: var(--rv-accent-ink); }

.st-stats__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--rv-s3) var(--rv-s6); margin-bottom: var(--rv-s6); }
.st-stats__head > div { display: flex; flex-direction: column; gap: .5rem; }
.st-stats__head h2 { font-size: var(--rv-fs-3xl); }
.st-stats__head p { max-width: 30rem; margin: 0; color: var(--rv-footer-dim); font-size: var(--rv-fs-sm); }
.st-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rv-s4); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .st-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--rv-s5); } }
.st-stat { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: var(--rv-s5) var(--rv-s4) var(--rv-s4); min-width: 0; border-top: 4px solid var(--rv-accent); background: transparent; }
.st-stat::before { content: ""; position: absolute; inset: 0; z-index: 0; background: currentColor; opacity: .06; pointer-events: none; }
.st-stat > * { position: relative; }
.st-stat__ico { color: var(--rv-footer-dim); }
.st-stat__n { font-family: var(--rv-font-display); font-size: clamp(2.25rem, 1.2rem + 3.8vw, 4.25rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--rv-footer-text); overflow-wrap: anywhere; }
.st-stat__l { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rv-footer-dim); }

.st-testi { display: grid; gap: var(--rv-s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .st-testi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.st-quote { display: flex; flex-direction: column; gap: var(--rv-s3); margin: 0; padding: var(--rv-s5); background: var(--rv-surface); border: 1px solid var(--rv-border); border-radius: var(--rv-radius-lg); }
.st-quote blockquote { margin: 0; font-size: var(--rv-fs-md); }
.st-quote figcaption { display: flex; flex-direction: column; margin-top: auto; font-size: var(--rv-fs-sm); color: var(--rv-text-dim); }
.st-quote figcaption b { color: var(--rv-text); }

.st-news {
  position: relative; display: grid; gap: var(--rv-s5); align-items: center; padding: clamp(1.5rem, 4vw, 2.75rem); overflow: hidden; isolation: isolate;
  color: var(--rv-on-accent); background: var(--rv-accent); border-radius: var(--rv-radius-lg);
}
.st-news::before, .st-news::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: var(--rv-on-accent); opacity: .1; pointer-events: none; }
.st-news::before { top: -6rem; right: -4rem; width: 18rem; height: 18rem; }
.st-news::after { bottom: -7rem; right: 22%; width: 14rem; height: 14rem; }
@media (min-width: 900px) { .st-news { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.st-news__text { display: flex; align-items: center; gap: var(--rv-s4); }
.st-news__ico { display: grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; color: var(--rv-accent-ink); background: var(--rv-on-accent); border-radius: 50%; }
.st-news h2 { color: var(--rv-on-accent); font-size: var(--rv-fs-2xl); }
.st-news p { margin: .25rem 0 0; opacity: .92; }
.st-news__row { display: flex; flex-direction: column; gap: var(--rv-s2); }
@media (min-width: 560px) { .st-news__row { flex-direction: row; } .st-news__row .rv-input { flex: 1 1 auto; } }
.st-news__btn { color: var(--rv-accent-ink); background: var(--rv-on-accent); border-color: var(--rv-on-accent); }
.st-news__btn:hover { background: var(--rv-on-accent) !important; filter: brightness(.94); }
.st-news :focus-visible { outline-color: var(--rv-on-accent); }
.st-news__msg { min-height: 1.4rem; margin: var(--rv-s2) 0 0 !important; font-size: var(--rv-fs-sm); font-weight: 600; }
.st-news__msg.is-err::before, .st-foot__formmsg.is-err::before { content: "! "; font-weight: 800; }

/* ==========================================================================
 * 9. Info pages + 404
 * ========================================================================== */
.st-info { padding-block: var(--rv-s5) var(--rv-s8); }
.st-info__grid { display: grid; gap: var(--rv-s6); margin-top: var(--rv-s5); }
@media (min-width: 1024px) { .st-info__grid { grid-template-columns: 16rem minmax(0, 1fr); gap: var(--rv-s7); } }
.st-info__side { align-self: start; }
@media (min-width: 1024px) { .st-info__side { position: sticky; top: var(--rv-sticky-top); } }
.st-info__sidetitle { margin-bottom: var(--rv-s3); font-family: var(--rv-font); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rv-text-dim); }
.st-info__side ul { display: flex; gap: .4rem; margin: 0; padding: 0 0 .25rem; overflow-x: auto; list-style: none; scrollbar-width: none; }
.st-info__side ul::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .st-info__side ul { flex-direction: column; gap: .15rem; overflow: visible; } }
.st-info__side a { display: flex; align-items: center; gap: .65rem; min-height: 2.6rem; padding: 0 .85rem; color: var(--rv-text-dim); border-radius: var(--rv-radius-sm); font-size: .875rem; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color var(--rv-dur-fast), color var(--rv-dur-fast); }
.st-info__side a:hover { color: var(--rv-text); background: var(--rv-surface-3); text-decoration: none; }
.st-info__side a[aria-current="page"] { color: var(--rv-accent-ink); background: var(--rv-accent-soft); font-weight: 750; }
.st-info__main { min-width: 0; max-width: 50rem; }
.st-info__head { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-bottom: var(--rv-s5); }
.st-info__head h1 { font-size: var(--rv-fs-4xl); }
.st-info__lead { margin: 0; font-size: var(--rv-fs-lg); color: var(--rv-text-dim); }
.st-info .rv-alert { margin-bottom: var(--rv-s5); }
.st-info--index .st-info__head { margin-top: var(--rv-s5); }
.st-facts { display: grid; gap: var(--rv-s3); grid-template-columns: minmax(0, 1fr); margin: 0 0 var(--rv-s5); padding: 0; list-style: none; }
@media (min-width: 640px) { .st-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-facts--stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rv-prose .st-facts, .rv-prose .st-paylist, .rv-prose .st-helpgrid { list-style: none; padding-left: 0; }
.st-facts__card { display: flex; align-items: center; gap: var(--rv-s3); height: 100%; padding: var(--rv-s4); color: var(--rv-text); background: var(--rv-surface); border: 1px solid var(--rv-border); border-radius: var(--rv-radius); text-decoration: none; transition: border-color var(--rv-dur-fast), box-shadow var(--rv-dur-fast); }
a.st-facts__card:hover { border-color: var(--rv-accent); box-shadow: var(--rv-shadow); text-decoration: none; }
.st-facts__ico { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; color: var(--rv-accent-ink); background: var(--rv-accent-soft); border-radius: 50%; }
.st-facts__txt { display: flex; flex-direction: column; min-width: 0; }
.st-facts__txt small { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rv-text-dim); }
.st-facts__txt b { overflow-wrap: anywhere; font-size: var(--rv-fs-md); }
.st-facts--stats .st-facts__txt b { font-family: var(--rv-font-display); font-size: var(--rv-fs-3xl); font-variant-numeric: tabular-nums; }
.st-paylist { display: flex; flex-direction: column; gap: var(--rv-s3); margin: 0; }
.st-paylist li { display: flex; gap: var(--rv-s3); padding: var(--rv-s4); background: var(--rv-surface); border: 1px solid var(--rv-border); border-radius: var(--rv-radius); }
.st-paylist li.is-off { opacity: .6; }
.st-paylist__ico { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; color: var(--rv-accent-ink); background: var(--rv-accent-soft); border-radius: 50%; }
.st-paylist p { margin: .15rem 0 0; font-size: var(--rv-fs-sm); color: var(--rv-text-dim); }
.st-helpgrid { display: grid; gap: var(--rv-s4); grid-template-columns: minmax(0, 1fr); margin: var(--rv-s5) 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .st-helpgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .st-helpgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-helpcard { display: flex; flex-direction: column; gap: .4rem; height: 100%; padding: var(--rv-s5); color: var(--rv-text); background: var(--rv-surface); border: 1px solid var(--rv-border); border-radius: var(--rv-radius-lg); text-decoration: none; transition: transform var(--rv-dur) var(--rv-ease), box-shadow var(--rv-dur) var(--rv-ease), border-color var(--rv-dur); }
.st-helpcard:hover { color: var(--rv-text); text-decoration: none; transform: translateY(-3px); border-color: var(--rv-accent); box-shadow: var(--rv-shadow); }
.st-helpcard__ico { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .25rem; color: var(--rv-accent-ink); background: var(--rv-accent-soft); border-radius: 50%; }
.st-helpcard span:last-child { font-size: var(--rv-fs-sm); color: var(--rv-text-dim); }

.st-404 { padding-block: var(--rv-s7) var(--rv-s8); text-align: center; }
.st-404__code { margin: 0; font-family: var(--rv-font-display); font-size: clamp(5rem, 3rem + 14vw, 11rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: transparent; background: linear-gradient(135deg, var(--rv-accent), var(--rv-accent-2)); -webkit-background-clip: text; background-clip: text; }

/* ==========================================================================
 * 10. Customizer tabs (Secciones, Tienda)
 * ========================================================================== */
.st-cz-list { display: flex; flex-direction: column; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.st-cz-row { display: flex; align-items: stretch; gap: .4rem; }
.st-cz-row .cz-switch { flex: 1 1 auto; min-width: 0; }
.st-cz-move { display: flex; flex-direction: column; gap: .25rem; flex: none; }
.st-cz-move .cz-btn { min-height: 1.6rem; flex: 1 1 0; padding: 0 .6rem; }
.st-cz-gap { margin: 1rem 0 .5rem !important; }
.st-cz-form { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1rem; }
.st-cz-form .rv-label { font-size: .8125rem; font-weight: 700; }
.st-cz-form .rv-hint { margin: .25rem 0 0; font-size: .75rem; color: var(--rv-text-dim); }

/* ==========================================================================
 * 11. Print + forced colors
 * ========================================================================== */
@media print { .st-topbar, .st-header, .st-tabbar, .st-floats, .st-footer { display: none !important; } body { padding-bottom: 0; } }
@media (forced-colors: active) {
  .st-nav__all, .st-search__btn, .st-news { border: 1px solid ButtonText; }
  .st-dotbtn.is-active { background: Highlight; }
}
