.sv-store {
    --sv-check-size: 22px;
    --sv-check-font-size: 14px;
    --sv-bg: #07090f;
    --sv-text: #ebf1fb;
    --sv-accent: #2dd4bf;
    --sv-accent-2: #22d3ee;
    --sv-accent-contrast: var(--wp--preset--color--contrast, var(--sv-text));
    --sv-panel: #111a2a;
    --sv-panel-soft: #162139;
    --sv-chip: #0f1728;
    --sv-card: color-mix(in srgb, var(--sv-bg) 90%, var(--sv-text) 10%);
    --sv-border: #27385b;
    --sv-muted: #9fb1d0;
    --sv-card-text: color-mix(in srgb, var(--sv-text) 92%, #000 8%);
    --sv-card-muted: color-mix(in srgb, var(--sv-text) 78%, var(--sv-bg) 22%);
    --sv-accent-soft: #c6fff4;
    --sv-sidebar-bg: #0b1120;
    --sv-banner: linear-gradient(
        90deg,
        var(--sv-banner-from, var(--wp--preset--color--primary, #3f1ca8)),
        var(--sv-banner-mid, var(--wp--preset--color--secondary, #5f2bcb)),
        var(--sv-banner-to, var(--wp--preset--color--tertiary, var(--wp--preset--color--primary, #8f4dff)))
    );
    background: var(--sv-bg);
    color: var(--sv-text);
    border-radius: 10px;
    padding: 14px;
    border: 0 !important;
}

section.sv-store[data-sv-store-root] {
    background: var(--sv-bg) !important;
}

.sv-store--full-width {
    position: relative;
    left: 50%;
    width: calc(100vw - (var(--market-edge-gap, 16px) * 2)) !important;
    max-width: calc(100vw - (var(--market-edge-gap, 16px) * 2)) !important;
    margin-left: calc(-50vw + var(--market-edge-gap, 16px)) !important;
    margin-right: calc(-50vw + var(--market-edge-gap, 16px)) !important;
    transform: translateX(0);
    overflow-x: clip;
}

.entry-content > .sv-store--full-width,
.single-content > .sv-store--full-width,
.content-area .sv-store--full-width {
    width: calc(100vw - (var(--market-edge-gap, 16px) * 2)) !important;
    max-width: calc(100vw - (var(--market-edge-gap, 16px) * 2)) !important;
    margin-left: calc(-50vw + var(--market-edge-gap, 16px)) !important;
    margin-right: calc(-50vw + var(--market-edge-gap, 16px)) !important;
    left: 50% !important;
}

body:has(.sv-store--full-width) .entry-content-wrap,
body:has(.sv-store--full-width) .content-container,
body:has(.sv-store--full-width) .site-main {
    overflow: visible;
}

.sv-store *,
.sv-store *::before,
.sv-store *::after {
    box-sizing: border-box;
}

.sv-store [hidden] {
    display: none !important;
}

.sv-store__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 14px;
    transition: grid-template-columns 0.2s ease;
}

.sv-store__sidebar {
    background: var(--sv-sidebar-bg);
    border: 1px solid var(--sv-border) !important;
    border-radius: 10px;
    padding: 12px;
    display: grid;
    gap: 6px;
    height: fit-content;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sv-store[data-sidebar-open="0"] .sv-store__layout {
    grid-template-columns: 1fr;
}

.sv-store[data-sidebar-open="0"] .sv-store__sidebar {
    display: none;
}

.sv-store__top-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.sv-store__games {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sv-store__game {
    background: #0f1728;
    border: 1px solid #36507e;
    color: #dbe7fb;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 8px 14px;
    min-height: 38px;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
}

.sv-store__game:not(.is-active):not([data-active="1"]),
.sv-store__game:not(.is-active):not([data-active="1"]):hover,
.sv-store__game:not(.is-active):not([data-active="1"]):active,
.sv-store__game:not(.is-active):not([data-active="1"]):focus,
.sv-store__game:not(.is-active):not([data-active="1"]):focus-visible {
    background: #0f1728 !important;
    border-color: #36507e !important;
    color: #dbe7fb !important;
    outline: none !important;
    box-shadow: none !important;
}

.sv-store__game.is-active,
.sv-store__game[data-active="1"] {
    border-color: rgba(34, 211, 238, 0.65);
    background: rgba(34, 211, 238, 0.2);
    color: #e8ffff;
}

.sv-store__game[disabled] {
    opacity: 1;
    cursor: default;
    pointer-events: none;
}

.sv-store__fav-btn {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--sv-border);
    background: var(--sv-panel-soft);
    color: var(--sv-accent-soft);
    padding: 10px;
    font-weight: 700;
    cursor: pointer;
}

.sv-store__price-range {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.sv-store__money-input {
    position: relative !important;
    flex: 1 1 0;
    min-width: 0;
    display: block !important;
    min-height: 36px;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    vertical-align: top;
}

.sv-store__money-input > span {
    position: absolute !important;
    left: 9px !important;
    top: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    transform: none !important;
    color: var(--sv-muted);
    font-size: 12px;
    font-weight: 700;
    pointer-events: none;
    z-index: 1;
    line-height: 1;
    margin: 0 !important;
}

.sv-store__price-block {
    display: grid;
    gap: 8px;
}

.sv-store__price-slider {
    position: relative;
    height: 24px;
    display: grid;
    align-items: center;
}

.sv-store__price-track,
.sv-store__price-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 6px;
    border-radius: 999px;
    transform: translateY(-50%);
}

.sv-store__price-track {
    background: color-mix(in srgb, var(--sv-panel-soft) 80%, var(--sv-text) 20%);
}

.sv-store__price-progress {
    background: var(--sv-accent);
}

.sv-store__price-slider input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 24px;
    background: transparent;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.sv-store__price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--sv-accent-contrast);
    background: var(--sv-accent);
    pointer-events: auto;
    cursor: pointer;
    margin-top: -4px;
}

.sv-store__price-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
    border: 0;
}

.sv-store__price-slider input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--sv-accent-contrast);
    background: var(--sv-accent);
    pointer-events: auto;
    cursor: pointer;
}

.sv-store__price-slider input[type="range"]::-moz-range-track {
    height: 6px;
    background: transparent;
    border: 0;
}

.sv-store__price-slider input[type="range"]::-ms-track {
    height: 6px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

.sv-store__price-range input,
.sv-store__search,
.sv-store__sort {
    width: 100%;
    background: var(--sv-sidebar-bg) !important;
    border: 1px solid var(--sv-border) !important;
    border-radius: 8px;
    color: var(--sv-text) !important;
    padding: 10px;
    box-shadow: none !important;
    outline: none !important;
    font: inherit;
}

.sv-store .sv-store__price-range .sv-store__money-input > input {
    width: 100%;
    height: 36px !important;
    padding: 4px 9px 4px 20px !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    display: block !important;
    vertical-align: top;
    color: #ebf1fb !important;
    -webkit-text-fill-color: #ebf1fb !important;
    caret-color: #ebf1fb !important;
    opacity: 1 !important;
}

.sv-store .sv-store__price-range .sv-store__money-input > input::placeholder {
    font-size: 11px;
    letter-spacing: 0.03em;
}

.sv-store .sv-store__price-range .sv-store__money-input > input[type="number"] {
    -moz-appearance: textfield;
}

.sv-store .sv-store__price-range .sv-store__money-input > input[type="number"]::-webkit-outer-spin-button,
.sv-store .sv-store__price-range .sv-store__money-input > input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sv-store__price-range input::placeholder,
.sv-store__search::placeholder {
    color: var(--sv-muted);
}

.sv-store__float-block {
    display: grid;
    gap: 6px;
    margin-bottom: 0;
    padding-bottom: 2px;
}

.sv-store__float-slider {
    position: relative;
    height: 22px;
    display: grid;
    align-items: center;
}

.sv-store__float-track,
.sv-store__float-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 7px;
    border-radius: 999px;
    transform: translateY(-50%);
}

.sv-store__float-track {
    background: linear-gradient(
        90deg,
        #4f8c68 0%,
        #4f8c68 7%,
        #7abf78 7%,
        #7abf78 15%,
        #ceb762 15%,
        #ceb762 38%,
        #d58d59 38%,
        #d58d59 45%,
        #cb6775 45%,
        #cb6775 100%
    );
    opacity: 0.92;
}

.sv-store__float-progress {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.24),
        rgba(255, 255, 255, 0.07)
    );
}

.sv-store__float-slider input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 22px;
    margin: 0;
    background: transparent;
    border: 0 !important;
    outline: none !important;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.sv-store__float-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 7px;
    background: var(--bg, #061224) !important;
}

.sv-store__float-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: #f5f7fb;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.26);
    margin-top: -4px;
    cursor: pointer;
}

