/* ==========================================================================
   D&D Secret - Main Stylesheet (Final Production Version)
   Theme: Dark Luxury (Black, Rose Red, White)
   ========================================================================== */

/* ========== ۱. تنظیمات پایه و متغیرها (Base & Variables) ========== */
:root {
    /* پالت رنگی اصلی */
    --primary-color: #e91e63;   /* صورتی/قرمز رزی (Rose Red) */
    --accent-color: #d50000;    /* قرمز تند (Crimson) */
    --secondary-color: #ffffff; /* سفید خالص */
    
    /* رنگ‌های متن */
    --text-dark: #ffffff;       
    --text-gray: #b0b0b0;       
    --text-muted: #757575;      
    
    /* پس‌زمینه */
    --bg-body: #0a0a0a;         
    --bg-card: rgba(20, 20, 20, 0.9); 
    --bg-header: rgba(0, 0, 0, 0.95);
    
    /* حاشیه‌ها و افکت‌ها */
    --border-color: rgba(255, 255, 255, 0.15); 
    --rose-glow: 0 5px 20px rgba(233, 30, 99, 0.4); 
    --shadow-sm: 0 8px 20px rgba(0,0,0,0.6); 
    --shadow-md: 0 15px 35px rgba(0,0,0,0.8);
    --radius: 16px;

    /* فونت‌ها */
    --font-main: 'Vazirmatn', sans-serif;
    --font-title: 'Amiri', serif; 
}

html {
    scroll-behavior: smooth;
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-color: var(--bg-body);
    position: relative; 
}

/* === FIX PERFORMANCE: تکنیک لایه مجازی پس‌زمینه === */
body::before {
    content: "";
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: -1; 
    background-image: linear-gradient(to bottom, rgba(10,10,10,0.85), rgba(20,0,5,0.9)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    will-change: transform; 
    pointer-events: none;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-main); }

/* کانتینر اصلی */
.container { max-width: 1350px; margin: 0 auto; padding: 0 15px; position: relative; }

/* ========== انیمیشن‌های ورود (Animations) ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-section, .categories-circle-section, .promo-section, .products-section, 
.cart-layout, .orders-list, .product-detail-layout, .rose-parallax, 
.about-hero, .about-grid, .contact-layout, .history-card {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    will-change: opacity, transform;
}
.hero-section { animation-delay: 0.1s; }
.categories-circle-section { animation-delay: 0.3s; }
.rose-parallax { animation-delay: 0.4s; }
.promo-section { animation-delay: 0.5s; }
.products-section { animation-delay: 0.6s; }

/* ========== ۲. کلاس‌های کمکی (Utility Classes) ========== */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-lg-block { display: none !important; }
.d-lg-flex { display: none !important; }
.d-lg-none { display: block !important; }

@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
    .d-lg-none { display: none !important; }
}

