@font-face {
    font-family: 'Biro Script';
    src: url('Biro_Script_reduced.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #9c1c24; /* SeeEat Brand Crimson Red */
    --primary-hover: #b8232c;
    --primary-light: #fdf2f2;
    --accent-red: #e30613;
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --radius-pill: 50px;
    --radius-card: 16px;
    --radius-btn: 12px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 10px 30px rgba(156, 28, 36, 0.08);
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', 'Assistant', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ----------------------------------------------------
   Header / Navigation Bar (10bis Style)
   ---------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo img {
    height: 42px;
    object-fit: contain;
}

/* Middle Search Box inside Header (only visible on scroll/large screens) */
.header-search {
    flex: 1;
    max-width: 480px;
    margin: 0 32px;
    position: relative;
    display: none; /* Controlled via JS when scrolling */
}

.header-search-input {
    width: 100%;
    padding: 10px 48px 10px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.header-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(156, 28, 36, 0.1);
}

.header-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-light);
}

/* Navigation Controls */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    padding: 10px 20px;
    border: 1.5px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-login:hover {
    background-color: var(--primary-light);
}

.btn-cta {
    padding: 10px 24px;
    border: none;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(156, 28, 36, 0.2);
    transition: var(--transition);
}

.btn-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* ----------------------------------------------------
   Hero Banner Section (Split Layout + 10bis Search Style)
   ---------------------------------------------------- */
.hero-section {
    background: #9c1c24;
    position: relative;
    overflow: hidden;
    padding: 15px 24px;
    height: 50vh;
    min-height: 380px;
    display: flex;
    align-items: center;
}

/* Full background video banner */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none; /* Do not block clicks on search input */
}

/* Prevent iOS Safari from showing the big play button overlay on blocked autoplay */
video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
}

video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none !important;
}

/* Force all video elements to ignore pointers so iOS Safari cannot show play/pause controls on touch */
video {
    pointer-events: none !important;
}

/* Whitening cream wash overlay for high readability */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(156, 28, 36, 0.78); /* Semi-transparent burgundy red */
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 14px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(156, 28, 36, 0.15);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-align: center;
}

.hero-brand-img {
    height: 6.5rem;
    object-fit: contain;
    margin-bottom: -45px;
    display: inline-block;
}

.hero-title .hero-outline {
    color: #ffffff;
    -webkit-text-stroke: none;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4), 0px 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Biro Script', cursive;
    font-size: 1.92rem;
    font-weight: 700;
}

.hero-subtitle {
    display: none !important;
}

.hero-tagline-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    pointer-events: none;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.4)); /* Drop shadow around the white calligraphic text contours */
}

.desktop-only-tagline {
    max-width: 1080px; /* Scaled 3x larger on desktop (original was 360px) */
    display: block;
    opacity: 0 !important; /* Invisible to keep the spacing blank */
    pointer-events: none;
}

.mobile-only-tagline {
    display: none; /* Hidden on desktop */
}

.hero-search-container {
    display: none !important;
}

.hero-search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding-right: 16px;
}

.hero-search-input-wrapper svg {
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    margin-left: 12px;
}

.hero-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-family: inherit;
    color: var(--text-dark);
}

.hero-search-button {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-search-button:hover {
    background-color: var(--primary-hover);
}

/* Banner 3D Model Display (Left side) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.model-wrapper {
    width: 100%;
    max-width: 320px;
    height: 320px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
}

model-viewer {
    width: 100%;
    height: 100%;
    background-color: transparent !important;
    --poster-color: transparent !important;
    direction: ltr;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

model-viewer.ready {
    opacity: 1;
}

.model-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.model-badge svg {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
}

.model-controls {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.btn-ar {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(156, 28, 36, 0.2);
    transition: var(--transition);
    text-decoration: none;
}

.btn-ar:hover {
    background-color: var(--primary-hover);
}

/* Outlined AR button styling matching restaurant menu style */
.btn-ar-outline {
    /* Premium silver-gray textured radial gradient blend */
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f9fafb 45%, #f3f4f6 75%, #e5e7eb 100%) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(156, 28, 36, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    transition: var(--transition);
    animation: arButtonPulse 2.2s ease-in-out infinite;
}

@keyframes arButtonPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(156, 28, 36, 0.08);
        border-color: var(--primary-color) !important;
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 8px 24px rgba(156, 28, 36, 0.25);
        border-color: #ff3344 !important; /* Pulse bright red border glow */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(156, 28, 36, 0.08);
        border-color: var(--primary-color) !important;
    }
}

.btn-ar-outline:hover {
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f3f4f6 60%, #d1d5db 100%) !important;
    box-shadow: 0 6px 18px rgba(156, 28, 36, 0.12) !important;
    animation-play-state: paused; /* Pause breathing on hover */
}

.btn-ar-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.2;
}


/* ----------------------------------------------------
   Category Selection Slider (10bis Style)
   ---------------------------------------------------- */
.categories-section {
    padding: 24px 24px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none; /* Hide default scrollbar Firefox */
}

.categories-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Webkit */
}

.category-pill {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.category-pill:hover {
    background-color: #f3f4f6;
    color: var(--text-dark);
}

.category-pill.active {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 1.3rem;
}

/* ----------------------------------------------------
   Dish Grid & Card Layout (10bis Restaurant Cards Style)
   ---------------------------------------------------- */
.dishes-section {
    background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)), url('see_eat_banner_bg.png') no-repeat center center;
    background-attachment: scroll, scroll;
    background-size: cover;
    padding: 48px 24px;
}

@media (min-width: 769px) {
    .dishes-section {
        background-attachment: scroll, fixed;
    }
}

