* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

body {
    min-height: 100%;
    overflow-x: clip;
}

#navbar:empty {
    min-height: 84px;
}

body:has(.help-center-page) #navbar:empty,
body:has(.help-article-page) #navbar:empty {
    min-height: 100px;
}

/* Premium category page */

.category-pro-hero {
    min-height: 330px;
    display: grid;
    place-items: center;
    padding: 56px 5% 42px;
    background:
        linear-gradient(180deg, rgba(7, 8, 12, 0.58), rgba(7, 8, 12, 0.96)),
        radial-gradient(circle at 22% 18%, rgba(255, 71, 87, 0.22), transparent 30%),
        radial-gradient(circle at 82% 28%, rgba(56, 189, 248, 0.16), transparent 32%),
        url("../Images/home-banner.png");
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #20222b;
}

.category-pro-copy {
    width: min(980px, 100%);
    text-align: center;
}

.category-pro-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 18px;
    border: 1px solid rgba(255, 71, 87, 0.35);
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.12);
    color: #ff7182;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.category-pro-copy h1 {
    margin: 18px 0 10px;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: 0;
}

.category-pro-copy p {
    max-width: 680px;
    margin: 0 auto;
    color: #bdd7f7;
    font-size: 1.02rem;
}

.category-legal-note {
    display: block;
    margin: 12px auto 0;
    max-width: 620px;
    color: #8594aa;
    font-size: 0.78rem;
    line-height: 1.5;
}

.category-pro-stats {
    width: min(720px, 100%);
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    background: rgba(13, 14, 20, 0.64);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.category-pro-stats span {
    min-height: 68px;
    display: grid;
    place-items: center;
    gap: 3px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.category-pro-stats span:last-child {
    border-right: none;
}

.category-pro-stats strong {
    color: #fff;
    font-size: 0.96rem;
}

.category-pro-stats small {
    color: #94a3b8;
    font-size: 0.76rem;
}

.category-pro-page {
    width: min(1220px, 92vw);
    margin: 0 auto;
    padding: 46px 0 90px;
}

.category-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.category-toolbar span {
    color: #22c55e;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.category-toolbar h2,
.category-offers-section h2 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 1.8rem;
}

.category-filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.category-filter-row button {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #2a2d38;
    border-radius: 999px;
    background: #14151c;
    color: #cbd5e1;
    font-weight: 900;
    cursor: pointer;
}

.category-filter-row button:hover,
.category-filter-row button.active {
    border-color: rgba(255, 71, 87, 0.42);
    background: rgba(255, 71, 87, 0.12);
    color: #fff;
}

.category-pro-grid.game-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.category-pro-grid .game-category-card {
    min-height: 260px;
    width: 100%;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 13px;
    border: 1px solid #242733;
    border-top: 3px solid var(--card-accent);
    border-radius: 10px;
    padding: 22px 16px;
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--card-accent) 18%, transparent), transparent 38%),
        linear-gradient(180deg, #14161f, #0f1016);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.category-pro-grid .game-category-card.items { --card-accent: #ff6bcb; }
.category-pro-grid .game-category-card.topups { --card-accent: #ff4757; }

.category-pro-grid .game-category-card.active,
.category-pro-grid .game-category-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-accent);
    box-shadow: 0 24px 60px color-mix(in srgb, var(--card-accent) 14%, transparent);
}

.category-pro-grid .game-category-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 1.75rem;
}

.category-pro-grid .game-category-card strong {
    font-size: 1.04rem;
}

.category-pro-grid .game-category-card span {
    min-height: 46px;
    font-size: 0.86rem;
}

.category-card-meta {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.category-pro-grid .category-card-meta em {
    margin: 0;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 0.7rem;
    color: #e5e7eb;
}

.category-pro-grid .game-category-card small {
    color: #7f8ca3;
    font-weight: 800;
}

.category-offers-section {
    margin-top: 42px;
}

.category-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.category-offer-card {
    min-height: 116px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid #252936;
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent),
        #111219;
    color: #fff;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.category-offer-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 71, 87, 0.36);
    background: #151720;
}

.category-offer-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 71, 87, 0.13);
    color: #ff6b81;
    font-size: 1.35rem;
}

.category-offer-icon.currency { background: rgba(255, 176, 32, 0.13); color: #ffb020; }
.category-offer-icon.accounts { background: rgba(56, 189, 248, 0.13); color: #38bdf8; }
.category-offer-icon.boosting { background: rgba(125, 220, 24, 0.13); color: #7ddc18; }
.category-offer-icon.items { background: rgba(255, 107, 203, 0.13); color: #ff6bcb; }
.category-offer-icon.topups { background: rgba(255, 71, 87, 0.13); color: #ff4757; }

.category-offer-card small {
    display: block;
    margin-bottom: 5px;
    color: #8aa9cf;
    font-weight: 800;
}

.category-offer-card strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.category-offer-card p {
    margin: 6px 0 0;
    color: #94a3b8;
    line-height: 1.4;
}

.category-offer-card em {
    min-width: 96px;
    justify-self: end;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.13);
    color: #22c55e;
    padding: 9px 12px;
    font-style: normal;
    font-weight: 950;
    text-align: center;
}

.category-empty-state {
    grid-column: 1 / -1;
    border: 1px dashed #2a2d38;
    border-radius: 10px;
    color: #94a3b8;
    padding: 30px;
    text-align: center;
}

@media screen and (max-width: 1050px) {
    .category-pro-grid.game-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media screen and (max-width: 720px) {
    .category-pro-hero {
        min-height: 300px;
        padding: 48px 18px 38px;
    }

    .category-pro-stats,
    .category-pro-grid.game-category-grid {
        grid-template-columns: 1fr;
    }

    .category-pro-stats span {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .category-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-filter-row {
        justify-content: flex-start;
    }

    .category-offer-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .category-offer-card em {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
}

/* Multi-seller category marketplace */

.seller-market-hero {
    display: none;
    min-height: 194px;
    padding: 44px max(5%, calc((100% - 1440px) / 2)) 34px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 56px;
    background:
        linear-gradient(90deg, rgba(11, 12, 18, 0.94), rgba(11, 12, 18, 0.78)),
        radial-gradient(circle at 72% 20%, rgba(255, 71, 87, 0.2), transparent 30%),
        url("../Images/home-banner.png") center / cover;
    border-bottom: 1px solid #252936;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.seller-market-title {
    width: 100%;
    max-width: none;
    justify-self: stretch;
}

.seller-market-title span {
    color: #ff6072;
    font-size: 0.77rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.seller-market-title span b {
    color: #fff;
}

.seller-market-title h1 {
    margin: 7px 0 5px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.08;
}

.seller-market-title h1:empty,
.seller-market-title p:empty {
    display: none;
}

.seller-market-title p {
    color: #a9b7cc;
}

.seller-hero-rating {
    width: 100%;
    justify-self: stretch;
    min-height: 104px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    grid-template-areas:
        "label score"
        "orders score";
    align-items: center;
    gap: 7px 16px;
    padding: 13px 14px 13px 18px;
    border: 1px solid rgba(255, 71, 92, 0.24);
    border-radius: 8px;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 71, 92, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(22, 24, 34, 0.92), rgba(12, 14, 21, 0.96));
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.seller-hero-rating > div {
    grid-area: score;
    width: 76px;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    align-self: center;
    border: 1px solid rgba(255, 176, 32, 0.22);
    border-radius: 7px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 176, 32, 0.22), transparent 44%),
        rgba(255, 71, 92, 0.13);
    color: #fff;
}

.seller-hero-rating i {
    display: none;
    color: #ffb020;
    filter: drop-shadow(0 0 8px rgba(255, 176, 32, 0.28));
}

.seller-hero-rating strong {
    font-size: 2.05rem;
    font-weight: 950;
    line-height: 1;
    color: #fff;
}

.seller-hero-rating span,
.seller-hero-rating small {
    display: block;
}

.seller-hero-rating span {
    grid-area: label;
    margin-top: 0;
    color: #edf4ff;
    font-size: 0.9rem;
    font-weight: 900;
}

.seller-hero-rating small {
    grid-area: orders;
    margin-top: 0;
    color: #c6d2e4;
    font-size: 0.78rem;
    font-weight: 800;
}

.seller-hero-rating small strong {
    color: #ffb020;
    font-size: inherit;
    line-height: inherit;
}

.seller-hero-rating > div::after {
    content: "★★★★★";
    color: #ffb020;
    margin-top: 7px;
    font-size: 0.64rem;
    letter-spacing: 0.8px;
    line-height: 1;
}

.seller-service-switch .seller-hero-rating {
    width: max-content;
    min-height: 44px;
    grid-template-columns: 38px auto;
    grid-template-areas: "score orders";
    align-self: center;
    justify-self: end;
    gap: 8px;
    margin-left: auto;
    padding: 6px 10px 6px 7px;
    border: 1px solid rgba(255, 71, 92, 0.24);
    border-radius: 8px;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 71, 92, 0.16), transparent 38%),
        rgba(11, 13, 20, 0.76);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.seller-service-switch .seller-hero-rating > div {
    width: 38px;
    min-height: 34px;
    border-radius: 5px;
}

.seller-service-switch .seller-hero-rating strong {
    font-size: 1.28rem;
}

.seller-service-switch .seller-hero-rating span {
    display: none;
}

.seller-service-switch .seller-hero-rating small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.seller-service-switch .seller-hero-rating small::before {
    content: "★★★★★";
    color: #ffb020;
    font-size: 0.78rem;
    letter-spacing: 0.45px;
    line-height: 1;
}

.seller-service-switch .seller-hero-rating > div::after {
    display: none;
}

.seller-market-page {
    width: min(1440px, calc(100% - 28px));
    margin: 0 auto;
    padding: 0 0 78px;
}

.seller-category-reviews {
    width: min(940px, calc(100% - 28px));
    margin: 0 auto 70px;
    padding-top: 8px;
}

.category-after-offers .seller-category-reviews {
    width: 100%;
    margin: 0;
    padding-top: 0;
}

.seller-category-reviews-head {
    margin-bottom: 20px;
    text-align: center;
}

.seller-category-reviews-head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.seller-category-review-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 12px;
    background:
        radial-gradient(circle at 50% 18%, rgba(24, 211, 128, 0.08), transparent 32%),
        linear-gradient(145deg, rgba(15, 18, 28, 0.78), rgba(5, 7, 12, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.seller-category-review-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 71, 87, 0.09), transparent 34%),
        linear-gradient(145deg, rgba(18, 22, 33, 0.92), rgba(9, 12, 19, 0.96));
    color: #fff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.seller-category-review-card > div {
    min-width: 0;
}

.seller-review-avatar {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #2b2d3a, #11131b);
    color: #f6d8b8;
    font-weight: 950;
    font-size: 0.76rem;
}

.seller-category-review-card strong,
.seller-category-review-card small {
    display: block;
}

.seller-category-review-card small {
    margin-top: 3px;
    color: #9296a6;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.45;
}

.seller-review-stars {
    display: inline-flex;
    gap: 3px;
    margin-top: 12px;
    color: #ffb020;
    font-size: 0.9rem;
}

.seller-review-stars .faded-star {
    color: #384255;
}

.seller-category-review-card p {
    margin-top: 10px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.5;
}

.seller-category-review-card footer {
    margin-top: 18px;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.seller-category-review-card time {
    color: #9296a6;
    font-size: 0.84rem;
}

.seller-category-review-card button {
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #b8bbc8;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.seller-category-review-card button i {
    margin-right: 3px;
}

.seller-category-review-card button:hover,
.seller-category-review-card button.active {
    background: rgba(255, 176, 32, 0.18);
    color: #fff;
}

.seller-category-review-card button.active i {
    color: #ffb020;
}

.game-disclaimer-section {
    width: min(1440px, calc(100% - 28px));
    margin: -42px auto 28px;
}

.game-disclaimer-card {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 10px 14px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 176, 32, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 176, 32, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(12, 14, 21, 0.72);
    color: #b8c6da;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.game-disclaimer-card span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffcf68;
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.game-disclaimer-card p {
    color: #aeb9ca;
    font-size: 0.78rem;
    line-height: 1.45;
}

.seller-service-switch {
    position: sticky;
    top: 0;
    z-index: 120;
    min-height: 68px;
    display: flex;
    align-items: stretch;
    gap: 26px;
    margin: -1px 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background:
        linear-gradient(90deg, rgba(255, 71, 92, 0.07), transparent 34%),
        rgba(15, 17, 25, 0.94);
    padding: 0 18px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.seller-game-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 202px;
    color: #fff;
}

.seller-game-badge i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #ff475c;
}

.seller-service-switch nav {
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.seller-service-switch nav::-webkit-scrollbar {
    height: 0;
}

.seller-service-switch nav a {
    --service-accent: #ff4757;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    color: #aeb9cd;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.seller-service-switch nav a[data-service-type="accounts"],
.seller-service-switch nav a[data-service-type="account"] {
    --service-accent: #38bdf8;
}

.seller-service-switch nav a[data-service-type="currency"] {
    --service-accent: #ffb020;
}

.seller-service-switch nav a[data-service-type="boosting"],
.seller-service-switch nav a[data-service-type="boost"] {
    --service-accent: #22c55e;
}

.seller-service-switch nav a[data-service-type="items"],
.seller-service-switch nav a[data-service-type="item"] {
    --service-accent: #a855f7;
}

.seller-service-switch nav a[data-service-type="top-ups"],
.seller-service-switch nav a[data-service-type="topups"] {
    --service-accent: #ff4757;
}

.seller-service-switch nav a i {
    color: var(--service-accent);
}

.seller-service-switch nav a:hover,
.seller-service-switch nav a.active {
    color: #fff;
    border-color: color-mix(in srgb, var(--service-accent) 58%, transparent);
    background: color-mix(in srgb, var(--service-accent) 15%, rgba(255, 255, 255, 0.03));
    box-shadow: 0 10px 24px color-mix(in srgb, var(--service-accent) 18%, transparent);
}

.seller-service-switch nav a:hover i,
.seller-service-switch nav a.active i {
    color: #fff;
}

.seller-market-layout {
    display: block;
    margin-top: 0;
}

.seller-offer-toolbar {
    display: grid;
    grid-template-columns: minmax(160px, 0.9fr) minmax(170px, 0.82fr) minmax(170px, 0.82fr) minmax(150px, 0.72fr) auto;
    align-items: end;
    gap: 10px;
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 10px;
    background: rgba(13, 15, 23, 0.62);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.seller-offer-toolbar label,
.seller-price-dropdown > span {
    min-width: 0;
    color: #9fb2d0;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.seller-offer-toolbar select,
.seller-offer-toolbar input,
.seller-price-dropdown > button {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 7px;
    padding: 0 14px;
    border: 1px solid #2a3041;
    border-radius: 7px;
    background: #171a25;
    color: #f6f8ff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
}

.seller-offer-toolbar input {
    display: block;
    font-weight: 700;
}

.seller-offer-toolbar select:focus,
.seller-offer-toolbar input:focus,
.seller-price-dropdown > button:focus {
    outline: none;
    border-color: #ffb020;
    box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.2);
}

.seller-search-field {
    position: relative;
}

.seller-offer-toolbar #clearOfferFilters {
    height: 46px;
    align-self: end;
    padding: 0 15px;
    border: 1px solid rgba(255, 71, 92, 0.32);
    border-radius: 7px;
    background: rgba(255, 71, 92, 0.08);
    color: #ff7182;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.seller-offer-toolbar #clearOfferFilters:hover {
    border-color: rgba(255, 71, 92, 0.55);
    background: rgba(255, 71, 92, 0.14);
    color: #fff;
}

.seller-online-filter {
    min-height: 46px;
    align-self: end;
    display: flex;
    align-items: center;
    margin-top: 0;
    cursor: pointer;
}

.seller-online-filter input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.seller-online-filter span {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 10px 0 14px;
    border: 1px solid rgba(34, 197, 94, 0.24);
    border-radius: 7px;
    background: rgba(34, 197, 94, 0.075);
    color: #bdd5c8;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 0;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.seller-online-filter b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font: inherit;
}

.seller-online-filter b i {
    color: #22c55e;
    font-size: 0.58rem;
    filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.42));
}

.seller-online-filter em {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: rgba(5, 7, 11, 0.52);
    color: transparent;
    font-style: normal;
    font-size: 0.68rem;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.seller-online-filter input:checked + span {
    border-color: rgba(34, 197, 94, 0.52);
    background: rgba(34, 197, 94, 0.14);
    color: #fff;
}

.seller-online-filter input:checked + span em {
    border-color: rgba(34, 197, 94, 0.72);
    background: #22c55e;
    color: #06110b;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.28);
}

.seller-price-dropdown {
    position: relative;
    min-width: 0;
}

.seller-price-dropdown > button {
    cursor: pointer;
}

.seller-price-dropdown > button strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-price-dropdown > button i {
    color: #aeb9cd;
    font-size: 0.78rem;
}

.seller-price-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 9px);
    z-index: 30;
    width: min(330px, calc(100vw - 32px));
    padding: 16px;
    border: 1px solid #2d3447;
    border-radius: 7px;
    background: #111721;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.36);
}

.seller-price-limits {
    display: flex;
    justify-content: space-between;
    color: #f6f8ff;
    font-weight: 900;
    margin-bottom: 10px;
}

.seller-price-track {
    display: none;
}

.seller-price-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr 44px;
    align-items: center;
    gap: 8px;
}

.seller-price-inputs input {
    height: 44px;
    margin: 0;
    background: #06080d;
    border-color: #32394b;
    border-radius: 4px;
}

.seller-price-inputs span {
    color: #c8d2e2;
    font-weight: 900;
}

.seller-price-inputs button {
    height: 44px;
    border: 0;
    border-radius: 4px;
    background: #ffad18;
    color: #03060a;
    cursor: pointer;
    font-size: 1rem;
}

.seller-filters {
    position: sticky;
    top: 86px;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    background: rgba(18, 20, 30, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.seller-filters label {
    color: #8696ae;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.seller-filters select,
.seller-filters input {
    width: 100%;
    height: 48px;
    display: block;
    margin-top: 7px;
    padding: 0 14px;
    border: 1px solid #292e3e;
    border-radius: 7px;
    background: #191b25;
    color: #f3f6ff;
    font: inherit;
    font-size: 0.9rem;
    text-transform: none;
}

.seller-filters button {
    height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(255, 71, 92, 0.28);
    border-radius: 7px;
    background: rgba(255, 71, 92, 0.08);
    color: #ff7182;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    order: 20;
}

.seller-filters button:hover {
    border-color: rgba(255, 71, 92, 0.48);
    background: rgba(255, 71, 92, 0.14);
}

.seller-results-head {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 2px;
}

.seller-results-head h2 {
    color: #fff;
    font-size: 1.34rem;
}

.seller-results-head p {
    color: #95a4ba;
    font-size: 0.85rem;
}

.seller-offer-count-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seller-mobile-filter-btn,
.seller-filter-panel-head {
    display: none;
}

.seller-mobile-search-row {
    display: grid;
    grid-template-columns: minmax(260px, 460px) auto;
    align-items: end;
    gap: 10px;
    margin: 0 0 14px;
}

.seller-mobile-search-row .seller-search-field {
    min-width: 0;
}

.seller-search-field input {
    width: 100%;
    height: 44px;
    display: block;
    margin-top: 7px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        #11141d;
    color: #f6f8ff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.seller-search-field input::placeholder {
    color: #7f8ca3;
}

.seller-search-field input:focus {
    outline: none;
    border-color: rgba(255, 71, 92, 0.48);
    background:
        linear-gradient(135deg, rgba(255, 71, 92, 0.08), rgba(255, 255, 255, 0.025)),
        #121622;
    box-shadow:
        0 0 0 1px rgba(255, 71, 92, 0.18),
        0 12px 26px rgba(0, 0, 0, 0.2);
}

.seller-filter-backdrop[hidden] {
    display: none;
}

.seller-keyword-strip {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 0;
    scrollbar-width: none;
}

.seller-keyword-strip::-webkit-scrollbar {
    height: 0;
}

.seller-keyword-strip button {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.035);
    color: #b8c6da;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
}

.seller-keyword-strip button:hover {
    border-color: rgba(255, 71, 92, 0.45);
    color: #fff;
    background: rgba(255, 71, 92, 0.1);
}

.seller-keyword-rail {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 10px;
    background: rgba(13, 15, 23, 0.48);
}

.seller-keyword-arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.04);
    color: #dbe5f4;
    cursor: pointer;
}

.seller-keyword-arrow:hover {
    border-color: rgba(255, 71, 92, 0.42);
    color: #fff;
    background: rgba(255, 71, 92, 0.1);
}

.seller-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.seller-offer-card {
    --offer-neon: #ff4757;
    min-height: 184px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--offer-neon) 45%, #242936);
    border-radius: 8px;
    background:
        radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.035), transparent 36%),
        linear-gradient(110deg, #151720 0%, #151720 58%, #11131b 100%);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.seller-offer-card:hover {
    transform: translateY(-2px);
    border-color: var(--offer-neon);
    background:
        radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.055), transparent 36%),
        linear-gradient(110deg, #171a24 0%, #181b25 58%, #141722 100%);
    box-shadow:
        0 20px 42px rgba(0, 0, 0, 0.22),
        0 0 0 1px color-mix(in srgb, var(--offer-neon) 22%, transparent);
}

.seller-offer-card::after {
    content: attr(data-game);
    position: absolute;
    right: -12px;
    bottom: -22px;
    color: rgba(255, 255, 255, 0.035);
    font-size: 4.4rem;
    font-weight: 950;
    line-height: 0.8;
    pointer-events: none;
}

.seller-offer-card.offer-tone-red { --offer-neon: #ff4757; }
.seller-offer-card.offer-tone-cyan { --offer-neon: #38bdf8; }
.seller-offer-card.offer-tone-green { --offer-neon: #22c55e; }
.seller-offer-card.offer-tone-gold { --offer-neon: #ffb020; }
.seller-offer-card.offer-tone-violet { --offer-neon: #a855f7; }
.seller-offer-card.offer-tone-blue { --offer-neon: #3b82f6; }

.seller-card-category {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #d9e6f7;
    font-size: 0.77rem;
    font-weight: 950;
    padding: 18px 22px 8px;
}

.seller-card-category i {
    color: var(--offer-neon);
}

.seller-card-category strong {
    color: #fff;
    font-size: 0.86rem;
}

.seller-offer-card p {
    height: 88px;
    min-height: 88px;
    max-height: 88px;
    margin: 4px 0 0;
    padding: 8px 22px 10px;
    box-sizing: border-box;
    color: #d1dcec;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.42;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.seller-card-selects {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 8px;
    margin: 3px 0;
}

.seller-card-selects label {
    color: #8795aa;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.seller-card-selects select {
    width: 100%;
    height: 36px;
    display: block;
    margin-top: 4px;
    padding: 0 8px;
    border: 1px solid #303646;
    border-radius: 5px;
    background: #0f1016;
    color: #eef2ff;
    font-size: 0.76rem;
}

.seller-card-meta {
    min-height: 36px;
    margin: auto 16px 0;
    padding: 0 10px 0 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    background: rgba(8, 10, 16, 0.55);
    color: #edf4ff;
    font-size: 0.78rem;
    font-weight: 850;
}

.seller-card-name {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.seller-card-avatar {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--offer-neon) 22%, rgba(255,255,255,0.05));
    color: var(--offer-neon);
    font-size: 0.68rem;
}

.seller-card-name strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-card-name > i {
    margin-left: 5px;
    color: #16d7c0;
    flex: 0 0 auto;
}

.seller-card-meta em {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-style: normal;
    font-weight: 900;
}

.seller-card-meta em i {
    color: #ffba38;
}

.seller-card-bottom {
    margin-top: 0;
    padding: 13px 22px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.popular-purchase-card {
    min-height: 176px;
}

.new-offers-grid .seller-offer-card {
    width: 100%;
}

.seller-card-bottom strong {
    color: #fff;
    font-size: 1.17rem;
    font-weight: 950;
}

.seller-card-bottom > span,
.seller-card-details span {
    color: #d7e4f6;
    font-size: 0.8rem;
    font-weight: 800;
}

.seller-card-details {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px 10px;
    color: #d7e4f6;
    text-align: right;
}

.seller-card-details span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.seller-card-details i {
    color: var(--offer-neon);
}

.seller-card-details .fa-bolt {
    color: #ffb020;
}

.seller-card-details b {
    color: #fff;
    font-weight: 900;
}

.seller-card-action {
    display: none;
}

.seller-card-action:hover {
    background: transparent;
}

.seller-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0 0;
    color: #aeb9cd;
    font-size: 0.86rem;
    font-weight: 800;
}

.seller-pagination[hidden] {
    display: none;
}

.seller-pagination > button,
.seller-page-numbers button {
    min-width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
    color: #dce7f7;
    font: inherit;
    font-size: 0.82rem;
    cursor: pointer;
}

.seller-pagination > button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.seller-page-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.seller-page-numbers button.active,
.seller-page-numbers button:hover,
.seller-pagination > button:not(:disabled):hover {
    border-color: #ff475c;
    background: rgba(255, 71, 92, 0.18);
    color: #fff;
}

.cart-fixed-qty {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 7px;
    background: rgba(56, 189, 248, 0.08);
    color: #98bfe8;
    font-size: 0.8rem;
    font-weight: 800;
}

.seller-offer-card.coming-soon {
    opacity: 0.78;
}

.seller-offer-card.coming-soon .seller-card-bottom strong {
    color: #ff7182;
    font-size: 0.94rem;
}

.seller-offer-empty {
    grid-column: 1 / -1;
    min-height: 280px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;
    border: 1px dashed #303646;
    border-radius: 10px;
    background: #13151d;
    text-align: center;
}

.seller-offer-empty i {
    color: #ff6072;
    font-size: 1.7rem;
}

.seller-offer-empty p {
    max-width: 440px;
    color: #93a2b7;
}

.seller-offer-empty a {
    margin-top: 8px;
    padding: 10px 18px;
    border-radius: 6px;
    background: #ff475c;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.currency-category-page .seller-keyword-rail {
    display: none !important;
}

.seller-specific-category-page .seller-mobile-search-row,
.seller-specific-category-page .seller-offer-toolbar,
.seller-specific-category-page .seller-filter-backdrop,
.seller-specific-category-page .seller-keyword-rail {
    display: none !important;
}

.currency-offer-list {
    display: block;
    width: 100%;
    grid-template-columns: none;
    gap: 0;
}

.seller-currency-platform-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.seller-currency-platform-card {
    min-height: 174px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
    align-items: start;
    gap: 8px 14px;
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(255, 176, 32, 0.36);
    border-radius: 8px;
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 176, 32, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(22, 26, 38, 0.96), rgba(10, 13, 20, 0.98));
    color: #eef5ff;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.seller-currency-platform-card::after {
    content: "G4";
    position: absolute;
    right: -10px;
    bottom: -26px;
    color: rgba(255, 255, 255, 0.04);
    font-size: 5rem;
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
}

.seller-currency-platform-card:hover {
    transform: translateY(-2px);
    border-color: #ffb020;
    box-shadow:
        0 22px 46px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 176, 32, 0.16);
}

.seller-currency-platform-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 176, 32, 0.14);
    color: #ffb020;
}

.seller-currency-platform-card strong {
    grid-column: 2 / -1;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.3;
}

.seller-currency-platform-card small {
    grid-column: 2;
    color: #22c55e;
    font-size: 0.82rem;
    font-weight: 800;
}

.seller-currency-platform-card em {
    grid-column: 1 / -1;
    align-self: end;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    color: #8aa1bd;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.seller-currency-platform-card em span {
    color: #72839b;
    font-size: 0.78rem;
}

.seller-currency-platform-card em b {
    color: #fff;
    font-size: 1.16rem;
    line-height: 1;
    text-transform: none;
}

.currency-list-table {
    width: 100%;
    display: grid;
    gap: 0;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.currency-list-head,
.currency-list-row {
    display: grid;
    grid-template-columns: minmax(110px, 0.65fr) minmax(250px, 1.5fr) minmax(240px, 1.18fr) minmax(150px, 0.82fr) minmax(128px, 0.68fr) 96px;
    align-items: center;
    gap: 16px;
    min-width: 980px;
}

.currency-list-head {
    min-height: 48px;
    padding: 0 12px;
    color: #a9b8d0;
    font-size: 0.74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.currency-list-head span {
    min-width: 0;
}

.currency-list-head span:nth-child(1),
.currency-list-head span:nth-child(2),
.currency-list-head span:nth-child(3),
.currency-list-head span:nth-child(4),
.currency-list-head span:nth-child(5) {
    justify-self: center;
    text-align: center;
}

.currency-list-row {
    min-height: 86px;
    padding: 15px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #d8e3f3;
    text-decoration: none;
}

.currency-list-row:hover {
    background: rgba(255, 255, 255, 0.025);
}

.currency-list-platform,
.currency-list-minimum,
.currency-list-row > em,
.currency-buy-btn {
    justify-self: start;
}

.currency-list-platform {
    font-weight: 950;
    justify-self: center;
    text-align: center;
}

.currency-list-title {
    color: #ffb020;
    font-size: 0.94rem;
    line-height: 1.35;
    font-weight: 950;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    justify-self: center;
    text-align: center;
}

.currency-list-seller {
    display: flex;
    align-items: center;
    gap: 11px;
    width: min(100%, 235px);
    justify-self: center;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.currency-seller-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 18%, rgba(255, 71, 92, 0.2), transparent 46%),
        #171b25;
    color: #fff;
    font-size: 1rem;
    font-weight: 950;
}

.currency-seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.currency-list-seller > span:last-child {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.currency-list-seller b {
    color: #fff;
    font-size: 0.86rem;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.currency-list-seller small {
    color: #91a2ba;
    line-height: 1.2;
    font-weight: 800;
}

.currency-list-seller i {
    color: #ffb020;
}

.currency-list-minimum {
    display: none;
}

.currency-list-row > em {
    display: grid;
    gap: 3px;
    justify-self: center;
    text-align: center;
    color: #fff;
    font-size: 1.16rem;
    font-style: normal;
    font-weight: 950;
}

.currency-list-row > em small {
    color: #9fafc5;
    font-size: 0.7rem;
    font-weight: 850;
}

.currency-list-unit {
    display: none;
}

.currency-quantity-control {
    width: min(138px, 100%);
    min-height: 38px;
    display: inline-grid;
    justify-self: center;
    grid-template-columns: 34px minmax(42px, 1fr) 20px 34px;
    align-items: center;
    position: relative;
    overflow: visible;
    border: 1px solid color-mix(in srgb, #ffb020 36%, #33435d);
    border-radius: 5px;
    background:
        linear-gradient(135deg, rgba(255, 176, 32, 0.18), rgba(20, 27, 42, 0.92)),
        #192235;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.currency-quantity-control button {
    width: 34px;
    min-height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 3px;
    background: rgba(7, 11, 18, 0.86);
    color: #eef5ff;
    font: inherit;
    font-size: 1rem;
    font-weight: 950;
    pointer-events: auto;
    cursor: pointer;
}

.currency-quantity-control input {
    width: 100%;
    min-width: 0;
    height: 36px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    text-align: center;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 950;
}

.currency-quantity-control input::-webkit-outer-spin-button,
.currency-quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.currency-quantity-control small {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 900;
}

.currency-quantity-control em {
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    min-width: 184px;
    display: none;
    padding: 7px 9px;
    border: 1px solid rgba(255, 176, 32, 0.42);
    border-radius: 6px;
    background: rgba(28, 19, 9, 0.98);
    color: #ffd37a;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    text-align: left;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
    z-index: 3;
}

.currency-quantity-control.show-min-notice em {
    display: block;
}

.currency-buy-btn {
    min-height: 38px;
    width: 96px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background:
        linear-gradient(135deg, color-mix(in srgb, #ffb020 82%, #22c55e), #20c765);
    color: #06110b;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 950;
    text-decoration: none;
}

.category-after-offers {
    margin: 34px 0 0;
    display: grid;
    gap: 18px;
}

.category-guide-head,
.category-howto-panel,
.category-tips-panel,
.category-faq-panel {
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 10px;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 71, 92, 0.1), transparent 34%),
        linear-gradient(145deg, rgba(17, 20, 30, 0.94), rgba(9, 11, 17, 0.98));
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.category-guide-head {
    padding: 24px;
}

.category-guide-head span {
    color: #ff6072;
    font-size: 0.74rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-guide-head h2 {
    margin: 7px 0 8px;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.18;
}

.category-guide-head p {
    max-width: 760px;
    color: #aebbd0;
    font-size: 0.94rem;
}

.category-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.category-guide-grid article {
    min-height: 156px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;
    background: rgba(14, 17, 25, 0.78);
}

.category-guide-grid i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 8px;
    background: rgba(255, 71, 92, 0.12);
    color: #ff6072;
}

.category-guide-grid strong,
.category-howto-panel h3,
.category-tips-panel h3,
.category-faq-panel h3 {
    color: #fff;
}

.category-guide-grid p,
.category-tips-panel li,
.category-howto-panel p,
.category-faq-panel p {
    color: #9facbf;
    font-size: 0.88rem;
    line-height: 1.55;
}

.category-guide-split {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 14px;
}

.category-howto-panel,
.category-tips-panel,
.category-faq-panel {
    padding: 22px;
}

.category-howto-panel ol,
.category-tips-panel ul {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.category-howto-panel li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.category-howto-panel li span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 176, 32, 0.12);
    color: #ffb020;
    font-size: 0.8rem;
    font-weight: 950;
}

.category-tips-panel li {
    position: relative;
    padding-left: 18px;
}

.category-tips-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.35);
}

.category-faq-panel > div {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.category-faq-panel details {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    overflow: hidden;
}

.category-faq-panel summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #f8fbff;
    font-weight: 900;
    cursor: pointer;
}

.category-faq-panel details p {
    padding: 0 14px 14px;
}

@media screen and (max-width: 980px) {
    .seller-market-hero {
        grid-template-columns: 1fr;
    }

    .seller-market-title,
    .seller-hero-rating {
        justify-self: stretch;
        max-width: none;
    }

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

    .seller-service-switch {
        flex-direction: column;
        gap: 0;
        padding-top: 10px;
    }

    .seller-game-badge {
        min-height: 48px;
    }

    .seller-service-switch nav a {
        min-height: 54px;
    }

    .game-disclaimer-card {
        grid-template-columns: 1fr;
    }

    .game-disclaimer-card span {
        white-space: normal;
    }

    .seller-offer-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-search-field {
        grid-column: 1 / -1;
    }

    .seller-offer-toolbar #clearOfferFilters {
        width: 100%;
    }

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

    .category-guide-grid,
    .category-guide-split {
        grid-template-columns: 1fr;
    }

    .currency-list-head {
        display: none;
    }

    .currency-list-row {
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 14px;
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, 0.075);
        border-radius: 10px;
        background: rgba(14, 17, 25, 0.72);
    }

    .currency-list-title,
    .currency-list-seller {
        grid-column: 1 / -1;
    }

    .currency-list-platform,
    .currency-list-minimum,
    .currency-list-row > em {
        justify-self: start;
    }

    .currency-buy-btn {
        grid-column: 2;
    }
}

@media screen and (max-width: 620px) {
    .seller-market-hero {
        display: grid;
        min-height: auto;
        grid-template-columns: 1fr;
        place-items: initial;
        gap: 0;
        padding: 28px 18px 24px;
        text-align: left;
    }

    .seller-market-title {
        justify-self: stretch;
    }

    .seller-market-title span {
        display: none;
    }

    .seller-hero-rating {
        justify-self: center;
        margin-top: 0;
        padding: 9px 10px;
        border: 1px solid rgba(255, 71, 92, 0.24);
        border-radius: 8px;
        background:
            radial-gradient(circle at 8% 0%, rgba(255, 71, 92, 0.16), transparent 38%),
            rgba(11, 13, 20, 0.76);
        box-shadow:
            0 14px 36px rgba(0, 0, 0, 0.26),
            inset 0 1px 0 rgba(255, 255, 255, 0.045);
    }

    .seller-hero-rating {
        width: max-content;
        max-width: 100%;
        min-height: 36px;
        grid-template-columns: 34px auto minmax(0, auto);
        grid-template-areas:
            "score stars orders";
        justify-content: start;
        align-items: center;
        gap: 7px;
        padding: 6px 9px 6px 6px;
        border: 1px solid rgba(255, 71, 92, 0.24);
        border-radius: 8px;
        background:
            radial-gradient(circle at 8% 0%, rgba(255, 71, 92, 0.16), transparent 38%),
            rgba(11, 13, 20, 0.76);
        box-shadow:
            0 14px 36px rgba(0, 0, 0, 0.26),
            inset 0 1px 0 rgba(255, 255, 255, 0.045);
    }

    .seller-hero-rating > div {
        width: 34px;
        min-height: 32px;
        border: 1px solid rgba(255, 176, 32, 0.24);
        border-radius: 4px;
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 176, 32, 0.22), transparent 44%),
            rgba(255, 71, 92, 0.2);
        box-shadow: 0 8px 18px rgba(255, 71, 92, 0.12);
    }

    .seller-hero-rating strong {
        font-size: 1.18rem;
    }

    .seller-hero-rating span {
        display: none;
    }

    .seller-hero-rating small {
        grid-area: orders;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: #fff;
        font-size: 0.78rem;
        font-weight: 900;
        line-height: 1;
        white-space: nowrap;
    }

    .seller-hero-rating small::before {
        content: "★★★★★";
        grid-area: stars;
        color: #ffb020;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
        line-height: 1;
    }

    .seller-hero-rating small strong {
        color: #ffb020;
    }

    .seller-hero-rating > div::after {
        display: none;
    }

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

    .seller-market-page {
        width: min(100% - 28px, 1170px);
    }

    .seller-service-switch {
        margin: 0 -14px;
        border-radius: 0;
        min-height: auto;
        align-items: flex-start;
        gap: 0;
        padding: 12px 12px 10px;
    }

    .seller-service-switch .seller-hero-rating {
        order: 2;
        margin: 8px auto 0;
    }

    .seller-service-switch nav {
        width: 100%;
        order: 1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
        gap: 6px;
        padding: 0;
        overflow: visible;
    }

    .seller-service-switch nav a {
        --service-accent: #ff4757;
        min-width: 0;
        min-height: 72px;
        display: grid;
        grid-template-rows: 44px auto;
        place-items: center;
        gap: 4px;
        padding: 0;
        border-radius: 8px;
        background: transparent;
        color: #aeb9cd;
        font-size: 0.68rem;
        font-weight: 900;
        line-height: 1.05;
        text-align: center;
        white-space: normal;
    }

    .seller-service-switch nav a i {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border: 1px solid color-mix(in srgb, var(--service-accent) 32%, rgba(255, 255, 255, 0.08));
        border-radius: 8px;
        background: color-mix(in srgb, var(--service-accent) 10%, rgba(255, 255, 255, 0.04));
        color: var(--service-accent);
        font-size: 1.12rem;
        box-shadow: 0 8px 18px color-mix(in srgb, var(--service-accent) 10%, transparent);
    }

    .seller-service-switch nav a[data-service-type="accounts"],
    .seller-service-switch nav a[data-service-type="account"] {
        --service-accent: #38bdf8;
    }

    .seller-service-switch nav a[data-service-type="currency"] {
        --service-accent: #ffb020;
    }

    .seller-service-switch nav a[data-service-type="boosting"],
    .seller-service-switch nav a[data-service-type="boost"] {
        --service-accent: #22c55e;
    }

    .seller-service-switch nav a[data-service-type="items"],
    .seller-service-switch nav a[data-service-type="item"] {
        --service-accent: #a855f7;
    }

    .seller-service-switch nav a[data-service-type="top-ups"],
    .seller-service-switch nav a[data-service-type="topups"] {
        --service-accent: #ff4757;
    }

    .seller-service-switch nav a span {
        width: 72px;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .seller-service-switch nav a.active,
    .seller-service-switch nav a:hover {
        border-color: transparent;
        background: transparent;
        box-shadow: none;
        color: #fff;
    }

    .seller-service-switch nav a.active i,
    .seller-service-switch nav a:hover i {
        border-color: color-mix(in srgb, var(--service-accent) 64%, rgba(255, 255, 255, 0.08));
        background: color-mix(in srgb, var(--service-accent) 20%, rgba(255, 255, 255, 0.04));
        color: #fff;
        box-shadow: 0 10px 22px color-mix(in srgb, var(--service-accent) 24%, transparent);
    }

    .seller-game-badge {
        display: none;
    }

    .game-disclaimer-section {
        margin-top: -46px;
    }

    .seller-offer-toolbar,
    .seller-offer-grid {
        grid-template-columns: 1fr;
    }

    .seller-offer-toolbar {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 2147483002;
        max-height: min(78vh, 620px);
        overflow-y: auto;
        gap: 14px;
        margin: 0;
        padding: 16px;
        border-color: rgba(255, 71, 92, 0.24);
        background:
            radial-gradient(circle at 8% 0%, rgba(255, 71, 92, 0.14), transparent 38%),
            #0e1119;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.62);
        transform: translateY(calc(100% + 28px));
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    body.seller-filters-open .seller-offer-toolbar {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.seller-filters-open {
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
        overflow: hidden;
        touch-action: none;
    }

    html:has(body.seller-filters-open) {
        overflow: hidden;
    }

    .seller-filter-backdrop {
        position: fixed;
        inset: 0;
        z-index: 2147483001;
        background: rgba(0, 0, 0, 0.62);
        backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);
    }

    body.seller-filters-open .game-disclaimer-section {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .seller-price-panel {
        width: 100%;
    }

    .seller-card-selects {
        grid-template-columns: 1fr;
    }

    .seller-results-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .seller-offer-count-line {
        gap: 9px;
        flex-wrap: wrap;
    }

    .seller-mobile-search-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 9px;
        margin: -2px 0 12px;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.065);
        border-radius: 10px;
        background:
            radial-gradient(circle at 0% 0%, rgba(255, 71, 92, 0.08), transparent 36%),
            rgba(13, 15, 23, 0.58);
    }

    .seller-mobile-search-row .seller-search-field {
        min-width: 0;
        grid-column: auto !important;
    }

    .seller-mobile-search-row .seller-search-field input {
        height: 42px;
        margin-top: 6px;
        border-radius: 8px;
    }

    .seller-mobile-filter-btn {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 0 13px;
        border: 1px solid rgba(255, 71, 92, 0.42);
        border-radius: 7px;
        background: rgba(255, 71, 92, 0.12);
        color: #fff;
        font: inherit;
        font-size: 0.78rem;
        font-weight: 900;
        cursor: pointer;
    }

    .seller-filter-panel-head {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 2px;
        color: #fff;
        font-weight: 950;
    }

    .seller-filter-panel-head button {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 7px;
        background: rgba(255, 255, 255, 0.055);
        color: #fff;
        font: inherit;
        cursor: pointer;
    }

    .seller-keyword-strip {
        max-width: 100%;
        justify-content: flex-start;
    }

    .currency-offer-list {
        border-top: 0;
    }

    .seller-currency-platform-grid {
        grid-template-columns: 1fr;
    }

    .seller-currency-platform-card {
        min-height: 156px;
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 18px;
    }

    .seller-currency-platform-card strong {
        grid-column: 2;
    }

    .seller-currency-platform-card em {
        margin-top: 8px;
    }

    .currency-list-table {
        gap: 14px;
        overflow: visible;
        border-top: 0;
    }

    .currency-list-row {
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) minmax(118px, 34%);
        gap: 14px 18px;
        padding: 18px 16px 17px;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 10px;
        --currency-accent: #ffb020;
        --currency-accent-soft: rgba(255, 176, 32, 0.18);
        background:
            radial-gradient(circle at 18% 0%, rgba(255, 176, 32, 0.08), transparent 34%),
            linear-gradient(145deg, rgba(17, 21, 31, 0.94), rgba(8, 11, 17, 0.98));
    }

    .currency-list-platform {
        grid-column: 1 / -1;
        color: #d7e2f2;
        font-size: 0.92rem;
        font-weight: 800;
        justify-self: start;
        text-align: left;
    }

    .currency-list-title {
        grid-column: 1 / -1;
        color: #ffb020;
        font-size: 0.92rem;
        line-height: 1.28;
        font-weight: 950;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        justify-self: start;
        text-align: left;
    }

    .currency-list-seller {
        grid-column: 1 / -1;
        gap: 8px;
        margin: 2px 0 3px;
        width: auto;
        justify-self: start;
    }

    .currency-list-seller > span:last-child {
        display: block;
    }

    .currency-seller-avatar {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 0.78rem;
    }

    .currency-list-seller b {
        display: inline;
        margin-right: 6px;
        white-space: normal;
        font-size: 0.8rem;
    }

    .currency-list-seller small {
        display: inline;
        color: #a9b8cf;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .currency-list-minimum {
        display: none;
    }

    .currency-quantity-control {
        grid-column: 1;
        width: min(138px, 100%);
        min-height: 38px;
        display: inline-grid;
        justify-self: start;
        grid-template-columns: 34px minmax(42px, 1fr) 20px 34px;
        align-items: center;
        position: relative;
        overflow: visible;
        border: 1px solid color-mix(in srgb, var(--currency-accent) 36%, #33435d);
        border-radius: 5px;
        background:
            linear-gradient(135deg, var(--currency-accent-soft), rgba(20, 27, 42, 0.92)),
            #192235;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .currency-quantity-control button {
        width: 34px;
        min-height: 36px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 3px;
        background: rgba(7, 11, 18, 0.86);
        color: #eef5ff;
        font: inherit;
        font-size: 1rem;
        font-weight: 950;
        pointer-events: auto;
        cursor: pointer;
    }

    .currency-quantity-control input {
        width: 100%;
        min-width: 0;
        height: 36px;
        border: 0;
        outline: 0;
        background: transparent;
        color: #fff;
        text-align: center;
        font-size: 0.86rem;
        font: inherit;
        font-weight: 950;
    }

    .currency-quantity-control input::-webkit-outer-spin-button,
    .currency-quantity-control input::-webkit-inner-spin-button {
        margin: 0;
        -webkit-appearance: none;
    }

    .currency-quantity-control small {
        color: #94a3b8;
        font-size: 0.72rem;
        font-weight: 900;
    }

    .currency-quantity-control em {
        position: absolute;
        left: 0;
        bottom: calc(100% + 6px);
        min-width: 184px;
        display: none;
        padding: 7px 9px;
        border: 1px solid rgba(255, 176, 32, 0.42);
        border-radius: 6px;
        background: rgba(28, 19, 9, 0.98);
        color: #ffd37a;
        font-size: 0.72rem;
        font-style: normal;
        font-weight: 900;
        text-align: left;
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
        z-index: 3;
    }

    .currency-quantity-control.show-min-notice em {
        display: block;
    }

    .currency-list-row > em {
        grid-column: 2;
        justify-self: end;
        text-align: right;
        align-self: end;
        font-size: 1.42rem;
        line-height: 1;
    }

    .currency-list-row > em small {
        display: none;
    }

    .currency-list-unit {
        grid-column: 1;
        display: block;
        align-self: center;
        color: #9fb0c7;
        font-size: 0.95rem;
        line-height: 1;
        font-weight: 950;
    }

    .currency-buy-btn {
        grid-column: 2;
        justify-self: stretch;
        align-self: end;
        width: 100%;
        min-height: 38px;
        border-radius: 7px;
        background:
            linear-gradient(135deg, color-mix(in srgb, var(--currency-accent) 82%, #22c55e), #20c765);
        color: #07110b;
        font-size: 0.78rem;
    }

    .category-after-offers {
        margin-top: 26px;
        gap: 14px;
    }

    .category-guide-head,
    .category-howto-panel,
    .category-tips-panel,
    .category-faq-panel {
        padding: 18px;
        border-radius: 9px;
    }

    .category-guide-head h2 {
        font-size: 1.16rem;
    }

    .category-guide-grid {
        gap: 10px;
    }

    .category-guide-grid article {
        min-height: 0;
        padding: 16px;
    }

    .category-faq-panel summary {
        min-height: 46px;
        font-size: 0.86rem;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at 22% 6%, rgba(255, 71, 87, 0.12), transparent 28%),
        radial-gradient(circle at 62% 48%, rgba(47, 116, 255, 0.12), transparent 32%),
        radial-gradient(circle at 48% 72%, rgba(34, 197, 94, 0.09), transparent 26%),
        linear-gradient(180deg, #05060b 0%, #080a12 34%, #070910 68%, #06070b 100%);
    background-attachment: fixed;
    color: #e2e8f0;
    line-height: 1.6;
}

/* Navbar & Search styling */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    background-color: #131316;
    border-bottom: 1px solid #222227;
    position: sticky;
    top: 0;
    z-index: 100;
    
}

/* Sub-Navbar Category Strip Layout */
.sub-navbar {
    background-color: #111114;
    border-bottom: 2px solid #00529c;
    padding: 10px 5%;
    width: 100%;
    position: relative;
}

.sub-nav-links {
    display: flex;
    gap: 18px !important;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
}

.sub-nav-links::-webkit-scrollbar {
    display: none;
    width: 10px;
}

.sub-nav-links::-webkit-scrollbar-track {
    background: #111114;
}   

.sub-nav-links::-webkit-scrollbar-thumb {
    background-color: #2d2d35;
    border-radius: 20px;
}

.sub-nav-links::-webkit-scrollbar-thumb:hover {
    background-color: #ff4757;
}   

.sub-nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.sub-nav-links a:hover {
    color: #ff4757;
}

/* Custom Modern Chevron Arrow Icons */
.sub-nav-links .nav-arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #88888b;
    border-bottom: 2px solid #88888b;
    transform: translateY(-2px) rotate(45deg);
    transition: border-color 0.2s, transform 0.2s;
    margin-left: 6px;
}

/* Make arrow follow hover accent state color changes */
.sub-nav-links a:hover .nav-arrow {
    border-color: #ff4757;
    transform: translateY(0px) rotate(45deg);
}



.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff4757;
    letter-spacing: 1px;
    text-decoration: none;
}

.search-container {
    flex: 1;
    max-width: 550px;
    margin: 0 auto;
}

.search-container input {
    width: 100%;
    padding: 10px 12px !important;
    background-color: #1c1c21;
    border: 1px solid #2d2d35;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem !important;
}

.search-container input:focus {
    outline: none;
    border-color: #ffb020;
    box-shadow:
        0 0 0 1px #22c55e,
        0 0 0 2px #ffb020;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 20px;
}

.locale-menu {
    position: relative;
}

.locale-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: #fff;
    min-height: 44px;
    padding: 0;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.locale-trigger i {
    color: #fff;
    font-size: 1rem;
}

.locale-dropdown {
    position: absolute;
    top: 44px;
    right: 0;
    width: 220px;
    background: #111116;
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 14px;
    display: grid;
    gap: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    z-index: 450;
}

.locale-dropdown[hidden],
.account-dropdown[hidden],
.account-menu[hidden],
.admin-nav-link[hidden] {
    display: none !important;
}

.locale-dropdown label {
    display: grid;
    gap: 6px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 700;
}

.locale-dropdown select {
    height: 38px;
    border: 1px solid #2d2d38;
    border-radius: 7px;
    background: #0d0d12;
    color: #fff;
    padding: 0 10px;
}

/* Styling for the Sell link button */
.sell-btn {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
    white-space: nowrap;
}

.sell-btn:hover {
    color: #ffffff;
}


.login-btn {
    background-color: #ff4757;
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
}

.admin-nav-link {
    background: #ff4757;
    color: #fff;
    padding: 8px 16px;
    border-radius: 7px;
    font-weight: 800;
    text-decoration: none;
}

.account-menu {
    position: relative;
}

.account-menu-trigger {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.account-menu-trigger:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.account-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #c92b35;
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(255, 71, 87, 0.18);
}

.account-avatar.large {
    width: 58px;
    height: 58px;
    min-width: 58px;
    font-size: 1.18rem;
}

.account-avatar i {
    font-size: 1rem;
    line-height: 1;
}

.account-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.account-avatar.has-image {
    background: #111620;
}

.account-avatar.large i {
    font-size: 1.28rem;
}

.account-avatar .avatar-fallback {
    display: none;
}

.account-avatar.rogue,
.account-avatar.neon {
    background: radial-gradient(circle at 30% 22%, #ff8aa0, #c92b35 52%, #321018);
}

.account-avatar.ghost {
    background: radial-gradient(circle at 30% 22%, #dbeafe, #64748b 54%, #111827);
}

.account-avatar.cyber {
    background: radial-gradient(circle at 30% 22%, #86efac, #16a34a 54%, #052e16);
}

.account-avatar.arcade {
    background: radial-gradient(circle at 30% 22%, #bfdbfe, #4f46e5 54%, #111827);
}

.account-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 292px;
    background: #f8fafc;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    z-index: 400;
    overflow: hidden;
}

.account-dropdown-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px 14px;
}

.account-dropdown-head strong,
.account-dropdown-head span {
    display: block;
}

.account-dropdown-head span {
    color: #64748b;
    font-size: 0.82rem;
}

.account-balance-grid {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.account-balance-grid div,
.account-dropdown-links a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.account-balance-grid span {
    color: #475569;
}

.account-balance-grid strong {
    color: #111827;
}

.account-dropdown-links {
    display: grid;
    padding: 8px;
}

.account-dropdown-links a {
    align-items: center;
    justify-content: flex-start;
    min-height: 34px;
    padding: 0 10px;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.account-dropdown-links a:hover {
    background: #eef2ff;
    color: #111827;
}

.account-dropdown-links i {
    width: 20px;
    color: #9ca3af;
}

.account-logout-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ff4757;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

/* Marketplace Hero Section */
.hero {
    min-height: 520px;
    padding: 70px 5% 95px;
    text-align: center;

    background:
        linear-gradient(
            rgba(5,5,8,0.58),
            rgba(5,5,8,0.78)
        ),
        url("../Images/home-banner.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.12;
    margin: 16px 0 12px;
    color: white;
}

.hero p {
    color: #cbd5e1;
    font-size: 1rem;
}

/* Grid layout for Marketplace items */
.marketplace-container {
    padding: 72px 3% 44px;
    max-width: 1600px;
    margin: -18px auto 0;
    position: relative;
}

.marketplace-container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -86px;
    width: 100vw;
    height: 190px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(7, 9, 16, 0), rgba(7, 9, 16, 0.9) 48%, rgba(7, 9, 16, 0));
    pointer-events: none;
    z-index: -1;
}

body:has(.hero-home) .marketplace-container {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body:has(.hero-home) .marketplace-container::before {
    display: none !important;
    content: none !important;
}

body:has(.hero-home) #popularPurchases,
body:has(.hero-home) #popularPurchases .new-offers-grid {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body:has(.hero-home) #popularPurchases::before,
body:has(.hero-home) #popularPurchases::after,
body:has(.hero-home) #popularPurchases .new-offers-grid::before,
body:has(.hero-home) #popularPurchases .new-offers-grid::after {
    display: none !important;
    content: none !important;
}

body:has(.hero-home) .popular-categories-section,
body:has(.hero-home) .popular-category-grid,
body:has(.hero-home) .home-process-section {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body:has(.hero-home) .popular-categories-section::before,
body:has(.hero-home) .popular-categories-section::after,
body:has(.hero-home) .popular-category-grid::before,
body:has(.hero-home) .popular-category-grid::after,
body:has(.hero-home) .home-process-section::before,
body:has(.hero-home) .home-process-section::after {
    display: none !important;
    content: none !important;
}

body:has(.hero-home) .marketplace-container {
    padding-bottom: 16px !important;
}

body:has(.hero-home) .popular-categories-section {
    margin-bottom: 0 !important;
}

body:has(.hero-home) .home-process-section {
    margin-top: 34px !important;
    min-height: 560px !important;
    gap: 36px !important;
}

@media screen and (max-width: 640px) {
    body:has(.hero-home) .marketplace-container {
        padding-bottom: 18px !important;
    }

    body:has(.hero-home) .popular-categories-section {
        margin-bottom: 18px !important;
    }

    body:has(.hero-home) .home-process-section {
        margin-top: 24px !important;
        min-height: 0 !important;
        padding-top: 28px !important;
        padding-bottom: 34px !important;
        gap: 24px !important;
    }
}

.marketplace-container h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: white;
    
}

.shop-games-heading {
    margin-bottom: 25px;
}

.shop-games-heading h2 {
    margin-bottom: 0;
}

.shop-games-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.game-scroll-btn {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #252936;
    border-radius: 999px;
    background: #151720;
    color: #fff;
    cursor: pointer;
    transition: 0.2s ease;
}

.game-scroll-btn:hover {
    border-color: #ff4757;
    color: #ff6b81;
    transform: translateY(-1px);
}

.explore-games-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255, 71, 87, 0.35);
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.1);
    color: #ff6b81 !important;
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    transition: 0.2s ease;
}

.explore-games-badge:hover {
    background: rgba(255, 71, 87, 0.18);
    border-color: rgba(255, 71, 87, 0.55);
    color: #fff !important;
    transform: translateY(-1px);
}

.game-carousel-wrap {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.game-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 0 10px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.game-grid::-webkit-scrollbar {
    display: none;
}

.game-card {
    flex: 0 0 280px;
    background-color: #131316;
    border: 1px solid #222227;
    border-radius: 12px;
    padding: 15px 15px 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    scroll-snap-align: start;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: #ff4757;
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.15);
}

.game-thumb {
    height: 140px;
    background-color: #222227;
    border-radius: 8px;
    margin-bottom: 12px;
    background-size: cover;
    background-position: center;
}

/* Fallback colors for card headers until you add images */
/* Real Gaming Background Images */
.thumbnail-gta { background-image: url('https://i.postimg.cc/zv3nhk8M/VIB0Se-Ej9v-T6DTv7P4th-JLZi.webp'); }
.thumbnail-fortnite { background-image: url('https://i.postimg.cc/y6T5y6BF/new-fortnite-season.jpg'); }
.thumbnail-roblox { background-image: url('https://i.postimg.cc/VNFc2qM3/Roblox.jpg'); }
.thumbnail-cs2 { background-image: url('https://i.postimg.cc/nLCZ6jFP/ty5YJg2ARon-G5j-U139Xe-Rj.webp'); }
.thumbnail-accounts {
    background-image: url('../Images/Accounts.png');
}

.thumbnail-moneyboost {
    background-image: url('../Images/money.png');
}

.thumbnail-levelboost {
    background-image: url('../Images/level.png');
}

.game-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Removes default hyperlink styles from the game card titles */
.game-title-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.game-title-link:hover {
    color: #ff4757; /* Changes text to brand red when hovered */
}

/* Formats the small sub-text tags into clickable pill text links */
.game-tag-links {
    font-size: 0.8rem;
    color: #64748b;
}

.game-tag-links a {
    color: #cbd5e1; /* Smooth, highly-readable silver color */
    text-decoration: none;
    transition: color 0.2s;
}

.game-tag-links a:hover {
    color: #ff4757; /* Accents the sub-category text on mouse hover */
    text-decoration: underline;
}

.demand-game-card {
    flex-basis: 282px;
    min-height: 210px;
    display: grid;
    align-content: space-between;
    text-align: left;
    text-decoration: none;
    padding: 18px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background:
        radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.04), transparent 34%),
        linear-gradient(145deg, #12131a, #0b0c11);
    border-color: color-mix(in srgb, var(--game-neon) 34%, #252531);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 18px 42px rgba(0,0,0,0.25);
}

.demand-game-card::after {
    content: attr(data-game);
    position: absolute;
    inset: auto -18px -34px auto;
    color: rgba(255, 255, 255, 0.035);
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.demand-game-card:hover {
    transform: translateY(-5px);
    border-color: var(--game-neon);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.demand-game-card.neon-red { --game-neon: #ff4757; }
.demand-game-card.neon-cyan { --game-neon: #38bdf8; }
.demand-game-card.neon-green { --game-neon: #22c55e; }
.demand-game-card.neon-gold { --game-neon: #ffb020; }
.demand-game-card.neon-violet { --game-neon: #a855f7; }
.demand-game-card.neon-blue { --game-neon: #3b82f6; }

.demand-game-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 30px;
}

.demand-game-top em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 900;
}

.demand-game-top em {
    gap: 7px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #ffb020;
    padding: 0;
    font-size: 0.84rem;
}

.game-star-rating [data-game-star-icons] {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.game-star-rating i {
    color: #ffb020;
    font-size: 0.84rem;
}

.game-star-rating i.faded-star {
    opacity: 0.35;
    filter: saturate(0.6);
}

.game-star-rating [data-game-rating] {
    color: #f8fafc;
    font-weight: 900;
}

.demand-game-card h3 {
    color: white;
    font-size: 1.7rem;
    line-height: 1.05;
    margin: 18px 0 8px;
    text-shadow: 0 0 24px color-mix(in srgb, var(--game-neon) 46%, transparent);
}

.demand-game-card h3 a {
    color: inherit;
    text-decoration: none;
}

.demand-game-card h3 a:hover {
    color: var(--game-neon);
}

.demand-game-card p {
    color: #cbd5e1;
    font-size: 0.88rem;
    margin: 0 0 14px;
}

.demand-game-card .game-tag-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.demand-game-card .game-tag-links a {
    border: none;
    border-radius: 0;
    background: transparent;
    color: #dbeafe;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0;
    position: relative;
    z-index: 2;
}

.demand-game-card .game-tag-links a::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 3px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--game-neon) 72%, #fff 0%);
    opacity: 0.55;
}

.demand-game-card .game-tag-links a:hover {
    color: var(--game-neon);
    background: transparent;
    text-decoration: none;
}

/* Wraps the image box container cleanly without layout distortion gaps */
.card-image-link {
    display: block;
    text-decoration: none;
}

/* Listings Section Styling */
.section-title {
    margin-top: 50px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: white;
}

.deals-grid {
    display: grid !important;

    grid-template-columns:
        repeat(auto-fit, minmax(380px, 1fr));

    gap: 24px !important;

    align-items: stretch;
}

.deal-card {
    background-color: #131316;
    border: 1px solid #222227;
    border-radius: 12px;
    overflow: hidden;
    display: block;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.deal-card:hover {
    border-color: #ff4757;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.15);
}

.footer {
    width: 100%;
    margin-bottom: 0px;
    margin-top: 100px;

    text-align: center;
    

    padding: 65px 8%;

    background-color: #09090b;

    border-top: 1px solid #1b1b20;

    color: #475569;
    font-size: 0.85rem;

    box-sizing: border-box;
}

/* Category Badge Labels inside Cards */
.item-tag {
    margin: -18px auto 18px;

    font-size: 0.75rem;
    font-weight: 700;
    padding: 7px 18px;

    background: rgba(255,159,67,0.12);
    width: max-content;

    border-radius: 8px;
    text-transform: uppercase;
}

.item-tag.top-up { color: #00d2d3; background-color: rgba(0, 210, 211, 0.1); }
.item-tag.account { color: #ff9f43; background-color: rgba(255, 159, 67, 0.1); }
.item-tag.currency { color: #1dd1a1; background-color: rgba(29, 209, 161, 0.1); }
.item-tag.boost { color: #9c27b0; background-color: rgba(156, 39, 176, 0.1); }

.deal-info {
    margin-top: 0;
    padding: 20px 18px 18px;
    background: #131316;
    

    background: linear-gradient(
        to top,
        rgba(13,13,15,0.98) 0%,
        rgba(13,13,15,0.88) 55%,
        rgba(13,13,15,0.12) 100%
    );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.deal-image {
    height: auto;
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0f1014;
}

.seller-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.seller-name {
    color: #94a3b8;
    font-weight: 600;
}

.seller-rating {
    color: #ff9f43;
}

.item-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;

    margin-bottom: 18px;
}

.item-specs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.item-specs span {
    background-color: #1c1c21;
    color: #64748b;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Price block alignment */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.discount-box {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 0.8rem;
    text-decoration: line-through;
    color: #64748b;
}

.buy-btn {
    background-color: #ff4757;
    color: white;
    text-decoration: none;
    padding: 6px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.buy-btn:hover {
    background-color: #ff6b81;
    transform: scale(0.98);
}

/* --- PRODUCT PAGE DESKTOP LAYOUT --- */

.product-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 40px 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.product-main-content {
    flex: 2;
    min-width: 0;
}

.checkout-sidebar {
    flex: 1;
    max-width: 380px;
}
/* --- MOBILE RESPONSIVE STYLES --- */
@media screen and (max-width: 768px) {

    .navbar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        padding: 10px 15px !important;
        gap: 10px !important;
        background-color: #131316 !important;
    }

    .search-container {
        width: 100% !important;
        order: 3 !important;
        margin-top: 8px !important;
        flex: unset !important;
    }

    .nav-links {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        width: auto !important;
        margin-left: auto !important;
    }

    .hero {
        min-height: auto !important;
        height: auto !important;
        padding: 20px 15px !important;
        background: #0d0d0f !important;
        margin: 0 !important;
    }

    .hero h1 {
        font-size: 1.6rem !important;
    }

    .hero p {
        font-size: 0.9rem !important;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
        gap: 10px !important;
    }

    .deals-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .game-thumb {
        height: 100px !important;
    }

    .item-title {
        min-height: auto !important;
    }
/* PRODUCT PAGE MOBILE FIX */

    .product-container {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px 15px !important;
        
    }

    .checkout-sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }

    .checkout-card {
        position: static !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

        .product-page-title {
        font-size: 1.4rem !important;
    }

    .sell-form-box {
        padding: 25px 20px !important;
    }

    .form-row-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }


    
}

.product-main-content {
    flex: 2;
}

.product-breadcrumb {
    max-width: 1600px;
    margin: 25px auto 0;
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.9rem;
    color: #64748b;
}

.product-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: #ff4757;
}

.product-breadcrumb span {
    color: #ffffff;
}

.product-breadcrumb span:not(:last-child) {
    width: 16px;
    margin: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    text-align: center;
}

.product-breadcrumb span:not(:last-child)::before {
    content: "/";
    color: rgba(255, 71, 92, 0.55);
    font-size: 0.76rem;
    font-weight: 900;
}

.product-page-title {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
}



/* Description Specifications */
.product-description-block {
    background-color: #131316;
    border: 1px solid #222227;
    padding: 25px;
    border-radius: 10px;
}

.product-description-block h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.product-description-block p {
    color: #cbd5e1;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.product-description-block ul {
    padding-left: 20px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.product-description-block li {
    margin-bottom: 8px;
}

/* Right Checkout Column Styling */
.checkout-sidebar {
    flex: 1;
}

.checkout-card {
    background-color: #131316;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid #222227;
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.checkout-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkout-price-row .label {
    color: #94a3b8;
    font-size: 1rem;
}

.checkout-price {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.delivery-badge-row {
    display: flex;
    gap: 12px;
    background-color: #1c1c21;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.delivery-icon {
    font-size: 1.2rem;
    color: #ff9f43;
}

.delivery-badge-row strong {
    color: white;
    display: block;
    margin-bottom: 2px;
}

.primary-checkout-btn {
    display: block;
    text-align: center;
    background-color: #ff4757;
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: background-color 0.2s;

}

.primary-checkout-btn:hover {
    background-color: #ff6b81;
    transform: scale(0.98);
}

.secondary-chat-btn {
    display: block;
    text-align: center;
    background-color: transparent;
    color: #94a3b8;
    border: 1px solid #2d2d35;
    text-decoration: none;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    transition: color 0.2s, border-color 0.2s;
}

.secondary-chat-btn:hover {
    color: white;
    border-color: #64748b;
}

/* --- SELL PORTAL FORM STYLING --- */
.sell-container {
    display: block !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
}

.sell-form-box {
    display: block !important;
    background-color: #131316 !important;
    border: 1px solid #222227 !important;
    border-radius: 12px !important;
    padding: 40px !important;
    width: 100% !important;
}

.sell-form-box h1 {
    color: white !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.form-subtitle {
    color: #94a3b8 !important;
    font-size: 0.95rem !important;
    margin-bottom: 30px !important;
}

.form-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
}

.form-group label {
    color: white !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    background-color: #1c1c21 !important;
    border: 1px solid #2d2d35 !important;
    border-radius: 8px !important;
    color: white !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none !important;
    border-color: #ff4757 !important;
}

.form-row-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    width: 100% !important;
}

.form-group textarea {
    resize: vertical !important;
}

.form-submit-btn {
    box-shadow: 0 5px 15px rgba(255,71,87,0.25);
    display: block !important;
    width: 100% !important;
    background-color: #ff4757 !important;
    color: white !important;
    border: none !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 14px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    transition: background-color 0.2s !important;
}

.form-submit-btn:hover {
    background-color: #ff6b81 !important;
    transform: scale(0.98);
}

.product-gallery img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #222227;
}

/* CATEGORY PAGE */

.category-layout {
    display: flex;
    gap: 25px;
    padding: 40px 5%;
    align-items: flex-start;
}

.filters-sidebar {
    width: 260px;
    background-color: #131316;
    border: 1px solid #222227;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 100px;
}

.filter-box {
    margin-bottom: 30px;
}

.filter-box h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
}

.filter-box label {
    display: block;
    color: #94a3b8;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.category-products {
    flex: 1;
}

.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.sort-bar span {
    color: #94a3b8;
}

.sort-bar select {
    background-color: #1c1c21;
    color: white;
    border: 1px solid #2d2d35;
    padding: 10px 14px;
    border-radius: 8px;
}



@media screen and (max-width: 768px) {

    .category-layout {
        flex-direction: column;
    }

    .filters-sidebar {
        width: 100%;
        position: static;
    }

}
/* --- PLAYHUB OFFICIAL STORE OVERRIDES --- */
.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav-link:hover { color: #ffffff; }

.hero-home {
    padding: 90px 5%;
}

.hero h1 {
    line-height: 1.1;
}

.hero-home h1 span {
    display: block;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 10px;
}

.primary-btn {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    box-shadow: 0 12px 25px rgba(255,71,87,0.25);
}

.secondary-btn {
    color: #cbd5e1;
    border: 1px solid #2d2d35;
    background-color: rgba(28,28,33,0.7);
}

.trust-strip {
    position: relative;
    z-index: 5;

    max-width: 1180px;
    margin: -55px auto 0;

    padding: 24px 30px;

    background: rgba(19,19,22,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid #222227;
    border-radius: 18px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;

    box-shadow: 0 22px 50px rgba(0,0,0,0.38);
}

.trust-item {
    text-align: center;
    padding: 5px 15px;
    border-right: 1px solid #2d2d35;
}

.trust-item:last-child {
    border-right: none;
}

.trust-item strong {
    display: block;
    color: white;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.trust-item span {
    color: #94a3b8;
    font-size: 0.88rem;
}



.disabled-card {
    opacity: 0.6;
    cursor: default;
}

.disabled-card:hover {
    transform: none;
    border-color: #222227;
    box-shadow: none;
}

.buy-btn,
.primary-checkout-btn,
.form-submit-btn {
    background: linear-gradient(135deg, #ff4757, #ff6b81) !important;
}

.buy-btn:hover,
.primary-checkout-btn:hover,
.form-submit-btn:hover,
.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255,71,87,0.25);
}

.checkout-page {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 25px;
    align-items: start;
}

.checkout-form-box {
    background-color: #131316;
    border: 1px solid #222227;
    border-radius: 12px;
    padding: 35px;
}

.checkout-form-box h1,
.checkout-card h3 {
    color: white;
    margin-bottom: 10px;
}

textarea {
    min-height: 140px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ff4757;
}

.footer-text {
    color: #94a3b8;
    max-width: 900px;
    margin: 15px auto;
    font-size: 0.9rem;
}

.footer-disclaimer {
    color: #64748b;
    max-width: 950px;
    margin: 15px auto;
    font-size: 0.8rem;
    line-height: 1.7;
}

.footer-copy {
    margin-top: 20px;
    color: #475569;
    font-size: 0.8rem;
}

@media screen and (max-width: 768px) {

    .hero-home {
        padding: 40px 15px !important;
    }

    .trust-strip {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;

        margin: 20px auto !important;

        gap: 0 !important;

        padding: 12px !important;
    }

    .trust-item {
        border-right: 0 !important;
        border-bottom: 1px solid #2d2d35 !important;

        padding: 10px 5px !important;
    }

    .trust-item:nth-child(odd) {
        border-right: 1px solid #2d2d35 !important;
    }

    .trust-item:last-child {
        border-right: none !important;
        border-bottom: none !important;
    }

    .trust-item strong {
        font-size: 0.8rem !important;
    }

    .trust-item span {
        font-size: 0.7rem !important;
    }

    .checkout-page {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .checkout-form-box {
        padding: 25px 20px;
    }
}

.store-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.store-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    row-gap: 9px;
    margin-top: 0;
}

.store-tags span {
    border: 1px solid #3b4252;
    color: #cbd5e1;

    padding: 6px 11px;
    border-radius: 7px;

    font-size: 0.75rem;
    font-weight: 600;
}

.store-tags span:hover {
    border-color: #ff4757;
    color: white;
    background-color: rgba(255,71,87,0.08);
    box-shadow: 0 0 12px rgba(255,71,87,0.18);
}



.feature-card {
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: center;

    overflow: hidden;

    min-height: 220px;

    padding: 34px;

    background: rgba(15,18,28,0.72);

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 22px;
}

.feature-content {
    position: relative;
    z-index: 2;

    max-width: 65%;
}

.feature-icon {
    position: absolute;

    right: -10px;
    bottom: -10px;

    width: 180px;
    height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0.95;
}

.feature-icon img {

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(0 0 30px rgba(255,71,87,0.22));

    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.product-page-layout {
    max-width: 1600px;
    margin: 50px auto;
    padding: 0 5%;

    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 50px;
    align-items: start;
}

.product-image-area img {
    width: 100%;
    border-radius: 18px;

    border: 1px solid #222227;

    box-shadow:
        0 25px 50px rgba(0,0,0,0.45),
        0 0 35px rgba(255,71,87,0.08);

    transition: 0.3s ease;

    display: block;
    max-height: 780px;

    object-fit: cover;

}

.product-image-area img:hover {
    transform: scale(1.01);
}

.product-info-area {
    border: 1px solid #262633;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.10), transparent 38%),
        #121620;
    padding: 30px;
    min-height: 520px;
    display: grid;
    align-items: center;
    box-shadow: 0 24px 60px rgba(0,0,0,0.32);
}

.product-info-card {
    max-width: none;
    width: 100%;
}

.product-icon {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 26px;
    color: #111116;
    font-size: 2.45rem;
    margin-bottom: 22px;
    transform: rotate(-8deg);
}

.product-icon.accounts { background: #38bdf8; }
.product-icon.currency { background: #ffb020; }
.product-icon.boosting { background: #7ddc18; }

.product-info-card h2 {
    color: white;
    font-size: 2.35rem;
    margin-bottom: 12px;
}

.product-info-card p {
    max-width: 760px;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.product-info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-info-list div {
    min-height: 112px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: rgba(13, 13, 18, 0.72);
    padding: 16px;
}

.product-info-list i {
    color: #ff6b81;
    margin-bottom: 12px;
}

.product-info-list span,
.product-info-list strong {
    display: block;
}

.product-info-list span {
    color: #94a3b8;
    font-size: 0.83rem;
    margin-bottom: 4px;
}

.product-info-list strong {
    color: white;
}

.product-buy-area {
    background-color: #131316;
    border: 1px solid #222227;
    border-radius: 16px;
    padding: 32px;
    position: sticky;
    top: 110px;
    backdrop-filter: blur(12px);
    background:linear-gradient(180deg,
    rgba(19,19,22,0.98),
    rgba(13,13,15,0.98)
);

box-shadow:
0 20px 50px rgba(0,0,0,0.45);

}

.product-rating {
    color: #22c55e;
    font-weight: 700;
    margin-bottom: 18px;
}

.product-rating span {
    color: #94a3b8;
    font-weight: 500;
    margin-left: 8px;
}

.product-price {
    color: #ff4757;
    font-size: 2rem;
    font-weight: 800;
    margin: 24px 0;
}

.product-meta p {
    color: #cbd5e1;
    margin-bottom: 8px;
}

.product-select-group {
    margin-bottom: 18px;
}

.product-select-group label {
    display: block;
    color: white;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-select-group select {
    width: 100%;
    padding: 13px 15px;

    background-color: #1c1c21;
    color: white;

    border: 1px solid #2d2d35;
    border-radius: 8px;

    font-size: 0.95rem;
}

.product-select-group select:hover {
    border-color: #ff4757;
}

.add-cart-btn {
    display: block;
    text-align: center;

    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;

    text-decoration: none;
    font-weight: 800;

    padding: 15px;
    border-radius: 10px;

    margin-top: 20px;
}

.add-cart-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(255,71,87,0.25);
}

.product-support-btn {
    display: block;
    text-align: center;

    color: #cbd5e1;
    text-decoration: none;
    font-weight: 700;

    padding: 13px;
    border-radius: 10px;
    border: 1px solid #2d2d35;

    margin-top: 12px;
}

.product-support-btn:hover {
    border-color: #ff4757;

    color: white;

    background-color: rgba(255,71,87,0.08);
}

.product-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 18px;
}

.product-trust-row span {
    background-color: #1c1c21;

    border: 1px solid #2d2d35;

    color: #94a3b8;

    padding: 6px 10px;

    border-radius: 6px;

    font-size: 0.8rem;
    font-weight: 600;

    transition: 0.25s ease;
}

.product-trust-row span:hover {
    border-color: #ff4757;
    color: white;
}

.product-description-section {
    max-width: 1300px;
    margin: 30px auto 70px;
    padding: 32px 5%;

    background-color: #131316;
    border: 1px solid #222227;
    border-radius: 16px;
}

.product-description-section h2,
.product-description-section h3 {
    color: white;
    margin-bottom: 14px;
}

.chosen-package-label {
    display: block;
    margin: 22px 0 8px;
    color: #ff7182;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.account-offer-layout .product-info-card h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.account-offer-layout .product-info-area {
    min-height: 0;
    padding: 24px;
}

.account-product-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.product-offer-summary {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.account-offer-layout .product-offer-summary .product-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 1.35rem;
    box-shadow: none;
}

.product-offer-copy {
    min-width: 0;
}

.product-offer-copy .chosen-package-label {
    margin: 0 0 5px;
}

.product-offer-copy p {
    margin-top: 8px;
    font-size: 0.93rem;
    line-height: 1.55;
}

.product-offer-copy > p {
    display: none !important;
}

.product-description-section p,
.product-description-section li {
    color: #cbd5e1;
    margin-bottom: 10px;
}

.product-description-section ul {
    padding-left: 22px;
}

@media screen and (max-width: 768px) {
    .product-page-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 25px auto;
    }

    .product-buy-area {
        padding: 24px;
    }

    .product-info-area {
        min-height: auto;
        padding: 22px;
    }

    .product-info-card h2 {
        font-size: 1.6rem;
    }

    .product-info-list {
        grid-template-columns: 1fr;
    }

    .product-price {
        font-size: 1.7rem;
    }
}

.product-stock {
    color: #22c55e;
    font-weight: 700;
    margin-bottom: 18px;
}

.product-stock.out-of-stock {
    color: #ff4757;
}

.quantity-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: #1c1c21;

    border: 1px solid #2d2d35;

    border-radius: 10px;

    padding: 10px 15px;

    margin-bottom: 20px;
}

.quantity-box button {
    width: 34px;
    height: 34px;

    border: none;

    border-radius: 8px;

    background-color: #2a2a31;

    color: white;

    font-size: 1.1rem;

    cursor: pointer;
}

.quantity-box span {
    color: white;
    font-weight: 700;
}

.quantity-box button:hover {
    background-color: #ff4757;
}

.checkout-summary-card {
    position: sticky;
    top: 110px;
}

.summary-product {
    display: flex;
    gap: 14px;
    align-items: center;

    padding: 16px 0;
    border-bottom: 1px solid #222227;
    margin-bottom: 18px;
}

.summary-thumb {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    border: 1px solid #2d2d35;
}

.summary-product strong {
    color: white;
    display: block;
    margin-bottom: 4px;
}

.summary-product p {
    color: #94a3b8;
    font-size: 0.85rem;
}

.summary-line,
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 0;
    border-bottom: 1px solid #222227;
}

.summary-line span {
    color: #94a3b8;
}

.summary-line strong {
    color: white;
}

.summary-total {
    border-bottom: none;
    margin-top: 8px;
}

.summary-total span {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
}

.summary-total strong {
    color: #ff4757;
    font-size: 1.6rem;
}

.checkout-trust-box {
    margin-top: 20px;
    padding: 15px;

    background-color: #1c1c21;
    border: 1px solid #2d2d35;
    border-radius: 10px;
}

.checkout-trust-box p {
    color: #cbd5e1;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.checkout-trust-box p:last-child {
    margin-bottom: 0;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;

    margin: 20px 0;
}

.payment-icons img {
    width: 58px;
    height: 38px;
    object-fit: contain;
    background: #fff;
    padding: 6px 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.payment-icons img:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.25);
}

@media screen and (max-width: 768px) {

    .product-page-layout {
        grid-template-columns: 1fr !important;
    }

    .product-buy-area {
        width: 100%;
    }

    .quantity-box {
        width: 100%;
        justify-content: space-between;
    }

    .add-cart-btn,
    .product-support-btn {
        width: 100%;
        text-align: center;
    }

    .checkout-summary-card {
        width: 100%;
    }
}

/* FAQ PAGE */

.faq-page {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

.faq-hero {
    text-align: center;
    margin-bottom: 50px;
}

.faq-hero h1 {
    font-size: 3rem;
    margin: 15px 0;
    color: white;
}

.faq-hero p {
    color: #9ca3af;
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #111118;
    border: 1px solid #23232d;
    border-radius: 16px;
    padding: 25px;
}

.faq-item h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.faq-item p {
    color: #9ca3af;
    line-height: 1.7;
}

@media screen and (max-width: 768px) {

    .faq-hero h1 {
        font-size: 2rem;
    }

    .faq-item {
        padding: 20px;
    }

}

/* TERMS PAGE */

.tos-page {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

.tos-hero {
    text-align: center;
    margin-bottom: 50px;
}

.tos-hero h1 {
    font-size: 3rem;
    color: white;
    margin: 15px 0;
}

.tos-hero p {
    color: #9ca3af;
}

.tos-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tos-box {
    background: #111118;
    border: 1px solid #23232d;
    border-radius: 16px;
    padding: 25px;
}

.tos-box h2 {
    color: white;
    margin-bottom: 15px;
}

.tos-box p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 12px;
}

@media screen and (max-width: 768px) {

    .tos-hero h1 {
        font-size: 2rem;
    }

    .tos-box {
        padding: 20px;
    }

}

/* HELP CENTER FAQ PAGE */

.help-center-page {
    min-height: calc(100vh - 160px);
    padding: 60px 20px 90px;
}

.help-hero {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
}

.help-hero h1 {
    color: white;
    font-size: 2.4rem;
    margin: 18px 0 25px;
}

.help-search {
    max-width: 760px;
    margin: 0 auto;
    background: #2a2a2f;
    border: 1px solid #3a3a42;
    border-radius: 16px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.help-search span {
    font-size: 1.3rem;
}

.help-search input {
    width: 100%;
    padding: 18px 0;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
}

.help-search input::placeholder {
    color: #cbd5e1;
}

.help-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.help-card {
    min-height: 170px;
    background: rgba(10,10,12,0.85);
    border: 1px solid #2d2d35;
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    transition: 0.25s ease;
}

.help-card:hover {
    border-color: #ff4757;
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(255,71,87,0.12);
}

.help-icon {
    color: #ff4757;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.help-card h3 {
    color: white;
    margin-bottom: 8px;
}

.help-card p {
    color: #cbd5e1;
    margin-bottom: 18px;
}

.help-card span {
    color: #94a3b8;
    font-size: 0.9rem;
}

.seller-help-icon {
    color: #ffb020;
}

.seller-help-icon i {
    font-size: 1.65rem;
}

@media screen and (max-width: 768px) {

    .help-logo .brand-logo-mark {
        width: 48px;
        height: 48px;
        max-width: 48px;
        margin: -3px -8px -3px 0;
    }

    .help-logo .brand-logo-wordmark {
        height: 18px;
        max-width: 136px;
    }

    .help-center-page {
        padding: 35px 15px 60px;
    }

    .help-hero h1 {
        font-size: 1.8rem;
    }

    .help-search input {
        padding: 15px 0;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }
}

.help-center-bottom {
    text-align: center;
    color: white;
    margin-top: 80px;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* HELP CENTER TOPBAR */

.help-topbar {
    width: 100%;
    padding: 22px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.help-logo {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 54px;
    text-decoration: none;
}

.help-logo .brand-logo-mark {
    width: 66px;
    height: 66px;
    max-width: 66px;
    margin: -5px -12px -5px 0;
}

.help-logo .brand-logo-wordmark {
    height: 20px;
    width: auto;
    max-width: 180px;
    filter: none;
}

.help-back-link {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    opacity: 0.85;
}

.help-back-link:hover {
    color: #ff4757;
}

@media screen and (max-width: 640px) {
    .help-topbar {
        padding: 14px 10px 10px !important;
        gap: 8px !important;
    }

    .help-logo {
        min-height: 42px !important;
        max-width: calc(100% - 108px) !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
    }

    .help-logo .brand-logo-mark {
        width: 42px !important;
        height: 42px !important;
        max-width: 42px !important;
        margin: -3px -8px -3px 0 !important;
        flex: 0 0 42px !important;
    }

    .help-logo .brand-logo-wordmark {
        height: 16px !important;
        max-width: clamp(108px, 34vw, 132px) !important;
        flex: 0 1 auto !important;
    }

    .help-back-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        font-size: 0.88rem !important;
        line-height: 1 !important;
        min-height: 42px !important;
        text-align: right !important;
    }
}

/* HELP ARTICLE LIST PAGE */

.help-article-page {
    min-height: 100vh;
    padding: 25px 20px 70px;
}

.top-search {
    margin-bottom: 65px;
}

.article-content-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.article-breadcrumb {
    display: flex;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 35px;
}

.article-breadcrumb a {
    color: white;
    text-decoration: none;
}

.article-header {
    margin-bottom: 35px;
}

.article-header h1 {
    color: white;
    font-size: 2.4rem;
    margin: 12px 0 5px;
}

.article-header p,
.article-header span {
    color: #94a3b8;
}

.article-updated {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 6px 0 14px;
}

.article-list {
    border: 1px solid #2d2d35;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(10,10,12,0.88);
}

.article-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    text-decoration: none;
    color: white;
    border-bottom: 1px solid #23232d;
}

.article-row:last-child {
    border-bottom: none;
}

.article-row:hover {
    background: rgba(255,71,87,0.06);
}

.article-row strong {
    color: #ff4757;
    font-size: 1.4rem;
}

/* Help center full background fix */
body:has(.help-center-page),
body:has(.help-article-page) {
    background:
        radial-gradient(circle at top left, rgba(255,71,87,0.18), transparent 35%),
        #050506;
}

.help-topbar {
    background: transparent !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.help-center-page,
.help-article-page {
    padding-top: 25px !important;
}

body:has(.help-center-page),
body:has(.help-article-page) {
    background:
        radial-gradient(circle at top left, rgba(255,71,87,0.18), transparent 35%),
        #050506 !important;
}

/* FINAL ARTICLE CONTENT DESIGN */

.article-main-content {
    padding-top: 10px;
}

.article-main-content h2 {
    color: white;
    font-size: 1.55rem;
    margin-top: 34px;
    margin-bottom: 12px;
}

.article-main-content h2:first-child {
    margin-top: 0;
}

.article-main-content p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 16px;
}

.article-main-content ul {
    padding-left: 22px;
    margin-bottom: 20px;
}

.article-main-content li {
    color: #cbd5e1;
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-support-btn {
    display: inline-block;
    margin-top: 28px;
    background: linear-gradient(135deg,#ff4757,#ff6b81);
    color: white !important;
    padding: 13px 22px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(255,71,87,0.25);
}

.article-support-btn:hover {
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .article-main-content {
        padding: 28px 22px;
    }
}

/* FIX HELP SEARCH DROPDOWN */

.help-search {
    position: relative !important;
    overflow: visible !important;
}

.help-search-results {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    background: #111118;
    border: 1px solid #2d2d35;
    border-radius: 14px;

    padding: 8px;
    z-index: 9999;

    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.help-search-results a,
.help-search-results p {
    display: block;
    width: 100%;

    padding: 13px 16px;

    color: white !important;
    text-decoration: none !important;

    border-radius: 10px;
    border-bottom: none !important;

    font-size: 0.95rem;
}

.help-search-results a:hover {
    background: rgba(255,71,87,0.1);
    color: #ff4757 !important;
}

.search-container {
    position: relative;
}

.search-container {
    position: relative;
}

.game-search-results {
    display: none;

    position: absolute;

    top: calc(100% + 12px);
    left: 0;
    right: 0;

    background: #1b1f2a;

    border: 1px solid #2d3442;

    border-radius: 16px;

    overflow: hidden;

    z-index: 9999;

    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

.game-item {
    border-bottom: 1px solid #2a3040;
}

.game-item:last-child {
    border-bottom: none;
}

.game-row {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 16px 18px;

    cursor: pointer;
}

.game-row a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.game-row:hover {
    background: rgba(255,71,87,0.08);
}

.game-arrow {
    color: #94a3b8;
    font-size: 1rem;
}

.game-dropdown {
    display: none;

    background: #111827;
}

.game-item:hover .game-dropdown {
    display: block;
}

.game-dropdown a {
    display: flex;

    padding: 13px 30px;

    color: #cbd5e1;

    text-decoration: none;

    font-size: 0.9rem;
}

.game-dropdown a:hover {
    background: rgba(255,71,87,0.1);

    color: #ff4757;
}

.view-all-games {
    display: block;

    text-align: center;

    padding: 16px;

    color: #ffb020 !important;

    text-decoration: none;

    font-weight: 700;
}

/* MODERN SEARCH DROPDOWN */

.game-search-results {

    display: none;

    position: absolute;

    top: calc(100% + 14px);

    left: 0;
    right: 0;

    background: rgba(18, 22, 30, 0.72);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 18px;

    overflow: hidden;

    z-index: 9999;

    box-shadow:
        0 20px 50px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.04);

    animation: searchFade 0.18s ease;
}

@keyframes searchFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-item {
    position: relative;
}

.game-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 22px;

    transition: 0.18s ease;

    cursor: pointer;
}

.game-row:hover {
    background: rgba(255,255,255,0.04);
}

.game-row a {

    color: #f8fafc;

    text-decoration: none;

    font-size: 0.96rem;

    font-weight: 600;

    letter-spacing: 0.2px;
}

/* CLEAN ARROW */

.game-arrow {

    width: 8px;
    height: 8px;

    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;

    transform: rotate(45deg);

    transition: 0.2s ease;
}

.game-item:hover .game-arrow {

    transform: rotate(225deg);

    border-color: #ff4757;
}

/* DROPDOWN */

.game-dropdown {

    display: none;

    flex-wrap: wrap;
    gap: 8px;
    padding: 0 22px 15px;
}

.game-item:hover .game-dropdown {
    display: flex;
}

.game-dropdown a {

    display: inline-flex;
    align-items: center;

    padding: 9px 11px;

    color: #cbd5e1;

    text-decoration: none;

    font-size: 0.9rem;

    transition: 0.18s ease;

    border: 1px solid #2d3442;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
}

.game-dropdown a:hover {

    color: #ff4757;

    transform: translateY(-1px);
    border-color: rgba(255,71,87,0.35);
}

/* VIEW ALL */

.view-all-games {

    display: block;

    text-align: center;

    padding: 18px;

    color: #ffb020 !important;

    text-decoration: none;

    font-weight: 700;

    background: rgba(255,255,255,0.03);

    transition: 0.18s ease;
}

.view-all-games:hover {

    background: rgba(255,255,255,0.05);

    letter-spacing: 0.3px;
}

.search-category-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(15, 18, 27, 0.86);
}

.search-category-strip a {
    min-height: 76px;
    display: grid;
    place-items: center;
    gap: 8px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.18s ease, transform 0.18s ease;
}

.search-category-strip a:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

.search-category-strip a.active {
    background: rgba(255,255,255,0.08);
    box-shadow: inset 0 -2px 0 var(--cat-color);
}

.search-category-strip i {
    color: var(--cat-color);
    font-size: 1.6rem;
}

.search-category-strip span {
    font-size: 0.78rem;
    font-weight: 700;
}

.search-games-title {
    padding: 14px 22px 5px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.search-empty-state {
    padding: 18px 22px 24px;
    color: #94a3b8;
}

.hot-mark {
    display: inline-flex;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.14);
    color: #ff8c9a;
    font-size: 0.68rem;
    font-weight: 900;
    vertical-align: middle;
}

.game-dropdown a {
    justify-content: space-between;
    gap: 14px;
}

.game-dropdown a span {
    color: #94a3b8;
    font-size: 0.78rem;
}

.game-dropdown a strong {
    color: #e5e7eb;
    font-size: 0.88rem;
}

/* ELDORADO STYLE MEGA NAV */

.mega-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.mega-item {
    position: static;
}

.mega-trigger {
    background: transparent;
    border: none;
    color: white;
    padding: 13px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-trigger span {
    width: 7px;
    height: 7px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg);
    transition: 0.2s ease;
    margin-top: -4px;
}

.mega-item:hover .mega-trigger {
    background: rgba(255,255,255,0.05);
    color: #ff4757;
}

.mega-item:hover .mega-trigger span {
    transform: rotate(225deg);
    border-color: #ff4757;
    margin-top: 4px;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 5%;

    width: 720px;
    min-height: 260px;

    background: rgba(20, 24, 34, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0 0 18px 18px;

    box-shadow: 0 25px 60px rgba(0,0,0,0.45);

    z-index: 9999;
    overflow: hidden;
}

.mega-item:hover .mega-menu {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}

.mega-left,
.mega-right {
    padding: 28px 30px;
}

.mega-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
}

.mega-left h4,
.mega-right h4 {
    grid-column: 1 / -1;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.mega-left a,
.mega-right a {
    color: #dbe4f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.18s ease;
}

.mega-left a:hover,
.mega-right a:hover {
    color: #ff4757;
    transform: translateX(4px);
}

.mega-right {
    background: rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mega-right input {
    width: 100%;
    padding: 13px 14px;
    background: rgba(8,10,15,0.65);
    border: 1px solid #ffb020;
    border-radius: 10px;
    color: white;
    outline: none;
    font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
    .mega-nav {
        overflow-x: auto;
    }

    .mega-menu {
        width: 92vw;
        left: 0%;
    }
}

/* MOBILE MEGA NAV FIX */

@media screen and (max-width: 768px) {

    .sub-navbar {
        padding: 8px 10px !important;
        overflow-x: hidden !important;
    }

    .mega-nav {
        overflow-x: auto !important;
        white-space: nowrap !important;
        gap: 4px !important;
        padding-bottom: 0 !important;

        scrollbar-width: none !important;
    }

    .mega-nav::-webkit-scrollbar {
        display: none !important;
    }

    .mega-trigger {
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
        flex-shrink: 0 !important;
    }

    .mega-menu {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        top: 165px !important;

        width: auto !important;
        max-height: 70vh !important;
        overflow-y: auto !important;

        grid-template-columns: 1fr !important;
        border-radius: 16px !important;
    }

    .mega-item:hover .mega-menu {
        display: grid !important;
    }

    .mega-left {
        grid-template-columns: 1fr !important;
        padding: 22px !important;
    }

    .mega-right {
        padding: 22px !important;
    }
}

.mega-right input:focus {
    border-color: #ff4757;
    box-shadow: 0 0 0 4px rgba(255,71,87,0.12);
}

.market-subnav {
    border-bottom: 1px solid #222227;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), transparent),
        rgba(17, 17, 20, 0.96);
    padding: 0 5%;
    z-index: 80;
}

.market-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1px;
    min-height: 44px;
    position: relative;
    overflow: visible;
    max-width: none;
    width: 100%;
    margin: 0;
}

.market-nav-link,
.market-nav-trigger {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #cbd5e1;
    padding: 0 8px;
    font-size: 0.82rem;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.market-nav-link.active,
.market-nav-link:hover,
.market-nav-trigger:hover,
.market-nav-item:hover .market-nav-trigger {
    background: rgba(255,255,255,0.045);
    border-color: #2d2d38;
    color: #fff;
}

.market-nav-link.active {
    background: rgba(255, 71, 87, 0.10);
    border-color: rgba(255, 71, 87, 0.28);
}

.market-nav-link.active i,
.market-nav-link:hover i,
.market-nav-trigger:hover i,
.market-nav-item:hover .market-nav-trigger i,
.market-nav-item.active .market-nav-trigger i {
    color: #ff6b81;
}

.market-nav-item {
    position: relative;
}

.market-nav-item.active .market-nav-trigger {
    background: rgba(255,255,255,0.06);
    border-color: #2d2d38;
    color: #fff;
}

.market-nav-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
}

.market-menu {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    width: 315px;
    display: grid;
    gap: 8px;
    border: 1px solid #2d2d38;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), transparent),
        #111116;
    box-shadow: 0 24px 60px rgba(0,0,0,0.38);
    padding: 10px;
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.14s ease, visibility 0.14s ease, transform 0.14s ease;
}

.market-nav-item:hover .market-menu,
.market-nav-item:focus-within .market-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.compact-menu a,
.compact-menu > span {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    transition: background 0.18s ease, transform 0.18s ease;
}

.compact-menu a:hover {
    background: #1b1b22;
    transform: translateY(-1px);
}

.compact-menu i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    grid-row: span 2;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.12);
    color: #ff6b81;
}

.compact-menu span {
    font-weight: 900;
    line-height: 1.2;
}

.compact-menu small {
    color: #94a3b8;
    line-height: 1.25;
}

.muted-menu > span {
    color: #94a3b8;
}

.muted-menu > span i {
    background: rgba(148, 163, 184, 0.10);
    color: #94a3b8;
}

.market-nav-quiet {
    margin-left: auto;
}

.market-games-menu {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    width: min(720px, 92vw);
    border: 1px solid #2d2d38;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
        #111116;
    box-shadow: 0 24px 60px rgba(0,0,0,0.38);
    padding: 14px;
    z-index: 300;
}

.market-games-menu[hidden] {
    display: none;
}

.market-games-title {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 4px 6px 10px;
}

.market-games-list {
    display: grid;
    gap: 8px;
}

.market-game-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid #252531;
    border-radius: 8px;
    background: rgba(255,255,255,0.025);
    padding: 11px;
}

.market-game-row:hover {
    background: #1a1a21;
}

.market-game-name {
    color: white;
    font-weight: 900;
    text-decoration: none;
}

.market-game-name span {
    margin-left: 8px;
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.14);
    color: #ff8c9a;
    padding: 2px 6px;
    font-size: 0.66rem;
    vertical-align: middle;
}

.market-game-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.market-game-chips a {
    border: 1px solid #2d3442;
    border-radius: 999px;
    background: rgba(255,255,255,0.035);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 7px 10px;
}

.market-game-chips a:hover {
    border-color: rgba(255,71,87,0.35);
    color: #ff6b81;
}

.market-view-all-games {
    display: block;
    margin: 12px -4px -4px;
    border-top: 1px solid #262633;
    color: #ffb020;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    padding: 14px;
}

.market-view-all-games:hover {
    background: rgba(255,255,255,0.04);
}

@media screen and (max-width: 768px) {
    .market-subnav {
        padding: 8px 10px !important;
        overflow-x: auto !important;
    }

    .market-nav {
        min-height: 38px;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .market-nav::-webkit-scrollbar {
        display: none;
    }

    .market-menu {
        position: fixed;
        top: 132px;
        left: 12px;
        right: 12px;
        width: auto;
    }

    .market-games-menu {
        position: fixed;
        top: 132px;
        left: 12px;
        right: 12px;
        width: auto;
    }

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

    .market-game-chips {
        justify-content: flex-start;
    }

    .market-nav-quiet {
        margin-left: 0;
    }
}

/* FEATURE SECTION */

.feature-section {

    max-width: 1400px;

    margin: -10px auto 0;

    padding: 130px 5% 116px;

    position: relative;
}

.feature-section::before,
.feature-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 160px;
    pointer-events: none;
    z-index: -1;
}

.feature-section::before {
    top: -80px;
    background: linear-gradient(180deg, transparent, rgba(7, 9, 16, 0.72), transparent);
}

.feature-section::after {
    bottom: -88px;
    background: linear-gradient(180deg, transparent, rgba(7, 9, 16, 0.84));
}

.feature-top {

    text-align: center;

    max-width: 850px;

    margin: 0 auto 55px;
}

.feature-top h2 {

    color: white;

    font-size: 2.3rem;

    margin-bottom: 18px;
}

.feature-grid {

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.feature-card {

    position: relative;

    overflow: hidden;

    min-height: 210px;

    padding: 26px;

    border-radius: 18px;

    background:
        radial-gradient(circle at 85% 15%, rgba(255, 71, 87, 0.13), transparent 34%),
        linear-gradient(
            145deg,
            rgba(20,24,35,0.95),
            rgba(10,12,18,0.98)
        );

    border: 1px solid rgba(255,255,255,0.06);

    box-shadow:
        0 15px 40px rgba(0,0,0,0.35);

    transition: 0.3s ease;

    display: grid;

    align-content: start;

    gap: 18px;
}

.feature-card:hover {

    transform: translateY(-5px);

    border-color: rgba(255,71,87,0.3);

    box-shadow:
        0 20px 50px rgba(255,71,87,0.12);
}

.feature-text {

    position: relative;

    z-index: 2;

    max-width: 100%;
}

.feature-text h3 {

    color: white;

    font-size: 1.12rem;

    margin-bottom: 10px;
}

.feature-text p {

    color: #cbd5e1;

    line-height: 1.55;

    font-size: 0.9rem;
}

.feature-icon {

    position: relative;

    right: auto;

    bottom: auto;

    width: 58px;

    height: 58px;

    opacity: 1;

    display: grid;

    place-items: center;

    border-radius: 16px;

    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.95), rgba(255, 176, 32, 0.78));

    color: #fff;

    font-size: 1.35rem;

    box-shadow:
        0 0 28px rgba(255, 71, 87, 0.22),
        inset 0 0 18px rgba(255, 255, 255, 0.18);
}

.feature-icon img,
.feature-icon i {

    width: auto;

    height: auto;

    object-fit: initial;

    filter:
        drop-shadow(0 0 25px rgba(255,71,87,0.25));

    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* MOBILE */

@media screen and (max-width: 768px) {

    .feature-section {

        margin: 60px auto;
    }

    .feature-top h2 {

        font-size: 1.8rem;
    }

    .feature-grid {

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

    .feature-card {

        min-height: 190px;

        padding: 22px;
    }

    .feature-text {

        max-width: 100%;
    }

    .feature-text h3 {

        font-size: 1.2rem;
    }

    .feature-text p {

        font-size: 0.92rem;
    }

    .feature-icon {

        width: 52px;

        height: 52px;

        right: auto;

        bottom: auto;
    }
}

@media screen and (max-width: 520px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.home-live-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 34%, rgba(47, 116, 255, 0.11), transparent 28%),
        radial-gradient(circle at 45% 76%, rgba(34, 197, 94, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(6, 8, 18, 0.24), rgba(6, 8, 18, 0));
}

.home-live-background span {
    position: absolute;
    width: 48vw;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(47, 116, 255, 0.42), rgba(255, 71, 87, 0.2), transparent);
    filter: blur(1px);
    transform: rotate(-18deg);
    animation: homeLightSweep 13s linear infinite;
}

.home-live-background span:nth-child(1) {
    top: 18%;
    left: -30%;
}

.home-live-background span:nth-child(2) {
    top: 48%;
    left: -45%;
    animation-delay: -5s;
    animation-duration: 16s;
}

.home-live-background span:nth-child(3) {
    top: 72%;
    left: -35%;
    animation-delay: -9s;
    animation-duration: 18s;
}

body > .hero,
body > .trust-strip,
body > main,
body > section,
body > #footer {
    position: relative;
    z-index: 1;
}

.trust-strip {
    max-width: 1120px;
    padding: 14px;
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(17, 21, 34, 0.62), rgba(10, 13, 22, 0.5));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 24px 70px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.trust-item {
    min-height: 82px;
    display: grid;
    align-content: center;
    border-right: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(22, 27, 42, 0.58), rgba(13, 15, 24, 0.36));
}

.trust-item strong {
    font-size: 0.98rem;
}

.trust-item span {
    font-size: 0.8rem;
}

.home-process-section {
    width: min(1240px, 92vw);
    margin: 80px auto 0;
    min-height: 680px;
    display: grid;
    align-content: center;
    gap: 52px;
    position: relative;
}

.home-process-section::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -130px;
    width: 100vw;
    height: 260px;
    transform: translateX(-50%);
    background:
        linear-gradient(180deg, transparent, rgba(7, 9, 16, 0.78) 45%, transparent);
    pointer-events: none;
    z-index: -1;
}

.home-process-section::before {
    content: "";
    position: absolute;
    inset: 8% 7% auto auto;
    width: 46%;
    height: 52%;
    border: 1px solid rgba(47, 116, 255, 0.16);
    border-radius: 50%;
    transform: rotate(-12deg);
    filter: blur(0.2px);
    pointer-events: none;
}

.home-process-copy {
    max-width: 560px;
}

.home-process-copy h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    margin-bottom: 18px;
}

.home-process-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1fr);
    gap: 70px;
    align-items: center;
}

.home-process-steps {
    display: grid;
    gap: 22px;
}

.home-process-step {
    position: relative;
    min-height: 92px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(18, 22, 35, 0.82);
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
    overflow: hidden;
}

.home-process-step:hover {
    border-color: rgba(47, 116, 255, 0.38);
    transform: translateX(4px);
}

.home-process-step:focus-visible {
    outline: 3px solid rgba(47, 116, 255, 0.42);
    outline-offset: 3px;
}

.home-process-step.active {
    min-height: 116px;
    border-color: rgba(47, 116, 255, 0.62);
    background: linear-gradient(135deg, #2f74ff, #255ee9);
    box-shadow: 0 22px 70px rgba(47, 116, 255, 0.2);
}

.process-step-dot {
    position: absolute;
    right: 24px;
    top: 50%;
    width: 7px;
    height: 7px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none;
}

.home-process-step.active .process-step-dot {
    display: none;
}

.home-process-step.active::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    transform-origin: left;
    animation: processBarFill 5s linear infinite;
}

.home-process-step i {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.2rem;
}

.home-process-step h3 {
    color: #fff;
    font-size: 1.32rem;
    margin: 0;
}

.home-process-step p {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.45;
}

.home-process-step:not(.active) p {
    display: none;
}

.home-process-visual {
    min-height: 460px;
    position: relative;
}

.process-orbit {
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(460px, 80%);
    aspect-ratio: 1;
    border: 1px solid rgba(47, 116, 255, 0.22);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 52px rgba(47, 116, 255, 0.035),
        0 0 80px rgba(47, 116, 255, 0.1);
    animation: orbitPulse 5s ease-in-out infinite;
}

.process-mini-card {
    position: absolute;
    border: 1px solid rgba(76, 117, 185, 0.36);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(23, 30, 48, 0.96), rgba(10, 13, 22, 0.96));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
    color: #fff;
    transition:
        transform 0.28s ease,
        opacity 0.28s ease,
        border-color 0.28s ease;
}

.home-process-visual.is-switching .process-mini-card {
    opacity: 0.35;
    transform: translateY(8px) scale(0.98);
}

.process-service-card {
    top: 62px;
    right: 34px;
    width: 310px;
    padding: 22px;
    animation: uiFloat 4.8s ease-in-out infinite;
}

.process-service-card strong,
.process-checkout-card strong {
    display: block;
    margin-bottom: 5px;
}

.process-service-card span,
.process-checkout-card span {
    color: #9fb0c7;
    font-size: 0.82rem;
}

.process-service-card div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.process-service-card div i {
    min-height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(47, 116, 255, 0.1);
    color: #2f9cff;
}

.process-checkout-card {
    left: 40px;
    bottom: 38px;
    width: 300px;
    padding: 20px;
    transform: rotate(-3deg);
    animation: uiFloat 5.4s ease-in-out infinite reverse;
}

.process-checkout-card p {
    margin: 16px 0;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #e8eef8;
    font-size: 0.84rem;
}

.process-checkout-card em {
    display: block;
    border-radius: 8px;
    background: #2f74ff;
    padding: 11px 12px;
    font-style: normal;
    text-align: center;
    font-weight: 900;
}

@keyframes homeLightSweep {
    from {
        transform: translateX(0) rotate(-18deg);
    }
    to {
        transform: translateX(170vw) rotate(-18deg);
    }
}

@keyframes uiFloat {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -14px;
    }
}

@keyframes orbitPulse {
    0%, 100% {
        opacity: 0.55;
        scale: 1;
    }
    50% {
        opacity: 0.9;
        scale: 1.04;
    }
}

@keyframes processBarFill {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.new-offers-section {
    margin-top: 65px;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.section-heading-row h2 {
    color: white;
    font-size: 1.5rem;
}

.section-heading-row a {
    color: #ff4757;
    text-decoration: none;
    font-weight: 700;
}

.new-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

/* NEW OFFERS */

.new-offers-section {
    max-width: 1450px;
    margin: 72px auto;
    padding: 0 3%;
}

.section-heading-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 28px;
}

.section-heading-row h2 {

    color: white;

    font-size: 2rem;

    font-weight: 800;
}

.section-heading-row a {

    color: #ff4757;

    text-decoration: none;

    font-weight: 700;

    transition: 0.2s ease;
}

.section-heading-row a:hover {

    color: white;
}

.new-offers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.new-offer-card {
    position: relative;
    min-height: 190px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    overflow: hidden;
    border-radius: 12px;
    background:
        radial-gradient(circle at top right, rgba(255,71,87,0.12), transparent 38%),
        linear-gradient(145deg, rgba(18,20,29,0.98), rgba(9,10,15,0.98));
    border: 1px solid #252531;
    text-decoration: none;
    transition: 0.22s ease;
    box-shadow: 0 14px 32px rgba(0,0,0,0.25);
    padding: 18px;
}

.new-offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,71,87,0.35);
    box-shadow: 0 18px 38px rgba(255,71,87,0.12);
}

.new-offer-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 71, 87, 0.13);
    color: #ff6b81;
    font-size: 1.45rem;
}

.popular-categories-section {
    max-width: 1450px;
    margin: 72px auto 0;
    padding: 0 3%;
}

.popular-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.popular-category-card {
    --category-accent: #ff4757;
    min-height: 328px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
    border: 1px solid color-mix(in srgb, var(--category-accent) 34%, #262a34);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.035), transparent 34%),
        linear-gradient(145deg, #151720, #08090d);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 18px 42px rgba(0,0,0,0.28);
}

.popular-category-card::after {
    content: "";
    position: absolute;
    right: -14px;
    bottom: -18px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    filter: blur(2px);
    pointer-events: none;
}

.popular-category-art {
    width: 100%;
    min-height: 124px;
    margin: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.04), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0));
    padding: 24px 18px 16px;
}

.popular-category-art::before {
    content: "";
    position: absolute;
    inset: auto -18px -30px auto;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
}

.popular-category-art i,
.popular-category-art h3 {
    position: relative;
    z-index: 1;
}

.popular-category-watermark {
    position: absolute !important;
    right: -18px;
    bottom: -28px;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.035) !important;
    font-size: 7.5rem !important;
    box-shadow: none !important;
    pointer-events: none;
    transform: rotate(-8deg);
}

.popular-category-art i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--category-accent) 13%, transparent);
    color: var(--category-accent);
    font-size: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.popular-category-art h3 {
    margin: 0;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.popular-category-bubbles {
    flex: 1;
    width: 100%;
    display: flex;
    align-content: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    padding: 14px 22px 12px;
    position: relative;
    z-index: 1;
}

.popular-category-bubbles a {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.07);
    color: #e5edf8;
    padding: 0 11px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 900;
    transition: 0.18s ease;
}

.popular-category-bubbles a:hover {
    border-color: color-mix(in srgb, var(--category-accent) 32%, transparent);
    background: color-mix(in srgb, var(--category-accent) 13%, transparent);
    color: #fff;
    transform: translateY(-1px);
}

.popular-category-view {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 26px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 999px;
    background: #07080c;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 900;
    transition: 0.18s ease;
}

.popular-category-view:hover {
    transform: translateY(-2px);
    background: #11131a;
    color: #fff;
    box-shadow: 0 14px 28px rgba(0,0,0,0.28);
}

@media screen and (max-width: 1200px) {
    .popular-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 760px) {
    .popular-category-grid {
        grid-template-columns: 1fr;
    }
}

/* CONTENT */

.new-offer-info {
    padding: 0;
}

.new-offer-info span {
    display: inline-block;
    margin-bottom: 8px;
    color: #ff4757;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.new-offer-info h3 {
    color: white;
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 7px;
    font-weight: 900;
}

.new-offer-info p {
    color: #94a3b8;
    margin: 0 0 10px;
    font-size: 0.82rem;
}

.new-offer-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.new-offer-stats small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #aab9cf;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 850;
}

.new-offer-stats i {
    color: #ffb020;
    font-size: 0.68rem;
}

.new-offer-info strong {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    margin-top: 2px;
    color: #22c55e;
    font-size: 1.22rem;
    font-weight: 950;
    letter-spacing: 0;
    position: relative;
}

.new-offer-info strong::before {
    content: "From";
    margin-right: 8px;
    color: #718098;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.new-offer-info strong::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, transparent);
    opacity: 0.55;
}

.new-offer-card.coming-soon {
    opacity: 0.86;
}

.new-offer-card.coming-soon .new-offer-icon {
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
}

.new-offer-card.coming-soon .new-offer-info strong {
    color: #ffb020;
    font-size: 0.96rem;
}

.new-offer-card.coming-soon .new-offer-info strong::before,
.new-offer-card.coming-soon .new-offer-info strong::after {
    display: none;
}

/* MOBILE */

@media screen and (max-width: 768px) {

    .new-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .new-offer-info h3 {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 1100px) {
    .new-offers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .new-offers-grid {
        grid-template-columns: 1fr;
    }
}
.hero-home {

    background: transparent;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    min-height: 470px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    overflow: hidden;
}

.hero-home {
    align-items: flex-start;
    padding-top: 58px;
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: -18px;
    background:
        linear-gradient(
            rgba(5,5,10,0.58),
            rgba(5,5,10,0.78) 58%,
            rgba(5,5,10,0.98)
        ),
        url("../Images/home-hero-marketplace.png") center / cover no-repeat;
    filter: blur(5px) saturate(0.95);
    transform: scale(1.03);
    z-index: 0;
}

.hero-home::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 28%, rgba(255,255,255,0.08), transparent 26%),
        linear-gradient(90deg, rgba(5,5,10,0.36), rgba(5,5,10,0.12), rgba(5,5,10,0.38)),
        linear-gradient(180deg, transparent 56%, rgba(7, 9, 16, 0.86) 84%, rgba(7, 9, 16, 0.98));
    z-index: 1;
    pointer-events: none;
}

.hero-home .hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
}

.hero-home .badge {
    color: #ffffff !important;
    padding: 0 !important;
    border-radius: 0 !important;
    letter-spacing: 2.5px;
}

.hero-home .hero-content p {
    max-width: none;
    white-space: nowrap;
}

.hero-find-text {
    margin-top: 28px !important;
    color: #ffffff !important;
    font-size: 1.18rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.8px;
}

/* CATEGORY PAGE FINAL FIX */

.category-hero,
.hero.category-hero {
    min-height: 400px !important;
    height: 400px !important;
    padding: 60px 5% !important;
    background-size: cover !important;
    background-position: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.category-layout {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 55px 5% !important;
}

.category-products {
    width: 100% !important;
}

.deals-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
}

.deal-card {
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #111118 !important;
    border: 1px solid #24242c !important;
}

.deal-image {
    width: 100% !important;
    height: 180px !important;
    aspect-ratio: unset !important;
    background-size: cover !important;
    background-position: center !important;
}

.deal-info {
    padding: 18px 14px 20px !important;
    background: #111118 !important;
}

.item-title {
    font-size: 0.95rem !important;
    margin-bottom: 14px !important;
}

.store-tags {
    gap: 8px !important;
}

.store-tags span {
    font-size: 0.68rem !important;
    padding: 5px 9px !important;
}

.category-store-hero {
    background:
        linear-gradient(90deg, rgba(9, 10, 14, 0.96), rgba(9, 10, 14, 0.70)),
        radial-gradient(circle at 82% 35%, rgba(255, 71, 87, 0.22), transparent 34%),
        #101118 !important;
}

.category-icon-layout {
    max-width: 1210px !important;
}

.category-store-head {
    text-align: center;
    margin-bottom: 26px;
}

.category-store-head span {
    color: #22c55e;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.category-store-head h2 {
    color: white;
    font-size: 2rem;
    margin: 8px 0;
}

.category-store-head p {
    max-width: 720px;
    margin: 0 auto;
    color: #94a3b8;
}

.game-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.game-category-card {
    min-height: 320px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 13px;
    padding: 28px;
    border: 1px solid #262633;
    border-top: 4px solid var(--card-accent);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--card-accent) 18%, transparent), transparent 34%),
        #151923;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 20px 48px rgba(0,0,0,0.24);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-category-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-accent);
}

.game-category-card.currency { --card-accent: #ffb020; }
.game-category-card.accounts { --card-accent: #38bdf8; }
.game-category-card.boosting { --card-accent: #7ddc18; }

.game-category-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: var(--card-accent);
    color: #101118;
    font-size: 2.35rem;
    transform: rotate(-8deg);
}

.game-category-card strong {
    color: white;
    font-size: 1.32rem;
}

.game-category-card span {
    color: #94a3b8;
    line-height: 1.45;
}

.game-category-card em {
    margin-top: 8px;
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 8px;
    color: #ffb020;
    padding: 9px 14px;
    font-style: normal;
    font-weight: 900;
}

.category-note {
    max-width: 720px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px auto 0;
    border: 1px solid #262633;
    border-radius: 8px;
    background: #111116;
    color: #94a3b8;
    padding: 16px 18px;
}

.category-note i {
    color: #ff6b81;
}

@media screen and (max-width: 1024px) {
    .deals-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media screen and (max-width: 768px) {
    .category-hero,
    .hero.category-hero {
        height: 300px !important;
        min-height: 300px !important;
        padding: 35px 15px !important;
    }

    .category-layout {
        padding: 35px 12px !important;
    }

    .deals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .deal-image {
        height: 115px !important;
    }

    .deal-info {
        padding: 12px 10px 14px !important;
    }

    .item-title {
        font-size: 0.78rem !important;
    }

    .store-tags span {
        font-size: 0.6rem !important;
        padding: 4px 7px !important;
    }
}

/* FINAL CATEGORY PROFESSIONAL FIX */

.category-hero,
.hero.category-hero {
    height: 320px !important;
    min-height: 320px !important;
    padding: 45px 5% !important;
    background-size: cover !important;
    background-position: center !important;
}

.category-hero .hero-content,
.hero.category-hero .hero-content {
    max-width: 900px !important;
}

.category-hero h1,
.hero.category-hero h1 {
    font-size: 2.5rem !important;
    margin-bottom: 10px !important;
}

.category-hero p,
.hero.category-hero p {
    font-size: 0.95rem !important;
}

.category-layout {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 45px 24px 80px !important;
    display: block !important;
}

.category-products {
    width: 100% !important;
}

.deals-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    justify-content: center !important;
}

.deal-card {
    max-width: 300px !important;
    width: 100% !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
    background: #111118 !important;
    border: 1px solid #252531 !important;
    overflow: hidden !important;
}

.deal-image {
    height: 155px !important;
    aspect-ratio: unset !important;
    background-size: cover !important;
    background-position: center !important;
}

.deal-info {
    padding: 16px 12px 18px !important;
    background: #111118 !important;
}

.item-title {
    font-size: 0.9rem !important;
    margin-bottom: 13px !important;
}

.store-tags {
    gap: 7px !important;
}

.store-tags span {
    font-size: 0.65rem !important;
    padding: 5px 8px !important;
}

@media screen and (max-width: 1024px) {
    .deals-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media screen and (max-width: 768px) {
    .category-hero,
    .hero.category-hero {
        height: 260px !important;
        min-height: 260px !important;
        padding: 30px 15px !important;
    }

    .category-hero h1,
    .hero.category-hero h1 {
        font-size: 1.55rem !important;
    }

    .category-layout {
        padding: 28px 12px 60px !important;
    }

    .deals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .deal-card {
        max-width: 100% !important;
    }

    .deal-image {
        height: 105px !important;
    }

    .deal-info {
        padding: 11px 8px 13px !important;
    }

    .item-title {
        font-size: 0.72rem !important;
    }

    .store-tags span {
        font-size: 0.55rem !important;
        padding: 4px 6px !important;
    }
}

/* CATEGORY PAGE PREMIUM FINAL */

.category-hero,
.hero.category-hero {
    height: 300px !important;
    min-height: 300px !important;
    padding: 45px 5% !important;
    background-position: center 38% !important;
}

.category-hero .hero-content {
    max-width: 900px !important;
}

.category-hero .badge,
.hero .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 22px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(255,71,87,0.22),
            rgba(255,71,87,0.08)
        );

    border: 1px solid rgba(255,71,87,0.28);

    color: #ff6b81;

    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;

    box-shadow:
        0 10px 30px rgba(255,71,87,0.18),
        inset 0 1px 0 rgba(255,255,255,0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    margin-bottom: 18px;

    position: relative;

    overflow: hidden;
}

.category-hero .badge,
.hero .badge,
.help-hero .badge,
.tos-hero .badge,
.faq-hero .badge {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #ffffff !important;
    padding: 0 !important;
    border-radius: 0 !important;
    letter-spacing: 2.5px;
}

.category-hero .badge::before,
.hero .badge::before {
    display: none !important;
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.18),
            transparent
        );

    transform: skewX(-25deg);

    animation: badgeShine 4s linear infinite;
}

@keyframes badgeShine {
    0% {
        left: -120%;
    }

    100% {
        left: 160%;
    }
}

.category-hero h1 {
    font-size: 3rem !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    color: #fff !important;
    text-shadow: 0 8px 28px rgba(0,0,0,0.55);
}

.category-hero p {
    max-width: 720px;
    margin: 12px auto 0;
    color: #dbeafe !important;
    font-size: 1rem !important;
}

.category-layout {
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 42px 24px 90px !important;
    display: block !important;
}

.category-products {
    width: 100% !important;
}

.deals-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    justify-content: center !important;
    align-items: stretch !important;
}

.store-card-link {
    width: 100% !important;
}

.deal-card {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, #12131a, #0c0d12) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    overflow: hidden !important;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.deal-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(255,71,87,0.35) !important;
    box-shadow: 0 22px 55px rgba(255,71,87,0.13) !important;
}

.deal-image {
    height: 185px !important;
    aspect-ratio: unset !important;
    background-size: cover !important;
    background-position: center !important;
}

.deal-info {
    padding: 18px 14px 20px !important;
    background: linear-gradient(180deg, #12131a, #0b0c11) !important;
}

.item-title {
    color: white !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
}

.store-tags {
    gap: 8px !important;
}

.store-tags span {
    font-size: 0.68rem !important;
    padding: 5px 9px !important;
}

@media screen and (max-width: 768px) {
    .category-hero,
    .hero.category-hero {
        height: 240px !important;
        min-height: 240px !important;
        padding: 28px 15px !important;
    }

    .category-hero h1 {
        font-size: 1.65rem !important;
    }

    .category-hero p {
        font-size: 0.82rem !important;
    }

    .category-layout {
        padding: 28px 12px 60px !important;
    }

    .deals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .deal-card {
        max-width: 100% !important;
        border-radius: 14px !important;
    }

    .deal-image {
        height: 105px !important;
    }

    .deal-info {
        padding: 11px 8px 13px !important;
    }

    .item-title {
        font-size: 0.72rem !important;
    }

    .store-tags span {
        font-size: 0.55rem !important;
        padding: 4px 6px !important;
    }
}

/* CATEGORY CARD RATING */

.card-rating {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-bottom: 16px;
}

.stars {
    color: #ffb020;

    font-size: 0.9rem;

    letter-spacing: 1px;

    text-shadow:
        0 0 10px rgba(255,176,32,0.25);
}

.rating-text {
    color: #cbd5e1;

    font-size: 0.82rem;

    font-weight: 700;
}

/* PREMIUM FOOTER */

.live-reviews-section {
    margin: 80px 0 0;
    padding: 46px 0;
    border-top: 1px solid #222227;
    border-bottom: 1px solid #222227;
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 71, 87, 0.13), transparent 32%),
        linear-gradient(180deg, #101015, #0d0d0f);
    overflow: hidden;
}

.live-reviews-top {
    width: min(1180px, 92vw);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.live-reviews-head {
    min-width: 0;
}

.live-reviews-head span {
    color: #22c55e;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.live-reviews-head h2 {
    color: white;
    font-size: 1.8rem;
    margin: 8px 0 6px;
}

.live-rating-summary {
    width: 210px;
    min-height: 154px;
    display: grid;
    place-items: center;
    gap: 8px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 176, 32, 0.1), transparent 52%),
        rgba(20, 22, 31, 0.74);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 18px 42px rgba(0,0,0,0.24);
    text-align: center;
}

.live-rating-summary strong {
    color: #fff;
    font-size: 4rem;
    line-height: 0.95;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.live-rating-summary div {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffb020;
    font-size: 1.15rem;
}

.live-rating-summary i.faded-star {
    opacity: 0.35;
}

.live-rating-summary span {
    color: #94a3b8;
    font-size: 0.88rem;
}

.live-reviews-carousel {
    --live-review-gap: 16px;
    --live-review-card-width: 286px;
    width: min(calc((var(--live-review-card-width) * 4) + (var(--live-review-gap) * 3) + 112px), 94vw);
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.live-reviews-track {
    width: calc((var(--live-review-card-width) * 4) + (var(--live-review-gap) * 3));
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.live-reviews-track::before,
.live-reviews-track::after {
    display: none;
    content: none;
}

.live-reviews-track::-webkit-scrollbar {
    display: none;
}

.live-reviews-marquee {
    display: flex;
    gap: var(--live-review-gap);
    width: max-content;
}

.live-reviews-track:hover .live-reviews-marquee {
    animation-play-state: running;
}

.live-review-nav {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #2b3140;
    border-radius: 999px;
    background: #121622;
    color: #fff;
    cursor: pointer;
    transition: 0.18s ease;
    z-index: 3;
}

.live-review-nav:hover {
    transform: translateY(-2px);
    border-color: #ff4757;
    color: #ff5b6b;
    box-shadow: 0 14px 28px rgba(0,0,0,0.28);
}

.live-review-card {
    width: var(--live-review-card-width);
    min-height: 174px;
    flex: 0 0 var(--live-review-card-width);
    display: grid;
    align-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 71, 87, 0.1), transparent 38%),
        linear-gradient(145deg, rgba(20, 22, 31, 0.98), rgba(12, 13, 18, 0.98));
    padding: 18px 18px 16px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 18px 42px rgba(0,0,0,0.26);
}

.live-review-card > div {
    display: flex;
    gap: 11px;
    align-items: center;
}

.live-review-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #7f1d2d);
    color: #fff !important;
    font-size: 0.92rem !important;
    font-weight: 950;
    text-align: center !important;
    box-shadow: 0 10px 24px rgba(255, 71, 87, 0.2);
}

.live-review-card > div > div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.live-review-card strong {
    color: white;
    font-size: 0.95rem;
}

.live-review-card span {
    color: #94a3b8;
    font-size: 0.78rem;
    text-align: left;
}

.live-review-card p {
    color: #d6e0ee;
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 15px 0;
}

.live-review-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.live-review-card em {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 0;
    background: transparent;
    color: #f8fafc;
    padding: 0;
    font-style: normal;
    font-weight: 900;
}

.live-review-stars span {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.live-review-stars i {
    color: #ffb020;
    font-size: 0.84rem;
}

.live-review-stars i.faded-star {
    opacity: 0.35;
    filter: saturate(0.6);
}

.live-review-card footer > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #22c55e;
    font-size: 0.78rem;
    font-weight: 800;
}

@media screen and (max-width: 1320px) {
    .live-reviews-carousel {
        --live-review-card-width: 260px;
        gap: 20px;
    }
}

@media screen and (max-width: 1120px) {
    .live-reviews-carousel {
        --live-review-card-width: 286px;
        width: min(calc((var(--live-review-card-width) * 2) + var(--live-review-gap) + 96px), 94vw);
    }

    .live-reviews-track {
        width: calc((var(--live-review-card-width) * 2) + var(--live-review-gap));
    }
}

@media screen and (max-width: 720px) {
    .live-reviews-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .live-rating-summary {
        width: 100%;
    }

    .live-reviews-carousel {
        --live-review-card-width: min(286px, calc(94vw - 96px));
        width: 94vw;
        gap: 12px;
    }

    .live-reviews-track {
        width: var(--live-review-card-width);
    }
}

@keyframes reviewFloat {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.live-reviews-section {
    position: relative;
    margin: -32px 0 0;
    padding: 136px 0 150px;
    border: 0;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(34, 197, 94, 0.1), transparent 42%),
        linear-gradient(180deg, transparent 0%, rgba(8, 10, 20, 0.48) 16%, rgba(8, 10, 20, 0.58) 70%, transparent 100%);
    overflow: hidden;
}

.live-reviews-section::before,
.live-reviews-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 180px;
    pointer-events: none;
    z-index: 0;
}

.live-reviews-section::before {
    top: 0;
    background: linear-gradient(180deg, rgba(7, 9, 16, 0), rgba(7, 9, 16, 0.55), rgba(7, 9, 16, 0));
}

.live-reviews-section::after {
    bottom: 0;
    background: linear-gradient(180deg, rgba(7, 9, 16, 0), rgba(6, 7, 11, 0.84));
}

.live-review-glow {
    position: absolute;
    inset: 12% 18% 10%;
    background:
        radial-gradient(ellipse at center, rgba(34, 197, 94, 0.13), transparent 55%);
    filter: blur(24px);
    pointer-events: none;
}

.live-reviews-top {
    width: min(1220px, 92vw);
    margin-bottom: 34px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.live-reviews-head h2 {
    max-width: 560px;
    font-size: clamp(2rem, 4vw, 3.05rem);
    line-height: 1.08;
    text-transform: capitalize;
}

.live-reviews-head span {
    color: #57f287;
}

.live-rating-summary {
    width: auto;
    min-height: 104px;
    grid-template-columns: 54px minmax(0, 1fr);
    place-items: center start;
    gap: 18px;
    padding: 18px 26px;
    text-align: left;
    border-radius: 12px;
    background: rgba(19, 24, 37, 0.9);
}

.live-rating-summary > i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #222936, #3a4355);
    color: #dce7f7;
}

.live-rating-summary strong {
    font-size: 1.02rem;
    letter-spacing: 0;
    line-height: 1.2;
}

.live-rating-summary strong span {
    color: #57f287;
}

.live-rating-summary div {
    display: grid;
    gap: 7px;
    color: #fff;
}

.live-rating-summary div > span {
    color: #cbd5e1;
    font-size: 0.88rem;
}

.live-rating-summary b {
    color: #fff;
}

.live-reviews-carousel {
    --live-review-gap: 24px;
    --live-review-card-width: 420px;
    width: min(1320px, 96vw);
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    z-index: 1;
}

.live-review-nav {
    display: none;
}

.live-reviews-track {
    width: 100%;
    overflow: hidden;
    padding: 4px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.live-reviews-marquee {
    animation: reviewsSlide 34s linear infinite;
}

.live-reviews-track:hover .live-reviews-marquee {
    animation-play-state: paused;
}

.live-review-card {
    min-height: 210px;
    border-radius: 12px;
    background:
        linear-gradient(100deg, rgba(18, 22, 34, 0.78), rgba(24, 31, 45, 0.96), rgba(13, 16, 25, 0.78));
    border-color: rgba(255, 255, 255, 0.08);
    padding: 24px;
}

.live-review-person {
    position: relative;
}

.live-review-avatar {
    background: #05070d;
    color: #aebbd0 !important;
    box-shadow: none;
}

.live-review-avatar i {
    font-size: 1rem;
}

.live-review-corner {
    margin-left: auto;
    color: #57f287 !important;
}

.live-review-card strong {
    font-size: 1rem;
}

.live-review-card p {
    color: #c5cedd;
    font-size: 1rem;
    margin: 22px 0;
}

.live-review-card footer {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.live-review-card footer > span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #dbe4f2;
    padding: 6px 10px;
    font-size: 0.75rem;
}

@keyframes reviewsSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-1 * (var(--live-review-card-width) + var(--live-review-gap)) * 3));
    }
}

@media screen and (max-width: 1100px) {
    .home-process-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .home-process-visual {
        min-height: 420px;
    }

    .process-service-card {
        right: 10%;
    }

    .process-checkout-card {
        left: 8%;
    }

    .live-reviews-top {
        flex-direction: column;
    }
}

@media screen and (max-width: 760px) {
    .home-live-background span {
        width: 90vw;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        margin: -30px auto 0;
    }

    .home-process-section {
        margin-top: 70px;
        min-height: 0;
    }

    .home-process-step,
    .home-process-step.active {
        min-height: 88px;
        padding: 18px;
    }

    .home-process-step h3 {
        font-size: 1.05rem;
    }

    .home-process-visual {
        min-height: 360px;
    }

    .process-service-card,
    .process-checkout-card {
        width: min(285px, 86vw);
    }

    .process-service-card {
        top: 30px;
        right: 0;
    }

    .process-checkout-card {
        left: 0;
        bottom: 20px;
    }

    .live-reviews-section {
        padding: 70px 0 82px;
    }

    .live-rating-summary {
        width: 100%;
    }

    .live-reviews-carousel {
        --live-review-card-width: min(360px, 84vw);
    }
}

.footer {
    margin-top: -72px;
    padding: 128px 6% 30px;

    background:
        linear-gradient(180deg, transparent 0%, rgba(6, 7, 11, 0.82) 18%, #06070b 52%, #060607 100%);

    border-top: 0;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 180px;
    background: linear-gradient(180deg, rgba(7, 9, 16, 0), rgba(6, 7, 11, 0.8));
    pointer-events: none;
    z-index: -1;
}

.footer-top {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 40px;

    margin-bottom: 50px;
}

.footer-brand h2 {
    color: #ff4757;
    font-size: 2rem;
    margin-bottom: 14px;
}

.footer-text {
    color: #94a3b8;
    line-height: 1.8;
    max-width: 340px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 18px;
    font-size: 1rem;
}

.footer-column a {
    display: block;

    color: #94a3b8;

    text-decoration: none;

    margin-bottom: 12px;

    transition: 0.2s;
}

.footer-column a:hover {
    color: #ff4757;
    transform: translateX(4px);
}

.footer-socials {
    display: flex;
    gap: 14px;
    margin-top: 24px;
}

.footer-socials a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #18181d;

    color: white;

    text-decoration: none;

    transition: 0.25s ease;
}

.footer-socials a:hover {
    background: #ff4757;

    transform:
        translateY(-4px);

    box-shadow:
        0 10px 25px rgba(255,71,87,0.25);
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-payments span {
    background: #18181d;

    border: 1px solid #2b2b34;

    color: white;

    padding: 10px 14px;

    border-radius: 10px;

    font-size: 0.8rem;
    font-weight: 700;
}

.secure-badge {
    margin-top: 18px;

    color: #22c55e;

    font-weight: 700;

    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);

    padding-top: 25px;

    text-align: center;
}

body:has(.hero-home) .navbar {
    border-bottom-color: rgba(255, 255, 255, 0.05);
    background: rgba(13, 15, 22, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body:has(.hero-home) .hero-home,
body:has(.hero-home) .marketplace-container,
body:has(.hero-home) .home-process-section,
body:has(.hero-home) .feature-section,
body:has(.hero-home) .live-reviews-section,
body:has(.hero-home) .footer {
    isolation: isolate;
}

body:has(.hero-home) .live-reviews-section {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

body:has(.hero-home) .footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

body:has(.hero-home) .home-category-strip {
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    width: min(900px, 92vw);
    margin: -34px auto 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.home-category-pill {
    --pill-accent: #38bdf8;
    min-width: 82px;
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
    transition: transform 0.18s ease;
}

.home-category-pill i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(31, 37, 56, 0.96), rgba(17, 21, 33, 0.98));
    color: var(--pill-accent);
    font-size: 1.15rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 34px rgba(0, 0, 0, 0.28);
}

.home-category-pill strong {
    color: #ffffff;
    font-size: 1.04rem;
    font-weight: 950;
    line-height: 1;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.32),
        0 10px 26px rgba(0, 0, 0, 0.5);
}

.home-category-pill:hover {
    transform: translateY(-3px);
}

.home-category-pill:hover i {
    border-color: color-mix(in srgb, var(--pill-accent) 42%, rgba(255, 255, 255, 0.08));
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--pill-accent) 22%, transparent), transparent 58%),
        linear-gradient(180deg, rgba(36, 43, 65, 0.98), rgba(18, 22, 34, 0.98));
}

/*
Legacy pill shape disabled for homepage category launcher.
*/
.home-category-pill:is(.accounts, .currency, .boosting, .items, .topups) {
    min-height: auto;
}

body:has(.hero-home) .home-category-pill {
    opacity: 1;
}

body:has(.hero-home) .home-category-pill * {
    opacity: 1;
}

body:has(.hero-home) .home-category-pill strong {
    color: #fff !important;
    opacity: 1 !important;
    filter: none;
}

body:has(.hero-home) .home-category-strip .home-category-pill strong {
    display: block !important;
    color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    font-size: 1.08rem !important;
    font-weight: 950 !important;
    line-height: 1.05 !important;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.45),
        0 0 16px rgba(255, 255, 255, 0.12) !important;
}

body:has(.hero-home) .home-category-strip .home-category-pill i {
    opacity: 1 !important;
    filter: none !important;
}

body:not(:has(.hero-home)) .home-category-pill {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid color-mix(in srgb, var(--pill-accent) 28%, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    background:
        radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--pill-accent) 22%, transparent), transparent 55%),
        rgba(12, 16, 27, 0.78);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-category-pill.accounts { --pill-accent: #38bdf8; }
.home-category-pill.currency { --pill-accent: #ffb020; }
.home-category-pill.boosting { --pill-accent: #22c55e; }
.home-category-pill.items { --pill-accent: #a855f7; }
.home-category-pill.topups { --pill-accent: #ff4757; }

body:has(.hero-home) .home-process-step {
    border-color: rgba(255, 255, 255, 0.09);
    background:
        radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--process-accent, #2f74ff) 18%, transparent), transparent 38%),
        linear-gradient(145deg, rgba(19, 24, 37, 0.9), rgba(9, 12, 21, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 46px rgba(0, 0, 0, 0.28);
}

body:has(.hero-home) .home-process-step:nth-child(1) { --process-accent: #38bdf8; }
body:has(.hero-home) .home-process-step:nth-child(2) { --process-accent: #ffb020; }
body:has(.hero-home) .home-process-step:nth-child(3) { --process-accent: #22c55e; }
body:has(.hero-home) .home-process-step:nth-child(4) { --process-accent: #ff4757; }

body:has(.hero-home) .home-process-step.active {
    border-color: color-mix(in srgb, var(--process-accent) 58%, rgba(255, 255, 255, 0.18));
    background:
        radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--process-accent) 28%, transparent), transparent 42%),
        linear-gradient(145deg, rgba(25, 30, 45, 0.98), rgba(10, 13, 22, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 24px 70px color-mix(in srgb, var(--process-accent) 18%, transparent);
}

body:has(.hero-home) .home-process-step.active::after {
    background: linear-gradient(90deg, var(--process-accent), rgba(255, 255, 255, 0.88));
}

body:has(.hero-home) .home-process-step i {
    color: var(--process-accent, #cbd5e1);
}

body:has(.hero-home) .home-process-step.active i {
    color: #fff;
}

body:has(.hero-home) .feature-section {
    max-width: none;
    width: min(1340px, 92vw);
    padding: 96px 0 128px;
}

body:has(.hero-home) .marketplace-container {
    margin-top: 0;
}

body:has(.hero-home) .feature-section::before {
    display: none;
}

body:has(.hero-home) .feature-section::after {
    display: none;
}

body:has(.hero-home) .feature-top {
    margin-bottom: 48px;
}

body:has(.hero-home) .feature-top h2 {
    font-size: clamp(2rem, 3.6vw, 3.15rem);
    letter-spacing: 0;
}

body:has(.hero-home) .feature-grid {
    width: min(1210px, 100%);
    margin: 0 auto;
    gap: 18px;
}

body:has(.hero-home) .feature-card {
    min-height: 230px;
    border-radius: 14px;
    border-color: rgba(255, 255, 255, 0.09);
    background:
        radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--feature-accent, #ff4757) 20%, transparent), transparent 36%),
        linear-gradient(155deg, rgba(20, 24, 36, 0.88), rgba(7, 10, 18, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 24px 60px rgba(0, 0, 0, 0.28);
}

body:has(.hero-home) .feature-card:nth-child(1) { --feature-accent: #38bdf8; }
body:has(.hero-home) .feature-card:nth-child(2) { --feature-accent: #22c55e; }
body:has(.hero-home) .feature-card:nth-child(3) { --feature-accent: #ffb020; }
body:has(.hero-home) .feature-card:nth-child(4) { --feature-accent: #ff4757; }

body:has(.hero-home) .feature-icon {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--feature-accent) 88%, #ffffff 0%), color-mix(in srgb, var(--feature-accent) 54%, #05070d));
    box-shadow:
        0 18px 42px color-mix(in srgb, var(--feature-accent) 25%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body:has(.hero-home) .live-reviews-section {
    margin-top: -60px;
    padding-top: 122px;
    background:
        radial-gradient(ellipse at 48% 20%, rgba(34, 197, 94, 0.11), transparent 42%),
        linear-gradient(180deg, transparent, rgba(8, 10, 18, 0.44) 30%, transparent 100%) !important;
    overflow-x: clip;
}

body:has(.hero-home) .live-reviews-section::before,
body:has(.hero-home) .live-reviews-section::after {
    display: none !important;
}

body:has(.hero-home) .live-review-glow {
    inset: 0 8% auto;
    height: 360px;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.12), transparent 62%);
}

body:has(.hero-home) .live-reviews-track {
    width: 100% !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body:has(.hero-home) .live-reviews-carousel {
    width: min(1320px, 96vw);
    overflow: visible;
}

.category-hub-page {
    width: min(1220px, 92vw);
    margin: 0 auto;
    padding: 34px 0 88px;
}

.category-browser-bar {
    position: sticky;
    top: 0;
    z-index: 120;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: transparent;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.category-browser-current {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.category-browser-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--category-hub-accent, #38bdf8) 18%, rgba(255, 255, 255, 0.06));
    color: var(--category-hub-accent, #38bdf8);
    font-size: 1.35rem;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--category-hub-accent, #38bdf8) 16%, transparent);
}

.category-browser-current small {
    display: block;
    margin-bottom: 3px;
    color: var(--category-hub-accent, #38bdf8);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.category-browser-current strong {
    display: block;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 950;
    line-height: 1;
}

.category-browser-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.category-dropleft {
    position: relative;
}

.category-dropleft button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    color: #dbe5f4;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
}

.category-dropleft button i:first-child {
    color: var(--category-hub-accent, #38bdf8);
}

.category-dropleft.open button,
.category-dropleft button:hover {
    border-color: color-mix(in srgb, var(--category-hub-accent, #38bdf8) 38%, rgba(255, 255, 255, 0.08));
    background: color-mix(in srgb, var(--category-hub-accent, #38bdf8) 12%, rgba(255, 255, 255, 0.045));
}

.category-dropleft-menu {
    position: absolute;
    top: 0;
    right: calc(100% + 10px);
    width: 190px;
    display: grid;
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(13, 16, 27, 0.96);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.category-dropleft-menu[hidden] {
    display: none;
}

.category-dropleft-menu a {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    padding: 0 10px;
    color: #dbe5f4;
    font-weight: 900;
    text-decoration: none;
}

.category-dropleft-menu a i {
    color: var(--hub-accent);
}

.category-dropleft-menu a:hover,
.category-dropleft-menu a.active {
    background: color-mix(in srgb, var(--hub-accent) 14%, rgba(255, 255, 255, 0.045));
    color: #fff;
}

.category-game-search {
    width: min(360px, 42vw);
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    color: #8ea0b8;
}

.category-game-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f8fafc;
    font: inherit;
    font-size: 0.9rem;
}

.category-game-search input::placeholder {
    color: #8190a6;
}

.category-hub-hero {
    min-height: 250px;
    display: grid;
    align-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 46px;
    background:
        radial-gradient(circle at 14% 22%, color-mix(in srgb, var(--category-hub-accent, #38bdf8) 24%, transparent), transparent 34%),
        radial-gradient(circle at 82% 15%, rgba(255, 71, 87, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(17, 22, 36, 0.92), rgba(8, 10, 17, 0.96));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.category-hub-hero span,
.category-hub-head span {
    color: var(--category-hub-accent, #38bdf8);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.category-hub-hero h1 {
    max-width: 720px;
    margin: 10px 0;
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.05;
}

.category-hub-hero p {
    max-width: 650px;
    color: #b8c4d8;
    font-size: 1rem;
}

.category-switch-tabs {
    position: sticky;
    top: 0;
    z-index: 120;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: -28px auto 40px;
    width: min(940px, 96%);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(13, 16, 27, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.category-switch-tabs a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 15px;
    border-radius: 12px;
    color: #dbe5f4;
    font-weight: 900;
    text-decoration: none;
}

.category-switch-tabs a:hover,
.category-switch-tabs a.active {
    background: color-mix(in srgb, var(--hub-accent) 16%, rgba(255, 255, 255, 0.04));
    color: #fff;
}

.category-switch-tabs i {
    color: var(--hub-accent);
}

.category-hub-section {
    margin-top: 38px;
}

.category-browser-bar + .category-hub-section {
    margin-top: 0;
}

.category-hub-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 18px;
}

.category-hub-head h2 {
    color: #fff;
    font-size: 1.65rem;
}

.category-hub-head a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid color-mix(in srgb, var(--category-hub-accent, #38bdf8) 34%, rgba(255, 255, 255, 0.08));
    border-radius: 999px;
    padding: 0 16px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.category-trending-grid,
.category-all-games-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

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

.category-hub-game-card {
    min-height: 220px;
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: end;
    gap: 10px;
    border: 1px solid color-mix(in srgb, var(--hub-accent) 30%, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    padding: 20px;
    background:
        radial-gradient(circle at 80% 12%, color-mix(in srgb, var(--hub-accent) 24%, transparent), transparent 34%),
        linear-gradient(155deg, rgba(19, 24, 36, 0.92), rgba(7, 10, 18, 0.95));
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-hub-game-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--hub-accent) 58%, rgba(255, 255, 255, 0.12));
}

.category-hub-game-rank {
    position: absolute;
    top: 14px;
    right: 16px;
    color: rgba(255, 255, 255, 0.16);
    font-size: 2.4rem;
    font-weight: 950;
}

.category-hub-game-card > i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: color-mix(in srgb, var(--hub-accent) 18%, rgba(255, 255, 255, 0.06));
    color: var(--hub-accent);
}

.category-hub-game-card strong {
    font-size: 1.08rem;
}

.category-hub-game-card small {
    color: #aebbd0;
    font-weight: 700;
}

.category-hub-game-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-hub-game-card em {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #dbe5f4;
    padding: 4px 8px;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
}

.category-demand-card .category-review-count {
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 800;
}

.category-carousel-dots {
    display: none;
}

.category-hub-empty {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #aebbd0;
    text-align: center;
}

@media (max-width: 1100px) {
    .category-trending-grid,
    .category-all-games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    body:has(.hero-home) .hero-home {
        min-height: 430px;
        padding: 48px 16px 86px;
    }

    body:has(.hero-home) .hero-home .hero-content {
        width: 100%;
    }

    body:has(.hero-home) .hero-home h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
        line-height: 1.08;
    }

    body:has(.hero-home) .hero-home .hero-content p {
        max-width: 94vw;
        white-space: normal;
        overflow-wrap: normal;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    body:has(.hero-home) .hero-actions {
        gap: 10px;
    }

    body:has(.hero-home) .primary-btn,
    body:has(.hero-home) .secondary-btn {
        min-width: 128px;
        text-align: center;
        padding: 11px 14px;
    }

    body:has(.hero-home) .home-category-strip {
        width: 100%;
        gap: 18px;
        margin-top: -48px;
        padding: 0 10px;
    }

    body:has(.hero-home) .home-category-pill {
        min-width: 54px;
        gap: 6px;
    }

    body:has(.hero-home) .home-category-pill i {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    body:has(.hero-home) .home-category-strip .home-category-pill strong {
        font-size: 0.72rem !important;
        max-width: 62px;
        text-align: center;
        white-space: normal;
    }

    body:has(.hero-home) .marketplace-container {
        width: 100%;
        padding: 52px 12px 34px;
    }

    body:has(.hero-home) .section-heading-row {
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
    }

    body:has(.hero-home) .section-heading-row h2 {
        font-size: 1.25rem;
    }

    body:has(.hero-home) .shop-games-actions {
        gap: 6px;
    }

    body:has(.hero-home) .explore-games-badge {
        min-height: 30px;
        padding: 0 10px;
        font-size: 0.72rem;
    }

    body:has(.hero-home) .game-scroll-btn {
        width: 30px;
        height: 30px;
    }

    body:has(.hero-home) .game-grid {
        gap: 8px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    body:has(.hero-home) .game-card,
    body:has(.hero-home) .demand-game-card {
        flex: 0 0 calc((100vw - 40px) / 3);
        min-height: 138px;
        padding: 10px;
        border-radius: 10px;
    }

    body:has(.hero-home) .game-thumb {
        height: 64px;
        margin-bottom: 8px;
        border-radius: 7px;
    }

    body:has(.hero-home) .game-card h3,
    body:has(.hero-home) .demand-game-card h3 {
        font-size: 0.78rem;
        line-height: 1.15;
        margin-bottom: 5px;
    }

    body:has(.hero-home) .game-tag-links,
    body:has(.hero-home) .demand-game-card p,
    body:has(.hero-home) .demand-game-card .game-tag-links {
        font-size: 0.62rem;
        line-height: 1.25;
    }

    body:has(.hero-home) .demand-game-card::after {
        font-size: 2.8rem;
        bottom: -16px;
        right: -10px;
    }

    body:has(.hero-home) .new-offers-section {
        margin: 42px auto;
        padding: 0 12px;
    }

    body:has(.hero-home) .new-offers-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        padding: 0 2px 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card {
        flex: 0 0 calc(100vw - 28px) !important;
        width: calc(100vw - 28px) !important;
        min-height: 178px;
        padding: 12px;
        border-radius: 10px;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .new-offers-grid .seller-card-category,
    body:has(.hero-home) .new-offers-grid .seller-card-meta,
    body:has(.hero-home) .new-offers-grid .seller-card-details {
        font-size: 0.68rem;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card p {
        font-size: 0.76rem;
        line-height: 1.3;
    }

    body:has(.hero-home) .popular-categories-section {
        margin-top: 42px;
        padding: 0 12px;
    }

    body:has(.hero-home) .popular-category-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        padding: 0 2px 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    body:has(.hero-home) .popular-category-card {
        flex: 0 0 calc((100vw - 34px) / 2) !important;
        width: calc((100vw - 34px) / 2) !important;
        min-height: 240px;
        border-radius: 12px;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .popular-category-art {
        min-height: 116px;
    }

    body:has(.hero-home) .popular-category-art h3 {
        font-size: 1rem;
    }

    body:has(.hero-home) .popular-category-bubbles {
        padding: 12px 10px 6px;
        gap: 6px;
    }

    body:has(.hero-home) .popular-category-bubbles a {
        font-size: 0.68rem;
        padding: 4px 8px;
    }

    body:has(.hero-home) .popular-category-view {
        width: calc(100% - 20px);
        margin: auto 10px 12px;
        min-height: 34px;
        font-size: 0.76rem;
    }

    body:has(.hero-home) .home-process-section,
    body:has(.hero-home) .feature-section,
    body:has(.hero-home) .live-reviews-section {
        width: calc(100% - 24px);
    }

    body:has(.hero-home) .footer {
        padding: 82px 14px 28px;
    }

    body:has(.hero-home) .footer-top {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body:has(.hero-home) .footer-brand,
    body:has(.hero-home) .footer-payment-column,
    body:has(.hero-home) .footer-column {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }

    body:has(.hero-home) .footer-links-group {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    body:has(.hero-home) .footer-column {
        text-align: left !important;
    }

    body:has(.hero-home) .footer-column h3 {
        margin-bottom: 10px !important;
    }

    body:has(.hero-home) .footer-column a {
        margin-bottom: 7px !important;
        font-size: 0.82rem;
    }

    body:has(.hero-home) .footer-payment-column {
        overflow: hidden;
    }

    body:has(.hero-home) .footer-payment-column h3,
    body:has(.hero-home) .secure-checkout {
        text-align: center;
    }

    body:has(.hero-home) .footer-payments {
        display: flex !important;
        grid-template-columns: none !important;
        flex-wrap: nowrap !important;
        width: 100%;
        max-width: 100%;
        gap: 10px !important;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 10px;
        margin-top: 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body:has(.hero-home) .footer-payments::-webkit-scrollbar {
        display: none;
    }

    body:has(.hero-home) .footer-payments span {
        flex: 0 0 76px !important;
        width: 76px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 7px !important;
        scroll-snap-align: start;
    }
}

/* Final mobile fit polish. */
.live-reviews-marquee {
    animation-duration: var(--live-review-duration, 68s) !important;
}

@media screen and (max-width: 640px) {
    body:has(.hero-home) .shop-games-actions {
        display: none !important;
    }

    body:has(.hero-home) .new-offers-grid {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

/* Use the same clean phone footer across every page. */
@media screen and (max-width: 640px) {
    .footer {
        padding: 82px 14px 28px !important;
    }

    .footer-top {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .footer-brand,
    .footer-payment-column,
    .footer-column {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .footer-links-group {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .footer-column {
        text-align: left !important;
    }

    .footer-column h3 {
        margin-bottom: 10px !important;
    }

    .footer-column a {
        margin-bottom: 7px !important;
        font-size: 0.82rem;
    }

    .footer-payment-column {
        overflow: hidden;
    }

    .footer-payment-column h3,
    .secure-checkout {
        text-align: center;
    }

    .footer-payments {
        display: flex !important;
        grid-template-columns: none !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        max-width: none !important;
        gap: 10px !important;
        overflow: visible !important;
        padding: 2px 2px 10px;
        margin-top: 14px;
        scroll-snap-type: none !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        animation: paymentRailSlide 22s linear infinite;
        will-change: transform;
    }

    .footer-payment-column:hover .footer-payments {
        animation-play-state: paused;
    }

    .footer-payments::-webkit-scrollbar {
        display: none;
    }

    .footer-payments .payment-clone {
        display: flex;
    }

    .footer-payments span {
        flex: 0 0 76px !important;
        width: 76px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 7px !important;
        scroll-snap-align: start;
    }
}

/* Continuous review marquee for every viewport. */
.footer-payments .payment-clone {
    display: none;
}

.live-reviews-marquee {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: reviewsSlide 34s linear infinite;
}

.live-reviews-track:hover .live-reviews-marquee {
    animation-play-state: paused;
}

@keyframes reviewsSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - (var(--live-review-gap) / 2)));
    }
}

@keyframes paymentRailSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 5px));
    }
}

/* Mobile-only payment auto marquee. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .footer-payment-column {
        overflow: hidden;
    }

    body:has(.hero-home) .footer-payments {
        width: max-content !important;
        max-width: none !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
        animation: paymentRailSlide 22s linear infinite;
        will-change: transform;
    }

    body:has(.hero-home) .footer-payment-column:hover .footer-payments {
        animation-play-state: paused;
    }

    body:has(.hero-home) .footer-payments .payment-clone {
        display: flex;
    }
}

/* Phone polish: payment rail and category label alignment. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .home-category-strip {
        align-items: start !important;
        justify-content: center !important;
        gap: 14px !important;
        padding: 0 8px !important;
    }

    body:has(.hero-home) .home-category-pill {
        width: 56px !important;
        min-width: 56px !important;
        display: grid !important;
        grid-template-rows: 38px 20px;
        align-items: start !important;
        justify-items: center !important;
        gap: 7px !important;
    }

    body:has(.hero-home) .home-category-pill i {
        width: 38px !important;
        height: 38px !important;
        line-height: 1 !important;
    }

    body:has(.hero-home) .home-category-strip .home-category-pill strong {
        width: 68px !important;
        max-width: 68px !important;
        min-height: 18px;
        display: block !important;
        font-size: 0.68rem !important;
        line-height: 1.05 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: visible !important;
        letter-spacing: 0 !important;
    }

    body:has(.hero-home) .footer-payment-column {
        overflow: hidden;
    }

    body:has(.hero-home) .footer-payment-column h3,
    body:has(.hero-home) .secure-checkout {
        text-align: center;
    }

    body:has(.hero-home) .footer-payments {
        display: flex !important;
        grid-template-columns: none !important;
        flex-wrap: nowrap !important;
        width: 100%;
        max-width: 100%;
        gap: 10px !important;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 10px;
        margin-top: 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body:has(.hero-home) .footer-payments::-webkit-scrollbar {
        display: none;
    }

    body:has(.hero-home) .footer-payments span {
        flex: 0 0 76px !important;
        width: 76px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 7px !important;
        scroll-snap-align: start;
    }
}

/* Latest phone-only tuning from homepage feedback. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .game-card,
    body:has(.hero-home) .demand-game-card {
        flex: 0 0 calc((100vw - 32px) / 2) !important;
    }

    body:has(.hero-home) .new-offers-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        padding: 0 2px 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    body:has(.hero-home) .new-offers-grid::-webkit-scrollbar,
    body:has(.hero-home) .popular-category-grid::-webkit-scrollbar {
        height: 0;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card {
        flex: 0 0 calc(100vw - 28px);
        width: calc(100vw - 28px);
        min-height: 190px;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .popular-category-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        padding: 0 2px 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    body:has(.hero-home) .popular-category-card {
        flex: 0 0 calc((100vw - 34px) / 2);
        width: calc((100vw - 34px) / 2);
        min-height: 238px;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .live-reviews-section {
        text-align: center;
    }

    body:has(.hero-home) .live-reviews-top {
        justify-content: center;
        align-items: center;
    }

    body:has(.hero-home) .live-reviews-head {
        margin: 0 auto;
        text-align: center;
    }

    body:has(.hero-home) .live-reviews-head h2 {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    body:has(.hero-home) .live-reviews-carousel {
        margin-left: auto;
        margin-right: auto;
    }

    body:has(.hero-home) .footer-brand,
    body:has(.hero-home) .footer-payment-column,
    body:has(.hero-home) .footer-column {
        border: 0;
        background: transparent;
        border-radius: 0;
        padding: 0;
    }
}

/* Latest phone-only tuning from homepage feedback. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .game-card,
    body:has(.hero-home) .demand-game-card {
        flex: 0 0 calc((100vw - 32px) / 2) !important;
    }

    body:has(.hero-home) .new-offers-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        padding: 0 2px 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    body:has(.hero-home) .new-offers-grid::-webkit-scrollbar,
    body:has(.hero-home) .popular-category-grid::-webkit-scrollbar {
        height: 0;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card {
        flex: 0 0 calc(100vw - 28px);
        width: calc(100vw - 28px);
        min-height: 190px;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .popular-category-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        padding: 0 2px 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    body:has(.hero-home) .popular-category-card {
        flex: 0 0 calc((100vw - 34px) / 2);
        width: calc((100vw - 34px) / 2);
        min-height: 238px;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .live-reviews-section {
        text-align: center;
    }

    body:has(.hero-home) .live-reviews-top {
        justify-content: center;
        align-items: center;
    }

    body:has(.hero-home) .live-reviews-head {
        margin: 0 auto;
        text-align: center;
    }

    body:has(.hero-home) .live-reviews-head h2 {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    body:has(.hero-home) .live-reviews-carousel {
        margin-left: auto;
        margin-right: auto;
    }

    body:has(.hero-home) .footer-brand,
    body:has(.hero-home) .footer-payment-column,
    body:has(.hero-home) .footer-column {
        border: 0;
        background: transparent;
        border-radius: 0;
        padding: 0;
    }
}

@media (max-width: 680px) {
    .category-hub-page {
        width: min(100% - 28px, 1220px);
        padding-top: 22px;
    }

    .category-browser-bar {
        position: sticky;
        top: 0;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-right: -14px;
        margin-left: -14px;
        padding: 12px 14px;
    }

    .category-browser-current,
    .category-browser-actions,
    .category-game-search {
        width: 100%;
    }

    .category-browser-icon {
        width: 50px;
        height: 50px;
        font-size: 1.15rem;
    }

    .category-browser-current strong {
        font-size: 1.65rem;
    }

    .category-browser-actions {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .category-dropleft-menu {
        top: calc(100% + 8px);
        right: auto;
        left: 0;
        width: min(220px, 86vw);
    }

    .category-game-search {
        min-height: 42px;
    }

    .category-hub-hero {
        padding: 30px 22px;
    }

    .category-switch-tabs {
        position: sticky;
        top: 0;
        z-index: 120;
        margin-top: 18px;
    }

    .category-trending-grid {
        display: flex;
        grid-template-columns: none;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 2px 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .category-trending-grid::-webkit-scrollbar {
        height: 0;
    }

    .category-carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 100%;
        margin: 0 0 22px;
    }

    .category-carousel-dots .mobile-carousel-dot {
        width: 6px;
        height: 6px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.28);
        cursor: pointer;
        transition: width 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    }

    .category-carousel-dots .mobile-carousel-dot.active {
        width: 18px;
        background: #ff4f66;
        box-shadow: 0 0 14px rgba(255, 79, 102, 0.38);
    }

    .category-trending-grid .category-demand-card {
        flex: 0 0 calc((100% - 20px) / 3) !important;
        width: calc((100% - 20px) / 3) !important;
        min-height: 132px;
        padding: 10px;
        scroll-snap-align: start;
    }

    .category-all-games-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        padding: 0;
    }

    .category-all-games-grid .category-demand-card {
        width: 100% !important;
        min-height: 132px;
        padding: 10px;
    }

    .category-demand-card .demand-game-top {
        min-height: 22px;
    }

    .category-demand-card .game-star-rating {
        display: inline-flex;
        align-items: center;
        gap: 0;
        font-size: 0.78rem;
    }

    .category-demand-card .game-star-rating [data-game-star-icons] {
        display: none;
    }

    .category-demand-card .game-star-rating::before {
        content: "\f005";
        margin-right: 2px;
        color: #ffb020;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
    }

    .category-demand-card .game-star-rating [data-game-rating] {
        margin-left: 0;
    }

    .category-demand-card h3 {
        margin: 10px 0 6px;
        font-size: 0.88rem;
        line-height: 1.14;
    }

    .category-demand-card p {
        margin: 0;
        font-size: 0.68rem;
        line-height: 1.35;
    }

    .category-demand-card::after {
        right: -12px;
        bottom: -18px;
        font-size: 3.1rem;
    }

    .category-hub-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

.footer-bottom p {
    color: #b6b8bb;
    margin-bottom: 10px;
    line-height: 1.7;
}

@media screen and (max-width: 768px) {

    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer {
        margin-top: -54px;
        padding: 104px 20px 30px;
    }

    .footer-text {
        max-width: 100%;
    }
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.footer-payments span {
    width: 78px;
    height: 46px;

    background: #ffffff;
    border: 1px solid #23232d;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.25s ease;
}

.footer-payments span:hover {
    border-color: #ff4757;
    transform: translateY(-2px);
}

.footer-payments img {
    max-width: 52px;
    max-height: 24px;
    object-fit: contain;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 54px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.logo img {
    height: 24px;
    width: auto;
    display: block;
}

.header-brand {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-brand:hover {
    transform: translateY(-1px) scale(1.02);
}

.header-brand:active {
    transform: translateY(0) scale(0.99);
}

.header-brand > * {
    pointer-events: none;
}

.brand-logo-mark {
    width: 66px;
    height: 66px;
    object-fit: contain;
    display: block;
    margin: -5px -12px -5px 0;
    filter:
        drop-shadow(0 0 8px rgba(255, 71, 87, 0.28))
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.34));
}

.brand-logo-wordmark {
    width: auto;
    height: 20px;
    object-fit: contain;
    display: block;
    filter: none;
}

.navbar .logo {
    align-self: center;
}

.navbar .logo .brand-logo-mark {
    width: 66px;
    height: 66px;
    max-width: 66px;
}

.navbar .logo .brand-logo-wordmark {
    height: 20px;
    max-width: 250px;
}

.footer-logo .brand-logo-mark {
    width: 64px;
    height: 64px;
}

.footer-logo .brand-logo-wordmark {
    height: 20px;
}

@media screen and (max-width: 768px) {

    .logo .brand-logo-mark {
        width: 52px;
        height: 52px;
        margin: -5px 0;
    }

    .logo .brand-logo-wordmark {
        height: 27px;
    }

}
/* FOOTER FINAL ALIGNMENT FIX */

.footer-top {
    display: grid !important;
    grid-template-columns: 1.2fr 2fr 1fr !important;
    gap: 45px !important;
    align-items: flex-start !important;
}

.footer-brand {
    text-align: center !important;
}

.footer-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    margin-bottom: 16px !important;
}

.footer-logo .brand-logo-mark {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain !important;
    margin: -5px -12px -5px 0 !important;
}

.footer-logo .brand-logo-wordmark {
    height: 20px !important;
    width: auto !important;
    object-fit: contain !important;
}

.footer-brand .footer-text {
    margin: 0 auto !important;
    max-width: 320px !important;
    text-align: center !important;
}

.footer-socials {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 22px !important;
}

.footer-links-group {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 28px !important;
}

.footer-column {
    text-align: left !important;
}

.footer-column h3 {
    color: white !important;
    font-size: 0.95rem !important;
    margin-bottom: 16px !important;
}

.footer-column a {
    display: block !important;
    margin-bottom: 10px !important;
}

.footer-payment-column {
    text-align: center !important;
}

.footer-payment-column h3 {
    text-align: center !important;
}

.footer-locale-menu {
    display: none;
    width: fit-content;
    margin: 0 auto 18px;
}

.footer-locale-menu .locale-trigger {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #121218;
    color: #fff;
}

.footer-locale-menu .locale-dropdown {
    top: auto;
    bottom: 48px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: left;
}

.admin-inline-editor {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(140px, 180px) minmax(220px, 1.4fr) auto;
    gap: 10px;
    padding: 12px 18px 16px;
    border-top: 1px solid #262836;
    background: rgba(255, 255, 255, 0.02);
}

.admin-inline-editor label {
    display: grid;
    gap: 6px;
    color: #a9bedf;
    font-size: 12px;
}

.admin-inline-editor input,
.admin-inline-editor select,
.admin-inline-editor button {
    min-height: 38px;
    border: 1px solid #2d3040;
    border-radius: 8px;
    background: #0d0e14;
    color: #fff;
    padding: 0 12px;
}

.admin-inline-editor button,
.admin-chat-thread .order-chat-compose button {
    background: #ff4863;
    border-color: #ff4863;
    font-weight: 800;
    cursor: pointer;
}

.admin-chat-thread {
    border-top: 1px solid #262836;
    padding: 16px;
    background: #0b0c12;
}

.admin-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 360px;
    overflow: auto;
    padding: 4px 0 14px;
}

@media (max-width: 900px) {
    .admin-inline-editor {
        grid-template-columns: 1fr;
    }
}

.footer-payments {
    justify-content: center !important;
}

.secure-badge {
    text-align: center !important;
}

@media screen and (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .footer-links-group {
        grid-template-columns: repeat(2, 1fr) !important;
        text-align: center !important;
    }

    .footer-column {
        text-align: center !important;
    }
}

@media screen and (max-width: 520px) {
    .footer-links-group {
        grid-template-columns: 1fr !important;
    }
}

.cart-page {
    width: min(1120px, 92vw);
    margin: 54px auto 88px;
    color: #f8fafc;
}

.cart-page-header {
    margin-bottom: 18px;
}

.cart-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(255, 71, 87, 0.24);
    border-radius: 8px;
    background:
        radial-gradient(circle at 8% 18%, rgba(255, 71, 87, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(255, 71, 87, 0.08), rgba(13, 22, 36, 0.7) 54%),
        linear-gradient(180deg, #16171f, #0c111b);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.04);
    padding: 30px;
}

.cart-hero > div > span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #25e681;
    font-size: 0.78rem;
    font-weight: 950;
}

.cart-page-header h1 {
    color: white;
    font-size: 2.35rem;
    margin-bottom: 8px;
    letter-spacing: 0;
}

.cart-page-header p {
    color: #b6c4da;
    margin: 0;
    max-width: 680px;
}

.cart-hero a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: linear-gradient(180deg, #20212b, #151620);
    color: #fff;
    padding: 0 16px;
    text-decoration: none;
    font-weight: 900;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.cart-products-panel {
    min-width: 0;
}

.cart-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.cart-section-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cart-section-actions a {
    min-height: 38px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: linear-gradient(180deg, #20212b, #151620);
    color: #fff;
    padding: 0 12px;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 900;
}

.cart-section-title h2 {
    color: white;
    font-size: 1.1rem;
    margin: 0;
}

.cart-section-title p {
    color: #94a3b8;
    margin: 5px 0 0;
    font-size: 0.9rem;
}

.cart-section-title span {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    padding: 6px 10px;
    font-size: 0.82rem;
    font-weight: 900;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) 130px auto;
    gap: 16px;
    align-items: center;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 71, 87, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.035), transparent),
        #0f141f;
    border: 1px solid rgba(68, 82, 111, 0.54);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}

.cart-item-media {
    display: block;
}

.cart-item img {
    width: 116px;
    height: 82px;
    object-fit: cover;
    border-radius: 8px;
    background: #181820;
    border: 1px solid rgba(255,255,255,0.06);
}

.cart-info h3,
.cart-item-title {
    display: inline-flex;
    color: white;
    margin: 0 0 5px;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 950;
    text-decoration: none;
}

.cart-item-title:hover {
    color: #ffb4bf;
}

.cart-seller-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 2px 0 4px;
    color: #dbe7ff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 900;
}

.cart-seller-link > span {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.35), rgba(15, 23, 42, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.72rem;
}

.cart-seller-link i {
    color: #17d7c8;
    font-size: 0.78rem;
}

.cart-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 8px 0 10px;
}

.cart-meta span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(72, 90, 124, 0.72);
    border-radius: 999px;
    background: rgba(12, 17, 27, 0.88);
    color: #d7e2f3;
    padding: 0 9px;
    font-size: 0.78rem;
    font-weight: 800;
}

.cart-meta span i {
    color: #ffb02e;
    font-size: 0.72rem;
}

.cart-meta span em {
    color: #8fa7c7;
    font-style: normal;
    font-weight: 950;
}

.cart-info strong {
    color: #25e681;
    font-size: 1.05rem;
}

.cart-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 176, 46, 0.42);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 176, 46, 0.08), rgba(13, 17, 26, 0.95));
    padding: 6px;
}

.cart-qty button,
.remove-cart-btn {
    border: none;
    cursor: pointer;
}

.cart-qty button {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #0b0f18;
    color: white;
    font-weight: 800;
}

.cart-qty span {
    min-width: 24px;
    color: white;
    text-align: center;
    font-weight: 700;
}

.remove-cart-btn {
    background: rgba(255,71,87,0.13);
    color: #ff7284;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 8px;
    font-weight: 900;
}

.cart-summary {
    position: sticky;
    top: 96px;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 71, 87, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.035), transparent),
        #11151f;
    border: 1px solid rgba(68, 82, 111, 0.58);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}

.cart-summary-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.cart-summary-head > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.22), rgba(255, 71, 87, 0.08));
    color: #ff6b81;
}

.cart-summary h2 {
    color: white;
    margin: 0 0 4px;
}

.cart-summary-head p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.88rem;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.summary-row span {
    color: #94a3b8;
}

.summary-row strong {
    color: white;
    font-size: 1rem;
}

.summary-divider {
    height: 1px;
    background: #262633;
    margin: 18px 0;
}

.summary-total-row strong {
    color: #25e681;
    font-size: 1.4rem;
}

.cart-summary .primary-checkout-btn {
    min-height: 54px;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    box-shadow: 0 18px 34px rgba(255, 71, 87, 0.2);
    color: #fff;
    font-weight: 950;
    margin: 2px 0 0;
}

.cart-summary .primary-checkout-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ff5a69, #ff7d91);
}

.empty-cart {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: #94a3b8;
    background: #111116;
    border: 1px dashed #2d2d38;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.empty-cart i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 71, 87, 0.12);
    color: #ff6b81;
    font-size: 1.25rem;
}

.empty-cart strong {
    color: #fff;
    font-size: 1.15rem;
}

.empty-cart span {
    max-width: 360px;
    line-height: 1.5;
}

.empty-cart a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    padding: 0 16px;
    margin-top: 4px;
}

.cart-trust-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    color: #d5e0f2;
    font-size: 0.9rem;
}

.cart-trust-list p {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    min-height: 34px;
    border: 1px solid rgba(34, 197, 94, 0.14);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.055);
    padding: 0 10px;
    font-weight: 850;
}

.cart-trust-list i {
    color: #25e681;
}

.cart-accepted-payments {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.cart-accepted-payments > span {
    display: block;
    color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 950;
    margin-bottom: 12px;
}

.cart-accepted-payments > div {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.cart-accepted-payments strong {
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    overflow: hidden;
}

.cart-accepted-payments img {
    width: 68px;
    max-width: 82%;
    max-height: 26px;
    object-fit: contain;
}

@media screen and (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-hero {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media screen and (max-width: 640px) {
    .cart-page {
        margin-top: 22px;
    }

    .cart-hero {
        display: none;
    }

    .cart-item {
        grid-template-columns: 82px 1fr;
        gap: 12px;
    }

    .cart-item img {
        width: 82px;
        height: 64px;
    }

    .cart-qty,
    .remove-cart-btn {
        grid-column: 2;
        justify-self: start;
    }

    .cart-section-title {
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .cart-section-title p,
    .cart-section-actions > span {
        display: none;
    }

    .cart-section-actions a {
        display: inline-flex;
        white-space: nowrap;
    }
}

.thank-you-page {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at 23% 16%, rgba(255, 71, 87, 0.16), transparent 32%),
        radial-gradient(circle at 70% 86%, rgba(34, 197, 94, 0.10), transparent 30%),
        #05070d;
}

.thank-you-panel {
    width: min(1180px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
    align-items: center;
    gap: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    text-align: left;
}

.thank-you-left,
.thank-you-summary {
    min-height: 100vh;
    padding: 70px 44px;
}

.thank-you-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 38%),
        rgba(12, 16, 25, 0.72);
}

.thank-you-brand {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 38px;
    text-decoration: none;
}

.thank-you-brand-icon {
    width: 66px;
    height: 66px;
    max-width: 66px;
    object-fit: contain;
    margin: -5px -12px -5px 0;
    filter: drop-shadow(0 0 10px rgba(255, 71, 87, 0.28));
}

.thank-you-brand-wordmark {
    width: auto;
    height: 20px;
    max-width: 250px;
    object-fit: contain;
}

.thank-you-icon {
    width: 72px;
    height: 72px;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.24), rgba(34, 197, 94, 0.10));
    border: 1px solid rgba(34, 197, 94, 0.24);
    color: #25e681;
    font-size: 1.75rem;
    box-shadow: 0 18px 36px rgba(34, 197, 94, 0.10);
}

.thank-you-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    color: #25e681;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.thank-you-panel h1 {
    color: white;
    margin: 0 0 12px;
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.thank-you-left > p {
    max-width: 560px;
    margin: 0 0 28px;
    color: #b6c4da;
    line-height: 1.7;
}

.thank-you-summary {
    background:
        radial-gradient(circle at 100% 0, rgba(255, 71, 87, 0.08), transparent 32%),
        rgba(13, 17, 27, 0.82);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thank-you-summary h2 {
    color: white;
    font-size: 2rem;
    margin: 0 0 22px;
    letter-spacing: 0;
}

.thank-you-product {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.thank-you-product img {
    width: 92px;
    height: 78px;
    object-fit: cover;
    border-radius: 8px;
    background: #181820;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.thank-you-product strong {
    display: block;
    color: white;
    margin-bottom: 5px;
    line-height: 1.35;
}

.thank-you-product span {
    color: #b6c4da;
    font-size: 0.92rem;
    line-height: 1.45;
}

.thank-you-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    color: #aeb9cb;
}

.thank-you-row strong {
    color: white;
    text-align: right;
}

.thank-you-total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.thank-you-total strong {
    color: #25e681;
    font-size: 1.55rem;
}

.thank-you-next-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 620px;
}

.thank-you-next-steps span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(34, 197, 94, 0.16);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.055);
    color: #d7e2f3;
    font-size: 0.82rem;
    font-weight: 850;
    text-align: center;
}

.thank-you-next-steps i {
    color: #25e681;
}

.thank-you-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.thank-you-primary-btn,
.thank-you-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    gap: 8px;
    font-weight: 950;
    text-decoration: none;
}

.thank-you-primary-btn {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    box-shadow: 0 16px 34px rgba(255, 71, 87, 0.22);
}

.thank-you-secondary-btn {
    background: #1f232d;
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: white;
}

@media screen and (max-width: 920px) {
    .thank-you-panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .thank-you-left,
    .thank-you-summary {
        min-height: auto;
        padding: 34px 22px;
    }

    .thank-you-left {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media screen and (max-width: 640px) {
    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-brand-icon {
        width: 56px;
        height: 56px;
        max-width: 56px;
        margin: -5px -10px -5px 0;
    }

    .thank-you-brand-wordmark {
        height: 23px;
        max-width: 150px;
    }

    .thank-you-product {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .thank-you-product img {
        width: 76px;
        height: 68px;
    }

    .thank-you-next-steps {
        grid-template-columns: 1fr;
    }
}

.payment-failed-page {
    max-width: 960px;
    margin: 56px auto 80px;
    padding: 0 5%;
}

.payment-failed-panel {
    background: #111116;
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 34px;
    text-align: center;
}

.payment-failed-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.14);
    color: #ff4757;
    font-size: 1.6rem;
}

.payment-failed-badge {
    display: inline-flex;
    margin-bottom: 12px;
    color: #ff6b81;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.payment-failed-panel h1 {
    color: white;
    margin: 0 0 10px;
}

.payment-failed-panel > p {
    max-width: 640px;
    margin: 0 auto 26px;
    color: #94a3b8;
    line-height: 1.7;
}

.payment-failed-summary {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background: #0d0d12;
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 20px;
}

.payment-failed-summary h2 {
    color: white;
    font-size: 1.1rem;
    margin: 0 0 16px;
}

.payment-failed-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #14141a;
}

.payment-failed-order span {
    color: #94a3b8;
}

.payment-failed-order strong {
    color: white;
    font-size: 0.95rem;
}

.payment-failed-step {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid #262633;
}

.payment-failed-step:first-of-type {
    border-top: none;
    padding-top: 0;
}

.payment-failed-step:last-child {
    padding-bottom: 0;
}

.payment-failed-step i {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.1);
    color: #ff6b81;
}

.payment-failed-step strong {
    display: block;
    color: white;
    margin-bottom: 4px;
}

.payment-failed-step span {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.5;
}

.payment-failed-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.payment-failed-primary-btn,
.payment-failed-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
}

.payment-failed-primary-btn {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
}

.payment-failed-secondary-btn {
    background: #1b1b22;
    border: 1px solid #2d2d38;
    color: white;
}

@media screen and (max-width: 640px) {
    .payment-failed-panel {
        padding: 26px 18px;
    }

    .payment-failed-actions {
        flex-direction: column;
    }
}

.payment-page {
    max-width: 1160px;
    margin: 56px auto 80px;
    padding: 0 5%;
}

.payment-page-header {
    margin-bottom: 24px;
}

.payment-page-badge {
    display: inline-flex;
    margin-bottom: 10px;
    color: #22c55e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.payment-page-header h1 {
    color: white;
    margin: 0 0 8px;
}

.payment-page-header p {
    color: #94a3b8;
    margin: 0;
}

.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.payment-methods-panel,
.payment-order-panel {
    background: #111116;
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 24px;
}

.payment-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.payment-panel-title h2,
.payment-order-panel h2 {
    color: white;
    font-size: 1.15rem;
    margin: 0;
}

.payment-panel-title span {
    color: #94a3b8;
    font-size: 0.92rem;
}

.payment-options-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(96px, 1fr));
    gap: 14px;
}

.payment-option {
    min-height: 74px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-option:hover,
.payment-option.active {
    border-color: #ff4757;
    box-shadow: 0 10px 22px rgba(255,71,87,0.18);
    transform: translateY(-2px);
}

.payment-option img {
    max-width: 82px;
    max-height: 38px;
    object-fit: contain;
}

.payment-submit-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 22px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    font-weight: 800;
    cursor: pointer;
}

.payment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255,71,87,0.25);
}

.payment-cancel-link {
    display: block;
    width: fit-content;
    margin: 16px auto 0;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 700;
}

.payment-cancel-link:hover {
    color: #ff6b81;
}

.payment-order-panel {
    position: sticky;
    top: 96px;
}

.payment-order-product {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    margin: 18px 0 16px;
    border-bottom: 1px solid #262633;
}

.payment-order-product img {
    width: 86px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: #181820;
}

.payment-order-product strong {
    display: block;
    color: white;
    margin-bottom: 5px;
}

.payment-order-product span {
    color: #94a3b8;
    font-size: 0.92rem;
}

.payment-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    color: #94a3b8;
}

.payment-order-row strong {
    color: white;
    text-align: right;
}

.payment-order-total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #262633;
}

.payment-order-total strong {
    color: #22c55e;
    font-size: 1.35rem;
}

@media screen and (max-width: 980px) {
    .payment-layout {
        grid-template-columns: 1fr;
    }

    .payment-order-panel {
        position: static;
    }
}

@media screen and (max-width: 768px) {
    .payment-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payment-panel-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .payment-methods-panel,
    .payment-order-panel {
        padding: 18px;
    }
}

/* G4BOOST payment portal */
.payment-page {
    width: 100%;
    min-height: 100vh;
    max-width: none;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at 24% 16%, rgba(255, 71, 87, 0.16), transparent 31%),
        radial-gradient(circle at 58% 88%, rgba(21, 185, 129, 0.10), transparent 30%),
        #05070d;
}

.payment-layout {
    width: min(1180px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 0;
    align-items: stretch;
}

.payment-methods-panel,
.payment-order-panel {
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.018), transparent),
        rgba(12, 16, 25, 0.72);
    border: 0;
    border-radius: 0;
    padding: 70px 44px;
    box-shadow: none;
}

.payment-methods-panel {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-order-panel {
    background:
        radial-gradient(circle at 100% 0, rgba(255, 71, 87, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent),
        rgba(13, 17, 27, 0.82);
}

.payment-brand-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin-bottom: 34px;
}

.payment-brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
    line-height: 0.9;
}

.payment-brand img {
    height: auto;
    object-fit: contain;
}

.payment-brand .payment-brand-icon {
    width: 66px;
    height: 66px;
    max-width: 66px;
    margin: -5px -12px -5px 0;
    filter: drop-shadow(0 0 10px rgba(255, 71, 87, 0.28));
}

.payment-brand .payment-brand-wordmark {
    width: auto;
    height: 20px;
    max-width: 250px;
    filter: drop-shadow(0 0 10px rgba(255, 71, 87, 0.18));
}

.payment-brand strong {
    display: none;
}

.payment-brand-row > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 310px;
    color: #8fb8ff;
    font-size: 0.84rem;
    line-height: 1.35;
}

.payment-brand-row > span i {
    color: #4d9cff;
}

.payment-protection-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
    color: #8fb8ff;
    font-size: 0.9rem;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
}

.payment-protection-note i {
    color: #4d9cff;
}

.payment-assurance-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.payment-assurance-row span {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(34, 197, 94, 0.16);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.055);
    color: #d7e2f3;
    font-size: 0.78rem;
    font-weight: 850;
    text-align: center;
}

.payment-assurance-row i {
    color: #25e681;
}

.payment-panel-title {
    margin-bottom: 12px;
}

.payment-panel-title h2,
.payment-order-panel h2 {
    font-size: 1.9rem;
    letter-spacing: 0;
}

.payment-panel-title span {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 71, 87, 0.24);
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.08);
    color: #ffd7dd;
    padding: 0 10px;
    font-weight: 900;
}

.payment-options-list {
    display: grid;
    gap: 10px;
}

.payment-options-list .payment-option {
    min-height: 68px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 22px;
    gap: 12px;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(68, 82, 111, 0.68);
    border-radius: 8px;
    background: #20232c;
    color: #fff;
    text-align: left;
    box-shadow: none;
}

.payment-options-list .payment-option:hover,
.payment-options-list .payment-option.active {
    transform: none;
    border-color: rgba(255, 71, 87, 0.62);
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.12), rgba(39, 43, 54, 0.96));
    box-shadow: 0 14px 28px rgba(255, 71, 87, 0.12);
}

.payment-options-list .payment-option img {
    max-width: 44px;
    max-height: 32px;
    object-fit: contain;
}

.payment-card-stack {
    display: grid;
    gap: 2px;
}

.payment-card-stack img {
    max-width: 36px;
    max-height: 18px;
}

.payment-options-list .payment-option span:not(.payment-card-stack) {
    display: grid;
    gap: 3px;
}

.payment-options-list .payment-option strong {
    color: #f8fafc;
    font-size: 1rem;
}

.payment-options-list .payment-option em {
    color: #aab5c5;
    font-style: normal;
    font-size: 0.86rem;
}

.payment-options-list .payment-option > i {
    color: #e5e7eb;
    justify-self: end;
}

.payment-options-list .payment-option.active > i {
    color: #25e681;
}

.payment-trust-rating {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
    border: 1px solid rgba(34, 197, 94, 0.18);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.07);
    color: #ecfdf5;
    font-size: 0.88rem;
}

.payment-trust-rating span {
    display: inline-flex;
    gap: 2px;
    color: #25e681;
}

.payment-trust-rating em {
    color: #d7e2f3;
    font-style: normal;
    font-weight: 850;
}

.payment-order-panel {
    position: static;
    top: auto;
}

.payment-order-items {
    display: grid;
    gap: 14px;
    margin: 18px 0 20px;
}

.payment-order-product {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    padding: 0 0 14px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-order-product img {
    width: 82px;
    height: 82px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-order-product strong {
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.35;
}

.payment-order-product span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #aeb9cb;
    font-size: 0.9rem;
    margin-top: 7px;
}

.payment-order-product span i {
    color: #4d9cff;
}

.payment-order-product b {
    display: none;
}

.payment-discount-row,
.payment-warranty-row {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: #242833;
    color: #e5e7eb;
    padding: 0 16px;
    margin-bottom: 14px;
}

.payment-discount-row {
    cursor: pointer;
}

.payment-discount-row i,
.payment-warranty-row i {
    color: #ffb02e;
}

.payment-discount-row strong,
.payment-warranty-row strong {
    color: #fff;
}

.payment-discount-row span,
.payment-warranty-row span {
    color: #aeb9cb;
}

.payment-warranty-row {
    justify-content: space-between;
    border-radius: 8px;
    background: #1f232d;
}

.payment-warranty-row > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 900;
}

.payment-warranty-row em {
    display: inline-flex;
    border: 1px solid rgba(77, 156, 255, 0.42);
    border-radius: 999px;
    color: #8fb8ff;
    font-style: normal;
    padding: 2px 8px;
    font-size: 0.78rem;
}

.payment-warranty-row input {
    width: 18px;
    height: 18px;
    accent-color: #25e681;
}

.payment-order-row {
    padding: 12px 0;
}

.payment-order-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #aeb9cb;
}

.payment-fee-info {
    width: 17px;
    height: 17px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #dbe7ff;
    font-size: 0.68rem;
    font-weight: 950;
    cursor: pointer;
    line-height: 1;
}

.payment-fee-info:hover {
    border-color: rgba(255, 71, 87, 0.58);
    color: #fff;
    background: rgba(255, 71, 87, 0.18);
}

.payment-order-row strong {
    color: #f8fafc;
}

.payment-order-total {
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-order-total strong {
    color: #22c55e;
    font-size: 1.55rem;
}

.payment-order-panel .payment-submit-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(255, 71, 87, 0.24);
}

.payment-ssl-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #9ca3af;
    margin: 14px 0 0;
    font-size: 0.82rem;
}

.payment-ssl-note i {
    color: #cbd5e1;
}

.payment-order-panel .payment-cancel-link {
    margin-top: 12px;
    font-size: 0.84rem;
}

@media screen and (max-width: 980px) {
    .payment-page {
        padding: 0;
    }

    .payment-layout {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 0;
    }

    .payment-methods-panel {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media screen and (max-width: 680px) {
    .payment-methods-panel,
    .payment-order-panel {
        padding: 26px 18px;
    }

    .payment-brand-row {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .payment-brand img {
        width: auto;
    }

    .payment-brand .payment-brand-icon {
        width: 56px;
        height: 56px;
        max-width: 56px;
        margin: -5px -10px -5px 0;
    }

    .payment-brand .payment-brand-wordmark {
        width: auto;
        height: 23px;
        max-width: 150px;
    }

    .payment-protection-note {
        gap: 5px;
        font-size: 0.72rem;
        line-height: 1.1;
    }

    .payment-assurance-row {
        display: none;
    }

    .payment-panel-title h2,
    .payment-order-panel h2 {
        font-size: 1.45rem;
    }

    .payment-panel-title {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
    }

    .payment-panel-title span {
        flex: 0 0 auto;
        font-size: 0.82rem;
    }

    .payment-order-product {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .payment-order-product img {
        width: 68px;
        height: 68px;
    }

    .payment-order-product b {
        grid-column: 2;
        justify-self: start;
    }
}

.order-status-page {
    max-width: 1160px;
    margin: 32px auto 72px;
    padding: 0 5%;
}

.order-status-hero {
    max-width: 760px;
    margin-bottom: 14px;
}

.order-status-badge {
    display: inline-flex;
    margin-bottom: 10px;
    color: #22c55e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.order-status-hero h1 {
    color: white;
    margin: 0 0 12px;
}

.order-status-hero p {
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
}

.order-status-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-top: 0;
}

.order-status-search input {
    min-height: 48px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #111116;
    color: white;
    padding: 0 14px;
}

.order-status-search button {
    min-height: 48px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    font-weight: 800;
    padding: 0 18px;
    cursor: pointer;
}

.order-status-error {
    min-height: 20px;
    margin-top: 8px !important;
    color: #ff6b81 !important;
    font-weight: 700;
}

.orders-table-card {
    background: #111116;
    border: 1px solid #262633;
    border-radius: 8px;
    overflow: hidden;
}

.orders-table-head,
.order-history-row {
    display: grid;
    grid-template-columns: minmax(320px, 1.8fr) 110px 190px 150px 150px 34px;
    gap: 18px;
    align-items: center;
}

.orders-table-head {
    padding: 14px 18px;
    background: #0d0d12;
    color: #94a3b8;
    font-size: 0.88rem;
    border-bottom: 1px solid #262633;
}

.order-history-item {
    border-bottom: 1px solid #262633;
}

.order-history-item:last-child {
    border-bottom: none;
}

.order-history-row {
    width: 100%;
    padding: 17px 18px;
    cursor: pointer;
    transition: background 0.18s ease;
}

.order-history-row:hover,
.order-history-item.expanded .order-history-row {
    background: #1a1a21;
}

.order-product-cell a {
    display: block;
    color: white;
    line-height: 1.45;
    margin-bottom: 8px;
    font-weight: 800;
    text-decoration: none;
}

.order-product-cell a:hover {
    color: #ff6b81;
}

.order-product-cell span,
.order-delivery-cell span {
    color: #94a3b8;
    font-size: 0.88rem;
}

.order-price-cell,
.order-time-cell,
.order-status-cell,
.order-delivery-cell strong {
    color: white;
    font-weight: 700;
}

.order-delivery-cell strong {
    display: block;
    margin-bottom: 5px;
}

.order-expand-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}

.order-history-item.expanded .order-expand-btn {
    color: #ff6b81;
    transform: rotate(90deg);
}

.order-expanded-card {
    padding: 0 18px 18px;
    background: #1a1a21;
}

.order-expanded-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 16px 0 18px;
}

.expanded-progress-step {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 7px;
    text-align: center;
}

.expanded-progress-step::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -50%;
    width: 100%;
    height: 3px;
    background: #2d2d38;
}

.expanded-progress-step:first-child::before {
    display: none;
}

.expanded-progress-step.active::before {
    background: #22c55e;
}

.expanded-progress-step span {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #34343c;
    color: white;
    font-weight: 800;
}

.expanded-progress-step.active span {
    background: #16a34a;
}

.expanded-progress-step strong {
    color: #cbd5e1;
    font-size: 0.78rem;
}

.order-delivery-details-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 14px;
}

.order-delivery-details-card div {
    min-height: 104px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid #252936;
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.08), transparent 48%),
        #101118;
}

.order-delivery-details-card i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
}

.order-delivery-details-card span {
    color: #8fb3df;
    font-size: 0.86rem;
}

.order-delivery-details-card strong {
    color: #fff;
}

.order-expanded-body {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    padding: 16px;
    border: 1px solid #2a2a34;
    border-radius: 8px;
    background: #111116;
}

.order-expanded-body img {
    width: 92px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.order-expanded-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.order-expanded-details span {
    display: block;
    color: #94a3b8;
    font-size: 0.82rem;
    margin-bottom: 4px;
}

.order-expanded-details strong {
    color: white;
    font-size: 0.92rem;
}

.order-expanded-actions {
    display: grid;
    gap: 10px;
}

.order-expanded-actions a,
.order-expanded-actions button {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 6px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.order-expanded-actions a {
    background: #16a34a;
    color: white;
}

.order-expanded-actions button {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
}

.order-linked-actions {
    min-width: 210px;
}

.order-linked-actions a,
.order-linked-actions button {
    gap: 8px;
    justify-content: flex-start;
}

.order-linked-actions a:nth-child(4) {
    background: #1b1b22;
    border: 1px solid #2d2d38;
    color: #dbeafe;
}

.order-linked-actions button:nth-child(3) {
    background: #16a34a;
}

.order-linked-actions button:nth-child(5) {
    background: #2563eb;
}

.order-linked-actions .cancel-order-btn {
    background: #b83d39;
}

.order-linked-actions .remove-cancel-request-btn {
    background: #253049;
    color: #fff;
}

.order-linked-actions .remove-dispute-btn {
    background: #253049;
    color: #fff;
}

.order-linked-actions .confirm-delivery-btn,
.order-linked-actions .dispute-action {
    background: #16a34a;
    color: #fff;
}

.order-linked-actions .invoice-action {
    background: #2563eb;
}

.order-linked-actions a.disabled,
.order-linked-actions button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
    pointer-events: auto;
    filter: grayscale(0.25);
}

.order-cancel-note {
    margin: 14px 0 0;
    border: 1px solid rgba(255, 163, 92, 0.28);
    border-radius: 8px;
    background: rgba(255, 163, 92, 0.08);
    color: #ffc28d;
    padding: 12px 14px;
    font-size: 0.88rem;
}

body.cancel-modal-open {
    overflow: hidden;
}

.cancel-request-modal,
.dispute-request-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.cancel-request-modal[hidden],
.dispute-request-modal[hidden] {
    display: none;
}

.cancel-request-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 5, 10, 0.78);
    backdrop-filter: blur(7px);
}

.cancel-request-dialog,
.dispute-request-dialog {
    position: relative;
    width: min(100%, 500px);
    display: grid;
    gap: 18px;
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.13), transparent 34%),
        #121722;
    padding: 28px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
}

.dispute-request-dialog {
    width: min(100%, 720px);
}

.cancel-request-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 6px;
    background: #191f2a;
    color: #b9c5d7;
    cursor: pointer;
}

.cancel-request-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 71, 87, 0.22);
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.13);
    color: #ff6b81;
}

.cancel-request-eyebrow {
    color: #ff6b81;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cancel-request-dialog h2,
.dispute-request-dialog h2 {
    margin: 5px 0 7px;
    color: #fff;
    font-size: 1.45rem;
}

.cancel-request-dialog p,
.dispute-request-dialog p {
    margin: 0;
    color: #9eabc0;
    line-height: 1.55;
}

.cancel-request-dialog label,
.dispute-request-dialog label {
    position: relative;
    display: grid;
    gap: 8px;
}

.cancel-request-dialog label > span,
.dispute-request-dialog label > span {
    color: #d7e2f2;
    font-size: 0.78rem;
    font-weight: 850;
}

.cancel-request-dialog textarea,
.dispute-request-dialog textarea,
.dispute-request-dialog select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 6px;
    outline: none;
    background: #0b1018;
    color: #fff;
    font: inherit;
}

.cancel-request-dialog textarea,
.dispute-request-dialog textarea {
    min-height: 128px;
    resize: vertical;
    padding: 13px 14px 28px;
}

.dispute-request-dialog select {
    min-height: 46px;
    padding: 0 12px;
}

.cancel-request-dialog textarea:focus,
.dispute-request-dialog textarea:focus,
.dispute-request-dialog select:focus {
    border-color: rgba(255, 71, 87, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.cancel-request-dialog label small,
.dispute-request-dialog label small {
    position: absolute;
    right: 12px;
    bottom: 9px;
    color: #69778b;
    font-size: 0.7rem;
}

.dispute-request-icon {
    color: #ffb347;
    border-color: rgba(255, 179, 71, 0.22);
    background: rgba(255, 179, 71, 0.1);
}

.dispute-request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dispute-request-grid label,
.dispute-request-details {
    display: grid;
    gap: 8px;
}

.cancel-request-error {
    min-height: 18px;
    color: #ff8798 !important;
    font-size: 0.78rem;
}

.cancel-request-actions {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 10px;
}

.cancel-request-actions button {
    min-height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 6px;
    background: #1a202b;
    color: #dbe5f2;
    font-weight: 850;
    cursor: pointer;
}

.cancel-request-actions .submit-cancel-request {
    border-color: transparent;
    background: linear-gradient(135deg, #c93f45, #ff5266);
    color: #fff;
}

.cancel-request-actions button:disabled {
    opacity: 0.55;
    cursor: wait;
}

@media screen and (max-width: 600px) {
    .cancel-request-dialog,
    .dispute-request-dialog {
        padding: 22px 18px 18px;
    }

    .dispute-request-grid,
    .cancel-request-actions {
        grid-template-columns: 1fr;
    }

    #disputeRequestModal {
        place-items: start center;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 12px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    #disputeRequestModal .dispute-request-dialog {
        width: 100%;
        min-height: 0;
        max-height: calc(100vh - var(--g4boost-public-header-height, 104px) - 24px);
        max-height: calc(100dvh - var(--g4boost-public-header-height, 104px) - 24px);
        margin: 0 auto;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }

    #disputeRequestModal .cancel-request-actions {
        position: relative;
        z-index: 1;
        padding-bottom: 1px;
    }
}

.order-rating-card {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #2a2d38;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(21, 23, 31, 0.95));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.order-rating-card strong {
    display: block;
    color: white;
    margin-bottom: 4px;
}

.order-rating-card span {
    color: #a9c8ef;
    font-size: 0.9rem;
}

.order-rating-actions {
    display: inline-flex;
    gap: 6px;
}

.order-rating-actions button {
    width: 38px;
    height: 38px;
    border: 1px solid #313542;
    border-radius: 8px;
    background: #181a22;
    color: #ffb020;
    cursor: pointer;
}

.order-rating-actions button:hover {
    border-color: #ffb020;
    background: rgba(255, 176, 32, 0.12);
}

.order-rating-actions button.selected {
    border-color: rgba(250, 204, 21, 0.65);
    background: rgba(250, 204, 21, 0.16);
    color: #facc15;
}

.order-rating-comment {
    display: none;
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #2a2f3e;
}

.order-rating-comment.show {
    display: grid;
    gap: 12px;
}

.order-rating-comment label {
    display: grid;
    gap: 8px;
    color: #c7d7eb;
    font-weight: 800;
}

.order-rating-comment textarea {
    min-height: 92px;
    resize: vertical;
    border: 1px solid #303545;
    border-radius: 10px;
    background: #0c0d12;
    color: #fff;
    padding: 12px;
    font: inherit;
}

.order-rating-comment div {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.order-rating-comment button {
    min-height: 42px;
    border: 1px solid #303545;
    border-radius: 8px;
    background: #181b24;
    color: #fff;
    font-weight: 900;
    padding: 0 16px;
    cursor: pointer;
}

.order-rating-comment button[type="submit"] {
    border-color: transparent;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
}

.order-rating-card-reviewed {
    align-items: flex-start;
}

.order-submitted-review {
    width: 100%;
    display: grid;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #2a2f3e;
}

.order-submitted-rating-stars {
    display: inline-flex;
    gap: 6px;
    color: #facc15;
}

.order-submitted-rating-stars .muted {
    color: rgba(250, 204, 21, 0.28);
}

.order-submitted-review p {
    margin: 0;
    color: #f8fafc;
    font-weight: 800;
    line-height: 1.5;
}

.order-submitted-review small {
    color: #94a3b8;
    font-weight: 700;
}

.orders-empty {
    padding: 28px;
    color: #94a3b8;
    text-align: center;
}

.admin-page {
    width: min(1180px, 92vw);
    margin: 54px auto 88px;
}

.admin-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 18px;
    border: 1px solid #262633;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.10), transparent 34%),
        linear-gradient(180deg, #15151c, #101015);
    padding: 30px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.admin-badge {
    display: inline-flex;
    margin-bottom: 10px;
    color: #22c55e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.admin-header h1 {
    color: white;
    font-size: 2.35rem;
    margin: 0 0 8px;
}

.admin-header p {
    color: #94a3b8;
    margin: 0;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.admin-metrics div {
    background: rgba(17, 17, 22, 0.82);
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 14px;
}

.admin-metrics i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.12);
    color: #ff6b81;
    margin-bottom: 10px;
}

.admin-metrics span {
    display: block;
    color: #94a3b8;
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.admin-metrics strong {
    color: white;
    font-size: 1.35rem;
}

.admin-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(5, auto) auto;
    gap: 12px;
    margin-bottom: 16px;
    border: 1px solid #262633;
    border-radius: 8px;
    background: #111116;
    padding: 12px;
}

.admin-toolbar input {
    min-height: 46px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #111116;
    color: white;
    padding: 0 14px;
}

.admin-toolbar button {
    min-height: 46px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    color: white;
    background: #1b1b22;
    font-weight: 800;
    padding: 0 16px;
    cursor: pointer;
}

.admin-toolbar button.active {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    border-color: transparent;
}

#adminSeedBtn {
    background: #2563eb;
}

#adminClearBtn {
    background: rgba(255,71,87,0.22);
    color: #ff8c9a;
}

#adminLogoutBtn {
    background: rgba(255,71,87,0.12);
    border: 1px solid rgba(255,71,87,0.28);
    color: #ff8c9a;
}

.admin-orders-head,
.admin-order-row {
    grid-template-columns: minmax(320px, 1.8fr) 110px 190px 150px 150px 34px;
}

.admin-support-head,
.admin-support-row {
    grid-template-columns: minmax(320px, 1.6fr) minmax(180px, 0.9fr) 150px 170px 150px;
}

.admin-panel {
    overflow: hidden;
}

.admin-order-row select,
.admin-support-row select {
    min-height: 38px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #0d0d12;
    color: #fff;
    padding: 0 10px;
}

.admin-support-row small {
    display: block;
    color: #94a3b8;
    margin-top: 5px;
    line-height: 1.35;
}

.admin-dispute-controls {
    display: grid;
    gap: 8px;
}

.admin-dispute-actions {
    display: flex;
    gap: 6px;
}

.admin-dispute-actions button {
    min-height: 32px;
    padding: 0 9px;
    border: 1px solid #d2d9e4;
    border-radius: 4px;
    background: #fff;
    color: #172033;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
}

.admin-dispute-actions button:first-child {
    border-color: #e4c2c0;
    color: #c83d39;
}

.admin-dispute-actions button:last-child {
    border-color: #bfcdfc;
    color: #315be0;
}

.admin-expanded-card {
    padding: 0 18px 18px;
    background: #1a1a21;
}

.admin-expanded-details {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    border: 1px solid #2a2a34;
    border-radius: 8px;
    background: #111116;
}

.admin-expanded-details img {
    width: 92px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 18px;
}

.admin-detail-grid span {
    display: block;
    color: #94a3b8;
    font-size: 0.82rem;
    margin-bottom: 4px;
}

.admin-detail-grid strong {
    color: white;
    font-size: 0.92rem;
    word-break: break-word;
}

.admin-notes {
    grid-column: span 3;
}

.admin-control-grid {
    display: grid;
    grid-template-columns: 220px 220px auto;
    gap: 12px;
    align-items: end;
    margin-top: 12px;
}

.admin-control-grid label {
    color: #94a3b8;
    font-size: 0.86rem;
    font-weight: 700;
}

.admin-control-grid select {
    width: 100%;
    min-height: 40px;
    margin-top: 6px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #111116;
    color: white;
    padding: 0 10px;
}

.admin-control-grid a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #16a34a;
    color: white;
    font-weight: 800;
    text-decoration: none;
    padding: 0 14px;
}

.admin-control-grid button {
    min-height: 40px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-weight: 800;
    padding: 0 14px;
    cursor: pointer;
}

.admin-chat-wrap {
    margin-top: 12px;
}

.admin-products-panel {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.25fr);
    gap: 18px;
    background: transparent;
    border: none;
    overflow: visible;
}

.admin-products-panel[hidden] {
    display: none;
}

.admin-product-builder,
.admin-product-manager {
    border: 1px solid #262633;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), transparent),
        #111116;
    box-shadow: 0 18px 48px rgba(0,0,0,0.22);
    overflow: hidden;
}

.admin-product-builder-head,
.admin-product-manager-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    border-bottom: 1px solid #262633;
}

.admin-product-builder-head h2,
.admin-product-manager-head h2 {
    margin: 0 0 6px;
    color: white;
    font-size: 1.12rem;
}

.admin-product-builder-head p,
.admin-product-manager-head p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.45;
    font-size: 0.9rem;
}

.admin-product-builder-head button,
.admin-product-manager-head span {
    min-height: 38px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #1b1b22;
    color: #e5e7eb;
    font-weight: 800;
    padding: 0 12px;
    white-space: nowrap;
}

.admin-product-builder-head button {
    cursor: pointer;
}

.admin-product-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}

.admin-product-form label {
    color: #cbd5e1;
    font-size: 0.86rem;
    font-weight: 800;
}

.admin-product-form label.wide,
.admin-product-switches,
.admin-product-form button[type="submit"] {
    grid-column: 1 / -1;
}

.admin-product-form input,
.admin-product-form select,
.admin-product-form textarea {
    width: 100%;
    min-height: 44px;
    margin-top: 7px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #0d0d12;
    color: white;
    padding: 0 12px;
}

.admin-product-form textarea {
    min-height: 86px;
    resize: vertical;
    padding-top: 11px;
}

.admin-image-upload {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    border: 1px solid #2d2d38;
    border-radius: 10px;
    background: #111118;
    padding: 12px;
}

.admin-image-upload label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 40px;
    border-radius: 8px;
    background: #ff4757;
    color: #fff;
    padding: 0 14px;
    cursor: pointer;
}

.admin-image-upload input[type="file"] {
    min-height: auto;
    margin: 0;
    padding: 8px;
}

.admin-image-upload img {
    width: min(260px, 100%);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #08080c;
}

.admin-product-switches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.admin-product-switches label {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #15151c;
    padding: 0 12px;
}

.admin-product-switches input {
    width: auto;
    min-height: auto;
    margin: 0;
    accent-color: #ff4757;
}

.admin-product-form button[type="submit"] {
    min-height: 50px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    font-weight: 900;
    cursor: pointer;
}

.admin-product-list {
    display: grid;
}

.admin-product-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 128px;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #262633;
}

.admin-product-item:last-child {
    border-bottom: none;
}

.admin-product-item:hover {
    background: #1a1a21;
}

.admin-product-item img {
    width: 96px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #2d2d38;
    background: #0d0d12;
}

.admin-seller-application-item {
    grid-template-columns: minmax(0, 1fr) 142px;
}

.admin-seller-application-item .admin-product-main {
    min-width: 0;
}

.admin-product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-product-title-row a {
    color: white;
    font-weight: 900;
    text-decoration: none;
    line-height: 1.35;
}

.admin-product-title-row span {
    color: #22c55e;
    font-weight: 900;
    white-space: nowrap;
}

.admin-product-main p {
    margin: 7px 0 10px;
    color: #94a3b8;
    line-height: 1.45;
    font-size: 0.9rem;
}

.admin-product-meta,
.admin-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-product-meta span,
.admin-product-badges em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #181820;
    color: #cbd5e1;
    padding: 6px 9px;
    font-size: 0.78rem;
    font-style: normal;
}

.admin-product-badges {
    margin-top: 9px;
}

.admin-product-badges em {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font-weight: 900;
}

.admin-product-badges em.muted {
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
}

.admin-product-actions {
    display: grid;
    gap: 9px;
}

.admin-product-actions button {
    min-height: 36px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #1b1b22;
    color: white;
    font-weight: 800;
    cursor: pointer;
}

.admin-product-actions button:first-child {
    background: #2563eb;
    border-color: transparent;
}

.admin-product-actions button.danger {
    background: rgba(255, 71, 87, 0.13);
    color: #ff8c9a;
    border-color: rgba(255, 71, 87, 0.28);
}

.admin-product-actions button:disabled {
    cursor: default;
    opacity: 0.65;
}

@media (max-width: 980px) {
    .admin-products-panel {
        grid-template-columns: 1fr;
    }

    .admin-product-item {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .admin-seller-application-item {
        grid-template-columns: 1fr;
    }

    .admin-product-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-product-form,
    .admin-product-switches {
        grid-template-columns: 1fr;
    }

    .admin-product-builder-head,
    .admin-product-manager-head,
    .admin-product-title-row {
        display: grid;
    }

    .admin-product-actions {
        grid-template-columns: 1fr;
    }
}

/* Admin product manager redesign */
.admin-console-body #productsPanel.admin-products-panel:not([hidden]) {
    display: block;
    background: transparent;
    border: 0;
    overflow: visible;
}

.admin-console-body #productsPanel.admin-products-panel[hidden] {
    display: none;
}

.admin-console-body #productsPanel .admin-product-manager {
    width: 100%;
    border: 1px solid #d8dde6;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

#productsPanel .admin-product-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(5, minmax(132px, 0.72fr)) auto auto;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #e4e8ef;
    background: #f8fafc;
    padding: 12px 14px;
}

#productsPanel .admin-product-toolbar select,
#productsPanel .admin-product-toolbar button,
#productsPanel .admin-product-search {
    min-height: 38px;
    border: 1px solid #d3d9e3;
    border-radius: 6px;
    background: #fff;
    color: #273449;
    font: inherit;
}

#productsPanel .admin-product-toolbar select {
    min-width: 0;
    padding: 0 10px;
}

#productsPanel .admin-product-search {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
}

#productsPanel .admin-product-search i {
    color: #7b8799;
    text-align: center;
}

#productsPanel .admin-product-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #172033;
    font: inherit;
}

#productsPanel .admin-product-toolbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

#productsPanel .admin-product-toolbar button:last-child {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

#productsPanel .admin-product-list-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 136px;
    gap: 14px;
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
    color: #69768d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    padding: 10px 18px 10px 130px;
}

.admin-console-body #productsPanel .admin-product-item {
    grid-template-columns: 96px minmax(0, 1fr) 150px 136px;
    align-items: start;
    gap: 18px;
    min-width: 0;
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
    padding: 16px 18px;
}

.admin-console-body #productsPanel .admin-product-item:hover {
    background: #f8faff;
}

.admin-console-body #productsPanel .admin-product-item.is-hidden {
    background: #fbfcfe;
}

.admin-console-body #productsPanel .admin-product-item img {
    width: 96px;
    height: 76px;
    border: 1px solid #dce2eb;
    border-radius: 8px;
    background: #f3f6fb;
}

#productsPanel .admin-product-main {
    min-width: 0;
}

.admin-console-body #productsPanel .admin-product-title-row {
    display: block;
}

.admin-console-body #productsPanel .admin-product-title-row a {
    display: -webkit-box;
    overflow: hidden;
    color: #172033;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.admin-console-body #productsPanel .admin-product-main p {
    display: -webkit-box;
    overflow: hidden;
    margin: 6px 0 10px;
    color: #63718a;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.admin-console-body #productsPanel .admin-product-meta,
.admin-console-body #productsPanel .admin-product-badges {
    gap: 6px;
}

.admin-console-body #productsPanel .admin-product-meta span,
.admin-console-body #productsPanel .admin-product-badges em {
    min-height: 24px;
    border: 1px solid #e3e8f0;
    border-radius: 999px;
    background: #f7f9fc;
    color: #4f5f77;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 800;
}

.admin-console-body #productsPanel .admin-product-badges em.active {
    border-color: #bfe5cc;
    background: #eefaf3;
    color: #197445;
}

.admin-console-body #productsPanel .admin-product-badges em.pending {
    border-color: #d8c9ff;
    background: #f4f0ff;
    color: #5b43a8;
}

.admin-console-body #productsPanel .admin-product-badges em.rejected,
.admin-console-body #productsPanel .admin-product-badges em.warning {
    border-color: #f5c4ca;
    background: #fff1f3;
    color: #a13848;
}

.admin-console-body #productsPanel .admin-product-badges em.featured,
.admin-console-body #productsPanel .admin-product-badges em.new {
    border-color: #f3d492;
    background: #fff8e7;
    color: #8a5c00;
}

.admin-console-body #productsPanel .admin-product-badges em.muted {
    border-color: #d9e0ea;
    background: #f4f6f9;
    color: #64748b;
}

#productsPanel .admin-product-seller-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    margin-top: 10px;
    color: #64748b;
    font-size: 12px;
}

#productsPanel .admin-product-seller-line strong {
    color: #1f2b3d;
}

#productsPanel .admin-product-seller-line em {
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-style: normal;
    font-weight: 900;
    padding: 3px 7px;
}

#productsPanel .admin-product-seller-line em.verified {
    background: #eefaf3;
    color: #197445;
}

#productsPanel .admin-product-seller-line small {
    color: #7b8799;
}

#productsPanel .admin-product-extra {
    margin-top: 10px;
    color: #5f6e84;
    font-size: 12px;
}

#productsPanel .admin-product-extra summary {
    cursor: pointer;
    font-weight: 900;
}

#productsPanel .admin-product-extra dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin: 10px 0 0;
}

#productsPanel .admin-product-extra dt {
    color: #7b8799;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

#productsPanel .admin-product-extra dd {
    margin: 2px 0 0;
    color: #223047;
    word-break: break-word;
}

#productsPanel .admin-product-extra .admin-product-detail-full {
    grid-column: 1 / -1;
}

#productsPanel .admin-product-extra .admin-product-description-detail dd {
    max-width: 100%;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
}

#productsPanel .admin-product-side {
    display: grid;
    justify-items: end;
    gap: 5px;
    text-align: right;
}

#productsPanel .admin-product-side strong {
    color: #172033;
    font-size: 15px;
    font-weight: 950;
    white-space: nowrap;
}

#productsPanel .admin-product-side span,
#productsPanel .admin-product-side em {
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
}

#productsPanel .admin-product-side em {
    font-weight: 900;
}

.admin-console-body #productsPanel .admin-product-actions {
    display: grid;
    gap: 8px;
}

.admin-console-body #productsPanel .admin-product-actions button,
.admin-console-body #productsPanel .admin-product-actions a {
    min-height: 34px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #d3d9e3;
    border-radius: 6px;
    background: #fff;
    color: #354257;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    padding: 0 8px;
}

.admin-console-body #productsPanel .admin-product-actions button:first-child,
.admin-console-body #productsPanel .admin-product-actions a {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.admin-console-body #productsPanel .admin-product-actions button.danger {
    border-color: #f0c0c7;
    background: #fff4f5;
    color: #a13848;
}

.admin-console-body #productsPanel .admin-product-builder {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 5200;
    width: min(680px, 100vw);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    border: 0;
    border-left: 1px solid #d8dde6;
    border-radius: 0;
    background: #fff;
    box-shadow: -20px 0 44px rgba(15, 23, 42, 0.20);
    transform: translateX(100%);
    transition: transform 180ms ease;
    visibility: hidden;
    pointer-events: none;
}

.admin-console-body #productsPanel .admin-product-builder.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

#productsPanel .admin-product-editor-head-actions {
    display: inline-flex;
    gap: 8px;
}

#productsPanel .admin-product-editor-head-actions button {
    min-width: 38px;
}

.admin-console-body #productsPanel .admin-product-builder-head {
    flex: 0 0 auto;
}

.admin-console-body #productsPanel .admin-product-form {
    flex: 1 1 auto;
    overflow-y: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    background: #fff;
}

#productsPanel .admin-product-form-section {
    border-top: 1px solid #e4e8ef;
    color: #1f2b3d;
    font-size: 12px;
    font-weight: 950;
    padding-top: 8px;
    text-transform: uppercase;
}

.admin-console-body #productsPanel .admin-product-form button[type="submit"] {
    border-radius: 6px;
    background: #2563eb;
}

@media (max-width: 1220px) {
    #productsPanel .admin-product-toolbar {
        grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(132px, 1fr));
    }
}

@media (max-width: 980px) {
    #productsPanel .admin-product-list-head {
        display: none;
    }

    .admin-console-body #productsPanel .admin-product-item {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    #productsPanel .admin-product-side,
    .admin-console-body #productsPanel .admin-product-actions {
        grid-column: 1 / -1;
        justify-items: stretch;
        text-align: left;
    }

    .admin-console-body #productsPanel .admin-product-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    #productsPanel .admin-product-toolbar {
        grid-template-columns: 1fr;
    }

    .admin-console-body #productsPanel .admin-product-item {
        grid-template-columns: 1fr;
    }

    .admin-console-body #productsPanel .admin-product-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .admin-console-body #productsPanel .admin-product-actions,
    #productsPanel .admin-product-extra dl,
    .admin-console-body #productsPanel .admin-product-form {
        grid-template-columns: 1fr;
    }
}

/* Admin game catalog manager */
.admin-console-body #gamesPanel.admin-games-panel:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    background: transparent;
    border: 0;
    overflow: visible;
}

.admin-console-body #gamesPanel.admin-games-panel[hidden] {
    display: none;
}

.admin-console-body #gamesPanel .admin-game-manager,
.admin-console-body #gamesPanel .admin-product-manager {
    width: 100%;
    border: 1px solid #d8dde6;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.admin-console-body #gamesPanel .admin-game-editor {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 5200;
    width: min(660px, 100vw);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    border: 0;
    border-left: 1px solid #d8dde6;
    border-radius: 0;
    background: #fff;
    box-shadow: -20px 0 44px rgba(15, 23, 42, 0.20);
    transform: translateX(100%);
    transition: transform 180ms ease;
    visibility: hidden;
    pointer-events: none;
}

.admin-console-body #gamesPanel .admin-game-editor.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.admin-console-body #gamesPanel .admin-game-editor .admin-product-form {
    flex: 1 1 auto;
    overflow-y: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    background: #fff;
}

#gamesPanel .admin-product-form-section {
    border-top: 1px solid #e4e8ef;
    color: #1f2b3d;
    font-size: 12px;
    font-weight: 950;
    padding-top: 8px;
    text-transform: uppercase;
}

#gamesPanel .admin-product-editor-head-actions {
    display: inline-flex;
    gap: 8px;
}

#gamesPanel .admin-game-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1.3fr) repeat(4, minmax(132px, 0.7fr)) auto auto;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #e4e8ef;
    background: #f8fafc;
    padding: 12px 14px;
}

#gamesPanel .admin-game-toolbar select,
#gamesPanel .admin-game-toolbar button,
#gamesPanel .admin-product-search {
    min-height: 38px;
    border: 1px solid #d3d9e3;
    border-radius: 6px;
    background: #fff;
    color: #273449;
    font: inherit;
}

#gamesPanel .admin-game-toolbar select {
    min-width: 0;
    padding: 0 10px;
}

#gamesPanel .admin-product-search {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
}

#gamesPanel .admin-product-search i {
    color: #7b8799;
    text-align: center;
}

#gamesPanel .admin-product-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #172033;
    font: inherit;
}

#gamesPanel .admin-game-toolbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

#gamesPanel .admin-game-toolbar button:last-child {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

#gamesPanel .admin-game-list-head,
#gamesPanel .admin-game-row {
    display: grid;
    grid-template-columns: minmax(230px, 0.9fr) minmax(0, 1.4fr) 120px 136px;
    gap: 16px;
    align-items: center;
}

#gamesPanel .admin-game-list-head {
    border-bottom: 1px solid #e4e8ef;
    color: #69768d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    padding: 10px 18px;
}

#gamesPanel .admin-game-row {
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
    padding: 16px 18px;
}

#gamesPanel .admin-game-row:last-child {
    border-bottom: 0;
}

#gamesPanel .admin-game-row:hover {
    background: #f8faff;
}

#gamesPanel .admin-game-row.is-muted {
    background: #fbfcfe;
}

#gamesPanel .admin-game-identity {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
}

#gamesPanel .admin-game-identity img,
#gamesPanel .admin-game-identity > span {
    width: 56px;
    height: 56px;
    border: 1px solid #dce2eb;
    border-radius: 8px;
    background: #f3f6fb;
    object-fit: cover;
}

#gamesPanel .admin-game-identity > span {
    display: grid;
    place-items: center;
    color: #64748b;
}

#gamesPanel .admin-game-identity strong {
    display: -webkit-box;
    overflow: hidden;
    color: #172033;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

#gamesPanel .admin-game-identity small {
    display: block;
    margin-top: 3px;
    color: #7b8799;
    font-size: 12px;
    word-break: break-word;
}

#gamesPanel .admin-game-statuses,
#gamesPanel .admin-game-chipline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

#gamesPanel .admin-game-statuses em,
#gamesPanel .admin-game-chipline span,
#gamesPanel .admin-game-chipline em {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #e3e8f0;
    border-radius: 999px;
    background: #f7f9fc;
    color: #4f5f77;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    padding: 0 8px;
}

#gamesPanel .admin-game-statuses em.available {
    border-color: #bfe5cc;
    background: #eefaf3;
    color: #197445;
}

#gamesPanel .admin-game-statuses em.hidden {
    border-color: #d9e0ea;
    background: #f4f6f9;
    color: #64748b;
}

#gamesPanel .admin-game-statuses em.coming {
    border-color: #d8c9ff;
    background: #f4f0ff;
    color: #5b43a8;
}

#gamesPanel .admin-game-statuses em.hot {
    border-color: #f3d492;
    background: #fff8e7;
    color: #8a5c00;
}

#gamesPanel .admin-game-catalog {
    display: grid;
    gap: 7px;
    min-width: 0;
}

#gamesPanel .admin-game-catalog label {
    color: #7b8799;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

#gamesPanel .admin-game-offers {
    display: grid;
    justify-items: end;
    gap: 3px;
    color: #64748b;
    text-align: right;
}

#gamesPanel .admin-game-offers strong {
    color: #172033;
    font-size: 18px;
    font-weight: 950;
}

#gamesPanel .admin-game-offers span,
#gamesPanel .admin-game-offers small {
    font-size: 12px;
}

#gamesPanel .admin-game-actions {
    display: grid;
    gap: 8px;
}

#gamesPanel .admin-game-actions button {
    min-height: 34px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #d3d9e3;
    border-radius: 6px;
    background: #fff;
    color: #354257;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    padding: 0 8px;
}

#gamesPanel .admin-game-actions button:first-child {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

#gamesPanel .admin-game-name-field {
    position: relative;
}

#gamesPanel .admin-game-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 5300;
    max-height: 230px;
    overflow: auto;
    border: 1px solid #d3d9e3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
    padding: 6px;
}

#gamesPanel .admin-game-suggestions[hidden] {
    display: none;
}

#gamesPanel .admin-game-suggestions button {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #273449;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    padding: 0 10px;
}

#gamesPanel .admin-game-suggestions button:hover {
    background: #f1f5fb;
}

@media (max-width: 1220px) {
    #gamesPanel .admin-game-toolbar {
        grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(132px, 1fr));
    }
}

@media (max-width: 980px) {
    #gamesPanel .admin-game-list-head {
        display: none;
    }

    #gamesPanel .admin-game-row {
        grid-template-columns: 1fr 120px;
    }

    #gamesPanel .admin-game-catalog,
    #gamesPanel .admin-game-actions {
        grid-column: 1 / -1;
    }

    #gamesPanel .admin-game-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    #gamesPanel .admin-game-toolbar,
    #gamesPanel .admin-game-row,
    .admin-console-body #gamesPanel .admin-game-editor .admin-product-form {
        grid-template-columns: 1fr;
    }

    #gamesPanel .admin-game-offers {
        justify-items: start;
        text-align: left;
    }
}

/* Marketplace discovery/category/product refinements */
@media (max-width: 768px) {
    .game-category-grid,
    .product-info-list {
        grid-template-columns: 1fr;
    }

    .search-category-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .search-category-strip a {
        min-height: 68px;
    }
}

.order-chat-box {
    margin-top: 14px;
    border: 1px solid #2a2a34;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent),
        #111116;
    overflow: hidden;
}

.order-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 16px;
    border-bottom: 1px solid #262633;
}

.order-chat-head strong {
    display: block;
    color: white;
    margin-bottom: 3px;
}

.order-chat-head span {
    color: #94a3b8;
    font-size: 0.86rem;
}

.order-chat-head em {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    padding: 6px 10px;
    font-style: normal;
    font-size: 0.76rem;
    font-weight: 900;
}

.order-chat-messages {
    display: grid;
    align-content: start;
    align-items: start;
    gap: 4px;
    max-height: 390px;
    overflow: auto;
    padding: 18px 20px;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 71, 87, 0.07), transparent 28%),
        radial-gradient(circle at 88% 76%, rgba(91, 141, 219, 0.05), transparent 30%),
        linear-gradient(180deg, #0d1119, #090d14);
}

.order-chat-date {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px 0 8px;
}

.order-chat-date:first-child {
    margin-top: 0;
}

.order-chat-date span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    background: rgba(20, 26, 38, 0.92);
    color: #9fb0c8;
    padding: 0 11px;
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.22);
}

.order-chat-empty {
    min-height: 210px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #94a3b8;
    margin: 0;
    text-align: center;
}

.order-chat-empty i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 71, 87, 0.12);
    color: #ff6b81;
}

.order-chat-empty strong {
    color: #fff;
}

.order-chat-message {
    position: relative;
    width: fit-content;
    max-width: min(72%, 520px);
    align-self: start;
    padding: 9px 11px 7px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.order-chat-message.admin {
    justify-self: start;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-top-left-radius: 4px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 60%),
        #171d29;
}

.order-chat-message.support {
    justify-self: start;
    border: 1px solid rgba(59, 130, 246, 0.34);
    border-top-left-radius: 4px;
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.18), transparent 58%),
        #111827;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 26px rgba(15, 23, 42, 0.22);
}

.order-chat-message.customer {
    justify-self: end;
    border: 1px solid rgba(255, 91, 116, 0.42);
    border-top-right-radius: 4px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 58%),
        linear-gradient(135deg, rgba(190, 43, 70, 0.94), rgba(139, 31, 53, 0.94));
    backdrop-filter: blur(14px) saturate(125%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 24px rgba(90, 12, 29, 0.2);
}

.order-chat-message strong {
    display: none;
}

.order-chat-message.support strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 5px;
    color: #93c5fd;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0;
}

.order-chat-message.support strong i {
    color: #60a5fa;
    font-size: 0.7rem;
}

.order-chat-message p {
    color: #f1f5f7;
    margin: 0;
    padding-right: 44px;
    line-height: 1.38;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.order-chat-message span {
    position: absolute;
    right: 8px;
    bottom: 5px;
    color: rgba(226, 235, 242, 0.62);
    font-size: 0.62rem;
    line-height: 1;
}

.order-chat-compose {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 8px;
    align-items: center;
    padding: 9px 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
        #111620;
}

.order-chat-compose textarea {
    height: 38px;
    min-height: 38px;
    max-height: 90px;
    resize: none;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 9px;
    outline: 0;
    background: #0c111a;
    color: white;
    padding: 9px 12px;
}

.order-chat-compose textarea:focus {
    border-color: rgba(255, 71, 87, 0.58);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.09);
}

.order-chat-compose button {
    width: 32px;
    height: 32px;
    min-height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #ff6577;
    font-weight: 800;
    padding: 0;
    cursor: pointer;
    box-shadow: none;
}

.order-chat-attach {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #aebed0;
    cursor: pointer;
}

.order-chat-attach:hover {
    background: rgba(255, 71, 87, 0.08);
    color: #ff7180;
}

.order-chat-attach input {
    display: none;
}

.order-chat-attachment {
    display: block;
    padding: 0;
    overflow: hidden;
    margin-bottom: 6px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: zoom-in;
}

.order-chat-attachment img,
.order-chat-attachment video {
    display: block;
    width: min(320px, 100%);
    max-height: 260px;
    border-radius: 8px;
    object-fit: cover;
}

.order-chat-message:has(.order-chat-attachment) {
    padding: 5px 5px 18px;
}

.order-chat-context {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 8px 0;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-left: 4px solid #ff526c;
    border-radius: 5px;
    background: rgba(20, 26, 36, 0.82);
    color: #dce5eb;
}

.order-chat-context > i {
    color: #ff6b81;
}

.order-chat-context strong {
    color: #fff;
    font-size: 0.78rem;
}

.order-chat-context p {
    margin: 2px 0 0;
    color: #aebdc6;
    font-size: 0.76rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

.order-chat-context a {
    color: #ff7187;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.order-chat-compose button:hover {
    background: rgba(255, 71, 87, 0.08);
    filter: none;
    transform: none;
}

.admin-chat-messages .order-chat-message.admin {
    align-self: flex-start;
}

.admin-chat-messages .order-chat-message.customer {
    align-self: flex-end;
}

.admin-chat-messages .order-chat-date {
    align-self: stretch;
}

.chat-focus-body {
    position: fixed;
    inset: 0;
    width: 100%;
    padding: 0;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    overflow: hidden;
    background: #090d14;
    line-height: 1.5;
}

html:has(body.chat-focus-body) {
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    scrollbar-gutter: auto;
}

body.chat-focus-body > #navbar,
body.chat-focus-body > .navbar {
    display: none !important;
    min-height: 0 !important;
}

body.chat-focus-body > .chat-workspace {
    margin: 0;
}

.chat-focus-page {
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: #090d14;
}

.chat-focus-head {
    height: 72px;
    min-height: 72px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.12), transparent 42%),
        linear-gradient(180deg, #171d29, #121722);
}

.chat-focus-head > button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #dce6ea;
    cursor: pointer;
}

.chat-focus-head > button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.chat-focus-head > .chat-mobile-back,
.chat-workspace-orders-head > .chat-mobile-orders-close,
.chat-focus-actions > .chat-order-history-btn {
    display: none;
}

.chat-focus-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(255, 71, 87, 0.34);
    background: linear-gradient(135deg, #ff4757, #8f2538);
    color: #fff;
    font-weight: 900;
}

.chat-focus-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-focus-profile {
    grid-column: 1 / 3;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-self: center;
    align-items: center;
    gap: 12px;
    cursor: default;
    color: inherit;
    text-decoration: none;
}

.chat-focus-head > div:not(.chat-focus-profile):not(.chat-focus-actions) {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.chat-focus-head small,
.chat-focus-head span {
    overflow: hidden;
    color: #9fb0b9;
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-focus-head strong {
    overflow: hidden;
    color: #f3f7f8;
    font-size: 0.96rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-focus-head em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7ee7b4;
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 800;
}

.chat-focus-head em i {
    font-size: 0.5rem;
}

.chat-focus-head > .chat-focus-actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.chat-focus-actions button {
    width: 34px;
    height: 34px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #dbe5ee;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 850;
    cursor: pointer;
}

.chat-search-toggle {
    padding: 0;
}

.chat-report-btn {
    padding: 0;
}

.chat-focus-actions .chat-refresh-btn {
    display: none;
}

.chat-refresh-btn.is-refreshing i {
    animation: chatRefreshSpin 0.72s linear infinite;
}

@keyframes chatRefreshSpin {
    to {
        transform: rotate(360deg);
    }
}

.chat-focus-actions button:hover,
.chat-report-btn:hover {
    background: rgba(255, 71, 87, 0.1);
    color: #ff7180;
}

.chat-message-search {
    width: 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    opacity: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #0c111a;
    transition: width 180ms ease, opacity 180ms ease, padding 180ms ease;
}

.chat-message-search.is-open {
    width: min(260px, 28vw);
    opacity: 1;
    border-color: rgba(255, 71, 87, 0.28);
    padding: 0 10px;
}

.chat-message-search i {
    color: #ff6577;
    font-size: 0.76rem;
}

.chat-message-search input {
    width: 100%;
    min-width: 0;
    height: 36px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.76rem;
}

.order-chat-message[hidden],
.order-chat-date[hidden] {
    display: none;
}

.chat-focus-conversation,
.chat-focus-conversation .order-chat-box {
    min-height: 0;
    height: 100%;
}

.chat-focus-conversation .order-chat-box {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    margin: 0;
    border: 0;
    border-radius: 0;
}

.chat-focus-conversation .order-chat-head {
    display: none;
}

.chat-focus-conversation .order-chat-messages {
    max-height: none;
    min-height: 0;
    overflow-y: auto;
}

.chat-focus-conversation .order-chat-compose {
    position: relative;
}

@media screen and (max-width: 620px) {
    .chat-focus-head {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding-inline: 8px 12px;
    }

    .chat-focus-head em {
        display: none;
    }

    .chat-focus-conversation .order-chat-messages {
        padding: 14px 10px;
    }
}

.chat-workspace {
    --chat-toolbar-row: 68px;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
    display: grid;
    grid-template-columns: 410px minmax(460px, 1fr) 450px;
    overflow: hidden;
    background: #090d14;
}

.chat-workspace.is-pre-order-chat {
    grid-template-columns: 410px minmax(460px, 1fr);
}

.chat-workspace.is-pre-order-chat .chat-workspace-orders {
    display: none;
}

.chat-media-modal[hidden] {
    display: none;
}

.chat-media-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 32px;
}

.chat-media-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 11, 0.9);
    backdrop-filter: blur(12px);
}

.chat-media-stage {
    position: relative;
    z-index: 1;
    max-width: min(1100px, 92vw);
    max-height: 88vh;
}

.chat-media-stage img,
.chat-media-stage video {
    display: block;
    max-width: 100%;
    max-height: 88vh;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.chat-media-close {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: #151b26;
    color: #fff;
    cursor: pointer;
}

.chat-workspace-sidebar,
.chat-workspace-orders,
.chat-workspace-main {
    min-width: 0;
    min-height: 0;
}

.chat-workspace-sidebar,
.chat-workspace-orders {
    height: 100%;
    max-height: 100%;
    display: grid;
    grid-template-rows: auto var(--chat-toolbar-row) minmax(0, 1fr);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent),
        #101620;
}

.chat-workspace-sidebar {
    --conversation-pull: 0px;
    position: relative;
    border-right: 1px solid rgba(148, 163, 184, 0.16);
}

.chat-workspace-orders {
    border-left: 1px solid rgba(148, 163, 184, 0.16);
}

.chat-workspace-main {
    height: 100%;
    max-height: 100%;
    display: grid;
    grid-template-rows: 72px var(--chat-toolbar-row) minmax(0, 1fr);
    overflow: hidden;
}

.chat-workspace.is-safety-hidden .chat-workspace-main {
    grid-template-rows: 72px minmax(0, 1fr);
}

.chat-workspace-sidebar-head,
.chat-workspace-orders-head {
    height: 72px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.12), transparent 46%),
        linear-gradient(180deg, #181e2a, #131924);
}

.chat-workspace-sidebar-head {
    justify-content: flex-start;
    gap: 8px;
}

.chat-pull-refresh-indicator {
    position: absolute;
    top: 78px;
    left: 50%;
    z-index: 8;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 71, 87, 0.28);
    border-radius: 50%;
    background: rgba(12, 17, 26, 0.92);
    color: #ff7180;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
    transform: translate(-50%, calc(-44px + var(--conversation-pull)));
    transition: opacity 0.16s ease, transform 0.18s ease, border-color 0.16s ease, color 0.16s ease;
}

.chat-pull-refresh-indicator.is-visible {
    opacity: 1;
}

.chat-pull-refresh-indicator.is-ready {
    border-color: rgba(34, 197, 94, 0.46);
    color: #22e676;
}

.chat-pull-refresh-indicator.is-refreshing i {
    animation: chatRefreshSpin 0.72s linear infinite;
}

.chat-workspace-brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.chat-workspace-sidebar-head h1,
.chat-workspace-orders-head h2 {
    margin: 0;
    color: #f4f7f8;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.chat-workspace-sidebar-head h1 {
    position: relative;
    width: max-content;
    font-size: 1.22rem;
    text-shadow: 0 0 22px rgba(255, 71, 87, 0.16);
}

.chat-workspace-sidebar-head h1::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff4757, #ff8a9b);
    box-shadow: 0 0 12px rgba(255, 71, 87, 0.4);
}

.chat-workspace-sidebar-head > div,
.chat-workspace-orders-head > div {
    display: grid;
    gap: 4px;
}

.chat-workspace-sidebar-head small,
.chat-workspace-orders-head small {
    color: #ff6b81;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chat-workspace-sidebar-head small {
    display: inline-flex;
    width: max-content;
    border: 1px solid rgba(255, 71, 87, 0.18);
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.08);
    padding: 3px 7px;
}

.chat-workspace-orders-head h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chat-workspace-sidebar-head button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(255, 255, 255, 0.035);
    color: #dce5e9;
    cursor: pointer;
}

.chat-workspace-orders-head > .chat-mobile-orders-close {
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    color: #dce5e9;
    cursor: pointer;
}

.chat-workspace-search {
    position: relative;
    height: var(--chat-toolbar-row);
    display: block;
    box-sizing: border-box;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.11);
}

.chat-workspace-search i {
    position: absolute;
    top: 50%;
    left: 27px;
    color: #8698a2;
    transform: translateY(-50%);
}

.chat-workspace-search input {
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 8px;
    outline: 0;
    background: #0c111a;
    color: #e8eef1;
    padding: 0 12px 0 38px;
}

.chat-workspace-list,
.chat-workspace-order-list {
    min-height: 0;
    overflow-y: auto;
}

.chat-workspace-order-list {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 12px;
}

.chat-workspace-item {
    width: 100%;
    min-height: 72px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    background: transparent;
    color: inherit;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
}

.chat-workspace-item:hover,
.chat-workspace-item.active {
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.1), transparent 78%),
        rgba(255, 255, 255, 0.025);
}

.chat-workspace-item.unread {
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.2), rgba(20, 27, 39, 0.8) 72%),
        rgba(255, 255, 255, 0.035);
    box-shadow: inset 4px 0 0 #ff4757;
}

.chat-workspace-item.active {
    box-shadow: inset 3px 0 0 #ff5265;
}

.chat-workspace-item.active.unread {
    box-shadow: inset 4px 0 0 #ff5265;
}

.chat-workspace-item > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 71, 87, 0.28);
    background: linear-gradient(135deg, #ff4757, #87263a);
    color: #fff;
    font-weight: 900;
}

.chat-workspace-item > span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-workspace-item.support-home {
    grid-template-columns: 52px minmax(0, 1fr);
}

.chat-workspace-item.support-home > span {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.chat-workspace-item.support-home > span img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 0 8px rgba(255, 71, 87, 0.32));
}

.chat-workspace-item div {
    min-width: 0;
}

.chat-thread-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.chat-workspace-item strong,
.chat-workspace-item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-workspace-item strong {
    color: #eef4f6;
    font-size: 0.82rem;
}

.chat-workspace-item.unread strong {
    color: #fff;
}

.chat-workspace-item small {
    color: #91a2ab;
    font-size: 0.68rem;
}

.chat-workspace-item.unread small {
    color: #d7e3ec;
    font-weight: 800;
}

.chat-workspace-item small {
    margin-top: 5px;
}

.chat-thread-title em {
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ff4757;
    color: #fff;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    padding: 0 6px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 8px 20px rgba(255, 71, 87, 0.28);
}

.chat-workspace-main .chat-focus-head {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.chat-safety-note {
    position: relative;
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: visible;
    margin: 0;
    padding: 9px 40px 9px 14px;
    border: 1px solid rgba(255, 71, 87, 0.2);
    border-left: 3px solid #ff5265;
    border-radius: 7px;
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.08), transparent),
        rgba(14, 19, 28, 0.78);
    color: #b9c7cf;
    font-size: 0.78rem;
    line-height: 1.35;
}

.chat-safety-note i {
    flex: 0 0 auto;
    color: #ff6577;
}

.chat-safety-note span {
    min-width: 0;
}

.chat-safety-close {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9fb0b9;
    cursor: pointer;
    transform: translateY(-50%);
}

.chat-safety-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.chat-safety-close i {
    margin: 0;
    color: inherit;
    font-size: 0.75rem;
}

.chat-workspace-main > .chat-safety-note {
    margin: 0;
    border-radius: 0;
}

.chat-conversation-safety-note {
    display: none;
}

.chat-workspace-main .chat-focus-conversation {
    padding-top: 0;
}

.chat-workspace-order {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 9px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent),
        #111722;
    cursor: pointer;
}

.chat-workspace-order.active {
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.06), transparent),
        rgba(255, 255, 255, 0.018);
    box-shadow: inset 2px 0 0 #ff5265;
}

.chat-workspace-order > div,
.chat-workspace-order footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.chat-workspace-order strong,
.chat-workspace-order b {
    color: #f1f5f7;
    font-size: 0.78rem;
}

.chat-order-id-link,
.chat-order-offer-link {
    overflow: hidden;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.35;
    text-decoration: none;
    text-overflow: ellipsis;
}

.chat-order-id-link:hover,
.chat-order-offer-link:hover {
    color: #ff7180;
}

.chat-order-offer-link {
    color: #9fb8d8;
    font-size: 0.68rem;
}

.chat-workspace-order span {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background: #080b10;
    color: #fff;
    padding: 0 8px;
    font-size: 0.64rem;
    font-weight: 800;
}

.chat-workspace-order .chat-order-kind {
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, 0.28);
    background: rgba(22, 101, 52, 0.22);
}

.chat-workspace-order.sold .chat-order-kind {
    color: #bae6fd;
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(14, 116, 144, 0.20);
}

.chat-workspace-order small,
.chat-workspace-order p {
    color: #91a4ae;
    font-size: 0.68rem;
}

.chat-workspace-order p {
    margin: 0;
    line-height: 1.35;
}

.chat-workspace-order dl {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 4px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.chat-workspace-order dl div {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
}

.chat-workspace-order dt {
    color: #71859b;
    font-size: 0.56rem;
    font-weight: 850;
    text-transform: uppercase;
}

.chat-workspace-order dd {
    overflow: hidden;
    margin: 0;
    color: #dce6f2;
    font-size: 0.64rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-workspace-empty {
    padding: 20px;
    display: grid;
    justify-items: center;
    gap: 10px;
    color: #91a4ae;
    font-size: 0.78rem;
    text-align: center;
}

.chat-state-action {
    min-height: 34px;
    border: 1px solid rgba(255, 71, 87, 0.35);
    border-radius: 7px;
    background: rgba(255, 71, 87, 0.12);
    color: #fff;
    padding: 0 14px;
    font-size: 0.76rem;
    font-weight: 850;
    cursor: pointer;
}

.chat-state-action:hover {
    border-color: rgba(255, 71, 87, 0.65);
    background: rgba(255, 71, 87, 0.2);
}

.chat-report-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.chat-report-modal[hidden] {
    display: none;
}

.chat-report-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 9, 0.82);
    backdrop-filter: blur(8px);
}

.chat-report-dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    display: grid;
    gap: 18px;
    border: 1px solid rgba(255, 71, 87, 0.28);
    border-radius: 12px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.15), transparent 38%),
        linear-gradient(180deg, #171d29, #0f141e);
    padding: 26px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
}

.chat-report-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #cbd6e4;
    cursor: pointer;
}

.chat-report-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 12px;
    background: rgba(255, 71, 87, 0.12);
    color: #ff6577;
}

.chat-report-dialog small {
    color: #ff7180;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.chat-report-dialog h2 {
    margin: 5px 0 6px;
    color: #fff;
    font-size: 1.4rem;
}

.chat-report-dialog p {
    margin: 0;
    color: #9fb0c8;
    line-height: 1.5;
}

.chat-report-dialog label {
    display: grid;
    gap: 8px;
}

.chat-report-dialog label > span {
    color: #dbe6f4;
    font-size: 0.76rem;
    font-weight: 850;
}

.chat-report-dialog select,
.chat-report-dialog textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.17);
    border-radius: 8px;
    outline: 0;
    background: #0b1018;
    color: #fff;
    padding: 11px 12px;
    font: inherit;
}

.chat-report-dialog textarea {
    min-height: 110px;
    resize: vertical;
}

.chat-report-dialog select:focus,
.chat-report-dialog textarea:focus {
    border-color: rgba(255, 71, 87, 0.58);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.09);
}

.chat-report-message {
    min-height: 20px;
    color: #ff8a99 !important;
    font-size: 0.76rem;
    font-weight: 800;
}

.chat-report-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.chat-report-actions button {
    min-height: 40px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #dce6f3;
    padding: 0 15px;
    font-weight: 850;
    cursor: pointer;
}

.chat-report-actions button[type="submit"] {
    border-color: rgba(255, 71, 87, 0.34);
    background: linear-gradient(135deg, #ff4757, #ff667a);
    color: #fff;
}

.chat-report-actions button:disabled {
    opacity: 0.55;
    cursor: wait;
}

@media screen and (max-width: 1320px) {
    .chat-workspace {
        grid-template-columns: 350px minmax(420px, 1fr);
    }

    .chat-workspace-orders {
        display: none;
    }
}

@media screen and (max-width: 720px) {
    html:has(.chat-focus-body),
    body.chat-focus-body {
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .chat-workspace {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr);
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
    }

    .chat-page,
    .chat-layout,
    .chat-container {
        width: 100%;
        margin: 0;
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .chat-messages,
    .chat-conversation-panel .order-chat-messages {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
    }

    .chat-input-bar,
    .chat-conversation-panel .order-chat-compose {
        flex-shrink: 0;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .chat-workspace-sidebar {
        display: grid;
        grid-template-rows: auto auto minmax(0, 1fr) auto;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        border-right: 0;
        overflow: hidden;
    }

    .chat-workspace-main {
        display: none;
        flex: 1 1 auto;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        grid-template-rows: 72px auto minmax(0, 1fr);
        overflow: hidden;
    }

    .chat-workspace.is-chat-open .chat-workspace-sidebar {
        display: none;
    }

    .chat-workspace.is-chat-open .chat-workspace-main {
        display: flex;
    }

    .chat-workspace-orders {
        position: fixed;
        inset: 0;
        z-index: 30;
        display: none;
        border-left: 0;
        background: #101620;
    }

    .chat-workspace.is-orders-open .chat-workspace-orders {
        display: grid;
    }

    .chat-focus-head > .chat-mobile-back,
    .chat-workspace-orders-head > .chat-mobile-orders-close,
    .chat-focus-actions > .chat-order-history-btn {
        display: inline-flex;
    }

    .chat-mobile-back,
    .chat-mobile-orders-close {
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
    }

    .chat-workspace-main > .chat-safety-note {
        display: none;
    }

    .chat-conversation-safety-note {
        display: block;
        min-height: 0;
        margin: 8px 8px 10px;
        padding: 9px 34px 9px 10px;
        align-items: flex-start;
        font-size: 0.68rem;
        line-height: 1.35;
        transition: background 160ms ease, opacity 160ms ease, border-color 160ms ease;
        will-change: opacity;
    }

    .chat-workspace.is-conversation-scrolling .chat-conversation-safety-note {
        opacity: 0.42;
        border-color: rgba(255, 71, 87, 0.12);
        background: rgba(14, 19, 28, 0.34);
    }

    .chat-conversation-safety-note .chat-safety-close {
        top: 7px;
        right: 7px;
        transform: none;
    }

    .chat-conversation-safety-note span {
        display: block;
    }

    .chat-workspace-sidebar .chat-workspace-sidebar-head,
    .chat-workspace-sidebar .chat-workspace-search,
    .chat-workspace-sidebar .chat-workspace-list {
        transform: translateY(calc(var(--conversation-pull) * 0.24));
        transition: transform 0.18s ease;
    }

    .chat-focus-actions {
        gap: 5px;
    }

    .chat-focus-head {
        height: 72px;
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .chat-focus-profile {
        grid-column: 2;
        gap: 9px;
    }

    .chat-focus-avatar {
        width: 38px;
        height: 38px;
    }

    .chat-workspace-sidebar-head,
    .chat-workspace-orders-head {
        padding-inline: 12px;
    }

    .chat-report-btn,
    .chat-refresh-btn {
        width: 38px;
        padding: 0;
        font-size: 0;
    }

    .chat-focus-actions .chat-refresh-btn {
        display: inline-flex;
    }

    .chat-focus-head .chat-refresh-btn,
    .chat-focus-head .chat-report-btn {
        display: none !important;
    }

    .chat-workspace.is-support-chat .chat-order-history-btn,
    .chat-workspace.is-support-chat .chat-report-btn {
        display: none;
    }

    .chat-order-history-btn {
        width: 38px;
        padding: 0;
        font-size: 0;
    }

    .chat-report-btn i,
    .chat-refresh-btn i {
        font-size: 0.8rem;
    }

    .chat-order-history-btn i {
        font-size: 0.86rem;
    }

    .chat-message-search.is-open {
        position: absolute;
        z-index: 4;
        top: 62px;
        right: 8px;
        width: calc(100vw - 16px);
        min-height: 42px;
        background: #111722;
    }

    .chat-report-dialog {
        padding: 22px 18px;
    }

    .chat-workspace-main .chat-focus-conversation,
    .chat-workspace-main .order-chat-box {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    .chat-workspace-main .chat-focus-conversation {
        display: flex;
        flex-direction: column;
    }

    .chat-focus-conversation .order-chat-box {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-height: 0;
    }

    .chat-focus-conversation .order-chat-messages {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-bottom: 10px;
    }

    .chat-focus-conversation .order-chat-compose {
        position: relative;
        flex: 0 0 auto;
        z-index: 5;
        grid-template-columns: 32px minmax(0, 1fr) 32px;
        gap: 8px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        box-shadow: 0 -1px 0 rgba(148, 163, 184, 0.12);
    }
}

.chat-page {
    width: min(1120px, 92vw);
    margin: 54px auto 88px;
}

.chat-page-header {
    margin-bottom: 18px;
}

.chat-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    border: 1px solid #262633;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.12), transparent 36%),
        linear-gradient(180deg, #15151c, #101015);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.chat-page-badge {
    display: inline-flex;
    margin-bottom: 10px;
    color: #22c55e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.chat-page-header h1 {
    color: white;
    font-size: 2.3rem;
    margin: 0 0 8px;
}

.chat-page-header p {
    color: #94a3b8;
    margin: 0;
}

.chat-hero-status {
    min-width: 210px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: rgba(24, 24, 32, 0.86);
    padding: 16px;
}

.chat-hero-status span,
.chat-hero-status strong {
    display: block;
}

.chat-hero-status span {
    color: #22c55e;
    font-weight: 900;
    margin-bottom: 6px;
}

.chat-hero-status span i {
    font-size: 0.58rem;
}

.chat-hero-status strong {
    color: #fff;
}

.chat-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.chat-orders-panel,
.chat-conversation-panel {
    background: #111116;
    border: 1px solid #262633;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}

.chat-panel-title,
.chat-conversation-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #262633;
}

.chat-panel-title h2 {
    color: white;
    font-size: 1rem;
    margin: 0;
}

.chat-panel-title small,
.chat-panel-title span {
    color: #94a3b8;
}

.chat-order-item {
    width: 100%;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    text-align: left;
    border: none;
    border-bottom: 1px solid #262633;
    background: transparent;
    padding: 15px 16px;
    cursor: pointer;
}

.chat-order-item:hover,
.chat-order-item.active {
    background: #1a1a21;
}

.chat-order-item.active {
    box-shadow: inset 3px 0 0 #ff4757;
}

.chat-order-item i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.12);
    color: #ff6b81;
}

.chat-counterpart-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    display: block;
}

.chat-counterpart-online {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 11px;
    height: 11px;
    border: 2px solid #1a1a21;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.55);
}

.chat-order-item strong {
    display: block;
    color: white;
    margin-bottom: 5px;
}

.chat-order-item span,
.chat-orders-empty,
.chat-conversation-head span {
    color: #94a3b8;
    font-size: 0.88rem;
}

.chat-search {
    position: relative;
    padding: 14px 16px;
    border-bottom: 1px solid #262633;
}

.chat-search i {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
}

.chat-search input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #0d0d12;
    color: #fff;
    padding: 0 12px 0 36px;
}

.chat-orders-empty {
    margin: 0;
    padding: 16px;
}

.chat-conversation-head strong {
    display: block;
    color: white;
    margin-top: 4px;
}

.chat-conversation-head a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #1b1b22;
    padding: 0 12px;
    color: #ff6b81;
    font-weight: 800;
    text-decoration: none;
}

.chat-conversation-panel .order-chat-box {
    margin: 0;
    border: none;
    border-radius: 0;
}

.chat-conversation-panel .order-chat-messages {
    min-height: 360px;
}

.notifications-page {
    width: min(1060px, 92vw);
    margin: 54px auto 88px;
}

.notifications-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    border: 1px solid #262633;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.12), transparent 36%),
        linear-gradient(180deg, #15151c, #101015);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.notifications-hero h1 {
    color: #fff;
    font-size: 2.3rem;
    margin-bottom: 8px;
}

.notifications-hero p {
    color: #9fb6d8;
    max-width: 710px;
}

.notifications-hero-actions {
    display: flex;
    gap: 10px;
}

.notifications-hero-actions button,
.notifications-hero-actions a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    padding: 0 15px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.notifications-hero-actions button {
    border: none;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    cursor: pointer;
}

.notifications-hero-actions a {
    border: 1px solid #2d2d38;
    background: #1b1b22;
}

.notification-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.notification-metrics div {
    border: 1px solid #262633;
    border-radius: 8px;
    background: #111116;
    padding: 18px;
}

.notification-metrics span {
    display: block;
    color: #94a3b8;
    margin-bottom: 8px;
}

.notification-metrics strong {
    color: #fff;
    font-size: 1.6rem;
}

.notification-center {
    border: 1px solid #262633;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), transparent),
        #111116;
    overflow: hidden;
}

.notification-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border-bottom: 1px solid #262633;
}

.notification-toolbar h2 {
    color: #fff;
    margin-bottom: 4px;
}

.notification-toolbar p {
    color: #94a3b8;
}

.notification-toolbar select {
    min-height: 44px;
    min-width: 210px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #0d0d12;
    color: #fff;
    padding: 0 12px;
}

.notifications-list {
    display: grid;
}

.notification-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 110px 96px;
    gap: 14px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #262633;
    text-decoration: none;
    color: inherit;
}

.notification-row:last-child {
    border-bottom: none;
}

.notification-row:hover,
.notification-row.unread {
    background: #17171d;
}

.notification-row.is-static,
.notification-panel-item.is-static {
    cursor: default;
}

.notification-row.is-static:hover {
    background: transparent;
}

.notification-row.is-static.unread:hover {
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.10), transparent 46%),
        #121824;
}

.notification-row.unread {
    box-shadow: inset 3px 0 0 #ff4757;
}

.notification-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.12);
    color: #ff6b81;
}

.notification-copy strong {
    display: block;
    color: #fff;
    margin-bottom: 5px;
}

.notification-copy p {
    color: #cbd5e1;
    margin: 0;
    line-height: 1.45;
}

.notification-type {
    display: inline-flex;
    justify-content: center;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    padding: 6px 10px;
    font-weight: 900;
    font-size: 0.78rem;
}

.notification-row time {
    color: #94a3b8;
    text-align: right;
    font-size: 0.86rem;
}

.notifications-empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    gap: 8px;
    color: #94a3b8;
    text-align: center;
    padding: 32px;
}

.notifications-empty i {
    color: #ff6b81;
    font-size: 1.7rem;
}

.notifications-empty strong {
    color: #fff;
}

.notifications-empty span {
    display: block;
}

@media screen and (max-width: 820px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }

    .chat-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .chat-hero-status {
        width: 100%;
    }

    .order-chat-compose {
        grid-template-columns: 32px minmax(0, 1fr) 32px;
    }

    .notifications-hero,
    .notification-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .notifications-hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .notification-metrics {
        grid-template-columns: 1fr;
    }

    .notification-row {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .notification-type,
    .notification-row time {
        grid-column: 2;
        justify-self: start;
        text-align: left;
    }

    .notification-panel-card {
        top: 68px;
        right: 14px;
        left: 14px;
        width: auto;
    }

    .notification-panel-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.order-status-result {
    display: none;
}

.order-status-result.show {
    display: block;
}

.order-status-card {
    background: #111116;
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.order-status-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid #262633;
}

.order-progress-bar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 18px 20px 14px;
    background: #0d0d12;
    border-bottom: 1px solid #262633;
}

.progress-step {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 7px;
    color: #94a3b8;
    text-align: center;
}

.progress-step::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -50%;
    width: 100%;
    height: 3px;
    background: #2d2d38;
}

.progress-step:first-child::before {
    display: none;
}

.progress-step.active::before {
    background: #22c55e;
}

.progress-step span {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #34343c;
    color: white;
    font-weight: 800;
}

.progress-step.active span {
    background: #16a34a;
}

.progress-step strong {
    color: #cbd5e1;
    font-size: 0.78rem;
}

.order-status-card-header span,
.order-detail-row span {
    display: block;
    color: #94a3b8;
    font-size: 0.88rem;
}

.order-status-card-header strong,
.order-detail-row strong {
    color: white;
}

.order-status-card-header > div > strong {
    font-size: 1.05rem;
}

.order-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-pill {
    display: inline-flex !important;
    align-items: center;
    min-height: 30px;
    margin: 0 !important;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e !important;
    font-weight: 800;
    font-size: 0.82rem !important;
}

.order-card-actions button,
.order-chat-btn,
.order-mail-btn {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.order-card-actions button {
    border: none;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    padding: 0 14px;
}

.order-buyer-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: #15151b;
    border-bottom: 1px solid #262633;
}

.order-buyer-row img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    background: #181820;
}

.order-buyer-meta {
    min-width: 0;
    flex: 1;
}

.order-buyer-meta strong {
    display: block;
    color: white;
    margin-bottom: 3px;
}

.order-buyer-meta span {
    display: block;
    color: #94a3b8;
    font-size: 0.88rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-chat-btn {
    background: #16a34a;
    color: white;
    padding: 0 14px;
}

.order-mail-btn {
    border: 1px solid #334155;
    color: #dbeafe;
    padding: 0 14px;
}

.order-detail-table {
    padding: 10px 24px 20px;
}

.order-detail-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid #20202a;
}

.order-detail-row:last-child {
    border-bottom: none;
}

.order-detail-row strong {
    font-weight: 600;
}

.order-detail-row #statusTotal {
    color: #22c55e;
}

@media screen and (max-width: 760px) {
    .order-status-search,
    .order-progress-bar,
    .order-detail-row {
        grid-template-columns: 1fr;
    }

    .order-status-card-header,
    .order-card-actions,
    .order-buyer-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .progress-step::before {
        display: none;
    }

    .order-buyer-meta span {
        white-space: normal;
    }

    .order-card-actions,
    .order-chat-btn,
    .order-mail-btn {
        width: 100%;
    }

    .orders-table-head {
        display: none;
    }

    .order-history-row,
    .order-expanded-body,
    .order-expanded-details,
    .order-delivery-details-card {
        grid-template-columns: 1fr;
    }

    .order-history-row {
        gap: 10px;
    }

    .order-expanded-progress {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .expanded-progress-step {
        justify-items: start;
        grid-template-columns: 32px 1fr;
        align-items: center;
        text-align: left;
    }

    .expanded-progress-step::before {
        display: none;
    }

    .order-expanded-actions {
        width: 100%;
    }

    .admin-header,
    .admin-toolbar,
    .admin-expanded-details,
    .admin-detail-grid,
    .admin-control-grid,
    .order-chat-compose {
        grid-template-columns: 1fr;
    }

    .chat-focus-conversation .order-chat-compose {
        position: relative;
        bottom: auto;
        flex: 0 0 auto;
        z-index: 5;
        grid-template-columns: 32px minmax(0, 1fr) 32px;
        gap: 6px;
        padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    }

    .chat-focus-conversation .order-chat-compose textarea {
        height: 36px;
        min-height: 36px;
        padding: 8px 10px;
    }

    .admin-metrics {
        grid-template-columns: 1fr;
    }

    .admin-support-row,
    .admin-order-row {
        grid-template-columns: 1fr;
    }

    .admin-notes {
        grid-column: auto;
    }

    .order-chat-message {
        max-width: 88%;
    }
}
/* CART BUTTON */

.cart-btn {

    position: relative;

    width: 34px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 0;

    background: transparent;

    border: none;

    color: white;

    text-decoration: none;

    font-size: 1.18rem;

    transition: 0.22s ease;
}

.chat-nav-btn {
    position: relative;
    width: 34px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    border: none;
    color: white;
    text-decoration: none;
    font-size: 1.16rem;
    transition: 0.22s ease;
}

.chat-nav-btn:hover {
    color: #22c55e;
    background: transparent;
    transform: translateY(-2px);
}

.chat-unread-count {
    position: absolute;
    top: 1px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff4757;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 0 0 2px #050910, 0 8px 18px rgba(255, 71, 87, 0.35);
}

.notification-nav-btn {
    position: relative;
    width: 34px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    border: none;
    color: white;
    text-decoration: none;
    font-size: 1.16rem;
    transition: 0.22s ease;
    cursor: pointer;
}

.notification-nav-btn:hover {
    color: #f59e0b;
    background: transparent;
    transform: translateY(-2px);
}

.notification-count {
    position: absolute;
    top: 1px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff4757;
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
}

.notification-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    background: rgba(0, 0, 0, 0.18);
}

.notification-panel.show {
    display: block;
}

.notification-panel-card {
    position: absolute;
    top: 74px;
    right: 88px;
    width: min(360px, calc(100vw - 28px));
    max-height: min(500px, calc(100vh - 100px));
    display: flex;
    flex-direction: column;
    background: #12161f;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
    overflow: hidden;
}

.notification-panel-head {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 14px 0 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.notification-panel-head h2 {
    color: white;
    font-size: 1rem;
    margin: 0;
}

.notification-panel-head button {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}

.notification-panel-body {
    overflow: auto;
    padding: 0;
}

.notification-panel-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    text-decoration: none;
}

.notification-panel-item:last-child {
    border-bottom: 0;
}

.notification-panel-item:hover,
.notification-panel-item.unread {
    background: rgba(255, 255, 255, 0.025);
}

.notification-panel-item.is-static:hover {
    background: transparent;
}

.notification-panel-item.is-static.unread:hover {
    background: rgba(255, 255, 255, 0.025);
}

.notification-panel-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.11);
    color: #f59e0b;
    font-size: 0.78rem;
}

.notification-panel-item strong {
    display: block;
    color: white;
    margin-bottom: 3px;
    font-size: 0.86rem;
    line-height: 1.2;
}

.notification-panel-item p {
    color: #cbd5e1;
    margin: 0 0 4px;
    line-height: 1.35;
    font-size: 0.82rem;
}

.notification-panel-item span {
    color: #94a3b8;
    font-size: 0.72rem;
}

.notification-panel-empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    color: white;
    text-align: center;
}

.notification-panel-empty i {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #24242c;
    color: #94a3b8;
    font-size: 1.7rem;
}

.notification-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.notification-panel-footer a,
.notification-panel-footer button {
    color: #ff6b81;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.notification-panel-footer button {
    border: none;
    background: transparent;
    cursor: pointer;
}

@media screen and (max-width: 820px) {
    .notification-panel-card {
        top: 64px;
        right: 10px;
        left: 10px;
        width: auto;
        max-height: min(460px, calc(100dvh - 82px));
    }

    .notification-panel-item {
        padding: 10px 12px;
    }
}

.cart-btn:hover {

    color: #ff4757;

    background: transparent;

    transform: translateY(-2px);
}

.cart-count {

    position: absolute;

    top: 1px;
    right: -3px;

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    border-radius: 999px;

    background: #ff4757;

    color: white;

    font-size: 0.68rem;
    font-weight: 800;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 0 14px rgba(255,71,87,0.35);
}

.cart-add-btn {
    width: 100%;
    margin-top: 12px;
    padding: 15px;

    border-radius: 10px;
    border: 1px solid #2d2d35;

    background: rgba(255,255,255,0.04);
    color: white;

    font-size: 1rem;
    font-weight: 800;

    cursor: pointer;
    transition: 0.25s ease;
}

.cart-add-btn:hover {
    border-color: #ff4757;
    background: rgba(255,71,87,0.1);
    transform: translateY(-2px);
}

.auth-page,
.account-page {
    max-width: 520px;
    margin: 56px auto 80px;
    padding: 0 5%;
}

.auth-card,
.account-card {
    background: #111116;
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 30px;
}

/* Premium product page polish */

.product-breadcrumb {
    width: min(1180px, 92vw);
    margin: 24px auto 0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255, 71, 92, 0.075), rgba(9, 13, 23, 0.62)),
        rgba(10, 12, 18, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #718098;
    font-size: 0.82rem;
}

.product-breadcrumb a {
    color: #9fc5ff;
    text-decoration: none;
    font-weight: 900;
}

.product-breadcrumb a:hover {
    color: #ff6b81;
}

.product-breadcrumb span {
    margin: 0;
}

.product-breadcrumb span:not(:last-child) {
    width: 16px;
    margin: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    text-align: center;
}

.product-breadcrumb span:not(:last-child)::before {
    content: "/";
    color: rgba(255, 71, 92, 0.58);
    font-size: 0.76rem;
    font-weight: 900;
}

.product-breadcrumb span:last-child {
    color: #ffffff;
    font-weight: 850;
}

.product-back-btn {
    width: fit-content;
    max-width: min(1180px, 92vw);
    min-height: 42px;
    margin: 24px auto 0 max(4vw, calc((100vw - 1180px) / 2));
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 71, 92, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 92, 0.13), rgba(14, 18, 29, 0.86)),
        #0e121d;
    color: #eef4ff;
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 14px 30px rgba(0, 0, 0, 0.18);
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.product-back-btn i {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(255, 71, 92, 0.16);
    color: #ff6b7c;
    font-size: 0.78rem;
}

.product-back-btn:hover {
    border-color: rgba(255, 71, 92, 0.48);
    color: #ffffff;
    transform: translateX(-2px);
}

.product-page-layout {
    width: min(1180px, 92vw);
    max-width: none;
    margin: 28px auto 48px;
    padding: 0;
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.72fr);
    gap: 28px;
    align-items: start;
}

.product-info-area {
    min-height: 560px;
    padding: 32px;
    border-radius: 14px;
    border: 1px solid #262a38;
    background:
        radial-gradient(circle at 24% 15%, rgba(255, 71, 87, 0.18), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.12), transparent 30%),
        linear-gradient(145deg, #151823, #0d0e14);
    position: relative;
    overflow: hidden;
}

.product-info-area::after {
    content: "G4BOOST";
    position: absolute;
    right: -18px;
    bottom: -24px;
    color: rgba(255, 255, 255, 0.035);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
}

.product-info-card {
    max-width: 660px;
    position: relative;
    z-index: 1;
}

.product-icon {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    font-size: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.product-info-card h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.02;
    margin-bottom: 14px;
}

.product-info-card p {
    max-width: 560px;
    color: #b8c8df;
    font-size: 1.02rem;
    line-height: 1.7;
}

.product-info-list {
    margin-top: 30px;
    gap: 12px;
}

.product-info-list div {
    min-height: 104px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(7, 8, 12, 0.54);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-info-list i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 71, 87, 0.12);
    color: #ff6b81;
    margin-bottom: 13px;
}

.product-buy-area {
    border-radius: 14px;
    border: 1px solid #2a2d3a;
    padding: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
        #111219;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #22c55e;
    font-size: 0.9rem;
    font-weight: 950;
}

.product-rating span {
    color: #9fb0c7;
    font-size: 0.9rem;
    font-weight: 800;
    margin-left: 0;
}

.product-page-title {
    color: #fff;
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.05;
    margin: 0 0 16px;
}

.product-page-title-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.product-seller-panel {
    margin: 0 0 16px;
    padding: 12px 14px 11px;
    border: 1px solid #272c39;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.035);
}

.product-seller-embedded {
    margin: 24px 0 0;
    width: 100%;
    background: rgba(7, 8, 12, 0.46);
}

.product-seller-panel small {
    display: block;
    margin-bottom: 8px;
    color: #94a3b8;
}

.product-seller-identity {
    display: flex;
    align-items: center;
    gap: 9px;
}

.seller-chat-pill {
    margin-left: auto;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 71, 92, 0.14);
    color: #f6dfe3;
    font-size: 0.74rem;
    font-weight: 800;
    text-decoration: none;
}

.seller-chat-pill:hover {
    background: rgba(255, 71, 92, 0.24);
    color: #fff;
}

.seller-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ff7182;
    background: rgba(255, 71, 92, 0.15);
}

.product-seller-identity > i {
    color: #15d7c0;
}

.seller-score-line {
    margin: 8px 0 7px 47px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #d5e0ee;
    font-size: 0.8rem;
}

.seller-score-line > strong {
    color: #eff4ff;
}

.seller-score-stars {
    display: inline-flex;
    gap: 1px;
    color: #ffad32;
    font-size: 0.72rem;
}

.seller-score-line a {
    color: #94bff2;
    text-decoration: none;
}

.seller-facts {
    margin-left: 47px;
    display: grid;
    gap: 2px;
    color: #96a8bf;
    font-size: 0.77rem;
}

.seller-facts strong {
    color: #dbe6f6;
}

.product-selected-package {
    display: grid;
    gap: 5px;
    margin: 0 0 4px;
    padding: 12px 14px;
    border: 1px solid #252936;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
}

.product-selected-package span {
    color: #93a4bb;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-selected-package strong {
    color: #fff;
}

.product-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.product-meta p {
    margin: 0;
    min-height: 58px;
    display: grid;
    align-content: center;
    border: 1px solid #252936;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 12px;
    color: #93a4bb;
    font-size: 0.82rem;
}

.product-meta strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
}

.product-price {
    width: 100%;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 18px 0 10px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.24);
    background:
        radial-gradient(circle at right, rgba(34, 197, 94, 0.14), transparent 40%),
        rgba(34, 197, 94, 0.07);
    color: #22c55e;
    font-size: 2.15rem;
    font-weight: 950;
}

.product-price::before {
    content: "Price";
    color: #8ba0bb;
    font-size: 0.76rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-stock {
    width: fit-content;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    margin: 0 0 18px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font-size: 0.82rem;
    font-weight: 900;
}

.product-select-group {
    margin-bottom: 14px;
}

.product-select-group label {
    color: #dbeafe;
    font-size: 0.88rem;
    font-weight: 900;
}

.product-select-group select {
    height: 48px;
    border-radius: 10px;
    border-color: #2a2d38;
    background: #0c0d12;
}

.quantity-box {
    min-height: 50px;
    border-radius: 10px;
    background: #0c0d12;
    border-color: #2a2d38;
}

.quantity-box button {
    background: #1b1e28;
    color: #fff;
}

.add-cart-btn,
.cart-add-btn,
.product-support-btn {
    border-radius: 10px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-cart-btn {
    box-shadow: 0 16px 36px rgba(255, 71, 87, 0.22);
}

.product-trust-row {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-trust-row span {
    background: transparent;
    border: none;
    color: #9fb0c7;
    padding: 0;
    font-size: 0.78rem;
}

.product-trust-row span::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #22c55e;
}

.product-description-section {
    width: min(1180px, 92vw);
    max-width: none;
    margin: 0 auto 76px;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid #252936;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent),
        #111219;
}

.product-description-section h2 {
    font-size: 1.6rem;
}

.product-description-section h3 {
    margin-top: 26px;
    color: #fff;
}

.product-description-section ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-left: 0;
    list-style: none;
}

.product-description-section li {
    min-height: 46px;
    display: flex;
    align-items: center;
    border: 1px solid #252936;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    padding: 10px 12px;
}

.product-description-section li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #22c55e;
    margin-right: 10px;
}

.product-detail-tabs {
    width: min(1180px, 92vw);
    margin: 0 auto 76px;
}

.account-detail-accordion {
    width: 100%;
    margin: 0;
}

.account-detail-accordion .product-accordion-item {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #252936;
    border-radius: 10px;
    background: #111219;
}

.account-detail-accordion .product-accordion-item > button {
    min-height: 54px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border: 0;
    background: #141821;
    color: #c6d3e5;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.account-detail-accordion .product-accordion-item > button.active {
    background: #202635;
    color: #fff;
    box-shadow: inset 3px 0 #ff5368;
}

.account-detail-accordion .product-accordion-item > button i {
    color: #ff7182;
    font-size: 0.8rem;
}

.account-detail-accordion .product-tab-panel {
    border-radius: 0;
}

.account-detail-accordion .product-description-section {
    margin: 0;
    padding: 20px 18px 22px;
    border: 0;
}

.account-detail-accordion .product-description-section h3 {
    margin-top: 18px;
}

.account-detail-accordion .product-reviews-panel {
    border: 0;
    padding: 18px;
}

.account-detail-accordion .product-review-table-head,
.account-detail-accordion .product-review-row {
    grid-template-columns: 96px 78px minmax(0, 1fr) 106px;
    gap: 9px;
    padding: 12px 10px;
    font-size: 0.78rem;
}

.account-detail-accordion .product-review-row p {
    overflow-wrap: anywhere;
    font-size: 0.82rem;
}

.account-detail-accordion .product-review-row time {
    font-size: 0.74rem;
    white-space: normal;
}

/* Lighter account offer layout */

.account-offer-layout.product-page-layout {
    width: min(1290px, 94vw);
    grid-template-columns: minmax(0, 1.62fr) minmax(320px, 0.72fr);
    gap: 24px;
    align-items: start;
}

.account-product-column {
    min-width: 0;
}

.account-offer-layout .product-info-area {
    padding: 22px 26px 22px;
}

.account-offer-layout .product-offer-summary {
    display: block;
}

.account-offer-layout .product-offer-summary .product-icon {
    float: left;
    width: 42px;
    height: 42px;
    margin: 0 11px 8px 0;
    border-radius: 11px;
    font-size: 1rem;
}

.account-offer-layout .product-offer-copy .chosen-package-label {
    display: flex;
    min-height: 42px;
    align-items: center;
    margin: 0 0 9px;
}

.account-offer-layout .product-offer-copy h2 {
    clear: both;
    font-size: clamp(1.1rem, 1.5vw, 1.38rem);
    line-height: 1.34;
    overflow-wrap: anywhere;
}

.account-offer-layout .product-offer-copy p {
    margin-top: 7px;
    font-size: 0.86rem;
    line-height: 1.48;
}

.product-offer-image {
    margin: 14px 0 0;
    width: min(100%, 660px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 71, 87, 0.08), transparent 62%),
        rgba(7, 10, 16, 0.45);
}

.product-offer-image[hidden] {
    display: none;
}

.product-offer-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 420px;
    aspect-ratio: 1457 / 972;
    object-fit: fill;
    object-position: center;
}

.offer-inline-meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #93a4bb;
    font-size: 0.78rem;
}

.offer-inline-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.offer-inline-meta i {
    color: #7d92ad;
}

.offer-inline-meta strong {
    color: #eef3fc;
}

.product-seller-embedded {
    margin-top: 20px;
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0;
    background: transparent;
}

.seller-detail-card.product-buy-area {
    padding: 23px;
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
    overflow: auto;
    align-self: start;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
    min-width: 0;
}

.seller-detail-card .product-price {
    margin-top: 0;
}

.seller-detail-card .product-price:not(.currency-buy-price) {
    min-height: auto;
    margin: 0 0 24px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #2ee878;
    font-size: 2.15rem;
    line-height: 1;
    font-weight: 950;
}

.account-quantity-box {
    margin: 5px 0 18px;
}

.service-offer-layout .product-info-area {
    min-height: 0;
    padding: 25px 24px;
}

.service-offer-layout .product-info-card h2 {
    margin-top: 18px;
    font-size: clamp(1.5rem, 2.25vw, 2rem);
    line-height: 1.2;
}

.service-offer-layout .product-offer-copy h2 {
    clear: both;
    margin-top: 0;
    font-size: clamp(1.1rem, 1.5vw, 1.38rem);
    line-height: 1.34;
}

.service-offer-layout .product-info-card p {
    font-size: 0.9rem;
    line-height: 1.55;
}

.service-offer-layout .product-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    font-size: 1.25rem;
}

.service-offer-layout .product-info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.service-offer-layout .product-info-list div {
    min-height: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 7px;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
}

.service-offer-layout .product-info-list i {
    width: auto;
    height: auto;
    grid-row: span 2;
    margin: 0;
    background: transparent;
    font-size: 0.82rem;
}

.service-offer-layout .product-info-list span,
.service-offer-layout .product-info-list strong {
    font-size: 0.77rem;
}

.service-offer-layout .product-info-list strong {
    color: #eef3fc;
}

.service-detail-tabs {
    margin-top: 0;
}

.service-offer-layout .seller-detail-card {
    padding: 22px;
}

.service-offer-layout .product-page-title {
    font-size: clamp(1.36rem, 2vw, 1.7rem);
    margin-bottom: 13px;
}

.service-offer-layout .product-meta {
    margin-bottom: 14px;
}

.service-offer-layout .product-meta p {
    min-height: 48px;
    padding: 8px 10px;
    background: transparent;
}

.product-info-card .account-detail-accordion {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.product-info-card .account-detail-accordion .product-tab-buttons {
    align-items: stretch;
    padding: 0;
    gap: 8px;
    margin-bottom: 0;
}

.product-info-card .account-detail-accordion .product-tab-buttons button {
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(10, 13, 20, 0.72);
    color: #b7c5d8;
    font-size: 0.9rem;
    font-weight: 700;
}

.product-info-card .account-detail-accordion .product-tab-buttons button.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 71, 87, 0.16), rgba(18, 23, 34, 0.96));
    border-color: rgba(255, 71, 87, 0.36);
}

.product-info-card .account-detail-accordion .product-tab-buttons button.active::before {
    display: none;
}

.account-detail-accordion .product-description-section {
    margin-top: 0;
    padding: 26px 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 14px 14px 14px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 71, 87, 0.08), transparent 34%),
        linear-gradient(145deg, rgba(18, 22, 33, 0.94), rgba(12, 15, 23, 0.96));
    min-height: 260px;
}

.account-detail-accordion .product-description-section > h2 {
    display: none;
}

.account-detail-accordion .product-reviews-panel {
    margin-top: 0;
    padding: 26px 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 14px 14px 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 71, 87, 0.08), transparent 34%),
        linear-gradient(145deg, rgba(18, 22, 33, 0.94), rgba(12, 15, 23, 0.96));
    min-height: 330px;
}

.account-detail-accordion .product-reviews-head {
    display: none;
}

.account-detail-accordion .product-description-section ul {
    gap: 4px;
}

.account-detail-accordion .product-description-section li {
    min-height: auto;
    border: 0;
    padding: 6px 0;
    background: transparent;
}

.account-detail-accordion .product-review-table-head,
.account-detail-accordion .product-review-row {
    width: 100%;
    grid-template-columns: minmax(118px, 0.75fr) minmax(190px, 1.45fr) minmax(128px, 0.85fr) minmax(118px, 0.8fr);
    gap: 14px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 10px;
    align-items: center;
}

.account-detail-accordion .product-review-table-head {
    background: transparent;
    color: #fff;
    padding-top: 20px;
    text-align: center;
}

.account-detail-accordion .product-review-row {
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 71, 87, 0.085), transparent 34%),
        linear-gradient(145deg, rgba(20, 24, 35, 0.9), rgba(9, 12, 19, 0.96));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.17);
}

.account-detail-accordion .product-review-table-head span {
    justify-self: center;
}

.account-detail-accordion .product-review-row strong {
    justify-self: center;
}

.account-detail-accordion .product-review-row p,
.account-detail-accordion .product-review-row time {
    justify-self: center;
    text-align: center;
}

.service-offer-layout .product-rating,
.service-offer-layout .product-page-title,
.service-offer-layout .product-meta,
.service-offer-layout .product-select-group,
.service-offer-layout .product-support-btn,
.service-offer-layout .product-trust-row {
    display: none;
}

.service-offer-layout .quantity-box {
    margin: 5px 0 18px;
}

.seller-detail-card .quantity-box:not(.currency-product-quantity) {
    width: 100%;
    min-height: 40px;
    margin: 0 0 10px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    border: 1px solid rgba(255, 176, 32, 0.24);
    border-radius: 7px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 176, 32, 0.06), rgba(16, 21, 32, 0.9)),
        #111722;
}

.seller-detail-card .quantity-box:not(.currency-product-quantity) button {
    width: 44px;
    min-height: 40px;
    border: 0;
    border-radius: 0;
    background: rgba(7, 10, 16, 0.76);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 950;
}

.seller-detail-card .quantity-box:not(.currency-product-quantity) span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 950;
}

.seller-detail-card .quantity-box small {
    color: #8ea0b8;
    font-size: 0.78rem;
    font-weight: 950;
}

.currency-buy-price {
    min-height: auto;
    margin: 0 0 24px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #2ee878;
    font-size: 2.15rem;
    line-height: 1;
    font-weight: 950;
}

.currency-buy-price::before {
    content: "Price";
    color: #91a2ba;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.currency-buy-facts {
    display: grid;
    gap: 10px;
    margin: 0 0 20px;
}

.currency-buy-facts span {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #dce7f7;
    font-size: 0.92rem;
    font-weight: 850;
}

.currency-buy-facts i {
    width: 22px;
    color: #ffb020;
    text-align: center;
}

.currency-buy-facts .fa-lock,
.currency-buy-facts .fa-box {
    color: #24d36c;
}

.currency-buy-label {
    display: block;
    margin: 4px 0 9px;
    color: #c8d8ee;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.currency-product-quantity.quantity-box {
    width: 100%;
    min-height: 40px;
    margin: 0 0 10px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    border: 1px solid rgba(255, 176, 32, 0.24);
    border-radius: 7px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 176, 32, 0.06), rgba(16, 21, 32, 0.9)),
        #111722;
}

.currency-product-quantity.quantity-box button {
    width: 44px;
    min-height: 40px;
    border: 0;
    border-radius: 0;
    background: rgba(7, 10, 16, 0.76);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 950;
}

.currency-product-quantity.quantity-box span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 950;
}

.currency-product-quantity.quantity-box small {
    color: #8ea0b8;
    font-size: 0.78rem;
    font-weight: 950;
}

.currency-quantity-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 22px;
    padding: 0 1px;
    color: #9fb0c7;
    font-size: 0.78rem;
    font-weight: 850;
}

.currency-quantity-meta span:last-child {
    text-align: right;
}

.currency-quantity-meta strong {
    color: #eef4ff;
    font-weight: 950;
}

.currency-buy-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.currency-buy-actions .add-cart-btn,
.currency-buy-actions .cart-add-btn {
    margin: 0;
    min-height: 52px;
    gap: 8px;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 950;
}

.currency-buy-actions .add-cart-btn {
    background: linear-gradient(135deg, #ff475c, #ff6f86);
    color: #fff;
}

.currency-buy-actions .cart-add-btn {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: #eef4ff;
}

.currency-accepted-payments {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.currency-accepted-payments span {
    grid-column: 1 / -1;
    text-align: center;
    color: #eef4ff;
    font-size: 0.9rem;
    font-weight: 950;
    margin-bottom: 4px;
}

.currency-accepted-payments strong {
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.currency-accepted-payments strong img {
    width: 100%;
    max-width: 64px;
    max-height: 24px;
    object-fit: contain;
}

.currency-accepted-payments em {
    grid-column: 1 / -1;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #24d36c;
    font-size: 0.86rem;
    font-style: normal;
    font-weight: 950;
}

.currency-accepted-payments em i {
    color: #ffd166;
}

.account-detail-accordion .product-review-row time {
    font-size: 0.72rem;
    white-space: nowrap;
    min-width: 112px;
}

@media screen and (max-width: 920px) {
    .account-offer-layout.product-page-layout {
        grid-template-columns: 1fr;
        width: min(100% - 28px, 680px);
    }

    .account-offer-layout .offer-inline-meta,
    .marketplace-offer-layout .offer-inline-meta,
    .service-offer-layout .offer-inline-meta {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .account-offer-layout .offer-inline-meta span,
    .marketplace-offer-layout .offer-inline-meta span,
    .service-offer-layout .offer-inline-meta span {
        width: fit-content;
        max-width: 100%;
        min-height: 34px;
        padding: 0 8px;
        border: 1px solid rgba(255, 255, 255, 0.075);
        border-radius: 7px;
        background: rgba(8, 11, 18, 0.42);
        font-size: 0.72rem;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }

    .account-detail-accordion .product-review-table-head,
    .account-detail-accordion .product-review-row {
        grid-template-columns: 88px 72px minmax(130px, 1fr) 94px;
        overflow-x: auto;
    }

    .seller-detail-card.product-buy-area {
        position: static;
    }
}

.product-tab-buttons {
    display: flex;
    align-items: flex-end;
    gap: 0;
    padding-left: 0;
}

.product-tab-buttons button {
    min-height: 58px;
    padding: 0 20px;
    border: 1px solid #252936;
    border-bottom: none;
    background: #141821;
    color: #b9c7d9;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.product-tab-buttons button:first-child {
    border-radius: 10px 0 0 0;
}

.product-tab-buttons button:last-child {
    border-radius: 0 10px 0 0;
}

.product-tab-buttons button.active {
    position: relative;
    background: #202635;
    color: #fff;
}

.product-tab-buttons button.active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: linear-gradient(90deg, #ff4757, #facc15);
}

.product-tab-panel {
    display: none;
    border-radius: 0 14px 14px 14px;
}

.product-tab-panel.active {
    display: block;
}

.product-detail-tabs .product-description-section {
    width: 100%;
    margin: 0;
}

.product-reviews-panel {
    min-height: 280px;
    padding: 28px;
    border: 1px solid #252936;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.08), transparent 34%),
        #111219;
}

.product-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.product-reviews-head h2 {
    margin: 0;
    color: #fff;
}

.product-reviews-head span {
    color: #8fb3df;
    font-weight: 800;
}

.product-review-table-head {
    display: grid;
    grid-template-columns: 160px minmax(260px, 1fr) 180px 180px;
    gap: 18px;
    padding: 14px 18px;
    border: 1px solid #252936;
    border-radius: 10px 10px 0 0;
    background: #202635;
    color: #fff;
    font-weight: 900;
}

.product-reviews-list {
    display: grid;
    gap: 12px;
}

.product-review-row {
    display: grid;
    grid-template-columns: 160px minmax(260px, 1fr) 180px 180px;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 10px;
    background:
        radial-gradient(circle at 14% 0%, rgba(255, 71, 87, 0.08), transparent 34%),
        linear-gradient(145deg, rgba(20, 24, 35, 0.9), rgba(10, 13, 20, 0.96));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.17);
}

.product-review-row:last-child {
    border-radius: 10px;
}

.product-review-row strong,
.product-review-row p {
    color: #fff;
}

.review-feedback {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    justify-self: start;
    color: #9aa8bc;
}

.review-feedback i {
    font-size: 1rem;
}

.review-feedback.positive i,
.review-feedback.positive span {
    color: #22c55e;
}

.review-feedback.neutral i,
.review-feedback.neutral span {
    color: #facc15;
}

.review-feedback.negative i,
.review-feedback.negative span {
    color: #ff5368;
}

.seller-all-reviews-btn {
    width: max-content;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 18px auto 0;
    padding: 0 18px;
    border: 1px solid rgba(255, 71, 87, 0.36);
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.1);
    color: #fff;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.seller-all-reviews-btn:hover {
    background: #ff4757;
    box-shadow: 0 12px 26px rgba(255, 71, 87, 0.22);
}

.seller-public-page {
    width: min(1180px, 92vw);
    margin: 42px auto 90px;
}

.seller-public-hero,
.seller-public-reviews {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 71, 87, 0.1), transparent 34%),
        linear-gradient(145deg, rgba(18, 22, 33, 0.96), rgba(10, 12, 18, 0.98));
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.seller-public-hero {
    padding: 32px;
    margin-bottom: 22px;
}

.seller-public-hero h1 {
    color: #fff;
    margin: 0 0 8px;
}

.seller-public-hero p {
    color: #b8c6d9;
    margin-bottom: 20px;
}

.seller-public-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seller-public-stats span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #cbd5e1;
    font-weight: 800;
}

.seller-public-stats strong {
    color: #fff;
}

.seller-public-reviews {
    padding: 28px 34px 34px;
}

.seller-public-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.seller-public-head h2 {
    color: #fff;
    margin: 0;
}

.seller-public-head a {
    color: #ff7a8a;
    font-weight: 900;
    text-decoration: none;
}

.seller-profile-page {
    width: min(1220px, 92vw);
    margin: 0 auto 92px;
}

.seller-profile-summary-card {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 71, 87, 0.16), transparent 30%),
        radial-gradient(circle at 82% 58%, rgba(56, 189, 248, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(255, 71, 87, 0.06), transparent 42%),
        linear-gradient(180deg, #151922, #0f131c);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.30);
}

.seller-profile-hero {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
    gap: 18px;
    align-items: start;
    text-align: center;
}

.seller-profile-identity {
    display: grid;
    justify-items: center;
    gap: 14px;
    align-items: start;
    width: 100%;
}

.seller-profile-identity > div {
    width: min(420px, 100%);
}

.seller-profile-avatar {
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 26px;
    background: radial-gradient(circle at 30% 20%, #ff6b81, #8b1e2d 55%, #1b1018);
    color: #fff;
    font-size: 2.2rem;
    box-shadow: 0 16px 40px rgba(255, 71, 87, 0.28);
}

.seller-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-profile-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.seller-profile-joined {
    display: block;
    margin-top: 10px;
    color: #b7c9e6;
    font-weight: 800;
}

.seller-profile-actions {
    width: 100%;
    display: grid;
    margin: 16px auto 0;
}

.seller-profile-actions a,
.seller-profile-tabs a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(18, 22, 32, 0.92);
    color: #fff;
    padding: 0 15px;
    text-decoration: none;
    font-weight: 900;
}

.seller-profile-actions a {
    width: 100%;
}

.seller-profile-description {
    display: block;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.seller-profile-description > div {
    align-self: center;
}

.seller-profile-description span {
    display: block;
    margin-bottom: 6px;
    color: #38bdf8;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.seller-profile-description h2 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.2;
}

.seller-profile-description p {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: #c7d7eb;
    line-height: 1.65;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}

.seller-profile-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 10px 0 0;
}

.seller-profile-metrics article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px;
    align-items: center;
    min-height: 74px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.10), transparent 42%),
        rgba(12, 17, 25, 0.72);
    padding: 14px 18px 14px 20px;
}

.seller-profile-metrics span {
    grid-column: 1;
    color: #9fb8d8;
    font-weight: 800;
}

.seller-profile-metrics strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1;
}

.seller-profile-tabs {
    position: sticky;
    top: 76px;
    z-index: 8;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0 18px;
    background: #0b0f16;
}

.seller-profile-tabs a.active,
.seller-profile-tabs a:hover {
    border-color: rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.seller-profile-section {
    scroll-margin-top: 145px;
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.055), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.028), transparent),
        #111620;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24);
}

.seller-profile-section-head {
    margin-bottom: 16px;
}

.seller-profile-section-head h2 {
    color: #fff;
    margin-bottom: 4px;
}

.seller-profile-section-head p {
    color: #9fb8d8;
}

.seller-health-grid,
.seller-profile-chip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.seller-health-grid i,
.seller-profile-chip-grid i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.12);
    color: #21f07d;
}

.seller-profile-offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.seller-profile-offer {
    display: grid;
    grid-template-rows: 168px minmax(82px, 1fr) auto;
    gap: 10px;
    align-items: stretch;
    min-height: 324px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    background:
        radial-gradient(circle at 90% 100%, rgba(56, 189, 248, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.035), transparent),
        #0d121b;
    padding: 13px;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.seller-profile-offer:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.42);
    background:
        radial-gradient(circle at 90% 100%, rgba(56, 189, 248, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.05), transparent),
        #101722;
}

.seller-profile-offer > span {
    width: 100%;
    height: 168px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 71, 87, 0.10), transparent 62%),
        rgba(7, 10, 16, 0.42);
    color: #ff6b81;
}

.seller-profile-offer img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

.seller-profile-offer strong {
    color: #fff;
}

.seller-profile-offer > div {
    min-width: 0;
    display: grid;
    align-content: start;
}

.seller-profile-offer > div > strong {
    min-height: 0;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.seller-profile-offer small,
.seller-profile-offer em {
    display: block;
    color: #9fb8d8;
    font-style: normal;
    margin-top: 5px;
}

.seller-profile-offer em {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 12px;
}

.seller-profile-offer em i {
    color: #ffb020;
}

.seller-profile-offer em span {
    margin-left: auto;
    color: #bfdbfe;
    font-weight: 800;
}

.seller-profile-offer > strong:last-child {
    justify-self: stretch;
    align-self: end;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(7, 10, 16, 0.52);
    font-size: 1.18rem;
}

.seller-profile-offer b {
    color: #22c55e;
}

.seller-profile-services {
    display: grid;
    gap: 18px;
    margin: 0 0 18px;
    padding: 18px 22px 24px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0, rgba(34, 197, 94, 0.07), transparent 34%),
        #0e131c;
}

.seller-profile-category-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 26px;
}

.seller-profile-category-icons button {
    min-width: 104px;
    display: grid;
    justify-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #8792a5;
    font: inherit;
    font-weight: 950;
    cursor: pointer;
}

.seller-profile-category-icons button > span {
    width: 50px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 7px;
    background:
        linear-gradient(180deg, rgba(36, 44, 65, 0.82), rgba(16, 22, 35, 0.96));
    color: var(--seller-cat-color, #38bdf8);
    font-size: 1.18rem;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.seller-profile-category-icons button[data-tone="cyan"] { --seller-cat-color: #38bdf8; }
.seller-profile-category-icons button[data-tone="gold"] { --seller-cat-color: #ffb020; }
.seller-profile-category-icons button[data-tone="green"] { --seller-cat-color: #22c55e; }
.seller-profile-category-icons button[data-tone="violet"] { --seller-cat-color: #a855f7; }
.seller-profile-category-icons button[data-tone="red"] { --seller-cat-color: #ff4757; }
.seller-profile-category-icons button[data-tone="blue"] { --seller-cat-color: #3b82f6; }

.seller-profile-category-icons button:hover,
.seller-profile-category-icons button.active {
    color: #fff;
}

.seller-profile-category-icons button:hover > span,
.seller-profile-category-icons button.active > span {
    border-color: color-mix(in srgb, var(--seller-cat-color) 62%, transparent);
    background:
        radial-gradient(circle at 50% 0, color-mix(in srgb, var(--seller-cat-color) 22%, transparent), transparent 58%),
        linear-gradient(180deg, rgba(36, 44, 65, 0.9), rgba(16, 22, 35, 0.98));
    box-shadow: 0 16px 34px color-mix(in srgb, var(--seller-cat-color) 16%, transparent);
}

.seller-profile-category-icons small {
    color: #77859a;
    font-size: 0.74rem;
    font-weight: 800;
}

.seller-profile-game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-height: calc((172px * 3) + (14px * 2));
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.42) rgba(15, 23, 42, 0.45);
}

.seller-profile-game-grid::-webkit-scrollbar {
    width: 8px;
}

.seller-profile-game-grid::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.45);
    border-radius: 999px;
}

.seller-profile-game-grid::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.42);
    border-radius: 999px;
}

.seller-profile-game-card {
    min-height: 172px;
    padding: 16px;
    border-color: color-mix(in srgb, var(--game-neon) 48%, #252531);
    background:
        radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--game-neon) 20%, transparent), transparent 38%),
        radial-gradient(circle at 0 100%, color-mix(in srgb, var(--game-neon) 12%, transparent), transparent 42%),
        linear-gradient(145deg, #141620, #0b0f17);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 18px 38px rgba(0, 0, 0, 0.24);
}

.seller-profile-game-card:hover {
    border-color: var(--game-neon);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.34),
        0 0 26px color-mix(in srgb, var(--game-neon) 18%, transparent);
}

.seller-profile-game-card .demand-game-top {
    min-height: 28px;
}

.seller-profile-game-card .game-star-rating {
    gap: 7px;
    padding: 4px 8px;
    border: 1px solid color-mix(in srgb, var(--game-neon) 36%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--game-neon) 12%, transparent);
    color: #fff;
    font-size: 0.92rem;
    letter-spacing: 0;
}

.seller-profile-game-card .game-star-rating i {
    color: #ffb020;
}

.seller-profile-game-card h3 {
    margin: 14px 0 10px;
    font-size: 1.32rem;
    line-height: 1.15;
    text-shadow: 0 0 22px color-mix(in srgb, var(--game-neon) 52%, transparent);
}

.seller-profile-game-card p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: #dbeafe;
    font-size: 0.84rem;
    line-height: 1.2;
    font-weight: 900;
}

.seller-profile-game-card p span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid color-mix(in srgb, var(--game-neon) 28%, transparent);
    border-radius: 999px;
    background: rgba(7, 10, 16, 0.48);
}

.seller-profile-game-card p span:first-child {
    color: #22c55e;
}

.seller-profile-game-card p span:last-child {
    color: #bfdbfe;
}

.seller-profile-game-card .game-tag-links {
    display: none;
}

.seller-profile-game-card::after {
    right: -12px;
    bottom: -22px;
    color: color-mix(in srgb, var(--game-neon) 10%, transparent);
    font-size: 4.6rem;
}

.seller-profile-category-offer {
    min-height: 112px;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.08), transparent 36%),
        rgba(10, 15, 23, 0.78);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.seller-profile-category-offer:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.28);
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent 38%),
        rgba(12, 18, 28, 0.86);
}

.seller-profile-category-offer > span {
    width: 84px;
    height: 70px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.12);
    color: #ff6b81;
}

.seller-profile-category-offer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-profile-category-offer small,
.seller-profile-category-offer em {
    display: block;
    color: #9fb8d8;
    font-style: normal;
    line-height: 1.35;
}

.seller-profile-category-offer strong {
    color: #fff;
}

.seller-profile-category-offer div strong {
    display: -webkit-box;
    min-height: calc(1.32em * 2);
    max-height: calc(1.32em * 2);
    margin: 5px 0;
    line-height: 1.32;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.seller-profile-category-offer em i {
    color: #ffb020;
}

.seller-profile-category-offer b {
    color: #22c55e;
}

.seller-game-platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seller-game-platform-card {
    min-height: 126px;
    grid-template-columns: 78px minmax(0, 1fr);
    align-content: center;
}

.seller-game-platform-card > strong {
    grid-column: 2;
    justify-self: start;
}

.seller-game-page {
    padding-top: 0;
}

.seller-game-services {
    margin-top: 18px;
}

@media screen and (max-width: 760px) {
    .seller-profile-page {
        width: min(100% - 28px, 680px);
    }

    .seller-profile-summary-card {
        gap: 18px;
        margin-bottom: 22px;
        padding: 20px;
    }

    .seller-profile-hero {
        grid-template-columns: minmax(0, 1fr);
        justify-content: center;
        min-height: auto;
    }

    .seller-profile-identity {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
        text-align: center;
    }

    .seller-profile-avatar {
        width: 86px;
        height: 86px;
        border-radius: 22px;
        font-size: 1.85rem;
    }

    .seller-profile-hero h1 {
        margin: 0;
        font-size: 1.9rem;
        line-height: 1.05;
    }

    .seller-profile-actions {
        width: 100%;
        margin-top: 14px;
    }

    .seller-profile-actions a {
        min-height: 42px;
        padding: 0 14px;
        font-size: 0.92rem;
    }

    .seller-profile-description {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 18px;
    }

    .seller-profile-metrics,
    .seller-health-grid,
    .seller-profile-chip-grid {
        grid-template-columns: 1fr;
    }

    .seller-profile-metrics article {
        border-radius: 18px;
    }

    .seller-profile-tabs {
        top: 0;
    }

    .seller-profile-section {
        padding: 18px;
    }

    .seller-profile-offer {
        grid-template-columns: 1fr;
    }

    .seller-profile-offer > span {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .seller-profile-services {
        padding: 16px;
    }

    .seller-profile-category-icons {
        justify-content: flex-start;
        gap: 14px;
    }

    .seller-profile-category-icons button {
        min-width: 78px;
    }

    .seller-profile-category-icons button > span {
        width: 46px;
        height: 42px;
    }

    .seller-profile-game-grid {
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-template-rows: repeat(var(--seller-game-mobile-rows, 3), minmax(154px, auto));
        grid-auto-columns: calc((100% - 10px) / 2);
        gap: 10px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 10px;
        scroll-snap-type: x proximity;
    }

    .seller-profile-game-card {
        min-height: 154px;
        grid-template-rows: minmax(58px, auto) auto;
        padding: 0;
        align-content: stretch;
        gap: 0;
        scroll-snap-align: start;
    }

    .seller-profile-game-card .demand-game-top {
        display: none;
    }

    .seller-profile-game-card .game-star-rating {
        gap: 6px;
        font-size: 0.82rem;
        padding: 4px 8px;
    }

    .seller-profile-game-card h3 {
        display: grid;
        align-items: center;
        margin: 0;
        padding: 15px 13px 10px;
        border-bottom: 1px solid color-mix(in srgb, var(--game-neon) 28%, transparent);
        font-size: 1.14rem;
        line-height: 1.08;
        overflow: hidden;
    }

    .seller-profile-game-card h3 a {
        display: inline-block;
        width: max-content;
        max-width: none;
        white-space: nowrap;
    }

    .seller-profile-game-card h3 a.is-scrolling-title {
        animation: sellerGameTitleScroll 5.5s ease-in-out infinite alternate;
    }

    .seller-profile-game-card p {
        display: grid;
        gap: 6px;
        margin: 0;
        padding: 11px 13px 13px;
        font-size: 0.78rem;
        line-height: 1.15;
    }

    .seller-profile-game-card p::after {
        content: "Rating " attr(data-rating);
        color: #ffb020;
        font-weight: 900;
    }

    .seller-profile-game-card p span {
        width: auto;
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .seller-profile-game-card .game-tag-links {
        display: none;
    }

    .seller-profile-game-card::after {
        right: -16px;
        bottom: -16px;
        font-size: 3rem;
    }

    .seller-game-platform-grid {
        grid-template-columns: 1fr;
    }

    @keyframes sellerGameTitleScroll {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(var(--title-scroll-distance, -36px));
        }
    }

    .seller-profile-category-offer {
        grid-template-columns: 72px minmax(0, 1fr);
        min-height: 96px;
        padding: 12px;
    }

    .seller-profile-category-offer > span {
        width: 72px;
        height: 62px;
    }

    .seller-profile-category-offer > strong {
        grid-column: 2;
        justify-self: start;
    }
}

.product-related-wrap {
    width: min(1290px, 94vw);
    margin: 28px auto 76px;
    display: grid;
    gap: 30px;
}

.product-related-section {
    display: grid;
    gap: 14px;
}

.product-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.product-related-head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
}

.product-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.related-offer-card {
    min-height: 166px;
}

@media screen and (max-width: 920px) {
    .product-related-grid {
        grid-template-columns: 1fr;
    }
}

.product-review-row span,
.product-review-row time {
    display: block;
    color: #8fb3df;
    font-size: 0.88rem;
}

.product-review-row em {
    color: #facc15;
    font-style: normal;
    font-weight: 900;
}

.product-review-row p {
    margin: 0;
    color: #c7d7eb;
    line-height: 1.55;
}

.product-review-row time {
    justify-self: start;
    white-space: nowrap;
}

.product-review-empty {
    min-height: 180px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 28px;
    border: 1px dashed #313747;
    border-radius: 0 0 10px 10px;
    background: rgba(255, 255, 255, 0.02);
    color: #9fb2ca;
    text-align: center;
}

.product-review-empty i {
    color: #ff5368;
    font-size: 1.5rem;
}

.product-review-empty strong {
    color: #fff;
}

@media screen and (max-width: 920px) {
    .product-page-layout {
        grid-template-columns: 1fr;
    }

    .product-buy-area {
        position: static;
    }
}

@media screen and (max-width: 620px) {
    .product-meta,
    .product-info-list,
    .product-description-section ul {
        grid-template-columns: 1fr;
    }

    .product-info-area,
    .product-buy-area,
    .product-description-section,
    .product-reviews-panel {
        padding: 20px;
    }

    .product-tab-buttons button {
        flex: 1;
    }

    .product-review-table-head {
        display: none;
    }

    .product-review-row {
        grid-template-columns: 1fr;
        border-top: 1px solid #252936;
        border-radius: 10px;
    }
}

.auth-badge {
    display: inline-flex;
    margin-bottom: 12px;
    color: #22c55e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-card h1,
.account-card h1 {
    color: white;
    margin: 0 0 8px;
}

.auth-card p,
.account-card p {
    color: #94a3b8;
    margin: 0 0 22px;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form[hidden] {
    display: none !important;
}

.auth-form label {
    display: grid;
    gap: 7px;
    color: #cbd5e1;
    font-weight: 700;
}

.auth-form input {
    min-height: 46px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #0d0d12;
    color: white;
    padding: 0 12px;
}

.auth-form button,
.account-actions button {
    min-height: 46px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    font-weight: 800;
    cursor: pointer;
}

.auth-error {
    min-height: 20px;
    color: #ff6b81 !important;
    margin: 0 !important;
    font-weight: 700;
}

.auth-error.is-success {
    color: #22c55e !important;
}

.auth-form .auth-secondary-action {
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
    box-shadow: none;
}

.auth-form .auth-secondary-action:hover {
    border-color: rgba(255, 71, 87, 0.48);
    color: #ffffff;
}

.auth-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-separator::before,
.auth-separator::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(148, 163, 184, 0.18);
}

.auth-secondary-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
    font-weight: 800;
    text-decoration: none;
}

.auth-secondary-link:hover {
    border-color: rgba(255, 71, 87, 0.48);
    color: #ffffff;
}

.auth-form button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.auth-switch {
    margin-top: 18px;
    color: #94a3b8;
    text-align: center;
}

.auth-switch a {
    color: #ff6b81;
    font-weight: 800;
    text-decoration: none;
}

.login-screen-body {
    min-height: 100vh;
    margin: 0;
    padding-top: 0 !important;
    overflow-x: hidden;
    overflow-y: hidden;
    background:
        linear-gradient(115deg, rgba(255, 71, 87, 0.08), transparent 30%),
        linear-gradient(245deg, rgba(34, 211, 238, 0.045), transparent 32%),
        #05070c;
    color: #f8fafc;
}

.login-shell {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(420px, 46vw) minmax(0, 1fr);
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.055), transparent 34%),
        #05070c;
}

.login-welcome-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    border-radius: 0 34px 34px 0;
    background:
        linear-gradient(180deg, rgba(10, 12, 19, 0.62), rgba(5, 7, 12, 0.96)),
        linear-gradient(135deg, rgba(255, 71, 87, 0.18), transparent 48%),
        url("../Images/home-banner.png") center / cover;
    border-right: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 28px 0 80px rgba(0, 0, 0, 0.42);
}

.login-welcome-panel::before,
.login-welcome-panel::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.login-welcome-panel::before {
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 7, 12, 0.38), transparent 55%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 84px);
    opacity: 0.55;
}

.login-welcome-panel::after {
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(180deg, transparent, rgba(5, 7, 12, 0.78));
}

.login-brand {
    position: relative;
    z-index: 1;
    width: 190px;
    margin: 30px 0 0 38px;
    display: inline-flex;
    align-items: center;
}

.login-brand img {
    width: 100%;
    height: auto;
    display: block;
}

.login-welcome-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 34px 10% 78px;
}

.login-welcome-content h1 {
    color: white;
    font-size: clamp(4.4rem, 8.2vw, 8.2rem);
    line-height: 0.92;
    margin: 0 0 20px;
    font-weight: 900;
    max-width: 680px;
}

.login-welcome-content p {
    max-width: 600px;
    color: #d9e6f7;
    font-size: clamp(1.05rem, 1.35vw, 1.28rem);
    font-weight: 750;
    line-height: 1.55;
    margin: 0;
}

.login-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.login-trust-row span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(9, 13, 22, 0.54);
    color: #dce8f8;
    padding: 0 13px;
    font-size: 0.78rem;
    font-weight: 850;
    backdrop-filter: blur(12px);
}

.login-trust-row i {
    color: #ff6677;
}

.login-panel {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 32px 6%;
}

.login-panel::before {
    content: "";
    position: absolute;
    width: min(560px, 72vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 71, 87, 0.13), transparent 62%);
    filter: blur(8px);
    pointer-events: none;
}

.login-card {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.login-card-head {
    margin-bottom: 24px;
}

.login-card-head > span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #ff6677;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.login-card h2,
.login-card-head h2 {
    color: white;
    font-size: clamp(2rem, 2.8vw, 2.65rem);
    line-height: 1;
    margin: 0 0 12px;
    letter-spacing: 0;
}

.login-card-head p {
    margin: 0;
    color: #9fb0c8;
    line-height: 1.55;
}

.login-signup-btn {
    width: fit-content;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    border: 1px solid rgba(255, 102, 119, 0.25);
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.08);
    color: #c9d6ea;
    padding: 0 14px;
    font-weight: 800;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.login-signup-btn strong {
    color: #ff6677;
}

.login-signup-btn:hover {
    border-color: rgba(255, 102, 119, 0.48);
    background: rgba(255, 71, 87, 0.13);
    color: #fff;
    transform: translateY(-1px);
}

.login-register-line {
    color: #9fb0c8;
    margin: 0 0 24px;
    font-size: 0.92rem;
}

.login-register-line a,
.forgot-password {
    color: #ff6b39;
    text-decoration: none;
}

.login-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin: 0 0 18px;
    color: #91a2bb;
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
    content: "";
    height: 1px;
    background: rgba(148, 163, 184, 0.18);
}

.login-panel .auth-form {
    display: grid;
    gap: 14px;
    perspective: 900px;
}

.login-field {
    position: relative;
}

.login-field span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.login-panel .auth-form input {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    background: rgba(6, 9, 16, 0.9);
    color: #f8fafc;
    padding: 0 15px;
    font-size: 0.98rem;
    font-weight: 750;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-panel .auth-form input::placeholder {
    color: #6f7f97;
}

.login-panel .auth-form input:focus {
    outline: none;
    border-color: rgba(255, 102, 119, 0.72);
    box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.12);
}

.password-field input {
    padding-right: 48px !important;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #9fb0c8;
    cursor: pointer;
    padding: 0 !important;
    font-size: 1rem;
    line-height: 1;
    box-shadow: none !important;
    transition: color 0.2s, transform 0.2s;
}

.forgot-password {
    justify-self: end;
    min-height: 0 !important;
    color: #9fb0c8 !important;
    font-size: 0.86rem;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    cursor: pointer;
    padding: 0 !important;
    box-shadow: none !important;
    text-decoration: none;
}

.password-toggle:hover {
    color: #ff7a8a;
    transform: translateY(-50%) scale(1.08);
}

.forgot-password:hover,
.login-register-line a:hover,
.email-auth-btn:hover {
    color: #ff7a8a;
}

.login-panel .auth-error {
    min-height: 20px;
    text-align: center;
    color: #ff7585;
    font-weight: 850;
}

.login-submit-btn,
.email-auth-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    font-size: 1rem;
    font-weight: 900;
}

.login-submit-btn {
    margin-top: 10px;
    border: none !important;
    background: linear-gradient(135deg, #ff4757, #ff784b) !important;
    color: #fff !important;
    box-shadow: 0 18px 36px rgba(255, 71, 87, 0.22);
}

.email-auth-btn {
    background: rgba(15, 20, 31, 0.84);
    color: #f8fafc;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.24);
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s;
}

.email-auth-btn:hover {
    border-color: rgba(255, 102, 119, 0.42);
    background: rgba(255, 71, 87, 0.08);
    transform: translateY(-1px);
}

.password-field,
.forgot-password,
.email-code-field {
    max-height: 80px;
    opacity: 1;
    overflow: hidden;
    transform: rotateX(0);
    transform-origin: top;
    transition: max-height 0.28s ease, opacity 0.2s ease, transform 0.28s ease, margin 0.28s ease;
}

.login-email-mode .password-field,
.login-email-mode .forgot-password {
    max-height: 0;
    opacity: 0;
    margin: 0;
    pointer-events: none;
    transform: rotateX(-78deg);
}

.email-code-field {
    max-height: 0;
    opacity: 0;
    margin: 0;
    pointer-events: none;
    transform: rotateX(-78deg);
}

.login-code-mode .email-code-field {
    max-height: 80px;
    opacity: 1;
    pointer-events: auto;
    transform: rotateX(0);
}

.login-submit-btn,
.email-auth-btn {
    backface-visibility: hidden;
}

.login-flip .login-submit-btn,
.login-flip .email-auth-btn {
    animation: loginFlipIn 0.32s ease;
}

@keyframes loginFlipIn {
    from {
        opacity: 0.35;
        transform: rotateX(72deg);
    }
    to {
        opacity: 1;
        transform: rotateX(0);
    }
}

@media screen and (max-width: 920px) {
    .login-screen-body {
        overflow-y: auto;
    }

    .login-shell {
        grid-template-columns: 1fr;
        min-height: 100vh;
        min-height: 100svh;
    }

    .login-welcome-panel {
        min-height: 34vh;
        border-radius: 0 0 28px 28px;
    }

    .login-brand {
        margin: 24px 0 0 24px;
        width: 152px;
    }

    .login-welcome-content {
        padding: 32px 24px 34px;
    }

    .login-panel {
        min-height: auto;
        padding: 24px 16px 34px;
    }

    .login-card {
        padding: 0;
        border-radius: 0;
    }
}

@media screen and (max-width: 520px) {
    .login-screen-body {
        background: #05070c;
    }

    .login-brand {
        width: 138px;
    }

    .login-welcome-content h1 {
        font-size: 3.1rem;
        margin-bottom: 12px;
    }

    .login-welcome-content p {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .login-trust-row {
        gap: 8px;
        margin-top: 18px;
    }

    .login-trust-row span {
        min-height: 34px;
        padding: 0 10px;
        font-size: 0.72rem;
    }

    .login-card {
        padding: 0;
    }

    .login-card-head h2 {
        font-size: 1.75rem;
    }

    .login-panel .auth-form input,
    .login-submit-btn,
    .email-auth-btn {
        min-height: 50px;
    }
}

.login-direct-host {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    gap: 14px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 71, 87, 0.16), transparent 34%),
        #05070c;
    color: #9fb0c8;
    font-weight: 850;
}

.login-direct-host img {
    width: min(230px, 58vw);
    height: auto;
    filter: drop-shadow(0 0 22px rgba(255, 71, 87, 0.32));
}

.g4-login-modal[hidden] {
    display: none !important;
}

.g4-login-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: grid;
    place-items: center;
    padding: 22px;
}

.g4-login-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 5, 12, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.g4-login-dialog {
    position: relative;
    width: min(980px, 100%);
    max-height: min(720px, calc(100dvh - 42px));
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(20, 28, 44, 0.96), rgba(8, 12, 20, 0.98));
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.50),
        0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.g4-login-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    background: rgba(3, 7, 15, 0.82);
    color: #dce8f8;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.g4-login-close:hover {
    border-color: rgba(56, 189, 248, 0.42);
    background: rgba(9, 16, 30, 0.95);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.16);
}

.g4-login-close-glyph {
    display: block;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    transform: translateY(-1px);
}

.g4-login-pane {
    position: relative;
    isolation: isolate;
    padding: 44px;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(10, 14, 24, 0.98), rgba(4, 7, 13, 0.99));
}

.g4-login-pane::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../Images/login-left-panel-bg.png") center center / cover;
    opacity: 0.08;
    pointer-events: none;
}

.g4-login-pane::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 10% 5%, rgba(255, 71, 87, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(4, 7, 13, 0.70), rgba(4, 7, 13, 0.92));
    pointer-events: none;
}

.g4-login-pane > * {
    position: relative;
    z-index: 1;
}

.g4-login-head {
    margin-bottom: 18px;
}

.g4-login-head h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1;
}

.g4-login-dialog:has(.login-signup-mode) .g4-login-head h2 {
    max-width: 440px;
    font-size: clamp(1.9rem, 2.55vw, 2.35rem);
    line-height: 1.05;
}

.g4-login-head p {
    margin: 0;
    color: #b6c7df;
    line-height: 1.55;
}

.g4-login-head .login-signup-btn {
    min-height: 0;
    margin-top: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: #aebdd3;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
    text-align: left;
}

.g4-login-head .login-signup-btn[hidden] {
    display: none !important;
}

.g4-login-head .login-signup-btn strong {
    color: #ff6677;
}

.g4-login-head .login-signup-btn:hover {
    background: transparent;
    color: #fff;
    transform: none;
}

.g4-login-form {
    display: grid;
    gap: 15px;
    margin-top: 18px;
    perspective: 900px;
}

.g4-login-step {
    display: grid;
    gap: 14px;
}

.g4-login-step[hidden] {
    display: none !important;
}

.g4-login-contact-control {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    overflow: visible;
    border: 1px solid rgba(96, 120, 150, 0.34);
    border-radius: 10px;
    background: rgba(3, 7, 15, 0.88);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.g4-login-contact-control:focus-within {
    border-color: rgba(56, 189, 248, 0.68);
    box-shadow:
        0 0 0 3px rgba(56, 189, 248, 0.12),
        0 12px 28px rgba(8, 47, 73, 0.18);
}

.g4-login-dial-field {
    position: relative;
    flex: 0 0 112px;
    min-height: 54px;
    border-right: 1px solid rgba(148, 163, 184, 0.20);
    z-index: 8;
}

.g4-login-dial-field[hidden] {
    display: none !important;
}

.g4-login-code-step > strong {
    color: #dce8f8;
    font-weight: 900;
}

.g4-login-dial-trigger {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 11px 0 14px;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.g4-login-dial-trigger i {
    color: #9fb0c8;
    font-size: 0.78rem;
    transition: transform 0.2s, color 0.2s;
}

.g4-login-dial-trigger [data-login-dial-current],
.g4-login-dial-menu span {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
}

.g4-login-dial-trigger [data-login-dial-current] {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.g4-login-dial-field.is-open .g4-login-dial-trigger i {
    color: #ff6677;
    transform: rotate(180deg);
}

.g4-login-dial-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -1px;
    width: min(320px, calc(100vw - 42px));
    max-height: 244px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(255, 102, 119, 0.28);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.10), transparent 42%),
        rgba(7, 11, 19, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(148, 163, 184, 0.05) inset;
    z-index: 30;
}

.g4-login-dial-menu[hidden] {
    display: none !important;
}

.g4-login-dial-menu::-webkit-scrollbar {
    width: 8px;
}

.g4-login-dial-menu::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 102, 119, 0.42);
}

.g4-login-dial-search {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-bottom: 7px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 9px;
    background: rgba(4, 7, 13, 0.98);
    padding: 0 10px;
}

.g4-login-dial-search i {
    color: #ff6677;
    font-size: 0.82rem;
}

.g4-login-dial-search input {
    min-height: 38px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f8fafc;
    padding: 0;
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: none;
}

.g4-login-dial-search input:focus {
    border: 0;
    box-shadow: none;
}

.g4-login-dial-search input::placeholder {
    color: #73839c;
}

.g4-login-dial-list {
    display: grid;
    gap: 4px;
}

.g4-login-dial-option {
    width: 100%;
    min-height: 42px;
    display: grid;
    grid-template-columns: 38px 58px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #dce8f8;
    padding: 0 9px;
    text-align: left;
    cursor: pointer;
}

.g4-login-dial-option:hover,
.g4-login-dial-option.is-selected {
    border-color: rgba(255, 102, 119, 0.28);
    background: rgba(255, 71, 87, 0.12);
    color: #fff;
}

.g4-login-dial-iso {
    min-width: 30px;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 7px;
    background: rgba(15, 23, 42, 0.78);
    color: #9fd2ff;
    font-size: 0.72rem;
    font-weight: 950;
}

.g4-login-dial-code {
    color: #f8fafc;
    font-weight: 950;
}

.g4-login-dial-country {
    min-width: 0;
    overflow: hidden;
    color: #aebdd3;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.g4-login-dial-option i {
    color: #61ff9a;
    opacity: 0;
}

.g4-login-dial-option.is-selected i {
    opacity: 1;
}

.g4-login-dial-empty {
    margin: 8px 0 2px;
    color: #9fb0c8;
    font-weight: 850;
    text-align: center;
}

.g4-login-code-step > span {
    color: #9fb0c8;
    line-height: 1.45;
}

.g4-login-back-step {
    width: fit-content;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(4, 7, 13, 0.42);
    color: #dce8f8;
    padding: 0 12px;
    font-weight: 850;
    cursor: pointer;
}

.g4-login-form input {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(96, 120, 150, 0.34);
    border-radius: 10px;
    background: rgba(3, 7, 15, 0.88);
    color: #f8fafc;
    padding: 0 15px;
    font-size: 0.98rem;
    font-weight: 750;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.g4-login-form input::placeholder {
    color: #74839b;
}

.g4-login-form input:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.68);
    box-shadow:
        0 0 0 3px rgba(56, 189, 248, 0.12),
        0 12px 28px rgba(8, 47, 73, 0.18);
}

.g4-login-contact-control input {
    min-height: 52px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.g4-login-contact-control input:focus {
    border-color: transparent;
    box-shadow: none;
}

.g4-login-form .g4-login-dial-search input {
    min-height: 38px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.g4-login-form .g4-login-dial-search input:focus {
    border: 0;
    box-shadow: none;
}

.g4-login-form .forgot-password {
    min-height: 46px !important;
    width: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    justify-self: start !important;
    align-self: center;
    margin-top: 0;
    border: 1px solid rgba(125, 211, 252, 0.46) !important;
    border-radius: 999px !important;
    background:
        linear-gradient(180deg, rgba(18, 36, 56, 0.96), rgba(8, 15, 26, 0.99)) !important;
    color: #f8fafc !important;
    padding: 0 16px !important;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        0 14px 28px rgba(2, 6, 23, 0.26) !important;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.g4-login-form .forgot-password:hover {
    border-color: rgba(56, 189, 248, 0.44) !important;
    background:
        linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(8, 12, 20, 0.94)) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(14, 165, 233, 0.16);
}

.g4-login-form .forgot-password[hidden] {
    display: none !important;
}

.g4-login-form .auth-error {
    min-height: 18px;
    margin: 0;
    text-align: center;
    color: #ff7585;
    font-weight: 850;
}

.g4-login-form .auth-error:empty {
    display: none;
}

.g4-login-form .auth-error.is-success {
    color: #86efac;
}

.g4-login-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
    width: min(100%, 286px);
    margin-top: 2px;
}

.login-otp-mode .g4-login-actions {
    grid-template-columns: repeat(2, minmax(0, 138px));
}

.login-password-mode .g4-login-actions {
    grid-template-columns: minmax(0, 138px) minmax(0, 182px);
    width: min(100%, 330px);
}

.g4-login-actions .login-submit-btn,
.g4-login-otp-btn {
    min-height: 46px;
    width: 100%;
    border-radius: 999px !important;
    font-weight: 900;
}

.g4-login-form .login-submit-btn {
    width: 100%;
    min-height: 46px;
    margin-top: 0;
    border: 1px solid rgba(45, 212, 191, 0.34) !important;
    border-radius: 999px !important;
    background:
        linear-gradient(135deg, rgba(45, 212, 191, 0.96), rgba(56, 189, 248, 0.92)) !important;
    color: #031018 !important;
    box-shadow: 0 16px 34px rgba(20, 184, 166, 0.22);
}

.g4-login-form .login-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(56, 189, 248, 0.26);
}

.g4-login-otp-btn {
    border: 1px solid rgba(125, 211, 252, 0.46) !important;
    background:
        linear-gradient(180deg, rgba(18, 36, 56, 0.96), rgba(8, 15, 26, 0.99)) !important;
    color: #f8fafc;
    cursor: pointer;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        0 14px 28px rgba(2, 6, 23, 0.26) !important;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.g4-login-otp-btn:hover {
    border-color: rgba(56, 189, 248, 0.44);
    background:
        linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(8, 12, 20, 0.94));
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(14, 165, 233, 0.16);
}

.g4-login-otp-btn[hidden] {
    display: none !important;
}

.login-code-mode .g4-login-actions {
    grid-template-columns: minmax(0, 154px);
}

.login-signup-mode .g4-login-actions {
    grid-template-columns: minmax(0, 172px);
}

.g4-login-terms-note {
    max-width: 390px;
    margin: 4px 0 0;
    color: #aebdd3;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.45;
}

.g4-login-terms-note a {
    color: #dce8f8;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.g4-login-terms-note a:hover {
    color: #ff6677;
}

.g4-login-visual {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: 1fr;
    place-items: center;
    align-content: stretch;
    gap: 0;
    min-height: 0;
    padding: 36px 30px 38px;
    overflow: hidden;
    border-left: 1px solid rgba(148, 163, 184, 0.13);
    background: linear-gradient(135deg, #090d18 0%, #070a12 46%, #110816 100%);
}

.g4-login-visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 14, 0.08), rgba(2, 6, 14, 0.46) 58%, rgba(2, 6, 14, 0.86)),
        radial-gradient(circle at 50% 48%, rgba(255, 71, 87, 0.18), transparent 30%),
        url("../Images/login-right-panel-bg.png") center center / cover;
    filter: none;
    transform: none;
    pointer-events: none;
}

.g4-login-visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 14, 0.16), transparent 32%, rgba(2, 6, 14, 0.12)),
        linear-gradient(180deg, transparent 48%, rgba(255, 71, 87, 0.16));
    pointer-events: none;
}

.g4-login-logo-stage {
    position: relative;
    z-index: 2;
    width: min(420px, 88%);
    opacity: 1;
    display: grid;
    place-items: center;
    align-self: center;
    justify-self: center;
    transform: translateY(0);
}

.g4-login-live-logo {
    position: relative;
    z-index: 3;
    width: min(328px, 92%);
    border-radius: 28px;
    height: auto;
    filter:
        drop-shadow(0 0 22px rgba(255, 71, 87, 0.60))
        drop-shadow(0 22px 44px rgba(0, 0, 0, 0.55));
}

.g4-login-category-marquee {
    position: relative;
    z-index: 2;
    width: min(360px, 86%);
    overflow: hidden;
    padding: 6px 0;
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.g4-login-category-track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: g4LoginCategoryMarquee 11s linear infinite;
}

.g4-login-category-track span {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    color: #fff;
    font-size: 1.12rem;
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.34),
        0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.g4-login-category-track span:nth-child(5n + 1) i { color: #38bdf8; }
.g4-login-category-track span:nth-child(5n + 2) i { color: #ffb020; }
.g4-login-category-track span:nth-child(5n + 3) i { color: #22c55e; }
.g4-login-category-track span:nth-child(5n + 4) i { color: #a855f7; }
.g4-login-category-track span:nth-child(5n + 5) i { color: #ff4757; }

html.login-modal-open,
body.login-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

@keyframes g4LoginCategoryMarquee {
    to { transform: translateX(calc(-50% - 9px)); }
}

@media screen and (max-width: 820px) {
    html:has(body.login-screen-body) {
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden !important;
        overscroll-behavior: none;
    }

    .g4-login-modal {
        padding: 12px;
    }

    .g4-login-dialog {
        grid-template-columns: 1fr;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
    }

    .g4-login-pane {
        padding: 28px 20px 22px;
    }

    .g4-login-visual {
        min-height: 210px;
        padding: 30px 22px 24px;
        border-left: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.13);
        order: -1;
    }

    .g4-login-logo-stage {
        width: 320px;
        justify-self: center;
        transform: translateY(0);
    }

    .g4-login-category-marquee {
        width: min(300px, 82%);
    }

    .login-screen-body .login-direct-host {
        display: none;
    }

    .login-screen-body {
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden !important;
        overscroll-behavior: none;
    }

    .login-screen-body .g4-login-modal {
        position: relative;
        inset: auto;
        min-height: 100dvh;
        height: 100dvh;
        width: 100%;
        display: grid;
        padding: 0;
        overflow: hidden;
        background:
            radial-gradient(circle at 18% 10%, rgba(255, 71, 87, 0.14), transparent 34%),
            radial-gradient(circle at 84% 0%, rgba(34, 211, 238, 0.10), transparent 30%),
            #05070c;
    }

    .login-screen-body .g4-login-backdrop {
        display: none;
    }

    .login-screen-body .g4-login-dialog {
        --login-mobile-visual-size: clamp(178px, 25svh, 224px);
        width: 100%;
        min-height: 100dvh;
        height: 100dvh;
        max-height: 100dvh;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: var(--login-mobile-visual-size) minmax(0, 1fr);
        align-content: stretch;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background:
            linear-gradient(135deg, rgba(255, 71, 87, 0.10), transparent 34%),
            linear-gradient(180deg, rgba(13, 18, 29, 0.98), rgba(5, 8, 15, 0.99));
        box-shadow: none;
    }

    .login-screen-body .g4-login-dialog:has(.login-password-mode) {
        --login-mobile-visual-size: clamp(150px, 20svh, 190px);
    }

    .login-screen-body .g4-login-dialog:has(.login-signup-mode) {
        --login-mobile-visual-size: clamp(132px, 18svh, 174px);
    }

    .login-screen-body .g4-login-dialog:has(.login-code-mode) {
        --login-mobile-visual-size: clamp(126px, 17svh, 168px);
    }

    .login-screen-body .g4-login-close {
        position: fixed;
        top: 14px;
        left: 14px;
        right: auto;
        z-index: 20;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(6, 9, 16, 0.78);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .login-screen-body .g4-login-visual {
        height: auto;
        min-height: 0;
        max-height: none;
        gap: 0;
        padding: clamp(10px, 1.8svh, 16px) 20px;
        border-top: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.13);
    }

    .login-screen-body .g4-login-logo-stage {
        width: clamp(160px, 45vw, 204px);
    }

    .login-screen-body .g4-login-category-track span {
        width: 46px;
        height: 46px;
    }

    .login-screen-body .g4-login-pane {
        min-height: 0;
        height: 100%;
        max-height: none;
        display: flex;
        flex-direction: column;
        padding: clamp(18px, 2.4svh, 24px) 20px clamp(16px, 2.2svh, 22px);
        overflow: hidden;
    }

    .login-screen-body .g4-login-head {
        margin-bottom: 14px;
    }

    .login-screen-body .g4-login-head h2 {
        margin-bottom: 10px;
        font-size: clamp(1.9rem, 8.2vw, 2.18rem);
        line-height: 1.06;
    }

    .login-screen-body .g4-login-head .login-signup-btn {
        margin-top: 8px;
    }

    .login-screen-body .login-divider {
        margin-bottom: 16px;
    }

    .login-screen-body .g4-login-form {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        gap: clamp(9px, 1.35svh, 12px);
        margin-top: clamp(10px, 1.6svh, 14px);
        min-height: 0;
    }

    .login-screen-body .g4-login-contact-control,
    .login-screen-body .g4-login-form input {
        min-height: clamp(48px, 6.1svh, 54px);
    }

    .login-screen-body .g4-login-actions .login-submit-btn,
    .login-screen-body .g4-login-otp-btn,
    .login-screen-body .g4-login-form .forgot-password {
        min-height: clamp(42px, 5.5svh, 46px) !important;
    }

    .login-screen-body .g4-login-step {
        gap: clamp(8px, 1.25svh, 11px);
    }

    .login-screen-body .g4-login-terms-note {
        margin-top: auto;
        padding-top: clamp(10px, 1.7svh, 16px);
    }
}

.account-actions {
    display: grid;
    gap: 12px;
}

.account-actions a,
.account-actions button {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.account-actions a {
    background: #1b1b22;
    border: 1px solid #2d2d38;
    color: white;
}

.customer-page,
.logout-page {
    width: min(1120px, 92vw);
    margin: 0 auto 88px;
}

.customer-hero-panel,
.logout-panel {
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.10), transparent 32%),
        linear-gradient(180deg, #15151c, #101015);
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 34px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.customer-hero-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.customer-hero-panel h1,
.logout-panel h1 {
    color: #fff;
    font-size: 2.45rem;
    margin-bottom: 8px;
}

.customer-hero-panel p,
.logout-panel p {
    color: #9fb6d8;
    max-width: 660px;
}

.customer-profile-chip {
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(24, 24, 32, 0.86);
    border: 1px solid #2d2d38;
    border-radius: 8px;
    padding: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.customer-profile-chip > div {
    min-width: 0;
}

.customer-profile-chip strong,
.customer-profile-chip span {
    display: block;
}

.customer-profile-chip .account-avatar {
    display: grid;
    place-items: center;
    overflow: hidden;
}

.customer-profile-chip .account-avatar.large {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 18px;
}

.customer-profile-chip .account-avatar i {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    transform: none;
}

.customer-profile-chip strong,
.customer-profile-chip div > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-profile-chip span {
    color: #94a3b8;
    font-size: 0.88rem;
}

.customer-profile-chip small {
    display: inline-flex;
    margin-top: 6px;
    color: #22c55e;
    font-weight: 800;
}

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

.customer-hero-actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
}

.customer-hero-actions a + a {
    background: #1b1b22;
    border: 1px solid #2d2d38;
}

.customer-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.customer-stats-grid div {
    background: #111116;
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 18px;
}

.customer-stats-grid span {
    display: block;
    color: #94a3b8;
    margin-bottom: 8px;
}

.customer-stats-grid strong {
    color: #fff;
    font-size: 1.25rem;
}

.customer-action-panel,
.logout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.customer-action-panel a,
.logout-actions a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 8px;
    background: #1b1b22;
    border: 1px solid #2d2d38;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.customer-action-panel a:first-child,
.logout-actions a:first-child {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    border-color: transparent;
}

.customer-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.customer-feature-grid a {
    min-height: 176px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), transparent),
        #111116;
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.customer-feature-grid a:hover {
    transform: translateY(-4px);
    border-color: #ff4757;
    background: #15151c;
}

.customer-feature-grid a.customer-feature-seller {
    border-color: rgba(34, 197, 94, 0.35);
}

.customer-feature-grid a.customer-feature-seller:hover {
    border-color: #22c55e;
}

.customer-feature-grid i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.12);
    color: #ff6b81;
}

.customer-feature-grid a.customer-feature-seller > i:not(.customer-feature-chevron) {
    background: rgba(34, 197, 94, 0.14);
    color: #22c55e;
}

.customer-feature-grid strong {
    color: #fff;
    font-size: 1.05rem;
}

.customer-feature-grid span {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.45;
}

.settings-page {
    width: min(1060px, 92vw);
    margin: 54px auto 88px;
}

.settings-unified-card {
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.08), transparent 30%),
        #111116;
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.settings-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #262633;
}

.settings-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
}

.settings-side,
.settings-panel {
    background: #111116;
    border: 1px solid #262633;
    border-radius: 8px;
    padding: 26px;
}

.settings-side {
    align-self: start;
}

.settings-avatar-wrap {
    width: 104px;
    height: 104px;
    border-radius: 28px;
    background: transparent;
    display: grid;
    place-items: center;
    overflow: visible;
    margin-bottom: 18px;
    box-shadow: none;
}

.settings-avatar-button {
    position: relative;
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 26px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    padding: 0;
}

.settings-avatar-button > span {
    position: absolute;
    inset: auto 8px 8px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(7, 10, 16, 0.82);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.settings-avatar-button:hover > span,
.settings-avatar-button:focus-visible > span {
    opacity: 1;
    transform: translateY(0);
}

.settings-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.settings-avatar-wrap > span {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
}

.settings-side h1 {
    color: #fff;
    margin-bottom: 8px;
}

.settings-top h1 {
    color: #fff;
    margin-bottom: 6px;
}

.settings-top p {
    color: #9fb6d8;
    margin-bottom: 10px;
}

.settings-top a {
    color: #ff6b81;
    font-weight: 900;
    text-decoration: none;
}

.settings-side p {
    color: #9fb6d8;
    margin-bottom: 18px;
}

.settings-side a {
    color: #ff6b81;
    font-weight: 900;
    text-decoration: none;
}

.settings-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.settings-panel-head h2 {
    color: #fff;
}

#settingsStatus {
    color: #22c55e;
    font-weight: 900;
}

.settings-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.marketplace-settings-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-form label {
    display: grid;
    gap: 7px;
    color: #cbd5e1;
    font-weight: 800;
}

.settings-form input {
    min-height: 46px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #0d0d12;
    color: #fff;
    padding: 0 12px;
}

.settings-form select {
    min-height: 46px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #0d0d12;
    color: #fff;
    padding: 0 12px;
}

.settings-section-title {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.settings-section-title span {
    display: block;
    color: #22c55e;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.settings-section-title strong {
    color: #fff;
}

.settings-toggle-row {
    min-height: 46px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #0d0d12;
    padding: 10px 12px;
}

.settings-toggle-row small {
    display: block;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 2px;
}

.settings-toggle-row input {
    width: 20px;
    min-height: 20px;
    accent-color: #ff4757;
}

.avatar-style-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.settings-form .avatar-style-grid button {
    position: relative;
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: start;
    gap: 12px;
    border: 1px solid #2d2d38;
    border-radius: 10px;
    background: #17171d;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    overflow: visible;
    padding: 0 18px;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.settings-form .avatar-style-grid button::before {
    display: none;
}

.settings-form .avatar-style-grid button i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: radial-gradient(circle at 32% 20%, #ff8aa0, #c92b35 58%, #321018);
    box-shadow: 0 12px 22px rgba(255, 71, 87, 0.18);
}

.settings-form .avatar-style-grid button[data-avatar-style="ghost"] i {
    background: radial-gradient(circle at 32% 20%, #dbeafe, #64748b 58%, #111827);
}

.settings-form .avatar-style-grid button[data-avatar-style="cyber"] i {
    background: radial-gradient(circle at 32% 20%, #86efac, #16a34a 58%, #052e16);
}

.settings-form .avatar-style-grid button[data-avatar-style="arcade"] i {
    background: radial-gradient(circle at 32% 20%, #bfdbfe, #4f46e5 58%, #111827);
}

.settings-form .avatar-style-grid button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-form .avatar-style-grid button:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 129, 0.55);
}

.settings-form .avatar-style-grid button.active {
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 71, 87, 0.22);
}

.character-avatar {
    width: 104px;
    height: 104px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2.3rem;
    font-weight: 950;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.character-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.character-avatar.has-image {
    background: #111620;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.character-avatar.rogue,
.character-avatar.neon {
    background: radial-gradient(circle at 30% 20%, #ff6b81, #8b1e2d 55%, #1b1018);
    box-shadow: 0 16px 40px rgba(255, 71, 87, 0.28);
}

.character-avatar.ghost {
    background: radial-gradient(circle at 30% 20%, #94a3b8, #334155 55%, #0f172a);
    box-shadow: 0 16px 40px rgba(148, 163, 184, 0.22);
}

.character-avatar.cyber {
    background: radial-gradient(circle at 30% 20%, #22c55e, #14532d 55%, #07130c);
    box-shadow: 0 16px 40px rgba(34, 197, 94, 0.24);
}

.character-avatar.arcade {
    background: radial-gradient(circle at 30% 20%, #60a5fa, #3730a3 55%, #111827);
    box-shadow: 0 16px 40px rgba(96, 165, 250, 0.24);
}

.settings-form input[readonly] {
    color: #94a3b8;
    background: #17171d;
}

.settings-wide,
.settings-form .auth-error,
.settings-password-button,
.settings-form > button[type="submit"] {
    grid-column: 1 / -1;
}

.settings-password-button {
    min-height: 48px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: linear-gradient(180deg, #1a202c, #0d121b);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.settings-password-button:hover {
    border-color: rgba(255, 107, 129, 0.55);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
    transform: translateY(-1px);
}

.settings-password-button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.settings-form > button[type="submit"] {
    min-height: 48px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.support-workspace {
    width: min(1120px, 92vw);
    margin: 54px auto 88px;
}

.support-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 30px;
    border: 1px solid #262633;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.12), transparent 36%),
        linear-gradient(180deg, #15151c, #101015);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.support-hero h1 {
    color: #fff;
    font-size: 2.3rem;
    margin-bottom: 8px;
}

.support-hero p {
    color: #9fb6d8;
    max-width: 680px;
}

.support-hero a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    color: #fff;
    background: #1b1b22;
    text-decoration: none;
    font-weight: 900;
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 18px;
    align-items: start;
}

.support-panel {
    border: 1px solid #262633;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), transparent),
        #111116;
    padding: 24px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.support-panel-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.support-panel-head.compact {
    margin-bottom: 14px;
}

.support-panel-head > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.14);
    color: #ff6b81;
}

.support-panel-head h2,
.invoice-toolbar h2 {
    color: #fff;
    margin-bottom: 4px;
}

.support-panel-head p,
.invoice-toolbar p {
    color: #94a3b8;
    font-size: 0.92rem;
}

.support-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.support-form label {
    display: grid;
    gap: 8px;
    color: #dbe7ff;
    font-weight: 900;
}

.support-form input,
.support-form select,
.support-form textarea,
.invoice-toolbar select {
    width: 100%;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #0d0d12;
    color: #fff;
    padding: 0 12px;
    font: inherit;
}

.support-form input,
.support-form select,
.invoice-toolbar select {
    min-height: 48px;
}

.support-form textarea {
    min-height: 150px;
    padding-top: 13px;
    resize: vertical;
}

.support-wide,
.support-message,
.support-form button {
    grid-column: 1 / -1;
}

.support-message {
    min-height: 22px;
    color: #22c55e;
    font-weight: 900;
}

.support-message.is-error {
    color: #ff5c72;
}

.support-form button {
    min-height: 48px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

.support-list {
    display: grid;
    gap: 12px;
}

.support-list-item {
    border: 1px solid #262633;
    border-radius: 8px;
    background: #0d0d12;
    padding: 15px;
}

.support-list-item div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.support-list-item strong {
    color: #fff;
}

.support-list-item span,
.support-list-item p,
.support-list-item small {
    display: block;
    color: #94a3b8;
    font-size: 0.9rem;
}

.support-list-item p {
    margin-top: 8px;
}

.support-list-item em {
    display: inline-flex;
    margin-top: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font-style: normal;
    font-weight: 900;
    font-size: 0.78rem;
}

.support-selected-order {
    display: grid;
    gap: 7px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 71, 87, 0.28);
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.05);
}

.support-selected-order span,
.support-selected-order small {
    color: #94a3b8;
}

.support-selected-order strong {
    color: #fff;
    font-size: 1rem;
}

.support-secondary-link {
    min-height: 46px;
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.dispute-history-panel + .dispute-history-panel {
    margin-top: 18px;
}

.dispute-history-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dispute-record .remove-dispute-btn {
    min-height: 40px;
    margin-top: 14px;
    padding: 0 14px;
    border: 1px solid rgba(255, 71, 87, 0.34);
    border-radius: 8px;
    color: #ff6b81;
    background: rgba(255, 71, 87, 0.08);
    font-weight: 900;
    cursor: pointer;
}

.dispute-record .dispute-status.status-escalated {
    background: rgba(245, 158, 11, 0.14);
    color: #f59e0b;
}

.dispute-record .dispute-status.status-refunded,
.dispute-record .dispute-status.status-resolved {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.dispute-record .dispute-status.status-withdrawn,
.dispute-record .dispute-status.status-closed {
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
}

.support-empty {
    min-height: 170px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    border: 1px dashed #343442;
    border-radius: 8px;
    color: #94a3b8;
    padding: 26px;
}

.support-empty i {
    color: #ff6b81;
    font-size: 1.6rem;
}

.support-empty strong {
    color: #fff;
}

.support-divider {
    height: 1px;
    background: #262633;
    margin: 18px 0;
}

.support-panel h3 {
    color: #fff;
    margin-bottom: 12px;
}

.invoice-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.invoice-toolbar select {
    max-width: 270px;
}

.invoice-grid {
    display: grid;
    border: 1px solid #262633;
    border-radius: 8px;
    background: #111116;
    overflow: hidden;
}

.invoice-row-head,
.invoice-row {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) 190px 120px 130px;
    gap: 16px;
    align-items: center;
}

.invoice-row-head {
    padding: 14px 20px;
    background: #17171d;
    color: #94a3b8;
    font-size: 0.84rem;
    font-weight: 900;
}

.invoice-row {
    padding: 16px 20px;
    border-top: 1px solid #262633;
    color: #dbe7ff;
}

.invoice-order-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.invoice-order-cell > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.14);
    color: #ff6b81;
}

.invoice-order-cell strong,
.invoice-row > strong {
    color: #fff;
}

.invoice-order-cell small,
.invoice-row small {
    display: block;
    color: #94a3b8;
    margin-top: 4px;
}

.invoice-row em {
    display: inline-flex;
    color: #22c55e;
    font-style: normal;
    font-weight: 900;
}

.invoice-row button {
    min-height: 40px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

@media (max-width: 760px) {
    .customer-hero-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-profile-chip {
        min-width: 0;
        width: 100%;
    }

    .customer-stats-grid {
        grid-template-columns: 1fr;
    }

    .customer-feature-grid {
        grid-template-columns: 1fr;
    }

    .settings-shell,
    .settings-form,
    .settings-top {
        grid-template-columns: 1fr;
    }

    .avatar-style-grid {
        grid-template-columns: 1fr 1fr;
    }

    .support-hero,
    .invoice-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-layout,
    .support-form {
        grid-template-columns: 1fr;
    }

    .dispute-history-list {
        grid-template-columns: 1fr;
    }

    .invoice-toolbar select {
        max-width: none;
    }

    .invoice-row-head {
        display: none;
    }

    .invoice-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .invoice-row button {
        width: 100%;
    }
}

/* Admin operations console */
.admin-console-body {
    margin: 0;
    background: #f3f5f8;
    color: #172033;
}

.admin-drawer-open-root,
.admin-console-body.admin-drawer-open {
    overflow: hidden;
}

.admin-console-body * {
    box-sizing: border-box;
}

.admin-console {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 214px minmax(0, 1fr);
    font-family: Arial, sans-serif;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    background: #151923;
    color: #dde4f2;
    min-height: 100vh;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-console-brand {
    display: block;
    padding: 24px 20px 26px;
    border-bottom: 1px solid #262d3c;
}

.admin-console-brand img {
    width: 150px;
    height: auto;
    display: block;
}

.admin-sidebar-label {
    margin: 25px 18px 9px;
    color: #75829a;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-sidebar-nav {
    display: grid;
    gap: 2px;
}

.admin-sidebar-nav button {
    min-height: 44px;
    position: relative;
    border: 0;
    border-left: 3px solid transparent;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 14px;
    text-align: left;
    padding: 0 18px;
    cursor: pointer;
}

.admin-sidebar-nav button i {
    width: 25px;
    color: #8d98af;
}

.admin-sidebar-nav button:hover,
.admin-sidebar-nav button.active {
    border-left-color: #3664f4;
    background: #283fc5;
    color: #fff;
}

.admin-sidebar-nav button.active i {
    color: #fff;
}

.seller-sidebar-count {
    position: absolute;
    right: 14px;
    top: 50%;
    min-width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ff4757;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
    line-height: 1;
    padding: 0 6px;
    transform: translateY(-50%);
    box-shadow: 0 0 0 2px rgba(8, 13, 22, 0.95), 0 8px 18px rgba(255, 71, 87, 0.28);
}

.admin-back-store {
    margin: auto 16px 18px;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #262d3c;
    color: #b5c0d4;
    text-decoration: none;
    padding-top: 18px;
}

.admin-console-main {
    min-width: 0;
    padding: 28px 30px 32px;
}

.admin-console-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 22px;
}

.admin-console-body .admin-badge {
    color: #3664f4;
    margin: 0 0 7px;
    font-size: 11px;
}

.admin-console-top h1 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 600;
    color: #131a29;
}

.admin-console-top p {
    margin: 0;
    color: #627089;
}

.admin-console-body #adminLogoutBtn {
    min-height: 42px;
    border: 1px solid #d4d9e2;
    border-radius: 4px;
    background: #fff;
    color: #354257;
    font-weight: 700;
    padding: 0 17px;
    cursor: pointer;
}

.seller-console-body #sellerPanelCloseStoreBtn {
    min-height: 42px;
    border: 1px solid #fecaca;
    border-radius: 4px;
    background: #fff1f2;
    color: #be123c;
    font-weight: 800;
    padding: 0 17px;
    cursor: pointer;
}

.admin-console-body .admin-metrics {
    display: grid;
    grid-template-columns: repeat(7, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.admin-console-body .admin-metrics div {
    min-height: 88px;
    display: grid;
    grid-template-columns: 30px 1fr;
    grid-template-rows: auto auto;
    gap: 0 9px;
    align-content: center;
    padding: 12px;
    border: 1px solid #dce1ea;
    border-radius: 4px;
    background: #fff;
}

.admin-console-body .admin-metrics i {
    width: 30px;
    height: 30px;
    grid-row: 1 / 3;
    margin: 0;
    border-radius: 4px;
    background: #ecf1ff;
    color: #3664f4;
}

.admin-console-body .admin-metrics span {
    margin: 0;
    color: #66748c;
    font-size: 12px;
}

.admin-console-body .admin-metrics strong {
    color: #172033;
    font-size: 21px;
}

.admin-console-body .admin-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    border: 0;
    background: transparent;
    padding: 0;
}

.admin-search-box {
    width: min(330px, 100%);
    display: flex;
    align-items: center;
    border: 1px solid #cfd5df;
    border-radius: 4px;
    background: #fff;
    color: #748097;
    padding-left: 12px;
}

.admin-console-body .admin-toolbar input {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #172033;
    outline: none;
}

.admin-console-body .admin-toolbar select,
.admin-console-body .admin-toolbar button {
    min-height: 42px;
    border: 1px solid #cfd5df;
    border-radius: 4px;
    background: #fff;
    color: #354257;
    font-weight: 600;
    padding: 0 13px;
    cursor: pointer;
}

.admin-console-body .admin-panel {
    border: 1px solid #d8dde6;
    border-radius: 4px;
    background: #fff;
    color: #172033;
    overflow: hidden;
}

.admin-console-body .admin-settings-panel {
    padding: 18px;
    overflow: visible;
}

.admin-console-body .admin-settings-status {
    display: none;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #d8dde6;
    border-radius: 6px;
    background: #f6f8fb;
    color: #354257;
    font-weight: 700;
}

.admin-console-body .admin-settings-status:not(:empty) {
    display: block;
}

.admin-console-body .admin-settings-status[data-tone="success"] {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.admin-console-body .admin-settings-status[data-tone="error"] {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.admin-console-body .admin-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-console-body .admin-settings-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #d8dde6;
    border-radius: 6px;
    background: #fff;
}

.admin-console-body .admin-settings-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e4e8ef;
}

.admin-console-body .admin-settings-card-head > i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #eef4ff;
    color: #2563eb;
}

.admin-console-body .admin-settings-card h2 {
    margin: 0 0 4px;
    color: #172033;
    font-size: 18px;
}

.admin-console-body .admin-settings-card p {
    margin: 0;
    color: #63718a;
    font-size: 13px;
}

.admin-console-body .admin-settings-current {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-console-body .admin-settings-current span {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid #e2e7ef;
    border-radius: 6px;
    background: #f8fafc;
}

.admin-console-body .admin-settings-current small {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-console-body .admin-settings-current strong {
    color: #172033;
    overflow-wrap: anywhere;
}

.admin-console-body .admin-settings-card label {
    display: grid;
    gap: 7px;
    color: #354257;
    font-weight: 700;
}

.admin-console-body .admin-settings-field {
    display: grid;
    gap: 8px;
}

.admin-console-body .admin-settings-field > label {
    display: block;
}

.admin-console-body .admin-settings-input-row,
.admin-console-body .admin-settings-verify-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.admin-console-body .admin-settings-card input {
    min-height: 44px;
    border: 1px solid #cfd5df;
    border-radius: 5px;
    background: #fff;
    color: #172033;
    padding: 0 12px;
}

.admin-console-body .admin-settings-card button,
.admin-console-body .admin-settings-input-row button,
.admin-console-body .admin-settings-verify-row button {
    min-height: 44px;
    border: 0;
    border-radius: 5px;
    background: #2f62e8;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    padding: 0 16px;
    white-space: nowrap;
}

.admin-console-body .admin-settings-card button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.admin-console-body .admin-settings-verified {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
    padding: 0 12px;
    white-space: nowrap;
}

.admin-console-body .admin-settings-verify-row[hidden],
.admin-console-body .admin-settings-input-row button[hidden],
.admin-console-body .admin-settings-verified[hidden] {
    display: none !important;
}

.admin-console-body .admin-settings-field-message {
    min-height: 17px;
    color: #63718a;
    font-size: 12px;
    font-weight: 700;
}

.admin-console-body .admin-settings-field-message[data-tone="success"] {
    color: #15803d;
}

.admin-console-body .admin-settings-field-message[data-tone="error"] {
    color: #b91c1c;
}

@media (max-width: 900px) {
    .admin-console-body .admin-settings-grid,
    .admin-console-body .admin-settings-current {
        grid-template-columns: 1fr;
    }

    .admin-console-body .admin-settings-input-row,
    .admin-console-body .admin-settings-verify-row {
        grid-template-columns: 1fr;
    }
}

.admin-orders-workspace {
    display: block;
    min-height: 680px;
}

.admin-orders-workspace[hidden] {
    display: none;
}

.admin-order-table {
    width: 100%;
}

.admin-orders-workspace.detail-open .admin-order-table {
    display: none;
}

.admin-section-title {
    min-height: 62px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid #e4e8ef;
}

.admin-section-title h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
}

.admin-section-title span {
    color: #68768e;
    font-size: 13px;
}

.admin-order-list-head,
.admin-order-list-row {
    display: grid;
    grid-template-columns: minmax(230px, 1.4fr) 190px 150px 130px;
    gap: 10px;
    align-items: center;
}

.admin-order-list-head {
    min-height: 44px;
    padding: 0 16px;
    background: #f6f7f9;
    border-bottom: 1px solid #e4e8ef;
    color: #63718a;
    font-size: 12px;
    font-weight: 700;
}

.admin-order-list-row {
    width: 100%;
    min-height: 69px;
    border: 0;
    border-bottom: 1px solid #ebedf2;
    background: #fff;
    color: #172033;
    text-align: left;
    padding: 10px 16px;
    cursor: pointer;
}

.admin-order-list-row:nth-child(even) {
    background: #fafbfd;
}

.admin-order-list-row:hover,
.admin-order-list-row.selected {
    background: #edf3ff;
}

.admin-order-list-row.selected {
    box-shadow: inset 3px 0 #3664f4;
}

.admin-order-reference strong {
    display: block;
    color: #2451e8;
    font-size: 13px;
}

.admin-order-reference small {
    display: block;
    margin-top: 4px;
    color: #66748c;
}

.admin-status-pill {
    display: inline-flex;
    width: max-content;
    border-radius: 4px;
    background: #e6eef9;
    color: #285a91;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    padding: 7px 10px;
}

.admin-status-pill.status-completed {
    background: #ddf4e6;
    color: #18854d;
}

.admin-status-pill.status-cancelled {
    background: #fde7e6;
    color: #b93836;
}

.admin-status-pill.status-delivering {
    background: #fff0d9;
    color: #a36300;
}

.admin-status-pill.status-waiting-for-confirmation {
    background: #f2ebff;
    color: #6d36c8;
}

.admin-status-pill.status-new-order {
    background: #e7f0ff;
    color: #2451e8;
}

.admin-status-pill.status-cancel-requested,
.admin-status-pill.status-dispute-opened {
    background: #ffe9df;
    color: #b64d1e;
}

.admin-status-pill.status-new-message {
    background: #e2f6ee;
    color: #087b4e;
}

.admin-order-editor {
    width: 100%;
    padding: 24px;
    background: #fff;
}

.admin-order-editor[hidden] {
    display: none;
}

.admin-order-placeholder {
    min-height: 400px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    color: #6f7d95;
    text-align: center;
}

.admin-order-placeholder i {
    font-size: 30px;
    color: #3664f4;
}

.admin-editor-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid #e5e9f0;
    padding-bottom: 17px;
    margin-bottom: 20px;
}

.admin-editor-title h2 {
    color: #162034;
    font-size: 21px;
    margin: 0 0 5px;
}

.admin-back-orders {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ccd3de;
    border-radius: 4px;
    background: #fff;
    color: #33425a;
    min-height: 37px;
    padding: 0 12px;
    margin-bottom: 18px;
    font-weight: 700;
    cursor: pointer;
}

.admin-editor-title p {
    color: #63718a;
    font-size: 13px;
    margin: 0;
}

.admin-editor-columns {
    display: grid;
    grid-template-columns: minmax(205px, 0.86fr) minmax(230px, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.admin-order-detail-layout {
    display: grid;
    grid-template-columns: minmax(530px, 0.94fr) minmax(350px, 0.8fr);
    gap: 22px;
    align-items: start;
}

.admin-order-editor h3 {
    color: #1a2437;
    font-size: 14px;
    margin: 0 0 12px;
}

.admin-order-editor label {
    display: block;
    color: #69768d;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.admin-order-editor input,
.admin-order-editor select,
.admin-order-editor textarea {
    display: block;
    width: 100%;
    min-height: 41px;
    margin-top: 6px;
    border: 1px solid #ccd3de;
    border-radius: 4px;
    background: #fff;
    color: #152034;
    font: inherit;
    padding: 0 11px;
}

.admin-order-editor textarea {
    height: 64px;
    resize: vertical;
    padding-top: 10px;
}

.admin-customer-summary {
    border-left: 1px solid #e4e8ef;
    padding-left: 20px;
}

.admin-customer-summary strong,
.admin-customer-summary a,
.admin-customer-summary span {
    display: block;
    font-size: 13px;
    line-height: 1.65;
}

.admin-customer-summary a {
    color: #2451e8;
}

.admin-customer-summary p {
    border: 1px solid #edf0f5;
    background: #f8f9fb;
    color: #67758d;
    font-size: 12px;
    padding: 10px;
    margin: 10px 0 0;
}

.admin-order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-order-info-card {
    border: 1px solid #e1e6ef;
    border-radius: 4px;
    background: #fff;
    padding: 14px;
}

.admin-info-rows {
    display: grid;
    gap: 9px;
}

.admin-info-rows span {
    display: grid;
    grid-template-columns: minmax(96px, 0.7fr) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.admin-info-rows small {
    color: #66748c;
    font-size: 12px;
    font-weight: 700;
}

.admin-info-rows strong {
    min-width: 0;
    color: #172033;
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

.admin-timing-state {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    border-radius: 4px;
    padding: 5px 8px;
}

.admin-timing-state.ok {
    background: #ddf4e6;
    color: #18854d;
}

.admin-timing-state.late {
    background: #fde7e6;
    color: #b93836;
}

.admin-timing-state.neutral {
    background: #eef2f7;
    color: #536079;
}

.admin-delivery-controls {
    border: 1px solid #e1e6ef;
    border-radius: 4px;
    background: #fafbfc;
    padding: 16px;
    margin-bottom: 18px;
}

.admin-delivery-controls > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.admin-delivery-controls button,
.admin-editor-actions button {
    min-height: 40px;
    border: 0;
    border-radius: 4px;
    background: #3664f4;
    color: #fff;
    font-weight: 700;
    padding: 0 15px;
    cursor: pointer;
}

.admin-status-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 10px;
}

.admin-status-actions button {
    min-height: 40px;
    border: 0;
    border-radius: 4px;
    background: #3664f4;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.admin-status-actions .delivered {
    background: #16a765;
}

.admin-status-actions .admin-accept-cancel {
    background: #cf433c;
}

.admin-status-actions .admin-remove-cancel {
    background: #3664f4;
}

.admin-status-actions button:disabled,
.admin-cancel-order:disabled,
.admin-delivery-controls button:disabled,
.admin-editor-actions button:disabled {
    background: #dde3eb;
    color: #8591a5;
    cursor: not-allowed;
}

.admin-cancel-order {
    width: 100%;
    min-height: 40px;
    border: 1px solid #e3c0bf;
    border-radius: 4px;
    background: #fff5f4;
    color: #b83d39;
    font-weight: 700;
    margin: 0 0 11px;
    cursor: pointer;
}

.admin-confirmation-note {
    display: block;
    color: #66748c;
    font-size: 12px;
    margin-bottom: 17px;
}

.admin-order-dispute {
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid #f1d1c3;
    border-radius: 4px;
    background: #fff8f3;
}

.admin-order-dispute > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.admin-order-dispute > div:first-child strong {
    color: #172033;
    font-size: 13px;
}

.admin-order-dispute > div:first-child em {
    border-radius: 4px;
    background: #ffe9df;
    color: #b64d1e;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    padding: 4px 7px;
}

.admin-order-dispute > small {
    display: block;
    color: #66748c;
    font-size: 12px;
    margin-bottom: 11px;
}

.admin-order-dispute-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.admin-order-dispute-actions button {
    min-height: 38px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.admin-order-dispute-actions .refund {
    border: 1px solid #e4c2c0;
    background: #fff;
    color: #c83d39;
}

.admin-order-dispute-actions .escalate {
    border: 1px solid #bfcdfc;
    background: #3664f4;
    color: #fff;
}

.admin-payment-state {
    border: 1px solid #e1e6ef;
    border-radius: 4px;
    background: #f7f9fc;
    padding: 12px;
}

.admin-payment-state span,
.admin-payment-state small {
    display: block;
    color: #66748c;
    font-size: 12px;
}

.admin-payment-state strong {
    display: inline-flex;
    margin: 8px 0;
    border-radius: 4px;
    background: #fff2d8;
    color: #946000;
    padding: 5px 9px;
}

.admin-payment-state .payment-paid {
    background: #ddf4e6;
    color: #18854d;
}

.admin-payment-state .payment-failed {
    background: #fde7e6;
    color: #b93836;
}

.admin-line-items {
    border: 1px solid #e1e6ef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 18px;
}

.admin-line-items h3 {
    background: #f7f8fa;
    border-bottom: 1px solid #e3e7ee;
    margin: 0;
    padding: 13px 14px;
}

.admin-line-items > .admin-line-item {
    display: grid;
    grid-template-columns: 64px minmax(130px, 0.9fr) minmax(180px, 1.1fr) minmax(84px, auto);
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #ecf0f4;
    padding: 12px 14px;
}

.admin-line-item img,
.admin-line-item-image {
    width: 54px;
    height: 54px;
    border: 1px solid #e0e6ef;
    border-radius: 4px;
    object-fit: cover;
    background: #f3f6fa;
}

.admin-line-item-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7c89a2;
}

.admin-line-item-main strong,
.admin-line-item-main small {
    display: block;
}

.admin-line-item-main strong {
    color: #172033;
    line-height: 1.35;
}

.admin-line-items small {
    color: #65738c;
    margin-top: 4px;
}

.admin-line-item-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}

.admin-line-item-meta span {
    min-width: 0;
}

.admin-line-item-meta span small,
.admin-line-item-meta span strong {
    display: block;
}

.admin-line-item-meta span small {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-line-item-meta span strong {
    color: #1b2639;
    font-size: 12px;
    word-break: break-word;
}

.admin-line-item-price {
    justify-self: end;
    white-space: nowrap;
}

.admin-line-item-empty {
    grid-template-columns: 1fr !important;
    color: #66748c;
}

.admin-line-items dl {
    width: 230px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    margin: 13px 14px 13px auto;
}

.admin-line-items dt {
    color: #63718a;
}

.admin-line-items dd {
    color: #152034;
    font-weight: 700;
    margin: 0;
}

.admin-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.admin-editor-actions a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ccd3de;
    border-radius: 4px;
    color: #33425a;
    font-weight: 700;
    text-decoration: none;
    padding: 0 14px;
}

.admin-editor-actions button.secondary {
    border: 1px solid #ccd3de;
    background: #fff;
    color: #33425a;
}

.admin-order-conversation {
    min-height: 640px;
    display: flex;
    flex-direction: column;
    border: 1px solid #dce2eb;
    border-radius: 4px;
    background: #fafbfd;
    overflow: hidden;
}

.admin-conversation-empty {
    flex: 1;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 11px;
    color: #64748b;
    padding: 26px;
    text-align: center;
}

.admin-conversation-empty i {
    color: #3664f4;
    font-size: 29px;
}

.admin-conversation-head {
    display: grid;
    gap: 4px;
    border-bottom: 1px solid #e0e5ec;
    background: #fff;
    padding: 16px;
}

.admin-conversation-head span {
    color: #66748c;
    font-size: 12px;
}

.admin-conversation-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 430px;
    max-height: 540px;
    overflow: auto;
    padding: 16px;
}

.admin-conversation-messages div {
    max-width: 84%;
    border-radius: 8px;
    background: #e9eef8;
    color: #172033;
    padding: 10px 12px;
}

.admin-conversation-messages div.admin {
    align-self: flex-end;
    background: #3664f4;
    color: #fff;
}

.admin-conversation-messages strong,
.admin-conversation-messages span {
    display: block;
    font-size: 11px;
}

.admin-conversation-messages p {
    margin: 5px 0;
    line-height: 1.45;
    white-space: pre-line;
}

.admin-conversation-messages span {
    color: inherit;
    opacity: 0.75;
}

.admin-conversation-compose {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    border-top: 1px solid #e0e5ec;
    background: #fff;
    padding: 12px;
}

.admin-conversation-compose textarea {
    width: 100%;
    height: 48px;
    resize: none;
    border: 1px solid #ccd3de;
    border-radius: 4px;
    font: inherit;
    padding: 12px;
}

.admin-conversation-compose button {
    border: 0;
    border-radius: 4px;
    background: #3664f4;
    color: #fff;
    font-weight: 700;
    padding: 0 16px;
    cursor: pointer;
}

.admin-readonly-chat-note {
    border-top: 1px solid #e0e5ec;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    padding: 12px 16px;
}

.admin-order-editor {
    padding: 16px;
}

.admin-ops-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid #e5e9f0;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.admin-ops-head h2 {
    color: #162034;
    font-size: 20px;
    margin: 0 0 4px;
}

.admin-ops-head p {
    color: #63718a;
    font-size: 12px;
    margin: 0;
}

.admin-order-action-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    border: 1px solid #e0e5ee;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.96);
    padding: 9px;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.admin-order-action-bar button,
.admin-card-action,
.admin-ops-alert button,
.admin-drawer-actions button {
    min-height: 36px;
    border: 0;
    border-radius: 4px;
    background: #3664f4;
    color: #fff;
    font-weight: 700;
    padding: 0 12px;
    cursor: pointer;
}

.admin-order-action-bar button.secondary,
.admin-card-action,
.admin-drawer-actions button.secondary {
    border: 1px solid #ccd3de;
    background: #fff;
    color: #33425a;
}

.admin-order-action-bar button.delivered {
    background: #16a765;
}

.admin-order-action-bar button.danger,
.admin-ops-alert button.danger {
    background: #cf433c;
}

.admin-order-action-bar button:disabled,
.admin-drawer-actions button:disabled {
    background: #dde3eb;
    color: #8591a5;
    cursor: not-allowed;
}

.admin-monitor-note {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    padding: 0 8px;
}

.admin-ops-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.admin-ops-card,
.admin-timeline-card,
.admin-products-compact,
.admin-ops-alert {
    border: 1px solid #e1e6ef;
    border-radius: 4px;
    background: #fff;
}

.admin-ops-card {
    min-height: 0;
    padding: 12px;
}

.admin-ops-card h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1a2437;
    font-size: 13px;
    margin: 0 0 9px;
}

.admin-ops-card p {
    max-height: 46px;
    overflow: auto;
    border-top: 1px solid #eef1f5;
    color: #66748c;
    font-size: 12px;
    line-height: 1.4;
    margin: 9px 0 0;
    padding-top: 8px;
}

.admin-info-rows.compact {
    gap: 6px;
}

.admin-info-rows.compact span {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
}

.admin-chat-monitor,
.admin-ticket-monitor {
    display: grid;
    gap: 3px;
    border: 1px solid #edf1f6;
    border-radius: 4px;
    background: #f8fafc;
    padding: 8px;
    margin-bottom: 8px;
}

.admin-chat-monitor strong,
.admin-ticket-monitor strong {
    color: #162034;
    font-size: 14px;
}

.admin-chat-monitor span,
.admin-ticket-monitor span,
.admin-chat-monitor small,
.admin-ticket-monitor small {
    color: #66748c;
    font-size: 12px;
    line-height: 1.35;
}

.admin-ops-alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fff8f3;
    border-color: #f1d1c3;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.admin-ops-alert strong,
.admin-ops-alert span {
    display: block;
}

.admin-ops-alert span {
    color: #66748c;
    font-size: 12px;
    margin-top: 3px;
}

.admin-section-compact-title {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e5e9f0;
    background: #f8fafc;
    padding: 0 12px;
}

.admin-section-compact-title h3 {
    color: #172033;
    font-size: 14px;
    margin: 0;
}

.admin-section-compact-title span {
    color: #64748b;
    font-size: 12px;
}

.admin-products-compact {
    overflow: hidden;
    margin-bottom: 12px;
}

.admin-products-table {
    overflow-x: auto;
}

.admin-products-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.8fr) minmax(100px, 0.9fr) minmax(100px, 0.9fr) 56px minmax(130px, 1fr) minmax(105px, 0.9fr) 92px;
    gap: 10px;
    align-items: center;
    min-width: 920px;
    border-bottom: 1px solid #edf0f5;
    color: #172033;
    font-size: 12px;
    padding: 10px 12px;
}

.admin-products-row.head {
    min-height: 34px;
    background: #fbfcfe;
    color: #63718a;
    font-weight: 700;
    padding-top: 8px;
    padding-bottom: 8px;
}

.admin-products-row strong {
    min-width: 0;
    word-break: break-word;
}

.admin-products-row.empty {
    grid-template-columns: 1fr;
    min-width: 0;
    color: #66748c;
}

.admin-timeline-card {
    overflow: hidden;
    margin-bottom: 8px;
}

.admin-timeline-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 0;
    padding: 12px;
}

.admin-timeline-step {
    position: relative;
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 7px;
    color: #172033;
}

.admin-timeline-step::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 18px;
    right: 8px;
    height: 1px;
    background: #dfe5ee;
}

.admin-timeline-step:last-child::after {
    display: none;
}

.admin-timeline-step > span {
    position: relative;
    z-index: 1;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid #dfe5ee;
    background: #fff;
}

.admin-timeline-step.done > span {
    border-color: #16a765;
}

.admin-timeline-step.pending > span {
    border-color: #cbd5e1;
}

.admin-timeline-step.late > span {
    border-color: #cf433c;
}

.admin-timeline-step strong,
.admin-timeline-step small,
.admin-timeline-step p {
    display: block;
    margin: 0;
}

.admin-timeline-step strong {
    font-size: 12px;
}

.admin-timeline-step small,
.admin-timeline-step p {
    color: #66748c;
    font-size: 11px;
    line-height: 1.35;
}

.admin-ops-drawer[hidden] {
    display: none;
}

.admin-ops-drawer {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    justify-items: end;
    background: rgba(15, 23, 42, 0.35);
    overscroll-behavior: contain;
    touch-action: none;
}

.admin-drawer-scrim {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: default;
}

.admin-drawer-panel {
    position: relative;
    z-index: 1;
    width: min(560px, 100vw);
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -20px 0 45px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: auto;
}

.admin-drawer-head,
.admin-drawer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e5e9f0;
    padding: 14px 16px;
}

.admin-drawer-actions {
    border-top: 1px solid #e5e9f0;
    border-bottom: 0;
}

.admin-drawer-head strong,
.admin-drawer-head span {
    display: block;
}

.admin-drawer-head span {
    color: #66748c;
    font-size: 12px;
    margin-top: 3px;
}

.admin-drawer-head button {
    width: 36px;
    height: 36px;
    border: 1px solid #d5dce7;
    border-radius: 4px;
    background: #fff;
    color: #33425a;
    cursor: pointer;
}

.admin-drawer-body {
    flex: 1;
    overflow: auto;
    padding: 16px;
}

.admin-drawer-body label {
    display: block;
    color: #69768d;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.admin-drawer-body input,
.admin-drawer-body select,
.admin-drawer-body textarea {
    display: block;
    width: 100%;
    min-height: 41px;
    margin-top: 6px;
    border: 1px solid #ccd3de;
    border-radius: 4px;
    background: #fff;
    color: #152034;
    font: inherit;
    padding: 0 11px;
}

.admin-drawer-body textarea {
    min-height: 88px;
    resize: vertical;
    padding-top: 10px;
}

.admin-order-conversation.compact {
    flex: 1;
    min-height: 0;
    height: 100%;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

.admin-order-conversation.compact .admin-conversation-messages {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.admin-order-conversation.compact .admin-conversation-head,
.admin-order-conversation.compact .admin-readonly-chat-note {
    flex: 0 0 auto;
}

.admin-console-body .orders-table-card {
    border: 1px solid #d8dde6;
    border-radius: 4px;
    background: #fff;
}

.admin-console-body .orders-table-head {
    background: #f5f7f9;
    border-bottom: 1px solid #e2e7ef;
    color: #67758d;
}

.admin-console-body .order-history-item,
.admin-console-body .order-history-row {
    background: #fff;
    color: #172033;
    border-color: #e9edf3;
}

.admin-console-body .order-product-cell strong,
.admin-console-body .order-product-cell a {
    color: #172033;
}

.admin-console-body .order-product-cell span,
.admin-console-body .admin-support-row small {
    color: #64748b;
}

.admin-console-body .admin-order-row select,
.admin-console-body .admin-support-row select {
    border-color: #d2d9e4;
    background: #fff;
    color: #172033;
}

.admin-console-body .admin-products-panel {
    background: transparent;
    border: 0;
}

.admin-console-body .admin-product-builder,
.admin-console-body .admin-product-manager {
    border-color: #d8dde6;
    background: #fff;
    box-shadow: none;
}

.admin-console-body .admin-product-builder-head,
.admin-console-body .admin-product-manager-head,
.admin-console-body .admin-product-item {
    border-color: #e4e8ef;
}

.admin-console-body .admin-product-builder-head h2,
.admin-console-body .admin-product-manager-head h2,
.admin-console-body .admin-product-title-row a {
    color: #172033;
}

.admin-console-body .admin-product-builder-head p,
.admin-console-body .admin-product-manager-head p,
.admin-console-body .admin-product-main p {
    color: #63718a;
}

.admin-console-body .admin-product-builder-head button,
.admin-console-body .admin-product-manager-head span,
.admin-console-body .admin-product-actions button {
    border-color: #d3d9e3;
    background: #fff;
    color: #354257;
}

.admin-console-body .admin-product-form label {
    color: #45536b;
}

.admin-console-body .admin-product-form input,
.admin-console-body .admin-product-form select,
.admin-console-body .admin-product-form textarea {
    border-color: #d1d8e3;
    background: #fff;
    color: #172033;
}

.admin-console-body .admin-product-switches label {
    border-color: #dbe1e9;
    background: #f7f8fa;
}

.admin-console-body .admin-image-upload {
    border-color: #dbe1e9;
    background: #f7f8fa;
}

.admin-console-body .admin-image-upload label {
    background: #3664f4;
    color: #fff;
}

.admin-console-body .admin-image-upload img {
    border-color: #dbe1e9;
    background: #fff;
}

.admin-console-body .admin-product-form button[type="submit"],
.admin-console-body .admin-product-actions button:first-child {
    background: #3664f4;
    color: #fff;
}

.admin-console-body .admin-product-item:hover {
    background: #f8faff;
}

.admin-console-body #chatsPanel.admin-chat-moderation {
    display: block;
    border: 1px solid #d8dde6;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.admin-console-body #chatsPanel.admin-chat-moderation[hidden] {
    display: none;
}

.admin-console-body .admin-support-avatar-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
}

.admin-console-body .admin-support-avatar-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.admin-console-body .admin-support-avatar-preview {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    flex: 0 0 76px;
    border: 1px solid #d9e1ee;
    border-radius: 8px;
    background: #0f172a;
    overflow: hidden;
}

.admin-console-body .admin-support-avatar-preview img {
    width: 68px;
    height: 68px;
    max-width: 68px;
    max-height: 68px;
    display: block;
    object-fit: contain;
}

.admin-console-body .admin-support-avatar-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-console-body .admin-support-avatar-copy strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
}

.admin-console-body .admin-support-avatar-copy small,
.admin-console-body #adminSupportAvatarStatus {
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
}

.admin-console-body #adminSupportAvatarStatus {
    min-height: 16px;
}

.admin-console-body .admin-support-avatar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.admin-console-body .admin-support-avatar-card label {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #2454d8;
    border-radius: 8px;
    background: #3664f4;
    color: #fff;
    box-shadow: 0 8px 18px rgba(54, 100, 244, 0.18);
    font-weight: 850;
    padding: 0 16px;
    cursor: pointer;
    white-space: nowrap;
}

.admin-console-body .admin-support-avatar-card label:hover {
    background: #2454d8;
}

.admin-console-body .admin-support-avatar-card input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 760px) {
    .admin-console-body .admin-support-avatar-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-console-body .admin-support-avatar-actions,
    .admin-console-body .admin-support-avatar-card label {
        width: 100%;
    }
}

.admin-chat-moderation-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #e4e8ef;
    background: #f8fafc;
}

.admin-chat-moderation-toolbar select,
.admin-chat-moderation-toolbar input,
.admin-chat-moderation-toolbar button {
    min-height: 38px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font-weight: 750;
    padding: 0 12px;
}

.admin-chat-moderation-toolbar button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.admin-chat-moderation-toolbar > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-chat-pair-filter {
    flex: 1 1 560px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.admin-chat-pair-filter label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    min-width: 220px;
    padding: 0 10px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
}

.admin-chat-pair-filter input {
    min-height: 0;
    width: 190px;
    border: 0;
    padding: 0;
    outline: 0;
}

.admin-chat-pair-filter #chatPairApplyBtn {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.admin-chat-pair-filter #chatPairClearBtn {
    color: #334155;
}

.admin-chat-pager {
    margin-left: auto;
}

.admin-chat-moderation-toolbar span {
    color: #64748b;
    font-weight: 800;
}

.admin-chat-moderation-layout {
    display: grid;
    grid-template-columns: minmax(310px, 0.85fr) minmax(0, 1.6fr);
    min-height: 620px;
}

.admin-chat-conversation-list {
    display: grid;
    align-content: start;
    max-height: 720px;
    overflow: auto;
    border-right: 1px solid #e4e8ef;
    background: #f8fafc;
}

.admin-chat-conversation-item {
    display: grid;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: 0;
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
    color: #172033;
    text-align: left;
    cursor: pointer;
}

.admin-chat-conversation-item:hover,
.admin-chat-conversation-item.is-selected {
    background: #eef4ff;
}

.admin-chat-conversation-item strong {
    display: block;
    color: #0f172a;
    font-size: 0.95rem;
}

.admin-chat-conversation-item span,
.admin-chat-conversation-item small,
.admin-chat-conversation-item p {
    color: #64748b;
    font-size: 0.82rem;
}

.admin-chat-conversation-item p {
    margin: 0;
    color: #334155;
    line-height: 1.35;
}

.admin-chat-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.admin-chat-list-meta em {
    border-radius: 999px;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 850;
    padding: 3px 8px;
}

.admin-chat-list-meta em.open {
    background: #dcfce7;
    color: #166534;
}

.admin-chat-list-meta em.flagged {
    background: #fef3c7;
    color: #92400e;
}

.admin-chat-list-meta em.closed {
    background: #e2e8f0;
    color: #475569;
}

.admin-chat-detail-panel {
    min-width: 0;
    max-height: 720px;
    overflow: auto;
    background: #fff;
}

.admin-chat-empty-state {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    min-height: 560px;
    color: #64748b;
    text-align: center;
}

.admin-chat-empty-state i {
    color: #2563eb;
    font-size: 1.7rem;
}

.admin-chat-empty-state strong {
    color: #172033;
}

.admin-chat-detail-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
}

.admin-chat-detail-head strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
}

.admin-chat-detail-head span {
    color: #64748b;
    font-weight: 650;
}

.admin-chat-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-chat-detail-actions button,
.admin-chat-compose-grid button {
    min-height: 36px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 800;
    padding: 0 12px;
    cursor: pointer;
}

.admin-chat-detail-actions button:disabled {
    background: #e2e8f0;
    color: #64748b;
    cursor: not-allowed;
}

.admin-chat-linked-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid #e4e8ef;
    background: #f8fafc;
}

.admin-chat-linked-cards div {
    min-width: 0;
    padding: 10px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #fff;
}

.admin-chat-linked-cards span,
.admin-chat-linked-cards small {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-chat-linked-cards strong {
    display: block;
    margin: 3px 0;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.admin-chat-message-stream {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    background: #fff;
}

.admin-chat-message {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #fff;
    color: #172033;
}

.admin-chat-message.is-internal {
    border-color: #fde68a;
    background: #fffbeb;
}

.admin-chat-message > div:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.admin-chat-message strong {
    color: #0f172a;
}

.admin-chat-message span,
.admin-chat-message time {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-chat-message em {
    border-radius: 999px;
    background: #f59e0b;
    color: #fff;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 850;
    padding: 3px 8px;
}

.admin-chat-message p {
    margin: 0;
    color: #172033;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.admin-chat-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-chat-attachments a {
    border: 1px solid #cfd7e3;
    border-radius: 999px;
    color: #2563eb;
    font-weight: 800;
    padding: 5px 10px;
    text-decoration: none;
}

.admin-chat-compose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 18px 18px;
    border-top: 1px solid #e4e8ef;
    background: #f8fafc;
}

.admin-chat-compose-grid label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 800;
}

.admin-chat-compose-grid textarea {
    min-height: 96px;
    resize: vertical;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    padding: 10px;
    font: inherit;
}

@media screen and (max-width: 1050px) {
    .admin-chat-moderation-layout,
    .admin-chat-compose-grid {
        grid-template-columns: 1fr;
    }

    .admin-chat-conversation-list {
        max-height: 360px;
        border-right: 0;
        border-bottom: 1px solid #e4e8ef;
    }

    .admin-chat-detail-panel {
        max-height: none;
    }
}

.admin-console-body #disputesPanel.admin-dispute-center {
    display: block;
    border: 1px solid #d8dde6;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.admin-console-body #disputesPanel.admin-dispute-center[hidden] {
    display: none;
}

.admin-dispute-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #e4e8ef;
    background: #f8fafc;
}

.admin-dispute-toolbar select {
    min-height: 38px;
    min-width: 180px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font-weight: 800;
    padding: 0 12px;
}

.admin-dispute-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 650px;
}

.admin-dispute-list-card {
    overflow: auto;
}

.admin-dispute-head,
.admin-dispute-row {
    display: grid;
    grid-template-columns: 1.05fr 0.85fr 1.2fr 1.2fr 1.5fr 1fr 0.95fr 1fr 0.85fr;
    gap: 12px;
    align-items: center;
    min-width: 1060px;
}

.admin-dispute-head {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 14px 16px;
    border-bottom: 1px solid #dfe5ee;
    background: #f8fafc;
    color: #5b6b85;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-dispute-row {
    width: 100%;
    padding: 16px;
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
    color: #172033;
}

.admin-dispute-row:hover,
.admin-dispute-row.is-selected {
    background: #eef4ff;
}

.admin-dispute-row button {
    border: 0;
    background: transparent;
    color: #245be8;
    font: inherit;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.admin-dispute-row strong {
    display: block;
    color: #0f172a;
}

.admin-dispute-row small {
    display: block;
    color: #536179;
    font-weight: 750;
    line-height: 1.45;
}

.admin-dispute-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-weight: 900;
}

.admin-dispute-badge.status-closed,
.admin-dispute-badge.status-withdrawn {
    background: #e2e8f0;
    color: #475569;
}

.admin-dispute-badge.status-refunded,
.admin-dispute-badge.status-resolved {
    background: #dcfce7;
    color: #166534;
}

.admin-dispute-badge.status-escalated {
    background: #fef3c7;
    color: #92400e;
}

.admin-dispute-review-btn {
    min-height: 34px;
    border: 1px solid #cfd7e3 !important;
    border-radius: 8px;
    background: #fff !important;
    color: #172033 !important;
    text-align: center !important;
}

.admin-dispute-detail {
    max-height: 820px;
    overflow: auto;
    background: #fff;
}

.admin-dispute-detail[hidden] {
    display: none;
}

.admin-dispute-detail-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
}

.admin-dispute-detail-head strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
}

.admin-dispute-detail-head span,
.admin-dispute-progress span,
.admin-dispute-detail small {
    color: #64748b;
    font-weight: 800;
}

.admin-dispute-detail-head button {
    width: 36px;
    height: 36px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.admin-dispute-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid #e4e8ef;
    background: #f8fafc;
}

.admin-dispute-progress span {
    display: grid;
    gap: 6px;
    justify-items: center;
    text-align: center;
    font-size: 0.75rem;
}

.admin-dispute-progress i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #dbe4f0;
    color: #334155;
    font-style: normal;
    font-weight: 900;
}

.admin-dispute-progress span.active i {
    background: #2563eb;
    color: #fff;
}

.admin-dispute-summary-grid,
.admin-dispute-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.admin-dispute-summary-grid section,
.admin-dispute-issue,
.admin-dispute-conclusion,
.admin-dispute-conversation,
.admin-dispute-admin-grid > div {
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #fff;
    padding: 14px;
}

.admin-dispute-detail h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 0.92rem;
}

.admin-dispute-issue,
.admin-dispute-conclusion,
.admin-dispute-conversation {
    margin: 0 16px 12px;
}

.admin-dispute-issue p,
.admin-dispute-conclusion p,
.admin-dispute-message p,
.admin-dispute-note p {
    color: #172033;
    line-height: 1.5;
}

.admin-dispute-messages {
    display: grid;
    gap: 10px;
    max-height: 360px;
    overflow: auto;
    margin-bottom: 12px;
}

.admin-dispute-message,
.admin-dispute-note {
    display: grid;
    gap: 8px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #f8fafc;
    padding: 12px;
}

.admin-dispute-message.role-admin {
    border-color: #bfdbfe;
    background: #eef4ff;
}

.admin-dispute-message.role-support {
    border-color: #bfdbfe;
    background: linear-gradient(135deg, #eef4ff, #f8fbff);
    box-shadow: inset 3px 0 0 #3b82f6;
}

.admin-dispute-message.role-support strong {
    color: #1d4ed8;
}

.admin-dispute-message > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.admin-dispute-conversation label,
.admin-dispute-admin-grid label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 850;
}

.admin-dispute-conversation textarea,
.admin-dispute-admin-grid textarea,
.admin-dispute-admin-grid input,
.admin-dispute-admin-grid select {
    width: 100%;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    padding: 10px;
    font: inherit;
}

.admin-dispute-conversation button,
.admin-dispute-admin-grid button {
    min-height: 38px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.admin-dispute-admin-grid button:disabled,
.admin-dispute-conversation button:disabled,
.admin-dispute-conversation textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.admin-dispute-number-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-dispute-decision-btn {
    background: #172033 !important;
    border-color: #172033 !important;
}

.admin-dispute-page-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-dispute-page-top-actions a,
.admin-dispute-page-top-actions button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font-weight: 850;
    padding: 0 14px;
    text-decoration: none;
    cursor: pointer;
}

.admin-dispute-page-shell {
    border: 1px solid #d8dde6;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.admin-dispute-page-detail {
    max-height: none;
    overflow: visible;
}

.admin-dispute-page-content .admin-dispute-detail-head {
    position: static;
}

@media screen and (max-width: 1280px) {
    .admin-dispute-layout {
        grid-template-columns: 1fr;
    }

    .admin-dispute-list-card {
        border-right: 0;
        border-bottom: 1px solid #e4e8ef;
    }

    .admin-dispute-detail {
        max-height: none;
    }
}

@media screen and (max-width: 760px) {
    .admin-dispute-summary-grid,
    .admin-dispute-admin-grid,
    .admin-dispute-progress,
    .admin-dispute-number-grid {
        grid-template-columns: 1fr;
    }
}

.admin-console-body #ticketsPanel.admin-ticket-workspace {
    display: block;
    border: 1px solid #d8dde6;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.admin-console-body #ticketsPanel.admin-ticket-workspace[hidden] {
    display: none;
}

.admin-ticket-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #e4e8ef;
    background: #f8fafc;
}

.admin-ticket-toolbar select {
    min-height: 38px;
    min-width: 180px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font-weight: 750;
    padding: 0 12px;
}

.admin-ticket-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.admin-ticket-layout:has(.admin-ticket-detail:not([hidden])) {
    grid-template-columns: minmax(620px, 1fr) minmax(420px, 0.72fr);
}

.admin-ticket-list-card {
    min-width: 0;
    overflow: auto;
}

.admin-ticket-head,
.admin-ticket-row {
    display: grid;
    grid-template-columns: 140px minmax(220px, 1.35fr) minmax(140px, 0.8fr) minmax(190px, 1fr) 105px 150px 170px 170px 100px;
    gap: 14px;
    align-items: center;
    min-width: 1260px;
}

.admin-ticket-head {
    padding: 14px 18px;
    border-bottom: 1px solid #e4e8ef;
    background: #f5f7f9;
    color: #65738b;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-console-body #ticketsPanel .orders-list {
    gap: 0;
    padding: 0;
}

.admin-ticket-row {
    width: 100%;
    padding: 14px 18px;
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
    color: #172033;
}

.admin-ticket-row:hover,
.admin-ticket-row.is-selected {
    background: #eef4ff;
}

.admin-ticket-row > button:first-child {
    border: 0;
    background: transparent;
    color: #2563eb;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.admin-ticket-row strong {
    display: block;
    color: #0f172a;
    font-size: 0.94rem;
    overflow-wrap: anywhere;
}

.admin-ticket-row span,
.admin-ticket-row small,
.admin-ticket-row time,
.admin-ticket-row div {
    min-width: 0;
    color: #5f6e84;
    font-size: 0.84rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.admin-ticket-row small {
    display: block;
    margin-top: 4px;
}

.admin-ticket-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    border-radius: 999px;
    font-size: 0.76rem !important;
    font-weight: 900 !important;
    padding: 4px 10px;
}

.admin-ticket-badge.priority-low,
.admin-ticket-badge.priority-normal {
    background: #e0f2fe;
    color: #075985 !important;
}

.admin-ticket-badge.priority-high {
    background: #fef3c7;
    color: #92400e !important;
}

.admin-ticket-badge.priority-urgent {
    background: #fee2e2;
    color: #991b1b !important;
}

.admin-ticket-badge.status-open,
.admin-ticket-badge.status-waiting-for-admin {
    background: #dcfce7;
    color: #166534 !important;
}

.admin-ticket-badge.status-replied {
    background: #dbeafe;
    color: #1d4ed8 !important;
}

.admin-ticket-badge.status-resolved,
.admin-ticket-badge.status-closed {
    background: #e2e8f0;
    color: #475569 !important;
}

.admin-ticket-view {
    min-height: 36px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #2563eb;
    color: #fff !important;
    font-weight: 850;
    cursor: pointer;
}

.admin-ticket-detail {
    min-width: 0;
    max-height: 760px;
    overflow: auto;
    border-left: 1px solid #e4e8ef;
    background: #f8fafc;
}

.admin-ticket-detail[hidden] {
    display: none;
}

.admin-ticket-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
}

.admin-ticket-detail-head strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
}

.admin-ticket-detail-head span {
    color: #64748b;
    font-weight: 750;
}

.admin-ticket-detail-head button {
    width: 36px;
    height: 36px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    cursor: pointer;
}

.admin-ticket-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
}

.admin-ticket-detail section,
.admin-ticket-issue,
.admin-ticket-thread,
.admin-ticket-notes,
.admin-ticket-actions {
    margin: 14px;
    padding: 14px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #fff;
}

.admin-ticket-detail-grid section {
    margin: 0;
}

.admin-ticket-detail h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 0.95rem;
}

.admin-ticket-detail span {
    color: #334155;
}

.admin-ticket-detail small {
    color: #64748b;
}

.admin-ticket-issue p,
.admin-ticket-message p,
.admin-ticket-notes p {
    margin: 0;
    color: #172033;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.admin-ticket-thread,
.admin-ticket-notes {
    display: grid;
    gap: 10px;
}

.admin-ticket-message,
.admin-ticket-notes article {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #f8fafc;
}

.admin-ticket-message.is-admin {
    background: #eef4ff;
    border-color: #bfdbfe;
}

.admin-ticket-message > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.admin-ticket-message strong,
.admin-ticket-notes strong {
    color: #0f172a;
}

.admin-ticket-message span,
.admin-ticket-notes span {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 750;
}

.admin-ticket-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.admin-ticket-attachments a {
    border: 1px solid #cfd7e3;
    border-radius: 999px;
    color: #2563eb;
    font-weight: 850;
    padding: 5px 10px;
    text-decoration: none;
}

.admin-ticket-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-ticket-actions label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 850;
}

.admin-ticket-actions select,
.admin-ticket-actions textarea {
    width: 100%;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    padding: 10px;
    font: inherit;
}

.admin-ticket-actions button {
    min-height: 38px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}

.admin-ticket-actions .admin-ticket-close-resolved {
    align-self: end;
    background: #172033;
    transition: background-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.admin-ticket-actions .admin-ticket-close-resolved:not(:disabled):active {
    transform: translateY(1px);
}

.admin-ticket-actions .admin-ticket-close-resolved.is-loading {
    opacity: 0.8;
}

.admin-ticket-actions .admin-ticket-close-resolved:disabled {
    background: #e2e8f0;
    border-color: #cfd7e3;
    color: #64748b;
    cursor: not-allowed;
}

.admin-ticket-action-state {
    align-self: center;
    margin: 0;
    color: #2563eb;
    font-size: 0.86rem;
    font-weight: 850;
}

.admin-ticket-action-state.is-error {
    color: #b42318;
}

@media screen and (max-width: 1180px) {
    .admin-ticket-layout:has(.admin-ticket-detail:not([hidden])) {
        grid-template-columns: 1fr;
    }

    .admin-ticket-detail {
        border-left: 0;
        border-top: 1px solid #e4e8ef;
        max-height: none;
    }
}

@media screen and (max-width: 760px) {
    .admin-ticket-toolbar select,
    .admin-ticket-actions {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .admin-ticket-detail-grid {
        grid-template-columns: 1fr;
    }
}

.seller-console-body .admin-badge {
    color: #16a34a;
}

.seller-console-body .admin-console {
    grid-template-columns: 238px minmax(0, 1fr);
    background:
        radial-gradient(circle at 12% 0, rgba(255, 71, 87, 0.10), transparent 32%),
        radial-gradient(circle at 90% 18%, rgba(56, 189, 248, 0.06), transparent 34%),
        #070b12;
    color: #e5edf8;
}

.seller-console-body {
    background: #070b12;
    color: #e5edf8;
}

.seller-console-body .admin-console-main {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(7, 11, 18, 0.94)),
        #070b12;
}

.seller-console-body .admin-sidebar {
    background: linear-gradient(180deg, #121823, #0b111a);
    border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.seller-console-body .admin-sidebar-nav {
    gap: 1px;
}

.seller-console-body .seller-sidebar-nav {
    padding-top: 18px;
}

.seller-console-body .admin-sidebar-nav button {
    min-height: 42px;
    font-size: 13px;
}

.seller-sidebar-actions {
    margin: auto 16px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #262d3c;
    padding-top: 18px;
}

.seller-sidebar-actions .admin-back-store {
    margin: 0;
    min-height: 44px;
    border-top: 0;
    padding-top: 0;
}

.seller-sidebar-actions button {
    min-height: 40px;
    border: 1px solid #2f3748;
    border-radius: 4px;
    background: #111827;
    color: #dbe7ff;
    font-weight: 800;
    padding: 0 12px;
    cursor: pointer;
}

.seller-sidebar-actions button i {
    margin-right: 6px;
}

.seller-sidebar-actions button:hover {
    border-color: #16a34a;
    color: #fff;
}

.seller-console-body .admin-sidebar-nav button:hover,
.seller-console-body .admin-sidebar-nav button.active {
    border-left-color: #16a34a;
    background: linear-gradient(135deg, #16a34a, #0f6b38);
    color: #fff;
}

.seller-console-body .admin-panel,
.seller-console-body .orders-table-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: linear-gradient(180deg, #171d29, #111722);
    color: #e5edf8;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.seller-console-body .admin-section-title {
    border-color: rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, #171d29, #111722);
}

.seller-console-body .admin-section-title h2,
.seller-console-body .seller-panel-placeholder strong,
.seller-console-body .seller-panel-grid strong,
.seller-console-body .seller-earnings-grid strong {
    color: #fff;
}

.seller-console-body .admin-section-title span,
.seller-console-body .seller-panel-placeholder span,
.seller-console-body .seller-panel-grid span,
.seller-console-body .seller-earnings-grid span {
    color: #9fb8d8;
}

.seller-console-body .seller-panel-grid article,
.seller-console-body .seller-earnings-grid article,
.seller-console-body .seller-panel-placeholder {
    border: 1px solid rgba(148, 163, 184, 0.14);
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.06), transparent 36%),
        rgba(15, 23, 42, 0.72);
    border-radius: 8px;
}

.seller-console-body .orders-empty {
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.72);
    color: #9fb8d8;
}

.seller-console-body .admin-order-list-row,
.seller-console-body .order-history-item,
.seller-console-body .order-history-row {
    border-color: rgba(148, 163, 184, 0.14);
    background: #111722;
    color: #e5edf8;
}

.seller-console-body .admin-order-list-row strong,
.seller-console-body .admin-order-list-row em {
    color: #fff;
}

.seller-console-body .admin-product-form label,
.seller-console-body .seller-withdraw-form label {
    color: #c7d7eb;
}

.seller-console-body .admin-product-form input,
.seller-console-body .admin-product-form select,
.seller-console-body .admin-product-form textarea,
.seller-console-body .seller-withdraw-form input,
.seller-console-body .seller-withdraw-form select,
.seller-console-body .seller-withdraw-form textarea {
    border-color: rgba(148, 163, 184, 0.20);
    border-radius: 8px;
    background: rgba(10, 14, 22, 0.78);
    color: #fff;
}

.seller-console-body .admin-metrics {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
}

.seller-console-body .admin-metrics i {
    background: #eafaf0;
    color: #16a34a;
}

.seller-console-body .admin-toolbar {
    justify-content: space-between;
}

.seller-console-body .admin-search-box {
    width: min(430px, 100%);
}

.seller-panel-toolbar-note {
    color: #64748b;
    font-size: 13px;
}

.seller-panel-section {
    margin-bottom: 18px;
}

.seller-panel-section[hidden] {
    display: none !important;
}

.seller-panel-grid,
.seller-earnings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}

.seller-panel-grid article,
.seller-earnings-grid article {
    min-height: 132px;
    display: grid;
    align-content: start;
    gap: 10px;
    border: 1px solid #dde4ef;
    border-radius: 6px;
    background: #f8fafc;
    padding: 18px;
}

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

.seller-balance-title > div {
    display: grid;
    gap: 3px;
}

.seller-balance-title-spacer {
    width: 42px;
    height: 42px;
}

.seller-balance-workspace[hidden] {
    display: none !important;
}

.seller-payout-settings-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.82);
    color: #dbeafe;
    cursor: pointer;
}

.seller-payout-settings-btn:hover,
.seller-payout-settings-btn.is-active {
    border-color: rgba(34, 197, 94, 0.48);
    color: #86efac;
}

.seller-balance-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 18px 18px 0;
}

.seller-balance-primary-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.seller-withdraw-now-btn,
.seller-payout-dropdown > button,
.seller-balance-form-actions button,
.seller-payout-option-actions button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 8px;
    font-weight: 850;
    cursor: pointer;
}

.seller-withdraw-now-btn {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, #f9d976 0%, #68e4bc 50%, #5ac8fa 100%);
    color: #06151d;
    padding: 0 18px;
    box-shadow:
        0 12px 26px rgba(45, 212, 191, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.seller-withdraw-now-btn i {
    color: #06301f;
    font-size: 14px;
}

.seller-withdraw-now-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: saturate(1.08) brightness(1.03);
    box-shadow:
        0 16px 32px rgba(45, 212, 191, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.seller-withdraw-now-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow:
        0 8px 18px rgba(45, 212, 191, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.seller-withdraw-now-btn:disabled,
.seller-payout-dropdown > button:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.seller-payout-dropdown {
    position: relative;
}

.seller-payout-dropdown > button {
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(10, 14, 22, 0.86);
    color: #e5edf8;
    padding: 0 14px;
}

.seller-selected-payout-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
}

.seller-selected-payout-icon > i,
.seller-selected-payout-icon > .seller-payout-method-logo {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    color: #f8fafc;
    font-size: 18px;
    line-height: 1;
}

.seller-payout-method-logo {
    display: block;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1);
}

.seller-payout-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;
    width: min(230px, 84vw);
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: #0f1724;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.seller-payout-menu button {
    width: 100%;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #dbe7ff;
    padding: 10px;
    text-align: left;
    cursor: pointer;
}

.seller-payout-menu button:hover,
.seller-payout-menu button.is-selected {
    background: rgba(34, 197, 94, 0.12);
}

.seller-payout-menu button > i,
.seller-payout-menu button > .seller-payout-method-logo {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    align-self: center;
    justify-self: center;
    color: #f8fafc;
    font-size: 18px;
    line-height: 1;
}

.seller-payout-menu button span,
.seller-payout-option-list article > span > span,
.seller-balance-record-main {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.seller-payout-empty {
    color: #9fb8d8;
    font-size: 12px;
}

.seller-payout-menu button em {
    display: none;
    color: #86efac;
    font-style: normal;
}

.seller-payout-menu button.is-selected em {
    display: inline-block;
}

.seller-balance-withdraw-form,
.seller-withdraw-review-page,
.seller-payout-settings {
    margin: 14px 18px 0;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
}

.seller-balance-withdraw-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.seller-balance-withdraw-form[hidden],
.seller-withdraw-review-page[hidden],
.seller-payout-settings[hidden] {
    display: none !important;
}

.seller-balance-actions[hidden],
.seller-balance-grid[hidden],
.seller-balance-records[hidden] {
    display: none !important;
}

.seller-withdraw-review-page {
    display: grid;
    gap: 16px;
}

.seller-withdraw-review-head {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 12px;
}

.seller-withdraw-review-head button {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(10, 14, 22, 0.78);
    color: #dbeafe;
}

.seller-withdraw-review-head strong {
    display: block;
    color: #fff;
    font-size: 17px;
}

.seller-withdraw-review-head span,
.seller-withdraw-review-details span,
.seller-withdraw-review-summary span,
.seller-withdraw-review-note {
    color: #9eb3cc;
    font-size: 12px;
    font-weight: 750;
}

.seller-withdraw-review-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.seller-withdraw-review-summary article,
.seller-withdraw-review-details > div {
    border: 1px solid rgba(137, 184, 255, 0.14);
    border-radius: 8px;
    background: rgba(7, 12, 22, 0.78);
    padding: 14px;
}

.seller-withdraw-review-summary article {
    display: grid;
    gap: 8px;
}

.seller-withdraw-review-summary strong {
    color: #fff;
    font-size: 20px;
}

.seller-withdraw-review-summary .seller-withdraw-review-net {
    border-color: rgba(34, 197, 94, 0.28);
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(59, 130, 246, 0.04)),
        rgba(7, 12, 22, 0.84);
}

.seller-withdraw-review-summary .seller-withdraw-review-net strong {
    color: #86efac;
}

.seller-withdraw-review-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.seller-withdraw-review-details > div {
    display: grid;
    gap: 7px;
}

.seller-withdraw-review-details .wide {
    grid-column: 1 / -1;
}

.seller-withdraw-review-details strong {
    color: #f8fbff;
    overflow-wrap: anywhere;
}

.seller-withdraw-review-details p {
    margin: 0;
    color: #d8e6f7;
    line-height: 1.6;
}

.seller-withdraw-review-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.07);
    padding: 12px 14px;
    line-height: 1.5;
}

.seller-withdraw-review-note i {
    color: #facc15;
    margin-top: 2px;
}

.seller-withdraw-review-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.seller-withdraw-review-actions button {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(10, 14, 22, 0.78);
    color: #dbeafe;
    padding: 0 14px;
    min-height: 40px;
    font-weight: 850;
}

.seller-withdraw-review-actions button:last-child {
    border-color: transparent;
    background: #16a34a;
    color: #fff;
}

.seller-withdraw-review-actions button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.seller-balance-withdraw-form label,
.seller-payout-option-form label {
    display: grid;
    gap: 7px;
    color: #c7d7eb;
    font-size: 13px;
    font-weight: 750;
}

.seller-payout-option-form label[hidden] {
    display: none !important;
}

.seller-balance-withdraw-form .wide {
    grid-column: 1 / -1;
}

.seller-withdraw-minimum-notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    border: 1px solid rgba(96, 165, 250, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.10), rgba(34, 211, 238, 0.035)),
        rgba(7, 12, 22, 0.74);
    color: #cfe3ff;
    padding: 11px 12px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

.seller-withdraw-minimum-notice i {
    color: #60a5fa;
    margin-top: 2px;
}

.seller-balance-withdraw-form input,
.seller-balance-withdraw-form textarea,
.seller-payout-option-form input,
.seller-payout-option-form select {
    width: 100%;
    border: 1px solid rgba(137, 184, 255, 0.16);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        rgba(7, 12, 22, 0.88);
    color: #f8fbff;
    padding: 12px 13px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.seller-balance-withdraw-form input::placeholder,
.seller-balance-withdraw-form textarea::placeholder {
    color: #78a6dc;
    font-weight: 750;
}

.seller-balance-withdraw-form input:focus,
.seller-balance-withdraw-form textarea:focus {
    border-color: rgba(104, 228, 188, 0.58);
    box-shadow:
        0 0 0 3px rgba(104, 228, 188, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.seller-balance-withdraw-form input[readonly],
.seller-balance-withdraw-form textarea[readonly] {
    border-color: rgba(104, 228, 188, 0.18);
    background:
        linear-gradient(135deg, rgba(104, 228, 188, 0.08), rgba(90, 200, 250, 0.035)),
        rgba(7, 12, 22, 0.9);
}

.seller-balance-withdraw-form input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.seller-balance-withdraw-form input[type="number"]::-webkit-outer-spin-button,
.seller-balance-withdraw-form input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.seller-balance-withdraw-form textarea {
    min-height: 84px;
    resize: vertical;
}

#sellerWithdrawDetails {
    min-height: 44px;
    overflow: hidden;
    resize: none;
}

.seller-balance-withdraw-form textarea[readonly] {
    color: #dcecff;
    cursor: default;
}

.seller-balance-form-actions,
.seller-payout-option-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.seller-balance-form-actions {
    grid-column: 1 / -1;
}

.seller-balance-form-actions button,
.seller-payout-option-actions button {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(10, 14, 22, 0.78);
    color: #dbeafe;
    padding: 0 14px;
}

.seller-balance-form-actions button[type="submit"],
.seller-payout-option-actions button[type="submit"] {
    border-color: transparent;
    background: #16a34a;
    color: #fff;
}

.seller-payout-settings-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    margin-bottom: 14px;
}

.seller-payout-settings-page {
    min-height: 520px;
}

.seller-payout-settings-page .seller-payout-settings-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    margin-bottom: 18px;
}

.seller-payout-settings-page .seller-payout-settings-head > div {
    justify-items: center;
    text-align: center;
}

.seller-payout-settings-head > div {
    display: grid;
    gap: 4px;
}

.seller-payout-settings-head strong,
.seller-balance-record-head h3 {
    color: #fff;
}

.seller-payout-settings-head span,
.seller-balance-record-head span {
    color: #9fb8d8;
    font-size: 13px;
}

.seller-payout-settings-head button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(10, 14, 22, 0.78);
    color: #dbeafe;
    cursor: pointer;
}

.seller-payout-option-form {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto;
    gap: 12px;
    align-items: end;
}

.seller-payout-option-form.is-crypto {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.7fr) minmax(0, 1.2fr) auto;
}

.seller-payout-option-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.seller-payout-option-list article {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(10, 14, 22, 0.55);
    padding: 12px;
    cursor: pointer;
}

.seller-payout-option-list article.is-selected {
    border-color: rgba(34, 197, 94, 0.38);
}

.seller-payout-option-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seller-payout-option-main > i,
.seller-payout-option-main > .seller-payout-method-logo {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.12);
    color: #f8fafc;
    font-size: 18px;
    line-height: 1;
}

.seller-payout-option-main > .seller-payout-method-logo {
    padding: 7px;
    object-fit: contain;
}

.seller-payout-option-list article small {
    display: block;
    color: #9fb8d8;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.seller-payout-option-actions {
    display: flex;
    gap: 8px;
}

.seller-payout-option-list article button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.9);
    color: #dbeafe;
    cursor: pointer;
}

.seller-payout-option-list article button span {
    display: none;
}

.seller-payout-option-more {
    display: none !important;
}

.seller-payout-option-action-menu {
    display: flex;
    gap: 8px;
}

.seller-balance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 14px;
}

.seller-balance-records {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 18px 18px;
}

.seller-balance-record-tabs {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(10, 14, 22, 0.55);
}

.seller-balance-record-tabs button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #9fb8d8;
    font-weight: 850;
    padding: 0 13px;
    cursor: pointer;
}

.seller-balance-record-tabs button.active {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

.seller-balance-record-card {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    overflow: hidden;
}

.seller-balance-record-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.seller-balance-record-head h3 {
    margin: 0 0 3px;
    font-size: 16px;
}

.seller-balance-record-list {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.seller-balance-record-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    background: rgba(10, 14, 22, 0.55);
    padding: 12px;
}

.seller-balance-record-main {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.seller-payment-record-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.seller-balance-record-main strong,
.seller-balance-record-money strong {
    color: #fff;
}

.seller-balance-record-main small,
.seller-balance-record-main em,
.seller-balance-record-money small,
.seller-balance-record-status small {
    color: #9fb8d8;
    font-size: 12px;
    font-style: normal;
}

.seller-withdrawal-details {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
}

.seller-withdrawal-record-row .seller-balance-record-main {
    overflow: hidden;
}

.seller-balance-record-money {
    display: grid;
    justify-items: end;
    gap: 3px;
    white-space: nowrap;
}

.seller-balance-record-status {
    display: grid;
    justify-items: end;
    gap: 5px;
}

.seller-balance-record-status .seller-order-status.status-paid {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
}

.seller-balance-record-status .seller-order-status.status-complete {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
}

.seller-balance-record-status .seller-order-status.status-pending {
    background: rgba(251, 191, 36, 0.16);
    color: #fde68a;
}

.seller-balance-record-status .seller-order-status.status-pending-review,
.seller-balance-record-status .seller-order-status.status-provider-verification {
    background: rgba(90, 200, 250, 0.14);
    color: #bfdbfe;
}

.seller-balance-record-status .seller-order-status.status-failed,
.seller-balance-record-status .seller-order-status.status-cancelled {
    background: rgba(248, 113, 113, 0.14);
    color: #fecaca;
}

.seller-balance-record-skeleton span,
.seller-balance-record-skeleton strong,
.seller-balance-record-skeleton small {
    min-height: 13px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
    color: transparent;
}

.seller-panel-grid i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #eafaf0;
    color: #16a34a;
}

.seller-panel-grid strong,
.seller-earnings-grid strong {
    color: #172033;
    font-size: 1.2rem;
}

.seller-panel-grid span,
.seller-earnings-grid span,
.seller-panel-placeholder span {
    color: #64748b;
    line-height: 1.45;
}

.seller-panel-grid a,
.admin-section-title a {
    color: #15803d;
    font-weight: 800;
    text-decoration: none;
}

.seller-panel-placeholder {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 34px;
    text-align: center;
}

.seller-panel-placeholder i {
    color: #16a34a;
    font-size: 2rem;
}

.seller-panel-placeholder strong {
    color: #172033;
    font-size: 1.25rem;
}

.seller-store-settings-form {
    display: grid;
    gap: 18px;
    padding: 18px;
}

#sellerDashboardPanel {
    border: 0;
    background: transparent;
    box-shadow: none;
}

#sellerDashboardPanel .admin-section-title {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: linear-gradient(180deg, #171d29, #111722);
    color: #fff;
}

#sellerDashboardPanel .admin-section-title h2 {
    color: #fff;
}

#sellerOffersPanel {
    overflow: visible;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: #111722;
    box-shadow: none;
}

.seller-mobile-panel-back {
    display: none;
}

.seller-mobile-only-title {
    display: none;
}

.seller-live-profile-editor {
    display: grid;
    gap: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 71, 87, 0.16), transparent 30%),
        radial-gradient(circle at 82% 58%, rgba(56, 189, 248, 0.07), transparent 34%),
        linear-gradient(135deg, rgba(255, 71, 87, 0.06), transparent 42%),
        linear-gradient(180deg, #151922, #0f131c);
    color: #fff;
    padding: 28px;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
}

.seller-live-profile-hero {
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.seller-live-avatar {
    display: grid;
    gap: 10px;
    justify-items: center;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.seller-live-avatar > span {
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 26px;
    background: radial-gradient(circle at 30% 20%, #ff6b81, #8b1e2d 55%, #1b1018);
    box-shadow: 0 16px 40px rgba(255, 71, 87, 0.28);
    color: #fff;
    font-size: 2rem;
}

.seller-live-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-live-avatar em {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c8d7f0;
    font-style: normal;
    font-weight: 800;
}

.seller-live-profile-hero h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.seller-live-joined {
    display: block;
    color: #b7c9e6;
    font-weight: 900;
}

.seller-live-profile-hero a {
    width: min(420px, 100%);
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(18, 22, 32, 0.92);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.seller-live-score {
    width: min(420px, 100%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.14), transparent 42%),
        rgba(7, 10, 16, 0.48);
    padding: 12px;
    text-align: left;
}

.seller-live-score strong {
    border: 1px solid #fb7185;
    border-radius: 6px;
    background: rgba(251, 113, 133, 0.12);
    color: #fff;
    font-size: 1.6rem;
    padding: 8px 10px;
}

.seller-live-score span {
    color: #dbeafe;
    font-weight: 800;
}

.seller-live-score span i {
    color: #f59e0b;
}

.seller-live-score b {
    border: 1px solid #16a34a;
    border-radius: 6px;
    color: #4ade80;
    padding: 10px 12px;
}

.seller-live-about-editor {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.4fr);
    gap: 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    padding-top: 22px;
}

.seller-live-about-editor span {
    display: block;
    margin-bottom: 8px;
    color: #22d3ee;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seller-live-about-editor h3 {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
}

.seller-live-about-editor textarea {
    width: 100%;
    min-height: 132px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(10, 14, 22, 0.76);
    color: #f8fafc;
    font: inherit;
    line-height: 1.6;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    word-break: break-word;
    padding: 14px;
    resize: vertical;
}

.seller-live-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
}

.seller-live-metrics article {
    background: rgba(2, 14, 26, 0.55);
}

.seller-store-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.seller-store-settings-grid label {
    display: grid;
    gap: 8px;
    color: #45536b;
    font-size: 12px;
    font-weight: 800;
}

.seller-store-settings-grid label.wide {
    grid-column: 1 / -1;
}

.seller-store-settings-grid input,
.seller-store-settings-grid textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cfd8e6;
    border-radius: 5px;
    background: #fff;
    color: #172033;
    font: inherit;
    font-weight: 700;
    padding: 0 12px;
}

.seller-store-settings-grid textarea {
    min-height: 118px;
    padding: 12px;
    resize: vertical;
}

.seller-featured-settings {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: linear-gradient(180deg, #191e29, #111722);
    padding: 22px;
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.16);
}

.seller-featured-settings h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 24px;
}

.seller-featured-settings span {
    color: #c7d7eb;
}

.seller-featured-settings-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.seller-featured-settings-head button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-weight: 800;
    padding: 0 13px;
    cursor: pointer;
}

.seller-featured-filter-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.seller-featured-filter-toggle-btn {
    display: none;
}

.seller-featured-filter-tools label {
    display: grid;
    gap: 8px;
    color: #93c5fd;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-featured-filter-tools select,
.seller-featured-filter-tools input {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(8, 13, 22, 0.96));
    color: #e5edf8;
    font: inherit;
    font-weight: 650;
    padding: 0 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    outline: none;
}

.seller-featured-filter-tools select:focus,
.seller-featured-filter-tools input:focus {
    border-color: rgba(56, 189, 248, 0.48);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.seller-featured-filter-tools select option {
    background: #111827;
    color: #e5edf8;
    font-weight: 650;
}

.seller-featured-filter-list {
    max-height: min(58vh, 520px);
    overflow: auto;
    padding-right: 4px;
}

.seller-featured-offer-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.seller-featured-offer-option {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: auto 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: rgba(10, 15, 24, 0.82);
    padding: 10px 10px 30px;
}

.seller-featured-offer-option img {
    width: 54px;
    height: 42px;
    border-radius: 4px;
    object-fit: fill;
}

.seller-featured-offer-option strong,
.seller-featured-offer-option small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-featured-offer-option strong {
    color: #fff;
}

.seller-featured-offer-option small {
    color: #9fb8d8;
}

.seller-featured-offer-option em {
    position: absolute;
    right: 10px;
    bottom: 8px;
    color: #15803d;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.seller-store-settings-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: linear-gradient(180deg, #171d29, #111722);
    padding: 14px;
}

.seller-store-settings-actions a {
    color: #7dd3fc;
    font-weight: 800;
    text-decoration: none;
}

.seller-store-settings-actions button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    font-weight: 800;
    padding: 0 16px;
    cursor: pointer;
}

.seller-store-settings-action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.seller-store-settings-action-buttons button:first-child {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.86);
    color: #fff;
}

.seller-store-settings-action-buttons button.is-open-store {
    border-color: #15803d;
    background: #16a34a;
    color: #fff;
}

.seller-sidebar-actions button.is-open-store {
    border-color: #16a34a;
    background: #15803d;
    color: #fff;
}

.seller-offers-title-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: #fff;
    padding: 22px;
}

.seller-offers-title {
    flex: 1;
    min-height: auto;
    min-width: 0;
    align-items: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
}

.seller-console-body #sellerOffersPanel .seller-offers-title {
    border: 0;
    background: transparent;
}

.seller-offers-title > div {
    display: grid;
    gap: 5px;
}

.seller-offers-title h2 {
    color: #fff;
    font-size: 26px;
}

.seller-offers-title span {
    color: #c7d7eb;
}

.seller-offer-title-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.seller-offers-title-spacer,
.seller-offer-filter-panel-head,
.seller-offer-mobile-apply-btn,
.seller-offer-mobile-filter-btn {
    display: none;
}

.seller-offer-title-actions button,
.seller-step-back,
.seller-step-next,
.seller-form-actions button,
.seller-bulk-tools button,
.seller-choice-grid button,
.seller-choice-upload,
.seller-upload-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.86);
    color: #fff;
    font-weight: 800;
    padding: 0 14px;
    cursor: pointer;
}

.seller-offer-title-actions button:last-child,
.seller-step-next,
.seller-form-actions button[type="submit"],
.seller-bulk-tools button {
    border-color: #15803d;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
}

.seller-step-back {
    border: 1px solid rgba(147, 197, 253, 0.22);
    background: rgba(15, 23, 42, 0.86);
    color: #e5edf8;
}

.seller-offer-filters {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(240px, 1.4fr);
    gap: 12px;
    padding: 18px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: transparent;
}

.seller-offer-filters label,
.seller-bulk-tools label {
    display: grid;
    gap: 8px;
    color: #93c5fd;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-offer-filters input,
.seller-offer-filters select,
.seller-bulk-tools input,
.seller-bulk-tools select {
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(8, 13, 22, 0.96));
    color: #e5edf8;
    font: inherit;
    font-weight: 650;
    padding: 0 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    outline: none;
}

.seller-offer-filters input:focus,
.seller-offer-filters select:focus,
.seller-bulk-tools input:focus,
.seller-bulk-tools select:focus {
    border-color: rgba(56, 189, 248, 0.48);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.seller-offer-filters select option,
.seller-bulk-tools select option {
    background: #111827;
    color: #e5edf8;
    font-weight: 650;
}

.seller-filter-native-select {
    display: none !important;
}

.seller-premium-select {
    position: relative;
    width: 100%;
    min-width: 0;
    text-transform: none;
    letter-spacing: 0;
}

.seller-premium-select-button {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 9px;
    background:
        radial-gradient(circle at 12% 0, rgba(56, 189, 248, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(11, 19, 33, 0.98), rgba(6, 11, 21, 0.99));
    color: #f8fbff;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.1;
    padding: 0 12px;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 30px rgba(0, 0, 0, 0.16);
}

.seller-premium-select-button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-premium-select-button i {
    flex: 0 0 auto;
    color: #b7cdf1;
    font-size: 0.72rem;
    transition: transform 0.18s ease, color 0.18s ease;
}

.seller-premium-select.is-open .seller-premium-select-button {
    border-color: rgba(56, 189, 248, 0.62);
    box-shadow:
        0 0 0 3px rgba(56, 189, 248, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.seller-premium-select.is-open .seller-premium-select-button i {
    color: #38bdf8;
    transform: rotate(180deg);
}

.seller-premium-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 2147483400;
    display: none;
    max-height: min(280px, 52vh);
    overflow-y: auto;
    padding: 7px;
    border: 1px solid rgba(147, 197, 253, 0.18);
    border-radius: 12px;
    background:
        radial-gradient(circle at 10% 0, rgba(255, 71, 92, 0.13), transparent 34%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.99), rgba(7, 11, 20, 0.99));
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.seller-premium-select.is-open .seller-premium-select-menu {
    display: grid;
    gap: 4px;
}

.seller-premium-select-menu::-webkit-scrollbar {
    width: 7px;
}

.seller-premium-select-menu::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.35);
}

.seller-premium-select-menu button {
    width: 100%;
    min-height: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #dbeafe;
    font-size: 12px;
    font-weight: 850;
    text-align: left;
    padding: 0 10px;
    cursor: pointer;
}

.seller-premium-select-menu button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-premium-select-menu button i {
    color: #22c55e;
    font-size: 0.72rem;
    opacity: 0;
}

.seller-premium-select-menu button:hover,
.seller-premium-select-menu button:focus-visible,
.seller-premium-select-menu button.is-selected {
    border-color: rgba(56, 189, 248, 0.22);
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.13), rgba(34, 197, 94, 0.08)),
        rgba(255, 255, 255, 0.035);
    color: #fff;
}

.seller-premium-select-menu button.is-selected i {
    opacity: 1;
}

.seller-single-offer-card .seller-offer-step[data-seller-step="setup"] .seller-premium-select-button {
    min-height: 56px;
    border-color: rgba(147, 197, 253, 0.24);
    border-radius: 12px;
    background:
        radial-gradient(circle at 14% 0, rgba(56, 189, 248, 0.07), transparent 34%),
        linear-gradient(180deg, rgba(12, 20, 35, 0.96), rgba(7, 12, 22, 0.98));
    color: #f8fbff;
    font-size: 14px;
    font-weight: 850;
    padding: 0 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 12px 28px rgba(0, 0, 0, 0.16);
}

.seller-single-offer-card .seller-offer-step[data-seller-step="setup"] .seller-premium-select.is-open .seller-premium-select-button {
    border-color: rgba(56, 189, 248, 0.58);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.seller-single-offer-card .seller-offer-step[data-seller-step="setup"] .seller-premium-select-menu {
    top: calc(100% + 10px);
    border-radius: 12px;
}

.seller-single-offer-card .seller-offer-step[data-seller-step="setup"] .seller-premium-select-menu button {
    min-height: 42px;
    font-size: 13px;
}

@media screen and (max-width: 760px) {
    .seller-console-body.is-mobile-panel-page .seller-premium-select-button {
        min-height: 42px;
        border-radius: 8px;
        font-size: 13px;
    }

    .seller-console-body.is-mobile-panel-page .seller-premium-select-menu {
        position: static;
        margin-top: 8px;
        max-height: 260px;
        border-radius: 12px;
    }

    .seller-console-body.is-mobile-panel-page .seller-premium-select-menu button {
        min-height: 42px;
        font-size: 13px;
    }
}

.seller-offers-head {
    grid-template-columns: minmax(280px, 46%) 150px 90px 130px 110px 52px;
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-top: 0;
    background: #101722;
    color: #9fb8d8;
    padding: 14px 16px;
}

.seller-offers-head > span:nth-child(n+2),
.seller-offer-manager-row > span,
.seller-offer-manager-row > strong {
    justify-self: center;
    text-align: center;
}

.seller-offers-head > span:first-child,
.seller-offers-head > .seller-offer-check-head {
    justify-self: start;
}

.seller-console-body #sellerOffersPanel .seller-offers-head {
    border-color: rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, #121925, #0f1621);
    color: #9fb8d8;
}

.seller-console-body #sellerOffersPanel .orders-list {
    gap: 12px;
    padding: 12px 0 0;
}

@media (min-width: 761px) {
    .seller-console-body #sellerOffersPanel {
        --seller-offer-manager-grid: minmax(360px, 1fr) 150px 90px 130px 110px 44px;
    }

    .seller-console-body #sellerOffersPanel .seller-offers-head,
    .seller-console-body #sellerOffersPanel .seller-offer-manager-row {
        grid-template-columns: var(--seller-offer-manager-grid);
        gap: 14px;
    }

    .seller-console-body #sellerOffersPanel .seller-offers-head > span:first-child,
    .seller-console-body #sellerOffersPanel .seller-offers-head > .seller-offer-check-head {
        justify-self: start;
        padding-left: 0;
    }

    .seller-console-body #sellerOffersPanel .seller-offers-head > span:nth-child(n+2),
    .seller-console-body #sellerOffersPanel .seller-offer-manager-row > span,
    .seller-console-body #sellerOffersPanel .seller-offer-price-cell {
        width: 100%;
        justify-self: stretch;
        text-align: center;
    }

    .seller-console-body #sellerOffersPanel .seller-offer-manager-row > strong {
        justify-self: center;
        text-align: center;
    }

    .seller-console-body #sellerOffersPanel .seller-offer-menu {
        justify-self: center;
    }
}

.seller-offer-manager-row {
    min-height: 104px;
    display: grid;
    grid-template-columns: minmax(280px, 46%) 150px 90px 130px 110px 52px;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-top: 0;
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.06), transparent 36%),
        #111722;
    padding: 14px 16px;
    position: relative;
}

.seller-offer-manager-row:nth-child(even) {
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.05), transparent 34%),
        #121925;
}

.seller-offer-manager-row.is-selected {
    border-color: rgba(56, 189, 248, 0.34);
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.10), transparent 42%),
        #121b28;
}

.seller-offer-mobile-top,
.seller-offer-mobile-divider,
.seller-offer-mobile-meta,
.seller-offer-price-label,
.seller-offer-mobile-edit {
    display: none;
}

.seller-offer-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #a8c8f5;
    cursor: pointer;
    user-select: none;
}

.seller-offer-check input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.seller-offer-check > span {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(147, 197, 253, 0.32);
    border-radius: 5px;
    background: rgba(7, 12, 22, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.seller-offer-check > span::after {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 2px solid #06101f;
    border-bottom: 2px solid #06101f;
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
}

.seller-offer-check input:checked + span,
.seller-offer-check input:indeterminate + span {
    border-color: rgba(34, 197, 94, 0.72);
    background: linear-gradient(135deg, #22c55e, #38bdf8);
}

.seller-offer-check input:checked + span::after {
    opacity: 1;
}

.seller-offer-check input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.seller-offer-check em {
    font-style: normal;
}

.seller-offer-manager-main {
    display: grid;
    grid-template-columns: 22px 92px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-width: 0;
}

.seller-offer-check-row {
    align-self: center;
}

.seller-offer-manager-main > div {
    min-height: 66px;
    display: grid;
    align-content: start;
    grid-template-rows: 2.5em auto;
    min-width: 0;
}

.seller-offer-manager-main img {
    width: 92px;
    height: 66px;
    border-radius: 8px;
    object-fit: fill;
    border: 1px solid rgba(148, 163, 184, 0.20);
    align-self: start;
}

.seller-offer-manager-main a {
    display: block;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    line-height: 1.25;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.seller-offer-manager-main span,
.seller-offer-manager-main small {
    display: block;
    color: #9fb8d8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seller-offer-manager-main small {
    align-self: end;
    margin-top: 7px;
}

.seller-offer-manager-row > span {
    color: #c7d7eb;
    font-weight: 800;
}

.seller-offer-price-cell {
    display: inline-grid;
    grid-template-columns: auto minmax(76px, 96px);
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #c7d7eb;
    font-weight: 900;
}

.seller-offer-price-cell span {
    color: #93c5fd;
}

.seller-offer-price-cell input {
    width: 96px;
    min-height: 36px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.58);
    color: #dbeafe;
    font: inherit;
    font-weight: 900;
    text-align: left;
    padding: 0 8px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.seller-offer-price-cell input:hover {
    border-color: rgba(147, 197, 253, 0.24);
    background: rgba(15, 23, 42, 0.86);
}

.seller-offer-price-cell input:focus {
    border-color: rgba(56, 189, 248, 0.54);
    background: #0b1220;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.10);
}

.seller-offer-price-cell input:disabled {
    opacity: 0.62;
    cursor: progress;
}

.seller-offer-price-cell input::-webkit-outer-spin-button,
.seller-offer-price-cell input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.seller-offer-manager-row > strong {
    min-width: 58px;
    justify-self: center;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    text-align: center;
}

.seller-offer-manager-row .is-live {
    background: rgba(22, 163, 74, 0.16);
    color: #4ade80;
}

.seller-offer-manager-row .is-offline {
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
}

.seller-offer-manager-row .is-review {
    background: rgba(250, 204, 21, 0.14);
    color: #fde68a;
}

.seller-offer-manager-row .is-rejected {
    background: rgba(248, 113, 113, 0.14);
    color: #fecaca;
}

.seller-offer-menu {
    justify-self: end;
    position: relative;
}

.seller-offer-menu > button {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.86);
    color: #e2e8f0;
    cursor: pointer;
}

.seller-offer-menu-popover {
    width: 150px;
    position: absolute;
    right: 0;
    top: 42px;
    z-index: 20;
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 8px;
    background: #111722;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.seller-bulk-action-bar[hidden] {
    display: none !important;
}

.seller-bulk-action-bar button[hidden] {
    display: none !important;
}

.seller-bulk-action-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 80;
    width: min(720px, calc(100vw - 32px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.11), transparent 34%),
        rgba(10, 16, 28, 0.96);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(14px);
}

.seller-bulk-action-bar strong {
    margin-right: auto;
    color: #dbeafe;
    font-size: 13px;
    font-weight: 900;
}

.seller-bulk-select-all {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 9px;
}

.seller-bulk-select-all input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.seller-bulk-select-all span {
    width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(147, 197, 253, 0.32);
    border-radius: 5px;
    background: #050914;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(2, 6, 23, 0.72);
}

.seller-bulk-select-all span::after {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 2px solid #03111f;
    border-bottom: 2px solid #03111f;
    background: transparent;
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
}

.seller-bulk-select-all input:checked + span {
    border-color: rgba(45, 212, 191, 0.88);
    background:
        linear-gradient(135deg, #22c55e 0%, #2dd4bf 48%, #38bdf8 100%);
    box-shadow:
        0 0 0 1px rgba(45, 212, 191, 0.26),
        0 0 18px rgba(45, 212, 191, 0.28);
}

.seller-bulk-select-all input:checked + span::after {
    opacity: 1;
}

.seller-bulk-action-bar button {
    min-height: 38px;
    border: 1px solid rgba(147, 197, 253, 0.20);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.88);
    color: #e5edf8;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    padding: 0 12px;
    cursor: pointer;
}

.seller-offer-menu > button .seller-offer-mobile-copy-icon {
    display: none !important;
}

.seller-bulk-action-bar button:hover {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(17, 31, 52, 0.95);
}

.seller-bulk-action-bar button[data-bulk-offer-action="delete"] {
    border-color: rgba(248, 113, 113, 0.28);
    background: rgba(127, 29, 29, 0.38);
    color: #fecaca;
}

.seller-bulk-action-bar.is-working {
    pointer-events: none;
}

.seller-offer-menu-popover[hidden] {
    display: none;
}

.seller-offer-menu-popover button {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    background: #111722;
    color: #e2e8f0;
    font-weight: 700;
    text-align: left;
    padding: 0 12px;
    cursor: pointer;
}

.seller-offer-menu-popover button:hover {
    background: rgba(34, 197, 94, 0.12);
}

.seller-orders-head {
    grid-template-columns: 1.35fr 0.8fr 0.75fr 0.75fr 0.6fr;
}

.seller-orders-workspace {
    min-height: 620px;
    display: block;
    overflow: hidden;
}

.seller-orders-workspace[hidden] {
    display: none;
}

.seller-orders-board {
    display: block;
}

.seller-orders-workspace.detail-open .seller-orders-board {
    display: none;
}

.seller-orders-title-wrap {
    padding-bottom: 18px;
}

.seller-order-filters {
    grid-template-columns: minmax(180px, 240px) minmax(280px, 1fr);
    margin: 0;
}

.seller-order-table {
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.seller-order-table-title {
    border-color: rgba(148, 163, 184, 0.14);
    background: transparent;
}

.seller-order-list-head,
.seller-order-list-row {
    display: grid;
    grid-template-columns: minmax(320px, 1.8fr) minmax(120px, 0.7fr) minmax(110px, 0.65fr) minmax(120px, 0.7fr) minmax(100px, 0.55fr);
    gap: 12px;
    align-items: center;
}

.seller-order-list-head {
    min-height: 46px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
    background: rgba(2, 6, 14, 0.30);
    color: #93b8e8;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-order-list-row {
    width: 100%;
    min-height: 84px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(10, 16, 27, 0.84);
    color: #e5edf8;
    text-align: left;
    padding: 11px 16px;
    cursor: pointer;
}

.seller-order-list-row:nth-child(even) {
    background: rgba(12, 19, 32, 0.92);
}

.seller-order-list-row:hover,
.seller-order-list-row.selected {
    background: rgba(17, 31, 52, 0.96);
}

.seller-order-list-row.selected {
    box-shadow: inset 3px 0 #22c55e;
}

.seller-order-skeleton,
.seller-offer-skeleton {
    pointer-events: none;
    cursor: default;
}

.seller-order-skeleton span,
.seller-order-skeleton strong,
.seller-order-skeleton small,
.seller-order-skeleton em,
.seller-offer-skeleton span,
.seller-offer-skeleton strong,
.seller-offer-skeleton small,
.seller-offer-skeleton em,
.seller-offer-skeleton a,
.seller-offer-skeleton div:last-child {
    min-height: 14px;
    overflow: hidden;
    border-radius: 999px;
    color: transparent !important;
    background:
        linear-gradient(90deg, rgba(148, 163, 184, 0.08), rgba(148, 163, 184, 0.22), rgba(148, 163, 184, 0.08));
    background-size: 220% 100%;
    animation: sellerSkeletonPulse 1.15s ease-in-out infinite;
}

.seller-order-skeleton .seller-order-reference strong {
    width: min(340px, 80%);
    min-height: 18px;
}

.seller-order-skeleton .seller-order-reference small {
    width: min(210px, 58%);
    min-height: 12px;
}

.seller-offer-skeleton .seller-offer-skeleton-image {
    width: 54px;
    height: 54px;
    border-radius: 8px;
}

@keyframes sellerSkeletonPulse {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}

.seller-order-reference {
    min-width: 0;
}

.seller-order-reference strong {
    display: -webkit-box;
    min-width: 0;
    min-height: 34px;
    overflow: hidden;
    color: #f8fbff;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.seller-order-reference small {
    display: block;
    margin-top: 5px;
    color: #9fb8d8;
    font-size: 12px;
}

.seller-order-message-alert {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    border: 1px solid rgba(34, 197, 94, 0.42);
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    padding: 5px 8px;
}

.seller-order-meta-line,
.seller-order-mobile-date {
    display: none;
}

.seller-order-list-row > span:not(.seller-order-reference),
.seller-order-list-row > strong {
    color: #dce9fb;
    font-size: 13px;
    font-weight: 850;
}

.seller-order-list-row > strong small {
    display: block;
    margin-top: 4px;
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 900;
}

.seller-order-status {
    width: max-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
    padding: 7px 10px;
}

.seller-order-status.status-completed {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
}

.seller-order-status.status-delivering,
.seller-order-status.status-waiting-for-confirmation {
    background: rgba(251, 191, 36, 0.16);
    color: #fde68a;
}

.seller-order-status.status-preparing {
    background: rgba(56, 189, 248, 0.14);
    color: #7dd3fc;
}

.seller-order-status.status-cancel-requested {
    background: rgba(251, 146, 60, 0.16);
    color: #fed7aa;
}

.seller-order-status.status-cancelled {
    background: rgba(248, 113, 113, 0.16);
    color: #fecaca;
}

.seller-order-detail-card {
    margin: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 10% 0, rgba(255, 71, 87, 0.13), transparent 32%),
        radial-gradient(circle at 92% 0, rgba(34, 197, 94, 0.12), transparent 28%),
        linear-gradient(180deg, #141b27, #0d1420);
    padding: 18px;
}

.seller-order-detail-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.seller-order-detail-back {
    min-height: 38px;
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.88);
    color: #e5edf8;
    font-weight: 850;
    padding: 0 12px;
    cursor: pointer;
}

.seller-order-top-status {
    display: flex;
    align-items: center;
    justify-items: end;
}

.seller-order-detail-head {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-top: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.seller-order-detail-head img {
    width: 96px;
    height: 74px;
    border-radius: 7px;
    object-fit: cover;
    background: rgba(15, 23, 42, 0.9);
}

.seller-order-detail-head span,
.seller-order-detail-head small,
.seller-order-note {
    color: #9fb8d8;
}

.seller-order-detail-head .seller-order-id-line {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.seller-order-id-line b,
.seller-order-id-line em {
    color: #9fb8d8;
    font-style: normal;
    font-weight: 800;
}

.seller-order-id-line em {
    color: #7dd3fc;
    font-size: 12px;
}

.seller-order-detail-head h3 {
    margin: 5px 0;
    color: #fff;
    font-size: 24px;
}

.seller-order-meta-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.seller-order-meta-action-row small {
    min-width: 0;
}

.seller-order-delivery-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.seller-order-note {
    margin-top: 14px;
    font-size: 13px;
}

.seller-order-buyer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    border: 1px solid rgba(56, 189, 248, 0.16);
    border-radius: 8px;
    background: rgba(8, 13, 22, 0.72);
    padding: 12px 14px;
}

.seller-order-buyer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.seller-order-buyer-bar > strong {
    min-width: 0;
    color: #9fb8d8;
    font-size: 13px;
    font-weight: 850;
}

.seller-order-buyer-bar > strong span {
    color: #fff;
    font-size: 16px;
    margin-left: 4px;
}

.seller-order-buyer-bar button,
.seller-order-delivery-actions button {
    min-height: 40px;
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 8px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    font-weight: 900;
    padding: 0 14px;
    cursor: pointer;
}

.seller-order-delivery-actions .seller-order-primary-action {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.seller-order-delivery-actions .seller-order-secondary-action {
    border-color: rgba(147, 197, 253, 0.24);
    background: rgba(15, 23, 42, 0.88);
}

.seller-order-delivery-actions .seller-order-view-proof-action {
    border-color: rgba(56, 189, 248, 0.34);
    background: rgba(14, 116, 144, 0.26);
}

.seller-order-insight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    gap: 14px;
    margin-top: 16px;
}

.seller-order-insight-card {
    height: 292px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.70), rgba(8, 13, 22, 0.58));
    padding: 14px;
    overflow: hidden;
}

.seller-order-left-stack {
    height: 292px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
}

.seller-order-mini-card {
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.70), rgba(8, 13, 22, 0.58));
    padding: 14px;
}

.seller-order-left-stack .seller-order-price-card {
    height: auto;
}

.seller-order-insight-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.seller-order-insight-head span,
.seller-order-quick-stats span,
.seller-order-money-lines span {
    color: #9fb8d8;
    font-size: 12px;
    font-weight: 850;
}

.seller-order-insight-head strong {
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 950;
}

.seller-order-timeline-list {
    max-height: 238px;
    overflow: auto;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0 4px 0 0;
    list-style: none;
}

.seller-order-timeline-list li {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 10px;
}

.seller-order-timeline-list li > span {
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.10);
}

.seller-order-timeline-list div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.seller-order-timeline-list strong,
.seller-order-money-lines strong,
.seller-order-quick-stats strong {
    color: #f8fbff;
    font-weight: 950;
}

.seller-order-timeline-list time,
.seller-order-timeline-list small {
    color: #93c5fd;
    font-size: 12px;
}

.seller-order-quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.seller-order-quick-stats div {
    display: grid;
    gap: 5px;
}

.seller-order-money-lines {
    display: grid;
    gap: 10px;
}

.seller-order-money-lines div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
    padding: 8px 0;
}

.seller-order-money-lines div:last-child {
    border-bottom: 0;
}

.seller-order-money-lines div:last-child strong {
    color: #86efac;
}

.seller-order-product-details {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.70), rgba(8, 13, 22, 0.58));
}

.seller-order-product-details summary {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 14px;
    color: #f8fbff;
    cursor: pointer;
    list-style: none;
}

.seller-order-product-details summary::-webkit-details-marker {
    display: none;
}

.seller-order-product-details summary > span {
    min-width: 0;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 2px 10px;
    align-items: center;
}

.seller-order-product-details summary > span > i {
    grid-row: span 2;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: rgba(56, 189, 248, 0.12);
    color: #7dd3fc;
}

.seller-order-product-details summary strong {
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.seller-order-product-details summary small {
    color: #9fb8d8;
    font-size: 12px;
    font-weight: 850;
}

.seller-order-product-details summary > i {
    color: #93c5fd;
    transition: transform 0.18s ease;
}

.seller-order-product-details[open] summary {
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.seller-order-product-details[open] summary > i {
    transform: rotate(180deg);
}

.seller-order-product-details > div {
    padding: 14px;
}

.seller-order-product-details p {
    margin: 0;
    color: #d8e7fb;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;
    white-space: pre-wrap;
}

.seller-order-buyer-bar button:disabled,
.seller-order-delivery-actions button:disabled {
    border-color: rgba(148, 163, 184, 0.14) !important;
    background: rgba(51, 65, 85, 0.54) !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
}

.seller-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: rgba(2, 6, 14, 0.74);
    backdrop-filter: blur(10px);
    overflow: hidden;
    overscroll-behavior: contain;
    padding: 20px;
}

html.is-modal-open,
body.is-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

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

.g4-action-dialog {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.g4-action-dialog[hidden] {
    display: none;
}

html.g4-action-dialog-open,
body.g4-action-dialog-open {
    overflow: hidden !important;
}

.g4-action-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 14, 0.78);
    backdrop-filter: blur(9px);
}

.g4-action-dialog-card {
    position: relative;
    width: min(430px, 100%);
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 30px 26px 24px;
    border: 1px solid rgba(255, 91, 112, 0.34);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% -20%, rgba(255, 71, 87, 0.2), transparent 48%),
        linear-gradient(180deg, #171d29, #0f1520);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
    color: #fff;
    text-align: center;
}

.g4-action-dialog-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 71, 87, 0.14);
    border: 1px solid rgba(255, 91, 112, 0.34);
    color: #ff5b70;
    font-size: 1.5rem;
}

.g4-action-dialog[data-tone="warning"] .g4-action-dialog-card {
    border-color: rgba(245, 158, 11, 0.34);
}

.g4-action-dialog[data-tone="warning"] .g4-action-dialog-icon {
    border-color: rgba(245, 158, 11, 0.36);
    background: rgba(245, 158, 11, 0.13);
    color: #fbbf24;
}

.g4-action-dialog-eyebrow {
    color: #ff6b81;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.g4-action-dialog-card h2 {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.25;
}

.g4-action-dialog-card p {
    max-width: 350px;
    margin: 0;
    color: #b9c8dc;
    font-size: 0.92rem;
    line-height: 1.55;
}

.g4-action-dialog-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.g4-action-dialog.is-notice .g4-action-dialog-actions {
    grid-template-columns: 1fr;
}

.g4-action-dialog-actions button {
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 7px;
    background: #151d2b;
    color: #e5edf8;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.g4-action-dialog-actions button:hover,
.g4-action-dialog-actions button:focus-visible {
    border-color: rgba(255, 91, 112, 0.7);
    outline: none;
}

.g4-action-dialog-actions .g4-action-dialog-confirm {
    border-color: rgba(255, 91, 112, 0.58);
    background: linear-gradient(135deg, #ff4757, #c5253d);
    color: #fff;
}

@media (max-width: 560px) {
    .g4-action-dialog {
        align-items: end;
        padding: 14px;
    }

    .g4-action-dialog-card {
        width: 100%;
        padding: 25px 20px 20px;
    }
}

.seller-modal-card {
    width: min(620px, 100%);
    max-height: min(88vh, 760px);
    overflow: auto;
    overscroll-behavior: contain;
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 10px;
    background:
        radial-gradient(circle at 10% 0, rgba(255, 71, 87, 0.15), transparent 34%),
        linear-gradient(180deg, #171d29, #101621);
    color: #fff;
    padding: 24px;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
}

.seller-modal-wide {
    width: min(880px, 100%);
}

.seller-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.86);
    color: #e2e8f0;
    cursor: pointer;
}

.seller-modal-card h2 {
    margin: 0 42px 7px 0;
    color: #fff;
}

.seller-modal-card p,
.seller-modal-status {
    color: #c7d7eb;
    line-height: 1.5;
}

.seller-proof-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.seller-proof-item {
    display: grid;
    gap: 9px;
    color: #dbeafe;
    font-weight: 900;
}

.seller-proof-item a {
    display: grid;
    gap: 9px;
    color: inherit;
    text-decoration: none;
}

.seller-proof-preview-action {
    width: 100%;
    display: grid;
    gap: 9px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 900;
    text-align: left;
    padding: 0;
    cursor: pointer;
}

.seller-proof-preview-action:focus-visible,
.order-delivery-proof-action:focus-visible,
.admin-delivery-proof-action:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}

.seller-proof-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 8px;
    background: rgba(8, 13, 22, 0.78);
}

.seller-proof-item span {
    color: #93c5fd;
    font-size: 12px;
}

.seller-proof-item button {
    min-height: 38px;
    border: 1px solid rgba(248, 113, 113, 0.38);
    border-radius: 8px;
    background: rgba(127, 29, 29, 0.24);
    color: #fecaca;
    font-weight: 900;
    cursor: pointer;
}

.seller-confirm-card {
    width: min(460px, 92vw);
    justify-items: center;
    text-align: center;
    padding: 32px 26px 24px;
    overflow: visible;
}

.seller-confirm-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: radial-gradient(circle at 30% 20%, #ff6b81, #8b1e2d 55%, #1b1018);
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 16px 40px rgba(255, 71, 87, 0.26);
}

.seller-confirm-card h2 {
    margin: 0;
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
}

.seller-confirm-card p {
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
}

.seller-confirm-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 6px;
}

.seller-confirm-actions button {
    min-height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.86);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.seller-confirm-actions button:last-child {
    border-color: rgba(255, 71, 87, 0.52);
    background: linear-gradient(135deg, #ef4444, #991b1b);
}

.seller-delete-confirm-icon {
    background:
        radial-gradient(circle at 30% 20%, #ff8a9a, #ef4444 48%, #281018);
    box-shadow: 0 16px 40px rgba(239, 68, 68, 0.28);
}

.seller-offer-delete-modal .seller-confirm-card p {
    color: #d8e6f7;
}

.seller-delete-confirm-actions button:first-child {
    color: #dbeafe;
}

.seller-delete-confirm-actions button:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.seller-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.seller-create-choice-card {
    width: min(690px, calc(100vw - 32px));
    min-height: auto;
    padding: 30px 30px 30px;
    border-color: rgba(147, 197, 253, 0.22);
    background:
        radial-gradient(circle at 15% 0, rgba(255, 71, 87, 0.20), transparent 35%),
        radial-gradient(circle at 96% 100%, rgba(34, 197, 94, 0.12), transparent 32%),
        linear-gradient(180deg, #171d29, #101722);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.48);
}

.seller-create-choice-card h2 {
    width: 100%;
    margin: 0 0 24px;
    padding: 0 46px 18px 0;
    border-bottom: 1px solid rgba(147, 197, 253, 0.16);
    font-size: 30px;
    letter-spacing: 0;
    text-align: left;
}

.seller-create-choice-card .seller-choice-grid {
    margin-top: 20px;
    width: min(530px, 100%);
    margin-left: auto;
    margin-right: auto;
    gap: 16px;
}

.seller-choice-grid button,
.seller-choice-upload {
    min-height: 132px;
    display: grid;
    justify-items: start;
    align-content: start;
    text-align: left;
    padding: 18px;
}

.seller-create-choice-card .seller-choice-grid button {
    min-height: 146px;
    justify-items: center;
    align-content: center;
    gap: 14px;
    text-align: center;
    padding: 22px 18px;
    border-color: rgba(147, 197, 253, 0.22);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.10), transparent 44%),
        rgba(12, 19, 33, 0.92);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.seller-create-choice-card .seller-choice-grid button:hover,
.seller-create-choice-card .seller-choice-grid button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.55);
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.16), transparent 44%),
        rgba(15, 26, 45, 0.98);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(56, 189, 248, 0.08);
}

.seller-choice-grid i,
.seller-choice-upload i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #eafaf0;
    color: #16a34a;
}

.seller-create-choice-card .seller-choice-grid i {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.28), transparent 34%),
        linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #03111e;
    font-size: 27px;
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}

.seller-create-choice-card .seller-choice-grid button:nth-child(2) i {
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.30), transparent 34%),
        linear-gradient(135deg, #f43f5e, #8b5cf6);
    box-shadow: 0 18px 38px rgba(244, 63, 94, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}

.seller-create-choice-card .seller-choice-grid strong {
    color: #f8fbff;
    font-size: 17px;
    font-weight: 950;
}

.seller-choice-grid span,
.seller-choice-upload span {
    color: #64748b;
    line-height: 1.45;
}

.seller-stepper {
    display: flex;
    gap: 10px;
    margin: 18px 0;
}

.seller-stepper span {
    border: 1px solid #d7deea;
    border-radius: 999px;
    color: #64748b;
    font-weight: 800;
    padding: 8px 13px;
}

.seller-stepper span.active {
    border-color: #16a34a;
    background: #eafaf0;
    color: #15803d;
}

.seller-offer-step[hidden] {
    display: none;
}

.seller-single-offer-card {
    width: min(690px, calc(100vw - 32px));
    min-height: auto;
    overflow: visible;
    padding: 34px 28px 28px;
    border-color: rgba(147, 197, 253, 0.22);
    border-radius: 14px;
    background:
        radial-gradient(circle at 10% 0, rgba(255, 71, 87, 0.22), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.13), transparent 36%),
        linear-gradient(145deg, rgba(24, 31, 45, 0.98), rgba(11, 18, 31, 0.98));
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.seller-single-offer-card h2 {
    width: 100%;
    margin: 0 0 24px;
    padding: 0 46px 18px 0;
    border-bottom: 1px solid rgba(147, 197, 253, 0.16);
    font-size: 30px;
    letter-spacing: 0;
    text-align: left;
}

.seller-single-offer-card .seller-offer-form {
    padding: 0;
    grid-template-columns: 1fr;
}

.seller-single-offer-card .seller-offer-step {
    grid-column: 1 / -1;
}

.seller-single-offer-card .seller-offer-step[data-seller-step="setup"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: min(530px, 100%);
    max-width: none;
    margin: 0 auto;
    align-items: end;
}

.seller-single-offer-card .seller-offer-step[data-seller-step="setup"] label,
.seller-single-offer-card .seller-offer-step[data-seller-step="details"] label {
    display: grid;
    gap: 8px;
    color: #b8cff2;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-single-offer-card .seller-offer-step[data-seller-step="setup"] input,
.seller-single-offer-card .seller-offer-step[data-seller-step="setup"] select,
.seller-single-offer-card .seller-offer-step[data-seller-step="details"] input,
.seller-single-offer-card .seller-offer-step[data-seller-step="details"] select,
.seller-single-offer-card .seller-offer-step[data-seller-step="details"] textarea {
    min-height: 56px;
    width: 100%;
    margin-top: 0;
    border: 1px solid rgba(147, 197, 253, 0.24);
    border-radius: 12px;
    background:
        radial-gradient(circle at 14% 0, rgba(56, 189, 248, 0.07), transparent 34%),
        linear-gradient(180deg, rgba(12, 20, 35, 0.96), rgba(7, 12, 22, 0.98));
    color: #f8fbff;
    font-size: 14px;
    font-weight: 850;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 12px 28px rgba(0, 0, 0, 0.16);
    outline: none;
}

.seller-single-offer-card .seller-offer-step[data-seller-step="setup"] input::placeholder {
    color: rgba(203, 213, 225, 0.55);
}

.seller-single-offer-card .seller-offer-step[data-seller-step="setup"] input:focus,
.seller-single-offer-card .seller-offer-step[data-seller-step="setup"] select:focus,
.seller-single-offer-card .seller-offer-step[data-seller-step="details"] input:focus,
.seller-single-offer-card .seller-offer-step[data-seller-step="details"] select:focus,
.seller-single-offer-card .seller-offer-step[data-seller-step="details"] textarea:focus {
    border-color: rgba(56, 189, 248, 0.58);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.seller-single-offer-card .seller-offer-step select option {
    background: #101722;
    color: #f8fbff;
    font-weight: 750;
}

.seller-platform-field {
    display: grid;
    gap: 8px;
    color: #b8cff2;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-platform-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 178px;
    overflow: auto;
    border: 1px solid rgba(147, 197, 253, 0.24);
    border-radius: 12px;
    background:
        radial-gradient(circle at 14% 0, rgba(56, 189, 248, 0.07), transparent 34%),
        linear-gradient(180deg, rgba(12, 20, 35, 0.96), rgba(7, 12, 22, 0.98));
    padding: 10px;
}

.seller-platform-choice-grid label {
    min-height: 38px;
    display: flex !important;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(147, 197, 253, 0.18);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.58);
    color: #f8fbff !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    padding: 0 10px;
    cursor: pointer;
}

.seller-platform-choice-grid input {
    width: auto !important;
    min-height: auto !important;
    margin: 0 !important;
    accent-color: #22c55e;
    box-shadow: none !important;
}

.seller-platform-field.is-error .seller-platform-choice-grid {
    border-color: rgba(255, 71, 87, 0.78);
    box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.12);
}

.seller-step-actions {
    grid-column: 1 / -1;
    margin-top: 4px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.seller-single-offer-card .seller-step-back,
.seller-single-offer-card .seller-step-next {
    width: min(184px, 100%);
    min-width: 150px;
    min-height: 50px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 950;
}

.seller-single-offer-card .seller-step-next {
    border: 0;
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #03111e;
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.20);
}

.seller-game-picker {
    position: relative;
}

.seller-game-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1002;
    max-height: 246px;
    overflow: auto;
    pointer-events: auto;
    display: grid;
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(147, 197, 253, 0.26);
    border-radius: 12px;
    background:
        radial-gradient(circle at 8% 0, rgba(56, 189, 248, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.99), rgba(8, 13, 22, 0.99));
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.46);
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.52) rgba(15, 23, 42, 0.8);
}

.seller-game-suggestions[hidden] {
    display: none;
}

.seller-game-suggestions button {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #e5edf8;
    font: inherit;
    font-weight: 850;
    text-align: left;
    padding: 0 10px;
    cursor: pointer;
}

.seller-game-suggestions button:hover,
.seller-game-suggestions button.is-new-game {
    border-color: rgba(56, 189, 248, 0.30);
    background: rgba(56, 189, 248, 0.10);
}

.seller-game-suggestions i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.14);
    color: #4ade80;
}

.seller-game-suggestions .is-new-game i {
    background: rgba(56, 189, 248, 0.16);
    color: #38bdf8;
}

#sellerSingleOfferModal.is-details-mode {
    align-items: stretch;
    padding: 18px;
}

#sellerSingleOfferModal.is-details-mode .seller-single-offer-card {
    width: min(1180px, calc(100vw - 36px));
    min-height: calc(100svh - 36px);
    max-height: calc(100svh - 36px);
    overflow: auto;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 32px 32px 48px;
    border-radius: 14px;
}

#sellerSingleOfferModal.is-details-mode .seller-single-offer-card h2 {
    width: 100%;
    margin: 0 0 24px;
    padding: 0 46px 18px 0;
    border-bottom: 1px solid rgba(147, 197, 253, 0.16);
    text-align: left;
}

#sellerSingleOfferModal.is-details-mode .seller-offer-form {
    min-height: 0;
}

#sellerSingleOfferModal.is-details-mode .seller-offer-step[data-seller-step="details"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    align-content: start;
}

#sellerSingleOfferModal.is-details-mode .seller-offer-step[data-seller-step="details"] label.wide {
    grid-column: span 2;
}

#sellerSingleOfferModal.is-details-mode .seller-offer-step[data-seller-step="details"] textarea {
    min-height: 150px;
    padding-top: 14px;
    resize: vertical;
}

#sellerSingleOfferModal.is-details-mode .seller-form-actions {
    grid-column: span 2;
    margin-top: 18px;
    padding-bottom: 8px;
    gap: 14px;
}

#sellerSingleOfferModal.is-details-mode .seller-form-actions button {
    min-height: 48px;
    border-radius: 12px;
}

#sellerSingleOfferModal.is-details-mode .seller-form-actions button:first-child {
    border: 1px solid rgba(147, 197, 253, 0.22);
    background: rgba(15, 23, 42, 0.86);
    color: #e5edf8;
    font-weight: 900;
}

.seller-offer-image-upload {
    display: grid;
    gap: 8px;
    color: #b8cff2;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: default;
}

#sellerSingleOfferModal.is-details-mode .seller-offer-step[data-seller-step="details"] .seller-offer-image-upload {
    grid-column: span 2;
}

.seller-quantity-stock-row {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.seller-currency-fields[hidden] {
    display: none !important;
}

.seller-quantity-stock-row .seller-currency-fields:not([hidden]) {
    display: contents;
}

.seller-quantity-stock-row:has(.seller-currency-fields:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.46fr) minmax(0, 1fr);
}

.seller-price-field {
    grid-column: span 2;
}

.seller-quantity-stock-row label {
    gap: 6px;
}

.seller-quantity-stock-row input,
.seller-quantity-stock-row select {
    min-height: 50px !important;
}

.seller-offer-image-box {
    min-height: 108px;
    width: 100%;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    border: 1px dashed rgba(147, 197, 253, 0.32);
    border-radius: 14px;
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.09), transparent 34%),
        rgba(8, 13, 22, 0.64);
    color: #e5edf8;
    padding: 18px;
    font: inherit;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

.seller-offer-image-box > i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    grid-row: 1 / span 2;
    border-radius: 14px;
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #03111e;
    font-size: 21px;
}

.seller-offer-image-box strong,
.seller-offer-image-box em {
    grid-column: 2;
}

.seller-offer-image-box strong {
    color: #f8fbff;
    font-size: 15px;
    font-weight: 950;
}

.seller-offer-image-box em {
    margin-top: 2px;
    color: #9fb8d8;
    font-size: 12px;
    font-style: normal;
    font-weight: 750;
}

.seller-offer-image-upload.is-error .seller-offer-image-box {
    border-color: rgba(248, 113, 113, 0.72);
    background:
        radial-gradient(circle at 10% 0, rgba(248, 113, 113, 0.12), transparent 34%),
        rgba(8, 13, 22, 0.88);
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.11);
}

.seller-offer-image-upload.is-error .seller-offer-image-box strong {
    color: #fecaca;
}

.seller-single-offer-card .seller-offer-step[hidden] {
    display: none !important;
}

.seller-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.seller-bulk-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 18px;
}

.seller-bulk-offer-card,
.seller-manage-offers-card {
    width: min(880px, calc(100vw - 32px));
    padding: 32px;
}

.seller-bulk-offer-card h2,
.seller-manage-offers-card h2 {
    width: 100%;
    margin: 0 0 24px;
    padding: 0 46px 18px 0;
    border-bottom: 1px solid rgba(147, 197, 253, 0.16);
    font-size: 28px;
    line-height: 1.1;
    text-align: left;
}

.seller-bulk-offer-card .seller-modal-status,
.seller-manage-offers-card .seller-modal-status {
    display: block;
    margin-top: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(147, 197, 253, 0.14);
    border-radius: 10px;
    background: rgba(8, 13, 22, 0.58);
    color: #bcd2ee;
    font-size: 13px;
    font-weight: 750;
}

.seller-manage-offers-card .seller-choice-grid {
    width: min(590px, 100%);
    margin: 0 auto 18px;
    gap: 16px;
}

.seller-manage-offers-card .seller-choice-grid button,
.seller-manage-offers-card .seller-choice-upload {
    min-height: 156px;
    justify-items: center;
    align-content: center;
    gap: 13px;
    padding: 22px 18px;
    border-radius: 12px;
    text-align: center;
}

.seller-manage-offers-card .seller-choice-grid i,
.seller-manage-offers-card .seller-choice-upload i {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.28), transparent 34%),
        linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #03111e;
    font-size: 22px;
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.20), 0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}

.seller-manage-offers-card .seller-choice-upload i {
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.30), transparent 34%),
        linear-gradient(135deg, #f43f5e, #8b5cf6);
}

.seller-manage-offers-card .seller-choice-grid strong {
    color: #f8fbff;
    font-size: 17px;
    font-weight: 950;
}

.seller-manage-offers-card .seller-choice-grid span,
.seller-manage-offers-card .seller-choice-upload span {
    color: #8ea4c2;
    font-size: 13px;
    font-weight: 800;
}

.seller-bulk-tools label:not(.seller-upload-btn) {
    text-transform: uppercase;
}

.seller-bulk-tools button,
.seller-upload-btn {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 950;
    text-transform: none;
    cursor: pointer;
}

.seller-bulk-tools button i,
.seller-upload-btn i {
    font-size: 17px;
}

.seller-upload-btn {
    border: 1px solid rgba(34, 197, 94, 0.34);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(14, 165, 233, 0.95));
    color: #03111e;
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.16);
}

.seller-withdraw-form {
    padding: 18px;
}

.seller-offer-form button[type="submit"],
.seller-withdraw-form button[type="submit"] {
    min-height: 44px;
    border: 0;
    border-radius: 4px;
    background: #16a34a;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.seller-offer-form button[type="submit"] i,
.seller-withdraw-form button[type="submit"] i {
    margin-right: 8px;
}

@media (max-width: 1280px) {
    .admin-console-body .admin-metrics {
        grid-template-columns: repeat(4, minmax(120px, 1fr));
    }

    .admin-order-editor {
        width: 100%;
    }

    .admin-order-detail-layout {
        grid-template-columns: 1fr;
    }

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

    .admin-timeline-list {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
        row-gap: 14px;
    }

    .admin-order-conversation {
        min-height: 450px;
    }
}

@media (max-width: 760px) {
    .admin-console {
        grid-template-columns: 1fr;
    }

    .seller-console-body .admin-console {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        min-height: auto;
        height: auto;
        position: static;
    }

    .seller-console-body .seller-sidebar {
        min-height: 100svh;
        height: auto;
        padding-bottom: 8px;
    }

    .seller-console-body:not(.is-mobile-panel-page) .admin-console-main {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page .seller-sidebar {
        display: none;
    }

    .admin-sidebar-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .seller-console-body .admin-console-brand {
        padding: 24px 18px 28px;
    }

    .seller-console-body .admin-sidebar-label {
        margin-top: 26px;
    }

    .seller-console-body .seller-sidebar-nav {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px 10px 0;
    }

    .seller-console-body .seller-sidebar-nav button {
        min-height: 44px;
        border-left: 0;
        border-radius: 0;
        padding: 0 10px;
        font-size: 13px;
    }

    .seller-console-body .seller-sidebar-nav button i {
        width: 22px;
    }

    .seller-sidebar-actions {
        margin: auto 18px 18px;
        grid-template-columns: 1fr auto;
    }

    .admin-back-store {
        margin-top: 18px;
    }

    .seller-sidebar-actions .admin-back-store {
        margin-top: 0;
    }

    .seller-sidebar-actions button {
        width: auto;
    }

    .admin-console-main {
        padding: 18px 12px;
    }

    .seller-console-body .admin-console-main {
        min-height: 100svh;
        padding-top: 22px;
    }

    .seller-console-body.is-mobile-panel-page .seller-panel-section > .admin-section-title {
        position: sticky;
        top: 0;
        z-index: 12;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        align-items: center;
        min-height: 62px;
        width: 100%;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 8px;
        background: linear-gradient(180deg, #171d29, #111722);
        padding: 0 12px;
    }

    .seller-console-body.is-mobile-panel-page .seller-panel-section > .admin-section-title h2 {
        justify-self: center;
        text-align: center;
        font-size: 18px;
    }

    .seller-console-body.is-mobile-panel-page .seller-panel-section > .admin-section-title span,
    .seller-console-body.is-mobile-panel-page .seller-panel-section > .admin-section-title > a:not(.seller-mobile-panel-back) {
        justify-self: end;
        max-width: 42px;
        overflow: hidden;
        color: #9fb8d8;
        font-size: 11px;
        text-overflow: ellipsis;
        visibility: hidden;
        white-space: nowrap;
    }

    .seller-console-body.is-mobile-panel-page .seller-mobile-panel-back {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(148, 163, 184, 0.22);
        border-radius: 50%;
        background: rgba(15, 23, 42, 0.86);
        color: #fff;
        text-decoration: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title-wrap {
        display: grid;
        width: 100%;
        gap: 12px;
        margin-bottom: 12px;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 0;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title {
        position: sticky;
        top: 0;
        z-index: 12;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        align-items: center;
        min-height: 62px;
        width: 100%;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 8px;
        background: #111722;
        padding: 0 12px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title > div {
        justify-self: center;
        text-align: center;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title h2 {
        font-size: 18px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title > div span {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title-spacer {
        display: block;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-title-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-title-actions button {
        min-height: 42px;
        border-radius: 8px;
    }

    .seller-console-body #sellerPanelCloseStoreBtn {
        display: none;
    }

    .seller-store-settings-grid,
    .seller-featured-offer-list {
        grid-template-columns: 1fr;
    }

    .seller-featured-settings-head,
    .seller-featured-filter-tools {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .seller-featured-settings-head button {
        width: 100%;
    }

    #sellerFeaturedFilterModal {
        padding: 0;
    }

    #sellerFeaturedFilterModal .seller-modal-card {
        width: 100%;
        height: 100svh;
        max-height: none;
        border: 0;
        border-radius: 0;
        background:
            radial-gradient(circle at 8% 0, rgba(255, 71, 87, 0.16), transparent 30%),
            linear-gradient(180deg, #151b27, #0d131d);
        padding: 30px 16px 22px;
    }

    #sellerFeaturedFilterModal .seller-modal-close {
        top: 18px;
        right: 16px;
    }

    #sellerFeaturedFilterModal h2 {
        padding-right: 42px;
        font-size: 24px;
    }

    #sellerFeaturedFilterModal p {
        display: none;
    }

    .seller-featured-filter-toggle-btn {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid rgba(148, 163, 184, 0.22);
        border-radius: 8px;
        background: rgba(15, 23, 42, 0.86);
        color: #fff;
        font-weight: 900;
        cursor: pointer;
        width: max-content;
        padding: 0 16px;
        margin: 8px 0 14px;
    }

    .seller-featured-filter-toggle-btn span {
        font-size: 0;
    }

    .seller-featured-filter-toggle-btn span::after {
        content: "Filter";
        font-size: 15px;
    }

    #sellerFeaturedFilterModal .seller-featured-filter-tools {
        display: none;
        margin: 10px 0 16px;
    }

    #sellerFeaturedFilterToggle:checked + .seller-featured-filter-toggle-btn + .seller-featured-filter-tools {
        display: grid;
    }

    #sellerFeaturedFilterModal .seller-featured-filter-list {
        display: grid;
        gap: 12px;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    #sellerFeaturedFilterModal .seller-featured-offer-option {
        grid-template-columns: auto 58px minmax(0, 1fr);
        gap: 12px;
        min-height: 88px;
        border-color: rgba(148, 163, 184, 0.18);
        border-radius: 10px;
        background: rgba(8, 13, 22, 0.86);
        padding: 14px 12px 34px;
    }

    #sellerFeaturedFilterModal .seller-featured-offer-option img {
        width: 58px;
        height: 42px;
    }

    #sellerFeaturedFilterModal .seller-featured-offer-option strong {
        margin-bottom: 6px;
        font-size: 15px;
    }

    #sellerFeaturedFilterModal .seller-featured-offer-option small {
        line-height: 1.35;
    }

    #sellerFeaturedFilterModal .seller-featured-offer-option em {
        right: 12px;
        bottom: 10px;
    }

    #sellerStoreConfirmModal {
        padding: 20px;
    }

    #sellerStoreConfirmModal .seller-confirm-card {
        width: min(340px, 92vw);
        height: auto;
        max-height: none;
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 12px;
        padding: 30px 16px 20px;
    }

    #sellerStoreConfirmModal .seller-confirm-card h2 {
        font-size: 22px;
        white-space: nowrap;
    }

    #sellerStoreConfirmModal .seller-confirm-card p {
        max-width: 292px;
        line-height: 1.55;
    }

    #sellerStoreConfirmModal .seller-confirm-actions {
        grid-template-columns: 1fr 1fr;
    }

    .seller-live-profile-editor {
        padding: 20px 14px;
    }

    .seller-live-score,
    .seller-live-about-editor,
    .seller-live-metrics {
        grid-template-columns: 1fr;
    }

    .seller-live-score {
        text-align: center;
    }

    .seller-store-settings-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .seller-store-settings-action-buttons {
        flex-direction: column;
    }

    .admin-console-body .admin-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-console-body .admin-metrics,
    .seller-panel-grid,
    .seller-earnings-grid {
        grid-template-columns: 1fr;
    }

    .seller-console-body.is-mobile-panel-page .seller-balance-title > div {
        justify-items: center;
        text-align: center;
    }

    .seller-console-body.is-mobile-panel-page .seller-balance-title > div span {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerEarningsPanel {
        overflow: hidden;
    }

    .seller-console-body.is-mobile-panel-page #sellerEarningsPanel > .seller-balance-title {
        z-index: 80 !important;
        overflow: hidden;
        isolation: isolate;
        background: linear-gradient(180deg, #171d29, #111722);
    }

    .seller-console-body.is-mobile-panel-page #sellerEarningsPanel > .seller-balance-title::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: inherit;
        background: inherit;
    }

    .seller-console-body.is-mobile-panel-page #sellerBalanceWorkspace[hidden] {
        display: none !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerPayoutSettings {
        position: relative;
        z-index: 1;
    }

    .seller-console-body.is-mobile-panel-page #sellerEarningsPanel.is-payout-settings-open > .seller-balance-title {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerEarningsPanel.is-payout-settings-open {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerEarningsPanel:not(.is-payout-settings-open) {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerEarningsPanel.is-payout-settings-open #sellerPayoutSettings {
        min-height: calc(100vh - 24px);
        margin: 0;
        padding: 0 12px 18px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .seller-console-body.is-mobile-panel-page #sellerPayoutSettings .seller-payout-settings-head {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        align-items: center;
        min-height: 60px;
        width: 100%;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 8px;
        background: linear-gradient(180deg, #171d29, #111722);
        margin: 0 0 14px;
        padding: 0 12px;
    }

    .seller-console-body.is-mobile-panel-page #sellerPayoutSettings .seller-payout-settings-head > span {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerPayoutSettings .seller-payout-settings-head > div {
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .seller-console-body.is-mobile-panel-page #sellerPayoutSettings .seller-payout-settings-head strong {
        font-size: 18px;
        font-weight: 900;
    }

    .seller-console-body.is-mobile-panel-page #sellerPayoutSettings .seller-payout-settings-head > div span {
        display: none;
    }

    .seller-balance-actions,
    .seller-balance-records {
        padding-left: 12px;
        padding-right: 12px;
    }

    .seller-balance-primary-actions {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(92px, 1fr) minmax(106px, 1.05fr) 42px;
        gap: 8px;
    }

    .seller-withdraw-now-btn,
    .seller-payout-dropdown,
    .seller-payout-dropdown > button {
        width: 100%;
        min-width: 0;
    }

    .seller-withdraw-now-btn,
    .seller-payout-dropdown > button,
    .seller-payout-settings-btn {
        min-height: 42px;
        height: 42px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
    }

    .seller-payout-settings-btn {
        width: 42px;
        padding: 0;
    }

    .seller-payout-menu {
        left: auto;
        right: 0;
        width: min(230px, calc(100vw - 32px));
    }

    #sellerSelectedPayoutLabel,
    .seller-withdraw-now-btn span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .seller-balance-withdraw-form,
    .seller-withdraw-review-summary,
    .seller-withdraw-review-details,
    .seller-payout-option-form,
    .seller-balance-records,
    .seller-payment-record-row {
        grid-template-columns: 1fr;
    }

    .seller-payout-option-form.is-crypto {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .seller-payout-option-form.is-crypto label,
    .seller-payout-option-form.is-crypto .seller-payout-option-actions {
        min-width: 0;
        width: 100%;
    }

    .seller-payout-option-form.is-crypto .seller-payout-option-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .seller-balance-record-tabs {
        width: 100%;
    }

    .seller-balance-record-tabs button {
        flex: 1;
        min-width: 0;
        padding: 0 8px;
    }

    .seller-balance-withdraw-form,
    .seller-withdraw-review-page,
    .seller-payout-settings {
        margin-left: 12px;
        margin-right: 12px;
    }

    .seller-payout-option-actions,
    .seller-balance-form-actions,
    .seller-withdraw-review-actions {
        justify-content: stretch;
    }

    .seller-withdraw-review-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .seller-payout-option-form .seller-payout-option-actions {
        grid-column: 1 / -1;
        width: 100%;
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin: 2px 0 4px;
    }

    .seller-payout-option-actions button,
    .seller-balance-form-actions button {
        flex: 1;
    }

    .seller-payout-option-list article {
        align-items: flex-start;
        padding: 14px 52px 14px 12px;
    }

    .seller-payout-option-main {
        width: 100%;
        align-items: flex-start;
    }

    .seller-payout-option-main > span {
        min-width: 0;
    }

    .seller-payout-option-list article .seller-payout-option-actions {
        position: absolute;
        top: 12px;
        right: 12px;
        display: block;
    }

    .seller-payout-option-more {
        display: grid !important;
        place-items: center;
    }

    .seller-payout-option-action-menu {
        display: none;
    }

    .seller-payout-option-list article.is-menu-open .seller-payout-option-action-menu {
        position: absolute;
        inset: -4px -4px auto auto;
        z-index: 3;
        width: min(238px, calc(100vw - 72px));
        min-height: 54px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 8px;
        background: #0f1724;
        padding: 8px;
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
    }

    .seller-payout-option-list article.is-menu-open .seller-payout-option-action-menu button {
        width: 100%;
        gap: 7px;
    }

    .seller-payout-option-list article.is-menu-open .seller-payout-option-action-menu button span {
        display: inline;
    }

    .seller-balance-record-status,
    .seller-balance-record-money {
        justify-items: start;
    }

    .seller-balance-record-row {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .seller-balance-record-main {
        min-width: 0;
    }

    .seller-withdrawal-details {
        white-space: normal;
        font-size: 11.5px;
    }

    .seller-withdrawal-record-row {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .seller-withdrawal-record-row .seller-balance-record-money {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .seller-console-body .admin-toolbar {
        align-items: stretch;
    }

    .admin-console-body .admin-toolbar,
    .admin-console-top {
        flex-direction: column;
    }

    .admin-order-list-head,
    .admin-order-list-row {
        grid-template-columns: minmax(145px, 1fr) 100px 90px;
    }

    .admin-order-list-head span:last-child,
    .admin-order-list-row > strong:last-child {
        display: none;
    }

    .admin-editor-columns,
    .admin-order-info-grid,
    .admin-delivery-controls > div {
        grid-template-columns: 1fr;
    }

    .admin-customer-summary {
        border-left: 0;
        padding-left: 0;
    }

    .admin-info-rows span {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .admin-ops-grid,
    .admin-info-rows.compact span,
    .admin-timeline-list {
        grid-template-columns: 1fr;
    }

    .admin-ops-head,
    .admin-ops-alert {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-order-action-bar {
        position: static;
    }

    .admin-order-action-bar button,
    .admin-card-action,
    .admin-ops-alert button {
        width: 100%;
    }

    .admin-products-row {
        min-width: 760px;
    }

    .admin-timeline-step::after {
        top: 18px;
        left: 7px;
        right: auto;
        bottom: -14px;
        width: 1px;
        height: auto;
    }

    .admin-line-items > .admin-line-item {
        grid-template-columns: 54px minmax(0, 1fr);
        align-items: start;
    }

    .admin-line-item-meta {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .admin-line-item-price {
        justify-self: start;
    }

    .seller-offers-head,
    .seller-orders-head {
        display: none;
    }

    .seller-offers-title,
    .seller-offer-title-actions,
    .seller-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .seller-console-body.is-mobile-panel-page .admin-console-main {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel {
        width: calc(100vw - 24px);
        max-width: none;
        box-sizing: border-box;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel {
        width: calc(100vw - 24px);
        max-width: none;
        box-sizing: border-box;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title-wrap,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title,
    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-offers-title-wrap,
    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-offers-title {
        width: 100%;
        max-width: none;
        justify-self: stretch;
        align-self: stretch;
        box-sizing: border-box;
    }

    .seller-offer-filters,
    .seller-bulk-tools,
    .seller-choice-grid {
        grid-template-columns: 1fr;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters {
        grid-template-columns: 1fr;
        margin: 12px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-table {
        margin: 0 12px 12px;
        border: 0;
        background: transparent;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-table-title {
        min-height: 48px;
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 8px 8px 0 0;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-list-head {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-list-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto auto;
        gap: 8px 10px;
        min-height: auto;
        margin-bottom: 10px;
        border: 1px solid rgba(56, 189, 248, 0.16);
        border-radius: 8px;
        background:
            radial-gradient(circle at 12% 0, rgba(255, 71, 87, 0.12), transparent 34%),
            radial-gradient(circle at 90% 0, rgba(34, 197, 94, 0.10), transparent 30%),
            rgba(10, 16, 27, 0.92);
        padding: 12px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-reference {
        grid-column: 1 / -1;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-list-row > span:not(.seller-order-reference) {
        grid-column: 1;
        grid-row: 2;
        font-size: 12px;
        color: #9fb8d8;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-date {
        grid-row: 3;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-status {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-list-row > strong {
        font-size: 13px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-list-row > strong:nth-of-type(1) {
        grid-column: 2;
        grid-row: 3;
        justify-self: end;
        text-align: right;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-detail-card {
        margin: 12px;
        padding: 14px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-detail-topbar {
        align-items: center;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-detail-head {
        grid-template-columns: 1fr;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-meta-action-row {
        align-items: stretch;
        flex-direction: column;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-delivery-actions {
        justify-content: stretch;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-delivery-actions button {
        width: 100%;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-buyer-bar,
    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-insight-grid {
        grid-template-columns: 1fr;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-insight-card {
        height: 286px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-left-stack {
        height: auto;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-left-stack .seller-order-price-card {
        height: 230px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-timeline-list {
        max-height: 232px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-buyer-bar {
        display: grid;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-buyer-actions {
        justify-content: stretch;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-buyer-actions button {
        width: 100%;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-detail-head img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filters {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 46px;
        gap: 8px;
        margin-bottom: 14px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 8px;
        background: linear-gradient(180deg, #141b27, #101722);
        padding: 12px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filter-panel-head,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filters > label:not(.seller-offer-search) {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-search {
        grid-column: 1;
        gap: 0;
        font-size: 0;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-search input {
        min-height: 46px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 800;
        padding: 0 14px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-filter-btn {
        width: 46px;
        height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(147, 197, 253, 0.24);
        border-radius: 8px;
        background:
            radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
            rgba(15, 23, 42, 0.92);
        color: #e5edf8;
        font-size: 15px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-filter-btn span {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filters.is-open {
        position: fixed;
        inset: var(--g4boost-public-header-height, 104px) 0 0 0;
        z-index: 2147483400;
        grid-template-columns: 1fr;
        grid-auto-rows: max-content;
        align-content: start;
        gap: 16px;
        width: 100%;
        height: calc(100svh - var(--g4boost-public-header-height, 104px));
        margin: 0;
        overflow: auto;
        overscroll-behavior: contain;
        border: 0;
        border-radius: 0;
        background:
            radial-gradient(circle at 8% 0, rgba(255, 71, 87, 0.14), transparent 30%),
            linear-gradient(180deg, #151b27, #0d131d);
        padding: 18px 14px 28px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filters.is-open .seller-offer-filter-panel-head {
        position: sticky;
        top: 0;
        z-index: 2;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        min-height: 58px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 8px;
        background: rgba(15, 23, 42, 0.96);
        padding: 0 10px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filter-panel-head button {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(148, 163, 184, 0.22);
        border-radius: 50%;
        background: rgba(8, 13, 22, 0.86);
        color: #fff;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filter-panel-head .seller-offer-filter-reset {
        width: auto;
        min-width: 72px;
        padding: 0 11px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background:
            linear-gradient(135deg, rgba(255, 71, 92, 0.16), rgba(255, 176, 32, 0.10)),
            rgba(8, 13, 22, 0.86);
        color: #f8fbff;
        font-size: 12px;
        font-weight: 900;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filter-panel-head strong {
        justify-self: center;
        color: #fff;
        font-size: 18px;
        font-weight: 950;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filters.is-open > label:not(.seller-offer-search) {
        display: grid;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filters.is-open .seller-offer-search,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filters.is-open .seller-offer-mobile-filter-btn {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filters.is-open .seller-offer-mobile-apply-btn {
        width: 100%;
        min-height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        margin-top: 4px;
        border: 1px solid rgba(34, 197, 94, 0.48);
        border-radius: 10px;
        background:
            radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.18), transparent 34%),
            linear-gradient(135deg, #22c55e, #15803d);
        color: #fff;
        font: inherit;
        font-size: 14px;
        font-weight: 950;
        box-shadow:
            0 16px 34px rgba(22, 163, 74, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.16);
        cursor: pointer;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-row {
        min-height: auto;
        grid-template-columns: 34px minmax(0, 1fr) auto 34px;
        grid-template-rows: 39px 1px auto auto auto 34px;
        gap: 11px 8px;
        margin-bottom: 14px;
        border: 1px solid rgba(56, 189, 248, 0.18);
        border-radius: 12px;
        background:
            radial-gradient(circle at 10% 0, rgba(255, 71, 87, 0.16), transparent 30%),
            radial-gradient(circle at 92% 12%, rgba(34, 197, 94, 0.13), transparent 30%),
            radial-gradient(circle at 36% 100%, rgba(56, 189, 248, 0.10), transparent 34%),
            linear-gradient(145deg, #151821, #0c121c 58%, #080d14);
        padding: 0;
        min-height: 228px;
        overflow: hidden;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.035),
            0 16px 34px rgba(0, 0, 0, 0.24),
            0 0 0 1px rgba(255, 255, 255, 0.018);
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-row > span,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-row > strong {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-top {
        grid-column: 1 / -1;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-width: 0;
        min-height: 39px;
        padding: 0 12px;
        background:
            linear-gradient(90deg, rgba(255, 71, 87, 0.08), rgba(56, 189, 248, 0.035), rgba(34, 197, 94, 0.06)),
            rgba(255, 255, 255, 0.018);
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-delivery,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-status {
        min-height: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 950;
        line-height: 1;
        white-space: nowrap;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-delivery {
        gap: 5px;
        max-width: none;
        border: 0;
        background: transparent;
        color: #9fc5ff;
        padding: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-delivery i {
        color: #fbbf24;
        text-shadow: 0 0 12px rgba(251, 191, 36, 0.45);
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-status {
        min-width: 0;
        padding: 0;
        letter-spacing: 0;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-status.is-live {
        border: 0;
        background: transparent;
        color: #65f2a0;
        text-shadow: 0 0 14px rgba(34, 197, 94, 0.32);
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-status.is-offline {
        border: 0;
        background: transparent;
        color: #cbd5e1;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-status.is-review {
        border: 0;
        background: transparent;
        color: #fde68a;
        text-shadow: 0 0 14px rgba(250, 204, 21, 0.24);
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-status.is-rejected {
        border: 0;
        background: transparent;
        color: #fca5a5;
        text-shadow: 0 0 14px rgba(248, 113, 113, 0.22);
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-divider {
        grid-column: 1 / -1;
        grid-row: 2;
        display: block;
        height: 1px;
        background: linear-gradient(90deg, rgba(255, 71, 87, 0.22), rgba(56, 189, 248, 0.18), rgba(34, 197, 94, 0.18));
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-main {
        display: contents;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-check-row {
        grid-column: 1 / 2;
        grid-row: 6;
        align-self: center;
        justify-self: center;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-main img {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-main > div {
        grid-column: 1 / -1;
        grid-row: 3;
        min-height: auto;
        grid-template-rows: auto;
        align-content: center;
        padding: 8px 12px 0;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-main a {
        min-height: 0;
        font-size: 14px;
        line-height: 1.34;
        max-width: 100%;
        text-shadow: 0 0 14px rgba(56, 189, 248, 0.10);
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-main small {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-menu {
        grid-column: 4 / 5;
        grid-row: 6;
        align-self: center;
        justify-self: center;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-menu > button {
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #64748b;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-desktop-menu-icon {
        display: none !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-copy-icon {
        display: inline-block !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-meta {
        grid-column: 1 / -1;
        grid-row: 4;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 7px 6px;
        padding: 0 12px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-meta-line {
        flex: 1 0 100%;
        min-width: 0;
        color: #9fb8da;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-meta-line i {
        color: rgba(56, 189, 248, 0.76);
        font-style: normal;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-stat {
        min-height: 20px;
        display: inline-flex;
        align-items: center;
        gap: 3px;
        border: 1px solid rgba(147, 197, 253, 0.14);
        border-radius: 4px;
        background:
            radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.10), transparent 42%),
            rgba(7, 12, 22, 0.78);
        padding: 0 5px;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-stat:nth-of-type(2) {
        border-color: rgba(56, 189, 248, 0.22);
        background:
            radial-gradient(circle at 18% 0, rgba(56, 189, 248, 0.18), transparent 44%),
            rgba(8, 17, 29, 0.82);
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-stat:nth-of-type(3) {
        border-color: rgba(255, 71, 87, 0.22);
        background:
            radial-gradient(circle at 18% 0, rgba(255, 71, 87, 0.14), transparent 44%),
            rgba(12, 13, 24, 0.82);
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-stat em {
        color: #8fb4df;
        font-size: 9px;
        font-style: normal;
        font-weight: 800;
        line-height: 1;
        text-transform: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-stat strong {
        color: #dbeafe;
        font-size: 10px;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-price-cell {
        grid-column: 1 / -1;
        grid-row: 5;
        justify-self: start;
        display: inline-grid;
        grid-template-columns: auto auto minmax(70px, 98px);
        align-items: center;
        justify-content: start;
        gap: 5px;
        width: auto;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 4px 12px 8px;
        align-self: end;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-price-label {
        display: inline;
        color: #f8fbff;
        font-size: 13px;
        font-style: normal;
        font-weight: 900;
        line-height: 1;
        text-transform: uppercase;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-price-cell span {
        color: #38d8ff;
        font-size: 13px;
        font-weight: 900;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-price-cell input {
        width: 98px;
        min-height: 22px;
        border-color: transparent;
        background: transparent;
        color: #f8fbff;
        padding: 0;
        font-size: 13px;
        font-weight: 900;
        text-align: left;
        text-shadow: 0 0 12px rgba(56, 189, 248, 0.12);
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-edit {
        grid-column: 3 / 4;
        grid-row: 6;
        align-self: center;
        justify-self: end;
        min-height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 0;
        background: transparent;
        color: #f8fbff;
        font-size: 12px;
        font-weight: 900;
        cursor: pointer;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-edit i {
        color: #a78bfa;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-row::after {
        content: "";
        grid-column: 1 / -1;
        grid-row: 6;
        align-self: stretch;
        border-top: 1px solid rgba(148, 163, 184, 0.14);
        background:
            linear-gradient(90deg, rgba(56, 189, 248, 0.04), rgba(255, 255, 255, 0.02), rgba(255, 71, 87, 0.04)),
            rgba(255, 255, 255, 0.018);
        pointer-events: none;
        z-index: 0;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-check-row,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-edit,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-menu {
        position: relative;
        z-index: 1;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-menu-popover {
        right: 0;
    }

    .seller-bulk-action-bar {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        transform: none;
        justify-content: stretch;
        flex-wrap: wrap;
        gap: 8px;
    }

    .seller-bulk-select-all {
        width: 100%;
        margin-right: 0;
        justify-content: center;
    }

    .seller-bulk-select-all span {
        display: inline-flex;
    }

    .seller-bulk-action-bar strong {
        width: auto;
        margin-right: 0;
        text-align: left;
    }

    .seller-bulk-action-bar button {
        flex: 1 1 calc(50% - 8px);
        padding: 0 8px;
    }

    .seller-bulk-action-bar button[data-bulk-offer-action="clear"] {
        display: none;
    }

    .seller-single-offer-card {
        width: 100%;
        min-height: auto;
        overflow: visible;
        padding: 24px 16px 18px;
    }

    .seller-single-offer-card h2 {
        font-size: 24px;
    }

    .seller-single-offer-card .seller-offer-step[data-seller-step="setup"] {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .seller-step-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .seller-single-offer-card .seller-step-back,
    .seller-single-offer-card .seller-step-next {
        width: 100%;
        min-width: 0;
    }

    .seller-create-choice-card {
        width: 100%;
        min-height: auto;
    }

    .seller-create-choice-card .seller-choice-grid {
        width: 100%;
    }

    #sellerSingleOfferModal.is-details-mode {
        padding: 0;
    }

    #sellerSingleOfferModal.is-details-mode .seller-single-offer-card {
        width: 100%;
        min-height: 100svh;
        max-height: 100svh;
        overflow: auto;
        border: 0;
        border-radius: 0;
        padding: 24px 16px 44px;
    }

    #sellerSingleOfferModal.is-details-mode .seller-offer-step[data-seller-step="details"] {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #sellerSingleOfferModal.is-details-mode .seller-offer-step[data-seller-step="details"] label.wide,
    #sellerSingleOfferModal.is-details-mode .seller-offer-step[data-seller-step="details"] .seller-offer-image-upload,
    #sellerSingleOfferModal.is-details-mode .seller-offer-step[data-seller-step="details"] .seller-quantity-stock-row,
    #sellerSingleOfferModal.is-details-mode .seller-form-actions {
        grid-column: 1;
    }

    .seller-quantity-stock-row,
    .seller-quantity-stock-row:has(.seller-currency-fields:not([hidden])) {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .seller-quantity-stock-row .seller-currency-fields:not([hidden]) {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .seller-modal {
        align-items: start;
        padding: 12px;
    }

    .seller-modal-card {
        padding: 20px 16px;
    }

    #sellerStoreConfirmModal {
        align-items: center;
    }
}

@media (max-width: 760px) {
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel[hidden] {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title-wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        width: calc(100vw - 24px);
        min-width: 0;
        max-width: calc(100vw - 24px);
        box-sizing: border-box;
        align-items: stretch;
        justify-content: stretch;
        justify-items: stretch;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 0;
        margin-bottom: 12px;
    }

    .seller-console-body.is-mobile-panel-page .seller-panel-section > .admin-section-title,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title {
        position: sticky;
        top: 0;
        z-index: 12;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        align-items: center;
        min-height: 60px;
        width: 100%;
        min-width: 0;
        max-width: none;
        box-sizing: border-box;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 8px;
        background: #111722;
        padding: 0 12px;
        box-shadow: none;
    }

    .seller-console-body.is-mobile-panel-page .seller-panel-section > .admin-section-title h2,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title h2 {
        justify-self: center;
        margin: 0;
        color: #fff;
        font-size: 18px;
        font-weight: 900;
        line-height: 1.1;
        text-align: center;
    }

    .seller-console-body.is-mobile-panel-page .seller-panel-section > .admin-section-title > span,
    .seller-console-body.is-mobile-panel-page .seller-panel-section > .admin-section-title > a:not(.seller-mobile-panel-back),
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title > div span,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title-spacer {
        display: block;
        max-width: 42px;
        overflow: hidden;
        visibility: hidden;
        white-space: nowrap;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title > div {
        justify-self: center;
        text-align: center;
    }

    .seller-console-body.is-mobile-panel-page .seller-mobile-panel-back {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(148, 163, 184, 0.22);
        border-radius: 50%;
        background: rgba(15, 23, 42, 0.86);
        color: #fff;
        text-decoration: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title-wrap {
        border: 0;
        border-radius: 8px;
        background: transparent;
        padding: 0;
        margin-bottom: 12px;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        justify-content: stretch;
        justify-items: stretch;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title {
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 8px;
        background: #111722;
        padding-inline: 10px;
        width: 100%;
        max-width: none;
        justify-self: stretch;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title > div {
        display: block;
        align-self: center;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-title-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
        width: 100%;
        max-width: none;
        margin-top: 0;
        padding: 0;
        justify-self: stretch;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-title-actions button {
        min-width: 0;
        min-height: 44px;
        border-radius: 8px;
        padding: 0 10px;
        white-space: nowrap;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title > div span {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title-spacer {
        display: block;
        width: 42px;
        height: 1px;
        max-width: none;
        visibility: hidden;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filters {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin: 0 0 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 0;
    }
}

/* Final phone-only homepage overrides. Keep desktop styling untouched. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .hero-home {
        min-height: 430px;
        padding: 48px 16px 86px;
    }

    body:has(.hero-home) .hero-home .hero-content {
        width: 100%;
    }

    body:has(.hero-home) .hero-home h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
        line-height: 1.08;
        max-width: 100%;
    }

    body:has(.hero-home) .hero-home .hero-content p {
        max-width: 94vw;
        white-space: normal !important;
        overflow-wrap: normal;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    body:has(.hero-home) .primary-btn,
    body:has(.hero-home) .secondary-btn {
        min-width: 128px;
        text-align: center;
        padding: 11px 14px;
    }

    body:has(.hero-home) .home-category-strip {
        width: 100%;
        gap: 18px;
        margin-top: -48px;
        padding: 0 10px;
    }

    body:has(.hero-home) .home-category-pill {
        min-width: 54px;
        gap: 6px;
    }

    body:has(.hero-home) .home-category-pill i {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    body:has(.hero-home) .home-category-strip .home-category-pill strong {
        font-size: 0.72rem !important;
        max-width: 62px;
        text-align: center;
        white-space: normal;
    }

    body:has(.hero-home) .marketplace-container {
        width: 100%;
        padding: 52px 12px 34px;
    }

    body:has(.hero-home) .section-heading-row h2 {
        font-size: 1.25rem;
    }

    body:has(.hero-home) .game-grid {
        gap: 8px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    body:has(.hero-home) .game-card,
    body:has(.hero-home) .demand-game-card {
        flex: 0 0 calc((100vw - 32px) / 2) !important;
        min-height: 138px;
        padding: 10px;
        border-radius: 10px;
    }

    body:has(.hero-home) .game-thumb {
        height: 64px;
        margin-bottom: 8px;
        border-radius: 7px;
    }

    body:has(.hero-home) .game-card h3,
    body:has(.hero-home) .demand-game-card h3 {
        font-size: 0.78rem;
        line-height: 1.15;
        margin-bottom: 5px;
    }

    body:has(.hero-home) .game-tag-links,
    body:has(.hero-home) .demand-game-card p,
    body:has(.hero-home) .demand-game-card .game-tag-links {
        font-size: 0.62rem;
        line-height: 1.25;
    }

    body:has(.hero-home) .demand-game-card::after {
        font-size: 2.8rem;
        bottom: -16px;
        right: -10px;
    }

    body:has(.hero-home) .new-offers-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        padding: 0 2px 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card {
        flex: 0 0 calc(100vw - 28px) !important;
        width: calc(100vw - 28px) !important;
        min-height: 178px;
        padding: 12px;
        border-radius: 10px;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .new-offers-grid .seller-card-category,
    body:has(.hero-home) .new-offers-grid .seller-card-meta,
    body:has(.hero-home) .new-offers-grid .seller-card-details {
        font-size: 0.68rem;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card p {
        font-size: 0.76rem;
        line-height: 1.3;
    }

    body:has(.hero-home) .popular-category-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        padding: 0 2px 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    body:has(.hero-home) .popular-category-card {
        flex: 0 0 calc((100vw - 34px) / 2) !important;
        width: calc((100vw - 34px) / 2) !important;
        min-height: 240px;
        border-radius: 12px;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .popular-category-art {
        min-height: 116px;
    }

    body:has(.hero-home) .popular-category-art h3 {
        font-size: 1rem;
    }

    body:has(.hero-home) .popular-category-bubbles {
        padding: 12px 10px 6px;
        gap: 6px;
    }

    body:has(.hero-home) .popular-category-bubbles a {
        font-size: 0.68rem;
        padding: 4px 8px;
    }

    body:has(.hero-home) .popular-category-view {
        width: calc(100% - 20px);
        margin: auto 10px 12px;
        min-height: 34px;
        font-size: 0.76rem;
    }

    body:has(.hero-home) .footer {
        padding: 82px 14px 28px;
    }

    body:has(.hero-home) .footer-top {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body:has(.hero-home) .footer-brand,
    body:has(.hero-home) .footer-payment-column,
    body:has(.hero-home) .footer-column {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }

    body:has(.hero-home) .footer-links-group {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    body:has(.hero-home) .footer-column {
        text-align: left !important;
    }

    body:has(.hero-home) .footer-column h3 {
        margin-bottom: 10px !important;
    }

    body:has(.hero-home) .footer-column a {
        margin-bottom: 7px !important;
        font-size: 0.82rem;
    }

    body:has(.hero-home) .home-category-strip {
        align-items: start !important;
        justify-content: center !important;
        gap: 14px !important;
        padding: 0 8px !important;
    }

    body:has(.hero-home) .home-category-pill {
        width: 56px !important;
        min-width: 56px !important;
        display: grid !important;
        grid-template-rows: 38px 20px;
        align-items: start !important;
        justify-items: center !important;
        gap: 7px !important;
    }

    body:has(.hero-home) .home-category-pill i {
        width: 38px !important;
        height: 38px !important;
        line-height: 1 !important;
    }

    body:has(.hero-home) .home-category-strip .home-category-pill strong {
        width: 68px !important;
        max-width: 68px !important;
        min-height: 18px;
        display: block !important;
        font-size: 0.68rem !important;
        line-height: 1.05 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: visible !important;
        letter-spacing: 0 !important;
    }

    body:has(.hero-home) .footer-payment-column {
        overflow: hidden;
    }

    body:has(.hero-home) .footer-payment-column h3,
    body:has(.hero-home) .secure-checkout {
        text-align: center;
    }

    body:has(.hero-home) .footer-payments {
        display: flex !important;
        grid-template-columns: none !important;
        flex-wrap: nowrap !important;
        width: 100%;
        max-width: 100%;
        gap: 10px !important;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 10px;
        margin-top: 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body:has(.hero-home) .footer-payments::-webkit-scrollbar {
        display: none;
    }

    body:has(.hero-home) .footer-payments span {
        flex: 0 0 76px !important;
        width: 76px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 7px !important;
        scroll-snap-align: start;
    }
}

/* Absolute final mobile overrides for latest phone feedback. */
.live-reviews-marquee {
    animation-duration: var(--live-review-duration, 68s) !important;
}

@media screen and (max-width: 640px) {
    body:has(.hero-home) .shop-games-actions {
        display: none !important;
    }

    body:has(.hero-home) .new-offers-grid {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

/* Absolute final: same clean phone footer on every page. */
@media screen and (max-width: 640px) {
    .footer {
        padding: 82px 14px 28px !important;
    }

    .footer-top {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .footer-brand,
    .footer-payment-column,
    .footer-column {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .footer-links-group {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .footer-column {
        text-align: left !important;
    }

    .footer-column h3 {
        margin-bottom: 10px !important;
    }

    .footer-column a {
        margin-bottom: 7px !important;
        font-size: 0.82rem;
    }

    .footer-payment-column {
        overflow: hidden;
    }

    .footer-payment-column h3,
    .secure-checkout {
        text-align: center;
    }

    .footer-payments {
        display: flex !important;
        grid-template-columns: none !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        max-width: none !important;
        gap: 10px !important;
        overflow: visible !important;
        padding: 2px 2px 10px;
        margin-top: 14px;
        scroll-snap-type: none !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        animation: paymentRailSlide 22s linear infinite;
        will-change: transform;
    }

    .footer-payment-column:hover .footer-payments {
        animation-play-state: paused;
    }

    .footer-payments::-webkit-scrollbar {
        display: none;
    }

    .footer-payments .payment-clone {
        display: flex;
    }

    .footer-payments span {
        flex: 0 0 76px !important;
        width: 76px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 7px !important;
        scroll-snap-align: start;
    }
}

/* Phone: show All Games button without scroll arrows. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .shop-games-heading {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    body:has(.hero-home) .shop-games-heading h2 {
        margin: 0 !important;
    }

    body:has(.hero-home) .shop-games-actions {
        display: inline-flex !important;
        margin-left: auto !important;
        gap: 0 !important;
    }

    body:has(.hero-home) .game-scroll-btn {
        display: none !important;
    }

    body:has(.hero-home) .explore-games-badge {
        display: inline-flex !important;
        min-height: 30px !important;
        padding: 0 11px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
    }

    body:has(.hero-home) .explore-games-badge::first-letter {
        text-transform: uppercase;
    }
}

/* Absolute final mobile viewport cleanup. */
@media screen and (max-width: 640px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    body:has(.hero-home) .navbar {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 12px 18px 10px !important;
        overflow: hidden;
    }

    body:has(.hero-home) .logo img,
    .logo img {
        height: 18px !important;
        max-width: 168px !important;
    }

    body:has(.hero-home) .cart-btn,
    body:has(.hero-home) .notification-nav-btn {
        display: none !important;
    }

    body:has(.hero-home) .nav-links {
        gap: 13px !important;
        margin-left: 10px !important;
    }

    body:has(.hero-home) .search-container {
        flex: 0 0 100% !important;
        order: 3 !important;
        max-width: 100% !important;
        margin: 12px 0 0 !important;
    }

    body:has(.hero-home) .hero-home {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    body:has(.hero-home) .hero-home h1 {
        max-width: 350px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: clamp(1.82rem, 7.2vw, 2.2rem) !important;
        line-height: 1.12 !important;
    }

    body:has(.hero-home) .hero-home h1 span {
        display: block !important;
        white-space: nowrap !important;
        font-size: 0.92em !important;
    }

    body:has(.hero-home) .marketplace-container,
    body:has(.hero-home) .home-process-section,
    body:has(.hero-home) .feature-section,
    body:has(.hero-home) .live-reviews-section,
    body:has(.hero-home) .footer {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    body:has(.hero-home) .home-process-copy h2 {
        max-width: 340px !important;
        font-size: clamp(2rem, 8vw, 2.35rem) !important;
        line-height: 1.08 !important;
    }

    body:has(.hero-home) .home-process-copy .process-title-line {
        display: block !important;
        white-space: nowrap !important;
    }

    body:has(.hero-home) .live-reviews-top,
    body:has(.hero-home) .live-reviews-head,
    body:has(.hero-home) .live-rating-summary,
    body:has(.hero-home) .live-reviews-carousel,
    body:has(.hero-home) .live-reviews-track {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    body:has(.hero-home) .live-rating-summary {
        padding: 18px 16px !important;
    }
}

/* Absolute final mobile compact spacing pass. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .feature-section,
    body:has(.hero-home) .live-reviews-section,
    body:has(.hero-home) .home-process-section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body:has(.hero-home) .feature-grid {
        width: 100% !important;
        max-width: 100% !important;
        gap: 12px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body:has(.hero-home) .feature-card {
        min-height: 184px !important;
        padding: 20px !important;
        border-radius: 10px !important;
    }

    body:has(.hero-home) .feature-icon {
        width: 52px !important;
        height: 52px !important;
        border-radius: 14px !important;
        margin-bottom: 22px !important;
        font-size: 1.15rem !important;
    }

    body:has(.hero-home) .feature-card h3 {
        font-size: 1.08rem !important;
        margin-bottom: 8px !important;
    }

    body:has(.hero-home) .feature-card p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    body:has(.hero-home) .home-process-section {
        padding-top: 64px !important;
        padding-bottom: 58px !important;
    }

    body:has(.hero-home) .home-process-copy h2 {
        max-width: 318px !important;
        font-size: clamp(1.75rem, 7.2vw, 2.05rem) !important;
    }

    body:has(.hero-home) .home-process-layout {
        display: block !important;
    }

    body:has(.hero-home) .home-process-steps {
        display: flex !important;
        gap: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 2px 2px 10px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body:has(.hero-home) .home-process-steps::-webkit-scrollbar {
        display: none;
    }

    body:has(.hero-home) .home-process-step,
    body:has(.hero-home) .home-process-step.active {
        flex: 0 0 min(300px, calc(100vw - 48px)) !important;
        min-height: 86px !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 18px 16px !important;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .home-process-step h3 {
        font-size: 0.98rem !important;
    }

    body:has(.hero-home) .home-process-step p {
        display: none !important;
    }

    body:has(.hero-home) .home-process-visual {
        display: none !important;
    }

    body:has(.hero-home) .live-rating-summary {
        width: calc(100% - 18px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 16px !important;
        border-radius: 10px !important;
    }

    body:has(.hero-home) .live-reviews-carousel {
        --live-review-card-width: min(280px, calc(100vw - 88px)) !important;
    }

    body:has(.hero-home) .live-review-card {
        min-height: 190px !important;
        padding: 20px !important;
        border-radius: 10px !important;
    }

    body:has(.hero-home) .footer-top {
        width: calc(100% - 18px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Absolute final: no horizontal scrolling on homepage mobile. */
@media screen and (max-width: 640px) {
    html,
    body,
    body:has(.hero-home) {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    body:has(.hero-home) * {
        max-width: 100%;
    }

    body:has(.hero-home) .marketplace-container,
    body:has(.hero-home) .home-process-section,
    body:has(.hero-home) .feature-section,
    body:has(.hero-home) .live-reviews-section,
    body:has(.hero-home) .footer {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box;
    }

    body:has(.hero-home) .game-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        overflow: visible !important;
        width: 100% !important;
    }

    body:has(.hero-home) .game-card,
    body:has(.hero-home) .demand-game-card {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }

    body:has(.hero-home) .new-offers-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        overflow: visible !important;
        width: 100% !important;
        gap: 12px !important;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }

    body:has(.hero-home) .popular-category-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        overflow: visible !important;
        width: 100% !important;
        gap: 10px !important;
    }

    body:has(.hero-home) .popular-category-card {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }

    body:has(.hero-home) .home-process-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        width: 100% !important;
        overflow: visible !important;
    }

    body:has(.hero-home) .home-process-steps {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        overflow: visible !important;
        width: 100% !important;
        padding: 0 !important;
        scroll-snap-type: none !important;
    }

    body:has(.hero-home) .home-process-step,
    body:has(.hero-home) .home-process-step.active {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        min-height: 82px !important;
        padding: 18px 16px !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
    }

    body:has(.hero-home) .home-process-step p {
        display: none !important;
    }

    body:has(.hero-home) .live-reviews-carousel,
    body:has(.hero-home) .live-reviews-track {
        width: 100% !important;
        overflow: hidden !important;
    }

    body:has(.hero-home) .footer-payment-column {
        overflow: hidden !important;
    }
}

/* Restore mobile horizontal rails for popular homepage cards. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .game-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100% !important;
        padding-bottom: 10px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body:has(.hero-home) .game-grid::-webkit-scrollbar,
    body:has(.hero-home) .new-offers-grid::-webkit-scrollbar,
    body:has(.hero-home) .popular-category-grid::-webkit-scrollbar {
        display: none;
    }

    body:has(.hero-home) .game-card,
    body:has(.hero-home) .demand-game-card {
        flex: 0 0 calc((100vw - 34px) / 2) !important;
        width: calc((100vw - 34px) / 2) !important;
        min-width: calc((100vw - 34px) / 2) !important;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .new-offers-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100% !important;
        padding-bottom: 12px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .popular-category-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100% !important;
        padding-bottom: 12px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body:has(.hero-home) .popular-category-card {
        flex: 0 0 calc((100vw - 34px) / 2) !important;
        width: calc((100vw - 34px) / 2) !important;
        min-width: calc((100vw - 34px) / 2) !important;
        scroll-snap-align: start;
    }
}

/* Restore mobile process steps to compact contained rail. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .home-process-section {
        min-height: auto !important;
        padding-top: 58px !important;
        padding-bottom: 52px !important;
    }

    body:has(.hero-home) .home-process-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    body:has(.hero-home) .home-process-steps {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 2px 2px 10px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body:has(.hero-home) .home-process-steps::-webkit-scrollbar {
        display: none;
    }

    body:has(.hero-home) .home-process-step,
    body:has(.hero-home) .home-process-step.active {
        flex: 0 0 min(300px, calc(100vw - 58px)) !important;
        width: min(300px, calc(100vw - 58px)) !important;
        min-width: min(300px, calc(100vw - 58px)) !important;
        min-height: 86px !important;
        padding: 18px 16px !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        gap: 12px !important;
        scroll-snap-align: start;
    }

    body:has(.hero-home) .home-process-step p {
        display: none !important;
    }

    body:has(.hero-home) .home-process-visual {
        display: none !important;
    }
}

/* Restore original mobile process showcase design. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .home-process-section {
        padding-top: 72px !important;
        padding-bottom: 64px !important;
        overflow-x: hidden !important;
    }

    body:has(.hero-home) .home-process-layout {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 28px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    body:has(.hero-home) .home-process-visual {
        display: block !important;
        min-height: 330px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    body:has(.hero-home) .process-orbit {
        width: min(330px, 88vw) !important;
    }

    body:has(.hero-home) .process-service-card {
        top: 28px !important;
        right: 8px !important;
        width: min(245px, 70vw) !important;
        padding: 16px !important;
    }

    body:has(.hero-home) .process-checkout-card {
        left: 8px !important;
        bottom: 42px !important;
        width: min(270px, 76vw) !important;
        padding: 16px !important;
    }

    body:has(.hero-home) .home-process-steps {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        padding: 0 !important;
        scroll-snap-type: none !important;
    }

    body:has(.hero-home) .home-process-step,
    body:has(.hero-home) .home-process-step.active {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        min-height: 80px !important;
        padding: 20px 18px !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        gap: 14px !important;
        border-radius: 10px !important;
    }

    body:has(.hero-home) .home-process-step.active {
        min-height: 132px !important;
        background: linear-gradient(135deg, #2f74ff, #255ee9) !important;
        border-color: rgba(47, 116, 255, 0.68) !important;
    }

    body:has(.hero-home) .home-process-step h3 {
        font-size: 1.35rem !important;
    }

    body:has(.hero-home) .home-process-step.active p {
        display: block !important;
        font-size: 0.96rem !important;
        line-height: 1.45 !important;
    }

    body:has(.hero-home) .home-process-step:not(.active) p {
        display: none !important;
    }
}

/* Restore premium dark process active color on mobile. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .home-process-step.active {
        background:
            radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--process-accent, #2f74ff) 18%, transparent), transparent 38%),
            linear-gradient(145deg, rgba(19, 24, 37, 0.9), rgba(9, 12, 21, 0.92)) !important;
        border-color: color-mix(in srgb, var(--process-accent, #2f74ff) 58%, rgba(255, 255, 255, 0.12)) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            0 18px 46px rgba(0, 0, 0, 0.28) !important;
    }

    body:has(.hero-home) .home-process-step.active::after {
        background: var(--process-accent, #2f74ff) !important;
    }

    body:has(.hero-home) .home-process-step.active i {
        color: var(--process-accent, #2f74ff) !important;
    }
}

/* Final mobile fix: remove unwanted inner vertical scrolling on homepage. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .hero-home,
    body:has(.hero-home) .marketplace-container,
    body:has(.hero-home) .home-process-section,
    body:has(.hero-home) .home-process-layout,
    body:has(.hero-home) .feature-section,
    body:has(.hero-home) .live-reviews-section,
    body:has(.hero-home) .footer {
        overflow-y: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    body:has(.hero-home) .home-process-section,
    body:has(.hero-home) .feature-section,
    body:has(.hero-home) .live-reviews-section {
        min-height: auto !important;
    }

    body:has(.hero-home) .home-process-visual,
    body:has(.hero-home) .home-process-steps,
    body:has(.hero-home) .feature-grid,
    body:has(.hero-home) .live-reviews-top,
    body:has(.hero-home) .live-reviews-carousel,
    body:has(.hero-home) .footer-top {
        max-height: none !important;
    }

    body:has(.hero-home) .game-grid,
    body:has(.hero-home) .new-offers-grid,
    body:has(.hero-home) .popular-category-grid,
    body:has(.hero-home) .footer-payments,
    body:has(.hero-home) .live-reviews-track {
        overflow-y: hidden !important;
    }
}

/* Hard fix: no inner vertical scroll in home process section. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .home-process-section,
    body:has(.hero-home) .home-process-layout,
    body:has(.hero-home) .home-process-steps {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overscroll-behavior: auto !important;
        touch-action: pan-y !important;
    }

    body:has(.hero-home) .home-process-visual {
        height: auto !important;
        max-height: none !important;
        overflow: hidden !important;
        overscroll-behavior: auto !important;
        touch-action: pan-y !important;
    }

    body:has(.hero-home) .home-process-steps {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 0 !important;
        scroll-snap-type: none !important;
    }

    body:has(.hero-home) .home-process-step,
    body:has(.hero-home) .home-process-step.active {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: none !important;
        scroll-snap-align: none !important;
    }
}

/* Final mobile typography and review-card sizing. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .hero-home .badge {
        font-size: 0.66rem !important;
        letter-spacing: 0.12em !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    body:has(.hero-home) .feature-top h2 {
        font-size: clamp(1.72rem, 7vw, 2rem) !important;
        line-height: 1.08 !important;
        white-space: nowrap !important;
        letter-spacing: 0 !important;
    }

    body:has(.hero-home) .live-rating-summary {
        width: min(300px, calc(100% - 24px)) !important;
        min-height: 82px !important;
        padding: 14px 16px !important;
        gap: 12px !important;
        border-radius: 10px !important;
    }

    body:has(.hero-home) .live-rating-summary > i {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        font-size: 0.95rem !important;
        border-radius: 11px !important;
    }

    body:has(.hero-home) .live-rating-summary strong {
        font-size: 0.9rem !important;
        line-height: 1.25 !important;
    }

    body:has(.hero-home) .live-rating-summary div > span {
        font-size: 0.78rem !important;
    }

    body:has(.hero-home) .live-reviews-carousel {
        --live-review-card-width: min(248px, calc(100vw - 112px)) !important;
    }

    body:has(.hero-home) .live-review-card {
        min-height: 172px !important;
        padding: 16px !important;
        border-radius: 10px !important;
    }

    body:has(.hero-home) .live-review-avatar {
        width: 36px !important;
        height: 36px !important;
    }

    body:has(.hero-home) .live-review-card strong {
        font-size: 0.82rem !important;
    }

    body:has(.hero-home) .live-review-card span {
        font-size: 0.72rem !important;
    }

    body:has(.hero-home) .live-review-card p {
        font-size: 0.86rem !important;
        margin: 16px 0 !important;
    }

    body:has(.hero-home) .live-review-card footer {
        gap: 7px !important;
    }

    body:has(.hero-home) .live-review-card footer > span {
        font-size: 0.68rem !important;
        padding: 5px 8px !important;
    }
}

/* Process visual CTA: remove solid blue, use G4BOOST dark accent. */
.process-checkout-card em {
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 71, 87, 0.28), transparent 48%),
        linear-gradient(135deg, rgba(255, 71, 87, 0.88), rgba(255, 176, 32, 0.72)) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 176, 32, 0.28) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 12px 26px rgba(255, 71, 87, 0.18) !important;
}

.process-checkout-card p {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)) !important;
    border: 1px solid rgba(255, 255, 255, 0.055) !important;
}

/* Mobile header search: tighter placement and usable dropdown. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .navbar {
        gap: 6px !important;
        padding-bottom: 8px !important;
    }

    body:has(.hero-home) .search-container {
        margin-top: 4px !important;
        order: 3 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    body:has(.hero-home) .search-container input {
        height: 38px !important;
        padding: 8px 11px !important;
        font-size: 0.82rem !important;
        border-radius: 7px !important;
    }

    .game-search-results {
        top: calc(100% + 7px) !important;
    }

    body:has(.hero-home) .game-search-results {
        max-height: min(72vh, 520px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        border-radius: 12px !important;
        z-index: 10000 !important;
    }

    body:has(.hero-home) .search-category-strip {
        display: flex !important;
        gap: 7px !important;
        overflow-x: auto !important;
        padding: 10px !important;
        scrollbar-width: none;
    }

    body:has(.hero-home) .search-category-strip::-webkit-scrollbar {
        display: none;
    }

    body:has(.hero-home) .search-category-strip a {
        flex: 0 0 auto !important;
        min-height: 34px !important;
        padding: 0 10px !important;
        font-size: 0.72rem !important;
        border-radius: 999px !important;
    }

    body:has(.hero-home) .search-games-title {
        padding: 8px 12px !important;
        font-size: 0.72rem !important;
    }

    body:has(.hero-home) .game-row {
        padding: 11px 12px !important;
    }

    body:has(.hero-home) .game-row a {
        font-size: 0.86rem !important;
    }

    body:has(.hero-home) .game-dropdown {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 0 12px 10px;
        background: transparent !important;
    }

    body:has(.hero-home) .game-dropdown a {
        display: grid !important;
        padding: 8px 9px !important;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.045);
        font-size: 0.72rem !important;
    }

    body:has(.hero-home) .view-all-games {
        padding: 12px !important;
        font-size: 0.82rem !important;
    }
}

/* Final mobile search behavior fix: do not clip dropdown. */
@media screen and (max-width: 640px) {
    .navbar,
    body:has(.hero-home) .navbar {
        overflow: visible !important;
        z-index: 10050 !important;
    }

    .search-container,
    body:has(.hero-home) .search-container {
        position: relative !important;
        z-index: 10060 !important;
    }

    .game-search-results,
    body:has(.hero-home) .game-search-results {
        display: none;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: calc(100% + 7px) !important;
        max-height: min(72vh, 520px) !important;
        overflow-y: auto !important;
        z-index: 10070 !important;
        pointer-events: auto !important;
    }

    .game-search-results .game-row,
    .game-search-results .game-dropdown a,
    .game-search-results .view-all-games,
    .game-search-results .search-category-strip a {
        pointer-events: auto !important;
    }
}

/* Premium compact search panel, desktop and mobile. */
.mobile-search-back {
    display: none;
}

.game-search-results {
    background:
        linear-gradient(180deg, rgba(18, 22, 32, 0.98), rgba(9, 11, 18, 0.98)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    overflow: hidden !important;
}

.search-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.search-panel-head strong {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.search-panel-head a {
    color: #ff5d70 !important;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.game-search-results .game-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.game-search-results .game-row {
    min-height: 56px;
    padding: 10px 14px !important;
}

.game-search-results .game-row a {
    display: grid;
    gap: 2px;
    min-width: 0;
    color: #fff !important;
    text-decoration: none;
}

.game-search-results .game-row a strong {
    font-size: 0.92rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-search-results .game-row a span {
    color: #8fa0b8;
    font-size: 0.74rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-search-results .game-arrow {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: #dbe5f3;
    font-size: 0.72rem;
}

.game-search-results .game-dropdown {
    display: none !important;
}

.game-search-results .view-all-games {
    padding: 12px !important;
    color: #ff5d70 !important;
    font-size: 0.82rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.game-search-results .search-empty-state {
    padding: 18px 14px;
    margin: 0;
    color: #9fb0c7;
    font-size: 0.86rem;
}

@media screen and (max-width: 640px) {
    body.search-panel-open {
        overflow: hidden !important;
    }

    body.search-panel-open .navbar,
    body.search-panel-open body:has(.hero-home) .navbar {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        max-width: 100vw !important;
        display: grid !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        grid-template-rows: 44px minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 10px !important;
        padding: 14px !important;
        background:
            radial-gradient(circle at 20% 0%, rgba(255, 71, 87, 0.14), transparent 34%),
            radial-gradient(circle at 86% 12%, rgba(47, 116, 255, 0.14), transparent 38%),
            #080a11 !important;
        overflow: hidden !important;
        z-index: 20000 !important;
    }

    body.search-panel-open .navbar .logo,
    body.search-panel-open .navbar .nav-links {
        display: none !important;
    }

    body.search-panel-open .mobile-search-back {
        display: grid !important;
        place-items: center;
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.055);
        color: #fff;
        grid-column: 1;
        grid-row: 1;
    }

    body.search-panel-open .search-container {
        display: grid !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        column-gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        grid-column: 1 / -1;
        grid-row: 1 / -1;
        align-content: start;
        z-index: 20010 !important;
    }

    body.search-panel-open .search-container input {
        grid-column: 2;
        grid-row: 1;
        height: 38px !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.065) !important;
    }

    body.search-panel-open .game-search-results {
        display: block;
        position: static !important;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100% !important;
        max-height: calc(100dvh - 76px) !important;
        margin-top: 12px;
        overflow-y: auto !important;
        border-radius: 14px !important;
    }
}

/* Final search UX: expandable game categories and premium shortcuts. */
.game-search-results {
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 71, 87, 0.12), transparent 32%),
        radial-gradient(circle at 100% 12%, rgba(47, 116, 255, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(17, 21, 32, 0.98), rgba(7, 9, 15, 0.98)) !important;
}

.search-category-shortcuts {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    overflow-x: auto;
    scrollbar-width: none;
}

.search-category-shortcuts::-webkit-scrollbar {
    display: none;
}

.search-category-shortcuts a {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--cat-color);
    border: 1px solid color-mix(in srgb, var(--cat-color) 28%, rgba(255, 255, 255, 0.08));
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--cat-color) 20%, transparent), transparent 58%),
        rgba(255, 255, 255, 0.045);
    text-decoration: none;
}

.game-search-results .game-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 12px;
    align-items: center;
}

.game-search-results .search-game-title strong {
    font-size: 0.96rem !important;
}

.game-search-results .search-toggle-services {
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.game-search-results .search-toggle-services:hover,
.game-search-results .game-item.is-open .search-toggle-services {
    color: #ff5d70;
    border-color: rgba(255, 93, 112, 0.5);
    background: rgba(255, 93, 112, 0.1);
    transform: rotate(45deg);
}

.game-search-results .game-dropdown {
    display: none !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 14px 14px;
    background: transparent !important;
}

.game-search-results .game-item.is-open .game-dropdown {
    display: grid !important;
}

.game-search-results .game-dropdown a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 10px !important;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--cat-color) 25%, rgba(255, 255, 255, 0.08));
    background: color-mix(in srgb, var(--cat-color) 10%, rgba(255, 255, 255, 0.04));
    color: #eaf1fb !important;
    font-size: 0.74rem !important;
    font-weight: 900;
    text-decoration: none;
}

.game-search-results .game-dropdown a i {
    color: var(--cat-color);
    font-size: 0.78rem;
}

@media screen and (max-width: 640px) {
    body.search-panel-open .search-category-shortcuts {
        padding: 11px 12px;
    }

    body.search-panel-open .game-search-results .game-row {
        min-height: 58px;
        padding: 11px 12px !important;
    }

    body.search-panel-open .game-search-results .game-dropdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 12px 12px;
    }
}

/* Final search header/icon row cleanup. */
.search-panel-head {
    min-height: 42px;
    padding: 10px 14px !important;
}

.search-panel-head strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem !important;
    letter-spacing: 0.06em !important;
}

.search-panel-head strong i {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: #ffb020;
    background: rgba(255, 176, 32, 0.12);
    font-size: 0.72rem;
}

.search-category-shortcuts {
    justify-content: space-between !important;
    gap: 8px !important;
}

.search-category-shortcuts a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
}

@media screen and (max-width: 640px) {
    body.search-panel-open .search-category-shortcuts {
        justify-content: space-between !important;
        gap: 7px !important;
    }

    body.search-panel-open .search-category-shortcuts a {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
    }
}

/* Search panel: remove header row spacing and place hot icon in titles. */
.search-panel-head {
    display: none !important;
}

.search-category-shortcuts {
    border-top: 0 !important;
    padding-top: 12px !important;
}

.game-search-results .search-game-title strong {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}

.game-search-results .search-game-title strong i {
    color: #ffb020;
    font-size: 0.78rem;
    filter: drop-shadow(0 0 8px rgba(255, 176, 32, 0.28));
}

/* Mobile search dropdown: hide categories until toggle and compact chips. */
@media screen and (max-width: 640px) {
    body.search-panel-open .game-search-results .game-dropdown,
    body:has(.hero-home) .game-search-results .game-dropdown {
        display: none !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        padding: 0 12px 10px !important;
    }

    body.search-panel-open .game-search-results .game-item.is-open .game-dropdown,
    body:has(.hero-home) .game-search-results .game-item.is-open .game-dropdown {
        display: grid !important;
    }

    body.search-panel-open .game-search-results .game-dropdown a,
    body:has(.hero-home) .game-search-results .game-dropdown a {
        min-height: 30px !important;
        padding: 6px 8px !important;
        gap: 5px !important;
        border-radius: 9px !important;
        font-size: 0.68rem !important;
        justify-content: flex-start !important;
        background:
            radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--cat-color) 16%, transparent), transparent 60%),
            rgba(255, 255, 255, 0.035) !important;
    }

    body.search-panel-open .game-search-results .game-dropdown a i,
    body:has(.hero-home) .game-search-results .game-dropdown a i {
        width: 18px !important;
        height: 18px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 6px !important;
        background: color-mix(in srgb, var(--cat-color) 16%, transparent) !important;
        font-size: 0.62rem !important;
    }

    body.search-panel-open .game-search-results .game-dropdown a span,
    body:has(.hero-home) .game-search-results .game-dropdown a span {
        font-size: 0.68rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }
}

/* Hard fix: no internal vertical scroll in mobile hero. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .hero-home {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-y: visible !important;
        overscroll-behavior: auto !important;
        touch-action: pan-y !important;
        padding-top: 48px !important;
        padding-bottom: 54px !important;
    }

    body:has(.hero-home) .hero-home::before,
    body:has(.hero-home) .hero-home::after {
        max-height: none !important;
        pointer-events: none !important;
    }

    body:has(.hero-home) .hero-home .hero-content {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Mobile footer accordion rows. Desktop keeps the classic footer columns. */
.footer-accordion-toggle {
    display: none;
}

.footer-accordion-panel {
    display: grid;
    gap: 12px;
}

@media screen and (max-width: 640px) {
    body:has(.hero-home) .footer-links-group,
    .footer-links-group {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 0 !important;
        margin-top: 26px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    body:has(.hero-home) .footer-links-group .footer-column,
    .footer-links-group .footer-column {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body:has(.hero-home) .footer-links-group .footer-column > h3,
    .footer-links-group .footer-column > h3 {
        display: none !important;
    }

    body:has(.hero-home) .footer-accordion-toggle,
    .footer-accordion-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 58px !important;
        padding: 0 4px !important;
        border: 0 !important;
        background: transparent !important;
        color: #f8fbff !important;
        font: inherit !important;
        cursor: pointer !important;
        text-align: left !important;
    }

    body:has(.hero-home) .footer-accordion-toggle span,
    .footer-accordion-toggle span {
        color: #f8fbff !important;
        font-size: 0.96rem !important;
        font-weight: 900 !important;
    }

    body:has(.hero-home) .footer-accordion-toggle i,
    .footer-accordion-toggle i {
        color: #ffb020 !important;
        font-size: 0.78rem !important;
        transition: transform 0.2s ease, color 0.2s ease !important;
    }

    body:has(.hero-home) .footer-column.is-open .footer-accordion-toggle i,
    .footer-column.is-open .footer-accordion-toggle i {
        color: #36c5ff !important;
        transform: rotate(180deg) !important;
    }

    body:has(.hero-home) .footer-accordion-panel,
    .footer-accordion-panel {
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        display: grid !important;
        gap: 12px !important;
        padding: 0 4px !important;
        transition: max-height 0.24s ease, opacity 0.18s ease, padding 0.24s ease !important;
    }

    body:has(.hero-home) .footer-column.is-open .footer-accordion-panel,
    .footer-column.is-open .footer-accordion-panel {
        max-height: 220px !important;
        opacity: 1 !important;
        padding: 0 4px 18px !important;
    }

    body:has(.hero-home) .footer-accordion-panel a,
    .footer-accordion-panel a {
        display: inline-flex !important;
        align-items: center !important;
        width: fit-content !important;
        color: #aebbd0 !important;
        font-size: 0.9rem !important;
        line-height: 1.25 !important;
    }
}

/* Mobile purchase carousel: leave a peek of the next offer card. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .new-offers-grid {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: calc(100% - 38px) !important;
        grid-template-columns: none !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        padding-right: 38px !important;
        padding-bottom: 6px !important;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card {
        width: 100% !important;
        min-width: 0 !important;
        scroll-snap-align: start !important;
    }
}

/* Mobile carousel dots for Popular Games and Popular Purchases. */
.game-carousel-dots,
.purchase-carousel-dots {
    display: none;
}

@media screen and (max-width: 640px) {
    body:has(.hero-home) .new-offers-grid {
        display: flex !important;
        grid-auto-flow: initial !important;
        grid-auto-columns: initial !important;
        grid-template-columns: none !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100% !important;
        padding-right: 0 !important;
        padding-bottom: 8px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body:has(.hero-home) .new-offers-grid .seller-offer-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        scroll-snap-align: start !important;
    }

    body:has(.hero-home) .game-carousel-dots,
    body:has(.hero-home) .purchase-carousel-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 4px 0 18px !important;
        pointer-events: auto !important;
    }

    body:has(.hero-home) .mobile-carousel-dot {
        width: 6px !important;
        height: 6px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.28) !important;
        box-shadow: none !important;
        cursor: pointer !important;
        transition: width 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
    }

    body:has(.hero-home) .mobile-carousel-dot.active {
        width: 18px !important;
        background: #ff4f66 !important;
        box-shadow: 0 0 14px rgba(255, 79, 102, 0.38) !important;
    }
}

/* Mobile process copy alignment and controlled two-line heading. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .home-process-copy {
        text-align: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body:has(.hero-home) .home-process-copy h2 {
        width: 100% !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        font-size: clamp(1.72rem, 7vw, 2.02rem) !important;
        line-height: 1.08 !important;
    }

    body:has(.hero-home) .home-process-copy .process-title-line {
        display: block !important;
        white-space: nowrap !important;
    }

}

/* Mobile-only vertical space tightening between homepage sections. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .marketplace-container {
        padding-bottom: 42px !important;
    }

    body:has(.hero-home) .home-process-section {
        padding-top: 44px !important;
        padding-bottom: 42px !important;
    }

    body:has(.hero-home) .feature-section {
        padding-top: 44px !important;
        padding-bottom: 46px !important;
    }

    body:has(.hero-home) .live-reviews-section {
        padding-top: 46px !important;
        padding-bottom: 46px !important;
    }

    body:has(.hero-home) .popular-categories-section {
        margin-bottom: 40px !important;
    }
}

/* Global mobile header/footer parity across non-help pages. */
@media screen and (max-width: 640px) {
    .navbar {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100vw !important;
        gap: 6px !important;
        padding: 12px 16px 8px !important;
        overflow: visible !important;
        z-index: 10050 !important;
        box-sizing: border-box !important;
    }

    .navbar .logo {
        flex: 0 0 auto !important;
        max-width: 58% !important;
        min-height: 44px !important;
        gap: 2px !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .navbar .logo img,
    .logo img {
        height: 18px !important;
        max-width: 154px !important;
        object-fit: contain !important;
    }

    .navbar .logo .brand-logo-mark,
    .logo .brand-logo-mark {
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
        margin: -5px -16px -5px 0 !important;
    }

    .navbar .logo .brand-logo-wordmark,
    .logo .brand-logo-wordmark {
        height: 23px !important;
        width: auto !important;
        max-width: 150px !important;
        filter: none !important;
    }

    .navbar .logo .brand-logo-wordmark,
    .help-logo .brand-logo-wordmark {
        display: block !important;
    }

    .navbar .logo .brand-logo-mark,
    .help-logo .brand-logo-mark {
        margin-right: -10px !important;
    }

    .navbar .nav-links {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 12px !important;
        margin-left: auto !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .navbar .cart-btn,
    .navbar .notification-nav-btn {
        display: none !important;
    }

    .navbar .search-container {
        order: 3 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 4px 0 0 !important;
        position: relative !important;
        z-index: 10060 !important;
    }

    body:has(.hero-home) .navbar .search-container,
    body:has(.hero-home) .search-container {
        order: 3 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 4px 0 0 !important;
    }

    .navbar .search-container input {
        height: 38px !important;
        padding: 8px 11px !important;
        font-size: 0.82rem !important;
        border: 1px solid rgba(255, 71, 92, 0.34) !important;
        border-radius: 8px !important;
        background:
            linear-gradient(135deg, rgba(255, 71, 92, 0.07), rgba(255, 255, 255, 0.035)),
            #151821 !important;
        color: #f7f9ff !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.055),
            0 0 0 1px rgba(255, 176, 32, 0.06) !important;
    }

    .navbar .search-container input:focus {
        border-color: rgba(255, 176, 32, 0.58) !important;
        box-shadow:
            0 0 0 1px rgba(255, 176, 32, 0.18),
            0 0 18px rgba(255, 71, 92, 0.16) !important;
    }

    .footer {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding: 58px 16px 28px !important;
        box-sizing: border-box !important;
    }

    .footer-top {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-brand,
    .footer-payment-column,
    .footer-links-group .footer-column {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .footer-brand {
        text-align: center !important;
        padding: 0 !important;
    }

    .footer-socials {
        justify-content: center !important;
    }

    .footer-payment-column {
        padding: 0 !important;
        overflow: hidden !important;
    }

    .footer-payment-column h3,
    .secure-badge {
        text-align: center !important;
    }

    .footer-payments {
        display: flex !important;
        grid-template-columns: none !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 2px 2px 10px !important;
        margin-top: 14px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .footer-payments::-webkit-scrollbar {
        display: none;
    }

    .footer-payments span {
        flex: 0 0 76px !important;
        width: 76px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 7px !important;
        scroll-snap-align: start !important;
    }
}

@media screen and (max-width: 620px) {
    .footer-payments {
        display: flex !important;
        grid-template-columns: none !important;
        justify-content: flex-start !important;
        justify-items: initial !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        width: max-content !important;
        max-width: none !important;
        overflow: visible !important;
        padding: 2px 0 10px !important;
        animation: paymentRailSlide 22s linear infinite !important;
    }

    .footer-payments .payment-clone {
        display: inline-flex !important;
    }

    .footer-payments span {
        flex: 0 0 76px !important;
        width: 76px !important;
        height: 44px !important;
    }
}

/* Product page meta + seller link polish */
.offer-inline-meta span {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 7px;
    background: rgba(8, 11, 18, 0.42);
}

.product-seller-profile-link {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: inherit;
    text-decoration: none;
}

.product-seller-profile-link strong {
    color: #fff;
}

.product-seller-profile-link > i {
    color: #15d7c0;
}

.product-seller-profile-link:hover strong {
    color: #ff7082;
}

.product-seller-panel .product-seller-identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.product-seller-panel .product-seller-profile-link {
    min-width: 0;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.product-seller-panel .product-seller-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 71, 92, 0.24), transparent 46%),
        #171b25;
    color: #fff;
    font-size: 1rem;
    font-weight: 950;
}

.product-seller-panel .product-seller-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.product-seller-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.product-seller-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-seller-title strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-seller-title > i {
    color: #15d7c0;
}

.product-seller-panel .seller-score-line,
.product-seller-panel .seller-facts {
    margin: 0;
}

.product-seller-panel .seller-score-line {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-seller-panel .seller-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.product-seller-embedded + .product-detail-tabs {
    clear: both;
    position: relative;
    z-index: 1;
    margin-top: 18px;
}

@media (max-width: 640px) {
    .product-seller-panel .product-seller-identity {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-seller-panel .product-seller-profile-link {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .product-seller-panel .product-seller-avatar {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .product-seller-panel .seller-chat-pill {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
}

/* Premium customer order history */
.order-status-page {
    width: min(1180px, 92vw);
    max-width: none;
    margin: 36px auto 90px;
    padding: 0;
}

.order-status-hero {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: end;
    gap: 28px;
    margin: 0 0 18px;
    padding: 28px 30px;
    border: 1px solid rgba(255, 71, 87, 0.24);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(15, 23, 42, 0.58)),
        rgba(13, 14, 20, 0.92);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.order-status-badge {
    margin-bottom: 12px;
    color: #21f07d;
    text-transform: uppercase;
}

.order-status-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.03;
    margin-bottom: 12px;
}

.order-status-hero p {
    max-width: 620px;
    color: #b7c8df;
}

.order-status-search {
    align-self: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin: 0;
}

.order-status-search label {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.08), transparent),
        #12151f;
    padding: 0 15px;
    color: #94a3b8;
}

.order-status-search input {
    min-height: 0;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    outline: none;
}

.order-status-search input:focus {
    box-shadow: none;
}

.order-status-search label:focus-within {
    border-color: rgba(255, 71, 87, 0.58);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.10);
}

.order-status-search button {
    gap: 8px;
    border: 1px solid rgba(255, 71, 87, 0.5);
    background: linear-gradient(135deg, #ff4657, #ff6477);
    box-shadow: 0 16px 34px rgba(255, 71, 87, 0.18);
}

.order-status-error {
    grid-column: 1 / -1;
}

.order-summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}

.order-summary-strip article {
    min-height: 104px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 6px 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0, rgba(34, 197, 94, 0.10), transparent 42%),
        linear-gradient(135deg, rgba(255, 71, 87, 0.08), transparent),
        #11151e;
    padding: 16px;
}

.order-summary-strip i {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #21f07d;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.order-summary-strip span {
    color: #9db2cb;
    font-size: 0.83rem;
    font-weight: 800;
    text-transform: uppercase;
}

.order-summary-strip strong {
    color: #fff;
    font-size: 1.28rem;
    line-height: 1;
}

.orders-table-card {
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.orders-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.orders-card-title span {
    display: block;
    color: #ffb020;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.orders-card-title strong {
    display: block;
    color: #fff;
    font-size: 1.35rem;
    margin-top: 4px;
}

.orders-card-title em {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.22);
    background: rgba(34, 197, 94, 0.10);
    color: #21f07d;
    font-style: normal;
    font-weight: 900;
    font-size: 0.86rem;
}

.orders-table-head,
.order-history-row {
    grid-template-columns: minmax(270px, 1.65fr) 120px 170px 170px 150px 34px;
}

.orders-table-head {
    background: rgba(7, 10, 16, 0.72);
    color: #a8c8f5;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.orders-table-head > span:first-child {
    padding-left: 12px;
}

.order-history-item {
    border-color: rgba(148, 163, 184, 0.12);
}

.order-history-row {
    min-height: 104px;
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.035), transparent 34%),
        transparent;
}

.order-history-row:hover,
.order-history-item.expanded .order-history-row {
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.10), transparent 44%),
        rgba(255, 255, 255, 0.025);
}

.order-product-cell a {
    display: inline-flex;
    color: #fff;
    font-size: 1.02rem;
}

.order-product-cell span,
.order-delivery-cell span {
    color: #9fb8d8;
}

.order-product-cell {
    display: grid;
    justify-items: start;
    gap: 5px;
}

.order-product-cell .order-number {
    color: #f5f7fb;
    font-size: 0.96rem;
    font-weight: 900;
    letter-spacing: 0;
}

.order-product-cell .order-seller-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #9fb0c8;
    font-size: 0.75rem;
    font-weight: 750;
}

.order-product-cell .order-seller-link i {
    color: #ff6b81;
    font-size: 0.68rem;
}

.order-product-cell .order-seller-link:hover {
    color: #fff;
}

.order-product-cell .order-offer-link {
    display: block;
    max-width: 100%;
    margin: 2px 0 0;
    overflow: hidden;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-product-cell .order-offer-link:hover {
    color: #ff6b81;
}

.order-product-cell .order-product-meta {
    color: #83a5d0;
    font-size: 0.74rem;
}

.order-expanded-details .order-expanded-offer-link,
.order-expanded-details .order-expanded-seller-link {
    color: #fff;
    font-weight: 850;
    text-decoration: none;
}

.order-expanded-details .order-expanded-product-meta {
    display: block;
    margin: 0;
    padding-left: 3px;
    border-left: 0;
    color: #83a5d0;
    font-size: 0.72rem;
    font-weight: 500;
    text-align: left;
}

.order-expanded-details .order-expanded-product-card,
.order-expanded-details .order-expanded-delivery-card {
    grid-column: 1 / -1;
}

.order-expanded-details .order-expanded-product-card {
    min-height: 96px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    align-items: center;
    justify-content: start;
    gap: 8px 6px;
}

.order-expanded-details .order-expanded-product-card > span {
    grid-column: 1;
    margin-bottom: 0;
}

.order-expanded-details .order-expanded-product-card .order-expanded-offer-link {
    grid-column: 1 / -1;
}

.order-expanded-details .order-expanded-offer-link {
    display: block;
    line-height: 1.45;
}

.order-expanded-details .order-expanded-delivery-card {
    min-height: 74px;
}

.order-expanded-delivery-card > strong {
    display: block;
    color: #dbe7f6;
    line-height: 1.55;
    white-space: pre-wrap;
}

.order-delivery-proof-section {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid rgba(91, 141, 219, 0.18);
}

.order-delivery-proof-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.order-delivery-proof-heading strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #dbe7f6;
    font-size: 0.76rem;
}

.order-delivery-proof-heading i {
    color: #60a5fa;
}

.order-delivery-proof-heading small {
    color: #7893b5;
    font-size: 0.68rem;
}

.order-delivery-proofs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 9px;
    margin-top: 12px;
}

.order-delivery-proofs a {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 6px;
    background: #080c12;
    aspect-ratio: 4 / 3;
}

.order-delivery-proof-action {
    width: 100%;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 6px;
    background: #080c12;
    aspect-ratio: 4 / 3;
    padding: 0;
    cursor: pointer;
}

.order-delivery-proofs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 160ms ease;
}

.order-delivery-proofs a:hover img,
.order-delivery-proof-action:hover img {
    transform: scale(1.04);
}

.admin-delivery-proof-section {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #edf1f6;
}

.admin-delivery-proof-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.admin-delivery-proof-title strong {
    color: #172033;
    font-size: 12px;
}

.admin-delivery-proof-title span {
    color: #64748b;
    font-size: 11px;
}

.admin-delivery-proof-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.admin-delivery-proof-gallery a {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid #dce3ed;
    border-radius: 4px;
    background: #f5f7fa;
}

.admin-delivery-proof-action {
    width: 100%;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid #dce3ed;
    border-radius: 4px;
    background: #f5f7fa;
    padding: 0;
    cursor: pointer;
}

.admin-delivery-proof-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 160ms ease;
}

.admin-delivery-proof-gallery a:hover img,
.admin-delivery-proof-action:hover img {
    transform: scale(1.04);
}

.admin-delivery-proof-state {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid #edf1f6;
    color: #64748b;
    font-size: 11px;
}

.admin-delivery-proof-state.error {
    color: #b42318;
}

.proof-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    padding: clamp(12px, 3vw, 28px);
}

.proof-preview-modal[hidden] {
    display: none;
}

.proof-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 14, 0.82);
    backdrop-filter: blur(10px);
}

.proof-preview-dialog {
    position: relative;
    width: min(1120px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, #111827, #070b12);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
    padding: 14px;
}

.proof-preview-close {
    justify-self: end;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.92);
    color: #f8fbff;
    cursor: pointer;
}

.proof-preview-close:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}

.proof-preview-frame {
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.proof-preview-frame img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 112px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(2, 6, 14, 0.74);
}

.proof-preview-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 12001;
    transform: translateX(-50%);
    max-width: min(360px, calc(100vw - 32px));
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(248, 113, 113, 0.34);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.97);
    color: #fecaca;
    padding: 10px 14px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
    font-size: 0.86rem;
    font-weight: 850;
    text-align: center;
}

.proof-preview-toast[hidden] {
    display: none;
}

html.proof-preview-open,
body.proof-preview-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

@media (max-width: 560px) {
    .proof-preview-modal {
        padding: 10px;
    }

    .proof-preview-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 10px;
    }

    .proof-preview-frame img {
        max-height: calc(100vh - 92px);
    }
}

.order-expanded-details .order-expanded-quantity-card,
.order-expanded-details .order-expanded-payment-card {
    min-height: 66px;
}

.order-expanded-details .order-expanded-offer-link:hover {
    color: #ff6b81;
}

.order-expanded-details .order-expanded-seller-link:hover {
    color: #6ee7b7;
}

.order-row-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.order-row-chips em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(91, 141, 219, 0.24);
    background: rgba(37, 99, 235, 0.10);
    color: #c7dbff;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
}

.order-price-cell {
    color: #21f07d;
    font-size: 1.05rem;
}

.order-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(148, 163, 184, 0.08);
    color: #dbeafe;
    font-size: 0.84rem;
    font-weight: 900;
}

.order-status-pill.status-completed {
    border-color: rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.12);
    color: #34d980;
}

.order-status-pill.status-cancelled,
.order-status-pill.status-cancel-requested,
.order-status-pill.status-cancel-request {
    border-color: rgba(255, 71, 87, 0.28);
    background: rgba(255, 71, 87, 0.12);
    color: #ff6b81;
}

.order-status-pill.status-delivering,
.order-status-pill.status-preparing,
.order-status-pill.status-new-order,
.order-status-pill.status-waiting-for-confirmation {
    border-color: rgba(255, 176, 32, 0.28);
    background: rgba(255, 176, 32, 0.10);
    color: #ffd06b;
}

.order-expand-btn {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #151a24;
}

.order-history-item.expanded .order-expand-btn {
    border-color: rgba(255, 71, 87, 0.45);
    background: rgba(255, 71, 87, 0.12);
}

.orders-table-card .orders-list {
    display: grid;
    gap: 12px;
    padding: 12px;
}

.orders-table-card .order-history-item {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.035), transparent 34%),
        #121722;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.orders-table-card .order-history-item:last-child {
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.orders-table-card .order-history-item.expanded {
    border-color: rgba(255, 71, 87, 0.28);
}

.orders-table-card .order-history-row {
    background: transparent;
}

.orders-table-card .order-history-item.expanded .order-history-row {
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
}

.order-expanded-card {
    padding: 0 26px 26px;
    background:
        linear-gradient(180deg, rgba(255, 71, 87, 0.025), transparent 32%),
        rgba(11, 15, 23, 0.96);
}

.order-mobile-detail-topbar {
    display: none;
}

.order-expanded-progress {
    padding: 22px 6px 26px;
}

.order-expanded-seller-card {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 0;
    padding: 12px 0 18px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 0;
    background: transparent;
}

.order-expanded-seller-heading {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.order-expanded-seller-heading > span {
    color: #8fb3df;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.order-expanded-seller-profile {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.order-expanded-seller-profile strong {
    overflow: hidden;
    font-size: 0.94rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-expanded-seller-profile > i {
    color: #22d3c5;
    font-size: 0.76rem;
}

.order-expanded-seller-avatar {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 50%;
    background: linear-gradient(135deg, #3b2330, #151b26);
    color: #fff;
    font-weight: 900;
}

.order-expanded-seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-seller-chat-btn {
    border: 0;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    padding: 0 18px;
    font-family: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.order-seller-chat-btn:hover {
    background: #19b653;
}

.order-seller-chat-btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.expanded-progress-step span {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #181f2d;
}

.expanded-progress-step.active span {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 0 24px rgba(34, 197, 94, 0.18);
}

.order-expanded-body {
    grid-template-columns: 118px minmax(0, 1fr) minmax(190px, auto);
    gap: 20px;
    padding: 22px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.order-expanded-body img {
    width: 118px;
    height: 86px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.order-expanded-details div {
    min-height: 58px;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 0;
    background: transparent;
}

.order-expanded-details .order-expanded-product-card,
.order-expanded-details .order-expanded-delivery-card,
.order-expanded-details .order-expanded-quantity-card,
.order-expanded-details .order-expanded-payment-card {
    min-height: 58px;
}

.order-expanded-details span {
    color: #8fb3df;
    font-weight: 900;
    text-transform: uppercase;
}

.order-expanded-actions a,
.order-expanded-actions button {
    min-height: 38px;
    border-radius: 6px;
    padding-inline: 13px;
    font-size: 0.82rem;
}

.order-expanded-actions {
    align-content: start;
    padding-left: 18px;
    border-left: 0;
}

.orders-empty {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
}

.orders-empty i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ff6b81;
    background: rgba(255, 71, 87, 0.12);
}

.orders-empty strong {
    color: #fff;
    font-size: 1.2rem;
}

.orders-empty span {
    max-width: 380px;
    color: #9fb8d8;
}

@media screen and (max-width: 900px) {
    .order-status-page {
        width: min(100% - 28px, 620px);
        margin-top: 18px;
    }

    .order-status-hero,
    .order-summary-strip {
        grid-template-columns: 1fr;
    }

    .order-status-hero {
        padding: 22px 18px;
    }

    .order-status-search {
        grid-template-columns: 1fr;
    }

    .order-status-search button {
        width: 100%;
    }

    .orders-card-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .orders-table-head {
        display: none;
    }

    .order-history-row {
        position: relative;
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: 0;
        padding: 18px;
    }

    .order-expand-btn {
        position: absolute;
        right: 14px;
        top: 14px;
    }

    .order-status-cell,
    .order-delivery-cell,
    .order-time-cell,
    .order-price-cell {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-top: 10px;
        border-top: 1px solid rgba(148, 163, 184, 0.12);
    }

    .order-price-cell::before {
        content: "Total";
        color: #8fb3df;
        font-size: 0.82rem;
    }

    .order-time-cell::before {
        content: "Order Time";
        color: #8fb3df;
        font-size: 0.82rem;
    }

    .order-status-cell::before {
        content: "Status";
        color: #8fb3df;
        font-size: 0.82rem;
    }

.order-delivery-cell::before {
        content: "Delivery";
        color: #8fb3df;
        font-size: 0.82rem;
    }

    .order-expanded-body,
    .order-expanded-details {
        grid-template-columns: 1fr;
    }

    .order-expanded-body img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .order-expanded-seller-card {
        align-items: stretch;
    }

    .order-seller-chat-btn {
        flex: 0 0 auto;
        padding-inline: 16px;
    }

    .order-linked-actions {
        min-width: 0;
        width: 100%;
    }

    .order-expanded-card {
        position: fixed;
        inset: 0;
        z-index: 2200;
        min-height: 100dvh;
        max-height: 100dvh;
        overflow-y: auto;
        padding: 76px 18px calc(22px + env(safe-area-inset-bottom));
        background:
            linear-gradient(180deg, rgba(255, 71, 87, 0.035), transparent 30%),
            #07101b;
        box-shadow: none;
        -webkit-overflow-scrolling: touch;
    }

    .order-mobile-detail-topbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1;
        min-height: 62px;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.14);
        background: rgba(7, 16, 27, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .order-mobile-detail-topbar button {
        width: 38px;
        min-height: 38px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 7px;
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        font: inherit;
    }

    .order-mobile-detail-topbar div {
        min-width: 0;
        display: grid;
        gap: 2px;
    }

    .order-mobile-detail-topbar span {
        color: #8fb3df;
        font-size: 0.7rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .order-mobile-detail-topbar strong {
        overflow: hidden;
        color: #fff;
        font-size: 0.92rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .order-expanded-actions {
        padding: 14px 0 0;
        border-top: 0;
        border-left: 0;
    }

    .order-expanded-details .order-expanded-product-card {
        grid-template-columns: auto minmax(0, 1fr);
    }
}

@media screen and (max-width: 520px) {
    .order-expanded-seller-card {
        display: grid;
        gap: 12px;
    }

    .order-seller-chat-btn {
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .order-filter-tabs {
        gap: 8px 16px;
        padding-inline: 18px;
    }

    .order-filter-tabs button {
        min-height: 24px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: 0.78rem;
    }

    .order-expanded-progress {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
        padding: 18px 0 20px;
    }

    .expanded-progress-step {
        min-width: 0;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: start;
        gap: 5px;
        text-align: center;
    }

    .expanded-progress-step::before {
        display: block;
        top: 12px;
        height: 2px;
    }

    .expanded-progress-step:first-child::before {
        display: none;
    }

    .expanded-progress-step span {
        width: 26px;
        height: 26px;
        font-size: 0.72rem;
    }

    .expanded-progress-step strong {
        max-width: 64px;
        color: #9fb0c8;
        font-size: 0.5rem;
        line-height: 1.18;
    }

    .order-expanded-seller-card {
        min-height: 58px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 10px;
    }

    .order-expanded-seller-heading {
        min-width: 0;
        flex: 1 1 auto;
        display: block;
    }

    .order-expanded-seller-heading > span {
        display: none;
    }

    .order-expanded-seller-profile {
        gap: 8px;
    }

    .order-expanded-seller-avatar {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .order-expanded-seller-profile strong {
        font-size: 0.82rem;
    }

    .order-seller-chat-btn {
        flex: 0 0 36px;
        width: 36px;
        min-height: 36px;
        padding: 0;
        border-radius: 7px;
        font-size: 0;
    }

    .order-seller-chat-btn i {
        font-size: 0.88rem;
    }
}

/* Premium account dropdown + member center */
.account-menu {
    position: relative;
    z-index: 900;
}

.account-menu-trigger[aria-expanded="true"] .account-avatar {
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.18), 0 16px 34px rgba(255, 71, 87, 0.24);
}

.account-dropdown {
    top: calc(100% + 14px);
    right: 0;
    width: 310px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 15% 0, rgba(255, 71, 87, 0.16), transparent 38%),
        linear-gradient(180deg, #171820, #11131a);
    color: #fff;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.account-dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 22px;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    border-left: 1px solid rgba(148, 163, 184, 0.16);
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: #171820;
}

.account-dropdown-head {
    position: relative;
    padding: 20px 18px 14px;
}

.account-dropdown-head strong {
    color: #fff;
    font-size: 1.02rem;
}

.account-dropdown-head span {
    color: #91a5c1;
}

.account-dropdown-head em {
    color: #73829b;
    font-style: normal;
}

.account-balance-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 14px 18px;
    border-color: rgba(148, 163, 184, 0.12);
    background: rgba(5, 8, 13, 0.36);
}

.account-balance-grid div {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.account-balance-grid div + div {
    border-left: 1px solid rgba(148, 163, 184, 0.18);
}

.account-balance-grid strong {
    color: #fff;
}

.account-balance-grid small,
.account-balance-grid span {
    color: #8fa3bf;
    font-weight: 700;
}

.account-dropdown-links {
    gap: 4px;
    padding: 12px;
}

.account-dropdown-links a {
    min-height: 44px;
    gap: 12px;
    color: #a9b6cb;
    border: 1px solid transparent;
}

.account-dropdown-links a span {
    flex: 1;
}

.account-dropdown-links a:hover {
    border-color: rgba(255, 71, 87, 0.24);
    background: rgba(255, 71, 87, 0.10);
    color: #fff;
}

.account-dropdown-links i {
    width: 22px;
    color: #ff6b81;
}

.account-logout-link {
    justify-content: flex-start;
    padding: 0 20px;
    min-height: 58px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(5, 8, 13, 0.36);
    color: #cbd5e1;
}

.account-logout-link:hover {
    color: #fff;
    background: rgba(255, 71, 87, 0.12);
}

.customer-page {
    width: min(1220px, 92vw);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 0;
}

.customer-member-sidebar {
    position: sticky;
    top: 98px;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.09), transparent 36%),
        #12151d;
    overflow: hidden;
}

.customer-member-profile {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
    padding: 28px 18px 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.customer-member-profile strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}

.customer-member-profile span {
    display: block;
    max-width: 210px;
    color: #8fa3bf;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-member-sidebar nav {
    display: grid;
    gap: 6px;
    padding: 12px 8px;
}

.customer-member-sidebar nav a,
.customer-sidebar-logout {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 14px;
    border-radius: 8px;
    color: #9caac0;
    text-decoration: none;
    font-weight: 800;
}

.customer-member-sidebar nav a i,
.customer-sidebar-logout i {
    width: 20px;
    color: #7f8da5;
}

.customer-member-sidebar nav a:hover,
.customer-member-sidebar nav a.active {
    background: rgba(255, 71, 87, 0.12);
    color: #fff;
}

.customer-member-sidebar nav a:hover i,
.customer-member-sidebar nav a.active i {
    color: #ff6b81;
}

.customer-sidebar-logout {
    margin-top: auto;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 0;
}

.customer-member-content {
    min-width: 0;
}

.customer-member-content .customer-hero-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 0;
    padding: 20px 26px;
    background:
        radial-gradient(circle at 12% 36%, rgba(255, 71, 87, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(255, 71, 87, 0.10), transparent 38%),
        linear-gradient(180deg, #151821, #10131b);
}

.customer-hero-profile {
    display: grid;
    place-items: center;
}

.customer-hero-profile .account-avatar.large {
    width: 74px;
    height: 74px;
    min-width: 74px;
    border-radius: 20px;
    box-shadow: 0 24px 52px rgba(255, 71, 87, 0.20);
}

.customer-hero-profile .account-avatar.large i {
    font-size: 1.65rem;
}

.customer-hero-copy h1 {
    margin-bottom: 8px;
    font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.customer-hero-copy small {
    display: none;
}

.customer-hero-copy p {
    max-width: 660px;
    color: #b8c9e4;
    margin: 0;
}

.customer-hero-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.customer-wallet-balance {
    min-height: 44px;
    min-width: 138px;
    display: grid;
    align-content: center;
    gap: 2px;
    padding: 0 13px;
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.09);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.customer-wallet-balance:hover {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.14);
    transform: translateY(-1px);
}

.customer-wallet-balance small {
    color: #8fb3df;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.customer-wallet-balance strong {
    color: #22e676;
    line-height: 1;
}

.customer-seller-btn,
.customer-strip-logout {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
}

.customer-seller-btn {
    padding: 0 14px;
    border: 1px solid rgba(255, 71, 87, 0.34);
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    box-shadow: 0 14px 32px rgba(255, 71, 87, 0.16);
}

.customer-strip-logout {
    width: 44px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(16, 19, 28, 0.82);
    color: #cbd5e1;
}

.customer-strip-logout:hover {
    border-color: rgba(255, 71, 87, 0.34);
    color: #ff6b81;
}

.customer-hero-actions a.primary {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    border-color: transparent;
}

.customer-member-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.customer-member-panel div {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.09), transparent 38%),
        #11151e;
    padding: 20px;
}

.customer-member-panel i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.12);
    color: #21f07d;
}

.customer-member-panel strong {
    color: #fff;
}

.customer-member-panel span {
    color: #9fb8d8;
    line-height: 1.55;
}

.seller-payout-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seller-payout-panel strong {
    color: #22c55e;
    font-size: 1.35rem;
}

.customer-member-content .customer-profile-chip {
    min-width: 0;
    padding: 18px 20px;
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.08), transparent),
        rgba(16, 19, 28, 0.84);
}

.customer-member-content .customer-profile-chip strong {
    font-size: 1.04rem;
}

.customer-member-content .customer-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customer-member-content .customer-feature-grid a {
    position: relative;
    min-height: 168px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.028), transparent),
        #121620;
    border-color: rgba(148, 163, 184, 0.14);
}

.customer-member-content .customer-feature-grid a:hover {
    border-color: rgba(255, 71, 87, 0.72);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.customer-member-content .customer-feature-grid i {
    background: rgba(255, 71, 87, 0.14);
    color: #ff5d70;
}

.customer-member-content .customer-feature-grid .customer-feature-chevron,
.customer-member-content .customer-mobile-logout {
    display: none;
}

.customer-member-content .customer-notification-count:not([hidden]),
.customer-member-content .customer-row-count:not([hidden]),
.customer-member-content .customer-row-new:not([hidden]) {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 23px;
    padding: 0 7px;
    border: 1px solid rgba(255, 71, 87, 0.42);
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.15);
    color: #ff7180;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(255, 71, 87, 0.12);
}

.customer-member-content .customer-row-new:not([hidden]) {
    border-color: rgba(245, 158, 11, 0.38);
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    font-size: 0.58rem;
    letter-spacing: 0.04em;
}

.customer-feature-grid a.customer-feature-seller {
    --customer-feature-accent: #22c55e;
    --customer-feature-accent-rgb: 34, 197, 94;
}

.customer-feature-grid a.customer-feature-orders {
    --customer-feature-accent: #60a5fa;
    --customer-feature-accent-rgb: 96, 165, 250;
}

.customer-feature-grid a.customer-feature-settings {
    --customer-feature-accent: #a78bfa;
    --customer-feature-accent-rgb: 167, 139, 250;
}

.customer-feature-grid a.customer-feature-tickets {
    --customer-feature-accent: #38bdf8;
    --customer-feature-accent-rgb: 56, 189, 248;
}

.customer-feature-grid a.customer-feature-disputes {
    --customer-feature-accent: #f59e0b;
    --customer-feature-accent-rgb: 245, 158, 11;
}

.customer-feature-grid a.customer-feature-invoices {
    --customer-feature-accent: #facc15;
    --customer-feature-accent-rgb: 250, 204, 21;
}

.customer-feature-grid a.customer-feature-cart {
    --customer-feature-accent: #2dd4bf;
    --customer-feature-accent-rgb: 45, 212, 191;
}

.customer-feature-grid a.customer-feature-notifications {
    --customer-feature-accent: #fb923c;
    --customer-feature-accent-rgb: 251, 146, 60;
}

.customer-feature-grid a > i:not(.customer-feature-chevron),
.customer-member-content .customer-feature-grid a > i:not(.customer-feature-chevron) {
    background: rgba(var(--customer-feature-accent-rgb, 255, 93, 112), 0.16);
    color: var(--customer-feature-accent, #ff5d70);
}

.customer-member-content .customer-feature-grid a:hover {
    border-color: rgba(var(--customer-feature-accent-rgb, 255, 93, 112), 0.58);
}

.seller-application-page {
    width: min(1220px, 92vw);
    display: grid;
    gap: 16px;
    margin: 0 auto 48px;
}

.seller-application-hero,
.seller-terms-card,
.seller-application-form {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 34%),
        linear-gradient(180deg, #171d29, #111722);
    color: #e5edf8;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.seller-application-hero {
    display: grid;
    gap: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.seller-application-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: -2px 0 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding-bottom: 18px;
}

.seller-application-hero header {
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.seller-application-hero h1 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.seller-application-hero h1 i {
    color: #ff6376;
    font-size: 0.95em;
}

.seller-application-hero-body {
    padding: 20px 22px 24px;
}

.seller-application-hero-body p {
    margin: 0;
    color: #cfe0ff;
    line-height: 1.55;
}

.seller-application-hero span,
.seller-application-card-head > span {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 71, 87, 0.26);
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.14);
    color: #ff6b81;
}

.seller-application-card-head h2 {
    margin: 0;
    color: #fff;
}

.seller-application-card-head p {
    margin: 5px 0 0;
    color: #aebdd3;
    line-height: 1.5;
}

.seller-application-hero > a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(12, 18, 29, 0.86);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    padding: 0 16px;
}

.seller-application-layout,
.seller-application-form {
    display: grid;
    gap: 16px;
}

.seller-terms-card,
.seller-application-form {
    padding: 22px;
}

.seller-rule-grid,
.seller-application-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.seller-marketplace-notice {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.seller-marketplace-notice div {
    display: grid;
    gap: 8px;
    align-content: start;
    min-height: 142px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.08), transparent 58%),
        rgba(7, 11, 18, 0.52);
    padding: 16px;
}

.seller-marketplace-notice i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.13);
    color: #ff6b81;
}

.seller-marketplace-notice strong {
    color: #fff;
}

.seller-marketplace-notice span {
    color: #b8c9e4;
    line-height: 1.45;
}

.seller-rule-grid {
    margin-top: 20px;
}

.seller-rule-grid section {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(7, 11, 18, 0.54);
    padding: 18px;
}

.seller-rule-grid h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: #fff;
}

.seller-rule-grid h3 i {
    color: #ff6b81;
}

.seller-rule-grid ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
    color: #c5d4e8;
    line-height: 1.48;
}

.seller-application-actions {
    margin-top: 20px;
}

.seller-application-actions > button,
.seller-application-actions > a,
.seller-application-submit-row button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 8px;
    font-weight: 950;
    cursor: pointer;
}

.seller-application-actions > button,
.seller-application-actions > a,
.seller-application-submit-row button[type="submit"] {
    border: 1px solid rgba(255, 71, 87, 0.34);
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    box-shadow: 0 16px 34px rgba(255, 71, 87, 0.16);
    padding: 0 20px;
    text-decoration: none;
}

.seller-application-form[hidden] {
    display: none;
}

.seller-application-form label,
.seller-application-services {
    display: grid;
    gap: 8px;
    color: #dbeafe;
    font-size: 0.9rem;
    font-weight: 900;
}

.seller-application-form input,
.seller-application-form select,
.seller-application-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(7, 11, 18, 0.76);
    color: #fff;
    font: inherit;
    padding: 0 14px;
    outline: none;
}

.seller-phone-row {
    display: grid;
    grid-template-columns: minmax(150px, 0.44fr) minmax(0, 1fr);
    gap: 10px;
}

.seller-phone-row select,
.seller-phone-row input {
    min-width: 0;
}

.seller-application-form textarea {
    min-height: 112px;
    resize: vertical;
    padding-top: 13px;
    line-height: 1.5;
}

.seller-application-form input:focus,
.seller-application-form select:focus,
.seller-application-form textarea:focus {
    border-color: rgba(255, 71, 87, 0.68);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.10);
}

.seller-application-form select option {
    background: #0d121b;
    color: #fff;
}

.seller-application-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(7, 11, 18, 0.46);
    padding: 16px;
}

.seller-application-services legend {
    grid-column: 1 / -1;
    color: #fff;
    padding: 0 6px;
}

.seller-application-services label,
.seller-application-agree {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c5d4e8;
    font-weight: 850;
}

.seller-application-services input,
.seller-application-agree input {
    width: 16px;
    min-height: 16px;
    accent-color: #ff5b70;
}

.seller-application-agree {
    align-items: flex-start;
    border: 1px solid rgba(34, 197, 94, 0.18);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.08);
    padding: 14px;
}

.seller-application-submit-row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.seller-application-submit-row button[type="button"] {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(12, 18, 29, 0.86);
    color: #fff;
    padding: 0 18px;
}

.seller-application-submit-row button:disabled {
    opacity: 0.62;
    cursor: default;
}

.seller-application-status {
    min-height: 20px;
    margin: 0;
    color: #86efac;
    font-weight: 850;
}

.seller-application-status.is-error {
    color: #ff8c9a;
}

.seller-application-submitted {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 12px;
    align-items: center;
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.09);
    padding: 14px;
}

.seller-application-submitted.is-approved {
    border-color: rgba(34, 197, 94, 0.24);
    background: rgba(34, 197, 94, 0.09);
}

.seller-application-submitted.is-pending {
    border-color: rgba(245, 158, 11, 0.24);
    background: rgba(245, 158, 11, 0.08);
}

.seller-application-submitted.is-rejected {
    border-color: rgba(255, 71, 87, 0.26);
    background: rgba(255, 71, 87, 0.08);
}

#sellerApplicationSubmittedHost:empty {
    display: none;
}

.seller-application-submitted i {
    grid-row: span 2;
    color: #22e676;
}

.seller-application-submitted.is-pending i {
    color: #fbbf24;
}

.seller-application-submitted.is-rejected i {
    color: #ff6b81;
}

.seller-application-submitted strong {
    color: #fff;
}

.seller-application-submitted span {
    color: #aebdd3;
    line-height: 1.45;
}

@media screen and (max-width: 720px) {
    .seller-application-page {
        width: min(100% - 24px, 420px);
        gap: 12px;
        margin-bottom: 28px;
    }

    .seller-application-crumb {
        display: none;
    }

    .seller-application-hero {
        min-height: 0;
    }

    .seller-application-card-head {
        align-items: flex-start;
    }

    .seller-application-hero header {
        min-height: 66px;
        padding: 0 16px;
    }

    .seller-application-hero h1 {
        font-size: 1.3rem;
    }

    .seller-application-hero-body {
        padding: 16px;
    }

    .seller-application-hero > a,
    .seller-application-actions > button,
    .seller-application-submit-row button {
        width: 100%;
    }

    .seller-terms-card,
    .seller-application-form {
        padding: 16px;
    }

    .seller-rule-grid,
    .seller-marketplace-notice,
    .seller-application-form-grid,
    .seller-phone-row,
    .seller-application-services {
        grid-template-columns: 1fr;
    }

    .seller-marketplace-notice div {
        min-height: 0;
    }

    .seller-rule-grid section {
        padding: 15px;
    }

    .seller-application-form textarea {
        min-height: 120px;
    }

    .seller-application-submit-row {
        flex-direction: column-reverse;
    }
}

.header-avatar-notification-dot:not([hidden]) {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 2;
    display: block;
    width: 9px;
    min-width: 9px;
    height: 9px;
    padding: 0;
    border: 2px solid #131316;
    border-radius: 50%;
    background: #ff4757;
    color: transparent;
    font-size: 0;
    box-shadow: none;
    pointer-events: none;
}

@media screen and (max-width: 860px) {
    .account-dropdown {
        position: fixed;
        top: 74px;
        right: 14px;
        left: 14px;
        width: auto;
    }

    .customer-page {
        width: min(100% - 28px, 680px);
        grid-template-columns: 1fr;
    }

    .customer-member-sidebar {
        position: static;
        min-height: 0;
    }

    .customer-member-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-member-panel,
    .customer-member-content .customer-feature-grid {
        grid-template-columns: 1fr;
    }

    .customer-member-content .customer-hero-panel {
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: stretch;
        align-items: center;
        gap: 12px;
        min-height: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 20px 0 14px;
        background: transparent;
    }

    .customer-hero-profile .account-avatar.large {
        width: 54px;
        height: 54px;
        min-width: 54px;
        border-radius: 50%;
        box-shadow: 0 10px 28px rgba(255, 71, 87, 0.18);
    }

    .header-avatar-notification-dot:not([hidden]) {
        top: 1px;
        right: 1px;
    }

    .customer-hero-profile .account-avatar.large i {
        font-size: 1.25rem;
    }

    .customer-hero-copy h1 {
        margin: 0 0 3px;
        font-size: 1.08rem;
    }

    .customer-hero-copy small {
        display: block;
        overflow: hidden;
        color: #8294af;
        font-size: 0.7rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .customer-hero-copy p {
        display: none;
    }

    .customer-hero-tools {
        grid-column: 1 / -1;
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 9px;
    }

    .customer-wallet-balance {
        min-width: 0;
    }

    .customer-seller-btn {
        padding-inline: 14px;
    }

    .customer-strip-logout {
        display: none;
    }

    .customer-member-content .customer-feature-grid {
        display: block;
        overflow: hidden;
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 8px;
        background: #121620;
    }

    .customer-member-content .customer-feature-grid a {
        position: relative;
        min-height: 60px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 11px;
        margin: 0;
        border: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.11);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        padding: 0 44px 0 12px;
        text-align: left;
    }

    .customer-member-content .customer-feature-grid a.customer-feature-notifications,
    .customer-member-content .customer-feature-grid a.customer-feature-orders,
    .customer-member-content .customer-feature-grid a.customer-feature-cart,
    .customer-member-content .customer-feature-grid a.customer-feature-updatable {
        padding-right: 78px;
    }

    .customer-member-content .customer-feature-grid a:last-child {
        border-bottom: 0;
    }

    .customer-member-content .customer-feature-grid a > span {
        display: none;
    }

    .customer-member-content .customer-feature-grid a > i:not(.customer-feature-chevron) {
        width: 32px;
        height: 32px;
        min-width: 32px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #ff6477;
        font-size: 0.9rem;
    }

    .customer-member-content .customer-feature-grid a strong {
        display: block;
        width: 100%;
        line-height: 1.2;
        font-size: 0.88rem;
    }

    .customer-member-content .customer-feature-grid .customer-feature-chevron {
        position: absolute;
        top: 50%;
        right: 15px;
        display: block;
        width: auto;
        height: auto;
        color: #7e8ca2;
        background: transparent;
        transform: translateY(-50%);
    }

    .customer-member-content .customer-notification-count:not([hidden]) {
        position: absolute;
        top: 50%;
        right: 39px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 21px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #ff7180;
        font-size: 0.68rem;
        font-weight: 800;
        line-height: 1;
        box-shadow: none;
        transform: translateY(-50%);
    }

    .customer-member-content .customer-row-count:not([hidden]),
    .customer-member-content .customer-row-new:not([hidden]) {
        position: absolute;
        top: 50%;
        right: 39px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 23px;
        height: 21px;
        padding: 0 6px;
        border: 1px solid rgba(255, 71, 87, 0.42);
        border-radius: 999px;
        background: rgba(255, 71, 87, 0.16);
        color: #ff7180;
        font-size: 0.68rem;
        font-weight: 800;
        line-height: 1;
        transform: translateY(-50%);
    }

    .customer-member-content .customer-row-count:not([hidden]) {
        min-width: 20px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .customer-member-content .customer-row-new:not([hidden]) {
        border-color: rgba(245, 158, 11, 0.38);
        background: rgba(245, 158, 11, 0.12);
        color: #fbbf24;
        font-size: 0.58rem;
        letter-spacing: 0.04em;
    }

    .customer-member-content .customer-mobile-logout {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        margin-top: 16px;
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 8px;
        background: #121620;
        color: #aebbd0;
        font-size: 0.86rem;
        text-decoration: none;
    }
}

.customer-member-content .customer-feature-grid a > i:not(.customer-feature-chevron) {
    color: var(--customer-feature-accent, #ff5d70);
}

/* Premium member pages redesign: orders, settings, tickets, disputes, invoices, cart, notifications */
.order-status-page,
.settings-page,
.support-workspace,
.cart-page,
.notifications-page {
    width: min(1220px, 92vw);
    margin: 0 auto 92px;
}

.support-hero,
.notifications-hero,
.cart-hero,
.settings-unified-card > .settings-top,
.order-status-hero {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-color: rgba(148, 163, 184, 0.16);
    background:
        radial-gradient(circle at 8% 22%, rgba(255, 71, 87, 0.16), transparent 30%),
        linear-gradient(135deg, rgba(255, 71, 87, 0.08), transparent 42%),
        linear-gradient(180deg, #151922, #0f131c);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.30);
}

.support-hero,
.notifications-hero,
.cart-hero,
.order-status-hero {
    min-height: 150px;
    padding: 24px 28px;
    margin-bottom: 18px;
}

.support-hero h1,
.notifications-hero h1,
.cart-page-header h1,
.settings-top h1,
.order-status-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.05;
    margin: 0 0 8px;
}

.support-hero p,
.notifications-hero p,
.cart-page-header p,
.settings-top p,
.order-status-hero p {
    color: #b7c9e6;
    line-height: 1.55;
}

.support-hero a,
.notifications-hero-actions a,
.cart-hero a,
.settings-top a {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(18, 22, 32, 0.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.support-hero a:hover,
.notifications-hero-actions a:hover,
.cart-hero a:hover,
.settings-top a:hover {
    border-color: rgba(255, 71, 87, 0.44);
    color: #fff;
}

.support-layout,
.cart-layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 380px);
    gap: 20px;
}

.support-panel,
.cart-summary,
.cart-item,
.notification-center,
.notification-metrics div,
.settings-unified-card,
.orders-table-card,
.invoice-grid,
.invoice-toolbar {
    border-color: rgba(148, 163, 184, 0.14);
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.055), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.028), transparent),
        #111620;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24);
}

.support-panel,
.settings-unified-card,
.cart-summary,
.invoice-toolbar {
    border-radius: 8px;
}

.support-panel-head > span,
.notification-icon,
.invoice-order-cell > span,
.customer-feature-grid i,
.cart-summary-head > span {
    background: rgba(255, 71, 87, 0.14);
    color: #ff5d70;
    border: 1px solid rgba(255, 71, 87, 0.12);
}

.support-form label,
.settings-form label {
    color: #dce8fb;
}

.support-form input,
.support-form select,
.support-form textarea,
.invoice-toolbar select,
.notification-toolbar select,
.settings-form input,
.settings-form select {
    border-color: rgba(148, 163, 184, 0.18);
    background: #0d121b;
    color: #fff;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus,
.invoice-toolbar select:focus,
.notification-toolbar select:focus,
.settings-form input:focus,
.settings-form select:focus {
    outline: none;
    border-color: rgba(255, 71, 87, 0.58);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.10);
}

.support-form button,
.invoice-row button,
.notifications-hero-actions button,
.primary-checkout-btn,
.settings-form > button[type="submit"],
.order-status-search button {
    border: 0;
    background: linear-gradient(135deg, #ff4657, #ff6477);
    box-shadow: 0 16px 36px rgba(255, 71, 87, 0.18);
}

.support-list-item,
.invoice-row,
.notification-row,
.order-history-row {
    border-color: rgba(148, 163, 184, 0.12);
}

.support-list-item {
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.045), transparent),
        #0d121b;
}

.support-list-item:hover,
.invoice-row:hover,
.notification-row:hover {
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.08), transparent),
        #121824;
}

.dispute-history-panel {
    margin-bottom: 18px;
}

.dispute-center-panel .dispute-hero-content {
    padding: 18px 22px 24px;
}

.dispute-hero-content {
    width: 100%;
    display: grid;
    gap: 18px;
}

.dispute-case-search {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 7px;
    background: rgba(7, 11, 18, 0.78);
    padding: 0 15px;
}

.dispute-case-search i {
    color: #ff6376;
}

.dispute-case-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
}

.dispute-case-search:focus-within {
    border-color: rgba(255, 71, 87, 0.68);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.dispute-case-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dispute-case-filter {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 7px;
    background: rgba(11, 16, 25, 0.78);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dispute-case-filter:hover {
    border-color: rgba(255, 71, 87, 0.42);
    background: rgba(18, 24, 36, 0.96);
    transform: translateY(-1px);
}

.dispute-case-filter.is-active {
    border-color: rgba(255, 71, 87, 0.72);
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.16), transparent 65%),
        rgba(16, 21, 31, 0.98);
    box-shadow:
        inset 3px 0 0 #ff4757,
        0 0 0 2px rgba(255, 71, 87, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.2);
}

.dispute-case-filter:focus-visible {
    outline: 2px solid #ff6b81;
    outline-offset: 3px;
}

.dispute-case-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b5c7df;
    font-size: 0.84rem;
    font-weight: 850;
}

.dispute-case-metrics span i {
    color: #ff6376;
}

.dispute-case-metrics strong {
    color: #fff;
    font-size: 1.45rem;
}

.dispute-cases-table {
    background: transparent;
}

.dispute-cases-head,
.dispute-case-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.15fr) minmax(220px, 1.15fr) minmax(190px, 0.9fr) minmax(150px, 0.7fr) 36px;
    gap: 18px;
    align-items: center;
}

.dispute-cases-head {
    padding: 14px 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(7, 10, 16, 0.72);
    color: #a8c8f5;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dispute-cases-list {
    display: grid;
    gap: 12px;
    padding-top: 12px;
}

.dispute-case-item {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.035), transparent 34%),
        #121722;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.dispute-case-item.expanded {
    border-color: rgba(255, 71, 87, 0.3);
}

.dispute-case-row {
    min-height: 88px;
    padding: 16px 18px;
}

.dispute-case-row strong {
    overflow: hidden;
    color: #f5f7fb;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dispute-case-row > span {
    color: #a9bad0;
    font-size: 0.82rem;
}

.dispute-case-row .dispute-status {
    width: max-content;
    margin: 0;
}

.dispute-expand-btn {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 7px;
    background: #151a24;
    color: #8fb3df;
    cursor: pointer;
}

.dispute-case-item.expanded .dispute-expand-btn {
    border-color: rgba(255, 71, 87, 0.4);
    color: #ff6477;
    transform: rotate(90deg);
}

.dispute-expanded-card {
    display: grid;
    gap: 20px;
    padding: 0 24px 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.13);
    background:
        linear-gradient(180deg, rgba(255, 71, 87, 0.025), transparent 30%),
        rgba(11, 15, 23, 0.96);
}

.dispute-mobile-detail-topbar {
    display: none;
}

.dispute-mobile-order-number {
    display: none !important;
}

.dispute-progress-bar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 22px 4px 8px;
}

.dispute-progress-step {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 7px;
    text-align: center;
}

.dispute-progress-step::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: #293141;
}

.dispute-progress-step:first-child::before {
    display: none;
}

.dispute-progress-step.active::before {
    background: #22c55e;
}

.dispute-progress-step span {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 50%;
    background: #181f2d;
    color: #fff;
    font-weight: 900;
}

.dispute-progress-step.active span {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.dispute-progress-step strong {
    max-width: 150px;
    color: #b7c7db;
    font-size: 0.72rem;
    line-height: 1.3;
}

.dispute-information-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    padding: 4px 0 2px;
}

.dispute-information-card > div {
    min-height: 58px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 0;
    background: transparent;
}

.dispute-information-card span {
    color: #8fb3df;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dispute-information-card strong {
    color: #fff;
    line-height: 1.45;
}

.dispute-information-card .dispute-information-note {
    grid-column: 1 / -1;
}

.dispute-information-card .dispute-final-conclusion {
    grid-column: 1 / -1;
    border-bottom: 0;
    padding: 4px 0 0;
}

.dispute-final-conclusion strong {
    color: #dce8f8;
}

.dispute-chat-panel {
    display: grid;
    gap: 10px;
}

.dispute-chat-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 0;
}

.dispute-chat-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dispute-chat-heading > div > span {
    color: #94a3b8;
    font-size: 0.84rem;
}

.dispute-chat-heading > em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 800;
}

.dispute-chat-seller {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.dispute-chat-seller strong {
    font-size: 0.92rem;
}

.dispute-chat-seller > i {
    color: #22d3c5;
    font-size: 0.72rem;
}

.dispute-chat-seller-avatar {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 71, 87, 0.38);
    border-radius: 50%;
    background: linear-gradient(135deg, #3b2330, #151b26);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
}

.dispute-chat-seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dispute-chat-panel .order-chat-box {
    margin-top: 0;
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    background: rgba(7, 10, 16, 0.38);
}

.dispute-chat-panel .order-chat-head {
    display: none;
}

.dispute-chat-panel .order-chat-messages {
    background: rgba(7, 10, 16, 0.42);
}

.dispute-chat-panel .order-chat-box.is-read-only .order-chat-messages {
    border-bottom: 0;
}

.dispute-case-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.dispute-case-actions button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 7px;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.escalate-dispute-btn {
    background: #16a34a;
}

.seller-dispute-center {
    display: grid;
    gap: 14px;
}

.seller-dispute-center .dispute-center-panel,
.seller-dispute-center .dispute-cases-table {
    margin: 0;
}

@media screen and (min-width: 901px) {
    .seller-console-body #sellerDisputesPanel .dispute-center-panel {
        background: linear-gradient(180deg, #171d29, #111722);
        box-shadow: none;
        overflow: hidden;
    }

    .seller-console-body #sellerDisputesPanel .dispute-center-panel > .admin-section-title {
        min-height: 106px;
        display: grid;
        align-content: center;
        justify-content: start;
        justify-items: start;
        gap: 8px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.14);
        background: transparent;
        padding: 22px;
    }

    .seller-console-body #sellerDisputesPanel .dispute-center-panel > .admin-section-title h2 {
        color: #fff;
        font-size: 26px;
        font-weight: 900;
    }

    .seller-console-body #sellerDisputesPanel .dispute-center-panel > .admin-section-title h2 i {
        display: none;
    }

    .seller-console-body #sellerDisputesPanel .dispute-center-panel > .admin-section-title span {
        color: #c7d7eb;
        font-size: 13px;
    }
}

.seller-agree-refund-btn {
    border-color: rgba(249, 217, 118, 0.42) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, #f9d976, #68e4bc) !important;
    color: #08141d !important;
    box-shadow: 0 12px 26px rgba(104, 228, 188, 0.14);
}

.seller-agree-refund-btn:hover {
    filter: brightness(1.04) saturate(1.08);
}

.escalate-dispute-btn:disabled {
    opacity: 0.58;
    cursor: default;
}

.dispute-case-actions .remove-dispute-btn {
    background: rgba(255, 71, 87, 0.13);
    border-color: rgba(255, 71, 87, 0.34);
    color: #ff7180;
}

.dispute-history-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media screen and (max-width: 900px) {
    .seller-console-body.is-mobile-panel-page #sellerDisputesPanel {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerDisputesPanel .seller-dispute-center {
        margin-top: 12px;
    }

    .seller-console-body.is-mobile-panel-page #sellerDisputesPanel .dispute-center-panel > .admin-section-title {
        display: none;
    }

    .seller-console-body.is-mobile-panel-page #sellerDisputesPanel .dispute-center-panel .dispute-hero-content {
        padding: 18px 22px 22px;
    }

    .seller-console-body.is-mobile-panel-page #sellerDisputesPanel .dispute-case-filter {
        min-width: 0;
    }

    .seller-console-body.is-mobile-panel-page #sellerDisputesPanel .dispute-case-metrics span {
        line-height: 1.25;
    }

    .dispute-cases-head {
        display: none;
    }

    .dispute-case-row {
        position: relative;
        grid-template-columns: 1fr;
        gap: 7px;
        min-height: 0;
        padding: 16px 52px 16px 16px;
    }

    .dispute-case-row > span {
        font-size: 0.72rem;
    }

    .dispute-case-row .dispute-status {
        margin-top: 5px;
    }

    .dispute-expand-btn {
        position: absolute;
        top: 15px;
        right: 14px;
    }

    .dispute-expanded-card {
        gap: 16px;
        padding: 0 16px 18px;
    }

    .dispute-progress-bar {
        gap: 0;
        padding: 18px 0 8px;
    }

    .dispute-progress-step span {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }

    .dispute-progress-step::before {
        top: 12px;
    }

    .dispute-progress-step strong {
        max-width: 64px;
        font-size: 0.48rem;
        line-height: 1.18;
    }

    .dispute-information-card,
    .dispute-case-actions {
        grid-template-columns: 1fr;
    }

    .dispute-information-card .dispute-information-note {
        grid-column: auto;
    }

    .dispute-information-card .dispute-final-conclusion {
        grid-column: auto;
    }

    .dispute-chat-heading,
    .dispute-chat-heading > div {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Seller dispute page uses the same blue console accent as the seller dashboard. */
#sellerDisputesPanel .dispute-case-search i,
#sellerDisputesPanel .dispute-case-metrics span i {
    color: #60a5fa;
}

#sellerDisputesPanel .dispute-case-search:focus-within {
    border-color: rgba(96, 165, 250, 0.64);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

#sellerDisputesPanel .dispute-case-filter:hover {
    border-color: rgba(96, 165, 250, 0.42);
    background: rgba(17, 25, 39, 0.96);
}

#sellerDisputesPanel .dispute-case-filter.is-active {
    border-color: rgba(96, 165, 250, 0.68);
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.16), transparent 65%),
        rgba(16, 24, 39, 0.98);
    box-shadow:
        inset 3px 0 0 #3b82f6,
        0 0 0 2px rgba(96, 165, 250, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.2);
}

#sellerDisputesPanel .dispute-case-filter:focus-visible {
    outline-color: #60a5fa;
}

#sellerDisputesPanel .dispute-case-item {
    background:
        linear-gradient(90deg, rgba(59, 130, 246, 0.045), transparent 34%),
        #121722;
}

#sellerDisputesPanel .dispute-case-item.expanded {
    border-color: rgba(96, 165, 250, 0.32);
}

#sellerDisputesPanel .dispute-case-item.expanded .dispute-expand-btn {
    border-color: rgba(96, 165, 250, 0.42);
    color: #93c5fd;
}

#sellerDisputesPanel .dispute-expanded-card {
    background:
        linear-gradient(180deg, rgba(59, 130, 246, 0.035), transparent 30%),
        rgba(11, 15, 23, 0.96);
}

#sellerDisputesPanel .dispute-chat-seller-avatar {
    border-color: rgba(96, 165, 250, 0.38);
    background: linear-gradient(135deg, #10213a, #151b26);
}

#sellerDisputesPanel .seller-agree-refund-btn {
    border-color: rgba(96, 165, 250, 0.42) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, #60a5fa, #38bdf8) !important;
    color: #061526 !important;
    box-shadow: 0 12px 26px rgba(59, 130, 246, 0.16);
}

#sellerDisputesPanel .dispute-case-actions .remove-dispute-btn {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(96, 165, 250, 0.32);
    color: #93c5fd;
}

.invoice-toolbar {
    padding: 20px;
}

.invoice-grid {
    overflow: hidden;
}

.invoice-row-head {
    background: rgba(7, 10, 16, 0.72);
    color: #a8c8f5;
    text-transform: uppercase;
}

.invoice-row {
    background: transparent;
}

.notification-metrics {
    margin: 0 0 16px;
}

.notification-metrics div {
    display: grid;
    gap: 6px;
    min-height: 82px;
    padding: 14px 16px;
}

.notification-metrics span {
    color: #8fb3df;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.notification-metrics strong {
    color: #fff;
}

.notification-toolbar {
    background: rgba(7, 10, 16, 0.62);
    border-color: rgba(148, 163, 184, 0.12);
}

.notification-row {
    grid-template-columns: 46px minmax(0, 1fr) 112px 110px;
    min-height: 84px;
}

.notification-row.unread {
    box-shadow: inset 3px 0 0 #ff4757;
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.10), transparent 46%),
        #121824;
}

.notification-row.is-static:hover {
    background: transparent;
}

.notification-row.is-static.unread:hover {
    background:
        linear-gradient(90deg, rgba(255, 71, 87, 0.10), transparent 46%),
        #121824;
}

.notification-page-crumb {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8fb3df;
    font-size: 0.82rem;
    font-weight: 850;
}

.notification-page-crumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #dbeafe;
    text-decoration: none;
}

.notification-page-crumb a:hover {
    color: #ff7180;
}

.notifications-page .notifications-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.notifications-page .notifications-hero-actions {
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.notification-hero-filter {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(18, 22, 32, 0.92);
    color: #8fb3df;
    padding: 0 12px;
}

.notification-hero-filter select {
    min-width: 160px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 850;
}

.notification-hero-filter select option {
    color: #111827;
}

.notifications-page .notification-toolbar {
    display: block;
}

.notification-filter-panel {
    margin-bottom: 18px;
}

.notification-filter-form {
    grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.45fr) minmax(180px, 0.45fr) 170px;
}

.notification-filter-form > button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 71, 87, 0.5);
    border-radius: 6px;
    background: linear-gradient(135deg, #ff4657, #ff6477);
    color: #fff;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(255, 71, 87, 0.18);
}

.notification-filter-form .order-filter-date::after {
    font-weight: 400;
}

.cart-filter-panel {
    margin-bottom: 18px;
}

.cart-filter-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 22px 22px;
}

.cart-filter-copy {
    display: grid;
    gap: 5px;
}

.cart-filter-copy strong {
    color: #fff;
    font-size: 1.05rem;
}

.cart-filter-copy span {
    color: #a9bdd8;
    font-size: 0.92rem;
}

.cart-filter-content > a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 6px;
    background: rgba(12, 18, 28, 0.9);
    color: #fff;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.cart-filter-content > a:hover {
    border-color: rgba(255, 71, 87, 0.44);
    color: #fff;
}

.cart-page .cart-section-actions a {
    display: none;
}

.notifications-page .notification-center {
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.022), transparent),
        #111620;
}

.notifications-page .notification-toolbar {
    padding: 16px 18px;
    background: rgba(7, 10, 16, 0.52);
}

.notifications-page .notification-toolbar h2 {
    font-size: 1.15rem;
}

.notifications-page .notification-toolbar p {
    font-size: 0.9rem;
}

.settings-unified-card {
    padding: 0;
    overflow: hidden;
}

.settings-unified-card > .settings-top {
    margin: 0;
    padding: 24px 28px;
    border-bottom-color: rgba(148, 163, 184, 0.14);
}

.settings-form {
    padding: 26px;
}

.settings-section-title {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.settings-toggle-row,
.settings-form .avatar-style-grid button {
    border-color: rgba(148, 163, 184, 0.14);
    background: #0d121b;
}

.cart-page-header.cart-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.cart-products-panel {
    min-width: 0;
}

.cart-section-title {
    padding: 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: #111620;
}

.cart-items {
    gap: 14px;
}

.cart-item {
    grid-template-columns: 104px minmax(0, 1fr) 120px auto;
}

.cart-item img {
    width: 104px;
    height: 74px;
}

.cart-summary {
    position: sticky;
    top: 98px;
}

.cart-trust-list p {
    border: 1px solid rgba(34, 197, 94, 0.14);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.075);
    padding: 10px 12px;
}

.order-status-page .order-summary-strip {
    display: none;
}

.orders-card-title {
    background: rgba(7, 10, 16, 0.52);
}

@media screen and (max-width: 900px) {
    .order-status-page,
    .settings-page,
    .support-workspace,
    .cart-page,
    .notifications-page {
        width: min(100% - 28px, 680px);
    }

    .support-hero,
    .notifications-hero,
    .cart-page-header.cart-hero,
    .settings-unified-card > .settings-top,
    .order-status-hero {
        grid-template-columns: 1fr;
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 18px;
    }

    .support-layout,
    .cart-layout,
    .support-form,
    .notification-metrics,
    .dispute-history-list {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .cart-qty,
    .remove-cart-btn {
        grid-column: 1 / -1;
    }

    .notification-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .notification-page-crumb {
        min-height: 42px;
        font-size: 0.78rem;
    }

    .notifications-page .notifications-hero {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .notifications-page .notifications-hero-actions {
        width: 100%;
        justify-content: stretch;
    }

    .notification-hero-filter,
    .notifications-page .notifications-hero-actions button,
    .notifications-page .notifications-hero-actions a {
        width: 100%;
    }

    .notification-hero-filter select {
        width: 100%;
        min-width: 0;
    }

    .cart-filter-content {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cart-filter-content > a {
        width: 100%;
    }

    .notification-type,
    .notification-row time {
        grid-column: 2;
        justify-self: start;
        text-align: left;
    }

    .settings-form {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

@media screen and (max-width: 640px) {
    .settings-unified-card > .settings-top {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
        padding: 18px;
    }

    .settings-avatar-wrap,
    .settings-avatar-button,
    .settings-avatar-button .character-avatar {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .settings-avatar-wrap {
        margin: 0;
    }

    .settings-avatar-button > span {
        display: none;
    }

    .settings-top h1 {
        margin-bottom: 4px;
        font-size: 1.35rem;
        line-height: 1.15;
    }

    .settings-top p {
        margin-bottom: 8px;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .settings-top a {
        font-size: 0.88rem;
    }

    .settings-top #settingsStatus {
        grid-column: 2;
        justify-self: start;
    }
}

@media screen and (max-width: 640px) {
    .cart-products-panel > .cart-section-title {
        display: none;
    }

    .cart-item {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "media media"
            "title title"
            "seller seller"
            "meta meta"
            "qty price";
        align-items: start;
        gap: 12px 14px;
        padding: 16px;
    }

    .cart-item-media {
        grid-area: media;
        width: 100%;
    }

    .cart-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        display: block;
    }

    .cart-info {
        display: contents;
    }

    .cart-item-title {
        grid-area: title;
        display: block;
        width: 100%;
        margin: 0;
        font-size: 1rem;
        line-height: 1.28;
        text-align: left;
    }

    .cart-seller-link {
        grid-area: seller;
        margin: 0;
    }

    .cart-meta {
        grid-area: meta;
        flex-wrap: nowrap;
        gap: 7px;
        margin: 0;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .cart-meta::-webkit-scrollbar {
        display: none;
    }

    .cart-meta span {
        flex: 0 0 auto;
        max-width: none;
        white-space: nowrap;
    }

    .cart-info strong {
        grid-area: price;
        align-self: center;
        justify-self: end;
        font-size: 1.08rem;
    }

    .cart-qty {
        grid-area: qty;
        grid-column: auto;
        justify-self: start;
        align-self: start;
        width: fit-content;
    }

    .remove-cart-btn {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .invoice-grid {
        display: grid;
        gap: 14px;
        padding: 12px;
        border: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .invoice-row {
        gap: 14px;
        padding: 18px;
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 8px;
        background:
            radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.055), transparent 36%),
            #111620;
    }

    .invoice-order-cell {
        gap: 14px;
    }

    .invoice-row small {
        margin-top: 6px;
    }
}

[data-support-page="tickets"] .support-layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 380px);
    gap: 20px;
}

[data-support-page="tickets"] .support-panel,
[data-support-page="invoices"] .support-panel,
[data-support-page="invoices"] .invoice-grid {
    border-radius: 8px;
}

[data-support-page="tickets"] .support-panel {
    padding: 24px;
}

[data-support-page="tickets"] .support-form {
    align-content: start;
    gap: 18px;
}

[data-support-page="tickets"] .ticket-form-fields {
    display: contents;
}

[data-support-page="tickets"] .ticket-form-toggle {
    display: none;
    flex: 0 0 auto;
    width: 38px;
    min-height: 38px;
    margin-left: auto;
    grid-column: auto;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(8, 14, 23, 0.88);
    color: #f8fbff;
    box-shadow: none;
    cursor: pointer;
}

[data-support-page="tickets"] .ticket-form-toggle i {
    color: #ff6678;
    transition: transform 0.18s ease;
}

[data-support-page="tickets"] .support-form textarea {
    min-height: 172px;
}

[data-support-page="tickets"] aside.support-panel {
    position: sticky;
    top: 96px;
}

[data-support-page="tickets"] .support-list {
    gap: 14px;
}

[data-support-page="tickets"] .support-list-item {
    display: grid;
    gap: 10px;
    padding: 16px;
}

[data-support-page="tickets"] .support-list-item div {
    align-items: flex-start;
}

[data-support-page="tickets"] .support-list-item span {
    text-align: right;
}

[data-support-page="tickets"] .support-list-item em {
    width: fit-content;
    margin-top: 0;
}

[data-support-page="tickets"] .support-message {
    margin: -2px 0;
}

[data-support-page="invoices"] .invoice-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 20px;
}

[data-support-page="invoices"] .invoice-toolbar .support-panel-head {
    margin: 0;
}

[data-support-page="invoices"] .invoice-toolbar .support-panel-head p {
    margin: 4px 0 0;
}

[data-support-page="invoices"] .invoice-grid {
    border-radius: 8px;
}

[data-support-page="invoices"] .invoice-row-head {
    padding: 15px 20px;
}

[data-support-page="invoices"] .invoice-row {
    min-height: 78px;
    padding: 18px 20px;
}

[data-support-page="invoices"] .invoice-row button {
    justify-self: stretch;
}

@media screen and (max-width: 900px) {
    [data-support-page="tickets"] .support-layout,
    [data-support-page="invoices"] .invoice-toolbar {
        grid-template-columns: 1fr;
    }

    [data-support-page="tickets"] aside.support-panel {
        position: static;
    }

    [data-support-page="invoices"] .invoice-toolbar select {
        max-width: none;
    }
}

@media screen and (max-width: 640px) {
    [data-support-page="tickets"] .support-hero,
    [data-support-page="invoices"] .support-hero {
        min-height: 0;
        padding: 18px;
    }

    [data-support-page="tickets"] .support-hero h1,
    [data-support-page="invoices"] .support-hero h1 {
        font-size: 1.45rem;
    }

    [data-support-page="tickets"] .support-panel,
    [data-support-page="invoices"] .invoice-toolbar {
        padding: 18px;
    }

    [data-support-page="tickets"] .support-panel-head,
    [data-support-page="invoices"] .support-panel-head {
        gap: 12px;
    }

    [data-support-page="tickets"] .support-form > .support-panel-head {
        align-items: center;
        margin-bottom: 0;
        cursor: pointer;
    }

    [data-support-page="tickets"] .support-form > .support-panel-head p {
        display: none;
    }

    [data-support-page="tickets"] .support-form > .support-panel-head h2 {
        margin: 0;
        font-size: 1.08rem;
        line-height: 1.2;
    }

    [data-support-page="tickets"] .ticket-form-toggle {
        display: grid;
    }

    [data-support-page="tickets"] .support-form:not(.is-mobile-collapsed) .ticket-form-toggle i {
        transform: rotate(180deg);
    }

    [data-support-page="tickets"] .support-form.is-mobile-collapsed {
        gap: 0;
        padding: 14px 16px;
    }

    [data-support-page="tickets"] .support-form.is-mobile-collapsed .ticket-form-fields {
        display: none;
    }

    [data-support-page="tickets"] .support-panel-head > span,
    [data-support-page="invoices"] .support-panel-head > span {
        width: 40px;
        height: 40px;
    }

    [data-support-page="tickets"] .support-list-item div {
        display: grid;
        gap: 5px;
    }

    [data-support-page="tickets"] .support-list-item span {
        text-align: left;
    }
}

/* Purchase order filter panel */
.order-page-crumb {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9aa7ba;
    font-size: 0.88rem;
}

.order-page-crumb a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #9aa7ba;
    text-decoration: none;
}

.order-page-crumb a:hover {
    color: #93c5fd;
}

.order-filter-panel {
    position: relative;
    z-index: 5;
    margin-bottom: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.09), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.028), transparent),
        #111620;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24);
    overflow: visible;
}

.order-filter-panel header {
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px 8px 0 0;
}

.order-filter-panel h1 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.28rem;
    margin: 0;
}

.order-filter-panel h1 i {
    color: #60a5fa;
}

.order-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    padding: 18px 22px 8px;
}

.order-filter-tabs button {
    border: 0;
    background: transparent;
    color: #d7e2f3;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
    padding: 0;
}

.order-filter-tabs button.active,
.order-filter-tabs button:hover {
    color: #60a5fa;
}

.order-filter-form {
    display: grid;
    grid-template-columns: minmax(190px, 0.85fr) minmax(260px, 1.35fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr) 170px;
    gap: 16px;
    align-items: end;
    padding: 18px 22px 24px;
}

.order-filter-field {
    display: grid;
    gap: 12px;
}

.order-filter-field > span {
    color: #9fb0c8;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.order-filter-input {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 6px;
    background: #0b111a;
    padding: 0 13px;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.order-filter-input > i {
    flex: 0 0 auto;
    color: #60a5fa;
    font-size: 0.88rem;
}

.order-filter-input:focus-within {
    border-color: rgba(96, 165, 250, 0.68);
    background: #0e141e;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.order-filter-input input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0;
    font: inherit;
}

.order-filter-input input:focus {
    outline: none;
}

.order-filter-input input::placeholder {
    color: #6f7d91;
}

.order-filter-date input {
    cursor: text;
    caret-color: #fff;
}

.order-filter-date {
    position: relative;
    cursor: pointer;
}

.order-filter-date::after {
    content: "\f133";
    margin-left: auto;
    color: #7f8da1;
    font-family: "Font Awesome 6 Free";
    font-size: 0.9rem;
    font-weight: 400;
    pointer-events: none;
}

.order-filter-date.open {
    border-color: rgba(96, 165, 250, 0.72);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.order-calendar {
    position: absolute;
    z-index: 60;
    top: calc(100% + 10px);
    right: 0;
    width: 252px;
    padding: 10px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0, rgba(59, 130, 246, 0.12), transparent 32%),
        #0c111a;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.52);
}

.order-calendar[hidden] {
    display: none;
}

.order-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-calendar-head {
    gap: 7px;
    margin-bottom: 9px;
}

.order-calendar-selects {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 5px;
}

.order-calendar-selects select {
    min-width: 0;
    height: 30px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 5px;
    outline: none;
    background: #151c28;
    color: #fff;
    padding: 0 5px;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
}

.order-calendar-head button,
.order-calendar-days button {
    border: 0;
    color: #cbd6e6;
    background: transparent;
    cursor: pointer;
}

.order-calendar-head button {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 6px;
    background: #121925;
}

.order-calendar-head button:hover {
    border-color: rgba(96, 165, 250, 0.45);
    color: #93c5fd;
}

.order-calendar-weekdays,
.order-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.order-calendar-weekdays {
    margin-bottom: 5px;
}

.order-calendar-weekdays span {
    color: #6f7d91;
    font-size: 0.66rem;
    font-weight: 850;
    text-align: center;
    text-transform: uppercase;
}

.order-calendar-days button {
    width: 100%;
    height: 27px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 750;
    box-shadow: none;
    transform: none;
}

.order-calendar-days button:hover {
    color: #fff;
    background: rgba(59, 130, 246, 0.18);
}

.order-calendar-days button.muted {
    color: #4f5b6c;
}

.order-calendar-days button.today {
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.5);
}

.order-calendar-days button.selected {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #38bdf8);
    box-shadow: 0 5px 14px rgba(59, 130, 246, 0.28);
}

.order-filter-form > button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #3b82f6, #38bdf8);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
    transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.order-filter-form > button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 13px 28px rgba(59, 130, 246, 0.24);
}

.order-filter-panel .order-status-error {
    min-height: 18px;
    margin: -12px 22px 18px !important;
}

@media screen and (max-width: 1180px) and (min-width: 901px) {
    .order-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-filter-form > button {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 900px) {
    .order-filter-tabs {
        gap: 8px 16px;
    }

    .order-filter-tabs button {
        min-height: 24px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: 0.78rem;
    }

    .order-filter-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .order-filter-field {
        gap: 10px;
    }

    .order-calendar {
        right: auto;
        left: 0;
        width: min(252px, calc(100vw - 68px));
    }
}

/* Seller panel uses the public G4BOOST header. */
.seller-console-body {
    --seller-public-header-height: 76px;
}

.seller-console-body #navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.seller-console-body .navbar {
    min-height: var(--seller-public-header-height);
    background:
        linear-gradient(180deg, rgba(19, 19, 22, 0.98), rgba(13, 15, 22, 0.98));
    border-bottom-color: rgba(148, 163, 184, 0.12);
}

.seller-console-body .navbar .search-container input {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        #1a1b21;
    border-color: rgba(148, 163, 184, 0.16);
}

.seller-console-body .admin-console {
    min-height: calc(100vh - var(--seller-public-header-height));
}

.seller-console-body .admin-sidebar {
    top: var(--seller-public-header-height);
    height: calc(100vh - var(--seller-public-header-height));
    min-height: calc(100vh - var(--seller-public-header-height));
}

.seller-console-body .seller-modal {
    z-index: 20020;
}

@media screen and (max-width: 640px) {
    .seller-console-body {
        --seller-public-header-height: 104px;
    }

    .seller-console-body #navbar,
    .seller-console-body .navbar {
        width: 100%;
    }

    .seller-console-body .navbar {
        min-height: var(--seller-public-header-height);
        background:
            radial-gradient(circle at 8% 10%, rgba(255, 71, 87, 0.14), transparent 32%),
            linear-gradient(180deg, rgba(15, 17, 24, 0.99), rgba(9, 12, 19, 0.99));
    }

    .seller-console-body .admin-console,
    .seller-console-body .seller-sidebar,
    .seller-console-body .admin-console-main {
        min-height: calc(100svh - var(--seller-public-header-height));
    }

    .seller-console-body .seller-sidebar {
        height: auto;
    }
}

/* Final seller offers mobile alignment lock. */
@media screen and (max-width: 760px) {
    .seller-console-body.is-mobile-panel-page .admin-console-main {
        width: 100% !important;
        max-width: none !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title-wrap {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        justify-items: stretch !important;
        gap: 12px !important;
        box-sizing: border-box !important;
        border: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offers-title,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-title-actions,
    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filters:not(.is-open) {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        justify-self: stretch !important;
        box-sizing: border-box !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-title-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-filters:not(.is-open) {
        grid-template-columns: minmax(0, 1fr) 46px !important;
    }
}

/* Public header parity lock: keep the same G4BOOST header on every non-help page. */
body:not(.search-panel-open) .navbar {
    min-height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    padding: 8px 5% !important;
    background: rgba(13, 15, 22, 0.78) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    color: #fff !important;
    box-sizing: border-box !important;
}

body:not(.search-panel-open) .navbar .logo {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    min-height: 56px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body:not(.search-panel-open) .navbar .logo .brand-logo-mark {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    margin: -4px -10px -4px 0 !important;
}

body:not(.search-panel-open) .navbar .logo .brand-logo-wordmark {
    height: 20px !important;
    width: auto !important;
    max-width: 250px !important;
    filter: none !important;
}

body:not(.search-panel-open) .navbar .search-container {
    order: initial !important;
    flex: 1 1 550px !important;
    width: auto !important;
    max-width: 550px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 10060 !important;
}

body:not(.search-panel-open) .navbar .search-container input {
    width: 100% !important;
    height: auto !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    border: 1px solid #2d2d35 !important;
    border-radius: 8px !important;
    background: #1c1c21 !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

body:not(.search-panel-open) .navbar .search-container input::placeholder {
    color: #8f929c !important;
}

body:not(.search-panel-open) .navbar .nav-links {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 22px !important;
    margin-left: 20px !important;
    min-width: 0 !important;
}

body:not(.search-panel-open) .navbar .cart-btn,
body:not(.search-panel-open) .navbar .chat-nav-btn,
body:not(.search-panel-open) .navbar .notification-nav-btn {
    width: 34px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 1.16rem !important;
    text-decoration: none !important;
}

body:not(.search-panel-open) .navbar .account-menu-trigger {
    width: 42px !important;
    height: 42px !important;
}

@media screen and (max-width: 640px) {
    body:not(.search-panel-open) .navbar {
        min-height: 104px !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 8px 16px 8px !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: visible !important;
        z-index: 10050 !important;
    }

    body:not(.search-panel-open) .navbar .logo {
        flex: 0 0 auto !important;
        max-width: 58% !important;
        min-height: 40px !important;
    }

    body:not(.search-panel-open) .navbar .logo .brand-logo-mark {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        margin: -5px -9px -5px 0 !important;
    }

    body:not(.search-panel-open) .navbar .logo .brand-logo-wordmark {
        height: 23px !important;
        max-width: 150px !important;
    }

    body:not(.search-panel-open) .navbar .nav-links {
        flex: 1 1 auto !important;
        gap: 12px !important;
        margin-left: auto !important;
    }

    body:not(.search-panel-open) .navbar .cart-btn,
    body:not(.search-panel-open) .navbar .notification-nav-btn {
        display: none !important;
    }

    body:not(.search-panel-open) .navbar .search-container {
        order: 3 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 2px 0 0 !important;
    }

    body:not(.search-panel-open) .navbar .search-container input {
        min-height: 36px !important;
        height: 36px !important;
        padding: 8px 11px !important;
        border: 1px solid rgba(255, 71, 92, 0.34) !important;
        border-radius: 8px !important;
        background:
            linear-gradient(135deg, rgba(255, 71, 92, 0.07), rgba(255, 255, 255, 0.035)),
            #151821 !important;
        color: #f7f9ff !important;
        font-size: 0.82rem !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.055),
            0 0 0 1px rgba(255, 176, 32, 0.06) !important;
    }
}

/* Keep the public header clear and usable while page modals are open. */
:root {
    --g4boost-public-header-height: 76px;
}

body:not(.search-panel-open) #navbar,
body:not(.search-panel-open) .navbar {
    z-index: 2147483600 !important;
}

body:not(:has(.help-topbar)):not(.search-panel-open) {
    padding-top: var(--g4boost-public-header-height) !important;
}

body.login-screen-body:not(.search-panel-open) {
    padding-top: 0 !important;
}

body.admin-console-body:not(.seller-console-body):not(.search-panel-open) {
    padding-top: 0 !important;
}

body:not(:has(.help-topbar)):not(.search-panel-open) #navbar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 2147483600 !important;
}

body:not(:has(.help-topbar)):not(.search-panel-open) .navbar {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
}

body:not(.search-panel-open) .seller-modal,
body:not(.search-panel-open) .cancel-request-modal,
body:not(.search-panel-open) .dispute-request-modal,
body:not(.search-panel-open) .chat-media-modal,
body:not(.search-panel-open) .chat-report-modal,
body:not(.search-panel-open) .seller-filter-backdrop {
    top: var(--g4boost-public-header-height) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 20020 !important;
}

body:not(.search-panel-open) .seller-modal,
body:not(.search-panel-open) .cancel-request-modal,
body:not(.search-panel-open) .dispute-request-modal,
body:not(.search-panel-open) .chat-media-modal,
body:not(.search-panel-open) .chat-report-modal,
body:not(.search-panel-open) .seller-filter-backdrop,
body:not(.search-panel-open) .cancel-request-backdrop,
body:not(.search-panel-open) .chat-media-backdrop,
body:not(.search-panel-open) .chat-report-backdrop {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

@media screen and (max-width: 640px) {
    :root {
        --g4boost-public-header-height: 104px;
    }
}

/* Modal behavior lock: blur the page below the header, keep the header clear, and keep tall dialogs scrollable. */
body:not(.search-panel-open) .seller-modal {
    display: grid !important;
    place-items: center !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    padding: 20px !important;
    background: rgba(2, 6, 14, 0.72) !important;
    overscroll-behavior: contain !important;
}

body:not(.search-panel-open) .seller-modal[hidden] {
    display: none !important;
}

body:not(.search-panel-open) .seller-modal-card {
    max-height: calc(100dvh - var(--g4boost-public-header-height) - 40px) !important;
    margin: 0 auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body:not(.search-panel-open) #sellerSingleOfferModal.is-details-mode {
    align-items: center !important;
    padding: 18px !important;
}

body:not(.search-panel-open) #sellerSingleOfferModal.is-details-mode .seller-single-offer-card {
    min-height: auto !important;
    max-height: calc(100dvh - var(--g4boost-public-header-height) - 36px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body:not(.search-panel-open) #navbar,
body:not(.search-panel-open) .navbar {
    z-index: 2147483600 !important;
}

@media screen and (max-width: 640px) {
    body:not(.search-panel-open) .seller-modal {
        padding: 12px !important;
        overflow-y: hidden !important;
    }

    body:not(.search-panel-open) .seller-modal-card {
        max-height: calc(100dvh - var(--g4boost-public-header-height) - 24px) !important;
    }

    body:not(.search-panel-open) #sellerSingleOfferModal.is-details-mode {
        padding: 0 !important;
    }

    body:not(.search-panel-open) #sellerSingleOfferModal.is-details-mode .seller-single-offer-card {
        min-height: auto !important;
        max-height: calc(100dvh - var(--g4boost-public-header-height)) !important;
        border-radius: 0 !important;
    }
}

/* Stable search dropdown: desktop follows the header input even after scrolling. */
@media screen and (min-width: 641px) {
    body:not(.search-panel-open) .search-container .game-search-results,
    body.search-panel-open .search-container .game-search-results {
        position: fixed !important;
        top: var(--search-top, 86px) !important;
        right: auto !important;
        left: var(--search-left, 50%) !important;
        width: var(--search-width, min(550px, calc(100vw - 32px))) !important;
        max-height: calc(100dvh - var(--search-top, 86px) - 18px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        z-index: 2147483500 !important;
        transform: none !important;
    }
}

.search-container .game-search-results[hidden],
body.search-panel-open .search-container .game-search-results[hidden],
body:has(.hero-home) .search-container .game-search-results[hidden] {
    display: none !important;
}

#sellerOrdersPanel .seller-offers-title-wrap {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

#sellerOrdersPanel .seller-offers-title {
    background: transparent !important;
    box-shadow: none !important;
}

#sellerOrdersPanel .seller-orders-title-wrap {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

#sellerOrdersPanel .seller-order-table-title {
    background: transparent !important;
    box-shadow: none !important;
}

/* Standalone chat must ignore the public-site header/layout spacing completely. */
html.chat-shell-root,
html:has(body.chat-focus-body),
body.chat-focus-body {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    scrollbar-gutter: auto !important;
}

body.chat-focus-body {
    position: static !important;
    background: #090d14 !important;
}

body.chat-focus-body #navbar,
body.chat-focus-body .navbar {
    display: none !important;
    min-height: 0 !important;
}

body.chat-focus-body > .chat-workspace {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    z-index: 2147483647 !important;
}

.chat-workspace-main,
.chat-workspace-sidebar,
.chat-workspace-orders,
.chat-focus-conversation,
.chat-focus-conversation .order-chat-box,
.chat-focus-conversation .order-chat-messages {
    min-height: 0 !important;
}

.chat-workspace-main,
.chat-workspace-sidebar,
.chat-workspace-orders {
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
}

.chat-focus-conversation,
.chat-focus-conversation .order-chat-box {
    height: 100% !important;
    overflow: hidden !important;
}

.chat-focus-conversation .order-chat-box {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
}

.chat-focus-conversation .order-chat-messages {
    max-height: none !important;
    overflow-y: auto !important;
}

.chat-focus-conversation .order-chat-compose {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) 40px !important;
    flex: 0 0 auto !important;
    position: relative !important;
    bottom: auto !important;
    z-index: 2 !important;
}

.chat-focus-conversation .order-chat-attach,
.chat-focus-conversation .order-chat-compose button {
    display: grid !important;
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    place-items: center !important;
}

.chat-focus-conversation .order-chat-compose textarea {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 90px !important;
}

.chat-focus-conversation.is-seller-perspective .order-chat-message.customer {
    justify-self: start !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-top-left-radius: 4px !important;
    border-top-right-radius: 12px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 60%),
        #171d29 !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18) !important;
}

.chat-focus-conversation.is-seller-perspective .order-chat-message.admin {
    justify-self: end !important;
    border: 1px solid rgba(255, 91, 116, 0.42) !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 4px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 58%),
        linear-gradient(135deg, rgba(190, 43, 70, 0.94), rgba(139, 31, 53, 0.94)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 24px rgba(90, 12, 29, 0.2) !important;
}

.chat-focus-conversation.is-seller-perspective .order-chat-message.support {
    justify-self: start !important;
    border: 1px solid rgba(59, 130, 246, 0.34) !important;
    border-top-left-radius: 4px !important;
    border-top-right-radius: 12px !important;
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.18), transparent 58%),
        #111827 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 26px rgba(15, 23, 42, 0.22) !important;
}

/* Mobile-only seller orders: match the My Offers phone filter/header pattern. */
@media screen and (max-width: 760px) {
    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-orders-title-wrap {
        display: grid !important;
        width: 100% !important;
        gap: 12px !important;
        margin: 0 0 12px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-offers-title {
        position: sticky !important;
        top: 0 !important;
        z-index: 12 !important;
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) 42px !important;
        align-items: center !important;
        min-height: 62px !important;
        width: 100% !important;
        border: 1px solid rgba(148, 163, 184, 0.16) !important;
        border-radius: 8px !important;
        background: #111722 !important;
        padding: 0 12px !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-offers-title > div {
        justify-self: center !important;
        text-align: center !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-offers-title h2 {
        font-size: 18px !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-offers-title > div span {
        display: none !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-offers-title-spacer {
        display: block !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 46px !important;
        gap: 8px !important;
        margin: 0 0 14px !important;
        border: 1px solid rgba(148, 163, 184, 0.16) !important;
        border-radius: 8px !important;
        background: linear-gradient(180deg, #141b27, #101722) !important;
        padding: 12px !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters .seller-offer-filter-panel-head,
    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters > label:not(.seller-offer-search) {
        display: none !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters .seller-offer-search {
        grid-column: 1 !important;
        gap: 0 !important;
        font-size: 0 !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters .seller-offer-search input {
        min-height: 46px !important;
        border-radius: 8px !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        padding: 0 14px !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters .seller-offer-mobile-filter-btn {
        width: 46px !important;
        height: 46px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(147, 197, 253, 0.24) !important;
        border-radius: 8px !important;
        background:
            radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
            rgba(15, 23, 42, 0.92) !important;
        color: #e5edf8 !important;
        font-size: 15px !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters .seller-offer-mobile-filter-btn span {
        display: none !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters.is-open {
        position: fixed !important;
        inset: var(--g4boost-public-header-height, 104px) 0 0 0 !important;
        z-index: 2147483400 !important;
        grid-template-columns: 1fr !important;
        grid-auto-rows: max-content !important;
        align-content: start !important;
        gap: 16px !important;
        width: 100% !important;
        height: calc(100svh - var(--g4boost-public-header-height, 104px)) !important;
        margin: 0 !important;
        overflow: auto !important;
        overscroll-behavior: contain !important;
        border: 0 !important;
        border-radius: 0 !important;
        background:
            radial-gradient(circle at 8% 0, rgba(255, 71, 87, 0.14), transparent 30%),
            linear-gradient(180deg, #151b27, #0d131d) !important;
        padding: 18px 14px 28px !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters.is-open .seller-offer-filter-panel-head {
        position: sticky !important;
        top: 0 !important;
        z-index: 2 !important;
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
        min-height: 58px !important;
        border: 1px solid rgba(148, 163, 184, 0.16) !important;
        border-radius: 8px !important;
        background: rgba(15, 23, 42, 0.96) !important;
        padding: 0 10px !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters.is-open .seller-offer-filter-panel-head button {
        width: 34px !important;
        height: 34px !important;
        display: grid !important;
        place-items: center !important;
        border: 1px solid rgba(148, 163, 184, 0.22) !important;
        border-radius: 50% !important;
        background: rgba(8, 13, 22, 0.86) !important;
        color: #fff !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters.is-open .seller-offer-filter-panel-head .seller-offer-filter-reset {
        width: auto !important;
        min-width: 72px !important;
        padding: 0 11px !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        background:
            linear-gradient(135deg, rgba(255, 71, 92, 0.16), rgba(255, 176, 32, 0.10)),
            rgba(8, 13, 22, 0.86) !important;
        color: #f8fbff !important;
        font-size: 12px !important;
        font-weight: 900 !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters.is-open .seller-offer-filter-panel-head strong {
        justify-self: center !important;
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 950 !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters.is-open > label:not(.seller-offer-search) {
        display: grid !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters.is-open .seller-offer-search,
    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters.is-open .seller-offer-mobile-filter-btn {
        display: none !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters.is-open .seller-offer-mobile-apply-btn {
        width: 100% !important;
        min-height: 50px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        margin-top: 4px !important;
        border: 1px solid rgba(34, 197, 94, 0.48) !important;
        border-radius: 10px !important;
        background:
            radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.18), transparent 34%),
            linear-gradient(135deg, #22c55e, #15803d) !important;
        color: #fff !important;
        font: inherit !important;
        font-size: 14px !important;
        font-weight: 950 !important;
        box-shadow:
            0 16px 34px rgba(22, 163, 74, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
        cursor: pointer !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel {
        width: 100% !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-orders-title-wrap,
    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-offers-title {
        width: 100% !important;
        max-width: none !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters {
        margin: 0 0 14px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-table {
        margin: 0 !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-table-title {
        display: none !important;
    }

    .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters.is-open {
        padding: 18px 14px 28px !important;
    }

    #sellerOrdersPanel .seller-orders-board,
    #sellerOrdersPanel .seller-orders-title-wrap {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    #sellerOrdersPanel .seller-offers-title {
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) 42px !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: 0 0 100% !important;
        justify-self: stretch !important;
        align-self: stretch !important;
        box-sizing: border-box !important;
    }

    #sellerOrdersPanel .seller-offers-title > div {
        justify-self: center !important;
        min-width: 0 !important;
        text-align: center !important;
    }

    #sellerOrdersPanel .seller-offers-title-spacer {
        display: block !important;
        width: 42px !important;
        height: 1px !important;
        visibility: hidden !important;
    }
}

@media (max-width: 760px) {
  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel[hidden] {
    display: none !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-orders-title-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-offers-title {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 42px !important;
    gap: 10px !important;
    padding: 0 12px !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-offers-title-spacer {
    display: block !important;
    width: 42px !important;
    visibility: hidden !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-offers-title > div {
    justify-self: center !important;
    text-align: center !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-filters:not(.is-open),
  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-list-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto auto !important;
    align-items: start !important;
    gap: 10px 12px !important;
    min-height: auto !important;
    padding: 12px !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-reference {
    display: block !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-reference strong {
    display: block !important;
    min-height: 0 !important;
    overflow: visible !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-reference small,
  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-meta-line,
  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-mobile-date {
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-reference small {
    margin-top: 7px !important;
    color: #a9c8f6 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-meta-line {
    margin-top: 7px !important;
    color: #8fb1d9 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-mobile-date {
    margin-top: 6px !important;
    color: #b5cff1 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-category,
  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-date {
    display: none !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-status {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: start !important;
    white-space: nowrap !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel .seller-order-list-row > strong {
    grid-column: 2 !important;
    grid-row: 3 !important;
    justify-self: end !important;
    align-self: start !important;
    color: #fff !important;
    font-size: 14px !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 760px) {
  .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-row {
    grid-template-rows: 34px 0 auto auto auto 34px !important;
    gap: 0 8px !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-top {
    min-height: 34px !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
    background:
      linear-gradient(90deg, rgba(56, 189, 248, 0.04), rgba(255, 255, 255, 0.02), rgba(255, 71, 87, 0.04)),
      rgba(255, 255, 255, 0.018) !important;
    padding: 0 12px !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-mobile-divider {
    display: none !important;
    grid-row: 2 !important;
    align-self: start !important;
    height: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-main > div {
    padding-top: 14px !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOffersPanel .seller-offer-manager-main a {
    display: block !important;
    min-height: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
  }
}

/* Final mobile seller-order detail: open as a full-screen page, not below the card list. */
@media (max-width: 760px) {
  body.seller-order-detail-open {
    overflow: hidden !important;
  }

  body.seller-order-detail-open #navbar,
  body.seller-order-detail-open .navbar,
  body:has(#sellerOrdersPanel.detail-open) #navbar,
  body:has(#sellerOrdersPanel.detail-open) .navbar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel.detail-open .seller-orders-board {
    display: none !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel.detail-open .seller-order-editor {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    display: block !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    background: #07101b !important;
    padding: 0 !important;
    pointer-events: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel.detail-open .seller-order-editor[hidden] {
    display: none !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel.detail-open .seller-order-detail-card {
    min-height: 100dvh !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: calc(12px + env(safe-area-inset-top)) 14px calc(22px + env(safe-area-inset-bottom)) !important;
    background:
      radial-gradient(circle at 10% 0, rgba(255, 71, 87, 0.13), transparent 32%),
      radial-gradient(circle at 92% 0, rgba(34, 197, 94, 0.12), transparent 28%),
      linear-gradient(180deg, #141b27, #07101b) !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel.detail-open .seller-order-detail-topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
    min-height: 56px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
    box-sizing: border-box !important;
    margin: calc(-12px - env(safe-area-inset-top)) -14px 16px !important;
    padding: calc(10px + env(safe-area-inset-top)) 14px 10px !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
    background: rgba(7, 16, 27, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    pointer-events: auto !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel.detail-open .seller-order-detail-back {
    position: relative !important;
    z-index: 3 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    justify-self: start !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel.detail-open .seller-order-top-status {
    min-width: 0 !important;
    justify-self: end !important;
  }

  .seller-console-body.is-mobile-panel-page #sellerOrdersPanel.detail-open .seller-order-top-status .seller-order-status {
    max-width: 132px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* Final product detail tabs sizing: full card width, auto height, wrapped text. */
.product-info-card .account-detail-accordion,
.product-detail-tabs.service-detail-tabs {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

.product-info-card .account-detail-accordion .product-tab-buttons,
.product-detail-tabs.service-detail-tabs .product-tab-buttons {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.product-info-card .account-detail-accordion .product-tab-panel,
.product-detail-tabs.service-detail-tabs .product-tab-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.account-detail-accordion .product-description-section,
.account-detail-accordion .product-reviews-panel,
.product-detail-tabs.service-detail-tabs .product-description-section,
.product-detail-tabs.service-detail-tabs .product-reviews-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.product-description-section,
.product-description-section p,
.product-description-section li,
.product-reviews-panel,
.product-review-row,
.product-review-row p {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.product-description-section p:last-child {
    margin-bottom: 0 !important;
}

/* Final description polish: keep the tab color stable and reduce inner air. */
.product-info-card .account-detail-accordion .product-description-section,
.product-detail-tabs.service-detail-tabs .product-description-section {
    min-height: 0 !important;
    padding: 18px 22px !important;
    border: 1px solid rgba(255, 255, 255, 0.085) !important;
    border-radius: 0 14px 14px 14px !important;
    background: rgba(10, 13, 20, 0.72) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.product-info-card .account-detail-accordion .product-description-section p,
.product-detail-tabs.service-detail-tabs .product-description-section p {
    max-width: none !important;
    margin: 0 !important;
    color: #cbd8ea !important;
    font-size: 0.92rem !important;
    line-height: 1.58 !important;
}

/* Final reviews polish: divider table, 10-row scroll, long-comment containment. */
.product-reviews-panel {
    --review-row-size: 74px;
    --review-row-gap: 0px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 18px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.085) !important;
    border-radius: 0 14px 14px 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: rgba(10, 13, 20, 0.72) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.account-detail-accordion .product-reviews-panel,
.product-detail-tabs.service-detail-tabs .product-reviews-panel {
    overflow: hidden !important;
}

.product-review-table-head,
.product-review-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(96px, 0.78fr) minmax(0, 1.48fr) minmax(122px, 0.92fr) minmax(108px, 0.82fr) !important;
    gap: 18px !important;
}

.product-review-table-head {
    padding: 0 18px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.105) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #eef5ff !important;
    font-size: 0.78rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase;
}

.product-review-table-head span {
    min-width: 0 !important;
    justify-self: start !important;
    text-align: left !important;
}

.product-review-table-head span:nth-child(4) {
    justify-self: center !important;
    margin-right: 0;
    text-align: center !important;
}

.product-review-table-head span:nth-child(3) {
    justify-self: center !important;
    text-align: center !important;
}

.product-reviews-list {
    display: grid !important;
    gap: var(--review-row-gap) !important;
    max-height: calc((var(--review-row-size) * 10) + (var(--review-row-gap) * 9));
    margin-top: 0;
    padding-right: 8px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 83, 104, 0.62) rgba(255, 255, 255, 0.06);
}

.product-reviews-list::-webkit-scrollbar,
.review-comment::-webkit-scrollbar {
    width: 7px;
}

.product-reviews-list::-webkit-scrollbar-track,
.review-comment::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.product-reviews-list::-webkit-scrollbar-thumb,
.review-comment::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, #ff5368, #facc15);
}

.product-review-row {
    min-height: var(--review-row-size) !important;
    height: auto !important;
    align-items: start !important;
    padding: 14px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.product-review-row:last-child {
    border-bottom: 0 !important;
}

.product-review-row > * {
    min-width: 0 !important;
}

.review-feedback {
    max-width: 100%;
    justify-self: start !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: hidden;
}

.review-feedback span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-comment,
.product-review-row p.review-comment {
    justify-self: stretch !important;
    max-height: none !important;
    margin: 0 !important;
    padding-right: 0;
    overflow: visible !important;
    color: #d8e6f7 !important;
    line-height: 1.55 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.review-comment:focus {
    max-height: none !important;
    outline: 1px solid rgba(255, 83, 104, 0.55);
    outline-offset: 3px;
}

.product-review-row strong {
    max-width: 100%;
    justify-self: center !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    color: #fff !important;
    text-align: center !important;
    text-overflow: initial !important;
    white-space: normal !important;
}

.product-review-row time {
    max-width: 100%;
    justify-self: center !important;
    margin-right: 0;
    overflow: hidden;
    color: #9fc6f2 !important;
    text-align: center !important;
    text-overflow: ellipsis;
    white-space: nowrap !important;
}

@media screen and (max-width: 620px) {
    .product-reviews-panel {
        --review-row-size: 156px;
        padding: 18px !important;
        border-radius: 0 12px 12px 12px !important;
    }

    .product-review-table-head {
        display: none !important;
    }

    .product-review-row {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 9px !important;
        align-items: start !important;
    }

    .product-review-row strong,
    .product-review-row time {
        justify-self: start !important;
        text-align: left !important;
    }
}

@media screen and (max-width: 620px) {
    .product-info-card .account-detail-accordion .product-description-section {
        padding: 14px 16px !important;
        background: rgba(10, 13, 20, 0.72) !important;
    }

    .product-info-card .account-detail-accordion .product-description-section p {
        font-size: 0.84rem !important;
        line-height: 1.52 !important;
    }

    .product-info-card .account-detail-accordion .product-reviews-panel {
        padding: 16px !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
        background:
            linear-gradient(145deg, rgba(16, 21, 32, 0.98), rgba(8, 11, 18, 0.96)) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            0 18px 42px rgba(0, 0, 0, 0.28) !important;
    }

    .product-info-card .account-detail-accordion .product-reviews-head {
        display: none;
    }

    .product-info-card .account-detail-accordion .product-reviews-head h2 {
        margin: 0;
        color: #fff;
        font-size: 1rem;
        line-height: 1.2;
    }

    .product-info-card .account-detail-accordion .product-reviews-head span {
        max-width: 142px;
        padding: 6px 9px;
        border: 1px solid rgba(34, 197, 94, 0.28);
        border-radius: 999px;
        background: rgba(34, 197, 94, 0.08);
        color: #9ef5bd;
        font-size: 0.7rem;
        font-weight: 900;
        line-height: 1.2;
        text-align: right;
    }

    .product-info-card .account-detail-accordion .product-reviews-list {
        gap: 12px !important;
        max-height: none;
        padding: 0 2px 2px;
        overflow: visible !important;
    }

    .product-info-card .account-detail-accordion .product-review-row {
        position: relative;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 10px 12px !important;
        align-items: start !important;
        padding: 15px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        background:
            radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.1), transparent 35%),
            linear-gradient(145deg, rgba(20, 25, 37, 0.98), rgba(9, 12, 20, 0.98)) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.07),
            0 12px 24px rgba(0, 0, 0, 0.22) !important;
    }

    .product-info-card .account-detail-accordion .review-feedback {
        grid-column: 1;
        grid-row: 1;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        justify-self: start !important;
        color: #dceaff;
    }

    .product-info-card .account-detail-accordion .review-feedback > i,
    .product-info-card .account-detail-accordion .review-feedback > span {
        display: inline-flex;
        align-items: center;
    }

    .product-info-card .account-detail-accordion .review-feedback > i {
        margin-right: 0;
        font-size: 0.95rem;
    }

    .product-info-card .account-detail-accordion .review-feedback > span {
        font-size: 0.82rem;
        font-weight: 950;
    }

    .product-info-card .account-detail-accordion .product-review-row p.review-comment {
        grid-column: 1 / -1;
        grid-row: 2;
        max-height: none !important;
        margin-top: 2px !important;
        padding: 13px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        color: #eef5ff !important;
        font-size: 0.92rem;
        line-height: 1.55 !important;
        overflow: visible !important;
    }

    .product-info-card .account-detail-accordion .product-review-row strong {
        grid-column: 2;
        grid-row: 1;
        max-width: min(42vw, 150px);
        justify-self: end !important;
        overflow: hidden !important;
        color: #fff !important;
        font-size: 0.82rem;
        font-weight: 900;
        text-align: right !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .product-info-card .account-detail-accordion .product-review-row time {
        grid-column: 1 / -1;
        grid-row: 3;
        display: inline-flex;
        justify-self: end !important;
        color: #9fc6f2 !important;
        font-size: 0.75rem;
        font-weight: 850;
        text-align: right !important;
        white-space: nowrap !important;
    }
}

@media screen and (max-width: 620px) {
    .seller-profile-page #reviews .product-review-table-head {
        display: none !important;
    }

    .seller-profile-page #reviews .product-reviews-list {
        display: grid !important;
        gap: 12px !important;
        max-height: none !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .seller-profile-page #reviews .product-review-row {
        min-height: 0 !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 10px 12px !important;
        align-items: start !important;
        padding: 15px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        background:
            radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.1), transparent 35%),
            linear-gradient(145deg, rgba(20, 25, 37, 0.98), rgba(9, 12, 20, 0.98)) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.07),
            0 12px 24px rgba(0, 0, 0, 0.22) !important;
    }

    .seller-profile-page #reviews .review-feedback {
        grid-column: 1;
        grid-row: 1;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        justify-self: start !important;
        color: #dceaff;
    }

    .seller-profile-page #reviews .review-feedback > i,
    .seller-profile-page #reviews .review-feedback > span {
        display: inline-flex;
        align-items: center;
    }

    .seller-profile-page #reviews .review-feedback > i {
        margin-right: 0;
        font-size: 0.95rem;
    }

    .seller-profile-page #reviews .review-feedback > span {
        font-size: 0.82rem;
        font-weight: 950;
    }

    .seller-profile-page #reviews .product-review-row p.review-comment {
        grid-column: 1 / -1;
        grid-row: 2;
        max-height: none !important;
        margin-top: 2px !important;
        padding: 13px 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        color: #eef5ff !important;
        font-size: 0.92rem;
        line-height: 1.55 !important;
        text-align: left !important;
        white-space: normal !important;
        overflow: visible !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .seller-profile-page #reviews .product-review-row strong {
        grid-column: 2;
        grid-row: 1;
        max-width: min(42vw, 150px);
        justify-self: end !important;
        overflow: hidden !important;
        color: #fff !important;
        font-size: 0.82rem;
        font-weight: 900;
        text-align: right !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .seller-profile-page #reviews .product-review-row time {
        grid-column: 1 / -1;
        grid-row: 3;
        display: inline-flex;
        justify-self: end !important;
        color: #9fc6f2 !important;
        font-size: 0.75rem;
        font-weight: 850;
        text-align: right !important;
        white-space: nowrap !important;
    }
}

@media screen and (max-width: 620px) {
    .account-offer-layout .product-info-area {
        background: #151923 !important;
        border-color: rgba(148, 163, 184, 0.16) !important;
    }

    .account-offer-layout .product-info-card .account-detail-accordion .product-tab-buttons button,
    .account-offer-layout .product-info-card .account-detail-accordion .product-tab-buttons button.active {
        background: rgba(10, 13, 20, 0.72) !important;
    }

    .account-offer-layout .product-info-card .account-detail-accordion .product-tab-buttons button.active {
        border-color: rgba(255, 71, 87, 0.36) !important;
        color: #fff !important;
    }

    .account-offer-layout .product-info-card .account-detail-accordion .product-description-section,
    .account-offer-layout .product-info-card .account-detail-accordion .product-reviews-panel {
        margin-top: -1px !important;
        border-radius: 0 0 12px 12px !important;
    }
}

/* Final homepage live review card refresh. */
body:has(.hero-home) .live-reviews-carousel {
    --live-review-card-width: 314px !important;
}

body:has(.hero-home) .live-review-card {
    width: var(--live-review-card-width) !important;
    min-height: 202px !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    align-content: stretch !important;
    gap: 10px !important;
    padding: 16px 17px !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 8px !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.055), transparent 34%),
        linear-gradient(145deg, rgba(16, 20, 30, 0.98), rgba(8, 11, 18, 0.98)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        0 16px 36px rgba(0, 0, 0, 0.22) !important;
}

body:has(.hero-home) .live-review-person {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
}

body:has(.hero-home) .live-review-avatar {
    width: 34px !important;
    height: 34px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #1b2130 !important;
    color: #fff2bf !important;
    font-size: 0.76rem !important;
    font-weight: 950 !important;
}

body:has(.hero-home) .live-review-person > div {
    min-width: 0 !important;
    display: grid !important;
    gap: 7px !important;
}

body:has(.hero-home) .live-review-card strong {
    color: #fff !important;
    font-size: 0.88rem !important;
    font-weight: 950 !important;
    line-height: 1.15 !important;
}

body:has(.hero-home) .live-review-meta {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
    color: #a8b0c0 !important;
    font-size: 0.75rem !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body:has(.hero-home) .live-review-meta i {
    color: #57f287 !important;
    margin-right: 4px !important;
}

body:has(.hero-home) .live-review-stars {
    display: flex !important;
    gap: 4px !important;
    color: #ffb020 !important;
    font-size: 0.86rem !important;
    line-height: 1 !important;
}

body:has(.hero-home) .live-review-stars .faded-star {
    color: rgba(255, 255, 255, 0.18) !important;
}

body:has(.hero-home) .live-review-card p {
    margin: 0 !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 850 !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

body:has(.hero-home) .live-review-card footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 0 !important;
    padding-top: 13px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
}

body:has(.hero-home) .live-review-card footer time {
    color: #9aa6ba !important;
    font-size: 0.75rem !important;
    font-weight: 750 !important;
    white-space: nowrap !important;
}

@media screen and (max-width: 640px) {
    body:has(.hero-home) .live-reviews-carousel {
        --live-review-card-width: min(314px, calc(100vw - 48px)) !important;
    }

    body:has(.hero-home) .live-review-card {
        min-height: 202px !important;
        padding: 15px !important;
    }
}

/* Final offer-card rhythm: equal top/title/seller/bottom spacing across marketplace cards. */
.seller-offer-card,
.popular-purchase-card {
    min-height: 214px !important;
}

.seller-offer-card {
    display: grid !important;
    grid-template-rows: 24px calc(1.42em * 2) 38px 42px !important;
    align-content: start !important;
    row-gap: 12px !important;
    padding: 18px 22px 16px !important;
}

.seller-card-category {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 24px !important;
    align-self: start !important;
}

.seller-offer-card p {
    height: calc(1.42em * 2) !important;
    min-height: calc(1.42em * 2) !important;
    max-height: calc(1.42em * 2) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    color: #eef5ff !important;
    font-weight: 850 !important;
    line-height: 1.42 !important;
    white-space: normal !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.seller-card-meta {
    margin: 0 !important;
    min-height: 38px !important;
    align-self: start !important;
}

.seller-card-bottom {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 42px !important;
    align-self: end !important;
}

body:has(.hero-home) .new-offers-grid .seller-offer-card p {
    height: calc(1.42em * 2) !important;
    min-height: calc(1.42em * 2) !important;
    max-height: calc(1.42em * 2) !important;
    padding: 0 !important;
    line-height: 1.42 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
}

/* Final homepage category clarity: desktop labels/icons match the mobile crispness. */
body:has(.hero-home) .home-category-strip .home-category-pill,
body:has(.hero-home) .home-category-strip .home-category-pill:visited {
    opacity: 1 !important;
    filter: none !important;
    color: #ffffff !important;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    transition: transform 0.18s ease, color 0.18s ease, filter 0.18s ease;
}

body:has(.hero-home) .home-category-strip .home-category-pill strong {
    color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.55),
        0 0 14px rgba(255, 255, 255, 0.10) !important;
}

body:has(.hero-home) .home-category-strip .home-category-pill i {
    opacity: 1 !important;
    filter: saturate(1.18) brightness(1.12) !important;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    transition: border-color 0.18s ease, background 0.18s ease, filter 0.18s ease, transform 0.18s ease;
}

body:has(.hero-home) .home-category-strip .home-category-pill:hover strong {
    color: #ffffff !important;
    filter: brightness(1.08) !important;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.55),
        0 0 18px rgba(255, 255, 255, 0.16) !important;
}

body:has(.hero-home) .home-category-strip .home-category-pill:hover i {
    filter: saturate(1.28) brightness(1.2) !important;
}

body:has(.hero-home) .home-category-strip .home-category-pill.active strong {
    font-weight: 1000 !important;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.62),
        0 0 20px rgba(255, 255, 255, 0.18) !important;
}

/* Final order detail description wrapping. */
.seller-order-product-details,
.seller-order-product-details summary,
.seller-order-product-details > div,
.seller-order-product-details p {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.seller-order-product-details {
    overflow: hidden !important;
}

.seller-order-product-details > div {
    overflow: hidden !important;
}

.seller-order-product-details p {
    display: block !important;
    width: 100% !important;
    white-space: pre-wrap !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    line-break: anywhere !important;
}

/* Buyer purchase order mobile detail: keep the detail hero above the public header. */
@media screen and (max-width: 900px) {
    html.order-detail-scroll-locked,
    body.order-detail-scroll-locked {
        overflow: hidden !important;
        height: 100% !important;
        overscroll-behavior: none !important;
    }

    body.order-detail-scroll-locked > #footer,
    body.order-detail-scroll-locked #navbar,
    body.order-detail-scroll-locked .navbar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.order-detail-scroll-locked .order-expanded-card {
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        z-index: 2147483646 !important;
    }

    body.order-detail-scroll-locked .order-mobile-detail-topbar {
        z-index: 3 !important;
    }

    body.order-detail-scroll-locked .order-expanded-body > img {
        display: block !important;
        width: 100% !important;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    body.order-detail-scroll-locked .order-expanded-details .order-expanded-product-card {
        grid-template-columns: 1fr !important;
        align-content: start !important;
        align-items: start !important;
        gap: 8px !important;
        min-height: auto !important;
    }

    body.order-detail-scroll-locked .order-expanded-details .order-expanded-product-card > span,
    body.order-detail-scroll-locked .order-expanded-details .order-expanded-product-card .order-expanded-offer-link,
    body.order-detail-scroll-locked .order-expanded-details .order-expanded-product-meta {
        grid-column: 1 / -1 !important;
    }

body.order-detail-scroll-locked .order-expanded-details .order-expanded-product-meta {
        display: block !important;
        overflow: visible !important;
        color: #9fc0ea !important;
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        text-overflow: clip !important;
    }
}

/* Buyer order actions: hide completed/inactive work and simplify cancelled progress. */
.order-expanded-body.no-actions {
    grid-template-columns: 118px minmax(0, 1fr) !important;
}

.order-expanded-progress.order-expanded-progress-cancelled {
    width: min(420px, 100%) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-inline: auto !important;
}

.order-expanded-progress-cancelled .expanded-progress-step.cancelled.active::before {
    background: #ff4757 !important;
}

.order-expanded-progress-cancelled .expanded-progress-step.cancelled.active span {
    background: linear-gradient(135deg, #ff4757, #ff6b81) !important;
    box-shadow: 0 0 24px rgba(255, 71, 87, 0.22) !important;
}

.order-expanded-progress-cancelled .expanded-progress-step.cancelled strong {
    color: #ffb3bd !important;
}

@media screen and (max-width: 900px) {
    .order-expanded-body.no-actions {
        grid-template-columns: 1fr !important;
    }

    .order-expanded-progress.order-expanded-progress-cancelled {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 !important;
        padding-inline: 22px !important;
    }
}

.order-mobile-filter-trigger,
.order-filter-sheet-close {
    display: none !important;
}

/* Buyer purchase order mobile filters: compact search row plus full-screen filter page. */
@media screen and (max-width: 900px) {
    html.order-filter-sheet-open,
    body.order-filter-sheet-open {
        overflow: hidden !important;
        height: 100% !important;
        overscroll-behavior: none !important;
    }

    body.order-filter-sheet-open #navbar,
    body.order-filter-sheet-open .navbar,
    body.order-filter-sheet-open > #footer,
    body.order-filter-sheet-open .footer {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) {
        margin-bottom: 18px !important;
        padding: 0 !important;
        border: 1px solid rgba(148, 163, 184, 0.16) !important;
        border-radius: 8px !important;
        background:
            radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.09), transparent 30%),
            linear-gradient(180deg, rgba(255,255,255,0.028), transparent),
            #111620 !important;
        box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24) !important;
        overflow: visible !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) .order-filter-tabs,
    .order-filter-panel:not(.is-filter-sheet-open) .order-filter-form > .order-filter-field:not(:first-child),
    .order-filter-panel:not(.is-filter-sheet-open) .order-filter-form > #trackOrderBtn {
        display: none !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) > header {
        min-height: 72px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 22px !important;
        border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
        border-radius: 8px 8px 0 0 !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) .order-filter-sheet-close {
        display: none !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) .order-filter-form {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 46px !important;
        gap: 9px !important;
        align-items: center !important;
        min-height: 64px !important;
        padding: 0 22px !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) .order-status-error {
        min-height: 0 !important;
        margin: 0 22px 12px !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) .order-status-error:empty {
        display: none !important;
        margin: 0 !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) .order-filter-form > .order-filter-field:first-child {
        grid-column: 1 !important;
        align-self: center !important;
        gap: 0 !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) .order-filter-form > .order-filter-field:first-child > span {
        display: none !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) .order-filter-input {
        min-height: 46px !important;
        border-color: rgba(148, 163, 184, 0.22) !important;
        border-radius: 8px !important;
        background:
            linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(255, 255, 255, 0.02)),
            #090f18 !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) .order-filter-input > i {
        color: #60a5fa !important;
    }

    .order-filter-panel:not(.is-filter-sheet-open) .order-mobile-filter-trigger {
        grid-column: 2 !important;
        align-self: center !important;
        display: grid !important;
        place-items: center !important;
        min-height: 46px !important;
        width: 46px !important;
        border: 1px solid rgba(96, 165, 250, 0.32) !important;
        border-radius: 8px !important;
        background:
            radial-gradient(circle at 30% 0, rgba(125, 211, 252, 0.20), transparent 42%),
            linear-gradient(135deg, #3b82f6, #38bdf8) !important;
        color: #fff !important;
        font-size: 1rem !important;
        box-shadow: 0 12px 28px rgba(59, 130, 246, 0.20) !important;
    }

    .order-filter-panel.is-filter-sheet-open {
        position: fixed !important;
        inset: 0 !important;
        z-index: 2147483645 !important;
        width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 18px calc(24px + env(safe-area-inset-bottom)) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border: 0 !important;
        border-radius: 0 !important;
        background:
            radial-gradient(circle at 18% 0, rgba(59, 130, 246, 0.16), transparent 30%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
            #07101b !important;
        box-shadow: none !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch;
    }

    .order-filter-panel.is-filter-sheet-open > header {
        position: sticky !important;
        top: 0 !important;
        z-index: 5 !important;
        min-height: 68px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 14px !important;
        margin: 0 -18px !important;
        padding: calc(10px + env(safe-area-inset-top)) 18px 10px !important;
        border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
        border-radius: 0 !important;
        background: rgba(7, 16, 27, 0.96) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .order-filter-panel.is-filter-sheet-open h1 {
        color: #fff !important;
        font-size: 1rem !important;
        font-weight: 950 !important;
        text-transform: uppercase !important;
    }

    .order-filter-panel.is-filter-sheet-open h1 i {
        color: #60a5fa !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-filter-sheet-close {
        display: grid !important;
        place-items: center !important;
        width: 40px !important;
        min-height: 40px !important;
        border: 1px solid rgba(148, 163, 184, 0.18) !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.06) !important;
        color: #fff !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-filter-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 20px 0 8px !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-filter-tabs button {
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 12px !important;
        border: 1px solid rgba(148, 163, 184, 0.16) !important;
        border-radius: 8px !important;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
            #0d1521 !important;
        color: #d9e7fb !important;
        font-size: 0.8rem !important;
        font-weight: 950 !important;
        text-align: left !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-filter-tabs button.active {
        border-color: rgba(96, 165, 250, 0.52) !important;
        background:
            radial-gradient(circle at 18% 0, rgba(125, 211, 252, 0.18), transparent 42%),
            linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(59, 130, 246, 0.08)),
            #121a27 !important;
        color: #fff !important;
        box-shadow: 0 12px 26px rgba(59, 130, 246, 0.14) !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-filter-form {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 16px 0 0 !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-mobile-filter-trigger {
        display: none !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-filter-field,
    .order-filter-panel.is-filter-sheet-open .order-filter-form > #trackOrderBtn {
        display: grid !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-filter-field > span {
        display: block !important;
        color: #9fc0ea !important;
        font-size: 0.72rem !important;
        font-weight: 950 !important;
        text-transform: uppercase !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-filter-input {
        min-height: 48px !important;
        border-color: rgba(148, 163, 184, 0.20) !important;
        border-radius: 8px !important;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
            #090f18 !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-filter-input input {
        color: #f8fbff !important;
        font-weight: 750 !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-filter-form > #trackOrderBtn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        min-height: 50px !important;
        width: 100% !important;
        margin-top: 4px !important;
        border-radius: 8px !important;
        background:
            radial-gradient(circle at 30% 0, rgba(125, 211, 252, 0.22), transparent 42%),
            linear-gradient(135deg, #3b82f6, #38bdf8) !important;
        color: #fff !important;
        font-weight: 950 !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-calendar {
        width: min(280px, calc(100vw - 48px)) !important;
        border-color: rgba(96, 165, 250, 0.30) !important;
        background:
            radial-gradient(circle at 100% 0, rgba(59, 130, 246, 0.14), transparent 34%),
            #0b121d !important;
    }

    .order-filter-panel.is-filter-sheet-open .order-calendar-selects select,
    .order-filter-panel.is-filter-sheet-open .order-calendar-selects select option {
        background: #101827 !important;
        color: #f8fbff !important;
        font-weight: 900 !important;
    }
}

.notification-mobile-filter-trigger,
.notification-filter-sheet-close {
    display: none !important;
}

/* Notification page mobile tools: search + filter on top, mark-read below. */
@media screen and (max-width: 900px) {
    html.notification-filter-sheet-open,
    body.notification-filter-sheet-open {
        overflow: hidden !important;
        height: 100% !important;
        overscroll-behavior: none !important;
    }

    body.notification-filter-sheet-open #navbar,
    body.notification-filter-sheet-open .navbar,
    body.notification-filter-sheet-open > #footer,
    body.notification-filter-sheet-open .footer {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .notification-filter-panel:not(.is-filter-sheet-open) .notification-filter-form {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 46px !important;
        gap: 10px !important;
        align-items: center !important;
        min-height: auto !important;
        padding: 14px 22px 18px !important;
    }

    .notification-filter-panel:not(.is-filter-sheet-open) .notification-filter-form > .order-filter-field:first-child {
        grid-column: 1 !important;
        align-self: center !important;
        gap: 0 !important;
    }

    .notification-filter-panel:not(.is-filter-sheet-open) .notification-filter-form > .order-filter-field:first-child > span {
        display: none !important;
    }

    .notification-filter-panel:not(.is-filter-sheet-open) .notification-filter-form > .order-filter-field:not(:first-child) {
        display: none !important;
    }

    .notification-filter-panel:not(.is-filter-sheet-open) .notification-mobile-filter-trigger {
        grid-column: 2 !important;
        display: grid !important;
        place-items: center !important;
        align-self: center !important;
        width: 46px !important;
        min-height: 46px !important;
        border: 1px solid rgba(255, 71, 87, 0.28) !important;
        border-radius: 8px !important;
        background:
            radial-gradient(circle at 30% 0, rgba(255, 176, 32, 0.20), transparent 42%),
            linear-gradient(135deg, #ff4757, #ff6b81) !important;
        color: #fff !important;
        font-size: 1rem !important;
        box-shadow: 0 12px 28px rgba(255, 71, 87, 0.20) !important;
    }

    .notification-filter-panel:not(.is-filter-sheet-open) #markReadBtn {
        grid-column: 1 / -1 !important;
        min-height: 44px !important;
        width: 100% !important;
        margin-top: 0 !important;
        border-radius: 8px !important;
        background:
            radial-gradient(circle at 22% 0, rgba(255, 176, 32, 0.18), transparent 42%),
            linear-gradient(135deg, #ff4757, #ff6b81) !important;
        color: #fff !important;
        font-weight: 950 !important;
        box-shadow: 0 12px 28px rgba(255, 71, 87, 0.18) !important;
    }

    .notification-filter-panel.is-filter-sheet-open .notification-filter-sheet-close {
        display: grid !important;
        place-items: center !important;
        width: 40px !important;
        min-height: 40px !important;
        border: 1px solid rgba(148, 163, 184, 0.18) !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.06) !important;
        color: #fff !important;
    }

    .notification-filter-panel.is-filter-sheet-open .notification-mobile-filter-trigger {
        display: none !important;
    }

    .notification-filter-panel.is-filter-sheet-open #markReadBtn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        min-height: 50px !important;
        width: 100% !important;
        margin-top: 4px !important;
        border-radius: 8px !important;
        background:
            radial-gradient(circle at 22% 0, rgba(255, 176, 32, 0.18), transparent 42%),
            linear-gradient(135deg, #ff4757, #ff6b81) !important;
        color: #fff !important;
        font-weight: 950 !important;
    }
}

/* G4BOOST styled selects for delivery disputes and ticket requests. */
.dispute-request-dialog select,
[data-support-page="tickets"] .support-form select {
    appearance: none;
    -webkit-appearance: none;
    min-height: 48px;
    padding: 0 42px 0 16px !important;
    border: 1px solid rgba(148, 163, 184, 0.20) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(45deg, transparent 50%, #ff5d70 50%) right 18px center / 7px 7px no-repeat,
        linear-gradient(135deg, rgba(255, 71, 87, 0.055), rgba(255, 255, 255, 0.018)),
        #090f18 !important;
    color: #f8fbff !important;
    font-size: 0.94rem !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 10px 26px rgba(0, 0, 0, 0.16);
    cursor: pointer;
}

.dispute-request-dialog select:hover,
[data-support-page="tickets"] .support-form select:hover {
    border-color: rgba(255, 71, 87, 0.42) !important;
    background:
        linear-gradient(45deg, transparent 50%, #ffb020 50%) right 18px center / 7px 7px no-repeat,
        radial-gradient(circle at 0 0, rgba(255, 176, 32, 0.11), transparent 42%),
        linear-gradient(135deg, rgba(255, 71, 87, 0.075), rgba(255, 255, 255, 0.018)),
        #0b121d !important;
}

.dispute-request-dialog select:focus,
[data-support-page="tickets"] .support-form select:focus {
    border-color: rgba(255, 71, 87, 0.68) !important;
    box-shadow:
        0 0 0 3px rgba(255, 71, 87, 0.12),
        0 14px 32px rgba(255, 71, 87, 0.10) !important;
}

.dispute-request-dialog select option,
[data-support-page="tickets"] .support-form select option {
    background: #0b121d;
    color: #f8fbff;
    font-weight: 900;
}

.dispute-request-dialog select option[value=""],
[data-support-page="tickets"] .support-form select option[value=""] {
    color: #8fa0b8;
}

@media screen and (max-width: 640px) {
    .dispute-request-dialog select,
    [data-support-page="tickets"] .support-form select {
        min-height: 46px;
        padding-right: 38px !important;
        padding-left: 13px !important;
        background-position: right 15px center, 0 0, 0 0, 0 0 !important;
        font-size: 0.86rem !important;
    }
}

.g4boost-native-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
}

.g4boost-select {
    position: relative;
    width: 100%;
    min-width: 0;
    z-index: 3;
}

.g4boost-select.is-open {
    z-index: 80;
}

.g4boost-select .g4boost-select-button {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 8px;
    padding: 0 14px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 91, 107, 0.055), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        #0a111b !important;
    color: #f8fbff;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 12px 28px rgba(0, 0, 0, 0.14);
}

.g4boost-select .g4boost-select-button:hover,
.g4boost-select.is-open .g4boost-select-button {
    border-color: rgba(255, 91, 107, 0.34);
    background:
        radial-gradient(circle at 0 0, rgba(255, 91, 107, 0.08), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
        #0d1521 !important;
}

.g4boost-select .g4boost-select-button:focus-visible,
.g4boost-select.is-invalid .g4boost-select-button {
    outline: none;
    border-color: rgba(255, 91, 107, 0.50);
    box-shadow:
        0 0 0 3px rgba(255, 91, 107, 0.08),
        0 14px 30px rgba(0, 0, 0, 0.18) !important;
}

.g4boost-select-label {
    min-width: 0;
    overflow: hidden;
    color: #f8fbff;
    font-size: 0.94rem;
    font-weight: 950;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

.g4boost-select .g4boost-select-button > i {
    flex: 0 0 auto;
    color: #ff6678;
    font-size: 0.78rem;
    transition: transform 0.18s ease, color 0.18s ease;
}

.g4boost-select.is-open .g4boost-select-button > i {
    color: #f6b05a;
    transform: rotate(180deg);
}

.g4boost-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    max-height: min(260px, 42vh);
    overflow: auto;
    padding: 6px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 91, 107, 0.075), transparent 38%),
        #080e17;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.52);
}

.g4boost-select.is-open .g4boost-select-menu {
    display: grid;
    gap: 4px;
}

.g4boost-select-menu::-webkit-scrollbar {
    width: 6px;
}

.g4boost-select-menu::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 91, 107, 0.28);
}

.g4boost-select .g4boost-select-option {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    border-radius: 6px;
    padding: 10px 11px;
    background: transparent !important;
    color: #dce8fb !important;
    cursor: pointer;
    text-align: left;
    box-shadow: none !important;
}

.g4boost-select-option span {
    min-width: 0;
    color: inherit;
    font-size: 0.86rem;
    font-weight: 950;
    line-height: 1.25;
    letter-spacing: 0;
    white-space: normal;
}

.g4boost-select-option i {
    flex: 0 0 auto;
    color: #77e6b6;
    font-size: 0.76rem;
    opacity: 0;
}

.g4boost-select .g4boost-select-option:hover,
.g4boost-select .g4boost-select-option:focus-visible,
.g4boost-select .g4boost-select-option.is-selected {
    outline: none;
    background:
        radial-gradient(circle at 12% 0, rgba(246, 176, 90, 0.11), transparent 48%),
        linear-gradient(135deg, rgba(255, 91, 107, 0.11), rgba(255, 255, 255, 0.025)) !important;
    color: #fff !important;
}

.g4boost-select-option.is-selected i {
    opacity: 1;
}

.g4boost-select-option.is-placeholder {
    color: #aab7ca;
}

[data-support-page="invoices"] .invoice-toolbar .g4boost-select {
    width: 100%;
}

[data-support-page="tickets"] .support-page-crumb {
    margin-top: 0;
}

[data-support-page="tickets"] .ticket-page-hero-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 8px !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
        #111620 !important;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24) !important;
    overflow: hidden;
}

[data-support-page="tickets"] .ticket-page-hero-card header {
    width: 100%;
    min-width: 0;
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

[data-support-page="tickets"] .ticket-page-hero-card h1 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #fff;
    font-size: 1.28rem;
    line-height: 1.2;
}

[data-support-page="tickets"] .ticket-page-hero-card h1 i {
    color: #ff6b81;
    font-size: 1rem;
}

[data-support-page="tickets"] .ticket-page-hero-body {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-items: stretch;
    gap: 18px;
    padding: 18px 22px 22px;
}

[data-support-page="tickets"] .ticket-case-search {
    width: 100%;
    min-width: 0;
}

[data-support-page="tickets"] .ticket-case-metrics {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

[data-support-page="tickets"] .ticket-case-metrics .dispute-case-filter {
    min-height: 72px;
}

[data-support-page="invoices"] .invoice-page-crumb {
    margin-top: 0;
}

[data-support-page="invoices"] .invoice-page-hero-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 8px !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
        #111620 !important;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24) !important;
    overflow: hidden;
}

[data-support-page="invoices"] .invoice-page-hero-card header {
    width: 100%;
    min-width: 0;
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

[data-support-page="invoices"] .invoice-page-hero-card h1 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #fff;
    font-size: 1.28rem;
    line-height: 1.2;
}

[data-support-page="invoices"] .invoice-page-hero-card h1 i {
    color: #ff6b81;
    font-size: 1rem;
}

[data-support-page="invoices"] .invoice-page-hero-body {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 18px 22px 22px;
}

@media screen and (max-width: 640px) {
    .g4boost-select .g4boost-select-button {
        min-height: 46px;
        padding: 0 12px;
    }

    .g4boost-select-label {
        font-size: 0.88rem;
    }

    .g4boost-select-menu {
        max-height: min(230px, 46vh);
    }

    .g4boost-select-option {
        min-height: 40px;
        padding: 9px 10px;
    }

    .g4boost-select-option span {
        font-size: 0.82rem;
    }

    [data-support-page="tickets"] .ticket-page-hero-card header {
        min-height: 62px;
        padding: 0 16px;
    }

    [data-support-page="tickets"] .ticket-page-hero-card h1 {
        font-size: 1.08rem !important;
    }

    [data-support-page="tickets"] .ticket-page-hero-body {
        display: grid;
        gap: 12px;
        padding: 16px;
    }

    [data-support-page="tickets"] .ticket-case-metrics {
        grid-template-columns: 1fr;
    }

    [data-support-page="invoices"] .invoice-page-hero-card header {
        min-height: 62px;
        padding: 0 16px;
    }

    [data-support-page="invoices"] .invoice-page-hero-card h1 {
        font-size: 1.08rem !important;
    }

    [data-support-page="invoices"] .invoice-page-hero-body {
        display: block;
        padding: 16px;
    }
}

/* Dispute center chat: larger reading area and compact mobile composer. */
.dispute-chat-panel .order-chat-box {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
}

.dispute-chat-panel .order-chat-messages {
    min-height: clamp(360px, 48vh, 560px) !important;
    max-height: clamp(360px, 48vh, 560px) !important;
    overflow-y: auto !important;
}

.dispute-chat-panel .order-chat-empty {
    min-height: 100% !important;
}

@media screen and (max-width: 640px) {
    .dispute-chat-panel .order-chat-messages {
        min-height: clamp(320px, 48vh, 460px) !important;
        max-height: clamp(320px, 48vh, 460px) !important;
        padding: 14px 12px !important;
    }

    .dispute-chat-panel .order-chat-compose {
        display: grid !important;
        grid-template-columns: 34px minmax(0, 1fr) 34px !important;
        align-items: center !important;
        gap: 7px !important;
        padding: 8px 9px calc(8px + env(safe-area-inset-bottom)) !important;
    }

    .dispute-chat-panel .order-chat-attach,
    .dispute-chat-panel .order-chat-compose button {
        width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        display: grid !important;
        place-items: center !important;
        align-self: center !important;
    }

    .dispute-chat-panel .order-chat-compose textarea {
        width: 100% !important;
        min-width: 0 !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 76px !important;
        padding: 9px 10px !important;
        align-self: center !important;
    }
}

/* Buyer and seller dispute details use a phone-only full-screen view. */
@media screen and (max-width: 900px) {
    html.dispute-detail-scroll-locked,
    body.dispute-detail-scroll-locked {
        overflow: hidden !important;
        height: 100% !important;
        overscroll-behavior: none !important;
    }

    body.dispute-detail-scroll-locked > #footer,
    body.dispute-detail-scroll-locked #navbar,
    body.dispute-detail-scroll-locked .navbar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.dispute-detail-scroll-locked .dispute-case-item.expanded {
        position: fixed !important;
        inset: 0 !important;
        z-index: 2147483646 !important;
        width: 100vw !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #07101b !important;
        box-shadow: none !important;
        -webkit-overflow-scrolling: touch;
    }

    body.dispute-detail-scroll-locked .dispute-case-item.expanded > .dispute-case-row {
        display: none !important;
    }

    body.dispute-detail-scroll-locked .dispute-case-item.expanded .dispute-expanded-card {
        min-height: 100dvh !important;
        gap: 16px !important;
        padding: calc(76px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom)) !important;
        border-top: 0 !important;
        background:
            radial-gradient(circle at 10% 0, rgba(255, 71, 87, 0.12), transparent 32%),
            radial-gradient(circle at 92% 0, rgba(34, 197, 94, 0.10), transparent 28%),
            linear-gradient(180deg, #141b27, #07101b) !important;
    }

    body.dispute-detail-scroll-locked #sellerDisputesPanel .dispute-case-item.expanded .dispute-expanded-card {
        background:
            radial-gradient(circle at 10% 0, rgba(59, 130, 246, 0.14), transparent 32%),
            radial-gradient(circle at 92% 0, rgba(34, 197, 94, 0.10), transparent 28%),
            linear-gradient(180deg, #141b27, #07101b) !important;
    }

    body.dispute-detail-scroll-locked .dispute-mobile-detail-topbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 3 !important;
        min-height: 62px !important;
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 10px !important;
        padding: calc(10px + env(safe-area-inset-top)) 14px 10px !important;
        border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
        background: rgba(7, 16, 27, 0.96) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
    }

    body.dispute-detail-scroll-locked .dispute-mobile-detail-topbar button {
        width: 38px !important;
        min-height: 38px !important;
        display: grid !important;
        place-items: center !important;
        border: 1px solid rgba(148, 163, 184, 0.18) !important;
        border-radius: 7px !important;
        background: rgba(255, 255, 255, 0.06) !important;
        color: #fff !important;
        font: inherit !important;
    }

    body.dispute-detail-scroll-locked .dispute-mobile-detail-topbar div {
        min-width: 0 !important;
        display: grid !important;
        gap: 2px !important;
    }

    body.dispute-detail-scroll-locked .dispute-mobile-detail-topbar span {
        color: #8fb3df !important;
        font-size: 0.7rem !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
    }

    body.dispute-detail-scroll-locked .dispute-mobile-detail-topbar strong {
        overflow: hidden !important;
        color: #fff !important;
        font-size: 0.92rem !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    body.dispute-detail-scroll-locked .dispute-case-item.expanded .dispute-progress-bar {
        padding-top: 0 !important;
    }

    body.dispute-detail-scroll-locked .dispute-information-card .dispute-mobile-order-number {
        display: grid !important;
    }
}

/* Auth-only header actions must never leak in logged-out state. */
html:not(.auth-logged-in) .navbar [data-auth-required],
html.auth-logged-out .navbar [data-auth-required],
.navbar [data-auth-required][hidden] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html:not(.auth-logged-in) .notification-panel,
html.auth-logged-out .notification-panel {
    display: none !important;
}

/* Guest desktop CTA and premium public buttons. */
html.auth-logged-in .navbar [data-guest-only],
.navbar .login-btn[hidden],
.navbar [data-guest-only][hidden] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.navbar .start-selling-btn,
.navbar .login-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 11px;
    padding: 0 18px;
    font-size: 0.94rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.navbar .start-selling-btn {
    color: #f8e7bc !important;
    border: 1px solid rgba(245, 191, 88, 0.46);
    background:
        linear-gradient(180deg, rgba(245, 191, 88, 0.08), rgba(245, 191, 88, 0.025)),
        rgba(11, 16, 28, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.navbar .start-selling-btn i {
    color: #f3c86b;
    font-size: 0.92rem;
}

.navbar .login-btn {
    color: #e5edf8 !important;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        rgba(12, 17, 28, 0.84) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.navbar .start-selling-btn:hover,
.navbar .login-btn:hover {
    transform: translateY(-1px);
}

.navbar .start-selling-btn:hover {
    color: #ffe2a3 !important;
    border-color: rgba(245, 191, 88, 0.68);
    background:
        linear-gradient(180deg, rgba(245, 191, 88, 0.12), rgba(245, 191, 88, 0.035)),
        rgba(15, 20, 33, 0.9);
    box-shadow: 0 10px 24px rgba(245, 191, 88, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.navbar .login-btn:hover {
    color: #ffffff !important;
    border-color: rgba(226, 232, 240, 0.42);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
        rgba(16, 22, 35, 0.94) !important;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

body:has(.hero-home) #smartShopNowBtn.primary-btn {
    min-height: 52px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 28px !important;
    border: 1px solid rgba(255, 107, 129, 0.50) !important;
    border-radius: 13px !important;
    color: #ffffff !important;
    background:
        linear-gradient(135deg, #ff4757 0%, #ff5f7d 54%, #d9466d 100%) !important;
    box-shadow: 0 14px 32px rgba(255, 71, 87, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.20) !important;
    font-weight: 950 !important;
    letter-spacing: 0;
}

body:has(.hero-home) #popularCategories {
    scroll-margin-top: 96px;
}

body:has(.hero-home) #smartShopNowBtn.primary-btn:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(135deg, #ff5261 0%, #ff6b86 52%, #e24b72 100%) !important;
    box-shadow: 0 18px 38px rgba(255, 71, 87, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

/* Purpose-colored primary CTAs. */
body:has(.hero-home) #smartShopNowBtn.primary-btn {
    border-color: rgba(96, 165, 250, 0.48) !important;
    background:
        linear-gradient(135deg, rgba(96, 165, 250, 0.20), rgba(34, 211, 238, 0.11)),
        rgba(15, 23, 42, 0.32) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body:has(.hero-home) #smartShopNowBtn.primary-btn:hover {
    background:
        linear-gradient(135deg, rgba(96, 165, 250, 0.28), rgba(34, 211, 238, 0.16)),
        rgba(15, 23, 42, 0.42) !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.currency-buy-actions .add-cart-btn {
    border: 1px solid rgba(34, 197, 94, 0.40);
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    color: #f8fff9;
    box-shadow: 0 16px 34px rgba(34, 197, 94, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.currency-buy-actions .add-cart-btn:hover {
    background: linear-gradient(135deg, #22c55e, #4ade80) !important;
    box-shadow: 0 18px 38px rgba(34, 197, 94, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.order-rating-comment button[type="submit"] {
    border-color: rgba(250, 204, 21, 0.42);
    background: linear-gradient(135deg, #f59e0b, #facc15) !important;
    color: #18120a;
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.order-rating-comment button[type="submit"]:hover {
    background: linear-gradient(135deg, #fbbf24, #fde047) !important;
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
}

@media screen and (max-width: 820px) {
    .navbar .start-selling-btn {
        display: none !important;
    }
}

@media screen and (max-width: 640px) {
    .navbar .login-btn {
        min-height: 40px;
        padding: 0 19px;
        border-radius: 10px;
    }

    body:has(.hero-home) #smartShopNowBtn.primary-btn {
        min-height: 46px !important;
        padding: 0 22px !important;
        border-radius: 12px !important;
    }
}

/* Footer payment cards now show only currently supported methods. */
.footer-payments {
    width: min(100%, 270px) !important;
    max-width: 270px !important;
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    justify-content: center !important;
    justify-items: center !important;
    gap: 12px 10px !important;
    overflow: visible !important;
    animation: none !important;
    transform: none !important;
    margin-inline: auto !important;
}

.footer-payments .payment-clone {
    display: none !important;
}

.footer-payments span {
    grid-column: span 2 !important;
}

.footer-payments span:nth-child(4) {
    grid-column: 2 / span 2 !important;
}

.footer-payments span:nth-child(5) {
    grid-column: 4 / span 2 !important;
}

.footer-payment-column .secure-badge {
    display: none !important;
}

@media screen and (max-width: 620px) {
    body:has(.hero-home) .footer-payment-column,
    .footer-payment-column {
        overflow: visible !important;
    }

    body:has(.hero-home) .footer-payments,
    .footer-payments {
        width: 100% !important;
        max-width: 270px !important;
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        justify-content: center !important;
        justify-items: center !important;
        gap: 12px 10px !important;
        overflow: visible !important;
        overflow-x: visible !important;
        animation: none !important;
        transform: none !important;
        margin: 14px auto 0 !important;
        padding: 2px 0 10px !important;
        scroll-snap-type: none !important;
        will-change: auto !important;
    }

    body:has(.hero-home) .footer-payments .payment-clone,
    .footer-payments .payment-clone {
        display: none !important;
    }

    body:has(.hero-home) .footer-payments span,
    .footer-payments span {
        width: 76px !important;
        height: 44px !important;
        min-height: 44px !important;
        flex: initial !important;
        grid-column: span 2 !important;
        scroll-snap-align: none !important;
    }

    body:has(.hero-home) .footer-payments span:nth-child(4),
    .footer-payments span:nth-child(4) {
        grid-column: 2 / span 2 !important;
    }

    body:has(.hero-home) .footer-payments span:nth-child(5),
    .footer-payments span:nth-child(5) {
        grid-column: 4 / span 2 !important;
    }
}

/* ABOUT PAGE */
.about-body:not(.search-panel-open) {
    padding-top: var(--g4boost-public-header-height, 76px) !important;
    scroll-padding-top: calc(var(--g4boost-public-header-height, 76px) + 20px);
}

.about-page {
    color: #f8fafc;
    padding: 34px 0 118px;
    background:
        linear-gradient(180deg, rgba(255, 71, 87, 0.08), rgba(6, 7, 11, 0) 360px),
        #06070b;
    position: relative;
    isolation: isolate;
}

.about-page section {
    scroll-margin-top: calc(var(--g4boost-public-header-height, 76px) + 20px);
}

.about-hero,
.about-section,
.about-stat-row,
.about-cta,
.about-notice {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    align-items: center;
    gap: 54px;
    min-height: 520px;
    margin-bottom: 34px;
}

.about-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    color: #ffb020;
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.about-hero h1,
.about-section h2,
.about-notice h2 {
    margin: 0;
    color: #ffffff;
    letter-spacing: 0;
}

.about-hero h1 {
    max-width: 690px;
    margin-top: 14px;
    font-size: 3.15rem;
    line-height: 1.05;
}

.about-hero-copy p,
.about-section-copy p,
.about-principles p,
.about-feature-grid p,
.about-notice p {
    color: #a9b5c8;
    line-height: 1.75;
}

.about-hero-copy p {
    max-width: 660px;
    margin: 18px 0 0;
    font-size: 1.02rem;
}

.about-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.about-primary-btn,
.about-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 850;
    text-decoration: none;
}

.about-primary-btn {
    background: linear-gradient(135deg, #ff4757, #ffb020);
    box-shadow: 0 14px 32px rgba(255, 71, 87, 0.24);
}

.about-secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.055);
}

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

.about-hero-visual {
    position: relative;
    margin: 0;
    min-height: 360px;
    display: grid;
    align-items: center;
    align-content: center;
}

.about-brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 64px;
    margin: 0 0 18px 10px;
}

.about-brand-mark {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: -5px -12px -5px 0;
    filter:
        drop-shadow(0 0 10px rgba(255, 71, 87, 0.32))
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.36));
}

.about-brand-wordmark {
    width: auto;
    height: 22px;
    max-width: 220px;
    object-fit: contain;
}

.about-marketplace-img {
    width: 100%;
    max-height: 390px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.about-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 86px;
}

.about-stat-row article,
.about-feature-grid article,
.about-principles article,
.about-step-card {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.065), rgba(255, 255, 255, 0.025)),
        #0d1017;
}

.about-stat-row article {
    min-height: 104px;
    padding: 22px;
}

.about-stat-row strong {
    display: block;
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1.1;
}

.about-stat-row span {
    display: block;
    margin-top: 8px;
    color: #94a3b8;
}

.about-section {
    margin-bottom: 92px;
}

.about-split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 36px;
}

.about-section-copy h2,
.about-section-head h2 {
    margin-top: 10px;
    font-size: 2.15rem;
    line-height: 1.16;
}

.about-section-copy p {
    margin: 16px 0 0;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-feature-grid article {
    min-height: 202px;
    padding: 22px;
}

.about-feature-grid i {
    color: #ff4757;
    font-size: 1.45rem;
}

.about-feature-grid h3,
.about-principles h3 {
    margin: 16px 0 8px;
    color: #ffffff;
}

.about-feature-grid p,
.about-principles p,
.about-step-card p {
    margin: 0;
}

.about-section-head {
    max-width: 720px;
    margin-bottom: 24px;
}

.about-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-principles article {
    min-height: 238px;
    padding: 24px;
}

.about-principles span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 176, 32, 0.12);
    color: #ffb020;
    font-weight: 900;
}

.about-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-step-card {
    position: relative;
    min-height: 236px;
    padding: 24px;
}

.about-step-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(255, 176, 32, 0.12);
    color: #ffb020;
    font-weight: 900;
}

.about-step-card i {
    display: block;
    margin-top: 24px;
    color: #ff4757;
    font-size: 1.45rem;
}

.about-step-card h3 {
    margin: 16px 0 8px;
    color: #ffffff;
}

.about-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin-bottom: 92px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.075), rgba(255, 176, 32, 0.055)),
        #0d1017;
}

.about-cta h2 {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: 1.45rem;
    line-height: 1.25;
}

.about-cta-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.about-notice {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 28px;
    border: 1px solid rgba(255, 176, 32, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 176, 32, 0.09), rgba(255, 71, 87, 0.045)),
        #0c0f15;
}

.about-notice > i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 176, 32, 0.12);
    color: #ffb020;
    font-size: 1.3rem;
}

.about-notice h2 {
    font-size: 1.35rem;
}

.about-notice p {
    margin: 8px 0 0;
}

.about-payment-note {
    color: #cbd5e1 !important;
    font-size: 0.94rem;
}

.about-page + #footer .footer-bottom {
    display: grid;
    gap: 10px;
}

.about-page + #footer .footer-bottom p {
    margin: 0;
    line-height: 1.75;
}

@media screen and (max-width: 900px) {
    .about-page {
        padding-top: 28px;
    }

    .about-hero,
    .about-split {
        grid-template-columns: 1fr;
    }

    .about-hero {
        min-height: 0;
        gap: 34px;
    }

    .about-hero h1 {
        font-size: 2.45rem;
    }

    .about-hero-visual {
        min-height: 0;
    }

    .about-stat-row,
    .about-principles,
    .about-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-cta {
        grid-template-columns: 1fr;
    }

    .about-cta-actions {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 640px) {
    .about-page {
        padding: 22px 0 86px;
    }

    .about-hero,
    .about-section,
    .about-stat-row,
    .about-cta,
    .about-notice {
        width: min(100% - 28px, 1180px);
    }

    .about-hero {
        margin-bottom: 28px;
    }

    .about-hero h1 {
        font-size: 2rem;
        line-height: 1.12;
    }

    .about-hero-copy p,
    .about-section-copy p,
    .about-principles p,
    .about-feature-grid p,
    .about-notice p {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .about-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .about-primary-btn,
    .about-secondary-btn {
        width: 100%;
    }

    .about-brand-lockup {
        margin-left: 0;
    }

    .about-brand-mark {
        width: 52px;
        height: 52px;
        margin-right: -10px;
    }

    .about-brand-wordmark {
        height: 18px;
        max-width: 150px;
    }

    .about-marketplace-img {
        max-height: 260px;
    }

    .about-stat-row,
    .about-feature-grid,
    .about-principles,
    .about-step-grid {
        grid-template-columns: 1fr;
    }

    .about-stat-row {
        margin-bottom: 58px;
    }

    .about-section {
        margin-bottom: 64px;
    }

    .about-section-copy h2,
    .about-section-head h2 {
        font-size: 1.55rem;
    }

    .about-feature-grid article,
    .about-principles article,
    .about-step-card {
        min-height: 0;
        padding: 20px;
    }

    .about-cta {
        margin-bottom: 64px;
        padding: 22px;
    }

    .about-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .about-notice {
        grid-template-columns: 1fr;
        padding: 22px;
    }
}

/* GUIDED SUPPORT BOT */
.support-bot-open-btn {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 0 18px;
    border: 1px solid rgba(255, 176, 32, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.16), rgba(255, 176, 32, 0.12)),
        #12131a;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.support-bot-open-btn:hover {
    border-color: rgba(255, 176, 32, 0.58);
    transform: translateY(-1px);
}

.support-bot-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: min(420px, calc(100vw - 28px));
    max-height: min(720px, calc(100dvh - 44px));
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 71, 87, 0.28);
    border-radius: 8px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.18), transparent 34%),
        #08090e;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.54);
    z-index: 2147483500;
}

.support-bot-widget header {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 15, 22, 0.94);
}

.support-bot-widget header div {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.support-bot-widget header span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.14);
    color: #ffb020;
}

.support-bot-widget header strong,
.support-bot-intro h3,
.support-bot-answer-card h3,
.support-bot-ticket-form h3,
.support-bot-thread-head strong,
.support-bot-messages strong,
.support-bot-category span {
    color: #ffffff;
}

.support-bot-widget header button,
.support-bot-back,
.support-bot-answer-actions button,
.support-bot-ticket-list button,
.support-bot-reply-form button {
    cursor: pointer;
}

.support-bot-widget header > button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.support-bot-safety {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.45;
}

.support-bot-safety i {
    color: #ffb020;
    margin-top: 2px;
}

.support-bot-body {
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
}

.support-bot-intro p,
.support-bot-answer-card p,
.support-bot-ticket-form label,
.support-bot-ticket-form label span,
.support-bot-ticket-form label b,
.support-bot-thread-head span,
.support-bot-messages p,
.support-bot-messages span,
.support-bot-form-note,
.support-bot-empty,
.support-bot-ticket-list > span {
    color: #a9b5c8;
}

.support-bot-intro h3,
.support-bot-ticket-form h3 {
    margin: 0 0 6px;
}

.support-bot-intro p {
    margin: 0 0 14px;
    line-height: 1.55;
}

.support-bot-categories {
    display: grid;
    gap: 9px;
}

.support-bot-category {
    min-height: 48px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: #101119;
    padding: 7px 10px;
    text-align: left;
}

.support-bot-category i,
.support-bot-answer-card > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.13);
    color: #ff4757;
}

.support-bot-category:hover {
    border-color: rgba(255, 71, 87, 0.42);
    background: #151620;
}

.support-bot-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    margin-bottom: 12px;
    border: 0;
    background: transparent;
    color: #ffb020;
    font-weight: 850;
}

.support-bot-answer-card,
.support-bot-thread-head {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.08), rgba(255, 176, 32, 0.04)),
        #101119;
    padding: 16px;
}

.support-bot-answer-card h3 {
    margin: 14px 0 8px;
}

.support-bot-answer-card p {
    margin: 0;
    line-height: 1.65;
}

.support-bot-answer-card a,
.support-bot-attachment,
.support-ticket-attachment-link {
    display: inline-flex;
    margin-top: 12px;
    color: #ffb020;
    font-weight: 800;
    text-decoration: none;
}

.support-bot-answer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.support-bot-answer-actions button,
.support-bot-ticket-form > button,
.support-bot-reply-form button[type="submit"] {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 900;
}

.support-bot-answer-actions button:first-child {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
}

.support-bot-answer-actions button:last-child,
.support-bot-ticket-form > button,
.support-bot-reply-form button[type="submit"] {
    background: linear-gradient(135deg, #ff4757, #ff8a2a);
}

.support-bot-ticket-form {
    display: grid;
    gap: 11px;
}

.support-bot-ticket-form label,
.support-bot-reply-form {
    display: grid;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 850;
}

.support-bot-ticket-form input,
.support-bot-ticket-form select,
.support-bot-ticket-form textarea,
.support-bot-reply-form textarea {
    width: 100%;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    background: #0d0e14;
    color: #ffffff;
    padding: 11px 12px;
    font: inherit;
    outline: none;
}

.support-bot-ticket-form textarea,
.support-bot-reply-form textarea {
    resize: vertical;
}

.support-bot-form-note {
    margin: 2px 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
}

.support-bot-status {
    min-height: 20px;
    margin: 0;
    color: #86efac;
    font-weight: 850;
    font-size: 0.86rem;
}

.support-bot-status.is-error {
    color: #ff6b81;
}

.support-bot-ticket-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.support-bot-ticket-list button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: #0f1017;
    color: #ffffff;
    padding: 8px 10px;
}

.support-bot-ticket-list em,
.support-bot-thread-head em {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255, 176, 32, 0.13);
    color: #ffb020;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 900;
}

.support-bot-thread {
    display: grid;
    gap: 12px;
}

.support-bot-thread-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.support-bot-thread-head div {
    display: grid;
    gap: 3px;
}

.support-bot-messages {
    display: grid;
    gap: 10px;
    max-height: 280px;
    overflow: auto;
    padding-right: 2px;
}

.support-bot-messages article {
    max-width: 88%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 11px;
    background: #11121a;
}

.support-bot-messages article.from-admin {
    margin-left: auto;
    border-color: rgba(255, 176, 32, 0.22);
    background: rgba(255, 176, 32, 0.08);
}

.support-bot-messages p {
    margin: 5px 0 0;
    line-height: 1.55;
}

.support-bot-messages span {
    display: block;
    margin-top: 7px;
    font-size: 0.76rem;
}

.support-bot-reply-form div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
}

.support-bot-reply-form input {
    min-width: 0;
    color: #a9b5c8;
}

.support-bot-reply-form button {
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-weight: 850;
}

.support-bot-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    max-width: min(360px, calc(100vw - 28px));
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(34, 197, 94, 0.34);
    border-radius: 8px;
    background: #0d1511;
    color: #bbf7d0;
    padding: 0 14px;
    font-weight: 850;
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.38);
    z-index: 2147483500;
    cursor: pointer;
}

@media screen and (max-width: 640px) {
    .support-bot-widget {
        right: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
    }

    .support-bot-answer-actions,
    .support-bot-reply-form div {
        grid-template-columns: 1fr;
    }

    .support-bot-messages article {
        max-width: 94%;
    }
}

/* Keep the new secure checkout header, restore the original payment/thank-you body layouts. */
body:has(.checkout-header) {
    background: #05070d !important;
}

body:has(.checkout-header) .payment-page {
    width: 100% !important;
    min-height: 100vh !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background:
        radial-gradient(circle at 24% 16%, rgba(255, 71, 87, 0.16), transparent 31%),
        radial-gradient(circle at 58% 88%, rgba(21, 185, 129, 0.10), transparent 30%),
        #05070d !important;
}

body:has(.checkout-header) .payment-layout {
    width: min(1180px, 100%) !important;
    min-height: 100vh !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body:has(.checkout-header) .payment-methods-panel,
body:has(.checkout-header) .payment-order-panel {
    min-height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 70px 44px !important;
    box-shadow: none !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.018), transparent),
        rgba(12, 16, 25, 0.72) !important;
}

body:has(.checkout-header) .payment-methods-panel {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body:has(.checkout-header) .payment-order-panel {
    position: static !important;
    top: auto !important;
    align-self: stretch !important;
    max-height: none !important;
    overflow: visible !important;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 71, 87, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent),
        rgba(13, 17, 27, 0.82) !important;
}

body:has(.checkout-header) .payment-panel-title {
    position: static !important;
    margin-bottom: 12px !important;
}

body:has(.checkout-header) .payment-panel-title h2,
body:has(.checkout-header) .payment-order-panel h2 {
    margin: 0 0 12px !important;
    color: white !important;
    font-size: 1.9rem !important;
    line-height: normal !important;
}

body:has(.checkout-header) #selectedPaymentText {
    position: static !important;
    min-height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    border: 1px solid rgba(255, 71, 87, 0.24) !important;
    border-radius: 999px !important;
    background: rgba(255, 71, 87, 0.08) !important;
    color: #ffd7dd !important;
    font-size: inherit !important;
    font-weight: 900 !important;
}

body:has(.checkout-header) .payment-options-list {
    display: grid !important;
    gap: 10px !important;
}

body:has(.checkout-header) .payment-options-list .payment-option {
    min-height: 68px !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) 22px !important;
    gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(68, 82, 111, 0.68) !important;
    border-radius: 8px !important;
    background: #20232c !important;
    color: #fff !important;
    text-align: left !important;
    box-shadow: none !important;
    transform: none !important;
}

body:has(.checkout-header) .payment-options-list .payment-option:hover,
body:has(.checkout-header) .payment-options-list .payment-option.active {
    border-color: rgba(255, 71, 87, 0.62) !important;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.12), rgba(39, 43, 54, 0.96)) !important;
    box-shadow: 0 14px 28px rgba(255, 71, 87, 0.12) !important;
}

body:has(.checkout-header) .payment-options-list .payment-option img {
    max-width: 44px !important;
    max-height: 32px !important;
    object-fit: contain !important;
}

body:has(.checkout-header) .payment-card-stack {
    display: grid !important;
    gap: 2px !important;
}

body:has(.checkout-header) .payment-card-stack img {
    max-width: 36px !important;
    max-height: 18px !important;
}

body:has(.checkout-header) .payment-options-list .payment-option span:not(.payment-card-stack) {
    display: grid !important;
    gap: 3px !important;
}

body:has(.checkout-header) .payment-options-list .payment-option strong {
    color: #f8fafc !important;
    font-size: 1rem !important;
}

body:has(.checkout-header) .payment-options-list .payment-option em {
    color: #aab5c5 !important;
    font-style: normal !important;
    font-size: 0.86rem !important;
}

body:has(.checkout-header) .payment-assurance-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 14px !important;
}

body:has(.checkout-header) .payment-assurance-row span {
    min-height: 36px !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: rgba(34, 197, 94, 0.055) !important;
}

body:has(.checkout-header) .payment-order-product {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) auto !important;
    gap: 14px !important;
    padding: 0 0 22px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body:has(.checkout-header) .payment-order-product img {
    width: 82px !important;
    height: 82px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
}

body:has(.checkout-header) .payment-order-product strong {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}

body:has(.checkout-header) .payment-order-product b {
    display: none !important;
}

body:has(.checkout-header) .payment-order-row {
    padding: 12px 0 !important;
    border-bottom: 0 !important;
}

body:has(.checkout-header) .payment-fee-info::after {
    content: none !important;
    display: none !important;
}

body:has(.checkout-header) .thank-you-page {
    width: 100% !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background:
        radial-gradient(circle at 23% 16%, rgba(255, 71, 87, 0.16), transparent 32%),
        radial-gradient(circle at 70% 86%, rgba(34, 197, 94, 0.10), transparent 30%),
        #05070d !important;
}

body:has(.checkout-header) .thank-you-panel {
    width: min(1180px, 100%) !important;
    min-height: 100vh !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr) !important;
    align-items: center !important;
    gap: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body:has(.checkout-header) .thank-you-left,
body:has(.checkout-header) .thank-you-summary {
    min-height: 100vh !important;
    padding: 70px 44px !important;
}

body:has(.checkout-header) .thank-you-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 0 !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 38%),
        rgba(12, 16, 25, 0.72) !important;
}

body:has(.checkout-header) .thank-you-summary {
    background:
        radial-gradient(circle at 100% 0, rgba(255, 71, 87, 0.08), transparent 32%),
        rgba(13, 17, 27, 0.82) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

body:has(.checkout-header) .thank-you-icon {
    margin: 0 0 18px !important;
    animation: none !important;
}

body:has(.checkout-header) .thank-you-icon::after {
    content: none !important;
}

body:has(.checkout-header) .thank-you-panel h1 {
    margin: 0 0 12px !important;
    font-size: clamp(2.2rem, 5vw, 4.1rem) !important;
    line-height: 1.02 !important;
}

body:has(.checkout-header) .thank-you-next-steps {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

body:has(.checkout-header) .thank-you-next-steps span {
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 !important;
}

body:has(.checkout-header) .thank-you-product {
    margin: 0 0 18px !important;
    padding: 0 0 20px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

@media screen and (max-width: 920px) {
    body:has(.checkout-header) .thank-you-panel {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    body:has(.checkout-header) .thank-you-left,
    body:has(.checkout-header) .thank-you-summary {
        min-height: auto !important;
        padding: 34px 22px !important;
    }

    body:has(.checkout-header) .thank-you-left {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
}

@media screen and (max-width: 680px) {
    body:has(.checkout-header) .payment-layout {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    body:has(.checkout-header) .payment-methods-panel,
    body:has(.checkout-header) .payment-order-panel {
        padding: 26px 18px !important;
    }

    body:has(.checkout-header) .payment-order-product {
        grid-template-columns: 68px minmax(0, 1fr) !important;
    }

    body:has(.checkout-header) .payment-order-product img {
        width: 68px !important;
        height: 68px !important;
    }
}

@media screen and (max-width: 640px) {
    body:has(.checkout-header) .payment-assurance-row,
    body:has(.checkout-header) .thank-you-next-steps {
        grid-template-columns: 1fr !important;
    }
}

/* Final compact checkout header/payment tweaks. */
body:has(.checkout-header) .checkout-header {
    min-height: 48px !important;
    margin: 6px auto 8px !important;
}

body:has(.checkout-header) .checkout-brand-icon {
    width: 46px !important;
    height: 46px !important;
}

body:has(.checkout-header) .checkout-brand-wordmark {
    height: 22px !important;
}

body:has(.checkout-header) .checkout-trust-nav {
    gap: 0 !important;
}

body:has(.checkout-header) .checkout-trust-nav span {
    display: none !important;
}

body:has(.checkout-header) .checkout-trust-nav a {
    min-height: 32px !important;
    padding: 0 14px !important;
}

body:has(.checkout-header) .payment-brand-row {
    display: none !important;
}

body:has(.checkout-header) .payment-methods-panel,
body:has(.checkout-header) .payment-order-panel {
    padding-top: 44px !important;
}

body:has(.checkout-header) .payment-card-stack {
    width: 46px !important;
    height: 34px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: 15px !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 2px !important;
}

body:has(.checkout-header) .payment-card-stack img {
    max-width: 42px !important;
    max-height: 15px !important;
    object-fit: contain !important;
}

/* Final checkout header/payment polish override. */
body:has(.checkout-header) {
    background:
        radial-gradient(circle at 22% 12%, rgba(255, 71, 87, 0.14), transparent 34%),
        radial-gradient(circle at 78% 14%, rgba(34, 211, 238, 0.08), transparent 34%),
        #05070d !important;
}

body:has(.checkout-header) .checkout-header {
    width: min(1180px, calc(100% - 32px)) !important;
    min-height: 48px !important;
    height: auto !important;
    margin: 8px auto 0 !important;
    padding: 5px 44px !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-bottom: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(9, 13, 22, 0.88) !important;
}

body:has(.checkout-header) .checkout-brand-icon {
    width: 38px !important;
    height: 38px !important;
}

body:has(.checkout-header) .checkout-brand-wordmark {
    height: 20px !important;
}

body:has(.checkout-header) .checkout-trust-nav a {
    min-height: 30px !important;
    padding: 0 12px !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    background: rgba(7, 10, 17, 0.66) !important;
}

body:has(.checkout-header) .payment-page {
    min-height: calc(100svh - 56px) !important;
    padding: 0 16px 48px !important;
    background: transparent !important;
}

body:has(.checkout-header) .payment-layout {
    border-top: 0 !important;
    border-radius: 0 0 8px 8px !important;
}

body:has(.checkout-header) .payment-methods-panel,
body:has(.checkout-header) .payment-order-panel {
    padding-top: 34px !important;
}

body:has(.checkout-header) .payment-service-fee-row {
    position: relative !important;
}

body:has(.checkout-header) .payment-fee-info {
    cursor: pointer !important;
}

body:has(.checkout-header) .payment-fee-popover[hidden] {
    display: none !important;
}

body:has(.checkout-header) .payment-fee-popover {
    position: absolute !important;
    left: 0 !important;
    top: calc(100% - 2px) !important;
    z-index: 12 !important;
    width: min(330px, calc(100vw - 42px)) !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(34, 211, 238, 0.18) !important;
    border-radius: 8px !important;
    background: rgba(10, 15, 24, 0.96) !important;
    color: #dbeafe !important;
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32) !important;
}

@media screen and (max-width: 680px) {
    body:has(.checkout-header) .checkout-header {
        width: calc(100% - 20px) !important;
        margin-top: 10px !important;
        padding: 8px 14px !important;
    }

    body:has(.checkout-header) .checkout-brand-icon {
        width: 34px !important;
        height: 34px !important;
    }

    body:has(.checkout-header) .checkout-brand-wordmark {
        height: 18px !important;
    }

    body:has(.checkout-header) .payment-page {
        padding-inline: 10px !important;
    }
}

/* Payment header and fee info polish. */
body:has(.checkout-header) {
    background:
        radial-gradient(circle at 22% 12%, rgba(255, 71, 87, 0.14), transparent 34%),
        radial-gradient(circle at 78% 14%, rgba(34, 211, 238, 0.08), transparent 34%),
        #05070d !important;
}

body:has(.checkout-header) .checkout-header {
    width: min(1180px, calc(100% - 32px)) !important;
    min-height: 56px !important;
    height: auto !important;
    margin: 14px auto 0 !important;
    padding: 7px 44px !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-bottom: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(9, 13, 22, 0.88) !important;
}

body:has(.checkout-header) .checkout-brand-icon {
    width: 38px !important;
    height: 38px !important;
}

body:has(.checkout-header) .checkout-brand-wordmark {
    height: 20px !important;
}

body:has(.checkout-header) .checkout-trust-nav a {
    min-height: 30px !important;
    padding: 0 12px !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    background: rgba(7, 10, 17, 0.66) !important;
}

body:has(.checkout-header) .payment-page {
    min-height: calc(100svh - 70px) !important;
    padding: 0 16px 48px !important;
    background: transparent !important;
}

body:has(.checkout-header) .payment-layout {
    border-top: 0 !important;
    border-radius: 0 0 8px 8px !important;
}

body:has(.checkout-header) .payment-methods-panel,
body:has(.checkout-header) .payment-order-panel {
    padding-top: 34px !important;
}

body:has(.checkout-header) .payment-service-fee-row {
    position: relative !important;
}

body:has(.checkout-header) .payment-fee-info {
    cursor: pointer !important;
}

body:has(.checkout-header) .payment-fee-popover[hidden] {
    display: none !important;
}

body:has(.checkout-header) .payment-fee-popover {
    position: absolute !important;
    left: 0 !important;
    top: calc(100% - 2px) !important;
    z-index: 12 !important;
    width: min(330px, calc(100vw - 42px)) !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(34, 211, 238, 0.18) !important;
    border-radius: 8px !important;
    background: rgba(10, 15, 24, 0.96) !important;
    color: #dbeafe !important;
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32) !important;
}

@media screen and (max-width: 680px) {
    body:has(.checkout-header) .checkout-header {
        width: calc(100% - 20px) !important;
        margin-top: 10px !important;
        padding: 8px 14px !important;
    }

    body:has(.checkout-header) .checkout-brand-icon {
        width: 34px !important;
        height: 34px !important;
    }

    body:has(.checkout-header) .checkout-brand-wordmark {
        height: 18px !important;
    }

    body:has(.checkout-header) .payment-page {
        padding-inline: 10px !important;
    }
}

@media screen and (max-width: 680px) {
    body:has(.checkout-header) .checkout-header {
        width: min(100% - 20px, 760px) !important;
        margin-top: 6px !important;
    }

    body:has(.checkout-header) .payment-methods-panel,
    body:has(.checkout-header) .payment-order-panel {
        padding-top: 24px !important;
    }
}

/* Checkout compact adjustments requested after restore. */
body:has(.checkout-header) .checkout-header {
    min-height: 48px !important;
    margin: 6px auto 8px !important;
}

body:has(.checkout-header) .checkout-brand-icon {
    width: 46px !important;
    height: 46px !important;
}

body:has(.checkout-header) .checkout-brand-wordmark {
    height: 22px !important;
}

body:has(.checkout-header) .checkout-trust-nav {
    gap: 0 !important;
}

body:has(.checkout-header) .checkout-trust-nav span {
    display: none !important;
}

body:has(.checkout-header) .checkout-trust-nav a {
    min-height: 32px !important;
    padding: 0 14px !important;
}

body:has(.checkout-header) .payment-brand-row {
    display: none !important;
}

body:has(.checkout-header) .payment-methods-panel,
body:has(.checkout-header) .payment-order-panel {
    padding-top: 44px !important;
}

body:has(.checkout-header) .payment-card-stack {
    width: 46px !important;
    height: 34px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: 15px !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 2px !important;
}

body:has(.checkout-header) .payment-card-stack img {
    max-width: 42px !important;
    max-height: 15px !important;
    object-fit: contain !important;
}

@media screen and (max-width: 680px) {
    body:has(.checkout-header) .checkout-header {
        width: min(100% - 20px, 760px) !important;
        margin-top: 6px !important;
    }

    body:has(.checkout-header) .payment-methods-panel,
    body:has(.checkout-header) .payment-order-panel {
        padding-top: 24px !important;
    }
}

/* Offer image loading: never flash a category fallback before the seller upload resolves. */
.seller-profile-offer img.offer-image-pending,
.seller-offer-manager-main img.seller-offer-image-pending,
.seller-featured-offer-option img.seller-offer-image-pending {
    background:
        linear-gradient(90deg, rgba(7, 10, 16, 0.96) 0%, rgba(19, 28, 42, 0.96) 46%, rgba(7, 10, 16, 0.96) 100%);
    background-size: 220% 100%;
    animation: offerImageSkeleton 1.15s ease-in-out infinite;
}

.seller-profile-offer img.offer-image-loaded,
.seller-offer-manager-main img.seller-offer-image-loaded,
.seller-featured-offer-option img.seller-offer-image-loaded {
    background: #070a10;
}

@keyframes offerImageSkeleton {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}

/* Premium checkout refresh */
body:has(.checkout-header) {
    background:
        linear-gradient(150deg, rgba(255, 71, 87, 0.12), transparent 28%),
        linear-gradient(28deg, rgba(34, 211, 238, 0.08), transparent 34%),
        #05070d;
    color: #eaf2ff;
}

.checkout-header {
    width: min(1180px, calc(100% - 32px));
    min-height: 48px;
    margin: 6px auto 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    z-index: 5;
}

.checkout-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.checkout-brand-icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.checkout-brand-wordmark {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.checkout-trust-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.checkout-trust-nav span,
.checkout-trust-nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: rgba(12, 16, 26, 0.72);
    color: #dbeafe;
    font-size: 0.82rem;
    font-weight: 850;
    text-decoration: none;
}

.checkout-trust-nav i {
    color: #22d3ee;
}

.payment-page,
.thank-you-page {
    width: 100% !important;
    max-width: none !important;
    min-height: calc(100svh - 90px) !important;
    margin: 0 !important;
    padding: 28px 16px 56px !important;
    display: block !important;
    background:
        linear-gradient(180deg, rgba(8, 11, 18, 0.08), rgba(8, 11, 18, 0.54)),
        linear-gradient(118deg, rgba(255, 71, 87, 0.14), transparent 33%),
        linear-gradient(296deg, rgba(34, 211, 238, 0.10), transparent 38%);
}

.payment-layout,
.thank-you-panel {
    width: min(1180px, 100%) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        rgba(9, 13, 22, 0.82) !important;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32), 0 0 46px rgba(255, 71, 87, 0.07) !important;
    backdrop-filter: blur(18px);
}

.payment-methods-panel,
.payment-order-panel,
.thank-you-left,
.thank-you-summary {
    min-height: 0 !important;
    border: 0 !important;
    background: transparent !important;
    padding: 34px 44px !important;
}

.payment-methods-panel,
.thank-you-left {
    border-right: 1px solid rgba(148, 163, 184, 0.14) !important;
}

.payment-order-panel {
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    max-height: calc(100svh - 118px);
    overflow: auto;
}

.checkout-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 30px;
}

.checkout-progress span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    background: rgba(10, 14, 23, 0.68);
    color: #94a3b8;
    font-size: 0.84rem;
    font-weight: 900;
}

.checkout-progress .is-complete {
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, 0.28);
}

.checkout-progress .is-active {
    color: #fff;
    border-color: rgba(255, 71, 87, 0.55);
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.22), rgba(34, 211, 238, 0.07));
}

.checkout-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 8px;
    color: #67e8f9;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.payment-panel-title {
    position: relative;
    margin-bottom: 20px;
}

.payment-panel-title h2,
.payment-order-panel h2,
.thank-you-summary h2 {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(1.45rem, 2.6vw, 2.1rem) !important;
    line-height: 1.1 !important;
}

.payment-panel-title p {
    max-width: 560px;
    margin: 10px 0 0;
    color: #b8c7dd;
    line-height: 1.55;
}

#selectedPaymentText {
    position: absolute;
    right: 0;
    top: 8px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 71, 87, 0.48);
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.13);
    color: #fecdd3;
    font-size: 0.82rem;
    font-weight: 900;
}

.payment-options-list {
    display: grid !important;
    gap: 12px !important;
}

.payment-options-list .payment-option {
    min-height: 78px !important;
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) 22px !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 13px 14px !important;
    border: 1px solid rgba(148, 163, 184, 0.20) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        rgba(13, 18, 29, 0.88) !important;
    color: #fff !important;
    box-shadow: none !important;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.payment-options-list .payment-option:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(34, 211, 238, 0.38) !important;
}

.payment-options-list .payment-option.active {
    border-color: rgba(255, 71, 87, 0.70) !important;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.20), rgba(34, 211, 238, 0.055)),
        rgba(20, 22, 34, 0.94) !important;
    box-shadow: 0 18px 36px rgba(255, 71, 87, 0.10) !important;
}

.payment-method-media {
    width: 52px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(3, 7, 18, 0.55);
}

.payment-options-list .payment-option img {
    max-width: 42px !important;
    max-height: 28px !important;
    object-fit: contain;
}

.payment-card-stack {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.payment-options-list .payment-option span:not(.payment-method-media):not(.payment-card-stack) {
    display: grid !important;
    gap: 3px !important;
    min-width: 0;
}

.payment-options-list .payment-option strong {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #fff !important;
    font-size: 1rem !important;
}

.payment-options-list .payment-option strong b {
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.13);
    color: #86efac;
    font-size: 0.66rem;
    line-height: 1;
    text-transform: uppercase;
}

.payment-options-list .payment-option strong b.is-muted {
    background: rgba(148, 163, 184, 0.13);
    color: #cbd5e1;
}

.payment-options-list .payment-option em,
.payment-options-list .payment-option small {
    color: #aab8cd !important;
    font-style: normal !important;
    font-size: 0.83rem !important;
}

.payment-options-list .payment-option small {
    color: #67e8f9 !important;
    font-weight: 850;
}

.payment-protection-box {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(34, 197, 94, 0.18);
    border-radius: 8px;
    background: rgba(4, 120, 87, 0.10);
}

.payment-protection-box > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.13);
    color: #2ff28a;
}

.payment-protection-box strong,
.payment-protection-box span {
    display: block;
}

.payment-protection-box strong {
    color: #fff;
}

.payment-protection-box span {
    margin-top: 3px;
    color: #b8c7dd;
    font-size: 0.88rem;
}

.payment-assurance-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 14px !important;
}

.payment-assurance-row span {
    min-height: 38px !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: rgba(34, 197, 94, 0.075) !important;
}

.payment-accepted-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.payment-accepted-box span {
    width: 100%;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.payment-accepted-box img {
    width: 58px;
    height: 34px;
    padding: 7px;
    border-radius: 7px;
    background: #fff;
    object-fit: contain;
}

.payment-order-panel h2 {
    margin-bottom: 20px !important;
}

.payment-order-product {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    padding: 12px !important;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(7, 10, 16, 0.36);
}

.payment-order-product img {
    width: 76px !important;
    height: 76px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
}

.payment-order-product strong {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

.payment-order-row {
    border-bottom: 1px solid rgba(148, 163, 184, 0.11) !important;
}

.payment-fee-info {
    position: relative;
}

.payment-fee-info::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 9px);
    width: 210px;
    padding: 9px 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #0b1020;
    color: #dbeafe;
    font-size: 0.74rem;
    line-height: 1.35;
    text-align: left;
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 10;
}

.payment-fee-info:hover::after,
.payment-fee-info:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.payment-order-panel .payment-submit-btn {
    border-radius: 8px !important;
    background: linear-gradient(135deg, #ff334f, #ff6b81) !important;
    box-shadow: 0 16px 34px rgba(255, 71, 87, 0.28) !important;
}

.thank-you-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0 !important;
}

.thank-you-icon {
    position: relative;
    margin: 0 0 22px !important;
    background: rgba(34, 197, 94, 0.12) !important;
    border-color: rgba(34, 197, 94, 0.38) !important;
    animation: checkoutSuccessPop 0.55s ease-out both;
}

.thank-you-icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(34, 197, 94, 0.30);
    border-radius: 50%;
    animation: checkoutSuccessRing 1.5s ease-out infinite;
}

.thank-you-badge {
    margin-bottom: 12px !important;
    color: #35f58a !important;
}

.thank-you-panel h1 {
    max-width: 620px;
    font-size: clamp(2.3rem, 6vw, 4.8rem) !important;
    line-height: 0.98 !important;
}

.thank-you-left > p {
    max-width: 610px !important;
    color: #c9d7ea !important;
}

.thank-you-next-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 6px !important;
}

.thank-you-next-steps span {
    min-height: 106px !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr);
    align-content: start;
    gap: 4px 10px !important;
    padding: 13px !important;
    border-radius: 8px !important;
}

.thank-you-next-steps span i {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #35f58a !important;
    font-style: normal;
    font-weight: 950;
}

.thank-you-next-steps strong {
    color: #fff;
    font-size: 0.92rem;
}

.thank-you-next-steps em {
    color: #a9b9cf;
    font-size: 0.78rem;
    font-style: normal;
    line-height: 1.35;
}

.thank-you-actions {
    margin-top: 24px !important;
}

.thank-you-primary-btn,
.thank-you-secondary-btn {
    border-radius: 8px !important;
    text-decoration: none !important;
}

.thank-you-summary {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

.thank-you-product {
    margin-top: 20px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(7, 10, 16, 0.32);
}

.thank-you-product img {
    border-radius: 8px !important;
    object-fit: cover !important;
}

.thank-you-copy-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.thank-you-copy-wrap button {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 7px;
    background: rgba(15, 23, 42, 0.72);
    color: #cfe3ff;
    cursor: pointer;
}

@keyframes checkoutSuccessPop {
    0% { transform: scale(0.72); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes checkoutSuccessRing {
    0% { transform: scale(0.82); opacity: 0.75; }
    100% { transform: scale(1.24); opacity: 0; }
}

@media screen and (max-width: 980px) {
    .checkout-header {
        width: min(100% - 24px, 760px);
        align-items: flex-start;
        flex-direction: column;
    }

    .checkout-trust-nav {
        justify-content: flex-start;
    }

    .payment-page,
    .thank-you-page {
        padding: 18px 12px 42px !important;
    }

    .payment-layout,
    .thank-you-panel {
        width: min(760px, 100%) !important;
        grid-template-columns: 1fr !important;
    }

    .payment-methods-panel,
    .thank-you-left {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
    }

    .payment-order-panel {
        position: static !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

@media screen and (max-width: 640px) {
    .checkout-header {
        min-height: 0;
        margin-top: 12px;
    }

    .checkout-brand-icon {
        width: 48px;
        height: 48px;
    }

    .checkout-brand-wordmark {
        height: 22px;
    }

    .checkout-trust-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .checkout-trust-nav span,
    .checkout-trust-nav a {
        justify-content: center;
        min-height: 32px;
        padding: 0 8px;
        font-size: 0.74rem;
    }

    .checkout-progress {
        grid-template-columns: 1fr;
        margin-bottom: 22px;
    }

    .payment-methods-panel,
    .payment-order-panel,
    .thank-you-left,
    .thank-you-summary {
        padding: 22px 16px !important;
    }

    #selectedPaymentText {
        position: static;
        margin-top: 12px;
    }

    .payment-options-list .payment-option {
        grid-template-columns: 48px minmax(0, 1fr) 20px !important;
        min-height: 70px !important;
        gap: 10px !important;
        padding: 11px !important;
    }

    .payment-method-media {
        width: 46px;
        height: 38px;
    }

    .payment-assurance-row,
    .thank-you-next-steps {
        grid-template-columns: 1fr !important;
    }

    .payment-order-product {
        grid-template-columns: 62px minmax(0, 1fr) !important;
    }

    .payment-order-product img {
        width: 62px !important;
        height: 62px !important;
    }

    .thank-you-panel h1 {
        font-size: 2.55rem !important;
    }

    .thank-you-next-steps span {
        min-height: 82px !important;
    }
}

/* Balanced desktop clarity for homepage category launcher. */
body:has(.hero-home) > .home-category-strip,
body:has(.hero-home) .trust-strip.home-category-strip {
    opacity: 1 !important;
    filter: none !important;
}

body:has(.hero-home) > .home-category-strip .home-category-pill,
body:has(.hero-home) .trust-strip.home-category-strip .home-category-pill {
    opacity: 1 !important;
    filter: none !important;
    color: #f5f7fb !important;
    overflow: hidden !important;
}

body:has(.hero-home) > .home-category-strip .home-category-pill strong,
body:has(.hero-home) .trust-strip.home-category-strip .home-category-pill strong {
    color: #f5f7fb !important;
    -webkit-text-fill-color: #f5f7fb !important;
    opacity: 1 !important;
    filter: none !important;
    font-weight: 900 !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.78) !important;
}

body:has(.hero-home) > .home-category-strip .home-category-pill i,
body:has(.hero-home) .trust-strip.home-category-strip .home-category-pill i {
    opacity: 1 !important;
    filter: saturate(1.08) brightness(1.08) contrast(1.04) !important;
    text-shadow: none !important;
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--pill-accent) 28%, rgba(255, 255, 255, 0.08)),
        inset 0 0 14px color-mix(in srgb, var(--pill-accent) 18%, transparent) !important;
}

body:has(.hero-home) > .home-category-strip .home-category-pill:hover strong,
body:has(.hero-home) .trust-strip.home-category-strip .home-category-pill:hover strong {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    filter: none !important;
}

body:has(.hero-home) > .home-category-strip .home-category-pill:hover i,
body:has(.hero-home) .trust-strip.home-category-strip .home-category-pill:hover i {
    filter: saturate(1.15) brightness(1.13) contrast(1.06) !important;
}

.home-category-strip .home-category-pill strong,
.trust-strip.home-category-strip .home-category-pill strong,
a.home-category-pill strong {
    color: #f5f7fb !important;
    -webkit-text-fill-color: #f5f7fb !important;
    opacity: 1 !important;
    filter: none !important;
    font-weight: 900 !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.78) !important;
}

.home-category-strip .home-category-pill i,
.trust-strip.home-category-strip .home-category-pill i,
a.home-category-pill i {
    opacity: 1 !important;
    filter: saturate(1.08) brightness(1.08) contrast(1.04) !important;
    text-shadow: none !important;
}

.home-category-strip .home-category-pill:hover strong,
.trust-strip.home-category-strip .home-category-pill:hover strong {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.82) !important;
}

.home-category-strip,
.trust-strip.home-category-strip {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

.home-category-strip .home-category-pill {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

.home-category-strip .home-category-pill strong {
    display: block !important;
    color: #f5f7fb !important;
    -webkit-text-fill-color: #f5f7fb !important;
    font-family: inherit !important;
    font-size: 1.08rem !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    text-decoration: none !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.78) !important;
}

.home-category-strip .home-category-pill i {
    opacity: 1 !important;
    color: var(--pill-accent) !important;
    -webkit-text-fill-color: var(--pill-accent) !important;
    filter: brightness(1.08) saturate(1.08) contrast(1.04) !important;
    mix-blend-mode: normal !important;
    text-shadow: none !important;
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--pill-accent) 28%, rgba(255, 255, 255, 0.08)),
        inset 0 0 14px color-mix(in srgb, var(--pill-accent) 18%, transparent) !important;
}

/* Homepage helper copy removed: keep sections tight without blank text gaps. */
body:has(.hero-home) .home-process-copy h2,
body:has(.hero-home) .feature-top h2,
body:has(.hero-home) .live-reviews-head h2 {
    margin-bottom: 0 !important;
}

body:has(.hero-home) .feature-top {
    margin-bottom: 42px !important;
}

body:has(.hero-home) .live-reviews-head h2 {
    margin-top: 0 !important;
}

@media screen and (max-width: 640px) {
    body:has(.hero-home) .feature-top {
        margin-bottom: 28px !important;
    }
}

.account-avatar,
.chat-focus-avatar,
.chat-workspace-item > span,
.seller-card-avatar,
.seller-review-avatar,
.currency-seller-avatar,
.seller-live-avatar > span,
.seller-profile-avatar,
.order-expanded-seller-avatar,
.dispute-chat-seller-avatar {
    overflow: hidden;
}

.account-avatar img,
.chat-focus-avatar img,
.chat-workspace-item > span img,
.seller-card-avatar img,
.seller-review-avatar img,
.currency-seller-avatar img,
.seller-live-avatar > span img,
.seller-profile-avatar img,
.order-expanded-seller-avatar img,
.dispute-chat-seller-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.account-avatar.has-image > i,
.account-avatar.has-image .avatar-fallback {
    display: none;
}

.seller-order-list-row.has-unread-chat {
    box-shadow: inset 4px 0 0 #ff4757;
}

.chat-workspace-item.support-home > span {
    border-radius: 50% !important;
    background: transparent !important;
    overflow: hidden !important;
}

.chat-workspace-item.support-home > span img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 50% !important;
}

.seller-order-chat-badge {
    width: max-content;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 71, 87, 0.14);
    color: #ff8a9b;
    padding: 3px 7px;
    font-size: 0.68rem;
    font-weight: 900;
}

/* CONTACT PAGE */
.contact-page-body .contact-hero.hero {
    min-height: 250px !important;
    padding: 34px 5% 44px !important;
    background:
        linear-gradient(90deg, rgba(5, 6, 10, 0.94), rgba(5, 6, 10, 0.78), rgba(5, 6, 10, 0.94)),
        url("../Images/home-banner.png") !important;
    background-size: cover !important;
    background-position: center 45% !important;
}

.contact-page-body .contact-hero-content {
    max-width: 980px;
    text-align: left;
}

.contact-page-body .contact-hero h1 {
    max-width: 620px;
    margin: 10px 0 10px !important;
    font-size: 2.15rem !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
}

.contact-page-body .contact-hero p {
    max-width: 600px;
    margin: 0;
    color: #b9c4d4 !important;
    font-size: 0.96rem !important;
    line-height: 1.6;
}

.contact-page-body .contact-support-main.sell-container {
    width: min(1080px, calc(100% - 40px)) !important;
    max-width: 1080px !important;
    display: grid !important;
    grid-template-columns: 350px minmax(0, 1fr) !important;
    align-items: start;
    gap: 18px !important;
    margin: 28px auto 86px !important;
    padding: 0 !important;
}

.contact-page-body .contact-support-info,
.contact-page-body .contact-form-panel.sell-form-box {
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        #0b0c11 !important;
    box-shadow: none;
}

.contact-page-body .contact-support-info {
    padding: 24px;
}

.contact-page-body .contact-form-panel.sell-form-box {
    padding: 24px !important;
}

.contact-page-body .contact-section-kicker {
    display: inline-flex;
    color: #f8b84e;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-page-body .contact-support-info h2,
.contact-page-body .contact-form-panel h3 {
    margin: 8px 0 10px;
    color: #ffffff;
    letter-spacing: 0;
}

.contact-page-body .contact-support-info h2 {
    font-size: 1.38rem;
    line-height: 1.24;
}

.contact-page-body .contact-support-info > p {
    margin: 0 0 18px;
    color: #9ca8ba;
    font-size: 0.92rem;
    line-height: 1.65;
}

.contact-page-body .contact-quick-card-grid {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.contact-page-body .contact-quick-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 2px 10px;
    align-items: center;
    min-height: 64px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: #080a0f;
    text-decoration: none;
}

.contact-page-body .contact-quick-card i {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.13);
    color: #ff4757;
}

.contact-page-body .contact-quick-card strong {
    color: #ffffff;
}

.contact-page-body .contact-quick-card span {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.45;
}

.contact-page-body .contact-quick-card:hover {
    border-color: rgba(255, 71, 87, 0.42);
    transform: translateY(-1px);
}

.contact-page-body .contact-info-list {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.contact-page-body .contact-info-list div {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 2px 11px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.contact-page-body .contact-info-list i {
    grid-row: span 2;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #ffb020;
}

.contact-page-body .contact-info-list span {
    color: #94a3b8;
    font-size: 0.82rem;
}

.contact-page-body .contact-info-list strong {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.45;
}

.contact-page-body .contact-support-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 0;
}

.contact-page-body .contact-support-actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
}

.contact-page-body .contact-support-actions a {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
}

.contact-page-body .contact-bot-open-btn {
    margin: 0 !important;
}

.contact-page-body .contact-floating-support {
    position: fixed;
    right: 24px;
    bottom: 24px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(255, 176, 32, 0.42);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.94), rgba(255, 138, 42, 0.94));
    color: #ffffff;
    padding: 0 17px;
    font-weight: 900;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
    z-index: 2147483400;
    cursor: pointer;
}

.contact-page-body .contact-floating-support i {
    font-size: 1rem;
}

.contact-page-body:has(.support-bot-widget) .contact-floating-support {
    display: none;
}

.contact-page-body .contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-page-body .contact-form-panel .form-group label span {
    color: #94a3b8;
    font-weight: 600;
}

.contact-page-body .contact-attachment-field small {
    color: #94a3b8;
    line-height: 1.45;
}

.contact-page-body .contact-submit-btn.form-submit-btn {
    background: linear-gradient(135deg, #ff4757, #ff8a2a) !important;
    box-shadow: 0 12px 28px rgba(255, 71, 87, 0.24) !important;
}

.contact-page-body .contact-submit-btn.form-submit-btn:hover {
    background: linear-gradient(135deg, #ff5a68, #ff9b3d) !important;
}

.contact-page-body .contact-form-state {
    min-height: 22px;
    margin: 0 0 10px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 800;
}

.contact-page-body .contact-form-state.is-error {
    color: #ff6b81;
}

.contact-page-body .contact-form-state.is-success {
    color: #86efac;
}

.contact-page-body #footer {
    margin-top: 0;
}

.contact-page-body #footer .footer-bottom {
    display: grid;
    gap: 10px;
}

.contact-page-body #footer .footer-bottom p {
    margin: 0;
    line-height: 1.75;
}

.contact-page-body .support-bot-widget {
    right: 24px;
    bottom: 24px;
    width: min(370px, calc(100vw - 32px));
    max-height: min(620px, calc(100dvh - 42px));
    border-color: rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(16, 17, 24, 0.98), rgba(8, 9, 14, 0.98));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.52);
}

.contact-page-body .support-bot-widget header {
    min-height: 52px;
    padding: 0 14px;
    background: #0d0e14;
}

.contact-page-body .support-bot-widget header span,
.contact-page-body .support-bot-category i,
.contact-page-body .support-bot-answer-card > span {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 176, 32, 0.1);
    color: #ffb020;
}

.contact-page-body .support-bot-safety {
    padding: 10px 14px;
    font-size: 0.78rem;
}

.contact-page-body .support-bot-body {
    padding: 14px;
}

.contact-page-body .support-bot-intro h3 {
    font-size: 1.02rem;
}

.contact-page-body .support-bot-intro p,
.contact-page-body .support-bot-answer-card p {
    font-size: 0.86rem;
}

.contact-page-body .support-bot-categories {
    gap: 7px;
}

.contact-page-body .support-bot-category {
    min-height: 42px;
    grid-template-columns: 30px minmax(0, 1fr);
    border-color: rgba(255, 255, 255, 0.075);
    background: #0b0c12;
    padding: 6px 9px;
}

.contact-page-body .support-bot-category span {
    font-size: 0.88rem;
}

.contact-page-body .support-bot-answer-card,
.contact-page-body .support-bot-thread-head {
    background: #0b0c12;
    padding: 14px;
}

.contact-page-body .support-bot-ticket-form {
    gap: 9px;
}

.contact-page-body .support-bot-ticket-form input,
.contact-page-body .support-bot-ticket-form select,
.contact-page-body .support-bot-ticket-form textarea,
.contact-page-body .support-bot-reply-form textarea {
    padding: 10px 11px;
    background: #101118;
}

.contact-page-body .support-bot-messages {
    max-height: 230px;
}

@media screen and (max-width: 900px) {
    .contact-page-body .contact-support-main.sell-container {
        grid-template-columns: 1fr !important;
    }

    .contact-page-body .contact-hero.hero {
        min-height: 230px !important;
        padding: 34px 18px 42px !important;
    }

    .contact-page-body .contact-hero h1 {
        font-size: 1.95rem !important;
    }
}

@media screen and (max-width: 640px) {
    .contact-page-body .contact-hero.hero {
        min-height: 210px !important;
        padding: 28px 15px 34px !important;
        background:
            linear-gradient(rgba(5,5,8,0.84), rgba(5,5,8,0.9)),
            url("../Images/home-banner.png") !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .contact-page-body .contact-hero h1 {
        font-size: 1.82rem !important;
    }

    .contact-page-body .contact-hero p {
        font-size: 0.92rem !important;
    }

    .contact-page-body .contact-support-main.sell-container {
        width: min(100% - 28px, 1180px) !important;
        margin: 24px auto 70px !important;
    }

    .contact-page-body .contact-support-info,
    .contact-page-body .contact-form-panel.sell-form-box {
        padding: 20px !important;
    }

    .contact-page-body .contact-form-grid,
    .contact-page-body .contact-support-actions {
        grid-template-columns: 1fr;
    }

    .contact-page-body .contact-floating-support {
        right: 14px;
        bottom: 14px;
        min-height: 46px;
        padding: 0 15px;
    }

    .contact-page-body .support-bot-widget {
        right: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
    }
}

/* CONTACT PAGE PREMIUM REDESIGN */
.contact-page-body {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 71, 87, 0.1), transparent 28%),
        radial-gradient(circle at 82% 24%, rgba(255, 138, 42, 0.08), transparent 24%),
        #05060a;
}

.contact-page-body .contact-hero.hero {
    min-height: 292px !important;
    padding: 54px 5% 58px !important;
    display: grid;
    place-items: center;
    background:
        linear-gradient(90deg, rgba(5, 6, 10, 0.7), rgba(5, 6, 10, 0.38), rgba(5, 6, 10, 0.7)),
        linear-gradient(180deg, rgba(5, 6, 10, 0.1), rgba(5, 6, 10, 0.45)),
        url("../Images/home-banner.png") !important;
    background-size: cover !important;
    background-position: center 44% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-page-body .contact-hero-content {
    width: min(920px, 100%);
    max-width: 920px;
    text-align: center;
}

.contact-page-body .contact-hero .badge {
    letter-spacing: 0.16em;
    color: #ffb347;
    text-shadow: 0 0 18px rgba(255, 138, 42, 0.28);
}

.contact-page-body .contact-hero h1 {
    max-width: 100%;
    margin: 11px auto 11px !important;
    color: #ffffff;
    font-size: clamp(2rem, 3.4vw, 3rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    text-shadow: 0 14px 42px rgba(0, 0, 0, 0.58);
}

.contact-page-body .contact-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: #d8dfeb !important;
    font-size: 1rem !important;
    line-height: 1.65;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.58);
}

.contact-page-body .contact-hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 19px;
}

.contact-page-body .contact-hero-chips span,
.contact-page-body .contact-hero-chips a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(8, 9, 14, 0.58);
    color: #f3f6fb;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-page-body .contact-hero-chips a:hover {
    border-color: rgba(255, 155, 61, 0.5);
    background: rgba(14, 15, 24, 0.72);
    transform: translateY(-1px);
}

.contact-page-body .contact-hero-chips i {
    color: #ff9b3d;
}

.contact-page-body .contact-support-main.sell-container {
    width: min(1160px, calc(100% - 48px)) !important;
    max-width: 1160px !important;
    grid-template-columns: minmax(300px, 0.34fr) minmax(0, 0.66fr) !important;
    gap: 28px !important;
    margin: 40px auto 96px !important;
}

.contact-page-body .contact-support-info,
.contact-page-body .contact-form-panel.sell-form-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
        linear-gradient(180deg, rgba(255, 71, 87, 0.06), rgba(255, 138, 42, 0.025)),
        rgba(9, 10, 15, 0.96) !important;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

.contact-page-body .contact-support-info::before,
.contact-page-body .contact-form-panel.sell-form-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 42, 0.48), transparent);
    pointer-events: none;
}

.contact-page-body .contact-support-info {
    padding: 26px !important;
}

.contact-page-body .contact-form-panel.sell-form-box {
    padding: 28px !important;
}

.contact-page-body .contact-section-kicker {
    color: #ffbd58;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.contact-page-body .contact-support-info h2,
.contact-page-body .contact-form-head h3 {
    margin: 8px 0 10px;
    color: #ffffff;
    letter-spacing: 0;
}

.contact-page-body .contact-support-info h2 {
    font-size: 1.44rem;
    line-height: 1.25;
}

.contact-page-body .contact-support-info > p {
    margin: 0 0 20px;
    color: #b4bfce;
    font-size: 0.93rem;
}

.contact-page-body .contact-quick-card-grid {
    gap: 11px;
    margin-bottom: 18px;
}

.contact-page-body .contact-quick-card {
    min-height: 78px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 3px 13px;
    padding: 13px;
    border-color: rgba(255, 255, 255, 0.105);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
        rgba(7, 8, 13, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-page-body .contact-quick-card i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.24), rgba(255, 138, 42, 0.13));
    color: #ff6b5f;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-page-body .contact-quick-card strong {
    font-size: 0.96rem;
}

.contact-page-body .contact-quick-card span {
    color: #aeb9c9;
    font-size: 0.81rem;
}

.contact-page-body .contact-quick-card:hover {
    border-color: rgba(255, 138, 42, 0.48);
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.095), rgba(255, 138, 42, 0.04)),
        rgba(10, 11, 17, 0.94);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
    transform: translateY(-2px);
}

.contact-page-body .contact-safety-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    margin: 18px 0 16px;
    padding: 14px;
    border: 1px solid rgba(255, 176, 32, 0.2);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 176, 32, 0.11), rgba(255, 71, 87, 0.035)),
        rgba(255, 255, 255, 0.035);
}

.contact-page-body .contact-safety-card i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffb020;
    background: rgba(255, 176, 32, 0.11);
}

.contact-page-body .contact-safety-card span {
    display: block;
    margin-bottom: 2px;
    color: #ffcf7a;
    font-size: 0.78rem;
    font-weight: 850;
}

.contact-page-body .contact-safety-card strong {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.45;
}

.contact-page-body .contact-support-actions {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.contact-page-body .contact-support-actions a {
    min-height: 46px;
    border-color: rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.032));
    color: #ffffff;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-page-body .contact-support-actions a:hover {
    border-color: rgba(255, 138, 42, 0.44);
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.14), rgba(255, 138, 42, 0.07));
    transform: translateY(-1px);
}

.contact-page-body .contact-form-head {
    margin-bottom: 20px;
}

.contact-page-body .contact-form-head h3 {
    font-size: 1.34rem;
    line-height: 1.22;
}

.contact-page-body .contact-form-head p {
    margin: 0;
    color: #adb8c8;
    font-size: 0.93rem;
    line-height: 1.6;
}

.contact-page-body .contact-form-grid {
    gap: 17px;
}

.contact-page-body .contact-form-panel .form-group {
    margin-bottom: 17px;
}

.contact-page-body .contact-form-panel .form-group label {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 850;
}

.contact-page-body .contact-form-panel .form-group label span {
    color: #a6b1c2;
}

.contact-page-body .contact-form-panel .form-group input,
.contact-page-body .contact-form-panel .form-group select,
.contact-page-body .contact-form-panel .form-group textarea {
    min-height: 47px;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 12px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        rgba(18, 19, 27, 0.86) !important;
    color: #eef3fb !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: border-color 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.contact-page-body .contact-form-panel .form-group input::placeholder,
.contact-page-body .contact-form-panel .form-group textarea::placeholder {
    color: #7f8b9e;
}

.contact-page-body .contact-form-panel .form-group select {
    color-scheme: dark;
}

.contact-page-body .contact-form-panel .form-group textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-page-body .contact-form-panel .form-group input:focus,
.contact-page-body .contact-form-panel .form-group select:focus,
.contact-page-body .contact-form-panel .form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 138, 42, 0.72) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.034)),
        rgba(19, 20, 29, 0.98) !important;
    box-shadow:
        0 0 0 3px rgba(255, 71, 87, 0.12),
        0 0 24px rgba(255, 138, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.contact-page-body .contact-attachment-field small {
    display: block;
    margin-top: 7px;
    color: #9eabbc;
    font-size: 0.8rem;
}

.contact-page-body .contact-submit-btn.form-submit-btn {
    width: 100%;
    min-height: 52px;
    margin-top: 2px;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(135deg, #ff394d 0%, #ff6b35 52%, #ff9b2f 100%) !important;
    color: #ffffff !important;
    font-size: 0.98rem;
    font-weight: 950;
    letter-spacing: 0;
    box-shadow:
        0 16px 34px rgba(255, 71, 87, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.contact-page-body .contact-submit-btn.form-submit-btn:hover {
    background: linear-gradient(135deg, #ff4c5f 0%, #ff7a42 52%, #ffad47 100%) !important;
    box-shadow:
        0 20px 42px rgba(255, 91, 58, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    filter: saturate(1.06);
    transform: translateY(-1px);
}

.contact-page-body .contact-form-state {
    min-height: 22px;
    margin: -3px 0 11px;
}

.contact-page-body .contact-next-steps {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.contact-page-body .contact-next-steps h4 {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0;
}

.contact-page-body .contact-next-steps > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.contact-page-body .contact-next-steps article {
    min-height: 78px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024)),
        rgba(6, 7, 11, 0.74);
}

.contact-page-body .contact-next-steps article span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.28), rgba(255, 138, 42, 0.2));
    color: #ffcf7a;
    font-size: 0.78rem;
    font-weight: 950;
}

.contact-page-body .contact-next-steps article strong {
    display: block;
    color: #eef3fb;
    font-size: 0.86rem;
    line-height: 1.35;
}

.contact-page-body .contact-floating-support {
    right: 22px;
    bottom: 22px;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 50%;
    box-shadow:
        0 16px 42px rgba(0, 0, 0, 0.46),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.contact-page-body .contact-floating-support span {
    display: none;
}

.contact-page-body .contact-floating-support i {
    font-size: 1.05rem;
}

@media screen and (max-width: 900px) {
    .contact-page-body .contact-hero.hero {
        min-height: 260px !important;
        padding: 42px 20px 46px !important;
    }

    .contact-page-body .contact-support-main.sell-container {
        width: min(100% - 34px, 720px) !important;
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        margin: 30px auto 78px !important;
    }

    .contact-page-body .contact-support-info,
    .contact-page-body .contact-form-panel.sell-form-box {
        padding: 24px !important;
    }
}

@media screen and (max-width: 640px) {
    .contact-page-body .contact-hero.hero {
        min-height: 230px !important;
        padding: 34px 16px 38px !important;
        background:
            linear-gradient(180deg, rgba(5, 6, 10, 0.72), rgba(5, 6, 10, 0.78)),
            url("../Images/home-banner.png") !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .contact-page-body .contact-hero h1 {
        font-size: 1.82rem !important;
    }

    .contact-page-body .contact-hero p {
        font-size: 0.91rem !important;
    }

    .contact-page-body .contact-hero-chips {
        gap: 8px;
        margin-top: 15px;
    }

    .contact-page-body .contact-hero-chips span,
    .contact-page-body .contact-hero-chips a {
        min-height: 32px;
        padding: 0 11px;
        font-size: 0.78rem;
    }

    .contact-page-body .contact-support-main.sell-container {
        width: min(100% - 24px, 720px) !important;
        margin: 22px auto 70px !important;
    }

    .contact-page-body .contact-support-info,
    .contact-page-body .contact-form-panel.sell-form-box {
        padding: 20px !important;
        border-radius: 15px !important;
    }

    .contact-page-body .contact-form-grid,
    .contact-page-body .contact-support-actions,
    .contact-page-body .contact-next-steps > div {
        grid-template-columns: 1fr;
    }

    .contact-page-body .contact-quick-card {
        min-height: 72px;
    }

    .contact-page-body .contact-next-steps article {
        min-height: auto;
    }

    .contact-page-body .contact-floating-support {
        right: 14px;
        bottom: 14px;
        width: 46px;
        min-width: 46px;
        height: 46px;
        min-height: 46px;
    }
}

/* CONTACT PAGE SINGLE FORM LAYOUT */
.contact-page-body .contact-support-main.sell-container {
    width: min(860px, calc(100% - 48px)) !important;
    max-width: 860px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: center;
}

.contact-page-body .contact-form-panel.sell-form-box {
    width: 100%;
}

@media screen and (max-width: 640px) {
    .contact-page-body .contact-support-main.sell-container {
        width: min(100% - 24px, 720px) !important;
    }
}

/* CONTACT PAGE FORM CONTROL POLISH */
.contact-page-body .contact-form-panel .form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 46px !important;
    background:
        linear-gradient(45deg, transparent 50%, #ff9b3d 50%) right 19px center / 7px 7px no-repeat,
        linear-gradient(135deg, #ff9b3d 50%, transparent 50%) right 13px center / 7px 7px no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        rgba(18, 19, 27, 0.9) !important;
}

.contact-page-body .contact-form-panel .form-group select:hover {
    border-color: rgba(255, 138, 42, 0.42) !important;
}

.contact-page-body .contact-form-panel .form-group select option {
    background: #101119;
    color: #ffffff;
}

.contact-page-body .contact-form-panel .contact-attachment-field input[type="file"] {
    min-height: 48px;
    padding: 0 13px 0 0 !important;
    cursor: pointer;
    color: #aeb9c9 !important;
    line-height: 48px;
}

.contact-page-body .contact-form-panel .contact-attachment-field input[type="file"]::file-selector-button {
    min-height: 48px;
    margin: 0 14px 0 0;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px 0 0 11px;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.95), rgba(255, 138, 42, 0.92));
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.contact-page-body .contact-form-panel .contact-attachment-field input[type="file"]::-webkit-file-upload-button {
    min-height: 48px;
    margin: 0 14px 0 0;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px 0 0 11px;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.95), rgba(255, 138, 42, 0.92));
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.contact-page-body .contact-form-panel .contact-attachment-field input[type="file"]:hover::file-selector-button,
.contact-page-body .contact-form-panel .contact-attachment-field input[type="file"]:hover::-webkit-file-upload-button {
    filter: brightness(1.08);
}

.contact-page-body .contact-form-panel.sell-form-box {
    overflow: visible;
}

.contact-page-body .contact-native-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contact-page-body .contact-custom-select {
    position: relative;
    z-index: 12;
}

.contact-page-body .contact-select-trigger {
    width: 100%;
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 46px 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        rgba(18, 19, 27, 0.9);
    color: #eef3fb;
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: border-color 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.contact-page-body .contact-select-trigger::after {
    content: "";
    position: absolute;
    right: 17px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #ff9b3d;
    border-bottom: 2px solid #ff9b3d;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 170ms ease;
}

.contact-page-body .contact-custom-select.is-open .contact-select-trigger::after {
    transform: translateY(-35%) rotate(225deg);
}

.contact-page-body .contact-select-trigger:hover,
.contact-page-body .contact-select-trigger:focus {
    outline: none;
    border-color: rgba(255, 138, 42, 0.68);
    box-shadow:
        0 0 0 3px rgba(255, 71, 87, 0.12),
        0 0 24px rgba(255, 138, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.contact-page-body .contact-custom-select.is-error .contact-select-trigger {
    border-color: rgba(255, 107, 129, 0.82);
    box-shadow:
        0 0 0 3px rgba(255, 107, 129, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.contact-page-body .contact-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    max-height: 288px;
    overflow: auto;
    padding: 7px;
    border: 1px solid rgba(255, 138, 42, 0.26);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 71, 87, 0.08), rgba(255, 138, 42, 0.035)),
        #0b0d14;
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scale(0.985);
    transform-origin: top;
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 80;
}

.contact-page-body .contact-custom-select.is-open .contact-select-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.contact-page-body .contact-select-menu button {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 13px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #f5f7fb;
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.contact-page-body .contact-select-menu button:hover,
.contact-page-body .contact-select-menu button:focus {
    outline: none;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(255, 138, 42, 0.12));
    color: #ffffff;
    transform: translateX(2px);
}

.contact-page-body .contact-select-menu button[aria-selected="true"] {
    background: linear-gradient(135deg, #ff4757, #ff8a2a);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(255, 91, 58, 0.22);
}

.contact-page-body .contact-select-menu::-webkit-scrollbar {
    width: 8px;
}

.contact-page-body .contact-select-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.contact-page-body .contact-select-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 138, 42, 0.46);
    border-radius: 999px;
}

/* LEGAL POLICY DOCUMENT READER */
.legal-policy-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 0, rgba(255, 71, 87, 0.11), transparent 30%),
        radial-gradient(circle at 86% 8%, rgba(255, 138, 42, 0.07), transparent 26%),
        #050609;
    color: #ffffff;
    padding: 0 20px 72px;
}

.legal-policy-page .legal-doc-container,
.legal-policy-page .legal-doc-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.legal-policy-page .legal-doc-header {
    min-height: 178px;
    display: flex;
    align-items: center;
    padding: 34px 0 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-policy-page .legal-doc-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #8f9bae;
    font-size: 0.86rem;
    font-weight: 800;
}

.legal-policy-page .legal-doc-breadcrumb a {
    color: #d7deea;
    text-decoration: none;
}

.legal-policy-page .legal-doc-breadcrumb a:hover {
    color: #ffb347;
}

.legal-policy-page .legal-doc-header h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.15rem, 3.6vw, 3.35rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.legal-policy-page .legal-doc-header p {
    max-width: 760px;
    margin: 12px 0 0;
    color: #b9c4d4;
    font-size: 1rem;
    line-height: 1.6;
}

.legal-policy-page .legal-doc-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.legal-policy-page .legal-doc-meta span,
.legal-policy-page .legal-doc-meta em {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1;
}

.legal-policy-page .legal-doc-meta span {
    color: #aeb9c9;
    padding-right: 4px;
}

.legal-policy-page .legal-doc-meta em {
    border: 1px solid rgba(255, 138, 42, 0.22);
    background: rgba(255, 138, 42, 0.075);
    color: #ffcf7a;
    font-style: normal;
    padding: 0 11px;
}

.legal-policy-page .legal-doc-shell {
    display: grid;
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
    padding-top: 34px;
}

.legal-policy-page .legal-doc-toc {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(12, 13, 19, 0.72);
}

.legal-policy-page .legal-doc-toc strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 0.9rem;
}

.legal-policy-page .legal-doc-toc a {
    display: block;
    padding: 8px 9px;
    border-radius: 9px;
    color: #aeb9c9;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.legal-policy-page .legal-doc-toc a:hover {
    background: rgba(255, 138, 42, 0.09);
    color: #ffffff;
}

.legal-policy-page .legal-doc-content {
    min-width: 0;
}

.legal-policy-page .legal-doc-content section {
    scroll-margin-top: 110px;
    padding-bottom: 31px;
    margin-bottom: 31px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.legal-policy-page .legal-doc-content section:last-child {
    margin-bottom: 0;
}

.legal-policy-page .legal-doc-content h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(1.28rem, 2vw, 1.7rem);
    line-height: 1.25;
    letter-spacing: 0;
}

.legal-policy-page .legal-doc-content p {
    margin: 0 0 15px;
    color: #b9c4d4;
    font-size: 0.98rem;
    line-height: 1.82;
}

.legal-policy-page .legal-doc-content p:last-child {
    margin-bottom: 0;
}

.legal-policy-page .legal-doc-content ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.legal-policy-page .legal-doc-content li {
    color: #c8d2e1;
    padding-left: 4px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-policy-page .legal-doc-content li::marker {
    color: #ff9b3d;
}

.legal-policy-page .legal-help-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(255, 138, 42, 0.17);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.08), rgba(255, 138, 42, 0.045)),
        rgba(12, 13, 19, 0.8);
}

.legal-policy-page .legal-help-cta span {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    margin-bottom: 5px;
}

.legal-policy-page .legal-help-cta p {
    margin: 0;
    color: #aeb9c9;
    font-size: 0.9rem;
    line-height: 1.55;
}

.legal-policy-page .legal-help-cta > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.legal-policy-page .legal-help-cta a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
}

.legal-policy-page .legal-help-cta a:first-child {
    border: 0;
    background: linear-gradient(135deg, #ff4757, #ff8a2a);
}

.legal-policy-page .legal-help-cta a:hover {
    transform: translateY(-1px);
}

/* HELP ARTICLE DOCUMENT READER */
.help-article-page.help-doc-reader {
    padding: 0 20px 72px !important;
}

.help-doc-reader .article-content-wrap {
    width: min(1120px, 100%);
    max-width: 1120px;
    margin: 0 auto;
}

.help-doc-reader .article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 30px 0 0;
    color: #8f9bae;
    font-size: 0.86rem;
    font-weight: 800;
}

.help-doc-reader .article-breadcrumb a {
    color: #d7deea;
    text-decoration: none;
}

.help-doc-reader .article-breadcrumb a:hover {
    color: #ffb347;
}

.help-doc-reader .article-header {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 26px 0 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.help-doc-reader .article-header > span:first-child {
    order: 4;
    display: inline-flex;
    width: fit-content;
    margin-top: 13px;
    color: #aeb9c9;
    font-size: 0.78rem;
    font-weight: 850;
}

.help-doc-reader .article-header h1 {
    order: 1;
    max-width: 860px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3.2vw, 3.05rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.help-doc-reader .article-header p {
    order: 2;
    max-width: 760px;
    margin: 12px 0 0;
    color: #b9c4d4;
    font-size: 1rem;
    line-height: 1.65;
}

.help-doc-reader .help-doc-chip-row {
    order: 3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 15px;
}

.help-doc-reader .help-doc-chip-row span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border: 1px solid rgba(255, 138, 42, 0.2);
    border-radius: 999px;
    background: rgba(255, 138, 42, 0.07);
    color: #ffcf7a;
    font-size: 0.78rem;
    font-weight: 850;
}

.help-doc-reader .help-doc-shell {
    display: grid;
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
    padding-top: 34px;
}

.help-doc-reader .help-doc-toc {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(12, 13, 19, 0.72);
}

.help-doc-reader .help-doc-toc strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 0.9rem;
}

.help-doc-reader .help-doc-toc a {
    display: block;
    padding: 8px 9px;
    border-radius: 9px;
    color: #aeb9c9;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.help-doc-reader .help-doc-toc a:hover {
    background: rgba(255, 138, 42, 0.09);
    color: #ffffff;
}

.help-doc-reader .help-doc-main {
    min-width: 0;
}

.help-doc-reader .article-main-content {
    padding-top: 0;
}

.help-doc-reader .article-main-content h2 {
    scroll-margin-top: 110px;
    margin: 0 0 12px;
    padding-top: 31px;
    color: #ffffff;
    font-size: clamp(1.28rem, 2vw, 1.68rem);
    line-height: 1.25;
    letter-spacing: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.help-doc-reader .article-main-content h2:first-child {
    padding-top: 0;
    border-top: 0;
}

.help-doc-reader .article-main-content p {
    margin: 0 0 15px;
    color: #b9c4d4;
    font-size: 0.98rem;
    line-height: 1.82;
}

.help-doc-reader .article-main-content ul,
.help-doc-reader .article-main-content ol {
    margin: 10px 0 24px;
    padding-left: 20px;
}

.help-doc-reader .article-main-content li {
    color: #c8d2e1;
    padding-left: 4px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.help-doc-reader .article-main-content li::marker {
    color: #ff9b3d;
}

.help-doc-reader .help-doc-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding: 20px;
    border: 1px solid rgba(255, 138, 42, 0.17);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.08), rgba(255, 138, 42, 0.045)),
        rgba(12, 13, 19, 0.8);
}

.help-doc-reader .help-doc-cta span {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    margin-bottom: 5px;
}

.help-doc-reader .help-doc-cta p {
    margin: 0;
    color: #aeb9c9;
    font-size: 0.9rem;
    line-height: 1.55;
}

.help-doc-reader .help-doc-cta > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.help-doc-reader .help-doc-cta a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
}

.help-doc-reader .help-doc-cta a:first-child {
    border: 0;
    background: linear-gradient(135deg, #ff4757, #ff8a2a);
}

@media screen and (max-width: 900px) {
    .help-article-page.help-doc-reader {
        padding: 0 16px 60px !important;
    }

    .help-doc-reader .article-breadcrumb {
        padding-top: 24px;
    }

    .help-doc-reader .article-header {
        min-height: 0;
        padding: 24px 0;
    }

    .help-doc-reader .help-doc-shell {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 24px;
    }

    .help-doc-reader .help-doc-toc {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .help-doc-reader .help-doc-toc strong {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 640px) {
    .help-doc-reader .article-header h1 {
        font-size: 1.95rem;
    }

    .help-doc-reader .article-header p {
        font-size: 0.94rem;
    }

    .help-doc-reader .help-doc-toc {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .help-doc-reader .help-doc-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 17px;
    }

    .help-doc-reader .help-doc-cta > div:last-child {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 900px) {
    .legal-policy-page {
        padding: 0 16px 60px;
    }

    .legal-policy-page .legal-doc-header {
        min-height: 0;
        padding: 26px 0 24px;
    }

    .legal-policy-page .legal-doc-shell {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 24px;
    }

    .legal-policy-page .legal-doc-toc {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .legal-policy-page .legal-doc-toc strong {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 640px) {
    .legal-policy-page .legal-doc-header h1 {
        font-size: 2rem;
    }

    .legal-policy-page .legal-doc-header p {
        font-size: 0.94rem;
    }

    .legal-policy-page .legal-doc-toc {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .legal-policy-page .legal-doc-content section {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .legal-policy-page .legal-help-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 17px;
    }

    .legal-policy-page .legal-help-cta > div:last-child {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* LEGAL HELP ARTICLE ENTRY MODES */
.legal-policy-page .legal-entry-banner {
    min-height: 150px;
    display: grid;
    place-items: center;
    gap: 8px;
    margin: 42px auto 38px;
    padding: 30px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.14), rgba(255, 138, 42, 0.055)),
        rgba(13, 14, 20, 0.84);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-align: center;
}

.legal-policy-page .legal-entry-banner span {
    color: #ffb347;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legal-policy-page .legal-entry-banner h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.legal-policy-page .legal-help-breadcrumb {
    display: none;
}

.legal-policy-page:not(.is-help-entry) .article-header {
    display: none;
}

.legal-policy-page.is-help-entry .legal-entry-banner {
    display: none;
}

.legal-policy-page.is-help-entry .legal-help-breadcrumb {
    display: flex;
}

@media screen and (max-width: 640px) {
    .legal-policy-page .legal-entry-banner {
        min-height: 118px;
        margin: 24px auto 30px;
        padding: 24px 16px;
        border-radius: 14px;
    }

    .legal-policy-page .legal-entry-banner h1 {
        font-size: 1.85rem;
    }
}

/* SUPPORT BOT PREMIUM UI */
.support-bot-widget {
    right: 22px;
    bottom: 22px;
    width: min(430px, calc(100vw - 28px));
    height: min(720px, calc(100dvh - 44px));
    max-height: min(720px, calc(100dvh - 44px));
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background:
        radial-gradient(circle at 8% 0, rgba(255, 71, 87, 0.2), transparent 32%),
        radial-gradient(circle at 100% 12%, rgba(255, 138, 42, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(19, 20, 29, 0.96), rgba(7, 8, 13, 0.98));
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.62),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.support-bot-widget header {
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
        rgba(11, 12, 18, 0.78);
}

.support-bot-widget header div,
.support-bot-brand,
.support-bot-header-actions {
    min-width: 0;
}

.support-bot-brand {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
}

.support-bot-brand > div {
    display: grid !important;
    gap: 2px;
}

.support-bot-widget header .support-bot-brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.22), rgba(255, 176, 32, 0.15)),
        rgba(255, 255, 255, 0.04);
    color: #ffb020;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.support-bot-widget header strong {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.18;
}

.support-bot-widget header small {
    color: #aeb9c9;
    font-size: 0.76rem;
    line-height: 1.25;
}

.support-bot-header-actions {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.support-bot-header-actions em {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 9px;
    border: 1px solid rgba(255, 176, 32, 0.28);
    border-radius: 999px;
    background: rgba(255, 176, 32, 0.1);
    color: #ffcf7a;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
}

.support-bot-header-actions button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.support-bot-header-actions button:hover {
    background: rgba(255, 71, 87, 0.16);
    transform: translateY(-1px);
}

.support-bot-safety {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 176, 32, 0.045);
    color: #cbd5e1;
    font-size: 0.78rem;
    line-height: 1.45;
}

.support-bot-safety i {
    color: #ffb020;
    margin-top: 2px;
}

.support-bot-body {
    min-height: 0;
    overflow-y: auto;
    padding: 14px;
    scrollbar-color: rgba(255, 138, 42, 0.48) rgba(255, 255, 255, 0.05);
    scrollbar-width: thin;
}

.support-bot-body::-webkit-scrollbar,
.support-bot-messages::-webkit-scrollbar,
.support-bot-select-menu::-webkit-scrollbar {
    width: 8px;
}

.support-bot-body::-webkit-scrollbar-track,
.support-bot-messages::-webkit-scrollbar-track,
.support-bot-select-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.045);
    border-radius: 999px;
}

.support-bot-body::-webkit-scrollbar-thumb,
.support-bot-messages::-webkit-scrollbar-thumb,
.support-bot-select-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 138, 42, 0.5);
    border-radius: 999px;
}

.support-bot-intro {
    display: grid;
    gap: 12px;
    margin-bottom: 13px;
}

.support-bot-welcome {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        rgba(9, 10, 15, 0.76);
}

.support-bot-welcome span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 138, 42, 0.12);
    color: #ffb020;
}

.support-bot-welcome p {
    margin: 0;
    color: #d3dbe8;
    font-size: 0.86rem;
    line-height: 1.55;
}

.support-bot-search {
    position: relative;
    display: block;
}

.support-bot-search i {
    position: absolute;
    left: 13px;
    top: 50%;
    color: #ff9b3d;
    transform: translateY(-50%);
    pointer-events: none;
}

.support-bot-search input {
    width: 100%;
    min-height: 43px;
    padding: 0 13px 0 39px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        rgba(15, 16, 23, 0.9);
    color: #ffffff;
    font: inherit;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.support-bot-search input::placeholder {
    color: #8290a4;
}

.support-bot-search input:focus {
    border-color: rgba(255, 138, 42, 0.68);
    box-shadow:
        0 0 0 3px rgba(255, 71, 87, 0.12),
        0 0 24px rgba(255, 138, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.support-bot-categories {
    display: grid;
    gap: 10px;
}

.support-bot-category {
    min-height: 74px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.105);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
        rgba(8, 9, 14, 0.86);
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.support-bot-category:hover {
    border-color: rgba(255, 138, 42, 0.48);
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.12), rgba(255, 138, 42, 0.052)),
        rgba(12, 13, 19, 0.96);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
    transform: translateY(-1px);
}

.support-bot-category-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.24), rgba(255, 138, 42, 0.12));
    color: #ffb020;
}

.support-bot-category .support-bot-category-icon i,
.support-bot-category .support-bot-category-arrow {
    width: auto;
    height: auto;
    display: inline-block;
    background: transparent;
    color: inherit;
}

.support-bot-category-copy {
    display: grid;
    gap: 4px;
}

.support-bot-category-copy strong {
    color: #ffffff;
    font-size: 0.94rem;
    line-height: 1.2;
}

.support-bot-category-copy small {
    color: #aeb9c9;
    font-size: 0.79rem;
    line-height: 1.35;
}

.support-bot-category-arrow {
    color: #ff9b3d !important;
    opacity: 0.9;
}

.support-bot-back {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    border: 0;
    background: transparent;
    color: #ffb020;
    font-weight: 900;
    cursor: pointer;
}

.support-bot-answer-card,
.support-bot-thread-head,
.support-bot-ticket-list .support-bot-empty {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        rgba(9, 10, 15, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.support-bot-answer-card {
    padding: 15px;
}

.support-bot-answer-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.support-bot-answer-head > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.24), rgba(255, 138, 42, 0.12));
    color: #ffb020;
}

.support-bot-answer-card h3,
.support-bot-form-head h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.08rem;
    line-height: 1.25;
}

.support-bot-answer-card small,
.support-bot-form-head p,
.support-bot-thread-head span,
.support-bot-ticket-main small {
    color: #aeb9c9;
    font-size: 0.8rem;
    line-height: 1.45;
}

.support-bot-answer-card p {
    margin: 0;
    color: #d5deeb;
    font-size: 0.9rem;
    line-height: 1.65;
}

.support-bot-answer-card a,
.support-bot-attachment,
.support-ticket-attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    color: #ffb020;
    font-weight: 900;
    text-decoration: none;
}

.support-bot-answer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 13px;
}

.support-bot-answer-actions button,
.support-bot-ticket-form > button[type="submit"],
.support-bot-reply-form button[type="submit"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 950;
    cursor: pointer;
}

.support-bot-helped-btn {
    background: rgba(34, 197, 94, 0.16) !important;
    color: #b7f7cc !important;
}

.support-bot-raise-btn,
.support-bot-ticket-form > button[type="submit"],
.support-bot-reply-form button[type="submit"] {
    background: linear-gradient(135deg, #ff4757, #ff8a2a) !important;
    box-shadow: 0 12px 26px rgba(255, 91, 58, 0.22);
}

.support-bot-ticket-form,
.support-bot-thread,
.support-bot-tickets-view {
    display: grid;
    gap: 12px;
}

.support-bot-form-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

.support-bot-form-head > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 138, 42, 0.12);
    color: #ffb020;
}

.support-bot-form-head p {
    margin: 4px 0 0;
}

.support-bot-ticket-form label,
.support-bot-reply-form {
    display: grid;
    gap: 7px;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
}

.support-bot-ticket-form label span,
.support-bot-ticket-form label b,
.support-bot-form-note {
    color: #aeb9c9;
}

.support-bot-ticket-form input,
.support-bot-ticket-form select,
.support-bot-ticket-form textarea,
.support-bot-reply-form textarea,
.support-bot-reply-form input {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.024)),
        rgba(15, 16, 23, 0.92);
    color: #ffffff;
    padding: 11px 12px;
    font: inherit;
    outline: none;
}

.support-bot-ticket-form input:focus,
.support-bot-ticket-form select:focus,
.support-bot-ticket-form textarea:focus,
.support-bot-reply-form textarea:focus {
    border-color: rgba(255, 138, 42, 0.66);
    box-shadow:
        0 0 0 3px rgba(255, 71, 87, 0.12),
        0 0 22px rgba(255, 138, 42, 0.11);
}

.support-bot-ticket-form textarea,
.support-bot-reply-form textarea {
    resize: vertical;
}

.support-bot-form-note {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
}

.support-bot-status {
    min-height: 20px;
    margin: 0;
    color: #86efac;
    font-size: 0.84rem;
    font-weight: 900;
}

.support-bot-status.is-error {
    color: #ff6b81;
}

.support-bot-ticket-list {
    display: grid;
    gap: 9px;
    margin-top: 15px;
}

.support-bot-tickets-view .support-bot-ticket-list {
    margin-top: 0;
}

.support-bot-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #ffffff;
    font-weight: 950;
}

.support-bot-section-title small {
    color: #aeb9c9;
    font-size: 0.76rem;
    font-weight: 800;
}

.support-bot-ticket-card {
    min-height: 60px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
        rgba(8, 9, 14, 0.84);
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.support-bot-ticket-card:hover {
    border-color: rgba(255, 138, 42, 0.44);
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(255, 138, 42, 0.05)),
        rgba(10, 11, 17, 0.96);
    transform: translateY(-1px);
}

.support-bot-ticket-main {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.support-bot-ticket-main strong {
    overflow: hidden;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-bot-status-badge,
.support-bot-thread-head em {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255, 176, 32, 0.13);
    color: #ffb020;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

.support-bot-status-badge.is-open {
    background: rgba(255, 176, 32, 0.14);
    color: #ffcf7a;
}

.support-bot-status-badge.is-waiting-for-admin {
    background: rgba(59, 130, 246, 0.16);
    color: #93c5fd;
}

.support-bot-status-badge.is-replied {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
}

.support-bot-status-badge.is-closed {
    background: rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
}

.support-bot-ticket-view {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 138, 42, 0.12);
    color: #ffcf7a;
    font-size: 0.74rem;
    font-weight: 950;
}

.support-bot-thread-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
}

.support-bot-thread-head div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.support-bot-thread-head strong {
    color: #ffffff;
}

.support-bot-messages {
    display: grid;
    gap: 10px;
    max-height: 250px;
    overflow: auto;
    padding-right: 4px;
    scrollbar-color: rgba(255, 138, 42, 0.48) rgba(255, 255, 255, 0.05);
    scrollbar-width: thin;
}

.support-bot-messages article {
    max-width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 11px;
    background: rgba(255, 255, 255, 0.045);
}

.support-bot-messages article.from-admin {
    margin-left: auto;
    border-color: rgba(255, 176, 32, 0.25);
    background: rgba(255, 176, 32, 0.09);
}

.support-bot-messages p {
    margin: 5px 0 0;
    color: #d5deeb;
    line-height: 1.55;
}

.support-bot-messages span {
    display: block;
    margin-top: 7px;
    color: #95a2b6;
    font-size: 0.74rem;
}

.support-bot-reply-form div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
}

.support-bot-reply-form button {
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.support-bot-bottom-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 9, 14, 0.92);
}

.support-bot-bottom-actions a,
.support-bot-bottom-actions button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.support-bot-bottom-actions a:hover,
.support-bot-bottom-actions button:hover {
    border-color: rgba(255, 138, 42, 0.46);
    background: rgba(255, 138, 42, 0.1);
    transform: translateY(-1px);
}

.support-bot-empty {
    padding: 12px;
    color: #aeb9c9;
    font-size: 0.84rem;
    line-height: 1.45;
}

.support-bot-toast {
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(255, 255, 255, 0.04)),
        #0d1511;
}

.contact-page-body .support-bot-widget {
    right: 22px;
    bottom: 76px;
    width: min(410px, calc(100vw - 32px));
    height: min(640px, calc(100dvh - 112px));
    max-height: min(640px, calc(100dvh - 112px));
}

.contact-page-body .support-bot-toast {
    bottom: 76px;
}

.contact-page-body .support-bot-widget header {
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
        rgba(11, 12, 18, 0.78);
}

.contact-page-body .support-bot-brand {
    grid-template-columns: 42px minmax(0, 1fr);
}

.contact-page-body .support-bot-widget header .support-bot-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.22), rgba(255, 176, 32, 0.15)),
        rgba(255, 255, 255, 0.04);
    color: #ffb020;
}

.contact-page-body .support-bot-body {
    padding: 14px;
}

.contact-page-body .support-bot-category {
    min-height: 74px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
        rgba(8, 9, 14, 0.86);
}

.contact-page-body .support-bot-category-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
}

.contact-page-body .support-bot-category .support-bot-category-icon i,
.contact-page-body .support-bot-category .support-bot-category-arrow {
    width: auto;
    height: auto;
    background: transparent;
}

.contact-page-body .support-bot-category-copy strong {
    font-size: 0.94rem;
}

.contact-page-body .support-bot-category-copy small {
    font-size: 0.79rem;
}

.contact-page-body .support-bot-answer-card,
.contact-page-body .support-bot-thread-head {
    padding: 15px;
    border-radius: 15px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        rgba(9, 10, 15, 0.84);
}

.contact-page-body .support-bot-ticket-form {
    gap: 12px;
}

.contact-page-body .support-bot-ticket-form input,
.contact-page-body .support-bot-ticket-form select,
.contact-page-body .support-bot-ticket-form textarea,
.contact-page-body .support-bot-reply-form textarea,
.contact-page-body .support-bot-reply-form input {
    padding: 11px 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.024)),
        rgba(15, 16, 23, 0.92);
}

.contact-page-body .support-bot-messages {
    max-height: 250px;
}

@media screen and (max-width: 640px) {
    .support-bot-widget,
    .contact-page-body .support-bot-widget {
        right: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        height: calc(100dvh - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 16px;
    }

    .support-bot-widget header {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 12px;
    }

    .support-bot-brand {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .support-bot-widget header .support-bot-brand-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .support-bot-header-actions em {
        display: none;
    }

    .support-bot-answer-actions,
    .support-bot-reply-form div,
    .support-bot-ticket-card,
    .support-bot-bottom-actions {
        grid-template-columns: 1fr;
    }

    .support-bot-ticket-view {
        justify-content: center;
    }

    .support-bot-messages article {
        max-width: 94%;
    }
}

/* Final checkout restore: only the new header should remain changed. */
body:has(.checkout-header) {
    background: #05070d !important;
}

body:has(.checkout-header) .payment-page {
    width: 100% !important;
    min-height: 100vh !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background:
        radial-gradient(circle at 24% 16%, rgba(255, 71, 87, 0.16), transparent 31%),
        radial-gradient(circle at 58% 88%, rgba(21, 185, 129, 0.10), transparent 30%),
        #05070d !important;
}

body:has(.checkout-header) .payment-layout {
    width: min(1180px, 100%) !important;
    min-height: 100vh !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body:has(.checkout-header) .payment-methods-panel,
body:has(.checkout-header) .payment-order-panel {
    min-height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 70px 44px !important;
    box-shadow: none !important;
}

body:has(.checkout-header) .payment-methods-panel {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.018), transparent),
        rgba(12, 16, 25, 0.72) !important;
}

body:has(.checkout-header) .payment-order-panel {
    position: static !important;
    top: auto !important;
    align-self: stretch !important;
    max-height: none !important;
    overflow: visible !important;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 71, 87, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent),
        rgba(13, 17, 27, 0.82) !important;
}

body:has(.checkout-header) .payment-panel-title {
    position: static !important;
    margin-bottom: 12px !important;
}

body:has(.checkout-header) .payment-panel-title h2,
body:has(.checkout-header) .payment-order-panel h2 {
    margin: 0 0 12px !important;
    color: white !important;
    font-size: 1.9rem !important;
    line-height: normal !important;
}

body:has(.checkout-header) #selectedPaymentText {
    position: static !important;
    min-height: 26px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(255, 71, 87, 0.24) !important;
    border-radius: 999px !important;
    background: rgba(255, 71, 87, 0.08) !important;
    color: #ffd7dd !important;
}

body:has(.checkout-header) .payment-options-list .payment-option {
    min-height: 68px !important;
    grid-template-columns: 46px minmax(0, 1fr) 22px !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(68, 82, 111, 0.68) !important;
    background: #20232c !important;
    box-shadow: none !important;
    transform: none !important;
}

body:has(.checkout-header) .payment-options-list .payment-option:hover,
body:has(.checkout-header) .payment-options-list .payment-option.active {
    border-color: rgba(255, 71, 87, 0.62) !important;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.12), rgba(39, 43, 54, 0.96)) !important;
    box-shadow: 0 14px 28px rgba(255, 71, 87, 0.12) !important;
}

body:has(.checkout-header) .payment-options-list .payment-option img {
    max-width: 44px !important;
    max-height: 32px !important;
}

body:has(.checkout-header) .payment-card-stack {
    display: grid !important;
    gap: 2px !important;
}

body:has(.checkout-header) .payment-card-stack img {
    max-width: 36px !important;
    max-height: 18px !important;
}

body:has(.checkout-header) .payment-options-list .payment-option span:not(.payment-card-stack) {
    display: grid !important;
    gap: 3px !important;
}

body:has(.checkout-header) .payment-options-list .payment-option em {
    color: #aab5c5 !important;
    font-style: normal !important;
}

body:has(.checkout-header) .payment-assurance-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

body:has(.checkout-header) .payment-order-product {
    grid-template-columns: 82px minmax(0, 1fr) auto !important;
    padding: 0 0 22px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body:has(.checkout-header) .payment-order-product img {
    width: 82px !important;
    height: 82px !important;
}

body:has(.checkout-header) .payment-order-product strong {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}

body:has(.checkout-header) .payment-order-product b {
    display: none !important;
}

body:has(.checkout-header) .payment-order-row {
    border-bottom: 0 !important;
}

body:has(.checkout-header) .payment-fee-info::after {
    display: none !important;
    content: none !important;
}

body:has(.checkout-header) .thank-you-page {
    width: 100% !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background:
        radial-gradient(circle at 23% 16%, rgba(255, 71, 87, 0.16), transparent 32%),
        radial-gradient(circle at 70% 86%, rgba(34, 197, 94, 0.10), transparent 30%),
        #05070d !important;
}

body:has(.checkout-header) .thank-you-panel {
    width: min(1180px, 100%) !important;
    min-height: 100vh !important;
    margin: 0 auto !important;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr) !important;
    align-items: center !important;
    gap: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body:has(.checkout-header) .thank-you-left,
body:has(.checkout-header) .thank-you-summary {
    min-height: 100vh !important;
    padding: 70px 44px !important;
}

body:has(.checkout-header) .thank-you-left {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 0 !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 38%),
        rgba(12, 16, 25, 0.72) !important;
}

body:has(.checkout-header) .thank-you-summary {
    background:
        radial-gradient(circle at 100% 0, rgba(255, 71, 87, 0.08), transparent 32%),
        rgba(13, 17, 27, 0.82) !important;
}

body:has(.checkout-header) .thank-you-icon {
    margin: 0 0 18px !important;
    animation: none !important;
}

body:has(.checkout-header) .thank-you-icon::after {
    content: none !important;
}

body:has(.checkout-header) .thank-you-panel h1 {
    font-size: clamp(2.2rem, 5vw, 4.1rem) !important;
    line-height: 1.02 !important;
}

body:has(.checkout-header) .thank-you-next-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

body:has(.checkout-header) .thank-you-next-steps span {
    min-height: 42px !important;
    display: inline-flex !important;
    padding: 0 !important;
}

body:has(.checkout-header) .thank-you-product {
    margin: 0 0 18px !important;
    padding: 0 0 20px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

@media screen and (max-width: 920px) {
    body:has(.checkout-header) .thank-you-panel {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    body:has(.checkout-header) .thank-you-left,
    body:has(.checkout-header) .thank-you-summary {
        min-height: auto !important;
        padding: 34px 22px !important;
    }

    body:has(.checkout-header) .thank-you-left {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
}

@media screen and (max-width: 680px) {
    body:has(.checkout-header) .payment-layout {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    body:has(.checkout-header) .payment-methods-panel,
    body:has(.checkout-header) .payment-order-panel {
        padding: 26px 18px !important;
    }
}

@media screen and (max-width: 640px) {
    body:has(.checkout-header) .payment-assurance-row,
    body:has(.checkout-header) .thank-you-next-steps {
        grid-template-columns: 1fr !important;
    }
}

/* Final payment-page requested tweaks. */
body:has(.checkout-header) .checkout-header {
    min-height: 48px !important;
    margin: 6px auto 8px !important;
}

body:has(.checkout-header) .checkout-trust-nav span {
    display: none !important;
}

body:has(.checkout-header) .checkout-trust-nav a {
    min-height: 32px !important;
    padding: 0 14px !important;
}

body:has(.checkout-header) .payment-brand-row {
    display: none !important;
}

body:has(.checkout-header) .payment-methods-panel,
body:has(.checkout-header) .payment-order-panel {
    padding-top: 44px !important;
}

body:has(.checkout-header) .payment-card-stack {
    width: 46px !important;
    height: 34px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: 15px !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 2px !important;
}

body:has(.checkout-header) .payment-card-stack img {
    max-width: 42px !important;
    max-height: 15px !important;
    object-fit: contain !important;
}

/* Final checkout header/payment polish override. */
body:has(.checkout-header) {
    background:
        radial-gradient(circle at 22% 12%, rgba(255, 71, 87, 0.14), transparent 34%),
        radial-gradient(circle at 78% 14%, rgba(34, 211, 238, 0.08), transparent 34%),
        #05070d !important;
}

body:has(.checkout-header) .checkout-header {
    width: min(1180px, calc(100% - 32px)) !important;
    min-height: 56px !important;
    height: auto !important;
    margin: 14px auto 0 !important;
    padding: 7px 44px !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-bottom: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(9, 13, 22, 0.88) !important;
}

body:has(.checkout-header) .checkout-brand-icon {
    width: 38px !important;
    height: 38px !important;
}

body:has(.checkout-header) .checkout-brand-wordmark {
    height: 20px !important;
}

body:has(.checkout-header) .checkout-trust-nav a {
    min-height: 30px !important;
    padding: 0 12px !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    background: rgba(7, 10, 17, 0.66) !important;
}

body:has(.checkout-header) .payment-page {
    min-height: calc(100svh - 70px) !important;
    padding: 0 16px 48px !important;
    background: transparent !important;
}

body:has(.checkout-header) .payment-layout {
    border-top: 0 !important;
    border-radius: 0 0 8px 8px !important;
}

body:has(.checkout-header) .payment-methods-panel,
body:has(.checkout-header) .payment-order-panel {
    padding-top: 34px !important;
}

body:has(.checkout-header) .payment-service-fee-row {
    position: relative !important;
}

body:has(.checkout-header) .payment-fee-info {
    cursor: pointer !important;
}

body:has(.checkout-header) .payment-fee-popover[hidden] {
    display: none !important;
}

body:has(.checkout-header) .payment-fee-popover {
    position: absolute !important;
    left: 0 !important;
    top: calc(100% - 2px) !important;
    z-index: 12 !important;
    width: min(330px, calc(100vw - 42px)) !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(34, 211, 238, 0.18) !important;
    border-radius: 8px !important;
    background: rgba(10, 15, 24, 0.96) !important;
    color: #dbeafe !important;
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32) !important;
}

@media screen and (max-width: 680px) {
    body:has(.checkout-header) .checkout-header {
        width: calc(100% - 20px) !important;
        margin-top: 10px !important;
        padding: 8px 14px !important;
    }

    body:has(.checkout-header) .checkout-brand-icon {
        width: 34px !important;
        height: 34px !important;
    }

    body:has(.checkout-header) .checkout-brand-wordmark {
        height: 18px !important;
    }

    body:has(.checkout-header) .payment-page {
        padding-inline: 10px !important;
    }
}
/* Checkout header tight final height override. */
body:has(.checkout-header) .checkout-header {
    min-height: 48px !important;
    margin-top: 8px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

body:has(.checkout-header) .payment-page {
    min-height: calc(100svh - 56px) !important;
}

/* Thank-you receipt-only screen: no site header/footer, no page scroll. */
body.thank-you-receipt-only {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    background:
        radial-gradient(circle at 23% 16%, rgba(255, 71, 87, 0.16), transparent 32%),
        radial-gradient(circle at 70% 86%, rgba(34, 197, 94, 0.10), transparent 30%),
        #05070d;
}

body.thank-you-receipt-only .thank-you-page {
    width: 100%;
    height: 100svh;
    min-height: 100svh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    background: transparent !important;
}

body.thank-you-receipt-only .thank-you-panel {
    width: min(1180px, 100%) !important;
    height: 100svh !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr) !important;
    align-items: center !important;
    gap: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    overflow: hidden !important;
}

body.thank-you-receipt-only .thank-you-left,
body.thank-you-receipt-only .thank-you-summary {
    height: 100% !important;
    min-height: 0 !important;
    padding: 70px 44px !important;
}

body.thank-you-receipt-only .thank-you-left {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 0 !important;
    background:
        radial-gradient(circle at 0 0, rgba(255, 71, 87, 0.10), transparent 38%),
        rgba(12, 16, 25, 0.72) !important;
}

body.thank-you-receipt-only .thank-you-summary {
    background:
        radial-gradient(circle at 100% 0, rgba(255, 71, 87, 0.08), transparent 32%),
        rgba(13, 17, 27, 0.82) !important;
}

@media screen and (max-width: 920px) {
    body.thank-you-receipt-only {
        height: auto;
        min-height: 100svh;
        overflow: auto;
    }

    body.thank-you-receipt-only .thank-you-page,
    body.thank-you-receipt-only .thank-you-panel {
        height: auto !important;
        min-height: 100svh !important;
    }

    body.thank-you-receipt-only .thank-you-panel {
        grid-template-columns: 1fr !important;
    }

    body.thank-you-receipt-only .thank-you-left,
    body.thank-you-receipt-only .thank-you-summary {
        height: auto !important;
        padding: 30px 22px !important;
    }
}

/* Final thank-you receipt-only fit: remove phantom header gap and compact status cards. */
html:has(body.thank-you-receipt-only),
body.thank-you-receipt-only {
    width: 100% !important;
    height: 100svh !important;
    min-height: 100svh !important;
    overflow: hidden !important;
}

body.thank-you-receipt-only .thank-you-page {
    width: 100% !important;
    height: 100svh !important;
    min-height: 100svh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
}

body.thank-you-receipt-only .thank-you-panel {
    width: min(1180px, 100%) !important;
    height: 100svh !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

body.thank-you-receipt-only .thank-you-left,
body.thank-you-receipt-only .thank-you-summary {
    height: 100svh !important;
    padding-top: clamp(28px, 6svh, 58px) !important;
    padding-bottom: clamp(24px, 5svh, 44px) !important;
}

body.thank-you-receipt-only .thank-you-next-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 22px 0 0 !important;
}

body.thank-you-receipt-only .thank-you-next-steps span {
    min-height: 48px !important;
    padding: 8px 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    text-align: left !important;
    line-height: 1.15 !important;
}

body.thank-you-receipt-only .thank-you-next-steps i {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
}

@media screen and (max-width: 920px) {
    html:has(body.thank-you-receipt-only),
    body.thank-you-receipt-only {
        height: auto !important;
        min-height: 100svh !important;
        overflow: auto !important;
    }

    body.thank-you-receipt-only .thank-you-page,
    body.thank-you-receipt-only .thank-you-panel {
        height: auto !important;
        min-height: 100svh !important;
    }

    body.thank-you-receipt-only .thank-you-left,
    body.thank-you-receipt-only .thank-you-summary {
        height: auto !important;
        padding-top: 26px !important;
        padding-bottom: 26px !important;
    }
}

/* Payment page: keep checkout CSS scope marker hidden so it does not create a blank bar. */
body > .checkout-header[hidden] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* Payment page: remove the empty top band inside the payment card. */
body.payment-normal-shell .payment-page {
    padding-top: 8px !important;
}

body.payment-normal-shell .payment-layout {
    overflow: hidden !important;
}

body.payment-normal-shell .payment-methods-panel,
body.payment-normal-shell .payment-order-panel {
    padding-top: 0 !important;
}

body.payment-normal-shell .payment-panel-title,
body.payment-normal-shell .payment-order-panel h2 {
    margin-top: 0 !important;
}

/* Payment card icons and fee tooltip polish. */
body.payment-normal-shell .payment-layout,
body.payment-normal-shell .payment-order-panel,
body.payment-normal-shell .payment-service-fee-row {
    overflow: visible !important;
}

body.payment-normal-shell .payment-card-stack:not(.payment-network-row) {
    width: 46px !important;
    height: 42px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
}

body.payment-normal-shell .payment-card-stack:not(.payment-network-row) img {
    display: block !important;
    max-width: 42px !important;
    max-height: 18px !important;
    object-fit: contain !important;
}

body.payment-normal-shell .payment-fee-label {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

body.payment-normal-shell .payment-fee-info {
    cursor: help !important;
    user-select: none !important;
    pointer-events: auto !important;
}

body.payment-normal-shell .payment-fee-tooltip {
    position: absolute !important;
    left: 0 !important;
    bottom: calc(100% + 10px) !important;
    z-index: 80 !important;
    width: 300px !important;
    max-width: min(300px, calc(100vw - 40px)) !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(34, 211, 238, 0.22) !important;
    border-radius: 8px !important;
    background: rgba(8, 13, 22, 0.98) !important;
    color: #dbeafe !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(4px) !important;
    pointer-events: none !important;
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease !important;
}

body.payment-normal-shell .payment-fee-label:hover .payment-fee-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Payment page: hidden fee tooltip. */
body.payment-normal-shell .payment-options-list .payment-option > span {
    min-width: 0 !important;
}

body.payment-normal-shell .payment-fee-tooltip {
    display: none !important;
}

body.payment-normal-shell .payment-fee-label {
    position: relative !important;
    overflow: visible !important;
}

body.payment-normal-shell .payment-fee-info {
    position: relative !important;
    width: 17px !important;
    height: 17px !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 auto !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #dbe7ff !important;
    font-size: 0.68rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    cursor: help !important;
    user-select: none !important;
}

body.payment-normal-shell .payment-fee-info::after {
    content: attr(data-tooltip) !important;
    position: absolute !important;
    left: 50% !important;
    bottom: calc(100% + 10px) !important;
    z-index: 120 !important;
    width: 300px !important;
    max-width: min(300px, calc(100vw - 40px)) !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(34, 211, 238, 0.22) !important;
    border-radius: 8px !important;
    background: rgba(8, 13, 22, 0.98) !important;
    color: #dbeafe !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    text-align: left !important;
    white-space: normal !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-50%) translateY(4px) !important;
    pointer-events: none !important;
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease !important;
}

body.payment-normal-shell .payment-fee-info:hover::after,
body.payment-normal-shell .payment-fee-info:focus::after,
body.payment-normal-shell .payment-fee-info.is-open::after {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Payment method visual refresh. */
body.payment-normal-shell .payment-options-list .payment-option > img,
body.payment-normal-shell .payment-options-list .payment-option > .payment-card-stack,
body.payment-normal-shell .payment-options-list .payment-option > .payment-method-media {
    display: grid !important;
}

body.payment-normal-shell .payment-method-media,
body.payment-normal-shell .payment-card-stack:not(.payment-network-row) {
    width: 108px !important;
    height: 62px !important;
    place-items: center !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 8px !important;
    background: rgba(3, 7, 18, 0.50) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.payment-normal-shell .payment-card-stack:not(.payment-network-row) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 7px !important;
    padding: 8px !important;
}

body.payment-normal-shell .payment-method-media img,
body.payment-normal-shell .payment-card-stack:not(.payment-network-row) img {
    display: block !important;
    max-width: 72px !important;
    max-height: 36px !important;
    object-fit: contain !important;
}

body.payment-normal-shell .payment-card-stack:not(.payment-network-row) img {
    width: 42px !important;
    height: 28px !important;
    max-width: none !important;
    max-height: none !important;
    padding: 5px !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    object-fit: contain !important;
}

body.payment-normal-shell .payment-method-copy {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    text-align: right !important;
}

body.payment-normal-shell .payment-options-list .payment-option strong {
    font-size: 1.15rem !important;
    line-height: 1.15 !important;
    font-weight: 950 !important;
    justify-content: flex-end !important;
    text-align: right !important;
}

body.payment-normal-shell .payment-options-list .payment-option em,
body.payment-normal-shell .payment-options-list .payment-option small {
    display: none !important;
}

body.payment-normal-shell .payment-options-list .payment-option > i {
    justify-self: end !important;
    align-self: center !important;
    font-size: 0.96rem !important;
}

body.payment-normal-shell .payment-fee-label {
    gap: 8px !important;
    overflow: visible !important;
}

body.payment-normal-shell .payment-fee-info {
    width: 20px !important;
    height: 20px !important;
    border: 1px solid rgba(148, 163, 184, 0.34) !important;
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.20), rgba(15, 23, 42, 0.74)) !important;
    color: #e7efff !important;
    font-size: 0.66rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body.payment-normal-shell .payment-fee-info > i {
    display: block !important;
    line-height: 1 !important;
}

body.payment-normal-shell .payment-fee-info:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.42) !important;
    outline-offset: 2px !important;
}

body.payment-normal-shell .payment-fee-info::after {
    left: auto !important;
    right: -8px !important;
    bottom: calc(100% + 12px) !important;
    transform: translateY(4px) !important;
}

body.payment-normal-shell .payment-fee-info:hover::after,
body.payment-normal-shell .payment-fee-info:focus-visible::after,
body.payment-normal-shell .payment-fee-info.is-open::after {
    transform: translateY(0) !important;
}

@media screen and (max-width: 640px) {
    body.payment-normal-shell .payment-method-media,
    body.payment-normal-shell .payment-card-stack:not(.payment-network-row) {
        width: 78px !important;
        height: 50px !important;
    }

    body.payment-normal-shell .payment-card-stack:not(.payment-network-row) {
        gap: 4px !important;
        padding: 6px !important;
    }

    body.payment-normal-shell .payment-method-media img {
        max-width: 54px !important;
        max-height: 30px !important;
    }

    body.payment-normal-shell .payment-card-stack:not(.payment-network-row) img {
        width: 30px !important;
        height: 22px !important;
        padding: 4px !important;
    }

    body.payment-normal-shell .payment-options-list .payment-option strong {
        font-size: 1rem !important;
    }

    body.payment-normal-shell .payment-fee-info::after {
        right: auto !important;
        left: 50% !important;
        width: 260px !important;
        transform: translateX(-50%) translateY(4px) !important;
    }

body.payment-normal-shell .payment-fee-info:hover::after,
body.payment-normal-shell .payment-fee-info:focus-visible::after,
body.payment-normal-shell .payment-fee-info.is-open::after {
    transform: translateX(-50%) translateY(0) !important;
}
}

/* Payment page: method-specific Razorpay UI. */
body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] {
    min-height: 100px !important;
    grid-template-columns: 128px minmax(0, 1fr) 24px !important;
    gap: 16px !important;
    align-items: center !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

body.payment-normal-shell .payment-card-stack.payment-network-row {
    width: 124px !important;
    min-height: 76px !important;
    height: auto !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(3, 30px) !important;
    grid-auto-rows: 18px !important;
    align-content: center !important;
    align-items: center !important;
    justify-content: center !important;
    justify-items: center !important;
    gap: 6px !important;
    padding: 8px !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 8px !important;
    background: rgba(3, 7, 18, 0.50) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    overflow: hidden !important;
}

body.payment-normal-shell .payment-options-list .payment-option > .payment-card-stack.payment-network-row {
    width: 124px !important;
    min-height: 76px !important;
    height: auto !important;
    box-sizing: border-box !important;
    display: grid !important;
    flex-direction: initial !important;
    flex-wrap: initial !important;
    grid-template-columns: repeat(3, 30px) !important;
    grid-auto-rows: 18px !important;
    align-content: center !important;
    align-items: center !important;
    justify-content: center !important;
    justify-items: center !important;
    gap: 6px !important;
    padding: 8px !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 8px !important;
    background: rgba(3, 7, 18, 0.50) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    overflow: hidden !important;
}

body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] > .payment-card-stack.payment-network-row > .card-network,
body.payment-normal-shell .payment-network-row .card-network {
    width: 30px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.5rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    overflow: hidden !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16) !important;
}

body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] > .payment-card-stack.payment-network-row > .card-network-visa,
body.payment-normal-shell .payment-network-row .card-network-visa {
    color: #174ea6 !important;
}

body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] > .payment-card-stack.payment-network-row > .card-network-visa,
body.payment-normal-shell .payment-network-row .card-network-visa {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] > .payment-card-stack.payment-network-row > .card-network-mastercard,
body.payment-normal-shell .payment-network-row .card-network-mastercard {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] > .payment-card-stack.payment-network-row > .card-network-amex,
body.payment-normal-shell .payment-network-row .card-network-amex {
    grid-column: 3 !important;
    grid-row: 1 !important;
}

body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] > .payment-card-stack.payment-network-row > .card-network-diners,
body.payment-normal-shell .payment-network-row .card-network-diners {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] > .payment-card-stack.payment-network-row > .card-network-discover,
body.payment-normal-shell .payment-network-row .card-network-discover {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] > .payment-card-stack.payment-network-row > .card-network > img,
body.payment-normal-shell .payment-network-row .card-network img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    padding: 3px 4px !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    object-fit: contain !important;
}

body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] > .payment-card-stack.payment-network-row > .card-network-amex > img,
body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] > .payment-card-stack.payment-network-row > .card-network-diners > img,
body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] > .payment-card-stack.payment-network-row > .card-network-discover > img,
body.payment-normal-shell .payment-network-row .card-network-amex img,
body.payment-normal-shell .payment-network-row .card-network-diners img,
body.payment-normal-shell .payment-network-row .card-network-discover img {
    padding: 0 !important;
}

body.payment-normal-shell .payment-inline-message {
    margin: 12px 0 0 !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}

body.payment-normal-shell .payment-inline-message[hidden] {
    display: none !important;
}

body.payment-normal-shell .payment-inline-message.is-error {
    border: 1px solid rgba(255, 77, 109, 0.38) !important;
    background: rgba(255, 77, 109, 0.10) !important;
    color: #fecdd3 !important;
}

body.payment-normal-shell .payment-inline-message.is-info {
    border: 1px solid rgba(59, 130, 246, 0.34) !important;
    background: rgba(59, 130, 246, 0.10) !important;
    color: #bfdbfe !important;
}

@media screen and (max-width: 640px) {
    body.payment-normal-shell .payment-options-list .payment-option[data-method="Card"] {
        min-height: 92px !important;
        grid-template-columns: 116px minmax(0, 1fr) 22px !important;
        gap: 12px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    body.payment-normal-shell .payment-card-stack.payment-network-row {
        width: 106px !important;
        min-height: 58px !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: repeat(3, 26px) !important;
        grid-auto-rows: 16px !important;
        gap: 5px !important;
        padding: 6px !important;
    }

    body.payment-normal-shell .payment-options-list .payment-option > .payment-card-stack.payment-network-row {
        width: 106px !important;
        min-height: 58px !important;
        height: auto !important;
        display: grid !important;
        flex-direction: initial !important;
        flex-wrap: initial !important;
        grid-template-columns: repeat(3, 26px) !important;
        grid-auto-rows: 16px !important;
        gap: 5px !important;
        padding: 6px !important;
    }

    body.payment-normal-shell .payment-network-row .card-network {
        width: 26px !important;
        height: 16px !important;
        padding: 0 !important;
        border-radius: 4px !important;
        font-size: 0.32rem !important;
    }

    body.payment-normal-shell .payment-network-row .card-network img {
        padding: 2px 3px !important;
    }

    body.payment-normal-shell .payment-network-row .card-network-amex img,
    body.payment-normal-shell .payment-network-row .card-network-diners img,
    body.payment-normal-shell .payment-network-row .card-network-discover img {
        padding: 0 !important;
    }
}

/* Thank-you page only: remove the dead top/header gap. */
html:has(body.thank-you-receipt-only),
body.thank-you-receipt-only {
    height: auto !important;
    min-height: 100svh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: auto !important;
}

body.thank-you-receipt-only .thank-you-page {
    height: auto !important;
    min-height: 100svh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
}

body.thank-you-receipt-only .thank-you-panel {
    height: auto !important;
    min-height: 100svh !important;
    margin: 0 auto !important;
    align-items: stretch !important;
    overflow: visible !important;
}

body.thank-you-receipt-only .thank-you-left,
body.thank-you-receipt-only .thank-you-summary {
    height: auto !important;
    min-height: 100svh !important;
    padding-top: clamp(24px, 5svh, 44px) !important;
    padding-bottom: clamp(24px, 5svh, 44px) !important;
}

body.thank-you-receipt-only .thank-you-left {
    justify-content: flex-start !important;
}

body.thank-you-receipt-only .thank-you-summary {
    justify-content: flex-start !important;
    padding-top: clamp(34px, 10svh, 72px) !important;
}

body.thank-you-receipt-only .thank-you-brand {
    margin-bottom: clamp(30px, 6svh, 52px) !important;
}

@media screen and (max-width: 920px) {
    body.thank-you-receipt-only .thank-you-left,
    body.thank-you-receipt-only .thank-you-summary {
        min-height: auto !important;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    body.thank-you-receipt-only .thank-you-brand {
        margin-bottom: 26px !important;
    }
}

/* Thank-you page only: hard-pin the success receipt to the very top. */
body.thank-you-receipt-only main.thank-you-page {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100svh !important;
    min-height: 100svh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.thank-you-receipt-only main.thank-you-page > .thank-you-panel {
    position: relative !important;
    top: 0 !important;
    width: min(1180px, 100vw) !important;
    min-height: 100svh !important;
    margin: 0 auto !important;
    transform: none !important;
}

body.thank-you-receipt-only .thank-you-left,
body.thank-you-receipt-only .thank-you-summary {
    padding-top: 0 !important;
}

body.thank-you-receipt-only .thank-you-brand {
    margin-top: 16px !important;
    margin-bottom: 24px !important;
}

body.thank-you-receipt-only .thank-you-summary {
    padding-top: clamp(18px, 5svh, 38px) !important;
}

body.thank-you-receipt-only .thank-you-next-steps {
    display: none !important;
}

body.thank-you-receipt-only .thank-you-status-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 0 22px !important;
}

body.thank-you-receipt-only .thank-you-status-row .thank-you-icon {
    margin: 0 !important;
}

body.thank-you-receipt-only .thank-you-status-row .thank-you-badge {
    margin: 0 !important;
    white-space: nowrap !important;
}

@media screen and (min-width: 921px) {
    body.thank-you-receipt-only .thank-you-brand {
        margin-top: 34px !important;
    }
}

@media screen and (max-width: 640px) {
    body.thank-you-receipt-only .thank-you-left {
        position: relative !important;
    }

    body.thank-you-receipt-only .thank-you-brand {
        margin-top: 18px !important;
        margin-bottom: 30px !important;
    }

    body.thank-you-receipt-only .thank-you-brand-icon {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        margin: -5px -9px -5px 0 !important;
    }

    body.thank-you-receipt-only .thank-you-brand-wordmark {
        height: 20px !important;
        max-width: 128px !important;
    }

    body.thank-you-receipt-only .thank-you-status-row {
        flex-direction: row !important;
        align-items: center !important;
        gap: 16px !important;
        margin: 0 0 20px !important;
    }

    body.thank-you-receipt-only .thank-you-icon {
        width: 68px !important;
        height: 68px !important;
        flex: 0 0 68px !important;
        margin: 0 !important;
    }

    body.thank-you-receipt-only .thank-you-badge {
        position: static !important;
        top: auto !important;
        right: auto !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
}

/* Admin customers panel: keep user rows readable inside the light admin console. */
.admin-console-body #usersPanel.orders-table-card {
    border-color: #d8dde6;
    background: #fff;
}

.admin-console-body #usersPanel .orders-table-head,
.admin-console-body #usersPanel .order-history-row.admin-order-row {
    grid-template-columns: minmax(260px, 1.1fr) minmax(320px, 1.35fr) 170px 210px;
}

.admin-console-body #usersPanel .orders-table-head span:nth-last-child(-n + 2),
.admin-console-body #usersPanel .admin-order-row > span {
    display: none;
}

.admin-console-body #usersPanel .orders-list {
    gap: 0;
    padding: 0;
}

.admin-console-body #usersPanel .order-history-item {
    border: 0;
    border-bottom: 1px solid #e4e8ef;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.admin-console-body #usersPanel .order-history-row.admin-order-row {
    min-height: 72px;
    background: #fff;
    color: #172033;
}

.admin-console-body #usersPanel .order-history-row.admin-order-row:hover {
    background: #f7f9fc;
}

.admin-console-body #usersPanel .admin-order-row > div {
    min-width: 0;
    color: #172033;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.admin-console-body #usersPanel .admin-order-row > div:nth-child(2),
.admin-console-body #usersPanel .admin-order-row > div:nth-child(4),
.admin-console-body #usersPanel .admin-order-row span {
    color: #5f6e84;
    font-weight: 650;
}

.admin-console-body #usersPanel .admin-order-row select {
    width: 100%;
    border-color: #cfd7e3;
    background: #fff;
    color: #172033;
}

.admin-console-body #reviewsPanel.orders-table-card,
.admin-console-body #viewsPanel.orders-table-card {
    overflow: hidden;
    border-color: #d8dde6;
    background: #fff;
}

.admin-console-body #reviewsPanel .orders-list,
.admin-console-body #viewsPanel .orders-list {
    gap: 0;
    padding: 0;
}

.admin-console-body #reviewsPanel .order-history-item,
.admin-console-body #viewsPanel .order-history-item {
    border: 0;
    border-bottom: 1px solid #e4e8ef;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.admin-console-body #reviewsPanel .order-history-row.admin-support-row,
.admin-console-body #viewsPanel .order-history-row.admin-support-row {
    min-height: 72px;
    background: #fff;
    color: #172033;
}

.admin-console-body #reviewsPanel .order-history-row.admin-support-row:hover,
.admin-console-body #viewsPanel .order-history-row.admin-support-row:hover {
    background: #f7f9fc;
}

.admin-console-body #reviewsPanel .orders-table-head,
.admin-console-body #reviewsPanel .order-history-row.admin-support-row {
    grid-template-columns: minmax(260px, 1.15fr) minmax(210px, 0.9fr) 150px minmax(260px, 1.2fr) 210px;
}

.admin-console-body #viewsPanel .orders-table-head,
.admin-console-body #viewsPanel .order-history-row.admin-support-row {
    grid-template-columns: minmax(320px, 1fr) 150px 220px;
}

.admin-console-body #viewsPanel .orders-table-head span:nth-last-child(-n + 2),
.admin-console-body #viewsPanel .admin-support-row > span {
    display: none;
}

.admin-console-body #reviewsPanel .admin-support-row > div,
.admin-console-body #viewsPanel .admin-support-row > div,
.admin-console-body #viewsPanel .admin-support-row > strong {
    min-width: 0;
    color: #172033;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.admin-console-body #reviewsPanel .admin-support-row > div:nth-child(2),
.admin-console-body #reviewsPanel .admin-support-row > div:nth-child(4),
.admin-console-body #reviewsPanel .admin-support-row > div:nth-child(5),
.admin-console-body #viewsPanel .admin-support-row > div {
    color: #5f6e84;
    font-weight: 650;
}

.admin-console-body #reviewsPanel .admin-support-row span {
    color: #64748b;
    font-weight: 650;
}

.admin-console-body #reviewsPanel .admin-review-stars {
    color: #f59e0b;
    letter-spacing: 1px;
    white-space: nowrap;
}

.admin-console-body #usersPanel .admin-user-name-link {
    display: inline-flex;
    align-items: center;
    color: #172033;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.admin-console-body #usersPanel .admin-user-name-link:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.admin-user-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user-top-actions a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d4d9e2;
    border-radius: 4px;
    background: #fff;
    color: #354257;
    font-weight: 700;
    text-decoration: none;
    padding: 0 15px;
}

.admin-console-body .admin-user-detail-shell {
    overflow: visible;
    background: #fff;
}

.admin-user-profile-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border-bottom: 1px solid #e3e8f0;
    background: linear-gradient(135deg, #fff, #f7f9fc);
}

.admin-user-avatar {
    width: 94px;
    height: 94px;
    flex: 0 0 94px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #d8dde6;
    border-radius: 14px;
    background: #eef2f7;
    color: #2563eb;
    font-size: 34px;
    font-weight: 900;
}

.admin-user-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.admin-user-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-user-avatar img + .admin-user-avatar-fallback {
    display: none;
}

.admin-user-profile-card h2 {
    margin: 8px 0 6px;
    color: #172033;
    font-size: 28px;
}

.admin-user-profile-card p {
    margin: 0;
    color: #64748b;
    overflow-wrap: anywhere;
}

.admin-user-role-pill {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #e8f0ff;
    color: #2557c7;
    font-size: 12px;
    font-weight: 800;
    padding: 0 11px;
}

.admin-user-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
}

.admin-user-detail-card {
    border: 1px solid #d8dde6;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.admin-user-detail-card-wide {
    grid-column: 1 / -1;
}

.admin-user-detail-card h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 16px 18px;
    border-bottom: 1px solid #e3e8f0;
    color: #172033;
    font-size: 18px;
}

.admin-user-detail-card h2 i {
    color: #2563eb;
}

.admin-user-detail-rows {
    display: grid;
}

.admin-user-detail-row {
    display: grid;
    grid-template-columns: minmax(150px, 0.48fr) minmax(0, 1fr);
    gap: 16px;
    padding: 13px 18px;
    border-bottom: 1px solid #edf1f6;
}

.admin-user-detail-row:last-child {
    border-bottom: 0;
}

.admin-user-detail-row span {
    color: #68768e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-user-detail-row strong {
    min-width: 0;
    color: #172033;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.admin-user-detail-error {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    color: #5f6e84;
    padding: 28px;
    text-align: center;
}

.admin-user-detail-error i {
    color: #f59e0b;
    font-size: 28px;
}

.admin-user-detail-error strong {
    color: #172033;
}

.admin-user-detail-error a {
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 900px) {
    .admin-user-top-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .admin-user-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-detail-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* Admin saved carts: readable active cart list with inline product detail. */
.admin-console-body #cartsPanel.orders-table-card {
    overflow: hidden;
    border-color: #d8dde6 !important;
    background: #fff !important;
}

.admin-console-body #cartsPanel .admin-saved-carts-tools {
    display: flex;
    justify-content: flex-end;
    padding: 12px;
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
}

.admin-console-body #cartsPanel .admin-saved-carts-tools select {
    min-width: 210px;
    min-height: 38px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font-weight: 700;
    padding: 0 12px;
}

.admin-console-body #cartsPanel .admin-saved-cart-head,
.admin-console-body #cartsPanel .admin-saved-cart-row {
    display: grid !important;
    grid-template-columns: minmax(260px, 1.35fr) 110px 150px 210px 120px 150px !important;
    align-items: center !important;
    gap: 18px !important;
}

.admin-console-body #cartsPanel .orders-list {
    gap: 0;
    padding: 0;
}

.admin-console-body #cartsPanel .admin-saved-cart-item {
    border: 0 !important;
    border-bottom: 1px solid #e4e8ef !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none;
}

.admin-console-body #cartsPanel .admin-saved-cart-row {
    min-height: 76px;
    width: 100%;
    background: #fff !important;
    color: #172033 !important;
    cursor: pointer;
}

.admin-console-body #cartsPanel .admin-saved-cart-row:hover {
    background: #f7f9fc;
}

.admin-console-body #cartsPanel .admin-saved-cart-row > div,
.admin-console-body #cartsPanel .admin-saved-cart-row > strong,
.admin-console-body #cartsPanel .admin-saved-cart-row > span {
    min-width: 0;
    color: #172033 !important;
    overflow-wrap: anywhere;
}

.admin-console-body #cartsPanel .admin-saved-cart-row > div:first-child strong {
    display: block;
    color: #0f172a;
    font-size: 0.96rem;
}

.admin-console-body #cartsPanel .admin-saved-cart-row > div:first-child span {
    display: block;
    margin-top: 4px;
    color: #5f6e84;
    font-size: 0.82rem;
    font-weight: 650;
}

.admin-console-body #cartsPanel .admin-saved-cart-row button {
    min-height: 38px;
    width: 132px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.admin-console-body #cartsPanel .admin-saved-cart-row button[aria-expanded="true"] {
    background: #0f172a;
}

.admin-console-body #cartsPanel .admin-saved-cart-detail {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 16px 18px 20px;
    border-top: 1px solid #e8edf4;
    background: #f8fafc !important;
    color: #172033 !important;
}

.admin-console-body #cartsPanel .admin-saved-cart-detail[hidden] {
    display: none !important;
}

.admin-console-body #cartsPanel .admin-cart-detail-summary {
    display: grid;
    grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(140px, 1fr));
    gap: 12px;
    align-items: stretch;
    margin-bottom: 14px;
}

.admin-console-body #cartsPanel .admin-cart-detail-summary > div,
.admin-console-body #cartsPanel .admin-cart-detail-summary > span {
    min-width: 0;
    padding: 12px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #fff;
    color: #172033;
}

.admin-console-body #cartsPanel .admin-cart-detail-summary small,
.admin-console-body #cartsPanel .admin-cart-product small {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-console-body #cartsPanel .admin-cart-detail-summary strong {
    display: block;
    margin-top: 3px;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.admin-console-body #cartsPanel .admin-cart-product-list {
    display: grid;
    gap: 10px;
}

.admin-console-body #cartsPanel .admin-cart-product {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 14px;
    align-items: start;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #fff !important;
    color: #172033 !important;
}

.admin-console-body #cartsPanel .admin-cart-product img {
    display: block;
    width: 92px !important;
    max-width: 92px !important;
    height: 70px !important;
    max-height: 70px !important;
    border-radius: 8px;
    object-fit: cover !important;
    border: 1px solid #dfe5ee;
}

.admin-console-body #cartsPanel .admin-cart-product > div {
    min-width: 0;
}

.admin-console-body #cartsPanel .admin-cart-product-title {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-console-body #cartsPanel .admin-cart-product-title a,
.admin-console-body #cartsPanel .admin-cart-product-title strong {
    color: #0f172a;
    font-weight: 850;
    text-decoration: none;
}

.admin-console-body #cartsPanel .admin-cart-product-title em {
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c;
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 850;
    padding: 3px 8px;
}

.admin-console-body #cartsPanel .admin-cart-product p {
    margin: 4px 0 8px;
    color: #64748b !important;
    font-weight: 650;
}

.admin-console-body #cartsPanel .admin-cart-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.admin-console-body #cartsPanel .admin-cart-product-meta span {
    border: 1px solid #dfe5ee;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 750;
    padding: 4px 8px;
}

@media screen and (max-width: 980px) {
    .admin-console-body #cartsPanel .admin-saved-cart-head {
        display: none;
    }

    .admin-console-body #cartsPanel .admin-saved-cart-row,
    .admin-console-body #cartsPanel .admin-cart-detail-summary {
        grid-template-columns: 1fr;
    }

    .admin-console-body #cartsPanel .admin-saved-cart-row button {
        width: 100%;
    }

    .admin-console-body #cartsPanel .admin-cart-product {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .admin-console-body #cartsPanel .admin-cart-product img {
        width: 72px;
        height: 58px;
    }
}

/* Final homepage wrapper cleanup: remove parent section overlays and reduce section gap. */
body:has(.hero-home) .popular-categories-section,
body:has(.hero-home) .popular-category-grid,
body:has(.hero-home) .home-process-section {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body:has(.hero-home) .popular-categories-section::before,
body:has(.hero-home) .popular-categories-section::after,
body:has(.hero-home) .popular-category-grid::before,
body:has(.hero-home) .popular-category-grid::after,
body:has(.hero-home) .home-process-section::before,
body:has(.hero-home) .home-process-section::after {
    display: none !important;
    content: none !important;
}

body:has(.hero-home) .marketplace-container {
    padding-bottom: 16px !important;
}

body:has(.hero-home) .popular-categories-section {
    margin-bottom: 0 !important;
}

body:has(.hero-home) .home-process-section {
    margin-top: 34px !important;
    min-height: 560px !important;
    gap: 36px !important;
}

@media screen and (max-width: 640px) {
    body:has(.hero-home) .marketplace-container {
        padding-bottom: 18px !important;
    }

    body:has(.hero-home) .popular-categories-section {
        margin-bottom: 18px !important;
    }

    body:has(.hero-home) .home-process-section {
        margin-top: 24px !important;
        min-height: 0 !important;
        padding-top: 28px !important;
        padding-bottom: 34px !important;
        gap: 24px !important;
    }
}

@media screen and (min-width: 641px) {
    body:has(.hero-home) .home-process-section {
        margin-top: 96px !important;
    }
}

/* Final homepage reviews wrapper cleanup: remove parent background/glow only. */
body:has(.hero-home) .live-reviews-section,
body:has(.hero-home) .live-reviews-carousel,
body:has(.hero-home) .live-reviews-track {
    background: transparent !important;
    box-shadow: none !important;
}

body:has(.hero-home) .live-reviews-section::before,
body:has(.hero-home) .live-reviews-section::after,
body:has(.hero-home) .live-reviews-carousel::before,
body:has(.hero-home) .live-reviews-carousel::after,
body:has(.hero-home) .live-reviews-track::before,
body:has(.hero-home) .live-reviews-track::after,
body:has(.hero-home) .live-review-glow {
    display: none !important;
    content: none !important;
}

/* Phone-only: keep homepage review cards even and preserve the duplicated marquee width. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .live-reviews-carousel {
        --live-review-card-width: min(286px, calc(100vw - 88px)) !important;
        width: var(--live-review-card-width) !important;
        max-width: var(--live-review-card-width) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: visible !important;
    }

    body:has(.hero-home) .live-reviews-track {
        width: var(--live-review-card-width) !important;
        max-width: var(--live-review-card-width) !important;
        overflow: hidden !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        padding: 0 !important;
        touch-action: pan-y;
    }

    body:has(.hero-home) .live-reviews-marquee {
        width: max-content !important;
        max-width: none !important;
        align-items: stretch !important;
        animation: none !important;
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }

    body:has(.hero-home) .live-reviews-track:hover .live-reviews-marquee,
    body:has(.hero-home) .live-reviews-track:active .live-reviews-marquee {
        animation: none !important;
    }

    body:has(.hero-home) .live-reviews-marquee[data-mobile-snap="true"] {
        animation: none !important;
        transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    body:has(.hero-home) .live-review-card {
        width: var(--live-review-card-width) !important;
        min-width: var(--live-review-card-width) !important;
        max-width: var(--live-review-card-width) !important;
        height: 190px !important;
        min-height: 190px !important;
        padding: 14px !important;
        box-sizing: border-box !important;
        grid-template-rows: auto minmax(0, 1fr) auto !important;
    }

    body:has(.hero-home) .live-review-person,
    body:has(.hero-home) .live-review-person > div {
        min-width: 0 !important;
        text-align: left !important;
    }

    body:has(.hero-home) .live-review-card strong {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        text-align: left !important;
    }

    body:has(.hero-home) .live-review-stars {
        justify-content: flex-start !important;
    }

    body:has(.hero-home) .live-review-card p {
        display: -webkit-box !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        justify-self: stretch !important;
        align-self: start !important;
        text-align: left !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    body:has(.hero-home) .live-review-card footer {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* Desktop-only divider between homepage hero image and page background. */
@media screen and (min-width: 641px) {
    body:has(.hero-home) .hero-home {
        border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
        box-shadow: inset 0 -1px 0 rgba(255, 71, 87, 0.08) !important;
    }
}

/* Keep homepage footer merged with the page background. */
body:has(.hero-home) .footer {
    border-top: 0 !important;
    box-shadow: none !important;
}

body:has(.hero-home) .footer::after {
    display: none !important;
    content: none !important;
}

/* Phone-only: tighten the gap between process and feature sections. */
@media screen and (max-width: 640px) {
    body:has(.hero-home) .home-process-section {
        padding-bottom: 12px !important;
    }

    body:has(.hero-home) .feature-section {
        padding-top: 24px !important;
    }
}

/* Mobile safe canvas fallback: prevent white browser canvas flashes without changing layout. */
html {
    background-color: #05060b;
}

body:has(.hero-home) {
    background-color: #05060b;
}

@media screen and (max-width: 640px) {
    html {
        background-color: #05060b;
        overflow-x: hidden;
    }

    body:has(.hero-home) {
        min-width: 0;
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        background-color: #05060b;
        overflow-x: hidden;
    }

    body:has(.hero-home) .home-live-background {
        background-color: #05060b;
    }
}

/* Payment page: hide assurance labels on phones only. */
@media screen and (min-width: 681px) {
    body.payment-normal-shell .payment-panel-title {
        padding-top: 12px !important;
    }
}

body.payment-normal-shell #selectedPaymentText .payment-method-current {
    color: inherit !important;
    font: inherit !important;
    line-height: 1 !important;
    min-height: 0 !important;
    display: inline !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.payment-normal-shell #selectedPaymentText {
    appearance: none;
    font-family: inherit !important;
    line-height: 1 !important;
}

body.payment-normal-shell #selectedPaymentText .fa-chevron-down {
    display: none;
}

@media screen and (max-width: 768px) {
    body.payment-normal-shell .payment-methods-panel,
    body.payment-normal-shell .payment-order-panel {
        padding-top: 24px !important;
    }

    body.payment-normal-shell .payment-panel-title {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    body.payment-normal-shell #selectedPaymentText {
        position: static !important;
        min-height: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 0 !important;
        padding: 0 12px !important;
        cursor: pointer !important;
        user-select: none !important;
        white-space: nowrap !important;
    }

    body.payment-normal-shell #selectedPaymentText:focus-visible {
        outline: 2px solid rgba(255, 113, 133, 0.72) !important;
        outline-offset: 3px !important;
    }

    body.payment-normal-shell #selectedPaymentText .fa-chevron-down {
        display: inline-flex !important;
        align-items: center !important;
        color: inherit !important;
        font-size: 0.72rem !important;
        transition: transform 0.18s ease !important;
    }

    body.payment-normal-shell.payment-options-open #selectedPaymentText .fa-chevron-down {
        transform: rotate(180deg) !important;
    }

    body.payment-normal-shell .payment-options-list {
        max-height: 0 !important;
        gap: 0 !important;
        margin-top: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        transform: translateY(-4px) !important;
        transition:
            max-height 0.22s ease,
            opacity 0.18s ease,
            margin-top 0.18s ease,
            transform 0.18s ease,
            gap 0.18s ease !important;
    }

    body.payment-normal-shell.payment-options-open .payment-options-list {
        max-height: 430px !important;
        gap: 12px !important;
        margin-top: 12px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    body.payment-normal-shell .payment-protection-note {
        margin-top: 12px !important;
    }

    body.payment-normal-shell .payment-assurance-row {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    body.payment-normal-shell .payment-options-list[hidden] {
        display: none !important;
    }

    body.payment-normal-shell:not(.payment-options-open) .payment-options-list {
        display: none !important;
        max-height: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.payment-normal-shell.payment-options-open .payment-options-list {
        display: grid !important;
    }
}

/* Cart page: hide the desktop-only Cart Items label card. */
@media screen and (min-width: 901px) {
    .cart-page .cart-products-panel > .cart-section-title {
        display: none !important;
    }
}

.cart-action-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 9999;
    max-width: min(360px, calc(100vw - 32px));
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(34, 197, 94, 0.24);
    border-radius: 8px;
    background: rgba(8, 13, 22, 0.96);
    color: #e7f8ee;
    padding: 10px 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
    font-size: 0.86rem;
    font-weight: 850;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.cart-action-toast[data-tone="error"] {
    border-color: rgba(255, 71, 87, 0.34);
    color: #ffe4e8;
}

.cart-action-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media screen and (max-width: 640px) {
    .cart-action-toast {
        bottom: 16px;
        width: auto;
        max-width: calc(100vw - 28px);
        font-size: 0.82rem;
    }
}

.cart-self-purchase-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 71, 87, 0.4);
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.1);
    color: #ff7b91;
    font-weight: 800;
}

.primary-checkout-btn.is-disabled,
.primary-checkout-btn[aria-disabled="true"],
.seller-chat-disabled,
.seller-chat-disabled:hover {
    opacity: 0.62;
    cursor: not-allowed;
    filter: grayscale(0.18);
}

/* Protected customer pages: keep short pages on the same dark canvas instead of exposing a flat empty tail. */
body:has(.customer-page),
body:has(.order-status-page),
body:has(.cart-page),
body:has(.support-workspace) {
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 71, 87, 0.13), transparent 30%),
        radial-gradient(circle at 72% 22%, rgba(59, 130, 246, 0.08), transparent 34%),
        radial-gradient(circle at 48% 78%, rgba(20, 184, 166, 0.08), transparent 30%),
        linear-gradient(180deg, #05060b 0%, #080a12 42%, #05070d 100%) !important;
    background-attachment: fixed !important;
}

.customer-page,
.order-status-page,
.cart-page,
.support-workspace {
    min-height: calc(100vh - var(--g4boost-public-header-height, 76px));
    min-height: calc(100dvh - var(--g4boost-public-header-height, 76px));
    margin-bottom: 0 !important;
    padding-bottom: clamp(34px, 7vh, 76px);
}

/* Account settings password action + bottom feedback toast. */
.settings-page .settings-form .settings-password-button {
    appearance: none !important;
    min-height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    border: 1px solid rgba(255, 71, 87, 0.38) !important;
    border-radius: 10px !important;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.18), rgba(15, 23, 42, 0.92)),
        #111827 !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 30px rgba(0, 0, 0, 0.26) !important;
    font: inherit !important;
    font-size: 0.94rem !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    padding: 0 18px !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.settings-page .settings-form .settings-password-button:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(255, 107, 129, 0.72) !important;
    background:
        linear-gradient(135deg, rgba(255, 71, 87, 0.26), rgba(18, 24, 36, 0.96)),
        #151c2a !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 36px rgba(255, 71, 87, 0.12) !important;
}

.settings-page .settings-form .settings-password-button:disabled {
    cursor: wait !important;
    opacity: 0.68 !important;
    transform: none !important;
}

.settings-page .settings-form .settings-plain-title span {
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 850 !important;
    text-transform: none !important;
    margin-bottom: 0 !important;
}

.settings-page .settings-form .password-field-compact {
    gap: 0 !important;
}

.settings-page .settings-form .password-field-compact .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.settings-page #settingsStatus,
.settings-page #settingsError {
    display: none !important;
}

.settings-action-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 9999;
    max-width: min(380px, calc(100vw - 32px));
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(34, 197, 94, 0.26);
    border-radius: 10px;
    background: rgba(8, 13, 22, 0.97);
    color: #e7f8ee;
    padding: 11px 15px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
    font-size: 0.86rem;
    font-weight: 900;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.settings-action-toast[data-tone="error"] {
    border-color: rgba(255, 71, 87, 0.38);
    color: #ffe4e8;
}

.settings-action-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media screen and (max-width: 640px) {
    .settings-action-toast {
        bottom: 16px;
        max-width: calc(100vw - 28px);
        font-size: 0.82rem;
    }
}

/* Final category service switch color identity. */
.seller-service-switch #categoryFilterRow a {
    --service-accent: #ff4757;
    --service-bg: rgba(255, 71, 87, 0.08);
    --service-border: rgba(255, 71, 87, 0.22);
    border-color: var(--service-border) !important;
    background:
        linear-gradient(135deg, var(--service-bg), rgba(255, 255, 255, 0.025)),
        rgba(18, 21, 31, 0.9) !important;
    color: #b8c2d4 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 8px 18px color-mix(in srgb, var(--service-accent) 8%, transparent) !important;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

.seller-service-switch #categoryFilterRow a[data-service="accounts"],
.seller-service-switch #categoryFilterRow a[data-service-type="accounts"],
.seller-service-switch #categoryFilterRow a[data-service-type="account"] {
    --service-accent: #38bdf8;
    --service-bg: rgba(56, 189, 248, 0.12);
    --service-border: rgba(56, 189, 248, 0.34);
}

.seller-service-switch #categoryFilterRow a[data-service="currency"],
.seller-service-switch #categoryFilterRow a[data-service-type="currency"],
.seller-service-switch #categoryFilterRow a[data-service-type="currencies"],
.seller-service-switch #categoryFilterRow a[data-service-type="money"] {
    --service-accent: #ffb020;
    --service-bg: rgba(255, 176, 32, 0.12);
    --service-border: rgba(255, 176, 32, 0.34);
}

.seller-service-switch #categoryFilterRow a[data-service="boosting"],
.seller-service-switch #categoryFilterRow a[data-service-type="boosting"],
.seller-service-switch #categoryFilterRow a[data-service-type="boost"] {
    --service-accent: #22c55e;
    --service-bg: rgba(34, 197, 94, 0.12);
    --service-border: rgba(34, 197, 94, 0.34);
}

.seller-service-switch #categoryFilterRow a[data-service="items"],
.seller-service-switch #categoryFilterRow a[data-service-type="items"],
.seller-service-switch #categoryFilterRow a[data-service-type="item"] {
    --service-accent: #a855f7;
    --service-bg: rgba(168, 85, 247, 0.12);
    --service-border: rgba(168, 85, 247, 0.34);
}

.seller-service-switch #categoryFilterRow a[data-service="topups"],
.seller-service-switch #categoryFilterRow a[data-service-type="top-ups"],
.seller-service-switch #categoryFilterRow a[data-service-type="topups"],
.seller-service-switch #categoryFilterRow a[data-service-type="top-up"] {
    --service-accent: #ff4757;
    --service-bg: rgba(255, 71, 87, 0.12);
    --service-border: rgba(255, 71, 87, 0.34);
}

.seller-service-switch #categoryFilterRow a i {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
    border: 1px solid color-mix(in srgb, var(--service-accent) 38%, rgba(255, 255, 255, 0.08));
    border-radius: 8px;
    background: color-mix(in srgb, var(--service-accent) 12%, rgba(255, 255, 255, 0.035));
    color: var(--service-accent) !important;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--service-accent) 12%, transparent);
    font-size: 0.88rem;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.seller-service-switch #categoryFilterRow a.active,
.seller-service-switch #categoryFilterRow a:hover {
    color: #fff !important;
    border-color: color-mix(in srgb, var(--service-accent) 68%, transparent) !important;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--service-accent) 19%, transparent), rgba(255, 255, 255, 0.035)),
        rgba(20, 23, 34, 0.94) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 12px 28px color-mix(in srgb, var(--service-accent) 20%, transparent) !important;
    transform: translateY(-1px);
}

.seller-service-switch #categoryFilterRow a.active i,
.seller-service-switch #categoryFilterRow a:hover i {
    border-color: color-mix(in srgb, var(--service-accent) 72%, rgba(255, 255, 255, 0.12));
    background: color-mix(in srgb, var(--service-accent) 20%, rgba(255, 255, 255, 0.055));
    color: var(--service-accent) !important;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--service-accent) 24%, transparent);
}

@media screen and (max-width: 768px) {
    .seller-service-switch #categoryFilterRow a.active,
    .seller-service-switch #categoryFilterRow a:hover {
        transform: none;
    }

    .seller-service-switch #categoryFilterRow a i {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 640px) {
    .seller-service-switch #categoryFilterRow a {
        min-height: 0 !important;
        padding: 0 !important;
        border-color: transparent !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .seller-service-switch #categoryFilterRow a.active,
    .seller-service-switch #categoryFilterRow a:hover {
        border-color: transparent !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

@media screen and (max-width: 620px) {
    #categoryPageIntro {
        display: none !important;
    }

    .seller-market-hero {
        padding-bottom: 16px !important;
        text-align: center !important;
    }

    .seller-market-title {
        text-align: center !important;
    }

    .seller-service-switch {
        position: relative !important;
        align-items: center !important;
        padding-top: 12px !important;
        gap: 14px !important;
    }

    .seller-service-switch .seller-hero-rating {
        position: static !important;
        order: 1 !important;
        margin: 0 auto !important;
    }

    .seller-service-switch nav {
        order: 2 !important;
        margin-top: 0 !important;
    }
}
