/*
 * HStockHub Company Marketplace
 * Final storefront layer for the homepage, catalog, and product experience.
 * Loaded after the legacy style stack so one coherent system owns commerce UI.
 */

:root {
    --company-ink: #0b1424;
    --company-ink-soft: #18243a;
    --company-copy: #536176;
    --company-muted: #7f8a9e;
    --company-line: #dfe5ee;
    --company-line-strong: #cdd6e3;
    --company-canvas: #f3f6fa;
    --company-surface: #ffffff;
    --company-blue: #4d6bfe;
    --company-blue-dark: #334dcc;
    --company-mint: #39dfa9;
    --company-mint-soft: #e9fbf5;
    --company-gold: #f7c968;
    --company-radius-sm: 12px;
    --company-radius: 20px;
    --company-radius-lg: 30px;
    --company-shadow-sm: 0 8px 28px rgba(19, 34, 59, .07);
    --company-shadow: 0 22px 60px rgba(19, 34, 59, .12);
    --company-shadow-lg: 0 36px 100px rgba(10, 21, 39, .2);
    --hub-ink: var(--company-ink);
    --hub-blue: var(--company-blue);
    --hub-blue-dark: var(--company-blue-dark);
    --hub-cyan: var(--company-mint);
    --hub-lime: var(--company-mint);
    --hub-canvas: var(--company-canvas);
    --hub-line: var(--company-line);
}

body {
    background: var(--company-canvas);
    color: var(--company-ink);
}

.shell {
    width: min(1280px, calc(100% - 56px));
}

.page-section {
    padding: 82px 0;
}

.eyebrow,
.marketplace-kicker {
    color: var(--company-blue) !important;
    font-size: .7rem !important;
    font-weight: 850 !important;
    letter-spacing: .15em !important;
}

.eyebrow::before {
    width: 24px;
    height: 2px;
    background: var(--company-mint) !important;
}

.button {
    min-height: 48px;
    border-radius: var(--company-radius-sm) !important;
    letter-spacing: -.01em;
}

.button-gradient {
    background: var(--company-ink) !important;
    box-shadow: 0 12px 26px rgba(11, 20, 36, .18) !important;
}

.button-gradient:hover {
    background: var(--company-blue) !important;
    box-shadow: 0 16px 34px rgba(77, 107, 254, .26) !important;
}

/* Company navigation */

.site-header {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 36px rgba(11, 20, 36, .075);
}

.header-utility {
    min-height: 33px;
    background: var(--company-ink);
}

.header-utility-inner {
    min-height: 33px;
}

.header-utility p i {
    color: var(--company-mint);
}

.header-inner {
    min-height: 80px;
}

.brand-mark,
.market-brand-mark {
    border-radius: 14px 14px 14px 4px !important;
    background:
        radial-gradient(circle at 76% 20%, var(--company-mint) 0 8%, transparent 9%),
        linear-gradient(145deg, #5f7aff 0%, var(--company-blue) 52%, #293fae 100%) !important;
    box-shadow: 0 12px 25px rgba(77, 107, 254, .27) !important;
}

.brand-name span {
    color: var(--company-blue);
}

.brand-copy > small {
    color: #7d899d;
    font-size: .57rem;
    letter-spacing: .13em;
}

.header-search {
    min-height: 50px;
    border-color: var(--company-line);
    border-radius: 14px;
    background: #f5f7fa;
}

.header-search:focus-within {
    border-color: rgba(77, 107, 254, .6);
    box-shadow: 0 0 0 4px rgba(77, 107, 254, .09);
}

.header-search > button {
    border-radius: 10px;
    background: var(--company-ink);
    box-shadow: none;
}

.header-search > button:hover {
    background: var(--company-blue);
}

.header-action-link:hover {
    background: #f2f5f9;
}

.header-action-icon {
    border-color: var(--company-line);
    color: var(--company-ink);
}

.header-cart-link .header-action-icon {
    background: var(--company-blue);
}

.header-cart-link .header-action-icon b {
    background: var(--company-mint);
}

.desktop-category-bar {
    border-top-color: #edf0f5;
    background: #fff;
}

.desktop-category-bar-inner {
    min-height: 48px;
    align-items: center;
}

.desktop-marketplace-trigger {
    min-height: 38px;
    border-radius: 10px;
    background: var(--company-ink);
}

.desktop-marketplace-trigger:hover,
.desktop-marketplace-trigger.active,
.desktop-marketplace-dropdown.is-open .desktop-marketplace-trigger {
    background: var(--company-blue);
}

.desktop-category-links a {
    min-height: 46px;
    color: #48556a;
}

.desktop-category-links a:hover {
    color: var(--company-blue);
    background: #f5f7ff;
}

.desktop-sell-link {
    color: var(--company-blue);
}

.desktop-marketplace-panel {
    border-radius: 22px;
    box-shadow: var(--company-shadow-lg);
}

/* Homepage: editorial company hero */

.marketplace-home {
    background: var(--company-canvas);
}

.marketplace-home .hub-hero {
    padding: 84px 0 88px;
    background:
        radial-gradient(circle at 82% 0, rgba(57, 223, 169, .15), transparent 25%),
        radial-gradient(circle at 5% 100%, rgba(77, 107, 254, .1), transparent 28%),
        #edf2f7;
    color: var(--company-ink);
}

.marketplace-home .hub-hero::before {
    opacity: .45;
    background-image:
        linear-gradient(rgba(11, 20, 36, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 20, 36, .04) 1px, transparent 1px);
    mask-image: linear-gradient(to right, black, transparent 68%);
}

.marketplace-home .hub-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr);
    gap: clamp(55px, 7vw, 96px);
}

