/* ================================================
   Zahra Boutique - Premium Muslim Fashion
   Rose Gold Theme CSS Design System
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========== CSS Variables ========== */
:root {
    --bg-primary: #fdf8f5;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fef5f0;
    --text-primary: #2d2226;
    --text-secondary: #6b5b5e;
    --text-muted: #9a8b8e;
    --accent-1: #b76e79;
    --accent-2: #d4949e;
    --accent-3: #e8b4b8;
    --accent-4: #f7dde0;
    --accent-gold: #c9a96e;
    --gradient-primary: linear-gradient(135deg, #b76e79, #d4949e, #e8b4b8);
    --gradient-hero: linear-gradient(135deg, #2d2226, #3d2e32, #4a3539);
    --border-color: #efe3df;
    --shadow-sm: 0 1px 3px rgba(183,110,121,0.06);
    --shadow-md: 0 4px 16px rgba(183,110,121,0.1);
    --shadow-lg: 0 12px 40px rgba(183,110,121,0.12);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --navbar-bg: rgba(255,255,255,0.92);
    --footer-bg: #2d2226;
}

body.dark-mode {
    --bg-primary: #1a1215;
    --bg-secondary: #231a1d;
    --bg-card: #2d2226;
    --bg-card-hover: #382c30;
    --text-primary: #f5e6e8;
    --text-secondary: #c4a8ac;
    --text-muted: #8a7074;
    --border-color: rgba(183,110,121,0.15);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
    --navbar-bg: rgba(26,18,21,0.92);
    --footer-bg: #110c0e;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== Preloader ========== */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--footer-bg);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(183,110,121,0.2);
    border-top-color: var(--accent-1);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.preloader-text {
    margin-top: 16px; font-family: 'Playfair Display', serif;
    font-weight: 700; font-size: 1.1rem; color: var(--accent-3); letter-spacing: 3px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== Scroll Progress ========== */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px;
    background: var(--gradient-primary);
    z-index: 9998; transition: width 0.1s;
}

/* ========== Navbar ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    backdrop-filter: blur(20px);
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}
.navbar.scrolled { padding: 10px 0; box-shadow: var(--shadow-md); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.3rem;
    color: var(--text-primary);
}
.navbar-logo { height: 40px; width: auto; }
.brand-accent { color: var(--accent-1); font-style: italic; }
.nav-toggle {
    display: none; background: none; border: none;
    font-size: 1.4rem; color: var(--text-primary); cursor: pointer;
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
    padding: 8px 16px; border-radius: var(--radius-sm);
    font-size: 0.88rem; font-weight: 500;
    color: var(--text-secondary); transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--accent-1); background: rgba(183,110,121,0.08);
}

/* ========== Hero Slider ========== */
.hero-slider {
    position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden;
}
.hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
    width: 100%; height: 100%; object-fit: cover; filter: brightness(0.35);
}
.hero-slide-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 0 24px; z-index: 2;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; background: rgba(183,110,121,0.2);
    border: 1px solid rgba(183,110,121,0.3); border-radius: 50px;
    font-size: 0.82rem; font-weight: 500; color: var(--accent-3);
    margin-bottom: 20px; letter-spacing: 2px; text-transform: uppercase;
}
.hero-title {
    font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800; color: white; line-height: 1.15; margin-bottom: 16px;
    max-width: 800px;
}
.hero-title em { color: var(--accent-3); font-style: italic; }
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.75);
    max-width: 550px; margin-bottom: 32px;
}
.hero-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px; background: var(--gradient-primary);
    border: none; border-radius: 50px;
    font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600;
    color: white; cursor: pointer; transition: all 0.3s;
    letter-spacing: 0.5px;
}
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(183,110,121,0.4); }
.slider-dots {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 5;
}
.slider-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: all 0.3s;
}
.slider-dot.active { background: var(--accent-1); transform: scale(1.3); }

