/* ============================================================
   EASY MINI MART - GLOBAL STYLES
   Online Household & Home Essentials Store
   Location: Karachi, Pakistan
   Tech Stack: HTML5, CSS3, Vanilla JavaScript
   ============================================================ */

/* ---------- CSS VARIABLES (Design Tokens) ---------- */
:root {
    /* Brand Colors */
    --brand-green:          #2E8B57;
    --brand-green-dark:     #1B5E20;
    --brand-green-light:    #E8F5E9;
    --brand-green-hover:    #256B45;

    --brand-orange:         #FF6F00;
    --brand-orange-dark:    #E65100;
    --brand-orange-light:   #FFF3E0;

    /* Neutral Colors */
    --color-white:          #FFFFFF;
    --color-off-white:      #FAFAFA;
    --color-gray-50:        #F8F9FC;
    --color-gray-100:       #F0F1F5;
    --color-gray-200:       #E8E8F0;
    --color-gray-300:       #D1D1DB;
    --color-gray-400:       #9CA3AF;
    --color-gray-500:       #6B7280;
    --color-gray-600:       #4A4A68;
    --color-gray-700:       #374151;
    --color-gray-800:       #1F2937;
    --color-gray-900:       #1A1A2E;

    /* Semantic Colors */
    --color-danger:         #EF4444;
    --color-danger-light:   #FEE2E2;
    --color-success:        #10B981;
    --color-success-light:  #D1FAE5;
    --color-warning:        #F59E0B;
    --color-warning-light:  #FEF3C7;
    --color-info:           #3B82F6;
    --color-info-light:     #DBEAFE;

    /* Typography */
    --font-heading:         'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:            'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --text-xs:              0.75rem;    /* 12px */
    --text-sm:              0.875rem;   /* 14px */
    --text-base:            1rem;       /* 16px */
    --text-lg:              1.125rem;   /* 18px */
    --text-xl:              1.25rem;    /* 20px */
    --text-2xl:             1.5rem;     /* 24px */
    --text-3xl:             1.875rem;   /* 30px */
    --text-4xl:             2.25rem;    /* 36px */
    --text-5xl:             3rem;       /* 48px */

    /* Spacing Scale */
    --space-1:              0.25rem;    /* 4px */
    --space-2:              0.5rem;     /* 8px */
    --space-3:              0.75rem;    /* 12px */
    --space-4:              1rem;       /* 16px */
    --space-5:              1.25rem;    /* 20px */
    --space-6:              1.5rem;     /* 24px */
    --space-8:              2rem;       /* 32px */
    --space-10:             2.5rem;     /* 40px */
    --space-12:             3rem;       /* 48px */
    --space-16:             4rem;       /* 64px */
    --space-20:             5rem;       /* 80px */

    /* Border Radius */
    --radius-sm:            0.5rem;     /* 8px */
    --radius-md:            0.75rem;    /* 12px */
    --radius-lg:            1rem;       /* 16px */
    --radius-xl:            1.5rem;     /* 24px */
    --radius-2xl:           2rem;       /* 32px */
    --radius-full:          9999px;

    /* Shadows */
    --shadow-sm:            0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md:            0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg:            0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl:            0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl:           0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-green:         0 4px 14px rgba(46, 139, 87, 0.25);
    --shadow-orange:        0 4px 14px rgba(255, 111, 0, 0.25);

    /* Transitions */
    --transition-fast:      150ms ease;
    --transition-base:      250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:      350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index Scale */
    --z-dropdown:           100;
    --z-sticky:             200;
    --z-modal:              300;
    --z-tooltip:            400;
    --z-toast:              500;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-900);
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ---------- UTILITY CLASSES ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gray-900);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-header .subtitle {
    display: inline-block;
    background: var(--brand-green-light);
    color: var(--brand-green);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

.section-header h2 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-green);
    color: var(--color-white);
    box-shadow: var(--shadow-green);
}
.btn-primary:hover {
    background: var(--brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.35);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-gray-900);
    border-color: var(--color-gray-200);
}
.btn-secondary:hover {
    border-color: var(--brand-green);
    color: var(--brand-green);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--brand-orange);
    color: var(--color-white);
    box-shadow: var(--shadow-orange);
}
.btn-accent:hover {
    background: var(--brand-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.35);
}

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

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