.marketplace-home .hub-hero-copy::before {
    position: absolute;
    top: -38px;
    left: -56px;
    width: 115px;
    height: 115px;
    border: 1px solid rgba(77, 107, 254, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(77, 107, 254, .03);
    content: "";
}

.marketplace-home .hub-hero-kicker {
    position: relative;
    margin-bottom: 25px;
    border-color: rgba(11, 20, 36, .1);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 8px 24px rgba(19, 34, 59, .06);
    color: #445167;
}

.marketplace-home .hub-hero-kicker i {
    color: var(--company-blue);
}

.marketplace-home .hub-hero h1 {
    max-width: 750px;
    color: var(--company-ink);
    font-size: clamp(3.4rem, 6vw, 6.15rem);
    line-height: .94;
}

.marketplace-home .hub-hero h1 span {
    display: inline;
    background: linear-gradient(96deg, var(--company-blue), #278db4 62%, #0a9b73);
    -webkit-background-clip: text;
    background-clip: text;
}

.marketplace-home .hub-hero-copy > p {
    max-width: 680px;
    color: var(--company-copy);
    font-size: 1.03rem;
}

.marketplace-home .hub-hero-search {
    max-width: 690px;
    border-color: var(--company-line);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 19px 46px rgba(19, 34, 59, .1);
}

.marketplace-home .hub-hero-search input {
    color: var(--company-ink);
}

.marketplace-home .hub-hero-search input::placeholder {
    color: #8b96a8;
}

.marketplace-home .hub-hero-search button {
    min-width: 155px;
    background: var(--company-ink);
    color: #fff;
}

.marketplace-home .hub-hero-search button:hover {
    background: var(--company-blue);
    box-shadow: 0 12px 28px rgba(77, 107, 254, .24);
}

.marketplace-home .hub-button-primary {
    background: var(--company-blue);
    box-shadow: 0 14px 30px rgba(77, 107, 254, .24);
}

.marketplace-home .hub-button-secondary {
    border-color: var(--company-line-strong);
    background: rgba(255, 255, 255, .64);
    color: var(--company-ink) !important;
}

.marketplace-home .hub-button-secondary:hover {
    border-color: var(--company-blue);
    background: #fff;
}

.marketplace-home .hub-hero-proof {
    color: #667287;
}

.marketplace-home .hub-hero-proof i {
    color: #0b9f75;
}

.marketplace-home .hub-hero-stage {
    min-height: 540px;
}

.marketplace-home .hub-showcase {
    top: 25px;
    right: 0;
    width: min(500px, 94%);
    border-color: rgba(255, 255, 255, .11);
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 0, rgba(57, 223, 169, .2), transparent 29%),
        linear-gradient(145deg, #0b1424, #17243a);
    box-shadow: 0 38px 90px rgba(11, 20, 36, .28);
    transform: rotate(1.2deg);
}

.marketplace-home .hub-showcase-head small,
.marketplace-home .hub-showcase-feature small,
.marketplace-home .hub-showcase-feature p,
.marketplace-home .hub-showcase-foot small {
    color: #96a5bc;
}

.marketplace-home .hub-showcase-feature {
    background: rgba(255, 255, 255, .045);
}

.marketplace-home .hub-showcase-icon {
    background: linear-gradient(145deg, var(--company-blue), #3349b4);
}

.marketplace-home .hub-showcase-grid a > i {
    color: var(--company-mint);
}

.marketplace-home .hub-live-dot {
    background: var(--company-mint);
    box-shadow: 0 0 0 6px rgba(57, 223, 169, .12);
}

.marketplace-home .hub-float-card {
    border-color: #fff;
    border-radius: 17px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 52px rgba(11, 20, 36, .2);
}

.marketplace-home .hub-float-card > span:first-child {
    background: #edf1ff;
    color: var(--company-blue);
}

.marketplace-home .hub-float-trust > i {
    color: #0b9f75;
}

.marketplace-home .hub-orbit {
    border-color: rgba(11, 20, 36, .09);
}

.marketplace-home .marketplace-discovery {
    padding: 90px 0 48px;
    background: var(--company-canvas);
}

.marketplace-section-heading h2,
.platform-rail-heading h2,
.section-head h2 {
    font-size: clamp(2rem, 3.25vw, 3.15rem);
    line-height: 1.04;
}

.market-category-grid {
    gap: 17px;
}

.marketplace-home .market-category-card {
    display: grid;
    min-height: 218px;
    grid-template-columns: 58px 1fr 34px;
    grid-template-rows: auto 1fr auto;
    align-items: start;
    padding: 22px;
    border: 1px solid var(--company-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--company-shadow-sm);
}

.marketplace-home .market-category-card::before {
    right: -38px;
    bottom: -45px;
    width: 145px;
    height: 145px;
    background: color-mix(in srgb, var(--category-accent) 9%, transparent);
}

.marketplace-home .market-category-card:hover {
    border-color: color-mix(in srgb, var(--category-accent) 36%, var(--company-line));
    box-shadow: var(--company-shadow);
    transform: translateY(-7px);
}

.marketplace-home .market-category-icon {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 16px;
    background: color-mix(in srgb, var(--category-accent) 11%, #fff);
    box-shadow: none;
}

.marketplace-home .market-category-arrow {
    width: 34px;
    height: 34px;
    border: 1px solid var(--company-line);
}

.marketplace-home .market-category-card h2 {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
    margin: 27px 0 18px;
    font-size: 1.08rem;
}

.marketplace-home .market-category-card-foot {
    position: relative;
    z-index: 1;
    display: flex;
    grid-column: 1 / -1;
    grid-row: 3;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #edf0f5;
}

.marketplace-home .market-category-card-foot span,
.marketplace-home .market-category-card-foot strong {
    font-size: .65rem;
}

.popular-platforms-section {
    padding: 42px 0 78px;
    background: var(--company-canvas);
}

.platform-rail > a {
    border-color: var(--company-line);
    border-radius: 18px;
    box-shadow: var(--company-shadow-sm);
}

.platform-rail > a:hover {
    box-shadow: 0 18px 38px rgba(19, 34, 59, .11);
}

.marketplace-live-stats-grid {
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% -100%, rgba(57, 223, 169, .36), transparent 43%),
        var(--company-ink);
}

.marketplace-live-stats-grid > div > span {
    color: var(--company-mint);
}

/* Shared premium product cards */

.homepage-products-grid,
.products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px !important;
}

.product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid var(--company-line) !important;
    border-radius: 21px !important;
    background: #fff !important;
    box-shadow: var(--company-shadow-sm) !important;
}

.product-card:hover {
    border-color: color-mix(in srgb, var(--brand-color) 32%, var(--company-line)) !important;
    box-shadow: var(--company-shadow) !important;
    transform: translateY(-6px) !important;
}

.product-card .product-visual {
    min-height: 190px !important;
    border-radius: 0 !important;
}

.product-card .product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .product-brand-logo {
    width: 82px;
    height: 82px;
    border-radius: 23px;
}

.product-card .product-brand-logo small {
    max-width: 68px;
    overflow: hidden;
    font-size: .58rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card .product-body {
    min-height: 292px !important;
    flex: 1;
    padding: 19px !important;
}

.product-card .product-body h3 {
    font-size: .98rem;
    line-height: 1.35;
}

.product-card .product-summary {
    display: -webkit-box;
    overflow: hidden;
    color: var(--company-copy);
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card .product-meta > span:first-child,
.product-card .product-attribute-row span {
    border-color: #e5e9f0;
    background: #f6f8fb;
}

.product-card .product-price-row {
    margin-top: auto;
}

.product-card .product-price-row strong {
    font-size: 1.32rem;
}

.product-card-actions {
    border-top-color: #edf0f5;
}

.product-view-link {
    color: var(--company-blue) !important;
}

.product-cart-button {
    background: var(--company-ink) !important;
}

.product-cart-button:hover {
    background: var(--company-blue) !important;
}

.homepage-featured {
    margin-top: 68px;
}

.seller-leaderboard-card,
.top-store-card,
.market-testimonial-card,
.market-faq-item,
.marketplace-empty-card {
    border-color: var(--company-line) !important;
    box-shadow: var(--company-shadow-sm) !important;
}

.seller-leaderboard-card header,
.feature-band {
    background: var(--company-ink);
}

.seller-leaderboard-card.monthly header {
    background: linear-gradient(125deg, #314abf, var(--company-blue));
}

.market-faq-layout {
    background:
        radial-gradient(circle at 8% 8%, rgba(57, 223, 169, .15), transparent 27%),
        var(--company-ink);
}

.market-home-cta-inner {
    background:
        radial-gradient(circle at 92% 0, rgba(57, 223, 169, .24), transparent 29%),
        linear-gradient(115deg, #304bc4, var(--company-blue));
}

/* Catalog: professional two-column commerce workspace */

.catalog-page {
    background: var(--company-canvas);
}

.catalog-page-hero {
    padding: 72px 0 74px;
    background:
        radial-gradient(circle at 88% 10%, rgba(57, 223, 169, .24), transparent 26%),
        linear-gradient(122deg, #0b1424 0%, #15233a 68%, #173147 100%);
}

.catalog-page-hero::after {
    opacity: .12;
}

.catalog-page-hero h1 {
    max-width: 900px;
    font-size: clamp(2.8rem, 5.2vw, 5.3rem);
    letter-spacing: -.065em;
}

.catalog-page-hero .eyebrow {
    color: var(--company-mint) !important;
}

.catalog-page-search {
    display: grid;
    grid-template-columns: 1fr auto;
    max-width: 720px;
    margin-top: 28px;
    padding: 7px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
}

.catalog-page-search input {
    min-width: 0;
    padding: 0 15px;
}

.catalog-page-search .button-gradient {
    background: var(--company-mint) !important;
    box-shadow: none !important;
    color: var(--company-ink) !important;
}

.catalog-directory-section {
    padding: 56px 0 44px !important;
    background: #fff;
}

.catalog-page-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.catalog-category-card {
    min-height: 144px;
    padding: 17px !important;
    border-color: var(--company-line) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

.catalog-category-card:hover,
.catalog-category-card.active {
    border-color: color-mix(in srgb, var(--catalog-color) 40%, var(--company-line)) !important;
    box-shadow: var(--company-shadow-sm) !important;
}

.catalog-category-card .service-icon {
    width: 44px;
    height: 44px;
}

.catalog-category-card dl {
    padding-top: 13px;
    border-top-color: #edf0f5;
}

.catalog-products-section {
    padding: 72px 0 94px;
    background: var(--company-canvas);
}

.catalog-results-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
}

.catalog-results-intro h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -.05em;
}

.catalog-results-intro p {
    margin: 8px 0 0;
    color: var(--company-copy);
}

.catalog-result-count {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 11px 15px;
    border: 1px solid var(--company-line);
    border-radius: 999px;
    background: #fff;
    color: var(--company-copy);
    font-size: .76rem;
    font-weight: 700;
    white-space: nowrap;
}

.catalog-result-count strong {
    color: var(--company-ink);
    font-size: 1rem;
}

.catalog-commerce-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.catalog-filter-panel {
    position: sticky;
    top: 184px;
    overflow: hidden;
    border: 1px solid var(--company-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--company-shadow-sm);
}

.catalog-filter-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid var(--company-line);
    background: linear-gradient(135deg, #f5f7ff, #f2fbf8);
}

.catalog-filter-heading > span {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: var(--company-blue);
    color: #fff;
}

.catalog-filter-heading > div {
    display: grid;
    gap: 2px;
}

.catalog-filter-heading strong {
    font-size: .83rem;
}

.catalog-filter-heading small {
    color: var(--company-muted);
    font-size: .63rem;
    line-height: 1.4;
}

.catalog-page-filter {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.catalog-page-filter .field {
    display: grid;
    gap: 6px;
}

.catalog-page-filter .field label {
    color: #455268;
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .03em;
}

.catalog-page-filter .field input,
.catalog-page-filter .field select {
    width: 100%;
    min-height: 45px;
    padding: 0 12px;
    border: 1px solid var(--company-line) !important;
    border-radius: 11px !important;
    background: #f7f9fb !important;
    color: var(--company-ink) !important;
    font-size: .74rem;
}

.catalog-page-filter .field input:focus,
.catalog-page-filter .field select:focus {
    border-color: rgba(77, 107, 254, .6) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(77, 107, 254, .08) !important;
}

.catalog-page-filter .button {
    margin-top: 4px;
}

.catalog-clear-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--company-copy);
    font-size: .7rem;
    font-weight: 750;
}

.catalog-clear-filters:hover {
    color: var(--company-blue);
}

.catalog-filter-assurance {
    display: flex;
    gap: 11px;
    padding: 17px 20px;
    border-top: 1px solid var(--company-line);
    background: var(--company-ink);
    color: #fff;
}

.catalog-filter-assurance > i {
    margin-top: 3px;
    color: var(--company-mint);
}

.catalog-filter-assurance p,
.catalog-filter-assurance strong,
.catalog-filter-assurance small {
    display: block;
    margin: 0;
}

.catalog-filter-assurance strong {
    font-size: .7rem;
}

.catalog-filter-assurance small {
    margin-top: 3px;
    color: #99a8bf;
    font-size: .59rem;
    line-height: 1.45;
}

.catalog-listing-panel {
    min-width: 0;
}

.catalog-listing-toolbar {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 11px 13px 11px 17px;
    border: 1px solid var(--company-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(19, 34, 59, .05);
}

.catalog-listing-toolbar > div {
    display: flex;
    align-items: center;
    gap: 11px;
}

.catalog-listing-toolbar p,
.catalog-listing-toolbar strong,
.catalog-listing-toolbar small {
    display: block;
    margin: 0;
}

.catalog-listing-toolbar strong {
    font-size: .75rem;
}

.catalog-listing-toolbar small {
    color: var(--company-muted);
    font-size: .62rem;
}

.catalog-live-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #12b981;
    box-shadow: 0 0 0 6px rgba(18, 185, 129, .1);
}

.catalog-sort-form {
    display: flex;
    align-items: center;
    gap: 9px;
}

.catalog-sort-form label {
    color: var(--company-muted);
    font-size: .65rem;
    font-weight: 750;
}

.catalog-sort-form select {
    min-height: 42px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--company-line);
    border-radius: 10px;
    background: #f7f9fb;
    color: var(--company-ink);
    font-size: .71rem;
    font-weight: 750;
}

.catalog-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-results-grid .product-card .product-body {
    min-height: 300px !important;
}

.catalog-empty-state {
    display: grid;
    min-height: 420px;
    place-items: center;
    align-content: center;
    border: 1px solid var(--company-line);
    border-radius: 22px;
    background: #fff;
}

.catalog-empty-state > span {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 19px;
    background: #edf1ff;
    color: var(--company-blue);
    font-size: 1.25rem;
}

/* Product detail: gallery + transaction panel + structured information */

.product-page {
    background: var(--company-canvas);
}

.product-commerce-section {
    padding: 38px 0 78px;
    background:
        radial-gradient(circle at 90% 0, rgba(77, 107, 254, .07), transparent 24%),
        var(--company-canvas);
}

.product-breadcrumb {
    margin-bottom: 24px;
    color: var(--company-muted);
}

.product-breadcrumb a {
    color: #536176;
}

.product-breadcrumb a:hover {
    color: var(--company-blue);
}

.product-commerce-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
    align-items: start;
    gap: 30px;
}

.product-gallery-panel,
.product-purchase-panel,
.product-description-card,
.product-specification-card {
    border: 1px solid var(--company-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--company-shadow-sm);
}

.product-gallery-panel {
    position: sticky;
    top: 180px;
    overflow: hidden;
    padding: 14px;
}

.product-gallery-panel .large-product-visual {
    min-height: 540px;
    overflow: hidden;
    border-radius: 19px;
    background:
        radial-gradient(circle at 75% 20%, rgba(57, 223, 169, .17), transparent 30%),
        radial-gradient(circle at 15% 90%, rgba(77, 107, 254, .13), transparent 32%),
        linear-gradient(145deg, #f0f3fa, #eaf0f4) !important;
}

.product-gallery-panel .large-product-visual::before {
    position: absolute;
    inset: 0;
    opacity: .45;
    background-image:
        linear-gradient(rgba(11, 20, 36, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 20, 36, .035) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
}

.product-gallery-panel .brand-orb {
    position: relative;
    z-index: 2;
    display: grid;
    width: 210px;
    height: 210px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 60px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 30px 70px rgba(19, 34, 59, .15);
    color: var(--company-blue);
    font-family: "Space Grotesk", sans-serif;
    font-size: 4.5rem;
    backdrop-filter: blur(10px);
}

.product-detail-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-approval-badge {
    position: absolute;
    z-index: 4;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 22px rgba(19, 34, 59, .09);
    color: #167c5e;
    font-size: .67rem;
    font-weight: 850;
    backdrop-filter: blur(9px);
}

.product-gallery-assurance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 16px 4px 2px;
}

.product-gallery-assurance > div {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px;
    border-right: 1px solid var(--company-line);
}

.product-gallery-assurance > div:last-child {
    border-right: 0;
}

.product-gallery-assurance i {
    color: var(--company-blue);
}

.product-gallery-assurance span,
.product-gallery-assurance strong,
.product-gallery-assurance small {
    display: block;
}

.product-gallery-assurance strong {
    font-size: .64rem;
}

.product-gallery-assurance small {
    margin-top: 2px;
    color: var(--company-muted);
    font-size: .54rem;
    line-height: 1.35;
}

.product-purchase-panel {
    padding: clamp(27px, 3.5vw, 43px);
}

.product-taxonomy {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.product-taxonomy a,
.product-taxonomy span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #e1e6ee;
    border-radius: 999px;
    background: #f6f8fb;
    color: #5e6b80;
    font-size: .62rem;
    font-weight: 800;
}

.product-taxonomy a {
    border-color: #dce2ff;
    background: #f0f3ff;
    color: var(--company-blue);
}

.product-purchase-panel h1 {
    margin: 20px 0 14px;
    color: var(--company-ink);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.03;
    letter-spacing: -.06em;
}

.product-reputation-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 17px;
    color: #657186;
    font-size: .69rem;
    font-weight: 700;
}

.product-reputation-row span,
.product-reputation-row a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-reputation-row a {
    color: var(--company-blue);
}

.product-rating i {
    color: #f2ad2f;
}

.product-reputation-row span:last-child i {
    color: #0b9f75;
}

.product-lead {
    margin: 23px 0 0;
    color: var(--company-copy);
    font-size: .95rem;
    line-height: 1.75;
}

.product-price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 27px;
    padding: 19px 20px;
    border: 1px solid #dfe5f0;
    border-radius: 17px;
    background: linear-gradient(135deg, #f5f7ff, #f1faf7);
}

.product-price-box > div,
.product-price-box > div > span {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.product-price-box > div {
    display: grid;
    gap: 2px;
}

.product-price-box small {
    color: var(--company-muted);
    font-size: .62rem;
    font-weight: 750;
}

.product-price-box strong {
    color: var(--company-ink);
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.05rem;
}

.product-price-box del {
    color: #8b96a8;
    font-size: .82rem;
}

.product-price-box .stock-tag {
    gap: 6px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(19, 34, 59, .06);
}

.product-primary-buy {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    margin: 16px 0 10px;
}

.product-primary-buy .quantity-control {
    min-height: 54px;
    grid-template-columns: 42px 1fr 42px;
    border-color: var(--company-line);
    border-radius: 12px;
    background: #f6f8fb;
}

.product-primary-buy > .button {
    min-width: 0;
    gap: 10px;
}

.product-detail-cart-form .button {
    gap: 9px;
}

.product-secondary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-top: 15px;
    padding: 14px 0 0;
    border-top: 1px solid var(--company-line);
}

.product-secondary-actions a,
.product-secondary-actions button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #536176;
    font-size: .69rem;
    font-weight: 750;
}

.product-secondary-actions a:hover,
.product-secondary-actions button:hover {
    color: var(--company-blue);
}

.product-seller-card {
    margin-top: 22px;
    padding: 17px !important;
    border-color: var(--company-line) !important;
    border-radius: 17px !important;
    background: #f8f9fc !important;
    box-shadow: none !important;
}

.product-seller-card .seller-logo {
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 14px !important;
}

.product-seller-card .seller-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-seller-card > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.product-seller-card > div:nth-child(2) small,
.product-seller-card > div:nth-child(2) strong,
.product-seller-card > div:nth-child(2) span {
    display: block;
}

.product-seller-card > div:nth-child(2) small,
.product-seller-card > div:nth-child(2) span {
    color: var(--company-muted);
    font-size: .61rem;
}

.product-seller-card > div:nth-child(2) strong {
    margin: 2px 0;
    overflow: hidden;
    font-size: .82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-seller-card > div:nth-child(2) strong i {
    color: var(--company-blue);
}

.product-information-section {
    padding: 0 0 76px;
}

.product-information-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr);
    align-items: start;
    gap: 24px;
}

