/* =============================================
   DHRUVI BAGS – Main Stylesheet
   ============================================= */

/* ── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:          #0e0f12;
    --bg-2:        #14151a;
    --bg-3:        #1a1b22;
    --card:        #1a1b22;
    --border:      #2a2b35;
    --primary:     #ff6b1a;
    --primary-d:   #e05510;
    --accent:      #2979ff;
    --accent-d:    #1a5ede;
    --white:       #f5f5f7;
    --muted:       #8a8b9a;
    --font-sans:   'Inter', sans-serif;
    --font-head:   'Poppins', sans-serif;
    --radius:      0.75rem;
    --radius-lg:   1.25rem;
    --shadow:      0 4px 24px rgba(0,0,0,0.4);
    --transition:  all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.bg-dark-2    { background: var(--bg-2); }

/* ── Loader ─────────────────────────────────── */
.loader {
    position: fixed; inset: 0;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}
.loader.loader-done { opacity: 0; pointer-events: none; }

.loader-brand {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 1.5rem;
    animation: fadeInScale 0.5s ease forwards;
}
.loader-brand span { color: var(--primary); }

.loader-bar {
    width: 200px; height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 99px; overflow: hidden;
}
.loader-fill {
    height: 100%; background: var(--primary);
    border-radius: 99px;
    animation: loadFill 1.3s ease forwards;
}

@keyframes loadFill { from { width: 0; } to { width: 100%; } }
@keyframes fadeInScale { from { opacity:0; transform: scale(0.85); } to { opacity:1; transform:scale(1); } }

/* ── Toast ──────────────────────────────────── */
.toast-container {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    z-index: 10000;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.toast {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--bg-3);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
    min-width: 280px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
    color: var(--white);
    font-size: 0.9rem;
}
.toast-visible { transform: translateX(0); }
.toast-success { border-color: var(--primary); }
.toast-info    { border-color: var(--accent); }
.toast button  { background: none; border: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; }

/* ── Buttons ────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-d); border-color: var(--primary-d); transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.82rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.btn-added { background: #22c55e !important; border-color: #22c55e !important; }

/* ── Header ─────────────────────────────────── */
.header {
    position: sticky; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(14,15,18,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 0.75rem 0;
}
.header-scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
}

.logo {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: #fff;
}
.logo span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    padding: 0.5rem 0.875rem;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.cart-btn {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--bg-3);
    color: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.cart-btn:hover { border-color: var(--primary); color: var(--primary); }

.cart-count {
    position: absolute; top: -4px; right: -4px;
    width: 18px; height: 18px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    display: none;
    align-items: center; justify-content: center;
}

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 0.5rem;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Sections ───────────────────────────────── */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-family: var(--font-head); font-size: clamp(1.8rem,4vw,2.5rem); font-weight: 800; margin-bottom: 0.5rem; }
.section-header p { color: var(--muted); font-size: 1rem; }
.section-tag { text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; font-weight: 700; color: var(--primary); }

/* ── Hero Slider ────────────────────────────── */
.hero-slider { position: relative; height: 90vh; min-height: 500px; overflow: hidden; }

.slides { position: relative; width: 100%; height: 100%; }
.slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover; background-position: center;
}
.slide.active { opacity: 1; }

.slide-content {
    padding: 0 1.25rem;
    max-width: 700px;
    margin: 0 auto 0 10%;
}
.slide-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}
.slide-content h1 {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1rem;
}
.slide-content p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 500px; }

.slider-controls {
    position: absolute; bottom: 2rem; left: 0; right: 0;
    display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.slider-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.slider-dots { display: flex; gap: 0.5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ── Categories Grid ────────────────────────── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.category-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 3/4; display: block; cursor: pointer;
    transition: transform 0.3s ease;
}
.category-card:hover { transform: translateY(-6px); }
.category-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.category-card:hover .category-img { transform: scale(1.08); }
.category-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.25rem;
}
.category-overlay h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: #fff; }
.category-overlay span { font-size: 0.8rem; color: var(--primary); font-weight: 500; }

