/* ═══════════════════════════════════════════
   ASTORIA — Cafetería & Restaurante
   Digital Menu Stylesheet
   ═══════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    /* Colors */
    --bg-primary: #EDD9C4;
    --bg-warm: #F5EBDE;
    --bg-card: #FDF8F2;
    --bg-card-hover: #FFFAF5;

    --crimson: #7B1A1A;
    --crimson-dark: #5C1212;
    --crimson-light: #A02828;
    --crimson-glow: rgba(123, 26, 26, 0.25);

    --steel-blue: #4A6B7A;
    --steel-blue-dark: #3A5564;
    --steel-blue-light: #5D8494;

    --coral: #C06848;
    --coral-light: #D4825C;
    --coral-dark: #A8553A;

    --gold: #D4A853;
    --gold-light: #E2C278;

    --text-primary: #1C1C1C;
    --text-secondary: #555555;
    --text-muted: #888888;
    --white: #FFFFFF;
    --white-alpha-10: rgba(255,255,255,0.1);
    --white-alpha-20: rgba(255,255,255,0.2);
    --white-alpha-60: rgba(255,255,255,0.6);
    --black-alpha-06: rgba(0,0,0,0.06);
    --black-alpha-10: rgba(0,0,0,0.10);
    --black-alpha-15: rgba(0,0,0,0.15);
    --black-alpha-40: rgba(0,0,0,0.40);
    --black-alpha-60: rgba(0,0,0,0.60);

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.18);
    --shadow-crimson: 0 4px 20px rgba(123,26,26,0.3);

    /* Border Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50%;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-base: 0.35s var(--ease-out);
    --transition-slow: 0.5s var(--ease-out);

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

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
}

/* ── 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-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-warm);
}
::-webkit-scrollbar-thumb {
    background: var(--crimson);
    border-radius: 3px;
}

/* ═══════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════ */
#hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #3D0A0A 0%, var(--crimson-dark) 30%, var(--crimson) 60%, var(--crimson-light) 100%);
    overflow: hidden;
    padding: var(--space-xl) var(--space-md);
}

/* Animated particles/dots */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: var(--radius-full);
    background: var(--white-alpha-10);
    animation: floatParticle 8s ease-in-out infinite;
}
.hero-particles::before {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
    animation-delay: 0s;
}
.hero-particles::after {
    width: 200px;
    height: 200px;
    bottom: -40px;
    left: -40px;
    animation-delay: -4s;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
    50% { transform: translateY(-30px) scale(1.05); opacity: 0.25; }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
}

/* ── Logo ── */
.logo-wrapper {
    perspective: 800px;
}

.logo-circle {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle at 35% 35%, var(--crimson-light), var(--crimson-dark) 70%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 4px var(--white-alpha-20),
        0 0 0 8px rgba(123,26,26,0.4),
        var(--shadow-xl);
    animation: logoPulse 4s ease-in-out infinite;
    gap: 6px;
    padding: 20px;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--white-alpha-20), 0 0 0 8px rgba(123,26,26,0.4), var(--shadow-xl); }
    50% { box-shadow: 0 0 0 6px var(--white-alpha-20), 0 0 0 14px rgba(123,26,26,0.25), 0 0 60px rgba(123,26,26,0.3); }
}

/* Steam animation */
.logo-steam {
    display: flex;
    gap: 8px;
    height: 18px;
}
.logo-steam span {
    width: 2px;
    height: 14px;
    background: var(--white-alpha-60);
    border-radius: 2px;
    animation: steam 2s ease-in-out infinite;
}
.logo-steam span:nth-child(2) { animation-delay: 0.3s; height: 18px; }
.logo-steam span:nth-child(3) { animation-delay: 0.6s; }

@keyframes steam {
    0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.4; }
    50% { transform: translateY(-6px) scaleY(1.3); opacity: 0.8; }
}

/* Logo text */
.logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.logo-line-top,
.logo-line-bottom {
    width: 80px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--white-alpha-60), transparent);
}

.logo-name {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.35em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1;
}

/* Logo icon (sandwich & cup) */
.logo-icon svg {
    width: 70px;
    height: 35px;
    opacity: 0.7;
}

/* ── Hero Tagline ── */
.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-style: italic;
    color: var(--white-alpha-60);
    margin-top: -12px;
}

/* ── Social Links ── */
.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--white-alpha-10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid var(--white-alpha-20);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}
.social-btn:hover {
    background: var(--white-alpha-20);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.social-btn--whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white-alpha-60);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-arrow {
    animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

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

/* ═══════════════════════════════════
   CATEGORY NAVIGATOR (Sticky)
   ═══════════════════════════════════ */
#category-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, var(--crimson-dark), var(--crimson));
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--gold);
    transition: all var(--transition-fast);
}