/* ========== Section Defaults ========== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px; background: rgba(183,110,121,0.08);
    border: 1px solid rgba(183,110,121,0.12); border-radius: 50px;
    font-size: 0.78rem; font-weight: 600; color: var(--accent-1);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
.section-title {
    font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700; margin-bottom: 8px; color: var(--text-primary);
}
.section-subtitle {
    font-size: 1rem; color: var(--text-secondary);
    max-width: 550px; margin: 0 auto;
}
.section-alt { background: var(--bg-secondary); }

/* ========== About Section ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-image img { width: 100%; height: 420px; object-fit: cover; }
.about-image::after {
    content: ''; position: absolute; inset: 0;
    border: 2px solid var(--accent-3); border-radius: var(--radius-lg);
    transform: translate(12px, 12px); z-index: -1; opacity: 0.3;
}
.about-content h3 {
    font-family: 'Playfair Display', serif; font-size: 1.6rem;
    font-weight: 700; margin-bottom: 16px;
}
.about-content p { color: var(--text-secondary); margin-bottom: 12px; line-height: 1.8; }
.about-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px;
}
.stat-item {
    text-align: center; padding: 16px;
    background: var(--bg-card); border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.stat-number {
    font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 800;
    color: var(--accent-1);
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ========== Categories Grid ========== */
.categories-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px;
}
.category-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    height: 300px; cursor: pointer; transition: all 0.4s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
}
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(45,34,38,0.85) 0%, rgba(45,34,38,0.2) 50%, transparent 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    padding: 28px; text-align: center;
}
.category-card-overlay i { font-size: 1.8rem; color: var(--accent-3); margin-bottom: 10px; }
.category-card-overlay h4 {
    font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem;
    color: white; margin-bottom: 4px;
}
.category-card-overlay span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ========== Products Grid ========== */
.products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px;
}
.product-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border-color);
    transition: all 0.3s; position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-3); }
.product-image-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.product-image-wrap img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s;
}
.product-card:hover .product-image-wrap img { transform: scale(1.06); }
.product-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px; border-radius: 50px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-new { background: var(--accent-1); color: white; }
.badge-sale { background: #e74c3c; color: white; }
.product-info { padding: 20px; }
.product-category {
    font-size: 0.72rem; font-weight: 600; color: var(--accent-1);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
.product-name {
    font-family: 'Playfair Display', serif; font-size: 1.05rem;
    font-weight: 600; margin-bottom: 8px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price { display: flex; align-items: center; gap: 8px; }
.product-price .current {
    font-weight: 700; font-size: 1.1rem; color: var(--accent-1);
}
.product-price .original {
    font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through;
}
.product-actions {
    display: flex; gap: 8px; margin-top: 12px;
}
.btn-wa {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px; background: #25D366; color: white;
    border: none; border-radius: var(--radius-sm); font-size: 0.82rem;
    font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.btn-wa:hover { background: #1fb955; transform: translateY(-2px); }
.btn-detail {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--bg-primary); border: 1px solid var(--border-color);
    color: var(--text-secondary); font-size: 0.9rem;
    cursor: pointer; transition: all 0.3s;
}
.btn-detail:hover { background: var(--accent-1); color: white; border-color: var(--accent-1); }

/* ========== Gallery ========== */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.gallery-item {
    position: relative; border-radius: var(--radius-md); overflow: hidden;
    cursor: pointer; aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(45,34,38,0.7) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.3s;
    display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: white; font-size: 0.88rem; font-weight: 500; }

/* ========== Testimonials ========== */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px;
}
.testimonial-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    padding: 32px; border: 1px solid var(--border-color);
    transition: all 0.3s; position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-3); }
.testimonial-card::before {
    content: '"'; position: absolute; top: 16px; right: 24px;
    font-family: 'Playfair Display', serif; font-size: 4rem;
    color: var(--accent-4); line-height: 1; opacity: 0.5;
}
.testimonial-stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 12px; }
.testimonial-text { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 1rem;
}
.testimonial-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 600; font-size: 0.92rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ========== Contact/Guestbook ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-list { margin-bottom: 32px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-color); }
.contact-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 12px;
    background: rgba(183,110,121,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-1); font-size: 1.1rem;
}
.contact-info-item h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.contact-info-item p { font-size: 0.85rem; color: var(--text-secondary); }
.contact-map { border-radius: var(--radius-md); overflow: hidden; }
.contact-map iframe { width: 100%; height: 260px; border: none; }
.contact-form {
    background: var(--bg-card); padding: 32px;
    border-radius: var(--radius-lg); border: 1px solid var(--border-color);
}
.contact-form h3 { font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--text-secondary); }
.form-control {
    width: 100%; padding: 12px 16px;
    background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); font-family: 'Inter'; font-size: 0.9rem;
    color: var(--text-primary); transition: border-color 0.3s;
}
.form-control:focus { outline: none; border-color: var(--accent-1); box-shadow: 0 0 0 3px rgba(183,110,121,0.1); }
textarea.form-control { min-height: 120px; resize: vertical; }
.btn-submit {
    width: 100%; padding: 14px;
    background: var(--gradient-primary); border: none;
    border-radius: 50px; color: white;
    font-family: 'Inter'; font-size: 0.95rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(183,110,121,0.3); }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 0.9rem; }
