/* ═══════════════════════════════════════════════════════════
   MARKETPLACE THEME — Amazon / MSN / AliExpress hybrid
   Scoped entirely under body.theme-marketplace
   ═══════════════════════════════════════════════════════════ */

/* ── BASE ────────────────────────────────────────────────── */
body.theme-marketplace {
    background: #e0f2fe !important;
    color: #0f1111 !important;
    font-family: 'DM Sans', Arial, Helvetica, sans-serif !important;
}

.theme-marketplace * {
    --font-display: 'DM Sans', Arial, Helvetica, sans-serif;
    --color-muted: #565959;
}

.theme-marketplace .ambient { display: none !important; }

/* ── PAGE LOADER ─────────────────────────────────────────── */
.theme-marketplace #ppm-loader {
    background: #fff !important;
}
.theme-marketplace .ppm-l-bg { display: none !important; }
.theme-marketplace .ppm-l-name { color: #0f1111 !important; }
.theme-marketplace .ppm-l-name span {
    background: none !important;
    -webkit-text-fill-color: #e47911 !important;
}
.theme-marketplace .ppm-l-tagline { color: #565959 !important; }
.theme-marketplace .ppm-l-ring { border-top-color: #e47911 !important; border-right-color: rgba(228,121,17,0.3) !important; }
.theme-marketplace .ppm-l-ring2 { border-top-color: rgba(228,121,17,0.4) !important; border-bottom-color: rgba(228,121,17,0.2) !important; }
.theme-marketplace .ppm-l-dots span { background: #e47911 !important; }
.theme-marketplace .ppm-l-bar-fill { background: linear-gradient(90deg, #e47911, #f0c14b) !important; }

/* ── PROMO STRIP — Amazon deal strip ─────────────────────── */
.theme-marketplace #promo-strip {
    background: #232f3e !important;
    animation: none !important;
    background-size: auto !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.02em !important;
    padding: 0.45rem 3rem !important;
}

/* ── MAIN NAV — Amazon-style dark header ─────────────────── */
.theme-marketplace #main-nav {
    background: #131921 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
.theme-marketplace #main-nav.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.25) !important;
}

.theme-marketplace .nav-logo-text {
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    letter-spacing: -0.03em !important;
}
.theme-marketplace .nav-logo-text em {
    background: none !important;
    -webkit-text-fill-color: #f0c14b !important;
}
.theme-marketplace .nav-logo-mark {
    box-shadow: none !important;
    border-radius: 6px !important;
}

.theme-marketplace .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600 !important;
    font-size: 0.84rem !important;
    border-radius: 3px !important;
    padding: 0.4rem 0.7rem !important;
}
.theme-marketplace .nav-link::after { display: none !important; }
.theme-marketplace .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.08) !important;
    outline: 1px solid rgba(255,255,255,0.2) !important;
}
.theme-marketplace .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.08) !important;
    outline: 1px solid #f0c14b !important;
}

/* Icon buttons */
.theme-marketplace .icon-btn {
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #fff !important;
    border-radius: 3px !important;
}
.theme-marketplace .icon-btn:hover {
    background: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
}

/* Cart pill — Amazon cart style */
.theme-marketplace .cart-pill {
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    border: 1px solid transparent !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
}
.theme-marketplace .cart-pill:hover {
    background: transparent !important;
    border-color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}
.theme-marketplace .cart-pill svg { stroke: #fff !important; }

.theme-marketplace #nav-cart-badge {
    background: #f0c14b !important;
    color: #0f1111 !important;
}

/* Lang button — inherits .mkt-nav-pill */
.theme-marketplace #lang-menu {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15) !important;
    border-radius: 8px !important;
}
.theme-marketplace #lang-menu button { color: #0f1111 !important; }
.theme-marketplace #lang-menu button:hover { background: #f0f2f2 !important; }

/* Sign in / Sign up in header */
.theme-marketplace #nav-secondary-actions a[href*="login"] {
    background: #1a1a2e !important;
    color: #fff !important;
    border-color: #1a1a2e !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}
.theme-marketplace #nav-secondary-actions a[href*="login"]:hover {
    background: #2a2a3e !important;
    border-color: #2a2a3e !important;
}
.theme-marketplace #nav-secondary-actions a[href*="register"] {
    background: #f0c14b !important;
    color: #0f1111 !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
}

/* ── SEARCH BAR ──────────────────────────────────────────── */
.theme-marketplace .search-dropdown,
.theme-marketplace .search-dropdown-empty {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
    border-radius: 0 0 8px 8px !important;
    color: #0f1111 !important;
}

/* ── MOBILE NAV PANEL ────────────────────────────────────── */
.theme-marketplace #mobile-nav-panel {
    background: #fff !important;
    border-bottom: 1px solid #d5d9d9 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
    backdrop-filter: none !important;
}
.theme-marketplace #mobile-nav-panel a {
    color: #0f1111 !important;
}

/* ── MOBILE BOTTOM NAV ───────────────────────────────────── */
.theme-marketplace #mob-bottom-nav {
    background: #fff !important;
    backdrop-filter: none !important;
    border-top: 1px solid #d5d9d9 !important;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.08) !important;
}
.theme-marketplace #mob-bottom-nav a { color: #565959 !important; }
.theme-marketplace #mob-bottom-nav a[style*="color: #FF6B00"],
.theme-marketplace #mob-bottom-nav a[style*="color:#FF6B00"] {
    color: #e47911 !important;
}

/* ── CART PANEL — Clean white sidebar ────────────────────── */
.theme-marketplace #cart-overlay { background: rgba(0,0,0,0.5) !important; backdrop-filter: none !important; }
.theme-marketplace #cart-panel {
    background: #fff !important;
    border-left: 1px solid #d5d9d9 !important;
    box-shadow: -4px 0 20px rgba(0,0,0,0.12) !important;
}
.theme-marketplace #cart-ph {
    background: #f7f8f8 !important;
    border-bottom: 1px solid #d5d9d9 !important;
}
.theme-marketplace #cart-ph h2 { color: #0f1111 !important; }
.theme-marketplace #cart-ph p { color: #565959 !important; }
.theme-marketplace #cart-ph button {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
    color: #0f1111 !important;
}
.theme-marketplace #cart-pf {
    background: #f7f8f8 !important;
    border-top: 1px solid #d5d9d9 !important;
}
.theme-marketplace #cart-pf span[style*="color:rgba(255,255,255,0.45)"] { color: #565959 !important; }
.theme-marketplace #cart-pf span[style*="background:#FF6B00"] {
    background: #b12704 !important;
    box-shadow: none !important;
    font-family: 'DM Sans', Arial, sans-serif !important;
}
.theme-marketplace #cart-pf p { color: #565959 !important; }
.theme-marketplace #cart-pf a[href*="checkout"] {
    background: #f0c14b !important;
    color: #0f1111 !important;
    border-radius: 20px !important;
    font-family: 'DM Sans', Arial, sans-serif !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
}
.theme-marketplace #cart-pf a[href*="cart"] { color: #007185 !important; }

.theme-marketplace .crt-row {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    color: #0f1111 !important;
}
.theme-marketplace .crt-row:hover { border-color: #e47911 !important; }
.theme-marketplace .crt-sk { background: #f0f2f2 !important; border-radius: 8px !important; }
.theme-marketplace #cart-total {
    background: none !important;
    color: #b12704 !important;
    box-shadow: none !important;
    font-family: 'DM Sans', Arial, sans-serif !important;
    padding: 0 !important;
}

/* ── HERO SECTION — Amazon/MSN-style carousel ────────────── */
.theme-marketplace #hero-section {
    background: transparent !important;
    padding: 1rem 0 0.75rem !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
}
.theme-marketplace .hero-carousel-wrap {
    position: relative !important;
    padding: 0 1rem !important;
}
.theme-marketplace .hero-carousel {
    border-radius: 16px !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 1 !important;
}
.theme-marketplace .hero-glow-ring {
    position: relative;
    padding: 3px;
    border-radius: 19px;
}
.theme-marketplace .hero-glow-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 19px;
    background: linear-gradient(90deg, #e47911, #febd69, #ff6b00, #f0c14b, transparent, transparent, #e47911, #febd69, #ff6b00, #f0c14b, #e47911);
    background-size: 400% 100%;
    z-index: 0;
    animation: heroGlow 3s linear infinite;
    pointer-events: none;
}
.theme-marketplace .hero-glow-ring::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(228,121,17,0.5), rgba(254,189,105,0.3), transparent, transparent, rgba(240,193,75,0.3), rgba(228,121,17,0.5));
    background-size: 400% 100%;
    z-index: 0;
    animation: heroGlow 3s linear infinite reverse;
    pointer-events: none;
    filter: blur(8px);
    opacity: 0.8;
}
@keyframes heroGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}
.theme-marketplace .hero-slide-body {
    min-height: 200px !important;
    padding: 1.5rem 2rem !important;
}
.theme-marketplace .hero-slide-info .hs-name {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem) !important;
    margin-bottom: 0.3rem !important;
}
.theme-marketplace .hero-slide-info .hs-desc {
    font-size: 0.78rem !important;
    margin-bottom: 0.75rem !important;
    -webkit-line-clamp: 1 !important;
}
.theme-marketplace .hero-slide-info .hs-price {
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem !important;
}
.theme-marketplace .hero-slide-info .hs-btn {
    padding: 0.55rem 1.25rem !important;
    font-size: 0.78rem !important;
}
.theme-marketplace .hero-mini-card .hmc-img {
    height: 70px !important;
}
.theme-marketplace .hero-mini-card .hmc-info {
    padding: 0.35rem 0.5rem !important;
}
.theme-marketplace .hero-mini-card .hmc-name {
    font-size: 0.65rem !important;
}
.theme-marketplace .hero-mini-card .hmc-price {
    font-size: 0.72rem !important;
}
.theme-marketplace .hero-arrow {
    width: 36px !important;
    height: 36px !important;
}
.theme-marketplace .hero-dots {
    margin-top: 0.6rem !important;
    padding: 0 1rem !important;
}
.theme-marketplace .hero-stats-bar {
    margin-top: 0.75rem !important;
    padding: 0.75rem 1rem 0 !important;
}
@media (max-width: 900px) {
    .theme-marketplace .hero-slide-body {
        min-height: 160px !important;
        padding: 1.25rem 1.5rem !important;
        flex-direction: column !important;
    }
    .theme-marketplace .hero-mini-card .hmc-img {
        height: 60px !important;
    }
}
@media (max-width: 600px) {
    .theme-marketplace .hero-slide-body {
        min-height: auto !important;
        padding: 1rem !important;
    }
    .theme-marketplace .hero-slide-info .hs-name {
        font-size: 1rem !important;
    }
    .theme-marketplace .hero-arrow {
        width: 30px !important;
        height: 30px !important;
    }
}
.theme-marketplace .hero-slide-img::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 45%, rgba(255,255,255,0.1) 100%) !important;
}
.theme-marketplace .hero-slide-info .hs-tag {
    color: #e47911 !important;
}
.theme-marketplace .hero-slide-info .hs-name {
    color: #0f1111 !important;
}
.theme-marketplace .hero-slide-info .hs-desc {
    color: #565959 !important;
}
.theme-marketplace .hero-slide-info .hs-price {
    color: #b12704 !important;
}
.theme-marketplace .hero-slide-info .hs-price .hs-orig {
    color: #565959 !important;
}
.theme-marketplace .hero-slide-info .hs-btn {
    background: #f0c14b !important;
    color: #0f1111 !important;
    border: 1px solid #a88734 !important;
    border-radius: 20px !important;
}
.theme-marketplace .hero-slide-info .hs-btn:hover {
    background: #ddb347 !important;
}

/* Mini product cards in carousel */
.theme-marketplace .hero-mini-card {
    background: #fff !important;
    border: 2px solid #febd69 !important;
    border-radius: 12px !important;
    backdrop-filter: none !important;
    overflow: hidden !important;
}
.theme-marketplace .hero-mini-card:hover {
    border-color: #e47911 !important;
    box-shadow: 0 4px 12px rgba(228,121,17,0.15) !important;
}
.theme-marketplace .hero-mini-card .hmc-img {
    background: #fff !important;
}
.theme-marketplace .hero-mini-card .hmc-img img {
    object-fit: contain !important;
    padding: 4px !important;
}
.theme-marketplace .hero-mini-card .hmc-name {
    color: #0f1111 !important;
}
.theme-marketplace .hero-mini-card .hmc-price {
    color: #b12704 !important;
}
.theme-marketplace .hero-mini-card .hmc-info {
    padding: 0.3rem 0.5rem !important;
    background: #fff !important;
}

/* Carousel arrows */
.theme-marketplace .hero-arrow {
    background: rgba(255,255,255,0.85) !important;
    border: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
    backdrop-filter: none !important;
}
.theme-marketplace .hero-arrow:hover {
    background: #fff !important;
    border-color: #e47911 !important;
}
.theme-marketplace .hero-arrow svg {
    stroke: #0f1111 !important;
}

/* Carousel dots */
.theme-marketplace .hero-dot {
    background: #d5d9d9 !important;
}
.theme-marketplace .hero-dot.active {
    background: #e47911 !important;
}

/* Hero stats bar */
.theme-marketplace .hero-stats {
    border-top-color: #d5d9d9 !important;
}
.theme-marketplace .hero-stats > div > div:first-child {
    color: #e47911 !important;
}
.theme-marketplace .hero-stats > div > div:last-child {
    color: #565959 !important;
}

/* ── CATEGORIES STRIP — Amazon top categories bar ────────── */
.theme-marketplace div[style*="border-top: 1px solid rgba(255,255,255,0.06)"][style*="overflow-x: auto"][style*="scrollbar-width"] {
    background: #232f3e !important;
    border-top: none !important;
    border-bottom: none !important;
    padding: 0.6rem 0 !important;
}
.theme-marketplace div[style*="scrollbar-width"][style*="overflow-x: auto"] > div > a {
    color: #fff !important;
    border-color: transparent !important;
    background: transparent !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 0.4rem 1rem !important;
}
.theme-marketplace div[style*="scrollbar-width"][style*="overflow-x: auto"] > div > a:hover {
    border-color: #fff !important;
    color: #fff !important;
}

/* ── CAMPAIGN BANNERS — Clean white cards ────────────────── */
.theme-marketplace div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] > div[style*="border-radius: 1.25rem"] {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
}
.theme-marketplace div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] > div[style*="border-radius: 1.25rem"] > div[style*="position: absolute"] {
    display: none !important;
}
.theme-marketplace div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] > div[style*="border-radius: 1.25rem"] div[style*="color: #fff"] {
    color: #0f1111 !important;
}
.theme-marketplace div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] > div a[style*="background: #FF6B00"] {
    background: #f0c14b !important;
    color: #0f1111 !important;
    border-radius: 20px !important;
}

