/* ============================================================================
   PIZZA CHECKER – FIFA WORLD CUP 2026 EDITION
   Premium Football Season Theme | Full Optimized
   ============================================================================ */

/* ── Google Fonts (imported via HTML <link>) ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;600;700;800&family=Oswald:wght@400;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
    /* Brand */
    --primary:        #e63946;
    --secondary:      #ff9e1f;
    --dark:           #0d0d0d;
    --light:          #fff8e1;
    --accent:         #2a9d8f;
    --text:           #1a1a1a;
    --success:        #28a745;
    --info:           #17a2b8;
    --warning:        #ffc107;
    --danger:         #dc3545;
    --background:     #ffffff;
    --surface:        #f8f9fa;
    --border:         #dee2e6;
    --text-muted:     #6c757d;
    --text-light:     #ffffff;

    /* ⚽ FIFA World Cup Palette */
    --wc-gold:        #FFD700;
    --wc-gold-dark:   #C8960C;
    --wc-green:       #00843D;
    --wc-green-light: #00A84F;
    --wc-navy:        #003087;
    --wc-silver:      #C0C0C0;
    --wc-grass:       #1a6b1a;
    --wc-turf:        #145214;

    /* Gradients */
    --grad-wc:        linear-gradient(135deg, #003087 0%, #00843D 50%, #FFD700 100%);
    --grad-fire:      linear-gradient(135deg, #e63946 0%, #ff6b35 50%, #ffd700 100%);
    --grad-pitch:     linear-gradient(180deg, #00843D 0%, #006B30 100%);
    --grad-hero:      linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 40%, #003087 100%);
    --grad-gold:      linear-gradient(135deg, #FFD700, #FFA500, #FFD700);

    /* Shadows */
    --shadow-sm:      0 2px 8px rgba(0,0,0,.12);
    --shadow-md:      0 6px 24px rgba(0,0,0,.18);
    --shadow-lg:      0 16px 48px rgba(0,0,0,.25);
    --shadow-gold:    0 0 30px rgba(255,215,0,.4);
    --shadow-wc:      0 8px 32px rgba(0,48,135,.3);

    /* Typography */
    --font-display:   'Bebas Neue', 'Oswald', sans-serif;
    --font-heading:   'Oswald', 'Poppins', sans-serif;
    --font-body:      'Poppins', sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--background);
    font-size: 16px;
    margin: 0;
    padding: 0;
}

/* ============================================================================
   ⚽ WORLD CUP ANNOUNCEMENT BANNER
   ============================================================================ */
.wc-announcement-bar {
    background: var(--grad-wc);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .5px;
    position: relative;
    overflow: hidden;
    z-index: 1050;
}
.wc-announcement-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 0%, rgba(255,255,255,.15) 50%, transparent 100%);
    animation: wc-shine 3s ease-in-out infinite;
}
.wc-announcement-bar .ball-emoji {
    display: inline-block;
    animation: spin-ball 2s linear infinite;
    margin: 0 6px;
}
@keyframes wc-shine {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
@keyframes spin-ball {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ============================================================================
   FLOATING SIGNUP BANNER
   ============================================================================ */
.floating-signup-banner {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    background: var(--grad-fire);
    color: var(--dark);
    padding: 12px 0;
    z-index: 1040;
    transition: top .4s ease;
    box-shadow: 0 4px 20px rgba(230,57,70,.4);
    border-bottom: 2px solid rgba(0,0,0,.15);
}
.floating-signup-banner.show { top: 0; }
.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.banner-text {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-heading);
}
.banner-actions { display: flex; align-items: center; gap: 10px; }
.banner-actions .btn-close {
    background: none; border: none;
    font-size: .8rem; opacity: .7; cursor: pointer; color: var(--dark);
}
.banner-actions .btn-close:hover { opacity: 1; }

/* ============================================================================
   TRUST BADGES SECTION
   ============================================================================ */
.trust-badges-section {
    background: var(--surface);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    text-align: center;
}
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 12px;
    background: var(--background);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid var(--border);
    cursor: default;
}
.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--wc-gold);
}
.trust-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}
.trust-badge span {
    font-weight: 500;
    font-size: .9rem;
    color: var(--text);
}

/* ============================================================================
   BENEFITS SECTION
   ============================================================================ */
.benefits-section {
    padding: 60px 0;
    background: var(--surface);
    color: var(--text);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    background: var(--background);
    transition: all .3s ease;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,.15), transparent);
    transition: left .6s;
}
.benefit-card:hover::before { left: 100%; }
.benefit-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(230,57,70,.2);
    border-color: var(--wc-gold);
}
.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}
.benefit-icon i { font-size: 1.8rem; color: var(--text-light); }
.benefit-card h5 { font-weight: 700; margin-bottom: 10px; color: var(--dark); font-family: var(--font-heading); }
.benefit-card p  { color: var(--text-muted); font-size: .9rem; line-height: 1.5; }
.benefit-text    { font-size: .9rem; font-weight: 500; line-height: 1.4; margin: 0; color: var(--text); }

/* ============================================================================
   HOW IT WORKS SECTION
   ============================================================================ */
.how-it-works-section { padding: 60px 0; background: var(--background); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.step-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--background);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform .3s ease;
    border: 1px solid var(--border);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-number {
    position: absolute;
    top: -16px; left: 50%;
    transform: translateX(-50%);
    width: 42px; height: 42px;
    background: var(--grad-fire);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem;
    font-family: var(--font-display);
    box-shadow: 0 4px 16px rgba(230,57,70,.5);
}
.step-icon   { font-size: 3rem; margin-bottom: 20px; }
.step-card h5 { font-weight: 700; margin-bottom: 15px; color: var(--dark); font-family: var(--font-heading); }
.step-card p  { color: var(--text-muted); font-size: .9rem; line-height: 1.5; }

/* ============================================================================
   ⚽ FIFA WORLD CUP HERO SECTION – PREMIUM FOOTBALL STADIUM FEEL
   ============================================================================ */
.hero-section {
    position: relative;
    height: auto !important;
    min-height: 280px !important;
    max-height: 50vh !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 105%;
    margin-left: -2.5%;
    margin-right: -2.5%;
    margin-top: 0;
    border-top: none;
    background: var(--grad-hero);
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Stadium grass lines overlay */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            180deg,
            transparent 0px,
            transparent 28px,
            rgba(0,132,61,.06) 28px,
            rgba(0,132,61,.06) 56px
        );
    pointer-events: none;
    z-index: 1;
}

/* Animated golden confetti particles */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255,215,0,.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0,48,135,.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0,132,61,.1) 0%, transparent 70%);
    z-index: 1;
}

/* World Cup Trophy watermark */
.hero-wc-watermark {
    position: absolute;
    right: -20px; top: 50%;
    transform: translateY(-50%);
    font-size: 14rem;
    opacity: .04;
    z-index: 2;
    user-select: none;
    pointer-events: none;
    line-height: 1;
    filter: grayscale(1);
}

