/* =============================================
   BAGEL BAGEL - Main Stylesheet
   Brand: Special Elite font, blue colors, lowercase
   ============================================= */

/* Font Face */
@font-face {
    font-family: 'Special Elite';
    src: url('fonts/SpecialElite-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Big Limbo';
    src: url('fonts/Big Limbo BT Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --blue-main: #0A0A79;
    --blue-dark: #0A0A57;
    --white: #FFFFFF;
    --red: #CD0000;
    --gray-light: #f5f5f5;
    --gray-border: #ddd;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Special Elite', monospace;
    background-color: var(--white);
    color: var(--blue-main);
    line-height: 1.6;
    text-transform: lowercase;
}

/* ---- Page Transition Loader ---- */
.page-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--white, #fff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.page-loader-icon {
    width: 88px;
    height: 88px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

.page-loader-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.25);
}

.page-loader-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('/assets/bagel.png') center/contain no-repeat;
    animation: pageLoaderFill 1.2s ease-in-out infinite;
    clip-path: inset(0 100% 0 0);
}

.page-loader-text {
    font-family: 'Special Elite', monospace;
    font-size: 13px;
    color: #999;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    animation: pageLoaderPulse 1.8s ease-in-out infinite;
}

@keyframes pageLoaderFill {
    0% { clip-path: inset(0 100% 0 0); }
    40% { clip-path: inset(0 0 0 0); }
    60% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 100% 0 0); }
}

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

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

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

ul, ol {
    list-style: none;
}

/* =============================================
   Header
   ============================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--blue-main);
}

/* When ticker is at top, push header down */
.has-ticker .header {
    top: 50px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 65px;
    width: auto;
}

.nav {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav a {
    font-size: 18px;
    color: var(--blue-main);
    transition: opacity 0.2s;
    text-decoration: none;
}

.nav a:hover {
    text-decoration: underline;
}

.nav a.active {
    text-decoration: underline;
}

.header-icons {
    display: flex;
    gap: 15px;
    justify-self: end;
}

.header-icons a {
    color: var(--blue-main);
    font-size: 18px;
}

.header-icons svg {
    width: 24px;
    height: 24px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--blue-main);
    transition: all 0.3s;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-size: 24px;
    color: var(--blue-main);
}

/* =============================================
   Main Content
   ============================================= */

main {
    padding-top: 20px;
}

.has-ticker main {
    padding-top: calc(20px + 50px); /* content + ticker */
}

.page-main {
    padding-top: 60px;
    min-height: calc(100vh - 60px);
}

/* =============================================
   Hero Section (Home)
   ============================================= */

.hero-section {
    text-align: center;
    padding: 60px 20px 40px;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-tagline {
    font-size: clamp(24px, 5vw, 42px);
    font-weight: normal;
    color: var(--blue-main);
    margin-bottom: 40px;
}

.hero-bagel-img {
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-bagel-img img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.hero-hours {
    font-size: clamp(20px, 4vw, 32px);
    font-weight: normal;
    color: var(--blue-main);
    line-height: 1.4;
}

/* =============================================
   Video Section (Home)
   ============================================= */

.section-video {
    width: 100%;
    padding: 0;
    background: #000;
    overflow: hidden;
}

.video-wrapper {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =============================================
   About Section (Home)
   ============================================= */

.about-section {
    background: var(--white);
    padding: 60px 20px;
    border-top: 2px solid var(--blue-main);
    min-height: calc(100vh - 115px);
    display: flex;
    align-items: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-image figcaption {
    font-style: italic;
    font-size: 12px;
    color: var(--blue-main);
    opacity: 0.7;
    margin-top: 10px;
}

.about-content h3 {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 30px;
    color: var(--blue-main);
}

.about-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--blue-main);
}

.about-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* =============================================
   Buttons
   ============================================= */

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--blue-dark);
    font-family: 'Special Elite', monospace;
    font-size: 14px;
    transition: all 0.25s ease;
    color: var(--white);
    cursor: pointer;
    border: 2px solid var(--blue-dark);
    text-transform: lowercase;
}

.btn:hover {
    background: transparent;
    color: var(--blue-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--blue-main);
    color: var(--blue-main);
}

.btn-outline:hover {
    background: var(--blue-main);
    color: var(--white);
}

/* =============================================
   Footer
   ============================================= */