/* ── CURATED SECTION — Amazon "Top Deals" grid ───────────── */
.theme-marketplace .cur-section { padding: 2.5rem 1.5rem !important; }
.theme-marketplace .cur-eyebrow {
    color: #e47911 !important;
}
.theme-marketplace .cur-eyebrow::before { background: #e47911 !important; }
.theme-marketplace .cur-h2 {
    color: #0f1111 !important;
    text-transform: none !important;
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
}
.theme-marketplace .cur-h2 span { color: #565959 !important; }
.theme-marketplace .cur-view-all {
    color: #007185 !important;
    border: none !important;
    font-size: 0.85rem !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 600 !important;
}
.theme-marketplace .cur-view-all:hover {
    color: #c7511f !important;
    background: transparent !important;
    text-decoration: underline !important;
}

.theme-marketplace .cur-card {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
}
.theme-marketplace .cur-card:hover {
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
    border-color: #e47911 !important;
}
.theme-marketplace .cur-img-wrap::after {
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 40%, transparent 65%) !important;
}
.theme-marketplace .cur-tag {
    background: #fff !important;
    backdrop-filter: none !important;
    border: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
}
.theme-marketplace .cur-price {
    background: rgba(255,255,255,0.9) !important;
    border: none !important;
    color: #b12704 !important;
}
.theme-marketplace .cur-add {
    background: #f0c14b !important;
    color: #0f1111 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
}
.theme-marketplace .cur-add:hover { background: #ddb347 !important; transform: none !important; }
.theme-marketplace .cur-add.added { background: #067d62 !important; color: #fff !important; }
.theme-marketplace .cur-hero-badge {
    background: #cc0c39 !important;
    box-shadow: none !important;
    border-radius: 4px !important;
}

/* ── CATEGORY SHOWCASE — Amazon department cards ─────────── */
.theme-marketplace section[style*="padding: 5rem 1.5rem"][style*="max-width: 1280px"] h2 {
    color: #0f1111 !important;
    text-transform: none !important;
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    line-height: 1.2 !important;
}
.theme-marketplace section[style*="padding: 5rem 1.5rem"][style*="max-width: 1280px"] h2 > span {
    color: #565959 !important;
}
.theme-marketplace section[style*="padding: 5rem 1.5rem"] {
    padding: 2.5rem 1.5rem !important;
}

.theme-marketplace a[style*="border-radius: 1.25rem"][style*="padding: 1.5rem"][style*="transition: border-color"] {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
}
.theme-marketplace a[style*="border-radius: 1.25rem"][style*="padding: 1.5rem"] h3 {
    color: #0f1111 !important;
    text-transform: none !important;
    font-weight: 700 !important;
}
.theme-marketplace a[style*="border-radius: 1.25rem"][style*="padding: 1.5rem"] div[style*="radial-gradient"] {
    display: none !important;
}
.theme-marketplace a[style*="border-radius: 1.25rem"][style*="padding: 1.5rem"] span[style*="border-radius: 9999px"][style*="font-size: 0.72rem"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
    color: #0f1111 !important;
}
.theme-marketplace a[style*="border-radius: 1.25rem"][style*="padding: 1.5rem"] div[style*="border-radius: 50%"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
}

/* ── FLASH SALE — Amazon Lightning Deals style ───────────── */
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0800"] {
    background: #fff !important;
    border-top: 1px solid #d5d9d9 !important;
    border-bottom: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
    padding: 2.5rem 1.5rem !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0800"] > div[style*="radial-gradient"] {
    display: none !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0800"] > div[style*="opacity: 0.04"] {
    display: none !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0800"] h2 {
    color: #0f1111 !important;
    text-shadow: none !important;
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0800"] div[style*="color: #c45c1e"] {
    color: #cc0c39 !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0800"] span[style*="font-size: 3.5rem"] {
    color: #b12704 !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0800"] span[style*="line-through"] {
    color: #565959 !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0800"] a[style*="background: linear-gradient"] {
    background: #f0c14b !important;
    color: #0f1111 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}
.theme-marketplace .flash-img-wrap img {
    mix-blend-mode: normal !important;
    filter: none !important;
}

/* ── DAILY DEAL ──────────────────────────────────────────── */
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0a00"] {
    background: #fafafa !important;
    border-top: 1px solid #d5d9d9 !important;
    padding: 2.5rem 1.5rem !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0a00"] h2 {
    color: #0f1111 !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0a00"] div[style*="color: #c45c1e"] {
    color: #cc0c39 !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0a00"] span[style*="color: #c45c1e"][style*="font-size: 2.75rem"] {
    color: #b12704 !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0a00"] .deal-grid div[style*="border: 2px solid"] {
    border-color: #d5d9d9 !important;
    border-radius: 8px !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, #1a0a00"] div[style*="background: rgba(255,59,92"] {
    background: #fef2f2 !important;
    border-color: #cc0c39 !important;
}

/* ── PRODUCT CARDS — Amazon product listing ──────────────── */
.theme-marketplace .ppm-card-wrap::before {
    display: none !important;
}
.theme-marketplace .ppm-card-wrap:hover {
    transform: none !important;
}
.theme-marketplace .ppm-card-wrap:hover .ppm-card {
    border-color: #e47911 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.theme-marketplace .ppm-card {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
}
.theme-marketplace .ppm-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
.theme-marketplace .ppm-card:hover .ppm-img { transform: none !important; }

.theme-marketplace .ppm-card div[style*="background: #13152a"] {
    background: #f7f8f8 !important;
}

.theme-marketplace .ppm-name {
    color: #0f1111 !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
}
.theme-marketplace .ppm-cat {
    color: #007185 !important;
    font-weight: 600 !important;
}
.theme-marketplace .ppm-price-val {
    color: #0f1111 !important;
    font-weight: 700 !important;
    font-family: 'DM Sans', Arial, sans-serif !important;
}
.theme-marketplace .ppm-price-val--flash { color: #b12704 !important; }
.theme-marketplace .ppm-stars { color: #de7921 !important; }

.theme-marketplace .ppm-add-btn {
    background: #f0c14b !important;
    color: #0f1111 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    border-radius: 50% !important;
}
.theme-marketplace .ppm-add-btn:hover {
    background: #ddb347 !important;
    transform: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
}

.theme-marketplace .ppm-badge {
    background: #cc0c39 !important;
    border-radius: 0 0 4px 0 !important;
    font-family: 'DM Sans', Arial, sans-serif !important;
}
.theme-marketplace .ppm-badge--flash { background: #cc0c39 !important; }
.theme-marketplace .ppm-badge--sale { background: #cc0c39 !important; }
.theme-marketplace .ppm-badge--oos {
    background: #f0f2f2 !important;
    color: #565959 !important;
}

/* Wishlist button in card */
.theme-marketplace .ppm-card .ppm-wl-wrap button,
.theme-marketplace .ppm-card .ppm-wl-wrap form button {
    background: rgba(255,255,255,0.9) !important;
    color: #565959 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important;
}
.theme-marketplace .ppm-card .ppm-wl-wrap button:hover,
.theme-marketplace .ppm-card .ppm-wl-wrap form button:hover {
    color: #cc0c39 !important;
    background: #fff !important;
}

/* Delivery estimate text */
.theme-marketplace .ppm-card div[style*="color: #00c27a"] {
    color: #067d62 !important;
}

/* Original price strikethrough */
.theme-marketplace .ppm-card span[style*="text-decoration: line-through"] {
    color: #565959 !important;
}

/* Quick View overlay */
.theme-marketplace .product-card:hover .qv-btn-wrap {
    background: rgba(0,0,0,0.15) !important;
}
.theme-marketplace .qv-btn-wrap button {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    border-radius: 20px !important;
}

/* Flash countdown ribbon on card */
.theme-marketplace .ppm-card div[style*="background: linear-gradient(0deg,rgba(255,59,92"] {
    background: linear-gradient(0deg, rgba(204,12,57,0.9), transparent) !important;
}

/* Low stock strip */
.theme-marketplace div[style*="background: rgba(255,184,0,0.88)"] {
    background: #fef3cd !important;
    color: #856404 !important;
}

/* ── SECTION HEADERS ─────────────────────────────────────── */
.theme-marketplace h1,
.theme-marketplace h2,
.theme-marketplace h3,
.theme-marketplace h4 {
    color: #0f1111 !important;
    font-family: 'DM Sans', Arial, sans-serif !important;
}

/* "Featured Products" / "Trending" section headers */
.theme-marketplace section > div > h2[style*="font-weight: 800"],
.theme-marketplace section > div > h2[style*="font-weight: 900"] {
    text-transform: none !important;
    letter-spacing: -0.01em !important;
}

/* "Shop All" links */
.theme-marketplace a[style*="color: #c45c1e"] {
    color: #007185 !important;
}

/* ── BUTTONS — Amazon style ──────────────────────────────── */
.theme-marketplace .btn-primary {
    background: #f0c14b !important;
    color: #0f1111 !important;
    box-shadow: none !important;
    border-radius: 20px !important;
    border: 1px solid #a88734 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.theme-marketplace .btn-primary:hover {
    background: #ddb347 !important;
}
.theme-marketplace .btn-secondary {
    background: #fff !important;
    color: #0f1111 !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 20px !important;
}
.theme-marketplace .btn-secondary:hover {
    background: #f7f8f8 !important;
    border-color: #a2a6a6 !important;
}

/* ── GLASS OVERRIDES — Remove all glass effects ──────────── */
.theme-marketplace .glass {
    background: #fff !important;
    backdrop-filter: none !important;
    border: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
    border-radius: 8px !important;
}
.theme-marketplace .glass-strong {
    background: #fff !important;
    backdrop-filter: none !important;
    border: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
    border-radius: 8px !important;
}

/* ── TEXT GRADIENT OVERRIDE ──────────────────────────────── */
.theme-marketplace .text-gradient {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #0f1111 !important;
    color: #0f1111 !important;
}

/* ── NEWSLETTER BAR — Clean Amazon-style ─────────────────── */
.theme-marketplace section[style*="background: linear-gradient(135deg, rgba(196,92,30"] {
    background: #37475a !important;
    border-top: none !important;
    border-bottom: none !important;
    padding: 2rem 1.5rem !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, rgba(196,92,30"] h3 {
    color: #fff !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, rgba(196,92,30"] p {
    color: rgba(255,255,255,0.75) !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, rgba(196,92,30"] input {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
    border-radius: 8px 0 0 8px !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, rgba(196,92,30"] button[type="submit"] {
    background: #f0c14b !important;
    color: #0f1111 !important;
    border-radius: 0 8px 8px 0 !important;
    font-weight: 700 !important;
}

/* ── FOOTER — Amazon dark footer (matches nav bar) ──────── */
.theme-marketplace footer {
    background: #131921 !important;
    border-top: none !important;
    color: #ddd !important;
}
.theme-marketplace footer div[style*="font-family: var(--font-display)"] {
    color: #fff !important;
}
.theme-marketplace footer div[style*="font-family: var(--font-display)"] span {
    color: #f0c14b !important;
}
.theme-marketplace footer h4 {
    color: #fff !important;
}
.theme-marketplace footer a {
    color: #ddd !important;
}
.theme-marketplace footer a:hover {
    color: #f0c14b !important;
    text-decoration: underline !important;
}
.theme-marketplace footer span[style*="border-radius: 9999px"] {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #ddd !important;
}
.theme-marketplace footer div[style*="border-top: 1px solid"] {
    border-top-color: rgba(255,255,255,0.1) !important;
}
.theme-marketplace footer p { color: #999 !important; }
.theme-marketplace footer a[style*="color: rgba(255,107,0"] {
    color: #f0c14b !important;
}

/* ── FOOTER STATS BAR ────────────────────────────────────── */
.theme-marketplace section[style*="background: #0f0a06"] {
    background: #131921 !important;
    border-top: none !important;
    color: #fff !important;
}
.theme-marketplace section[style*="background: #0f0a06"] div[style*="font-weight: 800"] {
    color: #fff !important;
}
.theme-marketplace section[style*="background: #0f0a06"] div[style*="color: var(--color-muted)"] {
    color: rgba(255,255,255,0.6) !important;
}

/* ── REFER A FRIEND BANNER ───────────────────────────────── */
.theme-marketplace section[style*="background: linear-gradient(135deg, rgba(196,92,30,0.07)"] {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, rgba(196,92,30,0.07)"] h2 {
    color: #0f1111 !important;
}
.theme-marketplace section[style*="background: linear-gradient(135deg, rgba(196,92,30,0.07)"] strong {
    color: #b12704 !important;
}

/* ── PAGINATION — Amazon style ───────────────────────────── */
.theme-marketplace .pagination a,
.theme-marketplace .pagination span {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
    border-radius: 4px !important;
}
.theme-marketplace .pagination a:hover {
    background: #f7f8f8 !important;
    border-color: #a2a6a6 !important;
}
.theme-marketplace .pagination .active span {
    background: #e47911 !important;
    color: #fff !important;
    border-color: #e47911 !important;
}

/* ── QUICK VIEW MODAL ────────────────────────────────────── */
.theme-marketplace #qv-overlay {
    background: rgba(0,0,0,0.5) !important;
    backdrop-filter: none !important;
}
.theme-marketplace #qv-modal {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
    color: #0f1111 !important;
}
.theme-marketplace #qv-modal div[style*="border-bottom: 1px solid"] {
    border-bottom-color: #d5d9d9 !important;
}
.theme-marketplace #qv-modal span[style*="color: #e07a38"] {
    color: #e47911 !important;
}

/* ── PWA BANNER ──────────────────────────────────────────── */
.theme-marketplace #pwa-banner {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
    border-radius: 8px !important;
}

/* ── WHATSAPP & BACK TO TOP ──────────────────────────────── */
.theme-marketplace #back-to-top {
    background: #232f3e !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}
.theme-marketplace #back-to-top svg { stroke: #fff !important; }

/* ── TOAST NOTIFICATIONS ─────────────────────────────────── */
.theme-marketplace #ppm-toast-container > div {
    border-radius: 8px !important;
    font-family: 'DM Sans', Arial, sans-serif !important;
}

/* ── SCROLLBAR ───────────────────────────────────────────── */
.theme-marketplace ::-webkit-scrollbar { width: 8px; }
.theme-marketplace ::-webkit-scrollbar-track { background: #e3e6e6; }
.theme-marketplace ::-webkit-scrollbar-thumb {
    background: #a2a6a6 !important;
    border-radius: 4px !important;
}
.theme-marketplace ::-webkit-scrollbar-thumb:hover { background: #565959 !important; }

/* ── FLASH MESSAGES (success/error) ──────────────────────── */
.theme-marketplace div[style*="background: rgba(0,168,107,0.15)"] {
    background: #d4edda !important;
    border-color: #c3e6cb !important;
    color: #155724 !important;
}
.theme-marketplace div[style*="background: rgba(255,50,50,0.15)"] {
    background: #f8d7da !important;
    border-color: #f5c6cb !important;
    color: #721c24 !important;
}

/* ── NAV PROGRESS BAR ────────────────────────────────────── */
.theme-marketplace #nav-bar-fill {
    background: linear-gradient(90deg, #f0c14b, #e47911, #f0c14b) !important;
}

/* ── MUTED TEXT OVERRIDES ────────────────────────────────── */
.theme-marketplace [style*="color: var(--color-muted)"],
.theme-marketplace [style*="color:var(--color-muted)"] {
    color: #565959 !important;
}
.theme-marketplace main [style*="color: rgba(255,255,255,0.3"],
.theme-marketplace main [style*="color: rgba(255,255,255,0.35"],
.theme-marketplace main [style*="color:rgba(255,255,255,0.3"],
.theme-marketplace main [style*="color: rgba(255,255,255,0.4"],
.theme-marketplace main [style*="color: rgba(255,255,255,0.45"],
.theme-marketplace main [style*="color: rgba(255,255,255,0.5"],
.theme-marketplace main [style*="color:rgba(255,255,255,0.5"],
.theme-marketplace main [style*="color: rgba(255,255,255,0.55"],
.theme-marketplace main [style*="color: rgba(255,255,255,0.6"],
.theme-marketplace main [style*="color: rgba(255,255,255,0.65"],
.theme-marketplace main [style*="color: rgba(255,255,255,0.7"] {
    color: #565959 !important;
}

/* ── SECTION SPACING — Tighter Amazon-style spacing ──────── */
.theme-marketplace section + section {
    margin-top: 0 !important;
}

/* ── RESPONSIVE: Mobile nav menu button ──────────────────── */
.theme-marketplace #mob-menu-btn {
    background: transparent !important;
    border-color: transparent !important;
    color: #fff !important;
}
.theme-marketplace #mob-menu-btn:hover {
    border-color: #fff !important;
}

/* ── NAV LINKS — Hide in marketplace, search fills space ─── */
.theme-marketplace #main-nav-links {
    display: none !important;
}

/* ── MARKETPLACE HEADER ─────────────────────── */
.theme-marketplace #nav-secondary-actions > * {
    display: inline-flex !important;
    vertical-align: middle !important;
}
.theme-marketplace #nav-secondary-actions > script {
    display: none !important;
}
.theme-marketplace .mkt-nav-pill {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.8) !important;
    padding: 0.3rem 0.65rem !important;
    border-radius: 20px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    white-space: nowrap !important;
    transition: all 0.2s !important;
    cursor: pointer !important;
}
.theme-marketplace .mkt-nav-pill:hover {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.25) !important;
    color: #fff !important;
}
.theme-marketplace .nav-logo {
    flex-shrink: 0 !important;
}
.theme-marketplace #gs-wrap {
    width: 100% !important;
}
.theme-marketplace #gs-input {
    background: #fff !important;
    color: #0f1111 !important;
    border: none !important;
    border-radius: 6px 0 0 6px !important;
    font-size: 0.78rem !important;
    height: 2rem !important;
    box-sizing: border-box !important;
}
.theme-marketplace #gs-input::placeholder {
    color: #9ca3af !important;
}
.theme-marketplace .gs-focused #gs-input {
    box-shadow: 0 0 0 2px rgba(228,121,17,0.15) !important;
}
.theme-marketplace #gs-icon {
    stroke: #9ca3af !important;
}
.theme-marketplace .gs-focused #gs-icon {
    stroke: #e47911 !important;
}
.theme-marketplace #gs-submit-btn {
    background: #e47911 !important;
    border: none !important;
    border-radius: 0 6px 6px 0 !important;
    height: 2rem !important;
    min-width: 2.2rem !important;
    color: #fff !important;
}
.theme-marketplace #gs-submit-btn:hover {
    background: #c96a0e !important;
}
.theme-marketplace #gs-submit-btn svg {
    stroke: #fff !important;
}
.theme-marketplace #gs-drop {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12),0 4px 12px rgba(0,0,0,0.06) !important;
}
.theme-marketplace .gs-item {
    border-bottom-color: #f0f0f0 !important;
}
.theme-marketplace .gs-item:hover {
    background: #fef3e2 !important;
}
.theme-marketplace .gs-thumb {
    background: #f7f8f8 !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace .gs-name {
    color: #0f1111 !important;
}
.theme-marketplace .gs-cat {
    color: #565959 !important;
}
.theme-marketplace .gs-price {
    color: #b12704 !important;
}
.theme-marketplace .gs-price.flash {
    color: #b12704 !important;
}
.theme-marketplace .gs-add {
    background: #f0c14b !important;
    color: #0f1111 !important;
}
.theme-marketplace .gs-add:hover {
    background: #ddb347 !important;
}
.theme-marketplace .gs-footer {
    background: #f7f8f8 !important;
    border-top-color: #d5d9d9 !important;
}
.theme-marketplace .gs-footer a {
    color: #007185 !important;
}