/* ---------- BADGES ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-sale { background: var(--color-danger); color: var(--color-white); }
.badge-new { background: var(--brand-green); color: var(--color-white); }
.badge-bestseller { background: var(--brand-orange); color: var(--color-white); }
.badge-hot { background: var(--color-danger); color: var(--color-white); }
.badge-out { background: var(--color-gray-400); color: var(--color-white); }

/* ---------- PRODUCT CARD (shared across home/shop/product/wishlist pages) ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.product-card .badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    z-index: 2;
}
.product-card .wishlist-btn {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 36px;
    height: 36px;
    background: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-500);
    z-index: 3;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}
.product-card .wishlist-btn:hover {
    background: var(--color-danger-light);
    color: var(--color-danger);
}
.product-image-wrap {
    position: relative;
}
.product-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    display: block;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.quick-view {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--brand-green);
    transition: bottom var(--transition-base);
}
.product-card:hover .quick-view {
    bottom: 0;
}
.product-info {
    padding: var(--space-4) var(--space-5) var(--space-5);
}
.product-category {
    font-size: var(--text-xs);
    color: var(--brand-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-1);
}
.product-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-2);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-title a:hover {
    color: var(--brand-green);
}
.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    margin-bottom: var(--space-2);
}
.stars {
    color: #FFB300;
    font-size: var(--text-xs);
}
.rating-count {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
}
.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-1);
}
.price-current {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--brand-green);
}
.price-old {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    text-decoration: line-through;
}
.out-of-stock-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-danger);
    text-transform: uppercase;
}
.btn-add-cart {
    width: 100%;
    padding: var(--space-3);
    background: var(--brand-green);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}
.btn-add-cart:hover {
    background: var(--brand-green-hover);
}

/* ---------- FLOATING "+" CART BUTTON (over product image, bottom-right corner) ---------- */
.cart-controls-wrap {
    position: absolute;
    bottom: -18px;
    right: 16px;
    z-index: 3;
}
.cart-fab-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--brand-green);
    color: var(--color-white);
    border: 3px solid var(--color-white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
}
.cart-fab-btn:hover {
    background: var(--brand-green-hover);
    transform: scale(1.06);
}
.cart-fab-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--color-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    padding: 4px;
}
.cart-fab-stepper button {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.cart-fab-stepper .js-cart-remove-inline {
    color: var(--color-danger);
    background: var(--color-danger-light);
}
.cart-fab-stepper .js-cart-increment-inline {
    color: var(--color-white);
    background: var(--brand-green);
}
.cart-fab-stepper .js-cart-increment-inline:hover {
    background: var(--brand-green-hover);
}
.cart-fab-stepper .cart-qty-value {
    width: 26px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-gray-900);
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
    background: var(--color-gray-50);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-gray-100);
}
.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}
.breadcrumb a:hover { color: var(--brand-green); }
.breadcrumb .current { color: var(--color-gray-900); font-weight: 500; }
.breadcrumb i { font-size: 0.625rem; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-gray-100); }
::-webkit-scrollbar-thumb { background: var(--color-gray-300); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-gray-400); }

/* ============================================================
   HEADER & NAVIGATION STYLES
   ============================================================ */

/* ---------- TOP BAR ---------- */
.top-bar {
    background: var(--brand-green-dark);
    color: var(--color-white);
    padding: var(--space-2) 0;
    font-size: var(--text-xs);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left {
    display: flex;
    gap: var(--space-6);
    align-items: center;
}
.top-bar-left span {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}
.top-bar-left i {
    color: var(--brand-orange);
    font-size: 0.625rem;
}
.top-bar-right {
    display: flex;
    gap: var(--space-4);
}
.top-bar-right a {
    opacity: 0.8;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.top-bar-right a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* ---------- MAIN HEADER ---------- */
.main-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
    gap: var(--space-6);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--brand-green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    transition: transform var(--transition-base);
}
.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
}
.logo-text h1 {
    font-size: var(--text-xl);
    color: var(--brand-green);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
}
.logo-text span {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 520px;
    position: relative;
}
.search-bar input {
    width: 100%;
    padding: var(--space-3) var(--space-12) var(--space-3) var(--space-5);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    background: var(--color-gray-50);
    transition: all var(--transition-base);
}
.search-bar input:focus {
    outline: none;
    border-color: var(--brand-green);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.1);
}
.search-bar input::placeholder {
    color: var(--color-gray-400);
}
.search-bar button {
    position: absolute;
    right: var(--space-1);
    top: 50%;
    transform: translateY(-50%);
    background: var(--brand-green);
    color: var(--color-white);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}
