/* MARKETPLACE_VISUAL_SYSTEM_V3
   Scope: public market, listing detail and seller storefront.
   Commercial truth remains in Blade; this file only establishes presentation. */

.ccx-shell,
.lux {
    --market-bg: #f6f1e8;
    --market-panel: #fffdf8;
    --market-panel-soft: #f1eadf;
    --market-ink: #10233f;
    --market-muted: #607086;
    --market-blue: #0b2f55;
    --market-blue-soft: #164c7d;
    --market-gold: #a87313;
    --market-gold-soft: #ead7aa;
    --market-line: rgba(16, 35, 63, .14);
    --market-line-gold: rgba(168, 115, 19, .38);
    --market-success: #19724c;
    --market-danger: #b43d4d;
    --market-shadow-sm: 0 10px 28px rgba(11, 47, 85, .07);
    --market-shadow: 0 22px 58px rgba(11, 47, 85, .12);
    --market-radius-sm: 10px;
    --market-radius: 18px;
    --market-radius-lg: 28px;
    --market-serif: var(--spx-serif, "Playfair Display", Georgia, serif);
    color: var(--market-ink);
    color-scheme: light;
}

html[data-theme="dark"] .ccx-shell,
body[data-theme="dark"] .ccx-shell,
html[data-theme="dark"] .lux,
body[data-theme="dark"] .lux {
    --market-bg: #06111f;
    --market-panel: #0d2035;
    --market-panel-soft: #102941;
    --market-ink: #f7f1e6;
    --market-muted: #b8c5d4;
    --market-blue: #d9eafa;
    --market-blue-soft: #8fc4f2;
    --market-gold: #e0b85f;
    --market-gold-soft: #5a4825;
    --market-line: rgba(210, 226, 243, .16);
    --market-line-gold: rgba(224, 184, 95, .42);
    --market-success: #78d8a8;
    --market-danger: #ff9aa7;
    --market-shadow-sm: 0 12px 30px rgba(0, 0, 0, .2);
    --market-shadow: 0 26px 68px rgba(0, 0, 0, .34);
    color-scheme: dark;
}

.ccx-shell {
    background:
        radial-gradient(circle at 8% 0, color-mix(in srgb, var(--market-blue-soft) 10%, transparent), transparent 31rem),
        radial-gradient(circle at 92% 4%, color-mix(in srgb, var(--market-gold) 13%, transparent), transparent 27rem),
        var(--market-bg);
    padding: 1px 0 74px;
}

.ccx-market-page {
    width: min(1440px, calc(100% - 32px));
    margin-inline: auto;
}

.ccx-market-page a,
.lux a {
    text-underline-offset: 3px;
}

.ccx-market-icons {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.ccx-market-page :where(a, button, input, select, summary):focus-visible,
.lux :where(a, button, input, select):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--market-gold) 72%, white);
    outline-offset: 3px;
}

/* Category rail */
.ccx-category-nav {
    position: relative;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 48px;
    padding: 6px clamp(16px, 4vw, 54px);
    border-block: 1px solid rgba(16, 35, 63, .1);
    background: #fffdf8;
    color: #10233f;
}

html[data-theme="dark"] .ccx-category-nav,
body[data-theme="dark"] .ccx-category-nav {
    border-color: rgba(210, 226, 243, .14);
    background: #0d2035;
    color: #f7f1e6;
}

.ccx-category-nav a,
.ccx-category-more summary {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 9px;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.ccx-category-nav a:hover,
.ccx-category-more summary:hover {
    background: rgba(168, 115, 19, .1);
    color: #a87313;
}

.ccx-category-more {
    position: relative;
}

.ccx-category-more summary {
    list-style: none;
}

.ccx-category-more summary::-webkit-details-marker {
    display: none;
}

.ccx-category-more-menu {
    position: absolute;
    inset-block-start: calc(100% + 8px);
    inset-inline-end: 0;
    display: grid;
    min-width: 220px;
    padding: 8px;
    border: 1px solid currentColor;
    border-color: rgba(168, 115, 19, .28);
    border-radius: 14px;
    background: #fffdf8;
    box-shadow: 0 22px 50px rgba(11, 47, 85, .16);
}

html[data-theme="dark"] .ccx-category-more-menu,
body[data-theme="dark"] .ccx-category-more-menu {
    background: #0d2035;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .38);
}

/* Advertising spotlight and hero */
.ccx-market-spotlight-carousel {
    position: relative;
    overflow: hidden;
    margin-block: 22px 28px;
    border: 1px solid var(--market-line-gold);
    border-radius: var(--market-radius-lg);
    background: var(--market-blue);
    box-shadow: var(--market-shadow);
}

.ccx-market-spotlight-viewport {
    overflow: hidden;
}

.ccx-market-spotlight-track {
    display: flex;
    transition: transform .5s ease;
}

.ccx-market-spotlight-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 220px;
    overflow: hidden;
    color: #fffaf0;
}

.ccx-market-spotlight-bg,
.ccx-market-spotlight-overlay,
.ccx-market-hero-ad-bg,
.ccx-market-hero-ad-shade {
    position: absolute;
    inset: 0;
}

.ccx-market-spotlight-bg img,
.ccx-market-hero-ad-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #071a31;
}

.ccx-market-spotlight-overlay,
.ccx-market-hero-ad-shade {
    background: linear-gradient(90deg, rgba(10, 12, 17, .78), rgba(10, 12, 17, .46) 45%, rgba(10, 12, 17, .05));
}

[dir="rtl"] .ccx-market-spotlight-overlay,
[dir="rtl"] .ccx-market-hero-ad-shade {
    background: linear-gradient(-90deg, rgba(10, 12, 17, .78), rgba(10, 12, 17, .46) 45%, rgba(10, 12, 17, .05));
}