/* ── ACCOUNT ICON — Amazon style ─────────────────────────── */
.theme-marketplace .icon-btn[style*="background:rgba(255,107,0"] {
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #f0c14b !important;
}
.theme-marketplace .icon-btn[style*="background:rgba(255,107,0"]:hover {
    border-color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGES — Forms, Inputs, Cards, Page content
   ═══════════════════════════════════════════════════════════ */

/* ── FORM INPUTS — All dark-styled inputs become Amazon-style ── */
.theme-marketplace input[style*="background: rgba(255,255,255,0.05)"],
.theme-marketplace input[style*="background:rgba(255,255,255,0.05)"],
.theme-marketplace textarea[style*="background: rgba(255,255,255,0.05)"],
.theme-marketplace textarea[style*="background:rgba(255,255,255,0.05)"],
.theme-marketplace select[style*="background: rgba(255,255,255,0.05)"],
.theme-marketplace select[style*="background:rgba(255,255,255,0.05)"] {
    background: #fff !important;
    border: 1px solid #a2a6a6 !important;
    color: #0f1111 !important;
    border-radius: 4px !important;
}
.theme-marketplace input[style*="background: rgba(255,255,255,0.07)"],
.theme-marketplace textarea[style*="background: rgba(255,255,255,0.07)"],
.theme-marketplace select[style*="background: rgba(255,255,255,0.07)"] {
    background: #fff !important;
    border: 1px solid #a2a6a6 !important;
    color: #0f1111 !important;
    border-radius: 4px !important;
}

/* ── INNER PAGE DARK BACKGROUNDS — Convert to white ──────── */
.theme-marketplace div[style*="background: #0e1020"],
.theme-marketplace div[style*="background:#0e1020"] {
    background: #fff !important;
    border-color: #d5d9d9 !important;
    color: #0f1111 !important;
}
.theme-marketplace div[style*="background: #0d0f1c"],
.theme-marketplace div[style*="background:#0d0f1c"],
.theme-marketplace div[style*="background: #10132a"],
.theme-marketplace div[style*="background:#10132a"],
.theme-marketplace div[style*="background: #13152a"],
.theme-marketplace div[style*="background:#13152a"],
.theme-marketplace div[style*="background: #1a1d36"],
.theme-marketplace div[style*="background:#1a1d36"],
.theme-marketplace div[style*="background: #181008"],
.theme-marketplace div[style*="background:#181008"] {
    background: #fff !important;
}

/* ── INNER PAGE BORDERS — Remove blue/purple tinted borders ── */
.theme-marketplace div[style*="border: 2px solid rgba(79,110,247"],
.theme-marketplace div[style*="border:2px solid rgba(79,110,247"],
.theme-marketplace div[style*="border: 1.5px solid rgba(79,110,247"],
.theme-marketplace div[style*="border-color: rgba(79,110,247"] {
    border-color: #d5d9d9 !important;
    border-radius: 8px !important;
}

/* ── INNER PAGE TEXT — White text to dark (main content only) ── */
.theme-marketplace main div[style*="color: #fff"],
.theme-marketplace main p[style*="color: #fff"],
.theme-marketplace main span[style*="color: #fff"],
.theme-marketplace main h2[style*="color: #fff"],
.theme-marketplace main p[style*="color:#fff"] {
    color: #0f1111 !important;
}

/* ── ACCENT COLOR OVERRIDES (orange #FF6B00 → Amazon gold) ── */
.theme-marketplace div[style*="color: #FF6B00"],
.theme-marketplace p[style*="color: #FF6B00"],
.theme-marketplace span[style*="color: #FF6B00"],
.theme-marketplace div[style*="color:#FF6B00"] {
    color: #e47911 !important;
}
.theme-marketplace a[style*="background: #FF6B00"],
.theme-marketplace a[style*="background:#FF6B00"],
.theme-marketplace button[style*="background: #FF6B00"],
.theme-marketplace button[style*="background:#FF6B00"] {
    background: #f0c14b !important;
    color: #0f1111 !important;
}

/* ── CART PAGE ────────────────────────────────────────────── */
.theme-marketplace div[style*="background: rgba(79,110,247,0.08)"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace div[style*="background: rgba(79,110,247,0.06)"],
.theme-marketplace div[style*="border: 2px solid rgba(79,110,247,0.2)"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
}

/* Cart item cards */
.theme-marketplace div[style*="border: 2px solid rgba(79,110,247,0.18)"] {
    border-color: #d5d9d9 !important;
    background: #fff !important;
    border-radius: 8px !important;
}

/* Order summary sidebar */
.theme-marketplace div[style*="background: #0e1020"][style*="border-radius"] {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
}

/* ══════════════════════════════════════════════════════════
   GLOBAL INNER PAGES — Force all text/inputs to dark on white
══════════════════════════════════════════════════════════ */

/* All form inputs & textareas & selects in main */
.theme-marketplace main input[type="text"]:not(.msn-search-bar input):not(#msn-search-input),
.theme-marketplace main input[type="email"],
.theme-marketplace main input[type="tel"],
.theme-marketplace main input[type="number"],
.theme-marketplace main input[type="password"],
.theme-marketplace main input[type="search"]:not(.msn-search-bar input):not(#msn-search-input),
.theme-marketplace main input[type="url"],
.theme-marketplace main textarea,
.theme-marketplace main select {
    background: #fff !important;
    border: 1px solid #a2a6a6 !important;
    color: #0f1111 !important;
    border-radius: 4px !important;
}
.theme-marketplace main .msn-search-bar input,
.theme-marketplace main #msn-search-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    outline: none !important;
}
.theme-marketplace main input::placeholder,
.theme-marketplace main textarea::placeholder {
    color: #999 !important;
}
.theme-marketplace main input:focus,
.theme-marketplace main textarea:focus,
.theme-marketplace main select:focus {
    border-color: #e47911 !important;
    box-shadow: 0 0 0 2px rgba(228,121,17,0.15) !important;
    outline: none !important;
}
.theme-marketplace main .msn-search-bar input:focus,
.theme-marketplace main #msn-search-input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.theme-marketplace main select option {
    background: #fff !important;
    color: #0f1111 !important;
}

/* All headings in main */
.theme-marketplace main h1,
.theme-marketplace main h2,
.theme-marketplace main h3,
.theme-marketplace main h4 {
    color: #0f1111 !important;
}

/* All labels */
.theme-marketplace main label {
    color: #565959 !important;
}

/* Paragraphs and generic text */
.theme-marketplace main p {
    color: #565959 !important;
}
.theme-marketplace main p strong {
    color: #0f1111 !important;
}

/* Links inside main (scoped — exclude hero, curated, product cards, badges, buttons) */
.theme-marketplace main a:not(.nav-link):not(.nav-logo):not([class*="hero"]):not([class*="cur-"]):not(.ppm-card):not(.product-card):not(.shop-view-all):not(.hs-btn):not(.ppm-badge):not([style*="background: #FF6B00"]):not([style*="background:#FF6B00"]):not([style*="background: #f0c14b"]):not([style*="background: linear-gradient"]) {
    color: #007185 !important;
}

/* Force inline color: #fff to dark (except inside hero slides) */
.theme-marketplace main div:not(.hero-slide):not(.hero-slide-info):not(.hero-slide-body) > [style*="color: #fff"],
.theme-marketplace main div:not(.hero-slide):not(.hero-slide-info):not(.hero-slide-body) > [style*="color:#fff"],
.theme-marketplace main div:not(.hero-slide):not(.hero-slide-info):not(.hero-slide-body) > [style*="color: white"],
.theme-marketplace main span[style*="color: #fff"],
.theme-marketplace main span[style*="color:#fff"],
.theme-marketplace main p[style*="color: #fff"],
.theme-marketplace main p[style*="color:#fff"],
.theme-marketplace main div[style*="color: #fff"]:not(.hero-slide-info):not(.hero-stats),
.theme-marketplace main h1[style*="color: #fff"],
.theme-marketplace main h2[style*="color: #fff"],
.theme-marketplace main h3[style*="color: #fff"] {
    color: #0f1111 !important;
}

/* Force inline semi-transparent white text (except inside hero) */
.theme-marketplace main span[style*="color: rgba(255,255,255"],
.theme-marketplace main span[style*="color:rgba(255,255,255"],
.theme-marketplace main p[style*="color: rgba(255,255,255"],
.theme-marketplace main p[style*="color:rgba(255,255,255"],
.theme-marketplace main a[style*="color: rgba(255,255,255"],
.theme-marketplace main a[style*="color:rgba(255,255,255"],
.theme-marketplace main label[style*="color: rgba(255,255,255"],
.theme-marketplace main label[style*="color:rgba(255,255,255"],
.theme-marketplace main div[style*="color: rgba(255,255,255"]:not(.hero-slide-info):not(.hero-stats):not(.hero-slide):not(.hero-slide-body),
.theme-marketplace main div[style*="color:rgba(255,255,255"]:not(.hero-slide-info):not(.hero-stats):not(.hero-slide):not(.hero-slide-body) {
    color: #565959 !important;
}

/* Category pill badges — fix invisible bg/border */
.theme-marketplace main span[style*="background: rgba(255,255,255,0.05)"],
.theme-marketplace main span[style*="background:rgba(255,255,255,0.05)"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
    color: #0f1111 !important;
}

/* Semi-transparent white borders → visible gray */
.theme-marketplace main [style*="border: 1px solid rgba(255,255,255,0."],
.theme-marketplace main [style*="border:1px solid rgba(255,255,255,0."],
.theme-marketplace main [style*="border: 2px solid rgba(255,255,255,0."],
.theme-marketplace main [style*="border:2px solid rgba(255,255,255,0."] {
    border-color: #d5d9d9 !important;
}

/* Semi-transparent white backgrounds → light surfaces */
.theme-marketplace main [style*="background: rgba(255,255,255,0.0"],
.theme-marketplace main [style*="background:rgba(255,255,255,0.0"] {
    background: #f7fafa !important;
}

/* Dark backgrounds → white */
.theme-marketplace main [style*="background: #0e1020"],
.theme-marketplace main [style*="background:#0e1020"],
.theme-marketplace main [style*="background: #13152a"],
.theme-marketplace main [style*="background:#13152a"],
.theme-marketplace main [style*="background: #1a1d36"],
.theme-marketplace main [style*="background:#1a1d36"],
.theme-marketplace main [style*="background: #0d0f1c"],
.theme-marketplace main [style*="background:#0d0f1c"],
.theme-marketplace main [style*="background: #1a1a24"],
.theme-marketplace main [style*="background:#1a1a24"],
.theme-marketplace main [style*="background: #13131e"],
.theme-marketplace main [style*="background:#13131e"],
.theme-marketplace main [style*="background: #0d0f1f"],
.theme-marketplace main [style*="background:#0d0f1f"] {
    background: #fff !important;
}

/* Purple-ish borders → light gray */
.theme-marketplace main [style*="border: 2px solid rgba(79,110,247"],
.theme-marketplace main [style*="border:2px solid rgba(79,110,247"],
.theme-marketplace main [style*="border: 1px solid rgba(79,110,247"],
.theme-marketplace main [style*="border-color: rgba(79,110,247"] {
    border-color: #d5d9d9 !important;
}

/* Semi-transparent white backgrounds → light gray */
.theme-marketplace main [style*="background: rgba(255,255,255,0.0"],
.theme-marketplace main [style*="background:rgba(255,255,255,0.0"] {
    background: #f7f8f8 !important;
}

/* Orange-tinted semi-transparent backgrounds */
.theme-marketplace main [style*="background: rgba(255,107,0,0.0"],
.theme-marketplace main [style*="background:rgba(255,107,0,0.0"] {
    background: rgba(228,121,17,0.06) !important;
}
.theme-marketplace main [style*="border: 1px solid rgba(255,107,0"],
.theme-marketplace main [style*="border:1px solid rgba(255,107,0"] {
    border-color: rgba(228,121,17,0.25) !important;
}

/* Orange text → proper Amazon orange */
.theme-marketplace main [style*="color: #FF6B00"],
.theme-marketplace main [style*="color:#FF6B00"] {
    color: #e47911 !important;
}

/* Category badge purple → teal */
.theme-marketplace main span[style*="background: #4f6ef7"] {
    background: #007185 !important;
}

/* Quantity controls and buttons with white text */
.theme-marketplace main button[style*="color: #fff"],
.theme-marketplace main button[style*="color:#fff"] {
    color: #0f1111 !important;
}

/* Cart item qty +/- buttons */
.theme-marketplace main form[style*="background: rgba(255,255,255,0.05)"][style*="border-radius: 999px"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace main form[style*="border-radius: 999px"] button[style*="color: #fff"] {
    color: #0f1111 !important;
}
.theme-marketplace main form[style*="border-radius: 999px"] span[style*="font-weight: 900"] {
    color: #0f1111 !important;
}

/* Price values in cart/checkout */
.theme-marketplace main div[style*="font-weight: 900"][style*="font-family: var(--font-display)"] {
    color: #0f1111 !important;
}
.theme-marketplace main span[style*="font-weight: 700"][style*="font-size: 0.875rem"] {
    color: #0f1111 !important;
}

/* Payment method cards */
.theme-marketplace main .pm-card {
    background: #fff !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace main .pm-card div[style*="font-weight: 700"] {
    color: #0f1111 !important;
}
.theme-marketplace main input[type="radio"]:checked + .pm-card {
    border-color: #e47911 !important;
    background: rgba(228,121,17,0.04) !important;
}

/* Accent colors */
.theme-marketplace main input[style*="accent-color:#FF6B00"],
.theme-marketplace main input[style*="accent-color: #FF6B00"] {
    accent-color: #e47911 !important;
}

/* Primary action buttons */
.theme-marketplace main .btn-primary,
.theme-marketplace main button[style*="background: #FF6B00"],
.theme-marketplace main button[style*="background:#FF6B00"],
.theme-marketplace main a[style*="background: #FF6B00"],
.theme-marketplace main a[style*="background:#FF6B00"] {
    background: #f0c14b !important;
    color: #0f1111 !important;
    border: 1px solid #a88734 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
.theme-marketplace main .btn-primary:hover {
    background: #ddb347 !important;
}

/* Address suggestion dropdown */
.theme-marketplace main #addr-suggestions {
    background: #fff !important;
    border-color: #d5d9d9 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

/* Delivery info green boxes */
.theme-marketplace main div[style*="background: rgba(0,168,107,0.08)"] {
    background: #e8f5e9 !important;
    border-color: #c8e6c9 !important;
}

/* Warning boxes */
.theme-marketplace main div[style*="background: rgba(255,184,0,0.07)"],
.theme-marketplace main div[style*="background: rgba(255,184,0,0.1)"] {
    background: #fff8e1 !important;
    border-color: #ffe082 !important;
}

/* Error boxes */
.theme-marketplace main div[style*="background: rgba(255,59,92,0.1)"] {
    background: #fce4ec !important;
    border-color: #ef9a9a !important;
    color: #c62828 !important;
}

/* Checkout summary totals */
.theme-marketplace main div[style*="border-top: 2px solid"] {
    border-top-color: #d5d9d9 !important;
}

/* Empty cart state */
.theme-marketplace main div[style*="background: #0e1020"][style*="border: 2px solid rgba(79,110,247"] {
    background: #fff !important;
    border-color: #d5d9d9 !important;
}

/* Delete/remove icon buttons */
.theme-marketplace main button[style*="color: rgba(255,255,255,0.2)"] {
    color: #a2a6a6 !important;
}

/* Store credit / loyalty boxes */
.theme-marketplace main div[style*="background: rgba(136,136,255,0.07)"] {
    background: #e8eaf6 !important;
    border-color: #c5cae9 !important;
}

/* Gift card button */
.theme-marketplace main button[style*="background: rgba(255,107,0,0.06)"] {
    background: rgba(228,121,17,0.06) !important;
    color: #e47911 !important;
    border-color: rgba(228,121,17,0.2) !important;
}

/* ── CHECKOUT PAGE ───────────────────────────────────────── */
.theme-marketplace .checkout-grid .glass {
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}
.theme-marketplace label[style*="border: 2px solid"][style*="border-radius: 0.75rem"],
.theme-marketplace label[style*="border: 2px solid"][style*="border-radius:0.75rem"] {
    border-color: #d5d9d9 !important;
    border-radius: 8px !important;
    background: #fff !important;
}
.theme-marketplace label[style*="border: 2px solid #FF6B00"],
.theme-marketplace label[style*="border-color: #FF6B00"],
.theme-marketplace label[style*="border:2px solid #FF6B00"] {
    border-color: #e47911 !important;
    background: #fef3e2 !important;
}
.theme-marketplace input[style*="accent-color:#FF6B00"],
.theme-marketplace input[style*="accent-color: #FF6B00"] {
    accent-color: #e47911 !important;
}
.theme-marketplace main p[style*="color:#fff"],
.theme-marketplace main p[style*="color: #fff"],
.theme-marketplace main p[style*="color:white"],
.theme-marketplace main p[style*="color: white"],
.theme-marketplace main label p[style*="color:#fff"],
.theme-marketplace main label p[style*="color: #fff"] {
    color: #0f1111 !important;
}
.theme-marketplace main p[style*="color:rgba(255,255,255"],
.theme-marketplace main p[style*="color: rgba(255,255,255"] {
    color: #0f1111 !important;
}
.theme-marketplace main span[style*="color:rgba(255,255,255"],
.theme-marketplace main span[style*="color: rgba(255,255,255"] {
    color: #565959 !important;
}
.theme-marketplace main h2[style*="color:#fff"],
.theme-marketplace main h2[style*="color: #fff"],
.theme-marketplace main h3[style*="color:#fff"],
.theme-marketplace main h3[style*="color: #fff"],
.theme-marketplace main h4[style*="color:#fff"],
.theme-marketplace main h4[style*="color: #fff"],
.theme-marketplace main span[style*="color:#fff"],
.theme-marketplace main span[style*="color: #fff"],
.theme-marketplace main div[style*="color:#fff"]:not(.hero-slide-info):not(.hero-stats),
.theme-marketplace main div[style*="color: #fff"]:not(.hero-slide-info):not(.hero-stats) {
    color: #0f1111 !important;
}
.theme-marketplace main label[style*="border:2px solid rgba(255,255,255"],
.theme-marketplace main label[style*="border: 2px solid rgba(255,255,255"] {
    border-color: #d5d9d9 !important;
}

/* Broad checkout text fix — all white/rgba text inside checkout glass cards */
.theme-marketplace .checkout-grid .glass p,
.theme-marketplace .checkout-grid .glass span,
.theme-marketplace .checkout-grid .glass div,
.theme-marketplace .checkout-grid .glass label,
.theme-marketplace .checkout-grid .glass h2,
.theme-marketplace .checkout-grid .glass h3 {
    color: #0f1111 !important;
}
.theme-marketplace .checkout-grid .glass label[style*="font-size: 0.8rem"],
.theme-marketplace .checkout-grid .glass div[style*="color: var(--color-muted)"],
.theme-marketplace .checkout-grid .glass p[style*="font-size: 0.78rem"],
.theme-marketplace .checkout-grid .glass p[style*="font-size: 0.72rem"],
.theme-marketplace .checkout-grid .glass span[style*="font-size: 0.75rem"] {
    color: #565959 !important;
}

/* Buyer Protection card — background and borders */
.theme-marketplace .checkout-grid div[style*="border-radius: 1rem"][style*="padding: 1.25rem"] {
    background: #f7f7f7 !important;
    border-color: #e0e0e0 !important;
}
.theme-marketplace .checkout-grid div[style*="border-radius: 1rem"][style*="padding: 1.25rem"] div[style*="border-top"] {
    border-top-color: #e0e0e0 !important;
}

/* Delivery method labels — base state (inactive) */
.theme-marketplace #method-delivery-lbl,
.theme-marketplace #method-pickup-lbl {
    background: #fff;
    border-color: #d5d9d9;
}
.theme-marketplace #method-delivery-lbl.dm-active,
.theme-marketplace #method-pickup-lbl.dm-active {
    border-color: #e47911 !important;
    background: #fef3e2 !important;
}
.theme-marketplace #method-delivery-lbl p,
.theme-marketplace #method-pickup-lbl p {
    color: #0f1111 !important;
}
.theme-marketplace #method-delivery-lbl p[style*="0.78rem"],
.theme-marketplace #method-pickup-lbl p[style*="0.78rem"] {
    color: #565959 !important;
}