.sv-store__float-slider input[type="range"]::-moz-range-track {
    height: 7px;
    background: rgba(11, 16, 30, 1) !important;
}

.sv-store__float-slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: #f5f7fb;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.26);
    cursor: pointer;
}

.sv-store__float-range {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    align-items: end;
}

.sv-store__float-range label {
    display: grid;
    gap: 4px;
    flex: 1 1 0;
    min-width: 0;
}

.sv-store__float-range label > span {
    font-size: 12px;
    color: var(--sv-muted);
    text-transform: lowercase;
}

.sv-store__float-range input[type="number"] {
    width: 100%;
    min-height: 34px;
    border-radius: 9px !important;
    border: 1px solid #36507e !important;
    background: #0d1321 !important;
    color: #ebf1fb !important;
    -webkit-text-fill-color: #ebf1fb !important;
    caret-color: #ebf1fb !important;
    opacity: 1 !important;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px !important;
}

.sv-store__float-range input[type="number"]:focus,
.sv-store__float-range input[type="number"]:active {
    color: #ebf1fb !important;
    -webkit-text-fill-color: #ebf1fb !important;
}

.sv-store__float-range input[type="number"]::-webkit-outer-spin-button,
.sv-store__float-range input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sv-store__float-range input[type="number"] {
    -moz-appearance: textfield;
}

.sv-store__float-reset {
    justify-self: end;
    border: 0;
    background: transparent;
    color: color-mix(in srgb, var(--sv-accent) 68%, var(--sv-text) 32%);
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    margin-top: 2px;
}

.sv-store__filter-group {
    border: 1px solid var(--sv-border);
    border-radius: 8px;
    padding: 6px;
    display: grid;
    gap: 6px;
    max-height: 260px;
    overflow: auto;
    background: var(--sv-panel-soft);
}

.sv-store__section {
    border: 1px solid var(--sv-border) !important;
    border-radius: 8px;
    background: #051633;
}

.sv-store__section summary {
    list-style: none;
    cursor: pointer;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--sv-text);
    background: var(--sv-panel-soft) !important;
    border: 1px solid var(--sv-border) !important;
    border-radius: 8px 8px 0 0;
    box-shadow: none !important;
    outline: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

/* Force the same dark header style for all filter blocks (Kadence-safe override) */
.sv-store .sv-store__sidebar .sv-store__section > summary,
.sv-store .sv-store__sidebar .sv-store__section > summary:hover,
.sv-store .sv-store__sidebar .sv-store__section > summary:focus {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: #2b3953 !important;
    color: #ebf1fb !important;
    border: 1px solid #36507e !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    outline: none !important;
}

.sv-store .sv-store__sidebar .sv-store__section > summary:focus-visible,
.sv-store .sv-store__sidebar .sv-store__section:focus-within > summary {
    outline: none !important;
    box-shadow: none !important;
    border-color: #36507e !important;
}

.sv-store .sv-store__sidebar .sv-store__section,
.sv-store .sv-store__sidebar .sv-store__section:focus,
.sv-store .sv-store__sidebar .sv-store__section:focus-within,
.sv-store .sv-store__sidebar .sv-store__section:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: #36507e !important;
}

.sv-store .sv-store__sidebar .sv-store__section[open] > summary {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.sv-store__section summary::-webkit-details-marker {
    display: none;
}

.sv-store__section summary::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
    opacity: 0.9;
}

.sv-store__section[open] summary::after {
    transform: rotate(225deg);
}

.sv-store__section .sv-store__filter-group {
    border: 1px solid var(--sv-border) !important;
    border-top: 0 !important;
    border-radius: 0 0 8px 8px;
    max-height: 220px;
    background: var(--sv-sidebar-bg) !important;
}

