/* Base Styles */
:root {
    --primary: #e63946;
    --secondary: #ff9e1f;
    --dark: #1a1a1a;
    --light: #fff8e1;
    --accent: #2a9d8f;
    --text: #333333;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --background: #ffffff;
    --surface: #f8f9fa;
    --border: #dee2e6;
    --text-muted: #6c757d;
    --text-light: #ffffff;
}
* {
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--background);
    font-size: 16px;
    margin: 0;
    padding: 0;
}
/* Floating Signup Banner */
.floating-signup-banner {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--secondary), #ffb300);
    color: var(--dark);
    padding: 12px 0;
    z-index: 1040;
    transition: top 0.4s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--dark);
}
.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: 600;
    color: var(--dark);
}
.banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.banner-actions .btn-close {
    background: none;
    border: none;
    font-size: 0.8rem;
    opacity: 0.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: 10px;
    background: var(--background);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}
.trust-badge:hover {
    transform: translateY(-2px);
    background: #e9ecef;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.trust-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}
.trust-badge span {
    font-weight: 500;
    font-size: 0.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: 15px;
    background: var(--background);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.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, 0.15));
}
.benefit-icon i {
    font-size: 1.8rem;
    color: var(--text-light);
}
.benefit-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}
.benefit-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
/* 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: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}
.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.step-card h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}
.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
/* ============================================================================
   ENHANCED KI SECTION STYLES
   ============================================================================ */
.ki-recommendation-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #a8e063 0%, #56ab2f 100%);
    color: #1a1a1a;
}
.ki-recommendation-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 10px 30px rgba(0,100,0,0.2);
    padding: 2rem;
}
.ki-recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,100,0,0.3);
}
.ki-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.ki-icon {
    font-size: 2.5rem;
    color: #4caf50;
    margin-right: 1rem;
    animation: pulse 1.5s infinite;
}
.ki-title h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}
.ki-title p {
    font-size: 1.1rem;
    color: #388e3c;
    opacity: 0.9;
}
.ki-product-showcase {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(200,230,201,0.9));
    border-radius: 15px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}
.ki-product-showcase:hover {
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(165,214,167,1));
}
.ki-product-item {
    text-align: center;
    animation: fadeInUp 0.6s ease;
    width: 100%;
}
.ki-product-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1b5e20;
}
.ki-product-reason {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    color: #33691e;
    font-style: italic;
}
.ki-product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f57f17;
    background: rgba(255,255,255,0.8);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(245,127,23,0.3);
}
/* Product Ratings */
.rating {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}
.rating-star {
    color: #ffc107;
    font-size: 0.9rem;
    margin-right: 1px;
}
.rating-text {
    font-size: 0.8rem;
    color: #666;
    margin-left: 0.5rem;
}
/* KI Loading Skeleton */
.ki-loading-skeleton {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    margin: 1.5rem 0;
}

.skeleton-animation {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 1rem;
}

.skeleton-content {
    flex: 1;
}

.skeleton-line {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    margin-bottom: 0.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,0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ki-rating small {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* KI Trust Signals */
.ki-trust-signals {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255,255,255,0.9);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(0,0,0,0.1);
    color: #1a1a1a !important;
}

/* KI Controls - FIXED FOR VISIBILITY */
.ki-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.ki-controls .btn {
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-transform: none;
}

#kiDislikeBtn {
    background: rgba(255,255,255,0.95);
    color: #d32f2f;
    border: 2px solid #ffcdd2;
}

#kiDislikeBtn:hover {
    background: #ffcdd2;
    color: #b71c1c;
    transform: translateY(-2px);
}

#kiRecommendationBtn {
    background: var(--secondary);
    color: var(--dark);
    border: none;
}

#kiRecommendationBtn:hover {
    background: #ffb300;
    transform: translateY(-2px);
}