/* Order summary sidebar text */
.theme-marketplace .checkout-grid > div:last-child p,
.theme-marketplace .checkout-grid > div:last-child span,
.theme-marketplace .checkout-grid > div:last-child div {
    color: #0f1111 !important;
}
.theme-marketplace .checkout-grid > div:last-child span[style*="color: var(--color-muted)"],
.theme-marketplace .checkout-grid > div:last-child span[style*="font-size: 0.78rem"] {
    color: #565959 !important;
}

/* ── ACCOUNT/LOGIN/REGISTER PAGES ────────────────────────── */
.theme-marketplace div[style*="background: linear-gradient(135deg, rgba(255,107,0,0.12)"] {
    background: #fef9e7 !important;
    border-color: #e47911 !important;
}
.theme-marketplace div[style*="background: rgba(255,59,92,0.1)"] {
    background: #fdf2f2 !important;
    border-color: #d5a4a4 !important;
    color: #b12704 !important;
}
.theme-marketplace div[style*="background: rgba(255,184,0,0.1)"] {
    background: #fef9e7 !important;
    border-color: #e0c36a !important;
    color: #856404 !important;
}

/* Checkout green success */
.theme-marketplace div[style*="background: linear-gradient(135deg, rgba(0,168,107"] {
    background: #d4edda !important;
    border-color: #c3e6cb !important;
}

/* ── BUY NOW BUTTON ─────────────────────────────────────── */
.theme-marketplace #buy-now-btn {
    background: #fff !important;
    border: 2px solid #e47911 !important;
    color: #e47911 !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
.theme-marketplace #buy-now-btn:hover {
    background: #fef3e2 !important;
    border-color: #c96a0e !important;
}

/* ── PRODUCT DETAIL PAGE ─────────────────────────────────── */
.theme-marketplace div[style*="background: #100c08"],
.theme-marketplace section[style*="background: #100c08"] {
    background: #fff !important;
}
.theme-marketplace div[style*="background: #0f0a06"],
.theme-marketplace section[style*="background: #0f0a06"] {
    background: #e3e6e6 !important;
}

/* ── WISHLIST / ORDERS / REVIEWS pages ───────────────────── */
.theme-marketplace div[style*="background: linear-gradient(135deg, rgba(79,110,247"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
}

/* Table-like rows / order cards */
.theme-marketplace div[style*="background: #0d0f1c"] {
    background: #fff !important;
}

/* ── LINKS ───────────────────────────────────────────────── */
.theme-marketplace a[style*="color: rgba(255,255,255,0.7)"] {
    color: #007185 !important;
}
.theme-marketplace a[style*="color: rgba(255,255,255,0.7)"]:hover {
    color: #c7511f !important;
}

/* ── SPIN WHEEL MODAL ────────────────────────────────────── */
.theme-marketplace .spin-overlay {
    background: rgba(0,0,0,0.5) !important;
}
.theme-marketplace .spin-modal {
    background: #fff !important;
    border-color: #d5d9d9 !important;
    color: #0f1111 !important;
}

/* ── LIVEWIRE COMPONENTS — Product search sidebar etc. ──── */
.theme-marketplace div[style*="background: rgba(255,255,255,0.03)"],
.theme-marketplace div[style*="background:rgba(255,255,255,0.03)"] {
    background: #fff !important;
}
.theme-marketplace div[style*="background: rgba(255,255,255,0.04)"],
.theme-marketplace div[style*="background:rgba(255,255,255,0.04)"],
.theme-marketplace div[style*="background: rgba(255,255,255,0.05)"],
.theme-marketplace div[style*="background:rgba(255,255,255,0.05)"],
.theme-marketplace div[style*="background: rgba(255,255,255,0.06)"],
.theme-marketplace div[style*="background:rgba(255,255,255,0.06)"] {
    background: #f7f8f8 !important;
}
.theme-marketplace div[style*="border: 1px solid rgba(255,255,255,0.1)"],
.theme-marketplace div[style*="border:1px solid rgba(255,255,255,0.1)"],
.theme-marketplace div[style*="border: 1px solid rgba(255,255,255,0.06)"],
.theme-marketplace div[style*="border: 1px solid rgba(255,255,255,0.07)"],
.theme-marketplace div[style*="border: 1px solid rgba(255,255,255,0.08)"] {
    border-color: #d5d9d9 !important;
}

