/* CSS Variables for Luxury Theme */
:root {
    --bg-dark: #0a0a0a;
    --surface-dark: #161616;
    --primary-gold: #d4af37;
    --text-light: #f5f5f5;
    --text-muted: #888888;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 110px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

/* Navbar Styling */
.navbar {
    background-color: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar-brand {
    color: var(--primary-gold) !important;
    font-size: 1.8rem;
    letter-spacing: 2px;
}
.nav-link {
    color: var(--text-light) !important;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.nav-link:hover {
    color: var(--primary-gold) !important;
}

/* Luxury Dropdown */
.dropdown-toggle-hidden::after { display: none; }
.luxury-dropdown {
    background-color: var(--surface-dark);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    border-radius: 4px;
    padding: 0.8rem 0;
    min-width: 200px;
    margin-top: 20px !important; 
}
.luxury-dropdown .dropdown-item {
    color: var(--text-light);
    font-weight: 300;
    font-size: 0.9rem;
    padding: 10px 25px;
    transition: all 0.3s ease;
    background: transparent;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}
.luxury-dropdown .dropdown-item i { color: var(--primary-gold); width: 20px; }
.luxury-dropdown .dropdown-item:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    padding-left: 30px; 
}
.luxury-divider { border-top: 1px solid rgba(212, 175, 55, 0.1); margin: 0.5rem 0; }
.luxury-dropdown .dropdown-item.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545 !important;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    height: 90vh;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3;
    pointer-events: none;
}
.hero-title {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}
.hero-subtitle {
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Custom Buttons */
.btn-luxury {
    background-color: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 12px 35px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}
.btn-luxury:hover {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Section Titles */
.section-title { text-align: center; margin: 0 0 3rem; position: relative; }
.section-title h2 { font-size: 2.5rem; color: var(--primary-gold); }
.section-title p { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; }

/* Product Cards */
.product-card {
    background-color: var(--surface-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    transition: transform 0.4s ease, border-color 0.4s ease;
    height: 100%;
}
.product-card:hover { transform: translateY(-10px); border-color: var(--primary-gold); }
.card-img-wrapper { position: relative; overflow: hidden; aspect-ratio: 1/1; background-color: #000; }
.card-img-top {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.8;
    transition: transform 0.6s ease, opacity 0.6s ease; pointer-events: none;
}
.product-card:hover .card-img-top { transform: scale(1.1); opacity: 1; }
.badge-exclusive {
    position: absolute; top: 15px; right: 15px; background: var(--primary-gold);
    color: var(--bg-dark); font-size: 0.7rem; padding: 5px 10px; letter-spacing: 1px;
    font-weight: bold; z-index: 2;
}
.card-body { padding: 1.5rem; text-align: center; }
.product-title { font-size: 1.1rem; color: var(--text-light); margin-bottom: 0.5rem; }
/* ဈေးနှုန်း Size ကို ဖုန်းမျက်နှာပြင်နှင့် ကိုက်ညီအောင် လျှော့ချခြင်း */
.product-price { 
    color: var(--primary-gold); 
    font-size: 1.05rem !important; 
    font-weight: 600; 
    letter-spacing: 0.5px;
}
/* Blind Box */
.blind-box-grid { background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%); padding: 80px 0; }
.bb-card { background: #111; border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 20px; overflow: hidden; position: relative; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.bb-card:hover { border-color: var(--primary-gold); box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); transform: scale(1.02); }
.bb-img-container { position: relative; height: 320px; overflow: hidden; }
.bb-img-container img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); transition: 0.5s; }
.bb-card:hover .bb-img-container img { filter: brightness(1); transform: scale(1.1); }
.mystery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.mystery-icon { font-size: 4rem; color: var(--primary-gold); opacity: 0.6; text-shadow: 0 0 20px rgba(212, 175, 55, 0.8); }
.bb-info { padding: 25px; background: linear-gradient(to top, #000, transparent); }
.bb-series-tag { color: var(--primary-gold); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 8px; }
.bb-stats { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; margin-top: 15px; }
.stat-item { text-align: center; }
.stat-value { display: block; color: #fff; font-weight: 600; font-size: 0.9rem; }
.stat-label { display: block; color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase; }

/* Shimmer Animation */
.shimmer { position: relative; }
.shimmer::after { content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent); transform: rotate(45deg); animation: shimmer 3s infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%) rotate(45deg); } 100% { transform: translateX(100%) rotate(45deg); } }

/* Footer */
/* ================= FOOTER (LUXURY FIX) ================= */
.footer { 
    background: linear-gradient(180deg, var(--surface-dark) 0%, #050505 100%);
    padding: 5rem 0 3rem; 
    border-top: 1px solid rgba(212, 175, 55, 0.2); 
    margin-top: 5rem; 
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.footer-logo { 
    color: var(--primary-gold); 
    font-size: 2.2rem; 
    margin-bottom: 1.5rem; 
    display: inline-block; 
    text-decoration: none;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4); /* ရွှေရောင် အလင်းပြေး Effect */
}

/* စာသားများကို နောက်ခံနှင့်မရောစေရန် ပိုလင်းသော အရောင်သုံးခြင်း */
.footer .text-muted {
    color: #d1d1d1 !important; 
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.8;
}

.footer .small {
    color: #888888 !important;
    letter-spacing: 2px;
}

/* Social Icons များကို သေသပ်လှပစေရန် */
.footer .hover-gold {
    color: #a0a0a0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .hover-gold:hover { 
    color: var(--bg-dark) !important;
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-5px); 
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}
/* Mobile Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(15, 15, 15, 0.98); padding: 1rem 0 2rem 0;
        border-radius: 0 0 15px 15px; border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: 0 15px 40px rgba(0,0,0,0.8); position: relative;
    }
    .navbar-nav .nav-link { text-align: center; padding: 12px 0; font-size: 1rem; letter-spacing: 2px; }
    .mobile-action-bar {
        display: flex !important; justify-content: center !important; align-items: center;
        gap: 4rem !important; margin-top: 1.5rem !important; padding-top: 1.5rem;
        border-top: 1px solid rgba(212, 175, 55, 0.15); width: 100%;
    }
    .mobile-action-bar a.text-light { font-size: 1.4rem !important; }
    .mobile-action-bar .dropdown { position: static; }
    .luxury-dropdown {
        position: absolute !important; top: 100% !important; left: 50% !important;
        transform: translateX(-50%) !important; width: 260px; background-color: #111;
        border: 1px solid var(--primary-gold); margin-top: 25px !important; z-index: 1050;
    }
    .luxury-dropdown .dropdown-item { justify-content: center; padding: 15px; }
}

/* ================= SHOP PAGE SPECIFIC ================= */
.shop-header {
    height: 40vh;
    background: linear-gradient(rgba(10,10,10,0.8), rgba(10,10,10,0.9)), url('https://images.unsplash.com/photo-1613376023733-0a73315d9b06?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.shop-title {
    font-size: 3.5rem;
    color: var(--primary-gold);
    letter-spacing: 2px;
}
.shop-subtitle {
    color: var(--text-muted);
    letter-spacing: 3px;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Sidebar & Filters */
.sidebar-title {
    color: var(--text-light);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.filter-group { margin-bottom: 2.5rem; }
.filter-label {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-check-input {
    background-color: transparent;
    border-color: rgba(212, 175, 55, 0.5);
    border-radius: 0;
    cursor: pointer;
}
.form-check-input:checked {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    border-color: var(--primary-gold);
}
.form-check-label {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s;
}
.form-check-label:hover { color: var(--text-light) !important; }
.form-check { margin-bottom: 0.8rem; }

/* Inputs & Pagination */
.form-control-luxury, .form-select-luxury {
    background-color: var(--surface-dark);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    border-radius: 0;
    font-size: 0.9rem;
}
.form-control-luxury:focus, .form-select-luxury:focus {
    background-color: var(--surface-dark);
    border-color: var(--primary-gold);
    color: var(--text-light);
    box-shadow: none;
}
.price-inputs { display: flex; gap: 10px; align-items: center; }

.pagination { margin-top: 3rem; gap: 5px; }
.page-link {
    background-color: transparent;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-muted);
    border-radius: 0 !important;
    padding: 10px 18px;
    transition: all 0.3s;
}
.page-link:hover, .page-item.active .page-link {
    background-color: var(--primary-gold) !important;
    border-color: var(--primary-gold) !important;
    color: var(--bg-dark) !important;
}
.page-item.disabled .page-link {
    background-color: rgba(255,255,255,0.05);
    border-color: transparent;
    color: #555;
}

/* ================= PRODUCT DETAIL PAGE ================= */
/* Breadcrumb */
.breadcrumb-custom { margin-top: 100px; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }
.breadcrumb-custom a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb-custom a:hover { color: var(--primary-gold); }
.breadcrumb-custom span { color: var(--text-light); }

/* Gallery Styling */
.main-image-container { background-color: var(--surface-dark); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(212, 175, 55, 0.1); position: relative; cursor: zoom-in; }
.main-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s ease; }
.main-image-container:hover .main-image { transform: scale(1.05); }
.zoom-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0, 0, 0, 0.6); color: var(--text-light); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.main-image-container:hover .zoom-overlay { opacity: 1; }

.thumbnail-container { display: flex; gap: 15px; margin-top: 15px; overflow-x: auto; scrollbar-width: none; }
.thumbnail-container::-webkit-scrollbar { display: none; }
.thumbnail { width: 80px; height: 80px; object-fit: cover; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.1); opacity: 0.5; transition: all 0.3s ease; }
.thumbnail.active, .thumbnail:hover { opacity: 1; border-color: var(--primary-gold); }

/* Product Info & Qty */
.product-badge { background-color: var(--primary-gold); color: var(--bg-dark); font-size: 0.75rem; font-weight: 700; padding: 5px 12px; letter-spacing: 1.5px; display: inline-block; margin-bottom: 1rem; }
.product-title { font-size: 2.5rem; color: var(--text-light); margin-bottom: 0.5rem; }
.product-franchise { color: var(--text-muted); font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.5rem; }
.product-price { color: var(--primary-gold); font-size: 2rem; font-weight: 600; margin-bottom: 2rem; }

.qty-selector { display: inline-flex; align-items: center; background-color: var(--surface-dark); border: 1px solid rgba(212, 175, 55, 0.2); height: 50px; }
.qty-btn { background: transparent; border: none; color: var(--text-light); width: 40px; height: 100%; transition: color 0.3s; }
.qty-btn:hover { color: var(--primary-gold); }
.qty-input { background: transparent; border: none; color: var(--text-light); text-align: center; width: 50px; font-weight: 600; }
.qty-input:focus { outline: none; }
.btn-luxury-solid { background-color: var(--primary-gold); color: var(--bg-dark); }
.btn-luxury-solid:hover { background-color: transparent; color: var(--primary-gold); }

/* Custom Tabs */
.nav-tabs-custom { border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-top: 4rem; }
.nav-tabs-custom .nav-link { color: var(--text-muted); background: transparent; border: none; border-bottom: 2px solid transparent; padding: 15px 30px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; }
.nav-tabs-custom .nav-link:hover { color: var(--text-light); }
.nav-tabs-custom .nav-link.active { 
    color: var(--primary-gold) !important; 
    background-color: transparent !important; /* Bootstrap ရဲ့ အဖြူရောင်နောက်ခံကို ဖျောက်ရန် */
    border-bottom-color: var(--primary-gold) !important; 
}
.tab-content { padding: 2rem 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }
.spec-table th { color: var(--text-light); font-weight: 500; border-color: rgba(255,255,255,0.05); padding: 15px 0; }
.spec-table td { color: var(--text-muted); border-color: rgba(255,255,255,0.05); padding: 15px 0; }
.product-card-title { font-size: 1.1rem; color: var(--text-light); margin-bottom: 0.5rem; }

/* Lightbox Modal */
.modal-content.lightbox-content { background-color: rgba(5, 5, 5, 0.98); }
.btn-close-lightbox { position: absolute; top: 25px; right: 30px; background-color: transparent; color: var(--text-light); font-size: 1.5rem; z-index: 1055; border: none; transition: color 0.3s, transform 0.3s; }
.btn-close-lightbox:hover { color: var(--primary-gold); transform: scale(1.2); }
#lightboxBody { height: 100vh; width: 100vw; display: flex; align-items: center; justify-content: center; position: relative; cursor: grab; }
#lightboxBody:active { cursor: grabbing; }
#zoomedImage { max-height: 85vh; max-width: 90vw; object-fit: contain; transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(212, 175, 55, 0.2); color: var(--text-light); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: all 0.3s ease; z-index: 10; }
.lightbox-nav:hover { background: var(--primary-gold); color: var(--bg-dark); border-color: var(--primary-gold); }
.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }
@media (max-width: 768px) { .lightbox-nav { width: 40px; height: 40px; font-size: 1rem; } .lightbox-nav.prev { left: 15px; } .lightbox-nav.next { right: 15px; } }

/* 1. Showing results နှင့် Sort by စာသားများကို လင်းစေရန် */
.text-muted.small {
    color: #b5b5b5 !important; /* အဖြူမဟုတ်ဘဲ သေသပ်သော ငွေခဲရောင် */
    letter-spacing: 0.5px;
}

/* 2. Sort by Label (Sort by:) စာသား */
.d-flex.align-items-center.gap-2 .text-muted.small {
    color: #b5b5b5 !important;
}

/* 3. Product Card ထဲရှိ Brand / Category စာသားများ */
.product-card .text-muted.small.mb-2 {
    color: #a8a8a8 !important; /* နောက်ခံအမည်းနှင့် လုံးဝကွဲပြားပြီး မျက်စိမနာမည့် အရောင် */
    font-size: 0.75rem !important;
    letter-spacing: 1px;
}