/* KI Alternatives - FIXED AS PROPER CARDS */
.ki-alternatives {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.ki-alternatives h6 {
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alternative-items {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ALTERNATIVE PRODUCTS - WHITE CARDS */
.alternative-item {
    background: white !important;
    color: #1a1a1a !important;
    padding: 12px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 110px;
    max-width: 130px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    text-align: center;
    margin: 4px;
}

.alternative-item:hover {
    background: #f8f9fa !important;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.alt-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #1a1a1a !important;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.alt-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: #e63946 !important;
}

/* KI Personality & Stats */
.ki-personality {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.ki-stat {
    color: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ki-stat i {
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: block;
}

.ki-stat small {
    font-size: 0.7rem;
}

/* 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: #1b5e20;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.fallback-content p {
    color: #33691e;
    margin-bottom: 0.5rem;
}

.fallback-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f57f17;
}

/* OPTIONAL: KI Product Image */
.ki-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 3px solid rgba(255,255,255,0.8);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* IMPROVED TEXT READABILITY ON GREEN BACKGROUND */
.ki-title h3,
.ki-title p,
.ki-product-reason {
    color: #1a1a1a !important;
    text-shadow: none;
}
/* Hero Section */
.hero-section {
    position: relative;
    height: auto !important;
    min-height: 250px !important;
    max-height: 45vh !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: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.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: 1;
}
.banner-container.active {
    opacity: 1;
    z-index: 2;
}
.banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent 60%);
}
.hero-content {
    z-index: 3;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 1rem 0.8rem 0.3rem !important;
    position: relative;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out;
}
.hero-title a {
    color: inherit;
    text-decoration: none;
}
.hero-title a:hover {
    text-decoration: underline;
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    text-shadow: 1.5px 1.5px 6px rgba(0,0,0,0.7);
    margin-bottom: 2rem;
}
.hero-subtitle a {
    color: inherit;
    text-decoration: none;
}
.hero-subtitle a:hover {
    text-decoration: underline;
}
.hero-section .btn-primary {
    background: var(--secondary);
    border: none;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 25px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: var(--dark);
}
.hero-section .btn-primary:hover {
    background: #ffb300;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    color: var(--dark);
}
.hero-section .btn-primary:active {
    background: #e69500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transform: translateX(-50%);
    color: var(--dark);
}
.btn-primary {
    background: var(--primary);
    border: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}
.btn-primary:hover {
    background: #d32f2f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: var(--text-light);
}
.btn-primary:active {
    background: #c62828;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: var(--text-light);
}
.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
    border: none;
    font-weight: 600;
    border-radius: 25px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.btn-secondary:hover {
    background: #ffb300;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: var(--dark);
}
.btn-secondary:active {
    background: #e6a700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: var(--dark);
}
.signup-strip {
    display: none !important;
}
/* Category Navigation - IMPROVED FOR MOBILE */
.category-nav {
    margin-top: 0 !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    position: relative;
    z-index: 3;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}
.category-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
    touch-action: pan-x;
}
.category-carousel-inner {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.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: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: var(--background);
    padding: 0.8rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    position: relative;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    z-index: 1;
}
.category-card:hover::before {
    opacity: 0.1;
}
.category-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.category-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--text-light);
    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 0.3s ease;
    margin: 0 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.category-nav-btn:hover {
    background: #d32f2f;
    transform: translateY(-50%) scale(1.1);
    color: var(--text-light);
}
.category-nav-btn.prev {
    left: 0;
}
.category-nav-btn.next {
    right: 0;
}
.category-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}
.category-card:hover .category-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--secondary);
}
.category-card h5 {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.85rem;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}
.category-image {
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
    max-height: 40px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}
/* Menu Items */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 12px;
    padding: 20px 0;
}
.menu-card {
    display: flex;
    align-items: flex-start;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    background: var(--background);
    transition: all 0.3s ease;
    min-height: 140px;
    position: relative;
}
.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.menu-image-container {
    flex: 0 0 100px;
    height: 100px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border);
    margin: 8px;
    background-color: var(--surface);
}
.menu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.menu-card:hover .menu-image {
    transform: scale(1.1);
}
.menu-details {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-details .card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--dark);
}
.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,0.8);
    color: var(--text-light);
    font-size: 18px;
    font-weight: 700;
    padding: 2px 6px;
    border-top-right-radius: 4px;
}
.menu-details .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}
.menu-details .tag {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.menu-details .tag.vegetarisch { background-color: var(--success); color: var(--text-light); }
.menu-details .tag.scharf { background-color: var(--danger); color: var(--text-light); }
.menu-details .tag.halal { background-color: var(--info); color: var(--text-light); }
.menu-details .tag.bestseller { background-color: var(--warning); color: var(--dark); }
.menu-details .add-to-cart {
    width: 100%;
    background: var(--primary);
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: var(--text-light);
}
.menu-details .add-to-cart:hover {
    background: #d32f2f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: translateY(-1px);
    color: var(--text-light);
}
.menu-details .add-to-cart:active {
    background: #c62828;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transform: translateY(0);
    color: var(--text-light);
}
.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, 0.5);
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}
.offer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
    z-index: 2;
}
.new-badge {
    background: var(--accent);
    color: var(--text-light);
}
/* Cart Styles */
.cart-item {
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}
/* Footer */
footer {
    background: var(--dark);
    color: var(--text-light);
    padding: 2rem 0;
    margin-top: 40px;
}
footer h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin-bottom: 0.5rem;
}
footer ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
footer ul li a:hover {
    color: var(--secondary);
    opacity: 1;
}
/* Loyalty Tab and Signup Prompt */
.loyalty-tab, .signup-cart-prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 140px;
    z-index: 1040;
    cursor: pointer;
    transition: all 0.3s ease;
}
.loyalty-tab .card, .signup-cart-prompt .card {
    width: 140px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    background: var(--secondary);
    color: var(--dark);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary);
}
.loyalty-tab .card:hover, .signup-cart-prompt .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    background: #ffb300;
}
.loyalty-tab .card-body, .signup-cart-prompt .card-body {
    padding: 0.8rem;
    text-align: center;
}
.loyalty-tab .card-body .fw-bold, .signup-cart-prompt .card-body .fw-bold {
    color: var(--dark);
}
.loyalty-info {
    font-size: 0.8rem;
    color: var(--dark);
    font-weight: 600;
}
.progress {
    height: 8px;
    margin: 0.5rem 0;
    background-color: rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}