/* ── BROAD INLINE COLOR FIXES ────────────────────────────── */
.theme-marketplace [style*="border-color: rgba(255,107,0"] {
    border-color: #e47911 !important;
}
.theme-marketplace [style*="background: rgba(255,107,0,0.06)"],
.theme-marketplace [style*="background: rgba(255,107,0,0.08)"],
.theme-marketplace [style*="background: rgba(255,107,0,0.1)"],
.theme-marketplace [style*="background:rgba(255,107,0,0.1)"],
.theme-marketplace [style*="background: rgba(255,107,0,0.12)"],
.theme-marketplace [style*="background:rgba(255,107,0,0.12)"] {
    background: rgba(228,121,17,0.08) !important;
}

/* ── SHOP SIDEBAR — Light theme for filters ─────────────── */
.theme-marketplace .shop-sidebar .glass {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    padding: 1.25rem !important;
}
.theme-marketplace .shop-sidebar input[type="number"] {
    background: #fff !important;
    border: 1px solid #a2a6a6 !important;
    color: #0f1111 !important;
    border-radius: 6px !important;
    font-size: 0.82rem !important;
}
.theme-marketplace .shop-sidebar input[type="number"]::placeholder {
    color: #999 !important;
}
.theme-marketplace .shop-sidebar input[type="number"]:focus {
    border-color: #e47911 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(228,121,17,0.15) !important;
}
.theme-marketplace .shop-sidebar button[style*="color: #FF6B00"][style*="border"] {
    color: #e47911 !important;
    border-color: rgba(228,121,17,0.3) !important;
}
.theme-marketplace .shop-sidebar button[style*="color: #FF6B00"][style*="border"]:hover {
    background: rgba(228,121,17,0.06) !important;
}
.theme-marketplace .shop-sidebar div[style*="border-left: 2px solid rgba(255,107,0"] {
    border-left-color: rgba(228,121,17,0.25) !important;
}
.theme-marketplace .shop-sidebar h3 {
    color: #0f1111 !important;
}
.theme-marketplace .shop-sidebar label {
    color: #565959 !important;
}
.theme-marketplace .shop-sidebar input[type="text"],
.theme-marketplace .shop-sidebar input[type="search"] {
    background: #fff !important;
    border: 1px solid #a2a6a6 !important;
    color: #0f1111 !important;
    border-radius: 4px !important;
}
.theme-marketplace .shop-sidebar input[type="text"]::placeholder,
.theme-marketplace .shop-sidebar input[type="search"]::placeholder {
    color: #999 !important;
}
.theme-marketplace .shop-sidebar input[type="text"]:focus,
.theme-marketplace .shop-sidebar input[type="search"]:focus {
    border-color: #e47911 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(228,121,17,0.15) !important;
}
.theme-marketplace .shop-sidebar svg[stroke="rgba(255,255,255,0.35)"] {
    stroke: #999 !important;
}
.theme-marketplace .shop-sidebar button[style*="color: rgba(255,255,255,0.8)"],
.theme-marketplace .shop-sidebar button[style*="color:rgba(255,255,255,0.8)"] {
    color: #0f1111 !important;
}
.theme-marketplace .shop-sidebar button[style*="color: rgba(255,255,255,0.35)"] {
    color: #a2a6a6 !important;
}
.theme-marketplace .shop-sidebar button[wire\\:click]:hover {
    background: #f7f8f8 !important;
}
.theme-marketplace .shop-sidebar button[style*="color: #FF6B00"] {
    color: #e47911 !important;
}
.theme-marketplace .shop-sidebar button[style*="background: rgba(255,107,0,0.15)"],
.theme-marketplace .shop-sidebar button[style*="background:rgba(255,107,0,0.15)"],
.theme-marketplace .shop-sidebar div[style*="background: rgba(255,107,0,0.1)"],
.theme-marketplace .shop-sidebar div[style*="background:rgba(255,107,0,0.1)"] {
    background: rgba(228,121,17,0.08) !important;
}
.theme-marketplace .shop-sidebar input[type="range"] {
    accent-color: #e47911 !important;
}
.theme-marketplace .shop-sidebar select {
    background: #fff !important;
    border: 1px solid #a2a6a6 !important;
    color: #0f1111 !important;
    border-radius: 6px !important;
}
.theme-marketplace .shop-sidebar select option {
    background: #fff !important;
    color: #0f1111 !important;
}
.theme-marketplace .shop-sidebar select:focus {
    border-color: #e47911 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(228,121,17,0.15) !important;
}
.theme-marketplace .shop-sidebar [style*="color: var(--color-muted)"] {
    color: #565959 !important;
}

/* Sidebar search hints dropdown */
.theme-marketplace #ssb-hints {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}
.theme-marketplace .ssb-item {
    border-bottom-color: #f0f0f0 !important;
}
.theme-marketplace .ssb-item:hover {
    background: #f7f8f8 !important;
}
.theme-marketplace .ssb-thumb {
    background: #f7f8f8 !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace .ssb-name {
    color: #0f1111 !important;
}
.theme-marketplace .ssb-cat {
    color: #565959 !important;
}
.theme-marketplace .ssb-price {
    color: #b12704 !important;
}
.theme-marketplace .ssb-btn {
    background: #f0c14b !important;
    color: #0f1111 !important;
}
.theme-marketplace .ssb-footer {
    background: #f7f8f8 !important;
    border-top-color: #d5d9d9 !important;
}
.theme-marketplace .ssb-footer a {
    color: #007185 !important;
}

/* Shop page section headers */
.theme-marketplace .shop-cat-name {
    color: #0f1111 !important;
}
.theme-marketplace .shop-cat-count {
    color: #565959 !important;
}
.theme-marketplace .shop-cat-icon {
    background: rgba(228,121,17,0.08) !important;
    border-color: rgba(228,121,17,0.2) !important;
}
.theme-marketplace .shop-cat-header {
    border-bottom-color: #d5d9d9 !important;
}
.theme-marketplace .shop-view-all {
    background: rgba(228,121,17,0.06) !important;
    border-color: rgba(228,121,17,0.2) !important;
    color: #e47911 !important;
}
.theme-marketplace .shop-see-more-tile {
    background: #f7f8f8 !important;
    border-color: #d5d9d9 !important;
    color: #565959 !important;
}
.theme-marketplace .shop-see-more-tile:hover {
    border-color: #e47911 !important;
    color: #e47911 !important;
}

/* Mobile filter bar */
.theme-marketplace #mob-filter-bar {
    border-bottom-color: #d5d9d9 !important;
}
.theme-marketplace #mob-filter-btn {
    background: rgba(228,121,17,0.08) !important;
    border-color: rgba(228,121,17,0.2) !important;
    color: #e47911 !important;
}

/* ── GENERAL CLEANUP ─────────────────────────────────────── */
.theme-marketplace svg[stroke="rgba(79,110,247,0.6)"] {
    stroke: #a2a6a6 !important;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL WHITE TEXT FIX — Force dark text on light backgrounds
   Scoped to main content area only. Nav, footer, hero carousel
   slide overlays keep their white text.
   ═══════════════════════════════════════════════════════════ */

/* All explicit color:#fff / color: #fff inline styles in main */
.theme-marketplace main [style*="color: #fff"],
.theme-marketplace main [style*="color:#fff"],
.theme-marketplace main [style*="color: white"],
.theme-marketplace main [style*="color:white"] {
    color: #0f1111 !important;
}

/* All rgba white text variants (muted/semi-transparent text) */
.theme-marketplace main [style*="color: rgba(255,255,255,"],
.theme-marketplace main [style*="color:rgba(255,255,255,"] {
    color: #565959 !important;
}

/* CSS class-based white text in home page sections */
.theme-marketplace main .cur-h2,
.theme-marketplace main .cur-name {
    color: #0f1111 !important;
}
.theme-marketplace main .cur-h2 span {
    color: #a2a6a6 !important;
}
.theme-marketplace main .cur-eyebrow {
    color: #e47911 !important;
}
.theme-marketplace main .cur-eyebrow::before {
    background: #e47911 !important;
}
.theme-marketplace main .cur-view-all {
    color: #565959 !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace main .cur-view-all:hover {
    color: #e47911 !important;
    border-color: #e47911 !important;
}
.theme-marketplace main .cur-tag {
    background: rgba(255,255,255,0.85) !important;
    border-color: #d5d9d9 !important;
    color: #0f1111 !important;
    backdrop-filter: none !important;
}
.theme-marketplace main .cur-price {
    background: rgba(228,121,17,0.1) !important;
    border-color: #e47911 !important;
    color: #b12704 !important;
}
.theme-marketplace main .cur-orig {
    color: #565959 !important;
}
.theme-marketplace main .cur-add {
    background: #f0c14b !important;
    color: #0f1111 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
}
.theme-marketplace main .cur-add:hover {
    background: #ddb347 !important;
}
.theme-marketplace main .cur-hero-badge {
    background: #cc0c39 !important;
}
.theme-marketplace main .cur-card {
    background: #fff !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace main .cur-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}
.theme-marketplace main .cur-img-wrap::after {
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 45%, transparent 75%) !important;
}

/* Category showcase cards */
.theme-marketplace main section a[style*="text-decoration: none"][style*="border: 2px solid rgba(255,255,255,0.06)"] {
    background: #fff !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace main section a[style*="text-decoration: none"][style*="border: 2px solid rgba(255,255,255,0.06)"] h3 {
    color: #0f1111 !important;
}
.theme-marketplace main section a[style*="text-decoration: none"][style*="border: 2px solid rgba(255,255,255,0.06)"] span[style*="background: rgba(255,255,255,0.05)"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
    color: #565959 !important;
}

/* Dark section backgrounds → light */
.theme-marketplace main section[style*="background: #1a0e06"],
.theme-marketplace main section[style*="background:#1a0e06"] {
    background: #e3e6e6 !important;
}
.theme-marketplace main section[style*="background: linear-gradient(135deg, #1a0800"],
.theme-marketplace main section[style*="background: linear-gradient(135deg, #1a0a00"] {
    background: #fff !important;
    border-color: #d5d9d9 !important;
    color: #0f1111 !important;
}
.theme-marketplace main section[style*="background: #0f0a06"] {
    background: #232f3e !important;
}

/* Accent color adjustments */
.theme-marketplace main [style*="color: #c45c1e"] {
    color: #e47911 !important;
}
.theme-marketplace main [style*="color: #e07a38"],
.theme-marketplace main [style*="color:#e07a38"] {
    color: #e47911 !important;
}
.theme-marketplace main [style*="color: #c9a87c"],
.theme-marketplace main [style*="color:#c9a87c"] {
    color: #e47911 !important;
}

/* Background color for dark radial glows — hide them */
.theme-marketplace main div[style*="background: radial-gradient(circle, rgba(180,80,20"],
.theme-marketplace main div[style*="background: radial-gradient(circle, rgba(224,120,56"],
.theme-marketplace main div[style*="background: radial-gradient(circle, rgba(168,100,20"] {
    display: none !important;
}

/* Ensure buttons on dark backgrounds stay visible */
.theme-marketplace main a[style*="background: #c45c1e"],
.theme-marketplace main a[style*="background:#c45c1e"],
.theme-marketplace main a[style*="background: linear-gradient(135deg, #c45c1e"] {
    background: #f0c14b !important;
    color: #0f1111 !important;
    box-shadow: none !important;
}

/* Fix sub-category pills */
.theme-marketplace main span[style*="background: rgba(255,255,255,0.05)"][style*="border: 1px solid rgba(255,255,255,0.1)"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
    color: #565959 !important;
}

/* Fix "Recently Viewed" and similar section headers */
.theme-marketplace main h2[style*="color: #fff"] {
    color: #0f1111 !important;
}

/* Dark section avatars / images backgrounds */
.theme-marketplace main div[style*="background: #3a2010"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
}

/* Exempt hero carousel slides from dark text override (they have product images behind) */
.theme-marketplace .hero-slide-info .hs-name {
    color: #0f1111 !important;
}
.theme-marketplace .hero-slide-info .hs-desc {
    color: #565959 !important;
}
.theme-marketplace .hero-mini-card .hmc-name {
    color: #0f1111 !important;
}

/* ══════════════════════════════════════════════════════════
   PRODUCT CARDS — Amazon white card style
══════════════════════════════════════════════════════════ */
.theme-marketplace .ppm-card {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
}
.theme-marketplace .ppm-card-wrap {
    padding: 0 !important;
    background: transparent !important;
}
.theme-marketplace .ppm-card-wrap::before {
    display: none !important;
}
.theme-marketplace .ppm-card-wrap:hover {
    transform: translateY(-2px) !important;
}
.theme-marketplace .ppm-card-wrap:hover .ppm-card {
    border-color: #e47911 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
}
.theme-marketplace .ppm-card div[style*="background: #13152a"] {
    background: #f7f8f8 !important;
}
.theme-marketplace .ppm-name {
    color: #0f1111 !important;
}
.theme-marketplace .ppm-cat {
    color: #007185 !important;
}
.theme-marketplace .ppm-price-val {
    color: #b12704 !important;
}
.theme-marketplace .ppm-price-val--flash {
    color: #b12704 !important;
}
.theme-marketplace .ppm-card span[style*="color: rgba(255,255,255,0.3"] {
    color: #565959 !important;
}
.theme-marketplace .ppm-card span[style*="color: rgba(255,255,255,0.28"] {
    color: #565959 !important;
}
.theme-marketplace .ppm-add-btn {
    background: #f0c14b !important;
    color: #0f1111 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12) !important;
}
.theme-marketplace .ppm-add-btn:hover {
    background: #ddb347 !important;
}
.theme-marketplace .ppm-badge {
    background: #e47911 !important;
    border-radius: 0 0 4px 0 !important;
}
.theme-marketplace .ppm-badge--flash,
.theme-marketplace .ppm-badge--sale {
    background: #cc0c39 !important;
}
.theme-marketplace .ppm-badge--oos {
    background: #f0f0f0 !important;
    color: #565959 !important;
}
.theme-marketplace .ppm-stars {
    color: #de7921 !important;
}
.theme-marketplace .ppm-card .ppm-wl-wrap button,
.theme-marketplace .ppm-card .ppm-wl-wrap form button {
    background: rgba(255,255,255,0.9) !important;
    color: #565959 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15) !important;
}
.theme-marketplace .ppm-card .ppm-wl-wrap button:hover,
.theme-marketplace .ppm-card .ppm-wl-wrap form button:hover {
    color: #cc0c39 !important;
    background: #fff !important;
}

/* ══════════════════════════════════════════════════════════
   CATEGORIES STRIP — Light pills
══════════════════════════════════════════════════════════ */
.theme-marketplace div[style*="border-top: 1px solid rgba(255,255,255,0.06)"][style*="border-bottom: 1px solid rgba(255,255,255,0.06)"][style*="overflow-x: auto"] {
    background: #fff !important;
    border-top-color: #d5d9d9 !important;
    border-bottom-color: #d5d9d9 !important;
}
.theme-marketplace div[style*="border-top: 1px solid rgba(255,255,255,0.06)"][style*="overflow-x: auto"] a[style*="border-radius: 9999px"][style*="border: 1px solid rgba(255,255,255,0.15)"] {
    border-color: #d5d9d9 !important;
    color: #0f1111 !important;
    background: #f0f2f2 !important;
}
.theme-marketplace div[style*="border-top: 1px solid rgba(255,255,255,0.06)"][style*="overflow-x: auto"] a[style*="background: #fff"] {
    background: #e47911 !important;
    color: #fff !important;
    border-color: #e47911 !important;
}

/* ══════════════════════════════════════════════════════════
   CURATED FOR YOU — Amazon card grid
══════════════════════════════════════════════════════════ */
.theme-marketplace .cur-section {
    padding: 2rem 1.5rem !important;
}
.theme-marketplace .cur-h2 {
    color: #0f1111 !important;
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
}
.theme-marketplace .cur-h2 span {
    color: #565959 !important;
}
.theme-marketplace .cur-eyebrow {
    color: #e47911 !important;
}
.theme-marketplace .cur-eyebrow::before {
    background: #e47911 !important;
}
.theme-marketplace .cur-view-all {
    color: #007185 !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace .cur-view-all:hover {
    color: #e47911 !important;
    border-color: #e47911 !important;
}
.theme-marketplace .cur-card {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
}
.theme-marketplace .cur-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    border-color: #e47911 !important;
}
.theme-marketplace .cur-img-wrap::after {
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 40%, transparent 70%) !important;
}
.theme-marketplace .cur-name {
    color: #0f1111 !important;
}
.theme-marketplace .cur-price {
    background: rgba(177,39,4,0.08) !important;
    border-color: rgba(177,39,4,0.2) !important;
    color: #b12704 !important;
}
.theme-marketplace .cur-orig {
    color: #565959 !important;
}
.theme-marketplace .cur-tag {
    background: rgba(0,113,133,0.1) !important;
    border-color: rgba(0,113,133,0.2) !important;
    color: #007185 !important;
    backdrop-filter: none !important;
}
.theme-marketplace .cur-hero-badge {
    background: #e47911 !important;
}
.theme-marketplace .cur-add {
    background: #f0c14b !important;
    color: #0f1111 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
}
.theme-marketplace .cur-add:hover {
    background: #ddb347 !important;
}
.theme-marketplace .cur-add.added {
    background: #067d62 !important;
    color: #fff !important;
}

