/*
 * Accnify Storefront 12.0
 * One visual system for the PHP marketplace, static information pages,
 * storefronts, product detail, checkout, and account panels.
 */

:root {
    --sf-bg: #f4f7fb;
    --sf-surface: #ffffff;
    --sf-surface-soft: #eef4ff;
    --sf-surface-teal: #ecfdf8;
    --sf-ink: #101828;
    --sf-ink-2: #24324a;
    --sf-muted: #667085;
    --sf-line: #e4e9f2;
    --sf-primary: #2563eb;
    --sf-primary-dark: #1748b5;
    --sf-teal: #0d9488;
    --sf-teal-dark: #08766d;
    --sf-orange: #f97316;
    --sf-success: #16845b;
    --sf-danger: #c9364f;
    --sf-warning: #a15c08;
    --sf-navy: #07111f;
    --sf-navy-2: #111c2e;
    --sf-radius-sm: 10px;
    --sf-radius: 16px;
    --sf-radius-lg: 26px;
    --sf-shadow-sm: 0 8px 26px rgba(16, 24, 40, .07);
    --sf-shadow: 0 22px 60px rgba(16, 24, 40, .12);
    --shell: min(1320px, calc(100% - 48px));
    --ink: var(--sf-ink);
    --muted: var(--sf-muted);
    --line: var(--sf-line);
    --surface: var(--sf-surface);
    --soft: var(--sf-surface-soft);
    --teal: var(--sf-primary);
    --teal-dark: var(--sf-primary-dark);
    --blue: var(--sf-primary);
    --brand: var(--sf-primary);
    --brand-2: var(--sf-teal);
    --canvas: var(--sf-bg);
    --market-accent: var(--sf-primary);
    --market-accent-dark: var(--sf-primary-dark);
    --market-bg: var(--sf-bg);
    --market-card: var(--sf-surface);
    --market-ink: var(--sf-ink);
    --market-muted: var(--sf-muted);
    --market-border: var(--sf-line);
    --market-shadow: var(--sf-shadow-sm);
    --market-shadow-hover: var(--sf-shadow);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px;
}

body.accnify-theme,
body.market-catalog-body {
    margin: 0;
    overflow-x: hidden;
    color: var(--sf-ink);
    background: var(--sf-bg);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.accnify-theme *,
body.market-catalog-body * {
    box-sizing: border-box;
}

body.accnify-theme :where(h1, h2, h3, h4),
body.market-catalog-body :where(h1, h2, h3, h4),
body.accnify-theme .brand-name,
body.market-catalog-body .market-brand-name {
    color: var(--sf-ink);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    letter-spacing: -.035em;
}

body.accnify-theme :where(a, button, input, select, textarea, summary):focus-visible,
body.market-catalog-body :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28);
    outline-offset: 3px;
}

body.accnify-theme a,
body.market-catalog-body a {
    text-underline-offset: 3px;
}

.shell,
.market-shell {
    width: var(--shell);
    max-width: none;
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 16px;
    padding: 10px 16px;
    border-radius: 9px;
    color: #fff;
    background: var(--sf-navy);
    transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

/* Shared buttons and fields */
.accnify-theme .button,
.accnify-theme button.button,
.market-catalog-body :where(.product-btn, .submit-btn, .home-primary-button) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #fff;
    background: var(--sf-primary);
    box-shadow: none;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.accnify-theme .button:hover,
.market-catalog-body :where(.product-btn, .submit-btn, .home-primary-button):hover {
    color: #fff;
    background: var(--sf-primary-dark);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .2);
    transform: translateY(-1px);
}

