/* ============================
   1. CORE STYLES & VARIABLES
   ============================ */
:root {
    --primary-bg: #050505;       /* Ultra Dark Background */
    --card-bg: #111111;          /* Slightly lighter for cards */
    --gold: #D4AF37;             /* The "Rolex" Gold */
    --gold-glow: rgba(212, 175, 55, 0.4);
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: white; transition: 0.3s; }
ul { list-style: none; }

/* ============================
   2. NAVIGATION BAR (CORNER & GAP FIX)
   ============================ */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 90px;
    
    /* 1. MOVES LOGO TO THE CORNER */
    /* Changed from 5% to 20px to push it to the far left */
    padding: 0 20px !important; 
    
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* The Logo Container */
.logo {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    
    /* 2. MOVES MENU BUTTON CLOSER TO LOGO */
    /* Reduced from 40px to 20px (approx 1cm visual gap) */
    margin-right: 20px !important; 
    
    line-height: 0;
}

/* The Anchor tag inside the logo */
.logo a {
    display: flex !important;
    align-items: center !important;
}

/* --- THE IMAGE CONTROL --- */
.logo-img {
    height: 55px !important; 
    width: auto !important;
    display: block !important;
    object-fit: contain;
    position: relative;
    top: 5px; 
}

/* The Menu Button (☰) */
.menu-btn {
    font-size: 1.5rem; 
    cursor: pointer; 
    color: white; 
    
    /* Ensures it sits right next to the logo without extra push */
    margin-left: 0 !important; 
    margin-right: auto !important; /* Keeps the links pushed to the center/right */
    
    display: flex;
    align-items: center;
    height: 100%;
    transition: 0.3s;
}
.menu-btn:hover { color: var(--gold); }

/* Navigation Links (Home, Collection...) */
.nav-links {
    display: flex;
    align-items: center !important;
    list-style: none;
    gap: 80px;
    margin: 0;
    padding: 0;
    height: 100%;
}
.nav-links a:hover { color: var(--gold); }

/* Keep Cart and Search aligned */
.nav-search-wrapper, .cart-btn {
    display: flex;
    align-items: center;
}

.cart-btn {
    border: 1px solid var(--gold);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--gold);
    white-space: nowrap;
}
.cart-btn:hover { background: var(--gold); color: black; }
/* ============================
   3. SEARCH BAR & DROPDOWN
   ============================ */
.nav-search-wrapper {
    margin-left: auto; 
    margin-right: 20px; 
    position: relative;
}

#search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 15px;   
    width: 200px;        
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#search-input:focus {
    outline: none;
    border-color: var(--gold);
    width: 280px;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

#suggestions-box {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    background: #111;
    border: 1px solid var(--gold);
    border-radius: 10px;
    z-index: 2000;
    display: none;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.suggestion-item {
    padding: 10px 15px;
    font-size: 0.85rem;
    color: #ccc;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
    text-align: left;
}
.suggestion-item:hover { background: var(--gold); color: #000; font-weight: 600; }

/* ============================
   4. HERO SECTION (VIDEO BACKGROUND)
   ============================ */
.hero-section {
    position: relative;
    height: 100vh; /* Full screen height */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000; /* Fallback color */
}

/* Video Container */
.video-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.bg-video {
    width: 100%; height: 100%;
    object-fit: cover; /* Ensures video covers screen */
}

/* Dark Overlay */
.video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity for darkness */
    z-index: 2;
}

/* Content on Top */
.content-container {
    position: relative;
    z-index: 3;
    text-align: center;
    animation: fadeUp 1.5s ease;
}

.content-container h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Playfair Display', serif;
}