.progress-bar {
    background-color: var(--primary);
    transition: width 0.6s ease;
}
/* Product Modal */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    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.5rem;
    font-weight: 600;
    color: var(--dark);
}
.modal-body {
    padding: 1.5rem;
    background: var(--background);
    color: var(--text);
}
.modal-body .product-description {
    font-size: 0.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: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.list-group-item {
    border: none;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    background: transparent;
    color: var(--text);
}
.list-group-item input[type="radio"],
.list-group-item input[type="checkbox"] {
    margin-right: 0.5rem;
}
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.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 0.2s ease;
    color: var(--text);
}
.quantity-control button:hover {
    background: var(--border);
    border-color: var(--primary);
    color: var(--text);
}
.quantity-control input {
    width: 60px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 0.5rem;
    background: var(--background);
    color: var(--text);
}
.special-instructions {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 0.5rem;
    resize: vertical;
    font-size: 0.9rem;
    background: var(--background);
    color: var(--text);
}
.total-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 1rem;
}
.add-to-cart-btn {
    width: 100%;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    background: var(--primary);
    color: var(--text-light);
    border: none;
}
.add-to-cart-btn:hover {
    background: #d32f2f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: var(--text-light);
}
.add-to-cart-btn:active {
    background: #c62828;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: var(--text-light);
}
.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, 0.5);
    transform: translate(-50%, -50%);
    animation: ripple 0.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), #2c2c2c);
    padding: 6px 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: opacity 0.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: 0.85rem;
    padding: 6px 10px;
}
.mobile-search-bar .form-control::placeholder {
    color: var(--text-muted);
}
.mobile-search-bar .btn {
    background: var(--primary);
    border: none;
    color: var(--text-light);
    padding: 6px 10px;
    transition: background 0.3s ease;
}
.mobile-search-bar .btn:hover {
    background: #d32f2f;
    color: var(--text-light);
}
.mobile-search-bar .btn:active {
    background: #c62828;
    color: var(--text-light);
}
.mobile-search-bar.visible {
    display: block;
    opacity: 1;
}
.mobile-search-bar.hidden {
    opacity: 0;
    display: none;
}
/* Sticky Order Button */
.sticky-order-btn {
    display: block;
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 15px 15px 0 0;
    bottom: 0;
    z-index: 1050;
    position: fixed;
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: var(--text-light);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}
.sticky-order-btn:hover {
    background: #d32f2f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: var(--text-light);
}
.sticky-order-btn:active {
    background: #c62828;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: var(--text-light);
}
/* Toast Styles */
.toast {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    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: 8px;
    padding: 1rem;
    margin: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
}
.review-stars i {
    color: var(--warning);
}
/* Reorder Section */
.reorder-card {
    background: var(--surface);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid var(--border);
    color: var(--text);
}
.reorder-card h6 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.reorder-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.reorder-card ul li {
    padding: 0.25rem 0;
    color: var(--text);
    position: relative;
    padding-left: 1rem;
}
.reorder-card ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}
/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    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.05); }
    100% { transform: scale(1); }
}
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
@keyframes ripple {
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}
@keyframes flyToCart {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }
    50% {
        transform: scale(0.5) translate(var(--fly-x), var(--fly-y));
        opacity: 0.7;
    }
    100% {
        transform: scale(0.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: var(--text-light);
    font-size: 1.2rem;
    z-index: 10000;
    pointer-events: none;
    animation: flyToCart 1s ease-in-out forwards;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        height: auto;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
   
    .banner-container {
        background-size: contain;
    }
   
    .banner-container::before {
        display: none;
    }
   
    .hero-content {
        padding: 3rem 1rem 1rem;
    }
   
    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        color: var(--text-light);
    }
   
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        color: var(--text-light);
    }
   
    .signup-strip {
        display: none !important;
    }
   
    /* Mobile Category Improvements */
    .category-carousel-inner {
        gap: 4px !important;
        padding: 0 2px !important;
    }
   
    .category-item {
        flex: 0 0 30% !important;
        padding: 0 1px !important;
    }
   
    .category-card {
        padding: 0.4rem 0.3rem !important;
        min-height: 80px !important;
    }
   
    .category-icon {
        font-size: 1.2rem !important;
        margin-bottom: 0.2rem !important;
    }
   
    .category-card h5 {
        font-size: 0.65rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0 !important;
        color: var(--dark);
    }
   
    .category-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin: 0 2px;
    }
   
    /* Trust Badges Mobile */
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
   
    .trust-badge {
        padding: 10px;
    }
   
    .trust-badge i {
        font-size: 1.2rem;
    }
   
    .trust-badge span {
        font-size: 0.8rem;
        color: var(--text);
    }
   
    /* Benefits Mobile */
    .benefits-section {
        padding: 1.5rem 0 !important;
        margin-top: 0.5rem !important;
    }
   
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
   
    .benefit-card {
        padding: 20px 15px;
    }
   
    /* Steps Mobile */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
   
    .step-card {
        padding: 30px 15px;
    }
   
    /* KI Section Mobile */
    .ki-recommendation-card {
        padding: 1.5rem;
    }

    .ki-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .ki-icon {
        margin-right: 0;
        font-size: 2rem;
    }

    .ki-title h3 {
        font-size: 1.4rem;
    }

    .ki-title p {
        font-size: 1rem;
    }

    .ki-product-showcase {
        padding: 1.5rem;
        min-height: 120px;
    }

    .ki-product-name {
        font-size: 1.3rem;
    }

    .ki-product-reason {
        font-size: 1rem;
    }

    .ki-product-meta {
        flex-direction: column;
        gap: 10px;
    }

    .ki-trust-signals {
        flex-direction: column;
        gap: 8px;
    }

    .trust-badge {
        justify-content: center;
    }

    .ki-controls {
        flex-direction: column;
        align-items: center;
    }

    .ki-controls .btn {
        width: 100%;
        max-width: 250px;
    }

    .alternative-items {
        flex-direction: column;
        align-items: center;
    }

    .alternative-item {
        width: 100%;
        max-width: 200px;
    }

    .ki-personality .row {
        gap: 10px;
    }

    .ki-stat {
        margin-bottom: 10px;
    }

    .last-order-header,
    .last-order-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .last-order-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .ki-fallback {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
   
    .modal-dialog {
        margin: 0.5rem;
        max-width: 100%;
    }
   
    .modal-content {
        border-radius: 10px;
    }
   
    .modal-header {
        padding: 1rem;
    }
   
    .modal-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--dark);
    }
   
    .modal-body {
        padding: 1rem;
        color: var(--text);
    }
   
    .modal-body .product-description {
        font-size: 0.5625rem;
        color: var(--text-muted);
    }
   
    .modal-footer {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
   
    .product-image {
        max-height: 75px;
        max-width: 100%;
        object-fit: contain;
        margin: 0 auto 0.75rem;
        display: block;
    }
   
    .variant-group h6 {
        font-size: 0.9375rem;
        color: var(--dark);
    }
   
    .list-group-item {
        font-size: 0.875rem;
        color: var(--text);
    }
   
    .quantity-control button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        color: var(--text);
    }
   
    .quantity-control input {
        width: 50px;
        font-size: 0.8125rem;
        color: var(--text);
    }
   
    .special-instructions {
        font-size: 0.875rem;
        color: var(--text);
    }
   
    .total-price {
        font-size: 1.125rem;
        color: var(--primary);
    }
   
    .add-to-cart-btn {
        font-size: 0.875rem;
        padding: 0.6rem;
        color: var(--text-light);
    }
   
    .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: 16px;
        color: var(--dark);
    }
   
    .menu-details .card-text {
        font-size: 11px;
        color: var(--text-muted);
    }
   
    .menu-price {
        font-size: 16px;
        padding: 1px 4px;
        color: var(--text-light);
    }
   
    .menu-details .tag {
        font-size: 11px;
        padding: 4px 8px;
    }
   
    .menu-details .add-to-cart {
        font-size: 14px;
        height: 40px;
        color: var(--text-light);
    }
   
    .loyalty-tab, .signup-cart-prompt {
        bottom: 60px;
        right: 10px;
        width: 90px;
        opacity: 0.9;
    }
   
    .loyalty-tab .card, .signup-cart-prompt .card {
        width: 90px;
        font-size: 0.65rem;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        color: var(--dark);
    }
   
    .loyalty-tab .card-body, .signup-cart-prompt .card-body {
        padding: 0.5rem;
    }
   
    .loyalty-tab .card-body .fw-bold, .signup-cart-prompt .card-body .fw-bold {
        font-size: 0.8rem;
        color: var(--dark);
    }
   
    .progress {
        height: 6px;
    }
   
    .loyalty-info {
        font-size: 0.6rem;
        color: var(--dark);
    }
   
    .sticky-order-btn {
        display: block;
        padding: 0.8rem;
        font-size: 1rem;
        border-radius: 15px 15px 0 0;
        bottom: 0;
        z-index: 1050;
        position: fixed;
        width: 100%;
        text-align: center;
        background: var(--primary);
        color: var(--text-light);
        transition: background 0.3s ease, box-shadow 0.3s ease;
    }
   
    .sticky-order-btn:hover {
        background: #d32f2f;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        color: var(--text-light);
    }
   
    .sticky-order-btn:active {
        background: #c62828;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        color: var(--text-light);
    }
   
    .loyalty-tab.hidden, .signup-cart-prompt.hidden {
        transform: translateY(100px);
        opacity: 0;
    }
   
    .mobile-search-bar {
        display: block;
    }
   
    .navbar.hidden {
        opacity: 0;
        display: none;
    }
   
    /* Floating Banner Mobile */
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
   
    .banner-text {
        justify-content: center;
        color: var(--dark);
    }
   
    /* Popular Section Mobile */
    .popular-section {
        padding: 1.5rem 0 !important;
    }
   
    /* Reviews Mobile */
    .reviews-section {
        padding: 1.5rem 0;
    }
   
    .review-card {
        margin: 0.25rem;
    }
   
    /* Reorder Card Mobile */
    .reorder-card {
        margin-top: 0.5rem;
        padding: 0.75rem;
    }
}
@media (min-width: 769px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
   
    .menu-card {
        min-height: 140px;
    }
   
    .menu-image-container {
        flex: 0 0 100px;
        height: 100px;
    }
   
    .menu-details .card-title {
        font-size: 16px;
        color: var(--dark);
    }
   
    .menu-details .card-text {
        font-size: 11px;
        color: var(--text-muted);
    }
   
    .menu-price {
        font-size: 18px;
        color: var(--text-light);
    }
   
    .menu-details .tag {
        font-size: 11px;
        padding: 4px 8px;
    }
   
    .menu-details .add-to-cart {
        font-size: 14px;
        height: 40px;
        color: var(--text-light);
    }
   
    .mobile-search-bar {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .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: 0.85rem;
        color: var(--dark);
    }
   
    .search-results .result-item .price {
        font-size: 0.8rem;
        color: var(--primary);
    }
}
/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}
/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Beautiful gradient backgrounds for sections */
.popular-section {
    background: var(--background);
    color: var(--text);
}
.popular-section .text-white {
    color: var(--text) !important;
}
.popular-section .btn-light {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
}
.popular-section .btn-light:hover {
    background: var(--border);
    color: var(--text);
}
/* Compact Benefits Carousel Animation */
.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: 12px;
    padding: 1rem;
    text-align: center;
    width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}
