/*
 * Accnify Marketplace Rework 2.0
 * A dense, offer-first storefront inspired by modern digital marketplaces.
 * Loaded last so it can retire the previous green presentation layer safely.
 */

:root {
    --mr-bg: #f4f5f8;
    --mr-surface: #ffffff;
    --mr-surface-2: #f8f9fb;
    --mr-ink: #12141a;
    --mr-muted: #6f7480;
    --mr-line: #e4e6eb;
    --mr-dark: #0b0d12;
    --mr-dark-2: #151821;
    --mr-cyan: #20d7ee;
    --mr-blue: #3478f6;
    --mr-violet: #7657ff;
    --mr-green: #16b979;
    --mr-orange: #ff9b28;
    --mr-gradient: linear-gradient(120deg, var(--mr-cyan), var(--mr-blue) 52%, var(--mr-violet));
    --mr-shadow-sm: 0 8px 24px rgba(13, 17, 27, .07);
    --mr-shadow: 0 18px 48px rgba(13, 17, 27, .13);
    --shell: min(1380px, calc(100% - 48px));
    --ink: var(--mr-ink);
    --muted: var(--mr-muted);
    --brand: var(--mr-blue);
    --brand-2: var(--mr-violet);
    --canvas: var(--mr-bg);
    --soft: var(--mr-surface-2);
    --line: var(--mr-line);
}

html {
    scroll-padding-top: 160px;
}

body.accnify-theme {
    margin: 0;
    color: var(--mr-ink);
    background: var(--mr-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.accnify-theme :focus-visible {
    outline: 3px solid rgba(32, 215, 238, .4);
    outline-offset: 3px;
}

.shell {
    width: var(--shell) !important;
}

.button,
button.button {
    min-height: 44px;
    padding: 11px 18px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: var(--mr-dark) !important;
    box-shadow: none !important;
    font-size: .82rem;
    font-weight: 800 !important;
}

.button:hover,
button.button:hover {
    color: #fff !important;
    background: #252933 !important;
    transform: translateY(-1px);
}

.button-gradient {
    background: var(--mr-gradient) !important;
}

.button-outline {
    border-color: #ced1d9 !important;
    color: var(--mr-ink) !important;
    background: #fff !important;
}

.button-outline:hover {
    border-color: var(--mr-ink) !important;
    color: var(--mr-ink) !important;
    background: #f2f3f6 !important;
}

.eyebrow,
.marketplace-kicker,
.buyer-eyebrow {
    color: var(--mr-blue) !important;
    font-size: .68rem !important;
    font-weight: 900 !important;
    letter-spacing: .13em !important;
}

.eyebrow::before {
    display: none !important;
}

.page-section {
    padding-block: 58px !important;
}

.section-head {
    align-items: flex-end;
    margin-bottom: 24px !important;
}

.section-head h1,
.section-head h2,
.marketplace-section-heading h1,
.marketplace-section-heading h2 {
    margin: 6px 0 0;
    color: var(--mr-ink) !important;
    font-size: clamp(1.65rem, 2.5vw, 2.35rem) !important;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.045em !important;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--mr-muted) !important;
    font-size: .84rem;
}

.section-text-link,
.marketplace-arrow-link {
    gap: 10px;
    color: var(--mr-ink) !important;
    font-size: .78rem;
    font-weight: 850 !important;
}

.section-text-link span,
.marketplace-arrow-link i {
    color: #fff;
    background: var(--mr-dark);
}

/* Header and catalog flyout */

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border: 0 !important;
    background: var(--mr-dark) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18) !important;
}

.header-utility {
    border: 0 !important;
    background: #07090d !important;
}

.header-utility-inner {
    min-height: 30px !important;
    color: #9ca3af;
    font-size: .64rem;
}

.header-utility p,
.header-utility a {
    color: #aeb3be !important;
}

.header-utility p i {
    color: var(--mr-cyan) !important;
}

.header-utility a:hover {
    color: #fff !important;
}

.header-inner {
    min-height: 78px !important;
    height: 78px !important;
    gap: 24px !important;
}

.brand {
    gap: 10px !important;
}

.brand-mark {
    position: relative;
    width: 40px !important;
    height: 40px !important;
    overflow: hidden;
    border-radius: 10px 4px 10px 4px !important;
    color: #071018 !important;
    background: var(--mr-gradient) !important;
    box-shadow: 0 0 26px rgba(32, 215, 238, .22) !important;
    transform: skew(-7deg);
}

.brand-mark::before {
    display: none !important;
}

.brand-mark::after {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 6px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    content: "";
    transform: translate(14px, -15px);
}

.brand-mark i {
    display: none !important;
}

.brand-mark b {
    z-index: 1;
    font-size: 1.18rem !important;
    font-weight: 950;
    transform: skew(7deg);
}

.brand-name {
    color: #fff !important;
    font-size: 1.46rem !important;
    font-weight: 900 !important;
    letter-spacing: -.06em !important;
}

.brand-name span {
    color: var(--mr-cyan) !important;
}

