/* NobleVape Custom Styles */
:root {
    --primary: #e63946;
    --dark: #1a1a2e;
    --accent: #f4a261;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f8f9fa;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Product Cards */
.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.product-card .card-img-top {
    height: 220px;
    object-fit: cover;
}
.product-card .badge-stock-low {
    background: #ff6b6b;
}

/* Out-of-stock card: grayscale + dimmed */
.product-card.oos {
    filter: grayscale(80%);
    opacity: 0.65;
}
.product-card.oos:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.75;
}

/* Price */
.price-tag {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Cart */
.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* Floating cart shortcut + in-cart CTA state */
.nv-floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.nv-floating-cart {
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.24);
    animation: nv-float-bob 2.2s ease-in-out infinite;
}

.nv-floating-cart .badge {
    font-size: 0.7rem;
}

.nv-floating-whatsapp {
    border-radius: 999px;
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
    animation: nv-float-bob 2.2s ease-in-out infinite;
}

.nv-floating-whatsapp:hover {
    background: #1ebe5a !important;
    border-color: #1ebe5a !important;
}

.btn.nv-in-cart-floating {
    animation: nv-float-bob 2.2s ease-in-out infinite;
    box-shadow: 0 10px 24px rgba(230,57,70,0.35);
}

@keyframes nv-float-bob {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nv-floating-actions {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }
}

/* Admin Sidebar */
.admin-sidebar {
    min-height: 100vh;
    background: #1a1a2e;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    z-index: 100;
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.75);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    margin: 2px 10px;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.admin-content {
    margin-left: 250px;
    padding: 20px;
    min-height: 100vh;
}