.banner-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 3;
}
.banner-container.active { opacity: 1; z-index: 4; }
.banner-container::before {
    content: none;
    display: none;
}
.banner-container .hero-photo,
.banner-container .hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.banner-container .hero-photo {
    z-index: 0;
    pointer-events: none;
}
.banner-container .hero-photo img {
    object-fit: cover;
    object-position: var(--hero-focal-x, 50%) var(--hero-focal-y, 50%);
}

.hero-content {
    z-index: 6;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 1.2rem .8rem .4rem !important;
    position: relative;
}

/* World Cup Badge floating above hero title */
.hero-wc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad-gold);
    color: #000;
    padding: 5px 16px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: .8rem;
    box-shadow: var(--shadow-gold);
    animation: badge-pulse 2s ease-in-out infinite;
    text-transform: uppercase;
}
@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(255,215,0,.5); transform: scale(1); }
    50%       { box-shadow: 0 0 30px rgba(255,215,0,.8); transform: scale(1.03); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text-light);
    text-shadow: 2px 2px 12px rgba(0,0,0,.8);
    margin-bottom: 1.2rem;
    animation: fadeInDown 1s ease-out;
    letter-spacing: 2px;
    line-height: 1.1;
}
.hero-title a { color: inherit; text-decoration: none; }
.hero-title a:hover { text-decoration: underline; }

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.9);
    text-shadow: 1px 1px 6px rgba(0,0,0,.7);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}
.hero-subtitle a { color: inherit; text-decoration: none; }
.hero-subtitle a:hover { text-decoration: underline; }

/* World Cup live score ticker inside hero */
.hero-wc-ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,215,0,.3);
    border-radius: 30px;
    padding: 6px 20px;
    font-family: var(--font-heading);
    font-size: .8rem;
    color: #fff;
    margin: 0 auto .8rem;
    width: fit-content;
    letter-spacing: .3px;
}
.hero-wc-ticker .live-dot {
    width: 8px; height: 8px;
    background: #ff3333;
    border-radius: 50%;
    animation: live-blink 1s ease-in-out infinite;
}
@keyframes live-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .2; }
}
.hero-wc-ticker .wc-score {
    color: var(--wc-gold);
    font-weight: 700;
}

.hero-section .btn-primary {
    background: var(--grad-fire);
    border: none;
    padding: .8rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    transition: all .3s ease;
    box-shadow: 0 6px 20px rgba(230,57,70,.5);
    position: absolute;
    bottom: .8rem; left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: .5px;
    text-transform: uppercase;
}
.hero-section .btn-primary:hover {
    box-shadow: 0 10px 30px rgba(230,57,70,.7);
    transform: translateX(-50%) translateY(-2px);
    color: #fff;
}

/* ============================================================================
   BUTTON SYSTEM
   ============================================================================ */
.btn-primary {
    background: var(--primary);
    border: none;
    transition: background .3s ease, box-shadow .3s ease;
    color: #fff;
}
.btn-primary:hover  { background: #d32f2f; box-shadow: var(--shadow-md); color: #fff; }
.btn-primary:active { background: #c62828; color: #fff; }

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
    border: none;
    font-weight: 600;
    border-radius: 25px;
    transition: background .3s ease, box-shadow .3s ease;
}
.btn-secondary:hover  { background: #ffb300; box-shadow: var(--shadow-md); color: var(--dark); }
.btn-secondary:active { background: #e6a700; color: var(--dark); }

/* Glowing CTA Button */
.glowing-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1.8rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #fff !important;
    background: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    border-radius: .375rem !important;
    text-decoration: none !important;
    overflow: hidden;
    transition: all .3s ease !important;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(230,57,70,.35);
    font-family: var(--font-heading);
    letter-spacing: .3px;
    text-transform: uppercase;
}
.glowing-btn i { color: #fff !important; font-size: 1.1rem !important; }
.glowing-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    transition: left .5s ease;
    z-index: -1;
}
.glowing-btn:hover::before { left: 100%; }
.glowing-btn:hover {
    background: #d62839 !important;
    border-color: #d62839 !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(230,57,70,.6) !important;
}
.glowing-btn:hover i { color: #fff !important; }

.signup-strip { display: none !important; }

/* ============================================================================
   ⚽ WORLD CUP CATEGORY NAV – WITH FOOTBALL FIELD ACCENT
   ============================================================================ */
.category-nav {
    margin-top: 0 !important;
    padding-top: .6rem !important;
    padding-bottom: .6rem !important;
    position: relative;
    z-index: 3;
    background: var(--background);
    border-bottom: 3px solid var(--wc-green);
    box-shadow: 0 2px 12px rgba(0,132,61,.15);
}

/* Animated football field stripe on top */
.category-nav::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--wc-green) 0px, var(--wc-green) 20px,
        var(--wc-gold)  20px, var(--wc-gold)  22px
    );
}

