/* ============================================
   Cafetaria Deest - Homepage
   Clean & simple like New York Pizza
   Colors: Charcoal + Red (matching the building)
   ============================================ */

/* ---- Warm background with large blobs ---- */
.home-bg {
    background-color: #F7F7F7;
    background-image:
        radial-gradient(ellipse 600px 800px at -5% 85%, rgba(255,255,255,0.6) 0%, transparent 70%),
        radial-gradient(ellipse 700px 600px at 105% 15%, rgba(255,255,255,0.5) 0%, transparent 70%);
    overflow-x: hidden;
}

/* ---- Promo Banner (NYP style) ---- */
.banner-section {
    padding: 24px 0 8px;
}

.promo-banner {
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 280px;
    position: relative;
    background: #2D2D2D url('/theme/images/banner_bg.jpg') center / cover no-repeat;
}

/* Dark overlay so text stays readable */
.promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.promo-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.promo-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.promo-title {
    font-family: var(--font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 0.95;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.promo-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 34px;
    background: #DC2626;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
    box-shadow: 0 10px 24px -6px rgba(220, 38, 38, 0.55), 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.promo-btn:hover {
    background: #EF4444;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -6px rgba(220, 38, 38, 0.65), 0 4px 10px rgba(0, 0, 0, 0.3);
}

.promo-btn:active {
    transform: translateY(0);
}

/* Mobiele "Bekijk het volledige menu"-knop onder de Specialiteiten-carrousel.
   Bewust rustig: zelfde witte kaart-stijl als de productkaarten erboven,
   zodat hij bij de sectie hoort i.p.v. te concurreren met de hero-CTA. */
.specialty-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 16px 0 0;
    padding: 14px 20px;
    background: #fff;
    color: #1A1A1A;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 160ms ease, border-color 160ms ease;
}

.specialty-menu-cta svg {
    width: 17px;
    height: 17px;
    color: var(--red);
    transition: transform 160ms ease;
}

.specialty-menu-cta:active {
    transform: scale(0.98);
    border-color: rgba(220, 38, 38, 0.45);
}

.specialty-menu-cta:active svg {
    transform: translateX(3px);
}

.promo-info {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 12px;
    padding: 32px 40px;
    align-self: stretch;
}

/* ---- Brand-tekst met muis-volgende spotlight (Laravel error-style) ---- */
.promo-brand {
    position: relative;
    font-family: var(--font);
    font-size: clamp(1rem, 1.4vw, 1.55rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.025em;
    text-align: right;
    cursor: default;
    user-select: none;
    /* default-position van de spotlight ver weg → onzichtbaar tot je hovert */
    --mx: -300px;
    --my: -300px;
}

/* Base laag = dimmed witte letters */
.promo-brand-base {
    color: rgba(255, 255, 255, 0.16);
    display: inline-block;
    transition: color 400ms ease;
}

/* Glow laag = witte radial gradient die via background-clip alleen op de
   letters zichtbaar is, en het center volgt de muis (--mx/--my) */
.promo-brand-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle 130px at var(--mx) var(--my),
        rgba(255, 255, 255, 0.78) 0%,
        rgba(255, 255, 255, 0.45) 28%,
        rgba(255, 255, 255, 0.15) 55%,
        transparent 75%
    );
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    pointer-events: none;
    transition: filter 300ms ease;
}

.promo-brand:hover .promo-brand-base {
    color: rgba(255, 255, 255, 0.28);
}

.promo-brand:hover .promo-brand-glow {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.18));
}

/* Op mobile niet tonen — alleen vanaf md (768px) */
@media (max-width: 767px) {
    .promo-brand { display: none; }
}

.promo-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    line-height: 1.3;
}

.promo-info-item strong {
    font-weight: 700;
    color: white;
}

.promo-info-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Mobile overlay - hidden on desktop */
.promo-mobile-overlay {
    display: none;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    padding: 16px 36px;
    background: var(--red);
    color: white;
}

.btn-primary:hover {
    background: var(--red-dark);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.btn-dark {
    padding: 16px 36px;
    background: #1A1A1A;
    color: white;
    border: 2px solid #444;
}

.btn-dark:hover {
    background: #333;
    border-color: #666;
}

.btn-outline-dark {
    padding: 14px 28px;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-outline-dark:hover {
    border-color: var(--red);
    color: var(--red);
}

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

/* ---- Search Bar ---- */
.search-section {
    padding: 20px 0 0;

}

.search-bar-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 0 16px;
    height: 56px;
    transition: all 200ms ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.search-bar-wrap:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1), 0 2px 8px rgba(0,0,0,0.06);
}

