/* ==========================================================================
   BROKEN BROWNIE - MASTER STYLESHEET (DESKTOP FIRST)
   ========================================================================== */

/* 1. CORE VARIABLES */
:root {
    --bg-primary: #153448; 
    --bg-secondary: #0a1f2e; 
    --accent: #DFD0B8;        
    --glass: rgba(21, 52, 72, 0.6); 
    --glass-border: rgba(223, 208, 184, 0.15);
    --text-main: #ffffff; 
    --text-muted: #94A3B8;
    --card-gradient: linear-gradient(135deg, #1e4b66, #0f2636);
    --glow: 0 0 20px rgba(60, 91, 111, 0.5);
    --success: #2ecc71; 
    --error: #e74c3c;    
}

/* THEMES */
body.theme-espresso { --bg-primary: #2C1A1D; --bg-secondary: #1a0f11; --accent: #D4AF37; --glass: rgba(44, 26, 29, 0.6); --glass-border: rgba(212, 175, 55, 0.15); --text-main: #EADDCD; --text-muted: #8D7B6F; --card-gradient: linear-gradient(135deg, #4a2c31, #1a0f11); --glow: 0 0 20px rgba(74, 44, 49, 0.5); }
body.theme-velvet { --bg-primary: #240046; --bg-secondary: #10002b; --accent: #e0aaff; --glass: rgba(36, 0, 70, 0.6); --glass-border: rgba(224, 170, 255, 0.15); --text-main: #fcf6bd; --text-muted: #c77dff; --card-gradient: linear-gradient(135deg, #3c096c, #10002b); --glow: 0 0 20px rgba(123, 44, 191, 0.5); }

/* 2. GLOBAL RESET */
html { scroll-behavior: smooth; font-size: 16px; width: 100%; overflow-x: hidden; }
* { margin: 0; padding: 0; box-sizing: border-box; cursor: auto; }
@media (pointer: fine) { * { cursor: none !important; } }

body { background-color: var(--bg-primary); color: var(--text-main); font-family: 'Jost', sans-serif; overflow-x: hidden; width: 100%; line-height: 1.6; transition: background-color 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
h1, h2, h3, h4, h5, h6, .palette-label, .logo-text, .tag, .tab-btn, .admin-badge, .cart-count { font-family: 'Cinzel', serif; }
img, video, svg { max-width: 100%; height: auto; display: block; }

/* 3. BACKGROUND & CURSOR */
.cinema-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; overflow: hidden; }
#bg-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: contrast(1.1) brightness(0.8); }
.cinema-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, transparent 0%, var(--bg-secondary) 100%); backdrop-filter: blur(2px); }

/* Custom Cursor (Visible by default) */
.cursor-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; }
.cursor-ring { width: 40px; height: 40px; border: 1px solid var(--accent); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9998; transition: transform 0.1s, opacity 0.3s ease; }
body.hovering .cursor-ring { transform: scale(1.5); background: rgba(255, 255, 255, 0.05); border-color: transparent; backdrop-filter: invert(1); }

/* 4. NAVIGATION BAR (DESKTOP DEFAULT) */
.glass-nav { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; position: fixed; top: 0; width: 100%; z-index: 50; transition: all 0.4s ease; border-bottom: 1px solid transparent; }
.glass-nav.scrolled { background: var(--glass); backdrop-filter: blur(15px); border-bottom: 1px solid var(--glass-border); padding: 10px 5%; }