/* ── Product Grid ───────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.products-grid-4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255,107,26,0.15);
    border-color: rgba(255,107,26,0.3);
}

.product-img-wrap {
    position: relative; display: block;
    aspect-ratio: 4/3; overflow: hidden;
}
.product-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay span {
    background: #fff; color: #111;
    padding: 0.5rem 1.25rem; border-radius: 99px;
    font-weight: 600; font-size: 0.85rem;
}

.badge-trending {
    position: absolute; top: 0.75rem; left: 0.75rem;
    background: var(--accent);
    color: #fff;
    padding: 0.2rem 0.7rem;
    border-radius: 99px;
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase;
}

.product-info { padding: 1rem 1.25rem 1.25rem; }
.product-category { font-size: 0.75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.product-name { font-weight: 700; font-size: 0.95rem; margin: 0.3rem 0 0.75rem; line-height: 1.4; }
.product-name a { color: var(--white); }
.product-name a:hover { color: var(--primary); }

.product-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--primary); font-family: var(--font-head); }
.product-rating { display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; color: var(--muted); }
.stars { color: #facc15; font-size: 0.75rem; }
.stars.large { font-size: 1rem; }

/* ── Offer Section ───────────────────────────── */
.offer-section { background: linear-gradient(135deg, #1a0a00 0%, #0a0a1a 100%); padding: 5rem 0; border-top: 1px solid var(--border); }
.offer-inner { display: flex; align-items: center; gap: 4rem; }
.offer-text { flex: 1; }
.offer-tag { display: inline-block; background: rgba(255,107,26,0.15); color: var(--primary); border: 1px solid rgba(255,107,26,0.3); padding: 0.3rem 1rem; border-radius: 99px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.offer-text h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 1rem; line-height: 1.2; }
.offer-text p { color: var(--muted); margin-bottom: 1.5rem; }
.offer-img { flex: 0 0 360px; }
.offer-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ── Page Hero ───────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
    border-bottom: 1px solid var(--border);
    padding: 4rem 0 3rem;
    text-align: center;
}
.page-hero h1 { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin-bottom: 0.75rem; }
.page-hero p { color: var(--muted); font-size: 1.05rem; }

/* ── Search ──────────────────────────────────── */
.search-form { margin-bottom: 2rem; }
.search-wrap {
    display: flex; align-items: center; gap: 0.75rem;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 0.5rem 1rem;
    max-width: 500px;
}
.search-wrap svg { color: var(--muted); flex-shrink: 0; }
.search-input { flex: 1; background: none; border: none; outline: none; color: var(--white); font-size: 0.9rem; font-family: var(--font-sans); }
.search-input::placeholder { color: var(--muted); }

/* ── Category Tabs ───────────────────────────── */
.category-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.cat-tab {
    padding: 0.45rem 1rem; border-radius: 99px;
    background: var(--bg-3); border: 1px solid var(--border);
    color: var(--muted); font-size: 0.85rem; font-weight: 500;
    transition: var(--transition);
}
.cat-tab:hover { border-color: var(--primary); color: var(--primary); }
.cat-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.results-info { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.5rem; }

/* ── Empty State ─────────────────────────────── */
.empty-state {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 5rem 1rem; text-align: center; color: var(--muted);
}
.empty-state svg { margin-bottom: 1.5rem; opacity: 0.4; }
.empty-state h3 { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.empty-state p { margin-bottom: 1.5rem; }

/* ── Breadcrumb ──────────────────────────────── */
.breadcrumb-bar {
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 0.875rem 0; font-size: 0.82rem; color: var(--muted);
}
.breadcrumb-bar a { color: var(--muted); }
.breadcrumb-bar a:hover { color: var(--primary); }
.breadcrumb-bar span { margin: 0 0.4rem; }

/* ── Product Detail ──────────────────────────── */
.product-detail {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: start;
}
.product-detail-img img {
    width: 100%; border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.product-detail-name {
    font-family: var(--font-head); font-size: 1.85rem; font-weight: 800;
    margin: 0.5rem 0 0.75rem; line-height: 1.2;
}
.product-detail-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.875rem; color: var(--muted); }
.rating-val { color: #facc15; font-weight: 700; }
.product-detail-price { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 1.25rem; }
.product-detail-desc { color: var(--muted); line-height: 1.8; margin-bottom: 1.75rem; }

.product-qty-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.qty-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-3); border: 1px solid var(--border);
    color: var(--white); font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); border-color: var(--primary); }
#qty-input { width: 50px; text-align: center; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); color: var(--white); font-size: 1rem; padding: 0.4rem; }

.product-actions { display: flex; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }

.product-features { display: flex; flex-direction: column; gap: 0.6rem; }
.feature-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--muted); }
.feature-item svg { color: var(--primary); flex-shrink: 0; }

/* ── Cart ────────────────────────────────────── */
.page-title { font-family: var(--font-head); font-size: 2rem; font-weight: 800; margin-bottom: 2rem; }

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.cart-item {
    display: flex; align-items: center; gap: 1.25rem;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1rem 1.25rem;
    margin-bottom: 1rem; transition: var(--transition);
}
.cart-item:hover { border-color: rgba(255,107,26,0.3); }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: 0.5rem; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-weight: 600; margin-bottom: 0.3rem; font-size: 0.95rem; }
.cart-item-price { color: var(--muted); font-size: 0.875rem; }
.cart-item-qty { display: flex; align-items: center; gap: 0.6rem; }
.cart-item-qty span { min-width: 24px; text-align: center; font-weight: 600; }
.cart-item-total { font-weight: 700; color: var(--primary); min-width: 80px; text-align: right; }
.remove-btn { background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; padding: 0.25rem; transition: var(--transition); line-height: 1; }
.remove-btn:hover { color: #ef4444; }

.cart-summary {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.75rem;
    position: sticky; top: 100px;
}
.cart-summary h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.875rem; color: var(--muted); font-size: 0.9rem; }
.summary-row.total { font-size: 1.1rem; font-weight: 700; color: var(--white); padding-top: 0.875rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }
.summary-divider { height: 1px; background: var(--border); margin: 1rem 0; }