.ccx-market-spotlight-content {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 10px;
    width: min(660px, 78%);
    min-height: 220px;
    padding: clamp(28px, 5vw, 58px);
}

.ccx-market-spotlight-content :where(h2, p) {
    margin: 0;
}

.ccx-market-spotlight-content h2 {
    font-family: var(--market-serif);
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.04;
}

.ccx-market-spotlight-content a,
.ccx-market-hero-ad-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin-top: 6px;
    padding: 10px 17px;
    border-radius: 10px;
    background: #e0b85f;
    color: #081a31;
    font-weight: 850;
    text-decoration: none;
}

.ccx-market-spotlight-prev,
.ccx-market-spotlight-next,
.ccx-market-spotlight-arrow {
    position: absolute;
    z-index: 4;
    inset-block-start: 50%;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: rgba(4, 17, 33, .66);
    color: white;
    cursor: pointer;
    transform: translateY(-50%);
}

.ccx-market-spotlight-prev { inset-inline-start: 15px; }
.ccx-market-spotlight-next { inset-inline-end: 15px; }

.ccx-market-spotlight-dots,
.ccx-hero-dots {
    position: absolute;
    z-index: 5;
    inset-block-end: 14px;
    inset-inline-start: 50%;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
}

.ccx-market-spotlight-dots button,
.ccx-hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .46);
    cursor: pointer;
}

.ccx-market-spotlight-dots button.is-active,
.ccx-hero-dots button.is-active {
    width: 24px;
    background: #e0b85f;
}

.ccx-market-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, .45fr);
    min-height: 330px;
    margin-block: 22px 20px;
    padding: clamp(30px, 5vw, 64px);
    overflow: hidden;
    border: 1px solid rgba(224, 184, 95, .32);
    border-radius: var(--market-radius-lg);
    background:
        radial-gradient(circle at 82% 25%, rgba(224, 184, 95, .23), transparent 30%),
        linear-gradient(130deg, #06162b, #0d3b68 62%, #071a31);
    box-shadow: var(--market-shadow);
    color: #fffaf0;
}

.ccx-market-hero-ad {
    display: block;
    padding: 0;
}

.ccx-market-hero-ad[data-hero-carousel] {
    aspect-ratio: 1600 / 520;
    min-height: 0;
}

.ccx-hero-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity .45s ease, visibility .45s ease;
}

.ccx-hero-slide.is-active {
    visibility: visible;
    opacity: 1;
}

.ccx-market-hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
}

.ccx-hero-slide .ccx-market-hero-copy {
    display: grid;
    align-content: center;
    justify-items: start;
    width: min(760px, 74%);
    min-height: 100%;
    padding: clamp(30px, 5vw, 64px);
}

.ccx-market-hero-copy > span,
.ccx-market-hero-ad-tag {
    display: inline-flex;
    margin-bottom: 12px;
    color: #e0b85f;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.ccx-market-hero h1 {
    max-width: 780px;
    margin: 0;
    font-family: var(--market-serif);
    font-size: clamp(38px, 5vw, 67px);
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: .98;
}

.ccx-market-hero h1 em {
    color: #e0b85f;
    font-style: normal;
}

.ccx-market-hero p {
    max-width: 680px;
    margin: 16px 0 0;
    color: rgba(255, 250, 240, .79);
    font-size: 16px;
    line-height: 1.6;
}

.ccx-market-hero-art {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
}

.ccx-market-hero-art svg {
    width: min(100%, 280px);
}

.ccx-market-search {
    display: flex;
    width: min(760px, 100%);
    margin-top: 24px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 15px;
    background: #fffdf8;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .16);
}

.ccx-market-search input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding-inline: 15px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #10233f;
    font: inherit;
}

.ccx-market-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding-inline: 21px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0b85f, #a87313);
    color: #081a31;
    font-weight: 850;
    cursor: pointer;
}

.ccx-market-search svg {
    width: 18px;
    height: 18px;
}

.ccx-hero-search-layer {
    position: absolute;
    z-index: 4;
    inset-inline: clamp(30px, 5vw, 64px);
    inset-block-end: 34px;
}

.ccx-hero-search-layer .ccx-market-search {
    margin: 0;
}

/* Trust and type navigation */
.sp-market-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-block: 20px;
}

.sp-market-trust-tile {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 88px;
    padding: 16px;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-panel);
    box-shadow: var(--market-shadow-sm);
}

.sp-market-trust-ico {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--market-line-gold);
    border-radius: 50%;
    background: color-mix(in srgb, var(--market-gold) 10%, var(--market-panel));
    color: var(--market-gold);
}

.sp-market-trust-icon {
    width: 21px;
    height: 21px;
}

.sp-market-trust-txt {
    display: grid;
    min-width: 0;
}

.sp-market-trust-txt strong { font-size: 18px; color: var(--market-ink); }
.sp-market-trust-txt span { color: var(--market-muted); font-size: 12px; }

.ccx-market-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
    margin-block: 22px 26px;
    padding: 7px;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-panel);
    box-shadow: var(--market-shadow-sm);
}

.ccx-market-tabs a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 58px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--market-blue);
    text-align: center;
    text-decoration: none;
}

.ccx-market-tabs a:hover {
    border-color: var(--market-line);
    background: var(--market-panel-soft);
}