.benefit-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.benefit-card-compact .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1.5rem;
    color: var(--text-light);
}
.benefit-card-compact .icon.bg-primary { background: var(--primary); }
.benefit-card-compact .icon.bg-success { background: var(--success); }
.benefit-card-compact .icon.bg-warning { background: var(--warning); }
.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: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}
.benefit-card-compact p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .benefit-card-compact {
        width: 140px;
        padding: 0.75rem;
    }
   
    .benefit-card-compact .icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
   
    .benefit-card-compact h6 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
   
    .benefit-card-compact p {
        font-size: 0.75rem;
    }
   
    .benefits-section {
        margin-top: 1rem;
        padding: 1.5rem 0 !important;
    }
   
    .benefits-section .text-center.mb-4 {
        margin-bottom: 1rem !important;
    }
   
    .benefits-section h2 {
        font-size: 1.25rem !important;
        color: var(--dark);
    }
   
    .animate-scroll {
        animation-duration: 20s;
    }
}
/* Fix overlapping z-index issues */
.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;
}
/* Smooth transitions */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}
.toast {
    transition: opacity 0.3s ease;
}
/* Mobile spacing fixes */
@media (max-width: 768px) {
    .hero-section {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
   
    .category-nav {
        margin-top: 0 !important;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
   
    .benefits-section {
        margin-top: 0.5rem !important;
        padding: 1rem 0 !important;
    }
   
    .popular-section {
        padding: 1.5rem 0 !important;
    }
   
    .ki-recommendation-section {
        padding: 1.5rem 0 !important;
    }
}
/* Rating Stars */
.rating {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}
.rating-star {
    color: var(--warning);
    font-size: 0.9rem;
    margin-right: 1px;
}
.rating-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}
/* Mobile Search Bar Styling */
.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: white !important;
    border: 1px solid #ddd !important;
    border-radius: 0 0 20px 20px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    z-index: 9999 !important;
    display: none;
}
.mobile-search-bar .search-results.show {
    display: block !important;
}
.mobile-search-bar .search-results.show {
    display: block;
}
.mobile-search-bar .result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.mobile-search-bar .result-item:hover {
    background-color: 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: 600;
    color: var(--dark);
    margin-bottom: 2px;
}
.mobile-search-bar .result-item .price {
    color: var(--primary);
    font-weight: 600;
}
/* Enhanced Last Orders Cards */
.last-orders-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.last-order-card {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.last-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.last-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.last-order-number {
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.last-order-date {
    color: #6c757d;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.last-order-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.last-order-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.last-order-total {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.last-order-items {
    color: #6c757d;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reorder-btn {
    border-radius: 20px;
    padding: 6px 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reorder-btn:hover {
    transform: translateY(-1px);
}

.last-order-status {
    display: flex;
    justify-content: flex-start;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-badge.delivered {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.benefit-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.benefit-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.benefit-item span {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}

/* Reorder section - Improved styling */
.reorder-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid #dee2e6;
}
.last-orders-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}
.last-order-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.last-order-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.last-order-number {
    font-weight: 600;
    color: var(--dark);
}
.last-order-date {
    color: #6c757d;
    font-size: 0.875rem;
}
.last-order-details {
    display: flex;
    justify-content: between;
    align-items: center;
}
.last-order-total {
    font-weight: 600;
    color: var(--primary);
}
.last-order-items {
    color: #6c757d;
    font-size: 0.875rem;
}
/* Remove sticky header on desktop */
@media (min-width: 769px) {
    .sticky-order-btn {
        display: none !important;
    }
}
/* Adjust menu grid for more products */
@media (min-width: 769px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop for 12 products */
        gap: 15px;
    }
}
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 column on mobile for one per line */
        gap: 10px;
    }
}

