/* ===== DEMAND BAJAR - Complete Responsive Stylesheet ===== */

:root {
    --primary: #1a6d1a;
    --primary-dark: #0f4d0f;
    --primary-light: #2ecc71;
    --secondary: #f39c12;
    --accent: #e74c3c;
    --text: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg: #fff;
    --bg-gray: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border: #e5e5e5;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }

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

.section { padding: 30px 0; }
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    position: relative;
}
.section-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin-top: 5px;
    border-radius: 2px;
}
.view-all {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}
.view-all:hover { text-decoration: underline; }

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text);
}

/* ===== Alerts ===== */
.alert {
    padding: 12px 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-close { background: none; font-size: 1.2rem; color: inherit; opacity: 0.7; }
.alert-close:hover { opacity: 1; }

/* ===== Top Bar ===== */
.top-bar {
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
    display: none;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px;
}
.top-bar ul {
    display: flex;
    gap: 15px;
}
.top-bar ul li a {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}
.top-bar ul li a img { width: 14px; height: 14px; }
.top-bar ul li a:hover { color: var(--primary); }

/* ===== Header ===== */
.header {
    background: var(--bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 15px;
}
.logo { flex-shrink: 0; }
.logo img { height: 40px; }

.header-search { flex: 1; max-width: 500px; }
.header-search form {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 50px;
    overflow: hidden;
}
.header-search input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    font-size: 0.9rem;
}
.header-search button {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
}
.header-search button:hover { background: var(--primary-dark); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-action {
    display: none;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    color: var(--text-light);
    position: relative;
    padding: 5px 8px;
}
.header-action i { font-size: 1.2rem; margin-bottom: 2px; }
.header-action:hover { color: var(--primary); }
.cart-count {
    position: absolute;
    top: -2px;
    right: 2px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    padding: 5px;
}
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Navbar (Desktop) ===== */
.navbar {
    background: var(--primary);
    display: none;
}
.nav-menu {
    display: flex;
    gap: 0;
}
.nav-item {
    position: relative;
}
.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 500;
}
.nav-item > a img { width: 18px; height: 18px; }
.nav-item:hover > a { background: var(--primary-dark); }

.nav-categories-trigger { display: flex; align-items: center; gap: 8px; }
.hamburger-icon { display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 18px; }
.hamburger-icon span { width: 100%; height: 2px; background: currentColor; border-radius: 1px; display: block; }

.categories-dropdown { width: 240px; }
.categories-dropdown li a img { width: 18px; height: 18px; margin-right: 6px; vertical-align: middle; }
.dropdown-submenu { position: relative; }
.dropdown-submenu > a { display: flex; align-items: center; gap: 6px; }
.dropdown-submenu > a::after { content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 10px; margin-left: auto; color: #999; }
.sub-dropdown { position: absolute; top: 0; left: 100%; background: #fff; min-width: 220px; box-shadow: var(--shadow-hover); border-radius: var(--radius); opacity: 0; visibility: hidden; transform: translateX(10px); transition: var(--transition); z-index: 100; }
.dropdown-submenu:hover .sub-dropdown { opacity: 1; visibility: visible; transform: translateX(0); }
.sub-dropdown li a { display: block; padding: 10px 16px; color: var(--text); font-size: 0.85rem; border-bottom: 1px solid var(--border); }
.sub-dropdown li:last-child a { border-bottom: none; }
.sub-dropdown li a:hover { background: var(--bg-gray); color: var(--primary); }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: var(--shadow-hover);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--bg-gray); color: var(--primary); }

/* ===== Mobile Nav ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
.mobile-nav.open { left: 0; }
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}
.mobile-nav-overlay.open { display: block; }

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: var(--primary);
    color: #fff;
}
.mobile-user { display: flex; align-items: center; gap: 10px; }
.mobile-user img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; }
.mobile-user strong { display: block; font-size: 0.9rem; }
.mobile-user small { font-size: 0.75rem; opacity: 0.8; }
.mobile-user a { color: #fff; text-decoration: underline; }
.mobile-nav-close { background: none; color: #fff; font-size: 1.5rem; }

.mobile-nav-menu { padding: 10px 0; }
.mobile-nav-item > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-item > a img { width: 18px; }
.sub-toggle { margin-left: auto; font-size: 0.8rem; }
.mobile-sub { display: none; padding-left: 20px; background: var(--bg-gray); }
.mobile-sub.open { display: block; }
.mobile-sub li a {
    display: block;
    padding: 10px 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.mobile-nav-quick { padding: 15px; border-top: 1px solid var(--border); }
.mobile-nav-quick h4 { font-size: 0.85rem; margin-bottom: 10px; color: var(--text-light); }
.mobile-nav-quick ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text);
}
.mobile-nav-quick ul li a img { width: 16px; }

.mobile-nav-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    border-top: 1px solid var(--border);
}
.mobile-nav-contact a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.2rem;
}
.mobile-nav-contact a:hover { background: var(--primary); color: #fff; }

/* ===== Mobile Bottom Nav ===== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 5px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}
.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.65rem;
    color: var(--text-lighter);
    padding: 3px 8px;
    position: relative;
}
.mobile-bottom-nav a i { font-size: 1.1rem; margin-bottom: 2px; }
.mobile-bottom-nav a.active { color: var(--primary); }
.cart-count-mobile {
    position: absolute;
    top: 0;
    right: 2px;
    background: var(--accent);
    color: #fff;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-bar {
    display: none;
    padding: 10px 15px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.mobile-search-bar.open { display: block; }
.mobile-search-bar form {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 50px;
    overflow: hidden;
}
.mobile-search-bar input { flex: 1; padding: 8px 12px; border: none; }
.mobile-search-bar button { background: var(--primary); color: #fff; padding: 8px 15px; }

/* ===== Hero Slider ===== */
.hero-slider { margin-top: 0; }
.hero-slides { position: relative; }
.hero-slide img { width: 100%; max-height: 400px; object-fit: cover; }

/* ===== Promo Banners ===== */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.promo-item img { width: 100%; border-radius: var(--radius); }

/* ===== Category Slider ===== */
.category-slider .category-card {
    margin: 0 6px;
}
.category-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition);
}
.category-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--primary);
}
.category-icon { margin-bottom: 10px; }
.category-icon img { width: 50px; height: 50px; object-fit: contain; }
.category-icon i { font-size: 2rem; color: var(--primary); }
.category-card h3 { font-size: 0.9rem; font-weight: 600; }