.ccx-market-tabs a.is-active {
    border-color: var(--market-line-gold);
    background: linear-gradient(135deg, #0b2f55, #164c7d);
    box-shadow: 0 10px 24px rgba(11, 47, 85, .2);
    color: #fffaf0;
}

.ccx-market-tabs svg {
    width: 36px;
    height: 36px;
    padding: 7px;
    border: 1px solid var(--market-line-gold);
    border-radius: 11px;
    background:
        linear-gradient(145deg,
            color-mix(in srgb, var(--market-gold) 18%, var(--market-panel)),
            color-mix(in srgb, var(--market-blue) 7%, var(--market-panel)));
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, white 55%, transparent),
        0 7px 16px color-mix(in srgb, var(--market-blue) 12%, transparent);
    color: var(--market-gold);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.ccx-market-tabs a.is-active svg {
    border-color: rgba(255, 242, 207, .48);
    background: linear-gradient(145deg, #f4d98f, #b77c17);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58), 0 7px 18px rgba(0, 0, 0, .2);
    color: #08203a;
}

.ccx-market-tabs strong { font-size: 12px; line-height: 1.2; }

/* Marketplace columns and shared panels */
.ccx-market-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 260px;
    gap: 22px;
    align-items: start;
}

.ccx-market-left,
.ccx-market-main,
.ccx-market-right {
    display: grid;
    min-width: 0;
    gap: 18px;
}

.ccx-filter,
.ccx-saved,
.ccx-sellers,
.ccx-promo,
.ccx-sidebar-plans,
.ccx-sidebar-guarantees,
.ccx-sidebar-plans-cta,
.ccx-results-head {
    margin: 0;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-panel);
    box-shadow: var(--market-shadow-sm);
}

.ccx-filter,
.ccx-saved,
.ccx-sellers,
.ccx-sidebar-plans,
.ccx-sidebar-guarantees {
    padding: 18px;
}

.ccx-mini-head,
.ccx-section-head,
.ccx-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ccx-mini-head { margin-bottom: 16px; }
.ccx-mini-head strong { font-size: 14px; }
.ccx-mini-head a,
.ccx-section-head a { color: var(--market-gold); font-size: 12px; font-weight: 800; }

.ccx-filter form {
    display: grid;
    gap: 9px;
}

.ccx-filter label {
    margin-top: 7px;
    color: var(--market-muted);
    font-size: 12px;
    font-weight: 750;
}

.ccx-filter :where(input, select),
.ccx-sort select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--market-line);
    border-radius: 9px;
    background: var(--market-panel-soft);
    color: var(--market-ink);
    font: inherit;
}

.ccx-filter button[type="submit"] {
    min-height: 43px;
    margin-top: 7px;
    border: 1px solid var(--market-blue);
    border-radius: 9px;
    background: var(--market-blue);
    color: var(--market-panel);
    font-weight: 850;
    cursor: pointer;
}

html[data-theme="dark"] .ccx-filter button[type="submit"],
body[data-theme="dark"] .ccx-filter button[type="submit"] {
    background: #e0b85f;
    border-color: #e0b85f;
    color: #081a31;
}

.ccx-filter-range { display: grid; gap: 4px; }
.ccx-filter-range input { min-height: 24px; padding: 0; accent-color: var(--market-gold); }
.ccx-filter-range-labels { display: flex; justify-content: space-between; color: var(--market-muted); font-size: 11px; }
.ccx-filter-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ccx-filter-switch input { width: 18px; min-height: 18px; accent-color: var(--market-gold); }

.ccx-saved-category,
.ccx-sidebar-guarantees p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 11px 0;
    color: var(--market-muted);
    font-size: 12px;
    text-decoration: none;
}

.ccx-saved-category:hover,
.ccx-saved-category:focus-visible {
    color: var(--market-blue);
}

.ccx-saved > .ccx-saved-all,
.ccx-sidebar-guarantees > a {
    color: var(--market-gold);
    font-size: 12px;
    font-weight: 800;
}

.ccx-results-head {
    padding: 19px 20px;
}

.ccx-results-head h2 { margin: 0; font-family: var(--market-serif); font-size: 26px; }
.ccx-results-head p { margin: 4px 0 0; color: var(--market-muted); font-size: 13px; }
.ccx-sort { display: flex; align-items: center; gap: 8px; color: var(--market-muted); font-size: 12px; }
.ccx-sort select { width: auto; min-width: 150px; }

.ccx-category-browser {
    margin-top: 30px;
    padding: clamp(20px, 3vw, 30px);
    scroll-margin-top: 92px;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-panel);
    box-shadow: var(--market-shadow-sm);
}

.ccx-category-browser .ccx-section-head {
    align-items: end;
    margin-bottom: 20px;
}

.ccx-category-browser .ccx-section-head p {
    margin: 5px 0 0;
    color: var(--market-muted);
    font-size: 12px;
}

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

.ccx-category-group {
    min-width: 0;
    border: 1px solid var(--market-line);
    border-radius: 13px;
    background: var(--market-panel-soft);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.ccx-category-group-head {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto 18px;
    gap: 10px;
    align-items: center;
    min-height: 68px;
    padding: 14px;
    color: var(--market-ink);
    cursor: pointer;
    list-style: none;
}

.ccx-category-group-head::-webkit-details-marker { display: none; }

.ccx-category-group-head > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--market-line-gold);
    border-radius: 11px;
    background: var(--market-panel);
    color: var(--market-gold);
}

.ccx-category-group-head svg { width: 21px; height: 21px; }
.ccx-category-group-head strong { font-family: var(--market-serif); font-size: 15px; line-height: 1.2; }
.ccx-category-group-head small {
    min-width: 22px;
    padding: 3px 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--market-gold) 12%, transparent);
    color: var(--market-gold);
    font-size: 10px;
    text-align: center;
}

.ccx-category-group-head > i {
    display: grid;
    grid-column: 4;
    width: 18px;
    height: 18px;
    place-items: center;
    color: var(--market-muted);
    transition: transform .2s ease, color .2s ease;
}

.ccx-category-group-head > i svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; }
.ccx-category-group[open] { border-color: var(--market-line-gold); background: var(--market-panel); box-shadow: var(--market-shadow-sm); }
.ccx-category-group[open] .ccx-category-group-head > i { transform: rotate(180deg); color: var(--market-gold); }

