/*
 * HStockHub visual system
 * Premium marketplace redesign — shared by the PHP application and static pages.
 */

:root {
    --hub-ink: #11182b;
    --hub-ink-2: #1d2942;
    --hub-muted: #667085;
    --hub-line: #e4e8f0;
    --hub-surface: #ffffff;
    --hub-canvas: #f5f7fb;
    --hub-canvas-2: #eef2f8;
    --hub-blue: #4f6df5;
    --hub-blue-dark: #354ed6;
    --hub-cyan: #20c7d9;
    --hub-lime: #b9f34a;
    --hub-gold: #ffcb66;
    --hub-violet: #875cff;
    --hub-success: #13a875;
    --hub-danger: #e44d61;
    --hub-radius-sm: 12px;
    --hub-radius: 20px;
    --hub-radius-lg: 30px;
    --hub-shadow-sm: 0 8px 26px rgba(25, 38, 70, .07);
    --hub-shadow: 0 18px 55px rgba(25, 38, 70, .11);
    --hub-shadow-lg: 0 34px 90px rgba(16, 25, 52, .19);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #bbc5d9 #f4f6fa;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: #f4f6fa;
}

*::-webkit-scrollbar-thumb {
    border: 2px solid #f4f6fa;
    border-radius: 999px;
    background: #bbc5d9;
}

html {
    scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
    font-family: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body {
    overflow-x: hidden;
    background: var(--hub-canvas);
    color: var(--hub-ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name,
.market-brand-name,
.buyer-brand strong {
    font-family: "Space Grotesk", "Manrope", sans-serif !important;
    letter-spacing: -.035em;
}

::selection {
    background: rgba(79, 109, 245, .22);
    color: var(--hub-ink);
}

a,
button,
input,
select,
textarea,
summary {
    outline-color: var(--hub-blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(79, 109, 245, .3) !important;
    outline-offset: 3px;
}

.shell {
    width: min(1240px, calc(100% - 48px));
}

.market-shell {
    width: min(1240px, calc(100% - 48px));
}

.eyebrow,
.marketplace-kicker,
.home-eyebrow,
.modal-kicker {
    color: var(--hub-blue) !important;
    font-size: .73rem !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase;
}

/* Shared dynamic header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border: 0;
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 1px 0 rgba(17, 24, 43, .08);
    backdrop-filter: blur(18px);
}

.header-utility {
    min-height: 34px;
    border: 0;
    background:
        radial-gradient(circle at 14% -90%, rgba(32, 199, 217, .42), transparent 44%),
        linear-gradient(100deg, #11182b 0%, #17233d 64%, #202d4d 100%);
    color: #d9e0ef;
}

.header-utility-inner {
    min-height: 34px;
}

.header-utility p,
.header-utility a {
    color: #d9e0ef !important;
    font-size: .7rem;
    font-weight: 700;
}

.header-utility p i {
    color: var(--hub-lime);
}

.header-utility nav {
    gap: 20px;
}

.header-utility nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: .82;
    transition: opacity .2s ease, color .2s ease;
}

.header-utility nav a:hover {
    color: #fff !important;
    opacity: 1;
}

.header-inner {
    min-height: 84px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    gap: 11px;
    color: var(--hub-ink) !important;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 15px 15px 15px 5px;
    background:
        radial-gradient(circle at 73% 22%, rgba(185, 243, 74, .9) 0 9%, transparent 10%),
        linear-gradient(145deg, #6983ff 0%, #4f6df5 47%, #2c43c4 100%);
    box-shadow: 0 10px 26px rgba(79, 109, 245, .28);
    color: #fff;
}

.brand-mark::after {
    position: absolute;
    right: -11px;
    bottom: -13px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(32, 199, 217, .46);
    content: "";
}

.brand-mark i {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 11px;
    transform: rotate(17deg);
}

.brand-mark b {
    position: relative;
    z-index: 1;
    font: 800 1.35rem/1 "Space Grotesk", sans-serif;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-name {
    color: var(--hub-ink);
    font-size: 1.34rem;
    font-weight: 700;
    line-height: 1;
}

.brand-name span {
    color: var(--hub-blue);
}

.brand-copy > small {
    color: #8b95a8;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.header-search {
    min-height: 48px;
    overflow: hidden;
    border: 1px solid #dce2ed;
    border-radius: 15px;
    background: #f5f7fb;
    box-shadow: inset 0 1px 1px rgba(17, 24, 43, .03);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-search:focus-within {
    border-color: rgba(79, 109, 245, .64);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 109, 245, .1);
}

.header-search-category select,
.header-search input {
    color: var(--hub-ink);
}

.header-search input::placeholder {
    color: #8b95a8;
}

.header-search > button {
    align-self: stretch;
    min-width: 106px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--hub-blue), var(--hub-blue-dark));
    box-shadow: 0 8px 18px rgba(79, 109, 245, .2);
}

.header-search > button:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.header-actions {
    gap: 8px;
}

.header-action-link {
    min-height: 48px;
    padding: 5px 8px;
    border-radius: 13px;
    color: var(--hub-ink);
    transition: background .2s ease, transform .2s ease;
}

.header-action-link:hover {
    background: #f0f3f9;
    transform: translateY(-1px);
}

.header-action-icon {
    width: 39px;
    height: 39px;
    border: 1px solid #dfe4ef;
    border-radius: 13px;
    background: #fff;
    color: var(--hub-blue);
}

.header-cart-link .header-action-icon {
    border-color: transparent;
    background: var(--hub-ink);
    color: #fff;
}

.header-cart-link .header-action-icon b {
    background: var(--hub-lime);
    color: #18201d;
}

.header-action-copy small {
    color: #8993a7;
}

.desktop-category-bar {
    border-top: 1px solid #edf0f5;
    border-bottom: 0;
    background: rgba(255, 255, 255, .96);
}

.desktop-category-bar-inner {
    min-height: 46px;
}

.desktop-marketplace-trigger {
    min-height: 38px;
    border-radius: 11px;
    background: var(--hub-ink);
    color: #fff;
    font-weight: 800;
}

.desktop-marketplace-trigger:hover,
.desktop-marketplace-trigger.active {
    background: linear-gradient(135deg, var(--hub-blue), var(--hub-blue-dark));
    color: #fff;
}

.desktop-category-links a {
    color: #4d596d;
    font-size: .76rem;
    font-weight: 750;
}

.desktop-category-links a:hover {
    color: var(--hub-blue);
}

.desktop-sell-link {
    color: var(--hub-blue);
    font-weight: 800;
}

.desktop-marketplace-panel {
    overflow: hidden;
    border: 1px solid rgba(17, 24, 43, .09);
    border-radius: 22px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--hub-shadow-lg);
}

.desktop-marketplace-head {
    background: linear-gradient(120deg, #f2f5ff, #f4fbfc);
}

.desktop-service-grid a {
    border-radius: 14px;
}

.desktop-service-grid a:hover {
    border-color: color-mix(in srgb, var(--nav-accent) 45%, #dfe4ef);
    background: color-mix(in srgb, var(--nav-accent) 7%, #fff);
    transform: translateY(-2px);
}

/* HStockHub homepage hero */

.hub-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 82px;
    background:
        radial-gradient(circle at 82% 16%, rgba(32, 199, 217, .22), transparent 26%),
        radial-gradient(circle at 18% 92%, rgba(135, 92, 255, .22), transparent 30%),
        linear-gradient(135deg, #0d1425 0%, #121c33 54%, #172440 100%);
    color: #fff;
}

.hub-hero::before {
    position: absolute;
    inset: 0;
    opacity: .2;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 54px 54px;
    content: "";
    mask-image: linear-gradient(to right, black, transparent 84%);
}

.hub-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr);
    align-items: center;
    gap: clamp(48px, 7vw, 96px);
}

.hub-hero-copy {
    position: relative;
}

.hub-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: #cfd8ea;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.hub-hero-kicker i {
    color: var(--hub-lime);
}

.hub-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.05rem, 5.5vw, 5.65rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.065em;
}