/* Mobile-optimized signup prompt */
@media (max-width: 768px) {
  .signup-cart-prompt {
    bottom: 70px !important;
    right: 10px !important;
    width: 120px !important;
    z-index: 999;
  }
  .signup-cart-prompt .card {
    width: 120px !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--secondary), #ffb300);
  }
  .signup-cart-prompt .card-body {
    padding: 0.6rem !important;
    text-align: center;
  }
  .signup-cart-prompt .card-body div:first-child {
    font-size: 0.7rem !important;
    margin-bottom: 0.2rem;
  }
  .signup-cart-prompt .fw-bold {
    font-size: 0.75rem !important;
    margin-bottom: 0.2rem;
  }
  .signup-cart-prompt .loyalty-info {
    font-size: 0.55rem !important;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* Make it less obtrusive */
  .signup-cart-prompt {
    opacity: 0.9;
    transition: all 0.3s ease;
  }
  .signup-cart-prompt:hover {
    opacity: 1;
    transform: scale(1.05);
  }
  /* Mobile FAB Version */
  .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: linear-gradient(135deg, var(--secondary), #ffb300);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .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: var(--dark);
  }
  /* Add subtle pulse animation to attract attention */
  @keyframes subtle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
  .signup-cart-prompt-fab .card {
    animation: subtle-pulse 3s ease-in-out infinite;
  }
  /* Reduce animation for users who prefer reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .signup-cart-prompt-fab .card {
      animation: none;
    }
  }
}
/* Ensure desktop version stays the same */
@media (min-width: 769px) {
  .signup-cart-prompt-fab {
    display: none !important;
  }
}
/* Mobile Category Optimization */
@media (max-width: 768px) {
  .category-carousel-inner {
    gap: 4px !important;
    padding: 0 2px !important;
  }
  .category-item {
    flex: 0 0 30% !important; /* Show 3 categories per row instead of 2 */
    padding: 0 1px !important;
  }
  .category-card {
    padding: 0.4rem 0.3rem !important;
    min-height: 80px !important;
  }
  .category-icon {
    font-size: 1.2rem !important;
    margin-bottom: 0.2rem !important;
  }
  .category-card h5 {
    font-size: 0.65rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0 !important;
  }
}
/* Remove empty space after banner and before categories */
.hero-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.category-nav {
  margin-top: 0 !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}
/* Remove signup strip */
.signup-strip {
  display: none !important;
}
/* Remove "Heute am meisten bestellt" text */
.popular-section .text-muted {
  display: none !important;
}
/* Beautiful animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
/* Enhanced product cards */
.menu-card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}
.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.menu-image-container {
  position: relative;
  overflow: hidden;
}
.menu-image {
  transition: transform 0.5s ease;
}
.menu-card:hover .menu-image {
  transform: scale(1.1);
}
/* Hero steam effect */
.banner-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
  filter: blur(10px);
  animation: rise 3s infinite ease-in-out;
  opacity: 0;
  transform: translateX(-50%);
}
.banner-container::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 70%);
  filter: blur(15px);
  animation: rise 4s infinite ease-in-out 1s;
  opacity: 0;
  transform: translateX(-50%);
}
@keyframes rise {
  0% { transform: translateY(50px) translateX(-50%); opacity: 0; }
  50% { transform: translateY(0) translateX(-50%); opacity: 0.5; }
  100% { transform: translateY(-50px) translateX(-50%); opacity: 0; }
}
/* Category icon animation */
.category-icon:hover {
  animation: spin 1s linear;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* Shimmer placeholder */
.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; }
}
/* 3D product card effect */
.menu-card {
  perspective: 1000px;
}
.menu-image-container {
  transform: rotateY(5deg);
  transition: transform 0.3s ease;
}
.menu-card:hover .menu-image-container {
  transform: rotateY(0deg);
}
.menu-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
  opacity: 0;
  animation: glow 2s infinite;
}
@keyframes glow {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.3; }
}
/* Shiny popup */
.loyalty-tab .card::after, .signup-cart-prompt .card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}
.loyalty-tab .card:hover::after, .signup-cart-prompt .card:hover::after {
  opacity: 1;
}
/* Ingredient showcase */
.ingredient-showcase {
  background: #f8f9fa;
  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: 0.2s; }