.ccx-subcategory-links {
    display: grid;
    gap: 2px;
    padding: 0 14px 14px;
    border-top: 1px solid var(--market-line);
}

.ccx-subcategory-links a {
    padding: 8px 9px;
    border-radius: 7px;
    color: var(--market-muted);
    font-size: 11px;
    line-height: 1.25;
    text-decoration: none;
}

.ccx-subcategory-links .ccx-category-view-all {
    margin-top: 9px;
    color: var(--market-blue);
    font-weight: 850;
}

.ccx-category-group-head:hover,
.ccx-category-group-head:focus-visible,
.ccx-subcategory-links a:hover,
.ccx-subcategory-links a:focus-visible {
    color: var(--market-gold);
}

/* Listings and commercial hierarchy */
.ccx-market-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.ccx-market-card {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-panel);
    box-shadow: var(--market-shadow-sm);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ccx-market-card:hover {
    transform: translateY(-4px);
    border-color: var(--market-line-gold);
    box-shadow: var(--market-shadow);
}

.ccx-market-card.is-featured,
.ccx-market-card.is-boosted {
    border-color: var(--market-line-gold);
}

.ccx-market-card.is-premium,
.ccx-market-card.is-curated,
.ccx-market-card.is-sponsored {
    box-shadow: inset 0 3px 0 var(--market-gold), var(--market-shadow-sm);
}

.ccx-market-card-main {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.ccx-market-card-main > em {
    position: absolute;
    z-index: 3;
    inset-block-start: 11px;
    inset-inline-start: 11px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 7px;
    background: rgba(6, 17, 31, .82);
    color: #f7e4b5;
    font-size: 9px;
    font-style: normal;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ccx-market-media {
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--market-line);
    background: var(--market-panel-soft);
}

.ccx-market-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ccx-market-card:hover .ccx-market-media img { transform: scale(1.035); }
.ccx-market-media svg { width: 44px; height: 44px; color: var(--market-gold); opacity: .62; }
.ccx-market-media-category-icon {
    width: 46px;
    height: 46px;
    color: var(--market-gold);
    opacity: .76;
}

.ccx-market-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
}

.ccx-market-card-body > strong {
    color: var(--market-ink);
    font-size: 15px;
    line-height: 1.35;
}

.ccx-market-card-body > small { margin-top: 5px; color: var(--market-muted); }
.ccx-market-card-body > b {
    margin-top: auto;
    padding-top: 14px;
    color: var(--market-gold);
    font-family: var(--market-serif);
    font-size: 20px;
    font-variant-numeric: tabular-nums;
}

.ccx-market-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    color: var(--market-success);
    font-size: 10px;
    font-weight: 800;
}

.ccx-market-usd,
.ccx-market-card .cc-usd-equivalent,
.lux .cc-usd-equivalent {
    margin-top: 3px;
    color: var(--market-muted);
    font-family: inherit;
    font-size: 11px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    letter-spacing: .015em;
    opacity: 1;
}

.cc-wishlist-floating-form,
.cc-wishlist-floating-login {
    position: absolute;
    z-index: 4;
    inset-block-start: 11px;
    inset-inline-end: 11px;
}

.cc-wishlist-floating-btn,
.cc-wishlist-floating-login {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 50%;
    background: rgba(255, 253, 248, .9);
    color: #10233f;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.cc-wishlist-floating-btn.is-active { color: #b43d4d; }

.ccx-empty-market {
    padding: 54px 24px;
    border: 1px dashed var(--market-line-gold);
    border-radius: var(--market-radius);
    background: var(--market-panel);
    text-align: center;
}

.ccx-empty-market svg { width: 42px; height: 42px; color: var(--market-gold); }
.ccx-empty-market h3 { margin: 14px 0 6px; }
.ccx-empty-market p { color: var(--market-muted); }
.ccx-empty-market a { color: var(--market-gold); font-weight: 800; }

/* Advertising units stay visibly separate from organic inventory */
.ccx-sidebar-ad,
.ccx-market-grid-sponsor,
.ccx-market-inline-cta {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    border: 1px solid var(--market-line-gold);
    border-radius: var(--market-radius);
    background: #071a31;
}

.ccx-sidebar-ad > a,
.ccx-market-grid-sponsor-link,
.ccx-market-inline-cta-link {
    position: absolute;
    inset: 0;
    display: flex;
    color: #fffaf0;
    text-decoration: none;
}

.ccx-sidebar-ad img,
.ccx-market-grid-sponsor img,
.ccx-market-inline-cta-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ccx-sidebar-ad-shade,
.ccx-market-grid-sponsor-shade,
.ccx-market-inline-cta-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 17, 31, .94), rgba(5, 17, 31, .15));
}

.ccx-sidebar-ad-copy,
.ccx-market-grid-sponsor-copy,
.ccx-market-inline-cta-copy {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: end;
    align-self: stretch;
    gap: 7px;
    width: 100%;
    padding: 20px;
}