.alert-success { background: rgba(183,110,121,0.1); color: var(--accent-1); border: 1px solid rgba(183,110,121,0.2); }
.alert-danger { background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }

/* ========== Footer ========== */
.footer { background: var(--footer-bg); color: white; padding: 60px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-top: 12px; line-height: 1.7; }
.footer-brand .logo-text {
    font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700;
    color: var(--accent-3);
}
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1rem; transition: all 0.3s;
}
.social-link:hover { background: var(--accent-1); transform: translateY(-3px); }
.footer-col h4 { font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: 16px; font-size: 1rem; color: var(--accent-3); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--accent-3); }
.footer-col ul li i { margin-right: 8px; width: 16px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0; text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: var(--accent-3); }

/* ========== Floating Buttons ========== */
.wa-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: white; font-size: 1.6rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); transition: all 0.3s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5); }

.scroll-top {
    position: fixed; bottom: 90px; right: 24px; z-index: 999;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-primary); font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent-1); color: white; border-color: var(--accent-1); }

.theme-toggle {
    position: fixed; bottom: 144px; right: 24px; z-index: 999;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-primary); font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s;
}
.theme-toggle:hover { background: var(--accent-1); color: white; border-color: var(--accent-1); }

/* ========== Lightbox ========== */
.lightbox-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.9); display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-overlay img { max-width: 90%; max-height: 80vh; border-radius: 8px; display: block; }
.lightbox-close {
    position: absolute; top: 20px; right: 20px;
    background: none; border: none; color: white; font-size: 2rem; cursor: pointer;
}
.lightbox-caption { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 12px; }

/* ========== Catalog Page ========== */
.catalog-page { padding: 100px 0 60px; min-height: 100vh; }
.catalog-header { margin-bottom: 40px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
    padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 500;
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-secondary); cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent-1); color: white; border-color: var(--accent-1);
}

/* ========== Product Detail Page ========== */
.product-detail { padding: 100px 0 60px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-detail-image { border-radius: var(--radius-lg); overflow: hidden; }
.product-detail-image img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.product-detail-info h1 {
    font-family: 'Playfair Display', serif; font-size: 2rem;
    font-weight: 700; margin-bottom: 8px;
}
.product-detail-category { font-size: 0.85rem; color: var(--accent-1); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.product-detail-price { font-size: 1.8rem; font-weight: 800; color: var(--accent-1); margin-bottom: 24px; }
.product-detail-price .original-price { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; margin-left: 10px; font-weight: 400; }
.product-detail-desc { color: var(--text-secondary); line-height: 1.8; margin-bottom: 32px; }
.btn-wa-large {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 40px; background: #25D366; color: white;
    border: none; border-radius: 50px; font-size: 1.05rem;
    font-weight: 700; cursor: pointer; transition: all 0.3s;
}
.btn-wa-large:hover { background: #1fb955; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37,211,102,0.35); }
.product-meta { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-color); }
.product-meta-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--text-secondary); }
.product-meta-item i { color: var(--accent-1); width: 20px; }

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .product-detail-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; top: 70px; left: 0; right: 0;
        background: var(--navbar-bg); backdrop-filter: blur(20px);
        flex-direction: column; padding: 16px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%); opacity: 0;
        transition: all 0.3s; pointer-events: none;
    }
    .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .hero-slider { height: 70vh; min-height: 500px; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .about-stats { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-1); }
