/* التهيئة العامة */
:root {
    --primary-color: #666564;
    --secondary-color: #1D1C1C;
    --accent-color: #666564;
    --light-color: #ffffff;
    --dark-color: #666564;
    --gray-light: #f5f6fa;
    --gray-medium: #dcdde1;
    --gray-dark: #7f8c8d;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* شاشة التحميل */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, white, rgb(122, 113, 113));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}
mobile-controls
.loader {
    width: 100px;
    height: 100px;
    position: relative;
    margin-bottom: 20px;
}


.loading-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    animation: pulse 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
/* ========================
           تحسينات التحميل
        ========================= */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }
        
        .loading-screen.hidden {
            opacity: 0;
            pointer-events: none;
        }
        
        .loader {
            position: relative;
            margin-bottom: 20px;
        }
        
        .phone-icon img {
            animation: pulse 1.5s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.1); opacity: 0.8; }
        }
        
        .loading-text {
            font-size: 1.2rem;
            color: var(--primary-color);
            font-weight: 600;
            animation: fadeInOut 2s infinite;
        }
        
        @keyframes fadeInOut {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }
        .filter-select option {
    padding: 8px 12px;
    font-size: 14px;
}

.filter-select i,
.filter-select .material-icons,
.filter-select svg {
    margin-left: 8px;
    vertical-align: middle;
    font-size: 14px;
}

.filter-select svg {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 6px;
}

.price-slider-wrapper i,
.price-slider-wrapper .material-icons {
    margin-left: 5px;
}
/* الهيدر والتنقل */
.header {
    background-color: var(--light-color);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-image {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, white, rgb(122, 113, 113));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.logo-image i {
    font-size: 1.5rem;
    color: var(--light-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.tagline {
    font-size: 0.8rem;
    color: var(--gray-dark);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--dark-color);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

.nav-link i {
    font-size: 1.1rem;
}

.nav-link:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.nav-link.active {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background-color: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
}

.login-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 20px;
}

.mobile-cart {
    position: relative;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.hamburger {
    width: 26px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: 0.35s ease;
}

/* ترتيب الشخطات */
.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

/* ===== وضع الإكس ===== */
.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: rotate(-45deg);
}


/* القائمة الجانبية للجوال */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--light-color);
    box-shadow: var(--shadow-heavy);
    z-index: 1001;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-medium);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--dark-color);
}

.login-link {
    font-size: 0.9rem;
    color: var(--gray-dark);
    text-decoration: none;
    margin-top: 3px;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-dark);
    cursor: pointer;
    transition: var(--transition);
}

.close-sidebar:hover {
    color: var(--danger-color);
    transform: rotate(90deg);
}

.sidebar-menu {
    list-style: none;
    padding: 20px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    margin-bottom: 5px;
    transition: var(--transition);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: var(--gray-light);
    color: var(--primary-color);
    padding-right: 20px;
}

/* المحتوى الرئيسي */
.main-content {
    padding-top: 20px;
    padding-bottom: 100px;
}

/* سلايدر الهيرو */
/* =========================
   HERO SLIDER - FULL CSS
========================= */

/* حاوية السلايدر */
.hero-slider {
    width: 100%;
    background: #ffffff;
    padding: 40px 0;
    box-sizing: border-box;
}

/* إصلاح ارتفاع Swiper */
.heroSwiper,
.heroSwiper .swiper-wrapper,
.heroSwiper .swiper-slide {
    height: auto !important;
}

/* السلايد */
.hero-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 20px;
    box-sizing: border-box;
}

/* =========================
   صورة المنتج
========================= */
.slide-image {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image img {
    width: 100%;
    max-width: 390px;
    height: auto;
    object-fit: contain; /* لا قص أبداً */
    display: block;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,0.15));
}

/* =========================
   المحتوى النصي
========================= */
.slide-content {
    width: 100%;
    flex: 1;
}

.slide-title {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #000;
}

.slide-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.slide-price {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
}

.slide-price span {
    font-size: 1rem;
    color: #777;
}

.slide-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;
}

.slide-btn:hover {
    transform: translateY(-3px);
    background: #222;
}