/* ========== ۳. هدر سایت (Header) ========== */
.main-header {
    background: var(--bg-header);
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-row {
    display: flex; align-items: center; justify-content: space-between; height: 85px;
}

.header-right { display: flex; align-items: center; gap: 15px; }
.hamburger-menu { background: none; border: none; font-size: 1.5rem; color: #fff; }

.logo-area { display: flex; align-items: center; gap: 12px; }
.header-logo { height: 55px; width: auto; filter: brightness(1.1); } 
.brand-text {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--secondary-color); 
    white-space: nowrap;
    padding-top: 5px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.header-center { flex: 1; max-width: 600px; margin: 0 40px; }
.search-box-minimal {
    position: relative;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    display: flex; align-items: center;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.search-box-minimal:focus-within {
    background: rgba(255,255,255,0.12);
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
.search-box-minimal input {
    width: 100%; border: none; background: transparent; padding: 12px 20px;
    font-family: var(--font-main); font-size: 0.95rem; color: #fff;
}
.search-box-minimal input::placeholder { color: #888; }
.search-box-minimal button { background: none; border: none; padding: 0 20px; color: #ccc; font-size: 1.1rem; }

.header-left { display: flex; align-items: center; gap: 20px; }

.auth-btn {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem; font-weight: 600; 
    border: 1px solid var(--secondary-color);
    padding: 10px 25px; border-radius: 50px;
    color: var(--secondary-color); background: transparent;
    transition: 0.3s;
}
.auth-btn:hover { 
    background: var(--secondary-color); color: #000; 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.header-divider { width: 1px; height: 25px; background: rgba(255,255,255,0.2); }

.icon-btn { font-size: 1.5rem; color: #fff; position: relative; transition: 0.3s; }
.icon-btn:hover { color: var(--primary-color); transform: translateY(-2px); }

.badge {
    position: absolute; top: -6px; right: -8px;
    background: var(--primary-color); color: #fff;
    font-size: 0.75rem; width: 20px; height: 20px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 2px solid #000; font-weight: bold;
    box-shadow: 0 0 5px var(--primary-color);
}

/* منوی دسکتاپ */
.desktop-nav ul { display: flex; gap: 35px; height: 50px; align-items: center; }
.desktop-nav a { 
    font-weight: 500; font-size: 1rem; color: #ccc; position: relative; padding: 5px 0; transition: 0.3s;
}
.desktop-nav a:hover, .desktop-nav a.active { 
    color: var(--secondary-color); 
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6); 
}
.desktop-nav a::after {
    content: ''; position: absolute; bottom: 0; right: 0; width: 0; height: 2px;
    background: var(--primary-color); 
    transition: 0.3s;
}
.desktop-nav a:hover::after { width: 100%; }
.sale-link { color: var(--primary-color) !important; font-weight: 800 !important; }

/* ========== ۴. منوی پایین موبایل (Mobile Nav) ========== */
.mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.8);
    display: flex !important; 
    flex-direction: row; 
    justify-content: space-around;
    align-items: center;
    padding: 12px 0;
    z-index: 999;
    border-top: 1px solid var(--border-color);
    border-radius: 20px 20px 0 0;
    transform: translateZ(0);
}
.nav-item {
    display: flex; flex-direction: column; align-items: center;
    font-size: 0.75rem; color: #666; gap: 6px; flex: 1;
}
.nav-item i { font-size: 1.5rem; margin-bottom: 2px; transition: 0.3s; }
.nav-item.active { color: var(--secondary-color); font-weight: 700; }
.nav-item.active i { 
    color: var(--primary-color); 
    transform: translateY(-4px); 
    filter: drop-shadow(0 0 5px rgba(233, 30, 99, 0.6)); 
}

.cart-icon-wrapper { position: relative; }
.mobile-badge {
    position: absolute; top: -5px; right: -8px;
    background: var(--secondary-color); color: #000; 
    font-size: 0.65rem; width: 18px; height: 18px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 2px solid #000; font-weight: bold;
}

/* سایدبار موبایل */
.mobile-sidebar {
    position: fixed; top: 0; right: -300px; width: 300px; height: 100%;
    background: #000; z-index: 1002; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px; box-shadow: -10px 0 30px rgba(0,0,0,0.9); border-left: 1px solid var(--border-color);
    will-change: right;
}
.mobile-sidebar.active { right: 0; }

.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
.close-sidebar { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #fff; transition: 0.3s; }
.close-sidebar:hover { color: var(--primary-color); transform: rotate(90deg); }

.sidebar-menu li { border-bottom: 1px solid rgba(255,255,255,0.05); }
.sidebar-menu a { display: block; padding: 18px 0; font-weight: 500; color: #ddd; font-size: 1.05rem; }
.sidebar-menu a:hover { 
    color: var(--primary-color); 
    padding-right: 15px; 
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.1) 0%, transparent 100%); 
}

.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 1001;
    display: none; backdrop-filter: blur(4px);
}
.menu-overlay.active { display: block; }

/* ========== ۵. هیرو سکشن (Hero Section) ========== */
.hero-section { margin-bottom: 50px; padding-top: 20px; }
.hero-banner {
    background-color: #111;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 450px;
    display: flex; align-items: center;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transform: translateZ(0);
}
.hero-banner::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(50, 0, 10, 0.4) 100%);
}

.hero-text {
    position: relative; z-index: 2; color: #fff; max-width: 600px;
    padding: 0 50px;
}
.hero-text h1 { 
    font-size: 3.5rem; margin-bottom: 20px; font-family: var(--font-title); 
    text-shadow: 0 4px 15px rgba(0,0,0,0.8); color: #fff; 
}
.hero-text p { font-size: 1.3rem; margin-bottom: 35px; opacity: 0.9; font-weight: 300; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }

.btn-primary {
    background: var(--primary-color); color: #fff; padding: 15px 45px;
    border-radius: 50px; display: inline-block; border: none;
    font-weight: 600; font-size: 1.1rem;
    box-shadow: var(--rose-glow); 
    transition: all 0.3s ease;
}
.btn-primary:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 0 30px rgba(233, 30, 99, 0.8); 
    background: #c2185b;
}

/* ========== ۶. دسته‌بندی دایره‌ای (Categories) ========== */
.categories-circle-section { margin: 50px 0; }
.circle-grid { 
    display: flex; gap: 30px; overflow-x: auto; padding: 15px 10px 25px; 
    justify-content: center; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.circle-grid::-webkit-scrollbar { display: none; }

.circle-item { text-align: center; min-width: 90px; cursor: pointer; transition: 0.3s; }
.img-box {
    width: 90px; height: 90px; border-radius: 50%; overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2); 
    padding: 4px; margin: 0 auto 12px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); background: #000; 
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transform: translateZ(0);
}
.img-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; opacity: 0.85; }