.hub-hero h1 span {
    background: linear-gradient(92deg, #9eefff 0%, #b9f34a 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hub-hero-copy > p {
    max-width: 650px;
    margin: 25px 0 0;
    color: #b8c4d9;
    font-size: clamp(.98rem, 1.25vw, 1.13rem);
    line-height: 1.75;
}

.hub-hero-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    max-width: 680px;
    margin-top: 30px;
    padding: 6px 6px 6px 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 17px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .16);
    backdrop-filter: blur(12px);
}

.hub-hero-search > i {
    color: #97a8c4;
}

.hub-hero-search input {
    min-width: 0;
    height: 50px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff;
}

.hub-hero-search input::placeholder {
    color: #9fadc4;
}

.hub-hero-search button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: var(--hub-lime);
    color: #172018;
    font-weight: 850;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hub-hero-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(185, 243, 74, .2);
}

.hub-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.hub-button-primary,
.hub-button-secondary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 19px;
    border-radius: 13px;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hub-button-primary {
    background: linear-gradient(135deg, var(--hub-blue), #6f58ee);
    box-shadow: 0 14px 30px rgba(79, 109, 245, .26);
    color: #fff !important;
}

.hub-button-secondary {
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .055);
    color: #e6ebf5 !important;
}

.hub-button-primary:hover,
.hub-button-secondary:hover {
    transform: translateY(-2px);
}

.hub-button-secondary:hover {
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .1);
}

.hub-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 25px;
    color: #9facbf;
    font-size: .72rem;
    font-weight: 700;
}

.hub-hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hub-hero-proof i {
    color: var(--hub-cyan);
}

.hub-hero-stage {
    position: relative;
    min-height: 520px;
}

.hub-showcase {
    position: absolute;
    z-index: 2;
    top: 34px;
    right: 15px;
    width: min(470px, 92%);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .07));
    box-shadow: 0 38px 85px rgba(0, 0, 0, .3);
    backdrop-filter: blur(22px);
    transform: rotate(1.4deg);
}

.hub-showcase::before {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, .08), transparent 46%);
    content: "";
    pointer-events: none;
}

.hub-showcase-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.hub-showcase-head > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hub-showcase-head small {
    color: #aebbd0;
    font-weight: 700;
}

.hub-showcase-head strong {
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
}

.hub-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hub-lime);
    box-shadow: 0 0 0 6px rgba(185, 243, 74, .12);
}

.hub-showcase-feature {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    background: rgba(8, 14, 28, .26);
}

.hub-showcase-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--hub-cyan), var(--hub-blue));
    box-shadow: 0 12px 25px rgba(32, 199, 217, .2);
}

.hub-showcase-feature small,
.hub-showcase-feature p {
    color: #9facc0;
}

.hub-showcase-feature strong {
    display: block;
    margin: 2px 0 4px;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
}

.hub-showcase-feature p {
    margin: 0;
    font-size: .72rem;
    line-height: 1.55;
}

.hub-showcase-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.hub-showcase-grid a {
    display: grid;
    min-width: 0;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 17px;
    background: rgba(255, 255, 255, .06);
    color: #fff !important;
    transition: transform .2s ease, background .2s ease;
}

.hub-showcase-grid a:hover {
    background: rgba(255, 255, 255, .11);
    transform: translateY(-3px);
}

.hub-showcase-grid a > i {
    color: var(--hub-cyan);
    font-size: 1.05rem;
}

.hub-showcase-grid span {
    overflow: hidden;
    font-size: .72rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hub-showcase-grid b {
    color: #94a3bb;
    font-size: .61rem;
    font-weight: 700;
}

.hub-showcase-foot {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.hub-showcase-foot span {
    display: grid;
    gap: 2px;
}

.hub-showcase-foot strong {
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem;
}

.hub-showcase-foot small {
    color: #8f9db5;
    font-size: .61rem;
}

.hub-float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 17px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .24);
    color: var(--hub-ink);
    backdrop-filter: blur(14px);
}

.hub-float-card > span:first-child {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 13px;
    background: #eef1ff;
    color: var(--hub-violet);
}

.hub-float-card div,
.hub-float-card > span:last-child {
    display: grid;
}

