/* --- 1. CORE RESET & THEME --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #cf2626;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-dim: #aaa;
    --success: #2ecc71; /* New Badge Color */
    --accent-blue: #3498db; /* Local/Accent Color */
    --accent-black: #000000; /* <--- ADD THIS LINE */
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--dark-bg);
    background-image: linear-gradient(rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.95)), 
                      url('https://www.transparenttextures.com/patterns/dark-matter.png');
    color: white;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Updated Badge Stack Styles with Icon Support */
    .badge-stack {
        position: absolute;
        top: 15px;
        left: 15px;
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 6px;
        pointer-events: none;
    }
    .badge-overlay { 
        display: flex;
        align-items: center;
        gap: 5px; /* Space between emoji and text */
        text-transform: uppercase; 
        font-weight: 900; 
        font-size: 0.7rem; 
        padding: 5px 12px; 
        border-radius: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
        width: fit-content;
    }
    .sale-badge { background: var(--primary); color: white; }
    .new-badge { background: #FFD700; color: #000; }
    .local-badge { background: #008080; color: white; border: 1px solid rgba(255,255,255,0.2); }
    
/* --- 2. FIXED NAVIGATION --- */
.main-nav {
    background: #ffffff !important; 
    height: 70px;
    position: sticky; 
    top: 0;
    width: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links { display: flex; gap: 25px; }

.nav-links a {
    text-decoration: none !important;
    color: #111111 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary) !important; }
.nav-links i { color: var(--primary) !important; }

.nav-cart { cursor: pointer; position: relative; color: #111111 !important; font-size: 1.4rem; z-index: 2100; }

#cart-count {
    position: absolute; top: -8px; right: -8px; 
    background: var(--primary); color: white;
    font-size: 0.65rem; padding: 2px 6px; border-radius: 50%;
    border: 2px solid #fff;
}

.menu-trigger { 
    display: none; 
    cursor: pointer; 
    font-size: 1.5rem; 
    color: #111111 !important; 
    z-index: 2100;
}

/* --- 3. SIDEBARS (Cart & Mobile Menu) --- */
#cart-sidebar, #mobile-menu {
    position: fixed;
    top: 0;
    height: 100vh;
    z-index: 9999 !important; 
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

#cart-sidebar {
    right: -450px; 
    width: 400px;
    max-width: 90vw;
    background: #ffffff; 
    display: flex;
    flex-direction: column;
}

#mobile-menu {
    left: -320px; 
    width: 300px;
    background: #111; 
    padding: 25px;
    overflow-y: auto;
}

#cart-sidebar.active, #cart-sidebar.open { right: 0 !important; }
#mobile-menu.active, #mobile-menu.open { left: 0 !important; }

/* Sidebar Text Colors */
#cart-sidebar * { color: #111 !important; }
#cart-sidebar button { color: #fff !important; }

#mobile-menu a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid #222;
    font-size: 1rem;
    gap: 15px;
}
#mobile-menu i { color: var(--primary); width: 20px; text-align: center; }

/* --- 4. HERO BANNER --- */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), var(--hero-bg) no-repeat !important;
    background-size: cover !important;
    background-position: center 70% !important;
    min-height: 60vh;
    width: 100%;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.hero-banner h1 {
    /* Modern, bold font (already imported in your project) */
    font-family: 'Inter', sans-serif; 
    font-weight: 900; /* Extra bold for that modern look */
    margin-bottom: 25px !important;
    text-transform: uppercase;
    
    /* Stronger, multi-layered shadow to make it pop against any image */
    text-shadow: 2px 2px 0px rgba(0,0,0,1), 
                 4px 4px 15px rgba(0,0,0,0.6);
    
    color: white;
    font-style: normal; /* Removed the italic */
    font-size: clamp(2.5rem, 8vw, 5rem); /* Made it slightly larger */
    letter-spacing: -1px; /* Tighter spacing looks more modern */
}

/* Desktop Size */
.hero-banner h1 {
    font-size: 50px; /* Adjust this number until it looks right */
}