.search-bar-wrap.search-active {
    border-radius: 14px 14px 0 0;
    border-bottom-color: var(--border);
}

.search-icon {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 200ms;
}

.search-bar-wrap:focus-within .search-icon {
    color: var(--red);
}

.search-input-wrap {
    flex: 1;
    position: relative;
    height: 100%;
    margin-left: 12px;
}

.search-input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    font-family: var(--font);
    color: var(--text);
    position: relative;
    z-index: 2;
}

.search-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    font-family: var(--font);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    gap: 0;
    white-space: nowrap;
    overflow: hidden;
}

.search-placeholder-static {
    color: #9CA3AF;
    font-weight: 500;
    margin-right: 1px;
}

.search-placeholder-animated {
    color: var(--red);
    font-weight: 500;
    min-width: 0;
}

.search-placeholder-cursor {
    animation: blink 1s step-end infinite;
    color: var(--red);
    font-weight: 300;
    margin-left: -1px;
    opacity: 0.6;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.search-clear {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--bg-gray);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 150ms;
}

.search-clear:hover {
    background: var(--border);
    color: var(--text);
}

.search-clear svg {
    width: 16px;
    height: 16px;
}

/* "Bedoel je soms?" header — verschijnt bij fuzzy fallback (typo's) */
.search-suggestion-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px 10px;
    background: linear-gradient(90deg, rgba(252, 211, 77, 0.16) 0%, rgba(252, 211, 77, 0.04) 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.22);
    font-size: 0.8rem;
    font-weight: 600;
    color: #78350f;
    line-height: 1.35;
}
.search-suggestion-header svg {
    width: 18px;
    height: 18px;
    color: #f59e0b;
    flex-shrink: 0;
    animation: search-bulb-pulse 1.6s ease-in-out infinite;
}
.search-suggestion-header strong {
    color: #b91c1c;
    font-weight: 700;
}
@keyframes search-bulb-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.12); opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
    .search-suggestion-header svg { animation: none; }
}

/* Search results dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 2px);
    left: -2px;
    right: -2px;
    background: white;
    border: 2px solid var(--border);
    border-top: 1px solid var(--border);
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    /* Onder de sticky navbar (z-50 Tailwind = 50), boven page-content */
    z-index: 40;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text);
    transition: background 150ms;
    cursor: pointer;
    background: #ffffff;
}

/* Subtle alternating row tint zodat items duidelijk losse cards lijken */
.search-result-item:nth-child(even) {
    background: #FAFAF9;
}

/* Dunne scheidingslijn tussen items */
.search-result-item + .search-result-item {
    border-top: 1px solid #F4F4F2;
}

.search-result-item:hover,
.search-result-item:nth-child(even):hover {
    background: rgba(220, 38, 38, 0.06);
}

.search-result-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--bg-gray);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.search-result-img svg {
    width: 18px;
    height: 18px;
    color: var(--border);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-cat {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.search-result-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}

.search-result-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
    border-top: 1px solid var(--border);
    cursor: pointer;
    transition: background 150ms;
}

.search-result-all:hover {
    background: var(--bg-gray);
}

.search-no-results {
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.search-no-results svg {
    width: 32px;
    height: 32px;
    color: var(--border);
}

.search-no-results p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.search-no-results p strong {
    color: var(--text);
}

.search-browse-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
    cursor: pointer;
    padding: 6px 14px;
    border: 1px solid var(--red);
    border-radius: 20px;
    transition: all 150ms;
    margin-top: 4px;
}

.search-browse-link:hover {
    background: var(--red);
    color: white;
}

/* ---- Category Pills ---- */
.categories-section {
    padding: 40px 0 24px;

}

.categories-pills-wrap {
    position: relative;
}

.categories-scroll {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 10px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.categories-scroll::-webkit-scrollbar { display: none; }

/* Chevron-knoppen om door categorieën te scrollen — alleen desktop */
.categories-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid #EFEAE6;
    box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.18);
    display: none;
    align-items: center;
    justify-content: center;
    color: #1C1917;
    transition: background-color 180ms ease,
                color 180ms ease,
                border-color 180ms ease,
                transform 200ms ease,
                box-shadow 200ms ease;
}