.circle-item:hover .img-box { 
    transform: scale(1.15); 
    box-shadow: var(--rose-glow);
    border-color: var(--primary-color); 
    opacity: 1;
}
.circle-item span { font-size: 0.9rem; font-weight: 600; color: #ccc; }
.circle-item:hover span { color: #fff; }

/* ========== ۷. بنر پارالاکس گل رز (Rose Parallax) ========== */
.rose-parallax {
    position: relative;
    width: 100%;
    height: auto; 
    padding: 140px 0; 
    background-image: url('roz.jpg');
    background-attachment: scroll;
    background-size: 100% auto; 
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateZ(0);
    background-color: #0a0a0a;
}

.rose-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 40px 60px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    max-width: 90%;
}

.rose-overlay h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(233, 30, 99, 0.6);
}

.rose-overlay p {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .rose-parallax {
        background-size: cover; 
        background-position: center;
        padding: 80px 0; 
        height: 300px; 
    }
    .rose-overlay { padding: 20px 30px; }
    .rose-overlay h2 { font-size: 2rem; }
    .rose-overlay p { font-size: 1rem; }
}

/* ========== ۸. بنرهای تبلیغاتی (Promo) ========== */
.promo-section { margin-bottom: 70px; }
.promo-grid-modern {
    display: grid; grid-template-columns: 2fr 1fr; gap: 25px;
}
.promo-large, .promo-small {
    position: relative; border-radius: 24px; overflow: hidden; 
    height: 340px; cursor: pointer;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,0.1);
    transform: translateZ(0);
}
.promo-small { height: 157px; }
.promo-small-group { display: flex; flex-direction: column; gap: 25px; }

.promo-large img, .promo-small img { width: 100%; height: 100%; object-fit: cover; transition: 0.7s; filter: brightness(0.7) grayscale(20%); }
.promo-large:hover img, .promo-small:hover img { transform: scale(1.05); filter: brightness(1) grayscale(0%); }