.product-description-card,
.product-specification-card {
    padding: clamp(27px, 3.5vw, 42px);
}

.product-description-card h2,
.product-specification-card h2 {
    margin: 0 0 20px;
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    line-height: 1.1;
}

.product-description-card > p {
    margin: 0;
    color: var(--company-copy);
    font-size: .91rem;
    line-height: 1.9;
}

.product-delivery-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    margin-top: 28px;
    padding: 20px;
    border: 1px solid #dce3f0;
    border-radius: 17px;
    background: #f5f7ff;
}

.product-delivery-note > span {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 13px;
    background: var(--company-blue);
    color: #fff;
}

.product-delivery-note h3 {
    margin: 0 0 5px;
    font-size: .9rem;
}

.product-delivery-note p {
    margin: 0;
    color: var(--company-copy);
    font-size: .78rem;
    line-height: 1.65;
}

.product-description-card .warning-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    font-size: .7rem;
    line-height: 1.6;
}

.product-specification-card {
    position: sticky;
    top: 180px;
}

.product-specification-card .product-spec-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
}

.product-specification-card .product-spec-grid div {
    display: grid;
    grid-template-columns: minmax(100px, .7fr) minmax(0, 1.3fr);
    gap: 12px;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--company-line);
    background: transparent;
}

.product-specification-card .product-spec-grid dt {
    color: var(--company-muted);
    font-size: .65rem;
    font-weight: 700;
}

