/* ==========================================================================
   Theme 1: Luxe Elegance — Premium Fashion, Jewelry & Luxury Boutique
   Rose Gold × Crimson Luxury  |  Category: Luxury & Boutique
   Default Theme: Premium Porcelain / Pearl White (Light Mode Default)
   ========================================================================== */

/* ── Global CSS Variables (Light Mode Default) ────────────────────── */
body.theme-luxe_elegance {
  --primary-color: #e11d48;
  --primary-hover: #be123c;
  --primary-gradient: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  --bg-color: #f8fafc;
  --text-color: #0f172a;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  --card-border: rgba(225, 29, 72, 0.12);
  --border-color: rgba(226, 232, 240, 0.85);
  --success-color: #10b981;
  --error-color: #e11d48;
  --accent: #d97706;
  --btn-hover-shadow: 0 8px 24px rgba(225, 29, 72, 0.35);
  --border-radius-lg: 24px;
  --border-radius-md: 18px;
  --border-radius-sm: 12px;

  /* Theme-specific tokens */
  --theme-primary: #e11d48;
  --theme-accent: #d97706;
  --theme-glow: rgba(225, 29, 72, 0.18);
  --theme-font: 'Outfit', 'Noto Sans Lao', serif;

  background-color: #f8fafc;
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(225, 29, 72, 0.04) 0px, transparent 55%),
    radial-gradient(ellipse at 100% 10%, rgba(251, 191, 36, 0.04) 0px, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(225, 29, 72, 0.03) 0px, transparent 55%);
  color: #0f172a;
  font-family: var(--theme-font);
}

/* ── Header / Navbar in Light Mode ───────────────────────────────── */
body.theme-luxe_elegance .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(225, 29, 72, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
}

body.theme-luxe_elegance .header-search input {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #0f172a;
}

body.theme-luxe_elegance .header-search input:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.14);
}

/* ── Hero Section in Light Mode ──────────────────────────────────── */
body.theme-luxe_elegance .hero {
  background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 50%, #ffffff 100%);
  border-bottom: 1px solid rgba(225, 29, 72, 0.12);
  color: #0f172a;
}

body.theme-luxe_elegance .hero::before {
  background: radial-gradient(ellipse at center, rgba(225, 29, 72, 0.08) 0%, transparent 70%);
}

body.theme-luxe_elegance .hero-badge {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35);
}

body.theme-luxe_elegance .hero-content h1 {
  font-family: 'Outfit', 'Noto Sans Lao', serif;
  letter-spacing: -0.03em;
  color: #0f172a;
}

/* ── Product Cards in Light Mode ─────────────────────────────────── */
body.theme-luxe_elegance .product-card,
body.theme-luxe_elegance .glass-card {
  background: #ffffff;
  border: 1px solid rgba(225, 29, 72, 0.12);
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-luxe_elegance .product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 29, 72, 0.35);
  box-shadow:
    0 18px 36px -8px rgba(225, 29, 72, 0.14),
    0 0 0 1px rgba(225, 29, 72, 0.10);
}

body.theme-luxe_elegance .product-name {
  color: #0f172a;
  font-weight: 700;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
body.theme-luxe_elegance .order-btn,
body.theme-luxe_elegance .btn-primary,
body.theme-luxe_elegance .btn-buy,
body.theme-luxe_elegance .modal-order-btn {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 6px 20px -4px rgba(225, 29, 72, 0.40);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-luxe_elegance .order-btn:hover:not(:disabled),
body.theme-luxe_elegance .btn-primary:hover,
body.theme-luxe_elegance .modal-order-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #fb2d5c 0%, #be123c 100%) !important;
  box-shadow: 0 10px 28px -4px rgba(225, 29, 72, 0.55);
  transform: translateY(-2px);
}

/* ── Price Labels ─────────────────────────────────────────────────── */
body.theme-luxe_elegance .product-price,
body.theme-luxe_elegance .modal-price,
body.theme-luxe_elegance .price-tag {
  color: #e11d48 !important;
  font-weight: 800;
}

body.theme-luxe_elegance .product-old-price,
body.theme-luxe_elegance .modal-old-price {
  color: #94a3b8;
  text-decoration: line-through;
}

/* ── Category Filters ─────────────────────────────────────────────── */
body.theme-luxe_elegance .cat-filter-list li a.active,
body.theme-luxe_elegance .cat-filter-list li a:hover {
  background: rgba(225, 29, 72, 0.08);
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.30);
}

body.theme-luxe_elegance .price-range button {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
}