/* ── Checkout ────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.checkout-form-wrap h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.75rem 1rem;
    background: var(--bg-3); border: 1.5px solid var(--border);
    border-radius: var(--radius); color: var(--white);
    font-family: var(--font-sans); font-size: 0.9rem;
    transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); background: var(--bg-3); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group textarea { resize: vertical; }
.field-error { display: block; color: #ef4444; font-size: 0.78rem; margin-top: 0.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.payment-section { margin: 1.5rem 0; }
.payment-section h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.payment-option {
    display: flex; align-items: center;
    background: var(--bg-3); border: 1.5px solid var(--border);
    border-radius: var(--radius); padding: 1rem 1.25rem; gap: 0.75rem;
}
.payment-option.selected { border-color: var(--primary); background: rgba(255,107,26,0.05); }
.payment-option label { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; font-weight: 500; }
.payment-option input[type="radio"] { accent-color: var(--primary); }
.checkout-item { display: flex; justify-content: space-between; padding: 0.6rem 0; font-size: 0.85rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.checkout-item:last-child { border: none; }

/* ── Order Modal ─────────────────────────────── */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; padding: 1.25rem;
    backdrop-filter: blur(4px);
}
.modal-box {
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2.5rem;
    max-width: 460px; width: 100%; text-align: center;
    animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn { from { opacity:0; transform:scale(0.8); } to { opacity:1; transform:scale(1); } }
.modal-success-icon { color: #22c55e; margin-bottom: 1.25rem; }
.modal-box h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; }
.modal-box p { color: var(--muted); margin-bottom: 1.25rem; }
.order-id-box {
    background: var(--bg-3); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1rem 1.5rem;
    margin: 1.25rem 0; display: flex; align-items: center; justify-content: space-between;
}
.order-id-box span { color: var(--muted); font-size: 0.85rem; }
.order-id-box strong { font-family: var(--font-head); color: var(--primary); font-size: 1.2rem; letter-spacing: 2px; }
.modal-note { font-size: 0.82rem; }

/* ── About ───────────────────────────────────── */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 4rem; }
.about-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-content h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin: 0.75rem 0 1.25rem; line-height: 1.25; }
.about-content p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
    background: var(--bg-3); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center;
    transition: var(--transition);
}
.feature-card:hover { border-color: rgba(255,107,26,0.3); transform: translateY(-4px); }
.feature-icon { color: var(--primary); margin-bottom: 1rem; }
.feature-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1rem; }
.stat-number { font-family: var(--font-head); font-size: 2.2rem; font-weight: 900; color: var(--primary); margin-bottom: 0.4rem; }
.stat-label { color: var(--muted); font-size: 0.875rem; }

/* ── Contact ─────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h2 { font-family: var(--font-head); font-size: 2rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.contact-info > p { color: var(--muted); margin-bottom: 2rem; }

.contact-card { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; }
.contact-icon { color: var(--primary); flex-shrink: 0; margin-top: 0.2rem; }
.contact-details h4 { font-weight: 700; margin-bottom: 0.4rem; }
.contact-details p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; }
.contact-details a { color: var(--primary); }
.contact-details a:hover { text-decoration: underline; }

.map-placeholder { position: relative; height: 380px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.5);
}
.map-pin { color: var(--primary); margin-bottom: 0.5rem; }
.map-label { background: rgba(0,0,0,0.7); color: #fff; padding: 0.5rem 1rem; border-radius: var(--radius); font-weight: 600; text-align: center; font-size: 0.875rem; }

/* ── Footer ──────────────────────────────────── */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-top: 0.75rem; }
.footer-col h4 { font-family: var(--font-head); font-weight: 700; margin-bottom: 1.25rem; font-size: 0.95rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col ul li { color: var(--muted); font-size: 0.875rem; }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; text-align: center; color: var(--muted); font-size: 0.82rem; }

/* ── Animations ──────────────────────────────── */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1100px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero-slider { height: 70vh; }
    .slide-content { margin: 0 5%; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail { grid-template-columns: 1fr; gap: 2rem; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .about-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .offer-inner { flex-direction: column; text-align: center; }
    .offer-img { flex: none; max-width: 100%; }
}

@media (max-width: 700px) {
    .nav { 
        display: none; position: fixed; inset: 0; top: 64px;
        background: rgba(14,15,18,0.98); backdrop-filter: blur(12px);
        flex-direction: column; align-items: center; justify-content: center;
        gap: 1rem; z-index: 999;
    }
    .nav.nav-open { display: flex; }
    .nav-link { font-size: 1.2rem; }
    .hamburger { display: flex; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 3rem 0; }
    .cart-item { flex-wrap: wrap; }
}
