/* ============================================================
   Lexeb Storefront — Light theme
   Activated via html[data-theme="light"]
   Dark theme remains the default (no attribute change needed).
   ============================================================ */

/* ── Theme toggle button (both themes) ─────────────────────── */
.lx-theme-toggle-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--lx-card, rgba(255, 255, 255, 0.06)) !important;
  border: 1px solid rgba(167, 139, 250, 0.28) !important;
  color: #f8fafc !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lx-theme-toggle-btn:hover {
  background: rgba(124, 58, 237, 0.32) !important;
  border-color: rgba(196, 181, 253, 0.5) !important;
  color: #fff !important;
}

.lx-theme-toggle-btn .lx-theme-icon-light {
  display: none;
}

.lx-theme-toggle-btn .lx-theme-icon-dark {
  display: inline-block;
}

[data-theme="light"] .lx-theme-toggle-btn .lx-theme-icon-light {
  display: inline-block;
}

[data-theme="light"] .lx-theme-toggle-btn .lx-theme-icon-dark {
  display: none;
}

/* ── Light theme tokens ────────────────────────────────────── */
[data-theme="light"] {
  color-scheme: light;

  --lx-dark: #f8fafc;
  --lx-dark-2: #ffffff;
  --lx-dark-3: #f1f5f9;
  --lx-text: #0f172a;
  --lx-muted: rgba(15, 23, 42, 0.68);
  --lx-dim: rgba(15, 23, 42, 0.48);
  --lx-border: rgba(15, 23, 42, 0.12);
  --lx-border-2: rgba(15, 23, 42, 0.08);
  --lx-card: #ffffff;
  --lx-card-hover: #f8fafc;
  --lx-shadow: 0 20px 50px rgba(15, 23, 42, 0.10);
  --lx-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);

  --kei-bg: #f8fafc;
  --kei-bg-2: #ffffff;
  --kei-card: #ffffff;
  --kei-card-2: #f8fafc;
  --kei-border: rgba(15, 23, 42, 0.12);
  --kei-text: #0f172a;
  --kei-muted: rgba(15, 23, 42, 0.68);
  --kei-dim: rgba(15, 23, 42, 0.50);
  --kei-accent: #dc2626;
  --kei-accent-2: #ff4c3b;
  --kei-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}

