/**
 * Store catalog layout — dense B2B product browser
 * Dark filter rail + top bar, light content, tight white product cards
 * Fonts loaded from store.php <head> (async) — no blocking @import.
 */

html:has(body.store-catalog-page) {
    margin: 0 !important;
    padding: 0 !important;
    background: #1a1d23 !important;
}

body.store-catalog-page .visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

body.store-catalog-page {
    --sc-ink: #1a1d23;
    --sc-ink-2: #22262e;
    --sc-rail: #16191f;
    --sc-blue: #0ea5e9;
    --sc-blue-hot: #0284c7;
    --sc-green: #15803d;
    --sc-canvas: #ffffff;
    --sc-card: #ffffff;
    --sc-line: #d5dbe3;
    --sc-muted: #6b7280;
    --sc-text: #111827;
    --sc-sale: #16a34a;
    --sc-new: #eab308;
    --sc-danger: #dc2626;
    --sc-rail-w: 260px;
    --sc-nav-h: 36px;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "IBM Plex Sans", "DM Sans", system-ui, sans-serif;
    background: var(--sc-canvas) !important;
    color: var(--sc-text);
    min-height: 100vh;
    overflow-x: hidden;
}

body.store-catalog-page .store-viewport {
    min-height: 100vh;
    background: var(--sc-canvas) !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    overflow: visible !important;
    transform: none !important;
    filter: none !important;
}

body.store-catalog-page .store-viewport::before,
body.store-catalog-page .store-viewport::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
}

body.store-catalog-page .store-shell {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: var(--sc-nav-h) 0 0 !important;
    gap: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    min-height: 100vh !important;
    align-items: stretch !important;
    position: relative;
    z-index: 1;
    flex-direction: unset !important;
    box-sizing: border-box !important;
}
body.store-catalog-page .store-shell:not(:has(.sc-filters)) {
    grid-template-columns: minmax(0, 1fr) !important;
}
body.store-catalog-page .store-shell:not(:has(.sc-filters)) .sc-content-col {
    grid-column: 1 !important;
}

/* —— Top bar — fixed, never scrolls away —— */
body.store-catalog-page .sf-topnav,
body.store-catalog-page .sc-topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    height: var(--sc-nav-h) !important;
    min-height: var(--sc-nav-h) !important;
    max-height: var(--sc-nav-h) !important;
    padding: 0 10px 0 12px !important;
    margin: 0 !important;
    background: var(--sc-ink) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    z-index: 200;
    box-sizing: border-box !important;
}