.dishes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: none !important;
}
.section-title-img {
    height: 2.2rem;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.section-title-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    font-family: 'Assistant', sans-serif;
    margin: 0;
}

.try-it-yourself-img {
    height: 3.8rem;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-title-text {
        font-size: 1.6rem;
    }
}

.dish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 24px;
    justify-content: center;
}

/* 10bis-Style Dish Card */
.dish-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.dish-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 65%; /* Aspect Ratio */
    background-color: #f3f4f6;
    overflow: hidden;
}

.dish-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dish-card:hover .dish-image {
    transform: scale(1.05);
}

.dish-badge-3d {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(156, 28, 36, 0.9);
    color: var(--bg-white);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dish-badge-3d svg {
    width: 12px;
    height: 12px;
}

/* Dish Info details */
.dish-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dish-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.dish-rating {
    color: #f59e0b; /* Yellow rating color */
    display: flex;
    align-items: center;
    gap: 3px;
}

.dish-time {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 3px;
}

.dish-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.dish-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5rem; /* Ensures alignment */
}

.dish-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.dish-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

.dish-actions {
    display: flex;
    gap: 8px;
}

.btn-card-action {
    border: none;
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: var(--radius-btn);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.btn-card-action:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.btn-card-action.primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 2px 6px rgba(156, 28, 36, 0.15);
}

.btn-card-action.primary:hover {
    background-color: var(--primary-hover);
    color: var(--bg-white);
}

/* ----------------------------------------------------
   How It Works Section
   ---------------------------------------------------- */
.how-it-works {
    padding: 60px 24px;
    background-color: var(--bg-white);
}

.how-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
}

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    border: 1.5px solid rgba(156, 28, 36, 0.15);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 250px;
}

/* ----------------------------------------------------
   Business / Restaurants Callout
   ---------------------------------------------------- */
.business-callout {
    background: #9A1F23;
    color: var(--bg-white);
    padding: 60px 24px 10px 24px; /* Reduced bottom padding to draw social section closer */
    text-align: center;
}

.business-container {
    max-width: 800px;
    margin: 0 auto;
}

.business-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.business-desc {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.7;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

/* Seeker Brand & Animated Logo styling */
.seeker-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
    font-weight: 800;
    color: #ffeba7; /* Golden yellow for strong visual contrast on burgundy */
}

.seeker-logo {
    height: 2.9em; /* Twice as big on desktop (original was 1.45em) */
    width: auto;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: inline-block;
    vertical-align: middle;
    animation: seekerPulse 2.8s infinite ease-in-out;
}

@keyframes seekerPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 6px 16px rgba(255, 235, 167, 0.3); /* Soft warm glow */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
}

.btn-business {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: none;
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.inline-video-container {
    display: block;
    width: 180px;
    height: 52px;
    border-radius: 26px;
    overflow: hidden;
    margin: 20px auto 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 2px solid #ffffff;
}

.inline-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-business:hover {
    transform: scale(1.03);
    background-color: var(--primary-light);
}

/* Social Networks Section */
.social-networks-section {
    position: relative;
    background-color: #9c1c24; /* Brand red background matching the video overlay & loop content */
    padding: 20px 24px 45px 24px; /* Reduced top padding to close the gap to the video, keeping bottom padding for spacing */
    text-align: center;
    border-bottom: 2px solid #ffffff; /* Crisp white bottom line */
    overflow: hidden;
}

.social-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px; /* Restrict video width to match the site's content container edges */
    height: 100%;
    z-index: 1;
    object-fit: cover; /* Use cover inside the 1200px boundary to stretch it to the edges of the site */
    opacity: 1;
    transition: opacity 0.35s ease-in-out;
}

.social-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(156, 28, 36, 0.78);
    z-index: 2;
}

.social-container {
    position: relative;
    z-index: 3;
}

.social-icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.social-icon-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f9fa;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.social-icon-btn svg {
    width: 26px;
    height: 26px;
    transition: transform 0.25s ease;
}

.social-icon-btn.facebook {
    color: #1877F2;
}
.social-icon-btn.facebook:hover {
    background-color: #1877F2;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.social-icon-btn.instagram {
    color: #E4405F;
}
.social-icon-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.3);
}

.social-icon-btn.youtube {
    color: #FF0000;
}
.social-icon-btn.youtube:hover {
    background-color: #FF0000;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.social-icon-btn.tiktok {
    color: #010101;
}
.social-icon-btn.tiktok:hover {
    background-color: #010101;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(1, 1, 1, 0.35);
}

.social-icon-btn:hover svg {
    transform: scale(1.1);
}

/* ----------------------------------------------------
   3D Model View Modal (Glassmorphism Overlay)
   ---------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-white);
    width: 90%;
    max-width: 600px;
    height: 520px;
    border-radius: 24px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: #e5e7eb;
}

.modal-model-viewer {
    width: 100%;
    flex-grow: 1;
    margin-top: 16px;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    color: var(--text-dark);
}

.modal-ar-btn {
    margin-top: 16px;
    width: 100%;
    max-width: 240px;
}

/* ----------------------------------------------------
   Footer Section
   ---------------------------------------------------- */
.footer {
    background-color: #ffffff;
    color: #951a20;
    padding: 48px 24px;
    border-top: 1px solid #e5e7eb;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #951a20;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(149, 26, 32, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #951a20;
}

.footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(149, 26, 32, 0.15);
    text-align: center;
    font-size: 0.85rem;
}

/* ----------------------------------------------------
   Responsive Adjustments
   ---------------------------------------------------- */