.category-carousel { overflow: hidden; position: relative; width: 100%; margin: 0 auto; touch-action: pan-x; }
.category-carousel-inner {
    display: flex;
    transition: transform .4s cubic-bezier(.25,.46,.45,.94);
    width: 100%; gap: 8px; padding: 0 5px;
}
.category-item { flex: 0 0 auto; padding: 0 3px; }
.category-card {
    width: 100%; border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
    transition: all .3s ease;
    box-shadow: var(--shadow-sm);
    background: var(--background);
    padding: .8rem; text-align: center;
    height: 100%; display: flex; flex-direction: column;
    justify-content: center; cursor: pointer; position: relative;
}
.category-card::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--grad-wc);
    opacity: 0; transition: opacity .3s ease;
    border-radius: 14px; z-index: 1;
}
.category-card:hover::before { opacity: .08; }
.category-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 24px rgba(0,132,61,.2);
    border-color: var(--wc-green);
}
.category-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: var(--primary); color: #fff;
    border: none; border-radius: 50%;
    width: 35px; height: 35px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; cursor: pointer; z-index: 4;
    transition: all .3s ease; margin: 0 5px;
    box-shadow: var(--shadow-md);
}
.category-nav-btn:hover { background: #d32f2f; transform: translateY(-50%) scale(1.1); }
.category-nav-btn.prev { left: 0; }
.category-nav-btn.next { right: 0; }
.category-icon {
    font-size: 1.8rem; margin-bottom: .5rem; color: var(--primary);
    transition: all .3s ease; position: relative; z-index: 2;
}
.category-card:hover .category-icon { transform: scale(1.2) rotate(8deg); color: var(--wc-green); }
.category-card h5 {
    font-weight: 700; color: var(--dark); font-size: .85rem;
    margin: 0; position: relative; z-index: 2; line-height: 1.2;
    font-family: var(--font-heading);
}
.category-image { width: 100%; height: auto; margin-bottom: .5rem; max-height: 40px; object-fit: contain; position: relative; z-index: 2; }

/* ============================================================================
   ⚽ WORLD CUP MENU CARDS – PREMIUM FOOTBALL EDITION
   ============================================================================ */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 14px; padding: 20px 0;
}
.menu-card {
    display: flex; align-items: flex-start;
    border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; box-shadow: var(--shadow-sm);
    background: var(--background);
    transition: all .35s cubic-bezier(.25,.46,.45,.94);
    min-height: 140px; position: relative;
    perspective: 1200px;
}
.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
    border-color: var(--wc-gold);
}
.menu-image-container {
    flex: 0 0 100px; height: 100px; position: relative; overflow: hidden;
    border-right: 1px solid var(--border); margin: 8px;
    background: var(--surface); border-radius: 8px;
    transform: rotateY(3deg);
    transition: transform .4s ease;
}
.menu-card:hover .menu-image-container { transform: rotateY(0deg); }
.menu-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.menu-card:hover .menu-image { transform: scale(1.12); }
.menu-details {
    flex: 1; padding: 8px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.menu-details .card-title {
    font-size: 15px; font-weight: 700; margin-bottom: 5px;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    color: var(--dark); font-family: var(--font-heading);
}
.menu-details .card-text {
    font-size: 11px; color: var(--text-muted); margin-bottom: 4px;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    flex-grow: 1;
}
.menu-price {
    position: absolute; bottom: 0; left: 0;
    background: rgba(0,0,0,.82);
    color: #fff; font-size: 17px; font-weight: 800;
    padding: 2px 8px; border-top-right-radius: 6px;
    font-family: var(--font-display);
}
.menu-details .tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.menu-details .tag { font-size: 11px; padding: 3px 8px; border-radius: 4px; font-weight: 700; }
.menu-details .tag.vegetarisch { background: var(--success); color: #fff; }
.menu-details .tag.scharf      { background: var(--danger);  color: #fff; }
.menu-details .tag.halal       { background: var(--info);    color: #fff; }
.menu-details .tag.bestseller  { background: var(--wc-gold); color: #000; }

.menu-details .add-to-cart {
    width: 100%; background: var(--primary); border: none;
    padding: 7px 14px; font-size: 13px; font-weight: 700;
    height: 38px; border-radius: 6px;
    transition: all .3s ease; position: relative; overflow: hidden;
    color: #fff; font-family: var(--font-heading);
}
.menu-details .add-to-cart:hover  { background: #d32f2f; box-shadow: var(--shadow-md); transform: translateY(-1px); color: #fff; }
.menu-details .add-to-cart:active { background: #c62828; transform: translateY(0); color: #fff; }
.menu-details .add-to-cart.animating::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 0; height: 0; border-radius: 50%;
    background: rgba(255,255,255,.5);
    transform: translate(-50%,-50%);
    animation: ripple .6s ease-out;
}

.offer-badge {
    position: absolute; top: 10px; right: 10px;
    background: var(--primary); color: #fff;
    padding: .3rem .8rem; border-radius: 15px;
    font-weight: 700; font-size: .78rem;
    animation: pulse 2s infinite; z-index: 2;
    font-family: var(--font-heading);
}
.new-badge { background: var(--accent); }

/* ⚽ World Cup Glow on hover */
.menu-card::after {
    content: '';
    position: absolute; inset: 0;
    box-shadow: inset 0 0 0 2px var(--wc-gold);
    border-radius: 12px; opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.menu-card:hover::after { opacity: .5; }

/* ============================================================================
   ⚽ ENHANCED AI / KI RECOMMENDATION SECTION – WORLD CUP FOOTBALL THEME
   ============================================================================ */
.ki-recommendation-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0d1b2a 0%, #003087 40%, #00843D 100%);
    position: relative;
    overflow: hidden;
}

/* Football field pattern background */
.ki-recommendation-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent 0px, transparent 40px,
            rgba(255,255,255,.04) 40px, rgba(255,255,255,.04) 42px),
        repeating-linear-gradient(90deg,
            transparent 0px, transparent 80px,
            rgba(255,255,255,.02) 80px, rgba(255,255,255,.02) 82px);
    pointer-events: none;
    z-index: 0;
}

/* Centre circle decoration */
.ki-recommendation-section::after {
    content: '⚽';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28rem;
    opacity: .025;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
    filter: grayscale(1);
    animation: slow-rotate 30s linear infinite;
}
@keyframes slow-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.ki-recommendation-card {
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.15);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,.12);
    z-index: 1;
}
.ki-recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 70px rgba(0,0,0,.5);
}

/* Gold accent line at top */
.ki-recommendation-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-gold);
    border-radius: 24px 24px 0 0;
}