.ingredient:nth-child(3) { animation-delay: 0.4s; }
.ingredient:nth-child(4) { animation-delay: 0.6s; }
@keyframes dance {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
/* Tap to call - Fixed position to avoid overlap */
.call-btn {
  position: fixed;
  bottom: 80px; /* Positioned above the sticky order button */
  left: 20px;
  background: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-size: 1.2rem;
  text-decoration: none;
}
.call-btn:hover {
  background: #e63939;
  color: white;
}
/* Smooth gradients between sections */
section {
  transition: background 0.5s ease;
}
.benefits-section {
  background: linear-gradient(to bottom, white, #f8f9fa);
}
.popular-section {
  background: linear-gradient(to bottom, #f8f9fa, white);
}
.ki-recommendation-section {
  background: linear-gradient(to bottom, white, #56ab2f);
}
.how-it-works-section {
  background: linear-gradient(to bottom, #a8e063, white);
}
/* Reviews section */
.reviews-section {
  background: white;
  padding: 3rem 0;
}
.review-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  margin: 0.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.review-stars i {
  color: #ffc107;
}
/* Compact Benefits Carousel Animation */
.benefits-carousel {
  position: relative;
  overflow: hidden;
}
.animate-scroll {
  animation: scroll 25s linear infinite;
  display: flex;
  width: max-content;
}
.benefit-card-compact {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  width: 180px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  border: 1px solid #f0f0f0;
}
.benefit-card-compact:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.benefit-card-compact .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1.5rem;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .benefit-card-compact {
    width: 140px;
    padding: 0.75rem;
  }
  .benefit-card-compact .icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .benefit-card-compact h6 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
  }
  .benefit-card-compact p {
    font-size: 0.75rem;
  }
  .benefits-section {
    margin-top: 1rem;
    padding: 1.5rem 0 !important;
  }
  .benefits-section .text-center.mb-4 {
    margin-bottom: 1rem !important;
  }
  .benefits-section h2 {
    font-size: 1.25rem !important;
  }
  .animate-scroll {
    animation-duration: 20s;
  }
}
/* Force header/navbar BELOW search */
header, .navbar, .navbar-fixed-top, .site-header, .header {
    z-index: 900 !important;
}
/* FINAL: RED BUTTON - WHITE TEXT & ARROW ALWAYS - GLOW ON HOVER */
.glowing-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.8rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: white !important;
    background: #e63946 !important;
    border: 2px solid #e63946 !important;
    border-radius: 0.375rem !important;
    text-decoration: none !important;
    overflow: hidden;
    transition: all 0.3s ease !important;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.glowing-btn i {
    color: white !important;
    font-size: 1.1rem !important;
}

/* Glow Shine Effect on Hover */
.glowing-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.glowing-btn:hover::before {
    left: 100%;
}

/* Hover: Slightly Darker Red + Lift + Glow */
.glowing-btn:hover {
    background: #d62839 !important;
    border-color: #d62839 !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.6) !important;
}

.glowing-btn:hover i {
    color: white !important;
}
/* UNIFIED PRODUCT CARD - SAME AS MENU PAGE */
.unified-product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.unified-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #e63946;
}

.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: 600;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.unified-product-card .card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e63946;
    margin-top: auto;
}

/* SMALL VERSION FOR KI ALTERNATIVES */
.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: 0.8rem;
    -webkit-line-clamp: 1;
}