.sv-store__section--rarity .sv-store__filter-group {
    max-height: 210px;
    overflow-y: auto;
}

.sv-store__section--exterior .sv-store__filter-group {
    max-height: none;
    overflow: visible;
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 4px;
}

.sv-store__section--phase .sv-store__filter-group {
    max-height: none;
    overflow: visible;
}

.sv-store__section--exterior .sv-store__filter-group > label {
    line-height: 1.2;
    padding: 1px 0;
    margin: 0 !important;
}

.sv-store__section--exterior .sv-store__float-block {
    margin-top: 2px;
    margin-bottom: 0;
    gap: 5px;
}

.sv-store__section--rarity .sv-store__filter-group::-webkit-scrollbar {
    width: 6px;
}

.sv-store__section--rarity .sv-store__filter-group::-webkit-scrollbar-track {
    background: #10192c;
    border-radius: 999px;
}

.sv-store__section--rarity .sv-store__filter-group::-webkit-scrollbar-thumb {
    background: var(--sv-accent-2);
    border-radius: 999px;
}

.sv-store__filter-group h4 {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--sv-muted);
}

.sv-store__filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--sv-check-font-size);
    color: #d9e6fb;
    margin: 0;
    line-height: 1.2;
}

.sv-store__filter-group input[type="checkbox"],
.sv-store__retention-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: var(--sv-check-size);
    height: var(--sv-check-size);
    min-width: var(--sv-check-size);
    border: 1px solid #30446d;
    border-radius: 4px;
    background: transparent;
    display: inline-grid;
    place-items: center;
    margin: 0;
    cursor: pointer;
}

.sv-store__filter-group input[type="checkbox"]::before,
.sv-store__retention-option input[type="radio"]::before {
    content: "\2713";
    width: auto;
    height: auto;
    transform: scale(0);
    transition: transform 0.12s ease;
    color: var(--sv-accent-2);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.sv-store__filter-group input[type="checkbox"]:checked,
.sv-store__retention-option input[type="radio"]:checked {
    border-color: var(--sv-accent-2);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.24);
}

.sv-store__filter-group input[type="checkbox"]:checked::before,
.sv-store__retention-option input[type="radio"]:checked::before {
    transform: scale(1);
}

.sv-store__cycle-group {
    display: grid;
    gap: 6px;
    margin-top: 2px;
}

.sv-store__cycle-btn {
    width: 100%;
    text-align: left;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: #d9e6fb;
    min-height: 28px;
    padding: 0;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sv-store__cycle-btn::before {
    content: "";
    width: var(--sv-check-size);
    height: var(--sv-check-size);
    min-width: var(--sv-check-size);
    border: 1px solid #30446d;
    border-radius: 4px;
    display: inline-grid;
    place-items: center;
    color: var(--sv-accent-2);
    font-size: 15px;
    font-weight: 700;
}

.sv-store__cycle-btn[data-sv-cycle-state="with"]::before {
    content: "\2713";
    border-color: var(--sv-accent-2);
}

.sv-store__cycle-btn[data-sv-cycle-state="without"]::before {
    content: "\2212";
    border-color: var(--sv-accent-2);
}

.sv-store__retention {
    display: grid;
    gap: 8px;
}

.sv-store__retention-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: var(--sv-check-font-size);
    font-weight: 500;
}

.sv-store__retention-days {
    display: grid;
    gap: 8px;
    margin-top: 4px;
    border: 1px solid #294a7b;
    border-radius: 8px;
    padding: 8px;
    background: transparent;
}

.sv-store__retention-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    color: var(--sv-muted);
}

.sv-store__retention-head strong {
    color: #ebf1fb !important;
    font-size: 14px;
}

.sv-store__retention input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 22px;
    background: transparent;
    accent-color: transparent;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.sv-store__retention input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: #081629;
    border: 1px solid #2b4f84;
}

.sv-store__retention input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #d7e7ff;
    background: #eef5ff;
    margin-top: -4px;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(6, 16, 31, 0.5);
}

.sv-store__retention input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: #081629;
    border: 1px solid #2b4f84;
}

.sv-store__retention input[type="range"]::-moz-range-progress {
    height: 6px;
    border-radius: 999px;
    background: #081629;
    border: 1px solid #2b4f84;
}

.sv-store__retention input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #d7e7ff;
    background: #eef5ff;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(6, 16, 31, 0.5);
}

.sv-store__retention-scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--sv-muted);
    line-height: 1;
}

.sv-store__subheading {
    margin: 4px 0 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sv-muted);
}

.sv-rarity-option .sv-rarity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: var(--sv-text);
    margin-left: 2px;
    margin-right: 2px;
}

