html {
    scroll-behavior: smooth;
}

.prime-panel-layout .theme-panel.border {
    border-color: transparent !important;
}

.seller-badge-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.45rem;
}

.seller-badge {
    --seller-badge-color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 1.75rem;
    border: 1px solid color-mix(in srgb, var(--seller-badge-color) 50%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--seller-badge-color) 16%, transparent);
    padding: 0.25rem 0.55rem;
    color: var(--seller-badge-color);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.seller-badge i {
    font-size: 1rem;
    line-height: 1;
}

.seller-badge-strip--compact {
    min-height: 1.75rem;
}

.seller-badge-strip--compact .seller-badge {
    width: 1.55rem;
    min-width: 1.55rem;
    height: 1.55rem;
    min-height: 1.55rem;
    padding: 0;
}

.seller-badge-strip--compact .seller-badge span {
    display: none;
}

.seller-badge-strip--wide .seller-badge {
    min-height: 1.9rem;
    padding: 0.35rem 0.7rem;
}

body {
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #181a20;
}

::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

.shared-header,
.shared-footer,
.shared-navigation,
.shared-topbar {
    position: relative;
}

.public-header-stable,
.public-header-stable * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    font-kerning: normal;
    font-synthesis: none;
}

.material-symbols-outlined {
    display: inline-block;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-icons {
    display: inline-block;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
}

html:not(.icons-ready) .material-icons,
html:not(.icons-ready) .material-symbols-outlined {
    visibility: hidden;
}

html.icons-ready .material-icons,
html.icons-ready .material-symbols-outlined {
    visibility: visible;
}

.marketplace-showcase-prime {
    --marketplace-page: var(--theme-page, #181a20);
    --marketplace-panel: var(--theme-surface, #1e2329);
    --marketplace-card: var(--theme-surface, #1e2329);
    --marketplace-card-soft: var(--theme-card-alt, #13161b);
    --marketplace-border: var(--theme-border-soft, rgba(255, 255, 255, 0.1));
    --marketplace-text: var(--theme-heading, #ffffff);
    --marketplace-muted: var(--theme-muted, #9ca3af);
    --marketplace-accent: var(--theme-accent, #f97316);
    --marketplace-accent-hover: var(--theme-accent-hover, #ea580c);
    --marketplace-price: #facc15;
    display: flex;
    column-gap: 1.5rem;
    box-sizing: border-box;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
    color: var(--marketplace-text);
}

.marketplace-showcase-prime a {
    color: inherit;
    text-decoration: none;
}

.marketplace-showcase-prime .marketplace-showcase-filter {
    width: calc(20.8333% - 1.5rem);
    flex: 0 0 calc(20.8333% - 1.5rem);
    margin: 0;
    align-self: flex-start;
}

.marketplace-seller-profile-prime .marketplace-showcase-prime.marketplace-seller-listings {
    width: 100%;
    max-width: none;
    margin: 0;
}

.marketplace-showcase-prime.marketplace-seller-listings .marketplace-showcase-filter {
    border: 1px solid transparent;
    border-radius: 0.5rem;
    background: var(--marketplace-panel);
    padding: 1.25rem;
}

.marketplace-showcase-prime .marketplace-filter-card {
    background: var(--marketplace-panel);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.28);
}

.marketplace-showcase-prime .marketplace-filter-card-header {
    background: var(--marketplace-border);
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 10px;
    text-align: center;
    color: var(--marketplace-text);
    font-size: 14px;
    font-weight: 500;
}

.marketplace-showcase-prime .marketplace-filter-input {
    width: 100%;
    height: 32px;
    padding: 6px 12px;
    background: var(--marketplace-card-soft);
    border: 1px solid var(--marketplace-border);
    border-radius: 6px;
    color: var(--marketplace-text);
    font-size: 12px;
    outline: none;
}

.marketplace-showcase-prime .marketplace-filter-input::placeholder {
    color: var(--marketplace-muted);
}

.marketplace-showcase-prime .marketplace-filter-input:focus {
    border-color: var(--marketplace-accent);
}

.marketplace-showcase-prime .marketplace-price-input {
    height: 38px;
    font-size: 16px;
}

.marketplace-showcase-prime .marketplace-filter-subtitle {
    margin: 10px 0 5px;
    color: var(--marketplace-text);
    font-size: 12px;
    font-weight: 500;
}

.marketplace-showcase-prime .marketplace-filter-checks {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.marketplace-showcase-prime .marketplace-filter-check {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--marketplace-text);
    font-size: 12px;
}

.marketplace-showcase-prime .marketplace-filter-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.marketplace-showcase-prime .marketplace-filter-check-box {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    background: var(--marketplace-card-soft);
    border: 1px solid var(--marketplace-border);
    border-radius: 5px;
}

.marketplace-showcase-prime .marketplace-filter-faqs {
    margin-top: 12px;
}

.marketplace-showcase-prime .marketplace-filter-faqs h4 {
    margin: 6px 0;
    color: var(--marketplace-text);
    font-size: 16px;
    font-weight: 600;
}

.marketplace-showcase-prime .marketplace-filter-faqs a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    color: var(--marketplace-text);
    font-size: 13px;
    border-bottom: 2px solid var(--marketplace-accent);
}

.marketplace-showcase-prime .marketplace-filter-faqs a:hover {
    color: var(--marketplace-accent);
}

.marketplace-showcase-prime .marketplace-filter-title,
.marketplace-showcase-prime .marketplace-filter-label,
.marketplace-showcase-prime .marketplace-category-item,
.marketplace-showcase-prime .marketplace-showcase-topbar,
.marketplace-showcase-prime .marketplace-seller-chip,
.marketplace-showcase-prime .marketplace-sort-form {
    display: flex;
    align-items: center;
}

.marketplace-showcase-prime .marketplace-filter-title {
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--marketplace-border);
    color: var(--marketplace-text);
    font-size: 1.125rem;
    font-weight: 800;
}

.marketplace-showcase-prime .marketplace-filter-title i,
.marketplace-showcase-prime .marketplace-filter-label i {
    color: var(--marketplace-muted);
}

.marketplace-showcase-prime .marketplace-filter-form,
.marketplace-showcase-prime .marketplace-filter-section {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.marketplace-showcase-prime .marketplace-filter-form {
    margin-top: 0;
    gap: 0;
}

.marketplace-showcase-prime.marketplace-seller-listings .marketplace-filter-form {
    margin-top: 1.25rem;
    gap: 1.4rem;
}

.marketplace-showcase-prime .marketplace-filter-label {
    gap: 0.5rem;
    color: var(--marketplace-text);
    font-size: 0.82rem;
    font-weight: 800;
}

.marketplace-showcase-prime .marketplace-input-shell {
    position: relative;
    display: flex;
    align-items: center;
}

.marketplace-showcase-prime .marketplace-input-shell i,
.marketplace-showcase-prime .marketplace-input-shell span {
    position: absolute;
    top: 50%;
    left: 0.85rem;
    transform: translateY(-50%);
    color: var(--marketplace-muted);
    font-size: 0.8rem;
    pointer-events: none;
}

.marketplace-showcase-prime .marketplace-input-shell input,
.marketplace-showcase-prime .marketplace-sort-form select {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 0.4rem;
    background: var(--marketplace-card-soft);
    color: var(--marketplace-text);
    font-size: 0.88rem;
    outline: none;
}

.marketplace-showcase-prime .marketplace-input-shell input {
    min-height: 2.7rem;
    padding: 0.7rem 0.85rem 0.7rem 2.35rem;
}

.marketplace-showcase-prime .marketplace-input-shell input::placeholder {
    color: var(--marketplace-muted);
}

.marketplace-showcase-prime .marketplace-input-shell input:focus,
.marketplace-showcase-prime .marketplace-sort-form select:focus {
    border-color: var(--marketplace-accent);
    box-shadow: 0 0 0 1px var(--marketplace-accent);
}

.marketplace-showcase-prime .marketplace-filter-error {
    margin: 0.4rem 0 0;
    color: #fca5a5;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
}

.marketplace-showcase-prime .marketplace-price-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.marketplace-showcase-prime .marketplace-category-scroll {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 430px;
    margin: 8px 0;
    overflow-y: auto;
    padding-right: 8px;
}

.marketplace-showcase-prime .marketplace-category-scroll::-webkit-scrollbar {
    width: 6px;
}

.marketplace-showcase-prime .marketplace-category-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.marketplace-showcase-prime .marketplace-category-scroll::-webkit-scrollbar-thumb {
    background: var(--marketplace-border);
    border-radius: 999px;
}

.marketplace-showcase-prime .marketplace-category-item {
    position: relative;
    gap: 5px;
    border-radius: 6px;
    padding: 2px;
    background: var(--marketplace-card-soft);
    color: var(--marketplace-text);
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    transition: background-color 180ms ease, color 180ms ease;
}

.marketplace-showcase-prime .marketplace-category-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.marketplace-showcase-prime .marketplace-category-item:hover,
.marketplace-showcase-prime .marketplace-category-item:has(.marketplace-category-radio:checked),
.marketplace-showcase-prime .marketplace-category-item.is-active {
    background: rgba(249, 115, 22, 0.1);
    color: var(--marketplace-text);
}

.marketplace-showcase-prime .marketplace-category-scroll:has(.marketplace-category-radio:checked)
    .marketplace-category-item.is-active:not(:has(.marketplace-category-radio:checked)) {
    background: transparent;
    color: var(--marketplace-muted);
}

.marketplace-showcase-prime .marketplace-category-item.is-child {
    padding-left: 1.4rem;
}

.marketplace-showcase-prime .marketplace-category-icon,
.marketplace-showcase-prime .marketplace-seller-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 999px;
    background: var(--marketplace-card-soft);
    color: var(--marketplace-accent);
    font-weight: 800;
}

.marketplace-showcase-prime .marketplace-category-icon {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    font-size: 0.72rem;
}

.marketplace-showcase-prime .marketplace-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marketplace-showcase-prime .marketplace-filter-button,
.marketplace-showcase-prime .marketplace-empty-state a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    border: 0;
    border-radius: 0.4rem;
    background: var(--marketplace-accent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 180ms ease;
}

.marketplace-showcase-prime .marketplace-filter-button {
    width: 100%;
    min-height: 38px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    gap: 8px;
}

.marketplace-showcase-prime.marketplace-seller-listings .marketplace-filter-button {
    min-height: 2.8rem;
    border-radius: 0.4rem;
    font-size: 0.9rem;
    font-weight: 800;
}

.marketplace-showcase-prime .marketplace-filter-button:hover,
.marketplace-showcase-prime .marketplace-empty-state a:hover {
    background: var(--marketplace-accent-hover);
}

.marketplace-showcase-prime .marketplace-reset-link {
    display: block;
    margin-top: 10px;
    color: var(--marketplace-muted);
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
}

.marketplace-showcase-prime .marketplace-reset-link:hover {
    color: var(--marketplace-accent);
}

.marketplace-showcase-prime .marketplace-showcase-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
}

.marketplace-showcase-prime .marketplace-showcase-topbar {
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.marketplace-showcase-prime .marketplace-showcase-topbar h1 {
    margin: 0;
    color: var(--marketplace-text);
    font-size: 1.35rem;
    font-weight: 900;
}

.marketplace-showcase-prime .marketplace-showcase-topbar p {
    margin: 0.3rem 0 0;
    color: var(--marketplace-muted);
    font-size: 0.82rem;
}

.marketplace-showcase-prime .marketplace-sort-form {
    position: relative;
    min-width: 160px;
}

.marketplace-showcase-prime .marketplace-sort-form select {
    min-height: 2.55rem;
    appearance: none;
    padding: 0.6rem 2.4rem 0.6rem 0.9rem;
    cursor: pointer;
}

.marketplace-showcase-prime .marketplace-sort-form i {
    position: absolute;
    top: 50%;
    right: 0.9rem;
    transform: translateY(-50%);
    color: var(--marketplace-muted);
    font-size: 0.75rem;
    pointer-events: none;
}

.marketplace-showcase-prime .marketplace-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    justify-content: stretch;
}

.marketplace-showcase-prime.marketplace-home-latest .marketplace-card-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.marketplace-showcase-prime .marketplace-product-card {
    width: 100%;
    min-width: 0;
}

.marketplace-showcase-prime .marketplace-card-link {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 320px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    background: var(--marketplace-card);
    transition: border-color 180ms ease, transform 180ms ease;
}

.marketplace-showcase-prime .marketplace-card-link:hover {
    transform: translateY(-1px);
}

.marketplace-showcase-prime .marketplace-card-ribbon {
    min-height: calc(1.5em + 0.56rem);
    min-height: calc(1lh + 0.56rem);
    background: var(--marketplace-card);
    padding: 0.28rem 0.5rem;
    text-align: center;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.marketplace-showcase-prime .marketplace-card-ribbon.is-boosted {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--marketplace-accent), var(--marketplace-accent-hover));
    color: #ffffff;
}

.marketplace-showcase-prime .marketplace-card-ribbon.is-boosted::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: translateX(-150%);
    animation: marketplace-ribbon-shimmer 3s ease-in-out infinite;
}

@keyframes marketplace-ribbon-shimmer {
    0% {
        transform: translateX(-150%);
    }

    30% {
        transform: translateX(350%);
    }

    100% {
        transform: translateX(350%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marketplace-showcase-prime .marketplace-card-ribbon.is-boosted::after {
        animation: none;
    }
}

.marketplace-showcase-prime .marketplace-card-media {
    height: 170px;
    flex: 1 1 auto;
    overflow: hidden;
    background: var(--marketplace-card-soft);
}

.marketplace-showcase-prime .marketplace-card-media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marketplace-showcase-prime .marketplace-card-link.is-rise .marketplace-card-media {
    height: auto;
    overflow: visible;
    background: transparent;
}

.marketplace-showcase-prime .marketplace-card-link.is-rise .marketplace-seller-chip {
    margin-top: 0;
}

.marketplace-showcase-prime .marketplace-card-body {
    display: flex;
    flex: 0 1 auto;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0 0.75rem 0.85rem;
}

.marketplace-showcase-prime .marketplace-seller-chip {
    position: relative;
    z-index: 1;
    gap: 0.55rem;
    min-width: 0;
    margin: -1.55rem 0.5rem 0;
    border-radius: 0.45rem;
    background: var(--marketplace-card-soft);
    padding: 0.45rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.marketplace-showcase-prime .marketplace-seller-avatar {
    width: 1.65rem;
    height: 1.65rem;
    background: rgba(249, 115, 22, 0.14);
    font-size: 0.78rem;
}

.marketplace-showcase-prime .marketplace-seller-chip span:last-child {
    min-width: 0;
}

.marketplace-showcase-prime .marketplace-seller-chip small,
.marketplace-showcase-prime .marketplace-card-copy span {
    display: block;
    color: var(--marketplace-muted);
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.marketplace-showcase-prime .marketplace-seller-chip strong {
    display: block;
    overflow: hidden;
    color: var(--marketplace-text);
    font-size: 0.78rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marketplace-showcase-prime .marketplace-card-copy {
    min-width: 0;
    padding-top: 0.2rem;
}

.marketplace-showcase-prime .marketplace-card-copy h2 {
    display: -webkit-box;
    min-height: 2.4rem;
    margin: 0.35rem 0 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--marketplace-text);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.3;
}

.marketplace-showcase-prime .marketplace-card-price {
    margin-top: auto;
    color: var(--marketplace-price);
    font-size: 1.18rem;
    font-weight: 900;
}

.marketplace-showcase-prime .marketplace-empty-state {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 320px;
    border: 1px dashed transparent;
    border-radius: 0.5rem;
    background: var(--marketplace-card);
    padding: 2rem;
    text-align: center;
}

.marketplace-showcase-prime .marketplace-empty-state i {
    color: var(--marketplace-accent);
    font-size: 2rem;
}

.marketplace-showcase-prime .marketplace-empty-state h2 {
    margin: 1rem 0 0;
    color: var(--marketplace-text);
    font-size: 1.2rem;
    font-weight: 900;
}

.marketplace-showcase-prime .marketplace-empty-state p {
    max-width: 520px;
    margin: 0.5rem 0 1rem;
    color: var(--marketplace-muted);
}

.marketplace-showcase-prime .marketplace-empty-state a {
    min-height: 2.5rem;
    padding: 0 1rem;
}

.marketplace-showcase-prime .marketplace-pagination {
    margin-top: 1.5rem;
}

@media (max-width: 1175px) {
    .marketplace-showcase-prime {
        flex-direction: column;
    }

    .marketplace-showcase-prime .marketplace-showcase-filter {
        width: auto;
        flex-basis: auto;
    }

    .marketplace-showcase-prime .marketplace-category-scroll {
        max-height: 180px;
    }
}

@media (max-width: 767px) {
    .marketplace-showcase-prime {
        padding-top: 1rem;
    }

    .marketplace-showcase-prime .marketplace-showcase-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .marketplace-showcase-prime .marketplace-sort-form {
        width: 100%;
    }

    .marketplace-showcase-prime .marketplace-card-media {
        height: clamp(120px, 38vw, 150px);
    }
}

@media (max-width: 1280px) {
    .marketplace-showcase-prime .marketplace-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 922px) {
    .marketplace-showcase-prime.marketplace-home-latest .marketplace-card-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.5rem;
    }

    .marketplace-showcase-prime.marketplace-home-latest .marketplace-product-card {
        flex: 0 0 55vw;
    }
}

@media (max-width: 912px) {
    .marketplace-showcase-prime .marketplace-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.marketplace-home-latest.marketplace-showcase-prime {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.marketplace-seller-profile-prime {
    --seller-panel: var(--theme-surface, #1e2329);
    --seller-panel-soft: var(--theme-card-alt, #13161b);
    --seller-panel-muted: rgba(255, 255, 255, 0.06);
    --seller-border: var(--theme-border-soft, rgba(255, 255, 255, 0.1));
    --seller-text: var(--theme-heading, #ffffff);
    --seller-muted: var(--theme-muted, #9ca3af);
    --seller-accent: var(--theme-accent, #f97316);
    --seller-accent-strong: var(--theme-accent-hover, #ea580c);
    --seller-success: #22c55e;
    --seller-info: #2563eb;
    box-sizing: border-box;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
    color: var(--seller-text);
}

@media (max-width: 768px) {
    .marketplace-showcase-prime {
        width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .marketplace-seller-profile-prime {
        width: 100%;
        padding: 1.5rem 0.75rem 3rem;
    }
}

.marketplace-seller-profile-prime *,
.marketplace-seller-profile-prime *::before,
.marketplace-seller-profile-prime *::after {
    box-sizing: border-box;
}

.marketplace-seller-profile-prime a {
    color: inherit;
    text-decoration: none;
}

.marketplace-seller-profile-prime button,
.marketplace-seller-profile-prime select,
.marketplace-seller-profile-prime input {
    font: inherit;
}

.marketplace-seller-profile-prime .marketplace-seller-shell {
    overflow: hidden;
    border: 1px solid var(--seller-border);
    border-radius: 0.5rem;
    background: var(--seller-panel);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.marketplace-seller-profile-prime .marketplace-seller-cover {
    min-height: 98px;
    background:
        radial-gradient(circle at 18% 35%, rgba(249, 115, 22, 0.2), transparent 34%),
        radial-gradient(circle at 88% 20%, rgba(37, 99, 235, 0.16), transparent 30%),
        linear-gradient(135deg, var(--seller-panel-soft), var(--seller-panel));
}

.marketplace-seller-profile-prime .marketplace-seller-header {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 1.25rem 1.25rem;
}

.marketplace-seller-profile-prime .marketplace-seller-identity {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
    margin-top: -3rem;
}

.marketplace-seller-profile-prime .marketplace-seller-avatar-lg {
    display: grid;
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    place-items: center;
    border: 2px solid var(--seller-accent);
    border-radius: 0.35rem;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.26), transparent 22%),
        linear-gradient(145deg, var(--seller-panel-soft), #0f141b);
    color: var(--seller-text);
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.marketplace-seller-profile-prime .marketplace-seller-copy {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    padding-top: 2.2rem;
}

.marketplace-seller-profile-prime .marketplace-seller-copy > span,
.marketplace-seller-profile-prime .marketplace-seller-score > span,
.marketplace-seller-profile-prime .marketplace-seller-score > small {
    color: var(--seller-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.marketplace-seller-profile-prime .marketplace-seller-copy h1 {
    margin: 0;
    color: var(--seller-text);
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    font-weight: 900;
    line-height: 1.05;
}

.marketplace-seller-profile-prime .marketplace-seller-badges,
.marketplace-seller-profile-prime .marketplace-seller-actions,
.marketplace-seller-profile-prime .marketplace-seller-tabs,
.marketplace-seller-profile-prime .marketplace-seller-trust {
    display: flex;
    align-items: center;
}

.marketplace-seller-profile-prime .marketplace-seller-badges {
    flex-wrap: wrap;
    gap: 0.45rem;
}

.marketplace-seller-profile-prime .marketplace-seller-badges span,
.marketplace-seller-profile-prime .marketplace-seller-badges i {
    display: grid;
    width: 1.45rem;
    height: 1.45rem;
    place-items: center;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.marketplace-seller-profile-prime .marketplace-seller-badges span {
    background: #facc15;
    color: #111827;
}

.marketplace-seller-profile-prime .marketplace-seller-badges i {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(37, 99, 235, 0.14);
    color: #60a5fa;
}

.marketplace-seller-profile-prime .marketplace-seller-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.marketplace-seller-profile-prime .marketplace-seller-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.2rem;
    border: 0;
    border-radius: 0.3rem;
    background: var(--seller-info);
    color: #ffffff;
    padding: 0 0.85rem;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: default;
}

.marketplace-seller-profile-prime .marketplace-seller-actions button + button {
    background: rgba(124, 58, 237, 0.85);
}

.marketplace-seller-profile-prime .marketplace-seller-actions i {
    font-size: 1rem;
}

.marketplace-seller-profile-prime .marketplace-seller-score {
    display: grid;
    justify-items: end;
    align-content: center;
    gap: 0.35rem;
    min-width: 240px;
    text-align: right;
}

.marketplace-seller-profile-prime .marketplace-seller-score strong {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    color: var(--seller-text);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.marketplace-seller-profile-prime .marketplace-seller-score strong i {
    color: #facc15;
    font-size: 1.15rem;
}

.marketplace-seller-profile-prime .marketplace-seller-score strong small {
    color: var(--seller-muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.marketplace-seller-profile-prime .marketplace-seller-score > div {
    min-width: 220px;
    border-radius: 0.25rem;
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 900;
    text-align: center;
}

.marketplace-seller-profile-prime .marketplace-seller-tabs {
    overflow-x: auto;
    border-top: 1px solid var(--seller-border);
    background: var(--seller-panel-soft);
}

.marketplace-seller-profile-prime .marketplace-seller-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 3rem;
    min-width: max-content;
    border: 0;
    border-right: 1px solid var(--seller-border);
    background: transparent;
    color: var(--seller-text);
    padding: 0 1rem;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: default;
}

.marketplace-seller-profile-prime .marketplace-seller-tabs button.is-active {
    background: rgba(37, 99, 235, 0.18);
    color: #bfdbfe;
}

.marketplace-seller-profile-prime .marketplace-seller-tabs small {
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.28);
    color: #bfdbfe;
    padding: 0.1rem 0.35rem;
    font-size: 0.7rem;
}

.marketplace-seller-profile-prime .marketplace-seller-trust {
    gap: 1rem;
    margin: 1rem;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 0.35rem;
    background:
        radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.2), transparent 35%),
        rgba(37, 99, 235, 0.12);
    padding: 1rem;
}

.marketplace-seller-profile-prime .marketplace-seller-trust i {
    display: grid;
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 999px;
    background: var(--seller-success);
    color: #ffffff;
    font-size: 2rem;
}

.marketplace-seller-profile-prime .marketplace-seller-trust h2,
.marketplace-seller-profile-prime .marketplace-seller-trust p {
    margin: 0;
}

.marketplace-seller-profile-prime .marketplace-seller-trust h2 {
    color: var(--seller-text);
    font-size: 1rem;
    font-weight: 900;
}

.marketplace-seller-profile-prime .marketplace-seller-trust p {
    max-width: 760px;
    color: var(--seller-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.marketplace-seller-profile-prime .marketplace-seller-listings {
    max-width: 100%;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
}

@media (max-width: 1023px) {
    .marketplace-seller-profile-prime .marketplace-seller-header {
        flex-direction: column;
    }

    .marketplace-seller-profile-prime .marketplace-seller-score {
        justify-items: start;
        min-width: 0;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .marketplace-seller-profile-prime {
        padding: 1rem 0.75rem 2rem;
    }

    .marketplace-seller-profile-prime .marketplace-seller-header {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .marketplace-seller-profile-prime .marketplace-seller-identity {
        flex-direction: column;
    }

    .marketplace-seller-profile-prime .marketplace-seller-copy {
        padding-top: 0;
    }

    .marketplace-seller-profile-prime .marketplace-seller-avatar-lg {
        flex-basis: 92px;
        width: 92px;
        height: 92px;
        font-size: 2rem;
    }

    .marketplace-seller-profile-prime .marketplace-seller-actions,
    .marketplace-seller-profile-prime .marketplace-seller-actions button,
    .marketplace-seller-profile-prime .marketplace-seller-score > div {
        width: 100%;
    }

    .marketplace-seller-profile-prime .marketplace-seller-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .marketplace-seller-profile-prime .marketplace-seller-trust {
        align-items: flex-start;
        flex-direction: column;
    }
}

.marketplace-seller-profile-prime .marketplace-seller-shell {
    position: relative;
    border: 0;
    border-radius: 0.25rem;
    background: #2f3348;
    box-shadow: none;
}

.marketplace-seller-profile-prime .marketplace-seller-cover {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    min-height: 2.65rem;
    background:
        radial-gradient(circle at 35% -45%, rgba(249, 115, 22, 0.2), transparent 32%),
        linear-gradient(90deg, rgba(124, 58, 237, 0.08), rgba(249, 115, 22, 0.1));
}

.marketplace-seller-profile-prime .marketplace-seller-header {
    position: relative;
    z-index: 1;
    min-height: 202px;
    padding: 1.05rem 1rem 1.45rem 1.7rem;
    background: rgba(47, 51, 72, 0.96);
}

.marketplace-seller-profile-prime .marketplace-seller-identity {
    gap: 1.15rem;
    margin-top: 0;
}

.marketplace-seller-profile-prime .marketplace-seller-avatar-lg {
    overflow: hidden;
    flex: 0 0 160px;
    width: 160px;
    height: 160px;
    border: 3px solid #e11d48;
    border-radius: 0.1rem;
    box-shadow:
        0 0 0 6px rgba(225, 29, 72, 0.16),
        0 10px 24px rgba(0, 0, 0, 0.34);
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.2), transparent 18%),
        linear-gradient(145deg, #3b0b1d, #171a25);
}

.marketplace-seller-profile-prime .marketplace-seller-avatar-lg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marketplace-seller-profile-prime .marketplace-seller-avatar-lg span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.marketplace-seller-profile-prime .marketplace-seller-copy {
    gap: 0.4rem;
    padding-top: 0.1rem;
}

.marketplace-seller-profile-prime .marketplace-seller-copy > span {
    color: #b8bcda;
    font-size: 0.92rem;
    font-weight: 700;
}

.marketplace-seller-profile-prime .marketplace-seller-copy h1 {
    font-size: clamp(1.55rem, 2.25vw, 2rem);
    letter-spacing: 0;
}

.marketplace-seller-profile-prime .marketplace-seller-badges {
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.marketplace-seller-profile-prime .marketplace-seller-badges span,
.marketplace-seller-profile-prime .marketplace-seller-badges i {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1rem;
}

.marketplace-seller-profile-prime .marketplace-seller-badges i {
    background: rgba(37, 99, 235, 0.16);
    color: #bfdbfe;
}

.marketplace-seller-profile-prime .marketplace-seller-badges i:last-child {
    background: #10b981;
    color: #ffffff;
}

.marketplace-seller-profile-prime .marketplace-seller-actions {
    gap: 0.6rem;
    margin-top: 0.95rem;
}

.marketplace-seller-profile-prime .marketplace-seller-actions button {
    min-width: 7.1rem;
    min-height: 2.45rem;
    border-radius: 0.2rem;
    padding: 0 1rem;
    font-size: 0.95rem;
}

.marketplace-seller-profile-prime .marketplace-seller-score {
    align-content: start;
    gap: 0.8rem;
    width: 300px;
    min-width: 300px;
    padding-top: 0;
}

.marketplace-seller-profile-prime .marketplace-seller-score > span {
    width: 100%;
    border-radius: 0 0 0.2rem 0.2rem;
    background: rgba(25, 28, 42, 0.45);
    color: #aeb3d4;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    text-align: center;
}

.marketplace-seller-profile-prime .marketplace-seller-score strong {
    justify-self: center;
    gap: 0.55rem;
    color: #ffb21f;
    font-size: 2rem;
}

.marketplace-seller-profile-prime .marketplace-seller-score strong i {
    color: #ffb21f;
    font-size: 2.2rem;
}

.marketplace-seller-profile-prime .marketplace-seller-score strong small {
    color: #c7cbe2;
    font-size: 0.95rem;
}

.marketplace-seller-profile-prime .marketplace-seller-score > small {
    width: 100%;
    color: #aeb3d4;
    font-size: 0.9rem;
    text-align: center;
}

.marketplace-seller-profile-prime .marketplace-seller-score > div {
    width: 100%;
    min-width: 0;
    border-radius: 0.15rem;
    background: rgba(84, 112, 95, 0.72);
    color: #6dff7c;
    padding: 0.75rem 1rem;
    font-size: 0.98rem;
}

.marketplace-seller-profile-prime .marketplace-seller-tabs {
    position: relative;
    z-index: 1;
    min-height: 58px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: #292d3f;
}

.marketplace-seller-profile-prime .marketplace-seller-tabs button {
    min-height: 58px;
    min-width: 10.5rem;
    gap: 0.55rem;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    color: #ffffff;
    padding: 0 1.55rem;
    font-size: 0.98rem;
}

.marketplace-seller-profile-prime .marketplace-seller-tabs button i {
    font-size: 1.2rem;
}

.marketplace-seller-profile-prime .marketplace-seller-tabs button.is-active {
    box-shadow: inset 0 -3px 0 var(--seller-info);
    background: rgba(37, 99, 235, 0.08);
    color: #ffffff;
}

.marketplace-seller-profile-prime .marketplace-seller-tabs small {
    background: rgba(37, 99, 235, 0.34);
    color: #c7d2fe;
    font-size: 0.8rem;
}

@media (max-width: 1023px) {
    .marketplace-seller-profile-prime .marketplace-seller-header {
        min-height: 0;
        padding: 1rem;
    }

    .marketplace-seller-profile-prime .marketplace-seller-score {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .marketplace-seller-profile-prime .marketplace-seller-avatar-lg {
        flex-basis: 112px;
        width: 112px;
        height: 112px;
    }

    .marketplace-seller-profile-prime .marketplace-seller-tabs button {
        min-width: max-content;
        padding: 0 1rem;
    }
}

.marketplace-seller-profile-prime .marketplace-seller-actions form {
    display: inline-flex;
}

.marketplace-seller-profile-prime .marketplace-seller-actions form:nth-of-type(2) button {
    background: rgba(124, 58, 237, 0.85);
}

.marketplace-seller-profile-prime .marketplace-seller-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    min-width: 10.5rem;
    gap: 0.55rem;
    padding: 0 1.25rem;
    color: #cbd5e1;
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.marketplace-seller-profile-prime .marketplace-seller-tabs a i {
    font-size: 1.2rem;
}

.marketplace-seller-profile-prime .marketplace-seller-tabs a.is-active {
    box-shadow: inset 0 -3px 0 var(--seller-info);
    background: rgba(37, 99, 235, 0.08);
    color: #ffffff;
}

.marketplace-seller-profile-prime [data-seller-profile-panel][hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .marketplace-seller-profile-prime .marketplace-seller-actions form,
    .marketplace-seller-profile-prime .marketplace-seller-actions form button {
        width: 100%;
    }

    .marketplace-seller-profile-prime .marketplace-seller-tabs a {
        min-width: max-content;
        padding: 0 1rem;
    }
}

.marketplace-seller-profile-prime .marketplace-seller-trust {
    width: 100%;
    margin: 1rem 0 0;
    box-sizing: border-box;
}

.marketplace-seller-profile-prime {
    max-width: min(100%, 1400px);
    overflow-x: clip;
}

@supports not (overflow: clip) {
    .marketplace-seller-profile-prime {
        overflow-x: hidden;
    }
}

.marketplace-seller-profile-prime .marketplace-seller-shell,
.marketplace-seller-profile-prime .marketplace-seller-header,
.marketplace-seller-profile-prime .marketplace-seller-identity,
.marketplace-seller-profile-prime .marketplace-seller-copy,
.marketplace-seller-profile-prime .marketplace-seller-actions,
.marketplace-seller-profile-prime .marketplace-seller-tabs,
.marketplace-seller-profile-prime .marketplace-seller-trust,
.marketplace-seller-profile-prime .marketplace-seller-listings,
.marketplace-seller-profile-prime [data-seller-profile-panel] {
    min-width: 0;
    max-width: 100%;
}

.marketplace-seller-profile-prime .marketplace-seller-copy h1,
.marketplace-seller-profile-prime .marketplace-seller-copy > span,
.marketplace-seller-profile-prime .marketplace-seller-actions button,
.marketplace-seller-profile-prime .marketplace-seller-tabs a,
.marketplace-seller-profile-prime .marketplace-seller-tabs button,
.marketplace-seller-profile-prime .seller-badge,
.marketplace-seller-profile-prime .seller-badge span {
    overflow-wrap: anywhere;
}

.marketplace-seller-profile-prime .seller-badge-strip,
.marketplace-seller-profile-prime .seller-badge-strip--wide,
.marketplace-seller-profile-prime .marketplace-seller-actions form,
.marketplace-seller-profile-prime .marketplace-seller-actions button,
.marketplace-seller-profile-prime .marketplace-seller-score {
    max-width: 100%;
}

.marketplace-seller-profile-prime .marketplace-seller-tabs {
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: contain;
}

@media (max-width: 640px) {
    .marketplace-seller-profile-prime,
    .marketplace-seller-profile-prime .marketplace-seller-shell,
    .marketplace-seller-profile-prime .marketplace-seller-header,
    .marketplace-seller-profile-prime .marketplace-seller-identity,
    .marketplace-seller-profile-prime .marketplace-seller-copy,
    .marketplace-seller-profile-prime .seller-badge-strip,
    .marketplace-seller-profile-prime .seller-badge-strip--wide,
    .marketplace-seller-profile-prime .marketplace-seller-actions,
    .marketplace-seller-profile-prime .marketplace-seller-actions form,
    .marketplace-seller-profile-prime .marketplace-seller-actions button,
    .marketplace-seller-profile-prime .marketplace-seller-score,
    .marketplace-seller-profile-prime .marketplace-seller-score > div,
    .marketplace-seller-profile-prime .marketplace-seller-tabs,
    .marketplace-seller-profile-prime .marketplace-seller-trust,
    .marketplace-seller-profile-prime .marketplace-seller-listings {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .marketplace-seller-profile-prime .seller-badge {
        min-width: 0;
        white-space: normal;
    }

    .marketplace-seller-profile-prime .marketplace-seller-tabs a,
    .marketplace-seller-profile-prime .marketplace-seller-tabs button {
        flex: 0 0 auto;
        max-width: calc(100vw - 2rem);
        white-space: normal;
    }
}

.marketplace-detail-prime {
    --detail-panel: var(--theme-surface, #1e2329);
    --detail-panel-soft: var(--theme-card-alt, #13161b);
    --detail-border: var(--theme-border-soft, rgba(255, 255, 255, 0.1));
    --detail-text: var(--theme-heading, #ffffff);
    --detail-muted: var(--theme-muted, #9ca3af);
    --detail-accent: var(--theme-accent, #f97316);
    --detail-accent-hover: var(--theme-accent-hover, #ea580c);
    --detail-info: #2563eb;
    --detail-price: #facc15;
    box-sizing: border-box;
    width: 90%;
    max-width: 1400px;
    min-width: 0;
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
    color: var(--detail-text);
}

.marketplace-detail-prime *,
.marketplace-detail-prime *::before,
.marketplace-detail-prime *::after {
    box-sizing: border-box;
}

.marketplace-detail-prime {
    overflow-x: clip;
}

@supports not (overflow: clip) {
    .marketplace-detail-prime {
        overflow-x: hidden;
    }
}

.marketplace-detail-prime .marketplace-detail-layout,
.marketplace-detail-prime .marketplace-detail-main,
.marketplace-detail-prime .marketplace-detail-sidebar,
.marketplace-detail-prime .marketplace-detail-card,
.marketplace-detail-prime .marketplace-detail-product,
.marketplace-detail-prime .marketplace-detail-copy,
.marketplace-detail-prime .marketplace-detail-purchase,
.marketplace-detail-prime .marketplace-detail-seller-head,
.marketplace-detail-prime .marketplace-detail-actions {
    min-width: 0;
    max-width: 100%;
}

.marketplace-detail-prime h1,
.marketplace-detail-prime h2,
.marketplace-detail-prime h3,
.marketplace-detail-prime p,
.marketplace-detail-prime strong,
.marketplace-detail-prime span,
.marketplace-detail-prime .marketplace-detail-breadcrumbs,
.marketplace-detail-prime .marketplace-detail-prose,
.marketplace-detail-prime .marketplace-detail-note {
    overflow-wrap: anywhere;
}

.marketplace-detail-prime a {
    color: inherit;
    text-decoration: none;
}

.marketplace-detail-prime button {
    font: inherit;
}

.marketplace-detail-prime .marketplace-detail-breadcrumbs,
.marketplace-detail-prime .marketplace-detail-badges,
.marketplace-detail-prime .marketplace-detail-tabs,
.marketplace-detail-prime .marketplace-detail-tabs button,
.marketplace-detail-prime .marketplace-detail-buy,
.marketplace-detail-prime .marketplace-detail-message,
.marketplace-detail-prime .marketplace-detail-cart,
.marketplace-detail-prime .marketplace-detail-trust {
    display: flex;
    align-items: center;
}

.marketplace-detail-prime .marketplace-detail-breadcrumbs {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--detail-muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.marketplace-detail-prime .marketplace-detail-breadcrumbs a:hover,
.marketplace-detail-prime .marketplace-detail-breadcrumbs span:last-child {
    color: var(--detail-text);
}

.marketplace-detail-prime .marketplace-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 0.95fr);
    gap: 1.5rem;
    align-items: start;
}

.marketplace-detail-prime .marketplace-detail-main,
.marketplace-detail-prime .marketplace-detail-sidebar {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1.5rem;
}

.marketplace-detail-prime .marketplace-detail-card {
    border: 0;
    border-radius: 0;
    background: var(--detail-panel);
}

.marketplace-detail-prime .marketplace-detail-product {
    display: grid;
    grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.marketplace-detail-prime .marketplace-detail-media {
    min-width: 0;
}

.marketplace-detail-prime .marketplace-detail-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 0.6rem;
    background: var(--detail-panel-soft);
}

.marketplace-detail-prime .marketplace-detail-image-wrap img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 240ms ease;
}

.marketplace-detail-prime .marketplace-detail-image-wrap:hover img {
    transform: scale(1.035);
}

.marketplace-detail-prime .marketplace-detail-delivery-ribbon {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.45rem;
    background: rgba(0, 0, 0, 0.78);
    color: #ffffff;
    padding: 0.65rem 0.75rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.marketplace-detail-prime .marketplace-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.marketplace-detail-prime .marketplace-detail-thumbs img {
    width: 100%;
    height: 4rem;
    border: 1px solid var(--detail-border);
    border-radius: 0.45rem;
    object-fit: cover;
}

.marketplace-detail-prime .marketplace-detail-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
}

.marketplace-detail-prime h1,
.marketplace-detail-prime h2,
.marketplace-detail-prime h3,
.marketplace-detail-prime p {
    margin: 0;
}

.marketplace-detail-prime h1 {
    margin-top: 0.95rem;
    color: var(--detail-text);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.12;
}

.marketplace-detail-prime .marketplace-detail-properties {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.marketplace-detail-prime .marketplace-detail-property {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--detail-border);
    border-radius: 4px;
}

.marketplace-detail-prime .marketplace-detail-property-label {
    flex: 0 0 138px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px;
    background: var(--detail-panel-soft);
    color: var(--detail-text);
    font-size: 12px;
    font-weight: 400;
}

.marketplace-detail-prime .marketplace-detail-property-label i {
    color: var(--detail-muted);
}

.marketplace-detail-prime .marketplace-detail-property-value {
    display: flex;
    align-items: center;
    padding: 9px;
    color: var(--detail-text);
    font-size: 13px;
    font-weight: 600;
}

.marketplace-detail-prime .marketplace-detail-badges {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.marketplace-detail-prime .marketplace-detail-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.marketplace-detail-prime .marketplace-detail-badges span + span {
    border-color: rgba(250, 204, 21, 0.24);
    background: rgba(250, 204, 21, 0.1);
    color: var(--detail-price);
}

.marketplace-detail-prime .marketplace-detail-badges i {
    font-size: 1rem;
}

.marketplace-detail-prime .marketplace-detail-tabs {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--detail-panel);
}

.marketplace-detail-prime .marketplace-detail-tabs button {
    flex: 1 1 0;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    border: 0;
    border-left: 1px solid var(--detail-border);
    background: var(--detail-panel-soft);
    color: var(--detail-muted);
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
}

.marketplace-detail-prime .marketplace-detail-tabs button:first-child {
    border-left: 0;
}

.marketplace-detail-prime .marketplace-detail-tabs button.is-active {
    background: var(--detail-info);
    color: #ffffff;
}

.marketplace-detail-prime .marketplace-detail-description {
    padding: 1.5rem;
}

.marketplace-detail-prime .marketplace-detail-description h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--detail-border);
    padding-bottom: 1rem;
    color: var(--detail-text);
    font-size: 1.18rem;
    font-weight: 900;
}

.marketplace-detail-prime .marketplace-detail-prose {
    margin-top: 1rem;
    color: var(--detail-muted);
    font-size: 0.92rem;
    line-height: 1.8;
    white-space: pre-line;
}

.marketplace-detail-prime .marketplace-detail-note {
    margin-top: 1rem;
    border: 1px solid color-mix(in srgb, var(--detail-accent) 30%, transparent);
    border-radius: 0.6rem;
    background: color-mix(in srgb, var(--detail-accent) 8%, transparent);
    color: var(--detail-accent);
    padding: 1rem;
    white-space: normal;
}

.marketplace-detail-prime .marketplace-detail-panel[hidden] {
    display: none;
}

.marketplace-detail-prime .marketplace-detail-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.marketplace-detail-prime .marketplace-detail-list-item {
    border: 1px solid var(--detail-border);
    background: var(--detail-panel-soft);
    padding: 1rem;
}

.marketplace-detail-prime .marketplace-detail-list-item > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--detail-muted);
    font-size: 0.78rem;
}

.marketplace-detail-prime .marketplace-detail-list-item strong,
.marketplace-detail-prime .marketplace-detail-list-item h3 {
    color: var(--detail-text);
}

.marketplace-detail-prime .marketplace-detail-list-item h3 {
    margin-top: 0.75rem;
    font-size: 1rem;
    font-weight: 900;
}

.marketplace-detail-prime .marketplace-detail-list-item p {
    margin-top: 0.75rem;
    color: var(--detail-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.marketplace-detail-prime .marketplace-detail-empty {
    margin-top: 1rem;
    border: 1px solid var(--detail-border);
    background: var(--detail-panel-soft);
    color: var(--detail-muted);
    padding: 1rem;
    font-size: 0.9rem;
}

.marketplace-detail-prime .marketplace-detail-empty a {
    color: var(--detail-info);
    font-weight: 800;
}

.marketplace-detail-prime .marketplace-detail-question-form {
    display: grid;
    gap: 0.6rem;
    margin-top: 8px;
}

.marketplace-detail-prime .marketplace-detail-question-form textarea {
    min-height: 5.5rem;
    border: 1px solid var(--detail-border);
    border-radius: 5px;
    background: var(--detail-panel);
    color: var(--detail-text);
    padding: 0.9rem;
    font-size: 0.9rem;
    outline: none;
}

.marketplace-detail-prime .marketplace-detail-question-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 35px;
    border: 0;
    border-radius: 4px;
    background: var(--detail-accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.marketplace-detail-prime .marketplace-detail-purchase {
    position: static;
    top: auto;
    overflow: hidden;
    padding: 1.55rem 10px 15px;
}

.marketplace-detail-prime .marketplace-detail-side-title {
    margin: -1.55rem -10px 1rem;
    border-bottom: 1px solid var(--detail-border);
    background: var(--detail-panel-soft);
    color: var(--detail-text);
    padding: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marketplace-detail-prime .marketplace-detail-seller-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.marketplace-detail-prime .marketplace-detail-seller-id {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.marketplace-detail-prime .marketplace-detail-avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 0.35rem;
    background: var(--detail-panel-soft);
    color: var(--detail-text);
}

.marketplace-detail-prime .marketplace-detail-avatar span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.marketplace-detail-prime .marketplace-detail-online-dot {
    position: absolute;
    left: -3px;
    bottom: -3px;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 2px solid var(--detail-panel);
    background: #4caf50;
}

.marketplace-detail-prime .marketplace-detail-seller-meta {
    min-width: 0;
}

.marketplace-detail-prime .marketplace-detail-seller-meta a {
    display: block;
    color: var(--detail-text);
    font-size: 13px;
    font-weight: 500;
}

.marketplace-detail-prime .marketplace-detail-online-text {
    display: block;
    color: #4caf50;
    font-size: 11px;
    font-weight: 600;
}

.marketplace-detail-prime .marketplace-detail-online-dot.is-offline {
    background: #9e9e9e;
}

.marketplace-detail-prime .marketplace-detail-online-text.is-offline {
    color: #9e9e9e;
}

.marketplace-detail-prime .marketplace-detail-specs {
    padding: 1rem 1.25rem 1.25rem;
}

.marketplace-detail-prime .marketplace-detail-specs-title {
    margin-bottom: 0.75rem;
    color: var(--detail-text);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.marketplace-detail-prime .marketplace-detail-specs-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

@media (max-width: 991px) {
    .marketplace-detail-prime .marketplace-detail-specs-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }
}

.marketplace-detail-prime .marketplace-detail-spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--detail-border);
    border-radius: 0.4rem;
    background: var(--detail-panel-soft);
}

.marketplace-detail-prime .marketplace-detail-spec-name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--detail-muted);
    font-size: 12px;
    font-weight: 600;
}

.marketplace-detail-prime .marketplace-detail-spec-name i {
    color: #22c55e;
    font-size: 12px;
}

.marketplace-detail-prime .marketplace-detail-spec-value {
    min-width: 0;
    color: var(--detail-text);
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.marketplace-detail-prime .marketplace-detail-verifications {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 10px 0;
}

.marketplace-detail-prime .marketplace-detail-verification {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--detail-accent);
    color: #ffffff;
    font-size: 18px;
}

.marketplace-detail-prime .marketplace-detail-verification.is-off {
    background: var(--detail-panel-soft);
    color: var(--detail-muted);
}

.marketplace-detail-prime .marketplace-detail-verification::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -4px;
    bottom: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #3ba70b;
    color: #ffffff;
    font-size: 10px;
}

.marketplace-detail-prime .marketplace-detail-verification.is-off::after {
    content: none;
}

.marketplace-detail-prime .marketplace-detail-verification::before,
.marketplace-detail-prime .marketplace-detail-seller-badgebox .seller-badge::before,
.marketplace-detail-prime .marketplace-detail-badge-unverified::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 9px;
    border: 1px solid var(--detail-border);
    border-radius: 0.4rem;
    background: var(--detail-panel);
    color: var(--detail-text);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 5;
}

.marketplace-detail-prime .marketplace-detail-verification:hover::before,
.marketplace-detail-prime .marketplace-detail-seller-badgebox .seller-badge:hover::before,
.marketplace-detail-prime .marketplace-detail-badge-unverified:hover::before {
    opacity: 1;
    visibility: visible;
}

.marketplace-detail-prime .marketplace-detail-seller-strip .fa-thumbs-up {
    color: #22c55e;
}

.marketplace-detail-prime .marketplace-detail-seller-strip .fa-thumbs-down {
    color: #ef4444;
}

.marketplace-detail-prime .marketplace-detail-seller-badgebox {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 15px;
    border: 2px solid var(--detail-border);
    border-radius: 4px;
    background: var(--detail-panel-soft);
}

.marketplace-detail-prime .marketplace-detail-seller-badgebox .seller-badge-strip {
    margin-top: 0;
}

.marketplace-detail-prime .marketplace-detail-seller-badgebox .seller-badge {
    position: relative;
}

.marketplace-detail-prime .marketplace-detail-badge-unverified {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #ef4444;
    font-size: 20px;
}

.marketplace-detail-prime .marketplace-detail-seller-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 8px 0;
    min-height: 28px;
    border: 1px solid var(--detail-border);
    background: var(--detail-panel-soft);
    color: var(--detail-text);
    font-size: 12px;
    font-weight: 500;
    padding: 2px 10px;
    text-align: center;
}

.marketplace-detail-prime .marketplace-detail-strip-stars {
    color: var(--detail-muted);
    font-size: 15px;
    letter-spacing: 2px;
}

.marketplace-detail-prime .marketplace-detail-strip-stars em {
    font-style: normal;
    color: var(--detail-price);
}

.marketplace-detail-prime .marketplace-detail-seller-profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 29px;
    margin-top: 4px;
    border-radius: 6px;
    background: var(--detail-accent);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.marketplace-detail-prime .marketplace-detail-seller-buttons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.marketplace-detail-prime .marketplace-detail-seller-buttons form {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
}

.marketplace-detail-prime .marketplace-detail-seller-buttons a,
.marketplace-detail-prime .marketplace-detail-seller-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    min-height: 39px;
    border: 0;
    border-radius: 4px;
    background: var(--detail-accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.marketplace-detail-prime .marketplace-detail-seller-buttons button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.marketplace-detail-prime .marketplace-detail-seller-divider {
    width: 75%;
    margin: 10px auto;
    border: 0;
    border-top: 1px solid var(--detail-border);
}

.marketplace-detail-prime .marketplace-detail-seller-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.marketplace-detail-prime .marketplace-detail-seller-chip {
    display: flex;
    align-items: center;
    flex: 0 0 200px;
    gap: 10px;
    border-radius: 6px;
    background: var(--detail-panel-soft);
    color: var(--detail-muted);
    font-size: 13px;
    padding: 4px 7px;
}

.marketplace-detail-prime .marketplace-detail-seller-chip.is-safe {
    background: rgba(34, 197, 94, 0.16);
    color: #22c55e;
}

.marketplace-detail-prime .marketplace-detail-questions-title {
    display: inline-block;
    margin: 16px 0 0;
    padding: 10px;
    border-radius: 6px 6px 0 0;
    background: var(--detail-panel-soft);
    color: var(--detail-accent);
    font-size: 14px;
    font-weight: 600;
}

.marketplace-detail-prime .marketplace-detail-questions {
    padding: 10px;
    border-radius: 0 6px 6px 6px;
    background: var(--detail-panel-soft);
}

.marketplace-detail-prime .marketplace-detail-questions-empty {
    display: flex;
    align-items: center;
    min-height: 100px;
    border-radius: 5px;
    background: var(--detail-panel);
    color: var(--detail-muted);
    font-size: 12px;
    padding: 0.9rem 0.9rem 0.9rem 0;
}

.marketplace-detail-prime .marketplace-detail-questions-empty i {
    flex: 0 0 70px;
    text-align: center;
    font-size: 40px;
    color: var(--detail-text);
}

.marketplace-detail-prime .marketplace-detail-question-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 35px;
    margin-top: 8px;
    border-radius: 4px;
    background: var(--detail-accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.marketplace-detail-prime .marketplace-detail-price-row span {
    display: block;
    color: var(--detail-muted);
    font-size: 0.72rem;
}

.marketplace-detail-prime .marketplace-detail-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.45rem;
}

.marketplace-detail-prime .marketplace-detail-price-row del {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--detail-muted);
    font-size: 0.84rem;
}

.marketplace-detail-prime .marketplace-detail-price-row strong {
    display: block;
    color: var(--detail-accent);
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
}

.marketplace-detail-prime .marketplace-detail-price-row div:last-child {
    align-self: center;
    text-align: right;
}

.marketplace-detail-prime .marketplace-detail-price-row div:last-child strong {
    color: var(--detail-text);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.marketplace-detail-prime .marketplace-detail-error {
    margin-top: 1rem;
    border: 1px solid rgba(239, 68, 68, 0.28);
    border-radius: 0.55rem;
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    padding: 0.85rem 1rem;
    font-size: 0.86rem;
}

.marketplace-detail-prime .marketplace-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    margin-top: 2rem;
}

.marketplace-detail-prime .marketplace-detail-actions form {
    margin: 0;
}

.marketplace-detail-prime .marketplace-detail-buy,
.marketplace-detail-prime .marketplace-detail-message,
.marketplace-detail-prime .marketplace-detail-cart,
.marketplace-detail-prime .marketplace-detail-back {
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 0.38rem;
    color: #ffffff;
    padding: 0 1rem;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.marketplace-detail-prime .marketplace-detail-buy {
    background: var(--detail-accent);
}

.marketplace-detail-prime .marketplace-detail-buy:hover {
    background: var(--detail-accent-hover);
}

.marketplace-detail-prime .marketplace-detail-message {
    background: var(--detail-info);
}

.marketplace-detail-prime .marketplace-detail-cart {
    background: var(--detail-info);
}

.marketplace-detail-prime .marketplace-detail-buy:disabled,
.marketplace-detail-prime .marketplace-detail-message:disabled,
.marketplace-detail-prime .marketplace-detail-cart:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.marketplace-detail-prime .marketplace-detail-back {
    display: block;
    border: 1px solid var(--detail-border);
    background: transparent;
    color: var(--detail-text);
    line-height: 3rem;
}

.marketplace-detail-prime .marketplace-detail-trust {
    gap: 1rem;
    padding: 1.25rem;
}

.marketplace-detail-prime .marketplace-detail-trust > i {
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    padding: 0.55rem;
    font-size: 1.6rem;
}

.marketplace-detail-prime .marketplace-detail-trust h3 {
    color: var(--detail-text);
    font-size: 1rem;
    font-weight: 900;
}

.marketplace-detail-prime .marketplace-detail-trust p {
    margin-top: 0.35rem;
    color: var(--detail-muted);
    font-size: 0.8rem;
    line-height: 1.65;
}

.marketplace-modal-open {
    overflow: hidden;
}

.marketplace-login-modal[hidden] {
    display: none;
}

.marketplace-login-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    --login-modal-bg: var(--theme-surface, #1e2329);
    --login-modal-border: var(--theme-border-soft, rgba(255, 255, 255, 0.1));
    --login-modal-field: var(--theme-input, #13161b);
    --login-modal-field-text: var(--theme-heading, #ffffff);
    --login-modal-text: var(--theme-heading, #ffffff);
    --login-modal-muted: var(--theme-muted, #9ca3af);
    --login-modal-subtle: var(--theme-soft, #d1d5db);
    --login-modal-line: var(--theme-border-soft, rgba(255, 255, 255, 0.1));
    --login-modal-primary: var(--theme-accent, #f97316);
    --login-modal-primary-hover: var(--theme-accent-hover, #ea580c);
    --login-modal-primary-text: #ffffff;
    --login-modal-close-hover: rgba(255, 255, 255, 0.07);
    --login-modal-focus: color-mix(in srgb, var(--theme-accent, #f97316) 72%, transparent);
    --login-modal-error-bg: var(--theme-danger-bg, rgba(239, 68, 68, 0.12));
    --login-modal-error-border: color-mix(in srgb, var(--theme-danger-text, #fca5a5) 28%, transparent);
    --login-modal-error-text: var(--theme-danger-text, #fca5a5);
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

html.theme-dark .marketplace-login-modal {
    --login-modal-bg: var(--theme-surface, #1e2329);
    --login-modal-border: var(--theme-border-soft, rgba(255, 255, 255, 0.1));
    --login-modal-field: var(--theme-input, #13161b);
    --login-modal-field-text: var(--theme-heading, #ffffff);
    --login-modal-text: var(--theme-heading, #ffffff);
    --login-modal-muted: var(--theme-muted, #9ca3af);
    --login-modal-subtle: var(--theme-soft, #d1d5db);
    --login-modal-line: var(--theme-border-soft, rgba(255, 255, 255, 0.1));
    --login-modal-primary: var(--theme-accent, #f97316);
    --login-modal-primary-hover: var(--theme-accent-hover, #ea580c);
    --login-modal-primary-text: #ffffff;
    --login-modal-close-hover: rgba(255, 255, 255, 0.07);
}

html.theme-light .marketplace-login-modal {
    --login-modal-bg: var(--theme-surface, #ffffff);
    --login-modal-border: var(--theme-border-soft, #d1d5db);
    --login-modal-field: var(--theme-input, #f9fafb);
    --login-modal-field-text: var(--theme-heading, #111827);
    --login-modal-text: var(--theme-heading, #111827);
    --login-modal-muted: var(--theme-muted, #6b7280);
    --login-modal-subtle: var(--theme-soft, #4b5563);
    --login-modal-line: var(--theme-border-soft, #d1d5db);
    --login-modal-primary: var(--theme-accent, #f97316);
    --login-modal-primary-hover: var(--theme-accent-hover, #ea580c);
    --login-modal-primary-text: #ffffff;
    --login-modal-close-hover: rgba(15, 23, 42, 0.07);
}

.marketplace-login-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(6px);
}

.marketplace-login-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 504px);
    max-width: 100%;
    max-height: calc(100vh - 2rem);
    min-width: 0;
    overflow-y: auto;
    border: 1px solid var(--login-modal-border);
    border-radius: 0.8rem;
    background: var(--login-modal-bg);
    color: var(--login-modal-text);
    text-align: left;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.marketplace-login-modal__header {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.8rem;
    border-bottom: 1px solid var(--login-modal-border);
    padding: 1.45rem 2rem;
}

.marketplace-login-modal__header h2 {
    margin: 0;
    color: var(--login-modal-text);
    font-size: 1.45rem;
    font-weight: 900;
}

.marketplace-login-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 0.45rem;
    background: transparent;
    color: var(--login-modal-subtle);
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease;
}

.marketplace-login-modal__close:hover {
    background: var(--login-modal-close-hover);
    color: var(--login-modal-text);
}

.marketplace-login-modal__body {
    min-width: 0;
    padding: 1.85rem 2rem 2rem;
}

.marketplace-login-modal__intro {
    margin: 0 0 0.9rem;
    color: var(--login-modal-muted);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.marketplace-login-modal__socials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.marketplace-login-modal__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    border: 0;
    border-radius: 0.65rem;
    color: #ffffff;
    font-size: 1.55rem;
    text-decoration: none;
    transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.marketplace-login-modal__social:not(.is-disabled):hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.marketplace-login-modal__social.is-disabled {
    cursor: not-allowed;
    opacity: 0.82;
}

.marketplace-login-modal__social.is-google {
    background: #ef2b2d;
}

.marketplace-login-modal__social.is-facebook {
    background: #2563eb;
}

.marketplace-login-modal__social.is-discord {
    background: #5546e8;
}

.marketplace-login-modal__social.is-steam {
    background: #17181f;
}

.marketplace-login-modal__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1.65rem;
    color: var(--login-modal-muted);
    font-size: 0.95rem;
}

.marketplace-login-modal__divider::before,
.marketplace-login-modal__divider::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: var(--login-modal-line);
}

.marketplace-login-modal__errors {
    margin: 0 0 1rem;
    border: 1px solid var(--login-modal-error-border);
    border-radius: 0.55rem;
    background: var(--login-modal-error-bg);
    padding: 0.8rem 0.9rem;
    color: var(--login-modal-error-text);
    font-size: 0.85rem;
    line-height: 1.45;
}

.marketplace-login-modal__errors p {
    margin: 0;
}

.marketplace-login-modal__errors p + p {
    margin-top: 0.35rem;
}

.marketplace-login-modal__form {
    display: grid;
    gap: 1.15rem;
}

.marketplace-login-modal__field {
    display: grid;
    gap: 0.55rem;
}

.marketplace-login-modal__field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--login-modal-muted);
    font-size: 0.95rem;
    font-weight: 800;
}

.marketplace-login-modal__field-head a,
.marketplace-login-modal__field-head span {
    color: var(--login-modal-subtle);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.marketplace-login-modal__field-head a:hover {
    color: var(--login-modal-text);
}

.marketplace-login-modal__field input,
.marketplace-login-modal__password {
    width: 100%;
    min-width: 0;
    min-height: 3.2rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    background: var(--login-modal-field);
    color: var(--login-modal-field-text);
}

.marketplace-login-modal__field input {
    padding: 0 1rem;
    outline: none;
}

.marketplace-login-modal__field input:focus,
.marketplace-login-modal__password:focus-within {
    border-color: var(--login-modal-focus);
}

.marketplace-login-modal__password {
    display: flex;
    align-items: center;
}

.marketplace-login-modal__password input {
    min-height: 3.1rem;
    border: 0;
    background: transparent;
}

.marketplace-login-modal__password button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 0;
    background: transparent;
    color: var(--login-modal-subtle);
    cursor: pointer;
}

.marketplace-login-modal__submit {
    min-height: 3.2rem;
    border: 0;
    border-radius: 0.5rem;
    background: var(--login-modal-primary);
    color: var(--login-modal-primary-text);
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.marketplace-login-modal__submit:hover {
    background: var(--login-modal-primary-hover);
    transform: translateY(-1px);
}

.marketplace-login-modal__register {
    margin: 1.45rem 0 0;
    color: var(--login-modal-muted);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.marketplace-login-modal__register a {
    color: var(--login-modal-text);
    font-weight: 900;
    text-decoration: none;
}

.marketplace-login-modal__register a:hover {
    color: var(--login-modal-primary);
}

@media (max-width: 540px) {
    .marketplace-login-modal {
        width: 100%;
        max-width: 100vw;
        padding: 0.5rem;
    }

    .marketplace-login-modal__dialog {
        width: min(100%, calc(100vw - 1rem));
        max-width: calc(100vw - 1rem);
    }

    .marketplace-login-modal__header {
        min-height: 4rem;
        padding: 1rem;
    }

    .marketplace-login-modal__header h2 {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .marketplace-login-modal__body {
        padding: 1.25rem 1rem 1.4rem;
    }

    .marketplace-login-modal__socials {
        gap: 0.55rem;
    }

    .marketplace-login-modal__social {
        min-height: 3rem;
        font-size: 1.3rem;
    }

    .marketplace-login-modal__field-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }
}

.marketplace-detail-prime .marketplace-detail-related {
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.marketplace-detail-prime .marketplace-detail-related h2 {
    color: var(--detail-text);
    font-size: 1.2rem;
    font-weight: 900;
}

.marketplace-detail-prime .marketplace-detail-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.marketplace-detail-prime .marketplace-detail-related-grid a {
    display: flex;
    gap: 0.85rem;
    min-width: 0;
    border: 1px solid var(--detail-border);
    border-radius: 0.6rem;
    background: var(--detail-panel-soft);
    padding: 0.75rem;
    transition: border-color 180ms ease;
}

.marketplace-detail-prime .marketplace-detail-related-grid a:hover {
    border-color: color-mix(in srgb, var(--detail-accent) 50%, transparent);
}

.marketplace-detail-prime .marketplace-detail-related-grid img {
    width: 4rem;
    height: 4rem;
    flex: 0 0 auto;
    border-radius: 0.45rem;
    object-fit: cover;
}

.marketplace-detail-prime .marketplace-detail-related-grid span {
    min-width: 0;
}

.marketplace-detail-prime .marketplace-detail-related-grid strong,
.marketplace-detail-prime .marketplace-detail-related-grid small,
.marketplace-detail-prime .marketplace-detail-related-grid em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marketplace-detail-prime .marketplace-detail-related-grid strong {
    color: var(--detail-text);
    font-size: 0.86rem;
}

.marketplace-detail-prime .marketplace-detail-related-grid small {
    margin-top: 0.25rem;
    color: var(--detail-muted);
    font-size: 0.74rem;
}

.marketplace-detail-prime .marketplace-detail-related-grid em {
    margin-top: 0.45rem;
    color: var(--detail-accent);
    font-size: 0.84rem;
    font-style: normal;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .marketplace-detail-prime .marketplace-detail-layout {
        grid-template-columns: 1fr;
    }

    .marketplace-detail-prime .marketplace-detail-purchase {
        position: static;
    }

    .marketplace-detail-prime .marketplace-detail-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .marketplace-detail-prime {
        width: 100%;
        max-width: 100%;
        padding-right: 0.75rem;
        padding-left: 0.75rem;
        padding-top: 1rem;
    }

    .marketplace-detail-prime .marketplace-detail-product {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .marketplace-detail-prime .marketplace-detail-image-wrap img {
        aspect-ratio: 1 / 1;
    }

    .marketplace-detail-prime .marketplace-detail-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .marketplace-detail-prime .marketplace-detail-tabs button {
        border-left: 0;
        border-top: 1px solid var(--detail-border);
    }

    .marketplace-detail-prime .marketplace-detail-related-grid {
        grid-template-columns: 1fr;
    }

    .marketplace-detail-prime .marketplace-detail-price-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .marketplace-detail-prime .marketplace-detail-price-row div:last-child {
        text-align: left;
    }
}

.site-announcement-prime {
    border-color: #e5e7eb;
    background: #ffffff;
}

.site-announcement-prime .site-announcement-prime-content {
    border-color: #e5e7eb;
    background: #f9fafb;
    color: #111827;
}

.site-announcement-prime .site-announcement-prime-link {
    color: #111827;
}

.site-announcement-prime .site-announcement-prime-link:hover {
    color: var(--color-primary, #f97316);
}

html.theme-dark .site-announcement-prime,
html.dark .site-announcement-prime {
    border-color: #1f2937;
    background: #101317;
}

html.theme-dark .site-announcement-prime .site-announcement-prime-content,
html.dark .site-announcement-prime .site-announcement-prime-content {
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.04);
    color: #f3f4f6;
}

html.theme-dark .site-announcement-prime .site-announcement-prime-link,
html.dark .site-announcement-prime .site-announcement-prime-link {
    color: #f3f4f6;
}

.site-announcement-marquee-track {
    display: flex;
    width: max-content;
    min-width: 100%;
    animation: site-announcement-marquee 24s linear infinite;
    will-change: transform;
}

.site-announcement-marquee-set {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
    gap: 0.75rem;
    padding-left: 100%;
}

.site-announcement-prime:hover .site-announcement-marquee-track {
    animation-play-state: paused;
}

@keyframes site-announcement-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-announcement-marquee-track {
        width: 100%;
        animation: none;
        flex-wrap: wrap;
    }

    .site-announcement-marquee-set {
        min-width: 0;
        padding-left: 0;
        flex-wrap: wrap;
    }
}

@font-face {
    font-family: 'Septimus';
    src: url('fonts/septimus.ttf') format('truetype');
    font-display: swap;
}

.marketplace-rise-font {
    font-family: 'Septimus', sans-serif;
    user-select: none;
    -webkit-user-drag: none;
}

.marketplace-rise-font img {
    pointer-events: none;
}

.marketplace-rise-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 245px;
    overflow: hidden;
    padding: 10px;
    background-color: #020203;
    border: 2px solid #171a21;
    font-size: 11px;
    text-align: left;
}

.marketplace-rise-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.marketplace-rise-card .rise-card-header {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.marketplace-rise-card .rise-card-type {
    flex-basis: 33%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-top: 20px;
    font-size: 10px;
    color: #ffffff;
}

.marketplace-rise-card .rise-card-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    flex-basis: 33%;
}

.marketplace-rise-card .rise-card-main img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}

.marketplace-rise-card .rise-card-icon-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 10px;
}

.marketplace-rise-card .rise-card-ap {
    color: #a9b095;
    font-size: 14px;
    line-height: 21px;
    white-space: nowrap;
}

.marketplace-rise-card .rise-card-rarity {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-basis: 33%;
    font-size: 10px;
}

.marketplace-rise-card .rise-card-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
}

.marketplace-rise-card .rise-card-props {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.marketplace-rise-card .rise-card-props-gap {
    margin-top: 8px;
}

.marketplace-rise-card .rise-card-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.marketplace-rise-card .rise-card-sets {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px;
    background: #020203;
}

.marketplace-rise-card .rise-card-sets img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.marketplace-rise-card .rise-card-sets .rise-card-sets-more {
    color: #9a9a9a;
    font-size: 11px;
}

.rise-sep-line {
    flex-shrink: 0;
    height: 1px;
    margin: 1px 0;
    background-image: linear-gradient(90deg, rgba(44, 183, 239, 0) 0px, rgba(179, 179, 179, 0.15) 25%, rgba(44, 183, 239, 0) 125%);
    box-shadow: 0 4px 13px 3px rgba(255, 255, 255, 0.08);
}

.store-category {
    --store-category-panel: var(--theme-surface, #1e2329);
    --store-category-panel-soft: var(--theme-card-alt, #13161b);
    --store-category-border: var(--theme-border-soft, rgba(255, 255, 255, 0.1));
    --store-category-page: var(--theme-page, #181a20);
    --store-category-text: var(--theme-heading, #ffffff);
    --store-category-muted: var(--theme-muted, #9ca3af);
    --store-category-accent: var(--theme-accent, #f97316);
    --store-category-buy: var(--theme-success, #11d377);
    --store-category-star: var(--theme-warning, #facc15);
    color: var(--store-category-text);
}

.store-category-container {
    width: 90%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.store-category-breadcrumb-band {
    border-bottom: 1px solid var(--store-category-border);
    background: var(--store-category-panel);
}

.store-category-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    color: var(--store-category-muted);
    font-size: 12px;
}

.store-category-breadcrumb a {
    transition: color 0.15s ease;
}

.store-category-breadcrumb a:hover {
    color: var(--store-category-accent);
}

.store-category-breadcrumb .is-current {
    color: var(--store-category-text);
    font-weight: 600;
}

.store-category-hero {
    position: relative;
    padding: 100px 0;
    background-color: var(--store-category-panel);
    background-size: cover;
    background-position: center;
}

.store-category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.store-category-hero-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0.75rem;
    text-align: center;
}

.store-category-hero h1 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
}

.store-category-hero p {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
}

.store-category-cover {
    margin-top: 10px;
}

.store-category-tabs {
    display: flex;
    gap: 16px;
}

.store-category-tab {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    height: 60px;
    border: 1px solid var(--store-category-border);
    border-radius: 6px;
    background: var(--store-category-panel);
    color: var(--store-category-text);
    font-size: 16px;
    transition: background 0.15s ease, color 0.15s ease;
}

.store-category-tab:hover {
    border-color: var(--store-category-accent);
}

.store-category-tab.is-active {
    border-color: var(--store-category-text);
    background: var(--store-category-text);
    color: var(--store-category-page);
    font-weight: 600;
}

.store-category-products {
    margin-top: 30px;
}

.store-category-products .store-category-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.store-category-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 120px;
    padding: 20px;
    border-radius: 10px;
    background: var(--store-category-panel);
}

.store-category-product-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.store-category-product-image {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.store-category-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.store-category-product-info {
    min-width: 0;
}

.store-category-product-discount {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--store-category-accent);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.store-category-product-name {
    display: block;
    color: var(--store-category-text);
    font-size: 16px;
    font-weight: 600;
    transition: color 0.15s ease;
}

.store-category-product-name:hover {
    color: var(--store-category-accent);
}

.store-category-product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 4px;
    color: var(--store-category-star);
}

.store-category-product-rating .material-icons {
    font-size: 14px;
}

.store-category-product-review-count {
    margin-left: 4px;
    color: var(--store-category-text);
    font-size: 12px;
    font-weight: 600;
}

.store-category-product-note {
    margin: 4px 0 0;
    color: var(--store-category-muted);
    font-size: 16px;
}

.store-category-product-right {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
}

.store-category-product-right form {
    display: flex;
}

.store-category-product-price {
    text-align: right;
}

.store-category-product-price del {
    display: block;
    color: var(--store-category-muted);
    font-size: 12px;
}

.store-category-product-price strong {
    color: var(--store-category-buy);
    font-size: 18px;
    font-weight: 700;
}

.store-category-stepper {
    display: flex;
    align-items: center;
    width: 140px;
    height: 46px;
    border-radius: 10px;
    background: var(--store-category-panel-soft);
}

.store-category-stepper button {
    width: 34px;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--store-category-text);
    font-size: 20px;
    cursor: pointer;
}

.store-category-stepper button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.store-category-stepper [data-quantity-display] {
    flex: 1 1 auto;
    color: var(--store-category-text);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.store-category-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: var(--store-category-accent);
    color: #ffffff;
    cursor: pointer;
}

.store-category-cart-button .material-symbols-outlined {
    font-size: 20px;
}

.store-category-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 148px;
    min-height: 57px;
    padding: 14px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--store-category-buy);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.store-category-buy-button .material-symbols-outlined {
    font-size: 20px;
}

.store-category-empty {
    padding: 40px;
    border: 1px dashed var(--store-category-border);
    border-radius: 10px;
    background: var(--store-category-panel);
    text-align: center;
}

.store-category-empty p {
    margin: 0;
    color: var(--store-category-text);
    font-size: 18px;
    font-weight: 700;
}

.store-category-empty span {
    display: block;
    margin-top: 8px;
    color: var(--store-category-muted);
    font-size: 13px;
}

.store-category-tworow {
    margin-top: 30px;
}

.store-category-tworow-inner {
    display: flex;
    gap: 16px;
}

.store-category-infobox {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    min-height: 120px;
    padding: 20px 30px;
    border-radius: 10px;
    background: var(--store-category-panel);
}

.store-category-infobox-title {
    color: var(--store-category-text);
    font-size: 20px;
    font-weight: 600;
}

.store-category-infobox p {
    margin: 0;
    color: var(--store-category-muted);
    font-size: 14px;
    line-height: 1.5;
}

.store-category-infobox-button {
    padding: 6px 14px;
    border: 1px solid var(--store-category-border);
    border-radius: 6px;
    background: var(--store-category-panel-soft);
    color: var(--store-category-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.store-category-boxtab {
    margin-top: 30px;
}

.store-category-boxtab-box {
    overflow: hidden;
    border-radius: 10px;
    background: var(--store-category-panel);
}

.store-category-boxtab-head {
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 0 30px;
    border-bottom: 1px solid var(--store-category-border);
    color: var(--store-category-text);
    font-size: 16px;
    font-weight: 600;
}

.store-category-boxtab-body {
    padding: 20px 30px;
    color: var(--store-category-muted);
    font-size: 16px;
    line-height: 1.6;
}

.store-category-faq {
    margin-top: 120px;
}

.store-category-faq h2 {
    margin: 0 0 30px;
    color: var(--store-category-text);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.store-category-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-category-faq-box {
    padding: 25px 30px;
    border-radius: 10px;
    background: var(--store-category-panel);
}

.store-category-faq-box h3 {
    margin: 0 0 8px;
    color: var(--store-category-text);
    font-size: 18px;
    font-weight: 600;
}

.store-category-faq-box p {
    margin: 0;
    color: var(--store-category-muted);
    font-size: 16px;
    line-height: 1.6;
}

.store-category-reviews {
    margin: 60px 0;
}

.store-category-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.store-category-reviews-head h2 {
    margin: 0;
    color: var(--store-category-text);
    font-size: 20px;
    font-weight: 700;
}

.store-category-reviews-head span {
    color: var(--store-category-muted);
    font-size: 13px;
}

.store-category-pagination {
    display: flex;
    justify-content: center;
    padding-bottom: 60px;
}

@media (max-width: 1175px) {
    .store-category-product {
        flex-direction: column;
        align-items: stretch;
    }

    .store-category-product-right {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .store-category-container {
        width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .store-category-hero {
        padding: 48px 0;
    }

    .store-category-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .store-category-tab {
        flex: 0 0 auto;
    }

    .store-category-product-right {
        justify-content: space-between;
        gap: 10px;
    }

    .store-category-buy-button {
        flex: 1 1 auto;
    }

    .store-category-tworow-inner {
        flex-direction: column;
    }

    .store-category-faq {
        margin-top: 60px;
    }

    .store-category-faq h2 {
        font-size: 24px;
    }
}

.store-product {
    --store-product-panel: var(--theme-surface, #1e2329);
    --store-product-panel-soft: var(--theme-card-alt, #13161b);
    --store-product-border: var(--theme-border-soft, rgba(255, 255, 255, 0.1));
    --store-product-text: var(--theme-heading, #ffffff);
    --store-product-muted: var(--theme-muted, #9ca3af);
    --store-product-accent: var(--theme-accent, #f97316);
    --store-product-buy: var(--theme-success, #11d377);
    --store-product-icon: var(--theme-info, #647bad);
    color: var(--store-product-text);
}

.store-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc(25% - 8px);
    gap: 16px;
    align-items: start;
    padding-top: 16px;
    padding-bottom: 60px;
}

.store-product-box {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    gap: 24px;
    padding: 30px;
    border-radius: 10px;
    background: var(--store-product-panel);
}

.store-product-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: var(--store-product-panel-soft);
}

.store-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.store-product-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.store-product-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.store-product-game-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--store-product-panel-soft);
}

.store-product-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-product-identity-text {
    min-width: 0;
}

.store-product-identity-text p {
    margin: 0;
    color: var(--store-product-muted);
    font-size: 14px;
}

.store-product-identity-text h1 {
    margin: 2px 0 0;
    color: var(--store-product-text);
    font-size: 18px;
    font-weight: 600;
}

.store-product-subtitle {
    margin: 0;
    color: var(--store-product-muted);
    font-size: 16px;
}

.store-product-divider {
    margin: 8px 0 4px;
    border: 0;
    border-top: 1px solid var(--store-product-border);
}

.store-product-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.store-product-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 12px;
    line-height: 1.375;
    border-radius: 8px;
    background: var(--store-product-panel-soft);
    color: var(--store-product-text);
    font-size: 14px;
    font-weight: 600;
}

.store-product-chip .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--store-product-icon);
    font-size: 16px;
}

.store-product-error {
    margin-top: 12px;
    padding: 10px 15px;
    border: 1px solid var(--store-product-border);
    border-radius: 8px;
    background: var(--store-product-panel-soft);
    color: var(--store-product-accent);
    font-size: 14px;
}

.store-product-buybox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
}

.store-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--store-product-buy);
}

.store-product-price .material-symbols-outlined {
    font-size: 24px;
}

.store-product-price strong {
    font-size: 24px;
    font-weight: 700;
}

.store-product-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.store-product-actions form {
    display: flex;
}

.store-product-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 122px;
    height: 50px;
    padding: 0 5px;
    border-radius: 8px;
    background: var(--store-product-panel-soft);
}

.store-product-stepper button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--store-product-text);
    font-size: 20px;
    cursor: pointer;
}

.store-product-stepper button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.store-product-stepper [data-quantity-display] {
    width: 40px;
    color: var(--store-product-text);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.store-product-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 8px;
    background: var(--store-product-accent);
    color: #ffffff;
    cursor: pointer;
}

.store-product-cart-button .material-symbols-outlined {
    font-size: 22px;
}

.store-product-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 30px;
    border: 0;
    border-radius: 8px;
    background: var(--store-product-buy);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.store-product-buy-button .material-symbols-outlined {
    font-size: 20px;
}

.store-product-coupon {
    margin-top: 16px;
    padding: 12px 15px;
    border: 1px solid var(--store-product-border);
    border-radius: 10px;
    background: var(--store-product-panel);
    color: var(--store-product-text);
    font-size: 14px;
}

.store-product-coupon span {
    color: var(--store-product-buy);
    font-weight: 700;
}

.store-product-pending {
    margin-top: 16px;
    padding: 12px 15px;
    border: 1px solid var(--store-product-border);
    border-radius: 10px;
    background: var(--store-product-panel);
    color: var(--store-product-muted);
    font-size: 14px;
}

.store-product-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.store-product-links form {
    display: flex;
}

.store-product-links a,
.store-product-links button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid var(--store-product-border);
    border-radius: 8px;
    background: var(--store-product-panel);
    color: var(--store-product-text);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.store-product-links a:hover,
.store-product-links button:hover {
    border-color: var(--store-product-accent);
}

.store-product-links .material-symbols-outlined {
    color: var(--store-product-icon);
    font-size: 18px;
}

.store-product-boxtab {
    margin-top: 16px;
    border-radius: 10px;
    background: var(--store-product-panel);
}

.store-product-tabs {
    display: flex;
    gap: 20px;
    min-height: 68px;
    padding: 0 15px;
    border-bottom: 1px solid var(--store-product-border);
}

.store-product-tabs button {
    padding: 24px 0;
    line-height: 1.2;
    border: 0;
    background: transparent;
    color: var(--store-product-muted);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease;
}

.store-product-tabs button:hover,
.store-product-tabs button.is-active {
    color: var(--store-product-buy);
}

.store-product-tabs-body {
    padding: 20px 15px;
    color: var(--store-product-text);
    font-size: 16px;
    line-height: 1.6;
}

.store-product-description {
    white-space: pre-line;
    overflow-wrap: break-word;
}

.store-product-description-extra {
    margin: 12px 0 0;
    color: var(--store-product-muted);
}

.store-product-tab-empty {
    margin: 0;
    color: var(--store-product-muted);
}

.store-product-review {
    padding: 15px;
    border-radius: 8px;
    background: var(--store-product-panel-soft);
}

.store-product-review + .store-product-review {
    margin-top: 12px;
}

.store-product-review-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.store-product-review-user {
    margin: 0;
    color: var(--store-product-text);
    font-size: 14px;
    font-weight: 600;
}

.store-product-review-title {
    margin: 4px 0 0;
    color: var(--store-product-buy);
    font-size: 14px;
}

.store-product-review-meta {
    text-align: right;
}

.store-product-review-meta span {
    display: block;
    color: var(--store-product-muted);
    font-size: 12px;
}

.store-product-review-meta strong {
    color: var(--store-product-accent);
    font-size: 14px;
}

.store-product-review-content {
    margin: 10px 0 0;
    color: var(--store-product-muted);
    font-size: 14px;
    line-height: 1.6;
}

.store-product-related {
    border-radius: 10px;
    background: var(--store-product-panel);
}

.store-product-related-head {
    display: flex;
    align-items: center;
    min-height: 73px;
    padding: 0 15px;
    border-bottom: 1px solid var(--store-product-border);
}

.store-product-related-head h2 {
    margin: 0;
    color: var(--store-product-text);
    font-size: 20px;
    font-weight: 600;
}

.store-product-related-body {
    padding: 0 15px 20px;
}

.store-product-related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
}

.store-product-related-item + .store-product-related-item {
    border-top: 1px solid var(--store-product-border);
}

.store-product-related-item img {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: contain;
}

.store-product-related-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.store-product-related-name {
    color: var(--store-product-text);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.store-product-related-item:hover .store-product-related-name {
    color: var(--store-product-buy);
}

.store-product-related-price {
    color: var(--store-product-buy);
    font-size: 14px;
    font-weight: 600;
}

.store-product-related-body .store-product-tab-empty {
    padding-top: 15px;
}

@media (max-width: 1175px) {
    .store-product-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .store-product-box {
        grid-template-columns: minmax(0, 1fr);
        padding: 15px;
    }

    .store-product-chips {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .store-product-buybox {
        flex-direction: column;
        align-items: stretch;
    }

    .store-product-actions {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }

    .store-product-buy-button {
        flex: 1 1 auto;
    }

    .store-product-tabs {
        flex-wrap: wrap;
        gap: 0 20px;
        min-height: 0;
    }

    .store-product-tabs button {
        padding: 16px 0;
    }
}


.marketplace-showcase-prime .marketplace-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid var(--marketplace-border);
    border-radius: 6px;
    background: var(--marketplace-panel);
}

.marketplace-showcase-prime .marketplace-toolbar-create {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 33px;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--marketplace-accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.15s ease;
}

.marketplace-showcase-prime .marketplace-toolbar-create:hover {
    opacity: 0.9;
}

.marketplace-showcase-prime .marketplace-toolbar-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.marketplace-showcase-prime .marketplace-toolbar-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 12px;
    color: var(--marketplace-text);
    font-size: 12px;
    cursor: pointer;
}

.marketplace-showcase-prime .marketplace-toolbar-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.marketplace-showcase-prime .marketplace-toolbar-switch-track {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 48px;
    height: 19px;
    border: 1px solid var(--marketplace-border);
    border-radius: 24px;
    background: var(--marketplace-card-soft);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.marketplace-showcase-prime .marketplace-toolbar-switch-track::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: var(--marketplace-muted);
    transition: left 0.15s ease, background 0.15s ease;
}

.marketplace-showcase-prime .marketplace-toolbar-switch input:checked + .marketplace-toolbar-switch-track {
    border-color: var(--marketplace-accent);
    background: var(--marketplace-accent);
}

.marketplace-showcase-prime .marketplace-toolbar-switch input:checked + .marketplace-toolbar-switch-track::after {
    left: 31px;
    background: #ffffff;
}

.marketplace-showcase-prime .marketplace-toolbar .marketplace-sort-form {
    margin-right: 8px;
}

.marketplace-showcase-prime .marketplace-toolbar .marketplace-sort-form select {
    width: 200px;
    min-height: 33px;
    padding: 6px 30px 6px 12px;
    border: 1px solid var(--marketplace-border);
    border-radius: 6px;
    font-size: 12px;
}

.marketplace-showcase-prime .marketplace-toolbar-clear {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 33px;
    padding: 4px 8px;
    border-radius: 5px;
    background: var(--marketplace-accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    transition: opacity 0.15s ease;
}

.marketplace-showcase-prime .marketplace-toolbar-clear:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .marketplace-showcase-prime .marketplace-toolbar-right {
        width: 100%;
        gap: 10px;
    }

    .marketplace-showcase-prime .marketplace-toolbar-switch {
        margin-right: 0;
    }

    .marketplace-showcase-prime .marketplace-toolbar .marketplace-sort-form {
        flex: 1 1 auto;
        margin-right: 0;
    }

    .marketplace-showcase-prime .marketplace-toolbar .marketplace-sort-form select {
        width: 100%;
    }
}

.cs2-market {
    --cs2-market-panel: var(--theme-surface, #1b1d24);
    --cs2-market-panel-soft: var(--theme-card-alt, #15171c);
    --cs2-market-border: var(--theme-border-soft, rgba(255, 255, 255, 0.08));
    --cs2-market-text: var(--theme-heading, #ffffff);
    --cs2-market-muted: var(--theme-muted, #9ca3af);
    --cs2-market-accent: var(--theme-accent, #f97316);
    --cs2-market-success: var(--theme-success, #22c55e);
    --cs2-market-danger: var(--theme-danger, #eb4b4b);
    --cs2-market-stattrak: #cf6a32;
    --cs2-market-souvenir: #ffd700;
    --cs2-market-wear-start: #22c55e;
    --cs2-market-wear-mid: #eab308;
    --cs2-market-wear-end: #ef4444;
    color: var(--cs2-market-text);
}

.cs2-market-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 0 60px;
}

.cs2-market-categories {
    display: flex;
    gap: 4px;
    min-height: 38px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.cs2-market-category {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--cs2-market-text);
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.cs2-market-category:hover {
    background: var(--cs2-market-panel);
}

.cs2-market-category .material-symbols-outlined {
    font-size: 18px;
    color: var(--cs2-market-muted);
}

.cs2-market-layout {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.cs2-market-filter {
    position: sticky;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 12px;
    background: var(--cs2-market-panel);
}

.cs2-market-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 8px;
    background: var(--cs2-market-panel-soft);
}

.cs2-market-search .material-symbols-outlined {
    font-size: 20px;
    color: var(--cs2-market-muted);
}

.cs2-market-search input {
    width: 100%;
    min-height: 42px;
    border: 0;
    background: transparent;
    color: var(--cs2-market-text);
    font-size: 14px;
    outline: none;
}

.cs2-market-search.is-compact input {
    min-height: 36px;
    font-size: 13px;
}

.cs2-market-filter-section h2 {
    margin: 0 0 10px;
    min-height: 27px;
    color: var(--cs2-market-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 27px;
}

.cs2-market-range {
    position: relative;
    height: 16px;
    margin: 0 6px 10px;
}

.cs2-market-range-rail {
    position: absolute;
    top: 6px;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 999px;
    background: var(--cs2-market-accent);
}

.cs2-market-range.is-wear .cs2-market-range-rail {
    background: linear-gradient(90deg, var(--cs2-market-wear-start), var(--cs2-market-wear-mid), var(--cs2-market-wear-end));
}

.cs2-market-range-thumb {
    position: absolute;
    top: 1px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--cs2-market-text);
}

.cs2-market-range-thumb.is-start {
    left: -6px;
}

.cs2-market-range-thumb.is-end {
    right: -6px;
}

.cs2-market-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cs2-market-inputs label span {
    display: block;
    margin-bottom: 4px;
    color: var(--cs2-market-muted);
    font-size: 12px;
}

.cs2-market-inputs input {
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 8px;
    background: var(--cs2-market-panel-soft);
    color: var(--cs2-market-text);
    font-size: 13px;
    outline: none;
}

.cs2-market-inputs input:focus {
    border-color: var(--cs2-market-accent);
}

.cs2-market-wear-chips {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.cs2-market-wear-chips button {
    flex: 1 1 0;
    min-height: 28px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 999px;
    background: transparent;
    color: var(--cs2-market-muted);
    font-size: 12px;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.cs2-market-wear-chips button:hover {
    border-color: var(--cs2-market-accent);
    color: var(--cs2-market-text);
}

.cs2-market-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cs2-market-checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cs2-market-text);
    font-size: 13px;
    cursor: pointer;
}

.cs2-market-checks input {
    width: 16px;
    height: 16px;
    accent-color: var(--cs2-market-accent);
}

.cs2-market-checks .is-stattrak {
    color: var(--cs2-market-stattrak);
}

.cs2-market-checks .is-souvenir {
    color: var(--cs2-market-souvenir);
}

.cs2-market-filter-group {
    border-top: 1px solid var(--cs2-market-border);
}

.cs2-market-filter-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 33px;
    padding: 6px 0;
    color: var(--cs2-market-text);
    font-size: 14px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.cs2-market-filter-group summary::-webkit-details-marker {
    display: none;
}

.cs2-market-filter-group summary .material-symbols-outlined {
    font-size: 20px;
    color: var(--cs2-market-muted);
    transition: transform 0.15s ease;
}

.cs2-market-filter-group[open] summary .material-symbols-outlined {
    transform: rotate(180deg);
}

.cs2-market-reset {
    min-height: 36px;
    border: 0;
    border-radius: 8px;
    background: color-mix(in srgb, var(--cs2-market-danger) 8%, transparent);
    color: var(--cs2-market-danger);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.cs2-market-reset:hover {
    background: color-mix(in srgb, var(--cs2-market-danger) 14%, transparent);
}

.cs2-market-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.cs2-market-toolbar-icons {
    display: flex;
    gap: 8px;
}

.cs2-market-toolbar-icons button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 7px;
    background: var(--cs2-market-panel);
    color: var(--cs2-market-muted);
    cursor: pointer;
    transition: color 0.15s ease;
}

.cs2-market-toolbar-icons button:hover {
    color: var(--cs2-market-text);
}

.cs2-market-toolbar-icons .material-symbols-outlined {
    font-size: 20px;
}

.cs2-market-tabs {
    display: flex;
    height: 38px;
    padding: 3px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 7px;
    background: var(--cs2-market-panel);
}

.cs2-market-tabs button {
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--cs2-market-muted);
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.cs2-market-tabs button.is-active {
    background: var(--cs2-market-panel-soft);
    color: var(--cs2-market-text);
    font-weight: 600;
}

.cs2-market-sort {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.cs2-market-sort select {
    min-width: 160px;
    min-height: 38px;
    padding: 0 32px 0 12px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 7px;
    background: var(--cs2-market-panel);
    color: var(--cs2-market-text);
    font-size: 14px;
    appearance: none;
    outline: none;
    cursor: pointer;
}

.cs2-market-sort .material-symbols-outlined {
    position: absolute;
    right: 8px;
    font-size: 20px;
    color: var(--cs2-market-muted);
    pointer-events: none;
}

.cs2-market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
    gap: 15px;
}

.cs2-market-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--cs2-market-border);
    border-radius: 12px;
    background: var(--cs2-market-panel);
}

.cs2-market-card-head {
    min-height: 54px;
    padding: 10px 12px 0;
}

.cs2-market-card-name {
    margin: 0;
    overflow: hidden;
    color: var(--cs2-market-text);
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs2-market-card-wear {
    margin: 2px 0 0;
    color: var(--cs2-market-muted);
    font-size: 12px;
}

.cs2-market-card-wear.is-stattrak {
    color: var(--cs2-market-stattrak);
}

.cs2-market-card-wear.is-souvenir {
    color: var(--cs2-market-souvenir);
}

.cs2-market-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 178px;
    margin: 8px 12px 0;
    border-radius: 8px;
    background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--cs2-market-accent) 14%, transparent), transparent 70%), var(--cs2-market-panel-soft);
}

.cs2-market-card-media span {
    color: var(--cs2-market-muted);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.55;
}

.cs2-market-card-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
}

.cs2-market-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs2-market-card-price strong {
    color: var(--cs2-market-text);
    font-size: 18px;
    font-weight: 500;
}

.cs2-market-card-price span {
    color: var(--cs2-market-success);
    font-size: 12px;
    font-weight: 600;
}

.cs2-market-float-bar {
    position: relative;
    display: block;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cs2-market-wear-start), var(--cs2-market-wear-mid), var(--cs2-market-wear-end));
}

.cs2-market-float-cursor {
    position: absolute;
    top: -3px;
    width: 2px;
    height: 12px;
    border-radius: 2px;
    background: var(--cs2-market-text);
}

.cs2-market-card-float-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: var(--cs2-market-muted);
    font-size: 12px;
}

.cs2-market-card-status {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--cs2-market-muted);
    font-size: 12px;
}

.cs2-market-card-status p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.cs2-market-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--cs2-market-muted);
}

.cs2-market-card-status .is-online {
    color: var(--cs2-market-success);
}

.cs2-market-card-status .is-online .cs2-market-status-dot {
    background: var(--cs2-market-success);
}

.cs2-market-card-expires span {
    color: var(--cs2-market-text);
    font-weight: 600;
}

.cs2-market-card-shot {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 7px;
    background: color-mix(in srgb, var(--cs2-market-panel) 82%, transparent);
    color: var(--cs2-market-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.cs2-market-card-shot:hover {
    background: var(--cs2-market-panel);
    color: var(--cs2-market-text);
}

.cs2-market-card-shot .material-symbols-outlined {
    font-size: 18px;
}

.cs2-market-card-actions {
    display: flex;
    gap: 8px;
}

.cs2-market-card-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 7px;
    background: var(--cs2-market-panel-soft);
    color: var(--cs2-market-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cs2-market-card-actions .is-secondary {
    flex: 1 1 0;
}

.cs2-market-card-actions .is-secondary:hover {
    border-color: color-mix(in srgb, var(--cs2-market-accent) 45%, transparent);
    color: var(--cs2-market-accent);
}

.cs2-market-card-actions .is-primary {
    flex: 1 1 0;
    border-color: transparent;
    background: var(--cs2-market-accent);
    color: #ffffff;
}

.cs2-market-card-actions .is-primary:hover {
    background: color-mix(in srgb, var(--cs2-market-accent) 86%, #000000);
}

.cs2-market-card-actions .is-icon {
    flex: 0 0 auto;
    width: 34px;
    padding: 0;
}

.cs2-market-card-actions .is-icon .material-symbols-outlined {
    font-size: 18px;
}

.cs2-market-category.is-active {
    background: var(--cs2-market-panel);
    color: var(--cs2-market-accent);
}

.cs2-market-categories-wrap {
    margin-bottom: 16px;
}

.cs2-market-categories-wrap .cs2-market-categories {
    margin-bottom: 0;
}

.cs2-market-category-panel[hidden] {
    display: none;
}

.cs2-market-category-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 8px;
    background: var(--cs2-market-panel);
}

.cs2-market-weapon {
    height: 32px;
    padding: 0 14px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 6px;
    background: transparent;
    color: var(--cs2-market-text);
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.cs2-market-weapon:hover {
    border-color: var(--cs2-market-accent);
    color: var(--cs2-market-accent);
}

.cs2-market-group-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0 12px;
}

.cs2-market-sticker-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 8px;
}

.cs2-market-sticker-row input,
.cs2-market-sticker-row select {
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 8px;
    background: var(--cs2-market-panel-soft);
    color: var(--cs2-market-text);
    font-size: 13px;
    outline: none;
}

.cs2-market-sticker-row input:focus {
    border-color: var(--cs2-market-accent);
}

.cs2-market-select {
    position: relative;
    display: flex;
    align-items: center;
}

.cs2-market-select select {
    width: 100%;
    min-height: 36px;
    padding: 0 32px 0 10px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 8px;
    background: var(--cs2-market-panel-soft);
    color: var(--cs2-market-text);
    font-size: 13px;
    appearance: none;
    outline: none;
    cursor: pointer;
}

.cs2-market-select .material-symbols-outlined {
    position: absolute;
    right: 8px;
    font-size: 18px;
    color: var(--cs2-market-muted);
    pointer-events: none;
}

.cs2-market-toggle-group {
    display: flex;
    padding: 3px;
    border: 1px solid var(--cs2-market-border);
    border-radius: 7px;
    background: var(--cs2-market-panel-soft);
}

.cs2-market-toggle-group button {
    flex: 1 1 0;
    min-height: 28px;
    padding: 0 8px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--cs2-market-muted);
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.cs2-market-toggle-group button.is-active {
    background: var(--cs2-market-panel);
    color: var(--cs2-market-text);
    font-weight: 600;
}

@media (max-width: 1175px) {
    .cs2-market-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .cs2-market-filter {
        position: static;
    }
}

@media (max-width: 912px) {
    .cs2-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .cs2-market-container {
        width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .cs2-market-filter {
        padding: 15px;
    }

    .cs2-market-toolbar {
        gap: 8px;
    }

    .cs2-market-tabs {
        order: 3;
        width: 100%;
    }

    .cs2-market-tabs button {
        flex: 1 1 0;
        padding: 0 8px;
        font-size: 12px;
    }

    .cs2-market-sort select {
        min-width: 140px;
    }
}

.pagination-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pagination-info {
    margin: 0;
    color: var(--theme-muted, #9ca3af);
    font-size: 0.8125rem;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.625rem;
    border: 1px solid var(--theme-border-soft, rgba(255, 255, 255, 0.1));
    border-radius: 0.375rem;
    background: var(--theme-surface, #1e2329);
    color: var(--theme-heading, #ffffff);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}

a.pagination-link:hover {
    border-color: var(--theme-accent, #f97316);
    color: var(--theme-accent, #f97316);
}

.pagination-link.is-current {
    border-color: var(--theme-accent, #f97316);
    background: var(--theme-accent, #f97316);
    color: #ffffff;
}

.pagination-link.is-disabled {
    opacity: 0.45;
    cursor: default;
}

@media (max-width: 768px) {
    .pagination-nav {
        justify-content: center;
    }
}
