/**
 * Light theme - loaded after app / shop / landing CSS.
 * Activated via html[data-bs-theme="light"] (Site settings).
 */

/* ========== App shell (body.ts-body) ========== */
html[data-bs-theme="light"] body.ts-body {
    color-scheme: light;
    --ts-body: #1a1b1e;
    --ts-muted: rgba(0, 0, 0, 0.58);
    --ts-surface: #f0f2f5;
    --ts-elevated: #ffffff;
    --ts-elevated-2: #f8f9fa;
    --ts-border: rgba(0, 0, 0, 0.12);
    --bs-body-bg: var(--ts-surface);
    --bs-body-color: var(--ts-body);
    --bs-heading-color: #111827;
    --bs-emphasis-color: #000;
    --bs-border-color: var(--ts-border);
    --bs-secondary-color: var(--ts-muted);
    --bs-tertiary-bg: var(--ts-elevated-2);
    --bs-card-bg: var(--ts-elevated);
    --bs-card-border-color: var(--ts-border);
    --bs-list-group-bg: var(--ts-elevated);
    --bs-list-group-border-color: var(--ts-border);
    --bs-list-group-color: var(--ts-body);
    --bs-dropdown-bg: #ffffff;
    --bs-dropdown-border-color: rgba(0, 0, 0, 0.15);
    --bs-dropdown-link-color: #1a1b1e;
    --bs-dropdown-link-hover-color: #000;
    --bs-dropdown-link-hover-bg: rgba(var(--ts-accent-rgb), 0.18);
    --bs-dropdown-header-color: #495057;
    --bs-table-bg: var(--ts-elevated);
    --bs-table-color: var(--ts-body);
    --bs-table-border-color: rgba(0, 0, 0, 0.12);
    --bs-form-control-bg: #ffffff;
    --bs-form-control-color: #1a1b1e;
    --bs-form-control-border-color: rgba(0, 0, 0, 0.2);
    --bs-form-select-bg: #ffffff;
    --bs-form-select-color: #1a1b1e;
    --bs-link-color: #2d6a00;
    --bs-link-hover-color: #1f4700;
    background-color: var(--ts-surface);
    color: var(--ts-body);
}

html[data-bs-theme="light"] body.ts-body .text-muted {
    color: rgba(0, 0, 0, 0.58) !important;
}

html[data-bs-theme="light"] body.ts-body .ts-card-link:hover {
    color: #000;
}

html[data-bs-theme="light"] body.ts-body mark,
html[data-bs-theme="light"] body.ts-body .mark {
    background-color: #fff3cd;
    color: #664d03;
}

html[data-bs-theme="light"] body.ts-body strong {
    color: #111827;
}

/* ========== Navbar (light variant) ========== */
html[data-bs-theme="light"] .ts-topnav-light .navbar-nav .nav-link {
    color: #1a1b1e !important;
}

html[data-bs-theme="light"] .ts-topnav-light .navbar-nav .nav-link:hover,
html[data-bs-theme="light"] .ts-topnav-light .navbar-nav .nav-link:focus {
    color: #000 !important;
}

html[data-bs-theme="light"] .ts-topnav-light .ts-nav-icon-btn {
    color: #2d6a00 !important;
}

html[data-bs-theme="light"] .ts-topnav-light .ts-nav-user-menu-btn.btn-outline-secondary {
    --bs-btn-color: #1a1b1e;
    --bs-btn-border-color: rgba(0, 0, 0, 0.28);
    color: #1a1b1e !important;
    border-color: rgba(0, 0, 0, 0.28) !important;
    background-color: transparent;
}

html[data-bs-theme="light"] .ts-topnav-light .ts-nav-user-menu-btn.btn-outline-secondary:hover,
html[data-bs-theme="light"] .ts-topnav-light .ts-nav-user-menu-btn.btn-outline-secondary:focus {
    color: #000 !important;
    background-color: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.45) !important;
}

html[data-bs-theme="light"] .ts-topnav-light .ts-nav-user-menu-btn .ts-nav-user-name {
    color: inherit;
}

html[data-bs-theme="light"] .ts-topnav-mobile {
    border-bottom-color: rgba(0, 0, 0, 0.1);
    padding-top: max(0.35rem, env(safe-area-inset-top, 0px));
    padding-bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
}

html[data-bs-theme="light"] .ts-brand-logo {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

/* Brand wordmark on light backgrounds (shop nav + landing topbar) */
html[data-bs-theme="light"] .ts-topnav-light .ts-brand-wm-t,
html[data-bs-theme="light"] .ts-topnav-light .ts-brand-wordmark--nav .ts-brand-wm-t,
html.ts-landing-html[data-bs-theme="light"] .ts-land-topbar--light .ts-brand-wm-t {
    color: #0d1117 !important;
    text-shadow: none !important;
}

html[data-bs-theme="light"] .ts-topnav-light .ts-brand-wm-mid,
html[data-bs-theme="light"] .ts-topnav-light .ts-brand-wordmark--nav .ts-brand-wm-mid,
html.ts-landing-html[data-bs-theme="light"] .ts-land-topbar--light .ts-brand-wm-mid {
    color: #5c6674 !important;
    text-shadow: none !important;
}

html[data-bs-theme="light"] .ts-topnav-light .ts-brand-wm-s,
html[data-bs-theme="light"] .ts-topnav-light .ts-brand-wordmark--nav .ts-brand-wm-s,
html.ts-landing-html[data-bs-theme="light"] .ts-land-topbar--light .ts-brand-wm-s {
    color: #2d6a00 !important;
    text-shadow: none !important;
}

/* ========== Dropdowns ========== */
html[data-bs-theme="light"] .dropdown-menu {
    background-color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12);
}

html[data-bs-theme="light"] .dropdown-item {
    color: #1a1b1e !important;
}

html[data-bs-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus {
    background-color: rgba(var(--ts-accent-rgb), 0.15) !important;
    color: #000 !important;
}

html[data-bs-theme="light"] .dropdown-header {
    color: #495057 !important;
}

html[data-bs-theme="light"] .dropdown-item.text-muted,
html[data-bs-theme="light"] .dropdown-item .text-muted {
    color: #5c636a !important;
}

html[data-bs-theme="light"] .dropdown-divider {
    border-top-color: rgba(0, 0, 0, 0.12) !important;
}

/* ========== Buttons that assumed dark UI ========== */
html[data-bs-theme="light"] .btn-outline-light {
    color: #1a1b1e !important;
    border-color: rgba(0, 0, 0, 0.35) !important;
    background-color: transparent;
}

html[data-bs-theme="light"] .btn-outline-light:hover {
    color: #000 !important;
    background-color: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.5) !important;
}

html[data-bs-theme="light"] .btn-outline-secondary {
    color: #1a1b1e;
    border-color: rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="light"] .btn-outline-secondary:hover {
    color: #000;
    background-color: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.45);
}

/* Theme toggle + similar button-groups on Site settings */
html[data-bs-theme="light"] .btn-check + .btn-outline-secondary {
    color: #1a1b1e;
    border-color: rgba(0, 0, 0, 0.35);
}