.ki-header { display: flex; align-items: center; margin-bottom: 1.5rem; }
.ki-icon {
    font-size: 2.8rem; color: var(--wc-gold);
    margin-right: 1rem;
    animation: pulse 1.5s infinite;
    filter: drop-shadow(0 0 12px rgba(255,215,0,.6));
}
.ki-title h2,
.ki-title h3 {
    font-family: var(--font-display);
    font-size: 1.75rem; font-weight: 700;
    color: #0f172a !important;
    margin-bottom: .4rem;
    letter-spacing: 0.2px;
    text-shadow: none;
}
.ki-title p {
    font-size: 1rem;
    color: #475569 !important;
    opacity: 1 !important;
}
/* Warm light Chef-KI shell (readable on all tenants) */
.ki-recommendation-section {
    background: linear-gradient(135deg, #fff8f0 0%, #fff1e6 45%, #fef3c7 100%) !important;
}
.ki-recommendation-section::before,
.ki-recommendation-section::after {
    display: none !important;
}
.ki-recommendation-card {
    background: #ffffff !important;
    border: 1px solid #fde68a !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: none !important;
}
.ki-product-showcase {
    background: linear-gradient(135deg, #fff7ed, #fffbeb) !important;
    border: 1px solid #fed7aa !important;
    box-shadow: none !important;
}
.ki-product-name { color: #0f172a !important; text-shadow: none !important; }
.ki-product-reason { color: #475569 !important; opacity: 1 !important; }
.ki-icon { color: #ea580c !important; filter: none !important; }

.ki-product-showcase {
    min-height: 160px; display: flex;
    align-items: center; justify-content: center;
    padding: 1.8rem;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
    border-radius: 16px; margin: 1.5rem 0;
    transition: all .3s ease;
    border: 1px solid #fed7aa;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}
/* Animated bottom line */
.ki-product-showcase::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad-gold);
    animation: wc-shine 2.5s ease-in-out infinite;
}
.ki-product-showcase:hover { background: rgba(0,0,0,.35); border-color: rgba(255,215,0,.4); }

.ki-product-item { text-align: center; animation: fadeInUp .6s ease; width: 100%; }
.ki-product-name {
    font-family: var(--font-display);
    font-size: 1.8rem; font-weight: 400;
    margin-bottom: .4rem; color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.ki-product-reason {
    font-size: 1rem; opacity: .85; margin-bottom: 1rem;
    color: rgba(255,255,255,.9) !important;
    font-style: italic;
}
.ki-product-price {
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 400;
    color: var(--wc-gold);
    background: rgba(0,0,0,.4);
    padding: .5rem 1.4rem;
    border-radius: 30px;
    display: inline-block;
    box-shadow: 0 0 20px rgba(255,215,0,.3);
    border: 1px solid rgba(255,215,0,.3);
    letter-spacing: 1px;
}

/* Rating */
.rating { display: flex; align-items: center; margin: .5rem 0; flex-wrap: wrap; }
.rating-star { color: var(--wc-gold); font-size: .9rem; margin-right: 1px; }
.rating-text { font-size: .8rem; color: var(--text-muted); margin-left: .5rem; }

/* KI Loading Skeleton */
.ki-loading-skeleton {
    display: flex; align-items: center; justify-content: center;
    padding: 2rem; background: rgba(0,0,0,.3);
    border-radius: 16px; margin: 1.5rem 0;
    border: 1px solid rgba(255,215,0,.2);
}
.skeleton-animation {
    width: 60px; height: 60px;
    border: 3px solid rgba(255,215,0,.2);
    border-top: 3px solid var(--wc-gold);
    border-radius: 50%; animation: spin 1s linear infinite;
    margin-right: 1rem;
}
.skeleton-content { flex: 1; }
.skeleton-line {
    background: rgba(255,255,255,.1);
    border-radius: 4px; margin-bottom: .5rem;
    animation: pulse 1.5s ease-in-out infinite;
}
.skeleton-title  { height: 20px; width: 70%; }
.skeleton-reason { height: 16px; width: 90%; }
.skeleton-price  { height: 18px; width: 40%; }

/* KI Product Meta */
.ki-product-meta {
    display: flex; justify-content: center; align-items: center;
    gap: 20px; margin-top: 10px; flex-wrap: wrap;
}
.ki-rating {
    background: rgba(255,255,255,.15);
    padding: 5px 12px; border-radius: 15px;
    font-size: .9rem; display: flex; align-items: center; gap: 5px;
    color: var(--wc-gold); font-weight: 600;
    border: 1px solid rgba(255,215,0,.2);
}
.ki-rating small { font-size: .8rem; opacity: .8; color: rgba(255,255,255,.7); }

/* KI Trust Signals */
.ki-trust-signals {
    display: flex; justify-content: center;
    gap: 10px; margin-top: 12px; flex-wrap: wrap;
}
.ki-trust-signals .trust-badge {
    background: rgba(0,0,0,.4) !important;
    border: 1px solid rgba(255,215,0,.3) !important;
    color: rgba(255,255,255,.9) !important;
    padding: 5px 12px; border-radius: 12px;
    font-size: .8rem; display: flex; align-items: center; gap: 5px;
    backdrop-filter: blur(8px);
}
.ki-trust-signals .trust-badge:hover {
    transform: translateY(-2px);
    border-color: var(--wc-gold) !important;
    box-shadow: none;
}

/* KI Controls */
.ki-controls {
    display: flex; justify-content: center;
    gap: 10px; flex-wrap: wrap; margin-top: 1.5rem;
}
.ki-controls .btn {
    border-radius: 25px; padding: 10px 26px;
    font-weight: 700; font-size: .95rem;
    transition: all .3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
    font-family: var(--font-heading);
    letter-spacing: .3px;
    text-transform: uppercase;
}
#kiDislikeBtn {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
}
#kiDislikeBtn:hover {
    background: rgba(220,53,69,.3);
    color: #fff; border-color: rgba(220,53,69,.5);
    transform: translateY(-2px);
}
#kiRecommendationBtn {
    background: var(--grad-gold);
    color: #000; border: none;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(255,215,0,.5);
}
#kiRecommendationBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,215,0,.7);
    color: #000;
}

/* KI Alternatives */
.ki-alternatives {
    background: rgba(0,0,0,.25);
    border-radius: 14px; padding: 14px;
    border: 1px solid rgba(255,255,255,.1);
    margin-top: 12px;
}
.ki-alternatives h6 {
    color: rgba(255,255,255,.85);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-heading);
}
.alternative-items {
    display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.alternative-item {
    background: rgba(255,255,255,.92) !important;
    color: #1a1a1a !important;
    padding: 10px 10px; border-radius: 12px;
    cursor: pointer; transition: all .3s ease;
    display: flex; flex-direction: column; align-items: center;
    min-width: 110px; max-width: 130px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,215,0,.3);
    text-align: center; margin: 3px;
}
.alternative-item:hover {
    background: #fff !important;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    border-color: var(--wc-gold);
}
.alt-name  { font-weight: 700; font-size: .82rem; color: #1a1a1a !important; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.alt-price { font-weight: 800; font-size: .9rem; color: var(--primary) !important; font-family: var(--font-heading); }

/* KI Personality & Stats */
.ki-personality {
    background: rgba(0,0,0,.25);
    border-radius: 14px; padding: 16px;
    border: 1px solid rgba(255,255,255,.08);
    margin-top: 16px;
}
.ki-stat {
    color: rgba(255,255,255,.85);
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
}
.ki-stat i { font-size: 1.4rem; margin-bottom: 5px; display: block; color: var(--wc-gold); }
.ki-stat small { font-size: .75rem; color: rgba(255,255,255,.7); }

/* KI Fallback */
.ki-fallback { display: flex; align-items: center; justify-content: center; gap: 20px; text-align: left; }
.fallback-icon { font-size: 3rem; }
.fallback-content h4 { color: var(--wc-gold); margin-bottom: .5rem; font-weight: 700; font-family: var(--font-display); }
.fallback-content p  { color: rgba(255,255,255,.8); margin-bottom: .5rem; }
.fallback-price { font-size: 1.3rem; font-weight: 800; color: var(--wc-gold); font-family: var(--font-display); }

.ki-product-image {
    width: 80px; height: 80px; object-fit: cover;
    border-radius: 12px; margin-bottom: 12px;
    border: 3px solid rgba(255,215,0,.5);
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

/* ============================================================================
   CART STYLES
   ============================================================================ */
.cart-item { border-bottom: 1px solid var(--border); padding: 15px 0; }

/* ============================================================================
   FOOTER
   ============================================================================ */
footer {
    background: var(--dark); color: #fff;
    padding: 2rem 0; margin-top: 40px;
}
footer h5   { font-size: 1.2rem; margin-bottom: 1rem; color: #fff; font-family: var(--font-heading); }
footer ul   { list-style: none; padding: 0; }
footer ul li { margin-bottom: .5rem; }
footer ul li a { color: #fff; text-decoration: none; opacity: .75; transition: opacity .3s ease; }
footer ul li a:hover { color: var(--wc-gold); opacity: 1; }

/* ============================================================================
   LOYALTY TAB & SIGNUP PROMPT
   ============================================================================ */
.loyalty-tab, .signup-cart-prompt {
    position: fixed; bottom: 20px; right: 20px;
    width: 140px; z-index: 1040; cursor: pointer;
    transition: all .3s ease;
}
.loyalty-tab .card, .signup-cart-prompt .card {
    width: 140px; border-radius: 12px;
    box-shadow: var(--shadow-md);
    background: var(--grad-gold);
    color: var(--dark);
    transition: all .3s ease;
    border: none;
}
.loyalty-tab .card:hover, .signup-cart-prompt .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}
.loyalty-tab .card-body, .signup-cart-prompt .card-body { padding: .8rem; text-align: center; }
.loyalty-tab .card-body .fw-bold, .signup-cart-prompt .card-body .fw-bold { color: var(--dark); font-family: var(--font-heading); }
.loyalty-info { font-size: .78rem; color: var(--dark); font-weight: 700; }
.progress { height: 8px; margin: .5rem 0; background: rgba(0,0,0,.15); border-radius: 4px; overflow: hidden; }
.progress-bar { background: var(--primary); transition: width .6s ease; }

/* ============================================================================
   PRODUCT MODAL
   ============================================================================ */
.modal-content {
    border-radius: 14px; border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,.25); overflow: hidden;
    background: var(--background);
}
.modal-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; }
.modal-title  { font-size: 1.4rem; font-weight: 700; color: var(--dark); font-family: var(--font-heading); }
.modal-body   { padding: 1.5rem; background: var(--background); color: var(--text); }
.modal-body .product-description { font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; }
.modal-footer { border-top: 1px solid var(--border); padding: 1rem 1.5rem; background: var(--surface); }
.product-image { width: 100%; max-height: 200px; object-fit: contain; border-radius: 8px; margin-bottom: 1rem; border: 1px solid var(--border); }
.variant-group { margin-bottom: 1rem; }
.variant-group h6 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; font-family: var(--font-heading); }
.list-group-item { border: none; padding: .5rem 0; display: flex; align-items: center; gap: .5rem; font-size: .9rem; background: transparent; color: var(--text); }
.quantity-control { display: flex; align-items: center; gap: .5rem; margin: 1rem 0; }
.quantity-control button { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: all .2s ease; color: var(--text); }
.quantity-control button:hover { background: var(--border); border-color: var(--primary); }
.quantity-control input { width: 60px; text-align: center; border-radius: 8px; border: 1px solid var(--border); padding: .5rem; background: var(--background); color: var(--text); }
.special-instructions { width: 100%; border-radius: 8px; border: 1px solid var(--border); padding: .5rem; resize: vertical; font-size: .9rem; background: var(--background); color: var(--text); }
.total-price { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-top: 1rem; font-family: var(--font-heading); }
.add-to-cart-btn {
    width: 100%; border-radius: 8px; padding: .75rem; font-size: 1rem;
    font-weight: 700; transition: all .3s ease; position: relative; overflow: hidden;
    background: var(--primary); color: #fff; border: none;
    font-family: var(--font-heading); letter-spacing: .3px;
}
.add-to-cart-btn:hover  { background: #d32f2f; box-shadow: var(--shadow-md); color: #fff; }
.add-to-cart-btn:active { background: #c62828; color: #fff; }
.add-to-cart-btn.animating::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 0; height: 0; border-radius: 50%;
    background: rgba(255,255,255,.5);
    transform: translate(-50%,-50%);
    animation: ripple .6s ease-out;
}

/* ============================================================================
   MOBILE SEARCH BAR
   ============================================================================ */
.mobile-search-bar {
    display: none; position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; background: linear-gradient(to right, var(--dark), #1a1a2e);
    padding: 6px 8px; box-shadow: 0 3px 12px rgba(0,0,0,.3);
    transition: opacity .3s ease;
}
.mobile-search-bar .input-group { border: 1px solid var(--primary); border-radius: 20px; overflow: hidden; background: var(--background); }
.mobile-search-bar .form-control { border: none; background: var(--background); color: var(--text); font-size: .85rem; padding: 6px 10px; }
.mobile-search-bar .form-control::placeholder { color: var(--text-muted); }
.mobile-search-bar .btn { background: var(--primary); border: none; color: #fff; padding: 6px 10px; transition: background .3s ease; }
.mobile-search-bar .btn:hover  { background: #d32f2f; color: #fff; }
.mobile-search-bar.visible  { display: block; opacity: 1; }
.mobile-search-bar.hidden   { opacity: 0; display: none; }

/* ============================================================================
   ⚽ STICKY ORDER BUTTON – WORLD CUP EDITION
   ============================================================================ */
.sticky-order-btn {
    display: block; padding: .85rem;
    font-size: 1rem; border-radius: 15px 15px 0 0;
    bottom: 0; z-index: 1050; position: fixed; width: 100%;
    text-align: center;
    background: var(--grad-fire);
    color: #fff;
    transition: all .3s ease;
    text-decoration: none; font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 -4px 20px rgba(230,57,70,.4);
}
.sticky-order-btn:hover  { box-shadow: 0 -6px 24px rgba(230,57,70,.6); color: #fff; }
.sticky-order-btn:active { color: #fff; }

/* ============================================================================
   TOAST
   ============================================================================ */
.toast { border-radius: 12px; box-shadow: var(--shadow-md); background: var(--background); border: 1px solid var(--border); }
.toast-header { border-bottom: 1px solid var(--border); background: var(--surface); color: var(--text); }
.toast-body   { background: var(--background); color: var(--text); }

/* ============================================================================
   REVIEWS SECTION
   ============================================================================ */
.reviews-section { background: var(--surface); padding: 3rem 0; color: var(--text); }
.review-card {
    background: var(--background); border-radius: 12px;
    padding: 1rem; margin: .5rem;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.review-stars i { color: var(--wc-gold); }

/* ============================================================================
   REORDER SECTION
   ============================================================================ */
.reorder-card { background: var(--surface); border-radius: 12px; padding: 1rem; margin-top: 1rem; border: 1px solid var(--border); color: var(--text); }
.last-orders-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.last-order-card {
    background: #fff; border-radius: 16px; padding: 1.2rem;
    border: 1px solid #e9ecef;
    box-shadow: var(--shadow-sm);
    transition: all .3s ease; position: relative;
    overflow: hidden;
}
.last-order-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.last-order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; flex-wrap: wrap; gap: .5rem; }
.last-order-number { font-weight: 700; color: var(--dark); display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); }
.last-order-date   { color: #6c757d; font-size: .875rem; display: flex; align-items: center; gap: 5px; }
.last-order-details { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; flex-wrap: wrap; gap: 1rem; }
.last-order-total   { font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 5px; font-family: var(--font-heading); }
.last-order-items   { color: #6c757d; font-size: .875rem; display: flex; align-items: center; gap: 5px; }
.status-badge { padding: 4px 12px; border-radius: 15px; font-size: .75rem; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.status-badge.delivered { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.reorder-btn { border-radius: 20px; padding: 6px 15px; font-weight: 700; transition: all .3s ease; }
.reorder-btn:hover { transform: translateY(-1px); }

/* ============================================================================
   ⚽ BENEFITS CAROUSEL – WORLD CUP THEMED
   ============================================================================ */
.benefits-carousel { position: relative; overflow: hidden; }
.animate-scroll { animation: scroll 25s linear infinite; display: flex; width: max-content; }
.benefit-card-compact {
    background: var(--background); border-radius: 14px;
    padding: 1rem; text-align: center; width: 180px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease;
    border: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.benefit-card-compact::before {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-wc);
    transform: scaleX(0); transition: transform .3s ease;
}
.benefit-card-compact:hover::before { transform: scaleX(1); }
.benefit-card-compact:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit-card-compact .icon {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .5rem; font-size: 1.5rem; color: #fff;
}
.benefit-card-compact .icon.bg-primary  { background: var(--primary); }
.benefit-card-compact .icon.bg-success  { background: var(--wc-green); }
.benefit-card-compact .icon.bg-warning  { background: var(--wc-gold); }
.benefit-card-compact .icon.bg-info     { background: var(--info); }
.benefit-card-compact .icon.bg-danger   { background: var(--danger); }
.benefit-card-compact .icon.bg-secondary{ background: var(--secondary); }
.benefit-card-compact h6 { font-weight: 700; margin-bottom: .25rem; color: var(--dark); font-family: var(--font-heading); }
.benefit-card-compact p  { font-size: .8rem; color: var(--text-muted); margin: 0; }

/* ============================================================================
   POPULAR SECTION
   ============================================================================ */
.popular-section { background: var(--background); color: var(--text); }
.popular-section .text-white { color: var(--text) !important; }

/* ============================================================================
   DELIVERY CHECK SECTION
   ============================================================================ */
.delivery-check-section { background: linear-gradient(135deg, #fff, #f8f9fa); }
.delivery-check-section .input-group-lg .form-control {
    font-size: 1.1rem; padding: .75rem 1rem;
    border-radius: 50px; box-shadow: inset 0 1px 3px rgba(0,0,0,.05);
}
.delivery-check-section .input-group-text { border-radius: 50px 0 0 50px; padding: 0 1.25rem; }
#deliveryStatus.bg-success-subtle { background-color: rgba(25,135,84,.08) !important; }

/* ============================================================================
   ⚽ UNIFIED PRODUCT CARD
   ============================================================================ */
.unified-product-card {
    display: flex; flex-direction: column;
    border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
    background: #fff; box-shadow: var(--shadow-sm);
    transition: all .35s ease; height: 100%; cursor: pointer;
}
.unified-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,.18);
    border-color: var(--wc-gold);
}
.unified-product-card .card-image { width: 100%; height: 120px; object-fit: cover; border-bottom: 1px solid #f0f0f0; }
.unified-product-card .card-body  { padding: 12px; flex-grow: 1; display: flex; flex-direction: column; }
.unified-product-card .card-title { font-size: 1rem; font-weight: 700; color: #1a1a1a; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-heading); }
.unified-product-card .card-price { font-size: 1.1rem; font-weight: 800; color: var(--primary); margin-top: auto; font-family: var(--font-display); }
.unified-product-card.small { max-width: 130px; border-radius: 10px; }
.unified-product-card.small .card-image { height: 80px; }
.unified-product-card.small .card-body  { padding: 8px; }
.unified-product-card.small .card-title { font-size: .8rem; -webkit-line-clamp: 1; }
.unified-product-card.small .card-price { font-size: .9rem; }

/* ============================================================================
   LEFT PANEL BENEFITS (MEMBERSHIP)
   ============================================================================ */
.left-panel-benefits {
    background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(248,249,250,.95));
    padding: 30px; border-radius: 20px; margin: 20px 0;
    border: 1px solid rgba(0,132,61,.2);
    box-shadow: 0 12px 36px rgba(0,0,0,.1);
    backdrop-filter: blur(10px);
}

/* ============================================================================
   FLY TO CART ANIMATION
   ============================================================================ */
@keyframes flyToCart {
    0%   { transform: scale(1) translate(0,0); opacity: 1; }
    50%  { transform: scale(.5) translate(var(--fly-x), var(--fly-y)); opacity: .7; }
    100% { transform: scale(.1) translate(var(--fly-end-x), var(--fly-end-y)); opacity: 0; }
}
.fly-to-cart {
    position: fixed; width: 40px; height: 40px;
    background: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem; z-index: 10000;
    pointer-events: none;
    animation: flyToCart 1s ease-in-out forwards;
}

/* ============================================================================
   ⚽ STICKY FLOATING CART – FOOTBALL GOLD EDITION
   ============================================================================ */
.sticky-cart {
    position: fixed; bottom: 140px; right: 15px;
    z-index: 1030; width: 62px; height: 62px;
    cursor: pointer; animation: subtle-pulse 3s ease-in-out infinite;
    pointer-events: all;
}
.sticky-cart .card {
    width: 100%; height: 100%; border-radius: 50%;
    background: var(--grad-fire);
    border: none;
    box-shadow: 0 6px 24px rgba(230,57,70,.5);
    display: flex; align-items: center; justify-content: center;
    transition: all .3s ease; overflow: hidden;
}
.sticky-cart .card-body { padding: 0; color: #fff; }
.sticky-cart i.bi-cart-fill { color: #fff; font-size: 1.9rem; }
.sticky-cart .cart-count {
    position: absolute; top: -10px; right: -10px;
    background: var(--wc-gold); color: #000;
    font-weight: 900; font-size: .9rem;
    min-width: 28px; height: 28px; padding: 0 8px;
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,.4);
    line-height: 1; white-space: nowrap;
    font-family: var(--font-heading);
}
.sticky-cart:hover .card {
    transform: scale(1.12);
    box-shadow: 0 12px 36px rgba(230,57,70,.7);
}

/* ============================================================================
   CALL & WHATSAPP BUTTONS
   ============================================================================ */
.call-btn {
    position: fixed; bottom: 80px; left: 20px;
    background: var(--primary); color: #fff;
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 1000; box-shadow: var(--shadow-md);
    font-size: 1.2rem; text-decoration: none;
    transition: all .3s ease;
}
.call-btn:hover { background: #d32f2f; color: #fff; transform: scale(1.1); }
.whatsapp-btn {
    bottom: 130px !important;
    background: #25D366 !important;
    box-shadow: 0 4px 16px rgba(37,211,102,.4) !important;
}
.whatsapp-btn:hover { background: #128C7E !important; }

/* ============================================================================
   HERO DOTS
   ============================================================================ */
.hero-dots-container { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 10; pointer-events: none; }
.hero-dots { display: flex; justify-content: center; gap: 9px; pointer-events: all; }
.hero-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(255,255,255,.3);
    border: 1.5px solid rgba(255,255,255,.6);
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    transition: all .35s ease; cursor: pointer;
}
.hero-dot:hover { background: rgba(255,255,255,.6); transform: scale(1.2); }
.hero-dot.active { background: var(--wc-gold); border-color: var(--wc-gold); transform: scale(1.4); box-shadow: 0 0 12px rgba(255,215,0,.8); }

/* ============================================================================
   ⚽ WORLD CUP SECTION HEADER STYLE
   ============================================================================ */
.wc-section-header {
    text-align: center; margin-bottom: 2rem;
    position: relative; padding-bottom: 1rem;
}
.wc-section-header::after {
    content: '';
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px;
    background: var(--grad-fire);
    border-radius: 2px;
}
.wc-section-header h2 {
    font-family: var(--font-display);
    font-size: 2.8rem; letter-spacing: 2px;
    color: var(--dark); line-height: 1.1;
}
.wc-section-header p { color: var(--text-muted); font-size: 1rem; margin-top: .5rem; }

/* ============================================================================
   INGREDIENT SHOWCASE
   ============================================================================ */
.ingredient-showcase { background: var(--surface); padding: 3rem 0; text-align: center; }
.ingredient {
    font-size: 3rem; display: inline-block; margin: 0 1rem;
    animation: dance 2s infinite ease-in-out;
}
.ingredient:nth-child(2) { animation-delay: .2s; }
.ingredient:nth-child(3) { animation-delay: .4s; }
.ingredient:nth-child(4) { animation-delay: .6s; }

/* ============================================================================
   ⚽ SEARCH RESULTS
   ============================================================================ */
.mobile-search-bar .search-results {
    position: fixed !important; top: 50px !important;
    left: 8px !important; right: 8px !important;
    max-height: 60vh !important; overflow-y: auto !important;
    background: #fff !important; border: 1px solid #ddd !important;
    border-radius: 0 0 20px 20px !important;
    box-shadow: var(--shadow-lg) !important;
    z-index: 9999 !important; display: none;
}
.mobile-search-bar .search-results.show { display: block !important; }
.mobile-search-bar .result-item { display: flex; align-items: center; padding: 10px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .2s ease; }
.mobile-search-bar .result-item:hover { background: var(--surface); }
.mobile-search-bar .result-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; margin-right: 10px; }
.mobile-search-bar .result-item .name  { font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.mobile-search-bar .result-item .price { color: var(--primary); font-weight: 700; }
.search-results { max-height: 200px; }
.search-results .result-item { padding: 8px; background: var(--background); border-bottom: 1px solid var(--border); }
.search-results .result-item img  { width: 40px; height: 40px; }
.search-results .result-item .name  { font-size: .85rem; color: var(--dark); }
.search-results .result-item .price { font-size: .8rem; color: var(--primary); }

/* ============================================================================
   MOBILE FAB SIGNUP
   ============================================================================ */
.signup-cart-prompt-fab { position: fixed; bottom: 80px; right: 15px; width: 55px; height: 55px; z-index: 999; }
.signup-cart-prompt-fab .card {
    width: 55px; height: 55px; border-radius: 50%;
    background: var(--grad-gold);
    border: none; box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    animation: subtle-pulse 3s ease-in-out infinite;
}
.signup-cart-prompt-fab .card-body { padding: 0; display: flex; align-items: center; justify-content: center; }
.signup-cart-prompt-fab .card-body i { font-size: 1.3rem; color: #000; }

/* ============================================================================
   SCROLL TO TOP (hidden on desktop)
   ============================================================================ */
@media (min-width: 769px) {
    .scroll-to-top, #scrollToTop, .back-to-top,
    [data-scroll-top], .btn-scroll-top, .scroll-up, .go-top { display: none !important; }
}

/* ============================================================================
   Z-INDEX STACK
   ============================================================================ */
.modal           { z-index: 1060 !important; }
.toast-container { z-index: 1070 !important; }
.sticky-order-btn  { z-index: 1050 !important; }
.loyalty-tab, .signup-cart-prompt { z-index: 1040 !important; }
header, .navbar, .navbar-fixed-top { z-index: 900 !important; }

/* ============================================================================
   KEYFRAMES
   ============================================================================ */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(20px);  } to { opacity: 1; transform: translateY(0); } }
@keyframes shake      { 0%,100%{transform:translateX(0)} 10%,30%,50%,70%,90%{transform:translateX(-5px)} 20%,40%,60%,80%{transform:translateX(5px)} }
@keyframes pulse      { 0%{transform:scale(1)} 50%{transform:scale(1.06)} 100%{transform:scale(1)} }
@keyframes bounce     { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes dance      { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-18px) rotate(5deg)} }
@keyframes ripple     { to { width: 200px; height: 200px; opacity: 0; } }
@keyframes spin       { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes scroll     { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes subtle-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }
@keyframes rise       { 0%{transform:translateY(50px) translateX(-50%);opacity:0} 50%{transform:translateY(0) translateX(-50%);opacity:.5} 100%{transform:translateY(-50px) translateX(-50%);opacity:0} }

/* ============================================================================
   SECTION GRADIENTS
   ============================================================================ */
.benefits-section      { background: linear-gradient(to bottom, #fff, #f8f9fa); }
.popular-section       { background: linear-gradient(to bottom, #f8f9fa, #fff); }
.how-it-works-section  { background: linear-gradient(to bottom, #fff, #f8f9fa); }
.reviews-section       { background: #fff; padding: 3rem 0; }

/* ============================================================================
   RESPONSIVE – MOBILE ≤ 768px
   ============================================================================ */
@media (max-width: 768px) {
    /* Mobile: fill frame with cover (contain caused empty letterbox bars) */
    .hero-section { min-height: 280px !important; height: 280px !important; max-height: 320px !important; aspect-ratio: auto !important; margin-bottom: 0 !important; padding-bottom: 0 !important; overflow: hidden !important; }
    .banner-container { background-size: cover !important; background-position: center center !important; background-color: #0f172a !important; min-height: 0 !important; }
    .hero-content { padding: 1rem 0.85rem; }
    .hero-title    { font-size: 1.35rem; margin-bottom: .45rem; color: #fff; }
    .hero-subtitle { font-size: .85rem; margin-bottom: .5rem; color: #fff; }
    .hero-wc-badge { font-size: .72rem; padding: 4px 12px; }
    .signup-strip  { display: none !important; }
    .hero-wc-watermark { display: none; }

    /* Category Mobile */
    .category-carousel-inner { gap: 4px !important; padding: 0 2px !important; }
    .category-item { flex: 0 0 30% !important; padding: 0 1px !important; }
    .category-card { padding: .4rem .3rem !important; min-height: 80px !important; }
    .category-icon { font-size: 1.2rem !important; margin-bottom: .2rem !important; }
    .category-card h5 { font-size: .65rem !important; line-height: 1.1 !important; margin-bottom: 0 !important; }
    .category-nav-btn { width: 30px; height: 30px; font-size: .8rem; margin: 0 2px; }

    /* Trust Badges */
    .trust-badges { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .trust-badge  { padding: 10px; }
    .trust-badge i { font-size: 1.2rem; }

    /* Benefits */
    .benefits-section { padding: 1.5rem 0 !important; margin-top: .5rem !important; }
    .benefits-grid { grid-template-columns: 1fr; gap: 16px; }
    .benefit-card { flex-direction: row; text-align: left; min-height: auto; padding: 14px; gap: 12px; }
    .benefit-icon { font-size: 1.6rem; margin-bottom: 0; flex-shrink: 0; }
    .benefit-card-compact { width: 140px; padding: .75rem; }
    .benefit-card-compact .icon { width: 40px; height: 40px; font-size: 1.2rem; }
    .benefit-card-compact h6 { font-size: .85rem; }
    .benefit-card-compact p  { font-size: .75rem; }
    .animate-scroll { animation-duration: 18s; }

    /* Steps */
    .steps-grid { grid-template-columns: 1fr; gap: 20px; }
    .step-card  { padding: 30px 15px; }

    /* KI Section */
    .ki-recommendation-section { padding: 1.5rem 0 !important; }
    .ki-recommendation-card { padding: 1.5rem; }
    .ki-header { flex-direction: column; text-align: center; gap: 12px; }
    .ki-icon   { margin-right: 0; font-size: 2rem; }
    .ki-title h3 { font-size: 1.6rem; }
    .ki-title p  { font-size: .95rem; }
    .ki-product-showcase { padding: 1.2rem; min-height: 120px; }
    .ki-product-name   { font-size: 1.4rem; }
    .ki-product-reason { font-size: .95rem; }
    .ki-product-meta   { flex-direction: column; gap: 8px; }
    .ki-trust-signals  { flex-direction: column; gap: 6px; }
    .ki-controls       { flex-direction: column; align-items: center; }
    .ki-controls .btn  { width: 100%; max-width: 260px; }
    .alternative-items { flex-direction: column; align-items: center; }
    .alternative-item  { width: 100%; max-width: 200px; }
    .ki-personality .row { display: flex; flex-direction: column; gap: 12px; align-items: center; }
    .ki-personality .col-4 { width: 100%; text-align: center; }
    .ki-fallback { flex-direction: column; text-align: center; gap: 12px; }
    .wc-section-header h2 { font-size: 2rem; }

    /* Menu Grid */
    .menu-grid { grid-template-columns: 1fr; }
    .menu-card { min-height: 140px; }
    .menu-image-container { flex: 0 0 100px; height: 100px; }
    .menu-details .card-title { font-size: 15px; }
    .menu-details .card-text  { font-size: 11px; }
    .menu-price   { font-size: 15px; }
    .menu-details .add-to-cart { font-size: 13px; height: 38px; }

    /* Modal */
    .modal-dialog { margin: .5rem; max-width: 100%; }
    #productModal .modal-dialog { margin-top: 70px !important; }
    .modal-content { border-radius: 10px; }
    .modal-header  { padding: 1rem; }
    .modal-title   { font-size: 1.3rem; }
    .modal-body    { padding: 1rem; }
    .modal-footer  { padding: .75rem 1rem; flex-direction: column; gap: .5rem; }
    .product-image { max-height: 75px; max-width: 100%; margin: 0 auto .75rem; display: block; }
    .quantity-control button { width: 35px; height: 35px; font-size: 1rem; }
    .quantity-control input  { width: 50px; font-size: .8rem; }
    .add-to-cart-btn { font-size: .875rem; padding: .6rem; }

    /* Sticky/Floating elements */
    .loyalty-tab, .signup-cart-prompt { bottom: 60px; right: 10px; width: 90px; opacity: .9; }
    .loyalty-tab .card, .signup-cart-prompt .card { width: 90px; font-size: .65rem; border-radius: 8px; }
    .loyalty-tab .card-body, .signup-cart-prompt .card-body { padding: .5rem; }
    .loyalty-tab.hidden, .signup-cart-prompt.hidden { transform: translateY(100px); opacity: 0; }
    .signup-cart-prompt { bottom: 70px !important; right: 10px !important; width: 120px !important; }
    .signup-cart-prompt .card { width: 120px !important; border-radius: 12px; }
    .sticky-cart { bottom: 140px; right: 15px; width: 58px; height: 58px; z-index: 1030; }
    .mobile-search-bar { display: block; }
    .navbar.hidden { opacity: 0; display: none; }
    .popular-section { padding: 1.5rem 0 !important; }
    .reviews-section { padding: 1.5rem 0; }
    .reorder-card { margin-top: .5rem; padding: .75rem; }
    .hero-section { margin-bottom: 0 !important; padding-bottom: 0 !important; }
    .category-nav { margin-top: 0 !important; padding-top: .5rem !important; padding-bottom: .5rem !important; }
    .banner-content { flex-direction: column; text-align: center; gap: 10px; }
    .progress { height: 6px; }
    .hero-dots-container { bottom: 18px; }
    .hero-dot { width: 7px; height: 7px; border-width: 1.3px; }
    .hero-dot.active { transform: scale(1.5); }
    .delivery-check-section { padding: 1.25rem 0 !important; }
    .delivery-check-section h5 { font-size: 1.25rem !important; }
    .left-panel-benefits { padding: 20px; margin: 15px 0; }
    .last-order-header, .last-order-details, .last-order-info { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* ============================================================================
   RESPONSIVE – DESKTOP ≥ 769px
   ============================================================================ */
@media (min-width: 769px) {
    .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .menu-card { min-height: 140px; }
    .mobile-search-bar { display: none !important; }
    .sticky-order-btn  { display: none !important; }
    .sticky-cart { bottom: 160px; right: 30px; width: 65px; height: 65px; }
    .whatsapp-btn { bottom: 150px !important; }
    .signup-cart-prompt-fab { display: none !important; }
    .delivery-check-section .card-body { padding: 1.25rem 1.75rem !important; }
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ============================================================================
   PERFORMANCE
   ============================================================================ */
img { max-width: 100%; height: auto; }

/* ============================================================================
   ⚽ EXTRA WORLD CUP PREMIUM TOUCHES
   ============================================================================ */

/* Section section borders matching football field lines */
.popular-section { border-top: 3px solid var(--wc-gold); border-bottom: 3px solid var(--wc-gold); }

/* Shimmer for loading states */
.shimmer {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat; background-size: 800px 104px;
    animation: shimmer 1s linear infinite; height: 200px; border-radius: 8px;
}
@keyframes shimmer { 0%{background-position:-468px 0} 100%{background-position:468px 0} }

/* Gold highlight for loyalty tab on desktop */
@media (min-width: 769px) {
    .loyalty-tab .card::after, .signup-cart-prompt .card::after {
        content: ''; position: absolute; inset: 0;
        background: radial-gradient(circle at center, rgba(255,255,255,.35) 0%, transparent 70%);
        opacity: 0; transition: opacity .3s; border-radius: inherit;
    }
    .loyalty-tab .card:hover::after, .signup-cart-prompt .card:hover::after { opacity: 1; }
}

/* World Cup themed Popular section title */
.popular-section .wc-section-header h2 { color: var(--dark); }

/* Mobile-optimised modal above search bar */
@media (max-width: 768px) {
    #productModal .modal-dialog { margin-top: 70px !important; }
    .signup-cart-prompt-fab .card { animation: subtle-pulse 3s ease-in-out infinite; }
    @media (prefers-reduced-motion: reduce) { .signup-cart-prompt-fab .card { animation: none; } }
}
/* Flappy Challenge Game Button - Simple & Clean */
.game-promo {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 20px 25px;
    margin: 30px auto;
    max-width: 700px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.game-promo-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.game-promo-icon {
    font-size: 55px;
    background: linear-gradient(135deg, #ffd700, #ff8f00);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.game-promo-info {
    flex: 1;
}

.game-promo-info h3 {
    color: #ffd700;
    font-size: 24px;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.game-promo-info p {
    color: #ccc;
    font-size: 13px;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.game-promo-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.game-btn-main {
    background: linear-gradient(135deg, #ffd700, #ff8f00);
    color: #1a1a2e;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.game-btn-main:hover {
    transform: scale(1.03);
    color: #1a1a2e;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.game-btn-hint {
    color: #ffd700;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.game-btn-hint:hover {
    color: #fff;
    text-decoration: none;
    transform: translateX(3px);
}

.game-promo-footer {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #888;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.game-promo-footer span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Mobile responsive */
@media (max-width: 550px) {
    .game-promo {
        padding: 15px;
        margin: 20px 15px;
    }
    
    .game-promo-icon {
        width: 60px;
        height: 60px;
        font-size: 40px;
    }
    
    .game-promo-info h3 {
        font-size: 20px;
    }
    
    .game-btn-main {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .game-promo-footer {
        gap: 12px;
    }
}