/* ══════════════════════════════════════════════════════════
   CATEGORY SHOWCASE — White cards
══════════════════════════════════════════════════════════ */
.theme-marketplace main section a[style*="background:"][style*="border: 2px solid rgba(255,255,255,0.06)"][style*="border-radius: 1.25rem"] {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
}
.theme-marketplace main section a[style*="border: 2px solid rgba(255,255,255,0.06)"] h3 {
    color: #0f1111 !important;
}
.theme-marketplace main section a[style*="border: 2px solid rgba(255,255,255,0.06)"] div[style*="color: rgba(255,255,255,0.2)"] {
    color: #565959 !important;
}

/* ══════════════════════════════════════════════════════════
   FLASH SALE — Light treatment
══════════════════════════════════════════════════════════ */
.theme-marketplace main section[style*="background: linear-gradient(135deg, #1a0800"] {
    background: #fef3e7 !important;
    border-top-color: #febd69 !important;
    border-bottom-color: #febd69 !important;
}
.theme-marketplace main section[style*="background: linear-gradient(135deg, #1a0800"] h2 {
    color: #0f1111 !important;
    text-shadow: none !important;
}
.theme-marketplace main section[style*="background: linear-gradient(135deg, #1a0800"] span[style*="font-size: 3.5rem"] {
    color: #b12704 !important;
}
.theme-marketplace main section[style*="background: linear-gradient(135deg, #1a0800"] span[style*="text-decoration: line-through"] {
    color: #565959 !important;
}
.theme-marketplace main section[style*="background: linear-gradient(135deg, #1a0800"] .flash-img-wrap img {
    mix-blend-mode: normal !important;
    filter: none !important;
}

/* ══════════════════════════════════════════════════════════
   DAILY DEAL — Light treatment
══════════════════════════════════════════════════════════ */
.theme-marketplace main section[style*="background: linear-gradient(135deg, #1a0a00"] {
    background: #fef8f2 !important;
    border-top-color: #febd69 !important;
}
.theme-marketplace main section[style*="background: linear-gradient(135deg, #1a0a00"] h2 {
    color: #0f1111 !important;
}
.theme-marketplace main section[style*="background: linear-gradient(135deg, #1a0a00"] h3 {
    color: #0f1111 !important;
}
.theme-marketplace main section[style*="background: linear-gradient(135deg, #1a0a00"] div[style*="border: 2px solid rgba(196,92,30,0.3)"] {
    border-color: #d5d9d9 !important;
}

/* ══════════════════════════════════════════════════════════
   FEATURED / TRENDING SECTIONS — Section headers
══════════════════════════════════════════════════════════ */
.theme-marketplace main section h2[style*="font-weight: 800"],
.theme-marketplace main section h2[style*="font-weight: 900"] {
    color: #0f1111 !important;
}
.theme-marketplace main section a[style*="color: #c45c1e"] {
    color: #007185 !important;
}
.theme-marketplace main section div[style*="color: #c45c1e"] {
    color: #e47911 !important;
}

/* ══════════════════════════════════════════════════════════
   REFER A FRIEND — Light banner
══════════════════════════════════════════════════════════ */
.theme-marketplace main section[style*="background: linear-gradient(135deg, rgba(196,92,30"] {
    background: #eef7ff !important;
    border-top-color: #d5d9d9 !important;
    border-bottom-color: #d5d9d9 !important;
}
.theme-marketplace main section[style*="background: linear-gradient(135deg, rgba(196,92,30"] h2 {
    color: #0f1111 !important;
}

/* ══════════════════════════════════════════════════════════
   FOOTER STATS — Light background
══════════════════════════════════════════════════════════ */
.theme-marketplace main section[style*="background: #0f0a06"] {
    background: #f0f2f2 !important;
    border-top-color: #d5d9d9 !important;
}
.theme-marketplace main section[style*="background: #0f0a06"] div[style*="font-weight: 800"] {
    color: #0f1111 !important;
}

/* ══════════════════════════════════════════════════════════
   HERO STATS BAR — Light
══════════════════════════════════════════════════════════ */
.theme-marketplace .hero-stats-bar {
    border-top-color: #d5d9d9 !important;
}
.theme-marketplace .hero-stats-bar div[style*="color: #c9a87c"] {
    color: #e47911 !important;
}
.theme-marketplace .hero-stats-bar div[style*="color: rgba(201,168,124,0.5)"] {
    color: #565959 !important;
}

/* ══════════════════════════════════════════════════════════
   CATEGORY SHOWCASE HEADER
══════════════════════════════════════════════════════════ */
.theme-marketplace main h2[style*="color: rgba(255,255,255,0.2)"] span,
.theme-marketplace main span[style*="color: rgba(255,255,255,0.2)"] {
    color: #a2a6a6 !important;
}
.theme-marketplace main a[style*="color: rgba(255,255,255,0.5)"] {
    color: #007185 !important;
}

/* Accent glow circles — hide on white cards */
.theme-marketplace main a[style*="border: 2px solid rgba(255,255,255,0.06)"] div[style*="background: radial-gradient"] {
    display: none !important;
}

/* Category card arrow circles */
.theme-marketplace main div[style*="border-radius: 50%"][style*="display: flex"][style*="align-items: center"][style*="justify-content: center"][style*="flex-shrink: 0"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
}

/* Dark section watermark text — hide */
.theme-marketplace main div[style*="opacity: 0.04"][style*="font-size: 20vw"] {
    display: none !important;
}
/* Flash sale banner is now theme-aware directly in the Blade template */

/* ══════════════════════════════════════════════════════════
   CHECKOUT PAGE — Complete marketplace overrides
══════════════════════════════════════════════════════════ */

/* Page heading */
.theme-marketplace main h1 {
    color: #0f1111 !important;
}

/* All form inputs, selects, textareas — dark text on light bg */
.theme-marketplace main input[style*="color: #fff"],
.theme-marketplace main input[style*="color:#fff"],
.theme-marketplace main select[style*="color: #fff"],
.theme-marketplace main select[style*="color:#fff"],
.theme-marketplace main textarea[style*="color: #fff"],
.theme-marketplace main textarea[style*="color:#fff"] {
    color: #0f1111 !important;
    background: #fff !important;
    border-color: #d5d9d9 !important;
}

/* Input/select/textarea backgrounds — transparent or semi-transparent → white */
.theme-marketplace main input[style*="background: rgba(255,255,255,0.05)"],
.theme-marketplace main input[style*="background:rgba(255,255,255,0.05)"],
.theme-marketplace main select[style*="background: rgba(255,255,255,0.05)"],
.theme-marketplace main select[style*="background:rgba(255,255,255,0.05)"],
.theme-marketplace main textarea[style*="background: rgba(255,255,255,0.05)"],
.theme-marketplace main textarea[style*="background:rgba(255,255,255,0.05)"] {
    background: #fff !important;
    border-color: #d5d9d9 !important;
}

/* Input borders — semi-transparent white → visible gray */
.theme-marketplace main input[style*="border: 1px solid rgba(255,255,255,0.1)"],
.theme-marketplace main input[style*="border:1px solid rgba(255,255,255,0.1)"],
.theme-marketplace main select[style*="border: 1px solid rgba(255,255,255,0.1)"],
.theme-marketplace main select[style*="border:1px solid rgba(255,255,255,0.1)"],
.theme-marketplace main textarea[style*="border: 1px solid rgba(255,255,255,0.1)"],
.theme-marketplace main textarea[style*="border:1px solid rgba(255,255,255,0.1)"] {
    border-color: #d5d9d9 !important;
}

/* Input with orange border (mobile money phone) */
.theme-marketplace main input[style*="border: 1px solid rgba(255,107,0"],
.theme-marketplace main input[style*="border:1px solid rgba(255,107,0"] {
    border-color: #e47911 !important;
    background: #fff !important;
    color: #0f1111 !important;
}

/* Select dropdown option backgrounds */
.theme-marketplace main select option {
    background: #fff !important;
    color: #0f1111 !important;
}

/* Checkout separator borders — invisible rgba → visible */
.theme-marketplace main div[style*="border-top: 1px solid rgba(255,255,255,0.07)"],
.theme-marketplace main div[style*="border-top:1px solid rgba(255,255,255,0.07)"] {
    border-top-color: #d5d9d9 !important;
}
.theme-marketplace main div[style*="border-top: 2px solid rgba(255,255,255"],
.theme-marketplace main div[style*="border-top:2px solid rgba(255,255,255"] {
    border-top-color: #d5d9d9 !important;
}

/* Summary totals font weight text */
.theme-marketplace main span[style*="font-weight: 700"],
.theme-marketplace main span[style*="font-weight:700"] {
    color: #0f1111 !important;
}

/* Keep accent colors for special spans */
.theme-marketplace main span[style*="color: #00a86b"],
.theme-marketplace main span[style*="color:#00a86b"] {
    color: #00a86b !important;
}
.theme-marketplace main span[style*="color: #FFB800"],
.theme-marketplace main span[style*="color:#FFB800"] {
    color: #e47911 !important;
}
.theme-marketplace main span[style*="color: #8888ff"],
.theme-marketplace main span[style*="color:#8888ff"] {
    color: #5c6bc0 !important;
}

/* Place order button */
.theme-marketplace main #place-order-btn {
    background: #f0c14b !important;
    color: #0f1111 !important;
    border: 1px solid #a88734 !important;
    border-radius: 8px !important;
}
.theme-marketplace main #place-order-btn:hover {
    background: #ddb347 !important;
}

/* Buyer Protection card */
.theme-marketplace main div[style*="background: rgba(255,255,255,0.03)"][style*="border-radius: 1rem"] {
    background: #f7f7f7 !important;
    border-color: #e0e0e0 !important;
}
.theme-marketplace main div[style*="background: rgba(255,255,255,0.03)"][style*="border-radius: 1rem"] p[style*="color: rgba(255,255,255,0.85)"] {
    color: #0f1111 !important;
}
.theme-marketplace main div[style*="background: rgba(255,255,255,0.03)"][style*="border-radius: 1rem"] p[style*="color: rgba(255,255,255,0.4)"] {
    color: #565959 !important;
}
.theme-marketplace main div[style*="background: rgba(255,255,255,0.03)"][style*="border-radius: 1rem"] span[style*="color: rgba(255,255,255,0.7)"] {
    color: #0f1111 !important;
}
.theme-marketplace main div[style*="background: rgba(255,255,255,0.03)"][style*="border-radius: 1rem"] div[style*="border-top: 1px solid rgba(255,255,255,0.06)"] {
    border-top-color: #e0e0e0 !important;
}

/* Delivery info green box — make visible on white glass */
.theme-marketplace main #delivery-info {
    background: #e8f5e9 !important;
    border-color: #c8e6c9 !important;
    color: #2e7d32 !important;
}

/* Coupon applied banner (spin wheel) */
.theme-marketplace main div[style*="background: linear-gradient(135deg, rgba(0,168,107"] {
    background: #e8f5e9 !important;
    border-color: #c8e6c9 !important;
}

/* Checkout label text — uppercase labels */
.theme-marketplace main label[style*="text-transform: uppercase"] {
    color: #565959 !important;
}

/* Layaway section accent — orange to Amazon orange */
.theme-marketplace main span[style*="color: #FF6B00"],
.theme-marketplace main span[style*="color:#FF6B00"] {
    color: #e47911 !important;
}

/* Layaway info box */
.theme-marketplace main div[style*="background: rgba(255,107,0,0.06)"] {
    background: rgba(228,121,17,0.04) !important;
    border-color: rgba(228,121,17,0.2) !important;
}
.theme-marketplace main div[style*="background: rgba(255,255,255,0.03)"] {
    background: #f7f8f8 !important;
}

/* Layaway deposit/balance display */
.theme-marketplace main #layaway-deposit-display {
    color: #e47911 !important;
}
.theme-marketplace main #layaway-balance-display {
    color: #565959 !important;
}