/* ── Sidebar ──────────────────────────────────────────────────────── */
body.theme-luxe_elegance .shop-sidebar {
  background: #ffffff;
  border: 1px solid rgba(225, 29, 72, 0.12);
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

body.theme-luxe_elegance .sidebar-section h3 {
  color: #0f172a;
  font-family: 'Outfit', serif;
  letter-spacing: 0.03em;
}

/* ── Glass Utility ────────────────────────────────────────────────── */
body.theme-luxe_elegance .glass {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(225, 29, 72, 0.12);
  backdrop-filter: blur(20px);
}

/* ── Cart Drawer in Light Mode ────────────────────────────────────── */
body.theme-luxe_elegance .cart-drawer {
  background: #ffffff;
  border-left: 1px solid rgba(225, 29, 72, 0.15);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
}

body.theme-luxe_elegance .cart-drawer-header {
  border-bottom: 1px solid rgba(225, 29, 72, 0.12);
  background: #ffffff;
}

/* ── Modal in Light Mode ──────────────────────────────────── */
body.theme-luxe_elegance .modal-overlay > div,
body.theme-luxe_elegance .product-modal {
  background: #ffffff;
  border: 1px solid rgba(225, 29, 72, 0.18);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  color: #0f172a;
}

body.theme-luxe_elegance .modal-cat {
  color: #e11d48;
}

body.theme-luxe_elegance .modal-name {
  color: #0f172a;
}

/* ── Product Badge ────────────────────────────────────────────────── */
body.theme-luxe_elegance .product-badge {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  font-weight: 800;
}

/* ── Scrollbar ────────────────────────────────────────────────────── */
body.theme-luxe_elegance ::-webkit-scrollbar-track { background: #f1f5f9; }
body.theme-luxe_elegance ::-webkit-scrollbar-thumb { background: rgba(225, 29, 72, 0.35); border-radius: 8px; }
body.theme-luxe_elegance ::-webkit-scrollbar-thumb:hover { background: #e11d48; }

/* ── Selection Highlight ──────────────────────────────────────────── */
body.theme-luxe_elegance ::selection { background: rgba(225, 29, 72, 0.15); color: #0f172a; }

/* ── Top Announcement Bar ─────────────────────────────────────────── */
body.theme-luxe_elegance .top-announcement-bar {
  background: linear-gradient(90deg, #be123c 0%, #e11d48 50%, #9f1239 100%);
  color: #fff;
}

/* ── Mobile Navigation & Drawer in Light Mode ─────────────────────── */
body.theme-luxe_elegance .mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.97) !important;
  border-top: 1px solid rgba(225, 29, 72, 0.12) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.theme-luxe_elegance .m-nav-item.active {
  color: #e11d48 !important;
}

body.theme-luxe_elegance .mobile-slide-drawer {
  background: #ffffff !important;
  color: #0f172a !important;
}

body.theme-luxe_elegance .slide-drawer-header {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%) !important;
  border-bottom: 1px solid rgba(225, 29, 72, 0.15) !important;
}

body.theme-luxe_elegance .slide-avatar {
  background: #e11d48 !important;
  color: #ffffff !important;
}

body.theme-luxe_elegance .slide-section-title {
  color: #475569 !important;
}

body.theme-luxe_elegance .slide-quick-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
}

body.theme-luxe_elegance .slide-cat-item {
  color: #1e293b !important;
}

body.theme-luxe_elegance .slide-carrier-pill {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
}

body.theme-luxe_elegance .slide-setting-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
}

body.theme-luxe_elegance .slide-badge-pill {
  background: rgba(225, 29, 72, 0.10) !important;
  color: #e11d48 !important;
  border: 1px solid rgba(225, 29, 72, 0.20) !important;
}

/* ==========================================================================
   Luxe Elegance — Dark Mode (Obsidian Glass & Rose Gold Glow)
   Activated via [data-theme="dark"]
   ========================================================================== */

[data-theme="dark"] body.theme-luxe_elegance {
  --bg-color: #080b12;
  --text-color: #f1f5f9;
  --text-muted: #94a3b8;
  --card-bg: rgba(14, 20, 38, 0.88);
  --card-border: rgba(225, 29, 72, 0.22);
  --border-color: rgba(225, 29, 72, 0.15);
  --accent: #fbbf24;

  background-color: #080b12;
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(225, 29, 72, 0.20) 0px, transparent 55%),
    radial-gradient(ellipse at 100% 10%, rgba(251, 191, 36, 0.10) 0px, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(136, 19, 55, 0.18) 0px, transparent 55%);
  color: #f1f5f9;
}

[data-theme="dark"] body.theme-luxe_elegance .site-header {
  background: rgba(8, 11, 18, 0.92);
  border-bottom: 1px solid rgba(225, 29, 72, 0.20);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] body.theme-luxe_elegance .header-search input {
  background: rgba(225, 29, 72, 0.07);
  border-color: rgba(225, 29, 72, 0.22);
  color: #f1f5f9;
}

[data-theme="dark"] body.theme-luxe_elegance .header-search input:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.18);
}