.hub-float-card small {
    color: #818b9e;
    font-size: .59rem;
    font-weight: 750;
}

.hub-float-card strong {
    font-size: .73rem;
}

.hub-float-payment {
    bottom: 40px;
    left: -4px;
    transform: rotate(-2deg);
}

.hub-float-trust {
    top: 4px;
    right: -16px;
    transform: rotate(3deg);
}

.hub-float-trust > i {
    color: var(--hub-success);
    font-size: 1.65rem;
}

.hub-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.hub-orbit::after {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--hub-cyan);
    box-shadow: 0 0 18px rgba(32, 199, 217, .9);
    content: "";
}

.hub-orbit-one {
    inset: 1% -3% 4% 4%;
}

.hub-orbit-one::after {
    top: 18%;
    left: 4%;
}

.hub-orbit-two {
    inset: 12% 8% 15% -8%;
}

.hub-orbit-two::after {
    right: 7%;
    bottom: 8%;
    background: var(--hub-lime);
    box-shadow: 0 0 18px rgba(185, 243, 74, .8);
}

/* Homepage discovery and cards */

.marketplace-discovery,
.popular-platforms-section,
.marketplace-results-section,
.homepage-product-section,
.seller-leaderboards-section,
.top-stores-section,
.marketplace-all-products,
.market-testimonials-section,
.market-faq-section {
    background: var(--hub-canvas);
}

.marketplace-discovery {
    padding: 82px 0 40px;
}

.marketplace-section-heading,
.platform-rail-heading,
.section-head {
    align-items: end;
}

.marketplace-section-heading h1,
.marketplace-section-heading h2,
.platform-rail-heading h2,
.section-head h2 {
    color: var(--hub-ink);
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -.05em;
}

.marketplace-arrow-link,
.platform-rail-heading > a,
.section-text-link {
    color: var(--hub-blue) !important;
    font-weight: 850;
}

.market-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.market-category-card {
    min-height: 205px;
    overflow: hidden;
    padding: 23px;
    border: 1px solid var(--hub-line);
    border-radius: 23px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--category-accent) 8%, #fff), #fff 60%);
    box-shadow: var(--hub-shadow-sm);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.market-category-card::before {
    position: absolute;
    right: -25px;
    bottom: -35px;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--category-accent) 10%, transparent);
    content: "";
}

.market-category-card:hover {
    border-color: color-mix(in srgb, var(--category-accent) 34%, var(--hub-line));
    box-shadow: 0 24px 48px rgba(25, 38, 70, .12);
    transform: translateY(-6px);
}

.market-category-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--category-accent) 12%, #fff);
    color: var(--category-accent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--category-accent) 15%, transparent);
}

.market-category-arrow {
    border: 1px solid var(--hub-line);
    background: #fff;
    color: var(--hub-ink);
}

.market-category-card:hover .market-category-arrow {
    border-color: var(--category-accent);
    background: var(--category-accent);
    color: #fff;
}

.market-category-card h2 {
    margin-top: 25px;
    font-size: 1.05rem;
}

.market-category-card-foot {
    border-top-color: #edf0f5;
}

.popular-platforms-section {
    padding: 34px 0 72px;
}

.platform-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: visible;
    gap: 10px;
}

.platform-rail > a {
    min-width: 0;
    min-height: 118px;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 13px 8px;
    border: 1px solid var(--hub-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(28, 40, 71, .055);
}

.platform-rail > a:hover {
    border-color: color-mix(in srgb, var(--platform-color) 30%, var(--hub-line));
    background: color-mix(in srgb, var(--platform-color) 4%, #fff);
    transform: translateY(-5px);
}

.platform-rail > a > span {
    width: 43px;
    height: 43px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--platform-color) 10%, #fff);
    color: var(--platform-color);
}

.platform-rail > a > i:last-child {
    display: none;
}

.platform-rail > a strong {
    font-size: .7rem;
}

.marketplace-live-stats {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--hub-canvas);
}

.marketplace-live-stats-grid {
    overflow: hidden;
    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 23px;
    background:
        radial-gradient(circle at 86% -80%, rgba(32, 199, 217, .36), transparent 42%),
        linear-gradient(115deg, #11182b, #192640);
    box-shadow: var(--hub-shadow);
}

.marketplace-live-stats-grid > div {
    border-right-color: rgba(255, 255, 255, .1);
}

.marketplace-live-stats-grid > div > span {
    background: rgba(255, 255, 255, .08);
    color: var(--hub-cyan);
}

.marketplace-live-stats-grid strong {
    color: #fff;
}

.marketplace-live-stats-grid small {
    color: #9facbf;
}

.page-section {
    padding: 76px 0;
}

.homepage-product-section,
.seller-leaderboards-section,
.top-stores-section,
.marketplace-all-products {
    padding-top: 78px;
}

.homepage-featured {
    margin-top: 58px;
}

.homepage-products-grid,
.products-grid {
    gap: 18px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--hub-line) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(26, 38, 68, .065) !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}

.product-card:hover {
    border-color: color-mix(in srgb, var(--brand-color, var(--brand, var(--hub-blue))) 30%, var(--hub-line)) !important;
    box-shadow: 0 25px 55px rgba(26, 38, 68, .13) !important;
    transform: translateY(-7px) !important;
}