html[data-bs-theme="light"] .btn-check:checked + .btn-outline-secondary {
    background-color: rgba(var(--ts-accent-rgb), 0.14);
    border-color: #3d8200;
    color: #1f4d00;
}

html[data-bs-theme="light"] .btn-check:checked + .btn-outline-secondary:hover {
    background-color: rgba(var(--ts-accent-rgb), 0.22);
    border-color: #2d6a00;
    color: #0f2e00;
}

/* ========== Alerts & flash ========== */
html[data-bs-theme="light"] .alert-success {
    --bs-alert-bg: #d1e7dd;
    --bs-alert-color: #0a3622;
    --bs-alert-border-color: #a3cfbb;
    color: var(--bs-alert-color);
}

html[data-bs-theme="light"] .alert-info {
    --bs-alert-bg: #cff4fc;
    --bs-alert-color: #055160;
    --bs-alert-border-color: #9eeaf9;
    color: var(--bs-alert-color);
}

html[data-bs-theme="light"] .alert-warning {
    --bs-alert-bg: #fff3cd;
    --bs-alert-color: #664d03;
    --bs-alert-border-color: #ffecb5;
    color: var(--bs-alert-color);
}

html[data-bs-theme="light"] .alert-danger {
    --bs-alert-bg: #f8d7da;
    --bs-alert-color: #58151c;
    --bs-alert-border-color: #f1aeb5;
    color: var(--bs-alert-color);
}

html[data-bs-theme="light"] .alert .btn-close {
    filter: none;
    opacity: 0.65;
}