.nav-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-sm) 0;
}

.category-scroll {
    display: flex;
    gap: var(--space-xs);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-xs) var(--space-md);
    scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar {
    display: none;
}

.cat-nav-item {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    background: var(--white-alpha-10);
    color: var(--white-alpha-60);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1.5px solid transparent;
    user-select: none;
}
.cat-nav-item:hover {
    background: var(--white-alpha-20);
    color: var(--white);
}
.cat-nav-item.active {
    background: var(--white);
    color: var(--crimson);
    border-color: var(--gold);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* ═══════════════════════════════════
   CATEGORY GALLERY (Image Grid)
   ═══════════════════════════════════ */
.category-gallery {
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    color: var(--crimson);
    margin-bottom: var(--space-lg);
    position: relative;
}
.gallery-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--crimson), var(--gold));
    margin: 10px auto 0;
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}
.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.gallery-card:hover img {
    transform: scale(1.08);
}
.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    transition: background var(--transition-base);
}
.gallery-card:hover .gallery-card-overlay {
    background: linear-gradient(0deg, rgba(123,26,26,0.85) 0%, rgba(123,26,26,0.2) 50%, transparent 100%);
}
.gallery-card-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    line-height: 1.2;
}
.gallery-card-count {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--white-alpha-60);
    margin-top: 2px;
}

/* ═══════════════════════════════════
   MENU SECTIONS
   ═══════════════════════════════════ */
#menu {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-md) var(--space-2xl);
}

/* ── Category Section ── */
.menu-section {
    margin-bottom: var(--space-xl);
    scroll-margin-top: 70px;
}

.section-header {
    position: relative;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    overflow: hidden;
}

/* Default crimson gradient header */
.section-header--default {
    background: linear-gradient(135deg, var(--crimson-dark), var(--crimson), var(--crimson-light));
}

/* Steel blue for Jugos */
.section-header--blue {
    background: linear-gradient(135deg, var(--steel-blue-dark), var(--steel-blue), var(--steel-blue-light));
}

/* Coral for Postres, Fraps */
.section-header--coral {
    background: linear-gradient(135deg, var(--coral-dark), var(--coral), var(--coral-light));
}

.section-header-emoji {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.section-header-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.06em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.section-header-decoration {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--white-alpha-10);
}

/* ── Menu Items Grid ── */
.menu-items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

/* ── Menu Item Card ── */
.menu-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-fast);
    border: 1.5px solid transparent;
}
.menu-item:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-sm);
    border-color: var(--black-alpha-06);
    transform: translateX(4px);
}

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

.menu-item-name {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.3;
}

.menu-item-price {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--crimson);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item-add {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--crimson), var(--crimson-light));
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-xs);
}
.menu-item-add:hover {
    transform: scale(1.12);
    box-shadow: var(--shadow-crimson);
}
.menu-item-add:active {
    transform: scale(0.95);
}

/* Special section backgrounds */
.menu-section--blue {
    background: linear-gradient(135deg, rgba(74,107,122,0.06), rgba(74,107,122,0.02));
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.menu-section--coral {
    background: linear-gradient(135deg, rgba(192,104,72,0.06), rgba(192,104,72,0.02));
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

/* ═══════════════════════════════════
   FLOATING CART BUTTON
   ═══════════════════════════════════ */
.cart-floating {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 200;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--crimson), var(--crimson-light));
    color: var(--white);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg), 0 0 0 0 rgba(123,26,26,0.4);
    transition: all var(--transition-fast);
    animation: cartPulse 3s ease-in-out infinite;
}
.cart-floating:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}
.cart-floating.has-items {
    animation: cartPulseActive 2s ease-in-out infinite;
}

@keyframes cartPulse {
    0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(123,26,26,0.4); }
    50% { box-shadow: var(--shadow-lg), 0 0 0 8px rgba(123,26,26,0); }
}

@keyframes cartPulseActive {
    0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(123,26,26,0.5); }
    50% { box-shadow: var(--shadow-lg), 0 0 0 12px rgba(123,26,26,0); }
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    background: var(--gold);
    color: var(--crimson-dark);
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all var(--transition-fast);
    transform: scale(0);
}
.cart-badge.visible {
    transform: scale(1);
}
.cart-badge.bounce {
    animation: badgeBounce 0.4s var(--ease-bounce);
}

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

/* ═══════════════════════════════════
   CART OVERLAY & PANEL
   ═══════════════════════════════════ */