body.store-catalog-page .sf-topnav__brand {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    gap: 0;
    flex: 0 0 auto;
    min-width: 0;
    text-decoration: none;
    height: 100%;
    line-height: 1;
}
body.store-catalog-page .sf-topnav__logo,
body.store-catalog-page .sc-filters__brand img {
    display: none !important;
}
body.store-catalog-page .sf-topnav__links {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    margin-left: auto !important;
    height: 100%;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 0;
}
body.store-catalog-page .sf-topnav__links a {
    display: inline-flex !important;
    align-items: center !important;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 8px !important;
    height: 100%;
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    white-space: nowrap;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1;
}
body.store-catalog-page .sf-topnav__links a:hover,
body.store-catalog-page .sf-topnav__links a.is-active {
    color: #fff !important;
    background: transparent !important;
    border-bottom-color: var(--sc-blue) !important;
}
body.store-catalog-page .sf-topnav__cart {
    padding: 0 7px !important;
    font-size: 12px;
}
body.store-catalog-page .sf-topnav__badge {
    background: var(--sc-danger);
    min-width: 14px;
    height: 14px;
    font-size: 9px;
    margin-left: 3px;
}
body.store-catalog-page .sf-topnav__btn,
body.store-catalog-page .sf-topnav__btn--ghost {
    align-self: center;
    height: 22px !important;
    min-height: 22px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    padding: 0 8px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 2px !important;
    margin-left: 2px;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
    line-height: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
body.store-catalog-page .sf-topnav__btn--trial {
    align-self: center;
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    border-radius: 4px !important;
    margin-left: 6px;
    border: 1px solid var(--store-trial-btn-border, var(--store-btn-border, #38bdf8)) !important;
    color: var(--store-trial-btn-text, var(--store-btn-text, #38bdf8)) !important;
    background: var(--store-trial-btn-bg, var(--store-btn-bg, #0a0c10)) !important;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45), 0 4px 14px rgba(14, 165, 233, 0.45) !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1 !important;
}

/* Hide marketing chrome — catalog-first (trust + setup stay visible) */
body.store-catalog-page .store-header,
body.store-catalog-page header.store-header,
body.store-catalog-page .store-panel-login-prompt,
body.store-catalog-page .store-subnav,
body.store-catalog-page .store-custom-banner,
body.store-catalog-page .panel-showcase-section,
body.store-catalog-page .review-marquee,
body.store-catalog-page .store-custom-html {
    display: none !important;
}

/* Content column — flush under nav, beside filters */
body.store-catalog-page .sc-content-col {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0;
    width: 100%;
    background: var(--sc-canvas);
    padding: 14px 18px 32px !important;
    margin: 0 !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
body.store-catalog-page .sc-content-col > * { order: 4; }
body.store-catalog-page .sc-content-col > .sc-howto { order: 0; }
body.store-catalog-page .sc-content-col > .plan-section--product-cards { order: 1; }
body.store-catalog-page .sc-content-col > .sc-setup-details { order: 3; }

body.store-catalog-page .sc-content-col > .sc-buy-ease,
body.store-catalog-page .sc-content-col > .sc-setup-details,
body.store-catalog-page .sc-content-col > .store-custom-html,
body.store-catalog-page .sc-content-col > .widget-section,
body.store-catalog-page .sc-content-col > .support-panel,
body.store-catalog-page .sc-content-col > .sf-compare,
body.store-catalog-page .sc-content-col > .sf-faq,
body.store-catalog-page .sc-content-col > .sf-footer {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* —— Filter rail — fixed, never scrolls with products —— */
body.store-catalog-page .sc-filters,
body.store-catalog-page #planToolbar.sc-filters {
    position: fixed !important;
    top: var(--sc-nav-h) !important;
    left: 0 !important;
    bottom: 0 !important;
    width: var(--sc-rail-w) !important;
    max-width: var(--sc-rail-w) !important;
    height: calc(100vh - var(--sc-nav-h)) !important;
    max-height: calc(100vh - var(--sc-nav-h)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: var(--sc-rail) !important;
    color: #e5e7eb !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 14px 14px 20px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    z-index: 150;
    box-sizing: border-box !important;
    transform: none !important;
}

/* Content starts after fixed rail */
body.store-catalog-page .store-shell {
    grid-template-columns: minmax(0, 1fr) !important;
}
body.store-catalog-page .store-shell:has(.sc-filters) .sc-content-col {
    grid-column: 1 !important;
    margin-left: var(--sc-rail-w) !important;
    width: calc(100% - var(--sc-rail-w)) !important;
}

body.store-catalog-page .sc-filters::before {
    display: none !important;
}

/* Beat legacy store.php touch/drawer rules that hide or reposition the rail */
html.is-touch body.store-catalog-page #planToolbar.sc-filters,
body.store-catalog-page #planToolbar.sc-filters {
    display: flex !important;
}

/* Legacy store.php greys out drawer contents (opacity 0 / pointer-events none).
   On the catalog page those controls must stay usable whenever the rail is open. */
html.is-touch body.store-catalog-page #planToolbar.sc-filters .plan-tools,
html.is-touch body.store-catalog-page #planToolbar.sc-filters .plan-toolbar-row,
html.is-touch body.store-catalog-page #planToolbar.sc-filters.is-expanded .plan-tools,
html.is-touch body.store-catalog-page #planToolbar.sc-filters.is-expanded .plan-toolbar-row,
body.store-catalog-page #planToolbar.sc-filters .plan-tools,
body.store-catalog-page #planToolbar.sc-filters .plan-toolbar-row,
body.store-catalog-page #planToolbar.sc-filters .sc-filter-block,
body.store-catalog-page #planToolbar.sc-filters .plan-category-chip,
body.store-catalog-page #planToolbar.sc-filters .sc-filters__save,
body.store-catalog-page #planToolbar.sc-filters .plan-search,
body.store-catalog-page #planToolbar.sc-filters .plan-search-clear {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

@media (min-width: 1025px) {
    html.is-touch body.store-catalog-page #planToolbar.sc-filters,
    body.store-catalog-page #planToolbar.sc-filters {
        position: fixed !important;
        top: var(--sc-nav-h) !important;
        left: 0 !important;
        transform: none !important;
        width: var(--sc-rail-w) !important;
        height: calc(100vh - var(--sc-nav-h)) !important;
    }
    body.store-catalog-page .plan-sidebar-fab,
    body.store-catalog-page .plan-sidebar-overlay {
        display: none !important;
    }
}

body.store-catalog-page .sc-filters__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.store-catalog-page .sc-filters__brand img {
    display: none !important;
}
body.store-catalog-page .sc-filters__brand-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

body.store-catalog-page .sc-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
body.store-catalog-page .sc-filters__head strong {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}
body.store-catalog-page .sc-filters__collapse {
    background: none;
    border: 0;
    color: var(--sc-blue);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}
@media (min-width: 1025px) {
    body.store-catalog-page .sc-filters__collapse {
        display: none;
    }
}

body.store-catalog-page .sc-filters .plan-sidebar-header {
    display: none;
}

body.store-catalog-page .sc-filters .plan-tools {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

body.store-catalog-page .sc-filters .plan-search-wrap {
    width: 100%;
    background: #0f1217;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    height: 36px;
    padding: 0 10px;
}
body.store-catalog-page .sc-filters .plan-search {
    color: #fff;
    font-size: 13px;
    background: transparent;
}
body.store-catalog-page .sc-filters .plan-search::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
body.store-catalog-page .sc-filters .plan-search-icon {
    opacity: 0.55;
    font-size: 12px;
}
body.store-catalog-page .sc-filters .plan-search-clear {
    color: rgba(255, 255, 255, 0.55);
}

body.store-catalog-page .sc-filters .plan-sort {
    display: none; /* sort lives in main toolbar */
}

body.store-catalog-page .sc-filter-block {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}
body.store-catalog-page .sc-filter-block__title {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

body.store-catalog-page .sc-filters .plan-toolbar-row {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
}
body.store-catalog-page .sc-filters .plan-category-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-wrap: nowrap;
}
body.store-catalog-page .sc-filters .plan-category-chip {
    justify-content: flex-start;
    width: 100%;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    padding: 8px 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
    gap: 8px;
}
body.store-catalog-page .sc-filters .plan-category-chip::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    flex: 0 0 auto;
    background: transparent;
    box-sizing: border-box;
}
body.store-catalog-page .sc-filters .plan-category-chip.active {
    background: rgba(14, 165, 233, 0.12);
    color: #fff;
    border: 0;
    box-shadow: none;
    transform: none;
}
body.store-catalog-page .sc-filters .plan-category-chip.active::before {
    background: var(--sc-blue);
    border-color: var(--sc-blue);
    box-shadow: inset 0 0 0 2px var(--sc-rail);
}
body.store-catalog-page .sc-filters .plan-category-chip:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
body.store-catalog-page .sc-filters .plan-results {
    display: none;
}

body.store-catalog-page .sc-filters__save {
    margin-top: auto;
    width: 100%;
    border: 0;
    border-radius: 4px;
    background: var(--sc-blue);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 11px 12px;
    cursor: pointer;
}
body.store-catalog-page .sc-filters__save:hover {
    background: var(--sc-blue-hot);
}

body.store-catalog-page .plan-sidebar-overlay,
body.store-catalog-page .plan-sidebar-fab {
    display: none !important;
}

/* —— Catalog main —— */
body.store-catalog-page .plan-section--product-cards {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    gap: 0 !important;
}
body.store-catalog-page .plan-section--product-cards > .section-heading {
    display: none;
}

body.store-catalog-page .sc-buy-ease,
body.store-catalog-page .sf-trust {
    display: none !important;
}
body.store-catalog-page .sf-trust__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 12px 11px;
    background: rgba(15, 12, 41, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: #f8fafc;
    backdrop-filter: blur(10px);
}
body.store-catalog-page .sf-trust__icon { font-size: 1.15rem; line-height: 1; }
body.store-catalog-page .sf-trust__item strong {
    display: block;
    font-size: 13px;
    color: #fff;
}
body.store-catalog-page .sf-trust__item span {
    font-size: 12px;
    color: rgba(248, 250, 252, 0.7);
}
body.store-catalog-page .sc-howto {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    max-width: 1200px;
    background: transparent;
    border: 0;
    color: rgba(248, 250, 252, 0.82);
    font-size: 14px;
    line-height: 1.45;
}
body.store-catalog-page .sc-howto li {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
body.store-catalog-page .sc-howto strong {
    font-size: 13px;
    color: #fff;
}
body.store-catalog-page .sc-howto span {
    font-size: 12px;
    line-height: 1.45;
    color: rgba(248, 250, 252, 0.72);
}
body.store-catalog-page .sc-setup-details {
    margin: 18px auto 0;
    color: #f8fafc;
    background: rgba(15, 12, 41, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 4px 16px 12px;
    backdrop-filter: blur(10px);
}
body.store-catalog-page .sc-setup-details > summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 0;
    color: #fff;
    list-style: none;
}
body.store-catalog-page .sc-setup-details > summary::-webkit-details-marker { display: none; }
body.store-catalog-page .sc-setup-details .instructions-panel,
body.store-catalog-page .sc-setup-details .instructions-card,
body.store-catalog-page .sc-setup-details .lead,
body.store-catalog-page .sc-setup-details h2,
body.store-catalog-page .sc-setup-details h3 {
    color: #f8fafc;
}
body.store-catalog-page .sc-setup-details .lead,
body.store-catalog-page .sc-setup-details p,
body.store-catalog-page .sc-setup-details li {
    color: rgba(248, 250, 252, 0.75);
}
body.store-catalog-page .sc-setup-details a { color: #7dd3fc; }
body.store-catalog-page .sc-mainbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: rgba(15, 12, 41, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: #f8fafc;
}
body.store-catalog-page .sc-mainbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
body.store-catalog-page .sc-mainbar__row--tools { gap: 10px; }
body.store-catalog-page .sc-count {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: #f8fafc;
}
body.store-catalog-page .sc-export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #7dd3fc;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
body.store-catalog-page .sc-export:hover {
    border-color: var(--sc-blue);
    background: #f0f9ff;
    color: var(--sc-blue-hot);
    filter: none;
}
body.store-catalog-page .sc-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--sc-muted);
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
}
body.store-catalog-page .sc-active-filter[hidden] { display: none !important; }
body.store-catalog-page .sc-active-filter strong { color: var(--sc-text); font-weight: 700; }
body.store-catalog-page .sc-clear-filters {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--sc-blue-hot);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}
body.store-catalog-page .sc-legend { display: none; }
body.store-catalog-page .sc-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
body.store-catalog-page .sc-tools .plan-sort,
body.store-catalog-page #planSortMain {
    height: 36px;
    border: 1px solid var(--sc-line);
    background: #fff;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
    color: var(--sc-text);
}
body.store-catalog-page .sc-view-toggle {
    display: inline-flex;
    border: 1px solid var(--sc-line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
body.store-catalog-page .sc-view-toggle button {
    width: 36px;
    height: 34px;
    border: 0;
    background: transparent;
    color: var(--sc-muted);
    cursor: pointer;
}
body.store-catalog-page .sc-view-toggle button.is-active {
    background: var(--sc-blue);
    color: #fff;
}
body.store-catalog-page .sc-empty {
    text-align: center;
    padding: 36px 20px;
    margin-bottom: 12px;
    border: 1px dashed var(--sc-line);
    border-radius: 12px;
    background: #f8fafc;
    color: var(--sc-muted);
}
body.store-catalog-page .sc-empty[hidden] { display: none !important; }
body.store-catalog-page .sc-empty strong {
    display: block;
    color: var(--sc-text);
    font-size: 16px;
    margin-bottom: 6px;
}
body.store-catalog-page .sc-empty p { margin: 0 0 14px; font-size: 14px; }
body.store-catalog-page .sc-empty__btn {
    appearance: none;
    border: 0;
    border-radius: 8px;
    background: var(--sc-ink);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 10px 16px;
    cursor: pointer;
}
body.store-catalog-page .sc-chip-count {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    margin-left: auto;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.72);
}
body.store-catalog-page .sc-filters .plan-category-chip.active .sc-chip-count {
    background: rgba(14, 165, 233, 0.2);
    color: #7dd3fc;
}
body.store-catalog-page .sc-filters .plan-category-chip {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    border-radius: 8px !important;
    padding: 10px 12px !important;
}
body.store-catalog-page .sc-filters .plan-search {
    height: 40px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
}
body.store-catalog-page .plan-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 240px)) !important;
    gap: 18px 20px !important;
    justify-content: center !important;
    perspective: 1100px;
}
body.store-catalog-page .store-card {
    --store-card-accent: var(--store-btn-bg, #00f0ff);
    --store-card-accent-text: var(--store-btn-text, #050816);
    min-height: 0 !important;
    max-width: 240px;
    width: 100%;
    border-radius: 16px !important;
    background: linear-gradient(165deg, rgba(48, 43, 99, 0.94), rgba(15, 12, 41, 0.96)) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
    color: #fff;
    font-family: "Poppins", "DM Sans", system-ui, sans-serif;
    padding: 10px !important;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease;
}
body.store-catalog-page .store-card[hidden],
body.store-catalog-page .store-card.is-filtered-out {
    display: none !important;
}
body.store-catalog-page.has-custom-bg .store-card {
    background: rgba(255, 255, 255, 0.12) !important;
}
body.store-catalog-page .store-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55) !important;
}
body.store-catalog-page .store-card .overflow {
    height: 118px;
    min-height: 118px;
    background: transparent !important;
    border-bottom: 0;
    transform-style: preserve-3d;
}
body.store-catalog-page .store-card .glass,
body.store-catalog-page .store-card .gradient-blur {
    display: none !important;
}
body.store-catalog-page .store-card .model {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}
body.store-catalog-page .store-card__image {
    width: 100% !important;
    height: 100% !important;
    filter: none !important;
    object-fit: cover;
    border-radius: 12px;
    transform: translateZ(20px);
}
body.store-catalog-page .store-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 8px;
    border-radius: 12px;
    transform: translateZ(20px);
}
body.store-catalog-page .store-card__placeholder-icon { font-size: 28px; line-height: 1; }
body.store-catalog-page .store-card__status { display: none; }
body.store-catalog-page .store-card__pill {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: #111827;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
body.store-catalog-page .store-card__pill.is-sale { background: var(--sc-sale); }
body.store-catalog-page .store-card__pill.is-new { background: #ca8a04; }
body.store-catalog-page .store-card__pill.is-offer { background: var(--sc-blue-hot); }
body.store-catalog-page .store-card__pill.is-featured { background: #4f46e5; }
body.store-catalog-page .store-card .content {
    padding: 8px 2px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    background: transparent !important;
    flex: 1;
    transform-style: preserve-3d;
}
body.store-catalog-page .store-card__badge { display: none !important; }
body.store-catalog-page .store-card__variants {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 0;
}
body.store-catalog-page .store-card__variant {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(15, 23, 42, 0.45);
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}
body.store-catalog-page .store-card__variant:hover {
    border-color: #f5b301;
}
body.store-catalog-page .store-card__variant.is-current {
    border-color: #f5b301;
    background: #f5b301;
    color: #111827;
}
body.store-catalog-page .store-card__meta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}
body.store-catalog-page .store-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
    color: #f5b301;
}
body.store-catalog-page .store-card__rating .sf-stars { font-size: 12px; }
body.store-catalog-page .store-card__save {
    text-transform: none;
    letter-spacing: 0;
    color: #f5b301;
    font-weight: 800;
}
body.store-catalog-page .store-offer-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 650;
}
body.store-catalog-page .store-offer-strip a {
    color: #f5b301;
    font-weight: 800;
    text-decoration: none;
}
body.store-catalog-page .store-card__promise {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.72);
}
body.store-catalog-page .store-review__verified {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    color: #86efac;
}
body.store-catalog-page .store-card .content > h2 {
    margin: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #fff !important;
    transform: translateZ(50px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.store-catalog-page .store-card .content > h2 a { color: inherit; text-decoration: none; }
body.store-catalog-page .store-card .content > h2 a:hover { color: var(--store-card-accent); }
body.store-catalog-page .store-card .content > p {
    margin: 0 !important;
    font-size: 0.78rem !important;
    color: #ccc !important;
    line-height: 1.45 !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.store-catalog-page .store-card__get {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11px !important;
    color: var(--store-card-accent) !important;
    font-weight: 600;
    flex: 0 0 auto;
    opacity: 0.92;
}
body.store-catalog-page .store-card.is-renew-target {
    outline: 2px solid var(--store-card-accent);
    outline-offset: 2px;
}
body.store-catalog-page .store-card__price { text-align: left; margin: 2px 0 0 !important; transform: translateZ(25px); }
body.store-catalog-page .store-card__price strong {
    display: block;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--store-card-accent) !important;
}
body.store-catalog-page .store-card__was[hidden],
body.store-catalog-page .store-card__save[hidden],
body.store-catalog-page .store-card__pill[hidden] {
    display: none !important;
}
body.store-catalog-page .store-card__was {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-decoration: line-through;
    margin-bottom: 2px;
}
body.store-catalog-page .store-card__actions {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px !important;
    transform-style: preserve-3d;
}
body.store-catalog-page .store-card__cart-form { margin: 0; width: 100%; }
body.store-catalog-page .store-card__cta,
body.store-catalog-page .store-card__buy {
    border-radius: 50px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    background: var(--store-card-accent) !important;
    color: var(--store-card-accent-text) !important;
    -webkit-text-fill-color: var(--store-card-accent-text) !important;
    border: 0 !important;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    cursor: pointer;
    transform: translateZ(60px);
}
body.store-catalog-page .store-card__buy:hover {
    filter: brightness(1.08);
}
body.store-catalog-page .store-card__more {
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
body.store-catalog-page .store-card__more:hover { color: #fff; }
body.store-catalog-page .store-card .description,
body.store-catalog-page .store-card__get,
body.store-catalog-page .store-card__more {
    display: none !important;
}
body.store-catalog-page .sc-show-all {
    align-self: center;
    margin: 16px auto 0;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #f8fafc;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
body.store-catalog-page .sc-show-all:hover { border-color: #fff; }
body.store-catalog-page .sc-show-all[hidden] { display: none !important; }
body.store-catalog-page .plan-grid.is-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    perspective: none;
}
body.store-catalog-page .plan-grid.is-list .store-card {
    flex-direction: row !important;
    min-height: 0 !important;
    max-width: none;
    padding: 12px !important;
    transform: none !important;
}
body.store-catalog-page .plan-grid.is-list .store-card .overflow {
    width: 140px;
    height: auto;
    min-height: 120px;
    flex: 0 0 140px;
    border-bottom: 0;
}
body.store-catalog-page .plan-grid.is-list .store-card .content {
    flex: 1;
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "meta price"
        "title price"
        "variants variants"
        "desc actions";
    gap: 4px 16px !important;
    align-items: center;
    padding-top: 0 !important;
}
body.store-catalog-page .plan-grid.is-list .store-card [data-depth] { transform: none !important; }
body.store-catalog-page .plan-grid.is-list .store-card__meta { grid-area: meta; }
body.store-catalog-page .plan-grid.is-list .store-card__variants { grid-area: variants; }
body.store-catalog-page .plan-grid.is-list .store-card .content > h2 { grid-area: title; font-size: 1.15rem !important; }
body.store-catalog-page .plan-grid.is-list .store-card .content > p { grid-area: desc; -webkit-line-clamp: 1; }
body.store-catalog-page .plan-grid.is-list .store-card__price { grid-area: price; text-align: right; margin: 0 !important; }
body.store-catalog-page .plan-grid.is-list .store-card__actions { grid-area: actions; justify-content: flex-end; flex-direction: row; align-items: center; }
/* Community + support + FAQ — glass panels matching product cards */
body.store-catalog-page .widget-section,
body.store-catalog-page .support-panel,
body.store-catalog-page .sf-faq,
body.store-catalog-page .sf-compare,
body.store-catalog-page .sf-footer {
    margin-top: 22px;
    color: #f8fafc;
}
body.store-catalog-page .widget-section .section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 14px;
}
body.store-catalog-page .widget-section .section-heading h2 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
}
body.store-catalog-page .widget-section .section-heading span {
    color: rgba(248, 250, 252, 0.65) !important;
}
body.store-catalog-page .widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
body.store-catalog-page .widget-card,
body.store-catalog-page .support-panel,
body.store-catalog-page .sf-compare__wrap,
body.store-catalog-page .sf-faq,
body.store-catalog-page .sf-footer {
    background: linear-gradient(165deg, rgba(48, 43, 99, 0.88), rgba(15, 12, 41, 0.9)) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
}
body.store-catalog-page.has-custom-bg .widget-card,
body.store-catalog-page.has-custom-bg .support-panel,
body.store-catalog-page.has-custom-bg .sf-faq,
body.store-catalog-page.has-custom-bg .sf-compare__wrap,
body.store-catalog-page.has-custom-bg .sf-footer {
    background: rgba(15, 12, 41, 0.62) !important;
}
body.store-catalog-page .widget-card {
    padding: 16px 16px 14px !important;
}
body.store-catalog-page .widget-card h3 {
    margin: 0 0 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fff !important;
}
body.store-catalog-page .widget-frame {
    min-height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
body.store-catalog-page .widget-frame iframe,
body.store-catalog-page .widget-frame > div {
    width: 100%;
    min-height: 220px;
    border: 0;
    display: block;
}
body.store-catalog-page .support-panel {
    display: grid !important;
    grid-template-columns: minmax(180px, 0.85fr) minmax(260px, 1.15fr);
    gap: 22px 28px;
    padding: 22px 22px 20px !important;
    align-items: start;
}
body.store-catalog-page .support-panel h3 {
    margin: 0 0 8px !important;
    font-size: 1.25rem !important;
    color: #fff !important;
}
body.store-catalog-page .support-panel p {
    margin: 0 !important;
    color: rgba(248, 250, 252, 0.72) !important;
    line-height: 1.55 !important;
    font-size: 14px;
}
body.store-catalog-page .support-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
}
body.store-catalog-page .support-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
body.store-catalog-page .support-form .form-field:has(textarea),
body.store-catalog-page .support-form .form-field:has(#support-subject),
body.store-catalog-page .support-form .form-field:has(select),
body.store-catalog-page .support-form .support-button {
    grid-column: 1 / -1;
}
body.store-catalog-page .support-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.78);
}
body.store-catalog-page .support-form .form-control,
body.store-catalog-page .support-form input,
body.store-catalog-page .support-form select,
body.store-catalog-page .support-form textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    font: inherit;
    font-size: 14px;
}
body.store-catalog-page .support-form textarea.form-control {
    min-height: 110px;
    resize: vertical;
}
body.store-catalog-page .support-form .form-control::placeholder {
    color: rgba(248, 250, 252, 0.4);
}
body.store-catalog-page .support-form .form-control:focus {
    outline: 2px solid color-mix(in srgb, var(--store-btn-bg, #00f0ff) 55%, transparent);
    outline-offset: 1px;
}
body.store-catalog-page .support-button {
    grid-column: 1 / -1;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
    background: var(--store-btn-bg, #00f0ff);
    color: var(--store-btn-text, #050816);
}
body.store-catalog-page .sf-section-head h2,
body.store-catalog-page .sf-faq summary {
    color: #fff !important;
}
body.store-catalog-page .sf-faq,
body.store-catalog-page .sf-footer,
body.store-catalog-page .sf-compare__wrap {
    padding: 18px 20px;
}
body.store-catalog-page .sf-faq p,
body.store-catalog-page .sf-footer,
body.store-catalog-page .sf-footer a,
body.store-catalog-page .sf-section-head p {
    color: rgba(248, 250, 252, 0.72) !important;
}
@media (max-width: 800px) {
    body.store-catalog-page .support-panel {
        grid-template-columns: 1fr;
    }
    body.store-catalog-page .support-form {
        grid-template-columns: 1fr;
    }
    body.store-catalog-page .sf-trust,
    body.store-catalog-page .sc-howto {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1280px) {
    body.store-catalog-page .plan-grid {
        grid-template-columns: repeat(auto-fill, minmax(190px, 220px)) !important;
    }
}
@media (max-width: 1024px) {
    body.store-catalog-page .store-shell {
        grid-template-columns: 1fr !important;
        grid-template-rows: minmax(0, 1fr) !important;
    }
    body.store-catalog-page .store-fx-garland,
    body.store-catalog-page .store-fx-corner--0,
    body.store-catalog-page .store-fx-corner--2 {
        left: 12px;
    }
    body.store-catalog-page .store-fx-garland {
        left: 0;
        right: 0;
    }
    body.store-catalog-page .store-shell:has(.sc-filters) .sc-content-col,
    body.store-catalog-page .sc-content-col {
        grid-column: 1 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
    /* Overlay behind the drawer — legacy store.php used z-index 1999 which
       sat on top of the rail and ate every tap (menu closed instantly). */
    body.store-catalog-page .plan-sidebar-overlay,
    html.is-touch body.store-catalog-page .plan-sidebar-overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 170 !important;
        background: rgba(2, 6, 23, 0.55) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.25s ease !important;
    }
    body.store-catalog-page .plan-sidebar-overlay.is-open,
    html.is-touch body.store-catalog-page .plan-sidebar-overlay.is-open {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    body.store-catalog-page .sc-filters,
    body.store-catalog-page #planToolbar.sc-filters,
    html.is-touch body.store-catalog-page #planToolbar.sc-filters {
        position: fixed !important;
        left: 0 !important;
        top: var(--sc-nav-h) !important;
        bottom: 0 !important;
        width: min(300px, 88vw) !important;
        max-width: min(300px, 88vw) !important;
        height: calc(100vh - var(--sc-nav-h)) !important;
        max-height: calc(100vh - var(--sc-nav-h)) !important;
        padding: 14px 14px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
        transform: translateX(-105%) !important;
        transition: transform 0.25s ease !important;
        z-index: 190 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        /* Cancel legacy 56×56 collapsed chip sizing from store.php */
        border-radius: 0 !important;
    }
    body.store-catalog-page #planToolbar.sc-filters.is-expanded,
    html.is-touch body.store-catalog-page #planToolbar.sc-filters.is-expanded {
        transform: translateX(0) !important;
        width: min(300px, 88vw) !important;
        height: calc(100vh - var(--sc-nav-h)) !important;
        z-index: 190 !important;
        pointer-events: auto !important;
    }
    body.store-catalog-page .plan-sidebar-fab,
    html.is-touch body.store-catalog-page .plan-sidebar-fab {
        display: flex !important;
        background: var(--sc-ink) !important;
        color: #fff !important;
        border: 0 !important;
        z-index: 160 !important;
    }
    body.store-catalog-page .plan-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 210px)) !important;
    }
}
@media (max-width: 640px) {
    body.store-catalog-page {
        --sc-nav-h: 48px;
    }
    body.store-catalog-page .plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        justify-content: stretch !important;
        gap: 12px !important;
    }
    body.store-catalog-page .store-card {
        max-width: none;
    }
    body.store-catalog-page .sc-content-col {
        padding: 10px;
    }
    body.store-catalog-page .store-card {
        min-height: 0 !important;
        transform: none !important;
    }
    body.store-catalog-page .store-card__actions {
        flex-direction: column;
    }
    body.store-catalog-page .store-card__cta,
    body.store-catalog-page .store-card__buy,
    body.store-catalog-page .store-card__cta.secondary {
        min-height: 44px !important;
        padding: 12px 14px !important;
        width: 100% !important;
        font-size: 14px !important;
        transform: none !important;
    }
    body.store-catalog-page .sc-mainbar {
        padding: 12px;
    }
    body.store-catalog-page .sf-topnav__links {
        font-size: 11px;
        gap: 0 !important;
    }
    body.store-catalog-page .sf-topnav__links a {
        padding: 0 6px !important;
        min-height: 44px;
    }
    body.store-catalog-page .sf-topnav__btn {
        min-height: 40px !important;
        padding: 0 10px !important;
    }
    /* Keep essential taps: Products, Cart, Trial, Log in — hide secondary links on narrow phones */
    body.store-catalog-page .sf-topnav__links > a[href*="#compare"],
    body.store-catalog-page .sf-topnav__links > a[href*="#faq"],
    body.store-catalog-page .sf-topnav__link-dashboard {
        display: none !important;
    }
    body.store-catalog-page .plan-sidebar-fab::after {
        content: 'Filters';
        margin-left: 8px;
        font-size: 13px;
        font-weight: 700;
    }
    body.store-catalog-page .plan-sidebar-fab {
        width: auto !important;
        padding: 0 14px !important;
        border-radius: 999px !important;
        min-height: 48px !important;
    }
    body.store-catalog-page .sc-chip {
        min-height: 44px;
        padding: 10px 12px !important;
    }
}

/* Storefront raffles */
.store-raffles-section { margin: 1.25rem 0 1.75rem; }
.store-raffles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.store-raffle-card {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
}
.store-raffle-card__media {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  font-size: 2rem;
  overflow: hidden;
}
.store-raffle-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-raffle-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.store-raffle-card__body h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
}
.store-raffle-card__cd {
  font-weight: 700;
  font-size: 13px;
  color: #5eead4;
  font-variant-numeric: tabular-nums;
}
.store-raffle-card__meta {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary, #94a3b8);
}
.store-raffle-card__bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}
.store-raffle-card__bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
  border-radius: 999px;
}
.store-raffle-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #0f766e;
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
}
.store-raffle-card__cta:hover { filter: brightness(1.08); }
.store-raffles-winners {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.45;
}