.nav-logo-area { display: flex; align-items: center; gap: 15px; cursor: pointer; }
.logo-img { height: 50px; border-radius: 50%; border: 1px solid var(--accent); transition: transform 0.3s ease; }
.nav-logo-area:hover .logo-img { transform: rotate(10deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .top { font-size: 0.8rem; letter-spacing: 3px; }
.logo-text .bot { font-size: 1rem; font-weight: 700; color: var(--accent); }

/* Search Bar */
.search-container { position: relative; margin-right: 20px; }
#spotlight-search { background: rgba(255, 255, 255, 0.1); border: 1px solid var(--glass-border); padding: 8px 15px; border-radius: 20px; color: var(--text-main); font-family: 'Jost', sans-serif; width: 200px; transition: 0.4s; }
#spotlight-search:focus { width: 250px; background: rgba(0, 0, 0, 0.8); border-color: var(--accent); outline: none; }
.search-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 0.8rem; opacity: 0.6; pointer-events: none; }

/* Desktop Menu (VISIBLE DEFAULT) */
.nav-menu { display: flex; gap: 30px; list-style: none; }
.nav-menu a { text-decoration: none; color: var(--text-main); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; position: relative; }
.nav-menu a::after { content: ''; position: absolute; width: 0; height: 1px; bottom: -5px; left: 0; background-color: var(--accent); transition: width 0.3s; }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: var(--accent); text-shadow: 0 0 10px var(--accent); }

.social-link { text-decoration: none; color: var(--accent); font-size: 0.7rem; border: 1px solid var(--accent); padding: 8px 20px; border-radius: 20px; transition: 0.3s; white-space: nowrap; display: inline-block; }
.social-link:hover { background: var(--accent); color: var(--bg-primary); }

/* Mobile Items (HIDDEN ON DESKTOP) */
.mobile-insta-icon { display: none; }
.mobile-center-nav { display: none; }

/* 5. SECTIONS */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.hero-title { font-size: 5rem; line-height: 1.1; margin-bottom: 30px; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.gold-text { color: var(--accent); font-style: italic; font-family: 'Cinzel'; }
.hero-sub { color: var(--text-muted); font-size: 1.2rem; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-liquid { padding: 18px 50px; text-decoration: none; color: var(--accent); border: 1px solid var(--accent); text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; transition: 0.4s; display: inline-block; }
.btn-liquid:hover { background: var(--accent); color: var(--bg-primary); box-shadow: var(--glow); }

.marquee-lux { background: var(--glass); padding: 20px 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); overflow: hidden; backdrop-filter: blur(5px); }
.track { display: flex; animation: scroll 20s linear infinite; width: max-content; }
.track span { margin: 0 40px; font-family: 'Cinzel'; font-size: 1.2rem; color: var(--text-main); letter-spacing: 2px; }
.star { color: var(--accent); margin: 0 10px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Grid & Cards */
.gallery-section { padding: 100px 5%; min-height: 100vh; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 3rem; margin-bottom: 10px; }
.gold-bar { width: 2px; height: 60px; background: var(--accent); margin: 0 auto; }
.filter-tabs { display: flex; justify-content: center; gap: 15px; margin-top: 40px; flex-wrap: wrap; }
.tab-btn { background: transparent; border: 1px solid var(--glass-border); color: var(--text-muted); padding: 12px 30px; border-radius: 30px; cursor: pointer; transition: 0.3s; font-size: 0.9rem; letter-spacing: 1px; }
.tab-btn.active, .tab-btn:hover { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); }

.card-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px; margin-top: 50px; justify-items: center; }
.tilt-card { background: var(--card-gradient); border: 1px solid var(--glass-border); border-radius: 8px; padding: 12px; transition: transform 0.1s; position: relative; overflow: hidden; width: 100%; max-width: 350px; }
.tilt-card:hover { border-color: var(--accent); box-shadow: var(--glow); z-index: 10; }/* --- FIX FOR MENU CARD IMAGES (Replace existing .card-visual) --- */
.card-visual {
    width: 100%;
    height: 250px !important;          /* FORCE consistent height */
    background-size: cover !important; /* Crops image to fill box perfectly */
    background-position: center !important; /* Centers the image */
    background-repeat: no-repeat !important;
    border-radius: 8px 8px 0 0;       /* Smooth corners on top */
    transition: transform 0.5s ease;  /* Smooth zoom on hover */
}
.badge { position: absolute; top: 20px; right: 20px; background: var(--accent); color: var(--bg-primary); padding: 5px 12px; font-size: 0.75rem; font-weight: bold; border-radius: 4px; }
.card-content { padding: 25px 15px 10px; text-align: center; }
.card-content h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--accent); font-family: 'Cinzel'; }
.card-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
/* =========================================
   ENHANCED "WRITE A REVIEW" BUTTON
   ========================================= */