/* Status Badges */
.status-pending { background: #ffc107; color: #000; }
.status-paid { background: #0dcaf0; }
.status-processing { background: #6f42c1; }
.status-shipped { background: #0d6efd; }
.status-completed { background: #198754; }
.status-cancelled { background: #dc3545; }

/* Checkout Steps */
.checkout-steps .step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: #dee2e6;
    color: #6c757d;
}
.checkout-steps .step.active {
    background: var(--primary);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-sidebar { width: 100%; position: relative; min-height: auto; }
    .admin-content { margin-left: 0; }
    .hero-section { min-height: 300px; }
}

/* ═══════════════════════════════════════════════════════
   THEMES
═══════════════════════════════════════════════════════ */

/* ── GOTHIC ─────────────────────────────────────────── */
body.theme-gothic {
    font-family: 'Cinzel', 'Georgia', serif;
    background: #0d0d0d;
    color: #e0d5c5;
}
body.theme-gothic .navbar.bg-dark { background: #1a0505 !important; border-bottom: 1px solid #5a0a0a; }
body.theme-gothic .product-card { background: #1a1a1a; border: 1px solid #3d1a1a; color: #e0d5c5; }
body.theme-gothic .product-card .card-body { background: #1a1a1a; color: #e0d5c5; }
body.theme-gothic .product-card .card-title,
body.theme-gothic .product-card .card-text { color: #e0d5c5; }
body.theme-gothic .product-card:hover { box-shadow: 0 10px 30px rgba(180,0,0,0.35); }
body.theme-gothic .card { background: #1a1a1a; border-color: #3d1a1a; color: #e0d5c5; }
body.theme-gothic .card-header { background: #0d0d0d !important; color: #c9a0a0 !important; border-color: #3d1a1a; }
body.theme-gothic .list-group-item { background: #1a1a1a; border-color: #3d1a1a; color: #e0d5c5; }
body.theme-gothic h1, body.theme-gothic h2, body.theme-gothic h3,
body.theme-gothic h4, body.theme-gothic h5, body.theme-gothic h6 { font-family: 'Cinzel', serif; letter-spacing: 0.05em; }
body.theme-gothic .hero-section { background: linear-gradient(135deg, #0d0d0d 0%, #1a0505 50%, #2d0000 100%); }
body.theme-gothic footer { background: #0a0505 !important; }
body.theme-gothic .form-control { background: #1a1a1a; border-color: #3d1a1a; color: #e0d5c5; }
body.theme-gothic .form-control:focus { background: #1a1a1a; color: #e0d5c5; border-color: #8b0000; box-shadow: 0 0 0 0.25rem rgba(139,0,0,0.25); }
body.theme-gothic .dropdown-menu { background: #1a1a1a; border-color: #3d1a1a; }
body.theme-gothic .dropdown-item { color: #e0d5c5; }
body.theme-gothic .dropdown-item:hover { background: #2d0a0a; color: #fff; }
body.theme-gothic .table { color: #e0d5c5; }
body.theme-gothic .table-light { background: #222 !important; color: #e0d5c5; }
body.theme-gothic .table-hover tbody tr:hover { background: rgba(139,0,0,0.15); }

/* ── SEXY ─────────────────────────────────────────────── */
body.theme-sexy {
    font-family: 'Playfair Display', 'Georgia', serif;
    background: #0a0a0a;
    color: #f5e6ef;
}
body.theme-sexy .navbar.bg-dark { background: #1a0514 !important; border-bottom: 1px solid #ff2d78; }
body.theme-sexy .product-card { background: #1a1a1a; border: 1px solid #3d1a2e; color: #f5e6ef; }
body.theme-sexy .product-card .card-body { background: #1a1a1a; color: #f5e6ef; }
body.theme-sexy .product-card .card-title,
body.theme-sexy .product-card .card-text { color: #f5e6ef; }
body.theme-sexy .product-card:hover { box-shadow: 0 10px 40px rgba(255,45,120,0.45); transform: translateY(-6px); }
body.theme-sexy .card { background: #1a1a1a; border-color: #3d1a2e; color: #f5e6ef; }
body.theme-sexy .card-header { background: #0d0d0d !important; color: #ff9dc3 !important; border-color: #3d1a2e; }
body.theme-sexy .list-group-item { background: #1a1a1a; border-color: #3d1a2e; color: #f5e6ef; }
body.theme-sexy h1, body.theme-sexy h2, body.theme-sexy h3,
body.theme-sexy h4, body.theme-sexy h5, body.theme-sexy h6 { font-family: 'Playfair Display', serif; letter-spacing: 0.03em; }
body.theme-sexy .hero-section { background: linear-gradient(135deg, #0a0a0a 0%, #1a0514 50%, #2d0020 100%); }
body.theme-sexy footer { background: #0a0505 !important; }
body.theme-sexy .form-control { background: #1a1a1a; border-color: #3d1a2e; color: #f5e6ef; }
body.theme-sexy .form-control:focus { background: #1a1a1a; color: #f5e6ef; border-color: #ff2d78; box-shadow: 0 0 0 0.25rem rgba(255,45,120,0.25); }
body.theme-sexy .dropdown-menu { background: #1a1a1a; border-color: #3d1a2e; }
body.theme-sexy .dropdown-item { color: #f5e6ef; }
body.theme-sexy .dropdown-item:hover { background: #2d0020; color: #fff; }
body.theme-sexy .table { color: #f5e6ef; }
body.theme-sexy .table-light { background: #222 !important; color: #f5e6ef; }
body.theme-sexy .table-hover tbody tr:hover { background: rgba(255,45,120,0.1); }

/* ── ROCK ─────────────────────────────────────────────── */
body.theme-rock {
    font-family: 'Oswald', 'Impact', sans-serif;
    background: #111111;
    color: #e8e8e8;
}
body.theme-rock .navbar.bg-dark { background: #0a0a0a !important; border-bottom: 2px solid #f59e0b; }
body.theme-rock .product-card { background: #1c1c1c; border: 1px solid #333; color: #e8e8e8; border-radius: 4px; }
body.theme-rock .product-card .card-body { background: #1c1c1c; color: #e8e8e8; }
body.theme-rock .product-card .card-title,
body.theme-rock .product-card .card-text { color: #e8e8e8; }
body.theme-rock .product-card:hover { box-shadow: 0 8px 30px rgba(245,158,11,0.4); transform: translateY(-4px); }
body.theme-rock .card { background: #1c1c1c; border-color: #333; color: #e8e8e8; border-radius: 4px; }
body.theme-rock .card-header { background: #111 !important; color: #f59e0b !important; border-color: #333; text-transform: uppercase; letter-spacing: 0.08em; }
body.theme-rock .list-group-item { background: #1c1c1c; border-color: #333; color: #e8e8e8; }
body.theme-rock h1, body.theme-rock h2, body.theme-rock h3,
body.theme-rock h4, body.theme-rock h5, body.theme-rock h6 { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; }
body.theme-rock .hero-section { background: linear-gradient(135deg, #111 0%, #1c1c1c 50%, #0a0a0a 100%); }
body.theme-rock footer { background: #0a0a0a !important; }
body.theme-rock .form-control { background: #1c1c1c; border-color: #333; color: #e8e8e8; border-radius: 2px; }
body.theme-rock .form-control:focus { background: #1c1c1c; color: #e8e8e8; border-color: #f59e0b; box-shadow: 0 0 0 0.25rem rgba(245,158,11,0.25); }
body.theme-rock .price-tag { color: #f59e0b !important; }
body.theme-rock .dropdown-menu { background: #1c1c1c; border-color: #333; }
body.theme-rock .dropdown-item { color: #e8e8e8; }
body.theme-rock .dropdown-item:hover { background: #2a2a2a; color: #f59e0b; }
body.theme-rock .table { color: #e8e8e8; }
body.theme-rock .table-light { background: #222 !important; color: #e8e8e8; }
body.theme-rock .table-hover tbody tr:hover { background: rgba(245,158,11,0.1); }

/* ── MAJESTIC ──────────────────────────────────────────── */
body.theme-majestic {
    font-family: 'Libre Baskerville', 'Georgia', serif;
    background: #f5f0e8;
    color: #1a1a2e;
}
body.theme-majestic .navbar.bg-dark { background: #0a1628 !important; border-bottom: 1px solid #d4af37; }
body.theme-majestic .product-card { background: #fff; border: 1px solid #e8dfc8; box-shadow: 0 2px 12px rgba(212,175,55,0.08); }
body.theme-majestic .product-card:hover { box-shadow: 0 10px 40px rgba(212,175,55,0.3); transform: translateY(-5px); }
body.theme-majestic .card { background: #fff; border-color: #e8dfc8; }
body.theme-majestic .card-header { background: #f5f0e8 !important; color: #0a1628 !important; border-color: #e8dfc8; }
body.theme-majestic .list-group-item { background: #fff; border-color: #e8dfc8; }
body.theme-majestic h1, body.theme-majestic h2, body.theme-majestic h3,
body.theme-majestic h4, body.theme-majestic h5, body.theme-majestic h6 { font-family: 'Libre Baskerville', serif; }
body.theme-majestic .hero-section { background: linear-gradient(135deg, #0a1628 0%, #152540 50%, #0a1628 100%); }
body.theme-majestic footer { background: #0a1628 !important; }
body.theme-majestic .price-tag { color: #c9a227 !important; }
body.theme-majestic .form-control:focus { border-color: #d4af37; box-shadow: 0 0 0 0.25rem rgba(212,175,55,0.25); }
body.theme-majestic .dropdown-menu { background: #fff; border-color: #e8dfc8; }
body.theme-majestic .dropdown-item:hover { background: #f5f0e8; color: #0a1628; }
body.theme-majestic .table-light { background: #f5f0e8 !important; }
body.theme-majestic .table-hover tbody tr:hover { background: rgba(212,175,55,0.08); }

/* ── LEETIGER ─────────────────────────────────────────── */
body.theme-leetiger {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    background:
        radial-gradient(1200px 500px at -10% -20%, rgba(110,231,255,0.15), transparent 60%),
        radial-gradient(1000px 460px at 110% 120%, rgba(133,77,255,0.12), transparent 55%),
        linear-gradient(145deg, #07090f 0%, #0b1120 50%, #06080d 100%);
    color: #eaf6ff;
    position: relative;
    overflow-x: hidden;
}
body.theme-leetiger .navbar.bg-dark {
    background: #080d1a !important;
    border-bottom: 1px solid rgba(110,231,255,0.45);
    box-shadow: 0 0 24px rgba(0, 180, 255, 0.15);
}
body.theme-leetiger .hero-section {
    background: linear-gradient(130deg, #05070d 0%, #0b1426 50%, #090b12 100%);
    position: relative;
}
body.theme-leetiger .hero-section::before,
body.theme-leetiger .hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}
body.theme-leetiger .hero-section::before {
    background: radial-gradient(circle at 15% 25%, rgba(110,231,255,0.15), transparent 35%);
    animation: leetiger-heartbeat var(--leetiger-beat-duration, 2.8s) ease-in-out infinite;
}
body.theme-leetiger .hero-section::after {
    background: radial-gradient(circle at 80% 20%, rgba(168,85,247,0.12), transparent 40%);
    animation: leetiger-heartbeat var(--leetiger-beat-duration, 2.8s) ease-in-out infinite 0.6s;
}
body.theme-leetiger h1,
body.theme-leetiger h2,
body.theme-leetiger h3,
body.theme-leetiger h4,
body.theme-leetiger h5,
body.theme-leetiger h6 {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
body.theme-leetiger .product-card {
    background: rgba(8, 12, 22, 0.92);
    border: 1px solid rgba(110,231,255,0.32);
    color: #eaf6ff;
    box-shadow: 0 8px 24px rgba(3, 12, 35, 0.45);
}
body.theme-leetiger .product-card .card-body,
body.theme-leetiger .card,
body.theme-leetiger .list-group-item {
    background: rgba(8, 12, 22, 0.92);
    border-color: rgba(110,231,255,0.25);
    color: #eaf6ff;
}
body.theme-leetiger .card-header {
    background: #080d1a !important;
    color: #6ee7ff !important;
    border-color: rgba(110,231,255,0.25);
}
body.theme-leetiger .product-card:hover {
    box-shadow: 0 0 0 1px rgba(110,231,255,0.35), 0 16px 40px rgba(45, 112, 255, 0.25);
    transform: translateY(-5px);
}
body.theme-leetiger .form-control {
    background: rgba(6, 11, 20, 0.9);
    border-color: rgba(110,231,255,0.35);
    color: #eaf6ff;
}
body.theme-leetiger .form-control:focus {
    background: rgba(6, 11, 20, 0.95);
    color: #eaf6ff;
    border-color: #6ee7ff;
    box-shadow: 0 0 0 0.25rem rgba(110,231,255,0.18);
}
body.theme-leetiger .dropdown-menu {
    background: #0a1020;
    border-color: rgba(110,231,255,0.28);
}
body.theme-leetiger .dropdown-item { color: #d8ecff; }
body.theme-leetiger .dropdown-item:hover { background: rgba(110,231,255,0.14); color: #ffffff; }
body.theme-leetiger .table { color: #dff1ff; }
body.theme-leetiger .table-light { background: #111a2b !important; color: #dff1ff; }
body.theme-leetiger .table-hover tbody tr:hover { background: rgba(110,231,255,0.08); }
body.theme-leetiger footer { background: #060a14 !important; }
body.theme-leetiger .price-tag {
    color: #7de9ff !important;
    text-shadow: 0 0 16px rgba(125,233,255,0.55);
}

body.theme-leetiger::before,
body.theme-leetiger::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}
body.theme-leetiger::before {
    background:
        radial-gradient(circle at 25% 20%, rgba(110,231,255,0.1), transparent 25%),
        radial-gradient(circle at 80% 75%, rgba(183,97,255,0.09), transparent 30%);
    mix-blend-mode: screen;
    animation: leetiger-heartbeat var(--leetiger-beat-duration, 2.8s) ease-in-out infinite;
}
body.theme-leetiger::after {
    opacity: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(192,234,255,0.72) 50%, transparent 65%);
    mix-blend-mode: screen;
}
body.theme-leetiger.leetiger-global-strike::after {
    animation: leetiger-global-strike 320ms ease-out;
}

.leetiger-lightning-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 4;
}
.leetiger-bolt {
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, rgba(225,247,255,0.98) 0%, rgba(129,232,255,0.95) 55%, rgba(129,232,255,0) 100%);
    filter: drop-shadow(0 0 10px rgba(110,231,255,0.95));
    opacity: 0;
    transform-origin: top center;
    animation: leetiger-bolt 240ms ease-out forwards;
}

@keyframes leetiger-heartbeat {
    0%, 36%, 100% { opacity: 0.25; transform: scale(1); }
    8% { opacity: 0.65; transform: scale(1.015); }
    12% { opacity: 0.32; transform: scale(1); }
    18% { opacity: 0.78; transform: scale(1.025); }
    24% { opacity: 0.38; transform: scale(1); }
}
@keyframes leetiger-bolt {
    0% { opacity: 0; }
    20% { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes leetiger-global-strike {
    0% { opacity: 0; }
    18% { opacity: 1; }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    body.theme-leetiger::before,
    body.theme-leetiger::after,
    body.theme-leetiger .hero-section::before,
    body.theme-leetiger .hero-section::after,
    .leetiger-bolt {
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════════════════
    DARK THEME UTILITY OVERRIDES  (Gothic · Sexy · Rock · LeeTiger)
   Fixes Bootstrap utility classes invisible on dark bg
═══════════════════════════════════════════════════════ */

/* text-dark (#212529) → unreadable on dark backgrounds */
body.theme-gothic .text-dark,
body.theme-sexy .text-dark,
body.theme-rock .text-dark,
body.theme-leetiger .text-dark,
body.theme-balotweed .text-dark { color: #e7dcff !important; }

/* bg-light elements (badges, chips) → keep their dark text */
body.theme-gothic .bg-light,
body.theme-sexy .bg-light,
body.theme-rock .bg-light,
body.theme-leetiger .bg-light { color: #212529 !important; }

/* text-muted (#6c757d) → boost contrast on very dark bg */
body.theme-gothic .text-muted,
body.theme-sexy .text-muted,
body.theme-rock .text-muted,
body.theme-leetiger .text-muted,
body.theme-balotweed .text-muted { color: #b5a8cf !important; }

/* btn-outline-secondary → nearly invisible on dark bg */
body.theme-gothic .btn-outline-secondary,
body.theme-sexy .btn-outline-secondary,
body.theme-rock .btn-outline-secondary,
body.theme-leetiger .btn-outline-secondary { color: #ccc !important; border-color: #666 !important; }

body.theme-gothic .btn-outline-secondary:hover,
body.theme-gothic .btn-outline-secondary:active,
body.theme-gothic .btn-check:checked + .btn-outline-secondary,
body.theme-sexy .btn-outline-secondary:hover,
body.theme-sexy .btn-outline-secondary:active,
body.theme-sexy .btn-check:checked + .btn-outline-secondary,
body.theme-rock .btn-outline-secondary:hover,
body.theme-rock .btn-outline-secondary:active,
body.theme-rock .btn-check:checked + .btn-outline-secondary,
body.theme-leetiger .btn-outline-secondary:hover,
body.theme-leetiger .btn-outline-secondary:active,
body.theme-leetiger .btn-check:checked + .btn-outline-secondary,
body.theme-balotweed .btn-outline-secondary:hover,
body.theme-balotweed .btn-outline-secondary:active,
body.theme-balotweed .btn-check:checked + .btn-outline-secondary {
    background-color: #555 !important;
    color: #fff !important;
    border-color: #777 !important;
}

/* ── MATPETBUNGA ──────────────────────────────────────── */
body.theme-matpetbunga {
    font-family: 'Noto Sans JP', 'Segoe UI', sans-serif;
    background:
        radial-gradient(900px 380px at 8% -10%, rgba(250, 184, 136, 0.26), transparent 65%),
        radial-gradient(1200px 520px at 105% 110%, rgba(201, 71, 38, 0.16), transparent 60%),
        linear-gradient(145deg, #fff8f2 0%, #fff3e6 48%, #fce7d5 100%);
    color: #3f2b2b;
    position: relative;
    overflow-x: hidden;
}
body.theme-matpetbunga h1,
body.theme-matpetbunga h2,
body.theme-matpetbunga h3,
body.theme-matpetbunga h4,
body.theme-matpetbunga h5,
body.theme-matpetbunga h6 {
    font-family: 'Shippori Mincho', 'Noto Sans JP', serif;
    letter-spacing: 0.03em;
}
body.theme-matpetbunga .navbar.bg-dark {
    background: linear-gradient(90deg, #58281c 0%, #7a3525 52%, #4b2319 100%) !important;
    border-bottom: 1px solid rgba(255, 214, 186, 0.45);
}
body.theme-matpetbunga .hero-section {
    background: linear-gradient(135deg, #fff8f2 0%, #f8e4d3 50%, #f5dac8 100%);
    border-bottom: 1px solid rgba(124, 56, 37, 0.18);
    position: relative;
}
body.theme-matpetbunga .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.09) 0,
        rgba(255, 255, 255, 0.09) 12px,
        rgba(255, 240, 226, 0.06) 12px,
        rgba(255, 240, 226, 0.06) 24px
    );
}
body.theme-matpetbunga .product-card {
    background: #fffaf6;
    border: 1px solid #efcdb7;
    color: #3f2b2b;
    box-shadow: 0 6px 20px rgba(113, 56, 40, 0.08);
}
body.theme-matpetbunga .product-card .card-body,
body.theme-matpetbunga .card,
body.theme-matpetbunga .list-group-item {
    background: #fffaf6;
    border-color: #efcdb7;
    color: #3f2b2b;
}
body.theme-matpetbunga .card-header {
    background: #fff0e3 !important;
    color: #7a3525 !important;
    border-color: #efcdb7;
}
body.theme-matpetbunga .product-card:hover {
    box-shadow: 0 14px 34px rgba(124, 56, 37, 0.2);
    transform: translateY(-5px);
}
body.theme-matpetbunga .form-control {
    background: #fffdfb;
    border-color: #d8ac8d;
    color: #402c2c;
}
body.theme-matpetbunga .form-control:focus {
    border-color: #b7472a;
    box-shadow: 0 0 0 0.25rem rgba(183, 71, 42, 0.15);
    background: #fffdfb;
    color: #402c2c;
}
body.theme-matpetbunga .dropdown-menu {
    background: #fff8f1;
    border-color: #e7c2a6;
}
body.theme-matpetbunga .dropdown-item { color: #553933; }
body.theme-matpetbunga .dropdown-item:hover { background: #ffe8d6; color: #7a3525; }
body.theme-matpetbunga .table { color: #4a3030; }
body.theme-matpetbunga .table-light { background: #fff0e2 !important; color: #573535; }
body.theme-matpetbunga .table-hover tbody tr:hover { background: rgba(183, 71, 42, 0.08); }
body.theme-matpetbunga footer { background: #4b2319 !important; }
body.theme-matpetbunga .price-tag {
    color: #b7472a !important;
    text-shadow: 0 0 10px rgba(183, 71, 42, 0.2);
}

.matpetbunga-petal-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 3;
}
.matpetbunga-petal {
    position: absolute;
    top: -40px;
    width: 14px;
    height: 10px;
    border-radius: 70% 30% 70% 30%;
    opacity: 0;
    transform: rotate(0deg);
    animation-name: matpetbunga-fall;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes matpetbunga-fall {
    0% {
        transform: translate3d(0, -20px, 0) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.85; }
    100% {
        transform: translate3d(var(--petal-drift-x, 80px), 110vh, 0) rotate(var(--petal-rotate, 220deg));
        opacity: 0.1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .matpetbunga-petal {
        animation: none !important;
    }
}

/* ── BALOTWEED ───────────────────────────────────────── */
body.theme-balotweed {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    background:
        radial-gradient(980px 520px at 15% -12%, rgba(212, 76, 255, 0.28), transparent 64%),
        radial-gradient(920px 460px at 110% 104%, rgba(49, 255, 184, 0.2), transparent 58%),
        radial-gradient(700px 360px at 48% 52%, rgba(89, 36, 186, 0.2), transparent 64%),
        linear-gradient(145deg, #0c0a16 0%, #160d28 45%, #1a1030 100%);
    color: #f2e7ff;
    position: relative;
    overflow-x: hidden;
}
body.theme-balotweed h1,
body.theme-balotweed h2,
body.theme-balotweed h3,
body.theme-balotweed h4,
body.theme-balotweed h5,
body.theme-balotweed h6,
body.theme-balotweed .navbar-brand {
    font-family: 'Righteous', 'Space Grotesk', sans-serif;
    letter-spacing: 0.03em;
}
body.theme-balotweed .navbar.bg-dark {
    background: linear-gradient(90deg, #180e2a 0%, #2a1052 44%, #13243b 100%) !important;
    border-bottom: 1px solid rgba(115, 255, 209, 0.26);
}
body.theme-balotweed .hero-section {
    background: linear-gradient(140deg, #160f2f 0%, #2a1246 55%, #101934 100%);
    border-bottom: 1px solid rgba(181, 123, 255, 0.25);
    position: relative;
    overflow: hidden;
}
body.theme-balotweed .hero-section::before {
    content: '';
    position: absolute;
    inset: -18% -8% 0 -8%;
    pointer-events: none;
    background:
        conic-gradient(from 0deg at 50% 50%, rgba(117, 255, 192, 0.14), rgba(210, 114, 255, 0.1), rgba(83, 146, 255, 0.12), rgba(117, 255, 192, 0.14));
    filter: blur(38px);
    animation: balotweed-aura 14s linear infinite;
}
body.theme-balotweed .product-card,
body.theme-balotweed .card,
body.theme-balotweed .list-group-item {
    background: rgba(21, 15, 36, 0.92);
    border-color: rgba(120, 82, 198, 0.45);
    color: #f2e7ff;
    box-shadow: 0 8px 24px rgba(10, 8, 22, 0.48);
}
body.theme-balotweed .card-header {
    background: rgba(47, 24, 80, 0.9) !important;
    color: #9bffd7 !important;
    border-color: rgba(123, 75, 209, 0.55);
}
body.theme-balotweed .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(39, 16, 82, 0.42);
}
body.theme-balotweed .form-control,
body.theme-balotweed .form-select {
    background: rgba(17, 11, 33, 0.88);
    border-color: rgba(112, 76, 189, 0.65);
    color: #f2e7ff;
}
body.theme-balotweed .form-control:focus,
body.theme-balotweed .form-select:focus {
    border-color: #59f2b8;
    box-shadow: 0 0 0 0.25rem rgba(89, 242, 184, 0.18);
    background: rgba(19, 12, 36, 0.94);
    color: #f2e7ff;
}
body.theme-balotweed .dropdown-menu {
    background: rgba(24, 16, 44, 0.96);
    border-color: rgba(109, 72, 186, 0.62);
}
body.theme-balotweed .dropdown-item { color: #e9dbff; }
body.theme-balotweed .dropdown-item:hover { background: rgba(94, 44, 177, 0.38); color: #9bffd7; }
body.theme-balotweed .card .list-unstyled a { color: #d8ccff !important; }
body.theme-balotweed .card .list-unstyled a:hover { color: #9bffd7 !important; }
body.theme-balotweed .card .list-unstyled a.text-danger { color: #ff4f79 !important; }
body.theme-balotweed .table { color: #f1e4ff; }
body.theme-balotweed .table-light { background: rgba(62, 32, 105, 0.92) !important; color: #d8c1ff; }
body.theme-balotweed .table-hover tbody tr:hover { background: rgba(103, 53, 186, 0.28); }
body.theme-balotweed .price-tag {
    color: #59f2b8 !important;
    text-shadow: 0 0 14px rgba(89, 242, 184, 0.45);
}
body.theme-balotweed footer { background: #100b1e !important; }

.balotweed-smoke-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}
.balotweed-vortex {
    position: fixed;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    background:
        radial-gradient(circle at center, rgba(92, 255, 193, 0) 35%, rgba(92, 255, 193, 0.16) 57%, rgba(218, 119, 255, 0.2) 70%, rgba(218, 119, 255, 0) 86%),
        conic-gradient(from 0deg, rgba(92, 255, 193, 0.28), rgba(218, 119, 255, 0.34), rgba(128, 166, 255, 0.28), rgba(92, 255, 193, 0.28));
    filter: blur(1.5px) drop-shadow(0 0 18px rgba(188, 122, 255, 0.45));
    animation: balotweed-vortex 3000ms ease-in-out forwards;
}
.balotweed-smoke {
    position: absolute;
    bottom: -18vh;
    width: 180px;
    height: 180px;
    border-radius: 58% 42% 64% 36% / 42% 63% 37% 58%;
    opacity: 0;
    filter: blur(var(--smoke-blur, 8px));
    mix-blend-mode: screen;
    animation-name: balotweed-smoke-rise;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    transform-origin: 50% 55%;
}
.balotweed-smoke::before,
.balotweed-smoke::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}
.balotweed-smoke::before {
    inset: 10% 18% 14% 12%;
    opacity: 0.58;
    background: radial-gradient(ellipse at 32% 38%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 52%, rgba(255,255,255,0) 76%);
    transform: rotate(-14deg);
}
.balotweed-smoke::after {
    inset: 18% 10% 8% 20%;
    opacity: 0.48;
    background: radial-gradient(ellipse at 68% 62%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 48%, rgba(255,255,255,0) 74%);
    transform: rotate(17deg);
}

@keyframes balotweed-aura {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.08); }
    100% { transform: rotate(360deg) scale(1); }
}
@keyframes balotweed-smoke-rise {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) skewX(var(--smoke-skew, 0deg)) scale(0.72);
        opacity: 0;
    }
    14% { opacity: var(--smoke-opacity, 0.34); }
    48% {
        transform: translate3d(var(--smoke-mid-drift-x, 10px), calc(-52vh - var(--smoke-rise-extra, 80px)), 0) rotate(calc(var(--smoke-spin, 90deg) * 0.42)) skewX(var(--smoke-skew, 0deg)) scale(calc(var(--smoke-scale, 1.45) * 0.88));
        opacity: calc(var(--smoke-opacity, 0.34) * 0.72);
    }
    100% {
        transform: translate3d(var(--smoke-drift-x, 24px), calc(-108vh - var(--smoke-rise-extra, 80px)), 0) rotate(var(--smoke-spin, 90deg)) scale(var(--smoke-scale, 1.45));
        opacity: 0;
    }
}
@keyframes balotweed-vortex {
    0% {
        transform: scale(0.48) rotate(0deg);
        opacity: 0;
    }
    24% { opacity: 0.72; }
    100% {
        transform: scale(1.28) rotate(310deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.theme-balotweed .hero-section::before,
    .balotweed-vortex,
    .balotweed-smoke {
        animation: none !important;
    }
}

/* ── Majestic: product card text on white card */
body.theme-majestic .product-card .card-title,
body.theme-majestic .product-card .card-text { color: #1a1a2e; }
body.theme-majestic .card-body { color: #1a1a2e; }
body.theme-majestic .text-muted { color: #6c757d !important; }
body.theme-majestic .btn-outline-secondary { color: #495057 !important; border-color: #adb5bd !important; }