/* Custom background URL — catalog defaults are opaque white and hide viewport ::before */
html:has(body.store-catalog-page.has-custom-bg) {
    background: #0f172a !important;
}
body.store-catalog-page.has-custom-bg {
    background: transparent !important;
    background-image: none !important;
}
body.store-catalog-page.has-custom-bg .store-viewport,
body.store-catalog-page.has-custom-bg .store-shell,
body.store-catalog-page.has-custom-bg .sc-content-col {
    background: transparent !important;
}
body.store-catalog-page.has-custom-bg .store-custom-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 240px;
    z-index: 0;
    pointer-events: none;
    background-color: #0e1424;
    background-image: var(--store-custom-bg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}
body.store-catalog-page.has-custom-bg .store-custom-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(14, 20, 36, 0.18) 0%, rgba(14, 20, 36, 0.55) 58%, #0e1424 100%);
}
body.store-catalog-page .store-shell {
    z-index: 2;
}
body.store-catalog-page .store-fx-garland,
body.store-catalog-page .store-fx-corner--0,
body.store-catalog-page .store-fx-corner--2 {
    left: calc(var(--sc-rail-w) + 12px);
}
body.store-catalog-page .store-fx-garland {
    left: var(--sc-rail-w);
    right: 0;
    top: calc(var(--sc-nav-h) + 6px);
}
body.store-catalog-page.has-custom-bg .plan-section--product-cards {
    background: #121826 !important;
    border-radius: 18px;
    padding: 16px 16px 20px !important;
}
@media (max-width: 768px), (hover: none), (pointer: coarse) {
    body.store-catalog-page.has-custom-bg .store-custom-bg {
        background-position: center 20%;
    }
}