.action-btn {
    /* 1. Base Styling */
    background: transparent;
    border: 1px solid var(--accent); /* Elegant gold border */
    color: var(--accent);            /* Gold text */
    
    padding: 14px 40px;              /* Larger, more clickable area */
    border-radius: 50px;             /* Luxurious Pill shape */
    
    /* 2. Typography */
    text-transform: uppercase;
    letter-spacing: 3px;             /* Cinematic spacing */
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;    /* Matches your headers */
    
    /* 3. Animation Setup */
    cursor: pointer;
    position: relative;
    overflow: hidden;                /* Contains the shine effect */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(223, 208, 184, 0.1); /* Subtle initial glow */
}

/* 4. Hover State: Fill Gold + Dark Text + Lift */
.action-btn:hover {
    background: var(--accent);
    color: var(--bg-primary);       /* Dark text for contrast */
    box-shadow: 0 0 25px rgba(223, 208, 184, 0.6); /* Strong glow */
    transform: translateY(-3px) scale(1.02);       /* Lift up slightly */
    border-color: transparent;
}

/* 5. Active Click State */
.action-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 0 10px rgba(223, 208, 184, 0.4);
}


/* 6. "Shine" Animation Effect */
.action-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: 0.6s;
    z-index: -1;
}

.action-btn:hover::after {
    left: 100%; /* Shine moves across on hover */
}

/* Artist & Reviews */
.artist-section { padding: 100px 8%; margin-top: 50px; }
.artist-layout { display: flex; align-items: center; gap: 80px; }
.artist-img-box { flex: 1; position: relative; max-width: 500px; }
.artist-img { width: 100%; border-radius: 4px; filter: grayscale(100%); transition: 0.8s; }
.artist-img-box:hover .artist-img { filter: grayscale(0%); transform: scale(1.02); }
.floating-frame { position: absolute; top: 40px; left: 40px; width: 100%; height: 100%; border: 1px solid var(--accent); z-index: -1; transition: 0.8s; }
.artist-bio { flex: 1; }
.artist-bio h2 { font-size: 3.5rem; margin-bottom: 30px; line-height: 1.1; }
.signature { margin-top: 30px; font-family: 'Cinzel'; font-size: 1.8rem; color: var(--accent); opacity: 0.7; }

.reviews-section { padding: 100px 8%; text-align: center; }
.reviews-wrapper { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 50px; }
.glass-review { background: var(--glass); border: 1px solid var(--glass-border); padding: 40px 30px; width: 100%; max-width: 350px; border-radius: 8px; }
.stars { color: var(--accent); margin-bottom: 20px; font-size: 1.2rem; }