.sv-rarity-option--contraband .sv-rarity-dot { background: #ffb86b; }
.sv-rarity-option--covert .sv-rarity-dot { background: #ff5d5d; }
.sv-rarity-option--classified .sv-rarity-dot { background: #d140ff; }
.sv-rarity-option--restricted .sv-rarity-dot { background: #8b6bff; }
.sv-rarity-option--mil-spec-grade .sv-rarity-dot { background: #5f84ff; }
.sv-rarity-option--industrial-grade .sv-rarity-dot { background: #9ab8ff; }
.sv-rarity-option--consumer-grade .sv-rarity-dot { background: #f2f2f2; }
.sv-rarity-option--master .sv-rarity-dot { background: #ff6b6b; }
.sv-rarity-option--superior .sv-rarity-dot { background: #d140ff; }
.sv-rarity-option--exceptional .sv-rarity-dot { background: #8b6bff; }
.sv-rarity-option--distinguished .sv-rarity-dot { background: #5f84ff; }
.sv-rarity-option--extraordinary .sv-rarity-dot { background: #ff6b6b; }
.sv-rarity-option--exotic .sv-rarity-dot { background: #d140ff; }
.sv-rarity-option--remarkable .sv-rarity-dot { background: #8b6bff; }
.sv-rarity-option--high-grade .sv-rarity-dot { background: #5f84ff; }
.sv-rarity-option--base-grade .sv-rarity-dot { background: #f2f2f2; }

.sv-store__main {
    min-width: 0;
}

.sv-store__filters-toggle {
    display: inline-flex;
    width: auto;
    margin-bottom: 14px;
    background: #0f1728;
    color: #dbe7fb;
    border: 1px solid var(--sv-border);
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 700;
    text-transform: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: none;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.sv-store__filters-toggle:hover,
.sv-store__filters-toggle:active,
.sv-store__filters-toggle:focus,
.sv-store__filters-toggle:focus-visible {
    background: #0f1728;
    color: #dbe7fb;
    border: 1px solid var(--sv-border);
    box-shadow: none;
    outline: none;
}

.sv-store__categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 6px;
}

.sv-store__categories button {
    white-space: normal;
    border: 1px solid var(--sv-border);
    border-radius: 9px;
    background: #0f1728;
    color: #dbe7fb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 7px 14px;
    cursor: pointer;
}

.sv-store__categories button.is-active {
    background: linear-gradient(120deg, var(--sv-accent), var(--sv-accent-2)) !important;
    color: #031622 !important;
    border-color: transparent !important;
    box-shadow: none;
}

.sv-store__categories button[data-active="1"] {
    background: linear-gradient(120deg, var(--sv-accent), var(--sv-accent-2)) !important;
    color: #031622 !important;
    border-color: transparent !important;
    box-shadow: none;
}

.sv-store__categories button:hover {
    color: #ebf1fb;
    border-color: #30466f;
}

.sv-store__toolbar {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sv-store__search-wrap {
    min-width: 0;
    flex: 1 1 auto;
}

.sv-store__sort {
    width: 230px !important;
    flex: 0 0 230px;
    align-self: center;
}

.sv-store__banner {
    margin-top: 10px;
    border-radius: 8px;
    background: var(--sv-banner);
    color: #ffffff;
    padding: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.sv-store__status {
    margin-top: 10px;
    min-height: 22px;
    color: var(--sv-muted);
    font-size: 13px;
    display: none !important;
}

.sv-store__pagination {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.sv-store__page-btn {
    min-height: 30px;
    border-radius: 8px;
    border: 1px solid var(--sv-border);
    background: var(--sv-panel-soft);
    color: var(--sv-text);
    padding: 6px 10px;
    cursor: pointer;
}

.sv-store__page-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.sv-store__page-info {
    min-width: 94px;
    text-align: center;
    font-size: 13px;
    color: var(--sv-muted);
}

.sv-store__search,
.sv-store__sort {
    height: 46px;
    margin: 0;
    line-height: 1.2;
}

.sv-store__search:focus,
.sv-store__sort:focus,
.sv-store__price-range input:focus {
    border-color: var(--sv-accent-2) !important;
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.22) !important;
}

.sv-store__sort {
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    padding-right: 10px !important;
    background-image: none !important;
}

.sv-store .sv-store__toolbar .sv-store__search,
.sv-store .sv-store__toolbar .sv-store__sort {
    display: block !important;
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    border: 1px solid var(--sv-border) !important;
    background-color: #0d1321 !important;
    color: var(--sv-text) !important;
    -webkit-text-fill-color: var(--sv-text) !important;
    opacity: 1 !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 16px !important;
    font-family: inherit !important;
}

.sv-store .sv-store__toolbar .sv-store__search,
.sv-store .sv-store__toolbar .sv-store__search:focus,
.sv-store .sv-store__toolbar .sv-store__search:active {
    color: #ebf1fb !important;
    -webkit-text-fill-color: #ebf1fb !important;
    caret-color: #ebf1fb !important;
}

.sv-store .sv-store__toolbar .sv-store__search:-webkit-autofill,
.sv-store .sv-store__toolbar .sv-store__search:-webkit-autofill:hover,
.sv-store .sv-store__toolbar .sv-store__search:-webkit-autofill:focus {
    -webkit-text-fill-color: #ebf1fb !important;
    transition: background-color 5000s ease-in-out 0s;
}

.sv-store .sv-store__toolbar .sv-store__sort {
    color: #ebf1fb !important;
    -webkit-text-fill-color: #ebf1fb !important;
}

.sv-store .sv-store__toolbar .sv-store__search::placeholder {
    color: #7e95bd;
    opacity: 1;
}

.sv-store .sv-store__toolbar .sv-store__sort option {
    background-color: #0d1321;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

/* Keep search text readable even if Kadence injects dark input colors */
.sv-store .sv-store__toolbar input.sv-store__search[type="search"],
.sv-store .sv-store__toolbar input.sv-store__search[type="search"]:focus,
.sv-store .sv-store__toolbar input.sv-store__search[type="search"]:active {
    color: #ebf1fb !important;
    -webkit-text-fill-color: #ebf1fb !important;
    caret-color: #ebf1fb !important;
    opacity: 1 !important;
}

.sv-store .sv-store__toolbar input.sv-store__search[type="search"]::placeholder {
    color: #8ea6cb !important;
    -webkit-text-fill-color: #8ea6cb !important;
    opacity: 1 !important;
}

.sv-store .sv-store__toolbar input.sv-store__search[type="search"]:-webkit-autofill,
.sv-store .sv-store__toolbar input.sv-store__search[type="search"]:-webkit-autofill:hover,
.sv-store .sv-store__toolbar input.sv-store__search[type="search"]:-webkit-autofill:focus {
    -webkit-text-fill-color: #ebf1fb !important;
    caret-color: #ebf1fb !important;
    box-shadow: 0 0 0 1000px #0d1321 inset !important;
}


.sv-store__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.8rem;
    align-items: start;
}

.sv-card {
    border-radius: 12px;
    background: linear-gradient(180deg, var(--sv-panel), var(--sv-panel-soft));
    border: 1px solid var(--sv-border);
    padding: 0.62rem;
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(2, 8, 18, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    color: var(--sv-card-text);
}

.sv-card__image-wrap {
    height: 118px;
    border-radius: 10px;
    background: linear-gradient(140deg, rgba(121, 151, 204, 0.22), rgba(45, 65, 97, 0.12));
    display: flex;
    place-items: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.55rem;
    overflow: hidden;
    position: relative;
}

.sv-card__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.18s ease;
}

.sv-card__name {
    margin: 0 0 0.3rem;
    line-height: 1.24;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--sv-card-text);
}

.sv-card__condition {
    color: #79b4ff;
    margin: 0;
    font-weight: 600;
    font-size: 0.79rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sv-card__condition.sv-exterior--factory-new { color: #59d1c5; }
.sv-card__condition.sv-exterior--minimal-wear { color: #66c980; }
.sv-card__condition.sv-exterior--field-tested { color: #cdbd73; }
.sv-card__condition.sv-exterior--well-worn { color: #c69157; }
.sv-card__condition.sv-exterior--battle-scarred { color: #cd6a78; }
.sv-card__condition.sv-exterior--not-painted { color: #8f94b8; }


.sv-card__offers {
    margin: 0.35rem 0 0;
    color: var(--sv-card-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.sv-card__price {
    margin: 0.42rem 0 0.2rem;
    color: #3ec8ff;
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.02em;
}

@media (hover: hover) and (pointer: fine) {
    .sv-card:hover {
        transform: translateY(-2px);
        background: rgba(18, 35, 62, 0.45);
        box-shadow: 0 12px 24px rgba(2, 8, 18, 0.35);
    }

    .sv-card:hover .sv-card__image {
        transform: scale(1.02);
    }
}

.sv-store__empty {
    --bg: #07090f;
    --bg-2: #0b1120;
    --panel: #111a2a;
    --panel-2: #162139;
    --line: #27385b;
    --text: #ebf1fb;
    --muted: #9fb1d0;
    --accent: #2dd4bf;
    --accent-2: #22d3ee;
    --danger: #ff6b6b;
    --topbar-height: 86px;
    --construction-banner-height: 30px;
    --market-edge-gap: clamp(8px, 1.4vw, 18px);
    --sidebar-width: 260px;
    --sidebar-gap: 0.9rem;
    box-sizing: border-box;
    color: var(--text);
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    padding: 1rem;
}

.sv-store[data-sv-loading="1"] .sv-store__grid {
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

.sv-store__reset {
    width: 100%;
    border: 1px solid var(--sv-border);
    border-radius: 11px;
    background: #0f1728;
    color: #dbe7fb;
    font-weight: 700;
    letter-spacing: 0;
    padding: 11px 10px;
    font-size: 14px;
    cursor: pointer;
}

/* Market catalog visual parity (app.skins.land/market/catalog) */
.sv-store {
    --line: #344a73;
    --topbar-height: 78px;
    --market-edge-gap: clamp(8px, 1.4vw, 18px);
    --sv-bg: #061224;
    --sv-panel: #0f1728;
    --sv-panel-soft: #111d34;
    --sv-border: #3a507a;
    --sv-text: #e8f2ff;
    --sv-muted: #9fb1d0;
    --sv-accent: #2dd4bf;
    --sv-accent-2: #22d3ee;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 1rem;
    position: relative;
    isolation: isolate;
    left: auto;
    width: min(100%, calc(100dvw - (var(--market-edge-gap) * 2)));
    max-width: calc(100dvw - (var(--market-edge-gap) * 2));
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 10px;
    padding: 14px;
    background: var(--sv-bg);
}

section.sv-store[data-sv-store-root] .sv-store__layout,
section.sv-store[data-sv-store-root] .sv-store__main {
    background: transparent;
}

.sv-store::before {
    content: none;
}

.sv-store > * {
    position: relative;
    z-index: 1;
}

.sv-store__layout {
    --sidebar-width: 260px;
    --sidebar-gap: 0.9rem;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    gap: var(--sidebar-gap);
    align-items: start;
    width: 100%;
}

.sv-store__sidebar {
    position: sticky;
    top: calc(var(--topbar-height) + 12px);
    z-index: 60;
    max-height: calc(100vh - var(--topbar-height) - 24px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.9rem;
    gap: 0.85rem;
    border-radius: 14px;
    border-color: rgba(80, 110, 154, 0.45) !important;
    background: linear-gradient(180deg, rgba(12, 27, 50, 0.88), rgba(8, 18, 34, 0.86));
    box-shadow: 0 10px 26px rgba(2, 8, 18, 0.26);
    contain: layout paint;
}

.sv-store__section {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(15, 23, 40, 0.5);
    overflow: hidden;
}

.sv-store__section > summary {
    padding: 0.62rem 0.68rem;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(151, 165, 192, 0.18);
    border-bottom: 1px solid rgba(121, 148, 190, 0.18);
}

.sv-store__section .sv-store__filter-group {
    max-height: 230px;
    overflow-y: auto;
    padding: 0.62rem 0.68rem;
    gap: 0.65rem;
}

.sv-store__section--exterior .sv-store__filter-group,
.sv-store__section--phase .sv-store__filter-group {
    max-height: none;
    overflow: visible;
}

.sv-store__subheading {
    margin: 0.05rem 0 0.3rem;
    color: #8da6cb;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sv-store__filter-group label {
    gap: 0.55rem;
    color: #d5e2f8;
    font-size: 0.97rem;
}

.sv-store__filter-group input[type="checkbox"] {
    width: 15px;
    height: 15px;
    border: 1.5px solid #8fa8cf;
    border-radius: 4px;
    background: #0b1324;
}

.sv-store__filter-group input[type="checkbox"]:checked {
    border-color: #2dd4bf;
}

.sv-rarity-option .sv-rarity-dot {
    width: 9px;
    height: 9px;
}

.sv-store__price-range input,
.sv-store__search,
.sv-store__sort {
    border-color: #3a507a !important;
    border-radius: 10px !important;
    background: #0f1728 !important;
    color: var(--sv-text) !important;
    padding: 0.62rem 0.7rem !important;
}

.sv-store__main {
    display: grid;
    gap: 0.9rem;
}

.sv-store__top-row {
    gap: 0.55rem;
    margin-bottom: 0;
}

.sv-store__games .sv-store__game,
.sv-store__categories button {
    min-height: 36px;
    border: 1px solid #3a507a;
    border-radius: 10px;
    background: #0f1728;
    color: #dbe7fb;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sv-store.sv-store--hide-games .sv-store__games {
    display: none;
}

.sv-store.sv-store--hide-categories .sv-store__categories {
    display: none;
}

.sv-store.sv-store--hide-controls .sv-store__layout {
    grid-template-columns: 1fr;
}

.sv-store.sv-store--hide-controls .sv-store__toolbar {
    grid-template-columns: minmax(0, 1fr);
}

.sv-store.sv-store--hide-controls .sv-store__sidebar,
.sv-store.sv-store--hide-controls .sv-store__top-row,
.sv-store.sv-store--hide-controls .sv-store__games,
.sv-store.sv-store--hide-controls .sv-store__categories,
.sv-store.sv-store--hide-controls .sv-store__pagination,
.sv-store.sv-store--hide-controls .sv-store__filters-toggle {
    display: none !important;
}

.sv-store.sv-store--hide-controls .sv-store__toolbar {
    display: grid !important;
}

.sv-store.sv-store--hide-controls .sv-store__sort {
    display: none !important;
}

.sv-store__games .sv-store__game.is-active,
.sv-store__games .sv-store__game[data-active="1"],
.sv-store__categories button.is-active,
.sv-store__categories button[data-active="1"] {
    border-color: rgba(34, 211, 238, 0.42) !important;
    background: rgba(34, 211, 238, 0.2) !important;
    color: #dffbff !important;
}

.sv-store__toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 0.55rem;
    margin-top: 0;
}

.sv-store .sv-store__toolbar .sv-store__search {
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: 0 10px 24px rgba(2, 8, 18, 0.26), 0 0 12px rgba(77, 213, 244, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sv-store .sv-store__toolbar .sv-store__search:focus,
.sv-store .sv-store__toolbar .sv-store__search:active {
    border: 0 !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(2, 8, 18, 0.34), 0 0 16px rgba(77, 213, 244, 0.28), 0 0 0 2px rgba(77, 213, 244, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.sv-store .sv-store__toolbar input.sv-store__search[type="search"]:-webkit-autofill,
.sv-store .sv-store__toolbar input.sv-store__search[type="search"]:-webkit-autofill:hover,
.sv-store .sv-store__toolbar input.sv-store__search[type="search"]:-webkit-autofill:focus {
    box-shadow: 0 0 0 1000px transparent inset !important;
}

.sv-store__grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.8rem;
    padding-bottom: 52px;
}

.sv-card {
    --rarity-color: #7f8cff;
    min-height: 356px;
    aspect-ratio: 1 / 1.618;
    padding: 0.78rem;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--rarity-color) 26%, rgba(90, 118, 176, 0.34));
    background: linear-gradient(180deg, rgba(14, 28, 50, 0.9), rgba(7, 14, 29, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 30px rgba(2, 8, 18, 0.42);
}

.sv-card:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 24px 46px rgba(2, 8, 18, 0.62);
}

.sv-card__image-wrap {
    position: absolute;
    inset: 0;
    height: auto;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(121, 151, 204, 0.22), rgba(45, 65, 97, 0.12));
    margin: 0;
}

.sv-card__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 12, 23, 0.05), rgba(6, 12, 23, 0.65) 62%, rgba(4, 10, 19, 0.86));
    pointer-events: none;
}

.sv-card__image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center top;
}

.sv-card__name,
.sv-card__condition,
.sv-card__offers,
.sv-card__price {
    position: relative;
    z-index: 6;
    text-shadow: 0 1px 12px rgba(2, 8, 18, 0.7);
}

.sv-card__name {
    margin-top: auto;
    margin-bottom: 0.36rem;
    font-size: 1.02rem;
    color: #f5f9ff;
}

.sv-card__offers {
    margin-top: 0;
    font-size: 0.79rem;
    color: #d7e9ff;
}

.sv-card__price {
    margin-top: 0.36rem;
    text-align: right;
    color: #e6f7ff;
    font-size: 2rem;
}

.sv-store__pagination {
    justify-content: flex-end;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.55rem;
    padding: 0;
    border: 0;
    background: transparent;
}

.sv-store__page-btn,
.sv-store__page-info {
    min-height: 34px;
    border-radius: 9px;
    font-weight: 700;
}

.sv-store__page-btn {
    min-width: 92px;
    padding: 0.44rem 0.78rem;
    border: 1px solid rgba(84, 126, 187, 0.48);
    background: rgba(12, 26, 48, 0.62);
    color: #e6f2ff;
    letter-spacing: 0.015em;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.sv-store__page-info {
    min-width: auto;
    padding: 0 0.2rem;
    text-align: center;
    border: 0;
    background: transparent;
    color: #b8cae6;
    font-size: 0.79rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.sv-store__page-number {
    min-width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(84, 126, 187, 0.42);
    background: rgba(12, 26, 48, 0.55);
    color: #d7e8ff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0 0.35rem;
    cursor: pointer;
}

.sv-store__page-number:hover {
    border-color: rgba(115, 223, 249, 0.66);
    background: rgba(21, 47, 83, 0.82);
    color: #f4fcff;
}

.sv-store__page-number.is-active,
.sv-store__page-number[aria-current="page"] {
    border-color: rgba(117, 214, 255, 0.9);
    background: rgba(34, 211, 238, 0.24);
    color: #ecfbff;
    cursor: default;
}

.sv-store__page-ellipsis {
    color: #8fa8cf;
    padding: 0 0.12rem;
    font-weight: 700;
}

.sv-store__page-btn:hover {
    background: rgba(21, 47, 83, 0.82);
    border-color: rgba(115, 223, 249, 0.66);
    color: #f4fcff;
    box-shadow: 0 4px 12px rgba(2, 8, 18, 0.22);
}

.sv-store__page-btn:focus-visible {
    outline: none;
    border-color: rgba(115, 223, 249, 0.92);
    box-shadow: 0 0 0 2px rgba(77, 213, 244, 0.28);
}

.sv-store__page-btn[disabled] {
    opacity: 0.42;
    cursor: not-allowed;
    box-shadow: none;
    border-color: rgba(69, 99, 144, 0.36);
    background: rgba(11, 25, 45, 0.42);
    color: rgba(210, 228, 248, 0.62);
}

@media (max-width: 960px) {
    .sv-store__layout {
        grid-template-columns: 1fr;
    }

    .sv-store__filters-toggle {
        display: inline-flex;
        width: 100%;
    }

    .sv-store__sidebar {
        display: none;
        margin-bottom: 8px;
    }

    .sv-store[data-sidebar-open="1"] .sv-store__sidebar {
        display: grid;
    }
}

@media (min-width: 961px) {
    .sv-store .sv-store__filters-toggle {
        display: none !important;
    }

    .sv-store .sv-store__sidebar,
    .sv-store[data-sidebar-open="0"] .sv-store__sidebar,
    .sv-store[data-sidebar-open="1"] .sv-store__sidebar {
        display: grid !important;
    }

    .sv-store__search-wrap {
        width: 100%;
        max-width: 700px;
        justify-self: center;
    }
}

@media (max-width: 700px) {
    .sv-store__toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sv-store__search-wrap {
        grid-column: 1 / -1;
    }

    .sv-store__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sv-store__pagination {
        justify-content: center;
    }

    .sv-store__page-btn {
        min-width: 84px;
    }

    .sv-card {
        min-height: 275px;
        padding: 0.72rem;
    }

    .sv-card__name {
        font-size: 0.92rem;
        line-height: 1.2;
    }

    .sv-card__offers {
        font-size: 0.72rem;
    }

    .sv-card__price {
        font-size: 1.72rem;
    }
}

@media (max-width: 520px) {
    .sv-store__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Laravel catalog card parity */
.sv-store__grid.catalog-grid,
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.8rem;
    align-items: start;
    content-visibility: auto;
    contain: layout style;
    contain-intrinsic-size: 900px;
    overflow: visible;
    padding-top: 4px;
}

.catalog-card {
    --rarity-color: #7f8cff;
    position: relative;
    min-height: 356px;
    aspect-ratio: 1 / 1.618;
    transform-origin: center top;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--rarity-color) 30%, rgba(84, 110, 166, 0.34));
    background: linear-gradient(180deg, rgba(14, 28, 50, 0.9), rgba(7, 14, 29, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 32px rgba(2, 8, 18, 0.45);
    transition: transform 0.2s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    contain: layout paint style;
}

.catalog-card::before,
.catalog-card::after {
    content: "";
    position: absolute;
    inset: -24%;
    pointer-events: none;
}

.catalog-card::before {
    background: radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--rarity-color) 34%, transparent) 0%, transparent 52%);
    opacity: 0.48;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.catalog-card::after {
    background: linear-gradient(180deg, rgba(6, 12, 23, 0.05), rgba(6, 12, 23, 0.68) 58%, rgba(4, 10, 19, 0.9) 100%);
    opacity: 0.96;
    transition: opacity 0.22s ease;
}

.catalog-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    contain: paint;
}

.catalog-media .sv-card__image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center top;
    transform: scale(1);
    transition: transform 0.2s ease;
}

.catalog-media__placeholder {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 18%, rgba(124, 155, 213, 0.26), rgba(42, 61, 95, 0.08) 58%, transparent 80%);
}

.catalog-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 0.9rem 0.85rem 0.92rem;
    display: grid;
    gap: 0.36rem;
    transform: translateY(0);
    transition: transform 0.24s ease;
    contain: content;
}

.catalog-title {
    margin: 0;
    font-size: 1.01rem;
    line-height: 1.22;
    font-weight: 800;
    color: #f5f9ff;
    text-shadow: 0 2px 13px rgba(2, 8, 18, 0.7);
}

.catalog-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #d3e5ff;
    text-shadow: 0 1px 10px rgba(2, 8, 18, 0.62);
}

.catalog-category {
    color: color-mix(in srgb, var(--rarity-color) 62%, #ffffff 38%);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-exterior {
    color: #d2c35c;
    white-space: nowrap;
}

.catalog-exterior.catalog-exterior--factory-new { color: #53d67f; }
.catalog-exterior.catalog-exterior--minimal-wear { color: #90d76b; }
.catalog-exterior.catalog-exterior--field-tested { color: #d2c35c; }
.catalog-exterior.catalog-exterior--well-worn { color: #dd965e; }
.catalog-exterior.catalog-exterior--battle-scarred { color: #df6a6a; }

.catalog-price {
    margin: 0.12rem 0 0;
    line-height: 1;
    font-weight: 800;
    color: #e9f7ff;
    text-align: right;
    text-shadow: 0 2px 12px rgba(2, 8, 18, 0.7);
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.08rem;
    width: 100%;
}

.catalog-price-whole {
    font-size: 1.8rem;
    line-height: 1;
}

.catalog-price-decimals {
    font-size: 0.72rem;
    line-height: 1;
    top: 0.1em;
    position: relative;
}

.catalog-price-currency {
    font-size: 1rem;
    line-height: 1;
    margin-left: 0.08rem;
}

.catalog-hover-actions {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.78rem;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
    contain: content;
}

.hover-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--rarity-color) 38%, rgba(214, 229, 255, 0.5));
    background: rgba(10, 23, 43, 0.86);
    color: #d9ecff;
    min-height: 34px;
    border-radius: 10px;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}

.hover-btn--primary {
    background: color-mix(in srgb, var(--rarity-color) 28%, rgba(32, 207, 178, 0.72));
    color: #f7ffff;
}

.hover-btn--steam {
    --bg: #07090f;
    --bg-2: #0b1120;
    --panel: #111a2a;
    --panel-2: #162139;
    --line: #27385b;
    --text: #ebf1fb;
    --muted: #9fb1d0;
    --accent: #2dd4bf;
    --accent-2: #22d3ee;
    --danger: #ff6b6b;
    --topbar-height: 86px;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --construction-banner-height: 30px;
    --market-edge-gap: clamp(8px, 1.4vw, 18px);
    --sidebar-width: 260px;
    --sidebar-gap: 0.9rem;
    --rarity-color: #6cb0ff;
    visibility: hidden;
    pointer-events: none;
    box-sizing: border-box;
    text-decoration: none;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid color-mix(in srgb, var(--rarity-color) 55%, rgba(118, 157, 214, 0.45));
    background: rgba(8, 20, 39, 0.92);
    color: #deecff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.36rem 0.42rem;
    min-height: 30px;
    cursor: pointer;
}

.catalog-hover-actions .hover-btn--steam:link,
.catalog-hover-actions .hover-btn--steam:visited {
    color: #deecff;
    text-decoration: none;
}

.catalog-hover-actions .hover-btn--steam:hover,
.catalog-hover-actions .hover-btn--steam:focus-visible,
.catalog-hover-actions .hover-btn--steam:active {
    background: rgba(13, 31, 58, 0.96);
    border-color: color-mix(in srgb, var(--rarity-color) 78%, rgba(154, 198, 255, 0.82));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--rarity-color) 45%, transparent), 0 6px 16px rgba(2, 8, 18, 0.28);
    color: #ebf5ff;
    text-shadow: 0 1px 8px rgba(4, 14, 32, 0.65);
    text-decoration: none;
}

.catalog-card:hover .hover-btn--steam {
    visibility: visible;
    pointer-events: auto;
}

.catalog-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--rarity-color) 78%, rgba(196, 224, 255, 0.68));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 0 0 1px color-mix(in srgb, var(--rarity-color) 48%, transparent),
        0 12px 26px color-mix(in srgb, var(--rarity-color) 36%, rgba(2, 8, 18, 0.5)),
        0 24px 46px color-mix(in srgb, var(--rarity-color) 26%, rgba(2, 8, 18, 0.62));
    z-index: 30;
}

.catalog-card:hover::before {
    opacity: 0.82;
    transform: scale(1.03);
    backdrop-filter: blur(1.8px) saturate(118%) contrast(1.03);
    -webkit-backdrop-filter: blur(1.8px) saturate(118%) contrast(1.03);
}

.catalog-card:hover::after {
    opacity: 0.9;
}

.catalog-card:hover .catalog-media .sv-card__image {
    transform: none;
}

.catalog-card:hover .catalog-copy {
    transform: translateY(-3.4rem);
}

.catalog-card:hover .catalog-hover-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
    .catalog-card:hover .catalog-copy {
        transform: translateY(-3.4rem);
    }
}

@media (max-width: 940px) {
    .catalog-copy {
        transform: translateY(-3.4rem);
    }

    .catalog-hover-actions {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        transition: none;
    }

    .hover-btn--steam {
        visibility: visible;
        pointer-events: auto;
    }
}

@media (max-width: 700px) {
    .catalog-card {
        min-height: 280px;
    }

    .catalog-title {
        font-size: 0.9rem;
    }

    .catalog-meta {
        font-size: 0.69rem;
    }

    .catalog-price {
        font-size: 1.55rem;
    }

    .catalog-hover-actions {
        left: 0.72rem;
        right: 0.72rem;
        bottom: 0.68rem;
    }

    /* Keep the same mobile grid behavior across every shortcode variant. */
    .sv-store__grid,
    .sv-store__grid.catalog-grid,
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Keep catalog background stable even if theme resets <section>. */
section.sv-store[data-sv-store-root],
section.sv-store[data-sv-store-root].sv-store,
section.sv-store[data-sv-store-root].sv-store--full-width {
    background: transparent !important;
    background-image: none !important;
}

section.sv-store[data-sv-store-root] > form.sv-store__form {
    background: transparent !important;
}

/* Performance mode while user is actively resizing viewport. */
section.sv-store[data-sv-store-root][data-sv-resizing="1"] .catalog-card,
section.sv-store[data-sv-store-root][data-sv-resizing="1"] .catalog-card::before,
section.sv-store[data-sv-store-root][data-sv-resizing="1"] .catalog-card::after,
section.sv-store[data-sv-store-root][data-sv-resizing="1"] .catalog-copy,
section.sv-store[data-sv-store-root][data-sv-resizing="1"] .catalog-hover-actions,
section.sv-store[data-sv-store-root][data-sv-resizing="1"] .catalog-media .sv-card__image {
    transition: none !important;
    animation: none !important;
}

section.sv-store[data-sv-store-root][data-sv-resizing="1"] .catalog-card::before {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

section.sv-store[data-sv-store-root][data-sv-resizing="1"] .catalog-card,
section.sv-store[data-sv-store-root][data-sv-resizing="1"] .catalog-card:hover {
    box-shadow: none !important;
}

section.sv-store[data-sv-store-root][data-sv-resizing="1"] .catalog-card::before,
section.sv-store[data-sv-store-root][data-sv-resizing="1"] .catalog-card::after {
    opacity: 0 !important;
}

.catalog-grid {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

/* Netflix-like horizontal sections shortcode */
.sv-rails {
    display: grid;
    gap: 1.15rem;
    padding: 0.25rem 0 0.65rem;
    color: var(--sv-text, #ebf1fb);
}

.sv-rails__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sv-rails__title {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 0.01em;
    color: #f2f8ff;
}

.sv-rails__rows {
    display: grid;
    gap: 1.15rem;
}

.sv-rail {
    display: grid;
    gap: 0.55rem;
}

.sv-rail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.sv-rail__title {
    margin: 0;
    font-size: 1.03rem;
    font-weight: 700;
    color: #e8f3ff;
}

.sv-rail__controls {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.sv-rail__btn {
    min-width: 34px;
    min-height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(84, 126, 187, 0.48);
    background: rgba(12, 26, 48, 0.62);
    color: #dff2ff;
    font-size: 1.18rem;
    line-height: 1;
    cursor: pointer;
}

.sv-rail__btn[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}

.sv-rail__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(117, 214, 255, 0.55) transparent;
}

.sv-rail__viewport::-webkit-scrollbar {
    height: 9px;
}

.sv-rail__viewport::-webkit-scrollbar-thumb {
    background: rgba(117, 214, 255, 0.45);
    border-radius: 999px;
}

.sv-rail__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(212px, 220px);
    gap: 0.78rem;
    align-items: stretch;
    padding: 0.1rem 0.02rem 0.52rem;
}

.sv-rail__track .sv-card {
    scroll-snap-align: start;
}

.sv-rail__loading,
.sv-rail__empty {
    grid-column: 1 / -1;
    min-height: 98px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid rgba(84, 126, 187, 0.35);
    background: rgba(10, 21, 39, 0.6);
    color: #b5c9e5;
    font-size: 0.9rem;
}

@media (max-width: 700px) {
    .sv-rail__track {
        grid-auto-columns: minmax(168px, 184px);
        gap: 0.62rem;
    }

    .sv-rail__title {
        font-size: 0.94rem;
    }
}