.unified-product-card.small .card-price {
    font-size: 0.9rem;
}
/* === BEAUTIFUL BENEFITS - EXACT COPY FROM register.php === */
.left-panel-benefits {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,249,250,0.95));
    padding: 30px;
    border-radius: 20px;
    margin: 20px 0;
    border: 1px solid rgba(230,57,70,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 0;
}

.benefit-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 120px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255,255,255,1);
    box-shadow: 0 15px 35px rgba(230,57,70,0.2);
    border-color: #e63946;
}

.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, 0.15));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.benefit-text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: #333;
}

/* Mobile: 1 per row */
@media (max-width: 768px) {
    .left-panel-benefits {
        padding: 20px;
        margin: 15px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .benefit-card {
        flex-direction: row;
        text-align: left;
        min-height: auto;
        padding: 15px;
        gap: 12px;
    }
    
    .benefit-icon {
        font-size: 1.6rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .benefit-text {
        font-size: 0.85rem;
    }
}
/* === KI STATS - MOBILE: 1 PER LINE === */
@media (max-width: 768px) {
    .ki-personality .row {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .ki-personality .col-4 {
        width: 100%;
        text-align: center;
    }
    
    .ki-stat {
        margin-bottom: 0 !important;
        width: 100%;
    }
    
    .ki-stat i {
        font-size: 1.4rem;
    }
    
    .ki-stat small {
        font-size: 0.8rem;
    }
}
/* === LOYALTY TAB - MOBILE: ZERO GAP, STAR TOUCHES TEXT === */
@media (max-width: 768px) {
    .loyalty-tab .card-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.6rem !important;
        text-align: center;
        gap: 3px;
        font-size: 0.75rem !important;
        line-height: 1.2;
    }

    .loyalty-tab .card-body > div:first-child {
        display: flex;
        align-items: center;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1;
        white-space: nowrap;
    }

    .loyalty-tab .card-body > div:first-child i {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 1em !important;
        line-height: 1;
    }

    .loyalty-tab .card-body > div:first-child span,
    .loyalty-tab .card-body > div:first-child strong {
        margin: 0 0 0 1px !important;
        padding: 0 !important;
        font-size: 1em !important;
        line-height: 1;
    }

    .loyalty-tab .card-body .fw-bold {
        font-size: 0.75rem !important;
        margin: 1px 0 0 0 !important;
        line-height: 1.2;
    }

    .loyalty-tab .progress {
        height: 6px;
        margin: 3px 0 0 0;
        width: 80%;
    }
}
/* FIX: Modal below search bar on mobile */
@media (max-width: 768px) {
  #productModal .modal-dialog {
    margin-top: 70px !important;
  }
}
/* ========= HERO DOTS – FINAL VERSION: klein & edel auf Handy ========= */
.hero-dots-container {
    position: absolute;
    bottom: 28px;           /* etwas höher auf Handy */
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    pointer-events: all;
}

/* Normaler Punkt */
.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 1.5px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: all 0.35s ease;
    cursor: pointer;
}

/* Hover (leicht größer + heller) */
.hero-dot:hover {
    background: rgba(255,255,255,0.6);
    transform: scale(1.2);
}

/* Aktiver Punkt – nur etwas größer, nicht riesig */
.hero-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.4);
    box-shadow: 0 0 12px rgba(255,255,255,0.9);
}

/* Extra klein & clean auf Handy */
@media (max-width: 768px) {
    .hero-dots-container { bottom: 18px; }
    .hero-dot { width: 7px; height: 7px; border-width: 1.3px; }
    .hero-dot.active { transform: scale(1.5); }
}