.ccx-sidebar-ad-copy em,
.ccx-market-grid-sponsor-copy em,
.ccx-market-inline-cta-copy em {
    color: #e0b85f;
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ccx-sidebar-ad-copy strong {
    color: #fffaf0;
}

.ccx-market-grid-sponsor-copy b,
.ccx-market-inline-cta-copy b {
    color: #e0b85f;
    font-size: 12px;
}

.ccx-promo,
.ccx-sidebar-plans-cta {
    padding: 21px;
    background: linear-gradient(145deg, #0b2f55, #071a31);
    color: #fffaf0;
}

.ccx-promo h2,
.ccx-promo p { margin: 0; }
.ccx-promo p { margin-top: 8px; color: rgba(255, 250, 240, .72); font-size: 13px; }
.ccx-sell-more-actions { display: grid; gap: 8px; margin-top: 16px; }
.ccx-sell-more-actions a,
.ccx-sidebar-plans-cta a {
    display: inline-flex;
    justify-content: center;
    padding: 10px;
    border: 1px solid rgba(224, 184, 95, .5);
    border-radius: 9px;
    color: #f3d793;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.ccx-sidebar-plans-cta { display: grid; gap: 7px; }
.ccx-sidebar-plans-cta em { color: #e0b85f; font-size: 10px; font-style: normal; text-transform: uppercase; }
.ccx-sidebar-plans-cta small { color: rgba(255, 250, 240, .72); }

.ccx-sellers article,
.ccx-sidebar-plan-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 11px;
    border-top: 1px solid var(--market-line);
    color: inherit;
    text-decoration: none;
}

.ccx-sellers article > span,
.ccx-sidebar-plan-row > span:first-child {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--market-panel-soft);
    color: var(--market-gold);
    font-weight: 850;
}

.ccx-sellers article div,
.ccx-sidebar-plan-copy { display: grid; min-width: 0; }
.ccx-sellers article small,
.ccx-sidebar-plan-copy small { color: var(--market-muted); font-size: 11px; }
.ccx-sidebar-plan-row svg { width: 18px; height: 18px; }

/* Lower marketplace sections */
.ccx-market-bottom {
    display: grid;
    gap: 18px;
    margin-top: 6px;
}

.ccx-popular,
.ccx-plans {
    padding: 22px;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-panel);
    box-shadow: var(--market-shadow-sm);
}

.ccx-section-head h2,
.ccx-plan-copy h2 { margin: 0; font-family: var(--market-serif); }
.ccx-category-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 17px; }
.ccx-category-card {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid var(--market-line);
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
}
.ccx-category-card:hover { border-color: var(--market-line-gold); background: var(--market-panel-soft); }
.ccx-category-card-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 1px solid var(--market-line-gold);
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 20%, color-mix(in srgb, white 62%, transparent), transparent 35%),
        linear-gradient(145deg,
            color-mix(in srgb, var(--market-gold) 22%, var(--market-panel)),
            color-mix(in srgb, var(--market-blue) 8%, var(--market-panel)));
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, white 58%, transparent),
        0 9px 20px color-mix(in srgb, var(--market-blue) 14%, transparent);
    color: var(--market-gold);
}

.ccx-category-card svg,
.ccx-category-card-icon svg {
    width: 24px;
    height: 24px;
}

.ccx-category-card:hover .ccx-category-card-icon {
    border-color: var(--market-gold);
    background: linear-gradient(145deg, #f2d488, #b77c17);
    transform: translateY(-1px);
}

.ccx-category-card small { color: var(--market-muted); }

.ccx-plans {
    display: grid;
    grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
    gap: 20px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--market-blue) 8%, var(--market-panel)), var(--market-panel));
}

.ccx-plan-copy p { color: var(--market-muted); font-size: 13px; }
.ccx-plan-button {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 9px;
    border: 1px solid #0b2f55 !important;
    background: #0b2f55 !important;
    color: #fffaf0 !important;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

html[data-theme="dark"] .ccx-plan-button,
body[data-theme="dark"] .ccx-plan-button {
    border-color: #e0b85f !important;
    background: #e0b85f !important;
    color: #081a31 !important;
}

.ccx-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ccx-plan-grid article {
    display: grid;
    align-content: start;
    gap: 5px;
    padding: 14px;
    border: 1px solid var(--market-line);
    border-radius: 12px;
    background: var(--market-panel);
}
.ccx-plan-grid article > span { color: var(--market-gold); }
.ccx-plan-grid svg { width: 21px; height: 21px; }
.ccx-plan-grid small { color: var(--market-muted); }

.ccx-premium-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
    padding: 25px clamp(22px, 4vw, 40px);
    border: 1px solid rgba(224, 184, 95, .38);
    border-radius: var(--market-radius);
    background: linear-gradient(120deg, #06162b, #0d3b68);
    color: #fffaf0;
    box-shadow: var(--market-shadow);
}
.ccx-premium-banner > div { display: grid; gap: 5px; }
.ccx-premium-banner em { color: #e0b85f; font-size: 10px; font-style: normal; font-weight: 850; text-transform: uppercase; }
.ccx-premium-banner strong {
    color: #fffaf0 !important;
    font-family: var(--market-serif);
    font-size: clamp(20px, 3vw, 30px);
}
.ccx-premium-banner small { color: rgba(255, 250, 240, .78) !important; }
.ccx-premium-banner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 9px;
    border: 1px solid #f0ce7c !important;
    background: #e0b85f !important;
    color: #081a31 !important;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.ccx-premium-banner a :where(svg, path) {
    color: #081a31 !important;
    stroke: currentColor;
}

.ccx-plan-copy h2 {
    color: var(--market-ink);
}

.ccx-plan-copy p {
    color: var(--market-muted);
}

/* Product detail and seller storefront */
.lux {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
    padding-block: 30px 86px;
}

.lux-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.lux-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--market-muted);
    font-size: 12px;
}

.lux-crumbs a { color: inherit; text-decoration: none; }
.lux-crumbs .sep { opacity: .48; }
.lux-back {
    padding-bottom: 3px;
    border-bottom: 1px solid var(--market-line-gold);
    color: var(--market-blue);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.lux-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
    gap: 24px;
    align-items: start;
}

.lux-stage {
    position: relative;
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-panel-soft);
    box-shadow: var(--market-shadow-sm);
}
.lux-stage img { width: 100%; height: 100%; object-fit: contain; }
.lux-emoji {
    display: grid;
    place-items: center;
    color: var(--market-gold);
    opacity: .55;
}
.lux-emoji svg { width: 64px; height: 64px; }
.lux-card-media .lux-emoji svg { width: 46px; height: 46px; }
.lux-zoom {
    position: absolute;
    inset-inline-end: 14px;
    inset-block-end: 14px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--market-line);
    border-radius: 50%;
    background: var(--market-panel);
    color: var(--market-ink);
    cursor: pointer;
}
.lux-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.lux-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 68px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid var(--market-line);
    border-radius: 9px;
    background: var(--market-panel);
    cursor: pointer;
}
.lux-thumb.is-active { border-color: var(--market-gold); }
.lux-thumb img { width: 100%; height: 100%; object-fit: cover; }