.search-bar button:hover {
    background: var(--brand-green-hover);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}
.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    color: var(--color-gray-900);
    font-size: var(--text-xs);
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}
.header-action i {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    transition: color var(--transition-fast);
}
.header-action:hover {
    color: var(--brand-green);
}
.header-action:hover i {
    color: var(--brand-green);
}
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--brand-orange);
    color: var(--color-white);
    font-size: 0.625rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--color-gray-900);
    padding: var(--space-2);
}

/* ---------- MAIN NAVIGATION ---------- */
.main-nav {
    background: var(--brand-green);
    padding: 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-links {
    display: flex;
    gap: 0;
}
.nav-links a {
    color: var(--color-white);
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    transition: background var(--transition-fast);
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.15);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--space-5);
    right: var(--space-5);
    height: 3px;
    background: var(--brand-orange);
    border-radius: var(--radius-full) var(--radius-full) 0 0;
}

.nav-special {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}
.nav-badge {
    background: var(--brand-orange);
    color: var(--color-white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}
.nav-phone {
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal);
    opacity: 0;
    transition: opacity var(--transition-base);
}
.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}
.mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--color-white);
    z-index: var(--z-modal);
    transition: right var(--transition-slow);
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
}
.mobile-nav.active {
    right: 0;
}
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--color-gray-100);
}
.mobile-nav-header h3 {
    font-size: var(--text-lg);
    color: var(--brand-green);
}
.mobile-nav-close {
    font-size: 1.5rem;
    color: var(--color-gray-600);
    padding: var(--space-2);
}
.mobile-nav-links {
    padding: var(--space-4) 0;
}
.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-100);
    transition: all var(--transition-fast);
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: var(--brand-green-light);
    color: var(--brand-green);
}
.mobile-nav-links a i {
    width: 24px;
    text-align: center;
    color: var(--brand-green);
}

/* ---------- RESPONSIVE HEADER ---------- */
@media (max-width: 1024px) {
    .top-bar-left { gap: var(--space-4); }
    .top-bar-left span:nth-child(3) { display: none; }
    .nav-links a { padding: var(--space-3) var(--space-4); }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
    .top-bar-left { justify-content: center; }
    .header-inner {
        flex-wrap: wrap;
        padding: var(--space-3) 0;
    }
    .search-bar {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    .header-actions .header-action span {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .main-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-text h1 { font-size: var(--text-lg); }
    .logo-text span { display: none; }
    .header-actions { gap: var(--space-3); }
}

/* ============================================================
   FOOTER STYLES
   ============================================================ */

.main-footer {
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--space-16) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

/* Footer Brand Column */
.footer-brand .logo {
    margin-bottom: var(--space-4);
}
.footer-brand .logo-icon {
    background: var(--brand-green);
}
.footer-brand .logo-text h2 {
    color: var(--brand-green);
    font-size: var(--text-2xl);
}
.footer-brand p {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: var(--space-3);
}
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--text-base);
    transition: all var(--transition-base);
}
.footer-social a:hover {
    background: var(--brand-green);
    transform: translateY(-3px);
}

/* Footer Columns */
.footer-column h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-5);
    color: var(--color-white);
    font-weight: 600;
}
.footer-column ul li {
    margin-bottom: var(--space-3);
}
.footer-column ul li a {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    transition: all var(--transition-fast);
    display: inline-block;
}
.footer-column ul li a:hover {
    color: var(--brand-green);
    padding-left: var(--space-1);
}

/* Footer Payment & Delivery */
.footer-payment h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
    font-weight: 600;
}
.payment-methods {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}
.payment-method {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--color-gray-300);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-6) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
}
.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
}
.footer-bottom-links a {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    transition: color var(--transition-fast);
}
.footer-bottom-links a:hover {
    color: var(--color-white);
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: var(--z-tooltip);
    transition: all var(--transition-base);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ---------- RESPONSIVE FOOTER ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        bottom: var(--space-4);
        right: var(--space-4);
    }
}