/* Mobile Size (Adjusts for screens smaller than 768px) */
@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 32px; 
    }
}
.hero-btn {
    background: var(--primary);
    color: white;
    padding: 14px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(207, 38, 38, 0.4);
}
.hero-btn:hover { background: #ff3333; transform: scale(1.05); }

/* --- 5. UNIVERSAL CARDS & SOCIALS --- */
.info-wrapper { max-width: 1100px; margin: 0 auto; padding: 40px 15px; }

.main-card, .products-container {
    background: var(--card-bg); 
    padding: 40px;
    border-radius: 20px; 
    border: 1px solid #333;
    border-top: 3px solid var(--primary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    margin-bottom: 40px;
}

.main-card h2, .products-container h2 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* --- BADGE SYSTEM --- */
.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 10;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sale-badge { background: var(--primary); color: white; }
.new-badge { background: var(--success); color: white; }
.local-badge { background: var(--accent-black); color: white; }

.social-card { border-top-color: #f9d71c !important; text-align: center; }
.social-links { display: flex; justify-content: center; gap: 30px; margin-top: 20px; flex-wrap: wrap; }
.social-links a { font-size: 2.5rem; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: inline-block; }
.social-links a:hover { transform: translateY(-8px) scale(1.1); }

/* Brand Colors */
.social-links .ig { color: #E1306C; }
.social-links .fb { color: #1877F2; }
.social-links .tk { color: #ffffff; }
.social-links .yt { color: #FF0000; }
.social-links .pin { color: #BD081C; }
.social-links .tw { color: #1DA1F2; }
.social-links .th { color: #ffffff; }
.social-links .l8 { color: #f9d71c; }

/* --- INTRO FLEX (40/60 Split) --- */
.intro-flex { 
    display: flex; 
    flex-direction: row-reverse; 
    gap: 40px; 
    align-items: center; 
}

.intro-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.intro-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-image img { 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    border-radius: 15px; 
    border: 2px solid var(--primary); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- 6. PRODUCT GRID --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.feat-card {
    background: #252525;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    position: relative;
}

.feat-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.product-img-wrapper { position: relative; height: 220px; overflow: hidden; }
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.feat-card:hover .product-img-wrapper img { transform: scale(1.1); }

.product-info { padding: 20px; text-align: center; flex-grow: 1; }
.current-price { color: var(--primary); font-weight: 800; font-size: 1.4rem; }
.old-price { text-decoration: line-through; color: #777; font-size: 0.9rem; margin-right: 8px; }

.variation-select {
    width: 100%; padding: 10px; background: #333; color: white; 
    border: 1px solid #444; border-radius: 8px; margin-bottom: 15px;
    font-size: 0.9rem;
}

.add-btn {
    width: 100%; background: var(--primary); color: white; border: none;
    padding: 14px; border-radius: 10px; font-weight: bold; cursor: pointer;
    text-transform: uppercase; transition: 0.3s;
}
.add-btn:hover { background: #ff3333; }

/* --- 7. OVERLAY, SHARE & FOOTER --- */
#overlay {
    display: none; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); 
    z-index: 9000; 
    backdrop-filter: blur(4px);
}

.share-container {
    display: flex; align-items: center; gap: 15px;
    margin-bottom: 25px; padding: 12px 20px;
    background: #111; border-radius: 12px;
    border: 1px solid #333; width: fit-content;
}

.share-label { font-size: 0.7rem; text-transform: uppercase; color: #666; font-weight: 800; letter-spacing: 1px; }
.share-buttons { display: flex; gap: 18px; }
.share-buttons a { color: #fff; font-size: 1.15rem; transition: 0.3s ease; }
.share-buttons a:hover { color: var(--primary); transform: translateY(-2px); }

/* --- FOOTER SPECIFICS --- */
.main-footer {
    background: #000; color: #fff;
    padding: 60px 20px 20px; margin-top: 50px;
    border-top: 1px solid #333;
}

.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 3fr; gap: 40px;
}

.footer-links-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { height: 50px !important; width: auto; margin-bottom: 15px; }
.social-header { color: var(--primary); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; display: block; font-weight: 800; }
.social-grid { display: grid; grid-template-columns: repeat(4, 35px); gap: 12px; }
.social-icon { color: #fff; font-size: 1.3rem; transition: 0.3s; text-decoration: none; }
.social-icon:hover { color: var(--primary); transform: translateY(-3px); }

.footer-heading { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; border-bottom: 2px solid var(--primary); display: inline-block; font-size: 1rem; color: #fff; }
.footer-list { list-style: none; padding: 0; }
.footer-link { color: var(--text-dim); text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; font-size: 0.9rem; line-height: 2.5; }
.footer-link::before { font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 10px; color: var(--primary); width: 20px; text-align: center; }
.footer-link:hover { color: #fff; padding-left: 5px; text-shadow: 0 0 8px var(--primary); }

.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #222; text-align: center; color: #666; font-size: 0.75rem; }

/* --- 8. RESPONSIVE --- */
@media (max-width: 992px) {
    .nav-links { display: none !important; }
    .menu-trigger { display: block; }
    .nav-container { display: grid; grid-template-columns: 1fr 2fr 1fr; }
    .nav-logo { text-align: center; }
    .nav-cart { text-align: right; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-links-container { justify-content: center; gap: 30px; }
    .social-grid { justify-content: center; }
}

@media (max-width: 768px) {
    .intro-flex { flex-direction: column; }
    .intro-image { max-width: 100%; flex: 0 0 100%; }
    .hero-banner { min-height: 50vh; }
    .share-container { width: auto; justify-content: space-between; }
    .mobile-share-only { display: inline-block; }
}

/* --- LOCATION DIRECTORY STYLES --- */

.city-grid {
    margin-top: 30px;
}

.city-card {
    background: var(--card-bg);
    border: 1px solid #333;
    padding: 20px 25px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.city-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 2;
}

.city-card-content i {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.arrow-icon {
    color: #444;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Hover Effects */
.city-card:hover {
    border-color: var(--primary);
    background: var(--accent-black);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.city-card:hover .city-card-content i {
    transform: scale(1.3);
}

.city-card:hover .arrow-icon {
    color: var(--primary);
    transform: translateX(5px);
}

/* Subtle background glow on hover */
.city-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(207, 38, 38, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.city-card:hover::after {
    opacity: 1;
}

@media (max-width: 600px) {
    .city-card {
        padding: 15px 20px;
    }
}