.categories-nav:hover,
.categories-nav:focus-visible {
    background: #DC2626;
    color: white;
    border-color: #DC2626;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 12px -2px rgba(220, 38, 38, 0.45);
    outline: none;
}

.categories-nav-prev { left: -6px; }
.categories-nav-next { right: -6px; }

.categories-nav svg {
    width: 16px;
    height: 16px;
}

.categories-nav[hidden] { display: none !important; }

@media (min-width: 768px) {
    .categories-nav { display: inline-flex; }
    /* Extra ruimte zodat pills onder de chevrons doorscrollen — eerste/laatste
       blijven dus altijd klikbaar buiten de chevron-zone */
    .categories-scroll {
        padding-left: 52px;
        padding-right: 52px;
    }
    /* Geen padding wanneer de bijbehorende chevron verborgen is (nog niet
       gescrolld) — zo lijnt de eerste pill netjes uit met de content-container
       en sluit aan op de zoekbalk erboven. */
    .categories-pills-wrap:not(.can-scroll-left) .categories-scroll {
        padding-left: 0;
    }
    .categories-pills-wrap:not(.can-scroll-right) .categories-scroll {
        padding-right: 0;
    }
}

.category-pill {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px 6px 6px;
    background: #ffffff;
    border: 1.5px solid #EFEAE6;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 700;
    color: #1C1917;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 200ms ease, color 200ms ease,
                box-shadow 200ms ease, transform 200ms ease,
                background-color 200ms ease;
    cursor: pointer;
    letter-spacing: -0.005em;
}

.category-pill:hover {
    z-index: 3;
    border-color: #FCA5A5;
    background: #FFFBFA;
    color: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -8px rgba(220, 38, 38, 0.30);
}
.category-pill:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px -4px rgba(220, 38, 38, 0.30);
}

.category-pill .pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #DC2626;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    transition: background-color 200ms ease, transform 220ms ease, box-shadow 200ms ease;
    box-shadow: 0 2px 6px -2px rgba(220, 38, 38, 0.5);
}

.category-pill:hover .pill-icon {
    background: #B91C1C;
    transform: scale(1.05);
    box-shadow: 0 4px 10px -2px rgba(220, 38, 38, 0.55);
}

.category-pill .pill-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* ---- Popular Section ---- */
.popular-section {
    padding: 16px 0 48px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-head h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.section-head .section-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

.popular-view-all {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.popular-view-all:hover {
    text-decoration: underline;
}

/* Grid: 2 cols mobile, 3 cols tablet, 4 cols desktop */
.popular-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Card */
.popular-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.popular-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-2px);
}

/* Image area */
.popular-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    background: var(--bg-gray);
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.popular-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 300ms ease;
}

.popular-card:hover .popular-card-visual img {
    transform: scale(1.06);
}

.popular-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal-dark);
}

.popular-card-placeholder span {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
}

.popular-card-logo {
    max-width: 50%;
    max-height: 50%;
    object-fit: contain;
    opacity: 0.3;
    filter: brightness(0) invert(1);
}

/* Card body */
.popular-card-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.popular-card-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
}

.popular-card-name:hover {
    color: var(--red);
}

.popular-card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

/* Footer row: price + add button */
.popular-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popular-card-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}

.popular-card-add {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--red);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.popular-card-add:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(220,38,38,0.3);
}

.popular-card-add:active {
    transform: scale(0.9);
}

.popular-card-add.added {
    background: var(--green);
}

.popular-card-add svg {
    width: 16px;
    height: 16px;
}

/* ---- Drinks Section ---- */
.drinks-section {
    padding: 0 0 48px;
    position: relative;
    z-index: 2;
}

/* Carousel wrapper */
.drinks-carousel {
    position: relative;
    padding-top: 28px;
    z-index: 1;
}

.drinks-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding-top: 60px;
    padding-bottom: 24px;
    padding-left: 8px;
    padding-right: 8px;
    margin-top: -32px;
}

.drinks-track::-webkit-scrollbar { display: none; }

/* Nav buttons */
.drinks-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all var(--transition);
    color: var(--text);
}