/* ── Page shell ─────────────────────────────────────────────── */
[data-theme="light"] html,
[data-theme="light"] body,
[data-theme="light"] body.kei,
[data-theme="light"] body.lx-body-override {
  background:
    radial-gradient(1200px 800px at 20% 0%, rgba(124, 58, 237, 0.08), transparent 55%),
    radial-gradient(1000px 700px at 90% 15%, rgba(6, 182, 212, 0.07), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
  color: var(--lx-text) !important;
}

/* Index/storefront: remove feathered radial / pink wash — clean solid page */
[data-theme="light"] html:has(body.lx-storefront-home),
[data-theme="light"] body.lx-storefront-home,
[data-theme="light"] body.lx-storefront-home.kei,
[data-theme="light"] body.lx-storefront-home.lx-body-override,
[data-theme="light"] body.lx-storefront-home main,
[data-theme="light"] body.lx-storefront-home #allproductsQuery,
[data-theme="light"] body.lx-storefront-home #allproductsQuery.product-section,
[data-theme="light"] body.lx-storefront-home .lx-products-page,
[data-theme="light"] body.lx-storefront-home .lx-marketplace-layout,
[data-theme="light"] body.lx-storefront-home .lx-marketplace-body,
[data-theme="light"] body.lx-storefront-home .lx-marketplace-products-col,
[data-theme="light"] body.lx-storefront-home .lx-marketplace-catalog-stacks,
[data-theme="light"] body.lx-storefront-home .lx-guarantee-banner,
[data-theme="light"] body.lx-storefront-home .lx-storefront-trust-bar,
[data-theme="light"] body.lx-storefront-home .lx-storefront-trust-bar--bottom {
  background: #f8fafc !important;
  background-image: none !important;
}

[data-theme="light"] body.lx-storefront-home .lx-guarantee-banner {
  background: #ffffff !important;
  background-image: none !important;
}

[data-theme="dark"] body.lx-storefront-home,
[data-theme="dark"] body.lx-storefront-home.kei,
[data-theme="dark"] body.lx-storefront-home.lx-body-override,
[data-theme="dark"] body.lx-storefront-home main,
[data-theme="dark"] body.lx-storefront-home #allproductsQuery,
[data-theme="dark"] body.lx-storefront-home .lx-products-page,
[data-theme="dark"] body.lx-storefront-home .lx-marketplace-layout,
[data-theme="dark"] body.lx-storefront-home .lx-storefront-trust-bar,
[data-theme="dark"] body.lx-storefront-home .lx-storefront-trust-bar--bottom {
  background-image: none !important;
}

[data-theme="light"] body.lx-storefront-home .lx-yt-card {
  background: #fff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] body.lx-storefront-home .lx-yt-title,
[data-theme="light"] body.lx-storefront-home .lx-yt-title-row,
[data-theme="light"] body.lx-storefront-home .kei-product-title,
[data-theme="light"] body.lx-storefront-home .lx-marketplace-card .kei-product-title,
[data-theme="light"] body.kei.lx-storefront-home #allproductsQuery .kei-product-title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: none !important;
}

[data-theme="light"] body.lx-storefront-home .lx-yt-owner,
[data-theme="light"] body.lx-storefront-home .lx-yt-desc,
[data-theme="light"] body.lx-storefront-home .lx-yt-stats,
[data-theme="light"] body.lx-storefront-home .lx-vendor-line,
[data-theme="light"] body.lx-storefront-home .kei-product-meta,
[data-theme="light"] body.kei.lx-storefront-home #allproductsQuery .kei-product-meta {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

[data-theme="dark"] body.lx-storefront-home .lx-yt-card,
[data-theme="dark"] body.lx-storefront-home .lx-marketplace-card,
[data-theme="dark"] body.lx-storefront-home .kei-product-card {
  background: #111827 !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] body.lx-storefront-home .lx-yt-title,
[data-theme="dark"] body.lx-storefront-home .lx-yt-title-row,
[data-theme="dark"] body.lx-storefront-home .kei-product-title,
[data-theme="dark"] body.lx-storefront-home .lx-marketplace-card .kei-product-title,
[data-theme="dark"] body.lx-storefront-home #allproductsQuery .kei-product-title {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  text-shadow: none !important;
}

[data-theme="dark"] body.lx-storefront-home .lx-yt-owner,
[data-theme="dark"] body.lx-storefront-home .lx-yt-desc,
[data-theme="dark"] body.lx-storefront-home .lx-yt-stats,
[data-theme="dark"] body.lx-storefront-home .lx-vendor-line,
[data-theme="dark"] body.lx-storefront-home .kei-product-meta,
[data-theme="dark"] body.lx-storefront-home #allproductsQuery .kei-product-meta {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

[data-theme="dark"] body.lx-storefront-home .kei-product-body {
  background: #111827 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] body.lx-storefront-home .lx-yt-thumb {
  background: #0b1220 !important;
  border-bottom-color: #1f2937 !important;
}

/* ── Navbar & search strip ─────────────────────────────────── */
[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(124, 58, 237, 0.16) !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] #org.navbar {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--lx-border) !important;
}

[data-theme="light"] #org .navbar-brand,
[data-theme="light"] #org .nav-link {
  color: #0f172a !important;
}

[data-theme="light"] #org .nav-link:hover,
[data-theme="light"] #org .nav-link.active {
  color: #7c3aed !important;
}