.header-search {
    height: 48px !important;
    padding: 3px 4px 3px 14px !important;
    border: 2px solid transparent !important;
    border-radius: 7px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.header-search:focus-within {
    border-color: var(--mr-cyan) !important;
    box-shadow: 0 0 0 4px rgba(32, 215, 238, .12) !important;
}

.header-search-category select,
.header-search input {
    border: 0 !important;
    border-radius: 0 !important;
    color: #272a31 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.header-search-category select:focus,
.header-search input:focus {
    border: 0 !important;
    box-shadow: none !important;
}

.header-search-category select {
    font-size: .7rem;
}

.header-search > i {
    color: #858b96;
}

.header-search input {
    font-size: .79rem;
}

.header-search input::placeholder {
    color: #969ba5;
}

.header-search button {
    min-width: 100px;
    height: 38px !important;
    margin: 0 !important;
    border-radius: 5px !important;
    color: #061017;
    background: var(--mr-gradient) !important;
    font-weight: 900;
}

.header-search button:hover {
    filter: brightness(1.06);
}

.header-action-icon {
    width: 38px;
    height: 38px;
    border: 1px solid #2b2f39;
    border-radius: 7px;
    color: #fff;
    background: #191c24;
}

.header-action-link:hover .header-action-icon {
    border-color: var(--mr-cyan);
    color: var(--mr-cyan);
    background: #191c24;
}

.header-action-icon.header-avatar {
    color: #071017;
    background: var(--mr-gradient) !important;
}

.header-action-icon b {
    border-color: var(--mr-dark);
    color: #071017;
    background: var(--mr-cyan);
}

.header-action-copy small {
    color: #8f96a3;
}

.header-action-copy strong {
    color: #fff;
    font-size: .72rem;
}

.desktop-category-bar {
    border: 0 !important;
    border-top: 1px solid #242832 !important;
    background: #11141a !important;
}

.desktop-category-bar-inner {
    min-height: 44px !important;
}

.desktop-marketplace-trigger {
    min-height: 44px;
    padding-inline: 20px;
    border-radius: 0 !important;
    color: #071017 !important;
    background: var(--mr-gradient) !important;
    font-size: .72rem;
    font-weight: 900;
}

.desktop-marketplace-trigger:hover,
.desktop-marketplace-trigger.active,
.desktop-marketplace-dropdown.is-open .desktop-marketplace-trigger {
    color: #071017 !important;
    background: var(--mr-gradient) !important;
    filter: brightness(1.06);
}

.desktop-category-links a {
    padding-inline: 18px;
    color: #d1d5dc !important;
    font-size: .68rem;
}

.desktop-category-links a:hover {
    color: #fff !important;
    background: #242832 !important;
}

.desktop-sell-link {
    padding-inline: 20px;
    color: var(--mr-cyan) !important;
    font-size: .7rem;
}

.desktop-marketplace-panel {
    width: min(900px, calc(100vw - 48px));
    max-height: min(580px, calc(100vh - 180px));
    padding: 22px;
    border: 1px solid #2b303b !important;
    border-radius: 0 0 12px 12px !important;
    color: #fff;
    background: #11141a !important;
    box-shadow: 0 32px 70px rgba(0, 0, 0, .4) !important;
}

.desktop-marketplace-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #2b3039 !important;
}

.desktop-marketplace-head div {
    display: grid;
    gap: 4px;
}

.desktop-marketplace-head strong {
    color: #fff !important;
    font-size: 1rem;
}

.desktop-marketplace-head small {
    color: #9299a6 !important;
}

.desktop-marketplace-head > a {
    color: var(--mr-cyan) !important;
    font-size: .72rem;
    font-weight: 850;
}

.desktop-marketplace-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
}

.desktop-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.desktop-service-grid a {
    min-height: 74px;
    padding: 12px !important;
    border: 1px solid #292e38 !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: #1a1e26 !important;
}

.desktop-service-grid a > i:first-child {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: var(--nav-accent);
    background: color-mix(in srgb, var(--nav-accent) 12%, #181b22);
    box-shadow: none;
}

.desktop-service-grid a > span {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.desktop-service-grid a > span strong {
    font-size: .78rem;
}

.desktop-service-grid a > span small {
    overflow: hidden;
    color: #8f96a3;
    font-size: .6rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.desktop-service-grid a:hover {
    border-color: var(--nav-accent) !important;
    color: #fff !important;
    background: #20242d !important;
    transform: translateY(-2px);
}

.desktop-marketplace-promo {
    position: relative;
    display: flex;
    min-height: 156px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: hidden;
    padding: 20px;
    border-radius: 9px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .27), transparent 24%),
        linear-gradient(145deg, #1689ff, #6945ee 58%, #181b25);
}

.desktop-marketplace-promo::after {
    position: absolute;
    top: -30px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 24px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    content: "";
}

.desktop-marketplace-promo > * {
    position: relative;
    z-index: 1;
}

.desktop-marketplace-promo > span {
    margin-bottom: auto;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.desktop-marketplace-promo h3 {
    max-width: 190px;
    margin: 20px 0 7px;
    font-size: 1.25rem;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.desktop-marketplace-promo p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .76);
    font-size: .65rem;
    line-height: 1.5;
}

.desktop-marketplace-promo a {
    font-size: .67rem;
    font-weight: 850;
}

/* Compact marketplace menu */

.desktop-marketplace-panel.compact-marketplace-menu {
    width: 286px;
    max-height: none;
    padding: 8px;
    border-radius: 0 0 9px 9px !important;
}

.compact-marketplace-links {
    display: grid;
    gap: 2px;
}

.compact-menu-link {
    display: grid;
    min-height: 46px;
    grid-template-columns: 34px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 10px;
    padding: 6px 9px;
    border-radius: 6px;
    color: #e8eaf0 !important;
    font-size: .72rem;
    font-weight: 780;
}

.compact-menu-link > i:first-child {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 6px;
    color: #aeb5c1;
    background: #242832;
    font-size: .78rem;
}

.compact-menu-link > i:last-child {
    color: #5f6673;
    font-size: .5rem;
}

.compact-menu-link:hover {
    color: #fff !important;
    background: #20242d;
}

.compact-menu-link:hover > i:first-child,
.compact-menu-link:first-child > i:first-child {
    color: #071017;
    background: var(--mr-cyan);
}

.compact-menu-link:hover > i:last-child {
    color: var(--mr-cyan);
    transform: translateX(2px);
}

.compact-menu-account {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid #2d323c;
}

.compact-menu-seller > i:first-child {
    color: #071017;
    background: var(--mr-gradient);
}

/* Hero */

.market-hero {
    padding: 26px 0 18px;
    background: var(--mr-bg);
}

.market-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(300px, .8fr);
    gap: 14px;
}

.market-hero-primary {
    position: relative;
    display: grid;
    min-height: 430px;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    overflow: hidden;
    border-radius: 14px;
    color: #fff;
    background:
        radial-gradient(circle at 76% 26%, rgba(32, 215, 238, .25), transparent 26%),
        radial-gradient(circle at 91% 87%, rgba(118, 87, 255, .44), transparent 30%),
        linear-gradient(135deg, #10141e, #0b0d12 65%);
}

.market-hero-primary::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 38px 38px;
    content: "";
    mask-image: linear-gradient(90deg, transparent, #000);
}

.market-hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 48px 10px 48px 50px;
}

.market-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #aab1bd;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.market-hero-kicker i {
    color: var(--mr-cyan);
}

