/* ============================================================
   SUMAQ GRILL — Design System Global
   Premium Glassmorphism Dark Theme
   ============================================================ */

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

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Brand Colors */
    --gold:          #F7B500;
    --gold-light:    #FFD54F;
    --gold-dark:     #C48E00;
    --orange:        #F57C00;
    --orange-light:  #FF9800;
    --red:           #D62828;
    --red-dark:      #B71C1C;
    --red-light:     #EF5350;

    /* Neutrals */
    --black:         #0A0A0A;
    --dark-1:        #111111;
    --dark-2:        #1A1A1A;
    --dark-3:        #222222;
    --dark-4:        #2A2A2A;
    --gray-1:        #333333;
    --gray-2:        #555555;
    --gray-3:        #888888;
    --gray-4:        #AAAAAA;
    --gray-5:        #CCCCCC;
    --light-1:       #E8E8E8;
    --light-2:       #F0F0F0;
    --light-3:       #F5F5F5;
    --white:         #FFFFFF;

    /* Semantic */
    --success:       #00C853;
    --warning:       #FFB300;
    --error:         #FF1744;
    --info:          #2196F3;

    /* Glass */
    --glass-bg:      rgba(255, 255, 255, 0.06);
    --glass-border:  rgba(255, 255, 255, 0.10);
    --glass-bg-light:rgba(255, 255, 255, 0.85);
    --glass-border-l:rgba(0, 0, 0, 0.08);

    /* Backgrounds */
    --bg-body:       #FDFBF7;
    --bg-section:    #FFF9EE;
    --bg-card:       #FFFFFF;
    --bg-dark:       var(--dark-1);

    /* Typography */
    --font-primary:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display:  'Playfair Display', Georgia, serif;

    /* Spacing */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border Radius */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.14);
    --shadow-xl:   0 16px 48px rgba(0,0,0,0.18);
    --shadow-gold: 0 8px 32px rgba(247, 181, 0, 0.25);
    --shadow-red:  0 8px 32px rgba(214, 40, 40, 0.20);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --max-width:     1280px;
    --header-height: 80px;
    --sidebar-width: 380px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-2);
    background: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }

/* ============================================================
   HEADER — Glassmorphism Sticky Nav
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo i {
    font-size: 32px;
    color: var(--gold);
    filter: drop-shadow(0 0 8px rgba(247, 181, 0, 0.4));
}

.logo h2 {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1;
}

.logo span {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 5px;
    font-weight: 500;
    display: block;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: var(--transition-base);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a.activo {
    color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.activo::after {
    width: 100%;
}

/* Search */
.nav-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-full);
    padding: 10px 18px;
    transition: var(--transition-base);
}

.nav-search:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(247, 181, 0, 0.15);
}

.nav-search i {
    color: var(--gold);
    font-size: 14px;
}

.nav-search input {
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 14px;
    width: 160px;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Cart Icon */
.nav-cart {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.nav-cart:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: scale(1.05);
}

.nav-cart .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--dark-1);
    transition: var(--transition-fast);
}

.nav-cart .badge.empty {
    display: none;
}

.nav-cart .badge.bounce {
    animation: cartBounce 0.4s ease;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--black);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(247, 181, 0, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-dark {
    background: var(--dark-2);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--dark-3);
    transform: translateY(-2px);
}

.btn-red {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-glass {
    background: var(--glass-bg-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-l);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title .label i {
    font-size: 12px;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    color: var(--dark-1);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-3);
    font-size: 16px;
    line-height: 1.8;
}

/* ============================================================
   BADGES / TAGS
   ============================================================ */
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-popular {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--black);
}

.badge-nuevo {
    background: linear-gradient(135deg, #00C853, #00E676);
    color: var(--white);
}

.badge-picante {
    background: linear-gradient(135deg, var(--red), #FF6F00);
    color: var(--white);
}

.badge-recomendado {
    background: linear-gradient(135deg, #2196F3, #00BCD4);
    color: var(--white);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-base);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card .product-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-card .product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.product-card .product-fav {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-3);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 2;
    border: none;
}

.product-card .product-fav:hover,
.product-card .product-fav.active {
    background: var(--red);
    color: var(--white);
    transform: scale(1.1);
}

.product-card .product-body {
    padding: var(--space-lg);
}

.product-card .product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-1);
    margin-bottom: 8px;
}