.drinks-nav:hover {
    background: var(--charcoal-dark);
    color: white;
    border-color: transparent;
}

.drinks-nav svg {
    width: 20px;
    height: 20px;
}

.drinks-nav-prev { left: -22px; }
.drinks-nav-next { right: -22px; }

/* Card */
.drink-card {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: calc(16.666% - 14px);
    min-width: 145px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: visible;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.drink-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-2px);
}

/* Card top - BG image area */
.drink-card-top {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 160px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

/* BG via pseudo-element zodat overflow visible werkt.
   image-set() levert WebP aan moderne browsers (11KB) en PNG-fallback (499KB) — was 3.4MB. */
.drink-card-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #2D2D2D;
    background-image: url('/theme/images/bg_drinks_card.png');
    background-image: image-set(
        url('/theme/images/bg_drinks_card.webp') type('image/webp') 1x,
        url('/theme/images/bg_drinks_card.png') type('image/png') 1x
    );
    background-image: -webkit-image-set(
        url('/theme/images/bg_drinks_card.webp') type('image/webp') 1x,
        url('/theme/images/bg_drinks_card.png') type('image/png') 1x
    );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--radius) var(--radius) 0 0;
    z-index: 0;
}

/* Product image - steekt boven de card uit */
/* Product image: groot, steekt boven card uit */
.drink-card-product-img {
    position: absolute;
    left: 50%;
    top: -27%;
    transform: translateX(-50%);
    height: 135%;
    width: auto;
    max-width: 55%;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.45));
    transition: transform 300ms ease;
    z-index: 2;
    pointer-events: none; /* klikken moeten door naar add-knop */
}

.drink-card:hover .drink-card-product-img {
    transform: translateX(-50%) scale(1.06) translateY(-4px);
}


/* Fallback icon */
.drink-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
    margin-bottom: 36px;
}

.drink-card:hover .drink-card-icon {
    transform: scale(1.1);
}

.drink-card-icon svg {
    width: 28px;
    height: 28px;
    color: rgba(255,255,255,0.5);
}

/* Card body */
.drink-card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.drink-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    line-height: 1.3;
    display: block;
    margin-bottom: 4px;
}

.drink-card-name:hover {
    color: var(--red);
}

.drink-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.drink-card-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drink-card-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}

.drink-card-add {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.drink-card-add:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(220,38,38,0.3);
}

.drink-card-add:active {
    transform: scale(0.9);
}

.drink-card-add.added {
    background: var(--green);
}

.drink-card-add svg {
    width: 18px;
    height: 18px;
}