.content-container p {
    color: #aaaaaa;
    font-size: 1.2rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.cta-btn {
    background: var(--gold);
    color: #000;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 0 20px var(--gold-glow);
    transition: 0.4s;
    display: inline-block;
}
.cta-btn:hover {
    box-shadow: 0 0 40px var(--gold-glow);
    transform: translateY(-3px);
}

/* ============================
   5. FEATURED WATCHES
   ============================ */
.featured { padding: 100px 8%; }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 3rem; margin-bottom: 10px; }
.section-title span { color: var(--gold); text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.product-card:hover {
    border-color: var(--gold);
    background: #0a0a0a; 
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
}

.card-img-box {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.card-img-box img {
    max-height: 100%;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
    cursor: pointer;
}
.card-img-box img:hover {
    transform: scale(1.05); /* Slight zoom effect */
}
.product-card:hover .card-img-box img {
    transform: translateY(-15px) scale(1.05); 
    filter: drop-shadow(0 20px 30px rgba(212, 175, 55, 0.3));
}

.product-info {
    /* This makes the info box fill all remaining space */
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    padding-bottom: 5px;
}

.product-info h4 { 
    font-size: 1.1rem; 
    margin-bottom: 5px; 
    color: white; 
    
    /* This forces every title to reserve space for 2 lines */
    min-height: 50px; 
    display: flex;
    align-items: center;     /* Centers text vertically in that space */
    justify-content: center; /* Centers text horizontally */
    line-height: 1.3;
}

.product-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 15px; }

.price { 
    color: var(--gold); 
    font-size: 1.3rem; 
    font-weight: 600; 
    display: block; 
    margin-bottom: 20px; 
    margin-top: auto; 
}

.buy-link {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    /* This ensures the button is pushed to the very bottom */
    margin-top: auto; 
    align-self: center;
}
.buy-link:hover { 
    background: var(--gold); 
    color: black; 
    box-shadow: 0 0 15px var(--gold-glow);
}

/* ============================
   6. SIDEBAR MENU STYLES
   ============================ */
.menu-btn {
    font-size: 1.5rem; 
    cursor: pointer; 
    color: white; 
    margin-left: 5px; 
    margin-right: auto; 
    display: flex;
    align-items: center;
    height: 100%;
    transition: 0.3s;
}
.menu-btn:hover { color: var(--gold); }

#sidebar {
    position: fixed;
    top: 0; left: -300px;
    width: 300px; height: 100%;
    background: #0a0a0a;
    box-shadow: 5px 0 15px rgba(0,0,0,0.5);
    z-index: 2000;
    transition: all 0.4s ease;
    padding: 20px;
    overflow-y: auto;
    border-right: 1px solid var(--gold);
}
#sidebar.active { left: 0; }

.sidebar-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}
.sidebar-header h3 { color: var(--gold); }
#close-btn { background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }

.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li { margin-bottom: 5px; }

.dropdown-header {
    display: flex; justify-content: space-between; padding: 15px;
    background: rgba(255,255,255,0.05); border-radius: 5px;
    cursor: pointer; color: white; font-weight: 600; transition: 0.3s;
}
.dropdown-header:hover { background: rgba(212, 175, 55, 0.2); }
.dropdown-item.open .arrow { transform: rotate(180deg); color: var(--gold); }

.submenu {
    list-style: none; padding-left: 20px; display: none;
    background: rgba(0,0,0,0.3); margin-top: 5px; border-radius: 5px;
}
.dropdown-item.open .submenu { display: block; animation: fadeDown 0.3s ease; }

.submenu li a {
    display: block; padding: 10px; color: #ccc; font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.submenu li a:hover { color: var(--gold); padding-left: 15px; }

.main-link { display: block; padding: 15px; color: white; font-weight: 500; }
.main-link:hover { color: var(--gold); }

#overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); z-index: 1500;
    display: none; backdrop-filter: blur(3px);
}
#overlay.active { display: block; }

/* Animations & Footer */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    text-align: center; padding: 50px;
    border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted);
}

/* ============================
   7. RESPONSIVE DESIGN
   ============================ */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .content-container h1 { font-size: 3rem; }
    #search-input { width: 140px; }
}

/* ============================
   8. STAR RATING STYLES
   ============================ */