[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .search-btn,
[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .cart-btn,
[data-theme="light"] body.lx-storefront-home #org.navbar .wishlist-nav-btn,
[data-theme="light"] .lx-theme-toggle-btn {
  background: #ffffff !important;
  border: 1px solid rgba(124, 58, 237, 0.22) !important;
  color: #334155 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .search-btn:hover,
[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .cart-btn:hover,
[data-theme="light"] body.lx-storefront-home #org.navbar .wishlist-nav-btn:hover,
[data-theme="light"] .lx-theme-toggle-btn:hover {
  background: rgba(124, 58, 237, 0.12) !important;
  border-color: rgba(124, 58, 237, 0.38) !important;
  color: #5b21b6 !important;
}

[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .lx-navbar-toggler {
  border-color: rgba(124, 58, 237, 0.22) !important;
  background: #ffffff !important;
}

[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .lx-navbar-toggler .navbar-toggler-icon {
  filter: none;
}

[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .lx-storefront-nav-collapse {
  border-top-color: rgba(124, 58, 237, 0.14) !important;
}

[data-theme="light"] .lx-marketplace-search-strip {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid rgba(124, 58, 237, 0.14) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .lx-filter-search-block .lx-form-control,
[data-theme="light"] .lx-filter-search-block .form-control {
  background: #ffffff !important;
  border: 1px solid rgba(124, 58, 237, 0.22) !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .lx-filter-search-block .lx-form-control::placeholder {
  color: rgba(15, 23, 42, 0.45) !important;
}

[data-theme="light"] .lx-filter-expand-btn {
  background: rgba(124, 58, 237, 0.10) !important;
  border-color: rgba(124, 58, 237, 0.28) !important;
  color: #5b21b6 !important;
}

[data-theme="light"] .lx-filter-expand-btn:hover,
[data-theme="light"] .lx-filter-expand-btn[aria-expanded="true"] {
  background: rgba(124, 58, 237, 0.18) !important;
  border-color: rgba(124, 58, 237, 0.40) !important;
}

[data-theme="light"] .lx-category-all-btn,
[data-theme="light"] .kei-chip {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #334155 !important;
}

[data-theme="light"] .lx-category-all-btn.active,
[data-theme="light"] .kei-chip.active,
[data-theme="light"] .lx-products-toolbar .kei-chip.active {
  background: rgba(124, 58, 237, 0.12) !important;
  border-color: rgba(124, 58, 237, 0.35) !important;
  color: #5b21b6 !important;
  font-weight: 700;
}

/* ── Product cards ─────────────────────────────────────────── */
[data-theme="light"] .kei-product-card,
[data-theme="light"] .lx-marketplace-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .kei-product-card:hover,
[data-theme="light"] .lx-marketplace-card:hover {
  border-color: rgba(255, 76, 59, 0.35) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .kei-product-body {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

[data-theme="light"] .kei-product-title,
[data-theme="light"] body.kei #allproductsQuery .kei-product-title,
[data-theme="light"] .lx-marketplace-card .kei-product-title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: none !important;
}

[data-theme="light"] .kei-product-meta,
[data-theme="light"] body.kei #allproductsQuery .kei-product-meta,
[data-theme="light"] .lx-marketplace-card .kei-product-meta,
[data-theme="light"] .lx-vendor-line {
  color: rgba(15, 23, 42, 0.58) !important;
}

[data-theme="light"] .kei-product-link {
  color: inherit;
}

[data-theme="light"] .kei-product-price {
  background: linear-gradient(135deg, #dc2626 0%, #ff4c3b 45%, #f97316 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));
}

@media (max-width: 991px) {
  [data-theme="light"] body.lx-storefront-home #allproductsQuery .lx-marketplace-card .kei-product-price,
  [data-theme="light"] body.lx-storefront-home #allproductsQuery .lx-marketplace-card:hover .kei-product-price {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #dc2626 !important;
    color: #dc2626 !important;
    filter: none !important;
  }
}

[data-theme="light"] .lx-marketplace-card .kei-product-media {
  background: #f1f5f9 !important;
}

[data-theme="light"] .lx-card-action-btn {
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #475569 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .lx-card-action-btn:hover {
  background: #f8fafc !important;
}

[data-theme="light"] .lx-add-cart-btn {
  border-color: rgba(16, 185, 129, 0.55) !important;
  color: #059669 !important;
}

[data-theme="light"] .lx-wishlist-btn {
  border-color: rgba(236, 72, 153, 0.50) !important;
  color: #db2777 !important;
}

[data-theme="light"] .lx-wishlist-btn.active {
  background: rgba(236, 72, 153, 0.12) !important;
  border-color: rgba(219, 39, 119, 0.65) !important;
  color: #be185d !important;
}

[data-theme="light"] .lx-products-empty {
  color: rgba(15, 23, 42, 0.50) !important;
}

/* ── Trust / guarantee banner ─────────────────────────────── */
[data-theme="light"] .lx-guarantee-banner {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .lx-guarantee-copy strong {
  color: #0f172a !important;
}

[data-theme="light"] .lx-guarantee-copy span {
  color: rgba(15, 23, 42, 0.62) !important;
}

[data-theme="light"] .lx-guarantee-support-btn {
  background: rgba(124, 58, 237, 0.10) !important;
  border-color: rgba(124, 58, 237, 0.30) !important;
  color: #5b21b6 !important;
}

[data-theme="light"] .lx-guarantee-support-btn:hover {
  background: rgba(124, 58, 237, 0.18) !important;
  color: #4c1d95 !important;
}

/* ── Ads ───────────────────────────────────────────────────── */
[data-theme="light"] .lx-platform-ad {
  border-color: rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
}

[data-theme="light"] .lx-floating-ad {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14) !important;
}

[data-theme="light"] .lx-ad-dot {
  background: rgba(15, 23, 42, 0.18) !important;
}

[data-theme="light"] .lx-ad-dot--active {
  background: rgba(124, 58, 237, 0.85) !important;
}

/* ── Modals (cart, wishlist, filters, contact, registration) ─────────────── */
[data-theme="light"] .lx-cart-modal,
[data-theme="light"] .lx-filter-modal,
[data-theme="light"] .lx-modal .modal-content {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.16) !important;
  border-radius: 18px !important;
}

[data-theme="light"] .lx-modal .modal-header,
[data-theme="light"] .lx-modal .modal-footer,
[data-theme="light"] .lx-cart-modal-wrap .modal-header,
[data-theme="light"] .lx-cart-modal-wrap .modal-footer {
  border-color: rgba(15, 23, 42, 0.10) !important;
  background: #ffffff !important;
}

[data-theme="light"] .lx-modal .modal-title,
[data-theme="light"] .lx-cart-modal-wrap .modal-title,
[data-theme="light"] .lx-contact-modal-header .modal-title {
  color: #0f172a !important;
}

[data-theme="light"] .lx-contact-modal-header {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
  border-bottom-color: rgba(124, 58, 237, 0.16) !important;
}

[data-theme="light"] .lx-contact-modal-body,
[data-theme="light"] .lx-contact-modal-footer {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
  color: #0f172a !important;
}

[data-theme="light"] .lx-contact-modal-sub,
[data-theme="light"] .lx-modal .text-muted,
[data-theme="light"] .lx-cart-modal-wrap .text-muted,
[data-theme="light"] .lx-cart-modal-wrap .small {
  color: rgba(15, 23, 42, 0.62) !important;
}

[data-theme="light"] .lx-modal .lx-form-label,
[data-theme="light"] .lx-cart-modal-wrap .lx-form-label,
[data-theme="light"] .lx-form-label {
  color: rgba(15, 23, 42, 0.72) !important;
}

[data-theme="light"] .lx-modal .lx-btn-outline,
[data-theme="light"] .lx-btn-outline {
  border-color: rgba(15, 23, 42, 0.18) !important;
  color: #0f172a !important;
  background: #ffffff !important;
}

[data-theme="light"] .lx-modal .lx-btn-outline:hover,
[data-theme="light"] .lx-btn-outline:hover {
  border-color: rgba(124, 58, 237, 0.40) !important;
  color: #5b21b6 !important;
  background: rgba(124, 58, 237, 0.06) !important;
}

[data-theme="light"] .lx-cart-vendor-name {
  color: #6d28d9 !important;
}

[data-theme="light"] .lx-cart-item {
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .lx-cart-item-title {
  color: #0f172a !important;
}

[data-theme="light"] .lx-cart-item-price {
  color: #047857 !important;
  font-weight: 800 !important;
}

[data-theme="light"] .lx-qty-btn {
  background: #ffffff !important;
  border-color: rgba(124, 58, 237, 0.22) !important;
  color: #334155 !important;
}

[data-theme="light"] .lx-cart-remove-btn {
  color: rgba(15, 23, 42, 0.45) !important;
}

[data-theme="light"] .lx-cart-checkout-summary {
  background: rgba(124, 58, 237, 0.08) !important;
  border-color: rgba(124, 58, 237, 0.18) !important;
  color: #0f172a !important;
}

[data-theme="light"] .lx-filter-modal .kei-filter-title {
  color: rgba(15, 23, 42, 0.72) !important;
}

[data-theme="light"] .lx-filter-modal .kei-select,
[data-theme="light"] .lx-filter-modal .lx-form-control,
[data-theme="light"] .lx-filter-modal .form-control {
  background: #ffffff !important;
  border-color: rgba(124, 58, 237, 0.20) !important;
  color: #0f172a !important;
}

[data-theme="light"] .btn-close-white,
[data-theme="light"] .lx-modal .btn-close,
[data-theme="light"] .lx-cart-modal-wrap .btn-close {
  filter: none !important;
  opacity: 0.55 !important;
}

[data-theme="light"] .btn-close-white:hover,
[data-theme="light"] .lx-modal .btn-close:hover,
[data-theme="light"] .lx-cart-modal-wrap .btn-close:hover {
  opacity: 0.85 !important;
}

[data-theme="light"] .lx-topic-pill {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #334155 !important;
}

[data-theme="light"] .lx-topic-pill:hover {
  border-color: rgba(124, 58, 237, 0.35) !important;
  color: #5b21b6 !important;
}

[data-theme="light"] .lx-topic-pill.active {
  background: rgba(124, 58, 237, 0.12) !important;
  border-color: rgba(124, 58, 237, 0.45) !important;
  color: #5b21b6 !important;
}

[data-theme="light"] .text-muted {
  color: rgba(15, 23, 42, 0.55) !important;
}

/* ── Footer ────────────────────────────────────────────────── */
[data-theme="light"] .lx-footer {
  background: #ffffff !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .lx-footer-social-btn {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #334155 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .lx-footer-social-btn:hover {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.28) !important;
}

/* ── Form controls (select fix override) ───────────────────── */
[data-theme="light"] html body select.lx-form-control,
[data-theme="light"] html body select.lx-form-select,
[data-theme="light"] html body select.form-control,
[data-theme="light"] html body select.form-select {
  background-color: #ffffff !important;
  color: #0f172a !important;
  color-scheme: light !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(15%2C23%2C42%2C0.55)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

[data-theme="light"] html body select.lx-form-control option,
[data-theme="light"] html body select.lx-form-select option,
[data-theme="light"] html body select.form-control option,
[data-theme="light"] html body select.form-select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] .lx-form-control,
[data-theme="light"] .form-control {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #0f172a !important;
}

[data-theme="light"] .lx-form-label {
  color: rgba(15, 23, 42, 0.65) !important;
}

/* ── Brand logo swap ───────────────────────────────────────── */
[data-theme="light"] .lx-st-btn-outline {
  border-color: rgba(15, 23, 42, 0.16) !important;
  color: #0f172a !important;
  background: #ffffff !important;
}

[data-theme="light"] .lx-st-product-link:hover .lx-st-product-card {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10) !important;
}

[data-theme="light"] .lx-footer-portal-link {
  color: #475569 !important;
}

[data-theme="light"] img.lx-brand-logo {
  content: url("https://lexeb.com/assets/images/lexeb%20logo%20design%20word%20colour.png");
}

[data-theme="light"] .lx-footer-portal-link:hover {
  color: #0f172a !important;
}

[data-theme="light"] .lx-footer-col-title {
  color: #0f172a !important;
}

[data-theme="light"] .lx-footer-links a {
  color: #334155 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

[data-theme="light"] .lx-footer-links a:hover {
  color: #0f172a !important;
}

[data-theme="light"] .lx-footer-brand-sub {
  color: #475569 !important;
}

[data-theme="light"] .lx-footer-bottom,
[data-theme="light"] .lx-footer-bottom-links a {
  color: #475569 !important;
}

[data-theme="light"] .lx-mc-check label,
[data-theme="light"] .lx-mp-check label,
[data-theme="light"] .lx-form-check label {
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="light"] .kei-secondary-btn {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #334155 !important;
}

[data-theme="light"] .kei-secondary-btn:hover {
  background: #f8fafc !important;
  border-color: rgba(124, 58, 237, 0.28) !important;
  color: #5b21b6 !important;
}

[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .lx-nav-contact-btn {
  background: #ffffff !important;
  border: 1px solid rgba(124, 58, 237, 0.18) !important;
  color: #334155 !important;
}

[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .lx-nav-contact-btn:hover {
  background: rgba(124, 58, 237, 0.10) !important;
  border-color: rgba(124, 58, 237, 0.30) !important;
}

[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .lx-nav-login-btn {
  border-color: rgba(21, 128, 61, 0.45) !important;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 55%, #15803d 100%) !important;
  color: #ffffff !important;
  box-shadow:
    0 3px 12px rgba(22, 163, 74, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .lx-nav-login-btn:hover,
[data-theme="light"] body.lx-storefront-home #org.navbar.lx-storefront-nav .lx-nav-login-btn:focus-visible {
  color: #ffffff !important;
  box-shadow:
    0 5px 18px rgba(22, 163, 74, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

[data-theme="light"] .lx-portal-login-badge {
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.14), rgba(124, 58, 237, 0.10)) !important;
  border-color: rgba(124, 58, 237, 0.22) !important;
  color: #15803d !important;
}

[data-theme="light"] .lx-portal-login-sub {
  color: rgba(15, 23, 42, 0.62) !important;
}

[data-theme="light"] .lx-portal-tile {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border-color: rgba(124, 58, 237, 0.16) !important;
  color: #0f172a !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .lx-portal-tile:hover,
[data-theme="light"] .lx-portal-tile:focus-visible {
  color: #0f172a !important;
  border-color: rgba(124, 58, 237, 0.32) !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .lx-portal-tile__label {
  color: #0f172a !important;
}

[data-theme="light"] .lx-portal-tile__hint {
  color: rgba(15, 23, 42, 0.62) !important;
}

[data-theme="light"] .lx-portal-tile__arrow {
  background: rgba(124, 58, 237, 0.08) !important;
  border-color: rgba(124, 58, 237, 0.14) !important;
  color: #5b21b6 !important;
}

[data-theme="light"] .lx-modal .btn-close,
[data-theme="light"] .lx-portal-login-modal .btn-close {
  filter: none !important;
  opacity: 0.55 !important;
}

[data-theme="light"] .lx-portal-login-modal .btn-close:hover {
  opacity: 0.85 !important;
}

[data-theme="light"] .kei-empty-category-state {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .kei-empty-category-title {
  color: #0f172a !important;
}

[data-theme="light"] .kei-empty-category-subtitle,
[data-theme="light"] .kei-empty-category-icon {
  color: rgba(15, 23, 42, 0.50) !important;
}

[data-theme="light"] .modal-backdrop {
  background-color: rgba(15, 23, 42, 0.45) !important;
}

/* Marketplace sub-pages — full white light theme */
[data-theme="light"] body.lx-mp-page {
  background: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] {
  --lx-mp-bg: #ffffff;
  --lx-mp-text: #0f172a;
  --lx-mp-muted: #475569;
  --lx-mp-card-bg: #ffffff;
  --lx-mp-card-border: rgba(15, 23, 42, 0.12);
  --lx-mp-line-border: rgba(15, 23, 42, 0.10);
  --lx-mp-input-bg: #ffffff;
  --lx-mp-input-border: rgba(15, 23, 42, 0.18);
  --lx-mp-vendor: #6d28d9;
  --lx-mp-gold: #b45309;
  --lx-mp-danger-text: #dc2626;
  --lx-mp-danger-border: rgba(220, 38, 38, 0.40);
  --lx-mp-modal-bg: #ffffff;
  --lx-mp-frame-bg: #f8fafc;
  --lx-mp-store-bg: #ffffff;
  --lx-mp-store-active: rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .lx-mc-card,
[data-theme="light"] .lx-mp-card,
[data-theme="light"] .lx-ty-card,
[data-theme="light"] .lx-st-product-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
  color: #0f172a !important;
}

[data-theme="light"] .lx-mc-cart-title,
[data-theme="light"] .lx-mc-item-title,
[data-theme="light"] .lx-mc-line-title,
[data-theme="light"] .lx-ty-title,
[data-theme="light"] .lx-st-title,
[data-theme="light"] .lx-mc-review-title,
[data-theme="light"] .lx-mp-lead {
  color: #0f172a !important;
}

[data-theme="light"] .lx-mc-cart-desc,
[data-theme="light"] .lx-mc-item-desc,
[data-theme="light"] .lx-mc-line-desc,
[data-theme="light"] .lx-ty-desc,
[data-theme="light"] .lx-st-meta,
[data-theme="light"] .lx-mc-review-note,
[data-theme="light"] .lx-ty-muted,
[data-theme="light"] .lx-mp-lead,
[data-theme="light"] body.lx-mp-page .text-muted,
[data-theme="light"] .lx-mc-wrap .text-muted {
  color: #475569 !important;
}

[data-theme="light"] .lx-mc-summary strong,
[data-theme="light"] .lx-mp-summary strong {
  color: #b45309 !important;
}

[data-theme="light"] .lx-mc-input,
[data-theme="light"] .lx-mc-qty {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.18) !important;
  color: #0f172a !important;
}

[data-theme="light"] .lx-mc-label {
  color: #334155 !important;
}

[data-theme="light"] .lx-mc-vendor {
  color: #6d28d9 !important;
}

[data-theme="light"] .lx-st-store-item {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .lx-st-store-item.active {
  border-color: rgba(124, 58, 237, 0.35) !important;
  background: rgba(124, 58, 237, 0.06) !important;
}

[data-theme="light"] .lx-st-empty {
  background: #ffffff !important;
  color: #475569 !important;
}

[data-theme="light"] .lx-mc-payment-modal .modal-content {
  background: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] .lx-mp-back {
  color: #0f172a !important;
}

[data-theme="light"] .lx-st-price {
  color: #dc2626 !important;
}

[data-theme="light"] .lx-ty-chip.ok {
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.35) !important;
  background: rgba(5, 150, 105, 0.08) !important;
}

[data-theme="light"] .lx-ty-chip.pending {
  color: #b45309 !important;
  border-color: rgba(180, 83, 9, 0.35) !important;
  background: rgba(180, 83, 9, 0.08) !important;
}

[data-theme="light"] .lx-mp-payment-modal .modal-title,
[data-theme="light"] .lx-mc-payment-modal .modal-title {
  color: #0f172a !important;
}

[data-theme="light"] body.lx-mp-page h1,
[data-theme="light"] body.lx-mp-page h2,
[data-theme="light"] .lx-mc-wrap h1,
[data-theme="light"] .lx-mc-wrap h2,
[data-theme="light"] .lx-ty-wrap h1,
[data-theme="light"] .lx-ty-wrap h2,
[data-theme="light"] .lx-st-wrap h1,
[data-theme="light"] .lx-st-wrap h2 {
  color: #0f172a !important;
}

/* Dark theme popups/forms — keep light text on dark surfaces */
html:not([data-theme="light"]) .lx-modal .modal-content,
html[data-theme="dark"] .lx-modal .modal-content,
html:not([data-theme="light"]) .lx-cart-modal,
html[data-theme="dark"] .lx-cart-modal {
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  color: #f8fafc !important;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55) !important;
}

html:not([data-theme="light"]) .lx-cart-modal-wrap .modal-header,
html[data-theme="dark"] .lx-cart-modal-wrap .modal-header,
html:not([data-theme="light"]) .lx-cart-modal-wrap .modal-footer,
html[data-theme="dark"] .lx-cart-modal-wrap .modal-footer,
html:not([data-theme="light"]) .lx-modal .modal-header,
html[data-theme="dark"] .lx-modal .modal-header,
html:not([data-theme="light"]) .lx-modal .modal-footer,
html[data-theme="dark"] .lx-modal .modal-footer {
  background: #0f172a !important;
  border-color: #1e293b !important;
}

html:not([data-theme="light"]) .lx-modal .modal-title,
html[data-theme="dark"] .lx-modal .modal-title,
html:not([data-theme="light"]) .lx-cart-modal-wrap .modal-title,
html[data-theme="dark"] .lx-cart-modal-wrap .modal-title,
html:not([data-theme="light"]) .lx-form-label,
html[data-theme="dark"] .lx-form-label,
html:not([data-theme="light"]) .lx-contact-modal-sub,
html[data-theme="dark"] .lx-contact-modal-sub {
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .lx-form-label,
html[data-theme="dark"] .lx-form-label,
html:not([data-theme="light"]) .lx-modal .text-muted,
html[data-theme="dark"] .lx-modal .text-muted,
html:not([data-theme="light"]) .lx-cart-modal-wrap .text-muted,
html[data-theme="dark"] .lx-cart-modal-wrap .text-muted {
  color: rgba(248, 250, 252, 0.72) !important;
}

html:not([data-theme="light"]) .lx-cart-item-title,
html[data-theme="dark"] .lx-cart-item-title {
  color: #f1f5f9 !important;
}

html:not([data-theme="light"]) .lx-cart-item-price,
html[data-theme="dark"] .lx-cart-item-price {
  color: #fbbf24 !important;
  font-weight: 800 !important;
}

html:not([data-theme="light"]) .lx-cart-item,
html[data-theme="dark"] .lx-cart-item {
  border-bottom-color: #1e293b !important;
}

html:not([data-theme="light"]) .lx-cart-checkout-summary,
html[data-theme="dark"] .lx-cart-checkout-summary {
  background: rgba(251, 191, 36, 0.1) !important;
  border: 1px solid rgba(251, 191, 36, 0.28) !important;
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .lx-form-control,
html[data-theme="dark"] .lx-form-control,
html:not([data-theme="light"]) .lx-cart-modal-wrap .form-control,
html[data-theme="dark"] .lx-cart-modal-wrap .form-control,
html:not([data-theme="light"]) .lx-modal .form-control,
html[data-theme="dark"] .lx-modal .form-control {
  background: #1e293b !important;
  border-color: #475569 !important;
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .lx-btn-outline,
html[data-theme="dark"] .lx-btn-outline {
  color: #f8fafc !important;
  border-color: rgba(248, 250, 252, 0.28) !important;
  background: transparent !important;
}

html:not([data-theme="light"]) .lx-modal .btn-close,
html[data-theme="dark"] .lx-modal .btn-close,
html:not([data-theme="light"]) .lx-cart-modal-wrap .btn-close,
html[data-theme="dark"] .lx-cart-modal-wrap .btn-close {
  filter: invert(1) !important;
  opacity: 0.7 !important;
}

/* ── Storefront product cards: legible in light + dark (beats index-kei white titles) ── */
[data-theme="light"] body.kei.lx-storefront-home #allproductsQuery .kei-product-card .kei-product-body,
[data-theme="light"] body.lx-storefront-home.lx-vendor-store-page #allproductsQuery .kei-product-card .kei-product-body,
[data-theme="light"] body.kei.lx-storefront-home #allproductsQuery .lx-marketplace-card .kei-product-body,
[data-theme="light"] body.lx-storefront-home #allproductsQuery .lx-marketplace-card .kei-product-body {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  color: #0f172a !important;
}

[data-theme="light"] body.kei.lx-storefront-home #allproductsQuery .kei-product-link,
[data-theme="light"] body.lx-storefront-home #allproductsQuery .kei-product-link {
  color: #0f172a !important;
}

[data-theme="light"] body.kei.lx-storefront-home #allproductsQuery .kei-product-title,
[data-theme="light"] body.lx-storefront-home #allproductsQuery .lx-marketplace-card .kei-product-title,
[data-theme="light"] body.lx-storefront-home.lx-vendor-store-page #allproductsQuery .kei-product-title,
[data-theme="light"] body.lx-storefront-home #allproductsQuery .kei-product-link .kei-product-title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: none !important;
}

[data-theme="light"] body.kei.lx-storefront-home #allproductsQuery .kei-product-meta,
[data-theme="light"] body.lx-storefront-home #allproductsQuery .lx-marketplace-card .kei-product-meta,
[data-theme="light"] body.lx-storefront-home #allproductsQuery .lx-vendor-line,
[data-theme="light"] body.lx-storefront-home.lx-vendor-store-page #allproductsQuery .kei-product-meta {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

[data-theme="dark"] body.kei.lx-storefront-home #allproductsQuery .kei-product-card .kei-product-body,
[data-theme="dark"] body.lx-storefront-home #allproductsQuery .lx-marketplace-card .kei-product-body,
[data-theme="dark"] body.lx-storefront-home.lx-vendor-store-page #allproductsQuery .kei-product-card .kei-product-body {
  background: linear-gradient(180deg, rgba(7, 10, 16, 0.2) 0%, rgba(7, 10, 16, 0.55) 100%) !important;
  color: #f8fafc !important;
}

[data-theme="dark"] body.kei.lx-storefront-home #allproductsQuery .kei-product-link,
[data-theme="dark"] body.lx-storefront-home #allproductsQuery .kei-product-link {
  color: #f8fafc !important;
}

[data-theme="dark"] body.kei.lx-storefront-home #allproductsQuery .kei-product-title,
[data-theme="dark"] body.lx-storefront-home #allproductsQuery .lx-marketplace-card .kei-product-title,
[data-theme="dark"] body.lx-storefront-home.lx-vendor-store-page #allproductsQuery .kei-product-title,
[data-theme="dark"] body.lx-storefront-home #allproductsQuery .kei-product-link .kei-product-title {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  text-shadow: none !important;
}

[data-theme="dark"] body.kei.lx-storefront-home #allproductsQuery .kei-product-meta,
[data-theme="dark"] body.lx-storefront-home #allproductsQuery .lx-marketplace-card .kei-product-meta,
[data-theme="dark"] body.lx-storefront-home #allproductsQuery .lx-vendor-line,
[data-theme="dark"] body.lx-storefront-home.lx-vendor-store-page #allproductsQuery .kei-product-meta {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}