/* =========================
   Pagination
========================= */
.swiper-pagination-bullet {
    background: #000;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* =========================
   موبايل
========================= */
@media (max-width: 768px) {

    .hero-slider {
        padding: 20px 0;
    }

    .hero-slide {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .slide-image {
        min-height: 300px; /* الحل السحري */
    }

    .slide-image img {
        max-width: 260px;
    }

    .slide-title {
        font-size: 1.6rem;
    }

    .slide-price {
        font-size: 1.4rem;
    }
}


/* قسم الفئات */
.categories-section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.8rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.view-all:hover {
    gap: 10px;
    color: var(--secondary-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--gray-medium);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.category-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.category-count {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

/* === قسم المنتجات المميزة === */
.featured-products {
    padding: 50px 0;
    background: #f8f9fb;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.favorite-btn:hover {
    background: #ff4d4f;
    color: #fff;
}

.product-info {
    padding: 15px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #000;
}

.product-description {
    font-size: 0.95rem;
    color: #666;
    flex: 1;
    margin-bottom: 12px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
}

.product-price span {
    font-size: 0.9rem;
    color: #777;
}

.add-to-cart {
    padding: 8px 16px;
    border: none;
    background: #000;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.add-to-cart:hover {
    background: #222;
}

/* === موبايل === */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}


/* قسم العروض */
/* =========================
   قسم العروض الخاصة
========================= */
.offers-section {
    padding: 50px 0;
    background: #f5f5f5;
}

.offer-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-wrap: wrap;
}

/* محتوى العرض */
.offer-content {
    flex: 1;
}

.offer-badge {
    display: inline-block;
    background: #ff4d4f;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.offer-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.offer-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* مؤقت العد التنازلي */
.offer-timer {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.timer-item {
    background: #000;
    color: #fff;
    border-radius: 10px;
    padding: 10px 15px;
    text-align: center;
    min-width: 60px;
}

.timer-number {
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
}

.timer-label {
    font-size: 0.75rem;
}

/* زر الشراء */
.offer-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.offer-btn:hover {
    background: #222;
}

/* صورة العرض */
.offer-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.offer-image img:hover {
    transform: scale(1.05);
}

/* ===== موبايل ===== */
@media (max-width: 992px) {
    .offer-banner {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .offer-timer {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .offer-title {
        font-size: 1.5rem;
    }

    .offer-description {
        font-size: 0.9rem;
    }

    .offer-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .offer-image img {
        max-width: 220px;
    }

    .timer-item {
        min-width: 50px;
        padding: 8px 10px;
    }

    .timer-number {
        font-size: 1rem;
    }

    .timer-label {
        font-size: 0.65rem;
    }
}

/* الفوتر */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-description {
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(-5px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--gray-medium);
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.copyright {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* التنقل السفلي للجوال */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gray-dark);
    transition: var(--transition);
    position: relative;
    padding: 5px 10px;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.nav-item span {
    font-size: 0.8rem;
}

.nav-item.active, .nav-item:hover {
    color: var(--primary-color);
}

.badge {
    position: absolute;
    top: -5px;
    right: 5px;
    background-color: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* أنيميشن */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.products-section {
    padding: 50px 0;
    background: #f9f9f9;
}
.products-section .section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    color: #111;
}

/* البحث والفلترة */
.products-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.search-input, .filter-select {
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid #ccc;
    min-width: 180px;
    font-size: 0.95rem;
}
.search-input:focus, .filter-select:focus {
    border-color: #000;
    outline: none;
}

.price-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    min-width: 250px;
}
#priceRange {
    flex: 1;
    cursor: pointer;
}

/* شبكة المنتجات */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    justify-items: center;
}
.product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    transition: transform 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-image {
    position: relative;
    padding: 20px;
}
.product-image img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
}
.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: 0.3s;
}
.favorite-btn:hover { background: #ff4d4f; color: #fff; }

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-title { font-size: 1.1rem; margin-bottom: 10px; }
.product-price { font-weight: bold; margin-bottom: 12px; }
.add-to-cart {
    padding: 10px 15px;
    border-radius: 25px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
}
.add-to-cart:hover { background: #222; }

/* ======= الموبايل ====== */
@media(max-width:768px){
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-controls { flex-direction: column; gap: 10px; }
}
@media(max-width:480px){
    .products-grid { grid-template-columns: 1fr; }
}

/* التجاوب مع الشاشات */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .bottom-nav {
        display: flex;
    }
    
    .hero-slide {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .slide-content {
        margin-bottom: 30px;
    }
    
    .offer-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .offer-content {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .heroSwiper {
        height: 400px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .heroSwiper {
        height: 350px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .offer-timer {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .timer-item {
        min-width: 60px;
    }
}