.star-rating {
    color: #eccf6e;       /* Gold Color */
    font-size: 0.9rem;    /* Size of stars */
    margin-bottom: 10px;  /* Space between stars and price */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.star-rating span {
    color: #666;          /* Grey color for the number (4.5) */
    font-size: 0.8rem;
    margin-left: 5px;
    font-weight: 400;
}

/* ============================
   10. BRAND SCROLLER
   ============================ */
.brand-scroller {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap; /* Allows wrapping on small screens */
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 110px;        /* Forces every item to be the same width */
    text-align: center;  /* Centers the text under the circle */
    flex-shrink: 0;      /* Prevents squishing */
}

.brand-item:hover {
    transform: translateY(-5px);
}

.brand-circle {
    width: 80px;
    height: 80px;
    background: #ffffff; /* White background */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); /* Slight shadow for depth */
}

.brand-circle img {
    width: 55%;  /* Slightly adjusted to fit logos better */
    height: auto;
    object-fit: contain;
}

.brand-circle.all-brand {
    background: #222; 
    color: var(--gold);
    font-size: 1.5rem;
}

/* Hover Effect: Gold Border */
.brand-item:hover .brand-circle {
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.brand-item span {
    font-size: 0.85rem;
    color: #ccc;
    font-weight: 500;
    transition: color 0.3s;
    line-height: 1.2; /* Handles long names (Audemars Piguet) nicely */
    margin-top: 5px;
}

.brand-item:hover span {
    color: var(--gold);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .brand-scroller {
        gap: 15px;
        overflow-x: auto;      /* Scroll sideways on mobile */
        justify-content: flex-start; /* Start from left on scroll */
        padding-bottom: 10px;
        flex-wrap: nowrap;     /* Force single row on mobile */
    }
    .brand-circle {
        width: 65px;
        height: 65px;
    }
    .brand-item {
        width: 90px; /* Smaller width for mobile */
    }
}

/* ============================
   11. LOAD MORE BUTTON (Centering Fix)
   ============================ */
.load-more-container {
    width: 100%;
    display: flex;            /* Enables flexible positioning */
    justify-content: center;  /* Pushes button to the center */
    align-items: center;
    margin-top: 50px;         /* Space above the button */
    padding-bottom: 50px;     /* Space below the button */
}

/* Optional: Different look for this button (Transparent with Gold Border) */
.secondary-btn {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    min-width: 200px;
}

.secondary-btn:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 20px var(--gold-glow);
}

/* ============================
   12. CONTACT PAGE STYLES
   ============================ */
.page-header {
    padding: 160px 5% 50px;
    text-align: center;
    background: linear-gradient(to bottom, #000, #0a0a0a);
}
.page-header h1 { font-size: 3.5rem; color: #fff; margin-bottom: 15px; }
.page-header p { color: var(--text-muted); font-size: 1.1rem; }

.contact-container {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 10%;
    gap: 60px;
    justify-content: center;
}

.contact-info { flex: 1; min-width: 300px; }
.info-box { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
.info-box i { font-size: 1.5rem; color: var(--gold); margin-top: 5px; }
.info-box h3 { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.info-box p { color: #ccc; line-height: 1.6; }

.social-links-contact { display: flex; gap: 20px; margin-top: 40px; }
.social-links-contact a {
    width: 50px; height: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #fff; font-size: 1.2rem; transition: 0.3s;
}
.social-links-contact a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-5px); }

.contact-form-wrapper { flex: 1.5; min-width: 300px; }
.input-group { position: relative; margin-bottom: 30px; }

.input-group input, .input-group textarea {
    width: 100%; padding: 15px 0; background: transparent;
    border: none; border-bottom: 1px solid #333;
    color: #fff; font-size: 1rem; font-family: 'Poppins', sans-serif;
    outline: none; transition: 0.3s;
}
.input-group label {
    position: absolute; top: 15px; left: 0; color: #666;
    pointer-events: none; transition: 0.3s;
}
.input-group input:focus, .input-group textarea:focus,
.input-group input:not(:placeholder-shown), .input-group textarea:not(:placeholder-shown) {
    border-bottom-color: var(--gold);
}
.input-group input:focus ~ label, .input-group textarea:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label, 
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px; font-size: 0.8rem; color: var(--gold);
}

.submit-btn {
    padding: 15px 50px; background: transparent; color: var(--gold);
    border: 1px solid var(--gold); font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: 0.3s; text-transform: uppercase;
    letter-spacing: 1px; width: 100%;
}
.submit-btn:hover { background: var(--gold); color: #000; box-shadow: 0 0 20px var(--gold-glow); }

.map-section { width: 100%; line-height: 0; border-top: 1px solid #222; }

@media (max-width: 900px) {
    .contact-container { flex-direction: column; padding: 50px 5%; }
}

/* ============================
   13. SLIDING SHOPPING CART
   ============================ */
/* The Dark Overlay for the Cart */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); z-index: 2999;
    display: none; backdrop-filter: blur(3px);
}
.cart-overlay.active { display: block; }

/* The Sliding Drawer */
.cart-sidebar {
    position: fixed; top: 0; right: -400px; /* Hidden by default */
    width: 400px; height: 100%;
    background: #0a0a0a;
    border-left: 1px solid var(--gold);
    z-index: 3000;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}
.cart-sidebar.active { right: 0; }

/* Mobile Adjustment */
@media (max-width: 500px) {
    .cart-sidebar { width: 100%; right: -100%; }
}

/* Cart Header */
.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; align-items: center;
}
.cart-header h3 { color: var(--gold); font-size: 1.2rem; }
.close-cart {
    background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer;
}
.close-cart:hover { color: var(--gold); }

/* Cart Items Area */
.cart-items {
    flex: 1; overflow-y: auto; padding: 20px;
}
.empty-cart-msg {
    text-align: center; color: #666; margin-top: 50px; font-size: 0.9rem;
}

/* Individual Cart Item */
.cart-item {
    display: flex; gap: 15px; margin-bottom: 20px;
    background: rgba(255,255,255,0.03); padding: 10px; border-radius: 10px;
    border: 1px solid transparent; transition: 0.3s;
}
.cart-item:hover { border-color: rgba(212, 175, 55, 0.3); background: rgba(255,255,255,0.05); }

.cart-item img {
    width: 70px; height: 70px; object-fit: cover; border-radius: 8px;
    background: #000;
}
.cart-item-details { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cart-item-name {
    font-size: 0.9rem; color: #fff; margin-bottom: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-item-price { color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.cart-remove-btn {
    background: none; border: none; color: #555; cursor: pointer; font-size: 1rem; align-self: center;
}
.cart-remove-btn:hover { color: #ff4444; }

/* Cart Footer */
.cart-footer {
    padding: 20px; border-top: 1px solid rgba(255,255,255,0.1); background: #050505;
}
.cart-total {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; font-size: 1.2rem; font-weight: 600;
}
.cart-total span:last-child { color: var(--gold); }

.checkout-btn {
    width: 100%; padding: 15px; background: var(--gold); color: #000;
    border: none; border-radius: 50px; font-weight: 700; font-size: 1rem;
    cursor: pointer; text-transform: uppercase; transition: 0.3s;
}
.checkout-btn:hover {
    background: #e5c04b; box-shadow: 0 0 20px var(--gold-glow);
}


/* ============================
   14. PRO FOOTER STYLES
   ============================ */
.site-footer {
    background-color: #080808;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0 30px;
    margin-top: 100px;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
}

.footer-col { flex: 1; min-width: 250px; }

/* Brand Column */
.footer-logo {
    font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 20px; letter-spacing: 1px;
}
.footer-logo span { color: var(--gold); }
.brand-col p { line-height: 1.6; margin-bottom: 25px; }

.social-icons { display: flex; gap: 15px; }
.social-icons a {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    transition: 0.3s;
    color: #fff;
}
.social-icons a:hover {
    border-color: var(--gold); color: var(--gold); transform: translateY(-3px);
}

.footer-logo-img {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    display: inline-block;
}

/* Links Column */
.footer-col h4 {
    color: #fff; font-size: 1.1rem; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px;
}
.links-col ul li { margin-bottom: 12px; }
.links-col ul li a { color: #aaa; transition: 0.3s; }
.links-col ul li a:hover { color: var(--gold); padding-left: 5px; }

/* Newsletter Column */
.newsletter-form {
    position: relative; margin-top: 20px;
}
.newsletter-form input {
    width: 100%; padding: 15px; padding-right: 50px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; border-radius: 5px; outline: none; transition: 0.3s;
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
    position: absolute; right: 5px; top: 5px;
    width: 40px; height: 40px;
    background: var(--gold); border: none; border-radius: 3px;
    cursor: pointer; font-weight: bold; transition: 0.3s;
}
.newsletter-form button:hover { background: #fff; }

.footer-bottom {
    text-align: center; margin-top: 70px; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-container { flex-direction: column; gap: 40px; }
    .site-footer { text-align: center; }
    .social-icons { justify-content: center; }
}

/* ============================
   15. GLOBAL CHECKOUT MODAL STYLES
   ============================ */
.checkout-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 5000;
    display: none; justify-content: center; align-items: center;
    backdrop-filter: blur(5px);
}

.checkout-modal {
    background: #111;
    border: 1px solid #D4AF37; /* Gold Border */
    width: 90%; max-width: 500px;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    animation: fadeUp 0.3s ease;
}

.close-modal-btn {
    position: absolute; top: 15px; right: 15px;
    background: none; border: none; color: #666; font-size: 1.5rem; cursor: pointer;
}
.close-modal-btn:hover { color: white; }

.modal-step { display: none; }
.modal-step.active { display: block; }

.modal-title {
    color: #D4AF37; font-size: 1.5rem; margin-bottom: 20px; text-align: center;
    font-family: 'Playfair Display', serif;
}

/* Packaging Options in Modal */
.modal-options-grid {
    display: flex; flex-direction: column; gap: 15px;
}
.modal-option-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    padding: 20px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    text-align: left;
    display: flex; justify-content: space-between; align-items: center;
    transition: 0.3s;
}
.modal-option-btn:hover {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
}
.option-price-tag { color: #D4AF37; font-weight: bold; }

/* Modal Form */
.modal-input-group { margin-bottom: 15px; }
.modal-input-group label { display: block; color: #ccc; margin-bottom: 5px; font-size: 0.9rem; }
.modal-input-group input, .modal-input-group textarea {
    width: 100%; padding: 12px;
    background: #050505; border: 1px solid #333;
    color: white; border-radius: 8px; outline: none;
    font-family: 'Poppins', sans-serif;
}
.modal-input-group input:focus { border-color: #D4AF37; }

.modal-submit-btn {
    width: 100%; padding: 15px;
    background: #D4AF37; color: black;
    border: none; border-radius: 50px;
    font-weight: bold; font-size: 1.1rem;
    text-transform: uppercase; cursor: pointer;
    margin-top: 10px;
}
.modal-submit-btn:hover { background: #e5c04b; box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }



/* ============================
   CHATBOT STYLES
   ============================ */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

#chat-toggle-btn {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
}
#chat-toggle-btn:hover { transform: scale(1.1); }

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 15px;
    display: none; /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    animation: fadeUp 0.3s ease;
}

.chat-header {
    background: #111;
    padding: 15px;
    border-bottom: 1px solid #333;
    display: flex; justify-content: space-between; align-items: center;
}
.chat-title { display: flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 600; }
.chat-title img { height: 30px; }
#chat-close-btn { background: none; border: none; color: #666; font-size: 1.5rem; cursor: pointer; }

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #050505;
    display: flex; flex-direction: column; gap: 15px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}
.bot-message {
    background: #222;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid #333;
}
.user-message {
    background: var(--gold);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    font-weight: 500;
}

.chat-input-area {
    padding: 10px;
    background: #111;
    border-top: 1px solid #333;
    display: flex; gap: 10px;
}

#chat-input {
    flex: 1;
    background: #222;
    border: 1px solid #333;
    color: white;
    padding: 10px;
    border-radius: 20px;
    outline: none;
}
#send-btn, #voice-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}
#voice-btn.listening { color: #ff4444; animation: pulse 1s infinite; }
#send-btn:hover { transform: scale(1.1); }

@media (max-width: 400px) {
    .chat-window { width: 300px; right: -20px; bottom: 70px; }
}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

