/* ============================================
   ROOT VARIABLES & BASE STYLES
   ============================================ */
:root {
    --primary:  #34495E;
    --secondary: #F5A623;
    --accent: #2ECC71;
   
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --border: #E1E8ED;
}

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

body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: var(--bg);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER SECTION
   ============================================ */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-main {
    padding: 16px 0;
}

@media (max-width: 991px) {
    .header-main {
        padding: 12px 0;
    }
}

.logo {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

/* Search Bar */
.search-bar {
    display: flex;
    max-width: 500px;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 4px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.search-bar:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
}

.search-bar input {
    flex: 1;
    padding: 10px 18px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
}

.search-bar button {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.2s;
}

.search-bar button:hover {
    background: #15304f;
    transform: scale(1.05);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
    background: none;
    border: none;
}

.header-action:hover {
    color: var(--primary);
}

.header-action i {
    font-size: 22px;
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
    display: none;
}

.header-action-mobile .cart-badge {
    position: relative;
    top: auto;
    right: auto;
    margin-left: 4px;
}

/* Navigation */
.nav {
    background: var(--white);
    border-top: 1px solid var(--border);
    overflow-x: auto;
}

.nav .d-flex {
    min-width: max-content;
}

.nav-link {
    padding: 14px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--secondary);
}

/* ============================================
   MOBILE MENU & NAV
   ============================================ */
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: #15304f;
}

.mobile-search-bar {
    padding: 12px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.mobile-search-bar .search-bar {
    width: 100%;
}

.mobile-search-bar .search-bar input {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}

.mobile-nav.open {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    background: var(--primary);
    color: var(--white);
}

.mobile-nav-header .logo {
    color: var(--white);
    font-size: 20px;
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    padding: 16px 0;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: #f0f4f8;
    color: var(--primary);
}

.mobile-nav-links a i {
    font-size: 20px;
}

.mobile-nav-section {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.mobile-nav-section h6 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-nav-overlay.open {
    opacity: 1;
}

/* ============================================
   HERO SECTION
   linear-gradient(135deg, var(--primary) 0%, #2a4a6f 100%);
   ro2 {
    
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2a4a6f 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero2 {
 background: #27ae5f77;

    color: #00014f;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--secondary);
   
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,166,35,0.4);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    
    -webkit-text-stroke: 0.3px #00014f;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   FEATURES BAR
   ============================================ */
.features-bar {
    background: linear-gradient(135deg, #1a2a3a 0%, #2d4a5e 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.features-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.features-bar::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    padding: 24px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin: 4px;
}

.feature-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f5a623 0%, #f7b733 100%);
    color: #1a2a3a;
    box-shadow: 0 4px 15px rgba(245,166,35,0.3);
}

.feature-item:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
    box-shadow: 0 4px 15px rgba(52,152,219,0.3);
}

.feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #2ecc71 0%, #58d68d 100%);
    box-shadow: 0 4px 15px rgba(46,204,113,0.3);
}

.feature-item:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #bb8fce 100%);
    box-shadow: 0 4px 15px rgba(155,89,182,0.3);
}

.feature-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: #fff;
    font-weight: 600;
}

.feature-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ============================================
   SECTION & FILTERS
   ============================================ */
.section {
    padding: 64px 0;
}

.section.bg-white {
    background: var(--white)
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-size: 28px;
    color: var(--text-dark);
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.filters {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ============================================
   CATEGORIES COMPONENT
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
   
    transition: all 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30,58,95,0.12);
    border-color: var(--primary);
}

.category-icon {
    width: 64px;
    height: 64px;
  
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
    font-size: 32px;
}

.category-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   PRODUCTS COMPONENT
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30,58,95,0.12);
    border-color: var(--primary);
}

.product-image {
    width: 100%;
    height: 180px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-image i {
    font-size: 64px;
    color: var(--border);
}

.product-img {
    width: 100%;
    height: 50%;
    object-fit: contain;
    padding: 16px;
}

.product-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 1;
}

.product-tag.eco {
    background: #d4edda;
    color: #155724;
}