.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}
.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 310;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-warm);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform var(--transition-base);
}
.cart-panel.open {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    background: linear-gradient(135deg, var(--crimson-dark), var(--crimson));
    color: var(--white);
}
.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.cart-close-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--white-alpha-10);
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}
.cart-close-btn:hover {
    background: var(--white-alpha-20);
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
}

/* Cart Empty State */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: var(--space-md);
    color: var(--text-muted);
    text-align: center;
    padding: var(--space-xl);
}
.cart-empty-icon {
    font-size: 3.5rem;
    opacity: 0.3;
}
.cart-empty-text {
    font-size: 1rem;
    font-weight: 500;
}
.cart-empty-hint {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Cart Item */
.cart-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-xs);
    animation: slideInRight 0.3s var(--ease-out);
}

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

.cart-item-info {
    flex: 1;
    min-width: 0;
}
.cart-item-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 4px;
}
.cart-item-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--crimson);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cart-item-controls button {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}
.cart-qty-minus {
    background: var(--black-alpha-06);
    color: var(--text-secondary);
}
.cart-qty-minus:hover {
    background: #ff4444;
    color: var(--white);
}
.cart-qty-plus {
    background: var(--crimson);
    color: var(--white);
}
.cart-qty-plus:hover {
    background: var(--crimson-light);
    transform: scale(1.1);
}
.cart-item-qty {
    font-weight: 700;
    font-size: 1rem;
    min-width: 24px;
    text-align: center;
    color: var(--text-primary);
}

/* Cart Footer */
.cart-footer {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    background: var(--white);
    border-top: 1px solid var(--black-alpha-06);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-total-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.cart-total-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--crimson);
}

.whatsapp-order-btn {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.whatsapp-order-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}
.whatsapp-order-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.whatsapp-order-btn i {
    font-size: 1.3rem;
}

.clear-cart-btn {
    width: 100%;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 1px solid var(--black-alpha-06);
}
.clear-cart-btn:hover {
    background: #fff0f0;
    color: #cc3333;
    border-color: #ffcccc;
}

/* ═══════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════ */
.toast-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    pointer-events: none;
    width: 90%;
    max-width: 360px;
}

.toast {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background: var(--crimson);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    animation: toastIn 0.4s var(--ease-bounce), toastOut 0.3s ease 2.5s forwards;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
    to { opacity: 0; transform: translateY(-10px) scale(0.95); }
}

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
#footer {
    background: linear-gradient(135deg, #2A0808, var(--crimson-dark), var(--crimson));
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    color: var(--white);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.footer-logo {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.footer-desc {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1rem;
    opacity: 0.8;
    margin-top: -8px;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--white-alpha-10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition-fast);
    border: 1px solid var(--white-alpha-20);
}
.footer-social a:hover {
    background: var(--white-alpha-20);
    transform: translateY(-2px);
}

.footer-copy {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: var(--space-sm);
}

/* ═══════════════════════════════════
   ANIMATIONS & UTILITIES
   ═══════════════════════════════════ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-in {
    animation: slideUp 0.5s var(--ease-out) both;
}

/* Stagger delays for menu items */
.menu-item:nth-child(1) { animation-delay: 0.03s; }
.menu-item:nth-child(2) { animation-delay: 0.06s; }
.menu-item:nth-child(3) { animation-delay: 0.09s; }
.menu-item:nth-child(4) { animation-delay: 0.12s; }
.menu-item:nth-child(5) { animation-delay: 0.15s; }
.menu-item:nth-child(6) { animation-delay: 0.18s; }

/* ═══════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════ */

/* Tablet */
@media (min-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-circle {
        width: 260px;
        height: 260px;
    }

    .logo-name {
        font-size: 2.4rem;
    }

    .hero-tagline {
        font-size: 1.8rem;
    }
}

/* Desktop */
@media (min-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }

    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .logo-circle {
        width: 280px;
        height: 280px;
    }

    .logo-name {
        font-size: 2.6rem;
    }

    .cart-floating {
        bottom: 36px;
        right: 36px;
        width: 64px;
        height: 64px;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .logo-circle {
        width: 180px;
        height: 180px;
    }

    .logo-name {
        font-size: 1.5rem;
        letter-spacing: 0.25em;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .social-btn {
        width: 42px;
        height: 42px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .menu-item {
        padding: var(--space-sm) var(--space-md);
    }

    .menu-item-name {
        font-size: 0.82rem;
    }

    .cat-nav-item {
        font-size: 0.68rem;
        padding: 6px 12px;
    }
}

/* Body scroll lock when cart is open */
body.cart-open {
    overflow: hidden;
}