/* 6. MODALS & ADMIN */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.9); z-index: 2000; display: flex; justify-content: center; align-items: center; backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay:not(.hidden) { opacity: 1; pointer-events: auto; }
.modal-box { background: var(--bg-secondary); border: 1px solid var(--accent); padding: 40px; border-radius: 12px; width: 90%; max-width: 450px; text-align: center; transform: translateY(20px); transition: transform 0.3s; }
.modal-overlay:not(.hidden) .modal-box { transform: translateY(0); }
.modal-box input, .modal-box select { width: 100%; padding: 12px; background: #020617; border: 1px solid var(--glass-border); color: #fff; margin-bottom: 15px; }
.confirm-btn { background: var(--accent); color: #000; padding: 12px; border: none; cursor: pointer; width: 100%; font-weight: bold; }
.cancel-btn { background: transparent; color: var(--text-muted); padding: 12px; border: 1px solid var(--text-muted); cursor: pointer; width: 100%; }

/* Product View */
.product-view { width: 900px; max-width: 95%; background: #1a1a1a; border: 1px solid var(--accent); display: flex; flex-direction: column; height: auto; max-height: 90vh; position: relative; }
.product-layout { display: flex; flex-wrap: wrap; height: 100%; }
.prod-img-col { flex: 1; min-height: 300px; }
.prod-img-col img { width: 100%; height: 100%; object-fit: cover; }
.prod-info-col { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
.prod-info-col h2 { font-size: 3rem; color: var(--accent); margin-bottom: 20px; line-height: 1.1; }
.prod-info-col p, .ingredients-text-view { color: #fff !important; }
#view-add-btn { background: var(--accent); color: #000; font-weight: bold; padding: 15px; width: 100%; border: none; cursor: pointer; margin-top: 20px; }
.close-modal-x { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #fff; background: none; border: none; cursor: pointer; z-index: 10; }

/* Admin & Extras */
.admin-panel { background: rgba(0, 0, 0, 0.6); border: 1px solid var(--accent); padding: 20px; margin: 30px auto; max-width: 700px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; }
.hidden { display: none !important; }
.admin-btn-group { position: absolute; top: 10px; left: 10px; display: none; gap: 5px; z-index: 20; }
body.admin-active .admin-btn-group { display: flex; }
.edit-btn { width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: bold; background: var(--accent); }
.delete-btn { width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: bold; background: var(--error); color: white; }

/* Footer */
footer { padding: 80px 5%; background: var(--bg-secondary); border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; }
.center { text-align: center; } .right { text-align: right; }
.footer-logo { height: 70px; width: 70px; border-radius: 50%; border: 2px solid var(--accent); padding: 5px; margin: 0 auto 20px auto; object-fit: cover; }
.f-col a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 12px; transition: 0.3s; }
.f-col a:hover { color: var(--accent); }
.footer-admin-link { background: transparent; border: 1px solid var(--accent); color: var(--accent); padding: 6px 16px; border-radius: 20px; cursor: pointer; text-transform: uppercase; margin-top: 5px; }

/* Mood Switcher */
.palette-dock { position: fixed; left: 30px; bottom: 30px; z-index: 1000; background: var(--glass); padding: 10px 20px; border-radius: 50px; border: 1px solid var(--glass-border); display: flex; gap: 15px; align-items: center; }
.palette-btns { display: flex; gap: 10px; }
.theme-btn { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); cursor: pointer; }
.midnight { background: #153448; } .espresso { background: #2C1A1D; } .velvet { background: #240046; }

/* Cart & Toast */
#toast-container { position: fixed; bottom: 30px; right: 30px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: rgba(2,6,23,0.95); border-left: 4px solid var(--accent); padding: 15px 25px; color: #fff; min-width: 250px; }
.floating-cart { position: fixed; bottom: 30px; right: 30px; z-index: 900; width: 300px; }
.cart-glass { background: #000; border: 1px solid var(--accent); border-radius: 12px; padding: 15px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
/* =========================================
   CHECKOUT BUTTON (Compact Pill - Blue Circle Match)
   ========================================= */
.checkout-btn {
    /* Exact colors: Light background, dark text */
    background: var(--accent); 
    color: var(--bg-primary);
    
    /* Styling for the compact, round shape */
    border: none;
    padding: 8px 20px; /* Reduced padding for sleek size */
    border-radius: 50px; /* Full pill shape */
    
    /* Typography adjustments */
    font-weight: 700;
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem; /* Slightly smaller text to fit nicely */
    cursor: pointer;
    
    /* Simple, clean transition */
    transition: all 0.3s ease;
}

/* Simple Hover Effect (Slight dim + tiny lift) */
.checkout-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* =========================================
   7. MOBILE VIEW OVERRIDES (ONLY FOR PHONES)
   ========================================= */
@media (max-width: 768px) {
    /* Header Layout Changes */
    .glass-nav { flex-direction: column; padding: 15px; gap: 10px; }
    .nav-logo-area { width: 100%; justify-content: center; margin-bottom: 5px; }
    
    /* Search Bar Full Width */
    .search-container { width: 100%; margin: 0; }
    #spotlight-search { width: 100%; background: rgba(0,0,0,0.3); }

    /* HIDE DESKTOP MENU */
    .nav-menu { display: none !important; }
    .social-link.desktop-only { display: none !important; }

    /* SHOW MOBILE MENU */
    .mobile-center-nav {
        display: flex !important; justify-content: center; gap: 20px;
        width: 100%; margin-top: 10px; margin-bottom: 5px;
    }
    .mobile-nav-item {
        text-decoration: none; color: var(--text-muted);
        font-family: 'Cinzel', serif; font-size: 0.75rem;
        letter-spacing: 2px; font-weight: bold;
        border-bottom: 1px solid transparent; padding-bottom: 2px;
    }
    .mobile-nav-item:active { color: var(--accent); border-bottom: 1px solid var(--accent); }

    /* SHOW MOBILE ICONS */
    .mobile-insta-icon {
        display: flex !important; align-items: center; justify-content: center;
        margin-left: 10px; color: var(--accent); padding: 5px;
        border: 1px solid var(--glass-border); border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
    }

    /* Layout Stacking */
    .hero-title { font-size: 3rem; }
    .artist-layout { flex-direction: column; text-align: center; }
    .product-layout { flex-direction: column; }
    .prod-img-col { height: 250px; flex: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .right { text-align: center; }
    
    /* Center Mood Switcher */
    /* --- FIX: MOOD BAR (Left Aligned & Above Cart) --- */
    .palette-dock {
        /* 1. Position: Left and Lifted Up */
        left: 5% !important;            /* Aligns to left (matching cart) */
        bottom: 95px !important;        /* Moves it ABOVE the cart buttons */
        
        /* 2. Remove Centering */
        transform: none !important;     
        right: auto !important;
        width: auto !important;
        
        /* 3. Styling & Spacing */
        display: flex !important;
        gap: 20px !important;           /* Equal space between dots */
        padding: 10px 20px !important;  /* Proper spacing around the bar */
        border-radius: 50px !important; /* Pill shape */
        z-index: 1100 !important;       /* On top of everything */
    }

    /* Optional: Make the dots easier to tap on mobile */
    .palette-dock .theme-btn {
        width: 25px !important;
        height: 25px !important;
    }

    /* --- FIX: MOOD BAR POSITION (Low & Non-Intrusive) --- */
    .palette-dock {
        position: fixed !important;
        
        /* 1. Move it all the way DOWN to the footer area */
        bottom: 20px !important;       
        
        /* 2. Keep it on the LEFT side */
        left: 20px !important;         
        
        /* 3. Reset any centering code */
        transform: none !important;    
        right: auto !important;
        
        /* 4. Ensure it fits cleanly */
        width: max-content !important;
        display: flex !important;
        z-index: 1100 !important;
    }
}

/* =========================================
   FOOTER ADMIN BUTTON
   ========================================= */
.footer-admin-link {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none; /* In case it's an anchor tag */
}

.footer-admin-link:hover {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(223, 208, 184, 0.4); /* Glow effect */
    transform: translateY(-2px);
}

/* Adjust icon size if needed */
.footer-admin-link i {
    font-size: 0.9rem;
}

/* =========================================
   MODAL BUTTONS (LOGIN & CANCEL)
   ========================================= */
.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.confirm-btn, .cancel-btn {
    flex: 1; /* Make them equal width */
    padding: 12px 0;
    border-radius: 6px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

/* The primary 'LOGIN' button */
.confirm-btn {
    background: var(--accent);
    color: var(--bg-primary);
    border: 1px solid var(--accent);
}

.confirm-btn:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 15px rgba(223, 208, 184, 0.4);
}

/* The secondary 'CANCEL' button */
.cancel-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

.cancel-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(223, 208, 184, 0.05);
}

/* =========================================
   ADMIN PANEL MAIN BUTTONS
   ========================================= */
.admin-actions {
    display: flex;
    gap: 15px;
}

.admin-add-btn,
.admin-analytics-btn,
.admin-logout-btn {
    padding: 12px 20px;
    border-radius: 6px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: none;
    white-space: nowrap; /* Prevents text from wrapping */
}

/* '+ ADD NEW ITEM' Button */
.admin-add-btn {
    background: var(--accent);
    color: var(--bg-primary);
}

.admin-add-btn:hover {
    background: #c5b39b; /* Slightly darker gold */
    box-shadow: 0 0 10px rgba(223, 208, 184, 0.4);
}

/* 'LIVE DASHBOARD' Button */
.admin-analytics-btn {
    background: var(--success); /* Use the success green variable */
    color: white;
}

.admin-analytics-btn:hover {
    background: #27ae60; /* Slightly darker green */
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
}

/* 'LOGOUT' Button */
.admin-logout-btn {
    background: var(--error); /* Use the error red variable */
    color: white;
}

.admin-logout-btn:hover {
    background: #c0392b; /* Slightly darker red */
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.4);
}

/* Responsive adjustments for admin panel on smaller screens */
@media (max-width: 768px) {
    .admin-panel {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .admin-actions {
        flex-direction: column;
        width: 100%;
    }

    .admin-add-btn,
    .admin-analytics-btn,
    .admin-logout-btn {
        width: 100%;
    }
}

/* =========================================
   IMAGE PARALLAX EFFECT (New)
   ========================================= */

/* Ensure the image doesn't spill outside the rounded card corners */
.tilt-card {
    overflow: hidden; 
}

/* Target the image inside the card */
.tilt-card img {
    /* Smooth transition for resetting position */
    transition: transform 0.3s ease-out;
    /* Performance optimization for moving elements */
    will-change: transform;
    /* Ensure it scales from the center */
    transform-origin: center center;
    /* Optional: Start slightly zoomed out to allow movement space */
     transform: scale(1);
}

/* ------------- new code ------------------------------------ /*
/* =========================================
   ARTIST IMAGE "VIDEO EFFECT" SETUP
   ========================================= */

/* 1. Container Setup */
.artist-img-box {
    overflow: hidden; /* Hide the edges when image moves */
    border-radius: 4px;
    perspective: 1000px; /* Enable 3D effect */
    cursor: pointer;
}

/* 2. Image Setup (B&W to Color + Zoom) */
.artist-img {
    width: 100%;
    /* Start Black & White */
    filter: grayscale(100%); 
    /* Start zoomed in (1.1) so it has room to move without gaps */
    transform: scale(1.1); 
    /* Smooth transitions for color and movement reset */
    transition: filter 0.5s ease, transform 0.6s ease-out;
    will-change: transform, filter;
}

/* 3. Hover State: Turn to Color */
.artist-img-box:hover .artist-img {
    filter: grayscale(0%); /* Full Color */
}

/* 4. Hide the floating frame on hover to keep it clean (Optional) */
.artist-img-box:hover .floating-frame {
    opacity: 0.5;
    transform: scale(1.05);
}

/* =========================================
   THE "SLIDING BOX" TOGGLE (Noir vs Color)
   ========================================= */

/* 1. Wrapper Layout */
.color-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.color-toggle-wrapper:hover {
    border-color: var(--accent);
}

/* 2. Text Labels */
.toggle-label {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    transition: 0.3s;
}

/* 3. The Track (The "Road") */
.toggle-track {
    width: 50px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    transition: 0.3s;
    border: 1px solid var(--text-muted);
}

/* 4. The Slider (The "Box" that moves) */
.toggle-slider {
    width: 18px;
    height: 18px;
    background: var(--text-muted); /* Default Gray */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* START POSITION: RIGHT (As you requested for B&W) */
    right: 3px; 
    left: auto;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Bouncy Slide */
}

/* --------------------------------------------------------------------------
   5. CUSTOM CURSOR (NEGATIVE / DIFFERENCE BLEND MODE)
   -------------------------------------------------------------------------- */
.cursor-dot, 
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    
    /* THE KEY: This creates the "Negative" effect */
    mix-blend-mode: difference; 
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white; /* Must be WHITE for the math to work */
}

.cursor-ring {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid white; /* Must be WHITE */
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover State: Fill the ring */
body.hovering .cursor-ring {
    width: 60px;
    height: 60px;
    background-color: white; 
    border-color: transparent;
    mix-blend-mode: difference;
}

/* =========================================
   PARALLAX IMAGE SETUP
   ========================================= */

/* 1. Hide edges for both cards and artist box */
.tilt-card, .artist-img-box {
    overflow: hidden !important; 
}

/* 2. Default state for images (Zoomed In) */
.card-visual, .artist-img {
    transform: scale(1.1); 
    transition: transform 0.6s ease-out;
    will-change: transform;
}

/* =========================================
   FIX: STABILIZE MOBILE CURSOR
   ========================================= */
@media (max-width: 768px) {
    /* 1. Force the ring to stay the same size always */
    .cursor-ring {
        transform: translate(-50%, -50%) scale(1) !important;
        width: 40px !important;
        height: 40px !important;
        background-color: transparent !important; /* Keep it hollow */
        border: 1px solid white !important;
        mix-blend-mode: difference !important;
    }

    /* 2. Disable the "filling up" white effect on touch */
    body.hovering .cursor-ring {
        background-color: transparent !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }
    
    /* 3. Ensure the dot stays visible */
    .cursor-dot {
        display: block !important;
        opacity: 1 !important;
    }
}

/* =========================================
   OWNER LOGIN BUTTON (With White Glow)
   ========================================= */

.footer-admin-link {
    /* Position & Size logic from previous step */
    padding: 6px 18px !important;
    font-size: 0.75rem !important;
    border-radius: 50px !important;
    margin-top: 15px !important; 
    margin-right: -20px !important; /* Adjust this if needed */

    /* Default Visuals */
    background: transparent !important;
    border: 1px solid #f4e1b9 !important;
    color: #f4e1b9 !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

/* HOVER STATE: White Glow */
.footer-admin-link:hover {
    background: #f4e1b9 !important;      /* Button fills with Gold/Cream */
    color: #001f3f !important;           /* Text turns Dark Blue */
    
    /* THE WHITE GLOW EFFECT 👇 */
    box-shadow: 0 0 15px 2px rgba(255, 255, 255, 0.8) !important; 
    border-color: #ffffff !important;    /* Border turns white */
}

/* =========================================
   FINAL CURSOR FIX: LOCK SIZE & PREVENT GROWTH
   ========================================= */

/* 1. Base State: Force consistent size and centering */
.cursor-ring {
    width: 40px !important;
    height: 40px !important;
    /* Maintain centering AND scale 1.0 */
    transform: translate(-50%, -50%) scale(1) !important; 
    
    background-color: transparent !important; /* Force hollow */
    border: 1px solid white !important;       /* Force white border */
    mix-blend-mode: difference !important;    /* Force negative effect */
    
    /* Disable transition on transform to prevent laggy resizing */
    transition: border-color 0.2s !important; 
}

/* 2. Hover State: DISABLE expansion */
body.hovering .cursor-ring {
    width: 40px !important;
    height: 40px !important;
    /* Ensure it stays centered and DOES NOT GROW */
    transform: translate(-50%, -50%) scale(1) !important; 
    
    background-color: transparent !important; /* Don't fill it */
    border-color: white !important;
}

/* 3. Mobile Specific: Double check to kill any touch pulse */
@media (max-width: 768px) {
    .cursor-ring {
        transition: none !important; /* Zero animation on phone */
    }
}

/* =========================================
   FIX: PRODUCT MODAL (Mobile View)
   ========================================= */

@media (max-width: 768px) {
    /* 1. Fix the Title Visibility */
    .prod-info-col h2 {
        font-size: 1.8rem !important;  /* Smaller font so it doesn't get cut off */
        margin-top: 15px !important;   /* Add space between image and text */
        line-height: 1.2 !important;   /* Tighter spacing */
        word-wrap: break-word !important; /* Prevents text overflow */
        display: block !important;
        visibility: visible !important;
    }

    /* 2. Fix the "Add to Bag" Button (Make it visible & clickable) */
    #view-add-btn {
        background-color: #DFD0B8 !important; /* Solid Gold background */
        color: #153448 !important;            /* Dark Blue Text (High Contrast) */
        border: none !important;
        
        width: 100% !important;               /* Full Width Button */
        padding: 18px 0 !important;           /* Taller area for easy tapping */
        margin-top: 25px !important;          /* Space above button */
        margin-bottom: 20px !important;       /* Space below button */
        
        font-weight: bold !important;
        font-size: 1rem !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important; /* Pop-out shadow */
        opacity: 1 !important;
    }
    
    /* Ensure the container allows scrolling */
    .product-view {
        padding-bottom: 50px !important; /* Extra space at bottom to scroll */
    }
}

/* =========================================
   FIX: CLOSE BUTTON (Cross Symbol)
   ========================================= */
.close-modal-x {
    z-index: 10000 !important;       /* Force it to the very top layer */
    position: absolute !important;   /* Lock its position */
    top: 15px !important;
    right: 20px !important;
    
    /* Make it clickable */
    cursor: pointer !important;
    pointer-events: auto !important; 
    
    /* Make the touch area bigger for mobile */
    width: 40px !important;
    height: 40px !important;
    font-size: 2.5rem !important;
    line-height: 35px !important;
    text-align: center !important;
    
    /* Ensure visibility */
    color: #ffffff !important;
    background: transparent !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8) !important; /* Shadow to pop against photos */
}

.close-modal-x:hover {
    color: #DFD0B8 !important; /* Turns Gold on Hover */
    transform: scale(1.1);
}

/* =========================================
   ENHANCE "REMOVE" BUTTON IN CART
   ========================================= */

.remove-item-btn {
    background-color: transparent !important;
    color: #ff4d4d !important;            /* Bright Red Text */
    border: 1px solid #ff4d4d !important; /* Red Border */
    padding: 6px 14px !important;         /* Nice button size */
    border-radius: 20px !important;       /* Rounded edges */
    font-size: 0.75rem !important;
    font-weight: 700 !important;          /* Bold text */
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 5px; /* Space between text and 'X' */
}

/* Hover Effect: Fill Red + Glow */
.remove-item-btn:hover {
    background-color: #ff4d4d !important; 
    color: #ffffff !important;            /* Text turns white */
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.6) !important; /* Red Glow */
    transform: translateY(-1px);
}

//* --- FIX FOR MENU CARD IMAGES --- */

.card-visual {
    width: 100%;
    height: 250px !important;    /* Forces the height to be consistent */
    
    /* THE MAGIC FIX FOR BACKGROUND IMAGES */
    background-size: cover !important;   
    background-position: center center !important;
    background-repeat: no-repeat !important;
    
    /* Ensure the corners match your card design */
    border-radius: 8px 8px 0 0; 
}

/* --- New Separator Banner Styling --- */
.separator-banner {
    margin-top: 0;
    margin-bottom: 50px; /* Space before Feedback section */
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3); /* Slightly darker than main bg */
}

/* =========================================
   MOVING BANNER (SEPARATOR)
   ========================================= */
.separator-banner {
    margin-top: 0;          /* Connects smoothly to the section above */
    margin-bottom: 50px;    /* Adds breathing room before Reviews */
    
    /* styling to distinguish it from the top banner */
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3); /* Slightly darker/transparent */
    backdrop-filter: blur(5px);
}

/* Mobile Tweak: Ensure it doesn't touch the edges too hard */
@media (max-width: 768px) {
    .separator-banner {
        margin-bottom: 30px;
    }
}