.product-specification-card .product-spec-grid dd {
    margin: 0;
    color: var(--company-ink);
    font-size: .68rem;
    font-weight: 800;
    text-align: right;
}

.product-specification-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 15px;
    border-radius: 14px;
    background: var(--company-ink);
    color: #fff;
}

.product-specification-foot > i {
    color: var(--company-mint);
    font-size: 1.15rem;
}

.product-specification-foot span,
.product-specification-foot strong,
.product-specification-foot small {
    display: block;
}

.product-specification-foot strong {
    font-size: .69rem;
}

.product-specification-foot small {
    margin-top: 2px;
    color: #94a4bb;
    font-size: .56rem;
}

.product-page #reviews {
    border-top: 1px solid var(--company-line);
    background: #fff;
}

.product-page .review-card {
    border-color: var(--company-line) !important;
    border-radius: 20px !important;
    box-shadow: var(--company-shadow-sm);
}

.product-page .review-stars {
    color: #f2ad2f;
}

.product-page .page-section.compact {
    padding: 75px 0;
}

.product-page .page-section.compact .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Footer finish */

.site-footer {
    background:
        radial-gradient(circle at 10% 110%, rgba(57, 223, 169, .14), transparent 30%),
        radial-gradient(circle at 92% -20%, rgba(77, 107, 254, .17), transparent 30%),
        var(--company-ink);
}

.site-footer::before {
    background: linear-gradient(90deg, var(--company-blue), var(--company-mint));
}

.footer-promise-bar i,
.footer-grid a:hover,
.footer-socials a:hover {
    color: var(--company-mint);
}

/* Responsive commerce layouts */

@media (max-width: 1180px) {
    .shell {
        width: min(100% - 40px, 1280px);
    }

    .homepage-products-grid,
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-page-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-commerce-grid {
        grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
    }

    .product-gallery-panel .large-product-visual {
        min-height: 470px;
    }
}

@media (max-width: 960px) {
    .marketplace-home .hub-hero-grid,
    .product-commerce-grid,
    .product-information-grid {
        grid-template-columns: 1fr;
    }

    .marketplace-home .hub-hero-copy {
        text-align: left;
    }

    .marketplace-home .hub-hero-copy > p,
    .marketplace-home .hub-hero-search {
        margin-left: 0;
    }

    .marketplace-home .hub-hero-actions,
    .marketplace-home .hub-hero-proof {
        justify-content: flex-start;
    }

    .marketplace-home .hub-hero-stage {
        width: min(650px, 100%);
        margin: 10px auto 0;
    }

    .catalog-page-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-commerce-layout {
        grid-template-columns: 1fr;
    }

    .catalog-filter-panel,
    .product-gallery-panel,
    .product-specification-card {
        position: static;
    }

    .catalog-page-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-page-filter .button,
    .catalog-page-filter .catalog-clear-filters {
        align-self: end;
    }

    .catalog-filter-assurance {
        justify-content: center;
    }

    .product-commerce-grid {
        gap: 22px;
    }

    .product-gallery-panel .large-product-visual {
        min-height: 520px;
    }

    .product-information-grid {
        gap: 20px;
    }
}

