/* ==========================================================================
   Store Themes v3 (5 Premium Styles) + Cinematic Hero + Cards + PDP + Cart
   + Checkout + Micro-interactions + Dark Mode + Admin Store Controls
   Dedicated stylesheet — zero conflicts with app.css / mode-dark.css
   ========================================================================== */

html:has(.st-page) {
    scroll-behavior: smooth;
}

/* ---------- Keyframes ---------- */
@keyframes stShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes stCartBump {
    0%, 100% { transform: scale(1); }
    35% { transform: scale(1.24); }
    65% { transform: scale(.94); }
}
@keyframes stToastIn {
    0% { opacity: 0; transform: translateY(16px) scale(.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes stBarShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ---------- 1. Sticky Live Preview Bar ---------- */
.st-preview-bar {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #0f172a;
    color: #f8fafc;
    border-bottom: 2px solid var(--csite-accent, #e85d04);
    box-shadow: 0 6px 22px rgba(15, 23, 42, .24);
}
.st-preview-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: .65rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .65rem .9rem;
}
.st-preview-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem .6rem;
    min-width: 0;
    font-size: .88rem;
}
.st-preview-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: var(--csite-accent, #e85d04);
    color: var(--csite-on-accent, #fff);
    font-weight: 700;
    font-size: .76rem;
}
.st-preview-name {
    font-weight: 700;
    color: #fff;
}
.st-preview-note {
    color: #cbd5e1;
    font-size: .8rem;
}
.st-preview-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
}
.st-preview-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #e2e8f0;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 600;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.st-preview-chip:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}
.st-preview-chip.is-active {
    background: #fff;
    color: #0f172a;
    border-color: #fff;
}
.st-preview-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #e85d04;
    flex: 0 0 auto;
}
.st-preview-acts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
}
.st-preview-apply-form {
    margin: 0;
}
.st-preview-apply {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .9rem;
    border: 0;
    border-radius: 999px;
    background: #10b981;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter .15s ease, transform .15s ease;
}
.st-preview-apply:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}
.st-preview-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #f8fafc;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
}
.st-preview-back:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

/* ---------- 2. Base Store Tokens, Typography & Header ---------- */
.st-page {
    --st-bg: #f8f6f2;
    --st-surface: #ffffff;
    --st-surface-2: #f3f0ea;
    --st-ink: #111827;
    --st-muted: #5b6472;
    --st-border: rgba(15, 23, 42, .10);
    --st-card-radius: 16px;
    --st-btn-radius: 12px;
    --st-shadow: 0 4px 20px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .04);
    --st-shadow-hover: 0 18px 38px -12px rgba(15, 23, 42, .16), 0 4px 12px rgba(15, 23, 42, .06);
    --st-cover-ratio: 4 / 3;
    --st-shimmer-a: rgba(148, 163, 184, .12);
    --st-shimmer-b: rgba(148, 163, 184, .24);
    color: var(--st-ink);
    overflow-x: clip;
    line-height: 1.6;
}
.st-page.csite-page.is-public {
    background: var(--st-bg);
}
.st-page .st-main {
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.15rem 1.25rem 2.75rem;
    box-sizing: border-box;
}
.st-page .st-main > * {
    min-width: 0;
    max-width: 100%;
}