body.store-catalog-page .store-reviews {
    margin-top: 22px;
    padding: 18px;
    color: #f8fafc;
    background: linear-gradient(165deg, rgba(48, 43, 99, 0.88), rgba(15, 12, 41, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
body.store-catalog-page .store-reviews__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 14px;
}
body.store-catalog-page .store-reviews__head h2 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
}
body.store-catalog-page .store-reviews__head p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: rgba(248, 250, 252, 0.75);
    font-size: 14px;
}
body.store-catalog-page .store-reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
body.store-catalog-page .store-review {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
body.store-catalog-page .store-review header {
    display: flex;
    align-items: center;
    gap: 10px;
}
body.store-catalog-page .store-review header div { min-width: 0; flex: 1; }
body.store-catalog-page .store-review strong,
body.store-catalog-page .store-review a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.store-catalog-page .store-review a {
    color: rgba(248, 250, 252, 0.65);
    font-size: 12px;
    text-decoration: none;
}
body.store-catalog-page .store-review a:hover { color: #fff; }
body.store-catalog-page .store-review__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.45);
    font-weight: 800;
    flex: 0 0 auto;
}
body.store-catalog-page .store-review p {
    margin: 0;
    color: rgba(248, 250, 252, 0.82);
    font-size: 14px;
    line-height: 1.45;
}
body.store-catalog-page .store-review__reply {
    margin: 0;
    font-size: 13px;
    color: rgba(248, 250, 252, 0.78);
}
body.store-catalog-page .store-review__reply strong { color: #fff; margin-right: 6px; }
body.store-catalog-page .store-review time {
    color: rgba(248, 250, 252, 0.5);
    font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
    body.store-catalog-page .plan-grid { perspective: none; }
    body.store-catalog-page .store-card,
    body.store-catalog-page .store-card [data-depth],
    body.store-catalog-page .store-card__buy {
        transform: none !important;
        transition: none !important;
    }
}