.product-card .product-desc {
    font-size: 14px;
    color: var(--gray-3);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.product-card .product-rating .stars {
    color: var(--gold);
    font-size: 13px;
    display: flex;
    gap: 2px;
}

.product-card .product-rating span {
    font-size: 13px;
    color: var(--gray-3);
}

.product-card .product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card .product-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--red);
}

.product-card .product-price small {
    font-size: 14px;
    font-weight: 500;
}

.product-card .btn-add {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-gold);
}

.product-card .btn-add:hover {
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 8px 25px rgba(247, 181, 0, 0.4);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--dark-2);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    pointer-events: auto;
    animation: toastIn 0.4s ease forwards;
    min-width: 300px;
    max-width: 420px;
    border-left: 4px solid var(--success);
}

.toast.toast-success { border-left-color: var(--success); }
.toast.toast-error   { border-left-color: var(--error); }
.toast.toast-warning { border-left-color: var(--warning); }
.toast.toast-info    { border-left-color: var(--info); }

.toast i {
    font-size: 20px;
    flex-shrink: 0;
}

.toast.toast-success i { color: var(--success); }
.toast.toast-error i   { color: var(--error); }
.toast.toast-warning i { color: var(--warning); }
.toast.toast-info i    { color: var(--info); }

.toast.removing {
    animation: toastOut 0.3s ease forwards;
}

.toast .toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--gray-4);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
}

/* ============================================================
   CART SIDEBAR
   ============================================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--light-2);
}

.cart-sidebar-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-sidebar-header h3 i {
    color: var(--gold);
}

.cart-sidebar-header .close-cart {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--light-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-2);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
}

.cart-sidebar-header .close-cart:hover {
    background: var(--red);
    color: var(--white);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-sidebar-body::-webkit-scrollbar {
    width: 4px;
}

.cart-sidebar-body::-webkit-scrollbar-thumb {
    background: var(--gray-5);
    border-radius: 4px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty i {
    font-size: 56px;
    color: var(--light-1);
    margin-bottom: 16px;
}

.cart-empty p {
    color: var(--gray-3);
    font-size: 16px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--light-2);
    animation: fadeInUp 0.3s ease;
}

.cart-item img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

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

.cart-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-1);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-info .item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--red);
}

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

.cart-item-actions button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-item-actions .qty-btn {
    background: var(--light-3);
    color: var(--dark-1);
}

.cart-item-actions .qty-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.cart-item-actions .qty-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-1);
    min-width: 30px;
    text-align: center;
}

.cart-item .remove-item {
    align-self: flex-start;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light-3);
    color: var(--gray-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    flex-shrink: 0;
}

.cart-item .remove-item:hover {
    background: var(--red);
    color: var(--white);
}

.cart-sidebar-footer {
    padding: 24px;
    border-top: 1px solid var(--light-2);
    background: var(--light-3);
}

.cart-totals .total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--gray-2);
}

.cart-totals .total-row.grand-total {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark-1);
    border-top: 2px solid var(--dark-1);
    padding-top: 12px;
    margin-top: 12px;
}

.cart-sidebar-footer .btn-checkout {
    width: 100%;
    margin-top: 16px;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark-1);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-brand p {
    color: var(--gray-4);
    line-height: 1.8;
    margin: 20px 0;
    font-size: 14px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition-base);
}

.footer-socials a:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.footer-col h4 {
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    color: var(--gray-4);
    font-size: 14px;
    margin-bottom: 14px;
    transition: var(--transition-base);
}

.footer-col a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-col p {
    color: var(--gray-4);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col p i {
    color: var(--gold);
    width: 16px;
}

.footer-col span {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 16px;
    padding-left: 26px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--gray-3);
    font-size: 13px;
}

.footer-bottom strong {
    color: var(--gold);
}

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.whatsapp-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 990;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    transition: var(--transition-base);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70%  { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(100px); }
}

@keyframes shimmer {
    0%   { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

/* Scroll reveal helper */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        z-index: 999;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        font-size: 16px;
        padding: 12px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-search {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }
}