.lux-panel,
.lux-store {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-panel);
    box-shadow: var(--market-shadow);
}
.lux-panel { padding: clamp(22px, 3vw, 32px); }
.lux-panel::before,
.lux-store::before {
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--market-gold), transparent);
    content: "";
}
.lux-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lux-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    color: var(--market-gold);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.lux-eyebrow a { color: inherit; text-decoration: none; }
.lux-eyebrow .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--market-gold); }
.lux-wish {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--market-line);
    border-radius: 50%;
    background: var(--market-panel-soft);
    color: var(--market-muted);
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
}
.lux-wish.is-active { color: var(--market-danger); border-color: currentColor; }
.lux-title {
    margin: 20px 0 8px;
    color: var(--market-ink);
    font-family: var(--market-serif);
    font-size: clamp(30px, 4vw, 47px);
    line-height: 1.03;
}
.lux-price,
.lux-card-price {
    color: var(--market-gold);
    font-family: var(--market-serif);
    font-variant-numeric: tabular-nums;
}
.lux-price { font-size: clamp(27px, 3.4vw, 39px); font-weight: 650; }
.lux-price-usd { display: block; margin-top: 3px; color: var(--market-muted); font-size: 12px; font-weight: 750; }
.lux-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 23px; }
.lux-spec {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 9px;
    padding: 12px;
    border: 1px solid var(--market-line);
    border-radius: 10px;
    background: var(--market-panel-soft);
}
.lux-spec-ico {
    display: grid;
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    align-self: center;
    place-items: center;
    border: 1px solid var(--market-line-gold);
    border-radius: 11px;
    background:
        linear-gradient(145deg,
            color-mix(in srgb, var(--market-gold) 18%, var(--market-panel)),
            color-mix(in srgb, var(--market-blue) 7%, var(--market-panel)));
    box-shadow: inset 0 1px 0 color-mix(in srgb, white 55%, transparent);
    color: var(--market-gold);
}
.lux-spec-ico svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}
.lux-spec-k { color: var(--market-muted); font-size: 10px; text-transform: uppercase; }
.lux-spec-v { color: var(--market-ink); font-size: 13px; font-weight: 750; }
.lux-actions { display: grid; gap: 10px; margin-top: 20px; }
.lux-actions form { margin: 0; }
.lux-buy,
.lux-own {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--market-gold);
    border-radius: 10px;
    background: var(--market-gold);
    color: #081a31;
    font-weight: 900;
    text-decoration: none;
}
.lux-own { background: var(--market-panel-soft); color: var(--market-gold); }
.lux-contact {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid var(--market-line);
    border-radius: 10px;
    background: var(--market-panel-soft);
    color: inherit;
    text-align: start;
    text-decoration: none;
    cursor: pointer;
}
.lux-contact-ico {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--market-line-gold);
    border-radius: 50%;
    background: var(--market-panel);
}
.lux-contact-tx { flex: 1; min-width: 0; }
.lux-contact-tx strong,
.lux-contact-tx span { display: block; }
.lux-contact-tx span { margin-top: 2px; color: var(--market-muted); font-size: 11px; }
.lux-contact-arrow { color: var(--market-gold); font-size: 22px; }
.lux-seller {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--market-line);
    color: inherit;
    text-decoration: none;
}
.lux-seller-av,
.lux-store-av {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--market-line-gold);
    background: linear-gradient(135deg, #f6e2a0, #c9a233);
    color: #241a05;
    font-family: var(--market-serif);
}
.lux-seller-av { width: 46px; height: 46px; border-radius: 50%; }
.lux-seller-av img,
.lux-store-av img { width: 100%; height: 100%; object-fit: cover; }
.lux-seller-id { display: grid; flex: 1; min-width: 0; }
.lux-seller-id span { color: var(--market-muted); font-size: 11px; }
.lux-seller-rev { display: grid; justify-items: end; color: inherit; text-decoration: none; }
.stars { color: var(--market-gold); letter-spacing: 1px; }
.lux-seller-rev small { color: var(--market-muted); }