.footer {
    background: var(--white);
    color: var(--blue-main);
    padding: 40px 20px;
    border-top: 2px solid var(--blue-main);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-location {
    font-size: 13px;
    opacity: 0.7;
    text-align: center;
    line-height: 1.6;
}

.footer-icons {
    display: flex;
    gap: 15px;
}

.footer-icons a {
    color: var(--blue-main);
    font-size: 18px;
}

.footer-nav {
    font-size: 14px;
}

.footer-nav a {
    color: var(--blue-main);
    margin: 0 10px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-legal {
    font-size: 11px;
    opacity: 0.45;
    text-align: center;
}

.footer-legal a {
    color: var(--blue-main);
    margin: 0 6px;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* =============================================
   Menu Page
   ============================================= */

/* ── Menu Page — Classic Centered Layout ── */

.menu-list {
    max-width: 580px;
    margin: 0 auto;
    padding: 50px 24px 100px;
}

/* Step titles: "1. choose your bagel type", "2. choose your bagel" — RED */
.menu-page-title {
    font-family: 'Special Elite', monospace;
    font-size: 38px;
    font-weight: normal;
    color: var(--blue-main);
    text-align: center;
    margin: 0 0 40px;
    text-transform: lowercase;
}

.menu-step-title {
    font-size: 28px;
    font-weight: normal;
    color: #c0392b;
    margin: 0 0 6px;
    text-align: center;
}

.menu-step-title-loose {
    margin-top: 48px;
    margin-bottom: 20px;
}

.menu-step-options {
    font-size: 16px;
    color: var(--blue-main);
    margin: 0 0 32px;
}

/* Individual menu items */
.menu-item {
    margin-bottom: 28px;
}

.menu-item-compact {
    margin-bottom: 12px;
}

.menu-item-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.menu-item-name {
    font-size: 24px;
    font-weight: normal;
    color: var(--blue-main);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item-name sub {
    font-size: 11px;
    opacity: 0.45;
    vertical-align: baseline;
    position: relative;
    bottom: -2px;
}

.menu-item-name-sm {
    font-size: 16px;
    color: var(--blue-main);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item-dots {
    flex: 1;
    border-bottom: 1.5px dotted var(--blue-main);
    opacity: 0.2;
    margin-bottom: 4px;
    min-width: 20px;
}

.menu-item-price {
    font-size: 24px;
    color: var(--blue-main);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item-price-sm {
    font-size: 16px;
    color: var(--blue-main);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item-desc {
    font-size: 14px;
    color: var(--blue-main);
    opacity: 0.75;
    line-height: 1.6;
    margin-top: 5px;
}

.menu-item-desc em {
    font-style: italic;
}

.menu-item-addons {
    font-size: 12px;
    font-style: italic;
    color: #c0392b;
    opacity: 0.75;
    margin-top: 3px;
    line-height: 1.6;
}

.menu-item-allergens {
    font-size: 11px;
    color: var(--blue-main);
    opacity: 0.35;
    margin-top: 3px;
}

/* Bagel type note */
.menu-bagel-note {
    text-align: center;
    font-size: 13px;
    font-style: italic;
    color: var(--blue-main);
    opacity: 0.5;
    margin-top: 44px;
    margin-bottom: 6px;
}

/* Drinks section */
.menu-step-title-drinks {
    font-size: 38px;
    margin-top: 48px;
    margin-bottom: 4px;
}

.menu-drinks-sub {
    font-size: 16px;
    color: var(--blue-main);
    opacity: 0.6;
    margin: 0 0 20px;
    text-align: center;
}

/* Drink + bagel combo callout — clean stamped rectangle */
.menu-combo {
    margin: 44px 0 8px;
    padding: 22px 24px;
    border: 2px solid #c0392b;
    border-radius: 3px;
    background: transparent;
    text-align: center;
}

.menu-combo-title {
    font-size: 20px;
    color: #c0392b;
    margin: 0 0 6px;
}

.menu-combo-body {
    font-size: 14px;
    color: var(--blue-main);
    opacity: 0.8;
    line-height: 1.5;
    margin: 0;
}

/* Sub-section header (drink extras) */
.menu-subsection-title {
    font-size: 20px;
    font-weight: normal;
    color: #c0392b;
    margin: 30px 0 14px;
    text-align: center;
}

/* Small variant / stock note under a compact item */
.menu-item-sub {
    font-size: 11px;
    color: var(--blue-main);
    opacity: 0.4;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

/* Legend at bottom */
.menu-legend {
    text-align: center;
    font-size: 12px;
    color: var(--blue-main);
    opacity: 0.4;
    margin-top: 40px;
    letter-spacing: 0.5px;
}

/* =============================================
   Contact Page
   ============================================= */

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 40px;
    color: var(--blue-main);
}

.contact-info p {
    font-size: 15px;
    color: var(--blue-main);
    margin-bottom: 5px;
}

.contact-info .info-label {
    text-decoration: underline;
    margin-top: 25px;
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--blue-main);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-icons a {
    color: var(--blue-main);
    font-size: 20px;
}

/* Contact Form */
.contact-form-container h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--blue-main);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    color: var(--blue-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    font-family: 'Special Elite', monospace;
    font-size: 14px;
    border: 1px solid var(--blue-main);
    background: var(--white);
    color: var(--blue-main);
    text-transform: lowercase;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-dark);
    box-shadow: 0 0 0 2px rgba(10, 10, 121, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    align-self: flex-start;
    background: var(--blue-dark);
    color: var(--white);
    border: 2px solid var(--blue-dark);
    padding: 16px 40px;
    font-family: 'Special Elite', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: lowercase;
}

.submit-btn:hover {
    background: transparent;
    color: var(--blue-dark);
}

.form-success {
    display: none;
    text-align: center;
    padding: 30px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    margin-top: 20px;
}

.form-success.show {
    display: block;
}

.form-success p {
    color: #2e7d32;
    font-size: 15px;
    margin: 0;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-icons {
        display: none;
    }

    .hero-tagline {
        margin-bottom: 20px;
    }

    .hero-bagel-img {
        margin-bottom: 20px;
    }

    .section-video {
        min-height: auto;
    }

    .video-wrapper {
        min-height: 100svh;
    }

    .video-wrapper video {
        object-position: 20% center;
    }

    .about-section {
        min-height: auto;
        padding: 24px 16px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .nav a {
        font-size: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        width: 100%;
    }

    .contact-section {
        grid-template-columns: 1fr;
        padding: 30px 16px;
    }

    /* On mobile: show title first, then form, then address info */
    .contact-section .contact-info {
        order: 2;
        margin-top: 30px;
    }

    .contact-section .contact-info h2 {
        display: none;
    }

    .contact-section .contact-form-container {
        order: 1;
    }

    .contact-section .contact-form-container::before {
        content: 'reach out!';
        display: block;
        font-size: 28px;
        font-weight: normal;
        color: var(--blue-main);
        margin-bottom: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* Menu page: tighter on mobile */
    .menu-list {
        padding: 36px 20px 60px;
    }

    .menu-step-title {
        font-size: 22px;
    }

    .menu-step-title-drinks {
        font-size: 38px;
    }

    .menu-subsection-title {
        font-size: 18px;
    }

    .menu-combo-title {
        font-size: 18px;
    }

    .menu-item-name {
        font-size: 18px;
    }

    .menu-item-price {
        font-size: 18px;
    }

    .menu-item-addons {
        font-size: 11px;
    }

    /* Contact page: smaller map on mobile */
    .map-section iframe {
        height: 260px !important;
    }

    /* Page main: adjust for island */
    .page-main {
        padding-top: 40px;
        min-height: calc(100svh - 40px);
    }
}

/* Mobile cart indicator in header */
.mobile-header-cart {
    display: none;
    position: relative;
    color: var(--blue-main);
    cursor: pointer;
    padding: 2px;
}

.mobile-header-cart svg {
    width: 18px;
    height: 18px;
}

.mobile-header-cart-badge {
    position: absolute;
    top: -3px;
    right: -5px;
    background: var(--blue-dark);
    color: var(--white);
    font-size: 9px;
    min-width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Special Elite', monospace;
}

.mobile-header-cart-badge.hidden {
    display: none;
}

/* Cart added animation */
@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@keyframes cartPulse {
    0% { box-shadow: 0 0 0 0 rgba(10, 10, 121, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(10, 10, 121, 0); }
    100% { box-shadow: 0 0 0 0 rgba(10, 10, 121, 0); }
}

.mobile-header-cart.animate .mobile-header-cart-badge {
    animation: cartBounce 0.3s ease-out;
}

.mobile-header-cart.animate {
    animation: cartPulse 0.5s ease-out;
}

@media (max-width: 900px) {
    .mobile-header-cart {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* =============================================
   About Section (New Design - Two Column, Full Height)
   ============================================= */

.about-section-new {
    background: var(--blue-main);
    padding: 80px 40px;
    min-height: calc(100vh - 115px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal accent line */
.about-section-new::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 1px;
    height: 200%;
    background: rgba(255, 255, 255, 0.06);
    transform: rotate(25deg);
    pointer-events: none;
}

.about-content-row {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.about-logo-side {
    flex: 0 0 auto;
}

.about-logo-img {
    width: 400px;
    height: auto;
    transition: transform 0.4s ease;
}

.about-logo-img:hover {
    transform: scale(1.03);
}

.about-text-side {
    flex: 1;
}

.about-title-big {
    font-family: 'Big Limbo', 'Special Elite', monospace;
    font-size: clamp(36px, 8vw, 56px);
    font-weight: normal;
    color: var(--white);
    margin-bottom: 30px;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    position: relative;
}

/* Accent underline under the title */
.about-title-big::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 20px;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.about-section-new:hover .about-title-big::after {
    width: 100px;
}

.about-text {
    font-family: 'Special Elite', monospace;
    font-size: clamp(14px, 2.5vw, 20px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-transform: lowercase;
}

/* =============================================
   Locations Section
   ============================================= */

.locations-section {
    background: var(--white);
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.locations-title {
    font-family: 'Big Limbo', 'Special Elite', monospace;
    font-size: clamp(42px, 10vw, 80px);
    font-weight: normal;
    color: var(--blue-main);
    margin-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1;
}

.locations-subtitle {
    font-family: 'Special Elite', monospace;
    font-size: 16px;
    color: rgba(10, 10, 121, 0.5);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-card {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    background: #e5e7eb;
}

/* Active location card */
.location-active {
    cursor: pointer;
}

.location-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.location-active:hover .location-image img {
    transform: scale(1.05);
}

.location-active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 121, 0.7) 0%, transparent 60%);
    pointer-events: none;
}

.location-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1;
}

.location-badge {
    font-family: 'Special Elite', monospace;
    font-size: 10px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    text-transform: lowercase;
    letter-spacing: 1px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 4px;
    backdrop-filter: blur(4px);
}

.location-name {
    font-family: 'Special Elite', monospace;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: normal;
    color: var(--white);
    text-transform: lowercase;
    letter-spacing: 1px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.location-active .location-details {
    opacity: 1;
    transform: none;
}

.location-address,
.location-days,
.location-hours {
    font-family: 'Special Elite', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: lowercase;
    line-height: 1.5;
}

/* Coming soon location cards */
.location-coming-soon {
    cursor: default;
    background: var(--gray-light);
    border-style: dashed;
    border-color: rgba(10, 10, 121, 0.25);
}

.location-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        rgba(10, 10, 121, 0.03) 20px,
        rgba(10, 10, 121, 0.03) 40px
    );
}

.location-placeholder-icon {
    font-family: 'Special Elite', monospace;
    font-size: 48px;
    color: rgba(10, 10, 121, 0.12);
}

.location-coming-soon .location-info {
    background: transparent;
}

.location-coming-soon .location-name {
    color: var(--blue-main);
    opacity: 0.5;
    font-size: clamp(16px, 2vw, 20px);
}

.location-coming-label {
    font-family: 'Special Elite', monospace;
    font-size: 11px;
    color: var(--blue-main);
    opacity: 0.35;
    text-transform: lowercase;
    letter-spacing: 1px;
}

/* =============================================
   See Menu / Photo Gallery Section (Parallax)
   ============================================= */

.see-menu-section {
    position: relative;
    background: var(--blue-main);
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Photo container fills the section */
.see-menu-photos {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Individual floating photos */
.see-menu-photo {
    position: absolute;
    left: var(--start-x, 10%);
    top: var(--start-y, 10%);
    width: var(--width, 200px);
    transform: rotate(var(--rotate, 0deg));
    z-index: 1;
    transition: transform 0.1s linear;
    will-change: transform;
}

.see-menu-photo img {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Center content (title + button) */
.see-menu-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
}

.see-menu-title {
    font-family: 'Big Limbo', 'Special Elite', monospace;
    font-size: clamp(42px, 10vw, 80px);
    font-weight: normal;
    color: var(--white);
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.see-menu-text {
    font-family: 'Special Elite', monospace;
    font-size: clamp(14px, 2.5vw, 18px);
    color: var(--white);
    text-transform: lowercase;
    margin-bottom: 40px;
    line-height: 1.6;
}

.see-menu-btn {
    display: inline-block;
    font-family: 'Special Elite', monospace;
    font-size: 16px;
    color: var(--blue-main);
    background: var(--white);
    padding: 16px 48px;
    border: 2px solid var(--white);
    border-radius: 100px;
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: 1px;
    font-weight: bold;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.see-menu-btn:hover {
    color: var(--white);
    background: transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.see-menu-btn:active {
    transform: scale(0.97);
}

/* Mobile adjustments for see-menu */
@media (max-width: 768px) {
    .see-menu-section {
        min-height: 100svh;
    }

    .see-menu-photo {
        width: calc(var(--width, 200px) * 0.55) !important;
    }

    .see-menu-title {
        font-size: clamp(32px, 10vw, 52px);
    }

    .see-menu-btn {
        font-size: 14px;
        padding: 14px 36px;
    }
}

/* Tablet / narrow-desktop: shrink the photo collage so it doesn't crowd
   the centered title + button (full-size collage only kicks in >=1200px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .see-menu-photo {
        width: calc(var(--width, 200px) * 0.58) !important;
    }
}

@media (min-width: 1025px) and (max-width: 1199px) {
    .see-menu-photo {
        width: calc(var(--width, 200px) * 0.78) !important;
    }
}

/* =============================================
   Loyalty App Section
   ============================================= */

.loyalty-section {
    background: var(--blue-main);
    padding: 80px 40px;
    border-top: 2px solid var(--blue-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loyalty-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1000px;
    width: 100%;
}

.loyalty-text-side {
    flex: 1;
}

.loyalty-title {
    font-family: 'Big Limbo', 'Special Elite', monospace;
    font-size: clamp(42px, 10vw, 80px);
    font-weight: normal;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
}

.loyalty-subtitle {
    font-family: 'Special Elite', monospace;
    font-size: clamp(14px, 2.5vw, 18px);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
    text-transform: lowercase;
}

/* Steps (1-2-3) */
.loyalty-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.loyalty-step {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
    font-family: 'Special Elite', monospace;
    font-size: clamp(13px, 2vw, 16px);
    text-transform: lowercase;
    transition: transform 0.2s ease;
}

.loyalty-step:hover {
    transform: translateX(6px);
}

.loyalty-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Special Elite', monospace;
    font-size: 15px;
    color: var(--white);
    font-weight: bold;
}

/* Wallet badge buttons */
.loyalty-wallet-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
}

.wallet-badge-btn {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.wallet-badge-btn:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.wallet-badge-btn img {
    height: 64px;
    width: auto;
    display: block;
}

/* Stamp card v2 visual */
.loyalty-visual-side {
    flex: 0 0 auto;
}

.loyalty-stamp-card-v2 {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 28px 24px;
    width: 280px;
    text-align: center;
    transform: rotate(2deg);
    transition: transform 0.4s ease;
    position: relative;
    overflow: hidden;
}

.loyalty-stamp-card-v2::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.loyalty-stamp-card-v2:hover {
    transform: rotate(0deg) scale(1.04);
}

.stamp-card-v2-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Special Elite', monospace;
    font-size: 18px;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.stamp-card-v2-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.stamp-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.stamp-v2 {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stamp-v2.filled {
    background: rgba(255,255,255,0.92);
    border: 2px solid rgba(255,255,255,0.5);
    animation: stampBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: calc(var(--delay, 0) * 0.15s + 0.3s);
}

.stamp-v2.filled img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.stamp-v2.empty {
    background: transparent;
    border: 2px dashed rgba(255,255,255,0.25);
}

.stamp-v2-placeholder {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.stamp-v2.free-stamp {
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
    border: 2px solid rgba(255,255,255,0.5);
    animation: freePulse 2s ease-in-out infinite;
}

.free-label {
    font-family: 'Special Elite', monospace;
    font-size: 11px;
    color: var(--white);
    font-weight: bold;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.stamp-card-v2-footer {
    font-family: 'Special Elite', monospace;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: lowercase;
    letter-spacing: 1px;
}

@keyframes stampBounceIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }
    60% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes freePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255,255,255,0);
    }
}

/* Responsive - loyalty handled in unified mobile section at bottom */

/* =============================================
   Partners Section
   ============================================= */

.partners-section {
    background: var(--white);
    padding: 50px 20px;
    border-top: 2px solid var(--blue-main);
    text-align: center;
}

.partners-title {
    font-family: 'Special Elite', monospace;
    font-size: 16px;
    font-weight: normal;
    color: var(--blue-main);
    margin-bottom: 30px;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .about-section-new {
        padding: 50px 20px;
        min-height: auto;
    }

    .about-content-row {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .about-logo-img {
        width: 220px;
    }

    .about-title-big {
        margin-bottom: 15px;
    }

    .about-title-big::after {
        margin-left: auto;
        margin-right: auto;
    }

    .about-text {
        font-size: 14px;
    }

    .locations-section {
        padding: 50px 16px 60px;
        min-height: auto;
    }

    .locations-grid {
        padding: 0 16px;
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 400px;
    }

    .location-card {
        aspect-ratio: 3 / 4;
    }

    .location-info {
        padding: 10px;
    }

    .location-badge {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 4px;
    }

    .location-name {
        font-size: 16px !important;
        letter-spacing: 0.5px;
    }

    .location-address,
    .location-days,
    .location-hours {
        font-size: 13px;
        line-height: 1.4;
    }

    .location-coming-label {
        font-size: 8px;
    }

    .location-placeholder-icon {
        font-size: 28px;
    }

    .partners-section {
        padding: 40px 16px;
    }

    .partners-logos {
        gap: 30px;
    }

    .partner-logo img {
        max-height: 45px;
    }
}

/* =============================================
   Scrolling Ticker (LAP Coffee inspired)
   ============================================= */

.ticker {
    position: relative;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--blue-main);
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    padding: 14px 0;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    animation: tickerScroll 40s linear infinite;
}

.ticker-item {
    font-family: 'Special Elite', monospace;
    font-size: 16px;
    color: var(--white);
    text-transform: lowercase;
    padding: 0 16px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.ticker-dot {
    color: rgba(255, 255, 255, 0.4);
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    padding: 0 4px;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .ticker-item {
        font-size: 13px;
        padding: 0 12px;
    }

    .ticker-dot {
        padding: 0 2px;
    }
}

/* Scroll reveal animations removed — content always visible */

/* =============================================
   Enhanced Hover Effects
   ============================================= */

.location-active {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-active:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 10, 121, 0.2);
}

.loyalty-step {
    transition: transform 0.2s ease;
}

/* Smooth partner logo scale */
.partner-logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.08);
}

/* =============================================
   Stamp Card Link (clickable to /loyalty)
   ============================================= */

.loyalty-stamp-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.loyalty-stamp-card-link:hover .loyalty-stamp-card-v2 {
    transform: rotate(0deg) scale(1.04);
}

/* =============================================
   Floating Island (LAP Coffee inspired)
   Single unified shape that expands upward
   ============================================= */

/* Hide desktop header — island replaces it everywhere */
.header {
    display: none !important;
}

/* ---- Floating Top-Left Logo ---- */
.top-logo {
    position: fixed;
    top: 64px;
    left: 28px;
    z-index: 1001;
    width: 60px;
    height: 60px;
}

.has-ticker .top-logo {
    top: 64px;
}

.top-logo img {
    position: absolute;
    top: 0;
    left: 0;
    height: 60px;
    width: 60px;
    max-width: none;
    display: block;
    transition: opacity 0.25s ease;
}

.top-logo .top-logo-blue {
    opacity: 1;
    filter: drop-shadow(0 1px 6px rgba(0,0,0,0.15));
}
.top-logo .top-logo-white {
    opacity: 0;
    filter: drop-shadow(0 1px 6px rgba(0,0,0,0.3));
}

/* ---- Language Switcher (NL | EN) ---- */
.lang-switch {
    position: fixed;
    top: 80px;
    right: 28px;
    z-index: 1001;
    display: flex;
    background: color-mix(in srgb, var(--blue-main) 9%, transparent);
    border-radius: 20px;
    padding: 4px;
    font-family: 'Special Elite', monospace;
    isolation: isolate;
    --thumb-x: 0%;
}

.lang-switch:has(.lang-btn[data-lang="en"].active) {
    --thumb-x: 100%;
}

.lang-switch::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    background: var(--blue-main);
    border-radius: 16px;
    transform: translateX(var(--thumb-x));
    transition: transform 340ms cubic-bezier(0.65, -0.08, 0.3, 1.22);
    z-index: 0;
    pointer-events: none;
}

.lang-switch.morphing::before {
    animation: lang-morph 340ms ease-in-out;
}

@keyframes lang-morph {
    0%   { border-radius: 16px; }
    45%  { border-radius: 5px; }
    100% { border-radius: 16px; }
}

.lang-btn {
    position: relative;
    z-index: 1;
    background: none;
    border: none;
    padding: 4px 10px;
    font-family: inherit;
    font-size: 13px;
    color: var(--blue-main);
    cursor: pointer;
    border-radius: 16px;
    opacity: 0.55;
    transition: opacity 200ms ease, color 200ms ease;
    text-transform: lowercase;
    line-height: 1;
}

.lang-btn.active {
    opacity: 1;
    font-weight: bold;
    color: #fff;
}

.lang-btn:hover:not(.active) {
    opacity: 0.8;
}

main {
    padding-top: 60px;
}

.has-ticker main {
    padding-top: 0;
}

/* ---- The Island (single unified shape) ---- */
.island-wrapper {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
    background: var(--blue-main);
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    transition: border-radius 0.35s ease-in-out,
                box-shadow 0.3s ease-in-out;
}

/* When expanded: morph from pill to rounded rectangle */
.island-wrapper.expanded {
    border-radius: 20px;
    box-shadow: 0 16px 56px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.2);
}

/* Instant collapse when navigating — no animation shake */
.island-wrapper.navigating,
.island-wrapper.navigating .island-panel,
.island-wrapper.navigating .island-menu-btn span {
    transition: none !important;
}

/* ---- Expandable panel content (hidden by default) ---- */
.island-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: max-height 0.35s ease-in-out,
                opacity 0.25s ease-in-out,
                padding 0.35s ease-in-out;
    padding: 0;
    background: transparent;
    border-radius: 20px 20px 0 0;
    will-change: max-height, opacity;
}

.island-wrapper.expanded .island-panel {
    max-height: 300px;
    opacity: 1;
    padding: 20px 12px 12px;
}

/* Panel nav links */
.island-panel-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.island-panel-links a {
    font-family: 'Special Elite', monospace;
    font-size: 18px;
    color: var(--blue-main);
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 13px 20px;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
    width: 100%;
    text-align: center;
}

.island-panel-links a:hover,
.island-panel-links a:active {
    background: rgba(10, 10, 121, 0.08);
    color: var(--blue-main);
}

/* Stamps link special orange color */
.island-panel-links a.stamps-link {
    color: #e67e22;
}
.island-panel-links a.stamps-link:hover,
.island-panel-links a.stamps-link:active {
    color: #d35400;
    background: rgba(230, 126, 34, 0.08);
}

/* Panel divider */
.island-panel-divider {
    width: calc(100% - 32px);
    height: 1px;
    background: rgba(10, 10, 121, 0.1);
    margin: 8px auto;
    border: none;
}

/* Panel social icons */
.island-panel-social {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 8px 20px 4px;
}

.island-panel-social a {
    color: rgba(10, 10, 121, 0.35);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.island-panel-social a:hover {
    color: var(--blue-main);
}

.island-panel-social svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ---- Bottom bar (logo + hamburger + CTA — always visible) ---- */
.island-pill {
    display: flex;
    align-items: center;
    padding: 10px 12px 10px 17px;
    gap: 10px;
    flex-shrink: 0;
}

.island-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.island-logo img {
    height: 41px;
    width: auto;
    max-width: none;
    display: block;
}

.island-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px 7px;
    background: none;
    border: none;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.island-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all 0.35s ease-in-out;
    display: block;
    border-radius: 2px;
}

/* Hamburger → X animation */
.island-wrapper.expanded .island-menu-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.island-wrapper.expanded .island-menu-btn span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.island-wrapper.expanded .island-menu-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* CTA button */
.island-order-btn {
    background: var(--white);
    color: var(--blue-main) !important;
    font-family: 'Special Elite', monospace;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 19px;
    border-radius: 100px;
    border: none;
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s ease;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.island-order-btn:hover {
    background: rgba(255,255,255,0.9);
    color: var(--blue-main) !important;
    transform: scale(1.03);
}

.island-order-btn:active {
    transform: scale(0.97);
}

/* Hamburger in header hidden */
.hamburger {
    display: none !important;
}

/* Footer extra padding for island */
.footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
}

/* ---- Desktop: horizontal island expansion ---- */
@media (min-width: 769px) {
    .island-wrapper {
        flex-direction: row;
        align-items: center;
        border-radius: 100px;
        transition: border-radius 0.35s ease-in-out,
                    box-shadow 0.3s ease-in-out;
    }

    .island-wrapper.expanded {
        border-radius: 100px;
    }

    /* Panel grows to the left of the pill (natural DOM order) */
    .island-panel {
        flex-direction: row;
        align-items: center;
        border-radius: 0;
        max-height: none;
        max-width: 0;
        padding: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-width 0.4s ease-in-out,
                    opacity 0.35s ease-in-out,
                    padding 0.4s ease-in-out;
        will-change: max-width, opacity;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .island-wrapper.expanded .island-panel {
        max-width: 600px;
        max-height: none;
        opacity: 1;
        padding: 0 4px 0 16px;
    }

    /* Links go horizontal */
    .island-panel-links {
        flex-direction: row;
        gap: 0;
    }

    .island-panel-links a {
        font-size: 15px;
        color: rgba(255,255,255,0.8);
        padding: 8px 14px;
        border-radius: 100px;
        width: auto;
        transition: color 0.2s, background 0.2s;
    }

    .island-panel-links a:hover,
    .island-panel-links a:active {
        background: rgba(255,255,255,0.12);
        color: var(--white);
    }

    .island-panel-links a.stamps-link {
        color: #f0a94e;
    }
    .island-panel-links a.stamps-link:hover,
    .island-panel-links a.stamps-link:active {
        color: #ffc164;
        background: rgba(255,255,255,0.12);
    }

    /* Divider becomes vertical on desktop */
    .island-panel-divider {
        width: 1px;
        height: 20px;
        margin: 0 6px;
        background: rgba(255,255,255,0.2);
    }

    /* Social icons inline */
    .island-panel-social {
        flex-direction: row;
        padding: 0 4px;
        gap: 14px;
    }

    .island-panel-social a {
        color: rgba(255,255,255,0.5);
    }

    .island-panel-social a:hover {
        color: var(--white);
    }

    .island-panel-social svg {
        width: 18px;
        height: 18px;
    }
}

/* ---- Mobile-specific adjustments ---- */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-icons {
        display: none;
    }

    .top-logo {
        top: 16px;
        left: 20px;
        width: 50px;
        height: 50px;
    }

    .has-ticker .top-logo {
        top: 80px;
    }

    .top-logo img {
        height: 50px;
        width: 50px;
    }

    .lang-switch {
        top: 28px;
        right: 16px;
    }

    .has-ticker .lang-switch {
        top: 92px;
    }

    /* Keep logo same size on all pages — no shrinking between pages */

    .ticker {
        padding: 10px 0;
    }

    main {
        padding-top: 44px;
    }

    .has-ticker main {
        padding-top: 0;
    }

    .hero-section {
        min-height: 100svh;
        padding: 100px 16px 90px;
    }

    /* Island on mobile — same as base, no size overrides needed */

    /* Island panel: blue background with white text on mobile
       to match desktop (where panel is transparent over blue wrapper) */
    .island-panel-links a {
        color: rgba(255,255,255,0.8);
    }

    .island-panel-links a:hover,
    .island-panel-links a:active {
        background: rgba(255,255,255,0.12);
        color: var(--white);
    }

    .island-panel-links a.stamps-link {
        color: #f0a94e;
    }

    .island-panel-links a.stamps-link:hover,
    .island-panel-links a.stamps-link:active {
        color: #ffc164;
        background: rgba(255,255,255,0.12);
    }

    .island-panel-divider {
        background: rgba(255, 255, 255, 0.2);
    }

    .island-panel-social a {
        color: rgba(255, 255, 255, 0.6);
    }

    .island-panel-social a:hover {
        color: var(--white);
    }

    /* Mobile nav overlay */
    .mobile-nav {
        z-index: 1001;
        padding-bottom: 100px;
    }

    /* Loyalty section mobile improvements */
    .loyalty-section {
        padding: 50px 20px 80px;
    }

    .loyalty-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .loyalty-title {
        font-size: clamp(32px, 10vw, 52px);
        letter-spacing: 2px;
    }

    .loyalty-subtitle {
        margin-bottom: 24px;
    }

    .loyalty-steps {
        align-items: center;
    }

    .loyalty-step {
        justify-content: center;
    }

    .loyalty-wallet-buttons {
        margin: 0 auto;
        align-items: center;
    }

    .loyalty-stamp-card-v2 {
        transform: rotate(0deg);
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .locations-section {
        padding-bottom: 60px;
    }

    /* Frosted glass header bar on non-home pages
       so the logo doesn't messily overlap content when scrolling */
    body:has(.catering-main) .top-logo,
    body:has(.menu-list) .top-logo,
    body:has(.page-main) .top-logo {
        top: 0;
        left: 0;
        width: 100%;
        height: 66px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        display: flex;
        align-items: center;
        padding-left: 20px;
        border-radius: 0;
    }

    body:has(.catering-main) .top-logo img,
    body:has(.menu-list) .top-logo img,
    body:has(.page-main) .top-logo img {
        height: 50px;
        width: 50px;
        position: relative;
    }

    /* On non-home pages (frosted bar), position lang switch inside the bar */
    body:has(.catering-main) .lang-switch,
    body:has(.menu-list) .lang-switch,
    body:has(.page-main) .lang-switch {
        top: 18px;
        right: 16px;
    }
}

/* ===== Coming Soon — Rewards ===== */

/* Homepage loyalty section: blur content + red banner overlay */
.loyalty-section.coming-soon-section {
    position: relative;
}

.loyalty-section.coming-soon-section .loyalty-content {
    filter: blur(20px);
    -webkit-filter: blur(20px);
    pointer-events: none;
    user-select: none;
    opacity: 0.6;
}

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-6deg);
    background: #dc2626;
    color: #fff;
    font-family: 'Special Elite', monospace;
    font-size: clamp(32px, 6vw, 56px);
    padding: 18px 56px;
    text-transform: lowercase;
    letter-spacing: 4px;
    z-index: 10;
    white-space: nowrap;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Nav rewards link: blurred with small "coming soon" badge */
.coming-soon-nav {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.coming-soon-nav a {
    filter: blur(3px);
    -webkit-filter: blur(3px);
    pointer-events: none;
    opacity: 0.5;
}

.coming-soon-nav .coming-soon-tag {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    background: #dc2626;
    color: #fff;
    font-family: 'Special Elite', monospace;
    font-size: 8px;
    padding: 2px 7px;
    border-radius: 3px;
    white-space: nowrap;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    z-index: 1;
    pointer-events: none;
    line-height: 1.3;
}

/* Footer variant — inline, slightly bigger */
.footer-nav .coming-soon-nav .coming-soon-tag {
    font-size: 7px;
}

/* Mobile nav — bigger badge */
.mobile-nav .coming-soon-nav {
    display: flex;
    justify-content: center;
}

.mobile-nav .coming-soon-nav .coming-soon-tag {
    font-size: 10px;
    padding: 3px 10px;
}

/* Island panel variant — badge overlays blurred "rewards" like a sign */
.island-panel-links .coming-soon-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.island-panel-links .coming-soon-nav a {
    filter: blur(2px);
    -webkit-filter: blur(2px);
    opacity: 0.6;
}

.island-panel-links .coming-soon-nav .coming-soon-tag {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    font-size: 7px;
    padding: 2px 6px;
}

@media (max-width: 768px) {
    .coming-soon-overlay {
        font-size: clamp(24px, 5vw, 36px);
        padding: 14px 32px;
        letter-spacing: 3px;
    }
}

/* deployed v7 — mobile optimization */

/* =============================================
   FLAPPY BAGEL MINIGAME
   ============================================= */
.section-divider {
    border: none;
    border-top: 2px solid #0a0a79;
    opacity: 0.15;
    width: 60%;
    margin: 0 auto;
}

.flappy-section {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white);
    height: 100svh;
    min-height: 100svh;
    box-sizing: border-box;
    overflow: hidden;
}

#flappyEndedBanner.flappy-section {
    background: transparent;
}

.flappy-container {
    position: relative;
    /* width & height set by JS sizeCanvas() to match canvas */
    container-type: inline-size;
}

#flappyCanvas {
    display: block;
    /* width & height set by JS sizeCanvas() */
    touch-action: pan-y;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    /* GPU compositing for smooth rendering */
    will-change: transform;
    contain: strict;
}

/* Inline register form (positioned over canvas, matches canvas text style) */
/* top is set dynamically in JS to align with "tap to play" position */
.flappy-register {
    position: absolute;
    left: 50%;
    top: 50.8%;
    transform: translate(-50%, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2cqw;
    width: 72%;
    max-width: 280px;
    padding-top: 0;
}

.flappy-reg-input {
    width: 100%;
    background: none;
    border: none;
    font-family: 'Special Elite', monospace;
    font-size: 2.67cqw; /* matches canvas 16px / 600px */
    color: #0a0a79;
    text-align: center;
    padding: 1.33cqw 0.67cqw 1cqw;
    outline: none;
    text-transform: lowercase;
}

.flappy-reg-input::placeholder {
    color: #0a0a79;
    opacity: 0.3;
}

.flappy-reg-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 6px;
    font-family: 'Special Elite', monospace;
    font-size: 1.83cqw;
    color: #0a0a79;
    opacity: 0.35;
    cursor: pointer;
    user-select: none;
    text-align: left;
    width: 100%;
    transition: opacity 0.2s;
}

.flappy-reg-consent:has(input:checked) {
    opacity: 0.55;
}

.flappy-reg-consent input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #0a0a79;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.flappy-reg-privacy {
    font-family: 'Special Elite', monospace;
    font-size: 1.5cqw;
    color: #0a0a79;
    opacity: 0.35;
    text-decoration: none;
    text-transform: lowercase;
    transition: opacity 0.15s;
}

.flappy-reg-privacy:hover {
    opacity: 0.5;
}

.flappy-reg-error {
    font-family: 'Special Elite', monospace;
    font-size: 1.67cqw;
    color: rgba(10, 10, 121, 0.5);
    min-height: 0;
    margin: 0;
    text-transform: lowercase;
    text-align: center;
}

.flappy-reg-error:not(:empty) {
    min-height: 1.2em;
}

.flappy-reg-play {
    background: none;
    border: 1.5px solid rgba(10, 10, 121, 0.35);
    border-radius: 20px;
    font-family: 'Special Elite', monospace;
    font-size: 2.67cqw; /* matches canvas 16px / 600px */
    color: #0a0a79;
    opacity: 0.55;
    cursor: pointer;
    padding: 0.8cqw 4cqw;
    margin-top: 4px;
    transition: opacity 0.2s, border-color 0.2s;
    text-transform: lowercase;
}

.flappy-reg-play:hover {
    opacity: 0.8;
    border-color: rgba(10, 10, 121, 0.55);
}

/* Desktop register form — full-width container means cqw values work fine */
@media (min-width: 769px) {
    .flappy-register {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .flappy-register {
        gap: 12px;
        max-width: 300px;
        width: 82%;
    }

    /* Prevent iOS zoom on input focus — must be >= 16px */
    .flappy-reg-input {
        font-size: 18px;
        padding: 8px 4px 6px;
    }

    .flappy-reg-consent {
        font-size: 11px;
        gap: 6px;
    }

    .flappy-reg-consent input[type="checkbox"] {
        width: 15px;
        height: 15px;
        margin-top: 1px;
    }

    .flappy-reg-privacy {
        font-size: 10px;
    }

    .flappy-reg-error {
        font-size: 11px;
    }

    .flappy-reg-play {
        font-size: 19px;
        padding: 10px 32px;
        border-radius: 22px;
    }
}

/* ── Flappy Bagel Victory Screen (shareable screenshot card) ── */

/* Victory screen — all styles are inline in home.html for cache-busting reliability */

/* ── FAQ Section (shared, mirrors catering.css cat-faq) ── */

.cat-faq {
    background: var(--white);
    border-top: 2px solid var(--blue-main);
    padding: 80px 40px;
}

.cat-faq-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cat-section-title-blue {
    font-family: 'Big Limbo', 'Special Elite', monospace;
    font-size: clamp(36px, 8vw, 72px);
    font-weight: normal;
    color: var(--blue-main);
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 12px 0;
    text-align: center;
}

.cat-faq-list {
    margin-top: 50px;
}

.cat-faq-item {
    border-bottom: 1.5px solid rgba(10,10,121,0.15);
}

.cat-faq-item:first-child {
    border-top: 1.5px solid rgba(10,10,121,0.15);
}

.cat-faq-q {
    font-size: 16px;
    color: var(--blue-main);
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.4;
}

.cat-faq-q::-webkit-details-marker { display: none; }

.cat-faq-q::after {
    content: '+';
    font-size: 22px;
    color: var(--blue-main);
    opacity: 0.4;
    flex-shrink: 0;
    margin-left: 16px;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.cat-faq-item[open] .cat-faq-q::after {
    content: '\2212';
    opacity: 0.6;
}

.cat-faq-a {
    padding: 0 0 22px;
}

.cat-faq-a p {
    font-size: 14px;
    color: var(--blue-main);
    opacity: 0.75;
    line-height: 1.8;
    margin: 0;
}

.cat-faq-a a {
    color: var(--blue-main);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cat-faq-cta-wrap {
    text-align: center;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cat-faq-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px 14px 34px;
    background: var(--blue-main);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-family: 'Special Elite', monospace;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    transition: transform 180ms ease, box-shadow 220ms ease, background 180ms ease;
    box-shadow: 0 2px 0 color-mix(in srgb, var(--blue-main) 35%, transparent);
}

.cat-faq-cta:hover {
    background: #12127a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--blue-main) 30%, transparent);
}

.cat-faq-cta:active {
    transform: translateY(0);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--blue-main) 35%, transparent);
}

.cat-faq-cta-arrow {
    transition: transform 220ms cubic-bezier(0.22, 0.72, 0.35, 1);
    flex-shrink: 0;
}

.cat-faq-cta:hover .cat-faq-cta-arrow {
    transform: translateX(4px);
}

.cat-faq-cta-tagline {
    margin: 0;
    font-family: 'Special Elite', monospace;
    font-size: 13px;
    font-style: italic;
    color: var(--blue-main);
    opacity: 0.7;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .cat-faq-cta-wrap { margin-top: 36px; gap: 10px; }
    .cat-faq-cta { font-size: 14px; padding: 13px 26px 13px 30px; }
    .cat-faq-cta-tagline { font-size: 12px; }
}

@media (max-width: 768px) {
    .cat-faq { padding: 50px 24px; }
    .cat-faq-q { font-size: 14px; padding: 18px 0; }
}