@media (max-width: 968px) {
    .hero-section {
        height: 48dvh;
        min-height: 280px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 16px;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 0;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .business-callout {
        padding-bottom: 20px !important;
    }

    .business-title {
        font-size: 1.65rem;
        margin-bottom: 12px;
    }

    .hero-badge {
        align-self: center;
    }

    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 0;
    }

    .hero-search-container {
        display: none !important; /* Hide search bar on mobile */
    }

    .hero-visual {
        display: none; /* Hide 3D model on mobile */
    }

    .model-wrapper {
        /* Remember mobile settings: max-width: 320px; height: 320px; */
        max-width: 320px;
        height: 320px;
    }

    .how-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-video-overlay {
        background-color: rgba(156, 28, 36, 0.78); /* Match desktop brand red */
    }

    .seeker-logo {
        height: 1.45em; /* Keep original size on mobile */
    }

    .desktop-only-tagline {
        display: none !important; /* Hide 1-line tagline on mobile */
    }

    .mobile-only-tagline {
        display: none !important; /* Fully hide tagline now that the search box is gone */
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
    }
    


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

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.step-desc-img {
    height: 4.5rem;
    object-fit: contain;
    margin-top: 4px;
    display: block;
}

.promo-ribbon {
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 16px 24px;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(156, 28, 36, 0.12);
    border-bottom: 1px solid rgba(156, 28, 36, 0.12);
    z-index: 5;
    position: relative;
}

.promo-line-top {
    font-size: 2.1rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: var(--primary-color);
    text-shadow: 0px 2px 4px rgba(156, 28, 36, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.08);
}

.promo-line-bottom {
    font-size: 1.55rem;
    font-weight: 600;
    display: inline-block;
}

.app-download-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}

.app-badge-link img {
    height: 42px;
    width: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
    display: block;
}

.app-badge-link img:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .promo-ribbon {
        padding: 24px 16px;
        line-height: 1.35;
    }
    .promo-line-top {
        font-size: 1.15rem;
        font-weight: 800;
        margin-bottom: 4px;
    }
    .promo-line-bottom {
        font-size: 0.95rem;
        font-weight: 600;
    }
    .mobile-bold {
        font-weight: 800; /* Extra bold on mobile */
    }
    .app-download-badges {
        gap: 10px;
        margin-top: 10px;
    }
    .app-badge-link img {
        height: 35px;
    }
}

/* Carousel wrapper for the interactive 3D burger model card */
.dish-carousel-wrapper {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    color: var(--primary-color);
    transition: all 0.2s ease-in-out;
}

.carousel-nav-btn:hover {
    background: var(--bg-white);
    transform: translateY(-50%) scale(1.1);
    color: var(--secondary-color);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

/* Onboarding guides section styling */
.carousel-section-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    gap: 48px;
    position: relative;
}

.onboarding-guide {
    flex: 1;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7c2227; /* Rich dark red */
    font-family: 'Amatic SC', cursive;
    font-size: 2.3rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    position: relative;
    user-select: none;
}

.guide-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Long winding hand-drawn arrow absolute positioned below 'לחצו ותהנו' reaching to the AR button */
.guide-left-arrow-svg {
    position: absolute;
    left: 5%;
    bottom: -35px;
    width: 440px;
    height: 250px;
    z-index: 5;
    pointer-events: none;
    animation: arrowFloat 3s ease-in-out infinite;
    filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.5));
}

.guide-left-arrow-svg path[stroke-dasharray] {
    stroke-dashoffset: 0;
    animation: dashFlow 1.2s linear infinite;
}

@keyframes dashFlow {
    to {
        stroke-dashoffset: -20;
    }
}

/* Sketchy scanner camera graphic */
.phone-scanner-sketch {
    position: relative;
    width: 50px;
    height: 70px;
    margin-bottom: 15px;
    color: #951a20;
    animation: phoneTilt 4s ease-in-out infinite;
}

.scanner-phone {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

/* Pulsing scanner laser line */
.scanner-laser {
    position: absolute;
    left: 10%;
    width: 80%;
    height: 2.5px;
    background-color: var(--secondary-color);
    box-shadow: 0 0 8px var(--secondary-color);
    animation: laserScan 2s ease-in-out infinite;
    border-radius: 2px;
}

/* Mobile compact onboarding helper */
.mobile-onboarding-guide {
    display: none; /* Hidden on desktop */
}

/* Animations */
@keyframes arrowFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-4px, 4px) rotate(2deg);
    }
}

@keyframes phoneTilt {
    0%, 100% {
        transform: rotate(-6deg);
    }
    50% {
        transform: rotate(6deg);
    }
}