.lux-section { margin-top: 48px; }
.lux-h { margin: 0; color: var(--market-ink); font-family: var(--market-serif); font-size: clamp(23px, 3vw, 31px); }
.lux-desc,
.lux-desc-empty {
    margin-top: 16px;
    padding: 22px;
    border: 1px solid var(--market-line);
    border-radius: var(--market-radius);
    background: var(--market-panel);
    color: var(--market-muted);
    line-height: 1.75;
}
.lux-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 20px; }
.lux-card {
    position: relative;
    display: flex;
    overflow: hidden;
    border: 1px solid var(--market-line);
    border-radius: 14px;
    background: var(--market-panel);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--market-shadow-sm);
    transition: transform .2s ease, border-color .2s ease;
}
.lux-card:hover { transform: translateY(-4px); border-color: var(--market-line-gold); }
.lux-card-inner { display: flex; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.lux-card-media { display: grid; aspect-ratio: 1; place-items: center; overflow: hidden; background: var(--market-panel-soft); }
.lux-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.lux-card-body { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 14px; }
.lux-card-title { color: var(--market-ink); font-size: 14px; font-weight: 800; line-height: 1.35; }
.lux-card-meta { color: var(--market-muted); font-size: 11px; }
.lux-card-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--market-line);
}
.lux-card-price { display: block; font-size: 18px; }
.lux-card-type,
.lux-card-cta { color: var(--market-muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.lux-card-wish { position: absolute; z-index: 3; inset-block-start: 9px; inset-inline-end: 9px; }
.lux-card-wish :where(button, a) {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border: 1px solid var(--market-line);
    border-radius: 50%;
    background: var(--market-panel);
    color: var(--market-muted);
    text-decoration: none;
    cursor: pointer;
}
.lux-card-wish .is-active { color: var(--market-danger); }

/* Store header */
.lux-store-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(230px, auto);
    gap: 26px;
    align-items: center;
    padding: 30px;
}
.lux-store-av { width: 96px; height: 96px; border-radius: 14px; font-size: 38px; }
.lux-store-name { margin: 10px 0 0; color: var(--market-ink); font-family: var(--market-serif); font-size: clamp(30px, 4vw, 46px); line-height: 1.04; }
.lux-store-rating { display: flex; align-items: center; gap: 8px; margin-top: 9px; color: inherit; text-decoration: none; flex-wrap: wrap; }
.lux-store-rating .lbl { color: var(--market-ink); font-weight: 750; }
.lux-store-rating .cnt,
.lux-store-loc { color: var(--market-muted); font-size: 12px; }
.lux-store-loc { margin-top: 7px; }
.lux-store-side { display: grid; gap: 9px; }
.lux-link {
    display: flex;
    justify-content: center;
    padding: 11px;
    border: 1px solid var(--market-line-gold);
    border-radius: 9px;
    color: var(--market-blue);
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
    text-transform: uppercase;
}
.lux-store-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--market-line); }
.lux-stat { padding: 16px 30px; border-inline-end: 1px solid var(--market-line); }
.lux-stat:last-child { border-inline-end: 0; }
.lux-stat span { display: block; color: var(--market-muted); font-size: 10px; text-transform: uppercase; }
.lux-stat strong { display: block; margin-top: 5px; color: var(--market-ink); font-family: var(--market-serif); font-size: 19px; }
.lux-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.lux-sub { margin: 5px 0 0; color: var(--market-muted); }
.lux-rule { height: 1px; margin-top: 15px; background: var(--market-line); }
.lux-empty { margin-top: 20px; padding: 38px; border: 1px dashed var(--market-line-gold); border-radius: 14px; color: var(--market-muted); text-align: center; }

/* Lightbox */
.lux-lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    margin: 0;
    padding: 52px;
    place-items: center;
    background: rgba(2, 8, 15, .93);
    color: white;
}
.lux-lightbox[hidden] { display: none; }
.lux-lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; }
.lux-lightbox figcaption { margin-top: 10px; color: rgba(255, 255, 255, .72); }
.lux-lightbox-x {
    position: absolute;
    inset-block-start: 18px;
    inset-inline-end: 22px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: transparent;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.cc-pagination-wrap { color: var(--market-ink); }

/* Seller reviews */
.cc-public-seller-reviews-page {
    width: min(1100px, calc(100% - 32px));
    margin-inline: auto;
    padding-block: 30px 82px;
    color: #10233f;
    --review-panel: #fffdf8;
    --review-soft: #f1eadf;
    --review-ink: #10233f;
    --review-muted: #607086;
    --review-gold: #a87313;
    --review-line: rgba(16, 35, 63, .14);
}

html[data-theme="dark"] .cc-public-seller-reviews-page,
body[data-theme="dark"] .cc-public-seller-reviews-page {
    color: #f7f1e6;
    --review-panel: #0d2035;
    --review-soft: #102941;
    --review-ink: #f7f1e6;
    --review-muted: #b8c5d4;
    --review-gold: #e0b85f;
    --review-line: rgba(210, 226, 243, .16);
}

.cc-public-seller-reviews-page .cc-breadcrumbs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    color: var(--review-muted);
    font-size: 12px;
}

.cc-public-seller-reviews-page .cc-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.cc-public-seller-reviews-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--review-line);
    border-radius: 18px;
    background: var(--review-panel);
    box-shadow: 0 22px 58px rgba(11, 47, 85, .12);
}

.cc-public-seller-avatar,
.cc-review-avatar {
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--review-gold) 45%, transparent);
    background: linear-gradient(135deg, #f6e2a0, #c9a233);
    color: #241a05;
    font-family: var(--market-serif, Georgia, serif);
    font-weight: 800;
}

.cc-public-seller-avatar {
    width: 88px;
    height: 88px;
    border-radius: 14px;
    font-size: 34px;
}

.cc-public-seller-reviews-copy h1 {
    margin: 8px 0 5px;
    color: var(--review-ink);
    font-family: var(--market-serif, Georgia, serif);
    font-size: clamp(27px, 4vw, 42px);
}

.cc-public-seller-reviews-page .cc-muted {
    margin: 0;
    color: var(--review-muted);
}

.cc-public-seller-reviews-page .cc-badge {
    display: inline-flex;
    padding: 5px 8px;
    border: 1px solid color-mix(in srgb, var(--review-gold) 45%, transparent);
    border-radius: 7px;
    color: var(--review-gold);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.cc-rating-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--review-muted);
    flex-wrap: wrap;
}

.cc-rating-line strong,
.cc-rating-stars {
    color: var(--review-gold);
    letter-spacing: 1px;
}

.cc-public-seller-reviews-page .cc-btn-dark {
    display: inline-flex;
    padding: 11px 15px;
    border: 1px solid color-mix(in srgb, var(--review-gold) 45%, transparent);
    border-radius: 9px;
    color: var(--review-ink);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.cc-public-seller-reviews-page .cc-section {
    margin-top: 44px;
}

.cc-public-seller-reviews-page .cc-section-head h2 {
    margin: 0;
    color: var(--review-ink);
    font-family: var(--market-serif, Georgia, serif);
    font-size: 28px;
}

.cc-review-list {
    display: grid;
    gap: 13px;
    margin-top: 20px;
}

.cc-review-card {
    padding: 19px;
    border: 1px solid var(--review-line);
    border-radius: 14px;
    background: var(--review-panel);
    color: var(--review-ink);
}

.cc-review-card-head {
    display: flex;
    gap: 14px;
}

.cc-review-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 11px;
}

