/* 
   Demicon Trading - Clean "Khalvat" Minimalist Theme
   Focus: Readability, Whitespace, Modern E-commerce
*/

:root {
    /* Color Palette - Clean, Trustworthy, Minimal */
    --primary-color: #0A58CA; /* Trustworthy Blue */
    --primary-hover: #084298;
    --bg-main: #FFFFFF;
    --bg-secondary: #F8F9FA; /* Very light gray for subtle contrast */
    --bg-header: #FFFFFF;
    
    --text-main: #212529;
    --text-muted: #6C757D;
    
    --border-color: #DEE2E6;
    --border-light: #F1F3F5;
    
    --success-color: #198754;
    --warning-color: #FFC107;
    --danger-color: #DC3545;

    /* Typography */
    --font-sans: 'Vazirmatn', 'Tahoma', system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.06);
    --shadow-hover: 0 10px 15px rgba(0,0,0,0.08);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

:root {
    /* Color Palette - Clean, Trustworthy, Minimal */
    --primary-color: #0d2085; /* Brand Deep Blue */
    --primary-hover: #081d74;
    --bg-main: #f4f6fa; /* Light Grayish Blue background */
    --bg-card: #FFFFFF;
    --bg-header: #FFFFFF;
    
    --text-main: #0d2085; /* Rich Blue text for brand consistency */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    /* Typography */
    --font-sans: 'Vazirmatn', 'Tahoma', system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --container-width: 1300px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--primary-color);
    font-size: 0.82rem;
    padding: 10px 0;
    color: #ffffff;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    font-weight: 500;
}

.top-bar-item svg {
    opacity: 0.8;
}

.top-bar-item a {
    color: #fff;
}

.top-bar-item a:hover {
    text-decoration: underline;
}

.bar-divider {
    opacity: 0.4;
    user-select: none;
}

.top-bar-right {
    flex-grow: 1;
    max-width: 500px;
    display: flex;
    justify-content: flex-end;
}

.top-search-form {
    display: flex;
    width: 100%;
    background-color: #ffffff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.top-search-form input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 8px 14px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.top-search-form input::placeholder {
    color: #94a3b8;
}

.top-search-btn {
    background-color: #6b21a8; /* Purple search button matching the screenshot */
    color: #ffffff;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-search-btn:hover {
    background-color: #581c87;
}

.main-header {
    background: linear-gradient(45deg, #100353, #3f00a0, #3498DB, #8E44AD);
    background-size: 300% 100%;
    animation: gradientMove 10s ease-in-out infinite alternate;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: var(--font-sans);
}

.logo-demicon {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.logo-trading {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: #60a5fa; /* Light Blue for high contrast */
}

/* Stores Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .caret {
    font-size: 0.7rem;
    vertical-align: middle;
    margin-left: 2px;
    opacity: 0.9;
    color: #ffffff;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    z-index: 1000;
    top: 100%;
    left: 0;
    padding: 8px 0;
    max-height: 350px;
    overflow-y: auto;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 8px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: var(--border-light);
    color: #3f00a0;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn-cart {
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.2s;
}

.action-btn-cart:hover {
    color: #60a5fa;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.auth-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #60a5fa;
}

.auth-divider {
    color: rgba(255, 255, 255, 0.4);
    user-select: none;
}

/* Mobile Toggle Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle svg {
    display: block;
}

/* Category Sidebar Layout */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.sidebar {
    background-color: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    height: fit-content;
}

.sidebar-title {
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section / Banners */
.home-hero {
    margin-bottom: 40px;
}

.banner {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.banner-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.banner-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Promo Bars */
.promo-bar {
    background-color: var(--bg-secondary);
    text-align: center;
    padding: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px dashed var(--border-color);
    color: var(--primary-color);
}

/* Category Sections */
.category-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
    font-size: 1.4rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    background-color: var(--bg-secondary);
}

.product-category-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 500;
    flex-grow: 1;
}

.product-rating {
    color: var(--warning-color);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.product-price {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 8px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.add-to-cart-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Footer */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 88, 202, 0.1);
}

/* Product Detail Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.product-detail-img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

/* Cart & Checkout */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-summary {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    height: fit-content;
}

/* Mobile Responsive */
/* Mobile Responsive Media Queries */
@media (max-width: 1024px) {
    .top-bar {
        display: none !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .header-auth {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-container {
        height: 70px !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 0 15px !important;
        gap: 0 !important;
    }
    
    .logo-wrapper {
        gap: 8px !important;
    }
    
    .logo-icon {
        width: 32px !important;
        height: 32px !important;
    }
    
    .logo-demicon {
        font-size: 1.25rem !important;
    }
    
    .logo-trading {
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .layout-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .layout-with-sidebar .sidebar {
        display: none;
    }
    
    .product-detail-layout, .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 0 10px;
    }
    
    .category-img-container {
        height: 300px !important;
    }
    
    .featured-categories-card {
        padding: 20px 10px !important;
        margin: 15px auto !important;
        border-radius: 4px;
    }
    
    .featured-categories-title {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        text-align: center;
    }
    
    .footer-col form {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .product-card {
        padding: 10px !important;
    }
    
    .product-img {
        height: 140px !important;
    }
    
    .product-title {
        font-size: 0.85rem !important;
    }
    
    .product-price {
        font-size: 0.95rem !important;
    }
    
    .logo-demicon {
        font-size: 1.15rem !important;
    }
    
    .logo-trading {
        display: none; /* Hide TRADING text to save horizontal space on very small screens */
    }
}

/* Featured Category Home Card & Grid */
.featured-categories-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px;
    margin: 30px auto;
    max-width: 1200px;
}

.featured-categories-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 30px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.category-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.category-img-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-btn {
    width: 100%;
    text-align: center;
    padding: 12px 6px;
    background-color: #ffffff;
    color: #0d2085;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 0;
    transition: background-color 0.2s, color 0.2s;
    display: block;
}

.category-card:hover .category-btn {
    background-color: #f8fafc;
    color: var(--primary-hover);
}

/* Mobile Search Bar styles */
.mobile-search-container {
    display: none;
    background-color: #f4f6fa;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-search-form {
    display: flex;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.mobile-search-form input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.mobile-search-btn {
    background-color: #6b21a8;
    color: #ffffff;
    border: none;
    padding: 0 18px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-btn:hover {
    background-color: #581c87;
}

@media (max-width: 1024px) {
    .mobile-search-container {
        display: block;
    }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    left: auto;
    width: 280px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -4px 0 15px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #100353, #3f00a0);
    color: #ffffff;
}

.mobile-nav-title {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    padding: 4px 0;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

.mobile-nav-categories {
    padding-right: 12px;
    padding-left: 0;
    border-right: 2px solid var(--border-color);
    border-left: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    margin: 4px 0;
}

.mobile-category-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mobile-category-link:hover {
    color: var(--primary-color);
}

.mobile-nav-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 8px 0;
}

.mobile-nav-welcome {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

/* Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.no-scroll {
    overflow: hidden;
}

/* Promo Banner Style & Badge */
.top-promo-banner {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .top-promo-banner {
        margin: 10px 15px 0;
        font-size: 0.85rem;
        padding: 10px;
    }
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #6b21a8, #3f00a0);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    margin-left: 8px;
    margin-right: 0;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.back-to-top-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: #3f00a0;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
}

.back-to-top-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}