@keyframes laserScan {
    0%, 100% {
        top: 12%;
        opacity: 0.3;
    }
    50% {
        top: 75%;
        opacity: 1;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 860px) {
    .onboarding-guide,
    .guide-left-arrow-svg {
        display: none !important; /* Hide side columns and winding arrow on mobile/tablet */
    }
    
    .carousel-section-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-onboarding-guide {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 420px;
        margin: 0 auto 16px;
        background: none;
        padding: 0;
        border: none;
    }
    
    .try-it-yourself-img-mobile {
        height: 3.2rem;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
    
    .carousel-slide-viewer {
        transform: scale(1.0) translateY(15px) !important;
    }
    
    .dishes-section .section-header {
        display: none !important;
    }
}

.carousel-slide-viewer {
    transform: scale(1.35) translateY(12px);
}

.guide-right {
    transform: translateY(-95px);
}

.guide-target-badge {
    position: relative;
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.guide-target-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(156, 28, 36, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pulse-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 34px;
    animation: badgePulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
    opacity: 0;
}

@keyframes badgePulse {
    0% {
        transform: scale(0.96);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(1.08);
        opacity: 0;
    }
}

.arrow-path-pulse {
    stroke-dasharray: 40 160;
    stroke-dashoffset: 200;
    animation: pathPulseFlow 2s linear infinite;
}

@keyframes pathPulseFlow {
    to {
        stroke-dashoffset: 0;
    }
}

.arrow-target-dot {
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 3px #9c1c24);
    }
    50% {
        opacity: 0.4;
        filter: drop-shadow(0 0 6px #9c1c24);
    }
}

.arrow-start-dot {
    filter: drop-shadow(0 0 2px #9c1c24);
}

.btn-lang {
    padding: 10px 14px;
    border: 1.5px solid transparent;
    background-color: transparent;
    color: var(--primary-color);
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-lang:hover {
    background-color: var(--primary-light);
    border-color: rgba(156, 28, 36, 0.15);
}

html[dir="ltr"] .guide-left-arrow-svg {
    left: auto;
    right: 5%;
    transform: scaleX(-1);
    animation: arrowFloatLtr 3s ease-in-out infinite;
}

html[dir="ltr"] .guide-left .guide-text,
html[dir="ltr"] .guide-right .guide-text {
    font-size: 1.85rem;
}

@keyframes arrowFloatLtr {
    0%, 100% {
        transform: scaleX(-1) translate(0, 0) rotate(0deg);
    }
    50% {
        transform: scaleX(-1) translate(4px, 4px) rotate(-2deg);
    }
}

/* Dynamic QR Code inside the dish card container */
.dish-qr-container {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 58px;
    height: 58px;
    background: #ffffff;
    border: 1.5px solid #9c1c24;
    border-radius: 8px;
    padding: 3px;
    box-shadow: 0 4px 12px rgba(156, 28, 36, 0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.dish-qr-container:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(156, 28, 36, 0.25);
}

.dish-qr-code {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* On desktop, hide the "View on Table" button completely */
@media (min-width: 861px) {
    #carouselArBtn {
        display: none !important;
    }
}

/* Desktop Only QR Onboarding Block (nested inside guide-right flex column) */
.desktop-ar-onboarding {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 250px;
}

.guide-right.desktop-ar-onboarding {
    transform: none !important;
}

.desktop-ar-qr-container {
    width: 160px;
    height: 160px;
    background: #ffffff;
    border: 2px solid #9c1c24;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(156, 28, 36, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.desktop-ar-qr-container:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgba(156, 28, 36, 0.25);
}

.desktop-ar-qr {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.desktop-ar-text {
    font-size: 1.85rem;
    color: #7c2227;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    max-width: 260px;
}

/* Custom AR Prompt Overlay Modal */
.ar-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.ar-modal-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 28px 24px;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: arModalShow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    direction: rtl; /* Force RTL for hebrew by default */
}

/* Let the document's dir attribute handle text alignments */
html[dir="ltr"] .ar-modal-card {
    direction: ltr;
}

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

.ar-modal-title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.ar-modal-desc {
    margin: 0 0 24px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4b5563;
}

.ar-modal-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
}

.ar-modal-btn {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel {
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
}

.btn-cancel:hover {
    background: rgba(0, 0, 0, 0.08);
}

.btn-confirm {
    background: #9c1c24;
    color: white;
    box-shadow: 0 4px 12px rgba(156, 28, 36, 0.2);
}

.btn-confirm:hover {
    background: #7c2227;
    box-shadow: 0 6px 16px rgba(156, 28, 36, 0.3);
}

/* Responsive visibility - hide QR elements on mobile screens */
@media (max-width: 860px) {
    .desktop-ar-onboarding {
        display: none !important;
    }
}

/* Highlight badge style for "תגללו ותרעבו" onboarding guide box */
.badge-highlight {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #9c1c24 !important;
    box-shadow: 0 10px 30px rgba(156, 28, 36, 0.16) !important;
}

.badge-highlight:hover {
    background: #ffffff !important;
    border-color: #ff3344 !important;
    box-shadow: 0 12px 36px rgba(156, 28, 36, 0.22) !important;
}

.text-highlight {
    color: #9c1c24 !important;
    font-weight: 800 !important;
}

.highlight-ring {
    border-color: #9c1c24 !important;
}

/* Merchant Portal Modal Styling */
.merchant-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.merchant-modal-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1.5px solid #e5e7eb;
    padding: 32px 28px;
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    animation: arModalShow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    direction: rtl;
    position: relative;
}

html[dir="ltr"] .merchant-modal-card {
    direction: ltr;
}

.merchant-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

html[dir="ltr"] .merchant-modal-close {
    right: auto;
    left: 20px;
}

.merchant-modal-close:hover {
    color: #ff3344;
    transform: scale(1.1);
}

.merchant-title {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
}

.merchant-subtitle {
    font-size: 1.05rem;
    color: #4b5563;
    font-weight: 600;
    margin-bottom: 24px;
}

.merchant-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 20px;
    margin-bottom: 12px;
}

.merchant-content p {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 16px;
    line-height: 1.6;
}

.merchant-list {
    margin-bottom: 24px;
    padding-right: 20px;
}

html[dir="ltr"] .merchant-list {
    padding-right: 0;
    padding-left: 20px;
}

.merchant-list li {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 12px;
    line-height: 1.5;
}

.merchant-list strong {
    color: #1f2937;
}

.merchant-action-box {
    background: var(--primary-light);
    border-right: 4px solid var(--primary-color);
    padding: 16px;
    border-radius: 8px;
    margin-top: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

html[dir="ltr"] .merchant-action-box {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

/* Bilingual content display rules */
html[dir="rtl"] .lang-en-only {
    display: none !important;
}
html[dir="ltr"] .lang-he-only {
    display: none !important;
}

/* Coming Soon Bounce Animation */
.coming-soon-icon {
    animation: comingSoonBounce 2s infinite ease-in-out;
}

@keyframes comingSoonBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

/* Easy.co.il Map Dashboard Styles */
.easy-dashboard-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    background: #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1.5px solid #e2e8f0;
    margin: 0 auto;
    width: 100%;
    min-height: 520px;
}

@media (max-width: 968px) {
    .easy-dashboard-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

.easy-map-view {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #f1f5f9;
    border-right: 1.5px solid #e2e8f0;
    min-height: 400px;
}

html[dir="rtl"] .easy-map-view {
    border-right: none;
    border-left: 1.5px solid #e2e8f0;
}

@media (max-width: 968px) {
    .easy-map-view {
        border-right: none;
        border-left: none;
        border-bottom: 1.5px solid #e2e8f0;
        min-height: 320px;
    }
}

.easy-map-title-bar {
    padding: 12px 20px;
    background: #ffffff;
    border-bottom: 1.5px solid #e2e8f0;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary-color);
}

.easy-map-wrapper {
    flex: 1;
    position: relative;
    background: #fafafa;
}

.easy-map-svg {
    width: 100%;
    height: 100%;
    background-color: #fafafa;
}

/* Map SVG Styling details */
.easy-map-svg path {
    transition: all 0.3s ease;
}

/* Map pins */
.easy-map-pin {
    cursor: pointer;
}

.easy-pin-bg {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), stroke-width 0.2s ease, stroke 0.2s ease;
}

.easy-map-pin:hover .easy-pin-bg {
    transform: scale(1.15);
    stroke-width: 3.5px;
}

.easy-map-pin.active .easy-pin-bg {
    transform: scale(1.2);
    stroke: #ff3344;
    stroke-width: 3.5px;
}

.easy-pin-pulse {
    fill: none;
    transform-origin: center;
}

.easy-map-pin.active .easy-pin-pulse {
    animation: easyPinPulseActive 1.6s infinite ease-out;
}

.pin-pulse-dominos { fill: rgba(0, 108, 169, 0.35); }
.pin-pulse-rapidos { fill: rgba(156, 28, 36, 0.35); }
.pin-pulse-bbb { fill: rgba(17, 17, 17, 0.35); }

@keyframes easyPinPulseActive {
    0% { transform: scale(0.7); opacity: 0.9; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Side Panel styling */
.easy-side-panel {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    height: 100%;
    overflow: hidden;
}

.easy-list-section {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.easy-list-header {
    font-size: 0.85rem;
    font-weight: 800;
    color: #6b7280;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.easy-restaurant-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* List Card Styling */
.easy-list-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1.5px solid #f1f5f9;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    direction: rtl;
}

html[dir="ltr"] .easy-list-card {
    direction: ltr;
}

.easy-list-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.easy-list-card.active {
    border-color: var(--primary-color);
    background: rgba(156, 28, 36, 0.02);
}

.easy-card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #ffffff;
    font-size: 0.75rem;
}

.easy-card-info {
    flex: 1;
    text-align: right;
}

html[dir="ltr"] .easy-card-info {
    text-align: left;
}

.easy-card-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 2px;
}

.easy-card-meta {
    font-size: 0.75rem;
    color: #9ca3af;
}

.easy-card-rating {
    background: #006064;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 6px;
    min-width: 24px;
    text-align: center;
}

/* Details Section Styling */
.easy-details-section {
    flex: 1;
    padding: 16px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    direction: rtl;
}

html[dir="ltr"] .easy-details-section {
    direction: ltr;
}

.easy-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.easy-details-title-block {
    flex: 1;
    text-align: right;
}

html[dir="ltr"] .easy-details-title-block {
    text-align: left;
}

.easy-details-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 4px;
}

.easy-details-cuisine {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.easy-details-address {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-bottom: 12px;
    text-align: right;
}

html[dir="ltr"] .easy-details-address {
    text-align: left;
}

/* 3D Viewer inside Card */
.easy-details-3d-box {
    width: 100%;
    height: 200px;
    background: #fafafa;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}

.easy-details-3d-box model-viewer {
    width: 100%;
    height: 100%;
}

.easy-details-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.easy-btn-delivery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 12px;
    padding: 10px;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(156, 28, 36, 0.15);
    border: none;
    cursor: pointer;
}

.easy-btn-delivery:hover {
    background: #80141a;
    transform: translateY(-1px);
}

/* Leaflet Marker Styling */
.easy-leaflet-marker-wrapper {
    background: none !important;
    border: none !important;
}

.easy-leaflet-marker-pin {
    width: 36px;
    height: 36px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-10px, -10px);
}

.easy-leaflet-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    background-color: #ffffff;
    z-index: 10;
    position: relative;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.easy-leaflet-marker-pin:hover .easy-leaflet-avatar-img {
    transform: scale(1.15);
}

.easy-leaflet-marker-pin.active .easy-leaflet-avatar-img {
    transform: scale(1.2);
    border-color: #ff3344;
    box-shadow: 0 6px 15px rgba(255, 51, 68, 0.35);
}

.easy-leaflet-pulse {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    left: -4px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.easy-leaflet-marker-pin.active .easy-leaflet-pulse {
    opacity: 1;
    animation: leafletPinActivePulse 1.6s infinite ease-out;
}

/* Specific pulse colors */
#leaflet-pin-0 .easy-leaflet-pulse { background: rgba(156, 28, 36, 0.25); }
#leaflet-pin-1 .easy-leaflet-pulse { background: rgba(17, 17, 17, 0.25); }
#leaflet-pin-2 .easy-leaflet-pulse { background: rgba(0, 108, 169, 0.25); }

#leaflet-pin-0.active .easy-leaflet-pulse { background: rgba(255, 51, 68, 0.45); }
#leaflet-pin-1.active .easy-leaflet-pulse { background: rgba(255, 51, 68, 0.45); }
#leaflet-pin-2.active .easy-leaflet-pulse { background: rgba(255, 51, 68, 0.45); }

@keyframes leafletPinActivePulse {
    0% { transform: scale(0.7); opacity: 0.9; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* Ensure Leaflet pane doesn't overlay modals */
.leaflet-container {
    font-family: inherit !important;
}

/* Fix RTL text alignments on map tooltips/popups if default Leaflet styles override them */
.leaflet-popup-content-wrapper {
    direction: rtl;
    text-align: right;
}

/* Map Search Overlay Styles */
.map-search-overlay {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 440px;
}

.map-search-input {
    width: 100%;
    padding: 12px 24px;
    padding-left: 44px !important; /* Make room for the red magnifying glass on the left */
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.13) !important;
    border: 1.5px solid #ffffff !important; /* White border outline matching categories */
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important; /* White category-like shadow */
    outline: none;
    transition: all 0.3s ease;
    text-align: right;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75) !important; /* White category-like text shadow */
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

html[dir="ltr"] .map-search-input {
    text-align: left;
}

.map-search-input::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75) !important; /* White category-like placeholder text shadow */
}

.map-search-input:focus {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4) !important;
}

/* Dishes map section layout styling */
.dishes-section {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.easy-dashboard-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 340px;
    overflow: hidden;
}

#easyMap {
    flex: 1;
    height: 100%;
    z-index: 1;
}

/* Fading White Overlay at the bottom of the map */
.map-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: 1000;
    pointer-events: none; /* Allows marker clicks through transparent areas */
}
/* Instagram Style Logo & Bubbly Font Overlay */
.logo-instagram-style {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    z-index: 3;
}

.hero-brand-img-insta {
    height: 5rem;
    width: 5rem;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.hero-brand-text {
    display: flex;
    align-items: center;
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1.5px;
}

.text-see {
    color: #ffffff;
    font-weight: 900;
}

.text-eat {
    color: #ffffff;
    font-family: 'Playpen Sans', cursive;
    font-size: 4.4rem;
    font-weight: 700;
    margin-left: 2px;
    text-shadow: 
        0 1px 0 #cccccc, 
        0 2px 0 #b3b3b3, 
        0 3px 0 #999999, 
        0 4px 0 #808080, 
        0 5px 0 #666666, 
        0 6px 1px rgba(0,0,0,0.15), 
        0 0 5px rgba(0,0,0,0.15), 
        0 1px 3px rgba(0,0,0,0.25), 
        0 3px 5px rgba(0,0,0,0.2), 
        0 5px 10px rgba(0,0,0,0.25), 
        0 10px 10px rgba(0,0,0,0.2);
}

/* Mobile adjustments for the bubbly logo */
@media (max-width: 768px) {
    .logo-instagram-style {
        gap: 12px;
        margin-bottom: 16px;
    }
    .hero-brand-img-insta {
        height: 3.5rem;
        width: 3.5rem;
        border-radius: 14px;
    }
    .hero-brand-text {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    .text-eat {
        font-size: 2.8rem;
        text-shadow: 
            0 1px 0 #cccccc, 
            0 2px 0 #b3b3b3, 
            0 3px 0 #999999, 
            0 4px 1px rgba(0,0,0,0.15), 
            0 0 4px rgba(0,0,0,0.15), 
            0 1px 2px rgba(0,0,0,0.25);
    }
}

.hero-brand-img-seeeat {
    max-width: 480px;
    width: 90%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-brand-img-seeeat:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .hero-brand-img-seeeat {
        max-width: 260px;
        border-radius: 0;
        border: none;
    }
}

/* ====================================================
   Restaurant details page panel CSS
   ==================================================== */
.restaurant-page-panel {
    width: 0;
    opacity: 0;
    background-color: #ffffff;
    height: 100%;
    z-index: 10;
    transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    border-inline-start: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
}

.restaurant-page-panel.open {
    width: 420px;
    opacity: 1;
}

.restaurant-page-container {
    width: 100%;
    background-color: #ffffff;
    min-height: 100%;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.08);
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    overflow: visible;
}

/* Banner cover */
.restaurant-banner {
    position: relative;
    height: 280px;
    background-size: 125% 125%; /* Zoomed to hide embedded Wolt logos in the top-right corner */
    background-position: 35% 65%; /* Shifted left and down to hide top-right logo completely */
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    color: #ffffff;
}

.restaurant-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

/* Back Button */
.restaurant-back-btn {
    position: sticky !important;
    top: 16px !important;
    float: right !important; /* Keep it on the right side */
    margin-top: 16px !important;
    margin-right: 16px !important;
    margin-bottom: -56px !important; /* Overlap banner content */
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: none;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.restaurant-back-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Header Text info */
.restaurant-header-info {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.restaurant-logo-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.restaurant-header-text {
    flex: 1;
}

.restaurant-name {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.restaurant-cuisine-tag {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 3 Navigation Category Buttons */
.restaurant-actions-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin: -35px auto 30px auto;
    position: relative;
    z-index: 10;
    width: fit-content;
    padding: 0 16px;
}

.restaurant-action-btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Center Menu Button (Larger, White BG, Red Border & Icon) */
.restaurant-circle-btn {
    background-color: #ffffff;
    border: 2px solid rgba(156, 28, 36, 0.3);
    border-radius: 50%;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.restaurant-circle-btn.center-btn {
    width: 72px;
    height: 72px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(156, 28, 36, 0.18);
}

.restaurant-circle-btn.side-btn {
    width: 56px;
    height: 56px;
}

.restaurant-circle-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.restaurant-circle-btn.center-btn:hover {
    box-shadow: 0 10px 28px rgba(156, 28, 36, 0.25);
}

/* Labels below buttons */
.restaurant-action-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4b5563;
    transition: color 0.2s ease;
}

.restaurant-action-btn-container.active .restaurant-action-label {
    color: var(--primary-color);
}

/* Menu list cards section */
.restaurant-menu-section {
    padding: 10px 24px 48px 24px;
}

.restaurant-menu-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 8px;
}

.restaurant-menu-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-item-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    overflow: hidden;
    padding: 14px;
    gap: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.menu-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(156, 28, 36, 0.15);
}

.menu-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-item-title {
    font-size: 1.1rem;
    font-weight: 750;
    color: #1f2937;
    margin: 0 0 6px 0;
}

.menu-item-desc {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.menu-item-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-color);
}

.menu-item-img {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
    background-color: #f3f4f6;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05);
}

/* Responsive details */
@media (max-width: 768px) {
    .restaurant-banner {
        height: 220px;
        padding: 16px;
    }
    .restaurant-name {
        font-size: 1.7rem;
    }
    .restaurant-logo-badge {
        width: 60px;
        height: 60px;
    }
    .restaurant-actions-wrapper {
        gap: 20px;
        margin: -30px auto 20px auto;
    }
    .restaurant-circle-btn.center-btn {
        width: 62px;
        height: 62px;
    }
    .restaurant-circle-btn.side-btn {
        width: 48px;
        height: 48px;
    }
    .menu-item-card {
        padding: 12px;
    }
    .menu-item-img {
        width: 80px;
        height: 80px;
    }
}

/* Signature & Locked Menu Card Animations */
.menu-item-card {
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

.menu-item-main-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.menu-item-img-container {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.menu-item-img-container .menu-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge for 3D available items */
.badge-3d {
    background-color: var(--primary-color);
    padding: 3px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-inline-start: 6px;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
}

.badge-cube {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
}

/* 3D signature expanding container */
.menu-item-3d-container {
    width: 100%;
    height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
}

/* Swipe up Object Preview inside the panel container */
.signature-3d-card.full-preview {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    background-color: #ffffff !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transform: translateY(0) !important;
    animation: swipeUp 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes swipeUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.signature-3d-card.full-preview .menu-item-main-row {
    display: none !important;
}

.signature-3d-card.full-preview .menu-item-3d-container {
    height: 90% !important;
    width: 100% !important;
    opacity: 1 !important;
    margin-top: 0 !important;
    display: block !important;
}

/* Locked non-3D overlay styles */
.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: 12px;
    pointer-events: none;
    z-index: 2;
}

.locked-card:hover .lock-overlay {
    opacity: 1;
}

.menu-item-lock-message {
    width: 100%;
    height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(156, 28, 36, 0.05);
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
}

.locked-card:hover .menu-item-lock-message {
    height: 72px;
    opacity: 1;
    margin-top: 10px;
    padding: 8px 12px;
}

.lock-message-text {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.2px;
}

@media (max-width: 768px) {
    .menu-item-img-container {
        width: 80px;
        height: 80px;
    }
    .locked-card:hover .menu-item-lock-message {
        height: 76px;
        padding: 6px 10px;
    }
    .lock-message-text {
        font-size: 0.72rem;
        line-height: 1.3;
    }
}

/* Object Preview Modal with Translucent Red Backdrop & White 3D Studio */
.object-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(156, 28, 36, 0.92);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.object-preview-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.object-preview-content {
    width: 90%;
    max-width: 550px;
    height: 75vh;
    max-height: 600px;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transform: translateY(30px);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.object-preview-modal.show .object-preview-content {
    transform: translateY(0);
}

.object-preview-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f3f4f6;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.object-preview-close:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: rotate(90deg);
}

.object-preview-studio {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

/* Mobile flow layout modifications to avoid scroll locking and panel overlapping */
@media (max-width: 968px) {
    /* Normal landing page state: flow naturally, map is static height, no empty gap */
    .easy-dashboard-container {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: none !important;
        overflow: visible !important;
    }

    #easyMap {
        height: 380px !important; /* Good height for map on mobile */
        width: 100% !important;
        flex: none !important;
    }

    .restaurant-page-panel {
        display: none;
        position: fixed !important;
        top: 8% !important;
        left: 4% !important;
        right: 4% !important;
        bottom: 8% !important;
        width: 92% !important;
        height: 84% !important;
        margin: auto !important;
        border-radius: 24px !important;
        z-index: 10000 !important;
        background-color: #ffffff !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
        border: 1px solid rgba(0, 0, 0, 0.15) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease-out !important;
        opacity: 0;
        transform: translateY(30px);
        border-top-left-radius: 24px !important;
        border-top-right-radius: 24px !important;
        border-bottom-left-radius: 24px !important;
        border-bottom-right-radius: 24px !important;
    }

    .restaurant-page-panel.open {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .restaurant-page-container {
        border-radius: 24px !important;
        overflow: visible !important;
        height: auto !important;
    }

    /* Active restaurant panel state: floating panel remains fixed with scroll inside */
    body.panel-active .restaurant-page-panel {
        display: block !important;
        height: 84% !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Semi-transparent backdrop overlay when the restaurant modal is active on mobile */
    body.panel-active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.45) !important;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 9999 !important;
        pointer-events: none;
        animation: fadeInOverlay 0.3s ease-out;
    }
    @keyframes fadeInOverlay {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .restaurant-back-btn {
        position: sticky !important;
        top: 16px !important;
        float: right !important;
        margin-top: 16px !important;
        margin-right: 16px !important;
        margin-bottom: -56px !important;
        z-index: 1000 !important;
        display: inline-flex !important;
    }

    /* Hide map search overlay on mobile since it is integrated into the video mockup */
    .map-search-overlay {
        display: none !important;
    }

    /* Absolute positioning over the address bar of the phone inside the hero video */
    .hero-section {
        position: relative !important;
    }

    .hero-search-container {
        display: flex !important;
        position: absolute !important;
        bottom: 17.5% !important; /* Cover rapidos.com in the video phone screen (lowered by ~1cm) */
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 220px !important; /* Matches phone scale inside video */
        height: 28px !important;
        z-index: 10 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: none !important;
    }

    .hero-search-container .hero-search-button {
        display: none !important;
    }

    .hero-search-container .hero-search-input-wrapper {
        width: 100% !important;
        height: 100% !important;
        background-color: #f1f3f4 !important; /* Clean browser input bg */
        border-radius: 16px !important;
        border: 1.5px solid #ffffff !important;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 8px !important;
    }

    .hero-search-container .hero-search-input-wrapper svg {
        width: 11px !important;
        height: 11px !important;
        color: var(--primary-color) !important; /* Site red color search magnifying glass */
        margin-inline-end: 4px !important;
    }

    .hero-search-container .hero-search-input {
        width: 100% !important;
        height: 100% !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        font-size: 0.68rem !important; /* Perfect phone scale font size */
        color: #333333 !important;
        text-align: center !important;
        outline: none !important;
    }

    .social-networks-section {
        padding: 15px 24px 35px 24px !important; /* Reduced top padding to close the gap to the button, keeping bottom padding for spacing */
        background-color: #9c1c24 !important; /* Solid red background */
    }

    .social-video-bg, .social-video-overlay {
        display: none !important; /* Hide background video and overlay on mobile */
    }

    .inline-video-container {
        display: block !important;
        width: 180px !important;
        height: 52px !important;
        border-radius: 26px !important;
        overflow: hidden !important;
        margin: 20px auto 0 auto !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
        border: 2px solid #ffffff !important;
    }

    .inline-video-player {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
}

/* Vector icon coloring using CSS mask-image (guarantees perfect color match with SVG navigation arrow) */
.restaurant-btn-icon {
    background-color: var(--primary-color);
    display: inline-block;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.restaurant-btn-icon.menu-icon {
    width: 32px;
    height: 32px;
    -webkit-mask-image: url('menu.png');
    mask-image: url('menu.png');
}

.restaurant-btn-icon.delivery-icon {
    width: 26px;
    height: 26px;
    -webkit-mask-image: url('delivery.png');
    mask-image: url('delivery.png');
}

.btn-ar-preview {
    display: none;
    align-items: center;
    justify-content: center;
    width: 180px !important;
    height: 52px !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    margin: 16px auto 0 auto !important;
    box-shadow: 0 4px 15px rgba(156, 28, 36, 0.45) !important; /* Glowing red shadow */
    border: 2.5px solid #9c1c24 !important; /* Brand red border */
    cursor: pointer;
    padding: 0 !important;
    background: transparent !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ar-preview:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(156, 28, 36, 0.55) !important;
}

.btn-ar-preview:active {
    transform: scale(0.96);
}

.btn-ar-preview video {
    transform: scale(1.08) translateY(1.5px) !important;
}

/* Category Filter Bar Styles (Global on Desktop & Mobile) */
.mobile-map-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center; /* Centered on desktop */
    gap: 12px;
    padding: 10px 16px;
    background: transparent !important;
    border-bottom: none !important;
    width: 100%;
    box-sizing: border-box;
    position: absolute !important;
    top: 80px !important; /* Positioned perfectly below the map-search-overlay which is at top: 20px */
    left: 0;
    right: 0;
    z-index: 1000 !important;
    pointer-events: none !important; /* Let clicks fall through to the map *except* on the active filter pills */
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: transparent !important;
    border-radius: 20px;
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1.5px solid #ffffff !important; /* White border outline around each sector */
    flex-shrink: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    pointer-events: auto !important; /* Enable clicks on the buttons */
}

.filter-image-wrapper {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: none !important; /* Remove the white border outline around small image */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.filter-3d-icon {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: scale(1.52) !important; /* Zoom in the plate even more to fit exact bounds! */
    display: block !important;
}

.filter-pill.active {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border: 2.2px solid #ffffff !important; /* Thicker white outline for active state */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    font-weight: 800 !important;
}

@media (max-width: 968px) {
    .mobile-map-filter-bar {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none !important;
        top: 12px !important; /* On mobile, move to top since address bar search is hidden */
        padding: 12px 16px !important;
        pointer-events: auto !important;
    }
    
    .mobile-map-filter-bar::-webkit-scrollbar {
        display: none;
    }
}

/* SeeEat 3D Stadium Button Animation & Tactile Spring Physics */
.btn-ar-preview {
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    animation: pulse-ar-button 2.2s infinite ease-in-out !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
}

.btn-ar-preview:active {
    transform: scale(0.86) translateY(4px) !important;
    filter: brightness(0.92) drop-shadow(0 2px 6px rgba(156, 28, 36, 0.3)) !important;
    transition: transform 0.06s cubic-bezier(0.4, 0, 0.2, 1), filter 0.06s ease !important;
}

@keyframes pulse-ar-button {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.07);
    }
    100% {
        transform: scale(1);
    }
}

/* Hide AR button wrapper on desktop/computers (screen > 768px) */
@media (min-width: 769px) {
    .ar-trigger-wrapper {
        display: none !important;
    }
}