/* ========== Footer ========== */
html[data-bs-theme="light"] .ts-footer.mt-auto {
    background: linear-gradient(180deg, #f1f3f5 0%, #e4e8ec 100%) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #212529 !important;
}

html[data-bs-theme="light"] .ts-footer .text-white-50,
html[data-bs-theme="light"] .ts-footer.text-light {
    color: rgba(0, 0, 0, 0.62) !important;
}

html[data-bs-theme="light"] .ts-footer .ts-footer-tagline {
    color: #495057 !important;
}

html[data-bs-theme="light"] .ts-footer .ts-footer-link {
    color: #0b4f6c !important;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

html[data-bs-theme="light"] .ts-footer .ts-footer-link:hover {
    color: #062f42 !important;
    border-bottom-color: rgba(11, 79, 108, 0.35);
}

html[data-bs-theme="light"] .ts-footer .ts-footer-copy {
    color: #495057 !important;
}

html[data-bs-theme="light"] .ts-footer .ts-brand-wordmark--footer .ts-brand-wm-t,
html[data-bs-theme="light"] .ts-footer .ts-brand-wordmark--micro .ts-brand-wm-t {
    color: #0d1117 !important;
    text-shadow: none !important;
}

html[data-bs-theme="light"] .ts-footer .ts-brand-wordmark--footer .ts-brand-wm-mid,
html[data-bs-theme="light"] .ts-footer .ts-brand-wordmark--micro .ts-brand-wm-mid {
    color: #5c6770 !important;
    text-shadow: none !important;
}

html[data-bs-theme="light"] .ts-footer .ts-brand-wordmark--footer .ts-brand-wm-s,
html[data-bs-theme="light"] .ts-footer .ts-brand-wordmark--micro .ts-brand-wm-s {
    color: #2d6a00 !important;
    text-shadow: none !important;
}

html[data-bs-theme="light"] .ts-footer a.text-white-50 {
    color: #0b4f6c !important;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

html[data-bs-theme="light"] .ts-footer a.text-white-50:hover {
    color: #062f42 !important;
    border-bottom-color: rgba(11, 79, 108, 0.35);
}

/* ========== Mobile drawer ========== */
html[data-bs-theme="light"] .ts-offcanvas-light {
    background: var(--bs-body-bg) !important;
    border-right: 1px solid var(--bs-border-color) !important;
}

html[data-bs-theme="light"] .ts-offcanvas-light .offcanvas-title {
    color: #111827;
}

html[data-bs-theme="light"] .ts-offcanvas-light .border-secondary {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

html[data-bs-theme="light"] .ts-offcanvas-light .text-muted {
    color: rgba(0, 0, 0, 0.55) !important;
}

html[data-bs-theme="light"] .ts-offcanvas-light .ts-oc-link {
    color: #1a1b1e !important;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-bs-theme="light"] .ts-offcanvas-light .ts-oc-link:hover,
html[data-bs-theme="light"] .ts-offcanvas-light .ts-oc-link:focus-visible {
    background: rgba(var(--ts-accent-rgb), 0.18);
    border-color: rgba(var(--ts-accent-rgb), 0.45);
    color: #000 !important;
}

html[data-bs-theme="light"] .ts-offcanvas-light .ts-oc-ic {
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-offcanvas-light .ts-oc-account-link {
    color: #1a1b1e !important;
    background: rgba(var(--ts-accent-rgb), 0.08);
    border-color: rgba(var(--ts-accent-rgb), 0.25);
}

html[data-bs-theme="light"] .ts-offcanvas-light .ts-oc-account-link:hover,
html[data-bs-theme="light"] .ts-offcanvas-light .ts-oc-account-link:focus-visible {
    background: rgba(var(--ts-accent-rgb), 0.16);
    color: #000 !important;
}

html[data-bs-theme="light"] .ts-offcanvas-light .ts-oc-account-name {
    color: #111827;
}

html[data-bs-theme="light"] .ts-offcanvas-light .ts-oc-account-label {
    color: rgba(0, 0, 0, 0.5) !important;
}

html[data-bs-theme="light"] .ts-offcanvas-light .ts-oc-account-chevron {
    color: rgba(0, 0, 0, 0.35);
}

/* ========== Cookie consent bar ========== */
html[data-bs-theme="light"] .ts-cookie-consent {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-cookie-consent .text-white,
html[data-bs-theme="light"] .ts-cookie-consent .text-white-50 {
    color: #1a1b1e !important;
}

html[data-bs-theme="light"] .ts-cookie-consent .text-white-50 strong {
    color: #000 !important;
}

html[data-bs-theme="light"] .ts-cookie-consent .btn-outline-light {
    color: #1a1b1e !important;
    background: #fff;
    border-color: rgba(0, 0, 0, 0.35) !important;
}

html[data-bs-theme="light"] .ts-cookie-consent .btn-outline-light:hover {
    background: #f1f3f5;
    color: #000 !important;
}

html[data-bs-theme="light"] .ts-cookie-consent .btn-outline-secondary {
    color: #1a1b1e !important;
    background: #fff;
    border-color: rgba(0, 0, 0, 0.3) !important;
}

html[data-bs-theme="light"] .ts-cookie-consent .btn-outline-secondary:hover {
    background: #e9ecef;
}

html[data-bs-theme="light"] .ts-cookie-consent .btn-primary {
    font-weight: 600;
}

/* ========== Shop page ========== */
html[data-bs-theme="light"] .ts-shop-search {
    --ts-shop-search-bg: #ffffff;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-shop-search:focus-within {
    border-color: rgba(var(--ts-accent-rgb), 0.45);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 0.2rem rgba(var(--ts-accent-rgb), 0.22);
}

html[data-bs-theme="light"] .ts-shop-search .form-control {
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-shop-search .form-control::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

html[data-bs-theme="light"] .ts-cat-item {
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-cat-item small {
    color: rgba(0, 0, 0, 0.72);
}

html[data-bs-theme="light"] .ts-cat-item .ts-cat-icon-ring {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(var(--ts-accent-rgb), 0.45);
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-cat-item.ts-cat-active .ts-cat-icon-ring {
    background: var(--ts-selected-bg);
    border-color: var(--ts-active-border);
}

html[data-bs-theme="light"] .ts-shop-section-title {
    color: #111827;
}

html[data-bs-theme="light"] .ts-shop-see-all {
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-shop-see-all:hover {
    color: #1a4000;
}

html[data-bs-theme="light"] .ts-rail-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-rail-card .card-title,
html[data-bs-theme="light"] .ts-rail-title {
    color: #1a1b1e !important;
}

html[data-bs-theme="light"] .ts-rail-price {
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-shop-cta {
    background: radial-gradient(ellipse 90% 80% at 70% 50%, rgba(var(--ts-accent-rgb), 0.12) 0%, transparent 55%),
        linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

html[data-bs-theme="light"] .ts-shop-cta .text-white,
html[data-bs-theme="light"] .ts-shop-cta h2,
html[data-bs-theme="light"] .ts-shop-cta p {
    color: #1a1b1e !important;
}

html[data-bs-theme="light"] .ts-shop-cta .text-muted {
    color: rgba(0, 0, 0, 0.58) !important;
}

html[data-bs-theme="light"] .ts-shop-cta-dismiss {
    color: rgba(0, 0, 0, 0.55);
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-bs-theme="light"] .ts-shop-cta-dismiss:hover,
html[data-bs-theme="light"] .ts-shop-cta-dismiss:focus-visible {
    color: #1a1b1e;
    background: rgba(var(--ts-accent-rgb), 0.12);
    border-color: rgba(var(--ts-accent-rgb), 0.35);
}

html[data-bs-theme="light"] .ts-shop-cta-lead {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ========== Checkout overlay & pay options ========== */
html[data-bs-theme="light"] .ts-checkout-overlay {
    background: rgba(248, 249, 250, 0.96);
}

html[data-bs-theme="light"] .ts-checkout-overlay .text-white,
html[data-bs-theme="light"] .ts-checkout-overlay .lead {
    color: #111827 !important;
}

html[data-bs-theme="light"] .ts-checkout-overlay .text-white-50 {
    color: rgba(0, 0, 0, 0.55) !important;
}

html[data-bs-theme="light"] .ts-pay-option.is-selected,
html[data-bs-theme="light"] .ts-del-option.is-selected {
    border-color: var(--ts-selected-border) !important;
    background: var(--ts-selected-bg);
    color: var(--ts-selected-text);
}

/* ========== Landing (marketing) ========== */
html.ts-landing-html[data-bs-theme="light"] {
    --ts-land-trade-surface: #f5f6f8;
}

html.ts-landing-html[data-bs-theme="light"] body.ts-landing-body {
    background: #eef1f4;
    color: #1a1b1e;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-hero {
    padding-bottom: 0;
    border-bottom: none;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-hero::before {
    background: linear-gradient(
        180deg,
        #dddddd 0%,
        #e4e7eb 11%,
        #e8eaed 20%,
        #eceef1 30%,
        #f0f1f3 42%,
        #f4f5f7 54%,
        #f6f7f9 66%,
        #f8f9fa 78%,
        var(--ts-land-trade-surface) 92%,
        var(--ts-land-trade-surface) 100%
    );
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-neighbourhoods {
    margin-top: -2.75rem;
    border-top: none;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-panel {
    margin-top: 0;
    padding-top: clamp(2.75rem, 5vw, 3.75rem);
    background: linear-gradient(180deg, #e9ecef 0%, var(--ts-land-trade-surface) 100%);
    border-top: none;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-cta-final {
    border-top: none;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-topbar.ts-land-topbar--light {
    background: rgba(255, 255, 255, 0.52);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

html.ts-landing-html[data-bs-theme="light"] .ts-beta-land-strip {
    color: rgba(26, 27, 30, 0.78);
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(0, 0, 0, 0.1);
}

html.ts-landing-html[data-bs-theme="light"] .ts-beta-land-info-btn {
    color: rgba(0, 0, 0, 0.55);
    background: rgba(0, 0, 0, 0.06);
}

html.ts-landing-html[data-bs-theme="light"] .ts-beta-land-info-btn:hover,
html.ts-landing-html[data-bs-theme="light"] .ts-beta-land-info-btn:focus-visible {
    color: #2d6a00;
    background: rgba(var(--ts-accent-rgb), 0.12);
}

html.ts-landing-html[data-bs-theme="light"] .ts-beta-land-tip {
    color: #1a1b1e;
    background: #fff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-mobile-register-lead {
    color: rgba(26, 27, 30, 0.68);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-bg {
    background-color: #dddddd;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-bg-stack--light .ts-land-hero-bg-img {
    filter: none;
    object-position: 34% 30%;
    transform: scale(1.03);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-visual::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.45) 62%, rgba(255, 255, 255, 0.12) 78%, transparent 88%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 36%, transparent 68%, rgba(245, 246, 248, 0.62) 100%);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-bg::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 28%, transparent 72%, rgba(245, 246, 248, 0.5) 100%),
        radial-gradient(ellipse 80% 70% at 88% 36%, rgba(var(--ts-accent-rgb), 0.1) 0%, transparent 52%);
    animation: none;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-copy .ts-land-lead {
    position: relative;
    color: rgba(17, 24, 39, 0.88);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-copy .ts-land-lead::before {
    content: '';
    position: absolute;
    left: -0.65rem;
    right: -0.65rem;
    top: -0.35rem;
    bottom: -0.35rem;
    z-index: -1;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
}

@media (max-width: 767.98px) {
    html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-visual::before {
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0.35) 72%, transparent 90%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, transparent 38%, transparent 70%, rgba(245, 246, 248, 0.68) 100%);
    }

    html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-bg::after {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, transparent 32%, transparent 70%, rgba(245, 246, 248, 0.55) 100%),
            radial-gradient(ellipse 90% 70% at 30% 40%, rgba(var(--ts-accent-rgb), 0.08) 0%, transparent 52%);
    }

    html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-bg-stack--light .ts-land-hero-bg-img {
        object-position: left 44%;
        transform: scale(1.08);
    }
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-title,
html.ts-landing-html[data-bs-theme="light"] .ts-land-brand-mark,
html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-side-card-title,
html.ts-landing-html[data-bs-theme="light"] .ts-land-point h3 {
    color: #111827 !important;
    text-shadow: none;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-title-accent {
    color: #2d6a00 !important;
    text-shadow: none;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-kicker {
    color: #2d6a00;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-subline {
    color: #2d6a00;
    text-shadow: none;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-lead,
html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-side-card-text,
html.ts-landing-html[data-bs-theme="light"] .ts-land-point p {
    color: rgba(0, 0, 0, 0.72) !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-side-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-hero-highlight {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(var(--ts-accent-rgb), 0.35);
    color: #1a1b1e;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-point {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-section {
    color: #1a1b1e;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-section .text-white,
html.ts-landing-html[data-bs-theme="light"] .ts-land-section h2,
html.ts-landing-html[data-bs-theme="light"] .ts-land-section h3,
html.ts-landing-html[data-bs-theme="light"] .ts-land-section p {
    color: inherit;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-card,
html.ts-landing-html[data-bs-theme="light"] .ts-land-nhood-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #1a1b1e;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-card .text-muted,
html.ts-landing-html[data-bs-theme="light"] .ts-land-nhood-card .text-muted {
    color: rgba(0, 0, 0, 0.58) !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-footer {
    background: #e2e6ea;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #343a40;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-footer .text-white-50 {
    color: rgba(0, 0, 0, 0.6) !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-footer .ts-footer-credit {
    color: rgba(0, 0, 0, 0.55);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-footer .ts-footer-credit-name {
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-footer-build,
html.ts-landing-html[data-bs-theme="light"] .ts-footer-build {
    color: rgba(0, 0, 0, 0.45);
}

/* Landing primary / outline buttons on light sections */
html.ts-landing-html[data-bs-theme="light"] .btn-outline-light {
    color: #1a1b1e !important;
    border-color: rgba(0, 0, 0, 0.35) !important;
    background: rgba(255, 255, 255, 0.85);
}

html.ts-landing-html[data-bs-theme="light"] .btn-outline-light:hover {
    background: #fff;
    color: #000 !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-btn-primary {
    box-shadow: 0 2px 12px rgba(var(--ts-accent-rgb), 0.25);
}

/* Landing: utility text on dark-art sections */
html.ts-landing-html[data-bs-theme="light"] .text-white-50 {
    color: rgba(0, 0, 0, 0.62) !important;
}

html.ts-landing-html[data-bs-theme="light"] .text-white {
    color: #111827 !important;
}

html.ts-landing-html[data-bs-theme="light"] .btn-link.text-white-50 {
    color: #2d6a00 !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-points-heading {
    color: #111827 !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-points-heading-accent {
    color: #2d6a00 !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-points-heading::after {
    background: #2d6a00;
    box-shadow: 0 0 10px rgba(var(--ts-accent-rgb), 0.25);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-trust-strip {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-trust-item strong {
    color: #111827;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-trust-item span {
    color: rgba(0, 0, 0, 0.58);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-neighbourhoods::after {
    background: linear-gradient(180deg, transparent 0%, rgba(233, 236, 239, 0.65) 50%, #e9ecef 100%);
}

/* Neighbourhoods + trade background art */
html.ts-landing-html[data-bs-theme="light"] .ts-land-neighbourhoods {
    color: #1a1b1e;
    border-top-color: rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-trade-bg {
    background: var(--ts-land-trade-surface);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-trade-bg-img--light {
    opacity: 1;
    filter: none;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-trade-scrim {
    background:
        linear-gradient(
            180deg,
            var(--ts-land-trade-surface) 0%,
            var(--ts-land-trade-surface) 8%,
            rgba(255, 255, 255, 0.5) 22%,
            rgba(255, 255, 255, 0.12) 55%,
            rgba(255, 255, 255, 0.5) 88%,
            #e9ecef 100%
        ),
        linear-gradient(100deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0.08) 100%);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-nhood-title {
    color: #111827 !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-nhood-lead,
html.ts-landing-html[data-bs-theme="light"] .ts-land-nhood-body {
    color: rgba(0, 0, 0, 0.74) !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-nhood-social-text {
    color: #1a1b1e !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-feature-tile {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-feature-tile-kicker {
    color: rgba(0, 0, 0, 0.55) !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-feature-tile-desc {
    color: rgba(0, 0, 0, 0.72) !important;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-feature-tile-title {
    color: #2d6a00 !important;
}

/* Panel band */
html.ts-landing-html[data-bs-theme="light"] .ts-land-panel {
    background: #e9ecef;
    color: #1a1b1e;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-panel .ts-land-card {
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Final CTA section */
html.ts-landing-html[data-bs-theme="light"] .ts-land-cta-final {
    color: #1a1b1e;
    border-top-color: rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-ready-bg {
    background: var(--ts-land-trade-surface);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-ready-bg-img--light {
    opacity: 1;
    filter: none;
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-ready-scrim {
    background:
        linear-gradient(
            180deg,
            #e9ecef 0%,
            rgba(255, 255, 255, 0.5) 14%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.5) 100%
        ),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.18) 55%, rgba(255, 255, 255, 0.06) 100%);
}

html.ts-landing-html[data-bs-theme="light"] .ts-land-ready-lead {
    color: rgba(0, 0, 0, 0.72) !important;
}

/* ========== Tables (seller hub, admin) ========== */
html[data-bs-theme="light"] .table-bordered {
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #1a1b1e;
}

html[data-bs-theme="light"] .table-bordered td,
html[data-bs-theme="light"] .table-bordered th {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

html[data-bs-theme="light"] thead.table-light th {
    background-color: #e9ecef !important;
    color: #212529 !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

/* ========== Listing cards on shop grid ========== */
html[data-bs-theme="light"] .ts-listing-card:not(.ts-shop-listing-card) .card-body,
html[data-bs-theme="light"] .ts-listing-card:not(.ts-shop-listing-card) .card-title {
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-shop-listing-card .ts-shop-listing-card {
    background: linear-gradient(165deg, #ffffff 0%, #f4f5f7 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.2);
}

html[data-bs-theme="light"] .ts-shop-listing-title {
    color: #111827;
}

html[data-bs-theme="light"] .ts-shop-listing-seller-name {
    color: rgba(0, 0, 0, 0.55);
}

html[data-bs-theme="light"] .ts-shop-listing-media,
html[data-bs-theme="light"] .ts-shop-listing-placeholder {
    background: linear-gradient(180deg, #e9ecef 0%, #dee2e6 100%);
}

html[data-bs-theme="light"] .ts-listing-avail-overlay {
    background: rgba(255, 255, 255, 0.55);
}

html[data-bs-theme="light"] .ts-listing-avail-label {
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

html[data-bs-theme="light"] .ts-shop-listing-media--unavailable img.ts-listing-img,
html[data-bs-theme="light"] .ts-shop-listing-media--unavailable .ts-shop-listing-placeholder {
    filter: grayscale(0.35) brightness(0.92);
}

html[data-bs-theme="light"] .ts-listing-gallery-card--unavailable .ts-listing-gallery-single img,
html[data-bs-theme="light"] .ts-listing-gallery-card--unavailable .ts-listing-gallery-slide img {
    filter: grayscale(0.35) brightness(0.92);
}

/* ========== Listing detail page ========== */
html[data-bs-theme="light"] .ts-listing-detail {
    --ts-listing-border: rgba(var(--ts-accent-rgb), 0.22);
}

html[data-bs-theme="light"] .ts-listing-gallery-card,
html[data-bs-theme="light"] .ts-listing-panel,
html[data-bs-theme="light"] .ts-listing-review-form-card {
    background: linear-gradient(165deg, #ffffff 0%, #f4f5f7 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.2);
}

html[data-bs-theme="light"] .ts-listing-title,
html[data-bs-theme="light"] .ts-listing-reviews-heading {
    color: #111827;
}

html[data-bs-theme="light"] .ts-listing-desc {
    color: rgba(0, 0, 0, 0.72);
}

html[data-bs-theme="light"] .ts-listing-price {
    text-shadow: none;
    color: #3d8200;
}

html[data-bs-theme="light"] .ts-listing-panel-heading,
html[data-bs-theme="light"] .ts-listing-panel-subheading {
    color: rgba(0, 0, 0, 0.5);
}

html[data-bs-theme="light"] .ts-listing-product-desc {
    border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-listing-buy-price {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-listing-buy-stock {
    background: rgba(var(--ts-accent-rgb), 0.08);
    border-color: rgba(var(--ts-accent-rgb), 0.18);
}

html[data-bs-theme="light"] .ts-listing-buy-stock.ts-listing-stock--out {
    background: rgba(220, 38, 38, 0.06);
    border-color: rgba(220, 38, 38, 0.18);
}

html[data-bs-theme="light"] .ts-listing-seller-reviews-count,
html[data-bs-theme="light"] .ts-listing-seller-ratings-summary-count {
    color: rgba(0, 0, 0, 0.5);
}

html[data-bs-theme="light"] .ts-listing-seller-rating-bar {
    background: rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-listing-seller-rating-count {
    color: rgba(0, 0, 0, 0.5);
}

html[data-bs-theme="light"] .ts-listing-reviews-jump:hover {
    color: #3d8200;
}

html[data-bs-theme="light"] .ts-listing-seller-chip {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(var(--ts-accent-rgb), 0.25);
}

html[data-bs-theme="light"] body.ts-body .invalid-feedback {
    color: #b91c1c;
}

html[data-bs-theme="light"] .ts-listing-back {
    color: rgba(0, 0, 0, 0.55);
}

html[data-bs-theme="light"] .ts-listing-back:hover {
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-listing-gallery-single,
html[data-bs-theme="light"] .ts-listing-gallery-slide .ratio {
    background: linear-gradient(180deg, #e9ecef 0%, #dee2e6 100%);
}

html[data-bs-theme="light"] .ts-listing-gallery-placeholder {
    color: rgba(var(--ts-accent-rgb), 0.35);
}

html[data-bs-theme="light"] .ts-listing-gallery-nav {
    background: rgba(255, 255, 255, 0.92);
    color: #1a1b1e;
    border-color: rgba(var(--ts-accent-rgb), 0.35);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

html[data-bs-theme="light"] .ts-listing-gallery-nav:hover:not(:disabled) {
    background: rgba(var(--ts-accent-rgb), 0.14);
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-listing-gallery-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-listing-gallery-counter {
    color: rgba(0, 0, 0, 0.55);
}

html[data-bs-theme="light"] .ts-listing-gallery-dot {
    background: rgba(0, 0, 0, 0.2);
}

html[data-bs-theme="light"] .ts-listing-gallery-hint {
    color: rgba(0, 0, 0, 0.45);
}

html[data-bs-theme="light"] .ts-listing-stock--in {
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-listing-reviews-panel {
    background: linear-gradient(165deg, #ffffff 0%, #f4f5f7 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.18);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

html[data-bs-theme="light"] .ts-listing-review-item {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] #ts-shop-empty-msg {
    color: rgba(0, 0, 0, 0.6) !important;
}

html[data-bs-theme="light"] .ts-skeleton {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.1) 45%,
        rgba(0, 0, 0, 0.05) 90%
    );
    background-size: 220% 100%;
}

html[data-bs-theme="light"] .ts-listing-skeleton .card {
    border-color: rgba(0, 0, 0, 0.1);
}

html[data-bs-theme="light"] .ts-shop-scope-track {
    background: #f0f1f3;
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-bs-theme="light"] .ts-shop-scope-option {
    color: rgba(0, 0, 0, 0.45);
}

html[data-bs-theme="light"] .ts-shop-scope-toggle:not(.is-mine) .ts-shop-scope-option--left,
html[data-bs-theme="light"] .ts-shop-scope-toggle.is-mine .ts-shop-scope-option--right {
    color: #1a5c00;
}

html[data-bs-theme="light"] .ts-shop-scope-tip {
    color: #f5f5f5;
}

/* ========== Seller profile hero ========== */
html[data-bs-theme="light"] .ts-seller-hero-card {
    background: #ffffff;
    border-color: rgba(var(--ts-accent-rgb), 0.22);
    box-shadow:
        0 0 0 1px rgba(var(--ts-accent-rgb), 0.08),
        0 12px 36px rgba(0, 0, 0, 0.08),
        0 0 40px rgba(var(--ts-accent-rgb), 0.06);
}

html[data-bs-theme="light"] .ts-seller-hero-media {
    background: #e8eaed;
}

html[data-bs-theme="light"] .ts-seller-hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 35%,
        rgba(255, 255, 255, 0.92) 72%,
        #ffffff 100%
    );
}

html[data-bs-theme="light"] .ts-seller-hero-name {
    color: #111827;
}

html[data-bs-theme="light"] .ts-seller-hero-loc {
    color: rgba(0, 0, 0, 0.58);
}

html[data-bs-theme="light"] .ts-seller-verified-pill {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(var(--ts-accent-rgb), 0.35);
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-seller-stats {
    background: linear-gradient(180deg, #f4f5f7 0%, #eceef1 100%);
    border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-seller-stat {
    border-right-color: rgba(0, 0, 0, 0.1);
}

html[data-bs-theme="light"] .ts-seller-stat strong {
    color: #111827;
}

html[data-bs-theme="light"] .ts-seller-stat span {
    color: rgba(0, 0, 0, 0.5);
}

html[data-bs-theme="light"] .ts-seller-hero-body {
    background: #ffffff;
}

html[data-bs-theme="light"] .ts-seller-hero-bio {
    color: rgba(0, 0, 0, 0.62);
}

html[data-bs-theme="light"] .ts-seller-hero-bio--empty {
    color: rgba(0, 0, 0, 0.4);
}

html[data-bs-theme="light"] .ts-seller-main h2 {
    color: #111827;
}

html[data-bs-theme="light"] .ts-seller-review-item {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-seller-show-more-card {
    background: linear-gradient(165deg, #ffffff 0%, #f4f5f7 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.2);
}

html[data-bs-theme="light"] .ts-seller-show-more-btn {
    box-shadow: inset 0 0 0 2px rgba(var(--ts-accent-rgb), 0.28);
}

html[data-bs-theme="light"] .ts-seller-show-more-btn:hover {
    background: rgba(var(--ts-accent-rgb), 0.08);
    box-shadow: inset 0 0 0 2px rgba(var(--ts-accent-rgb), 0.45);
}

html[data-bs-theme="light"] .ts-seller-show-more-title {
    color: #111827;
}

html[data-bs-theme="light"] .ts-seller-show-more-count {
    color: rgba(0, 0, 0, 0.5);
}

html[data-bs-theme="light"] .ts-seller-compact-bar {
    background: linear-gradient(165deg, #ffffff 0%, #f4f5f7 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.22);
}

html[data-bs-theme="light"] .ts-seller-compact-name {
    color: #111827;
}

html[data-bs-theme="light"] .ts-seller-compact-actions {
    border-top-color: rgba(0, 0, 0, 0.08);
}

/* ========== Pagination (shop, seller profile, tables) ========== */
html[data-bs-theme="light"] body.ts-body .pagination .page-link,
html[data-bs-theme="light"] .ts-pagination .pagination .page-link {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.14);
    color: #1a1b1e;
}

html[data-bs-theme="light"] body.ts-body .pagination .page-link:hover,
html[data-bs-theme="light"] .ts-pagination .pagination .page-link:hover {
    background-color: var(--ts-hover-bg);
    border-color: var(--ts-hover-border);
    color: var(--ts-accent-text);
}

html[data-bs-theme="light"] body.ts-body .pagination .page-item.active .page-link,
html[data-bs-theme="light"] .ts-pagination .pagination .page-item.active .page-link {
    background-color: var(--ts-active-bg);
    border-color: var(--ts-active-border);
    color: var(--ts-active-text);
}

html[data-bs-theme="light"] body.ts-body .pagination .page-item.disabled .page-link,
html[data-bs-theme="light"] .ts-pagination .pagination .page-item.disabled .page-link {
    background-color: var(--ts-disabled-bg);
    border-color: var(--ts-disabled-border);
    color: var(--ts-disabled-muted-text);
}

/* ========== Shop filters panel ========== */
html[data-bs-theme="light"] .ts-shop-filter-btn {
    background: #ffffff;
    border-color: rgba(var(--ts-accent-rgb), 0.4);
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-shop-filter-btn:hover,
html[data-bs-theme="light"] .ts-shop-filter-btn[aria-expanded='true'] {
    background: rgba(var(--ts-accent-rgb), 0.12);
    border-color: #2d6a00;
}

html[data-bs-theme="light"] .ts-shop-filter-badge {
    background: #3a7d0a;
    color: #fff;
}

html[data-bs-theme="light"] .ts-shop-filter-panel-inner {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

html[data-bs-theme="light"] .ts-shop-filter-panel-hd,
html[data-bs-theme="light"] .ts-shop-filter-panel-ft {
    border-color: rgba(0, 0, 0, 0.08);
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-shop-filter-panel .form-label {
    color: rgba(0, 0, 0, 0.62);
}

html[data-bs-theme="light"] .ts-shop-sort-inline {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.18);
    color: #1a1b1e;
}

/* ========== Verified badges / labels ========== */
html[data-bs-theme="light"] .ts-shop-listing-verified {
    color: #2d6a00;
}

html[data-bs-theme="light"] .badge.bg-success,
html[data-bs-theme="light"] .ts-seller-verified-pill {
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-land-card h3 .text-success {
    color: #2d6a00 !important;
}

/* ========== Quick actions FAB ========== */
html[data-bs-theme="light"] .ts-app-fab-trigger,
html[data-bs-theme="light"] .ts-app-fab-action {
    background: #ffffff;
    border: 1px solid rgba(var(--ts-accent-rgb), 0.45);
    color: #2d6a00;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

html[data-bs-theme="light"] .ts-app-fab-trigger:hover,
html[data-bs-theme="light"] .ts-app-fab-action:hover {
    background: rgba(var(--ts-accent-rgb), 0.12);
    color: #1a4000;
}

html[data-bs-theme="light"] .ts-app-fab.is-open .ts-app-fab-trigger {
    background: #3a7d0a;
    color: #fff;
    border-color: #3a7d0a;
}

html[data-bs-theme="light"] .ts-app-fab.is-open::before {
    background: rgba(0, 0, 0, 0.25);
}

html[data-bs-theme="light"] .ts-app-fab-tip {
    background: #1a1b1e;
    color: #f4f4f4;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

html[data-bs-theme="light"] .ts-shop-cta-btn {
    box-shadow: 0 2px 12px rgba(var(--ts-accent-rgb), 0.2);
}

/* ========== Seller hub (account tab) ========== */
html[data-bs-theme="light"] .ts-seller-hub-hero {
    background: linear-gradient(165deg, #ffffff 0%, #f4f5f7 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.2);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

html[data-bs-theme="light"] .ts-seller-hub-title {
    color: #111827;
}

html[data-bs-theme="light"] .ts-seller-hub-lead {
    color: rgba(0, 0, 0, 0.58);
}

html[data-bs-theme="light"] .ts-seller-hub-lead strong {
    color: #111827;
}

html[data-bs-theme="light"] .ts-seller-hub-verified {
    color: #1a1b1e;
    background: rgba(var(--ts-accent-rgb), 0.12);
    border-color: rgba(var(--ts-accent-rgb), 0.35);
}

html[data-bs-theme="light"] .ts-seller-hub-stat {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
}

html[data-bs-theme="light"] .ts-seller-hub-stat strong {
    color: #111827;
}

html[data-bs-theme="light"] .ts-seller-hub-stat span {
    color: rgba(0, 0, 0, 0.5);
}

html[data-bs-theme="light"] .ts-seller-hub-action {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-seller-hub-action:hover {
    color: #000;
    border-color: rgba(var(--ts-accent-rgb), 0.35);
}

html[data-bs-theme="light"] .ts-seller-hub-action--primary {
    background: linear-gradient(145deg, rgba(var(--ts-accent-rgb), 0.1) 0%, #ffffff 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.35);
}

html[data-bs-theme="light"] .ts-seller-hub-action--primary .ts-seller-hub-action-icon {
    background: #3a7d0a;
    color: #fff;
}

html[data-bs-theme="light"] .ts-seller-hub-panel {
    background: linear-gradient(165deg, #ffffff 0%, #f8f9fa 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.15);
}

html[data-bs-theme="light"] .ts-seller-hub-panel h2,
html[data-bs-theme="light"] .ts-seller-hub-panel h3 {
    color: rgba(0, 0, 0, 0.55);
}

html[data-bs-theme="light"] .ts-seller-hub-panel p,
html[data-bs-theme="light"] .ts-seller-hub-panel li {
    color: rgba(0, 0, 0, 0.72);
}

html[data-bs-theme="light"] .ts-seller-verify-accordion-title {
    color: rgba(0, 0, 0, 0.55);
}

html[data-bs-theme="light"] .ts-seller-verify-accordion-btn:not(.collapsed) .ts-seller-verify-accordion-title {
    color: inherit;
}

html[data-bs-theme="light"] .ts-seller-verify-status {
    background: rgba(0, 0, 0, 0.06) !important;
}

html[data-bs-theme="light"] .ts-seller-hub-listings-title {
    color: #111827;
}

html[data-bs-theme="light"] .ts-seller-hub-listings-count {
    color: rgba(0, 0, 0, 0.45);
}

html[data-bs-theme="light"] .ts-hub-listing-card {
    background: linear-gradient(165deg, #ffffff 0%, #f4f5f7 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.15);
}

html[data-bs-theme="light"] .ts-hub-listing-card:hover {
    border-color: rgba(var(--ts-accent-rgb), 0.32);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-hub-listing-media {
    background: #e8eaed;
}

html[data-bs-theme="light"] .ts-hub-listing-title {
    color: #111827;
}

html[data-bs-theme="light"] .ts-hub-listing-stock {
    color: rgba(0, 0, 0, 0.5);
}

html[data-bs-theme="light"] .ts-hub-listing-media--unavailable img,
html[data-bs-theme="light"] .ts-hub-listing-media--unavailable .ts-hub-listing-placeholder {
    filter: grayscale(0.35) brightness(0.92);
}

html[data-bs-theme="light"] .ts-seller-hub-empty {
    background: rgba(var(--ts-accent-rgb), 0.06);
    border-color: rgba(var(--ts-accent-rgb), 0.25);
}

html[data-bs-theme="light"] .ts-seller-hub-empty p {
    color: rgba(0, 0, 0, 0.55);
}

/* ========== Listing edit (add / edit) ========== */
html[data-bs-theme="light"] .ts-listing-edit-hero {
    background: linear-gradient(165deg, #ffffff 0%, #f4f5f7 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.2);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

html[data-bs-theme="light"] .ts-listing-edit-title {
    color: #111827;
}

html[data-bs-theme="light"] .ts-listing-edit-lead {
    color: rgba(0, 0, 0, 0.58);
}

html[data-bs-theme="light"] .ts-listing-edit-panel {
    background: linear-gradient(165deg, #ffffff 0%, #f8f9fa 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.15);
}

html[data-bs-theme="light"] .ts-listing-edit-panel-hd {
    background: rgba(0, 0, 0, 0.03);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-listing-edit-panel-title {
    color: #111827;
}

html[data-bs-theme="light"] .ts-listing-edit-breadcrumb .breadcrumb-item.active {
    color: rgba(0, 0, 0, 0.55);
}

html[data-bs-theme="light"] .ts-listing-edit-hero-actions .btn-outline-light {
    color: #1a1b1e;
    border-color: rgba(0, 0, 0, 0.2);
    background: #fff;
}

html[data-bs-theme="light"] .ts-listing-edit-hero-actions .btn-outline-light:hover {
    color: #000;
    background: #f0f1f3;
    border-color: rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="light"] .ts-listing-edit-panel .form-label {
    color: rgba(0, 0, 0, 0.78);
}

html[data-bs-theme="light"] .ts-listing-edit-panel .form-text {
    color: rgba(0, 0, 0, 0.52);
}

html[data-bs-theme="light"] .ts-listing-edit-panel .text-muted {
    color: rgba(0, 0, 0, 0.55) !important;
}

html[data-bs-theme="light"] .ts-listing-edit-panel .form-control,
html[data-bs-theme="light"] .ts-listing-edit-panel .form-select {
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.18);
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-listing-edit-panel .form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

html[data-bs-theme="light"] .ts-listing-edit-panel .form-control:focus,
html[data-bs-theme="light"] .ts-listing-edit-panel .form-select:focus {
    background-color: #fff;
    border-color: rgba(var(--ts-accent-rgb), 0.45);
    color: #111827;
    box-shadow: 0 0 0 0.2rem rgba(var(--ts-accent-rgb), 0.12);
}

html[data-bs-theme="light"] .ts-listing-edit-panel .input-group-text {
    background-color: #f0f1f3;
    border-color: rgba(0, 0, 0, 0.14);
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-listing-edit-filter-request summary {
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-listing-edit-attrs {
    background: rgba(var(--ts-accent-rgb), 0.05);
    border-color: rgba(var(--ts-accent-rgb), 0.18);
}

html[data-bs-theme="light"] .ts-listing-edit-filter-request-form,
html[data-bs-theme="light"] .ts-listing-edit-option-request-form {
    background: rgba(var(--ts-accent-rgb), 0.04);
    border-color: rgba(var(--ts-accent-rgb), 0.2) !important;
}

html[data-bs-theme="light"] .ts-listing-edit-gallery-item {
    border-color: rgba(0, 0, 0, 0.1);
    background: #e8eaed;
}

html[data-bs-theme="light"] .ts-listing-edit-gallery-item--cover::after {
    background: rgba(var(--ts-accent-rgb), 0.9);
    color: #fff;
}

html[data-bs-theme="light"] .ts-listing-edit-gallery-remove-btn {
    background: rgba(255, 255, 255, 0.92);
    color: #374151;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

html[data-bs-theme="light"] .ts-listing-edit-gallery-remove-btn:hover {
    background: #dc3545;
    color: #fff;
}

html[data-bs-theme="light"] .ts-listing-edit-upload-zone {
    background: rgba(var(--ts-accent-rgb), 0.05);
    border-color: rgba(var(--ts-accent-rgb), 0.35);
}

html[data-bs-theme="light"] .ts-listing-edit-upload-hint {
    color: rgba(0, 0, 0, 0.5);
}

html[data-bs-theme="light"] .ts-listing-edit-submit-panel {
    background: linear-gradient(165deg, #ffffff 0%, #f4f5f7 100%);
    border-color: rgba(var(--ts-accent-rgb), 0.2);
}

html[data-bs-theme="light"] .ts-listing-edit-submit-panel p {
    color: rgba(0, 0, 0, 0.55);
}

html[data-bs-theme="light"] .ts-le-stock-info-btn {
    color: rgba(var(--ts-accent-rgb), 0.9);
}

html[data-bs-theme="light"] .ts-le-stock-info-btn:hover,
html[data-bs-theme="light"] .ts-le-stock-info-btn:focus-visible {
    color: #2d5c00;
}

html[data-bs-theme="light"] .ts-le-stock-tip {
    color: #1a1a1a;
    background: #fff;
    border-color: rgba(var(--ts-accent-rgb), 0.35);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

html[data-bs-theme="light"] .ts-le-stock-tip::before {
    border-right-color: #fff;
}

html[data-bs-theme="light"] .ts-le-wizard-progress {
    background: linear-gradient(165deg, #ffffff 0%, #f4f5f7 100%);
    border: 1px solid rgba(var(--ts-accent-rgb), 0.2);
}

html[data-bs-theme="light"] .ts-le-wizard-progress-dot {
    border-color: rgba(0, 0, 0, 0.12);
    background: #eef0f2;
    color: rgba(0, 0, 0, 0.45);
}

html[data-bs-theme="light"] .ts-le-wizard-progress-text {
    color: rgba(0, 0, 0, 0.45);
}

html[data-bs-theme="light"] .ts-le-wizard-progress-item.is-active .ts-le-wizard-progress-dot {
    border-color: var(--ts-accent);
    background: rgba(var(--ts-accent-rgb), 0.15);
    color: var(--ts-accent);
}

html[data-bs-theme="light"] .ts-le-wizard-progress-item.is-active .ts-le-wizard-progress-text {
    color: #111827;
}

html[data-bs-theme="light"] .ts-le-wizard-progress-item.is-done .ts-le-wizard-progress-dot {
    background: var(--ts-accent);
    color: #fff;
}

html[data-bs-theme="light"] .ts-le-wizard-step-caption {
    color: rgba(0, 0, 0, 0.55);
}

html[data-bs-theme="light"] .ts-le-wizard-footer {
    background: linear-gradient(180deg, transparent 0%, #f8f9fa 28%);
}

/* ========== Messages / chat ========== */
html[data-bs-theme="light"] .ts-messages-hd .h2 {
    color: #111827;
}

html[data-bs-theme="light"] .ts-msg-inbox,
html[data-bs-theme="light"] .ts-msg-chat,
html[data-bs-theme="light"] .ts-msg-placeholder {
    background: linear-gradient(165deg, #ffffff 0%, #f4f5f7 100%);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

html[data-bs-theme="light"] .ts-msg-inbox-tabs {
    background: #ffffff;
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

html[data-bs-theme="light"] .ts-msg-inbox-tab {
    color: rgba(0, 0, 0, 0.55);
}

html[data-bs-theme="light"] .ts-msg-inbox-tab.is-active {
    background: var(--ts-active-soft-bg);
    color: var(--ts-active-indicator);
}

html[data-bs-theme="light"] .ts-msg-inbox-tab-count {
    color: rgba(0, 0, 0, 0.45);
}

html[data-bs-theme="light"] .ts-msg-inbox-row {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="light"] .ts-msg-inbox-row:hover,
html[data-bs-theme="light"] .ts-msg-inbox-row.is-active {
    background: var(--ts-active-soft-bg);
    border-left-color: var(--ts-active-indicator);
}

html[data-bs-theme="light"] .ts-msg-inbox-row-name {
    color: #111827;
}

html[data-bs-theme="light"] .ts-msg-inbox-row-time,
html[data-bs-theme="light"] .ts-msg-inbox-row-preview {
    color: rgba(0, 0, 0, 0.5);
}

html[data-bs-theme="light"] .ts-msg-inbox-row.has-unread .ts-msg-inbox-row-preview {
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-msg-inbox-unread {
    border-color: #ffffff;
}

html[data-bs-theme="light"] .ts-msg-chat-back {
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-msg-chat-back:hover {
    background: rgba(var(--ts-accent-rgb), 0.1);
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-msg-chat-hd {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

html[data-bs-theme="light"] .ts-msg-chat-title {
    color: #111827;
}

html[data-bs-theme="light"] .ts-msg-chat-verified {
    color: #3a7d0a;
}

html[data-bs-theme="light"] .ts-msg-context-card {
    background: #ffffff;
    border-color: rgba(var(--ts-accent-rgb), 0.22);
}

html[data-bs-theme="light"] .ts-msg-context-card:hover {
    border-color: rgba(var(--ts-accent-rgb), 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

html[data-bs-theme="light"] .ts-msg-context-media {
    background: #e8eaed;
}

html[data-bs-theme="light"] .ts-msg-context-label {
    color: rgba(0, 0, 0, 0.5);
}

html[data-bs-theme="light"] .ts-msg-context-title {
    color: #111827;
}

html[data-bs-theme="light"] .ts-msg-context-price {
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-msg-context-offer-accepted {
    color: #2d6a00;
}

html[data-bs-theme="light"] .ts-msg-context-offer-tag {
    background: rgba(var(--ts-accent-rgb), 0.12);
    color: #1f4700;
}

html[data-bs-theme="light"] .ts-msg-context-offer-was {
    color: rgba(0, 0, 0, 0.45);
}

html[data-bs-theme="light"] .ts-msg-context-chevron {
    color: rgba(0, 0, 0, 0.35);
}

html[data-bs-theme="light"] .ts-msg-context-toggle {
    background: #f4f5f7;
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.55);
}

html[data-bs-theme="light"] .ts-msg-context-toggle:hover {
    background: rgba(var(--ts-accent-rgb), 0.08);
    border-color: rgba(var(--ts-accent-rgb), 0.35);
    color: #1f4700;
}

html[data-bs-theme="light"] .ts-msg-context-dismiss-btn {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-bs-theme="light"] .ts-msg-context-dismiss-btn:hover {
    background: rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.35);
    color: #b02a37;
}

html[data-bs-theme="light"] .ts-msg-quick-actions {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

html[data-bs-theme="light"] .ts-msg-quick-action {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-msg-quick-action:hover {
    background: rgba(var(--ts-accent-rgb), 0.08);
    border-color: rgba(var(--ts-accent-rgb), 0.35);
    color: #1f4700;
}

/* Chat thread + bubbles (override app.css dark !important rules) */
html[data-bs-theme="light"] body.ts-body .ts-msg-thread {
    background: #eef0f3 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-chat {
    color: #1a1b1e !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-chat-hd {
    background: #ffffff !important;
    border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-row--received .ts-msg-bubble {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #1a1b1e !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-row--sent .ts-msg-bubble {
    background: rgba(var(--ts-accent-rgb), 0.12) !important;
    border-color: rgba(var(--ts-accent-rgb), 0.3) !important;
    color: #1a1b1e !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-bubble-body,
html[data-bs-theme="light"] body.ts-body .ts-msg-thread-empty {
    color: #1a1b1e !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-bubble-name,
html[data-bs-theme="light"] body.ts-body .ts-msg-bubble-time {
    color: rgba(0, 0, 0, 0.5) !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-delivery {
    color: rgba(0, 0, 0, 0.45) !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-delivery--read {
    color: #2d6a00 !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-row--unread .ts-msg-bubble {
    background: rgba(var(--ts-accent-rgb), 0.1) !important;
    box-shadow: inset 3px 0 0 #3a7d0a !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-new-divider span {
    background: rgba(var(--ts-accent-rgb), 0.14) !important;
    color: #2d6a00 !important;
}

html[data-bs-theme="light"] .ts-msg-inbox-new-label {
    background: #3a7d0a !important;
    color: #fff !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-compose {
    border-top-color: rgba(0, 0, 0, 0.1) !important;
    background: #ffffff !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-compose .text-muted {
    color: rgba(0, 0, 0, 0.55) !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-context-card {
    background: #ffffff !important;
    color: #1a1b1e !important;
}

html[data-bs-theme="light"] body.ts-body .ts-msg-quick-actions {
    background: #ffffff !important;
}

html[data-bs-theme="light"] .ts-msg-chat .form-control {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.2);
    color: #1a1b1e;
}

html[data-bs-theme="light"] .ts-msg-chat .form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

html[data-bs-theme="light"] .ts-msg-chat .btn-outline-secondary {
    --bs-btn-color: #495057;
    --bs-btn-border-color: rgba(0, 0, 0, 0.2);
    --bs-btn-hover-bg: #f0f2f5;
    --bs-btn-hover-border-color: rgba(0, 0, 0, 0.25);
    --bs-btn-hover-color: #111827;
}

html[data-bs-theme="light"] .ts-msg-placeholder-icon {
    color: rgba(0, 0, 0, 0.25);
}

html[data-bs-theme="light"] .ts-msg-placeholder .fw-semibold {
    color: #111827;
}