.product-tag.sale {
    background: #f8d7da;
    color: #721c24;
}

.product-tag.new {
    background: #cce5ff;
    color: #004085;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
}

.product-sku {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 0;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-dark);
    line-height: 1.3;
    flex-grow: 1;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
}

.product-price span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
}

.tier-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 0;
}

.tier-badge {
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 4px;
    background: #e8e8e8;
    color: #666;
    transition: all 0.2s;
}

.tier-badge.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.tier-badge.disabled {
    background: #f0f0f0;
    color: #999;
    text-decoration: line-through;
    opacity: 0.7;
}

.product-stock {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #198754;
}

.product-stock.out-of-stock {
    color: #dc3545;
}

.product-stock.low-stock {
    color: #fd7e14;
}

.product-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-actions .add-to-cart:disabled {
    background: #6c757d;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-control button {
    width: 32px;
    height: 36px;
    border: none;
    background: #f8fafc;
    color: var(--text-dark);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    cursor: pointer;
}

.quantity-control button:hover {
    background: var(--border);
}

.quantity-control span {
    width: 36px;
    text-align: center;
    font-weight: 500;
}

.qty-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    background: white;
   --moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    outline: none;
    background: #f0f7ff;
}

.add-to-cart {
    flex: 1;
    padding: 8px 12px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

.add-to-cart:hover {
    background: #e09520;
    transform: scale(1.02);
}

/* ============================================
   CART DRAWER COMPONENT
   ============================================ */
.cart-drawer {
    position: fixed;
    top: 50%;
    right: -420px;
    width: 420px;
    height: auto;
    max-height: 80vh;
    transform: translateY(-50%);
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
}

.cart-drawer.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
    color: white;
}

.cart-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.cart-header h2 span {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 14px;
}

.close-cart {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    color: white;
}

.close-cart:hover {
    background: rgba(255,255,255,0.3);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #f8fafc;
}

.cart-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-light);
}

.cart-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.cart-item-image i {
    font-size: 24px;
    color: var(--border);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
    line-height: 1.3;
    display: -webkit-box;
    --webkit-line-clamp: 2;
    --webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-sku {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.remove-item {
    width: 32px;
    height: 32px;
    border: none;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
}

.remove-item:hover {
    background: #fee;
    color: #c00;
}

.cart-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: white;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    align-items: center;
}

.cart-subtotal span:first-child {
    color: var(--text-light);
    font-size: 14px;
}

.cart-subtotal span:last-child {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.cart-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.back-to-shop {
    flex: 1;
    padding: 14px 16px;
    background: white;
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.back-to-shop:hover {
    background: #f8fafc;
    border-color: var(--text-light);
}

.checkout-btn {
    flex: 1;
    padding: 14px 16px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.checkout-btn:hover {
    background: #e69515;
    transform: translateY(-2px);
}

.cart-payment-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.cart-payment-logos span {
    font-size: 11px;
    color: var(--text-light);
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
}

.cart-payment-logos img {
    height: 24px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.cart-payment-logos img:hover {
    opacity: 1;
}

.cart-payment-logos .currency-flag {
    height: 16px;
    border-radius: 2px;
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 64px 0 24px;
}

.footer h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */
@media (max-width: 991px) {
    .search-bar {
        max-width: 100%;
        order: 3;
        flex-basis: 100%;
        margin-top: 16px;
    }

    .header-main .d-flex {
        flex-wrap: wrap;
    }

    .mobile-search-row .search-bar {
        margin-top: 0;
    }

    .header-actions-mobile {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 10px 0;
        margin-top: 12px;
        width: 100%;
    }

    .header-action-mobile {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        padding: 0;
        border: none;
        background: transparent;
        color: var(--text-dark);
        cursor: pointer;
        transition: all 0.2s;
    }

    .header-action-mobile i {
        font-size: 16px;
    }

    .header-action-mobile:hover {
        background: transparent;
        color: var(--primary);
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-main .container > .d-flex {
        position: relative;
    }
    
    .search-bar {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 48px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