.market-hero-copy h1 {
    margin: 16px 0 18px;
    color: #fff;
    font-size: clamp(2.7rem, 4.5vw, 4.65rem);
    font-weight: 950;
    line-height: .94;
    letter-spacing: -.07em;
}

.market-hero-copy h1 span {
    color: transparent;
    background: var(--mr-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

.market-hero-copy > p {
    max-width: 570px;
    margin: 0;
    color: #aeb5c1;
    font-size: .94rem;
    line-height: 1.65;
}

.market-hero-search {
    display: grid;
    width: min(580px, 100%);
    height: 54px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    margin-top: 26px;
    padding: 4px;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
}

.market-hero-search > i {
    color: #888e98;
    text-align: center;
}

.market-hero-search input {
    min-width: 0;
    height: 100%;
    padding: 0 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--mr-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: .8rem;
}

.market-hero-search button {
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 5px;
    color: #071017;
    background: var(--mr-gradient);
    font-size: .74rem;
    font-weight: 900;
}

.market-hero-trending {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #6f7785;
    font-size: .65rem;
}

.market-hero-trending a {
    padding: 4px 8px;
    border: 1px solid #343945;
    border-radius: 5px;
    color: #bbc1cc !important;
}

.market-hero-trending a:hover {
    border-color: var(--mr-cyan);
    color: var(--mr-cyan) !important;
}

.market-hero-art {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.market-hero-art::before,
.market-hero-art::after {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.market-hero-art::before {
    top: 52px;
    right: -22px;
    width: 300px;
    height: 300px;
    border: 52px solid rgba(255, 255, 255, .055);
}

.market-hero-art::after {
    right: 20px;
    bottom: -90px;
    width: 250px;
    height: 250px;
    background: rgba(32, 215, 238, .08);
    filter: blur(10px);
}

.hero-orb {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    background: rgba(255, 255, 255, .11);
    box-shadow: inset 0 1px rgba(255,255,255,.25), 0 20px 40px rgba(0,0,0,.25);
    backdrop-filter: blur(12px);
    transform: rotate(-9deg);
}

.hero-orb-one {
    top: 78px;
    right: 55px;
    width: 112px;
    height: 112px;
    border-radius: 28px;
    color: var(--mr-cyan);
    font-size: 2.8rem;
}

.hero-orb-two {
    top: 207px;
    right: 155px;
    width: 84px;
    height: 84px;
    border-radius: 22px;
    color: #ffb938;
    font-size: 2rem;
    transform: rotate(12deg);
}

.hero-orb-three {
    right: 31px;
    bottom: 63px;
    width: 98px;
    height: 98px;
    border-radius: 26px;
    color: #ab94ff;
    font-size: 2.25rem;
    transform: rotate(7deg);
}

.hero-price-chip {
    position: absolute;
    z-index: 3;
    right: 115px;
    bottom: 45px;
    display: grid;
    gap: 1px;
    padding: 11px 15px;
    border-radius: 8px;
    color: var(--mr-ink);
    background: #fff;
    box-shadow: 0 14px 30px rgba(0,0,0,.26);
    transform: rotate(-3deg);
}

.hero-price-chip small {
    color: var(--mr-muted);
    font-size: .55rem;
}

.hero-price-chip strong {
    font-size: 1.25rem;
    letter-spacing: -.05em;
}

.market-hero-side {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-side-card {
    position: relative;
    display: flex;
    min-height: 208px;
    align-items: flex-end;
    justify-content: space-between;
    overflow: hidden;
    padding: 26px;
    border-radius: 14px;
    color: #fff !important;
    isolation: isolate;
}

.hero-side-card::before {
    position: absolute;
    z-index: -1;
    top: -65px;
    right: -55px;
    width: 205px;
    height: 205px;
    border: 35px solid rgba(255,255,255,.13);
    border-radius: 50%;
    content: "";
}

.hero-side-accounts {
    background: linear-gradient(135deg, #2f7cf7, #714dec);
}

.hero-side-games {
    background: linear-gradient(135deg, #ff7d2d, #ed3c68);
}

.hero-side-card > span {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2px;
}

.hero-side-card small {
    color: rgba(255,255,255,.75);
    font-size: .63rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-side-card strong {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -.045em;
}

.hero-side-card b {
    margin-top: 12px;
    font-size: .67rem;
}

.hero-side-card > i {
    position: relative;
    z-index: 1;
    align-self: center;
    color: rgba(255,255,255,.88);
    font-size: 4rem;
    filter: drop-shadow(0 15px 18px rgba(0,0,0,.18));
    transform: rotate(-8deg);
}

.hero-side-card:hover {
    color: #fff !important;
    transform: translateY(-3px);
}

/* Category and platform discovery */

.marketplace-discovery {
    padding: 34px 0 30px !important;
    background: var(--mr-bg) !important;
}

.marketplace-section-heading {
    margin-bottom: 17px;
}

.market-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.market-category-card {
    min-height: 112px;
    grid-template-columns: 50px minmax(0, 1fr) 32px;
    gap: 13px;
    padding: 16px !important;
    border: 1px solid var(--mr-line) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.market-category-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--category-accent);
    content: "";
    opacity: 0;
}

.market-category-card:hover {
    border-color: color-mix(in srgb, var(--category-accent) 42%, var(--mr-line)) !important;
    background: #fff !important;
    box-shadow: var(--mr-shadow-sm) !important;
    transform: translateY(-3px) !important;
}

.market-category-card:hover::before {
    opacity: 1;
}

.market-category-icon {
    width: 50px;
    height: 50px;
    border: 0 !important;
    border-radius: 9px;
    color: var(--category-accent);
    background: color-mix(in srgb, var(--category-accent) 10%, #f8f9fb) !important;
    box-shadow: none;
    font-size: 1.1rem;
}

.market-category-card h2 {
    font-size: .94rem;
}

.market-category-arrow {
    color: #6e7480;
    background: #f0f1f4;
}

.market-category-card-foot {
    border-color: var(--mr-line);
}

.market-category-card-foot span,
.market-category-card-foot strong {
    color: #7c818c;
    font-size: .62rem;
}

.market-category-card-foot strong {
    color: var(--category-accent);
}

.popular-platforms-section {
    padding: 34px 0 !important;
    border-block: 1px solid var(--mr-line) !important;
    background: #fff !important;
}

.platform-rail-heading {
    margin-bottom: 17px;
}

.platform-rail-heading h2 {
    color: var(--mr-ink);
    font-size: 1.45rem;
    font-weight: 900;
}

.platform-rail-heading p {
    color: var(--mr-muted);
}

.platform-rail-heading > a {
    color: var(--mr-blue) !important;
}

.platform-rail {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
}

.platform-rail > a {
    min-height: 68px;
    grid-template-columns: 38px minmax(0, 1fr) 12px;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--mr-line);
    border-radius: 8px;
    box-shadow: none;
}

.platform-rail > a > span {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 7px;
    background: color-mix(in srgb, var(--platform-color) 9%, #fff);
    font-size: 1rem;
}

.platform-rail > a strong {
    font-size: .68rem;
}

.platform-rail > a:hover {
    border-color: var(--platform-color);
    box-shadow: var(--mr-shadow-sm);
}

.marketplace-live-stats {
    padding: 0 !important;
    background: #fff !important;
}

.marketplace-live-stats-grid {
    border: 0;
    border-radius: 0;
    background: var(--mr-dark) !important;
    box-shadow: none;
}

.marketplace-live-stats-grid > div {
    min-height: 88px;
}

.marketplace-live-stats-grid > div > span {
    color: var(--mr-cyan);
    background: #20242d;
}

.marketplace-live-stats-grid strong {
    color: #fff;
}

.marketplace-live-stats-grid small {
    color: #8f96a3;
}

/* Product offer cards and pricing */

.homepage-product-section,
.marketplace-results-section,
.marketplace-all-products {
    background: var(--mr-bg) !important;
}

.homepage-products-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--mr-line) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: translateZ(0);
}

.product-card:hover {
    border-color: #bbc0ca !important;
    box-shadow: var(--mr-shadow) !important;
    transform: translateY(-4px) !important;
}

.product-card .product-visual {
    position: relative;
    display: grid;
    min-height: 176px !important;
    height: 176px;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 28% 12%, #fff, transparent 42%),
        linear-gradient(145deg, var(--brand-soft), #eef1f6) !important;
}

.product-card .product-visual::before {
    width: 145px;
    height: 145px;
    border: 24px solid var(--brand-color);
    opacity: .06;
    transform: translate(75px, 48px);
}

.product-brand-logo > i {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    color: #fff;
    background: var(--brand-color);
    box-shadow: 0 18px 36px color-mix(in srgb, var(--brand-color) 28%, transparent);
    font-size: 1.9rem;
}

.product-brand-logo small {
    color: color-mix(in srgb, var(--brand-color) 70%, #14161c);
    font-size: .6rem;
}

.product-card-image {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
    box-shadow: none !important;
}

.product-card .stock-pill,
.product-featured-pill,
.product-card .discount {
    top: 10px;
    padding: 6px 8px;
    border: 0 !important;
    border-radius: 5px !important;
    font-size: .52rem;
    letter-spacing: .02em;
}

.product-card .stock-pill {
    left: 10px;
    color: #0d8056 !important;
    background: rgba(255,255,255,.93) !important;
    box-shadow: 0 4px 12px rgba(15,17,23,.1) !important;
}

.product-card .stock-pill i {
    margin-right: 4px;
    color: var(--mr-green);
    font-size: .38rem;
    vertical-align: middle;
}

.product-featured-pill {
    right: 10px;
    color: #071017 !important;
    background: var(--mr-cyan) !important;
}

.product-card .discount {
    right: 10px;
    bottom: 10px;
    color: #fff;
    background: #e63b62 !important;
}

.product-card .product-body {
    display: flex;
    min-height: 268px !important;
    flex: 1;
    flex-direction: column;
    padding: 14px !important;
}

.product-card .product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8a8f99;
    font-size: .54rem;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.product-card .product-meta span:first-child {
    max-width: 68%;
    padding: 0 !important;
    color: #747a85 !important;
    background: transparent !important;
}

.product-card .product-meta span:last-child {
    color: #e39a00;
}

.product-card .product-body h3 {
    min-height: 42px;
    margin: 8px 0 6px;
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.38;
}

.product-card .product-body h3 a {
    color: var(--mr-ink) !important;
}

.product-card .product-body h3 a:hover {
    color: var(--mr-blue) !important;
}

.product-summary {
    display: -webkit-box;
    min-height: 32px;
    margin: 0;
    overflow: hidden;
    color: #7a808b !important;
    font-size: .61rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-attribute-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.product-attribute-row span {
    max-width: 100%;
    overflow: hidden;
    padding: 4px 6px !important;
    border: 0 !important;
    border-radius: 4px !important;
    color: #616773 !important;
    background: #f1f2f5 !important;
    font-size: .5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card .seller-name {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    margin: 9px 0 0;
    overflow: hidden;
    color: #707681;
    font-size: .57rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card .seller-name > i {
    flex: 0 0 auto;
    color: var(--mr-blue) !important;
}

.product-card .seller-name > span {
    margin-left: auto;
    color: #979ca5;
}

.product-offer-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto !important;
    padding-top: 12px !important;
    border-top: 1px solid var(--mr-line) !important;
}

.product-card .product-price-row {
    min-width: 0;
    margin: 0 !important;
}

.product-card .product-price-row > span {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    justify-content: start;
    gap: 0 6px;
}

.product-card .product-price-row small {
    grid-column: 1 / -1;
    color: #8d929c;
    font-size: .5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-card .product-price-row strong {
    color: var(--mr-ink) !important;
    font-size: 1.17rem;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -.045em;
}

.product-card .product-price-row del {
    color: #a1a5ad;
    font-size: .55rem;
}

.product-cart-button.product-buy-now {
    display: inline-flex;
    width: auto;
    min-width: 82px;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 11px;
    border: 0;
    border-radius: 6px !important;
    color: #071017 !important;
    background: var(--mr-cyan) !important;
    box-shadow: none !important;
    font-size: .65rem;
    font-weight: 900;
}

.product-cart-button.product-buy-now:hover {
    color: #fff !important;
    background: var(--mr-blue) !important;
}

.product-cart-button.product-buy-now:disabled {
    color: #777c86 !important;
    background: #eceef1 !important;
}

/* Seller, trust and supporting sections */

.seller-leaderboards-section {
    border-block: 1px solid var(--mr-line);
    background: #fff !important;
}

.seller-leaderboards-grid {
    max-width: 100%;
}

.seller-leaderboard-card {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #2b3039 !important;
    border-radius: 10px !important;
    color: #fff;
    background: var(--mr-dark) !important;
    box-shadow: none !important;
}

.seller-leaderboard-card > header,
.seller-leaderboard-card.monthly > header {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px !important;
    border: 0 !important;
    background:
        radial-gradient(circle at 80% 10%, rgba(32,215,238,.25), transparent 27%),
        linear-gradient(145deg, #222634, #12151d) !important;
}

.seller-leaderboard-card header span {
    color: var(--mr-cyan) !important;
}

.seller-leaderboard-card header h3 {
    color: #fff !important;
    font-size: 1.55rem;
    line-height: 1.08;
}

.seller-leaderboard-card header > strong {
    margin-top: 16px;
    color: #9ba2ae !important;
    background: transparent;
    box-shadow: none;
}

.seller-leaderboard-card ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
}

.seller-leaderboard-card li {
    display: grid;
    min-width: 0;
    align-content: center;
    gap: 10px;
    padding: 20px 14px !important;
    border: 0 !important;
    border-left: 1px solid #2b3039 !important;
}

.seller-leaderboard-card li a {
    display: grid;
    min-width: 0;
    justify-items: start;
    gap: 8px;
    color: #fff !important;
}

.seller-leaderboard-card li a > i {
    width: 40px;
    height: 40px;
    color: #071017;
    background: var(--mr-gradient) !important;
    box-shadow: none;
}

.seller-leaderboard-card li a span {
    min-width: 0;
}

.seller-leaderboard-card li a strong {
    display: block;
    overflow: hidden;
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-leaderboard-card li a small {
    display: block;
    overflow: hidden;
    color: #838b98;
    font-size: .52rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leader-rank {
    width: 24px;
    height: 24px;
    color: var(--mr-cyan) !important;
    background: #252a34 !important;
}

.seller-leaderboard-card li:first-child .leader-rank {
    color: #17120b !important;
    background: #ffbd3f !important;
}

.seller-leaderboard-card li > b {
    color: var(--mr-cyan) !important;
    font-size: .6rem;
}

.top-stores-section {
    background: var(--mr-bg);
}

.top-stores-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.top-store-card {
    padding: 18px !important;
    border: 1px solid var(--mr-line) !important;
    border-radius: 9px !important;
    color: var(--mr-ink) !important;
    background: #fff !important;
    box-shadow: none !important;
}

.top-store-card:hover {
    border-color: #bfc4cd !important;
    box-shadow: var(--mr-shadow-sm) !important;
}

.top-store-logo {
    border-radius: 9px;
    color: #071017;
    background: var(--mr-gradient) !important;
    box-shadow: none;
}

.top-store-card h3 {
    color: var(--mr-ink);
}

.top-store-card dl {
    border-color: var(--mr-line);
}

.top-store-link {
    color: var(--mr-blue) !important;
}

.homepage-best-selling {
    border-top: 1px solid var(--mr-line);
    background: #fff !important;
}

.marketplace-filter-section {
    padding: 22px 0 !important;
    background: var(--mr-dark) !important;
}

.marketplace-advanced-filter {
    border: 1px solid #2b303a !important;
    border-radius: 9px !important;
    background: #171a21 !important;
    box-shadow: none;
}

.marketplace-advanced-filter > summary b {
    color: #fff;
}

.marketplace-advanced-filter > summary small {
    color: #8f96a3;
}

.marketplace-advanced-filter > summary > span > i {
    color: var(--mr-cyan);
    background: #252a34;
}

.marketplace-filter-bar {
    border-color: #2b303a !important;
    background: #101219 !important;
}

.marketplace-filter-bar label {
    color: #a8aeb9 !important;
}

.marketplace-filter-bar input,
.marketplace-filter-bar select {
    border-color: #363b46 !important;
    color: #fff !important;
    background: #1c2028 !important;
}

.marketplace-all-products {
    background: var(--mr-bg) !important;
}

.feature-band {
    border: 0 !important;
    background: var(--mr-dark) !important;
}

.feature-grid {
    gap: 0;
}

.feature-item {
    border: 0 !important;
    border-right: 1px solid #2b3039 !important;
    border-radius: 0 !important;
    color: #fff;
    background: transparent !important;
}

.feature-item:last-child {
    border-right: 0 !important;
}

.feature-item .feature-icon {
    color: var(--mr-cyan);
    background: #20242d;
}

.feature-item h3 {
    color: #fff;
}

.feature-item p {
    color: #8f96a3;
}

.market-testimonials-section {
    background: #fff;
}

.market-rating-summary {
    color: var(--mr-blue);
    background: #eef4ff;
}

.market-testimonial-card {
    border: 1px solid var(--mr-line) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.market-review-avatar {
    color: #071017;
    background: var(--mr-gradient) !important;
}

.market-faq-section {
    background: var(--mr-bg) !important;
}

.market-faq-item {
    border: 1px solid var(--mr-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
}

.market-home-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 20%, rgba(32,215,238,.28), transparent 25%),
        linear-gradient(120deg, #171b27, #0b0d12 60%, #28204b) !important;
}

.market-home-cta::after {
    position: absolute;
    right: -100px;
    bottom: -160px;
    width: 350px;
    height: 350px;
    border: 55px solid rgba(255,255,255,.04);
    border-radius: 50%;
    content: "";
}

.market-home-cta-inner {
    position: relative;
    z-index: 1;
}

.market-home-cta .button-outline {
    border-color: #4a505d !important;
    color: #fff !important;
    background: transparent !important;
}

/* Catalog page */

.catalog-page {
    background: var(--mr-bg) !important;
}

.catalog-page-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 46px !important;
    color: #fff;
    background:
        radial-gradient(circle at 78% 25%, rgba(32,215,238,.18), transparent 23%),
        radial-gradient(circle at 91% 90%, rgba(118,87,255,.35), transparent 26%),
        linear-gradient(125deg, #111621, #0b0d12 63%) !important;
}

.catalog-page-hero::after {
    position: absolute;
    top: -120px;
    right: 8%;
    width: 330px;
    height: 330px;
    border: 56px solid rgba(255,255,255,.04);
    border-radius: 50%;
    content: "";
}

.catalog-page-hero .shell {
    position: relative;
    z-index: 1;
}

.catalog-breadcrumb {
    color: #7f8794;
}

.catalog-breadcrumb a,
.catalog-breadcrumb span {
    color: #9ea5b1 !important;
}

.catalog-hero-copy {
    max-width: 780px;
}

.catalog-page-hero h1 {
    max-width: 780px;
    margin: 10px 0 13px;
    color: #fff !important;
    font-size: clamp(2.25rem, 4.5vw, 4.35rem);
    font-weight: 950;
    line-height: .98;
    letter-spacing: -.065em;
}

.catalog-page-hero p {
    max-width: 680px;
    margin: 0;
    color: #9ca4b1;
    font-size: .88rem;
    line-height: 1.65;
}

.catalog-hero-listing-count {
    display: inline-flex;
    margin-top: 18px;
    border-color: #343946;
    color: #b7bdc7;
    background: #1c2028;
}

.catalog-hero-listing-count i {
    color: var(--mr-cyan);
}

.catalog-page-search {
    display: grid;
    width: min(680px, 100%);
    height: 52px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0;
    margin-top: 24px;
    padding: 4px;
    border: 0 !important;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,.2);
}

.catalog-page-search > i {
    color: #878d98;
    text-align: center;
}

.catalog-page-search input {
    min-width: 0;
    height: 100%;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--mr-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: .76rem;
}

.catalog-page-search .button {
    min-height: 44px;
    padding-inline: 24px !important;
}

.catalog-directory-section {
    padding: 38px 0 !important;
    border-bottom: 1px solid var(--mr-line);
    background: #fff;
}

.catalog-page-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.catalog-category-card {
    display: grid;
    min-width: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--mr-line) !important;
    border-radius: 8px !important;
    color: var(--mr-ink) !important;
    background: #fff !important;
    box-shadow: none !important;
}

.catalog-category-card:hover,
.catalog-category-card.active {
    border-color: var(--catalog-color) !important;
    box-shadow: var(--mr-shadow-sm) !important;
    transform: translateY(-2px);
}

.catalog-category-card .service-icon {
    display: grid;
    width: 48px;
    height: 48px;
    grid-row: 1 / 3;
    place-items: center;
    border-radius: 8px;
    color: var(--catalog-color);
    background: color-mix(in srgb, var(--catalog-color) 10%, #fff);
}

.catalog-category-card > span:nth-child(2) {
    display: grid;
    gap: 4px;
}

.catalog-category-card > span strong {
    font-size: .8rem;
}

.catalog-category-card > span small {
    color: var(--mr-muted);
    font-size: .56rem;
}

.catalog-category-card dl {
    display: flex;
    grid-column: 2;
    gap: 16px;
    margin: 0;
}

.catalog-category-card dl div {
    display: flex;
    gap: 4px;
}

.catalog-category-card dt,
.catalog-category-card dd {
    margin: 0;
    font-size: .52rem;
}

.catalog-category-card dt {
    color: #999ea7;
}

.catalog-category-card dd {
    color: var(--mr-ink);
    font-weight: 850;
}

.catalog-products-section {
    padding-top: 42px !important;
    background: var(--mr-bg);
}

.catalog-browser {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.catalog-filter-sidebar {
    position: sticky;
    top: 170px;
}

.catalog-filter-panel {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--mr-line) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.catalog-filter-panel > summary {
    min-height: 58px;
    padding: 0 16px;
    border-bottom: 1px solid transparent;
    color: var(--mr-ink);
    font-size: .8rem;
    font-weight: 900;
}

.catalog-filter-panel[open] > summary {
    border-bottom-color: var(--mr-line);
}

.catalog-filter-panel > summary span i {
    color: var(--mr-blue);
}

.catalog-filter-panel .catalog-page-filter {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin: 0;
    padding: 16px;
    border: 0 !important;
    background: #fff !important;
}

.catalog-page-filter .field {
    display: grid;
    gap: 6px;
}

.catalog-page-filter label {
    color: #4e535d !important;
    font-size: .58rem;
    font-weight: 850 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.catalog-page-filter input,
.catalog-page-filter select {
    width: 100%;
    min-height: 42px;
    padding-inline: 11px;
    border: 1px solid #d9dce2 !important;
    border-radius: 6px !important;
    color: var(--mr-ink) !important;
    background: #f8f9fb !important;
    box-shadow: none !important;
    font-size: .67rem;
}

.catalog-page-filter .button {
    width: 100%;
}

.catalog-clear-filters {
    color: #7b808a !important;
    font-size: .64rem;
    font-weight: 750;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.catalog-results-panel {
    min-width: 0;
}

.catalog-results-head {
    min-height: 64px;
    margin-bottom: 18px !important;
}

.catalog-results-head h2 {
    font-size: 1.65rem !important;
}

.catalog-results-head p strong {
    color: var(--mr-ink);
}

.catalog-results-panel .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* Footer */

.site-footer {
    color: #a3a9b4 !important;
    background: #090b10 !important;
}

.footer-promise-bar {
    border: 1px solid #2b3039 !important;
    border-radius: 9px !important;
    background: #151820 !important;
}

.footer-promise-bar i {
    color: var(--mr-cyan) !important;
}

.site-footer h3,
.site-footer .brand-name {
    color: #fff !important;
}

.site-footer a {
    color: #9da4af !important;
}

.site-footer a:hover {
    color: var(--mr-cyan) !important;
}

.support-widget-launcher-icon {
    color: #071017 !important;
    background: var(--mr-gradient) !important;
    box-shadow: 0 14px 34px rgba(52, 120, 246, .3) !important;
}

.support-widget-panel header {
    background: var(--mr-dark) !important;
}

/* Mobile drawer */

.mobile-menu-backdrop {
    background: rgba(0,0,0,.72);
}

.mobile-menu {
    color: #fff !important;
    background: #101219 !important;
    box-shadow: 24px 0 70px rgba(0,0,0,.45);
}

.mobile-menu-head {
    border-color: #2a2e37;
    background: rgba(16,18,25,.98);
}

.mobile-menu-head > button,
.mobile-menu-button {
    border-color: #303540;
    color: #fff;
    background: #1b1f27;
}

.mobile-menu-button span {
    background: #fff;
}

.mobile-drawer-search {
    border-color: #303540;
    background: #1b1f27;
}

.mobile-drawer-search input {
    border: 0 !important;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mobile-drawer-search button {
    color: #071017;
    background: var(--mr-cyan);
}

.mobile-menu-account > a {
    border-color: #333947;
    color: #fff !important;
    background: #1b1f27;
}

.mobile-menu-account small,
.mobile-menu-account strong {
    color: #fff;
}

.mobile-menu-account small {
    color: #9299a5;
}

.mobile-menu-links a,
.mobile-category-list a {
    border-color: #292d36 !important;
    color: #e4e6ea !important;
}

.mobile-menu-links a > i,
.mobile-category-list a > i:first-child {
    color: var(--mr-cyan);
    background: #222731;
}

.mobile-category-list {
    border-color: #080a0e;
}

.mobile-category-list > p {
    color: #777f8c;
}

.mobile-category-list a > span {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.mobile-category-list a > span strong {
    font-size: .75rem;
}

.mobile-category-list a > span small {
    overflow: hidden;
    color: #777f8c;
    font-size: .54rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-menu-foot {
    border-color: #2b3039;
    background: #0c0e13;
}

.mobile-menu-foot a {
    color: #9097a3 !important;
}

.mobile-compact-menu {
    padding: 12px;
}

.mobile-compact-menu .compact-menu-link {
    min-height: 50px;
    grid-template-columns: 36px minmax(0, 1fr) 12px;
    padding: 7px 9px;
    border-bottom: 0 !important;
    font-size: .76rem;
}

.mobile-compact-menu .compact-menu-link > i:first-child {
    width: 36px;
    height: 36px;
}

/* Responsive */

@media (max-width: 1240px) {
    .header-action-copy {
        display: none;
    }

    .desktop-category-links a {
        padding-inline: 13px;
    }

    .desktop-category-links a:nth-last-child(-n + 2) {
        display: none;
    }

    .homepage-products-grid,
    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .catalog-results-panel .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .platform-rail {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    :root {
        --shell: min(100% - 30px, 920px);
    }

    html {
        scroll-padding-top: 126px;
    }

    .header-utility,
    .desktop-category-bar {
        display: none !important;
    }

    .header-inner {
        display: grid;
        min-height: 126px !important;
        height: auto !important;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        grid-template-rows: 66px 52px;
        gap: 0 10px !important;
        padding-bottom: 8px;
    }

    .mobile-menu-button {
        display: block;
        grid-column: 1;
        grid-row: 1;
        width: 42px;
        height: 42px;
        padding: 7px;
        border: 1px solid #303540;
        border-radius: 7px;
        background: #1b1f27;
    }

    .header-inner > .brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .header-search {
        display: flex !important;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: none !important;
        height: 46px !important;
    }

    .header-search-category,
    .header-search-divider {
        display: none;
    }

    .header-search button {
        min-width: 44px;
        height: 36px !important;
        padding: 0;
    }

    .header-search button span {
        display: none;
    }

    .header-actions {
        grid-column: 3;
        grid-row: 1;
    }

    .header-actions .header-action-link:first-child {
        display: none;
    }

    .market-hero-layout {
        grid-template-columns: 1fr;
    }

    .market-hero-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .hero-side-card {
        min-height: 170px;
    }

    .market-category-grid,
    .catalog-page-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-products-grid,
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .seller-leaderboard-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .seller-leaderboard-card ol {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .seller-leaderboard-card li:nth-child(n + 4) {
        display: none;
    }

    .catalog-browser {
        grid-template-columns: 1fr;
    }

    .catalog-filter-sidebar {
        position: static;
    }

    .catalog-filter-panel:not([open]) .catalog-page-filter {
        display: none;
    }

    .catalog-filter-panel .catalog-page-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .catalog-results-panel .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    :root {
        --shell: calc(100% - 24px);
    }

    .page-section {
        padding-block: 44px !important;
    }

    .section-head h1,
    .section-head h2 {
        font-size: 1.6rem !important;
    }

    .market-hero {
        padding-top: 12px;
    }

    .market-hero-primary {
        min-height: 450px;
        grid-template-columns: 1fr;
    }

    .market-hero-copy {
        align-self: start;
        padding: 35px 24px;
    }

    .market-hero-copy h1 {
        font-size: clamp(2.55rem, 13vw, 3.7rem);
    }

    .market-hero-copy > p {
        font-size: .8rem;
    }

    .market-hero-search {
        height: 50px;
    }

    .market-hero-search button {
        height: 42px;
        padding-inline: 15px;
    }

    .market-hero-art {
        position: absolute;
        inset: auto 0 0 auto;
        width: 210px;
        height: 150px;
        opacity: .8;
    }

    .hero-orb-one {
        top: 12px;
        right: 25px;
        width: 78px;
        height: 78px;
        font-size: 1.8rem;
    }

    .hero-orb-two {
        top: 58px;
        right: 112px;
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    .hero-orb-three,
    .hero-price-chip {
        display: none;
    }

    .hero-side-card {
        min-height: 145px;
        padding: 18px;
    }

    .hero-side-card strong {
        font-size: 1.25rem;
    }

    .hero-side-card > i {
        font-size: 2.5rem;
    }

    .market-category-grid {
        gap: 8px;
    }

    .market-category-card {
        min-height: 98px;
        grid-template-columns: 38px minmax(0, 1fr) 22px;
        gap: 8px;
        padding: 10px !important;
    }

    .market-category-icon {
        width: 38px;
        height: 38px;
    }

    .market-category-card h2 {
        font-size: .75rem;
    }

    .market-category-card-foot span {
        display: none;
    }

    .market-category-card-foot strong {
        font-size: .52rem;
    }

    .platform-rail {
        display: flex;
        margin-right: -12px;
        padding: 2px 12px 12px 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .platform-rail > a {
        min-width: 156px;
    }

    .homepage-products-grid,
    .products-grid,
    .catalog-results-panel .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .product-card .product-visual {
        min-height: 136px !important;
        height: 136px;
    }

    .product-brand-logo > i {
        width: 54px;
        height: 54px;
        border-radius: 12px;
        font-size: 1.4rem;
    }

    .product-card .product-body {
        min-height: 220px !important;
        padding: 10px !important;
    }

    .product-card .product-meta {
        font-size: .44rem;
    }

    .product-card .product-body h3 {
        min-height: 37px;
        font-size: .69rem;
    }

    .product-summary {
        display: none;
    }

    .product-attribute-row span:nth-child(n + 2) {
        display: none;
    }

    .product-card .seller-name {
        font-size: .48rem;
    }

    .product-card .seller-name > span {
        display: none;
    }

    .product-card .product-price-row strong {
        font-size: .98rem;
    }

    .product-card .product-price-row del {
        display: none;
    }

    .product-cart-button.product-buy-now {
        min-width: 38px;
        height: 34px;
        padding: 0 10px;
        font-size: 0;
    }

    .product-cart-button.product-buy-now i {
        font-size: .64rem;
    }

    .product-cart-button.product-buy-now:disabled {
        min-width: 58px;
        font-size: .52rem;
    }

    .seller-leaderboard-card {
        grid-template-columns: 1fr;
    }

    .seller-leaderboard-card > header,
    .seller-leaderboard-card.monthly > header {
        min-height: 145px;
    }

    .seller-leaderboard-card ol {
        grid-template-columns: 1fr;
    }

    .seller-leaderboard-card li,
    .seller-leaderboard-card li:nth-child(n + 4) {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr) auto;
        align-items: center;
        border-top: 1px solid #2b3039 !important;
        border-left: 0 !important;
    }

    .seller-leaderboard-card li a {
        display: flex;
        align-items: center;
    }

    .top-stores-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-item:nth-child(2) {
        border-right: 0 !important;
    }

    .feature-item:nth-child(-n + 2) {
        border-bottom: 1px solid #2b3039 !important;
    }

    .catalog-page-hero {
        padding: 34px 0 38px !important;
    }

    .catalog-page-hero h1 {
        font-size: 2.55rem;
    }

    .catalog-page-category-grid {
        gap: 8px;
    }

    .catalog-category-card {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 8px;
        padding: 10px;
    }

    .catalog-category-card .service-icon {
        width: 38px;
        height: 38px;
    }

    .catalog-category-card dl {
        display: none;
    }

    .catalog-filter-panel .catalog-page-filter {
        grid-template-columns: 1fr !important;
    }

    .mobile-menu {
        width: min(310px, 86vw);
    }
}

@media (max-width: 430px) {
    .brand-mark {
        width: 35px !important;
        height: 35px !important;
    }

    .brand-name {
        font-size: 1.25rem !important;
    }

    .market-hero-primary {
        min-height: 470px;
    }

    .market-hero-search {
        grid-template-columns: 34px minmax(0, 1fr) auto;
    }

    .market-hero-search button {
        padding-inline: 11px;
        font-size: .65rem;
    }

    .market-hero-side {
        gap: 8px;
    }

    .hero-side-card {
        min-height: 130px;
        padding: 14px;
    }

    .hero-side-card > i {
        display: none;
    }

    .marketplace-section-heading h2 {
        font-size: 1.3rem !important;
    }

    .marketplace-live-stats-grid strong {
        font-size: .9rem;
    }

    .marketplace-live-stats-grid small {
        font-size: .48rem;
    }

    .product-card .stock-pill,
    .product-featured-pill {
        padding: 5px 6px;
        font-size: .42rem;
    }

    .product-featured-pill {
        font-size: 0;
    }

    .product-featured-pill i {
        font-size: .5rem;
    }

    .catalog-page-search .button {
        padding-inline: 14px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}