.cc-review-card-main {
    flex: 1;
    min-width: 0;
}

.cc-review-card-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.cc-review-card-title {
    color: var(--review-ink);
}

.cc-review-card-rating {
    margin-top: 0;
}

.cc-review-card-meta,
.cc-review-listing {
    margin-top: 4px;
    color: var(--review-muted);
    font-size: 11px;
}

.cc-review-card-comment {
    margin: 13px 0 0;
    color: var(--review-ink);
    line-height: 1.65;
}

.cc-review-listing a {
    color: var(--review-gold);
}

.cc-review-response {
    margin-top: 14px;
    padding: 12px 14px;
    border-inline-start: 3px solid var(--review-gold);
    background: color-mix(in srgb, var(--review-gold) 7%, var(--review-soft));
    color: var(--review-ink);
}

.cc-review-response p {
    margin: 5px 0 0;
}

.cc-public-seller-reviews-page .cc-alert {
    margin-top: 18px;
    padding: 28px;
    border: 1px dashed color-mix(in srgb, var(--review-gold) 45%, transparent);
    border-radius: 14px;
    background: var(--review-panel);
    color: var(--review-muted);
    text-align: center;
}

@media (max-width: 1180px) {
    .ccx-market-grid { grid-template-columns: 230px minmax(0, 1fr); }
    .ccx-market-right { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
    .ccx-market-right > * { min-width: 0; }
    .ccx-market-tabs { grid-template-columns: repeat(3, 1fr); }
    .lux-hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); }
    .ccx-category-browser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .ccx-category-nav { justify-content: flex-start; overflow-x: auto; }
    .ccx-market-page { width: min(100% - 24px, 760px); }
    .ccx-market-hero { grid-template-columns: 1fr; min-height: 380px; }
    .ccx-market-hero-ad[data-hero-carousel] { aspect-ratio: 1600 / 520; min-height: 0; }
    .ccx-market-hero-art { display: none; }
    .ccx-hero-slide .ccx-market-hero-copy { width: 100%; min-height: 380px; padding-bottom: 115px; }
    .sp-market-trust { grid-template-columns: repeat(2, 1fr); }
    .ccx-market-grid { grid-template-columns: 1fr; }
    .ccx-market-left { grid-template-columns: repeat(2, 1fr); }
    .ccx-filter { grid-row: span 2; }
    .ccx-market-right { grid-template-columns: 1fr 1fr; }
    .ccx-plans { grid-template-columns: 1fr; }
    .lux-hero { grid-template-columns: 1fr; }
    .lux-store-head { grid-template-columns: auto 1fr; }
    .lux-store-side { grid-column: 1 / -1; }
    .cc-public-seller-reviews-hero { grid-template-columns: auto 1fr; }
    .cc-public-seller-reviews-actions { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .ccx-shell { padding-bottom: 54px; }
    .ccx-market-page,
    .lux { width: min(100% - 20px, 500px); }
    .ccx-market-spotlight-content { width: 100%; padding: 24px; }
    .ccx-market-spotlight-prev,
    .ccx-market-spotlight-next { display: none; }
    .ccx-market-hero { min-height: 420px; padding: 25px 20px; border-radius: 20px; }
    .ccx-market-hero h1 { font-size: clamp(34px, 11vw, 48px); }
    .ccx-market-search { display: grid; }
    .ccx-market-search button { width: 100%; }
    .ccx-hero-slide .ccx-market-hero-copy { min-height: 420px; padding: 25px 20px 145px; }
    .ccx-hero-search-layer { inset-inline: 20px; inset-block-end: 34px; }
    .sp-market-trust { grid-template-columns: 1fr; }
    .ccx-market-tabs { grid-template-columns: repeat(2, 1fr); }
    .ccx-market-left,
    .ccx-market-right { grid-template-columns: 1fr; }
    .ccx-results-head,
    .ccx-premium-banner { align-items: stretch; flex-direction: column; }
    .ccx-sort { display: grid; }
    .ccx-sort select { width: 100%; }
    .ccx-market-results,
    .lux-grid { grid-template-columns: 1fr; }
    .ccx-category-cards,
    .ccx-plan-grid { grid-template-columns: repeat(2, 1fr); }
    .ccx-category-browser-grid { grid-template-columns: 1fr; }
    .ccx-premium-banner a { justify-content: center; }
    .lux { padding-block: 18px 68px; }
    .lux-specs { grid-template-columns: 1fr; }
    .lux-store-head { grid-template-columns: 1fr; justify-items: center; padding: 24px; text-align: center; }
    .lux-store-side { width: 100%; }
    .lux-store-stats { grid-template-columns: 1fr; }
    .lux-stat { border-inline-end: 0; border-bottom: 1px solid var(--market-line); text-align: center; }
    .lux-stat:last-child { border-bottom: 0; }
    .lux-card-media { aspect-ratio: 4 / 3; }
    .lux-lightbox { padding: 50px 15px; }
    .cc-public-seller-reviews-page { width: min(100% - 20px, 500px); padding-block: 18px 64px; }
    .cc-public-seller-reviews-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .cc-public-seller-reviews-actions { width: 100%; }
    .cc-public-seller-reviews-page .cc-btn-dark { justify-content: center; width: 100%; }
    .cc-review-card-head { display: grid; }
    .cc-review-card-title-row { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
    .ccx-market-page *,
    .lux * {
        scroll-behavior: auto;
        transition-duration: .01ms;
        animation-duration: .01ms;
        animation-iteration-count: 1;
    }
}