/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* ===== Product Card ===== */
.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.product-card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
    display: inline-block;
}
.badge-best { background: var(--secondary); color: #fff; }
.badge-new { background: var(--primary); color: #fff; }
.badge-sale { background: var(--accent); color: #fff; }

.product-card-img {
    position: relative;
    overflow: hidden;
    background: var(--bg-gray);
    text-align: center;
    padding: 15px;
}
.product-card-img img {
    height: 150px;
    object-fit: contain;
    transition: var(--transition);
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-actions {
    position: absolute;
    top: 8px;
    right: 8px;
}
.wishlist-btn {
    background: #fff;
    border: 1px solid var(--border);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-lighter);
    transition: var(--transition);
}
.wishlist-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.product-card-body { padding: 10px 12px 15px; }
.product-card-body h3 { font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; }
.product-card-body h3 a { color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-body h3 a:hover { color: var(--primary); }

.product-card-price { margin-bottom: 10px; }
.current-price { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.old-price { font-size: 0.85rem; color: var(--text-lighter); text-decoration: line-through; margin-left: 5px; }

.btn-add-cart {
    width: 100%;
    padding: 7px 10px;
    font-size: 0.75rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}
.btn-add-cart:hover { background: var(--primary-dark); }
.btn-add-cart:disabled { background: #ccc; cursor: not-allowed; }

.product-card-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.product-card-buttons form {
    width: 100%;
}
.btn-buy-now-sm {
    width: 100%;
    padding: 6px 10px;
    font-size: 0.75rem;
    background: var(--secondary);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}
.btn-buy-now-sm:hover { background: #e67e22; }

@media (min-width: 481px) {
    .product-card-buttons {
        flex-direction: row;
    }
    .btn-add-cart { width: auto; padding: 6px 12px; }
    .btn-buy-now-sm { width: auto; padding: 6px 12px; }
}

/* ===== Brand Slider ===== */
.brand-slider { padding: 10px 0; }
.brand-item { padding: 0 10px; }
.brand-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 15px;
}
.brand-item img { max-height: 50px; object-fit: contain; }

/* ===== Brands Page ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.brand-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}
.brand-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.brand-card img { max-height: 60px; margin-bottom: 10px; object-fit: contain; }
.brand-card h3 { font-size: 0.95rem; }
.brand-placeholder {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin: 10px;
}
.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-light); }

/* ===== Newsletter ===== */
.newsletter {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 40px 0;
}
.newsletter-content h2 { font-size: 1.5rem; margin-bottom: 10px; }
.newsletter-content p { margin-bottom: 20px; opacity: 0.9; }
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}
.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
}
.newsletter-form button {
    background: var(--secondary);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
}
.newsletter-form button:hover { background: #e67e22; }

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: #ccc;
    padding: 40px 0 20px;
    margin-bottom: 55px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-logo img { height: 40px; background: #fff; padding: 5px; border-radius: 5px; margin-bottom: 15px; }
.footer-about p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 15px; }
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}
.footer-contact li a { color: #ccc; }
.footer-contact li a:hover { color: #fff; }
.footer-contact i { color: var(--primary-light); width: 16px; }

.footer-social { display: flex; gap: 10px; margin: 15px 0; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-apps p { font-size: 0.85rem; margin-bottom: 10px; }
.footer-apps a { display: inline-block; margin-right: 8px; }
.footer-apps img { height: 35px; }

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    color: #aaa;
    font-size: 0.85rem;
}
.footer-col ul li a:hover { color: #fff; padding-left: 3px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}
.footer-bottom p { font-size: 0.8rem; }

/* ===== Shop Page ===== */
.shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
.shop-sidebar { display: none; }
.sidebar-widget {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.sidebar-widget h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.category-list > li { margin-bottom: 5px; }
.category-list > li > a {
    display: block;
    padding: 8px 10px;
    color: var(--text);
    font-size: 0.85rem;
    border-radius: 4px;
}
.category-list > li > a:hover,
.category-list > li > a.active { background: var(--bg-gray); color: var(--primary); font-weight: 600; }
.sub-category { padding-left: 20px; margin-top: 5px; }
.sub-category li a {
    display: block;
    padding: 6px 10px;
    font-size: 0.8rem;
    color: var(--text-light);
}
.sub-category li a:hover { color: var(--primary); }

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.shop-toolbar p { font-size: 0.85rem; color: var(--text-light); }
.shop-sort { display: flex; align-items: center; gap: 8px; }
.shop-sort label { font-size: 0.85rem; }
.shop-sort select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.85rem;
}

.pagination-wrap { margin-top: 30px; display: flex; justify-content: center; }

/* ===== Product Detail ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-lighter); }
.breadcrumb span:last-child { color: var(--text); }

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.product-main-image {
    background: var(--bg-gray);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.product-main-image img { max-height: 350px; object-fit: contain; }
.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.thumb-item {
    width: 70px;
    height: 70px;
    border: 2px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}
.thumb-item.active { border-color: var(--primary); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: 1.3rem; margin-bottom: 10px; }
.product-brand { font-size: 0.85rem; color: var(--text-light); margin-bottom: 15px; }
.product-price-block { margin-bottom: 15px; }
.product-price { font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.product-old-price { font-size: 1.1rem; color: var(--text-lighter); text-decoration: line-through; margin-left: 10px; }
.product-save { font-size: 0.85rem; color: var(--accent); margin-left: 10px; font-weight: 600; }
.product-unit { font-size: 0.85rem; color: var(--text-light); margin-bottom: 10px; }
.product-stock { font-size: 0.9rem; margin-bottom: 15px; }
.in-stock { color: var(--primary); }
.out-of-stock { color: var(--accent); }

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
}
.qty-down, .qty-up {
    width: 36px;
    height: 36px;
    background: var(--bg-gray);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}
.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 0.9rem;
    height: 36px;
}

.btn-lg { padding: 12px 30px; font-size: 1rem; }
.product-info .add-to-cart-form { margin-bottom: 15px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.product-info .wishlist-btn { width: auto; padding: 12px 20px; border-radius: 50px; }

.product-description { margin-top: 20px; }
.product-description h3 { font-size: 1.1rem; margin-bottom: 10px; }
.product-desc-content { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.product-desc-content h1, .product-desc-content h2, .product-desc-content h3,
.product-desc-content h4, .product-desc-content h5, .product-desc-content h6 {
    color: var(--text); margin: 20px 0 10px; font-weight: 600;
}
.product-desc-content h1 { font-size: 1.4rem; }
.product-desc-content h2 { font-size: 1.2rem; }
.product-desc-content h3 { font-size: 1.1rem; }
.product-desc-content p { margin-bottom: 12px; }
.product-desc-content ul, .product-desc-content ol { padding-left: 20px; margin-bottom: 12px; }
.product-desc-content li { margin-bottom: 4px; }
.product-desc-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 15px 0; display: block; }
.product-desc-content table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.product-desc-content table th, .product-desc-content table td {
    border: 1px solid #ddd; padding: 8px 12px; text-align: left;
}
.product-desc-content table th { background: #f5f5f5; font-weight: 600; }
.product-desc-content blockquote {
    border-left: 4px solid var(--primary); padding: 10px 15px; margin: 15px 0;
    background: #f9f9f9; border-radius: 0 6px 6px 0;
}
.product-desc-content a { color: var(--primary); text-decoration: underline; }

/* ===== Cart Page ===== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    text-align: left;
    padding: 12px 10px;
    background: var(--bg-gray);
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}
.cart-table td { padding: 15px 10px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.cart-product { display: flex; align-items: center; gap: 12px; }
.cart-product img { width: 60px; height: 60px; object-fit: contain; border-radius: 6px; background: var(--bg-gray); }
.cart-product a { color: var(--text); font-weight: 500; }
.cart-product a:hover { color: var(--primary); }

.cart-summary {
    background: var(--bg-gray);
    border-radius: var(--radius);
    padding: 25px;
    height: fit-content;
}
.cart-summary h3 { font-size: 1.1rem; margin-bottom: 20px; }
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.9rem;
}
.summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 10px;
    padding-top: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}
.shipping-notice { font-size: 0.8rem; color: var(--secondary); margin-bottom: 15px; }
.btn-block { display: block; width: 100%; text-align: center; margin-bottom: 10px; }

/* ===== Checkout ===== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
.checkout-form { background: var(--bg); padding: 25px; border-radius: var(--radius); border: 1px solid var(--border); }
.checkout-summary { background: var(--bg-gray); padding: 25px; border-radius: var(--radius); height: fit-content; }
.checkout-summary h3 { margin-bottom: 20px; }
.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

/* ===== Auth ===== */
.auth-box {
    max-width: 420px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.auth-box h2 { text-align: center; margin-bottom: 25px; font-size: 1.5rem; }
.auth-link { text-align: center; margin-top: 15px; font-size: 0.85rem; }
.auth-link a { color: var(--primary); font-weight: 600; }

/* ===== Form Elements ===== */
.form-group { margin-bottom: 15px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text);
}
.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,109,26,0.1); }
.form-control-lg { padding: 12px 15px; font-size: 1rem; }
.error { color: var(--accent); font-size: 0.8rem; margin-top: 3px; display: block; }
textarea.form-control { resize: vertical; min-height: 80px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ===== Confirmation ===== */
.confirmation-box {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.confirmation-box i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.confirmation-box h1 { font-size: 1.5rem; margin-bottom: 10px; }
.confirmation-box p { color: var(--text-light); margin-bottom: 20px; }
.order-details { text-align: left; margin: 20px 0; }
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.status-pending { color: var(--secondary); font-weight: 600; }

.confirmation-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}
.action-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    text-decoration: none;
    color: #1a2332;
    transition: all .25s ease;
    background: #fff;
}
.action-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    text-decoration: none;
    color: #1a2332;
}
.action-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.pdf-icon { background: #fce4ec; color: #c62828; }
.image-icon { background: #e8f5e9; color: #2e7d32; }
.track-icon { background: #e3f2fd; color: #1565c0; }
.shop-icon { background: #fff3e0; color: #e65100; }
.action-text { text-align: left; }
.action-text strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.action-text span { font-size: .78rem; color: #7a8a9e; }

@media (max-width:500px) {
    .confirmation-actions { grid-template-columns: 1fr; }
}

.account-info-box {
    display:flex; align-items:flex-start; gap:12px; text-align:left;
    background:#e8f5e9; border:1px solid #a5d6a7; border-radius:var(--radius);
    padding:15px; margin:15px 0; font-size:0.85rem;
}
.account-info-box i { font-size:1.5rem; color:#2e7d32; margin:0; flex-shrink:0; }
.account-info-box strong { color:#1b5e20; display:block; margin-bottom:3px; }
.account-info-box p { color:#2e7d32; margin-bottom:8px; font-size:0.85rem; }
.account-info-box small { color:#558b2f; display:block; margin-top:6px; }

.password-display {
    display:inline-flex; align-items:center; gap:8px;
    background:#fff; border:1px solid #a5d6a7; border-radius:6px;
    padding:6px 12px; font-family:monospace; font-size:1rem; font-weight:700;
    color:#1b5e20; margin:5px 0;
}
.password-display .btn { padding:3px 10px; font-size:0.75rem; }

/* ===== Track Order ===== */
.track-form {
    max-width: 500px;
    margin: 0 auto 30px;
}
.track-form .form-group { margin-bottom: 15px; }
.track-result {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
}
.track-result h3 { margin-bottom: 20px; }
.track-status {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.track-status::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 30px;
    right: 30px;
    height: 3px;
    background: var(--border);
    z-index: 1;
}
.track-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}
.track-step i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}
.track-step.completed i { background: var(--primary); }
.track-step span { font-size: 0.8rem; color: var(--text-lighter); }
.track-step.completed span { color: var(--primary); font-weight: 600; }

.track-result.error { border-color: var(--accent); }
.track-result.error p { color: var(--accent); }

/* ===== Profile / Customer Dashboard ===== */
.profile-layout { display:grid; grid-template-columns:240px 1fr; gap:25px; align-items:start; }
@media (max-width:768px) { .profile-layout { grid-template-columns:1fr; } }

.profile-sidebar {
    background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg);
    overflow:hidden; position:sticky; top:90px;
}
@media (max-width:768px) { .profile-sidebar { position:static; } }

.profile-user {
    padding:25px 20px; text-align:center; background:var(--bg-gray);
    border-bottom:1px solid var(--border);
}
.profile-avatar {
    width:60px; height:60px; border-radius:50%; background:var(--primary);
    color:#fff; font-size:1.5rem; font-weight:700; display:flex; align-items:center;
    justify-content:center; margin:0 auto 10px;
}
.profile-user h4 { font-size:1rem; color:var(--text); }
.profile-user span { font-size:0.8rem; color:var(--text-lighter); display:block; margin-top:3px; }

.profile-nav { display:flex; flex-direction:column; }
.profile-nav-item {
    padding:12px 20px; font-size:0.85rem; color:var(--text); transition:.2s;
    display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--border);
}
.profile-nav-item:last-child { border-bottom:none; }
.profile-nav-item i { width:18px; text-align:center; font-size:0.95rem; color:var(--text-lighter); }
.profile-nav-item:hover { background:var(--bg-gray); color:var(--primary); }
.profile-nav-item.active { background:#e8f5e9; color:var(--primary); font-weight:600; }
.profile-nav-item.active i { color:var(--primary); }
.profile-nav-item.logout:hover { color:var(--accent); }
.profile-nav-item.logout:hover i { color:var(--accent); }

.profile-content { min-height:400px; }
.profile-content-title { font-size:1.4rem; font-weight:700; margin-bottom:20px; }
.tab-content { display:none; }
.tab-content.active { display:block; }

.profile-stats { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px,1fr)); gap:15px; margin-bottom:25px; }
.stat-card {
    background:#fff; border:1px solid var(--border); border-radius:var(--radius);
    padding:18px; display:flex; align-items:center; gap:15px; transition:.2s;
}
.stat-card:hover { box-shadow:var(--shadow-hover); }
.stat-card i { font-size:1.8rem; color:var(--primary); }
.stat-card strong { display:block; font-size:1.4rem; color:var(--text); }
.stat-card span { font-size:0.8rem; color:var(--text-lighter); }

.profile-section { margin-bottom:30px; }
.profile-section-header {
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom:15px; flex-wrap:wrap; gap:10px;
}
.profile-section-header h3 { font-size:1.1rem; font-weight:600; }

.orders-mini-list { display:flex; flex-direction:column; gap:8px; }
.order-mini-card {
    display:flex; align-items:center; justify-content:space-between;
    padding:12px 15px; background:#fff; border:1px solid var(--border);
    border-radius:var(--radius); gap:12px; flex-wrap:wrap;
}
.order-mini-card:hover { border-color:var(--primary); }
.order-mini-info { display:flex; gap:15px; align-items:center; flex-wrap:wrap; flex:1; }
.order-mini-id { font-weight:600; font-size:0.85rem; }
.order-mini-date { font-size:0.8rem; color:var(--text-lighter); }
.order-mini-total { font-weight:700; color:var(--primary); font-size:0.9rem; }

.badge {
    display:inline-block; padding:3px 10px; border-radius:12px; font-size:0.75rem;
    font-weight:600; text-transform:capitalize;
}
.badge-pending { background:#fff3e0; color:#e65100; }
.badge-processing { background:#e3f2fd; color:#1565c0; }
.badge-shipped { background:#e8f5e9; color:#2e7d32; }
.badge-delivered { background:#e8f5e9; color:#1b5e20; }
.badge-cancelled { background:#fbe9e7; color:#c62828; }
.badge-returned { background:#f3e5f5; color:#6a1b9a; }

.offers-mini-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:12px; }
.offer-mini-card {
    background:#fff; border:1px solid var(--border); border-radius:var(--radius);
    overflow:hidden; transition:.2s;
}
.offer-mini-card:hover { box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.offer-mini-img { height:100px; overflow:hidden; background:#f8f8f8; }
.offer-mini-img img { width:100%; height:100%; object-fit:cover; }
.offer-mini-info { padding:8px 10px; }
.offer-mini-info h4 { font-size:0.8rem; font-weight:500; color:var(--text); line-height:1.3; margin-bottom:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.offer-mini-price { font-weight:700; color:var(--accent); font-size:0.9rem; }
.offer-mini-discount { display:inline-block; margin-left:5px; background:#ffebee; color:var(--accent); padding:1px 6px; border-radius:4px; font-size:0.7rem; font-weight:600; }

.profile-form-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:25px; max-width:500px; }
.profile-form-card .form-group { margin-bottom:15px; }

.orders-full-list { display:flex; flex-direction:column; gap:15px; }
.order-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; }
.order-card-header {
    display:flex; justify-content:space-between; align-items:center;
    padding:12px 18px; background:var(--bg-gray); border-bottom:1px solid var(--border); flex-wrap:wrap; gap:8px;
}
.order-card-header strong { font-size:0.9rem; }
.order-card-date { font-size:0.8rem; color:var(--text-lighter); margin-left:10px; }
.order-card-body { padding:12px 18px; border-bottom:1px solid var(--border); }
.order-card-item { display:flex; justify-content:space-between; padding:4px 0; font-size:0.85rem; }
.order-item-name { color:var(--text); }
.order-item-price { color:var(--text); font-weight:500; }
.order-card-footer {
    display:flex; justify-content:space-between; align-items:center;
    padding:12px 18px; flex-wrap:wrap; gap:10px;
}
.order-card-totals { display:flex; gap:15px; font-size:0.8rem; color:var(--text-light); flex-wrap:wrap; }
.order-total { color:var(--text); font-weight:700; font-size:0.9rem; }
.order-card-actions { display:flex; align-items:center; gap:10px; }
.payment-badge { padding:2px 8px; border-radius:4px; font-size:0.7rem; font-weight:600; }
.payment-paid { background:#e8f5e9; color:#2e7d32; }
.payment-unpaid { background:#fbe9e7; color:#c62828; }

.pagination-wrap { margin-top:20px; }
.pagination-wrap nav { display:flex; justify-content:center; }
.pagination-wrap .pagination { display:flex; gap:5px; list-style:none; }
.pagination-wrap .page-item { display:inline; }
.pagination-wrap .page-link {
    padding:6px 12px; border:1px solid var(--border); border-radius:var(--radius);
    color:var(--text); font-size:0.85rem; transition:.2s;
}
.pagination-wrap .page-link:hover { border-color:var(--primary); color:var(--primary); }
.pagination-wrap .active .page-link { background:var(--primary); color:#fff; border-color:var(--primary); }
.pagination-wrap .disabled .page-link { opacity:0.5; pointer-events:none; }

/* ===== Dashboard ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.dashboard-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}
.dashboard-card:hover { box-shadow: var(--shadow-hover); }
.dashboard-card i { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.dashboard-card h3 { font-size: 0.9rem; color: var(--text-light); }
.dashboard-stat { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-top: 5px; }

.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; padding: 10px; background: var(--bg-gray); font-size: 0.85rem; border-bottom: 2px solid var(--border); }
.table td { padding: 10px; border-bottom: 1px solid var(--border); font-size: 0.85rem; }

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state i, .empty-state img { margin-bottom: 20px; max-width: 150px; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 10px; }
.empty-state p { color: var(--text-light); margin-bottom: 20px; }

/* ===== Load More ===== */
.load-more { text-align: center; margin-top: 20px; }

/* ===== Cart Sidebar ===== */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
}
.cart-sidebar-overlay.open { display: block; }
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100%;
    background: #fff;
    z-index: 1501;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
.cart-sidebar.open { right: 0; }
.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border);
}
.cart-sidebar-header h3 { font-size: 1.1rem; }
.cart-close { background: none; font-size: 1.3rem; }
.cart-sidebar-body { flex: 1; overflow-y: auto; padding: 20px; }
.empty-cart { text-align: center; padding: 40px 0; }
.empty-cart img { width: 100px; margin-bottom: 15px; }
.empty-cart p { color: var(--text-light); }

.cart-sidebar-item { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); align-items:center; }
.cart-sidebar-item-img { width:60px; height:60px; flex-shrink:0; border-radius:6px; overflow:hidden; background:#f8f8f8; }
.cart-sidebar-item-img img { width:100%; height:100%; object-fit:cover; }
.cart-sidebar-item-info { flex:1; min-width:0; }
.cart-sidebar-item-info a { font-size:0.85rem; color:var(--text); font-weight:500; display:block; line-height:1.3; margin-bottom:4px; }
.cart-sidebar-item-info a:hover { color:var(--primary); }
.cart-sidebar-item-price { font-size:0.8rem; color:var(--text-light); }
.cart-sidebar-item-total { font-size:0.9rem; font-weight:600; color:var(--primary); margin-top:2px; }
.cart-sidebar-item-remove { color:#ccc; font-size:1.2rem; padding:4px; transition:.2s; flex-shrink:0; }
.cart-sidebar-item-remove:hover { color:var(--danger); }
.cart-sidebar-footer { padding:15px 20px; border-top:1px solid var(--border); background:#fafafa; }
.cart-sidebar-subtotal { display:flex; justify-content:space-between; font-weight:600; margin-bottom:12px; font-size:0.95rem; }
.cart-sidebar-footer .btn { margin-bottom:8px; }
.cart-sidebar-footer .btn:last-child { margin-bottom:0; }

/* ===== Slick Overrides ===== */
.slick-prev, .slick-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow);
    z-index: 10;
}
.slick-prev:hover, .slick-next:hover { background: var(--primary); }
.slick-prev::before, .slick-next::before { color: var(--text); font-size: 1.2rem; }
.slick-prev:hover::before, .slick-next:hover::before { color: #fff; }
.slick-prev { left: 5px; }
.slick-next { right: 5px; }
.slick-dots { bottom: 10px; }
.slick-dots li button::before { font-size: 10px; color: #fff; opacity: 0.7; }
.slick-dots li.slick-active button::before { color: #fff; opacity: 1; }

/* ===== Media Queries - Mobile First Responsive ===== */

/* Small phones */
@media (max-width: 360px) {
    .product-grid { grid-template-columns: 1fr; }
    .category-slider .category-card { margin: 0 4px; }
    .header-search { display: none; }
    .product-card-img img { height: 130px; }
}

/* Phones */
@media (min-width: 361px) and (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .category-slider .category-card { margin: 0 4px; }
}

/* Small tablets */
@media (min-width: 481px) {
    .top-bar { display: block; }
    .header-actions .header-action { display: flex; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .category-slider .category-card { margin: 0 5px; }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .brands-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablets */
@media (min-width: 768px) {
    .mobile-menu-toggle { display: none; }
    .mobile-bottom-nav { display: none; }
    .footer { margin-bottom: 0; }
    
    .navbar { display: block; }
    
    .header-search { display: block; }
    
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
    .category-slider .category-card { margin: 0 6px; }
    .brands-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; }
    
    .product-detail-layout { grid-template-columns: 1fr 1fr; }
    .cart-layout { grid-template-columns: 1.5fr 1fr; }
    .checkout-layout { grid-template-columns: 1.5fr 1fr; }
    
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .shop-layout { grid-template-columns: 250px 1fr; }
    .shop-sidebar { display: block; }
    
    .section { padding: 40px 0; }
    .hero-slide img { max-height: 350px; }
}

/* Laptops / Desktops */
@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .category-slider .category-card { margin: 0 7px; }
    .promo-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .brands-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }
    .footer-top { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 25px; }
    
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 1.6rem; }
    .hero-slide img { max-height: 400px; }
    .product-card-img img { height: 170px; }
    
    .header-inner { padding: 12px 15px; }
    .header-action { padding: 5px 12px; }
}

/* Large Desktops */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
    .product-grid { grid-template-columns: repeat(5, 1fr); }
    .category-slider .category-card { margin: 0 8px; }
}

/* ===== Print ===== */
@media print {
    .header, .navbar, .footer, .mobile-bottom-nav, .mobile-nav, .cart-sidebar,
    .top-bar, .newsletter { display: none !important; }
}