.promo-content {
    position: absolute; bottom: 0; right: 0; width: 100%;
    padding: 35px;
    background: linear-gradient(to top, #000, transparent);
    color: #fff;
}
.promo-content h3 { font-size: 1.5rem; margin-bottom: 8px; font-family: var(--font-title); color: #fff; }
.promo-content a { font-size: 0.95rem; color: var(--primary-color); display: flex; align-items: center; gap: 8px; font-weight: bold; }

/* ========== ۹. چیدمان صفحه فروشگاه (Shop Layout) ========== */
.shop-layout { display: flex; gap: 40px; margin-top: 40px; align-items: flex-start; }

.filters {
    width: 270px; flex-shrink: 0; background: var(--bg-card); padding: 30px;
    border-radius: 20px; border: 1px solid var(--border-color);
    position: sticky; top: 110px;
    box-shadow: var(--shadow-sm); backdrop-filter: blur(5px);
}

.filter-group h3 {
    font-size: 1.1rem; margin-bottom: 18px; font-weight: 700; color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px;
}

.filter-group ul li { margin-bottom: 14px; }
.filter-group ul li a {
    color: #aaa; font-size: 0.95rem; display: flex; align-items: center; justify-content: space-between; transition: 0.2s;
}
.filter-group ul li a:hover { color: #fff; padding-right: 8px; font-weight: 600; }

.size-selector { display: flex; gap: 10px; flex-wrap: wrap; }
.size-selector span {
    width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; font-size: 0.9rem; color: #ccc; cursor: pointer; transition: 0.3s;
    background: rgba(255,255,255,0.05);
}
.size-selector span:hover {
    border-color: var(--secondary-color); color: #000; background: #fff;
}

.pagination { display: flex; justify-content: center; gap: 12px; margin-top: 70px; }
.pagination a {
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1); background: var(--bg-card); box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    color: #fff; border-radius: 12px; transition: all 0.3s ease; font-weight: bold;
}
.pagination a:hover, .pagination a.active {
    background-color: var(--primary-color); color: #fff; transform: translateY(-4px); border-color: var(--primary-color);
}

.price-range { width: 100%; accent-color: var(--primary-color); margin-top: 20px; }
.price-display { font-size: 0.9rem; color: #aaa; margin-top: 12px; display: flex; justify-content: space-between; font-weight: 600; }

/* ========== ۱۰. کارت محصول (Product Card) ========== */
.products-section { margin-bottom: 90px; }
.section-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px;
    padding-bottom: 15px; position: relative;
}
.section-header::after {
    content: ''; position: absolute; bottom: 0; right: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.7;
}

.section-header h2 { font-size: 1.8rem; font-weight: 800; color: #fff; font-family: var(--font-title); }
.view-all { font-size: 0.95rem; color: #aaa; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.view-all:hover { color: var(--primary-color); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--rose-glow); 
    border-color: rgba(233, 30, 99, 0.3);
}

.card-image {
    position: relative;
    height: 280px;
    background: transparent;
    overflow: hidden;
    margin: 10px;
    border-radius: 12px;
}

.card-image img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    border-radius: 12px;
    transition: opacity 0.4s ease-in-out, transform 0.7s ease;
    will-change: transform;
}

.product-card:hover .card-image img { transform: scale(1.08); }

.img-hover {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; z-index: 1;
}
.card-image:hover .img-hover { opacity: 1; }

.badge-off {
    position: absolute; top: 15px; right: 15px;
    background: var(--accent-color); color: #fff;
    padding: 5px 12px; border-radius: 8px;
    font-size: 0.8rem; font-weight: 700; z-index: 2;
    box-shadow: 0 0 10px rgba(213, 0, 0, 0.5);
}

.badge-status {
    position: absolute; top: 15px; right: 15px;
    padding: 5px 12px; border-radius: 8px;
    font-size: 0.8rem; color: #fff; z-index: 2; font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.bg-new { background-color: #2e7d32; }
.bg-soon { background-color: #f57c00; }
.bg-sale { background-color: #c62828; }

.hover-actions {
    position: absolute; bottom: -70px; left: 0; width: 100%;
    display: flex; justify-content: center; gap: 15px; padding-bottom: 25px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 3;
}
.product-card:hover .hover-actions { bottom: 0; }

.hover-actions button {
    width: 50px; height: 50px; border-radius: 50%; border: none;
    background: #fff; color: #000; box-shadow: 0 0 15px rgba(0,0,0,0.5);
    cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.hover-actions button:hover { 
    background: var(--primary-color); color: #fff; transform: scale(1.15); 
}

.card-info { padding: 25px 20px; text-align: center; }

.card-info h3 {
    font-size: 1.05rem; margin-bottom: 12px; font-weight: 700; color: #fff;
    height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    font-family: var(--font-main);
}
.card-info h3 a:hover { color: var(--primary-color); }

.price-box {
    display: flex; align-items: center; justify-content: center; gap: 12px;
}
.price-box del { color: #666; font-size: 0.9rem; text-decoration: line-through; }
.price-box .price { 
    font-weight: 800; 
    color: #fff; 
    font-size: 1.2rem; 
    font-family: var(--font-main);
}

/* ========== ۱۱. فوتر (Footer) ========== */
.main-footer { 
    background: #050505; 
    padding: 70px 0 30px; 
    border-top: 1px solid var(--border-color); margin-top: 100px; 
    position: relative;
}
.main-footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }

.footer-logo { width: 140px; margin-bottom: 25px; filter: brightness(0) invert(1); }
.footer-about p { font-size: 0.95rem; color: #aaa; max-width: 380px; line-height: 2; }

.footer-links h4, .footer-social h4 { font-size: 1.2rem; margin-bottom: 25px; color: #fff; font-weight: 800; font-family: var(--font-title); }
.footer-links a { display: block; color: #888; margin-bottom: 15px; font-size: 0.95rem; transition: 0.3s; }
.footer-links a:hover { color: #fff; padding-right: 10px; }

.social-box { display: flex; gap: 15px; }
.social-box a { 
    font-size: 1.3rem; color: #fff; width: 45px; height: 45px;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.social-box a:hover { 
    background: var(--primary-color); color: #fff; border-color: var(--primary-color); transform: rotate(360deg) scale(1.1);
}

.copy-right { 
    text-align: center; border-top: 1px solid rgba(255,255,255,0.05); 
    padding-top: 30px; font-size: 0.85rem; color: #555;
}

/* ========== ۱۲. استایل‌های سبد خرید (Cart) ========== */
.cart-layout { display: flex; gap: 40px; align-items: flex-start; margin-top: 50px; }
.cart-items { flex: 1; background: var(--bg-card); border-radius: 20px; padding: 25px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: right; padding: 20px; border-bottom: 2px solid rgba(255,255,255,0.1); font-size: 0.95rem; color: #fff; font-weight: 700; }
.cart-table td { padding: 25px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: middle; color: #fff; }

.cart-product { display: flex; align-items: center; gap: 25px; }
.cart-product img { width: 80px; height: 100px; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.product-meta { display: block; font-size: 0.85rem; color: #aaa; margin-top: 8px; }

.remove-btn {
    background: rgba(211, 47, 47, 0.1); border: none; color: #ff5252; cursor: pointer; transition: 0.3s; 
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.remove-btn:hover { background: #d32f2f; color: #fff; transform: scale(1.1); }

.cart-summary-wrapper { flex: 0 0 380px; position: sticky; top: 110px; }
.cart-summary {
    background: var(--bg-card); padding: 35px; border: 1px solid var(--border-color); border-radius: 20px;
    box-shadow: var(--shadow-sm);
}
.cart-summary h3 { font-size: 1.3rem; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; font-family: var(--font-title); color: #fff; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 1rem; color: #ccc; }
.summary-total {
    display: flex; justify-content: space-between; margin-top: 30px; padding-top: 25px;
    border-top: 2px solid rgba(255,255,255,0.1); font-weight: 800; font-size: 1.3rem; color: #fff;
}

/* ========== ۱۳. استایل‌های جزئیات محصول (Product Detail) ========== */
.breadcrumb { padding: 25px 0; color: #aaa; font-size: 0.95rem; }
.breadcrumb a { color: #ccc; transition: 0.3s; }
.breadcrumb a:hover { color: var(--secondary-color); }
.breadcrumb span { margin: 0 12px; color: #555; }

.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 30px; }

.product-gallery { position: sticky; top: 110px; }
.main-image {
    width: 100%; height: 600px; object-fit: cover; border-radius: 20px;
    box-shadow: var(--shadow-md); margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.1);
}
.thumbnails { display: flex; gap: 20px; }
.thumb {
    width: 90px; height: 110px; object-fit: cover; border-radius: 12px;
    cursor: pointer; opacity: 0.6; transition: 0.3s; border: 2px solid transparent;
}
.thumb:hover, .thumb.active { opacity: 1; border-color: var(--primary-color); transform: translateY(-5px); }

.product-info { background: var(--bg-card); padding: 45px; border-radius: 20px; box-shadow: var(--shadow-sm); height: fit-content; border: 1px solid var(--border-color); }
.product-info h1 { font-size: 2.4rem; margin-bottom: 20px; color: #fff; font-family: var(--font-title); }
.product-price { font-size: 2rem; color: var(--primary-color); margin-bottom: 35px; font-weight: 800; }
.short-desc { color: #ccc; margin-bottom: 35px; line-height: 1.9; font-weight: 300; font-size: 1.05rem; }

.selector-group { margin-bottom: 30px; }
.selector-label { display: block; margin-bottom: 12px; color: #fff; font-size: 1rem; font-weight: 700; }

.color-options { display: flex; gap: 18px; }
.color-option {
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    border: 3px solid rgba(255,255,255,0.2); box-shadow: 0 0 10px rgba(0,0,0,0.5); transition: 0.3s;
}
.color-option.active { box-shadow: 0 0 0 2px var(--primary-color); transform: scale(1.15); border-color: #fff; }

.size-options { display: flex; gap: 12px; }
.size-option {
    width: 55px; height: 55px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; color: #ccc; cursor: pointer; transition: 0.3s; background: rgba(255,255,255,0.05); font-size: 1rem;
}
.size-option:hover, .size-option.active {
    border-color: var(--primary-color); color: #fff; background: var(--primary-color); font-weight: 800;
}

.action-buttons { display: flex; gap: 25px; margin-top: 45px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 45px; }
.quantity-wrapper {
    display: flex; align-items: center; border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; height: 60px; overflow: hidden;
}
.qty-btn { width: 50px; height: 100%; background: rgba(255,255,255,0.05); border: none; color: #fff; cursor: pointer; font-size: 1.3rem; }
.qty-btn:hover { background: rgba(255,255,255,0.1); }
.qty-input { width: 70px; height: 100%; background: transparent; border: none; color: #fff; text-align: center; font-size: 1.3rem; font-weight: bold; }

.add-to-cart-btn {
    flex: 1; background: var(--primary-color); color: #fff; border: none; border-radius: 12px;
    font-size: 1.2rem; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 12px;
    box-shadow: var(--rose-glow); height: 60px; font-weight: 600;
}
.add-to-cart-btn:hover { background: #c2185b; transform: translateY(-4px); box-shadow: 0 0 30px rgba(233, 30, 99, 0.6); }

.trust-badges { display: flex; justify-content: space-between; margin-top: 35px; gap: 25px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: #ccc; font-size: 0.95rem; background: rgba(255,255,255,0.05); padding: 15px 20px; border-radius: 12px; width: 100%; justify-content: center; }
.trust-item i { color: var(--primary-color); font-size: 1.4rem; }

.product-tabs-section { margin-top: 90px; background: var(--bg-card); padding: 50px; border-radius: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.tabs-header { display: flex; gap: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 35px; }
.tab-btn {
    background: none; border: none; color: #888; font-size: 1.2rem; padding-bottom: 18px;
    cursor: pointer; position: relative; font-family: var(--font-main); transition: 0.3s;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active { color: #fff; font-weight: 800; }
.tab-btn.active::after {
    content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 4px; background: var(--primary-color); border-radius: 4px 4px 0 0;
}
.tab-content { color: #ccc; line-height: 2; display: none; font-size: 1.05rem; }
.tab-content.active { display: block; animation: fadeIn 0.6s; }

/* ========== ۱۴. استایل‌های صفحه درباره ما (About Us) ========== */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('Products/5.webp'); 
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    border-radius: 20px;
    margin-top: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-md);
    transform: translateZ(0);
}
.about-hero h1 {
    font-family: var(--font-title);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}
.about-hero p {
    color: #ddd;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}
.about-content h2::after {
    content: ''; position: absolute; bottom: 0; right: 0; width: 60px; height: 3px;
    background: var(--primary-color);
}
.about-content p {
    color: #aaa;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.05rem;
}

.stats-row {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}
.stat-box {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}
.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(233, 30, 99, 0.1);
    box-shadow: var(--rose-glow);
}
.stat-box h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 5px; font-weight: 800; }
.stat-box span { color: #ccc; font-size: 0.85rem; }

.about-image {
    position: relative;
}
.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.1);
    filter: brightness(0.9);
}
.about-image::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    width: 100%; height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

/* ========== ۱۵. استایل‌های صفحه تماس با ما (Contact Us) ========== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-box {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid rgba(233, 30, 99, 0.2);
}

.info-content h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-content p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form-box {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: #ccc; margin-bottom: 8px; }
.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.2);
}

.btn-submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--rose-glow);
}
.btn-submit:hover {
    background: #c2185b;
    transform: translateY(-3px);
}
.btn-submit:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.map-section {
    margin-top: 50px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 400px;
    filter: grayscale(100%) invert(90%);
}

/* ========== ۱۶. استایل‌های صفحه تاریخچه سفارشات (Order History) ========== */
.history-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
}
.history-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--rose-glow);
}
.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}
.order-id {
    color: var(--primary-color);
    font-weight: bold;
    font-family: monospace;
    font-size: 1.1rem;
}
.order-date {
    color: #888;
    font-size: 0.9rem;
    margin-right: 10px;
}
.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}
.status-pending { background: rgba(255, 193, 7, 0.15); color: #ffc107; }
.status-completed { background: rgba(76, 175, 80, 0.15); color: #4caf50; }
.status-cancelled { background: rgba(255, 82, 82, 0.15); color: #ff5252; }

.order-items {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #444 #222;
}
.order-item {
    position: relative;
    flex-shrink: 0;
}
.order-item img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
}
.item-qty {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #333;
    color: #fff;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #555;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.total-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
}
.loading-msg { text-align: center; color: #888; margin-top: 50px; }

/* ========== ۱۷. استایل‌های پنل ادمین (Admin Panel) ========== */
.admin-body {
    background-color: #0a0a0a;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 260px;
    background: #050505;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: 0.3s;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.brand img { width: 40px; }
.brand span { font-size: 1.2rem; font-weight: bold; color: var(--primary-color); }

.menu-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 15px;
    text-align: right;
    cursor: pointer;
    border-radius: 12px;
    font-size: 1rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
    font-family: inherit;
}
.menu-btn:hover { background: rgba(255,255,255,0.05); color: #fff; }
.menu-btn.active {
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.2), transparent);
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
}
.menu-btn.logout { margin-top: auto; color: #ff5252; }
.menu-btn.logout:hover { background: rgba(255, 82, 82, 0.1); }

.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    position: relative;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.header-bar h2 { margin: 0; font-size: 1.8rem; color: #fff; }
.admin-info { display: flex; align-items: center; gap: 10px; color: #aaa; }
.admin-avatar {
    width: 40px; height: 40px; background: var(--primary-color); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: bold;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
}
.stat-icon {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.stat-info h3 { margin: 0; font-size: 1.5rem; color: #fff; }
.stat-info p { margin: 0; font-size: 0.85rem; color: #aaa; }

.table-container {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.table-header-row {
    padding: 15px; 
    border-bottom: 1px solid var(--border-color); 
    display: flex; 
    justify-content: space-between;
    align-items: center;
}
.table-header-row h3 { margin: 0; color: #fff; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 20px; text-align: right; border-bottom: 1px solid var(--border-color); color: #ddd; }
th { background: rgba(255,255,255,0.05); color: var(--primary-color); font-weight: 500; }
tr:hover { background: rgba(255,255,255,0.02); }

.prod-img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border-color); }

.btn {
    padding: 10px 20px; border-radius: 10px; border: none; cursor: pointer;
    font-family: inherit; font-weight: bold; transition: 0.3s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-icon { padding: 8px; border-radius: 8px; }
.btn-danger { background: rgba(255, 82, 82, 0.1); color: #ff5252; }
.btn-danger:hover { background: #ff5252; color: #fff; }
.btn-info { background: rgba(33, 150, 243, 0.1); color: #2196f3; }
.btn-info:hover { background: #2196f3; color: #fff; }

.section { display: none; animation: fadeIn 0.4s ease; }
.section.active { display: block; }

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
    display: none; align-items: center; justify-content: center; z-index: 1000;
}
.modal-content {
    background: #1a1a1a; width: 100%; max-width: 600px;
    padding: 30px; border-radius: 20px; border: 1px solid var(--primary-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    max-height: 90vh; overflow-y: auto;
}
.modal-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.modal-header h3 { margin: 0; color: var(--primary-color); }
.modal-header button { background: none; border: none; color: #fff; cursor: pointer; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.mobile-toggle { display: none; font-size: 1.5rem; background: none; border: none; color: #fff; }

/* ========== ۱۸. استایل نوتیفیکیشن (Toast) ========== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(20, 20, 20, 0.95);
    color: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-right: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    font-family: var(--font-main);
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification i {
    color: #4ade80;
    font-size: 1.2rem;
}

/* ========== ۱۹. ریسپانسیو عمومی (Global Responsive) ========== */
@media (max-width: 992px) {
    .container { padding: 0 15px; }
    
    .header-center, .header-left, .desktop-nav { display: none; }
    .header-right { width: 100%; justify-content: space-between; flex-direction: row-reverse; }
    .header-logo { height: 45px; }
    .brand-text { font-size: 1.2rem; }
    
    .shop-layout { flex-direction: column; gap: 25px; }
    .filters { width: 100%; position: static; }
    
    .promo-grid-modern { grid-template-columns: 1fr; gap: 15px; }
    .promo-large { height: 240px; }
    .promo-small { height: 140px; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 35px; }
    .footer-about p { margin: 0 auto; }
    .social-box { justify-content: center; }
    .footer-logo { margin: 0 auto 15px; }
    
    .circle-grid { justify-content: flex-start; padding-left: 15px; padding-right: 15px; }
    
    .hero-banner { height: 300px; border-radius: 16px; }
    .hero-text h1 { font-size: 2rem; }
    .hero-text p { font-size: 1.1rem; }
    
    .product-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
    }
    .card-image { height: 170px; }
    
    .hover-actions { 
        display: flex !important; 
        bottom: 5px !important; 
        opacity: 1 !important; 
        padding-bottom: 0;
        gap: 8px;
    } 
    .hover-actions button {
        width: 32px; height: 32px; 
        font-size: 0.9rem;
        background: rgba(255,255,255,0.9);
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    }

    .card-info { padding: 15px 10px; }
    .card-info h3 { font-size: 0.85rem; }
    .price-box .price { font-size: 1rem; }
    .badge-off { font-size: 0.65rem; padding: 3px 8px; top: 10px; right: 10px; }
    .badge-status { font-size: 0.65rem; padding: 3px 8px; top: 10px; right: 10px; }

    .cart-layout { flex-direction: column; }
    .cart-summary-wrapper { width: 100%; flex: none; position: static; }
    .cart-table thead { display: none; }
    .cart-table tr {
        display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,0.1);
        padding: 20px; margin-bottom: 20px; border-radius: 16px; background: var(--bg-card);
    }
    .cart-table td {
        border: none; padding: 10px 0; width: 100%;
        display: flex; justify-content: space-between; align-items: center;
    }
    .cart-product { width: 100%; }

    .product-detail-layout { grid-template-columns: 1fr; gap: 40px; }
    .main-image { height: 400px; }
    .product-gallery { position: static; }
    .trust-badges { flex-direction: column; gap: 15px; }
    .product-info { padding: 25px; }

    .order-card { flex-direction: column; align-items: flex-start; gap: 25px; }
    .order-info-group { flex-direction: column; align-items: flex-start; gap: 15px; width: 100%; }
    .order-detail { flex-direction: row; justify-content: space-between; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; }
    .btn-outline { width: 100%; text-align: center; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; margin-bottom: 10px; }
    .about-image::before { top: -10px; left: -10px; }

    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .toast-notification {
        right: 50%;
        transform: translateX(50%) translateY(100px);
        bottom: 80px;
        width: 90%;
        justify-content: center;
        border-right: none;
        border-bottom: 4px solid var(--primary-color);
    }
    .toast-notification.show {
        transform: translateX(50%) translateY(0);
    }

    /* Admin Panel Mobile */
    .sidebar { position: fixed; right: -260px; height: 100%; }
    .sidebar.open { right: 0; }
    .mobile-toggle { display: block; }
    .stats-grid { grid-template-columns: 1fr; }
    .settings-grid { grid-template-columns: 1fr; }
}