[data-theme="dark"] body.theme-luxe_elegance .hero {
  background: linear-gradient(135deg, #0f0416 0%, #1a0510 40%, #0a0d1a 100%);
  border-bottom: 1px solid rgba(225, 29, 72, 0.18);
  color: #f1f5f9;
}

[data-theme="dark"] body.theme-luxe_elegance .hero::before {
  background: radial-gradient(ellipse at center, rgba(225, 29, 72, 0.15) 0%, transparent 70%);
}

[data-theme="dark"] body.theme-luxe_elegance .hero-content h1 {
  color: #ffffff;
}

[data-theme="dark"] body.theme-luxe_elegance .product-card,
[data-theme="dark"] body.theme-luxe_elegance .glass-card {
  background: rgba(14, 20, 38, 0.85);
  border: 1px solid rgba(225, 29, 72, 0.20);
  box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] body.theme-luxe_elegance .product-card:hover {
  border-color: rgba(225, 29, 72, 0.55);
  box-shadow:
    0 24px 48px -12px rgba(225, 29, 72, 0.28),
    0 0 0 1px rgba(225, 29, 72, 0.15);
}

[data-theme="dark"] body.theme-luxe_elegance .product-name {
  color: #f1f5f9;
}

[data-theme="dark"] body.theme-luxe_elegance .product-price,
[data-theme="dark"] body.theme-luxe_elegance .modal-price,
[data-theme="dark"] body.theme-luxe_elegance .price-tag {
  color: #fbbf24 !important;
}

[data-theme="dark"] body.theme-luxe_elegance .product-old-price,
[data-theme="dark"] body.theme-luxe_elegance .modal-old-price {
  color: #64748b;
}

[data-theme="dark"] body.theme-luxe_elegance .cat-filter-list li a.active,
[data-theme="dark"] body.theme-luxe_elegance .cat-filter-list li a:hover {
  background: rgba(225, 29, 72, 0.15);
  color: #fb7185;
  border-color: rgba(225, 29, 72, 0.40);
}

[data-theme="dark"] body.theme-luxe_elegance .shop-sidebar {
  background: rgba(12, 16, 28, 0.80);
  border: 1px solid rgba(225, 29, 72, 0.12);
}

[data-theme="dark"] body.theme-luxe_elegance .sidebar-section h3 {
  color: #fbbf24;
}

[data-theme="dark"] body.theme-luxe_elegance .glass {
  background: rgba(14, 20, 38, 0.80);
  border: 1px solid rgba(225, 29, 72, 0.18);
}

[data-theme="dark"] body.theme-luxe_elegance .cart-drawer {
  background: #0b0f1c;
  border-left: 1px solid rgba(225, 29, 72, 0.25);
}

[data-theme="dark"] body.theme-luxe_elegance .cart-drawer-header {
  border-bottom: 1px solid rgba(225, 29, 72, 0.18);
  background: #0b0f1c;
}

[data-theme="dark"] body.theme-luxe_elegance .modal-overlay > div,
[data-theme="dark"] body.theme-luxe_elegance .product-modal {
  background: rgba(10, 14, 24, 0.97);
  border: 1px solid rgba(225, 29, 72, 0.25);
  color: #f1f5f9;
}

[data-theme="dark"] body.theme-luxe_elegance .modal-cat {
  color: #fbbf24;
}

[data-theme="dark"] body.theme-luxe_elegance .modal-name {
  color: #f1f5f9;
}

[data-theme="dark"] body.theme-luxe_elegance ::-webkit-scrollbar-track {
  background: #0b0f1c;
}

[data-theme="dark"] body.theme-luxe_elegance ::selection {
  background: rgba(225, 29, 72, 0.30);
  color: #fff;
}

[data-theme="dark"] body.theme-luxe_elegance .mobile-bottom-nav {
  background: rgba(8, 11, 18, 0.95) !important;
  border-top: 1px solid rgba(225, 29, 72, 0.20) !important;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] body.theme-luxe_elegance .mobile-slide-drawer {
  background: #0b0f1c !important;
  color: #f1f5f9 !important;
}

[data-theme="dark"] body.theme-luxe_elegance .slide-drawer-header {
  background: linear-gradient(135deg, #1a0510 0%, #0f0416 100%) !important;
  border-bottom: 1px solid rgba(225, 29, 72, 0.22) !important;
}

[data-theme="dark"] body.theme-luxe_elegance .slide-section-title {
  color: #94a3b8 !important;
}

[data-theme="dark"] body.theme-luxe_elegance .slide-quick-item {
  background: #131826 !important;
  border: 1px solid rgba(225, 29, 72, 0.15) !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] body.theme-luxe_elegance .slide-cat-item {
  color: #e2e8f0 !important;
}

[data-theme="dark"] body.theme-luxe_elegance .slide-carrier-pill {
  background: #131826 !important;
  border: 1px solid rgba(225, 29, 72, 0.15) !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] body.theme-luxe_elegance .slide-setting-item {
  background: #131826 !important;
  border: 1px solid rgba(225, 29, 72, 0.15) !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] body.theme-luxe_elegance .slide-badge-pill {
  background: rgba(225, 29, 72, 0.20) !important;
  color: #fb7185 !important;
  border: 1px solid rgba(225, 29, 72, 0.35) !important;
}