.accnify-theme .button-gradient { background: linear-gradient(135deg, var(--sf-primary), #4f46e5); }
.accnify-theme .button-outline,
.market-catalog-body .home-secondary-button {
    border-color: #cfd7e6;
    color: var(--sf-ink);
    background: #fff;
    box-shadow: none;
}

.accnify-theme .button-outline:hover,
.market-catalog-body .home-secondary-button:hover {
    border-color: var(--sf-primary);
    color: var(--sf-primary);
    background: #f7f9ff;
}

.accnify-theme .button-soft { color: var(--sf-primary); background: var(--sf-surface-soft); }
.accnify-theme .button-danger { color: #fff; background: var(--sf-danger); }
.accnify-theme .button-danger:hover { background: #a9223a; }
.accnify-theme .button[disabled],
.accnify-theme button[disabled] { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }

.accnify-theme :where(input, select, textarea),
.market-catalog-body :where(input, select, textarea) {
    min-width: 0;
    max-width: 100%;
    border: 1px solid #cfd7e6;
    border-radius: 10px;
    color: var(--sf-ink);
    background: #fff;
    box-shadow: none;
    font: inherit;
}

.accnify-theme :where(input, select, textarea):focus,
.market-catalog-body :where(input, select, textarea):focus {
    border-color: var(--sf-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.accnify-theme .field label,
.market-catalog-body :where(.form-group label, .seller-gateway label) {
    color: var(--sf-ink-2);
    font-weight: 750;
}

.eyebrow,
.marketplace-kicker,
.home-eyebrow,
.modal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sf-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Dynamic site header */
.site-header {
    position: sticky;
    z-index: 300;
    top: 0;
    border-bottom: 1px solid var(--sf-line);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 8px 30px rgba(16, 24, 40, .04);
    backdrop-filter: blur(14px);
}

.header-utility {
    color: #dbe7f7;
    background: var(--sf-navy);
}

.header-utility-inner {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 11px;
}

.header-utility p { margin: 0; font-weight: 700; }
.header-utility p i { margin-right: 7px; color: #5eead4; }
.header-utility nav { display: flex; align-items: center; gap: 22px; }
.header-utility a { color: #dbe7f7; text-decoration: none; }
.header-utility a:hover { color: #fff; }

.header-inner {
    min-height: 74px;
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    align-items: center;
    gap: 26px;
}

.brand,
.market-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    color: var(--sf-ink);
    text-decoration: none;
}

.brand-mark,
.market-brand-mark {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, var(--sf-primary), #4f46e5 55%, var(--sf-teal));
    box-shadow: 0 9px 20px rgba(37, 99, 235, .22);
    font-size: 17px;
    font-weight: 900;
}

.brand-mark i { display: none; }
.brand-mark b { position: relative; z-index: 1; }
.brand-name,
.market-brand-name {
    color: var(--sf-ink);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1;
}

.brand-name span,
.market-brand-name span { color: var(--sf-primary); }

.header-search {
    width: 100%;
    max-width: 660px;
    height: 46px;
    justify-self: center;
    display: grid;
    grid-template-columns: auto 1px auto minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d8deea;
    border-radius: 12px;
    background: #f8fafc;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.header-search:focus-within {
    border-color: var(--sf-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .09);
}

.header-search-category { height: 100%; display: flex; align-items: center; }
.header-search-category select {
    height: 100%;
    width: 138px;
    padding: 0 32px 0 13px;
    border: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 750;
}

.header-search-divider { width: 1px; height: 22px; background: #d8deea; }
.header-search > i { margin-left: 13px; color: #98a2b3; }
.header-search input {
    width: 100%;
    height: 100%;
    padding: 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
}

.header-search button {
    height: 38px;
    margin-right: 4px;
    padding: 0 16px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--sf-primary);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.header-search button i { display: none; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.header-action-link {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--sf-ink);
    text-decoration: none;
}

.header-action-icon {
    position: relative;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--sf-line);
    border-radius: 11px;
    color: var(--sf-ink-2);
    background: #fff;
    font-size: 15px;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.header-action-link:hover .header-action-icon {
    border-color: #b9caff;
    color: var(--sf-primary);
    background: #f5f8ff;
}

.header-action-icon b {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: var(--sf-orange);
    font-size: 9px;
}

.header-action-copy { display: grid; line-height: 1.2; }
.header-action-copy small { color: var(--sf-muted); font-size: 10px; }
.header-action-copy strong { color: var(--sf-ink); font-size: 11px; font-weight: 800; }

.desktop-category-bar { border-top: 1px solid #edf0f5; background: #fff; }
.desktop-category-bar-inner { min-height: 44px; display: flex; align-items: center; gap: 20px; }
.desktop-marketplace-dropdown { position: relative; flex: 0 0 auto; }
.desktop-marketplace-trigger {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--sf-navy);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.desktop-marketplace-panel {
    top: calc(100% + 10px);
    width: 310px;
    padding: 10px;
    border: 1px solid var(--sf-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--sf-shadow);
}

.compact-marketplace-links { display: grid; gap: 5px; }
.compact-menu-link {
    min-height: 42px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--sf-ink-2);
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
}

.compact-menu-link:hover { color: var(--sf-primary); background: #f3f6fc; }
.compact-menu-link > i:first-child { color: var(--sf-primary); text-align: center; }
.compact-menu-link > i:last-child { color: #b4bdca; font-size: 9px; }
.desktop-category-links {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
}

.desktop-category-links::-webkit-scrollbar { display: none; }
.desktop-category-links a,
.desktop-sell-link {
    flex: 0 0 auto;
    color: var(--sf-ink-2);
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.desktop-category-links a:hover,
.desktop-sell-link:hover { color: var(--sf-primary); }
.desktop-sell-link { color: var(--sf-primary); }
.mobile-menu-button { display: none; }

.mobile-menu-backdrop {
    position: fixed;
    z-index: 580;
    inset: 0;
    background: rgba(7, 17, 31, .54);
    opacity: 0;
    transition: opacity .2s ease;
}

.mobile-menu-backdrop.is-open { opacity: 1; }
.mobile-menu {
    position: fixed;
    z-index: 600;
    inset: 0 auto 0 0;
    width: min(88vw, 370px);
    padding: 18px;
    overflow-y: auto;
    color: var(--sf-ink);
    background: #fff;
    box-shadow: 20px 0 60px rgba(7, 17, 31, .22);
    transform: translateX(-103%);
    transition: transform .22s ease;
}

.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu[hidden], .mobile-menu-backdrop[hidden] { display: none; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mobile-menu-head > button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--sf-line);
    border-radius: 10px;
    color: var(--sf-ink);
    background: #fff;
    cursor: pointer;
}

.mobile-menu-intro { margin: 24px 0 14px; padding: 16px; border-radius: 14px; color: #d9e5f6; background: var(--sf-navy); }
.mobile-menu-intro span { color: #fff; font-weight: 850; }
.mobile-menu-intro p { margin: 4px 0 0; color: #aebdd1; font-size: 12px; }

/* Homepage hero */
.market-hero {
    position: relative;
    overflow: hidden;
    padding: 36px 0 48px;
    color: #fff;
    background:
        radial-gradient(circle at 12% 15%, rgba(37, 99, 235, .34), transparent 31%),
        radial-gradient(circle at 80% 4%, rgba(13, 148, 136, .24), transparent 29%),
        var(--sf-navy);
}

.market-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .018);
    pointer-events: none;
}

.market-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 18px;
}

.market-hero-primary {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .72fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025));
    box-shadow: inset 0 1px rgba(255, 255, 255, .06);
}

.market-hero-copy { padding: clamp(38px, 5vw, 66px); }
.market-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px;
    border: 1px solid rgba(94, 234, 212, .22);
    border-radius: 999px;
    color: #9ff4e8;
    background: rgba(13, 148, 136, .12);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.market-hero-copy h1 {
    max-width: 700px;
    margin: 20px 0 18px;
    color: #fff;
    font-size: clamp(44px, 5.3vw, 76px);
    line-height: .98;
    letter-spacing: -.065em;
}

.market-hero-copy h1 span { color: #80a8ff; }
.market-hero-copy > p { max-width: 620px; margin: 0; color: #b8c6d9; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; }
.market-hero-search {
    max-width: 660px;
    height: 58px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    margin-top: 26px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.market-hero-search > i { color: #98a2b3; text-align: center; }
.market-hero-search input { height: 100%; padding: 0 8px; border: 0; background: transparent; box-shadow: none; font-size: 13px; }
.market-hero-search button {
    height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--sf-primary);
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.market-hero-trending { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 15px; font-size: 11px; }
.market-hero-trending span { color: #7f91a8; font-weight: 750; }
.market-hero-trending a { color: #dce8f8; text-decoration: none; }
.market-hero-trending a:hover { color: #fff; text-decoration: underline; }
.market-hero-promises { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 25px; padding-top: 21px; border-top: 1px solid rgba(255, 255, 255, .1); }
.market-hero-promises span { color: #c4d0df; font-size: 11px; font-weight: 700; }
.market-hero-promises i { margin-right: 6px; color: #5eead4; }
.market-hero-art { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 11px; padding: 24px 24px 24px 0; }
.hero-showcase-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    color: var(--sf-ink);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease;
}

.hero-showcase-card:hover { transform: translateY(-3px); }
.hero-showcase-main {
    grid-column: 1 / -1;
    min-height: 245px;
    justify-content: flex-end;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(145deg, #2563eb, #4f46e5 62%, #0d9488);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .2);
}

.hero-showcase-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: auto;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .14);
    font-size: 20px;
}

.hero-showcase-main small { color: #cfdbff; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.hero-showcase-main strong { margin-top: 5px; color: #fff; font-size: 22px; line-height: 1.15; }
.hero-showcase-main p { margin: 7px 0 15px; color: #dfe6ff; font-size: 11px; }
.hero-showcase-action { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 11px; font-weight: 800; }
.hero-showcase-stock,
.hero-showcase-rating {
    min-height: 125px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    color: #dce8f8;
    background: rgba(255, 255, 255, .07);
}

.hero-showcase-stock > span { color: #6ee7d4; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.hero-showcase-stock strong { margin-top: auto; color: #fff; font-size: 24px; }
.hero-showcase-stock small,
.hero-showcase-rating small { color: #91a2b9; font-size: 9px; }
.hero-showcase-rating strong { margin-top: auto; color: #fff; font-size: 12px; line-height: 1.35; }
.hero-mini-avatars { display: flex; }
.hero-mini-avatars i { width: 25px; height: 25px; display: grid; place-items: center; margin-right: -6px; border: 2px solid #27354a; border-radius: 50%; color: var(--sf-navy); background: #fff; font-size: 8px; font-style: normal; font-weight: 900; }
.market-hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.hero-side-card {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 24px;
    border-radius: 26px;
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hero-side-card:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0, 0, 0, .2); }
.hero-side-accounts { background: linear-gradient(145deg, #0d9488, #075d58); }
.hero-side-games { background: linear-gradient(145deg, #f97316, #c2410c); }
.hero-side-card span { position: relative; z-index: 1; display: grid; }
.hero-side-card small { color: rgba(255, 255, 255, .74); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.hero-side-card strong { margin: 5px 0 14px; color: #fff; font-size: 26px; }
.hero-side-card b { color: #fff; font-size: 10px; }
.hero-side-card > i { position: absolute; top: 22px; right: 18px; color: rgba(255, 255, 255, .17); font-size: 72px; transform: rotate(-8deg); }

/* Homepage discovery and sections */
.marketplace-discovery,
.popular-platforms-section,
.page-section,
.market-faq-section,
.market-testimonials-section { padding: 72px 0; }

.marketplace-discovery { background: #fff; }
.popular-platforms-section { padding-top: 0; background: #fff; }
.marketplace-section-heading,
.platform-rail-heading,
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.marketplace-section-heading h2,
.platform-rail-heading h2,
.section-head h2 {
    margin: 7px 0 0;
    color: var(--sf-ink);
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.05;
}

.platform-rail-heading p,
.section-head p { margin: 8px 0 0; color: var(--sf-muted); font-size: 13px; }
.marketplace-arrow-link,
.platform-rail-heading > a,
.section-text-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sf-primary);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.marketplace-arrow-link:hover,
.platform-rail-heading > a:hover,
.section-text-link:hover { text-decoration: underline; }
.market-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.market-category-card {
    position: relative;
    min-width: 0;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    padding: 21px;
    overflow: hidden;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    color: var(--sf-ink);
    background: #fff;
    box-shadow: none;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.market-category-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -58px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--category-accent) 11%, transparent);
}

.market-category-card:hover { border-color: color-mix(in srgb, var(--category-accent) 45%, var(--sf-line)); transform: translateY(-4px); box-shadow: var(--sf-shadow-sm); }
.market-category-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--category-accent); background: color-mix(in srgb, var(--category-accent) 10%, #fff); font-size: 20px; }
.market-category-arrow { position: absolute; top: 22px; right: 20px; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--sf-line); border-radius: 10px; color: var(--sf-muted); background: #fff; font-size: 10px; transition: color .18s ease, border-color .18s ease; }
.market-category-card:hover .market-category-arrow { border-color: var(--category-accent); color: var(--category-accent); }
.market-category-card h2,
.market-category-card h3 { margin: auto 0 12px; color: var(--sf-ink); font-size: 18px; line-height: 1.2; }
.market-category-card-foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.market-category-card-foot span { color: var(--category-accent); font-size: 10px; font-weight: 800; }
.market-category-card-foot strong { color: var(--sf-muted); font-size: 9px; font-weight: 700; }
.platform-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(145px, 1fr); gap: 11px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x proximity; scrollbar-color: #cbd5e1 transparent; }
.platform-rail > a {
    min-height: 72px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--sf-line);
    border-radius: 14px;
    color: var(--sf-ink-2);
    background: #fff;
    text-decoration: none;
    scroll-snap-align: start;
    transition: border-color .18s ease, transform .18s ease;
}

.platform-rail > a:hover { border-color: color-mix(in srgb, var(--platform-color) 45%, var(--sf-line)); transform: translateY(-2px); }
.platform-rail > a > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--platform-color); background: color-mix(in srgb, var(--platform-color) 10%, #fff); font-size: 17px; }
.platform-rail strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.platform-rail > a > i { color: #b2bccb; font-size: 9px; }
.marketplace-live-stats { padding: 0; color: #fff; background: var(--sf-navy); }
.marketplace-live-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.marketplace-live-stats-grid > div { min-width: 0; min-height: 110px; display: flex; align-items: center; gap: 13px; padding: 22px; border-right: 1px solid rgba(255, 255, 255, .09); }
.marketplace-live-stats-grid > div:last-child { border-right: 0; }
.marketplace-live-stats-grid > div > span { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid rgba(94, 234, 212, .18); border-radius: 12px; color: #5eead4; background: rgba(13, 148, 136, .11); }
.marketplace-live-stats-grid p { display: grid; margin: 0; }
.marketplace-live-stats-grid strong { color: #fff; font-size: 21px; line-height: 1; }
.marketplace-live-stats-grid small { margin-top: 5px; color: #90a1b7; font-size: 9px; }
.homepage-featured { background: #fff; }
.homepage-trending { background: linear-gradient(180deg, #eef4ff, #f5f8ff); }
.homepage-best-selling { background: #fff; }
.top-stores-section { background: #f3f6fb; }

/* Product grids and cards */
.products-grid,
.homepage-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.catalog-results-panel .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--sf-line);
    border-radius: 17px;
    color: var(--sf-ink);
    background: #fff;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-card:hover { border-color: #c7d4eb; box-shadow: var(--sf-shadow-sm); transform: translateY(-4px); }
.product-visual {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 30px;
    border-bottom: 1px solid #edf0f5;
    background:
        radial-gradient(circle at 82% 15%, color-mix(in srgb, var(--brand-color, #2563eb) 15%, transparent), transparent 34%),
        linear-gradient(145deg, var(--brand-soft, #eef4ff), #fff);
    text-decoration: none;
}

.product-card-image {
    width: 100%;
    height: 100%;
    max-width: 78%;
    max-height: 78%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(16, 24, 40, .12));
    transition: transform .22s ease;
}

.product-card:hover .product-card-image { transform: scale(1.035); }
.product-brand-logo { display: grid; justify-items: center; gap: 10px; color: var(--brand-color); }
.product-brand-logo i { font-size: clamp(52px, 6vw, 78px); }
.product-brand-logo small { color: var(--sf-muted); font-size: 10px; font-weight: 750; }
.stock-pill,
.product-featured-pill,
.discount {
    position: absolute;
    z-index: 2;
    top: 12px;
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border: 1px solid var(--sf-line);
    border-radius: 999px;
    color: var(--sf-ink-2);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 5px 16px rgba(16, 24, 40, .07);
    font-size: 8px;
    font-weight: 800;
}

.stock-pill { left: 12px; }
.stock-pill i { color: var(--sf-success); font-size: 6px; }
.product-featured-pill { right: 12px; color: #975a0a; border-color: #f1d6ac; background: #fff8ec; }
.product-featured-pill i { color: var(--sf-orange); }
.discount { top: auto; right: 12px; bottom: 12px; color: #fff; border: 0; background: var(--sf-orange); }
.product-service-mark {
    position: absolute;
    z-index: 2;
    bottom: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 10px;
    color: var(--brand-color);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 7px 18px rgba(16, 24, 40, .1);
    font-size: 14px;
}

.product-body { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; padding: 16px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.product-meta span { min-width: 0; display: inline-flex; align-items: center; gap: 5px; color: var(--sf-muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.product-meta span:first-child { overflow: hidden; color: var(--brand-color); text-overflow: ellipsis; white-space: nowrap; }
.product-meta span:last-child i { color: #f5a623; }
.product-body h3 { margin: 10px 0 7px; font-size: 15px; line-height: 1.32; letter-spacing: -.025em; }
.product-body h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--sf-ink);
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-body h3 a:hover { color: var(--sf-primary); }
.product-summary {
    min-height: 38px;
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--sf-muted);
    font-size: 10px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-attribute-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.product-attribute-row span { max-width: 100%; overflow: hidden; padding: 4px 7px; border: 1px solid #e3e8f2; border-radius: 7px; color: #526078; background: #f8fafc; font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.seller-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 13px 0 0; padding-top: 11px; border-top: 1px solid #edf0f5; color: var(--sf-muted); font-size: 8px; }
.seller-name a { min-width: 0; display: inline-flex; align-items: center; gap: 5px; overflow: hidden; color: var(--sf-ink-2); font-weight: 750; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.seller-name a:hover { color: var(--sf-primary); }
.seller-name i { color: var(--sf-primary); }
.seller-name > span { flex: 0 0 auto; }
.product-offer-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.product-price-row > span { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 3px 7px; }
.product-price-row small { grid-column: 1 / -1; color: var(--sf-muted); font-size: 8px; }
.product-price-row strong { color: var(--sf-ink); font-size: 18px; line-height: 1; }
.product-price-row del { color: #98a2b3; font-size: 9px; }
.product-cart-button {
    min-height: 37px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--sf-primary);
    font-size: 9px;
    font-weight: 850;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.product-cart-button:hover { color: #fff; background: var(--sf-primary-dark); transform: translateY(-1px); }

/* Stores */
.top-stores-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.top-store-card {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--sf-line);
    border-radius: 17px;
    color: var(--sf-ink);
    background: #fff;
    box-shadow: none;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.top-store-card:hover { border-color: #c7d4eb; transform: translateY(-3px); box-shadow: var(--sf-shadow-sm); }
.top-store-logo { position: relative; width: 54px; height: 54px; display: grid; place-items: center; overflow: visible; border: 1px solid var(--sf-line); border-radius: 15px; color: #fff; background: linear-gradient(145deg, var(--sf-primary), var(--sf-teal)); font-size: 18px; font-weight: 900; }
.top-store-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.top-store-logo > i { position: absolute; right: -4px; bottom: -3px; color: var(--sf-primary); background: #fff; border-radius: 50%; font-size: 14px; }
.top-store-card h3 { margin: 2px 0 3px; color: var(--sf-ink); font-size: 14px; }
.top-store-card p { margin: 0; overflow: hidden; color: var(--sf-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.top-store-card dl { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 5px 0 0; padding-top: 13px; border-top: 1px solid #edf0f5; }
.top-store-card dl div { display: grid; gap: 2px; border-right: 1px solid #edf0f5; text-align: center; }
.top-store-card dl div:last-child { border-right: 0; }
.top-store-card dt { color: var(--sf-muted); font-size: 8px; }
.top-store-card dd { margin: 0; color: var(--sf-ink); font-size: 14px; font-weight: 850; }
.top-store-link { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; border-radius: 9px; color: var(--sf-primary); background: #f1f5ff; font-size: 9px; font-weight: 800; }

/* Catalog */
.catalog-page-hero {
    padding: 54px 0;
    color: #fff;
    background:
        radial-gradient(circle at 88% 10%, rgba(13, 148, 136, .28), transparent 30%),
        linear-gradient(130deg, var(--sf-navy), #14243d);
}

.catalog-breadcrumb,
.breadcrumb { display: flex; align-items: center; gap: 8px; overflow-x: auto; margin: 0 0 20px; color: var(--sf-muted); font-size: 10px; scrollbar-width: none; white-space: nowrap; }
.catalog-breadcrumb { color: #9fb0c7; }
.catalog-breadcrumb a { color: #dce8f8; text-decoration: none; }
.breadcrumb a { color: var(--sf-primary); text-decoration: none; }
.catalog-breadcrumb i { font-size: 7px; }
.catalog-hero-copy { max-width: 790px; }
.catalog-hero-copy .eyebrow { color: #77e4d5; }
.catalog-hero-copy h1 { margin: 10px 0 13px; color: #fff; font-size: clamp(36px, 5vw, 58px); line-height: 1.02; }
.catalog-hero-copy p { max-width: 680px; margin: 0; color: #b7c4d5; }
.catalog-hero-listing-count { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 9px; color: #dce8f8; background: rgba(255, 255, 255, .06); font-size: 10px; }
.catalog-page-search { max-width: 720px; height: 54px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; margin-top: 24px; padding: 5px 5px 5px 16px; border-radius: 13px; background: #fff; }
.catalog-page-search > i { color: #98a2b3; }
.catalog-page-search input { height: 100%; border: 0; background: transparent; box-shadow: none; }
.catalog-directory-section { background: #fff; }
.catalog-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.catalog-category-card { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--sf-line); border-radius: 14px; color: var(--sf-ink-2); background: #fff; text-decoration: none; }
.catalog-category-card:hover,
.catalog-category-card.active { border-color: var(--catalog-color); color: var(--catalog-color); background: color-mix(in srgb, var(--catalog-color) 6%, #fff); }
.catalog-category-card .service-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; color: var(--catalog-color); background: color-mix(in srgb, var(--catalog-color) 10%, #fff); }
.catalog-browser { display: grid; grid-template-columns: 245px minmax(0, 1fr); align-items: start; gap: 28px; }
.catalog-filter-sidebar { position: sticky; top: 168px; }
.catalog-filter-panel { overflow: hidden; border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; }
.catalog-filter-panel > summary { min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--sf-line); color: var(--sf-ink); font-size: 12px; font-weight: 850; cursor: pointer; list-style: none; }
.catalog-page-filter { display: grid; gap: 13px; padding: 16px; }
.catalog-page-filter .field { display: grid; gap: 5px; }
.catalog-page-filter label { font-size: 9px; }
.catalog-page-filter :where(input, select) { width: 100%; min-height: 40px; padding: 0 10px; font-size: 10px; }
.catalog-page-filter .button { width: 100%; }
.catalog-clear-filters { color: var(--sf-primary); font-size: 10px; font-weight: 800; text-align: center; }
.catalog-results-panel { min-width: 0; }
.catalog-results-head { align-items: center; }

/* Product detail and store page */
.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(380px, 1.12fr);
    align-items: start;
    gap: clamp(30px, 5vw, 68px);
}

.product-detail-visual { position: sticky; top: 170px; min-width: 0; }
.large-product-visual {
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: clamp(42px, 7vw, 90px);
    border: 1px solid var(--sf-line);
    border-radius: 24px;
    background: linear-gradient(145deg, #f2f6ff, #fff);
}

.large-product-visual .discount { top: 16px; right: auto; bottom: auto; left: 16px; min-height: 29px; padding-inline: 11px; background: var(--sf-primary); }
.product-detail-image { width: 100%; height: 100%; max-width: 80%; max-height: 80%; object-fit: contain; filter: drop-shadow(0 20px 28px rgba(16, 24, 40, .14)); }
.product-detail-service-mark { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid var(--sf-line); border-radius: 10px; color: var(--brand-color); background: rgba(255, 255, 255, .94); box-shadow: var(--sf-shadow-sm); }
.product-detail-service-mark small { color: var(--sf-ink-2); font-size: 9px; font-weight: 800; }
.product-detail-content { min-width: 0; padding-top: 6px; }
.product-detail-content h1 { margin: 11px 0 15px; color: var(--sf-ink); font-size: clamp(32px, 4vw, 52px); line-height: 1.04; overflow-wrap: anywhere; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-meta span { padding: 6px 9px; border: 1px solid var(--sf-line); border-radius: 8px; color: var(--sf-ink-2); background: #fff; font-size: 9px; font-weight: 750; }
.product-detail-content .lead { margin: 18px 0; color: var(--sf-muted); font-size: 14px; line-height: 1.75; }
.product-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 20px 0; }
.product-spec-grid div { min-width: 0; padding: 11px; border: 1px solid var(--sf-line); border-radius: 10px; background: #f9fbfd; }
.product-spec-grid dt { color: var(--sf-muted); font-size: 8px; font-weight: 700; }
.product-spec-grid dd { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--sf-ink-2); font-size: 10px; font-weight: 800; }
.detail-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 8px; }
.detail-price strong { color: var(--sf-ink); font-size: 34px; }
.detail-price del { color: #98a2b3; }
.stock-tag { display: inline-flex; margin-bottom: 15px; padding: 6px 9px; border-radius: 8px; color: var(--sf-success); background: #ebfaf3; font-size: 9px; font-weight: 850; }
.buy-form { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px; }
.quantity-control { min-height: 46px; display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; overflow: hidden; border: 1px solid #cfd7e6; border-radius: 10px; background: #fff; }
.quantity-control button { border: 0; color: var(--sf-ink); background: #f5f7fa; cursor: pointer; }
.quantity-control input { width: 100%; padding: 0; border: 0; text-align: center; box-shadow: none; }
.seller-card { margin-top: 18px; border: 1px solid var(--sf-line); border-radius: 14px; background: #fff; }
.seller-logo { overflow: hidden; border-radius: 12px; }
.seller-logo img { width: 100%; height: 100%; object-fit: cover; }
.detail-description-block { margin-top: 18px; padding: 18px; border: 1px solid var(--sf-line); border-radius: 14px; background: #fff; }
.detail-description-block :where(h2, h3) { color: var(--sf-ink); }
.detail-description-block p { color: var(--sf-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-card { padding: 18px; border: 1px solid var(--sf-line); border-radius: 14px; background: #fff; }
.review-stars { color: #f5a623; }
.store-hero { position: relative; overflow: hidden; padding: 50px 0; color: #fff; background: linear-gradient(130deg, var(--sf-navy), #18304f); }
.store-hero.has-store-banner { min-height: 350px; display: flex; align-items: flex-end; }
.store-hero-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.store-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 17, 31, .9), rgba(7, 17, 31, .5)); }
.store-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.store-hero-logo { width: 92px; height: 92px; display: grid; place-items: center; overflow: hidden; border: 3px solid rgba(255, 255, 255, .7); border-radius: 22px; color: #fff; background: linear-gradient(145deg, var(--sf-primary), var(--sf-teal)); box-shadow: 0 18px 36px rgba(0, 0, 0, .22); font-size: 28px; font-weight: 900; }
.store-hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.store-hero .eyebrow { color: #77e4d5; }
.store-hero h1 { margin: 8px 0; color: #fff; font-size: clamp(34px, 5vw, 56px); }
.store-hero p { max-width: 760px; margin: 4px 0; color: #c0ccdc; }
.store-hero dl { display: grid; grid-template-columns: repeat(3, minmax(80px, 1fr)); overflow: hidden; margin: 0; border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; background: rgba(255, 255, 255, .07); }
.store-hero dl div { display: grid; padding: 14px; border-right: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.store-hero dl div:last-child { border-right: 0; }
.store-hero dt { color: #9fb0c7; font-size: 8px; }
.store-hero dd { margin: 0; color: #fff; font-size: 20px; font-weight: 850; }

/* Homepage supporting content */
.marketplace-filter-section { padding: 38px 0; background: #eef3fb; }
.marketplace-advanced-filter { overflow: hidden; border: 1px solid #dce4f1; border-radius: 16px; background: #fff; }
.marketplace-advanced-filter > summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; cursor: pointer; list-style: none; }
.marketplace-advanced-filter > summary span { display: grid; grid-template-columns: auto auto; align-items: center; gap: 3px 9px; }
.marketplace-advanced-filter > summary span > i { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--sf-primary); background: var(--sf-surface-soft); }
.marketplace-advanced-filter > summary b { color: var(--sf-ink); font-size: 11px; }
.marketplace-advanced-filter > summary small { color: var(--sf-muted); font-size: 9px; }
.marketplace-filter-bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; align-items: end; gap: 12px; padding: 17px; border-top: 1px solid var(--sf-line); }
.marketplace-filter-bar .field { display: grid; gap: 5px; }
.marketplace-filter-bar label { color: var(--sf-ink-2); font-size: 8px; font-weight: 800; }
.marketplace-filter-bar :where(input, select) { width: 100%; min-height: 40px; padding: 0 10px; font-size: 9px; }
.marketplace-catalog-cta { padding: 48px 0; background: #fff; }
.marketplace-catalog-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px; border: 1px solid var(--sf-line); border-radius: 20px; background: linear-gradient(135deg, #f8faff, #eef4ff); }
.marketplace-catalog-cta h2 { margin: 8px 0; color: var(--sf-ink); font-size: clamp(25px, 3vw, 38px); }
.marketplace-catalog-cta p { margin: 0; color: var(--sf-muted); }
.marketplace-catalog-cta-inner > div:last-child { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.feature-band { padding: 52px 0; border-block: 1px solid var(--sf-line); background: var(--sf-navy); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .1); }
.feature-item { padding: 24px; color: #dce8f8; background: var(--sf-navy); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; color: #5eead4; background: rgba(13, 148, 136, .12); }
.feature-item h3 { margin: 0 0 8px; color: #fff; font-size: 14px; }
.feature-item p { margin: 0; color: #94a5bb; font-size: 10px; }
.market-testimonials-section { background: #fff; }
.market-testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.market-testimonial-card { padding: 20px; border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; }
.market-testimonial-top { display: flex; align-items: center; gap: 10px; }
.market-review-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--sf-primary); background: var(--sf-surface-soft); font-size: 9px; font-weight: 900; }
.market-testimonial-top > div { min-width: 0; flex: 1; display: grid; }
.market-testimonial-top strong { color: var(--sf-ink); font-size: 11px; }
.market-testimonial-top small { color: var(--sf-muted); font-size: 8px; }
.market-testimonial-card > p { color: var(--sf-muted); font-size: 10px; }
.market-testimonial-card footer { display: flex; justify-content: space-between; gap: 8px; padding-top: 11px; border-top: 1px solid var(--sf-line); color: var(--sf-primary); font-size: 8px; font-weight: 800; }
.market-rating-summary { padding: 7px 10px; border: 1px solid var(--sf-line); border-radius: 9px; color: var(--sf-muted); background: #fff; font-size: 9px; }
.market-faq-section { background: #f2f5fa; }
.market-faq-layout { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 58px; }
.market-faq-intro h2 { margin: 10px 0 14px; font-size: clamp(30px, 4vw, 46px); line-height: 1.06; }
.market-faq-intro p { color: var(--sf-muted); }
.market-faq-intro a { color: var(--sf-primary); font-size: 11px; font-weight: 800; text-decoration: none; }
.market-faq-list { display: grid; gap: 9px; }
.market-faq-item { overflow: hidden; border: 1px solid var(--sf-line); border-radius: 13px; background: #fff; }
.market-faq-item summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 16px; color: var(--sf-ink); font-size: 11px; font-weight: 800; cursor: pointer; list-style: none; }
.market-faq-item summary span { color: var(--sf-primary); font-size: 17px; }
.market-faq-item p { margin: 0; padding: 0 16px 16px; color: var(--sf-muted); font-size: 10px; }
.market-home-cta { padding: 68px 0; color: #fff; background: linear-gradient(135deg, var(--sf-primary-dark), #4f46e5 58%, var(--sf-teal-dark)); }
.market-home-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.market-home-cta .eyebrow { color: #b7caff; }
.market-home-cta h2 { margin: 8px 0; color: #fff; font-size: clamp(30px, 4vw, 48px); }
.market-home-cta p { max-width: 750px; margin: 0; color: #dbe4ff; }
.market-home-cta-inner > div:last-child { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 10px; }
.market-home-cta .button-gradient { color: var(--sf-primary); background: #fff; }
.market-home-cta .button-outline { border-color: rgba(255, 255, 255, .4); color: #fff; background: transparent; }

/* Empty states */
.empty-state,
.marketplace-empty-card {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px;
    border: 1px dashed #b9c5d7;
    border-radius: 16px;
    color: var(--sf-muted);
    background: #fff;
    text-align: center;
}

.marketplace-empty-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; min-height: 120px; text-align: left; }
.marketplace-empty-card > i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: var(--sf-primary); background: var(--sf-surface-soft); }
.empty-state h1,
.empty-state h3,
.marketplace-empty-card h3 { margin: 0; color: var(--sf-ink); }
.empty-state p,
.marketplace-empty-card p { margin: 0; color: var(--sf-muted); }
.marketplace-empty-card a { color: var(--sf-primary); font-size: 10px; font-weight: 800; }

/* Cart and checkout */
.cart-layout,
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); align-items: start; gap: 24px; }
.cart-product-list { display: grid; gap: 12px; }
.cart-product-row { min-width: 0; display: grid; grid-template-columns: 100px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--sf-line); border-radius: 15px; background: #fff; }
.cart-product-media { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--product-gradient); font-weight: 900; text-decoration: none; }
.cart-product-copy { min-width: 0; }
.cart-product-copy h2 { overflow: hidden; margin: 4px 0; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.cart-summary-card,
.order-summary,
.card.card-pad { padding: 22px; border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; box-shadow: none; }
.cart-summary-card,
.order-summary { position: sticky; top: 170px; }
.checkout-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.checkout-step { padding: 10px; border: 1px solid var(--sf-line); border-radius: 10px; color: var(--sf-muted); background: #fff; font-size: 9px; font-weight: 750; text-align: center; }
.checkout-step.active { border-color: #b7caff; color: var(--sf-primary); background: var(--sf-surface-soft); }
.payment-options { display: grid; gap: 9px; }
.payment-option { min-width: 0; }

/* Static information pages share the same company shell */
.market-catalog-body { --brand: var(--sf-primary) !important; --brand-2: var(--sf-teal) !important; }
.market-header {
    position: sticky;
    z-index: 300;
    top: 0;
    border-bottom: 1px solid var(--sf-line);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 8px 30px rgba(16, 24, 40, .04);
    backdrop-filter: blur(14px);
}

.market-header-inner { min-height: 74px; display: grid; grid-template-columns: auto minmax(260px, 1fr) auto auto; align-items: center; gap: 24px; }
.market-search { width: 100%; max-width: 560px; height: 44px; justify-self: center; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; border: 1px solid #d8deea; border-radius: 11px; background: #f8fafc; }
.market-search > i { color: #98a2b3; text-align: center; }
.market-search input { height: 100%; padding: 0 10px 0 0; border: 0; background: transparent; box-shadow: none; }
.marketplace-trigger { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid var(--sf-line); border-radius: 10px; color: var(--sf-ink); background: #fff; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.marketplace-panel { border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; box-shadow: var(--sf-shadow); }
.marketplace-panel-head { border-color: var(--sf-line); }
.marketplace-service-link { border-color: var(--sf-line); border-radius: 10px; color: var(--sf-ink-2); background: #fff; }
.market-actions { display: flex; align-items: center; gap: 8px; }
.market-avatar,
.market-icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--sf-line); border-radius: 10px; color: var(--sf-ink-2); background: #fff; text-decoration: none; }
.market-menu-button { display: none; }
.market-page { min-height: 60vh; padding: 34px 0 72px; background: var(--sf-bg); }
.market-breadcrumb { display: flex; gap: 8px; margin-bottom: 18px; color: var(--sf-muted); font-size: 10px; }
.market-breadcrumb a { color: var(--sf-primary); text-decoration: none; }
.content-area { overflow: hidden; border: 1px solid var(--sf-line); border-radius: 20px; background: #fff; box-shadow: var(--sf-shadow-sm); }
.content-area > section { padding: 34px; border-bottom: 1px solid var(--sf-line); }
.content-area > section:last-child { border-bottom: 0; }
.content-area .page-header { padding: clamp(42px, 7vw, 80px) 34px; background: linear-gradient(135deg, var(--sf-navy), #18304f); }
.content-area .page-header h1 { max-width: 850px; margin: 0 0 14px; color: #fff; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; }
.content-area .page-header h1 span { color: #80a8ff; }
.content-area .page-header p { max-width: 760px; margin: 0; color: #bdc9d9; }
.content-area .section-title { margin: 0 0 22px; color: var(--sf-ink); font-size: clamp(24px, 3vw, 34px); }
.content-area :where(.mission-card, .value-card, .contact-card, .form-container, .map-container, .hours-box, .highlight-box) { border: 1px solid var(--sf-line); border-radius: 15px; background: #fff; box-shadow: none; }
.content-area :where(.mission-icon, .value-icon, .contact-icon, .story-image) { color: var(--sf-primary); background: var(--sf-surface-soft); }
.content-area p { color: var(--sf-muted); }
.content-area a { color: var(--sf-primary); }
.highlight-box { padding: 20px; color: var(--sf-ink-2); background: #f7f9fd !important; }
.contact-form-status { margin: 12px 0 0; padding: 10px 12px; border-radius: 9px; font-size: 11px; }
.contact-form-status.is-loading { color: var(--sf-primary); background: var(--sf-surface-soft); }
.contact-form-status.is-success { color: var(--sf-success); background: #eaf9f1; }
.contact-form-status.is-error { color: var(--sf-danger); background: #fff0f2; }
.gateway-page { min-height: 65vh; display: grid; place-items: center; padding: 70px 24px; background: linear-gradient(145deg, #eef4ff, #f8fbff); }
.seller-gateway { width: min(100%, 1050px); padding: clamp(30px, 6vw, 64px); border: 1px solid var(--sf-line); border-radius: 24px; background: #fff; box-shadow: var(--sf-shadow); }
.seller-gateway h1 { margin: 10px 0 14px; color: var(--sf-ink); font-size: clamp(36px, 5vw, 58px); }
.seller-gateway > p { max-width: 780px; color: var(--sf-muted); }
.seller-gateway-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 30px 0; }
.seller-gateway-steps article { padding: 20px; border: 1px solid var(--sf-line); border-radius: 14px; background: #f9fbfe; }
.seller-gateway-steps article > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--sf-primary); font-weight: 900; }
.seller-gateway-steps h2 { font-size: 16px; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-secondary-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid #cfd7e6; border-radius: 11px; color: var(--sf-ink); font-weight: 800; text-decoration: none; }

/* Both footer implementations */
.site-footer,
.market-footer { padding-top: 0; color: #b9c7d9; background: var(--sf-navy); }
.footer-promise-bar { position: relative; top: -1px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 0 0 16px 16px; background: rgba(255, 255, 255, .08); }
.footer-promise-bar > div { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--sf-navy-2); }
.footer-promise-bar i { color: #5eead4; }
.footer-promise-bar span { display: grid; }
.footer-promise-bar strong { color: #fff; font-size: 11px; }
.footer-promise-bar small { color: #8fa1b8; font-size: 8px; }
.footer-grid,
.market-footer-grid { display: grid; grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, .7fr)); gap: 44px; padding: 54px 0 40px; }
.site-footer .brand-name,
.market-footer .market-brand-name { color: #fff; }
.site-footer h3,
.market-footer h3 { margin: 0 0 14px; color: #fff; font-size: 12px; }
.site-footer p,
.market-footer p { max-width: 370px; color: #8fa1b8; font-size: 10px; }
.site-footer a:not(.brand),
.market-footer a:not(.market-brand) { display: block; margin: 8px 0; color: #aebdd0; font-size: 10px; text-decoration: none; }
.site-footer a:hover,
.market-footer a:hover { color: #fff; }
.footer-bottom,
.market-copyright { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255, 255, 255, .1); color: #788aa2; font-size: 8px; }

/* Support */
.support-widget-launcher-icon,
.static-support-icon { background: linear-gradient(145deg, var(--sf-primary), #4f46e5); box-shadow: 0 13px 30px rgba(37, 99, 235, .28); }
.support-widget-panel,
.static-support-panel { overflow: hidden; border: 1px solid var(--sf-line); border-radius: 16px; box-shadow: var(--sf-shadow); }
.support-widget-panel header,
.static-support-panel header { background: var(--sf-navy); }

/* Panels and admin */
.admin-panel-page,
.buyer-panel-page,
.seller-panel-page { background: var(--sf-bg); }
.dashboard-card,
.buyer-panel-card,
.admin-stat-card,
.buyer-stat-card,
.seller-metric-card { border: 1px solid var(--sf-line); border-radius: 15px; background: #fff; box-shadow: none; }
.table-wrap { max-width: 100%; overflow-x: auto; border-radius: 12px; -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 760px; width: 100%; }
.table-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.table-actions form { margin: 0; }
.dashboard-card-head,
.dashboard-head { gap: 16px; }
.official-product-form .form-grid,
.buyer-form-grid,
.seller-brand-upload-grid { min-width: 0; }
.status { display: inline-flex; align-items: center; min-height: 25px; padding: 0 8px; border: 1px solid transparent; border-radius: 999px; font-size: 8px; font-weight: 850; }
.status-approved,
.status-completed,
.status-active,
.status-released,
.status-delivered,
.status-available { border-color: #bce4d1; color: var(--sf-success); background: #ecfaf3; }
.status-pending,
.status-pending_payment,
.status-payment_submitted,
.status-under_review,
.status-held,
.status-frozen { border-color: #efd5ae; color: var(--sf-warning); background: #fff8ea; }
.status-rejected,
.status-cancelled,
.status-suspended,
.status-removed { border-color: #efc4cd; color: var(--sf-danger); background: #fff1f3; }

/* Responsive layout */
@media (max-width: 1200px) {
    :root { --shell: min(100% - 36px, 1160px); }
    .header-inner { grid-template-columns: auto minmax(240px, 1fr) auto; gap: 18px; }
    .header-search-category { display: none; }
    .header-search { grid-template-columns: 1px auto minmax(0, 1fr) auto; }
    .header-search-divider { visibility: hidden; }
    .header-action-copy { display: none; }
    .market-hero-layout { grid-template-columns: 1fr; }
    .market-hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
    .hero-side-card { min-height: 190px; }
    .products-grid,
    .homepage-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .catalog-results-panel .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .marketplace-filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .marketplace-filter-bar .button { min-height: 40px; }
}

@media (max-width: 960px) {
    html { scroll-padding-top: 84px; }
    .header-utility { display: none; }
    .header-inner { min-height: 68px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; }
    .mobile-menu-button {
        width: 40px;
        height: 40px;
        display: grid;
        align-content: center;
        gap: 4px;
        padding: 0 10px;
        border: 1px solid var(--sf-line);
        border-radius: 10px;
        background: #fff;
        cursor: pointer;
    }
    .mobile-menu-button span { width: 100%; height: 2px; border-radius: 9px; background: var(--sf-ink); }
    .header-inner > .brand { justify-self: start; }
    .header-search,
    .desktop-category-bar { display: none; }
    .header-actions { gap: 8px; }
    .market-hero-primary { grid-template-columns: 1fr; }
    .market-hero-art { grid-template-columns: 1fr 1fr; padding: 0 24px 24px; }
    .hero-showcase-main { min-height: 220px; }
    .market-category-grid,
    .catalog-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .marketplace-live-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .marketplace-live-stats-grid > div:nth-child(2) { border-right: 0; }
    .marketplace-live-stats-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .09); }
    .top-stores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-browser { grid-template-columns: 1fr; }
    .catalog-filter-sidebar { position: static; }
    .catalog-page-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-page-filter .button,
    .catalog-clear-filters { align-self: end; }
    .catalog-results-panel .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-detail-visual { position: static; width: min(100%, 620px); margin-inline: auto; }
    .store-hero-inner { grid-template-columns: auto minmax(0, 1fr); }
    .store-hero dl { grid-column: 1 / -1; width: 100%; }
    .market-faq-layout { grid-template-columns: 1fr; gap: 30px; }
    .market-faq-intro { max-width: 700px; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .market-home-cta-inner,
    .marketplace-catalog-cta-inner { align-items: flex-start; flex-direction: column; }
    .market-home-cta-inner > div:last-child,
    .marketplace-catalog-cta-inner > div:last-child { justify-content: flex-start; }
    .market-header-inner { grid-template-columns: auto minmax(0, 1fr) auto; }
    .market-search { max-width: 460px; }
    .market-desktop-nav { display: none; }
    .market-menu-button { width: 38px; height: 38px; display: grid; align-content: center; gap: 4px; padding: 0 9px; border: 1px solid var(--sf-line); border-radius: 10px; background: #fff; }
    .market-menu-button span { height: 2px; border-radius: 4px; background: var(--sf-ink); }
    .cart-layout,
    .checkout-grid { grid-template-columns: 1fr; }
    .cart-summary-card,
    .order-summary { position: static; }
    .footer-grid,
    .market-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    :root { --shell: calc(100% - 28px); }
    body.accnify-theme,
    body.market-catalog-body { font-size: 14px; }
    .brand-mark,
    .market-brand-mark { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
    .brand-name,
    .market-brand-name { font-size: 21px; }
    .header-cart-link { display: flex; }
    .header-actions .header-action-link:not(.header-cart-link) { display: none; }
    .market-hero { padding: 18px 0 34px; }
    .market-hero-primary { border-radius: 23px; }
    .market-hero-copy { padding: 34px 22px 24px; }
    .market-hero-copy h1 { font-size: clamp(42px, 12vw, 62px); }
    .market-hero-copy > p { font-size: 14px; }
    .market-hero-art { padding: 0 14px 16px; }
    .hero-showcase-main { min-height: 195px; }
    .market-hero-side { gap: 12px; }
    .hero-side-card { min-height: 160px; padding: 18px; border-radius: 19px; }
    .hero-side-card strong { font-size: 21px; }
    .marketplace-discovery,
    .popular-platforms-section,
    .page-section,
    .market-faq-section,
    .market-testimonials-section { padding: 50px 0; }
    .marketplace-section-heading,
    .platform-rail-heading,
    .section-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
    .products-grid,
    .homepage-products-grid,
    .catalog-results-panel .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .product-visual { padding: 22px; }
    .product-card-image { max-width: 82%; max-height: 82%; }
    .product-body { padding: 13px; }
    .product-offer-row { align-items: stretch; flex-direction: column; }
    .product-cart-button { width: 100%; }
    .top-stores-grid { grid-template-columns: 1fr; }
    .market-testimonials-grid,
    .reviews-grid { grid-template-columns: 1fr; }
    .marketplace-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .marketplace-filter-bar .button { width: 100%; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-item { border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .feature-item:last-child { border-bottom: 0; }
    .store-hero { padding: 38px 0; }
    .store-hero.has-store-banner { min-height: 390px; }
    .store-hero-inner { grid-template-columns: 1fr; justify-items: start; }
    .store-hero-logo { width: 76px; height: 76px; border-radius: 18px; }
    .product-spec-grid { grid-template-columns: 1fr 1fr; }
    .market-search { display: none; }
    .market-header-inner { min-height: 66px; grid-template-columns: minmax(0, 1fr) auto; }
    .market-actions { justify-self: end; }
    .content-area { border-radius: 16px; }
    .content-area > section { padding: 24px 18px; }
    .content-area .page-header { padding: 48px 20px; }
    .seller-gateway-steps { grid-template-columns: 1fr; }
    .cart-product-row { grid-template-columns: 76px minmax(0, 1fr); }
    .cart-quantity-form,
    .cart-row-total { grid-column: 1 / -1; }
    .checkout-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-promise-bar { grid-template-columns: 1fr; }
    .footer-grid,
    .market-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    .footer-about,
    .market-footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom,
    .market-copyright { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
    .dashboard-head,
    .dashboard-card-head { align-items: flex-start; flex-direction: column; }
    .dashboard-head .button,
    .dashboard-card-head .button { width: 100%; }
    .official-product-form .form-grid,
    .buyer-form-grid,
    .seller-brand-upload-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    :root { --shell: calc(100% - 22px); }
    .header-inner { min-height: 62px; gap: 10px; }
    .mobile-menu-button,
    .header-action-icon { width: 36px; height: 36px; }
    .brand-name { font-size: 20px; }
    .market-hero-copy { padding: 30px 17px 20px; }
    .market-hero-copy h1 { margin-top: 16px; font-size: clamp(38px, 12.8vw, 52px); }
    .market-hero-search { height: auto; min-height: 54px; grid-template-columns: 36px minmax(0, 1fr); padding: 4px; }
    .market-hero-search button { grid-column: 1 / -1; width: 100%; height: 42px; margin-top: 3px; }
    .market-hero-promises { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .market-hero-art { grid-template-columns: 1fr; }
    .hero-showcase-main { grid-column: 1; }
    .market-hero-side { grid-template-columns: 1fr; }
    .hero-side-card { min-height: 150px; }
    .market-category-grid,
    .catalog-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .market-category-card { min-height: 155px; padding: 15px; border-radius: 14px; }
    .market-category-icon { width: 40px; height: 40px; border-radius: 11px; }
    .market-category-arrow { top: 15px; right: 14px; }
    .market-category-card h2,
    .market-category-card h3 { font-size: 14px; }
    .market-category-card-foot { align-items: flex-start; flex-direction: column; gap: 3px; }
    .marketplace-live-stats-grid > div { min-height: 90px; gap: 9px; padding: 13px; }
    .marketplace-live-stats-grid > div > span { width: 34px; height: 34px; flex-basis: 34px; }
    .marketplace-live-stats-grid strong { font-size: 17px; }
    .products-grid,
    .homepage-products-grid,
    .catalog-results-panel .products-grid { grid-template-columns: 1fr; gap: 14px; }
    .content-area .products-grid { grid-template-columns: 1fr; }
    .product-card { width: 100%; border-radius: 15px; }
    .product-visual { aspect-ratio: 16 / 10; }
    .product-body h3 { font-size: 16px; }
    .product-summary { font-size: 11px; }
    .product-offer-row { align-items: flex-end; flex-direction: row; }
    .product-cart-button { width: auto; min-width: 106px; }
    .marketplace-filter-bar,
    .catalog-page-filter { grid-template-columns: 1fr; }
    .marketplace-advanced-filter > summary small { display: none; }
    .marketplace-catalog-cta-inner { padding: 22px; }
    .marketplace-catalog-cta-inner > div:last-child,
    .market-home-cta-inner > div:last-child { width: 100%; }
    .marketplace-catalog-cta .button,
    .market-home-cta .button { width: 100%; }
    .buy-form { grid-template-columns: 1fr; }
    .product-spec-grid { grid-template-columns: 1fr; }
    .large-product-visual { border-radius: 18px; }
    .store-hero dl { grid-template-columns: 1fr 1fr 1fr; }
    .store-hero dl div { padding: 10px 5px; }
    .store-hero dd { font-size: 17px; }
    .marketplace-empty-card { grid-template-columns: 1fr; justify-items: start; text-align: left; }
    .content-area .page-header h1 { font-size: 38px; }
    .contact-grid,
    .mission-grid,
    .values-grid,
    .story-grid,
    .contact-form-grid { grid-template-columns: 1fr !important; }
    .footer-grid,
    .market-footer-grid { grid-template-columns: 1fr; }
    .footer-about,
    .market-footer-grid > div:first-child { grid-column: auto; }
    .support-widget-panel,
    .static-support-panel { right: 10px; left: 10px; width: auto; }
    .support-widget-launcher-label,
    .static-support-label { display: none; }
    .table-actions { min-width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