/* ---- Info Strip ---- */
.info-strip {
    background: var(--bg-gray);
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.info-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.info-strip-item svg {
    width: 32px;
    height: 32px;
    color: var(--red);
    margin: 0 auto 12px;
}

.info-strip-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.info-strip-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---- CTA Banner ---- */
.cta-banner {
    background: var(--red);
    padding: 48px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-inner h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
}

.cta-inner p {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    margin-top: 4px;
}

.cta-inner .btn-dark {
    border-color: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.cta-inner .btn-dark:hover {
    background: rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.4);
}

/* ============================================
   RESPONSIVE - Mobile First
   ============================================ */

/* ---- Mobile (< 640px) ---- */
@media (max-width: 640px) {
    /* Banner - full image with overlay text */
    .banner-section {
        padding: 0;
    }

    .promo-banner {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 0;
        background-image: url('/theme/images/home_section.jpg');
        background-position: center center;
        background-size: cover;
        aspect-ratio: 4 / 3;
        max-height: 45vh;
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .promo-banner::before {
        background: rgba(0,0,0,0.45);
    }

    /* Hide desktop content on mobile */
    .promo-content {
        display: none;
    }

    .promo-info {
        display: none;
    }

    /* Show mobile overlay */
    .promo-mobile-overlay {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        inset: 0;
        z-index: 3;
        padding: 0 24px;
        text-align: center;
    }

    .promo-mobile-title {
        font-family: var(--font);
        font-size: 1.75rem;
        font-weight: 900;
        color: #FFFFFF;
        letter-spacing: 0.02em;
        margin-bottom: 4px;
        text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }

    .promo-mobile-sub {
        font-size: 0.8rem;
        font-weight: 700;
        color: rgba(255,255,255,0.85);
        letter-spacing: 0.08em;
        margin-bottom: 18px;
        text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    }

    .promo-mobile-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 38px;
        background: #DC2626;
        color: white;
        border: none;
        border-radius: 8px;
        font-family: var(--font);
        font-size: 0.95rem;
        font-weight: 900;
        letter-spacing: 0.05em;
        text-decoration: none;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(220,38,38,0.5);
    }

    /* Search */
    .search-section {
        padding: 16px 0 0;
    }

    .search-bar-wrap {
        height: 50px;
        border-radius: 12px;
        padding: 0 12px;
    }

    .search-bar-wrap.search-active {
        border-radius: 12px 12px 0 0;
    }

    .search-input {
        font-size: 0.82rem;
    }

    .search-placeholder {
        font-size: 0.82rem;
    }

    .search-results {
        border-radius: 0 0 12px 12px;
    }

    .search-result-item {
        padding: 12px 14px;
        gap: 12px;
    }

    .search-result-img {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .search-result-name {
        font-size: 0.88rem;
    }

    .search-result-cat {
        font-size: 0.72rem;
    }

    .search-result-price {
        font-size: 0.88rem;
    }

    .search-result-all {
        padding: 14px;
        font-size: 0.82rem;
    }

    /* Categories */
    .categories-section {
        padding: 20px 0 16px;
    }

    .category-pill {
        padding: 6px 16px 6px 6px;
        font-size: 0.82rem;
        gap: 8px;
    }

    .category-pill .pill-icon {
        width: 30px;
        height: 30px;
    }

    .category-pill .pill-icon svg {
        width: 17px;
        height: 17px;
    }
    .category-pill .pill-icon i {
        font-size: 1rem;
    }

    /* Popular section */
    .popular-section {
        padding: 12px 0 32px;
    }

    .section-head {
        gap: 8px;
        margin-bottom: 14px;
    }

    .section-head h2 {
        font-size: 1.2rem;
    }

    .section-head .section-sub {
        font-size: 0.75rem;
    }

    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .popular-card-visual {
        aspect-ratio: 1;
    }

    .popular-card-visual img {
        padding: 10px;
    }

    .popular-card-body {
        padding: 10px 12px;
    }

    .popular-card-name {
        font-size: 0.82rem;
    }

    .popular-card-desc {
        font-size: 0.72rem;
        margin-bottom: 6px;
    }

    .popular-card-price {
        font-size: 0.9rem;
    }

    .popular-card-add {
        width: 32px;
        height: 32px;
    }

    .popular-card-add svg {
        width: 15px;
        height: 15px;
    }

    /* Drinks */
    .drinks-section {
        padding: 0 0 32px;
    }

    .drinks-carousel {
        padding-top: 20px;
    }

    .drink-card {
        width: 200px;
        min-width: 200px;
    }

    .drink-card-top {
        height: 120px;
    }

    .drink-card-product-img {
        height: 130%;
        max-width: 55%;
        top: -32%;
    }

    .drink-card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 24px;
    }

    .drink-card-icon svg {
        width: 22px;
        height: 22px;
    }

    .drink-card-body {
        padding: 12px 14px;
    }

    .drink-card-name {
        font-size: 0.9rem;
    }

    .drink-card-price {
        font-size: 0.95rem;
    }

    .drink-card-add {
        width: 32px;
        height: 32px;
    }

    .drink-card-add svg {
        width: 16px;
        height: 16px;
    }

    /* Hide nav buttons on mobile - swipe instead */
    .drinks-nav {
        display: none;
    }

    /* Info strip */
    .info-strip {
        padding: 32px 0;
    }

    .info-strip-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: left;
    }

    .info-strip-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .info-strip-item svg {
        margin: 0;
        flex-shrink: 0;
    }

    /* CTA */
    .cta-banner {
        padding: 32px 0;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cta-inner h2 {
        font-size: 1.4rem;
    }

    .btn-dark {
        width: 100%;
        justify-content: center;
    }
}

/* ---- Tablet (641px - 1024px) ---- */
@media (min-width: 641px) and (max-width: 1024px) {
    .promo-banner {
        min-height: 300px;
    }

    .promo-title {
        font-size: 2.8rem;
    }

    .popular-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .info-strip-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .drink-card-product-img {
        height: 185%;
        max-width: 70%;
        top: -50%;
    }
}

/* ---- Desktop large (> 1024px) ---- */
@media (min-width: 1025px) {
    .popular-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .popular-card-body {
        padding: 14px 16px;
    }

    .popular-card-name {
        font-size: 0.92rem;
    }

    .popular-card-price {
        font-size: 1.05rem;
    }

    .popular-card-add {
        width: 36px;
        height: 36px;
    }

    .popular-card-add svg {
        width: 18px;
        height: 18px;
    }

    .drinks-nav {
        display: flex;
    }
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 32px 0 48px;
}

.about-card {
    display: grid;
    grid-template-columns: 1fr;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 55%, #991b1b 100%);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(220, 38, 38, 0.35);
    position: relative;
}

.about-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-card::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -100px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-content {
    padding: 36px 24px 32px;
    color: white;
    position: relative;
    z-index: 2;
}

.about-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: white;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.about-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.about-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin-bottom: 22px;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--red);
    background: white;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all var(--transition);
}