/* Referral input text transform */
.theme-marketplace main input[style*="text-transform: uppercase"] {
    color: #0f1111 !important;
    background: #fff !important;
}

/* Address suggestion dropdown */
.theme-marketplace main #addr-suggestions {
    background: #fff !important;
    border-color: #d5d9d9 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}
.theme-marketplace main #addr-suggestions div {
    color: #0f1111 !important;
}
.theme-marketplace main #addr-suggestions div:hover {
    background: #f0f2f2 !important;
}

/* Seamless payment overlay — keep dark for contrast */
.theme-marketplace #seamless-overlay {
    background: rgba(0,0,0,0.75) !important;
}
.theme-marketplace #seamless-overlay > div {
    background: #fff !important;
    border-color: #d5d9d9 !important;
    color: #0f1111 !important;
}
.theme-marketplace #seamless-overlay h2 {
    color: #0f1111 !important;
}
.theme-marketplace #seamless-overlay p {
    color: #565959 !important;
}
.theme-marketplace #seamless-overlay span {
    color: #565959 !important;
}
.theme-marketplace #seamless-overlay button[style*="background: #FF6B00"] {
    background: #f0c14b !important;
    color: #0f1111 !important;
}
.theme-marketplace #seamless-overlay button[style*="background: rgba(255,255,255,0.07)"],
.theme-marketplace #seamless-overlay button[style*="background: rgba(255,255,255,0.08)"] {
    background: #f0f2f2 !important;
    border-color: #d5d9d9 !important;
    color: #565959 !important;
}
.theme-marketplace #seamless-overlay button[style*="color: rgba(255,255,255,0.6)"] {
    color: #565959 !important;
}
.theme-marketplace #seamless-overlay button[style*="color: #fff"] {
    color: #565959 !important;
}
.theme-marketplace #overlay-success h2 {
    color: #00a86b !important;
}
.theme-marketplace #overlay-cancelled h2 {
    color: #856404 !important;
}
.theme-marketplace #overlay-failed h2 {
    color: #c62828 !important;
}
.theme-marketplace #seamless-overlay p[style*="color: rgba(255,255,255"] {
    color: #565959 !important;
}

/* ── ACCOUNT PORTAL ─────────────────────────────────────── */
.theme-marketplace .sidebar-card {
    background: #fff !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace .sidebar-name {
    color: #0f1111 !important;
}
.theme-marketplace .sidebar-email {
    color: #565959 !important;
}
.theme-marketplace .nav-tab-v {
    color: #565959 !important;
}
.theme-marketplace .nav-tab-v:hover {
    background: rgba(228,121,17,0.08) !important;
    color: #0f1111 !important;
}
.theme-marketplace .nav-tab-v.active {
    background: rgba(228,121,17,0.12) !important;
    color: #c45500 !important;
}
.theme-marketplace .sidebar-sign-out {
    color: #565959 !important;
}
.theme-marketplace .stat-card {
    background: #fff !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace .stat-card .sc-val {
    color: #0f1111 !important;
}
.theme-marketplace .stat-card .sc-lbl {
    color: #565959 !important;
}
.theme-marketplace .pcard {
    background: #fff !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace .pcard-head {
    border-bottom-color: #d5d9d9 !important;
}
.theme-marketplace .pcard-title {
    color: #0f1111 !important;
}
.theme-marketplace .pcard-body {
    color: #0f1111 !important;
}
.theme-marketplace .order-row {
    border-bottom-color: #d5d9d9 !important;
}
.theme-marketplace .order-row:hover {
    background: rgba(228,121,17,0.04) !important;
}
.theme-marketplace .order-date {
    color: #565959 !important;
}
.theme-marketplace .order-total {
    color: #0f1111 !important;
}
.theme-marketplace .order-expand {
    color: #565959 !important;
}
.theme-marketplace .order-detail {
    background: #f7f7f7 !important;
    border-bottom-color: #d5d9d9 !important;
}
.theme-marketplace .mini-item {
    color: #0f1111 !important;
}
.theme-marketplace .mi-qty {
    color: #565959 !important;
}
.theme-marketplace .page-title-h {
    color: #0f1111 !important;
}
.theme-marketplace .form-label-s {
    color: #565959 !important;
}
.theme-marketplace .form-input-s {
    background: #fff !important;
    border-color: #d5d9d9 !important;
    color: #0f1111 !important;
}
.theme-marketplace .form-input-s:focus {
    border-color: #e47911 !important;
}
.theme-marketplace .toggle-row {
    border-bottom-color: #d5d9d9 !important;
}
.theme-marketplace .toggle-info strong {
    color: #0f1111 !important;
}
.theme-marketplace .toggle-info span {
    color: #565959 !important;
}
.theme-marketplace .toggle-switch {
    background: #d5d9d9 !important;
}
.theme-marketplace .toggle-switch.on {
    background: #e47911 !important;
}
.theme-marketplace .wl-card {
    background: #fff !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace .wl-name {
    color: #0f1111 !important;
}
.theme-marketplace .wl-cat {
    color: #565959 !important;
}
.theme-marketplace .loyalty-hero {
    background: linear-gradient(135deg, rgba(228,121,17,0.08), rgba(255,183,0,0.05)) !important;
    border-color: rgba(228,121,17,0.2) !important;
}
.theme-marketplace .lh-label {
    color: #565959 !important;
}
.theme-marketplace .lh-value {
    color: #0f1111 !important;
}
.theme-marketplace .tier-bar-wrap {
    background: #d5d9d9 !important;
}
.theme-marketplace .tier-progress-label {
    color: #565959 !important;
}
.theme-marketplace .lp-row {
    background: #f7f7f7 !important;
}
.theme-marketplace .lp-desc {
    color: #0f1111 !important;
}
.theme-marketplace .lp-date {
    color: #565959 !important;
}
.theme-marketplace .earn-tip {
    background: #f7f7f7 !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace .earn-tip .et-lbl {
    color: #565959 !important;
}
.theme-marketplace .ref-code-card {
    background: linear-gradient(135deg, rgba(228,121,17,0.08), rgba(255,183,0,0.04)) !important;
    border-color: rgba(228,121,17,0.3) !important;
}
.theme-marketplace .ref-code-lbl {
    color: #565959 !important;
}
.theme-marketplace .ref-stat {
    background: #fff !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace .ref-stat-lbl {
    color: #565959 !important;
}
.theme-marketplace .act-row {
    background: #f7f7f7 !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace .act-text strong {
    color: #0f1111 !important;
}
.theme-marketplace .act-text span {
    color: #565959 !important;
}
.theme-marketplace .act-date {
    color: #565959 !important;
}
.theme-marketplace .danger-zone {
    border-color: rgba(255,59,92,0.2) !important;
    background: #fff !important;
}
.theme-marketplace .dz-info span {
    color: #565959 !important;
}
.theme-marketplace .tl-dot {
    background: #fff !important;
    border-color: #d5d9d9 !important;
}
.theme-marketplace .tl-label {
    color: #565959 !important;
}
.theme-marketplace .tl-step:not(:last-child)::after {
    background: #d5d9d9 !important;
}
.theme-marketplace .status-pending {
    background: rgba(0,0,0,0.06) !important;
    color: #565959 !important;
}

/* ── ACCOUNT PORTAL — inline style overrides ──────────── */
.theme-marketplace .tab-panel div[style*="color:#fff"],
.theme-marketplace .tab-panel strong[style*="color:#fff"],
.theme-marketplace .tab-panel div[style*="color: #fff"] {
    color: #0f1111 !important;
}
.theme-marketplace .tab-panel div[style*="rgba(255,255,255,.4)"],
.theme-marketplace .tab-panel div[style*="rgba(255,255,255,0.4)"],
.theme-marketplace .tab-panel span[style*="rgba(255,255,255,.4)"],
.theme-marketplace .tab-panel span[style*="rgba(255,255,255,0.4)"],
.theme-marketplace .tab-panel div[style*="rgba(255,255,255,.5)"],
.theme-marketplace .tab-panel div[style*="rgba(255,255,255,0.5)"],
.theme-marketplace .tab-panel div[style*="rgba(255,255,255,.65)"],
.theme-marketplace .tab-panel div[style*="rgba(255,255,255,0.65)"] {
    color: #565959 !important;
}
.theme-marketplace .tab-panel div[style*="background:rgba(255,255,255,.03)"],
.theme-marketplace .tab-panel div[style*="background:rgba(255,255,255,0.03)"],
.theme-marketplace .tab-panel div[style*="background: rgba(255,255,255,.03)"],
.theme-marketplace .tab-panel div[style*="background: rgba(255,255,255,0.03)"] {
    background: #f7f7f7 !important;
}
.theme-marketplace .tab-panel div[style*="border:1px solid rgba(255,255,255,.06)"],
.theme-marketplace .tab-panel div[style*="border:1px solid rgba(255,255,255,0.06)"],
.theme-marketplace .tab-panel div[style*="border-top:1px solid rgba(255,255,255,.06)"],
.theme-marketplace .tab-panel div[style*="border-top:1px solid rgba(255,255,255,0.06)"] {
    border-color: #d5d9d9 !important;
}

/* ── FOOTER BOTTOM BAR — Ukama Axis credit ─────────────── */
.theme-marketplace footer div[style*="text-align: center"] p {
    color: rgba(255,255,255,0.35) !important;
}
.theme-marketplace footer div[style*="text-align: center"] a {
    color: #f0c14b !important;
}

/* ═══════════════════════════════════════════════════════════════════
   SHOP / PDP / QUICKVIEW — Light theme consistency overrides
   Matches the homepage MSN/Amazon merged aesthetic (grey body,
   white cards, slim 1080px column, blue #0078d4 accent).
   ═══════════════════════════════════════════════════════════════════ */

/* ── Shop page header ──────────────────────────────── */
.theme-marketplace .shop-layout { max-width: 1080px !important; padding: 1.25rem 1rem !important; gap: 1.25rem !important; }
.theme-marketplace section.section,
.theme-marketplace [style*="max-width:1280px"],
.theme-marketplace [style*="max-width: 1280px"] { max-width: 1080px !important; }