/* Header: sleek single-row feel on desktop, zero bloat */
.st-page .track-bar.car-pub-bar {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--st-border);
    box-shadow: 0 1px 12px rgba(15, 23, 42, .04);
    padding-block: .65rem;
    gap: .75rem 1rem;
}
.st-page .st-nav {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    width: auto !important;
    flex: 0 0 auto !important;
    order: 0;
}
.st-page .st-nav-link,
.st-page .st-nav-cart {
    flex: 0 0 auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .48rem .95rem;
    border-radius: 999px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    color: var(--st-ink);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
    white-space: nowrap;
}
.st-page .st-nav-link:hover,
.st-page .st-nav-cart:hover {
    border-color: var(--csite-accent, #e85d04);
    color: var(--csite-accent, #e85d04);
    transform: translateY(-1px);
}
.st-page .st-nav-link.is-on,
.st-page .st-nav-cart.is-on {
    background: var(--csite-tint, rgba(232, 93, 4, .12));
    border-color: var(--csite-line, rgba(232, 93, 4, .35));
    color: var(--csite-accent, #e85d04);
}
.st-page .st-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 .38rem;
    border-radius: 999px;
    background: var(--csite-accent, #e85d04);
    color: var(--csite-on-accent, #fff);
    font-size: .74rem;
    font-weight: 800;
    line-height: 1;
}
.st-page .st-nav-cart.is-bump .st-cart-badge {
    animation: stCartBump .55s cubic-bezier(.34, 1.56, .64, 1);
}

/* Fix ghost & secondary button contrast everywhere outside dark hero */
.st-page .csite-btn {
    border-radius: var(--st-btn-radius);
    font-weight: 700;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.st-page .csite-btn.is-primary {
    background: var(--csite-accent, #e85d04);
    color: var(--csite-on-accent, #fff);
    border: 1px solid transparent;
    box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--csite-accent, #e85d04) 55%, transparent);
}
.st-page .csite-btn.is-primary:hover:not(:disabled) {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--csite-accent, #e85d04) 65%, transparent);
}
.st-page .csite-btn.is-secondary {
    background: var(--st-ink);
    color: #ffffff;
    border: 1px solid var(--st-ink);
}
.st-page .csite-btn.is-secondary:hover:not(:disabled) {
    filter: brightness(1.12);
    transform: translateY(-1px);
}
.st-page .csite-btn.is-ghost:not(.st-hero-ghost) {
    background: var(--st-surface);
    color: var(--st-ink);
    border: 1.5px solid var(--st-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.st-page .csite-btn.is-ghost:not(.st-hero-ghost):hover:not(:disabled) {
    border-color: var(--csite-accent, #e85d04);
    color: var(--csite-accent, #e85d04);
    background: var(--csite-tint, rgba(232, 93, 4, .08));
}

/* ---------- 3. Cinematic Full-Bleed Hero Band ---------- */
.st-page .st-hero-band {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: clamp(290px, 34vw, 410px);
    display: flex;
    align-items: center;
    padding: clamp(1.75rem, 4vw, 3.25rem);
    border: 1px solid var(--st-border);
    box-shadow: 0 22px 48px -24px rgba(15, 23, 42, .22);
    isolation: isolate;
}
.st-page .st-hero-band.has-cover {
    background: #0f172a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, .12);
}
.st-page .st-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.01);
    transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.st-page .st-hero-band.has-cover:hover .st-hero-img {
    transform: scale(1.05);
}
.st-page .st-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        105deg,
        rgba(9, 13, 22, .84) 0%,
        rgba(9, 13, 22, .62) 52%,
        rgba(9, 13, 22, .30) 100%
    );
}
[dir="rtl"] .st-page .st-hero-scrim {
    background: linear-gradient(
        255deg,
        rgba(9, 13, 22, .86) 0%,
        rgba(9, 13, 22, .62) 54%,
        rgba(9, 13, 22, .26) 100%
    );
}

/* Fallback editorial hero when there is no cover image */
.st-page .st-hero-band.is-editorial {
    background:
        radial-gradient(680px 380px at 8% 12%, color-mix(in srgb, var(--csite-accent, #e85d04) 24%, transparent), transparent 64%),
        radial-gradient(540px 360px at 92% 90%, color-mix(in srgb, var(--csite-accent, #e85d04) 16%, transparent), transparent 62%),
        linear-gradient(135deg, #121722 0%, #1d2433 58%, #151a25 100%);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, .10);
}
.st-page .st-hero-mesh {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 18%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 18%, transparent 78%);
}

.st-page .st-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 !important;
    background: transparent !important;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 2rem;
    align-items: center;
}
.st-page .st-hero-band.has-cover .st-hero-inner {
    grid-template-columns: minmax(0, 680px);
}
.st-page .st-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
    min-width: 0;
}
.st-page .st-hero-band.is-editorial .st-hero-eyebrow,
.st-page .st-hero-band.has-cover .st-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .34rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .24);
    color: #ffffff;
    font-size: .8rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}
.st-page .st-hero-eyebrow i {
    color: var(--csite-accent, #fb923c);
}
.st-page .st-hero-band.is-editorial .st-hero-title,
.st-page .st-hero-band.has-cover .st-hero-title {
    margin: 0;
    font-size: clamp(1.85rem, 3.8vw, 2.95rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -.015em;
    color: #ffffff;
    text-wrap: balance;
}
.st-page .st-hero-band.is-editorial .st-hero-sub,
.st-page .st-hero-band.has-cover .st-hero-sub {
    margin: 0;
    max-width: 54ch;
    font-size: clamp(.94rem, 1.3vw, 1.08rem);
    line-height: 1.7;
    color: rgba(248, 250, 252, .86);
    font-weight: 500;
}
.st-page .st-hero-acts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    margin-top: .25rem;
}
.st-page .st-hero-cta {
    padding: .75rem 1.45rem;
    font-size: .95rem;
    font-weight: 800;
}
.st-page .st-hero-band.is-editorial .st-hero-ghost,
.st-page .st-hero-band.has-cover .st-hero-ghost {
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #ffffff;
    padding: .72rem 1.2rem;
    backdrop-filter: blur(8px);
}
.st-page .st-hero-band.is-editorial .st-hero-ghost:hover,
.st-page .st-hero-band.has-cover .st-hero-ghost:hover {
    background: rgba(255, 255, 255, .24);
    border-color: rgba(255, 255, 255, .48);
    color: #ffffff;
}
.st-page .st-hero-cues {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem 1.15rem;
    margin-top: .5rem;
    padding-top: .85rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    width: 100%;
}
.st-page .st-hero-cue {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(248, 250, 252, .86);
}
.st-page .st-hero-cue i {
    color: var(--csite-accent, #fb923c);
    font-size: .92rem;
}

/* Editorial Product Collage inside Hero when no cover image */
.st-page .st-hero-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    align-items: center;
}
.st-page .st-hero-tile {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .45);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}
.st-page .st-hero-tile.is-t0 {
    grid-row: span 2;
    aspect-ratio: 3 / 4;
}
.st-page .st-hero-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.st-page .st-hero-tile-ico {
    font-size: 2rem;
    color: rgba(255, 255, 255, .6);
}

/* ---------- 4. Floating Toast Notification ---------- */
.st-float-toast {
    position: fixed;
    bottom: 1.25rem;
    inset-inline-end: 1.25rem;
    z-index: 1200;
    width: min(360px, calc(100vw - 2rem));
    background: #0f172a;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, .14);
    border-inline-start: 4px solid #10b981;
    border-radius: 16px;
    padding: .9rem 1rem;
    box-shadow: 0 20px 44px -10px rgba(15, 23, 42, .45);
    animation: stToastIn .32s cubic-bezier(.22, 1, .36, 1);
    transition: opacity .35s ease, transform .35s ease;
}
.st-float-toast.is-fading {
    opacity: .88;
}
.st-float-toast-body {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
}
.st-float-toast-ico {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .18);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex: 0 0 auto;
}
.st-float-toast-txt {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    flex: 1 1 auto;
    min-width: 0;
}
.st-float-toast-txt strong {
    font-size: .92rem;
    font-weight: 800;
    color: #fff;
}
.st-float-toast-txt span {
    font-size: .8rem;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.st-float-toast-x {
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: .15rem;
    font-size: .88rem;
    flex: 0 0 auto;
}
.st-float-toast-x:hover {
    color: #fff;
}
.st-float-toast-acts {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
    padding-top: .65rem;
    border-top: 1px solid rgba(255, 255, 255, .10);
}
.st-toast-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .42rem .75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .24);
    color: #f8fafc;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 700;
    transition: background .15s ease, filter .15s ease;
}
.st-toast-btn:hover {
    background: rgba(255, 255, 255, .10);
    color: #fff;
}
.st-toast-btn.is-solid {
    background: var(--csite-accent, #e85d04);
    border-color: var(--csite-accent, #e85d04);
    color: var(--csite-on-accent, #fff);
}
.st-toast-btn.is-solid:hover {
    filter: brightness(1.08);
}

/* ---------- 5. Catalog Head, Toolbar & Category Rail ---------- */
.st-catalog {
    scroll-margin-top: 1rem;
}
.st-catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}
.st-catalog-title-wrap {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.st-section-kicker {
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--csite-accent, #e85d04);
    text-transform: uppercase;
}
.st-catalog-heading {
    margin: 0;
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    font-weight: 900;
    color: var(--st-ink);
    line-height: 1.25;
}
.st-count-pill {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    color: var(--st-muted);
    font-size: .82rem;
    font-weight: 700;
}
.st-count-pill b {
    color: var(--st-ink);
    font-weight: 900;
}

.st-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem;
    margin: 0 0 .95rem;
}
.st-search-box {
    position: relative;
    flex: 1 1 260px;
    min-width: 0;
    display: flex;
    align-items: center;
}
.st-search-ico {
    position: absolute;
    inset-inline-start: .95rem;
    color: var(--st-muted);
    font-size: .95rem;
    pointer-events: none;
}
.st-search-input {
    width: 100%;
    padding: .7rem 2.5rem .7rem 2.5rem;
    border-radius: var(--st-btn-radius);
    border: 1.5px solid var(--st-border);
    background: var(--st-surface);
    color: var(--st-ink);
    font-size: .92rem;
    font-weight: 500;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.st-search-input::placeholder {
    color: var(--st-muted);
    opacity: .8;
}
.st-search-input:focus {
    border-color: var(--csite-accent, #e85d04);
    box-shadow: 0 0 0 3px var(--csite-tint, rgba(232, 93, 4, .14));
}
.st-search-clear {
    position: absolute;
    inset-inline-end: .5rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: var(--st-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.st-search-clear:hover {
    background: var(--st-surface-2);
    color: var(--st-ink);
}
.st-sort-box {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--st-surface);
    border: 1.5px solid var(--st-border);
    border-radius: var(--st-btn-radius);
    padding: 0 .75rem;
    flex: 0 0 auto;
}
.st-sort-lab {
    color: var(--st-muted);
    font-size: .88rem;
    margin: 0;
}
.st-sort-select {
    border: 0;
    background: transparent;
    color: var(--st-ink);
    font-size: .88rem;
    font-weight: 700;
    padding: .7rem .2rem;
    outline: none;
    cursor: pointer;
}

/* Category Rail with counts */
.st-cat-rail {
    display: flex;
    align-items: center;
    gap: .55rem;
    overflow-x: auto;
    max-width: 100%;
    min-width: 0;
    padding: .15rem .05rem .65rem;
    margin: 0 0 1.1rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.st-cat-rail::-webkit-scrollbar {
    display: none;
}
.st-cat-tile {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .95rem;
    border-radius: 14px;
    border: 1.5px solid var(--st-border);
    background: var(--st-surface);
    color: var(--st-ink);
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .03);
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.st-cat-tile:hover {
    border-color: var(--csite-accent, #e85d04);
    transform: translateY(-2px);
}
.st-cat-cnt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 .38rem;
    border-radius: 999px;
    background: var(--st-surface-2);
    color: var(--st-muted);
    font-size: .74rem;
    font-weight: 800;
    transition: background .18s ease, color .18s ease;
}
.st-cat-tile.is-active {
    background: var(--csite-accent, #e85d04);
    color: var(--csite-on-accent, #fff);
    border-color: var(--csite-accent, #e85d04);
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--csite-accent, #e85d04) 65%, transparent);
    transform: translateY(-1px);
}
.st-cat-tile.is-active .st-cat-cnt {
    background: rgba(255, 255, 255, .24);
    color: var(--csite-on-accent, #fff);
}
.st-no-match {
    margin-top: 1rem;
}

/* ---------- 6. Premium Product Cards ---------- */
.st-page .st-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.st-page .st-card {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: var(--st-card-radius);
    box-shadow: var(--st-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s ease, border-color .2s ease;
}
.st-page .st-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--st-shadow-hover);
    border-color: color-mix(in srgb, var(--csite-accent, #e85d04) 35%, var(--st-border));
}
.st-page .st-card.is-oos {
    opacity: .78;
}

.st-cover-wrap {
    position: relative;
    overflow: hidden;
}
.st-page .st-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: var(--st-cover-ratio);
    height: auto !important;
    overflow: hidden;
    background: var(--st-surface-2);
}
.st-page .st-cover.has-shimmer,
.st-page .st-pdp-media.has-shimmer {
    background: linear-gradient(110deg, var(--st-shimmer-a) 25%, var(--st-shimmer-b) 50%, var(--st-shimmer-a) 75%);
    background-size: 200% 100%;
    animation: stShimmer 1.6s linear infinite;
}
.st-page .st-cover.is-empty,
.st-page .st-pdp-media.is-empty {
    background: linear-gradient(135deg, color-mix(in srgb, var(--csite-accent, #e85d04) 86%, #0f172a), color-mix(in srgb, var(--csite-accent, #e85d04) 52%, #1e293b));
    color: #ffffff;
}
.st-page .st-cover.is-empty .st-cover-ico,
.st-page .st-pdp-media.is-empty .st-cover-ico {
    color: #ffffff;
    font-size: 2.35rem;
    opacity: .92;
}
.st-page .st-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .48s cubic-bezier(.22, 1, .36, 1);
}
.st-page .st-card:hover .st-cover img {
    transform: scale(1.06);
}

/* Stacked Smart Badges */
.st-card-badges {
    position: absolute;
    top: .7rem;
    inset-inline-start: .7rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    pointer-events: none;
}
.st-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .22rem .62rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .01em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.st-pill-badge.is-disc {
    background: #dc2626;
    color: #fff;
}
.st-pill-badge.is-new {
    background: #0f172a;
    color: #fff;
}
.st-pill-badge.is-low {
    background: #f59e0b;
    color: #111827;
}
.st-pill-badge.is-oos {
    background: #475569;
    color: #fff;
}
.st-pill-badge.is-pdp {
    position: absolute;
    top: .85rem;
    inset-inline-start: .85rem;
    font-size: .8rem;
    padding: .3rem .75rem;
}

/* Desktop Hover Quick-Add Overlay */
.st-quick-overlay {
    position: absolute;
    inset-inline: .75rem;
    bottom: .75rem;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .22s ease, transform .22s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
}
.st-page .st-card:hover .st-quick-overlay,
.st-page .st-card:focus-within .st-quick-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.st-quick-form {
    margin: 0;
}
.st-quick-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .58rem .9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(15, 23, 42, .86);
    color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .28);
    transition: background .16s ease, transform .16s ease;
}
.st-quick-btn:hover {
    background: var(--csite-accent, #e85d04);
    color: var(--csite-on-accent, #fff);
    border-color: transparent;
}

.st-page .st-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    gap: .42rem;
    padding: 1rem 1.05rem 1.1rem;
}
.st-card-cat {
    font-size: .72rem;
    font-weight: 800;
    color: var(--st-muted);
    letter-spacing: .02em;
    overflow-wrap: anywhere;
}
.st-page .st-card-title {
    margin: 0;
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.38;
    color: var(--st-ink);
    overflow-wrap: anywhere;
}
.st-page .st-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color .15s ease;
}
.st-page .st-card-title a:hover {
    color: var(--csite-accent, #e85d04);
}
.st-page .st-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: var(--st-muted);
    font-size: .84rem;
    line-height: 1.55;
}
.st-card-vars {
    display: flex;
    flex-direction: column;
    gap: .38rem;
    margin: .2rem 0 .1rem;
}
.st-card-colors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .36rem;
}
.st-cdot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--st-muted);
    border: 1.5px solid var(--st-border);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .65);
    display: inline-block;
}
.st-cdot-more {
    font-size: .72rem;
    font-weight: 700;
    color: var(--st-muted);
}
.st-card-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: .28rem;
}
.st-sz-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    padding: .1rem .42rem;
    border-radius: 6px;
    border: 1px solid var(--st-border);
    background: var(--st-surface-2);
    color: var(--st-ink);
    font-size: .71rem;
    font-weight: 700;
    line-height: 1.35;
}
.st-sz-pill.is-more {
    color: var(--st-muted);
}

.st-card-foot {
    margin-top: auto;
    padding-top: .55rem;
    border-top: 1px solid var(--st-border);
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.st-page .st-meta {
    display: flex;
    align-items: baseline;
    gap: .32rem;
    flex-wrap: wrap;
    margin: 0;
}
.st-page .st-meta b {
    font-size: 1.24rem;
    font-weight: 900;
    color: var(--st-ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.01em;
}
.st-page .st-meta span {
    font-size: .82rem;
    font-weight: 700;
    color: var(--st-muted);
}
.st-compare-price {
    font-size: .84rem;
    color: var(--st-muted);
    text-decoration: line-through;
    margin-inline-start: .3rem;
    font-weight: 500;
}
.st-save-pill {
    display: inline-flex;
    align-items: center;
    padding: .16rem .58rem;
    border-radius: 999px;
    background: rgba(220, 38, 38, .12);
    color: #dc2626;
    font-size: .76rem;
    font-weight: 800;
    margin-inline-start: .3rem;
}
.st-page .st-add {
    width: 100%;
    padding: .62rem .9rem;
    font-size: .88rem;
    border-radius: var(--st-btn-radius);
}

/* ---------- 7. Flagship Product Detail Page (PDP) ---------- */
.st-breadcrumb {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .86rem;
    font-weight: 600;
    color: var(--st-muted);
    flex-wrap: wrap;
}
.st-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--st-ink);
    text-decoration: none;
    padding: .28rem .7rem;
    border-radius: 999px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    transition: border-color .15s ease, color .15s ease;
}
.st-breadcrumb a:hover {
    border-color: var(--csite-accent, #e85d04);
    color: var(--csite-accent, #e85d04);
}
.st-bc-sep {
    opacity: .45;
}
.st-bc-cur {
    color: var(--st-muted);
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-page .st-pdp {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 1.75rem;
    align-items: start;
}
.st-pdp-gallery {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    min-width: 0;
}
.st-page .st-pdp-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--st-border);
    background: var(--st-surface-2);
    aspect-ratio: 4 / 4;
    max-height: 600px;
    box-shadow: var(--st-shadow);
}
.st-page .st-pdp-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform .35s ease;
}
.st-page .st-pdp-media:hover img {
    transform: scale(1.02);
}
.st-zoom-btn {
    position: absolute;
    bottom: .85rem;
    inset-inline-end: .85rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(255, 255, 255, .94);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
    transition: transform .16s ease, background .16s ease;
}
.st-zoom-btn:hover {
    transform: scale(1.08);
    background: #fff;
}
.st-thumbs {
    display: flex;
    gap: .6rem;
    overflow-x: auto;
    padding: .15rem .05rem .3rem;
}
.st-thumb {
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    border-radius: 12px;
    border: 2px solid var(--st-border);
    padding: 0;
    overflow: hidden;
    background: var(--st-surface-2);
    cursor: pointer;
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.st-thumb:hover {
    transform: translateY(-2px);
}
.st-thumb.is-active {
    border-color: var(--csite-accent, #e85d04);
    box-shadow: 0 0 0 3px var(--csite-tint, rgba(232, 93, 4, .16));
}
.st-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sticky Buy Panel on Desktop */
.st-page .st-pdp-body {
    position: sticky;
    top: 1.25rem;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--st-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
}
.st-pdp-head {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.st-pdp-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 900;
    line-height: 1.28;
    color: var(--st-ink);
}
.st-page .st-pdp-price {
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--st-border);
}
.st-page .st-pdp-price b {
    font-size: 1.75rem;
    color: var(--csite-accent, #e85d04);
}
.st-pdp-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.st-var-block {
    border: 0;
    padding: 0;
    margin: 0;
}
.st-var-block legend {
    font-size: .86rem;
    font-weight: 800;
    color: var(--st-ink);
    margin-bottom: .5rem;
    float: none;
    width: auto;
}
.st-page .st-size-chip span {
    background: var(--st-surface);
    border-color: var(--st-border);
    color: var(--st-ink);
    min-width: 2.85rem;
    min-height: 2.65rem;
    border-radius: 10px;
    transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.st-page .st-size-chip:not(.is-oos):hover span {
    border-color: var(--csite-accent, #e85d04);
}
.st-page .st-color-swatch {
    background: var(--st-surface);
    border-color: var(--st-border);
    color: var(--st-ink);
    padding: .34rem .7rem .34rem .42rem;
    transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.st-page .st-color-swatch:not(.is-oos):hover {
    border-color: var(--csite-accent, #e85d04);
}

/* Quantity Stepper & Stock Pill */
.st-qty-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
}
.st-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1.5px solid var(--st-border);
    border-radius: var(--st-btn-radius);
    overflow: hidden;
    background: var(--st-surface);
}
.st-step-btn {
    width: 40px;
    border: 0;
    background: var(--st-surface-2);
    color: var(--st-ink);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}
.st-step-btn:hover:not(:disabled) {
    background: var(--csite-tint, rgba(232, 93, 4, .14));
}
.st-step-btn:disabled {
    opacity: .38;
    cursor: not-allowed;
}
.st-stepper .st-qty {
    width: 56px;
    border: 0 !important;
    border-radius: 0 !important;
    text-align: center;
    box-shadow: none !important;
    padding: .42rem .25rem;
    font-weight: 800;
    background: var(--st-surface);
    color: var(--st-ink);
}
.st-stepper.is-sm .st-step-btn {
    width: 34px;
    font-size: 1rem;
}
.st-stepper.is-sm .st-qty {
    width: 46px;
}
.st-avail-pill {
    display: inline-flex;
    align-items: center;
    padding: .28rem .72rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    background: rgba(16, 185, 129, .12);
    color: #059669;
}
.st-avail-pill.is-low {
    background: rgba(245, 158, 11, .16);
    color: #b45309;
}
.st-avail-pill.is-zero {
    background: rgba(220, 38, 38, .14);
    color: #dc2626;
}

/* PDP CTAs & Quick Actions */
.st-pdp-ctas {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: .65rem;
}
.st-pdp-ctas .st-add,
.st-pdp-ctas .st-buy-now {
    width: 100%;
    padding: .78rem 1rem;
    font-size: .94rem;
    justify-content: center;
}
.st-pdp-quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.st-wa-quick,
.st-share-btn {
    flex: 1 1 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    padding: .58rem .85rem;
    border-radius: var(--st-btn-radius);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: filter .15s ease, border-color .15s ease, transform .15s ease;
}
.st-wa-quick {
    background: #16a34a;
    color: #fff;
    border: 1px solid #15803d;
}
.st-wa-quick:hover {
    filter: brightness(1.06);
    color: #fff;
    transform: translateY(-1px);
}
.st-share-btn {
    background: var(--st-surface-2);
    color: var(--st-ink);
    border: 1px solid var(--st-border);
}
.st-share-btn:hover {
    border-color: var(--csite-accent, #e85d04);
    color: var(--csite-accent, #e85d04);
}

/* Trust Row */
.st-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
    padding: .85rem;
    border-radius: 14px;
    background: var(--st-surface-2);
    border: 1px solid var(--st-border);
}
.st-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .35rem;
    font-size: .76rem;
    line-height: 1.35;
    color: var(--st-ink);
    font-weight: 700;
}
.st-trust-ico {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--csite-tint, rgba(232, 93, 4, .12));
    color: var(--csite-accent, #e85d04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
}

/* Accordions */
.st-accordions {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.st-acc {
    border-radius: 12px;
    border: 1px solid var(--st-border);
    background: var(--st-surface-2);
    overflow: hidden;
}
.st-acc summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .75rem .95rem;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 800;
    color: var(--st-ink);
}
.st-acc summary::-webkit-details-marker {
    display: none;
}
.st-acc summary i:first-child {
    color: var(--csite-accent, #e85d04);
    margin-inline-end: .35rem;
}
.st-acc-chev {
    transition: transform .2s ease;
    color: var(--st-muted);
}
.st-acc[open] .st-acc-chev {
    transform: rotate(180deg);
}
.st-acc-body {
    padding: 0 .95rem .85rem;
    font-size: .86rem;
    color: var(--st-muted);
    line-height: 1.65;
}
.st-acc-body p {
    margin: 0;
}

/* Related Products: 4 columns on desktop so 4 items fill 1 clean row */
.st-related {
    margin-top: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--st-border);
}
.st-page .st-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.st-rel-all {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .88rem;
    font-weight: 800;
    color: var(--csite-accent, #e85d04);
    text-decoration: none;
}
.st-rel-all:hover {
    text-decoration: underline;
}

/* Lightbox */
.st-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 14, 22, .92);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.st-lightbox[hidden] {
    display: none;
}
.st-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 22px 54px rgba(0, 0, 0, .55);
}
.st-lb-close {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(15, 23, 42, .85);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- 8. Cart & Checkout Two-Column Layouts + Steps + Free Bar ---------- */
.st-page .st-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.st-title-cnt {
    color: var(--st-muted);
    font-weight: 700;
    font-size: .82em;
}

/* Polished 3-Step Progress Bar */
.st-steps {
    list-style: none;
    margin: 0;
    padding: .75rem 1rem;
    border-radius: 16px;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    display: flex;
    align-items: center;
    gap: .55rem;
    box-shadow: var(--st-shadow);
}
.st-steps li:not(.st-step-line) {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .34rem .82rem;
    border-radius: 999px;
    color: var(--st-muted);
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
}
.st-step-line {
    flex: 1 1 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--st-border);
    min-width: 14px;
}
.st-step-line.is-done {
    background: #10b981;
}
.st-steps li.is-done {
    color: #059669;
    background: rgba(16, 185, 129, .10);
}
.st-steps li.is-cur {
    background: var(--csite-accent, #e85d04);
    color: var(--csite-on-accent, #fff);
    box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--csite-accent, #e85d04) 60%, transparent);
}
.st-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .74rem;
    font-weight: 800;
}
.st-steps li.is-done .st-step-num {
    background: #10b981;
    color: #fff;
}

/* Free Shipping Animated Progress Bar */
.st-free-bar {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: .95rem 1.15rem;
    box-shadow: var(--st-shadow);
}
.st-free-bar.is-done {
    border-color: rgba(16, 185, 129, .45);
    background: linear-gradient(135deg, rgba(16, 185, 129, .10), rgba(16, 185, 129, .04));
}
.st-free-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .6rem;
}
.st-free-txt {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .92rem;
    font-weight: 700;
    color: var(--st-ink);
}
.st-free-ico {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--csite-tint, rgba(232, 93, 4, .14));
    color: var(--csite-accent, #e85d04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.st-free-bar.is-done .st-free-ico {
    background: rgba(16, 185, 129, .18);
    color: #059669;
}
.st-free-pct {
    font-size: .8rem;
    font-weight: 800;
    color: var(--st-muted);
}
.st-free-track {
    height: 10px;
    border-radius: 999px;
    background: var(--st-surface-2);
    overflow: hidden;
}
.st-free-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--csite-accent, #e85d04), color-mix(in srgb, var(--csite-accent, #e85d04) 72%, #fff), var(--csite-accent, #e85d04));
    background-size: 200% 100%;
    animation: stBarShine 2.4s linear infinite;
    transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
.st-free-bar.is-done .st-free-fill {
    background: linear-gradient(90deg, #059669, #34d399, #059669);
    background-size: 200% 100%;
}

/* Two-Column Cart Layout */
.st-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(290px, .82fr);
    gap: 1.35rem;
    align-items: start;
}
.st-page .st-cart {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 18px;
    box-shadow: var(--st-shadow);
    overflow: hidden;
}
.st-page .st-cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1.05rem 1.2rem;
    border-bottom: 1px solid var(--st-border);
}
.st-page .st-cart-row:last-child {
    border-bottom: 0;
}
.st-cart-thumb {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--st-border);
    background: var(--st-surface-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--st-muted);
    text-decoration: none;
}
.st-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.st-cart-meta {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}
.st-cart-title-link {
    color: var(--st-ink);
    text-decoration: none;
    font-size: .96rem;
    font-weight: 800;
}
.st-cart-title-link:hover {
    color: var(--csite-accent, #e85d04);
}
.st-var-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: .12rem .5rem;
    border-radius: 6px;
    background: var(--st-surface-2);
    border: 1px solid var(--st-border);
    color: var(--st-ink);
    font-size: .74rem;
    font-weight: 700;
}
.st-cart-qty-col {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.st-cart-rm {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--st-border);
    background: transparent;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.st-cart-rm:hover {
    background: rgba(220, 38, 38, .10);
    border-color: rgba(220, 38, 38, .35);
}
.st-page .st-cart-sum {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--st-ink);
    white-space: nowrap;
}
.st-page .st-cart-sum small {
    font-size: .76rem;
    font-weight: 700;
    color: var(--st-muted);
}

/* Sticky Cart Summary Card */
.st-cart-summary {
    position: sticky;
    top: 1.25rem;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 18px;
    padding: 1.35rem;
    box-shadow: var(--st-shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.st-cart-summary .st-cart-totals {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}
.st-cart-summary .st-cart-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
    color: var(--st-muted);
}
.st-cart-summary .st-cart-sub b {
    color: var(--st-ink);
}
.st-free-tag {
    color: #059669 !important;
    font-weight: 800;
}
.st-cart-summary .st-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: .75rem;
    border-top: 1px solid var(--st-border);
    font-size: 1rem;
    font-weight: 800;
    color: var(--st-ink);
}
.st-cart-summary .st-cart-total b {
    font-size: 1.45rem;
    color: var(--csite-accent, #e85d04);
}
.st-cart-summary .st-cart-acts {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.st-cart-checkout-btn,
.st-cart-upd-btn {
    width: 100%;
    justify-content: center;
    padding: .75rem 1rem;
}
.st-summary-note {
    margin: 0;
    font-size: .78rem;
    color: var(--st-muted);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.st-summary-note i {
    color: #10b981;
}

/* Two-Column Checkout Layout */
.st-page .st-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(290px, .78fr);
    gap: 1.4rem;
    align-items: start;
}
.st-page .st-checkout {
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--st-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.st-form-sec {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--st-border);
}
.st-form-sec:last-of-type {
    padding-bottom: 0;
    border-bottom: 0;
}
.st-sec-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--csite-tint, rgba(232, 93, 4, .14));
    color: var(--csite-accent, #e85d04);
    font-size: .78rem;
    font-weight: 900;
    margin-inline-end: .35rem;
}
.st-place-btn {
    padding: .85rem 1.2rem;
    font-size: 1rem;
    font-weight: 800;
}

/* Sticky Checkout Summary */
.st-page .st-summary {
    position: sticky;
    top: 1.25rem;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    border-radius: 18px;
    padding: 1.3rem;
    box-shadow: var(--st-shadow);
}
.st-sum-fold summary.st-sum-head {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    cursor: pointer;
}
.st-sum-fold summary.st-sum-head::-webkit-details-marker {
    display: none;
}
.st-sum-head-total {
    font-size: 1.08rem;
    font-weight: 900;
    color: var(--csite-accent, #e85d04);
}
.st-sum-body {
    margin-top: .85rem;
}
.st-sum-line-title {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    font-size: .88rem;
    font-weight: 700;
    color: var(--st-ink);
}
.st-sum-qty {
    font-style: normal;
    color: var(--st-muted);
    font-weight: 800;
    margin-inline-start: .25rem;
}
.st-sum-policies {
    margin-top: .85rem;
    padding-top: .75rem;
    border-top: 1px dashed var(--st-border);
    display: flex;
    flex-direction: column;
    gap: .4rem;
    font-size: .8rem;
    color: var(--st-muted);
}
.st-sum-policies i {
    color: var(--csite-accent, #e85d04);
    margin-inline-end: .25rem;
}

/* Empty State */
.st-empty-ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--csite-tint, rgba(232, 93, 4, .12));
    color: var(--csite-accent, #e85d04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: .35rem;
}

/* Sticky Mobile Bars (Catalog Cart Bar + PDP Buy Bar) */
.st-mob-cart-bar,
.st-pdp-sticky {
    display: none;
}

/* ==========================================================================
   9. THE 5 DISTINCT STORE THEMES
   ========================================================================== */

/* --- Theme 1: Classic (كلاسيك مسار) --- */
.st-page.st-theme-classic {
    --st-bg: #f8f6f2;
    --st-surface: #ffffff;
    --st-surface-2: #f3f0ea;
    --st-ink: #111827;
    --st-muted: #5b6472;
    --st-border: rgba(15, 23, 42, .10);
    --st-card-radius: 16px;
    --st-btn-radius: 12px;
    --st-cover-ratio: 4 / 3;
}

/* --- Theme 2: Boutique (بوتيك أزياء) --- */
.st-page.st-theme-boutique {
    --st-bg: #faf7f2;
    --st-surface: #ffffff;
    --st-surface-2: #f3ece2;
    --st-ink: #1c1917;
    --st-muted: #78716c;
    --st-border: rgba(28, 25, 23, .08);
    --st-card-radius: 22px;
    --st-btn-radius: 999px;
    --st-shadow: 0 10px 30px rgba(28, 25, 23, .05);
    --st-shadow-hover: 0 22px 44px -12px rgba(28, 25, 23, .14);
    --st-cover-ratio: 3 / 4;
}
.st-page.st-theme-boutique .track-bar.car-pub-bar {
    background: rgba(250, 247, 242, .9);
}
.st-page.st-theme-boutique .st-hero-band {
    border-radius: 28px;
}
.st-page.st-theme-boutique .st-hero-band.is-editorial {
    background:
        radial-gradient(620px 380px at 14% 16%, color-mix(in srgb, var(--csite-accent, #9a3412) 28%, transparent), transparent 64%),
        linear-gradient(135deg, #211a16 0%, #31251e 55%, #1d1714 100%);
}
.st-page.st-theme-boutique .st-search-input,
.st-page.st-theme-boutique .st-sort-box,
.st-page.st-theme-boutique .st-cat-tile {
    border-radius: 999px;
}
.st-page.st-theme-boutique .st-card {
    border-color: transparent;
}

/* --- Theme 3: Modern (ماركت عصري) --- */
.st-page.st-theme-modern {
    --st-bg: #eef2f7;
    --st-surface: #ffffff;
    --st-surface-2: #e2e8f0;
    --st-ink: #0f172a;
    --st-muted: #475569;
    --st-border: rgba(15, 23, 42, .12);
    --st-card-radius: 14px;
    --st-btn-radius: 10px;
    --st-shadow: 0 2px 10px rgba(15, 23, 42, .06);
    --st-cover-ratio: 1 / 1;
}
.st-page.st-theme-modern .track-bar.car-pub-bar {
    background: #ffffff;
    border-bottom: 2px solid var(--csite-accent, #e85d04);
}
.st-page.st-theme-modern .st-hero-band {
    border-radius: 18px;
}
.st-page.st-theme-modern .st-toolbar {
    background: #ffffff;
    padding: .7rem;
    border-radius: 14px;
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow);
}
.st-page.st-theme-modern .st-meta b {
    color: var(--csite-accent, #e85d04);
}

/* --- Theme 4: Minimal (مينيمال هادي) --- */
.st-page.st-theme-minimal {
    --st-bg: #f5f5f2;
    --st-surface: #ffffff;
    --st-surface-2: #ecece8;
    --st-ink: #18181b;
    --st-muted: #71717a;
    --st-border: #e0e0da;
    --st-card-radius: 8px;
    --st-btn-radius: 6px;
    --st-shadow: none;
    --st-shadow-hover: 0 12px 26px -14px rgba(24, 24, 27, .18);
    --st-cover-ratio: 4 / 5;
}
.st-page.st-theme-minimal .track-bar.car-pub-bar {
    background: rgba(245, 245, 242, .94);
    box-shadow: none;
}
.st-page.st-theme-minimal .st-hero-band {
    border-radius: 10px;
    box-shadow: none;
}
.st-page.st-theme-minimal .st-hero-band.is-editorial {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
}
.st-page.st-theme-minimal .st-cat-tile {
    border-radius: 6px;
    box-shadow: none;
}
.st-page.st-theme-minimal .st-card:hover {
    border-color: var(--st-ink);
}
.st-page.st-theme-minimal .csite-btn.is-primary {
    background: var(--st-ink);
    color: #fff;
    box-shadow: none;
}

/* --- Theme 5: Bold / Dark Luxury (فاخر غامق) --- */
.st-page.st-theme-bold {
    --st-bg: #0b0e14;
    --st-surface: #141923;
    --st-surface-2: #1c2331;
    --st-ink: #f8fafc;
    --st-muted: #94a3b8;
    --st-border: rgba(255, 255, 255, .11);
    --st-card-radius: 18px;
    --st-btn-radius: 12px;
    --st-shadow: 0 14px 36px rgba(0, 0, 0, .42);
    --st-shadow-hover: 0 22px 46px rgba(0, 0, 0, .62);
    --st-cover-ratio: 4 / 5;
    --st-shimmer-a: rgba(255, 255, 255, .04);
    --st-shimmer-b: rgba(255, 255, 255, .10);
}
.st-page.st-theme-bold .track-bar.car-pub-bar {
    background: rgba(11, 14, 20, .90);
    border-bottom-color: var(--st-border);
    color: var(--st-ink);
}
.st-page.st-theme-bold .track-brand,
.st-page.st-theme-bold .track-brand strong,
.st-page.st-theme-bold .csite-card-title,
.st-page.st-theme-bold .st-title {
    color: var(--st-ink);
}
.st-page.st-theme-bold .track-kicker,
.st-page.st-theme-bold .st-lead,
.st-page.st-theme-bold .st-eyebrow,
.st-page.st-theme-bold .st-hint {
    color: var(--st-muted);
}
.st-page.st-theme-bold .csite-btn.is-secondary {
    background: rgba(255, 255, 255, .10);
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
}
.st-page.st-theme-bold .form-control,
.st-page.st-theme-bold .st-sort-select option {
    background: var(--st-surface-2);
    color: var(--st-ink);
    border-color: var(--st-border);
}
.st-page.st-theme-bold .form-label {
    color: #e2e8f0;
}
.st-page.st-theme-bold .st-pay-opt {
    background: var(--st-surface-2);
    border-color: var(--st-border);
    color: var(--st-ink);
}
.st-page.st-theme-bold .st-pay-txt b {
    color: var(--st-ink);
}
.st-page.st-theme-bold .st-pay-txt small {
    color: var(--st-muted);
}
.st-page.st-theme-bold .st-footer {
    background: #080a0f;
    border-top: 1px solid var(--st-border);
    color: var(--st-muted);
}
.st-page.st-theme-bold .st-footer strong,
.st-page.st-theme-bold .st-footer .car-pub-foot-logo b {
    color: var(--st-ink);
}
.st-page.st-theme-bold .st-footer a {
    color: #cbd5e1;
}

/* ---------- 10. Global Dark Mode Compatibility (html[data-mode="dark"]) ---------- */
html[data-mode="dark"] .st-page.csite-page.is-public:not(.st-theme-bold) {
    --st-bg: #0f131a;
    --st-surface: #171d27;
    --st-surface-2: #202836;
    --st-ink: #f1f5f9;
    --st-muted: #94a3b8;
    --st-border: rgba(255, 255, 255, .11);
    --st-shadow: 0 12px 30px rgba(0, 0, 0, .35);
    --st-shadow-hover: 0 18px 42px rgba(0, 0, 0, .55);
    --st-shimmer-a: rgba(255, 255, 255, .04);
    --st-shimmer-b: rgba(255, 255, 255, .10);
    background: var(--st-bg);
    color: var(--st-ink);
}
html[data-mode="dark"] .st-page:not(.st-theme-bold) .track-bar.car-pub-bar {
    background: rgba(15, 19, 26, .90);
    border-bottom-color: var(--st-border);
}
html[data-mode="dark"] .st-page:not(.st-theme-bold) .csite-btn.is-secondary {
    background: rgba(255, 255, 255, .12);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, .22);
}
html[data-mode="dark"] .st-page:not(.st-theme-bold) .st-sort-select option,
html[data-mode="dark"] .st-page:not(.st-theme-bold) .form-control {
    background: var(--st-surface-2);
    color: var(--st-ink);
    border-color: var(--st-border);
}
html[data-mode="dark"] .st-page:not(.st-theme-bold) .st-toolbar {
    background: transparent;
}
html[data-mode="dark"] .st-page.st-theme-modern .st-toolbar {
    background: var(--st-surface);
}
html[data-mode="dark"] .st-page.st-theme-minimal .csite-btn.is-primary {
    background: var(--csite-accent, #e85d04);
    color: var(--csite-on-accent, #fff);
}

/* ---------- 11. Responsive Breakpoints (Tablet + Mobile 390px Zero Overflow) ---------- */
@media (max-width: 980px) {
    .st-page .st-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .st-page .st-pdp {
        grid-template-columns: minmax(0, 1fr);
    }
    .st-page .st-pdp-body {
        position: static;
    }
    .st-cart-layout,
    .st-page .st-checkout-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .st-cart-summary,
    .st-page .st-summary {
        position: static;
    }
    .st-page .st-checkout-grid .st-summary {
        order: -1;
    }
    .st-page .st-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .st-page .st-hero-showcase {
        display: none;
    }
}

@media (max-width: 768px) {
    .st-page .st-main {
        padding: .85rem .85rem 2.25rem;
        gap: 1.15rem;
    }
    .st-main.has-mob-cart,
    .st-main.has-pdp-sticky {
        padding-bottom: 5.75rem;
    }
    .st-mob-cart-bar {
        display: block;
        position: fixed;
        inset-inline: .75rem;
        bottom: .75rem;
        z-index: 980;
    }
    .st-mob-cart-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .8rem 1.05rem;
        border-radius: 16px;
        background: var(--csite-accent, #e85d04);
        color: var(--csite-on-accent, #fff);
        text-decoration: none;
        font-weight: 800;
        box-shadow: 0 12px 28px rgba(15, 23, 42, .32);
    }
    .st-mob-cart-info {
        display: inline-flex;
        align-items: center;
        gap: .55rem;
    }
    .st-mob-cart-cnt {
        min-width: 26px;
        height: 26px;
        padding: 0 .4rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, .24);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: .82rem;
    }
    .st-pdp-sticky {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 980;
        padding: .7rem .95rem;
        background: var(--st-surface);
        border-top: 1px solid var(--st-border);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, .12);
    }
    .st-pdp-sticky-price {
        display: flex;
        align-items: baseline;
        gap: .28rem;
        flex-wrap: wrap;
        color: var(--st-ink);
    }
    .st-pdp-sticky-price b {
        font-size: 1.2rem;
        font-weight: 900;
    }
    .st-pdp-sticky-price del {
        font-size: .78rem;
        color: var(--st-muted);
    }
    .st-pdp-sticky-btn {
        flex: 0 0 auto;
        padding: .62rem 1.25rem;
    }
    .st-pdp-ctas {
        grid-template-columns: 1fr;
    }
    .st-float-toast {
        bottom: 5rem;
        inset-inline: .75rem;
        width: auto;
    }
}

@media (max-width: 640px) {
    .st-preview-inner {
        padding: .55rem .75rem;
        gap: .5rem;
    }
    .st-preview-switch {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: .15rem;
        -webkit-overflow-scrolling: touch;
    }
    .st-preview-chip {
        flex: 0 0 auto;
    }
    .st-preview-acts {
        width: 100%;
        justify-content: space-between;
    }
    .st-page .st-nav {
        width: 100% !important;
        justify-content: stretch;
    }
    .st-page .st-nav-link,
    .st-page .st-nav-cart {
        flex: 1 1 0 !important;
        padding: .46rem .65rem;
        font-size: .84rem;
    }
    .st-page .st-hero-band {
        border-radius: 18px;
        min-height: 240px;
        padding: 1.35rem 1.15rem;
    }
    .st-page .st-hero-acts .csite-btn {
        width: 100%;
        justify-content: center;
    }
    .st-toolbar {
        gap: .55rem;
    }
    .st-search-box {
        flex: 1 1 100%;
    }
    .st-sort-box {
        width: 100%;
        justify-content: space-between;
    }
    .st-sort-select {
        flex: 1 1 auto;
    }
    .st-page .st-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .7rem;
    }
    .st-quick-overlay {
        display: none;
    }
    .st-page .st-body {
        padding: .7rem .72rem .8rem;
        gap: .32rem;
    }
    .st-page .st-card-title {
        font-size: .88rem;
        line-height: 1.32;
    }
    .st-page .st-card-desc {
        display: none;
    }
    .st-page .st-meta b {
        font-size: 1.02rem;
    }
    .st-page .st-add {
        padding: .48rem .55rem;
        font-size: .78rem;
        white-space: normal;
        text-align: center;
    }
    .st-page .st-pdp-body {
        padding: 1.1rem;
    }
    .st-trust-strip {
        grid-template-columns: minmax(0, 1fr);
        gap: .5rem;
    }
    .st-trust-item {
        flex-direction: row;
        text-align: start;
    }
    .st-page .st-cart-row {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: .85rem .9rem;
        gap: .65rem;
    }
    .st-cart-info {
        grid-column: 1 / -1;
    }
    .st-cart-thumb {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
    }
    .st-steps {
        padding: .6rem .75rem;
        gap: .35rem;
        overflow-x: auto;
    }
    .st-steps li:not(.st-step-line) {
        padding: .28rem .58rem;
        font-size: .76rem;
    }
    .st-page .st-checkout {
        padding: 1.1rem;
    }
}

/* ---------- 12. Reduced Motion Accessibility Guard ---------- */
@media (prefers-reduced-motion: reduce) {
    html:has(.st-page) {
        scroll-behavior: auto;
    }
    .st-page *,
    .st-page *::before,
    .st-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ==========================================================================
   6. Admin Theme Picker Cards (/site?sec=store&panel=settings)
   ========================================================================== */
.stm-themes {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, .08);
}
.stm-theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: .85rem;
    margin-bottom: .5rem;
}
.stm-theme-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(15, 23, 42, .10);
    border-radius: 14px;
    background: var(--bs-body-bg, #ffffff);
    overflow: hidden;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.stm-theme-card:hover {
    border-color: rgba(232, 93, 4, .45);
    transform: translateY(-2px);
}
.stm-theme-card.is-on {
    border-color: var(--bs-primary, #e85d04);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, .14);
}
.stm-theme-pick {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    cursor: pointer;
    margin: 0;
}
.stm-theme-pick input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Mini CSS Wireframe Preview */
.stm-theme-wire {
    background: var(--w-bg, #f8fafc);
    padding: .55rem;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.stm-wire-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .22rem .35rem;
    border-radius: 6px;
    background: var(--w-card, #fff);
    border: 1px solid rgba(15, 23, 42, .06);
}
.stm-wire-logo {
    width: 36px;
    height: 6px;
    border-radius: 999px;
    background: var(--w-ink, #0f172a);
    opacity: .75;
}
.stm-wire-pill {
    width: 18px;
    height: 7px;
    border-radius: 999px;
    background: var(--w-acc, #e85d04);
}
.stm-wire-hero {
    padding: .35rem .4rem;
    border-radius: 7px;
    background: var(--w-card, #fff);
    display: flex;
    flex-direction: column;
    gap: .22rem;
}
.stm-wire-h1 {
    width: 56%;
    height: 6px;
    border-radius: 999px;
    background: var(--w-ink, #0f172a);
    opacity: .8;
}
.stm-wire-h2 {
    width: 82%;
    height: 4px;
    border-radius: 999px;
    background: var(--w-ink, #0f172a);
    opacity: .25;
}
.stm-wire-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .35rem;
}
.stm-wire-item {
    background: var(--w-card, #fff);
    border-radius: 7px;
    padding: .25rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    border: 1px solid rgba(15, 23, 42, .06);
}
.stm-wire-img {
    display: block;
    width: 100%;
    height: 30px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(148, 163, 184, .28), rgba(148, 163, 184, .12));
}
.stm-theme-wire.is-wire-boutique .stm-wire-img {
    height: 40px;
    border-radius: 6px;
}
.stm-theme-wire.is-wire-minimal .stm-wire-item,
.stm-theme-wire.is-wire-minimal .stm-wire-hero,
.stm-theme-wire.is-wire-minimal .stm-wire-bar {
    border-radius: 3px;
}
.stm-theme-wire.is-wire-bold .stm-wire-bar,
.stm-theme-wire.is-wire-bold .stm-wire-item {
    border-color: rgba(255, 255, 255, .10);
}
.stm-wire-ln {
    width: 75%;
    height: 4px;
    border-radius: 999px;
    background: var(--w-ink, #0f172a);
    opacity: .65;
}
.stm-wire-pr {
    width: 42%;
    height: 5px;
    border-radius: 999px;
    background: var(--w-acc, #e85d04);
}
.stm-theme-meta {
    padding: .7rem .75rem .55rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    flex: 1 1 auto;
}
.stm-theme-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .35rem;
    flex-wrap: wrap;
}
.stm-theme-name {
    font-size: .92rem;
    font-weight: 700;
}
.stm-theme-active {
    display: inline-flex;
    align-items: center;
    gap: .22rem;
    font-size: .7rem;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, .12);
    padding: .12rem .45rem;
    border-radius: 999px;
}
.stm-theme-desc {
    margin: 0;
    font-size: .78rem;
    line-height: 1.45;
    color: var(--bs-secondary-color, #64748b);
}
.stm-theme-fit {
    margin-top: auto;
    font-size: .72rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #64748b);
}
.stm-theme-foot {
    padding: 0 .75rem .7rem;
}
.stm-theme-prev {
    width: 100%;
    font-size: .78rem;
}

/* Admin dark mode compatibility */
html.theme-dark .stm-themes,
[data-theme="dark"] .stm-themes {
    border-top-color: rgba(255, 255, 255, .10);
}
html.theme-dark .stm-theme-card,
[data-theme="dark"] .stm-theme-card {
    border-color: rgba(255, 255, 255, .12);
}
html.theme-dark .stm-theme-card.is-on,
[data-theme="dark"] .stm-theme-card.is-on {
    border-color: var(--bs-primary, #f97316);
}

/* ==========================================================================
   8. Store Admin Upgrades (Orders Filter, Products Status Bar, Form Dropzone,
      Gallery, Stock Helpers, Settings QR Box)
   ========================================================================== */
.sto-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    padding: .65rem .8rem;
    border-radius: 12px;
    background: var(--bs-tertiary-bg, #f8fafc);
    border: 1px solid rgba(15, 23, 42, .08);
}
.sto-search-wrap {
    position: relative;
    flex: 1 1 220px;
    min-width: 0;
}
.sto-search-wrap i {
    position: absolute;
    inset-inline-start: .7rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-secondary-color, #64748b);
    pointer-events: none;
}
.sto-search-wrap input {
    padding-inline-start: 2.1rem;
}
.sto-pay-sel {
    flex: 0 0 auto;
    width: auto;
    min-width: 150px;
}
.sto-vis-summary {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .84rem;
    color: var(--bs-secondary-color, #475569);
    white-space: nowrap;
}
.stm-status-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: 14px;
    background: var(--bs-body-bg, #fff);
    border: 1px solid rgba(15, 23, 42, .10);
}
.stm-status-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    flex: 1 1 300px;
    min-width: 0;
}
.stm-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .7rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}
.stm-pill i {
    font-size: .5rem;
}
.stm-pill.is-on {
    background: rgba(16, 185, 129, .14);
    color: #059669;
}
.stm-pill.is-off {
    background: rgba(239, 68, 68, .12);
    color: #dc2626;
}
.stm-status-link {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex: 1 1 220px;
    max-width: 420px;
    min-width: 0;
}
.stm-status-acts {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.stm-prod-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
}
.stm-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.stm-fpill {
    border: 1px solid rgba(15, 23, 42, .14);
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #0f172a);
    border-radius: 999px;
    padding: .28rem .72rem;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
}
.stm-fpill.is-active {
    background: var(--bs-primary, #e85d04);
    border-color: var(--bs-primary, #e85d04);
    color: #fff;
}
.stm-fpill.is-warn:not(.is-active) {
    border-color: rgba(220, 38, 38, .4);
    color: #dc2626;
}
.stm-card.is-oos-card {
    border-color: rgba(220, 38, 38, .45) !important;
}
.stm-cover {
    position: relative;
}
.stm-oos-tag {
    position: absolute;
    top: .35rem;
    inset-inline-start: .35rem;
    background: #dc2626;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    padding: .1rem .42rem;
    border-radius: 6px;
}
.stm-gal-tag {
    position: absolute;
    bottom: .35rem;
    inset-inline-end: .35rem;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .1rem .4rem;
    border-radius: 6px;
}
.stm-cmp-del {
    font-size: .78rem;
    color: var(--bs-secondary-color, #64748b);
    margin-inline-start: .35rem;
}
.stm-cat-pill {
    display: inline-block;
    padding: .05rem .42rem;
    border-radius: 6px;
    background: rgba(15, 23, 42, .07);
    font-size: .74rem;
    font-weight: 600;
}
.stm-set-top-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    align-items: center;
}
.stm-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: .75rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: #ffffff;
    color: #0f172a;
}
.stm-qr-holder svg {
    width: 118px;
    height: 118px;
    display: block;
}
.stm-qr-acts {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    justify-content: center;
}
@media (max-width: 640px) {
    .stm-set-top-grid {
        grid-template-columns: 1fr;
    }
    .stm-qr-box {
        width: 100%;
    }
}
.spf-dropzone {
    border: 2px dashed rgba(15, 23, 42, .18);
    border-radius: 12px;
    padding: .75rem;
    background: var(--bs-tertiary-bg, #f8fafc);
    transition: border-color .15s ease, background .15s ease;
}
.spf-dropzone.is-drag {
    border-color: var(--bs-primary, #e85d04);
    background: rgba(232, 93, 4, .06);
}
.spf-gal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}
.spf-gal-item {
    width: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    padding: .25rem;
    background: var(--bs-body-bg, #fff);
}
.spf-gal-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
}
.spf-total-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, .12);
    color: #059669;
    font-size: .84rem;
    font-weight: 700;
}
.spf-item-picker {
    padding: .75rem;
    border-radius: 12px;
    background: var(--bs-tertiary-bg, #f8fafc);
    border: 1px solid rgba(15, 23, 42, .08);
}
html.theme-dark .sto-filter-bar,
[data-theme="dark"] .sto-filter-bar,
html.theme-dark .stm-status-bar,
[data-theme="dark"] .stm-status-bar,
html.theme-dark .spf-dropzone,
[data-theme="dark"] .spf-dropzone,
html.theme-dark .spf-item-picker,
[data-theme="dark"] .spf-item-picker {
    border-color: rgba(255, 255, 255, .12);
}
html.theme-dark .stm-fpill:not(.is-active),
[data-theme="dark"] .stm-fpill:not(.is-active) {
    border-color: rgba(255, 255, 255, .16);
}
html.theme-dark .stm-cat-pill,
[data-theme="dark"] .stm-cat-pill {
    background: rgba(255, 255, 255, .10);
}

/* ==========================================================================
   9. Store Pro v4 — Quick View Trigger, Quick View Modal, Slide-Over Cart
      Drawer & Scroll-Triggered Sticky Mobile Buy Bar
   ========================================================================== */
html.st-overlay-open {
    overflow: hidden;
}

/* --- Card Quick View Trigger --- */
.st-qv-trigger {
    position: absolute;
    top: .7rem;
    inset-inline-end: .7rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .34rem .68rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(15, 23, 42, .74);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .22);
    transition: background .16s ease, border-color .16s ease, transform .16s ease, color .16s ease;
}
.st-qv-trigger:hover {
    background: var(--csite-accent, #e85d04);
    color: var(--csite-on-accent, #fff);
    border-color: transparent;
    transform: translateY(-1px);
}
.st-qv-trigger:focus-visible {
    outline: 2px solid var(--csite-accent, #e85d04);
    outline-offset: 2px;
}

/* --- Slide-Over Cart Drawer --- */
.st-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2050;
    background: rgba(9, 13, 22, .56);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .24s ease;
}
.st-drawer-backdrop.is-open {
    opacity: 1;
}
.st-drawer-backdrop[hidden],
.st-cart-drawer[hidden] {
    display: none !important;
}
.st-cart-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    z-index: 2060;
    width: min(420px, 100vw);
    max-width: 100vw;
    background: var(--st-surface);
    color: var(--st-ink);
    border-inline-start: 1px solid var(--st-border);
    box-shadow: -16px 0 48px rgba(0, 0, 0, .24);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}
[dir="rtl"] .st-cart-drawer {
    transform: translateX(-100%);
    box-shadow: 16px 0 48px rgba(0, 0, 0, .24);
}
.st-cart-drawer.is-open {
    transform: translateX(0);
}
.st-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--st-border);
    flex: 0 0 auto;
}
.st-drawer-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
}
.st-drawer-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--csite-tint, rgba(232, 93, 4, .14));
    color: var(--csite-accent, #e85d04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex: 0 0 auto;
}
.st-drawer-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--st-ink);
}
.st-drawer-cnt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 .42rem;
    border-radius: 999px;
    background: var(--st-surface-2);
    border: 1px solid var(--st-border);
    color: var(--st-ink);
    font-size: .76rem;
    font-weight: 800;
}
.st-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--st-border);
    background: var(--st-surface-2);
    color: var(--st-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.st-drawer-close:hover {
    border-color: var(--csite-accent, #e85d04);
    color: var(--csite-accent, #e85d04);
}
.st-drawer-ship {
    padding: .75rem 1.15rem;
    border-bottom: 1px solid var(--st-border);
    background: var(--st-surface-2);
    flex: 0 0 auto;
}
.st-dship-box {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.st-dship-head {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 700;
    color: var(--st-ink);
}
.st-dship-head i {
    color: var(--csite-accent, #e85d04);
    font-size: .95rem;
    flex: 0 0 auto;
}
.st-dship-box.is-done .st-dship-head i {
    color: #10b981;
}
.st-dship-box.is-done .st-free-fill {
    background: linear-gradient(90deg, #059669, #34d399, #059669);
    background-size: 200% 100%;
}
.st-dship-pct {
    margin-inline-start: auto;
    font-size: .74rem;
    color: var(--st-muted);
}
.st-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem 1.15rem;
    overscroll-behavior: contain;
}
.st-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.st-drawer-item {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--st-border);
}
.st-drawer-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.st-drawer-thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--st-border);
    background: var(--st-surface-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--st-muted);
    text-decoration: none;
}
.st-drawer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.st-drawer-item-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .28rem;
}
.st-drawer-item-title {
    color: var(--st-ink);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.35;
}
.st-drawer-item-title:hover {
    color: var(--csite-accent, #e85d04);
}
.st-drawer-item-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .15rem;
}
.st-drawer-qty {
    font-size: .78rem;
    font-weight: 600;
    color: var(--st-muted);
}
.st-drawer-sum {
    font-size: .9rem;
    font-weight: 900;
    color: var(--st-ink);
}
.st-drawer-empty {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .55rem;
    padding: 1.5rem .75rem;
}
.st-drawer-empty strong {
    font-size: 1.02rem;
    font-weight: 900;
    color: var(--st-ink);
}
.st-drawer-empty p {
    margin: 0 0 .45rem;
    font-size: .84rem;
    color: var(--st-muted);
    max-width: 28ch;
}
.st-drawer-foot {
    padding: 1rem 1.15rem 1.15rem;
    border-top: 1px solid var(--st-border);
    background: var(--st-surface);
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.st-drawer-totals {
    display: flex;
    flex-direction: column;
    gap: .42rem;
}
.st-drawer-trow {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    font-size: .88rem;
    color: var(--st-muted);
}
.st-drawer-trow b {
    color: var(--st-ink);
    font-weight: 800;
}
.st-drawer-trow.is-total {
    padding-top: .55rem;
    border-top: 1px solid var(--st-border);
    font-size: .98rem;
    font-weight: 800;
    color: var(--st-ink);
}
.st-drawer-trow.is-total b {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--csite-accent, #e85d04);
}
.st-drawer-acts {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.st-drawer-cta,
.st-drawer-full {
    width: 100%;
    justify-content: center;
    padding: .72rem 1rem;
}

/* --- Quick View Modal --- */
.st-qv-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2070;
    background: rgba(9, 13, 22, .64);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .22s ease;
}
.st-qv-backdrop.is-open {
    opacity: 1;
}
.st-qv-backdrop[hidden],
.st-qv-modal[hidden] {
    display: none !important;
}
.st-qv-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 2080;
    width: min(820px, calc(100vw - 1.5rem));
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--st-surface);
    color: var(--st-ink);
    border: 1px solid var(--st-border);
    border-radius: 22px;
    box-shadow: 0 28px 64px rgba(0, 0, 0, .34);
    transform: translate(-50%, -48%) scale(.96);
    opacity: 0;
    transition: transform .22s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
}
.st-qv-modal.is-open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.st-qv-close {
    position: absolute;
    top: .85rem;
    inset-inline-end: .85rem;
    z-index: 4;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    color: var(--st-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.st-qv-close:hover {
    border-color: var(--csite-accent, #e85d04);
    color: var(--csite-accent, #e85d04);
    transform: scale(1.06);
}
.st-qv-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    min-height: 360px;
}
.st-qv-media {
    position: relative;
    background: var(--st-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 300px;
}
.st-qv-media.is-empty {
    background: linear-gradient(135deg, color-mix(in srgb, var(--csite-accent, #e85d04) 86%, #0f172a), color-mix(in srgb, var(--csite-accent, #e85d04) 52%, #1e293b));
    color: #fff;
}
.st-qv-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.st-qv-media .st-cover-ico {
    font-size: 3rem;
    color: #fff;
    opacity: .9;
}
.st-qv-body {
    padding: 1.45rem 1.45rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    min-width: 0;
}
.st-qv-title {
    margin: 0;
    padding-inline-end: 2rem;
    font-size: 1.32rem;
    font-weight: 900;
    line-height: 1.3;
    color: var(--st-ink);
}
.st-qv-price {
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--st-border);
}
.st-qv-price b {
    font-size: 1.48rem !important;
    color: var(--csite-accent, #e85d04) !important;
}
.st-qv-desc {
    margin: 0;
    font-size: .86rem;
    line-height: 1.6;
    color: var(--st-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.st-qv-form {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin-top: .15rem;
}
.st-qv-acts {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .2rem;
}
.st-qv-acts .st-add {
    flex: 1 1 170px;
    width: auto;
    padding: .72rem 1rem;
    font-size: .92rem;
}
.st-qv-full {
    flex: 0 1 auto;
    padding: .72rem .95rem;
    font-size: .86rem;
}

/* --- Scroll-Triggered Sticky Mobile Buy Bar (PDP) --- */
@media (max-width: 768px) {
    .st-pdp-sticky.is-scroll-gated {
        transform: translateY(115%);
        opacity: 0;
        pointer-events: none;
        transition: transform .26s cubic-bezier(.22, 1, .36, 1), opacity .22s ease;
    }
    .st-pdp-sticky.is-scroll-gated.is-visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 720px) {
    .st-qv-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .st-qv-media {
        min-height: 210px;
        max-height: 260px;
    }
    .st-qv-body {
        padding: 1.15rem;
    }
    .st-qv-title {
        padding-inline-end: 0;
        font-size: 1.15rem;
    }
    .st-qv-acts .st-add,
    .st-qv-full {
        width: 100%;
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .st-qv-trigger {
        width: 32px;
        height: 32px;
        padding: 0;
        top: .5rem;
        inset-inline-end: .5rem;
    }
    .st-qv-trigger span {
        display: none;
    }
}

@media (max-width: 380px) {
    .st-page .st-main {
        padding: .75rem .65rem 2.25rem;
    }
    .st-page .st-hero-band {
        padding: 1.15rem .95rem;
    }
    .st-page .st-hero-title,
    .st-page .st-hero-sub {
        overflow-wrap: anywhere;
    }
    .st-page .st-grid {
        gap: .55rem;
    }
    .st-page .st-body {
        padding: .6rem .58rem .7rem;
    }
    .st-page .st-add {
        padding: .44rem .42rem;
        font-size: .74rem;
    }
}

/* ==========================================================================
   Timed Store Offers (Catalog filter chip, badges, expiry timer & PDP strip)
   ========================================================================== */
.st-cat-tile.is-offers-tile {
    border-color: rgba(234, 88, 12, .35);
    background: rgba(234, 88, 12, .08);
    color: #c2410c;
}
.st-cat-tile.is-offers-tile .bi-fire {
    color: #ea580c;
    margin-inline-end: .15rem;
}
.st-cat-tile.is-offers-tile.is-active {
    background: #ea580c;
    border-color: #ea580c;
    color: #fff;
}
.st-cat-tile.is-offers-tile.is-active .bi-fire {
    color: #fff;
}
.st-pill-badge.is-offer-lbl {
    background: rgba(15, 23, 42, .86);
    color: #fff;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.st-offer-timer {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    font-size: .73rem;
    font-weight: 700;
    color: #c2410c;
    background: rgba(234, 88, 12, .1);
    border: 1px solid rgba(234, 88, 12, .22);
    border-radius: 999px;
    padding: .16rem .55rem;
    margin-top: .25rem;
    width: fit-content;
    max-width: 100%;
}
.st-offer-strip {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .52rem .78rem;
    margin: .5rem 0 .85rem;
    border-radius: .7rem;
    background: linear-gradient(135deg, rgba(234, 88, 12, .12), rgba(245, 158, 11, .1));
    border: 1px solid rgba(234, 88, 12, .28);
    color: #9a3412;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.4;
}
.st-offer-strip i {
    color: #ea580c;
    font-size: 1rem;
    flex-shrink: 0;
}
.st-offer-strip.is-qv {
    margin: .35rem 0 .55rem;
    padding: .42rem .68rem;
    font-size: .8rem;
}
.st-theme-bold .st-cat-tile.is-offers-tile {
    background: rgba(245, 158, 11, .14);
    border-color: rgba(245, 158, 11, .36);
    color: #fbbf24;
}
.st-theme-bold .st-offer-timer,
.st-theme-bold .st-offer-strip {
    background: rgba(245, 158, 11, .14);
    border-color: rgba(245, 158, 11, .34);
    color: #fcd34d;
}
.st-theme-bold .st-offer-strip i {
    color: #f59e0b;
}

/* ==========================================================================
   Executive Pro Parity Layer (v8) — Unified /car & /s Executive DNA
   Covers all 5 themes (classic, boutique, modern, minimal, bold),
   both hero modes (cover | split), Light & 3-Step Dark Mode, RTL/LTR, 320px+
   ========================================================================== */
@media screen {

  /* 1. Canvas & Tokens */
  .st-page.csite-page.is-public {
    --st-exec-bg: #f6f4ef;
    --st-exec-surface: #ffffff;
    --st-exec-surface-2: #faf8f4;
    --st-exec-surface-3: #f0ece4;
    --st-exec-ink: #14171f;
    --st-exec-muted: #5d6472;
    --st-exec-border: rgba(20, 23, 31, 0.09);
    --st-exec-border-strong: rgba(20, 23, 31, 0.16);
    --st-exec-shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
    --st-exec-shadow-md: 0 12px 32px -12px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.04);
    --st-exec-shadow-lg: 0 24px 54px -18px rgba(15, 23, 42, 0.16);
    --st-bg: var(--st-exec-bg);
    --st-surface: var(--st-exec-surface);
    --st-surface-2: var(--st-exec-surface-2);
    --st-ink: var(--st-exec-ink);
    --st-muted: var(--st-exec-muted);
    --st-border: var(--st-exec-border);
    background:
      radial-gradient(920px 380px at 90% -4%, rgba(var(--csite-rgb, 232, 93, 4), 0.10), transparent 62%),
      radial-gradient(680px 300px at 8% 14%, rgba(22, 163, 74, 0.06), transparent 60%),
      var(--st-exec-bg) !important;
    color: var(--st-exec-ink) !important;
    overflow-x: clip;
  }

  .st-page.st-theme-boutique.csite-page.is-public {
    --st-exec-bg: #f9f6f0;
    --st-card-radius: 22px;
    --st-cover-ratio: 3 / 4;
  }
  .st-page.st-theme-modern.csite-page.is-public {
    --st-exec-bg: #f2f4f8;
    --st-card-radius: 15px;
    --st-cover-ratio: 1 / 1;
  }
  .st-page.st-theme-minimal.csite-page.is-public {
    --st-exec-bg: #f6f5f1;
    --st-card-radius: 10px;
    --st-cover-ratio: 4 / 5;
  }

  /* 3-Step Dark Mode (#080c14 -> #111827 -> #162033) + Bold Theme */
  html[data-mode="dark"] .st-page.csite-page.is-public,
  html[data-theme="dark"] .st-page.csite-page.is-public,
  .st-page.st-theme-bold.csite-page.is-public {
    --st-exec-bg: #080c14;
    --st-exec-surface: #111827;
    --st-exec-surface-2: #162033;
    --st-exec-surface-3: #1e293b;
    --st-exec-ink: #f1f5f9;
    --st-exec-muted: #94a3b8;
    --st-exec-border: rgba(255, 255, 255, 0.09);
    --st-exec-border-strong: rgba(255, 255, 255, 0.17);
    --st-exec-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.34);
    --st-exec-shadow-md: 0 16px 38px -12px rgba(0, 0, 0, 0.54);
    --st-exec-shadow-lg: 0 28px 60px -16px rgba(0, 0, 0, 0.70);
    --st-bg: var(--st-exec-bg);
    --st-surface: var(--st-exec-surface);
    --st-surface-2: var(--st-exec-surface-2);
    --st-ink: var(--st-exec-ink);
    --st-muted: var(--st-exec-muted);
    --st-border: var(--st-exec-border);
    background:
      radial-gradient(880px 380px at 90% -5%, rgba(var(--csite-rgb, 232, 93, 4), 0.16), transparent 62%),
      radial-gradient(640px 280px at 8% 16%, rgba(34, 197, 94, 0.08), transparent 60%),
      var(--st-exec-bg) !important;
    color: var(--st-exec-ink) !important;
  }

  /* 2. Sticky Glass Topbar (.st-topbar) */
  .st-page .track-bar.car-pub-bar.st-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.84) !important;
    backdrop-filter: blur(20px) saturate(165%);
    -webkit-backdrop-filter: blur(20px) saturate(165%);
    border-bottom: 1px solid var(--st-exec-border) !important;
    box-shadow: 0 4px 20px -16px rgba(15, 23, 42, 0.22);
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }
  .st-page .track-bar.car-pub-bar.st-topbar.is-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 10px 28px -18px rgba(15, 23, 42, 0.30);
  }
  .st-page.st-theme-modern .track-bar.car-pub-bar.st-topbar {
    border-bottom: 2px solid var(--csite-accent, #e85d04) !important;
  }
  html[data-mode="dark"] .st-page .track-bar.car-pub-bar.st-topbar,
  html[data-theme="dark"] .st-page .track-bar.car-pub-bar.st-topbar,
  .st-page.st-theme-bold .track-bar.car-pub-bar.st-topbar {
    background: rgba(11, 16, 28, 0.84) !important;
    border-bottom-color: var(--st-exec-border) !important;
    box-shadow: 0 8px 28px -18px rgba(0, 0, 0, 0.78);
  }
  html[data-mode="dark"] .st-page .track-bar.car-pub-bar.st-topbar.is-scrolled,
  html[data-theme="dark"] .st-page .track-bar.car-pub-bar.st-topbar.is-scrolled,
  .st-page.st-theme-bold .track-bar.car-pub-bar.st-topbar.is-scrolled {
    background: rgba(11, 16, 28, 0.95) !important;
  }

  .st-page .st-main {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1.2rem 1rem 2.75rem;
    gap: 1.15rem;
    min-width: 0;
  }

  /* 3. Hero Section — Both Modes (cover | split) + Clear Cover Guarantee */
  .st-page .st-hero-band {
    position: relative;
    border-radius: 1.35rem;
    overflow: hidden;
    box-shadow: var(--st-exec-shadow-lg);
    padding: clamp(1.35rem, 3vw, 2.25rem) clamp(1.15rem, 2.8vw, 2.1rem);
    isolation: isolate;
  }
  .st-page.st-theme-minimal .st-hero-band {
    border-radius: 0.95rem;
  }

  /* Clear Cover Photo: ALWAYS opacity 1, balanced scrim only for legibility */
  .st-page .st-hero-band.has-cover {
    background: #0c111b !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    min-height: 310px;
    display: flex;
    align-items: center;
  }
  .st-page .st-hero-band.has-cover .st-hero-img,
  html[data-mode="dark"] .st-page .st-hero-band.has-cover .st-hero-img,
  html[data-theme="dark"] .st-page .st-hero-band.has-cover .st-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1 !important;
    filter: none !important;
    z-index: 0;
  }
  .st-page .st-hero-band.has-cover .st-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(105deg, rgba(8, 12, 20, 0.72) 0%, rgba(8, 12, 20, 0.44) 54%, rgba(8, 12, 20, 0.24) 100%),
      linear-gradient(180deg, rgba(8, 12, 20, 0.12) 0%, rgba(8, 12, 20, 0.58) 100%) !important;
    pointer-events: none;
  }
  html[dir="rtl"] .st-page .st-hero-band.has-cover .st-hero-scrim {
    background:
      linear-gradient(255deg, rgba(8, 12, 20, 0.72) 0%, rgba(8, 12, 20, 0.44) 54%, rgba(8, 12, 20, 0.24) 100%),
      linear-gradient(180deg, rgba(8, 12, 20, 0.12) 0%, rgba(8, 12, 20, 0.58) 100%) !important;
  }
  .st-page .st-hero-band.has-cover .st-hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  }
  .st-page .st-hero-band.has-cover .st-hero-sub {
    color: rgba(248, 250, 252, 0.90) !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  }
  .st-page .st-hero-band.has-cover .st-hero-eyebrow {
    background: rgba(15, 23, 42, 0.52) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    color: #ffffff !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .st-page .st-hero-band.has-cover .st-hero-ghost {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .st-page .st-hero-band.has-cover .st-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.26) !important;
    color: #ffffff !important;
  }
  .st-page .st-hero-band.has-cover .st-hero-cue {
    background: rgba(15, 23, 42, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.26rem 0.65rem;
    border-radius: 999px;
  }

  /* Plain Hero (No Cover Image): Crisp Executive Card matching /car & elareby */
  .st-page .st-hero-band.is-plain {
    background:
      radial-gradient(640px 260px at 0% 0%, rgba(var(--csite-rgb, 232, 93, 4), 0.11), transparent 62%),
      radial-gradient(500px 220px at 100% 100%, rgba(29, 78, 216, 0.06), transparent 60%),
      var(--st-exec-surface) !important;
    border: 1px solid var(--st-exec-border) !important;
    color: var(--st-exec-ink) !important;
  }
  .st-page .st-hero-band.is-plain .st-hero-mesh {
    display: none;
  }
  .st-page .st-hero-band.is-plain .st-hero-eyebrow {
    background: rgba(var(--csite-rgb, 232, 93, 4), 0.11) !important;
    border: 1px solid rgba(var(--csite-rgb, 232, 93, 4), 0.28) !important;
    color: var(--csite-accent, #e85d04) !important;
  }
  .st-page .st-hero-band.is-plain .st-hero-title {
    color: var(--st-exec-ink) !important;
    text-shadow: none !important;
  }
  .st-page .st-hero-band.is-plain .st-hero-sub {
    color: var(--st-exec-muted) !important;
    text-shadow: none !important;
  }
  .st-page .st-hero-band.is-plain .st-hero-ghost {
    background: var(--st-exec-surface-2) !important;
    border: 1px solid var(--st-exec-border-strong) !important;
    color: var(--st-exec-ink) !important;
  }
  .st-page .st-hero-band.is-plain .st-hero-ghost:hover {
    background: var(--st-exec-surface-3) !important;
    border-color: rgba(var(--csite-rgb, 232, 93, 4), 0.42) !important;
  }
  .st-page .st-hero-band.is-plain .st-hero-cue {
    background: var(--st-exec-surface-2);
    border: 1px solid var(--st-exec-border);
    color: var(--st-exec-muted);
    padding: 0.26rem 0.65rem;
    border-radius: 999px;
  }
  .st-page .st-hero-band.is-plain .st-hero-cue b,
  .st-page .st-hero-band.is-plain .st-hero-cue i {
    color: var(--csite-accent, #e85d04);
  }

  /* Hero Inner Layout: Cover vs Split */
  .st-page .st-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
  }
  .st-page .csite-hero-body.st-hero-inner.is-split {
    display: grid !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.92fr) !important;
    gap: clamp(1.15rem, 2.6vw, 2rem);
    align-items: center;
  }
  .st-page .st-hero-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
  }
  .st-page .st-hero-search {
    margin-top: 0.25rem;
    max-width: 520px;
    width: 100%;
  }
  .st-page .st-search-box.is-hero .st-search-input {
    min-height: 46px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.32);
    padding-inline-start: 2.55rem;
    padding-inline-end: 2.3rem;
  }
  .st-page .st-hero-band.is-plain .st-search-box.is-hero .st-search-input {
    background: var(--st-exec-surface-2);
    color: var(--st-exec-ink);
    border: 1px solid var(--st-exec-border-strong);
    box-shadow: var(--st-exec-shadow-sm);
  }
  html[data-mode="dark"] .st-page .st-search-box.is-hero .st-search-input,
  html[data-theme="dark"] .st-page .st-search-box.is-hero .st-search-input,
  .st-page.st-theme-bold .st-search-box.is-hero .st-search-input {
    background: rgba(15, 23, 42, 0.80);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.22);
  }
  html[data-mode="dark"] .st-page .st-search-box.is-hero .st-search-input::placeholder,
  html[data-theme="dark"] .st-page .st-search-box.is-hero .st-search-input::placeholder,
  .st-page.st-theme-bold .st-search-box.is-hero .st-search-input::placeholder {
    color: rgba(203, 213, 225, 0.72);
  }
  .st-page .st-search-box.is-hero .st-search-ico {
    color: var(--csite-accent, #e85d04);
  }
  .st-page .st-hero-cues {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.15rem;
  }

  /* Frosted Glass Spotlight Card (Split Mode) */
  .st-page .st-hero-spotlight {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(18px) saturate(155%);
    -webkit-backdrop-filter: blur(18px) saturate(155%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.15rem;
    padding: 1.15rem;
    box-shadow: 0 22px 46px -16px rgba(0, 0, 0, 0.46);
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 0;
  }
  .st-page .st-hero-band.is-plain .st-hero-spotlight {
    background: linear-gradient(155deg, #0f172a 0%, #162033 100%);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 44px -16px rgba(15, 23, 42, 0.36);
  }
  html[data-mode="dark"] .st-page .st-hero-band.is-plain .st-hero-spotlight,
  html[data-theme="dark"] .st-page .st-hero-band.is-plain .st-hero-spotlight,
  .st-page.st-theme-bold .st-hero-band.is-plain .st-hero-spotlight {
    background: var(--st-exec-surface-2);
    border-color: var(--st-exec-border-strong);
  }
  .st-page .st-spot-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
  }
  .st-page .st-spot-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.25;
  }
  .st-page .st-spot-badge.is-verified {
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(74, 222, 128, 0.36);
    color: #86efac;
  }
  .st-page .st-spot-badge.is-ship {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f8fafc;
  }
  .st-page .st-spot-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .st-page .st-spot-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.14rem;
    padding: 0.65rem 0.4rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: #f8fafc;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  }
  .st-page .st-spot-stat:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.26);
    color: #ffffff;
  }
  .st-page .st-spot-stat.is-hot {
    background: rgba(234, 88, 12, 0.22);
    border-color: rgba(251, 146, 60, 0.42);
  }
  .st-page .st-spot-stat b {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.1;
  }
  .st-page .st-spot-stat span {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(241, 245, 249, 0.80);
  }
  .st-page .st-search-box.is-spot .st-search-input {
    min-height: 42px;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #ffffff;
    padding-inline-start: 2.35rem;
    padding-inline-end: 2.15rem;
  }
  .st-page .st-search-box.is-spot .st-search-input::placeholder {
    color: rgba(226, 232, 240, 0.72);
  }
  .st-page .st-search-box.is-spot .st-search-ico,
  .st-page .st-search-box.is-spot .st-search-clear {
    color: rgba(248, 250, 252, 0.85);
  }

  /* 4. Interactive 4-Card KPI Strip (matching /car .cp-kpi-strip) */
  .st-page .st-kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    min-width: 0;
  }
  .st-page .st-kpi-tile {
    display: flex;
    align-items: center;
    gap: 0.82rem;
    padding: 0.92rem 1rem;
    border-radius: 1.05rem;
    background: var(--st-exec-surface);
    border: 1px solid var(--st-exec-border);
    box-shadow: var(--st-exec-shadow-sm);
    text-decoration: none;
    color: var(--st-exec-ink);
    min-width: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  .st-page .st-kpi-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--st-exec-shadow-md);
    border-color: rgba(var(--csite-rgb, 232, 93, 4), 0.36);
    color: var(--st-exec-ink);
  }
  .st-page .st-kpi-tile.is-hot-tile {
    border-color: rgba(234, 88, 12, 0.28);
  }
  .st-page .st-kpi-ico {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
  }
  .st-page .st-kpi-ico.is-accent {
    background: rgba(var(--csite-rgb, 232, 93, 4), 0.12);
    color: var(--csite-accent, #e85d04);
  }
  .st-page .st-kpi-ico.is-warn {
    background: rgba(217, 119, 6, 0.13);
    color: #b45309;
  }
  .st-page .st-kpi-ico.is-blue {
    background: rgba(37, 99, 235, 0.11);
    color: #1d4ed8;
  }
  .st-page .st-kpi-ico.is-ok {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
  }
  html[data-mode="dark"] .st-page .st-kpi-ico.is-warn,
  html[data-theme="dark"] .st-page .st-kpi-ico.is-warn,
  .st-page.st-theme-bold .st-kpi-ico.is-warn {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
  }
  html[data-mode="dark"] .st-page .st-kpi-ico.is-blue,
  html[data-theme="dark"] .st-page .st-kpi-ico.is-blue,
  .st-page.st-theme-bold .st-kpi-ico.is-blue {
    background: rgba(59, 130, 246, 0.18);
    color: #60a5fa;
  }
  html[data-mode="dark"] .st-page .st-kpi-ico.is-ok,
  html[data-theme="dark"] .st-page .st-kpi-ico.is-ok,
  .st-page.st-theme-bold .st-kpi-ico.is-ok {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
  }
  .st-page .st-kpi-txt {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.08rem;
  }
  .st-page .st-kpi-k {
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--st-exec-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .st-page .st-kpi-v {
    font-size: 1.06rem;
    font-weight: 900;
    color: var(--st-exec-ink);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .st-page .st-kpi-s {
    font-size: 0.72rem;
    color: var(--st-exec-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 5. Catalog Header, Category Rail & Elevated Cards */
  .st-page .st-catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
    padding: 1rem 1.15rem;
    border-radius: 1.1rem;
    background: var(--st-exec-surface);
    border: 1px solid var(--st-exec-border);
    box-shadow: var(--st-exec-shadow-sm);
  }
  .st-page .st-catalog-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    max-width: 100%;
  }
  .st-page .st-cat-rail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }
  .st-page .st-cat-rail::-webkit-scrollbar {
    display: none;
  }
  .st-page .st-cat-tile {
    flex: 0 0 auto;
    background: var(--st-exec-surface);
    border: 1px solid var(--st-exec-border);
    color: var(--st-exec-ink);
    box-shadow: var(--st-exec-shadow-sm);
  }
  .st-page .st-cat-tile.is-active {
    background: var(--csite-accent, #e85d04);
    border-color: var(--csite-accent, #e85d04);
    color: var(--csite-on-accent, #ffffff);
  }
  .st-page .st-card {
    background: var(--st-exec-surface);
    border: 1px solid var(--st-exec-border);
    border-radius: var(--st-card-radius, 18px);
    box-shadow: var(--st-exec-shadow-sm);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
  }
  .st-page .st-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--st-exec-shadow-md);
    border-color: rgba(var(--csite-rgb, 232, 93, 4), 0.32);
  }
  .st-page.st-theme-minimal .st-card:hover {
    border-color: var(--st-exec-ink);
  }

  /* 6. PDP & Cart Executive Refinements */
  .st-page .st-pdp {
    align-items: start;
  }
  .st-page .st-pdp-body.csite-card {
    position: sticky;
    top: 84px;
    background: var(--st-exec-surface);
    border: 1px solid var(--st-exec-border);
    border-radius: 1.2rem;
    box-shadow: var(--st-exec-shadow-md);
  }
  .st-page .st-pdp-price-card {
    padding: 0.9rem 1.05rem;
    border-radius: 0.95rem;
    background: var(--st-exec-surface-2);
    border: 1px solid var(--st-exec-border);
    margin: 0.75rem 0 1rem;
  }
  .st-page .st-pdp-price-card.has-disc {
    border-color: rgba(var(--csite-rgb, 232, 93, 4), 0.28);
    background: linear-gradient(135deg, rgba(var(--csite-rgb, 232, 93, 4), 0.08), var(--st-exec-surface-2));
  }
  .st-page .st-pdp-price-card .st-offer-strip {
    margin: 0.55rem 0 0;
  }
  .st-page .st-page-head {
    background: var(--st-exec-surface);
    border: 1px solid var(--st-exec-border);
    border-radius: 1.15rem;
    padding: 1.15rem 1.3rem;
    box-shadow: var(--st-exec-shadow-sm);
  }
  .st-page .st-cart-summary.csite-card {
    position: sticky;
    top: 84px;
    background: var(--st-exec-surface);
    border: 1px solid var(--st-exec-border);
    border-radius: 1.15rem;
    box-shadow: var(--st-exec-shadow-md);
  }

  /* 7. Admin Hero Style Picker (#site-store-hero-style in store_manage.php) */
  .stm-hero-styles {
    margin-bottom: 1.35rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border, rgba(15, 23, 42, 0.1));
  }
  .stm-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }
  .stm-hero-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    border: 2px solid var(--border, rgba(15, 23, 42, 0.12));
    background: var(--paper, #ffffff);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  }
  .stm-hero-card:hover {
    border-color: rgba(232, 93, 4, 0.45);
    transform: translateY(-1px);
  }
  .stm-hero-card.is-on,
  .stm-hero-card:has(input[type="radio"]:checked) {
    border-color: var(--accent, #e85d04);
    box-shadow: 0 10px 24px -12px rgba(232, 93, 4, 0.35);
  }
  .stm-hero-pick {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.9rem;
    cursor: pointer;
    flex: 1 1 auto;
    margin: 0;
  }
  .stm-hero-pick input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .stm-hero-wire {
    height: 92px;
    border-radius: 0.72rem;
    padding: 0.6rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 58%, #334155 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .stm-hw-cover {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
  }
  .stm-hw-split {
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.5rem;
    align-items: center;
  }
  .stm-hw-col-a {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
  }
  .stm-hw-col-b {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.5rem;
    padding: 0.38rem;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
  }
  .stm-hw-pill {
    width: 44px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
  }
  .stm-hw-title {
    width: 72%;
    height: 11px;
    border-radius: 4px;
    background: #ffffff;
  }
  .stm-hw-sub {
    width: 88%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.45);
  }
  .stm-hw-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.15rem;
  }
  .stm-hw-btn.is-pri {
    width: 48px;
    height: 14px;
    border-radius: 999px;
    background: var(--accent, #e85d04);
  }
  .stm-hw-search {
    flex: 1 1 auto;
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
  }
  .stm-hw-spot-top {
    width: 65%;
    height: 6px;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.72);
  }
  .stm-hw-spot-nums {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.2rem;
  }
  .stm-hw-spot-nums span {
    height: 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
  }

  /* 8. Responsive Breakpoints (Tablet & 320px–360px Zero Overflow) */
  @media (max-width: 960px) {
    .st-page .csite-hero-body.st-hero-inner.is-split {
      grid-template-columns: minmax(0, 1fr) !important;
    }
    .st-page .st-kpi-strip {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .st-page .st-pdp-body.csite-card,
    .st-page .st-cart-summary.csite-card {
      position: static;
    }
  }
  @media (max-width: 640px) {
    .stm-hero-grid {
      grid-template-columns: minmax(0, 1fr);
    }
    .st-page .st-hero-band {
      border-radius: 1.05rem;
      padding: 1.1rem 0.95rem;
    }
    .st-page .st-kpi-strip {
      gap: 0.55rem;
    }
    .st-page .st-kpi-tile {
      padding: 0.72rem 0.75rem;
      gap: 0.6rem;
      border-radius: 0.9rem;
    }
    .st-page .st-kpi-ico {
      width: 36px;
      height: 36px;
      flex: 0 0 36px;
      border-radius: 10px;
      font-size: 0.98rem;
    }
    .st-page .st-kpi-v {
      font-size: 0.94rem;
    }
    .st-page .st-catalog-head {
      padding: 0.85rem 0.9rem;
    }
  }

  /* 9. Compact Luxury Framed Store Footer (matching /s/<slug> .csite-foot) */
  .st-page .csite-foot.st-foot {
    width: min(1200px, calc(100% - 36px));
    margin: 26px auto 28px;
    padding: 16px 22px;
    border-radius: 18px;
    background: var(--st-surface, #ffffff);
    border: 1px solid var(--st-border, rgba(15, 23, 42, 0.1));
    box-shadow: var(--st-exec-shadow-sm, 0 2px 10px rgba(15, 23, 42, 0.05));
    color: var(--st-muted, #5b6472);
    box-sizing: border-box;
    max-width: calc(100% - 24px);
  }
  .st-page .st-foot-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--st-border, rgba(15, 23, 42, 0.08));
  }
  .st-page .st-foot-ident {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    min-width: 0;
  }
  .st-page .st-foot-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--st-ink, #111827);
    line-height: 1.3;
  }
  .st-page .st-foot-type {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--st-muted, #5b6472);
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--st-surface-2, #f3f0ea);
    border: 1px solid var(--st-border, rgba(15, 23, 42, 0.08));
  }
  .st-page .st-foot-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
    max-width: 100%;
  }
  .st-page .st-foot-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--st-surface-2, #f3f0ea);
    border: 1px solid var(--st-border, rgba(15, 23, 42, 0.1));
    color: var(--st-ink, #111827);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 100%;
    overflow-wrap: anywhere;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  }
  .st-page .st-foot-pill i {
    font-size: 0.8rem;
    color: var(--csite-accent, #e85d04);
    flex: 0 0 auto;
  }
  .st-page a.st-foot-pill:hover {
    color: var(--csite-accent, #e85d04);
    border-color: var(--csite-line, rgba(232, 93, 4, 0.32));
    background: var(--csite-tint, rgba(232, 93, 4, 0.1));
  }
  .st-page .st-foot-pill.is-wa i {
    color: #16a34a;
  }
  .st-page .st-foot-pill.is-meta {
    color: var(--st-muted, #5b6472);
    font-weight: 600;
  }
  .st-page .csite-foot.st-foot .csite-foot-in {
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
  }
  .st-page .csite-foot.st-foot .pub-brand {
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 12px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--st-muted, #5b6472);
  }
  .st-page .csite-foot.st-foot .pub-brand-kicker {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--st-muted, #5b6472);
  }
  .st-page .csite-foot.st-foot .pub-brand-name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px 4px 5px;
    border-radius: 999px;
    background: var(--st-surface-2, #f3f0ea);
    border: 1px solid var(--st-border, rgba(15, 23, 42, 0.1));
    text-decoration: none;
    color: var(--st-ink, #111827);
    font-weight: 800;
    font-size: 0.82rem;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  }
  html[dir="rtl"] .st-page .csite-foot.st-foot .pub-brand-name {
    padding: 4px 5px 4px 11px;
  }
  .st-page .csite-foot.st-foot .pub-brand-name:hover {
    color: var(--csite-accent, #e85d04);
    border-color: var(--csite-line, rgba(232, 93, 4, 0.32));
    background: var(--csite-tint, rgba(232, 93, 4, 0.1));
  }
  .st-page .csite-foot.st-foot .pub-brand-name img {
    height: 24px;
    width: 24px;
    max-width: 72px;
    border-radius: 999px;
    object-fit: contain;
    display: block;
    background: #ffffff;
    border: 1px solid var(--st-border, rgba(15, 23, 42, 0.1));
    padding: 2px;
  }
  .st-page .csite-foot.st-foot .pub-brand-name b {
    font-weight: 800;
  }
  .st-page .csite-foot.st-foot .pub-brand-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin-inline-start: 0;
    padding-inline-start: 0;
    border-inline-start: 0;
  }
  .st-page .csite-foot.st-foot .pub-brand-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--st-surface-2, #f3f0ea);
    border: 1px solid var(--st-border, rgba(15, 23, 42, 0.1));
    color: var(--st-ink, #111827);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  }
  .st-page .csite-foot.st-foot .pub-brand-links a:hover {
    color: var(--csite-accent, #e85d04);
    border-color: var(--csite-line, rgba(232, 93, 4, 0.32));
    background: var(--csite-tint, rgba(232, 93, 4, 0.1));
  }
  .st-page .csite-foot.st-foot .pub-brand-links i {
    font-size: 0.78rem;
    color: var(--csite-accent, #e85d04);
  }
  .st-page .csite-foot.st-foot .csite-foot-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--st-muted, #5b6472);
    white-space: nowrap;
  }
  html[data-mode="dark"] .st-page .csite-foot.st-foot,
  html[data-theme="dark"] .st-page .csite-foot.st-foot {
    background: var(--st-surface, #171d27);
    border-color: var(--st-border, rgba(255, 255, 255, 0.11));
  }
  html[data-mode="dark"] .st-page .st-foot-pill.is-wa i,
  html[data-theme="dark"] .st-page .st-foot-pill.is-wa i {
    color: #4ade80;
  }
  @media (max-width: 767px) {
    .st-page .csite-foot.st-foot {
      width: calc(100% - 24px);
      margin: 16px auto 84px;
      padding: 14px;
      border-radius: 16px;
    }
    .st-page .st-foot-top {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 8px;
    }
    .st-page .st-foot-ident,
    .st-page .st-foot-links {
      justify-content: center;
    }
    .st-page .csite-foot.st-foot .csite-foot-in {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 10px;
    }
    .st-page .csite-foot.st-foot .pub-brand,
    .st-page .csite-foot.st-foot .pub-brand-links {
      justify-content: center;
    }
    .st-page .csite-foot.st-foot .csite-foot-copy {
      white-space: normal;
      justify-content: center;
      flex-wrap: wrap;
    }
  }
}

@media screen {
  @keyframes stAnnMarqueeRtl {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
  }
  @keyframes stAnnMarqueeLtr {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
  }
  .st-page .st-announce-bar,
  .stm-ann-preview-frame .st-announce-bar {
    position: relative;
    z-index: 45;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    --st-ann-dur: 24s;
    --st-ann-bg-eff: var(--csite-accent, #e85d04);
    --st-ann-fg-eff: var(--csite-on-accent, #ffffff);
    --st-ann-ico-bg: rgba(255, 255, 255, 0.16);
    --st-ann-ico-fg: currentColor;
    --st-ann-sep: rgba(255, 255, 255, 0.48);
    background: linear-gradient(
      95deg,
      color-mix(in srgb, var(--st-ann-bg-eff) 84%, #0f1117 16%) 0%,
      var(--st-ann-bg-eff) 48%,
      color-mix(in srgb, var(--st-ann-bg-eff) 88%, #ffffff 12%) 52%,
      color-mix(in srgb, var(--st-ann-bg-eff) 84%, #0f1117 16%) 100%
    );
    color: var(--st-ann-fg-eff);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 4px 16px -8px rgba(0, 0, 0, 0.38);
  }
  .st-page .st-announce-bar.is-spd-slow,
  .stm-ann-preview-frame .st-announce-bar.is-spd-slow { --st-ann-dur: 36s; }
  .st-page .st-announce-bar.is-spd-normal,
  .stm-ann-preview-frame .st-announce-bar.is-spd-normal { --st-ann-dur: 24s; }
  .st-page .st-announce-bar.is-spd-fast,
  .stm-ann-preview-frame .st-announce-bar.is-spd-fast { --st-ann-dur: 14s; }
  .st-page .st-announce-bar.is-thm-obsidian,
  .stm-ann-preview-frame .st-announce-bar.is-thm-obsidian {
    --st-ann-fg-eff: #f8fafc;
    --st-ann-ico-bg: rgba(243, 201, 105, 0.16);
    --st-ann-ico-fg: #f3c969;
    --st-ann-sep: rgba(243, 201, 105, 0.65);
    background: linear-gradient(95deg, #0c0e14 0%, #1b1f2b 48%, #232736 52%, #0c0e14 100%);
    border-bottom-color: rgba(243, 201, 105, 0.28);
  }
  .st-page .st-announce-bar.is-thm-emerald,
  .stm-ann-preview-frame .st-announce-bar.is-thm-emerald {
    --st-ann-fg-eff: #ffffff;
    --st-ann-ico-bg: rgba(255, 255, 255, 0.16);
    --st-ann-ico-fg: #a7f3d0;
    --st-ann-sep: rgba(167, 243, 208, 0.62);
    background: linear-gradient(95deg, #064e3b 0%, #059669 50%, #047857 100%);
    border-bottom-color: rgba(167, 243, 208, 0.24);
  }
  .st-page .st-announce-bar.is-thm-ruby,
  .stm-ann-preview-frame .st-announce-bar.is-thm-ruby {
    --st-ann-fg-eff: #ffffff;
    --st-ann-ico-bg: rgba(255, 255, 255, 0.18);
    --st-ann-ico-fg: #fde68a;
    --st-ann-sep: rgba(253, 230, 138, 0.68);
    background: linear-gradient(95deg, #881337 0%, #dc2626 50%, #9f1239 100%);
    border-bottom-color: rgba(253, 230, 138, 0.26);
  }
  .st-page .st-announce-bar.is-thm-custom,
  .stm-ann-preview-frame .st-announce-bar.is-thm-custom {
    --st-ann-bg-eff: var(--st-ann-bg, #141418);
    --st-ann-fg-eff: var(--st-ann-color, #ffffff);
    --st-ann-ico-bg: color-mix(in srgb, var(--st-ann-fg-eff) 14%, transparent);
    --st-ann-ico-fg: var(--st-ann-fg-eff);
    --st-ann-sep: color-mix(in srgb, var(--st-ann-fg-eff) 52%, transparent);
    background: linear-gradient(
      95deg,
      color-mix(in srgb, var(--st-ann-bg-eff) 88%, #000000 12%) 0%,
      var(--st-ann-bg-eff) 50%,
      color-mix(in srgb, var(--st-ann-bg-eff) 88%, #000000 12%) 100%
    );
  }
  html[data-mode="dark"] .st-page .st-announce-bar.is-thm-brand,
  html[data-theme="dark"] .st-page .st-announce-bar.is-thm-brand {
    background: linear-gradient(
      95deg,
      color-mix(in srgb, var(--csite-accent, #e85d04) 74%, #090d16 26%) 0%,
      color-mix(in srgb, var(--csite-accent, #e85d04) 90%, #090d16 10%) 50%,
      color-mix(in srgb, var(--csite-accent, #e85d04) 74%, #090d16 26%) 100%
    );
    border-bottom-color: rgba(255, 255, 255, 0.13);
  }
  .st-page .st-announce-viewport,
  .stm-ann-preview-frame .st-announce-viewport {
    position: relative;
    width: 100%;
    direction: ltr;
    overflow: hidden;
    padding: 8px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  }
  .st-page .st-announce-track,
  .stm-ann-preview-frame .st-announce-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: max-content;
    direction: ltr;
    will-change: transform;
    animation: stAnnMarqueeRtl var(--st-ann-dur, 24s) linear infinite;
  }
  html[dir="ltr"] .st-page .st-announce-track,
  html[dir="ltr"] .stm-ann-preview-frame .st-announce-track {
    animation-name: stAnnMarqueeLtr;
  }
  .st-page .st-announce-bar:hover .st-announce-track,
  .st-page .st-announce-bar:focus-within .st-announce-track,
  .stm-ann-preview-frame .st-announce-bar:hover .st-announce-track {
    animation-play-state: paused;
  }
  .st-page .st-announce-group,
  .stm-ann-preview-frame .st-announce-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
  }
  .st-page .st-announce-item,
  .stm-ann-preview-frame .st-announce-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    white-space: nowrap;
    direction: rtl;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.01em;
  }
  html[dir="ltr"] .st-page .st-announce-item,
  html[dir="ltr"] .stm-ann-preview-frame .st-announce-item {
    direction: ltr;
  }
  .st-page .st-announce-ico,
  .stm-ann-preview-frame .st-announce-ico {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--st-ann-ico-bg);
    color: var(--st-ann-ico-fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex: 0 0 auto;
  }
  .st-page .st-announce-sep,
  .stm-ann-preview-frame .st-announce-sep {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--st-ann-sep);
    flex: 0 0 auto;
    display: inline-block;
  }
  .st-page .st-announce-inner,
  .stm-ann-preview-frame .st-announce-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.45;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
  }
  .st-page .st-announce-static-list,
  .stm-ann-preview-frame .st-announce-static-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
  }
  @media (prefers-reduced-motion: reduce) {
    .st-page .st-announce-bar.is-marquee .st-announce-track,
    .stm-ann-preview-frame .st-announce-bar.is-marquee .st-announce-track {
      animation: none;
      transform: none;
      width: 100%;
      justify-content: center;
    }
    .st-page .st-announce-bar.is-marquee .st-announce-group[aria-hidden="true"],
    .stm-ann-preview-frame .st-announce-bar.is-marquee .st-announce-group[aria-hidden="true"] {
      display: none;
    }
  }
  @media (max-width: 640px) {
    .st-page .st-announce-inner {
      padding: 7px 12px;
      font-size: 0.78rem;
      gap: 6px;
    }
    .st-page .st-announce-viewport {
      padding: 7px 0;
    }
    .st-page .st-announce-item {
      padding: 0 13px;
      font-size: 0.78rem;
      gap: 6px;
    }
    .st-page .st-announce-ico {
      width: 20px;
      height: 20px;
      font-size: 0.68rem;
    }
  }
}