.about-cta:hover {
    gap: 12px;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 28px;
}

.about-stat {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: calc(var(--radius) - 6px);
    padding: 16px 12px;
    text-align: center;
    transition: all var(--transition);
}

.about-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.about-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.about-stat-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 4px;
}

.about-visual {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    order: -1;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 95% center;
    display: block;
}

.about-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(153, 27, 27, 0.55) 100%);
    pointer-events: none;
}

.about-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.about-badge svg {
    width: 22px;
    height: 22px;
    color: var(--red);
    flex-shrink: 0;
}

.about-badge-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
}

.about-badge-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 1px;
}

@media (min-width: 768px) {
    .about-card {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .about-content {
        padding: 48px 44px;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .about-stat {
        padding: 18px 10px;
    }

    .about-stat-value {
        font-size: 1.55rem;
    }

    .about-visual {
        order: 0;
        min-height: 100%;
    }

    .about-visual::after {
        background: linear-gradient(270deg, transparent 60%, rgba(153, 27, 27, 0.4) 100%);
    }

    .about-badge {
        bottom: 24px;
        left: 24px;
        padding: 12px 18px;
    }

    .about-badge-title {
        font-size: 0.92rem;
    }
}

/* ==================== REVIEWS SECTION ==================== */
.reviews-section {
    padding: 16px 0 48px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.review-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-2px);
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars svg {
    width: 18px;
    height: 18px;
    color: #facc15;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--red);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.review-date {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1px;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}


/* Specialiteiten: foto als CSS background (Dranken blijft <img>) */
.drink-card-top--bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
}

/* Specialiteiten: 5 cards vullen exact de hele row vanaf tablet/desktop */
@media (min-width: 641px) {
    .drink-card--specialty {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .drink-card--specialty .drink-card-top {
        height: 220px;
    }

    .drink-card--specialty .drink-card-product-img {
        height: 185%;
        max-width: 100%;
        top: -42%;
    }

    .drink-card--specialty .drink-card-icon {
        width: 80px;
        height: 80px;
    }

    .drink-card--specialty .drink-card-icon svg {
        width: 40px;
        height: 40px;
    }

    /* Pizza Pollo: foto loopt iets buiten de card, dus een tikje kleiner */
    .drink-card--pizza-pollo .drink-card-product-img {
        height: 140%;
        max-width: 75%;
        top: -20%;
    }
}

/* Specialiteiten: cards dichter tegen titel + 'Alles bekijken' (alle schermen) */
.drinks-section--specialty .drinks-carousel {
    padding-top: 4px;
}

.drinks-section--specialty .drinks-track {
    padding-top: 24px;
    margin-top: -16px;
}

/* Specialiteiten op mobile: foto's groter */
@media (max-width: 640px) {
    .drink-card--specialty .drink-card-top {
        height: 160px;
    }

    .drink-card--specialty .drink-card-product-img {
        height: 170%;
        max-width: 95%;
        top: -38%;
    }

    .drink-card--specialty .drink-card-icon {
        width: 64px;
        height: 64px;
    }

    .drink-card--specialty .drink-card-icon svg {
        width: 32px;
        height: 32px;
    }

    .drink-card--pizza-pollo .drink-card-product-img {
        height: 140%;
        max-width: 75%;
        top: -22%;
    }
}