.product-card .product-visual {
    min-height: 190px;
    background:
        radial-gradient(circle at 68% 32%, color-mix(in srgb, var(--brand-color, var(--brand, var(--hub-blue))) 22%, transparent), transparent 34%),
        linear-gradient(145deg, color-mix(in srgb, var(--brand-color, var(--brand, var(--hub-blue))) 8%, #f6f8fc), #eef2f8) !important;
}

.product-card .product-visual::after {
    opacity: .32;
}

.product-card .product-brand-logo {
    width: 90px;
    height: 90px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 25px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 16px 32px rgba(27, 41, 72, .12);
    color: var(--brand-color, var(--brand, var(--hub-blue)));
    backdrop-filter: blur(8px);
}

.product-card .stock-pill,
.product-card .product-featured-pill,
.product-card .discount {
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 7px 18px rgba(25, 38, 70, .1);
    backdrop-filter: blur(8px);
}

.product-card .product-body {
    padding: 20px !important;
}

.product-card .product-meta > span:first-child,
.product-attribute-row span {
    border: 1px solid #e5e9f1;
    border-radius: 999px;
    background: #f6f8fb;
    color: #667085;
}

.product-card .product-body h3 {
    color: var(--hub-ink);
    font-size: 1rem;
}

.product-card .product-summary {
    color: #737d90;
}

.product-card .seller-name i {
    color: var(--hub-success);
}

.product-card .product-price-row strong {
    color: var(--hub-ink);
    font-family: "Space Grotesk", sans-serif;
}

.product-view-link {
    color: var(--hub-blue) !important;
}

.product-cart-button {
    border-radius: 11px !important;
    background: var(--hub-ink) !important;
    color: #fff !important;
}

.product-cart-button:hover {
    background: var(--hub-blue) !important;
}

.seller-leaderboard-card,
.top-store-card,
.market-testimonial-card,
.market-faq-item,
.marketplace-empty-card {
    border: 1px solid var(--hub-line) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: var(--hub-shadow-sm) !important;
}

.seller-leaderboard-card header {
    border-radius: 21px 21px 0 0;
    background: linear-gradient(125deg, #11182b, #243252);
}

.seller-leaderboard-card.monthly header {
    background: linear-gradient(125deg, #3d4fce, #7058eb);
}

.top-store-card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.top-store-card:hover {
    box-shadow: var(--hub-shadow) !important;
    transform: translateY(-6px);
}

.top-store-logo {
    background: linear-gradient(145deg, #eef2ff, #f2fbfc);
    color: var(--hub-blue);
}

.feature-band {
    background: linear-gradient(115deg, #11182b, #1d2b48);
}

.feature-item {
    border-color: rgba(255, 255, 255, .1);
}

.feature-icon {
    border-radius: 15px;
    background: rgba(255, 255, 255, .08);
    color: var(--hub-lime);
}

.feature-item h3 {
    color: #fff;
}

.feature-item p {
    color: #9faec4;
}

.market-testimonials-section {
    padding-top: 84px;
}

.market-review-avatar {
    border-radius: 13px !important;
    background: #eef1ff !important;
    color: var(--hub-blue) !important;
}

.market-rating-summary {
    border: 1px solid #dfe4ef;
    border-radius: 999px;
    background: #fff;
    color: var(--hub-ink);
}

.market-faq-layout {
    overflow: hidden;
    padding: 46px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 10% 10%, rgba(32, 199, 217, .16), transparent 28%),
        #11182b;
    box-shadow: var(--hub-shadow);
}

.market-faq-intro h2 {
    color: #fff;
}

.market-faq-intro p {
    color: #aebbd0;
}

.market-faq-intro a {
    color: var(--hub-lime) !important;
}

.market-faq-item {
    box-shadow: none !important;
}

.market-home-cta {
    background: var(--hub-canvas);
}

.market-home-cta-inner {
    overflow: hidden;
    border: 0;
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 5%, rgba(185, 243, 74, .22), transparent 28%),
        radial-gradient(circle at 12% 110%, rgba(32, 199, 217, .24), transparent 30%),
        linear-gradient(115deg, #354ed6, #6b51e5);
    box-shadow: 0 30px 70px rgba(79, 87, 213, .24);
}

.market-home-cta h2,
.market-home-cta p,
.market-home-cta .eyebrow {
    color: #fff !important;
}

/* Buttons, forms, product and checkout pages */

.button,
.buyer-primary-button,
.buyer-outline-button {
    border-radius: 12px !important;
    font-weight: 800 !important;
}

.button-gradient,
.buyer-primary-button {
    border: 0 !important;
    background: linear-gradient(135deg, var(--hub-blue), var(--hub-blue-dark)) !important;
    box-shadow: 0 11px 24px rgba(79, 109, 245, .21);
    color: #fff !important;
}

.button-gradient:hover,
.buyer-primary-button:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.button-outline,
.buyer-outline-button {
    border-color: #dce2ed !important;
    background: #fff !important;
    color: var(--hub-ink) !important;
}

.button-outline:hover,
.buyer-outline-button:hover {
    border-color: rgba(79, 109, 245, .45) !important;
    background: #f4f6ff !important;
    color: var(--hub-blue) !important;
}

.button-soft {
    background: #eef1ff !important;
    color: var(--hub-blue) !important;
}

.card,
.dashboard-card,
.buyer-panel-card,
.buyer-table-card,
.order-summary {
    border: 1px solid var(--hub-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--hub-shadow-sm) !important;
}

.field input,
.field select,
.field textarea,
.buyer-field input,
.buyer-field select,
.buyer-field textarea,
.gateway-form input,
.gateway-form select,
.gateway-form textarea {
    min-height: 47px;
    border: 1px solid #dce2ed !important;
    border-radius: 12px !important;
    background: #f8f9fc !important;
    color: var(--hub-ink) !important;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.buyer-field input:focus,
.buyer-field select:focus,
.buyer-field textarea:focus,
.gateway-form input:focus,
.gateway-form select:focus,
.gateway-form textarea:focus {
    border-color: rgba(79, 109, 245, .7) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(79, 109, 245, .09) !important;
}

.payment-option {
    border: 1px solid #dfe4ed;
    border-radius: 15px;
    background: #f8f9fc;
}

.payment-option:has(input:checked) {
    border-color: var(--hub-blue);
    background: #f1f3ff;
    box-shadow: 0 0 0 3px rgba(79, 109, 245, .09);
}

.checkout-steps {
    overflow: hidden;
    border: 1px solid var(--hub-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--hub-shadow-sm);
}

.checkout-step.active {
    background: #eef1ff;
    color: var(--hub-blue);
}

.product-detail-grid {
    gap: 30px;
}

.product-detail-visual,
.product-detail-content,
.seller-card,
.detail-description-block,
.review-card {
    border: 1px solid var(--hub-line) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: var(--hub-shadow-sm);
}

.large-product-visual {
    border-radius: 24px;
    background:
        radial-gradient(circle at 70% 20%, rgba(32, 199, 217, .18), transparent 32%),
        linear-gradient(145deg, #f1f4ff, #f1f7f8) !important;
}

.stock-tag {
    border-radius: 999px;
    background: #e9faf4;
    color: var(--hub-success);
}

.seller-logo {
    border-radius: 15px !important;
    background: #eef1ff !important;
    color: var(--hub-blue) !important;
}

.info-note {
    border: 1px solid #dde4ef;
    border-radius: 14px;
}

.success-note {
    border-color: rgba(19, 168, 117, .22);
    background: #ecfbf5;
    color: #107b59;
}

.warning-note {
    border-color: rgba(235, 165, 36, .24);
    background: #fff8e8;
    color: #8b5f0b;
}

/* Catalog and directory pages */

.catalog-page-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0;
    background:
        radial-gradient(circle at 88% 12%, rgba(32, 199, 217, .22), transparent 28%),
        linear-gradient(125deg, #11182b, #1b2a49);
}

.catalog-page-hero::after {
    position: absolute;
    inset: 0;
    opacity: .17;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    pointer-events: none;
}

.catalog-page-hero .shell {
    position: relative;
    z-index: 1;
}

.catalog-page-hero h1 {
    max-width: 820px;
    color: #fff;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1;
}

.catalog-page-hero p {
    max-width: 760px;
    color: #b5c2d7;
}

.catalog-page-hero .eyebrow {
    color: var(--hub-lime) !important;
}

.catalog-breadcrumb,
.catalog-breadcrumb a {
    color: #9facc1 !important;
}

.catalog-page-search {
    max-width: 690px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;
    background: rgba(255, 255, 255, .09);
}

.catalog-page-search input {
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
}

.catalog-category-grid {
    gap: 15px;
}

.catalog-category-card {
    border: 1px solid var(--hub-line) !important;
    border-radius: 19px !important;
    background: #fff !important;
    box-shadow: 0 9px 25px rgba(25, 38, 70, .055);
}

.catalog-category-card:hover,
.catalog-category-card.active {
    border-color: color-mix(in srgb, var(--catalog-color) 34%, var(--hub-line)) !important;
    box-shadow: var(--hub-shadow-sm);
    transform: translateY(-4px);
}

.catalog-category-card .service-icon {
    border-radius: 14px;
    background: color-mix(in srgb, var(--catalog-color) 11%, #fff);
    color: var(--catalog-color);
}

.marketplace-filter-bar {
    border: 1px solid var(--hub-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--hub-shadow-sm);
}

.marketplace-advanced-filter {
    overflow: hidden;
    border: 1px solid var(--hub-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--hub-shadow-sm);
}

.marketplace-advanced-filter summary {
    color: var(--hub-ink);
}

/* Dynamic authentication */

.auth-layout {
    min-height: calc(100vh - 164px);
    background: #fff;
}

.auth-art {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(185, 243, 74, .18), transparent 25%),
        radial-gradient(circle at 18% 90%, rgba(32, 199, 217, .24), transparent 29%),
        linear-gradient(145deg, #10172a, #1a2948) !important;
}

.auth-art::after {
    position: absolute;
    right: -110px;
    bottom: -120px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 54px rgba(255, 255, 255, .025),
        0 0 0 108px rgba(255, 255, 255, .018);
    content: "";
}

.auth-art h1 {
    color: #fff;
}

.auth-art h1 span {
    color: var(--hub-lime) !important;
}

.auth-art p {
    color: #aebbd0;
}

.auth-form-side {
    background: #f7f8fb !important;
}

.auth-box {
    padding: 38px;
    border: 1px solid var(--hub-line);
    border-radius: 25px;
    background: #fff;
    box-shadow: var(--hub-shadow);
}

/* Buyer, seller, and administrator workspaces */

.buyer-app {
    background: #f4f6fa !important;
}

.buyer-sidebar {
    border-right: 0 !important;
    background:
        radial-gradient(circle at 0 100%, rgba(32, 199, 217, .15), transparent 33%),
        linear-gradient(180deg, #11182b, #16223b) !important;
    color: #fff;
}

.buyer-brand {
    color: #fff !important;
}

.buyer-brand-bag {
    border-radius: 14px 14px 14px 5px !important;
    background: linear-gradient(145deg, #6983ff, #4f6df5) !important;
    box-shadow: 0 12px 24px rgba(79, 109, 245, .28);
}

.buyer-brand strong,
.buyer-brand strong span {
    color: #fff !important;
}

.buyer-brand small {
    color: #8f9eb6 !important;
}

.buyer-nav a {
    margin: 3px 10px;
    border-radius: 12px !important;
    color: #aeb9cc !important;
}

.buyer-nav a i {
    color: #7888a4;
}

.buyer-nav a:hover {
    background: rgba(255, 255, 255, .07) !important;
    color: #fff !important;
}

.buyer-nav a.active {
    background: linear-gradient(135deg, rgba(79, 109, 245, .95), rgba(94, 77, 218, .95)) !important;
    box-shadow: 0 12px 24px rgba(33, 45, 95, .28);
    color: #fff !important;
}

.buyer-nav a.active i {
    color: var(--hub-lime);
}

.buyer-help-card {
    border: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: 17px !important;
    background: rgba(255, 255, 255, .055) !important;
}

.buyer-help-card i {
    color: var(--hub-lime) !important;
}

.buyer-help-card p {
    color: #96a5bd !important;
}

.buyer-help-card a {
    background: #fff !important;
    color: var(--hub-ink) !important;
}

.buyer-topbar {
    border-bottom: 1px solid var(--hub-line) !important;
    background: rgba(255, 255, 255, .91) !important;
    backdrop-filter: blur(16px);
}

.buyer-content {
    background:
        radial-gradient(circle at 90% 0, rgba(79, 109, 245, .06), transparent 26%),
        #f4f6fa;
}

.buyer-page-head h1 {
    color: var(--hub-ink);
}

.buyer-stat-card,
.buyer-balance-card {
    overflow: hidden;
    border: 1px solid var(--hub-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--hub-shadow-sm) !important;
}

.buyer-stat-card::after,
.buyer-balance-card::after {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: rgba(79, 109, 245, .055);
    content: "";
}

.buyer-stat-balance,
.buyer-balance-card {
    background:
        radial-gradient(circle at 90% 20%, rgba(185, 243, 74, .18), transparent 31%),
        linear-gradient(130deg, #11182b, #253557) !important;
    color: #fff !important;
}

.buyer-stat-balance span,
.buyer-stat-balance strong,
.buyer-balance-card span,
.buyer-balance-card strong,
.buyer-balance-card small {
    color: #fff !important;
}

.buyer-stat-balance a {
    color: var(--hub-lime) !important;
}

.buyer-payment-list label,
.buyer-amount-grid label > span,
.buyer-fee-summary,
.buyer-topup-note {
    border-color: var(--hub-line) !important;
    border-radius: 15px !important;
}

.buyer-payment-list label:has(input:checked),
.buyer-amount-grid label:has(input:checked) > span {
    border-color: var(--hub-blue) !important;
    background: #f1f3ff !important;
    box-shadow: 0 0 0 3px rgba(79, 109, 245, .08);
}

.crypto-icon {
    border-radius: 12px !important;
    background: #eef1ff !important;
    color: var(--hub-blue) !important;
}

.dashboard-wrap {
    grid-template-columns: 235px minmax(0, 1fr);
}

.dashboard-sidebar {
    height: max-content;
    overflow: hidden;
    border: 0 !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 0 100%, rgba(32, 199, 217, .15), transparent 34%),
        linear-gradient(180deg, #11182b, #182640) !important;
    box-shadow: var(--hub-shadow);
}

.dashboard-user {
    border-bottom-color: rgba(255, 255, 255, .09) !important;
}

.dashboard-user strong {
    color: #fff;
}

.dashboard-user small {
    color: #98a7bd;
}

.dashboard-nav a {
    border-radius: 11px !important;
    color: #aeb9cc !important;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
}

.dashboard-nav a.active {
    background: linear-gradient(135deg, var(--hub-blue), #6951df) !important;
}

.dashboard-nav a i {
    color: var(--hub-cyan);
}

.dashboard-main {
    min-width: 0;
}

.stats-grid .stat-card {
    border: 1px solid var(--hub-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: var(--hub-shadow-sm) !important;
}

.stats-grid .stat-card.teal {
    background:
        radial-gradient(circle at 90% 10%, rgba(185, 243, 74, .15), transparent 29%),
        linear-gradient(135deg, #11182b, #233352) !important;
    color: #fff !important;
}

.order-row {
    border-radius: 15px !important;
}

.order-thumb {
    border-radius: 14px !important;
    background: #eef1ff !important;
    color: var(--hub-blue) !important;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

thead th {
    background: #f4f6fa !important;
    color: #697386 !important;
}

tbody tr:hover {
    background: #fafbfe;
}

/* Static marketplace header and footer */

.market-catalog-body {
    --teal: var(--hub-blue);
    --teal-dark: var(--hub-blue-dark);
    --text: var(--hub-ink);
    --muted: var(--hub-muted);
    --line: var(--hub-line);
    --soft: var(--hub-canvas);
    background:
        radial-gradient(circle at 90% 0, color-mix(in srgb, var(--brand) 5%, transparent), transparent 24%),
        var(--hub-canvas) !important;
    color: var(--hub-ink) !important;
}

.market-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: auto;
    border-bottom: 1px solid rgba(17, 24, 43, .08) !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 8px 28px rgba(25, 38, 70, .055);
    backdrop-filter: blur(18px);
}

.market-header::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand, var(--hub-blue)), var(--hub-cyan), var(--hub-lime));
    content: "";
}

.market-header-inner {
    min-height: 78px;
    gap: 20px;
}

.market-brand {
    gap: 10px;
    color: var(--hub-ink) !important;
}

.market-brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35) !important;
    border-radius: 15px 15px 15px 5px !important;
    background:
        radial-gradient(circle at 73% 22%, rgba(185, 243, 74, .95) 0 8%, transparent 9%),
        linear-gradient(145deg, var(--brand, #6983ff), var(--brand-2, #354ed6)) !important;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--brand, var(--hub-blue)) 22%, transparent) !important;
    color: #fff !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
}

.market-brand-name {
    color: var(--hub-ink) !important;
    font-size: 1.3rem !important;
}

.market-brand-name span {
    color: var(--brand, var(--hub-blue)) !important;
}

.market-search {
    min-height: 46px;
    border: 1px solid #dce2ed !important;
    border-radius: 14px !important;
    background: #f5f7fb !important;
}

.market-search:focus-within {
    border-color: color-mix(in srgb, var(--brand, var(--hub-blue)) 60%, #dce2ed) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand, var(--hub-blue)) 10%, transparent);
}

.market-search input {
    color: var(--hub-ink) !important;
}

.marketplace-trigger,
.market-desktop-nav > a {
    min-height: 42px;
    border-radius: 11px;
    color: #4e596d !important;
    font-weight: 800;
}

.marketplace-trigger:hover,
.market-desktop-nav > a:hover,
.marketplace-dropdown.is-open .marketplace-trigger {
    background: color-mix(in srgb, var(--brand, var(--hub-blue)) 8%, #fff) !important;
    color: var(--brand, var(--hub-blue)) !important;
}

.marketplace-panel {
    overflow: hidden;
    border: 1px solid rgba(17, 24, 43, .09) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: var(--hub-shadow-lg) !important;
}

.marketplace-panel-head {
    background: linear-gradient(120deg, #f2f5ff, #f3fbfb) !important;
}

.marketplace-service-link {
    border-radius: 11px !important;
}

.marketplace-service-link:hover {
    background: #f2f5ff !important;
    color: var(--hub-blue) !important;
}

.market-icon-button {
    border: 1px solid #dfe4ed !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--hub-ink) !important;
}

.market-icon-button:hover {
    border-color: color-mix(in srgb, var(--brand) 35%, #dfe4ed) !important;
    background: color-mix(in srgb, var(--brand) 7%, #fff) !important;
    color: var(--brand) !important;
}

.market-avatar {
    border-radius: 12px !important;
    background: var(--hub-ink) !important;
}

.market-drawer {
    background: #fff !important;
}

.drawer-head {
    border-bottom-color: var(--hub-line) !important;
}

.drawer-links a,
.drawer-marketplace summary {
    border-radius: 12px !important;
}

.drawer-links a:hover,
.drawer-marketplace summary:hover {
    background: #f2f5ff !important;
    color: var(--hub-blue) !important;
}

.market-page {
    padding-bottom: 84px;
}

.market-breadcrumb {
    color: #8791a4 !important;
}

.market-breadcrumb a {
    color: var(--brand, var(--hub-blue)) !important;
}

.page-header,
.about-hero,
.contact-hero,
.catalog-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px) !important;
    border: 0 !important;
    border-radius: 29px !important;
    background:
        radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--brand, var(--hub-cyan)) 32%, transparent), transparent 27%),
        linear-gradient(125deg, #11182b, #1b2a49) !important;
    box-shadow: var(--hub-shadow) !important;
    color: #fff !important;
}

.page-header::before,
.about-hero::before,
.contact-hero::before,
.catalog-hero::before {
    position: absolute;
    inset: 0;
    opacity: .15;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    pointer-events: none;
}

.page-header h1,
.about-hero h1,
.contact-hero h1,
.catalog-hero h1 {
    position: relative;
    color: #fff !important;
    font-size: clamp(2.5rem, 5vw, 4.8rem) !important;
    line-height: 1 !important;
    letter-spacing: -.06em !important;
}

.page-header h1 span,
.about-hero h1 span,
.contact-hero h1 span,
.catalog-hero h1 span {
    color: var(--hub-lime) !important;
}

.page-header p,
.about-hero p,
.contact-hero p,
.catalog-hero p {
    position: relative;
    max-width: 760px;
    color: #b4c1d6 !important;
    font-size: 1rem !important;
    line-height: 1.75;
}

.content-area,
.info-section,
.terms-section,
.privacy-section,
.refund-section,
.faq-section {
    color: var(--hub-ink);
}

.info-section,
.terms-section,
.privacy-section,
.refund-section,
.faq-category,
.contact-card,
.form-container,
.hours-box,
.mission-card,
.value-card,
.team-card,
.highlight-box,
.author-bio,
.ranking-article,
.table-wrapper,
.table-container {
    border: 1px solid var(--hub-line) !important;
    border-radius: 21px !important;
    background: #fff !important;
    box-shadow: var(--hub-shadow-sm) !important;
}

.info-card,
.stat-card {
    border: 1px solid var(--hub-line) !important;
    border-radius: 17px !important;
    background: #f8f9fc !important;
}

.info-card i,
.contact-icon,
.value-icon,
.mission-icon {
    color: var(--brand, var(--hub-blue)) !important;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--hub-line) !important;
    border-radius: 15px !important;
    background: #fff !important;
}

.faq-item:hover {
    border-color: color-mix(in srgb, var(--brand, var(--hub-blue)) 30%, var(--hub-line)) !important;
}

.highlight-box {
    border-left: 4px solid var(--brand, var(--hub-blue)) !important;
    background: color-mix(in srgb, var(--brand, var(--hub-blue)) 5%, #fff) !important;
}

.products-grid {
    gap: 18px !important;
}

.catalog-product-card {
    overflow: hidden;
    border: 1px solid var(--hub-line) !important;
    border-radius: 21px !important;
    background: #fff !important;
    box-shadow: var(--hub-shadow-sm) !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}

.catalog-product-card:hover {
    border-color: color-mix(in srgb, var(--brand) 30%, var(--hub-line)) !important;
    box-shadow: var(--hub-shadow) !important;
    transform: translateY(-6px) !important;
}

.catalog-product-media {
    min-height: 168px;
    background:
        radial-gradient(circle at 70% 23%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 31%),
        linear-gradient(145deg, color-mix(in srgb, var(--brand) 7%, #f5f7fb), #eff3f8) !important;
}

.catalog-product-icon {
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .88) !important;
    box-shadow: 0 15px 30px rgba(25, 38, 70, .11);
    color: var(--brand) !important;
}

.catalog-stock-badge,
.market-badge {
    border-radius: 999px !important;
    backdrop-filter: blur(8px);
}

.catalog-product-body {
    padding: 19px !important;
}

.catalog-view-link {
    color: var(--brand, var(--hub-blue)) !important;
}

.catalog-cart-link,
.product-btn {
    border-radius: 11px !important;
    background: var(--hub-ink) !important;
    color: #fff !important;
}

.catalog-cart-link:hover,
.product-btn:hover {
    background: var(--brand, var(--hub-blue)) !important;
}

.market-seller-card,
.market-review-card {
    border: 1px solid var(--hub-line) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: var(--hub-shadow-sm) !important;
}

.seller-illustration {
    background:
        radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 32%),
        #f2f5fa !important;
}

.market-footer {
    border-top: 0 !important;
    background:
        radial-gradient(circle at 15% 100%, rgba(32, 199, 217, .15), transparent 31%),
        #11182b !important;
    color: #fff !important;
}

.market-footer p,
.market-footer a,
.market-copyright {
    color: #9eacc1 !important;
}

.market-footer h3,
.market-footer strong,
.market-footer .market-brand-name {
    color: #fff !important;
}

.market-footer a:hover {
    color: var(--hub-lime) !important;
}

.market-copyright {
    border-top-color: rgba(255, 255, 255, .1) !important;
}

/* Static authentication and seller gateway pages */

.gateway-page {
    min-height: 70vh;
    padding: 64px 24px;
    background:
        radial-gradient(circle at 90% 10%, rgba(79, 109, 245, .08), transparent 24%),
        var(--hub-canvas);
}

.gateway-card,
.seller-gateway {
    overflow: hidden;
    border: 1px solid var(--hub-line) !important;
    border-radius: 28px !important;
    background: #fff !important;
    box-shadow: var(--hub-shadow) !important;
}

.gateway-copy {
    background:
        radial-gradient(circle at 88% 14%, rgba(185, 243, 74, .18), transparent 27%),
        linear-gradient(145deg, #10172a, #1a2948) !important;
    color: #fff !important;
}

.gateway-copy h1,
.gateway-copy h2 {
    color: #fff !important;
}

.gateway-copy p {
    color: #b0bdd1 !important;
}

.gateway-benefits span {
    border: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #dce4f1 !important;
}

.gateway-form {
    background: #fff !important;
}

.seller-gateway-steps div {
    border-radius: 15px !important;
    background: #f5f7fb !important;
}

/* Main dynamic footer */

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 0;
    background:
        radial-gradient(circle at 12% 110%, rgba(32, 199, 217, .16), transparent 31%),
        radial-gradient(circle at 91% -20%, rgba(135, 92, 255, .14), transparent 29%),
        #11182b;
    color: #fff;
}

.site-footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hub-blue), var(--hub-cyan), var(--hub-lime));
    content: "";
}

.footer-promise-bar {
    border-bottom-color: rgba(255, 255, 255, .1);
}

.footer-promise-bar > div {
    border-right-color: rgba(255, 255, 255, .1);
}

.footer-promise-bar i {
    border-radius: 14px;
    background: rgba(255, 255, 255, .075);
    color: var(--hub-lime);
}

.footer-promise-bar strong,
.footer-grid h3 {
    color: #fff;
}

.footer-promise-bar small,
.footer-grid p,
.footer-grid a,
.footer-bottom {
    color: #9ba9bf;
}

.footer-grid a:hover {
    color: var(--hub-lime);
}

.footer-brand .brand-name,
.footer-brand .brand-name span {
    color: #fff;
}

.footer-brand .brand-copy > small {
    color: #788aa5;
}

.footer-socials a {
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .055);
    color: #fff;
}

.footer-socials a:hover {
    border-color: rgba(185, 243, 74, .35);
    background: rgba(185, 243, 74, .1);
    color: var(--hub-lime);
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, .1);
}

.footer-payment-note i {
    color: var(--hub-cyan);
}

/* Responsive refinements */

@media (max-width: 1120px) {
    .hub-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(370px, .82fr);
        gap: 42px;
    }

    .hub-hero h1 {
        font-size: clamp(3rem, 5.4vw, 4.8rem);
    }

    .hub-hero-stage {
        min-height: 490px;
    }

    .market-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .platform-rail {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .header-action-copy {
        display: none;
    }
}

@media (max-width: 900px) {
    .shell,
    .market-shell {
        width: min(100% - 32px, 1240px);
    }

    .header-utility {
        display: none;
    }

    .header-inner {
        min-height: 70px;
    }

    .site-header {
        top: 0;
    }

    .hub-hero {
        padding: 58px 0 48px;
    }

    .hub-hero-grid {
        grid-template-columns: 1fr;
    }

    .hub-hero-copy {
        text-align: center;
    }

    .hub-hero-copy > p,
    .hub-hero-search {
        margin-right: auto;
        margin-left: auto;
    }

    .hub-hero-actions,
    .hub-hero-proof {
        justify-content: center;
    }

    .hub-hero-stage {
        width: min(620px, 100%);
        min-height: 490px;
        margin: 4px auto 0;
    }

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

    .platform-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .market-faq-layout {
        padding: 32px;
    }

    .market-header-inner {
        min-height: 70px;
    }

    .market-search {
        order: 4;
        width: 100%;
        margin-bottom: 12px;
    }

    .market-header-inner {
        flex-wrap: wrap;
    }

    .dashboard-wrap {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }
}

@media (max-width: 680px) {
    .shell,
    .market-shell {
        width: min(100% - 24px, 1240px);
    }

    .brand-copy > small {
        display: none;
    }

    .brand-name,
    .market-brand-name {
        font-size: 1.15rem !important;
    }

    .brand-mark,
    .market-brand-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 13px 13px 13px 5px !important;
    }

    .hub-hero {
        padding-top: 46px;
    }

    .hub-hero h1 {
        font-size: clamp(2.55rem, 12vw, 4.1rem);
    }

    .hub-hero-copy > p {
        font-size: .93rem;
    }

    .hub-hero-search {
        grid-template-columns: auto minmax(0, 1fr);
        padding-right: 12px;
    }

    .hub-hero-search button {
        grid-column: 1 / -1;
        width: 100%;
        margin-bottom: 6px;
    }

    .hub-button-primary,
    .hub-button-secondary {
        width: 100%;
    }

    .hub-hero-proof {
        display: grid;
        justify-content: start;
        text-align: left;
    }

    .hub-hero-stage {
        min-height: 420px;
    }

    .hub-showcase {
        top: 28px;
        right: 0;
        left: 0;
        width: 100%;
        padding: 16px;
        transform: none;
    }

    .hub-showcase-grid {
        gap: 6px;
    }

    .hub-showcase-grid a {
        padding: 11px 8px;
    }

    .hub-float-payment {
        bottom: 0;
        left: 4px;
    }

    .hub-float-trust {
        display: none;
    }

    .marketplace-discovery {
        padding-top: 58px;
    }

    .market-category-grid {
        grid-template-columns: 1fr;
    }

    .market-category-card {
        min-height: 175px;
    }

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

    .platform-rail > a {
        min-height: 104px;
    }

    .marketplace-live-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
    }

    .marketplace-live-stats-grid > div {
        min-height: 94px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .09);
    }

    .page-section {
        padding: 56px 0;
    }

    .market-faq-layout {
        padding: 24px;
        border-radius: 23px;
    }

    .market-home-cta-inner {
        border-radius: 23px;
    }

    .page-header,
    .about-hero,
    .contact-hero,
    .catalog-hero {
        padding: 34px 24px !important;
        border-radius: 22px !important;
    }

    .page-header h1,
    .about-hero h1,
    .contact-hero h1,
    .catalog-hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.3rem) !important;
    }

    .gateway-page {
        padding: 34px 12px;
    }

    .gateway-card,
    .seller-gateway {
        border-radius: 21px !important;
    }

    .auth-box {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .footer-promise-bar > div {
        border-right: 0;
    }
}

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