/* Page header strip on /shop */
.theme-marketplace [style*="Zimbabwe"][style*="#FF6B00"] { color: #0078d4 !important; }
.theme-marketplace .shop-layout ~ * h1,
.theme-marketplace section h1[style*="font-display"] { color: #0f172a !important; }

/* ── Shop sidebar — white card with dark text ─────── */
.theme-marketplace .shop-sidebar .glass {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06) !important;
    border-radius: 12px !important;
    color: #0f172a !important;
}
.theme-marketplace .shop-sidebar h3 { color: #0078d4 !important; }
.theme-marketplace .shop-sidebar label {
    color: #64748b !important;
}

/* Sidebar search input */
.theme-marketplace #sidebar-search-input {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #0f172a !important;
}
.theme-marketplace #sidebar-search-input::placeholder { color: #94a3b8 !important; }
.theme-marketplace #sidebar-search-wrap svg { stroke: #94a3b8 !important; }

/* Search dropdown */
.theme-marketplace #ssb-hints {
    background: #fff !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 12px 32px rgba(15,23,42,0.18) !important;
}
.theme-marketplace .ssb-item { border-bottom-color: #f1f5f9 !important; }
.theme-marketplace .ssb-item:hover { background: #eff6ff !important; }
.theme-marketplace .ssb-name { color: #0f172a !important; }
.theme-marketplace .ssb-cat { color: #64748b !important; }
.theme-marketplace .ssb-price { color: #0078d4 !important; }
.theme-marketplace .ssb-thumb { background: #f1f5f9 !important; border-color: #e5e7eb !important; }
.theme-marketplace .ssb-btn { background: #0078d4 !important; color: #fff !important; }
.theme-marketplace .ssb-footer { background: #f8fafc !important; border-top-color: #e5e7eb !important; }
.theme-marketplace .ssb-footer a { color: #0078d4 !important; }

/* Categories list — fix the white-on-grey issue */
.theme-marketplace .shop-sidebar button[wire\:click*="selectCategory"],
.theme-marketplace .shop-sidebar button[wire\:click*="\\$set('category"] {
    color: #1f2937 !important;
}
.theme-marketplace .shop-sidebar button[wire\:click*="selectCategory"][style*="rgba(255,107,0,0.1)"],
.theme-marketplace .shop-sidebar button[wire\:click*="selectCategory"][style*="#FF6B00"],
.theme-marketplace .shop-sidebar div[style*="rgba(255,107,0,0.1)"] button { color: #0078d4 !important; }
.theme-marketplace .shop-sidebar div[style*="rgba(255,107,0,0.1)"] {
    background: #eff6ff !important;
}
.theme-marketplace .shop-sidebar button[style*="rgba(255,107,0,0.15)"] {
    background: #eff6ff !important;
    color: #0078d4 !important;
}
.theme-marketplace .shop-sidebar div[style*="border-left: 2px solid rgba(255,107,0,0.2)"] {
    border-left-color: #cfe4f7 !important;
}

/* Price range inputs */
.theme-marketplace .shop-sidebar input[type="number"],
.theme-marketplace .shop-sidebar select {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #0f172a !important;
}
.theme-marketplace .shop-sidebar select option { background: #fff !important; color: #0f172a !important; }
.theme-marketplace .shop-sidebar button[wire\:click*="$set('search'"] {
    border-color: #0078d4 !important;
    color: #0078d4 !important;
}

/* ── Category section headers in browse mode ──────── */
.theme-marketplace .shop-cat-header { border-bottom-color: #e5e7eb !important; }
.theme-marketplace .shop-cat-name { color: #0f172a !important; }
.theme-marketplace .shop-cat-count { color: #64748b !important; }
.theme-marketplace .shop-cat-icon {
    background: #eff6ff !important;
    border-color: #cfe4f7 !important;
    color: #0078d4 !important;
}
.theme-marketplace .shop-view-all {
    background: #eff6ff !important;
    border-color: #cfe4f7 !important;
    color: #0078d4 !important;
}
.theme-marketplace .shop-view-all:hover {
    background: #dbeafe !important;
    border-color: #93c5fd !important;
}
.theme-marketplace .shop-see-more-tile {
    background: #fff !important;
    border-color: #cbd5e1 !important;
    color: #64748b !important;
}
.theme-marketplace .shop-see-more-tile:hover {
    border-color: #0078d4 !important;
    color: #0078d4 !important;
    background: #f0f7ff !important;
}

/* Filtered results header */
.theme-marketplace .shop-layout p[style*="color: var(--color-muted)"] { color: #475569 !important; }
.theme-marketplace .shop-layout p strong { color: #0f172a !important; }

/* Empty state */
.theme-marketplace .shop-layout h3[style*="font-display"] { color: #0f172a !important; }

/* Mobile filter button */
.theme-marketplace #mob-filter-btn {
    background: #eff6ff !important;
    border-color: #cfe4f7 !important;
    color: #0078d4 !important;
}

/* Loading indicator */
.theme-marketplace [wire\:loading\.flex] { color: #0078d4 !important; }

/* ── Product card light skin ──────────────────────── */
.theme-marketplace .ppm-card {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06) !important;
}
.theme-marketplace .ppm-card-wrap:hover .ppm-card { border-color: #cbd5e1 !important; box-shadow: 0 8px 20px rgba(15,23,42,0.10) !important; }
.theme-marketplace .ppm-card-wrap::before { background: conic-gradient(from var(--glow-angle, 0deg), transparent 0%, transparent 55%, #0078d4 68%, #60a5fa 76%, #fff 80%, #60a5fa 84%, #0078d4 92%, transparent 100%) !important; }
.theme-marketplace .ppm-cat { color: #0078d4 !important; }
.theme-marketplace .ppm-name { color: #0f172a !important; }
.theme-marketplace .ppm-stars { color: #f59e0b !important; }
.theme-marketplace .ppm-price-val { color: #0f172a !important; }
.theme-marketplace .ppm-price-val--flash { color: #dc2626 !important; }
.theme-marketplace .ppm-add-btn {
    background: #0078d4 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0,120,212,0.35) !important;
}
.theme-marketplace .ppm-add-btn:hover { background: #005a9e !important; box-shadow: 0 4px 12px rgba(0,120,212,0.45) !important; }
.theme-marketplace .ppm-card div[style*="aspect-ratio: 4/3"],
.theme-marketplace .ppm-card div[style*="aspect-ratio:4/3"] { background: #f1f5f9 !important; }
.theme-marketplace .ppm-card div[style*="rgba(255,255,255,0.3)"] { color: #94a3b8 !important; }
.theme-marketplace .ppm-badge { background: #0078d4 !important; color: #fff !important; }
.theme-marketplace .ppm-badge--flash,
.theme-marketplace .ppm-badge--sale { background: #dc2626 !important; }
.theme-marketplace .ppm-badge--oos { background: #475569 !important; color: #fff !important; }
.theme-marketplace .ppm-card .ppm-wl-wrap button,
.theme-marketplace .ppm-card .ppm-wl-wrap form button {
    background: rgba(255,255,255,0.95) !important;
    color: #475569 !important;
    box-shadow: 0 2px 6px rgba(15,23,42,0.15) !important;
}
.theme-marketplace .ppm-card .ppm-wl-wrap button:hover { color: #dc2626 !important; background: #fff !important; }
.theme-marketplace .product-card:hover .qv-btn-wrap button { color: #0f172a !important; }

/* "Get it Today" delivery hint */
.theme-marketplace .ppm-card div[style*="Get it"] { color: #16a34a !important; }

/* ── Quick View modal — light skin ────────────────── */
.theme-marketplace #quickViewModal,
.theme-marketplace [id*="quickview"] [style*="background: #1a1a24"],
.theme-marketplace [id*="quickview"] [style*="background:#1a1a24"] { background: #fff !important; }

.theme-marketplace #quickViewBody {
    background: #fff !important;
    color: #0f172a !important;
    border-radius: 14px !important;
}
.theme-marketplace #quickViewBody h2 { color: #0f172a !important; }
.theme-marketplace #quickViewBody p { color: #475569 !important; }
.theme-marketplace #quickViewBody div[style*="color: #FF6B00"][style*="text-transform: uppercase"] { color: #0078d4 !important; }
.theme-marketplace #quickViewBody span[style*="#FF6B00"][style*="font-size: 1.75rem"] { color: #0f172a !important; }
.theme-marketplace #quickViewBody span[style*="text-decoration: line-through"] { color: #94a3b8 !important; }
.theme-marketplace #quickViewBody div[style*="aspect-ratio: 1"] { background: #f1f5f9 !important; }
.theme-marketplace #quickViewBody div[style*="rgba(255,255,255,0.04)"] {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
}
.theme-marketplace #quickViewBody div[style*="rgba(0,120,212,0.1)"] {
    background: #eff6ff !important;
    border-color: #cfe4f7 !important;
}
.theme-marketplace #quickViewBody div[style*="rgba(0,120,212,0.1)"] span[style*="color: var(--color-muted)"] { color: #475569 !important; }
.theme-marketplace #quickViewBody button[onclick*="addToCart"] {
    background: #0078d4 !important;
    color: #fff !important;
}
.theme-marketplace #quickViewBody button[onclick*="addToCart"]:hover { background: #005a9e !important; }
.theme-marketplace #quickViewBody a[href*="/shop/"] {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #475569 !important;
}
.theme-marketplace #quickViewBody a[href*="/shop/"]:hover { border-color: #0078d4 !important; color: #0078d4 !important; }
.theme-marketplace #quickViewBody span[style*="color: rgba(255,255,255,0.35)"] { color: #94a3b8 !important; }
.theme-marketplace #quickViewBody span[style*="color: var(--color-muted)"] { color: #64748b !important; }

/* QV close & wrapper */
.theme-marketplace #quickViewWrap { background: rgba(15,23,42,0.55) !important; backdrop-filter: blur(4px); }
.theme-marketplace #quickViewClose,
.theme-marketplace [onclick="closeQuickView()"] {
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(15,23,42,0.15) !important;
}

/* ── Product Detail Page (PDP) — light skin ───────── */
.theme-marketplace .product-detail-grid { max-width: 1080px !important; margin-left: auto !important; margin-right: auto !important; gap: 2.5rem !important; }
.theme-marketplace .product-detail-grid > div {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.theme-marketplace .product-detail-grid > div:first-child { background: transparent; border: none; padding: 0; box-shadow: none; }
.theme-marketplace .product-detail-grid h1 { color: #0f172a !important; }

/* Breadcrumb */
.theme-marketplace [style*="max-width: 1280px"] > div[style*="Breadcrumb"],
.theme-marketplace [style*="max-width:1280px"] > div:first-child a { color: #64748b !important; }
.theme-marketplace [style*="color: #f5f5fa"] { color: #0f172a !important; }

/* PDP image */
.theme-marketplace #main-img { background: #f1f5f9; }
.theme-marketplace .pdp-glow-outer > div[style*="background: #1a1a24"],
.theme-marketplace div[style*="background: #1a1a24"] { background: #f1f5f9 !important; }
.theme-marketplace .thumb-btn { border-color: #e5e7eb !important; }
.theme-marketplace .thumb-btn[style*="#FF6B00"] { border-color: #0078d4 !important; }

/* PDP category eyebrow */
.theme-marketplace .product-detail-grid div[style*="color: #FF6B00"][style*="text-transform: uppercase"] { color: #0078d4 !important; }

/* PDP price */
.theme-marketplace .product-detail-grid span[style*="font-size: 2.25rem"][style*="#FF6B00"] { color: #0f172a !important; }
.theme-marketplace .product-detail-grid span[style*="font-size: 2.25rem"][style*="#ff3b5c"] { color: #dc2626 !important; }

/* PDP rating row */
.theme-marketplace .product-detail-grid .stars { color: #f59e0b !important; }

/* International badge */
.theme-marketplace div[style*="rgba(0,120,212,0.08)"] {
    background: #eff6ff !important;
    border-color: #cfe4f7 !important;
}

/* Compare button */
.theme-marketplace #compare-btn-1, .theme-marketplace [id^="compare-btn-"] {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #475569 !important;
}
.theme-marketplace [id^="compare-btn-"]:hover { border-color: #0078d4 !important; color: #0078d4 !important; }

/* PDP all generic muted text */
.theme-marketplace .product-detail-grid [style*="var(--color-muted)"] { color: #64748b !important; }
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.6)"],
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.55)"],
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.5)"],
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.45)"],
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.35)"],
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.3)"],
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.25)"] { color: #64748b !important; }
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.92)"],
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.9)"],
.theme-marketplace .product-detail-grid [style*="#f5f0ea"],
.theme-marketplace .product-detail-grid [style*="#f0f0fa"],
.theme-marketplace .product-detail-grid [style*="color:#fff"],
.theme-marketplace .product-detail-grid [style*="color: #fff"] { color: #0f172a !important; }

/* PDP white-on-light card backgrounds */
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.04)"],
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.05)"],
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.03)"] {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #0f172a !important;
}
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.08)"],
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.1)"],
.theme-marketplace .product-detail-grid [style*="rgba(255,255,255,0.15)"] {
    border-color: #e5e7eb !important;
}

/* Add-to-cart buttons on PDP */
.theme-marketplace .product-detail-grid button[style*="#FF6B00"] {
    background: #0078d4 !important;
    color: #fff !important;
}
.theme-marketplace .product-detail-grid button[style*="#FF6B00"]:hover { background: #005a9e !important; }

/* Tabs / sections below PDP */
.theme-marketplace .tab-btn { color: #475569 !important; }
.theme-marketplace .tab-btn.active { color: #0078d4 !important; border-bottom-color: #0078d4 !important; }
.theme-marketplace .tab-panel { color: #1f2937 !important; }
.theme-marketplace .tab-panel h2, .theme-marketplace .tab-panel h3, .theme-marketplace .tab-panel h4 { color: #0f172a !important; }

/* ── Pagination ───────────────────────────────────── */
.theme-marketplace .pagination, .theme-marketplace nav[role="navigation"] svg { color: #475569; }
.theme-marketplace nav[role="navigation"] a, .theme-marketplace nav[role="navigation"] span {
    color: #475569 !important;
}
.theme-marketplace nav[role="navigation"] [aria-current="page"] {
    background: #0078d4 !important;
    color: #fff !important;
}

/* Body color for marketplace - nudge to grey to match home */
body.theme-marketplace { background: #e9ecef !important; }

/* ═══════════════════════════════════════════════════════════
   VISIBILITY SWEEP — fix white-on-white text in marketplace
   Added: side-cart subtotal/footer, generic transparent cards
   ═══════════════════════════════════════════════════════════ */

/* Side-cart footer (cart-pf) — labels were rgba(255,255,255,…) → invisible */
.theme-marketplace #cart-pf span[style*="color:rgba(255,255,255"],
.theme-marketplace #cart-pf p[style*="color:rgba(255,255,255"] {
    color: #565959 !important;
}
.theme-marketplace #cart-pf a[style*="color:rgba(255,255,255"] {
    color: #007185 !important;
}

/* Subtotal pill — keep dark-red bg with bold white text on top */
.theme-marketplace #cart-total {
    background: #b12704 !important;
    color: #fff !important;
    padding: 0.2rem 0.8rem !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 6px rgba(177,39,4,0.25) !important;
    font-family: 'DM Sans', Arial, sans-serif !important;
}

/* Cart header count text */
.theme-marketplace #cart-ph #cart-hdr-count,
.theme-marketplace #cart-ph p[style*="color:rgba(255,255,255"] {
    color: #565959 !important;
}
.theme-marketplace #cart-ph h2 { color: #0f1111 !important; }

/* Cart panel must sit above the floating WhatsApp / scroll-to-top buttons */
.theme-marketplace #cart-panel { z-index: 10000 !important; }
.theme-marketplace #cart-overlay { z-index: 9999 !important; }

/* Generic sweep: any element inside a marketplace card whose inline color
   is a low-alpha white becomes a readable dark grey. Uses attribute matching
   so it works on dynamically rendered Blade markup without per-view edits. */
.theme-marketplace [style*="color: rgba(255,255,255"],
.theme-marketplace [style*="color:rgba(255,255,255"],
.theme-marketplace [style*="color: rgba(255, 255, 255"] {
    color: #0f1111 !important;
}
/* …but keep WHITE text where it is intentional: dark headers/buttons */
.theme-marketplace #main-nav [style*="color:rgba(255,255,255"],
.theme-marketplace #main-nav [style*="color: rgba(255,255,255"],
.theme-marketplace #promo-strip [style*="color:rgba(255,255,255"],
.theme-marketplace #promo-strip [style*="color: rgba(255,255,255"],
.theme-marketplace .ppm-footer [style*="color:rgba(255,255,255"],
.theme-marketplace #cart-total,
.theme-marketplace [class*="badge"] [style*="color:rgba(255,255,255"],
.theme-marketplace button[style*="background:#"][style*="color:#fff"] {
    color: inherit !important;
}

/* Transparent / glassmorphism cards → solid white with subtle border */
.theme-marketplace [style*="background: rgba(255,255,255,0.0"],
.theme-marketplace [style*="background:rgba(255,255,255,0.0"],
.theme-marketplace [style*="background: rgba(255,255,255,0.1"],
.theme-marketplace [style*="background:rgba(255,255,255,0.1"],
.theme-marketplace [style*="backdrop-filter"] {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Inputs that used translucent white bg */
.theme-marketplace input[style*="background: rgba(255,255,255"],
.theme-marketplace input[style*="background:rgba(255,255,255"],
.theme-marketplace textarea[style*="background:rgba(255,255,255"],
.theme-marketplace select[style*="background:rgba(255,255,255"] {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
}

/* ── Product Q&A section (light theme overrides) ───────────────────────── */
.theme-marketplace #qa-form {
    background: #ffffff !important;
    border: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.theme-marketplace #qa-form h3 {
    color: #0f1111 !important;
}
.theme-marketplace #qa-form label {
    color: #565959 !important;
}
.theme-marketplace #qa-form input[type="text"],
.theme-marketplace #qa-form input[type="email"],
.theme-marketplace #qa-form textarea {
    background: #ffffff !important;
    border: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
}
.theme-marketplace #qa-form input[type="text"]::placeholder,
.theme-marketplace #qa-form input[type="email"]::placeholder,
.theme-marketplace #qa-form textarea::placeholder {
    color: #767676 !important;
}
.theme-marketplace #qa-form input[type="text"]:focus,
.theme-marketplace #qa-form input[type="email"]:focus,
.theme-marketplace #qa-form textarea:focus {
    border-color: #0078d4 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0,120,212,0.15) !important;
}
.theme-marketplace #qa-form button[type="submit"] {
    background: #0078d4 !important;
    color: #ffffff !important;
}
.theme-marketplace .qa-card {
    background: #ffffff !important;
    border: 1px solid #d5d9d9 !important;
    color: #0f1111 !important;
}
.theme-marketplace .qa-q {
    color: #0f1111 !important;
}
.theme-marketplace .qa-a {
    color: #565959 !important;
    border-left-color: #0078d4 !important;
}
/* Empty-state "No questions yet" panel */
.theme-marketplace section > div[style*="background:#111"][style*="No questions"],
.theme-marketplace section div[style*="background:#111"][style*="text-align:center"] {
    background: #ffffff !important;
    border: 1px solid #d5d9d9 !important;
    color: #565959 !important;
}