@media (max-width: 700px) {
    .shell {
        width: min(100% - 24px, 1280px);
    }

    .page-section {
        padding: 58px 0;
    }

    .marketplace-home .hub-hero {
        padding: 48px 0 44px;
    }

    .marketplace-home .hub-hero h1 {
        font-size: clamp(2.65rem, 13vw, 4.4rem);
    }

    .marketplace-home .hub-hero-search {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 8px 12px;
    }

    .marketplace-home .hub-hero-search button {
        grid-column: 1 / -1;
        width: 100%;
        margin-bottom: 0;
    }

    .marketplace-home .hub-button-primary,
    .marketplace-home .hub-button-secondary {
        width: 100%;
    }

    .marketplace-home .hub-hero-proof {
        display: grid;
    }

    .marketplace-home .hub-hero-stage {
        min-height: 450px;
    }

    .marketplace-home .hub-showcase {
        right: 0;
        left: 0;
        width: 100%;
        transform: none;
    }

    .marketplace-section-heading,
    .platform-rail-heading,
    .section-head,
    .catalog-results-intro {
        align-items: flex-start;
    }

    .homepage-products-grid,
    .products-grid,
    .catalog-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px !important;
    }

    .product-card {
        border-radius: 17px !important;
    }

    .product-card .product-visual {
        min-height: 135px !important;
    }

    .product-card .product-brand-logo {
        width: 64px;
        height: 64px;
        border-radius: 19px;
    }

    .product-card .product-body,
    .catalog-results-grid .product-card .product-body {
        min-height: 248px !important;
        padding: 14px !important;
    }

    .product-card .product-body h3 {
        font-size: .79rem;
    }

    .product-card .product-summary,
    .product-card .seller-name {
        display: none;
    }

    .product-card .product-price-row strong {
        font-size: 1.05rem;
    }

    .catalog-page-hero {
        padding: 52px 0 55px;
    }

    .catalog-page-hero h1 {
        font-size: clamp(2.45rem, 12vw, 4rem);
    }

    .catalog-page-search {
        grid-template-columns: 1fr;
    }

    .catalog-page-search input {
        min-height: 49px;
    }

    .catalog-page-category-grid,
    .catalog-page-filter {
        grid-template-columns: 1fr;
    }

    .catalog-results-intro,
    .catalog-listing-toolbar {
        display: grid;
    }

    .catalog-result-count {
        width: max-content;
    }

    .catalog-listing-toolbar {
        padding: 15px;
    }

    .catalog-sort-form {
        justify-content: space-between;
    }

    .catalog-sort-form select {
        min-width: 180px;
    }

    .product-commerce-section {
        padding: 24px 0 56px;
    }

    .product-breadcrumb {
        font-size: .69rem;
    }

    .product-gallery-panel {
        padding: 9px;
        border-radius: 20px;
    }

    .product-gallery-panel .large-product-visual {
        min-height: 365px;
        border-radius: 15px;
    }

    .product-gallery-panel .brand-orb {
        width: 150px;
        height: 150px;
        border-radius: 44px;
        font-size: 3.2rem;
    }

    .product-gallery-assurance {
        grid-template-columns: 1fr;
    }

    .product-gallery-assurance > div {
        border-right: 0;
        border-bottom: 1px solid var(--company-line);
    }

    .product-gallery-assurance > div:last-child {
        border-bottom: 0;
    }

    .product-purchase-panel,
    .product-description-card,
    .product-specification-card {
        padding: 24px 20px;
        border-radius: 21px;
    }

    .product-purchase-panel h1 {
        font-size: clamp(2.1rem, 10vw, 3.25rem);
    }

    .product-price-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-primary-buy {
        grid-template-columns: 1fr;
    }

    .product-seller-card .seller-stat {
        display: none;
    }

    .product-page .page-section.compact .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 410px) {
    .homepage-products-grid,
    .products-grid,
    .catalog-results-grid,
    .product-page .page-section.compact .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card .product-visual {
        min-height: 205px !important;
    }

    .product-card .product-body,
    .catalog-results-grid .product-card .product-body {
        min-height: 270px !important;
    }

    .product-card .product-summary,
    .product-card .seller-name {
        display: block;
    }

    .catalog-sort-form {
        display: grid;
    }

    .catalog-sort-form select {
        min-width: 0;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
 * 2026 marketplace refresh
 * Search-led, category-first commerce UI inspired by modern game marketplaces.
 * ----------------------------------------------------------------------- */

:root {
    --company-ink: #151515;
    --company-ink-soft: #252525;
    --company-copy: #5f6168;
    --company-muted: #85878f;
    --company-line: #e4e4e7;
    --company-line-strong: #d4d4d8;
    --company-canvas: #f5f5f6;
    --company-surface: #ffffff;
    --company-blue: #ff5a1f;
    --company-blue-dark: #e8440d;
    --company-mint: #ffb000;
    --company-mint-soft: #fff5e8;
    --company-gold: #ffb000;
    --company-radius-sm: 9px;
    --company-radius: 14px;
    --company-radius-lg: 22px;
    --company-shadow-sm: 0 5px 18px rgba(20, 20, 20, .06);
    --company-shadow: 0 16px 40px rgba(20, 20, 20, .12);
    --company-shadow-lg: 0 30px 80px rgba(0, 0, 0, .22);
}

body,
body.marketplace-home {
    --market-accent: #ff5a1f;
    --market-accent-dark: #e8440d;
    --market-pink: #ff8a00;
    --market-bg: #f5f5f6;
    --market-card: #fff;
    --market-ink: #151515;
    --market-muted: #6f7178;
    --market-border: #e4e4e7;
    background: var(--company-canvas);
}

.eyebrow,
.marketplace-kicker {
    color: var(--company-blue) !important;
}

.eyebrow::before {
    background: var(--company-blue) !important;
}

.button-gradient,
.marketplace-home .button-gradient {
    background: var(--company-blue) !important;
    box-shadow: 0 10px 22px rgba(255, 90, 31, .22) !important;
}

.button-gradient:hover,
.marketplace-home .button-gradient:hover {
    background: var(--company-blue-dark) !important;
    box-shadow: 0 14px 28px rgba(255, 90, 31, .3) !important;
}

/* Search-first marketplace navigation */

.site-header,
.marketplace-home .site-header {
    background: #fff;
    box-shadow: 0 3px 16px rgba(0, 0, 0, .08);
    backdrop-filter: none;
}

.header-utility,
.marketplace-home .header-utility {
    min-height: 30px;
    color: #cfcfd2;
    background: #171717;
}

.header-utility-inner {
    min-height: 30px;
}

.header-utility p i,
.marketplace-home .header-utility p i {
    color: #ff7a45;
}

.header-inner {
    min-height: 74px;
    height: 74px;
    gap: 15px;
}

.mobile-menu-button {
    display: inline-flex;
    width: auto;
    height: 43px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 13px;
    border: 1px solid #dedee2;
    border-radius: 8px;
    color: #202024;
    background: #fff;
    font-size: .82rem;
}

.mobile-menu-button:hover {
    border-color: #b9b9bf;
    background: #f4f4f5;
}

.mobile-menu-button > i {
    font-size: 1rem;
}

.mobile-menu-button > b {
    font-size: .7rem;
    font-weight: 800;
}

.mobile-menu-button span {
    display: none;
}

.brand-mark,
.marketplace-home .brand-mark,
.market-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px !important;
    background: linear-gradient(145deg, #ff713d, #f2440d) !important;
    box-shadow: 0 8px 18px rgba(242, 68, 13, .22) !important;
}

.brand-mark i {
    background: #ffc400 !important;
}

.brand-name span {
    color: var(--company-blue);
}

.brand-copy > small {
    color: #8b8c92;
}

.header-search,
.marketplace-home .header-search {
    min-height: 48px;
    height: 48px;
    padding: 4px 5px 4px 14px;
    border: 1px solid #cfcfd4;
    border-radius: 8px;
    background: #fff;
}

.header-search:focus-within,
.marketplace-home .header-search:focus-within {
    border-color: var(--company-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 90, 31, .12);
}

.header-search > button {
    min-width: 100px;
    height: 38px;
    border-radius: 6px;
    background: var(--company-blue);
}

.header-search > button:hover {
    background: var(--company-blue-dark);
}

.header-action-icon {
    border-radius: 8px;
}

.header-cart-link .header-action-icon {
    background: #202024;
}

.header-cart-link .header-action-icon b {
    background: var(--company-blue);
}

.desktop-category-bar,
.marketplace-home .desktop-category-bar {
    border-color: #e5e5e7;
    background: #fff;
}

.desktop-category-bar-inner {
    min-height: 45px;
}

.desktop-all-products,
.desktop-deals-link {
    display: inline-flex;
    min-height: 45px;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    color: #242428;
    font-size: .7rem;
    font-weight: 850;
    white-space: nowrap;
}

.desktop-all-products {
    padding-left: 0;
}

.desktop-all-products.active,
.desktop-all-products:hover,
.desktop-deals-link,
.desktop-deals-link:hover {
    color: var(--company-blue);
}

.desktop-category-links a {
    min-height: 45px;
    color: #53545a;
}

.desktop-category-links a:hover {
    color: #151515;
    background: #f1f1f2;
}

.mobile-menu {
    width: min(390px, calc(100vw - 24px));
    background: #fff;
}

.mobile-menu-backdrop {
    background: rgba(0, 0, 0, .66);
}

.mobile-menu-head,
.mobile-menu-foot {
    border-color: #e4e4e7;
}

.mobile-drawer-search {
    border-color: #d6d6da;
    border-radius: 8px;
    background: #f5f5f6;
}

.mobile-drawer-search button {
    border-radius: 6px;
    background: var(--company-blue);
}

.mobile-menu-account > a,
.marketplace-home .mobile-menu-account > a {
    border-color: #ffe0d2;
    background: #fff5ef;
}

.mobile-menu-links a > i,
.marketplace-home .mobile-menu-links a > i {
    color: var(--company-blue);
    background: #fff1ea;
}

.mobile-category-list a > i:first-child {
    color: var(--nav-accent);
    background: color-mix(in srgb, var(--nav-accent) 10%, #fff);
}

/* Compact desktop promotion: intentionally not used on mobile */

.marketplace-promo {
    padding: 26px 0 20px;
    background: #f5f5f6;
}

.marketplace-promo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(310px, .8fr);
    gap: 14px;
}

.marketplace-promo-main,
.marketplace-promo-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.marketplace-promo-main {
    min-height: 350px;
    padding: clamp(34px, 5vw, 62px);
    color: #fff;
    background:
        radial-gradient(circle at 86% 15%, rgba(255, 132, 70, .55), transparent 24%),
        linear-gradient(120deg, #111 0%, #25201d 56%, #552313 100%);
}

.marketplace-promo-main::after {
    position: absolute;
    right: -75px;
    bottom: -155px;
    width: 430px;
    height: 430px;
    border: 72px solid rgba(255, 90, 31, .78);
    border-radius: 50%;
    content: "";
}

.marketplace-promo-kicker {
    display: inline-flex;
    position: relative;
    z-index: 2;
    align-items: center;
    gap: 7px;
    color: #ff9a72;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.marketplace-promo-main h1 {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 16px 0 14px;
    color: #fff;
    font-size: clamp(2.9rem, 5vw, 5.3rem);
    line-height: .93;
    letter-spacing: -.065em;
}

.marketplace-promo-main h1 span {
    color: #ff6a33;
}

.marketplace-promo-main > p {
    position: relative;
    z-index: 2;
    max-width: 530px;
    margin: 0 0 25px;
    color: #c8c8cc;
    font-size: .9rem;
    line-height: 1.65;
}

.marketplace-promo-main > a {
    position: relative;
    z-index: 2;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 7px;
    color: #fff;
    background: var(--company-blue);
    font-size: .73rem;
    font-weight: 850;
}

.marketplace-promo-main > a:hover {
    background: var(--company-blue-dark);
    transform: translateY(-2px);
}

.marketplace-promo-art {
    position: absolute;
    z-index: 2;
    right: 7%;
    bottom: 8%;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 2rem;
    transform: rotate(-8deg);
}

.marketplace-promo-art i {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 20px;
    background: rgba(0, 0, 0, .28);
    box-shadow: 0 20px 35px rgba(0, 0, 0, .25);
    backdrop-filter: blur(8px);
}

.marketplace-promo-art i:nth-child(2) {
    margin-top: -65px;
    color: #171717;
    background: #ffb800;
}

.marketplace-promo-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

.marketplace-promo-card {
    display: grid;
    min-height: 168px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 24px;
    color: #fff;
}

.marketplace-promo-card > span {
    position: relative;
    z-index: 2;
    display: grid;
}

.marketplace-promo-card small {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .72);
    font-size: .62rem;
    font-weight: 750;
    text-transform: uppercase;
}

.marketplace-promo-card strong {
    max-width: 210px;
    font-size: 1.3rem;
    line-height: 1.08;
}

.marketplace-promo-card b {
    margin-top: 15px;
    font-size: .65rem;
}

.marketplace-promo-card > i {
    position: relative;
    z-index: 2;
    margin-right: 5px;
    font-size: 3.7rem;
    opacity: .86;
    transform: rotate(-8deg);
}

.promo-games {
    background: linear-gradient(125deg, #473bdf, #7458ff);
}

.promo-stream {
    background: linear-gradient(125deg, #b71b36, #ed3152);
}

/* Brand-first categories */

.category-first-section,
.marketplace-home .category-first-section {
    padding: 54px 0 48px;
    border: 0;
    background: #fff;
}

.platform-rail-heading {
    margin-bottom: 22px;
}

.platform-rail-heading h2,
.marketplace-section-heading h2,
.section-head h2 {
    font-size: clamp(1.7rem, 2.7vw, 2.6rem);
    letter-spacing: -.045em;
}

.platform-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.platform-rail > a,
.marketplace-home .platform-rail > a {
    display: grid;
    min-width: 0;
    min-height: 132px;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    align-items: end;
    gap: 8px;
    padding: 15px;
    border: 1px solid #e2e2e5;
    border-radius: 10px;
    color: #1d1d20;
    background: #fff;
    box-shadow: none;
}

.platform-rail > a:hover,
.marketplace-home .platform-rail > a:hover {
    border-color: color-mix(in srgb, var(--platform-color) 55%, #dedee2);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .09);
    transform: translateY(-3px);
}

.platform-rail > a > span {
    display: grid;
    width: 52px;
    height: 52px;
    grid-column: 1 / -1;
    align-self: start;
    place-items: center;
    border-radius: 14px;
    color: var(--platform-color);
    background: color-mix(in srgb, var(--platform-color) 9%, #fff);
    font-size: 1.55rem;
}

.platform-rail .fa-instagram {
    color: transparent;
    background: radial-gradient(circle at 68% 68%, #ffdc80 0 8%, #fcaf45 9% 23%, #f77737 24% 40%, #e1306c 41% 62%, #c13584 63% 77%, #833ab4 78% 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.platform-rail .fa-google,
.platform-rail .fa-microsoft {
    color: transparent;
    background: conic-gradient(from 45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
    -webkit-background-clip: text;
    background-clip: text;
}

.platform-rail .fa-tiktok {
    color: #111;
    text-shadow: -2px -1px 0 #25f4ee, 2px 1px 0 #fe2c55;
}

.platform-rail > a > strong {
    overflow: hidden;
    font-size: .74rem;
    text-overflow: ellipsis;
}

.platform-rail > a > i {
    color: #a2a2a8;
    font-size: .62rem;
}

.marketplace-home .marketplace-discovery {
    padding: 50px 0 60px;
    background: #f5f5f6;
}

.market-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.marketplace-home .market-category-card {
    min-height: 170px;
    grid-template-columns: 48px 1fr 30px;
    padding: 18px;
    border-color: #e1e1e4 !important;
    border-radius: 11px;
    box-shadow: none !important;
}

.marketplace-home .market-category-card:hover {
    border-color: color-mix(in srgb, var(--category-accent) 46%, #dddde1) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .09) !important;
    transform: translateY(-4px);
}

.marketplace-home .market-category-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: var(--category-accent);
    background: color-mix(in srgb, var(--category-accent) 10%, #fff);
}

.marketplace-home .market-category-card h2 {
    margin: 20px 0 13px;
}

.marketplace-home .market-category-card-foot {
    padding-top: 11px;
}

.marketplace-live-stats {
    background: #f5f5f6;
}

.marketplace-live-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    border-radius: 10px;
    background: #1b1b1d;
}

.marketplace-live-stats-grid > div > span {
    color: #ff7542;
}

.homepage-featured {
    margin-top: 0;
}

.product-card {
    border-radius: 11px !important;
    box-shadow: none !important;
}

.product-card:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, .1) !important;
}

.product-cart-button {
    background: var(--company-blue) !important;
}

.product-cart-button:hover {
    background: var(--company-blue-dark) !important;
}

.product-view-link {
    color: var(--company-blue) !important;
}

.feature-band,
.marketplace-home .feature-band,
.market-faq-layout {
    background: #1b1b1d;
}

.market-home-cta-inner,
.marketplace-home .market-home-cta-inner {
    background: linear-gradient(118deg, #1c1c1e, #4b2114) !important;
}

.site-footer,
.marketplace-home .site-footer {
    color: #b9b9bd;
    background: #161618;
}

.site-footer::before {
    background: linear-gradient(90deg, var(--company-blue), #ffb000);
}

.footer-promise-bar i,
.footer-grid a:hover,
.footer-socials a:hover {
    color: #ff7542;
}

/* Catalog and product pages share the new orange/charcoal language. */

.catalog-page-hero {
    background:
        radial-gradient(circle at 88% 0, rgba(255, 90, 31, .24), transparent 25%),
        linear-gradient(122deg, #161618 0%, #262226 70%, #4c2216 100%);
}

.catalog-page-search .button-gradient {
    background: var(--company-blue) !important;
    color: #fff !important;
}

.catalog-category-card,
.catalog-filter-panel,
.catalog-listing-toolbar,
.product-gallery-panel,
.product-purchase-panel,
.product-description-card,
.product-specification-card {
    border-radius: 12px;
}

.catalog-filter-heading {
    background: #fff3ed;
}

.catalog-filter-heading > span,
.product-delivery-note > span {
    background: var(--company-blue);
}

.catalog-filter-assurance,
.product-specification-foot {
    background: #1b1b1d;
}

.catalog-filter-assurance > i,
.product-specification-foot > i {
    color: #ff7542;
}

.product-gallery-panel .brand-orb {
    color: var(--company-blue);
}

.product-taxonomy a,
.product-reputation-row a,
.product-gallery-assurance i,
.product-seller-card > div:nth-child(2) strong i {
    color: var(--company-blue);
}

.product-taxonomy a {
    border-color: #ffd6c5;
    background: #fff3ed;
}

.product-price-box,
.product-delivery-note {
    border-color: #f0d6ca;
    background: #fff7f2;
}

@media (max-width: 1180px) {
    .platform-rail {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .marketplace-promo-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr);
    }
}

@media (max-width: 900px) {
    html {
        scroll-padding-top: 124px;
    }

    .header-inner {
        min-height: 124px;
        height: auto;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        grid-template-rows: 64px 52px;
        gap: 0 9px;
        padding-bottom: 8px;
    }

    .mobile-menu-button {
        display: grid;
        width: 42px;
        height: 42px;
        padding: 0;
        place-items: center;
    }

    .mobile-menu-button > b {
        display: none;
    }

    .header-inner > .brand {
        grid-column: 2;
        justify-self: center;
    }

    .header-actions {
        grid-column: 3;
    }

    .header-search,
    .marketplace-home .header-search {
        min-height: 50px;
        height: 50px;
        grid-column: 1 / -1;
        grid-row: 2;
        border: 2px solid #2a2a2d;
        border-radius: 8px;
        box-shadow: 0 5px 14px rgba(0, 0, 0, .08);
    }

    .header-search > i {
        color: #35353a;
    }

    .header-search > button {
        min-width: 44px;
        height: 38px;
    }

    /* No mobile hero: users see search and official-color categories first. */
    .marketplace-home .marketplace-promo {
        display: none;
    }

    .category-first-section,
    .marketplace-home .category-first-section {
        padding: 25px 0 35px;
    }

    .category-first-section .platform-rail-heading {
        margin-bottom: 15px;
    }

    .platform-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .platform-rail > a,
    .marketplace-home .platform-rail > a {
        min-height: 105px;
        padding: 11px;
    }

    .platform-rail > a > span {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.3rem;
    }

    .market-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .marketplace-home .market-category-card {
        min-height: 145px;
    }

    /* Catalog landing also becomes search-only instead of a mobile hero. */
    .catalog-page-hero {
        padding: 14px 0 18px;
        background: #f5f5f6;
    }

    .catalog-page-hero::after,
    .catalog-page-hero .catalog-breadcrumb,
    .catalog-page-hero > .shell > .eyebrow,
    .catalog-page-hero h1,
    .catalog-page-hero > .shell > p {
        display: none;
    }

    .catalog-page-search {
        max-width: none;
        margin: 0;
        padding: 5px;
        border: 2px solid #252529;
        border-radius: 8px;
        background: #fff;
    }

    .catalog-page-search input {
        color: #19191c;
    }
}

@media (max-width: 680px) {
    .platform-rail-heading p,
    .marketplace-section-heading .marketplace-kicker {
        display: none;
    }

    .platform-rail-heading h2,
    .marketplace-section-heading h2 {
        font-size: 1.35rem;
    }

    .platform-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .platform-rail > a,
    .marketplace-home .platform-rail > a {
        min-height: 100px;
    }

    .platform-rail > a:nth-child(n + 10) {
        display: none;
    }

    .marketplace-home .marketplace-discovery {
        padding: 36px 0 44px;
    }

    .marketplace-home .market-category-card {
        min-height: 106px;
        grid-template-columns: 40px minmax(0, 1fr) 24px;
        grid-template-rows: auto 1fr;
        gap: 8px;
        padding: 12px;
    }

    .marketplace-home .market-category-icon {
        width: 40px;
        height: 40px;
    }

    .marketplace-home .market-category-card h2 {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 11px 0 0;
        font-size: .76rem;
    }

    .marketplace-home .market-category-card-foot {
        display: none;
    }

    .marketplace-live-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .catalog-page-search {
        grid-template-columns: 1fr auto;
    }

    .catalog-page-search input {
        min-height: 44px;
    }

    .catalog-page-search .button {
        min-height: 44px;
        padding: 0 14px;
        font-size: 0;
    }

    .catalog-page-search .button::after {
        font-family: "Font Awesome 6 Free";
        font-size: .82rem;
        font-weight: 900;
        content: "\f002";
    }

    .catalog-page-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .catalog-category-card {
        min-height: 120px;
    }
}

@media (max-width: 430px) {
    .header-inner > .brand .brand-copy > small {
        display: none;
    }

    .header-inner .brand-mark {
        width: 38px;
        height: 38px;
    }

    .header-inner .brand-name {
        font-size: 1.05rem;
    }

    .platform-rail > a > strong {
        font-size: .66rem;
    }

    .marketplace-live-stats-grid > div {
        padding-inline: 5px;
    }

    .marketplace-live-stats-grid strong {
        font-size: .95rem;
    }

    .marketplace-live-stats-grid small {
        font-size: .5rem;
    }
}

/* --------------------------------------------------------------------------
 * Violet marketplace direction
 * A distinct, search-led shell inspired by large digital marketplaces without
 * reproducing another company's visual identity.
 * ----------------------------------------------------------------------- */

:root {
    --company-ink: #17151f;
    --company-ink-soft: #292532;
    --company-copy: #625f6d;
    --company-muted: #8b8794;
    --company-line: #e6e3eb;
    --company-line-strong: #d5d0de;
    --company-canvas: #f7f6f9;
    --company-surface: #ffffff;
    --company-blue: #6d4aff;
    --company-blue-dark: #5333d7;
    --company-mint: #22d3a7;
    --company-mint-soft: #eafbf7;
    --company-gold: #ffbd3e;
    --hub-blue: #6d4aff;
    --hub-blue-dark: #5333d7;
    --hub-cyan: #22d3a7;
}

body,
body.marketplace-home {
    --market-accent: #6d4aff;
    --market-accent-dark: #5333d7;
    --market-pink: #ec4899;
    --market-bg: #f7f6f9;
    --market-card: #fff;
    --market-ink: #17151f;
    --market-muted: #706c79;
    --market-border: #e6e3eb;
    background: var(--company-canvas);
}

body,
button,
input,
select,
textarea {
    font-family: "Manrope", sans-serif;
}

h1,
h2,
h3,
h4,
.brand-name,
.product-price-row strong,
.product-price-box strong {
    font-family: "Manrope", sans-serif;
}

h1,
h2,
h3,
h4,
.section-head h2,
.platform-rail-heading h2,
.marketplace-section-heading h2 {
    font-weight: 700;
}

.eyebrow,
.marketplace-kicker,
.marketplace-promo-kicker {
    color: var(--company-blue) !important;
    font-weight: 700 !important;
}

.button-gradient,
.marketplace-home .button-gradient,
.product-cart-button {
    background: var(--company-blue) !important;
    box-shadow: 0 10px 24px rgba(109, 74, 255, .2) !important;
}

.button-gradient:hover,
.marketplace-home .button-gradient:hover,
.product-cart-button:hover {
    background: var(--company-blue-dark) !important;
    box-shadow: 0 13px 28px rgba(109, 74, 255, .28) !important;
}

/* G2A-inspired marketplace shell: compact controls, dominant search, dark rail. */
.site-header,
.marketplace-home .site-header {
    border: 0;
    background: #fff;
    box-shadow: 0 3px 18px rgba(23, 21, 31, .1);
}

.header-inner {
    min-height: 78px;
    height: 78px;
    gap: 16px;
}

.mobile-menu-button {
    border-color: #ded9e6;
    border-radius: 9px;
    color: #211e29;
    background: #fff;
}

.mobile-menu-button:hover {
    border-color: #bdb4cc;
    color: var(--company-blue);
    background: #f7f5ff;
}

.brand-mark,
.marketplace-home .brand-mark,
.market-brand-mark {
    border-radius: 11px !important;
    background: linear-gradient(145deg, #8a6dff, #6542f5 58%, #4728bd) !important;
    box-shadow: 0 9px 21px rgba(109, 74, 255, .25) !important;
}

.brand-mark i {
    background: #32e1b5 !important;
}

.brand-name span {
    color: var(--company-blue);
}

.header-search,
.marketplace-home .header-search {
    min-height: 52px;
    height: 52px;
    padding: 4px 5px 4px 15px;
    border: 2px solid #27232f;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(25, 20, 38, .06);
}

.header-search:focus-within,
.marketplace-home .header-search:focus-within {
    border-color: var(--company-blue);
    box-shadow: 0 0 0 4px rgba(109, 74, 255, .11);
}

.header-search > button {
    min-width: 104px;
    height: 40px;
    border-radius: 7px;
    background: var(--company-blue);
}

.header-search > button:hover {
    background: var(--company-blue-dark);
}

.header-icon-link {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid #e1dde7;
    border-radius: 9px;
    color: #393442;
    background: #fff;
}

.header-icon-link:hover {
    border-color: #c6baf7;
    color: var(--company-blue);
    background: #f7f5ff;
}

.header-icon-link b {
    position: absolute;
    top: -6px;
    right: -6px;
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #ef3e67;
    font-size: .52rem;
}

.header-cart-link .header-action-icon {
    background: #211e29;
}

.header-cart-link .header-action-icon b {
    background: var(--company-blue);
}

.desktop-category-bar,
.marketplace-home .desktop-category-bar {
    border: 0;
    background: #211e29;
}

.desktop-category-bar-inner,
.desktop-category-links a,
.desktop-all-products,
.desktop-deals-link {
    min-height: 46px;
}

.desktop-category-links a,
.desktop-all-products {
    color: #d8d3df;
}

.desktop-category-links a:hover,
.desktop-all-products:hover,
.desktop-all-products.active {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.desktop-deals-link,
.desktop-deals-link:hover {
    color: #cabfff;
}

.desktop-deals-link i {
    color: #ffbd3e;
}

.mobile-menu {
    border-radius: 0 16px 16px 0;
    background: #fff;
}

.mobile-menu-account > a,
.marketplace-home .mobile-menu-account > a {
    border-color: #e4dcff;
    background: #f7f4ff;
}

.mobile-menu-links a > i,
.marketplace-home .mobile-menu-links a > i {
    color: var(--company-blue);
    background: #f0ecff;
}

/* Desktop-only editorial area. The mobile storefront intentionally has none. */
.marketplace-promo-main {
    background:
        radial-gradient(circle at 86% 15%, rgba(139, 111, 255, .68), transparent 26%),
        linear-gradient(120deg, #17151f 0%, #272230 58%, #44328b 100%);
}

.marketplace-promo-main::after {
    border-color: rgba(109, 74, 255, .72);
}

.marketplace-promo-main h1 span,
.marketplace-promo-main > a,
.marketplace-promo-kicker {
    color: #bcaeff;
}

.marketplace-promo-main > a {
    color: #fff;
    background: var(--company-blue);
}

.marketplace-promo-art i:nth-child(2) {
    color: #17151f;
    background: #32e1b5;
}

.promo-games {
    background: linear-gradient(125deg, #4d37c8, #7c60ff);
}

.promo-stream {
    background: linear-gradient(125deg, #9c2768, #e24a93);
}

/* Official brand icons stay in each platform's native color. */
.category-first-section,
.marketplace-home .category-first-section {
    background: #fff;
}

.platform-rail > a,
.marketplace-home .platform-rail > a {
    border-color: #e7e3eb;
    border-radius: 12px;
}

.platform-rail > a:hover,
.marketplace-home .platform-rail > a:hover {
    border-color: color-mix(in srgb, var(--platform-color) 58%, #ded9e6);
    box-shadow: 0 12px 26px rgba(33, 30, 41, .1);
}

.platform-rail > a > span {
    color: var(--platform-color);
    background: color-mix(in srgb, var(--platform-color) 10%, #fff);
}

.marketplace-home .marketplace-discovery,
.marketplace-live-stats {
    background: var(--company-canvas);
}

.marketplace-home .market-category-card {
    border-color: #e7e3eb !important;
    border-radius: 13px;
}

.marketplace-live-stats-grid,
.feature-band,
.marketplace-home .feature-band,
.market-faq-layout,
.catalog-filter-assurance,
.product-specification-foot {
    background: #211e29;
}

.marketplace-live-stats-grid > div > span,
.footer-promise-bar i,
.footer-grid a:hover,
.footer-socials a:hover,
.catalog-filter-assurance > i,
.product-specification-foot > i {
    color: #a994ff;
}

.market-home-cta-inner,
.marketplace-home .market-home-cta-inner {
    background: linear-gradient(118deg, #211e29, #44328b) !important;
}

.site-footer,
.marketplace-home .site-footer {
    background: #19171f;
}

.site-footer::before {
    background: linear-gradient(90deg, var(--company-blue), #22d3a7);
}

.catalog-page-hero {
    background:
        radial-gradient(circle at 88% 0, rgba(109, 74, 255, .35), transparent 28%),
        linear-gradient(122deg, #19171f 0%, #292432 68%, #44328b 100%);
}

.catalog-filter-heading,
.product-price-box,
.product-delivery-note {
    border-color: #e2dcf7;
    background: #f8f6ff;
}

.catalog-filter-heading > span,
.product-delivery-note > span {
    background: var(--company-blue);
}

.product-taxonomy a {
    border-color: #ddd4ff;
    color: var(--company-blue);
    background: #f6f3ff;
}

/* Store cards from previous directions must never reappear in the storefront. */
.top-stores-section,
.seller-cta-band,
.seller-leaderboards-section {
    display: none !important;
}

@media (max-width: 900px) {
    html {
        scroll-padding-top: 132px;
    }

    .header-inner {
        min-height: 132px;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        grid-template-rows: 66px 58px;
        padding-bottom: 8px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-icon-link {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .header-search,
    .marketplace-home .header-search {
        min-height: 56px;
        height: 56px;
        border: 2px solid #27232f;
        border-radius: 11px;
        box-shadow: 0 6px 18px rgba(23, 21, 31, .1);
    }

    .header-search > button {
        height: 44px;
    }

    /* No mobile hero or promotional/store block: search flows into categories. */
    .marketplace-home .marketplace-promo,
    .marketplace-home .top-stores-section,
    .marketplace-home .seller-cta-band {
        display: none !important;
    }

    .category-first-section,
    .marketplace-home .category-first-section {
        padding: 22px 0 30px;
    }

    .platform-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 9px;
    }

    .platform-rail > a,
    .marketplace-home .platform-rail > a {
        min-height: 100px;
        padding: 11px;
        border-radius: 12px;
    }

    .platform-rail > a > span {
        width: 44px;
        height: 44px;
        border-radius: 13px;
        font-size: 1.35rem;
    }

    .catalog-page-hero {
        display: none;
    }

    .catalog-directory-section {
        padding-top: 24px !important;
    }
}

@media (max-width: 680px) {
    .header-search-category,
    .header-search-divider {
        display: none;
    }

    .header-search,
    .marketplace-home .header-search {
        padding-left: 14px;
    }

    .header-search input {
        font-size: .84rem;
    }

    .header-search > button {
        min-width: 48px;
        padding: 0;
    }

    .header-search > button span {
        display: none;
    }

    .platform-rail-heading {
        align-items: center;
    }

    .platform-rail-heading h2 {
        font-size: 1.28rem;
    }

    .platform-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .platform-rail > a,
    .marketplace-home .platform-rail > a {
        min-height: 96px;
    }

    .marketplace-home .marketplace-discovery {
        padding-top: 31px;
    }
}

@media (max-width: 430px) {
    .header-inner {
        grid-template-columns: 42px minmax(0, 1fr) auto;
    }

    .header-actions .header-icon-link {
        display: none;
    }

    .platform-rail > a > strong {
        font-size: .65rem;
        font-weight: 600;
    }
}