/* =====================================
   Wolt x ynet - Complete Stylesheet
   Based on Figma Designs
   ===================================== */

/* Fonts */
@font-face {
    font-family: 'OmnesHebrew';
    src: url('/assets/fonts/OmnesHebrew-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'OmnesHebrew';
    src: url('/assets/fonts/OmnesHebrew-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'OmnesHebrew';
    src: url('/assets/fonts/OmnesHebrew-BlackCnd.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Varela';
    src: url('/assets/fonts/varela-extra-regular-fm.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Varela';
    src: url('/assets/fonts/varela-extra-medium-fm.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Varela';
    src: url('/assets/fonts/varela-extra-bold-fm.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Omnes';
    src: url('/assets/fonts/Omnes-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Omnes';
    src: url('/assets/fonts/Omnes-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Omnes';
    src: url('/assets/fonts/OmnesCond-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* CSS Variables */
:root {
    --wolt-blue: #00c2e8;
    --wolt-dark-blue: #009de0;
    --wolt-light-blue: #e0f7fb;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --border-gray: #d1d5db;
    --bg-light: #f9fafb;
    
    /* Category Colors */
    --category-asian: #00480A;
    --category-pizza: #D43A2F;
    --category-home-food: #A4552A;
    --category-burger: #8A0F14;
    --category-dessert: #F86A9A;
    --category-street-food: #31C672;
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body & Typography */
body {
    font-family: 'OmnesHebrew', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    /*font-weight: 700;*/
    /* Fix mobile scrolling */
    touch-action: pan-y pan-x;
    overscroll-behavior-y: none;
}

/**, *::before, *::after {
    font-weight: 700;
}*/

/* ===================
   HOMEPAGE LAYOUT
   =================== */
.homepage-layout {
    display: flex;
    height: 100vh; /* Altura exacta del viewport */
    max-height: 100vh;
    overflow: hidden; /* Sin scroll */
    flex-direction: row-reverse;
    background: #f0f8fb; /* Fondo base para que se vea a través del clip-path */
}

@media (max-width: 1023px) {
    .homepage-layout {
        flex-direction: column;
    }
}

/* Left Side - Map (first in visual order) */
.homepage-map {
    flex: 0 0 40%;
    background: #f0f8fb;
    position: relative;
    height: 100%; /* Ocupa 100% del contenedor padre */
    border: none;
    margin: 0;
    padding: 0;
}

.homepage-map-container {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0; /* Sin padding - los márgenes se aplican al map-content */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.map-logos {
    position: absolute;
    top: 24px; /* Spacing-6 */
    left: 24px; /* Spacing-6 */
    right: auto;
    display: flex;
    align-items: center;
    gap: 12px; /* Spacing-3 */
    z-index: 200;
}

.map-logos .logo-ynet,
.map-logos .logo-wolt {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1023px) {
    .map-logos {
        top: 16px; /* Spacing-4 */
        left: 16px; /* Spacing-4 */
        right: auto;
    }
    
    .map-logos .logo-ynet,
    .map-logos .logo-wolt {
        height: 48px;
        width: 48px;
    }
}

.map-social-icons {
    position: absolute;
    left: 32px; /* Spacing-8 */
    bottom: 80px; /* Aligned with legend bottom + spacing */
    /* Removed top centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* Spacing-3 */
    z-index: 200;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

@media (max-width: 1023px) {
    .map-social-icons {
        display: none;
    }
}

.social-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.social-divider-line {
    width: 14px;
    height: 1px; /* Simulating the stroke */
    background-color: #161830;
    margin: 0;
    flex-shrink: 0;
    border-radius: 1px; /* Round caps to match Figma stroke-linecap="round" */
}

.map-content {
    position: relative;
    width: calc(100% - 163px); /* Ancho menos márgenes left(88px) + right(75px) */
    height: calc(100% - 76px); /* Altura menos márgenes top(17px) + bottom(59px) */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 17px 75px 59px 88px; /* Figma: top 17px, right 75px, bottom 59px, left 88px */
}

.map-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-legend {
    position: absolute;
    bottom: 80px; /* Footer clearance */
    right: 32px; /* Spacing-8, aligned with container padding */
    z-index: 50;
}

@media (max-width: 1023px) {
    .map-legend {
        bottom: 60px;
        left: 16px; /* Spacing-4 */
        right: auto; /* Reset right */
    }
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: flex-start; /* Align to Right in RTL */
}

@media (max-width: 1023px) {
    .legend-items {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Default row alignment */
    gap: 9px;
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    /* Removed border and shadow to match flat design */
}

.legend-label {
    font-family: 'Varela', sans-serif;
    font-size: 12px;
    color: #161830;
    font-weight: 500;
    white-space: nowrap;
}

/* Right Side - Hero Content */
.homepage-hero {
    flex: 0 0 60%;
    background: linear-gradient(135deg, var(--wolt-blue) 0%, #00a8cc 100%);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 32px 80px 32px 10%; /* Aumentado padding-left para compensar el clip-path */
    position: relative;
    border: none;
    margin: 0;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%); /* Efecto de corte diagonal proporcional */
}

@media (max-width: 1023px) {
    .homepage-hero {
        flex: 1;
        padding: 32px 24px;
        clip-path: none; /* Remove slant on mobile */
    }
}

.homepage-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 13px; /* Mayor espacio según Figma */
}

.top-nav {
    display: flex;
    gap: 18px;
    align-items: center;
    font-family: 'Varela', sans-serif;
}

@media (max-width: 1024px) {
    .top-nav {
        display: none;
    }
}

.nav-link {
    color: #80e1f3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: white;
}

.nav-link.active {
    color: white;
}

.nav-link.disabled {
    color: #70d4e6;
    cursor: default;
    pointer-events: none;
    opacity: 0.8;
}

.nav-separator {
    color: #80e1f3;
    font-size: 18px;
}

.homepage-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 100%;
    padding-top: 0; /* Sin padding extra, el header tiene su propio margin */
    min-height: 0;
    overflow: auto;
}

.homepage-title {
    font-size: 82px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    font-family: 'OmnesHebrew', sans-serif;
}

.homepage-title .emoji {
    font-size: 62px;
    vertical-align: middle;
}

.homepage-subtitle {
    font-size: 26px; /* Ajustado según Figma */
    font-weight: 400;
    margin-bottom: 19px; /* Mayor espacio al divider */
    opacity: 0.98;
    line-height: 1.3;
    font-family: 'OmnesHebrew', sans-serif;
}

.homepage-divider {
    width: 100%;
    max-width: 634px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 32px; /* Mayor espacio a la descripción */
    border-radius: 2px;
}

.homepage-description {
    font-size: 18px;
    line-height: 1.28;
    opacity: 0.95;
    max-width: 650px;
    font-family: 'Varela', sans-serif;
    font-weight: 400;
}

.homepage-description p {
    margin-bottom: 10px;
}

.homepage-description strong {
    font-weight: 700;
}

/* Voted message - centered layout */
.voted-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 80px 20px;
    gap: 18px;
}

.voted-title {
    font-size: 0;
    line-height: 0.86;
    margin: 0;
    font-family: 'OmnesHebrew', sans-serif;
    font-weight: 700;
}

.voted-title-text {
    font-size: 82px;
    color: white;
}

.voted-emoji {
    font-size: 62px;
}

.voted-subtitle {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: white;
    margin: 0;
    font-family: 'OmnesHebrew', sans-serif;
}

.voted-divider {
    width: 640px;
    max-width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.voted-description {
    font-size: 18px;
    line-height: 1.28;
    color: white;
    margin: 0;
    font-family: 'Varela', sans-serif;
    font-weight: 400;
}

.voted-button {
    background: white;
    color: #00c2e8;
    font-size: 18px;
    font-weight: 700;
    padding: 9px 66px;
    border-radius: 52px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    min-width: 446px;
    font-family: 'OmnesHebrew', sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
}

.voted-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Area Buttons Grid */
.area-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 35px;
    max-width: 650px;
}

.area-button-pill {
    background: white;
    color: #161830;
    border: none;
    border-radius: 50px;
    padding: 18px 32px;
    font-family: 'OmnesHebrew', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.area-button-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: #f0f9ff;
}

.area-button-pill:active {
    transform: translateY(-2px);
}

/* Early Finish Section */
.early-finish-section {
    border-radius: 16px;
    text-align: right;
}

.early-finish-text {
    margin-bottom: 20px;
}

.vote-count-text {
    font-size: 20px;
    font-weight: 500;
    color: white;
    margin-left: 5px;
}

.finish-prompt {
    font-size: 18px;
    color: white;
    opacity: 0.9;
    font-family: 'Varela', sans-serif;
    font-weight: 400;
}

.btn-finish-early {
    display: inline-block;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    padding: 16px 40px;
    font-family: 'OmnesHebrew', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-finish-early:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.homepage-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    opacity: 0.85;
}

@media (max-width: 1024px) {
    .homepage-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.social-links a:hover img {
    opacity: 1;
}

/* Page Layout */
.page-component {
    display: flex;
    min-height: 100vh;
    flex-direction: row-reverse;
    background-color: white;
}

@media (max-width: 1023px) {
    .page-component {
        flex-direction: column;
    }
}

.pageContainer {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .pageContainer {
        max-width: 66.666%;
    }
    
    .desktopMapWrapper {
        display: flex !important;
        width: 33.333%;
        position: sticky;
        top: 0;
        height: 100vh;
        background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
        border-left: 1px solid #e5e7eb;
    }
}

.desktopMapWrapper {
    display: none;
}

.main {
    flex: 1;
    padding: 40px 24px 100px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .main {
        padding: 48px 40px 120px;
    }
}

/* ===================
   MOBILE HEADER 
   =================== */
.mobile-header-component {
    display: block;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

@media (min-width: 1024px) {
    .mobile-header-component {
        display: none;
    }
}

.mobile-header-component .header {
    padding: 16px 24px;
}

.mobile-header-component .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-header-component .menuButton {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-dark);
}

.mobile-header-component .logos {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-header-component .badge {
    font-size: 14px;
    font-weight: 700;
    color: var(--wolt-blue);
}

.mobile-header-component .woltLogo img,
.mobile-header-component .ynetLogo img {
    height: 32px;
    width: auto;
}

/* ===================
   HERO COMPONENT 
   =================== */
.hero-component {
    margin-bottom: 48px;
}

.hero-component .hero {
    padding: 48px 24px;
    background: linear-gradient(135deg, var(--wolt-blue) 0%, #00a8cc 100%);
    border-radius: 16px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 194, 232, 0.3);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-component .hero {
        padding: 64px 48px;
        border-radius: 20px;
    }
}

.hero-component .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.hero-component .mapIcon {
    position: relative;
    width: 80px;
    height: 80px;
}

.hero-component .mapIcon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.hero-component .zoomButton {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: white;
    color: var(--wolt-blue);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.hero-component .zoomButton:hover {
    transform: scale(1.1);
}

.hero-component .textBlock {
    text-align: center;
}

.hero-component .title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-component .emoji {
    font-size: 1.2em;
}

.hero-component .subtitle {
    font-size: clamp(18px, 3vw, 24px);
    opacity: 0.95;
    font-weight: 400;
}

/* ===================
   AREA SELECTOR 
   =================== */
.area-selector-component {
    margin-bottom: 48px;
}

.area-selector-component .areaSelector {
    max-width: 900px;
    margin: 0 auto;
}

.area-selector-component .introText {
    margin-bottom: 40px;
    padding: 32px;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .area-selector-component .introText {
        padding: 40px;
    }
}

.area-selector-component .paragraph {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.area-selector-component .divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--border-gray) 50%, transparent 100%);
    margin: 24px 0;
}

.area-selector-component .callToAction {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.area-selector-component .callToAction strong {
    color: var(--wolt-blue);
    font-weight: 700;
}

.area-selector-component .question {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .area-selector-component .question {
        font-size: 32px;
    }
}

.area-selector-component .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .area-selector-component .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.area-button-component .areaButton {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 3px solid var(--border-gray);
    border-radius: 12px;
    padding: 40px 24px;
    min-height: 140px;
    font-size: 20px;
    font-weight: 700;
    color: var(--wolt-blue);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.area-button-component .areaButton:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 194, 232, 0.25);
    border-color: var(--wolt-blue);
    background: var(--wolt-light-blue);
}

.area-button-component .areaButton:active {
    transform: translateY(-2px);
}

.area-button-component .text {
    display: block;
}

/* ===================
   BREADCRUMBS
   =================== */
.breadcrumbs {
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--text-gray);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--wolt-blue);
}

/* ===================
   DESKTOP MAP SIDEBAR
   =================== */
.desktop-map-component {
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, #009de0 0%, #00a8cc 100%);
}

.desktop-map-component .desktopMap {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
}

.desktop-map-component .header {
    padding: 10px 0;
}

.desktop-map-component .logos {
    display: flex;
    gap: 12px;
}

.desktop-map-component .ynetLogo,
.desktop-map-component .woltLogo {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.desktop-map-component .ynetLogo img,
.desktop-map-component .woltLogo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.desktop-map-component .mapContainer {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.desktop-map-component .mapImage {
    width: 100%;
    max-width: 280px;
    position: relative;
}

.desktop-map-component .legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.desktop-map-component .legendItem {
    display: flex;
    align-items: center;
    gap: 8px;
}

.desktop-map-component .legendDot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.desktop-map-component .legendLabel {
    font-size: 14px;
    color: var(--text-dark);
}

.desktop-map-component .socialSidebar {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.desktop-map-component .socialButton {
    width: 56px !important;
    height: 56px !important;
    background: white !important;
    border: 2px solid var(--border-gray) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.desktop-map-component .socialButton:hover {
    border-color: var(--wolt-blue) !important;
    background: var(--wolt-blue) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.desktop-map-component .socialButton img {
    width: 24px !important;
    height: 24px !important;
    transition: all 0.3s ease !important;
    filter: none;
}

.desktop-map-component .socialButton:hover img {
    filter: brightness(0) invert(1) !important;
}

.desktop-map-component .divider {
    width: 2px;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: var(--border-gray);
}

.breadcrumbs .current {
    color: var(--text-dark);
    font-weight: 600;
}

/* ===================
   CATEGORIES
   =================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 120px;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.category-card {
    background: white;
    border-radius: 12px;
    border: 3px solid;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-card[data-category="asian"] {
    border-color: var(--category-asian);
}

.category-card[data-category="pizza"] {
    border-color: var(--category-pizza);
}

.category-card[data-category="home-food"] {
    border-color: var(--category-home-food);
}

.category-card[data-category="burger"] {
    border-color: var(--category-burger);
}

.category-card[data-category="dessert"] {
    border-color: var(--category-dessert);
}

.category-card[data-category="street-food"] {
    border-color: var(--category-street-food);
}

.category-header {
    padding: 24px 16px;
    color: white;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.category-card[data-category="asian"] .category-header {
    background: var(--category-asian);
}

.category-card[data-category="pizza"] .category-header {
    background: var(--category-pizza);
}

.category-card[data-category="home-food"] .category-header {
    background: var(--category-home-food);
}

.category-card[data-category="burger"] .category-header {
    background: var(--category-burger);
}

.category-card[data-category="dessert"] .category-header {
    background: var(--category-dessert);
}

.category-card[data-category="street-food"] .category-header {
    background: var(--category-street-food);
}

.category-body {
    padding: 16px;
    background: white;
}

.category-description {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ===================
   RESTAURANTS
   =================== */
.restaurant-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 120px;
}

@media (min-width: 768px) {
    .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .restaurant-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.restaurant-card {
    background: white;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.restaurant-card.selected {
    border-color: white;
    background: white;
    box-shadow: 0 0 0 4px white, 0 0 0 4px white, 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.restaurant-card.selected .restaurant-name,
.restaurant-card.selected .restaurant-city,
.restaurant-card.selected .restaurant-description,
.restaurant-card.selected .restaurant-header,
.restaurant-card.selected .restaurant-address {
    color: var(--wolt-blue) !important;
}

.restaurant-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
    position: relative;
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-details {
    padding: 20px;
}

.restaurant-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.restaurant-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ===================
   BUTTONS
   =================== */
.btn-primary,
.btn-submit,
.btn-wolt,
.btn-view-restaurants,
.btn-select-restaurant,
.btn-finish-voting {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--wolt-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-height: 48px;
    box-shadow: 0 2px 8px rgba(0, 194, 232, 0.3);
}

.btn-primary:hover,
.btn-submit:hover,
.btn-wolt:hover,
.btn-view-restaurants:hover,
.btn-select-restaurant:hover,
.btn-finish-voting:hover {
    background: var(--wolt-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 194, 232, 0.4);
}

.btn-primary:active,
.btn-submit:active {
    transform: translateY(0);
}

.btn-secondary,
.btn-back-to-categories {
    background: transparent;
    color: var(--wolt-blue);
    border: 2px solid var(--wolt-blue);
}

.btn-secondary:hover,
.btn-back-to-categories:hover {
    background: var(--wolt-light-blue);
}

.btn-view-restaurants,
.btn-select-restaurant {
    width: 100%;
    margin-top: 8px;
}

/* ===================
   VOTING SUMMARY BAR
   =================== */
.voting-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
    z-index: 1000;
    border-top: 3px solid var(--wolt-blue);
}

@media (min-width: 1024px) {
    .voting-summary {
        left: 33.333%;
    }
}

.summary-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 16px;
}

.votes-count {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

#vote-count {
    color: var(--wolt-blue);
    font-size: 24px;
    margin: 0 4px;
}

/* ===================
   FORM STYLES
   =================== */
.form-container {
    max-width: 600px;
    margin: 48px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 48px;
}

@media (max-width: 1024px) {
    .form-container {
        padding: 32px 24px;
        margin: 24px 16px;
    }
}

.form-title {
    color: var(--wolt-blue);
    font-size: 32px;
    text-align: center;
    margin-bottom: 16px;
    font-weight: 900;
}

.form-description {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 15px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--wolt-blue);
    box-shadow: 0 0 0 3px rgba(0, 194, 232, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.error-message {
    color: #ef4444;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

/* ===================
   THANK YOU PAGE
   =================== */
.thank-you-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 80px 48px;
    text-align: center;
    max-width: 600px;
    margin: 48px auto;
}

@media (max-width: 1024px) {
    .thank-you-container {
        padding: 48px 24px;
        margin: 24px 16px;
    }
}

.thank-you-title {
    color: var(--wolt-blue);
    font-size: 40px;
    margin-bottom: 24px;
    font-weight: 900;
}

.thank-you-message {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.thank-you-emoji {
    font-size: 60px;
    margin-bottom: 24px;
}

/* ===================
   FOOTER
   =================== */
.footer-component {
    background: #2b2b2b;
    color: #ffffff;
    height: 40px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    justify-content: flex-end; /* Align to left in RTL */
    padding-left: 42px; /* Distance from left edge */
    box-sizing: border-box;
}

.footer-component .footer {
    display: flex;
    align-items: center;
}

.footer-component .content {
    display: flex;
    align-items: center;
}

.footer-component .links {
    display: flex;
    gap: 16px;
    align-items: center;
    font-family: 'Varela', sans-serif;
    font-size: 14px;
    font-weight: 400;
    opacity: 1;
}

.footer-component .link {
    color: #ffffff;
    text-decoration: none;
}

.footer-component .divider {
    opacity: 0.5;
}

.footer-component .copyright {
    white-space: nowrap;
}

/* Hide elements not in Figma if necessary, or style them to match */
.footer-logos, .footer-text {
    display: none;
}

.accessibilityButton {
    display: none;
}
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================
   DESKTOP MAP
   =================== */
.desktopMap {
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.mapContainer {
    flex: 1;
    position: relative;
    margin: 24px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#israelMap {
    width: 100%;
    height: 100%;
}

.map-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--wolt-blue);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.map-marker:hover {
    transform: scale(1.5);
    z-index: 10;
}

.map-marker.selected {
    background: #ff6b35;
    transform: scale(1.8);
    z-index: 11;
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.4);
}

/* ===================
   PAGE TITLES
   =================== */
.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .page-title {
        font-size: 36px;
    }
}

/* ===================
   UTILITIES
   =================== */
.text-center {
    text-align: center;
}

.mb-24 {
    margin-bottom: 24px;
}

.mt-24 {
    margin-top: 24px;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* =====================================
   AREA PAGE (Category Selection)
   ===================================== */
.area-page-layout {
    display: flex;
    height: 100vh; /* Altura exacta del viewport */
    max-height: 100vh;
    overflow: hidden; /* Sin scroll */
    flex-direction: row-reverse;
    background: #f0f8fb; /* Fondo base para que se vea a través del clip-path */
}

@media (max-width: 1023px) {
    .area-page-layout {
        flex-direction: column;
        height: 100vh;
        max-height: 100vh;
    }
}

/* Left Side - Map */
.area-map-side {
    flex: 0 0 40%;
    background: #f0f8fb;
    position: relative;
    height: 100%; /* Ocupa 100% del contenedor padre */
}

@media (max-width: 1023px) {
    .area-map-side {
        flex: 0 0 50vh;
        height: 50vh;
    }
}

/* Right Side - Hero Content */
.area-hero-side {
    flex: 0 0 60%;
    background: linear-gradient(135deg, var(--wolt-blue) 0%, #00a8cc 100%);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 32px 80px 32px 10%; /* Aumentado padding-left para compensar el clip-path */
    position: relative;
    height: 100%; /* Usa 100% del contenedor padre */
    max-height: 100vh;
    overflow-y: auto;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%); /* Efecto de corte diagonal proporcional */
}

/* Hide scroll for vote form page */
.vote-form-page .area-hero-side {
    overflow-y: hidden !important;
}

@media (max-width: 1023px) {
    .area-hero-side {
        flex: 1;
        padding: 32px 24px;
        padding-bottom: 120px;
        height: auto;
        clip-path: none; /* Remove slant on mobile */
    }
}

.area-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 13px;
}

@media (max-width: 1024px) {
    .area-header {
        margin-bottom: 30px;
    }
}

.area-header .top-nav {
    display: flex;
    gap: 18px;
    align-items: center;
    font-family: 'Varela', sans-serif;
}

@media (max-width: 1024px) {
    .area-header .top-nav {
        display: none;
    }
}

.area-header .nav-link {
    color: #80e1f3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
    white-space: nowrap;
}

.area-header .nav-link:hover {
    color: white;
}

.area-header .nav-link.active {
    color: white;
}

.area-header .nav-separator {
    color: #80e1f3;
    font-size: 18px;
}

.area-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
    min-height: 0;
}

/* Restaurants Layout Container - Make scrollable */
.restaurants-layout-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.area-title {
    font-size: 82px;
    font-weight: 700 !important;
    margin-bottom: 4px;
    line-height: 1.2;
    font-family: 'OmnesHebrew', sans-serif;
}

.area-title .emoji {
    font-size: 62px;
    vertical-align: middle;
}

@media (max-width: 1024px) {
    .area-title {
        font-size: 48px;
    }
    
    .area-title .emoji {
        font-size: 40px;
        vertical-align: middle;
    }
}

.area-subtitle {
    font-size: 28px;
    font-weight: 700;
    opacity: 0.98;
    line-height: 1.4;
    font-family: 'OmnesHebrew', sans-serif;
}

@media (max-width: 1024px) {
    .area-subtitle {
        font-size: 22px;
    }
}

.area-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 16px;
    opacity: 0.95;
    max-width: 650px;
    font-family: 'OmnesHebrew', sans-serif;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .area-description {
        font-size: 4.35vw; 
        margin-bottom: 3vw;
    }
}

/* Categories Selection Container */
.categories-selection-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Space between rows */
    max-width: 1000px;
    margin-bottom: 50px;
}

.categories-row {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align items to bottom so text aligns */
    gap: 40px; /* Space between items and separators */
}

@media (max-width: 1024px) {
    .categories-row {
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .categories-row {
        flex-wrap: wrap;
    }
}

.category-selection-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    width: 150px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s;
    cursor: pointer;
}

.category-selection-item:hover {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .category-selection-item {
        width: 120px;
    }
}

.category-icon {
    height: 113px;
    width: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.category-icon img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.category-icon.rotate-180 {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    .category-icon {
        height: 80px;
    }
}

.category-label {
    font-family: 'Varela', sans-serif;
    font-weight: 500;
    font-size: 22px;
    text-align: center;
    color: white;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .category-label {
        font-size: 18px;
    }
}

.category-separator {
    color: white;
    font-size: 22px;
    font-weight: 300;
    opacity: 0.5;
    margin-bottom: 4px; /* Align with text baseline */
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 5px;
}

/* ===================
   RESTAURANTS SELECTION
   =================== */
.area-location-subtitle {
    font-family: 'Varela', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: white;
    margin-bottom: 14px;
}

.restaurants-layout-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    margin-top: 0;
    align-items: flex-end; /* Align to right (RTL) */
}

/* Horizontal Categories Bar */
.categories-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: visible; /* Allow arrows to be visible outside */
}

.category-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    padding: 0;
}

.category-scroll-arrow:hover {
    opacity: 0.7;
}

.category-scroll-arrow img {
    width: 24px;
    height: 24px;
}

.category-scroll-left {
    left: 0; /* Inside the wrapper on the left */
}

.category-scroll-right {
    right: 0; /* Inside the wrapper on the right */
}

.categories-horizontal-bar {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: flex-start; /* RTL: starts from right */
    flex-wrap: nowrap; /* Always keep in single row */
    overflow-x: auto; /* Enable horizontal scroll if needed */
    overflow-y: hidden;
    scrollbar-width: none; /* Hide scrollbar */
    touch-action: pan-x;
}

/* Hide scrollbar for webkit browsers */
.categories-horizontal-bar::-webkit-scrollbar {
    display: none;
}

.category-mini-item {
    width: 82px;
    height: 82px;
    border-radius: 9px;
    background: rgba(2, 168, 229, 0); /* Transparent by default */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    flex-shrink: 0; /* Prevent shrinking */
}

.category-mini-item.active {
    background: white;
}

.category-mini-icon {
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.category-mini-icon img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.category-mini-icon.rotate-180 {
    transform: rotate(180deg);
}

.category-mini-label {
    font-family: 'Varela', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: white;
    text-align: center;
    line-height: 1.2;
}

.category-mini-item.active .category-mini-label {
    color: #161830;
    font-weight: 700;
}

/* Restaurants Grid */
.restaurants-grid-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

@media (max-width: 1024px) {
    .restaurants-section-wrapper {
        flex: 1;
        min-height: 0;
    }
    
    .restaurant-row {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .restaurants-section-wrapper {
        flex: 1;
        min-height: 0;
        padding-right: 4px;
    }
    
    .restaurant-row {
        gap: 12px;
    }
}

.restaurants-grid-container .restaurant-card {
    background: #00c2e8;
    border: 2px solid white;
    border-radius: 6px;
    padding: 24px 16px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    width: 286px;
    max-width: 286px;
    height: 154px;
    flex-shrink: 0;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease;
}

.restaurants-grid-container .restaurant-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.restaurant-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    text-align: right;
    color: white;
    flex: 1 0 0;
    min-width: 0;
}

.restaurant-header {
    font-family: 'Varela', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.08;
    color: white;
    word-wrap: break-word;
}

.restaurant-address {
    font-family: 'Varela', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.restaurants-grid-container .restaurant-description {
    font-family: 'Varela', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    opacity: 0.9;
    color: white;
}

.restaurant-image-container {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
}

.restaurant-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.no-restaurants {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

/* Restaurants Section Wrapper */
.restaurants-section-wrapper {
    position: relative;
    width: 100%;
    max-height: 100%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    margin-bottom: 0;
}

/* Custom Scrollbar Styling */
.restaurants-section-wrapper::-webkit-scrollbar {
    width: 8px;
}

.restaurants-section-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.restaurants-section-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.restaurants-section-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Restaurants Grid */
.restaurants-grid-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.restaurant-row {
    display: flex;
    gap: 25px;
    justify-content: flex-start;
}

.restaurant-row .restaurant-card {
    flex: 1;
    min-width: 0;
}

.scroll-indicator {
    position: fixed;
    right: 42%; /* מיקום דינמי שמתאים למרכז אזור המפה */
    top: 65%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 100;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.scroll-text {
    writing-mode: sideways-lr;
    text-orientation: mixed;
    font-family: 'Varela', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    color: white;
    white-space: nowrap;
}

.scroll-arrow {
    width: 16px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceArrow 2s ease-in-out infinite;
}

.scroll-arrow img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* Adjust position for laptop screens */
@media (max-width: 1600px) {
    .scroll-indicator {
        display: none !important;
    }
}

/* Hide scroll indicator when screen is too narrow or on mobile */
@media (max-width: 1400px) {
    .scroll-indicator {
        display: none !important;
    }
}

/* Restaurants Action Buttons */
.restaurants-action-buttons {
    display: flex;
    gap: 20px;
    padding: 0 0 30px 0;
    flex-shrink: 0;
    align-self: flex-start;
}

.restaurants-action-buttons .btn-skip-finish {
    margin-right: auto;
}

.btn-vote-another-area,
.btn-skip-finish {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Varela', sans-serif;
    font-weight: 500;
    text-decoration: none;
    border-radius: 52px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.btn-vote-another-area {
    background: white;
    color: #00c2e8;
    border: none;
    opacity: 1;
    padding: 9px 66px;
    font-size: 18px;
}

.btn-vote-another-area:hover {
    opacity: 1;
    transform: scale(1.02);
}

.btn-skip-finish {
    background: #00c2e8;
    color: white;
    border: 2px solid white;
    opacity: 0.5;
    padding: 10px 48px;
    font-size: 18px;
}

.btn-skip-finish:hover {
    opacity: 0.7;
    transform: scale(1.02);
}

@media (max-width: 640px) {
    .restaurants-action-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .btn-vote-another-area,
    .btn-skip-finish {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .category-divider {
        display: none;
    }
}

/* Area Footer */
/* Area Footer (old - to be removed) */
.area-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    opacity: 0.85;
}

@media (max-width: 1024px) {
    .area-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.area-footer .social-links {
    display: flex;
    gap: 12px;
}

.area-footer .social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.area-footer .social-links a:hover {
    transform: scale(1.1);
}

.area-footer .social-links img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.area-footer .social-links a:hover img {
    opacity: 1;
}

/* Page Footer Bar - Full Width Black Bar - Always visible at bottom */
.page-footer-bar {
    background: #2b2b2b;
    color: #ffffff;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-footer-bar .footer-content {
    display: flex;
    gap: 16px;
    align-items: center;
    font-family: 'Varela', sans-serif;
    font-size: 14px;
    font-weight: 400;
    opacity: 1;
}

.page-footer-bar .footer-icon {
    height: 16px;
    width: auto;
    margin-right: 4px;
}

.page-footer-bar .footer-separator {
    opacity: 0.5;
}

/* =====================================
   LEGACY AREA PAGE STYLES (To be removed)
   ===================================== */
.area-page {
    display: flex;
    min-height: 100vh;
    background-color: #ffffff;
}

.area-page .pageContainer {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 60px;
}

@media (max-width: 1023px) {
    .area-page .pageContainer {
        padding: 24px;
    }
}

.area-page .main {
    flex: 1;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--wolt-blue);
    margin-bottom: 40px;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .page-title {
        font-size: 36px;
        margin-bottom: 32px;
    }
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    background: white;
    border: 3px solid;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-header {
    padding: 24px;
    color: white;
}

.category-name {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

.category-body {
    padding: 24px;
    background: white;
    text-align: center;
}

.btn-view-restaurants {
    background: var(--wolt-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-view-restaurants:hover {
    background: var(--wolt-dark-blue);
    transform: scale(1.02);
}

/* Restaurants Container */
.restaurants-container {
    margin-top: 32px;
}

.btn-back-to-categories {
    background: transparent;
    color: var(--wolt-blue);
    border: 2px solid var(--wolt-blue);
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 32px;
    transition: all 0.3s;
}

.btn-back-to-categories:hover {
    background: var(--wolt-blue);
    color: white;
}

.category-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .restaurant-grid {
        grid-template-columns: 1fr;
    }
}

.restaurant-card {
    background: white;
    border: 3px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.restaurant-card.selected {
    border-color: white;
    background: white;
    box-shadow: 0 0 0 4px white, 0 0 0 4px white, 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.restaurant-card.selected .restaurant-name,
.restaurant-card.selected .restaurant-city,
.restaurant-card.selected .restaurant-description,
.restaurant-card.selected .restaurant-header,
.restaurant-card.selected .restaurant-address {
    color: var(--wolt-blue) !important;
}

.restaurant-image {
    width: 100%;
    max-height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.restaurant-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.restaurant-city {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.restaurant-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 16px;
}

.btn-select-restaurant {
    background: var(--wolt-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.btn-select-restaurant:hover {
    background: var(--wolt-dark-blue);
}

.restaurant-card.selected .btn-select-restaurant {
    background: #10b981;
}

/* Voting Summary */
.voting-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--wolt-blue);
    padding: 20px 32px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.summary-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.votes-count {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

#vote-count {
    color: var(--wolt-blue);
    font-size: 24px;
}

.btn-finish-voting {
    background: var(--wolt-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 48px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-finish-voting:hover {
    background: var(--wolt-dark-blue);
    transform: scale(1.05);
}

/* =====================================
   LEAD FORM PAGE
   ===================================== */
.lead-form-page {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, var(--wolt-blue) 0%, #00a8cc 100%);
    display: flex;
    flex-direction: row-reverse;
    position: relative;
}

/* Map Section */
.map-section {
    width: 41%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Form Section Wrapper */
.form-section-wrapper {
    width: 59%;
    height: 100vh;
    overflow-y: auto;
    padding: 32px 38px 40px 48px;
    display: flex;
    flex-direction: column;
}

/* Form Breadcrumbs */
.form-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-bottom: 32px;
    font-family: 'Varela', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    color: white;
    white-space: nowrap;
}

.form-breadcrumbs .breadcrumb-item {
    position: relative;
}

.form-breadcrumbs .breadcrumb-item.active {
    font-weight: 700;
}

@media (max-width: 640px) {
    .form-breadcrumbs {
        font-size: 14px;
        gap: 12px;
    }
}

/* Hero Section */
.form-hero {
    margin-bottom: 24px;
    text-align: right;
    color: white;
}

.hero-title {
    font-family: 'OmnesHebrew', sans-serif;
    font-size: 82px;
    font-weight: 700;
    line-height: 0.86;
    margin-bottom: 16px;
    color: white;
}

.hero-subtitle {
    font-family: 'Varela', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    color: white;
}

.hero-description {
    font-family: 'Varela', sans-serif;
    font-size: 18px;
    line-height: 1.28;
    color: white;
}

/* Form Container Wrapper */
.form-container-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lead-form-page .pageContainer {
    width: 100%;
    max-width: 100%;
}

.lead-form-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container {
    background: white;
    border-radius: 6px;
    padding: 20px 24px;
    width: 100%;
    max-width: 640px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
    .form-container {
        padding: 24px 20px;
        border-radius: 6px;
    }
}

.form-intro-text {
    margin-bottom: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Varela', sans-serif;
}

.form-intro-text p {
    font-size: 18px;
    color: white;
    margin: 8px 0;
    line-height: 1.5;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 640px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    font-size: 16px;
    font-weight: 500;
    font-family: 'Varela', sans-serif;
    color: #161830;
}

.required {
    color: #dc2626;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: 'Varela', sans-serif;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: right;
    direction: rtl;
}

.form-input::placeholder,
.form-textarea::placeholder {
    text-align: right;
    direction: rtl;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--wolt-blue);
    box-shadow: 0 0 0 2px rgba(0, 194, 232, 0.1);
}

.form-input.error,
.form-textarea.error {
    border: 1px solid #da1f27;
    border-radius: 6px;
    background-color: #ffffff;
    color: #da1f27;
}

.form-input.error::placeholder,
.form-textarea.error::placeholder {
    color: #da1f27;
    opacity: 1;
}

.form-textarea {
    resize: vertical;
    min-height: 158px;
    font-family: 'Varela', sans-serif;
}

.error-message {
    color: #da1f27;
    font-size: 12px;
    min-height: 14px;
    display: block;
    margin-top: 4px;
    text-align: right;
    padding-right: 10px;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Varela', sans-serif;
    color: white;
}

.checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--wolt-blue);
}

.checkbox-label input[type="checkbox"].error {
    outline: 3px solid #da1f27;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(218, 31, 39, 0.2);
}

.checkbox-label.error .checkbox-text {
    color: #da1f27;
}

.checkbox-text {
    line-height: 1.5;
    color: white;
}

.checkbox-text a {
    color: white;
    text-decoration: underline;
}

.checkbox-text a:hover {
    color: #e0f7fb;
}

/* Form Actions */
.form-actions {
    /* margin-top: 12px; */
}

.btn-submit {
    width: 100%;
    padding: 14px 32px;
    background: white;
    color: var(--wolt-blue);
    border: none;
    border-radius: 52px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Varela', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    background: #f0f9fb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 194, 232, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .lead-form-page {
        flex-direction: column;
    }
    
    .map-section {
        width: 100%;
        height: 40vh;
    }
    
    .form-section-wrapper {
        width: 100%;
        height: 60vh;
        padding: 24px;
    }
    
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 640px) {
    .form-section-wrapper {
        padding: 16px;
    }
    
    .area-title {
        font-size: 8vw;
        margin-bottom: 2vw;
    }
    
    .area-subtitle {
        font-size: 4.5vw;
    }
    
    .form-intro-text {
        margin-bottom: 1vw;
        padding-top: 0;
    }
    
    .form-intro-text p {
        font-size: 4vw;
    }
    
    .lead-form {
        gap: 2vw;
    }
    
    .form-row {
        gap: 3vw;
    }
    
    .form-input,
    .form-textarea {
        padding: 3.5vw 4vw;
        font-size: 4vw;
    }
    
    .form-textarea {
        min-height: 30vw;
    }
    
    .checkbox-label {
        font-size: 3.5vw;
    }
    
    .btn-submit {
        width: 100%;
        padding: 4vw 6vw;
        font-size: 4.5vw;
    }
    
    .vote-form-page .area-content {
        padding: 0 5vw;
    }
    
    .vote-form-page .area-header {
        margin-bottom: 6vw;
    }
    
    .vote-form-page .top-nav {
        font-size: 3.5vw;
        gap: 3vw;
    }
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--wolt-blue);
    box-shadow: 0 0 0 3px rgba(0, 194, 232, 0.1);
}

.form-input.error,
.form-textarea.error {
    border-color: #dc2626;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.char-counter {
    font-size: 14px;
    color: var(--text-gray);
    text-align: left;
}

.checkbox-group {
    margin: 8px 5px 0 0 ;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--wolt-blue);
}

.checkbox-text {
    font-size: 15px;
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--wolt-blue);
    text-decoration: underline;
}

.form-actions {
    /* margin-top: 16px; */
}

.btn-submit {
    width: 100%;
    background: white;
    color: var(--wolt-blue);
    border: none;
    border-radius: 50px;
    padding: 18px 32px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    background: #f0f9fb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 194, 232, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 16px;
}

/* =====================================
   THANK YOU PAGE
   ===================================== */
.thank-you-page {
    height: 100vh; /* Altura exacta del viewport */
    max-height: 100vh;
    overflow: hidden; /* Sin scroll */
    background: linear-gradient(135deg, var(--wolt-blue) 0%, #00a8cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.thank-you-page .pageContainer {
    width: 100%;
    max-width: 100%;
}

.thank-you-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thank-you-container {
    background: white;
    border-radius: 24px;
    padding: 60px 48px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
}

@media (max-width: 640px) {
    .thank-you-container {
        padding: 48px 32px;
        border-radius: 16px;
    }
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.success-icon svg {
    animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(-10deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.thank-you-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--wolt-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

@media (max-width: 640px) {
    .thank-you-title {
        font-size: 32px;
    }
}

.success-icon svg {
    animation: celebrate 0.8s ease-in-out;
}

@keyframes celebrate {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.thank-you-subtext {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: center;
}

/* Thank You Page Layout Adjustments */
.thank-you-page-layout .area-hero-side {
    justify-content: center;
    align-items: center;
}

.thank-you-page-layout .thank-you-container {
    margin: 0 auto;
}

.thank-you-message {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    background: var(--wolt-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 18px 32px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--wolt-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 194, 232, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--wolt-blue);
    border: 2px solid var(--wolt-blue);
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--wolt-blue);
    color: white;
}

.social-share {
    padding-top: 32px;
    border-top: 2px solid var(--border-gray);
}

.share-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.share-btn {
    width: 56px;
    height: 56px;
    background: white;
    border: 2px solid var(--border-gray);
    border-radius: 50%;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    border-color: var(--wolt-blue);
    background: var(--wolt-blue);
    color: white;
    transform: translateY(-4px);
}

.share-btn img {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.share-btn:hover img {
    filter: brightness(0) invert(1);
}

/* =====================================
   EXIT INTENT POPUP
   ===================================== */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.exit-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.exit-popup-content {
    background: var(--wolt-blue);
    border-radius: 8px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.exit-popup-overlay.active .exit-popup-content {
    transform: scale(1);
}

.exit-popup-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    color: white;
    width: 100%;
}

.exit-popup-title {
    font-family: 'Varela', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}

.exit-popup-description {
    font-family: 'Varela', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}

.exit-popup-description p {
    margin: 0;
}

.exit-popup-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.exit-popup-btn {
    font-family: 'Varela', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    padding: 10px 48px;
    border-radius: 52px;
    height: 38px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.exit-popup-btn-secondary {
    background: var(--wolt-blue);
    color: white;
    border: 2px solid white;
    flex: 0 0 113px;
}

.exit-popup-btn-secondary:hover {
    background: white;
    color: var(--wolt-blue);
}

.exit-popup-btn-primary {
    background: white;
    color: var(--wolt-blue);
    flex: 1;
}

.exit-popup-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
    .exit-popup-content {
        padding: 32px 24px;
        gap: 24px;
    }

    .exit-popup-title {
        font-size: 20px;
    }

    .exit-popup-description {
        font-size: 16px;
    }

    .exit-popup-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .exit-popup-btn {
        width: 100%;
        flex: 1 1 auto;
    }

    .exit-popup-btn-secondary {
        flex: 1 1 auto;
    }
}

/* =====================================
   DESKTOP MAP SIDEBAR (For Area Page)
   ===================================== */
.desktopMapWrapper {
    display: none;
}

@media (min-width: 1024px) {
    .area-page {
        flex-direction: row-reverse;
    }

    .desktopMapWrapper {
        display: block;
        flex: 0 0 35%;
        background: #e8f4f8;
        position: sticky;
        top: 0;
        height: 100vh;
        overflow: hidden;
    }

    .area-page .pageContainer {
        flex: 1;
        overflow-y: auto;
    }
}

/* Tooltip Style (Figma-like) */
.restaurant-tooltip {
    position: absolute;
    background: #009de0; /* Wolt Blue Background */
    color: white; /* White Text */
    border-radius: 16px; /* Rounded corners like Figma */
    padding: 15px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* Stronger shadow */
    pointer-events: none;
    z-index: 1000;
    text-align: center;
    min-width: 160px;
    transform: translate(-50%, -100%); /* Center horizontally, move up */
    margin-top: -12px; /* Space above the point */
    font-family: 'Segoe UI', sans-serif;
    display: none; /* Hidden by default */
    opacity: 0;
    transition: opacity 0.2s ease;
}

.restaurant-tooltip.visible {
    display: block;
    opacity: 1;
}

.restaurant-tooltip .tooltip-name {
    font-weight: 700; /* Bold */
    font-size: 18px;
    color: white; /* White Text */
    margin-bottom: 4px;
    line-height: 1.1;
}

.restaurant-tooltip .tooltip-address {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    line-height: 1.2;
}

.restaurant-tooltip .tooltip-city {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

.restaurant-tooltip .tooltip-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #009de0; /* Match background color */
    filter: drop-shadow(0 2px 1px rgba(0,0,0,0.05));
}

/* Tooltip below point (for points near top) */
.restaurant-tooltip.below {
    transform: translate(-50%, 0); /* Center horizontally, no vertical offset */
    margin-top: 12px; /* Space below the point */
}

.restaurant-tooltip.below .tooltip-arrow {
    bottom: auto;
    top: -8px; /* Move arrow to top */
    border-top: none;
    border-bottom: 10px solid #009de0; /* Flip arrow to point up */
}

/* ==========================================
   MOBILE RESPONSIVE STYLES (max-width: 768px)
   ========================================== */

/* Mobile Header Component - Hidden on Desktop */
.mobile-header-component {
    display: none;
}

/* Hide map icon button on desktop */
.map-icon-button {
    display: none;
}

/* Hide mobile header container on desktop */
.mobile-header-container {
    display: none;
}

/* Hide mobile map overlay on desktop */
.map-overlay-mobile {
    display: none;
}

/* Hide mobile-only elements on desktop */
.mobile-only {
    display: none !important;
}

/* Show desktop-only elements on desktop */
.desktop-only {
    display: block !important;
}

/* Homepage Mobile */
@media (max-width: 1024px) {
    /* Hide desktop-only elements on mobile */
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile-only elements on mobile */
    .mobile-only {
        display: block !important;
    }
    
    /* Hide map on mobile homepage */
    .homepage-map {
        display: none !important;
    }
    
    .desktop-map {
        display: none !important;
    }
    
    .homepage-layout .homepage-map {
        display: none !important;
    }
    
    .homepage-layout {
        height: auto;
        min-height: 100vh;
        max-height: none;
        overflow: visible;
    }
    
    .homepage-hero {
        flex: 1;
        padding: 24px;
        clip-path: none;
        max-height: none;
        overflow: visible;
    }
    
    .homepage-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .homepage-title .emoji {
        font-size: 28px;
        vertical-align: middle;
    }
    
    .homepage-subtitle {
        font-size: 16px;
        margin-bottom: 0;
    }
    
    .homepage-description {
        font-size: 4.35vw; 
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .voted-message {
        padding: 40px 20px;
        gap: 12px;
    }
    
    .voted-title-text {
        font-size: 32px;
    }
    
    .voted-emoji {
        font-size: 28px;
    }
    
    .voted-subtitle {
        font-size: 16px;
    }
    
    .voted-divider {
        width: 100%;
    }
    
    .voted-description {
        font-size: 14px;
    }
    
    .voted-button {
        font-size: 16px;
        padding: 9px 40px;
        min-width: 280px;
    }
    
    /* Mobile header container */
    .mobile-header-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 24px;
        gap: 16px;
    }
    
    .mobile-title-group {
        flex: 1;
    }
    
    /* Show map icon button on mobile */
    .map-icon-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: transform 0.2s;
        flex-shrink: 0;
        position: relative;
    }
    
    .map-icon-button:hover {
        transform: scale(1.05);
    }
    
    .map-icon-button img {
        width: 40px;
        height: auto;
        object-fit: contain;
    }
    
    .map-search-icon {
        position: absolute;
        bottom: 8px;
        right: 8px;
        width: 24px;
        height: 24px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }
    
    /* Full-screen map overlay */
    .map-overlay-mobile {
        position: fixed;
        top: 68px; /* Height of mobile header (48px content + 20px padding) */
        left: 0;
        width: 100%;
        height: calc(100% - 68px);
        background: #f0f8fb;
        z-index: 9999;
        display: none;
    }
    
    .map-overlay-mobile.active {
        display: block;
    }
    
    .map-overlay-header {
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
        right: auto;
        z-index: 1002;
        background: transparent;
        padding: 0;
        height: auto;
        border-bottom: none;
    }
    
    .map-back-arrow {
        display: flex;
        width: 40px;
        height: 40px;
        background: white;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        font-size: 24px;
        color: #333;
        cursor: pointer;
    }
    
    .map-overlay-content {
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    .map-overlay-mobile .homepage-map {
        display: block;
        height: 100%;
        flex: none;
    }
    
    .map-overlay-mobile .homepage-map-container {
        padding-top: 0; /* Remove padding since header is gone */
    }
    
    /* Area buttons grid - keep 2x2 on mobile */
    .area-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .area-button-pill {
        padding: 16px 24px;
        font-size: 20px;
        min-height: 48px;
    }
    
    /* Early finish section mobile */
    .early-finish-section {
        text-align: center;
    }
    
    .vote-count-text {
        font-size: 4.375vw; /* 28px at 640px */
    }
    
    .finish-prompt {
        font-size: 3.75vw; /* 24px at 640px */
    }
    
    .btn-finish-early {
        padding: 14px 32px;
        font-size: 4.6875vw; /* 30px at 640px */
        width: 100%;
    }
    
    /* Categories page mobile */
    .area-page-layout {
        flex-direction: column;
        max-height: none;
        overflow: visible;
    }
    
    .area-hero-side {
        max-height: none;
        overflow: visible;
    }

    /* Form and Thank You pages mobile */
    .lead-form-page,
    .thank-you-page {
        height: auto;
        min-height: 100vh;
        max-height: none;
        overflow: visible;
        display: block;
    }

    .restaurants-layout-container {
        overflow: visible;
    }
    
    .area-map-side {
        display: none;
    }
    
    .area-hero-side {
        flex: 1;
        padding: 0 24px;
        clip-path: none;
    }
    
    .categories-selection-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        justify-items: center;
    }
    
    .categories-row {
        display: contents;
    }
    
    .category-separator {
        display: none;
    }
    
    .category-selection-item {
        width: 100%;
        max-width: 160px;
    }
    
    .category-icon {
        height: 100px;
        width: 100px;
    }
    
    .category-label {
        font-size: 16px;
    }
    
    /* Restaurants page mobile */
    .restaurants-layout-container {
        gap: 16px;
        padding-bottom: 8vw;
    }
    
    .categories-scroll-wrapper {
        padding: 0 6vw; /* Add padding to keep arrows away from categories */
    }
    
    .category-scroll-arrow {
        display: flex; /* Show on mobile when needed (controlled by JS) */
    }
    
    .category-scroll-left {
        left: 0vw; /* Responsive position based on viewport width */
        right: auto;
    }
    
    .category-scroll-right {
        right: 0vw; /* Responsive position based on viewport width */
        left: auto;
    }
    
    .categories-horizontal-bar {
        gap: 12px;
        padding-bottom: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        flex-wrap: nowrap;
        touch-action: pan-x;
    }
    
    .categories-horizontal-bar::-webkit-scrollbar {
        display: none;
    }
    
    .category-mini-item {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }
    
    .category-mini-icon {
        height: 32px;
        width: 32px;
    }
    
    .category-mini-label {
        font-size: 11px;
    }
    
    .restaurants-section-wrapper {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    
    .restaurant-row {
        flex-direction: column;
        gap: 16px;
        padding: 0 4px;
    }
    
    .restaurant-row .restaurant-card {
        width: 100%;
        max-width: none;
    }
    
    .restaurant-row .restaurant-card.selected {
        transform: translateY(-2px);
    }
    
    .restaurants-action-buttons {
        flex-direction: column;
        padding: 0 24px 30px;
        gap: 16px;
        align-self: center;
    }
    
    .btn-vote-another-area,
    .btn-skip-finish {
        width: 100%;
        max-width: none;
    }
    
    /* Form page mobile */
    .lead-form-page .main {
        padding: 16px;
    }
    
    .form-container {
        margin: 24px auto;
        padding: 24px;
        border-radius: 12px;
    }
    
    .form-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .form-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .form-group {
        margin-bottom: 0;
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .form-input,
    .form-textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .form-textarea {
        rows: 3;
    }
    
    .btn-submit {
        width: 100%;
        padding: 14px 24px;
        font-size: 3.7vw;;
        margin-bottom: 24px;
    }
    
    .form-disclaimer {
        font-size: 12px;
    }
    
    /* Thank you page mobile */
    .thank-you-page .main {
        padding: 24px 16px;
    }
    
    .thank-you-container {
        padding: 32px 24px;
    }
    
    .success-icon {
        margin-bottom: 24px;
    }
    
    .success-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .thank-you-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .thank-you-message {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .thank-you-actions {
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 14px 24px;
        font-size: 18px;
    }
    
    .social-share {
        margin-top: 24px;
    }
    
    .share-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .share-buttons {
        gap: 12px;
    }
    
    .share-btn {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 1024px) {
    /* Mobile Header Styles */
    .mobile-header-component {
        display: block;
        background-color: #00c2e8;
        padding: 11px;
        position: fixed; /* Fix header to top */
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10000; /* Higher than map overlay */
    }

    /* Add padding to body or layout to account for fixed header */
    .homepage-layout, .area-page-layout, .lead-form-page .main, .thank-you-page .main {
        padding-top: 70px;
    }

    /* Adjust map overlay to sit below header */
    .map-overlay-mobile {
        top: 70px !important;
        height: calc(100% - 70px) !important;
    }

    .mobile-header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 48px;
    }

    .header-logos {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .logo-circle {
        width: 40px;
        height: 40px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .logo-circle img {
        width: 24px;
        height: auto;
    }

    .wolt-logo-container {
        display: flex;
        align-items: center;
        height: 40px;
    }

    .wolt-logo-container img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .header-badge {
        background: #00c2e8;
        border: 2.25px solid white;
        border-radius: 50px;
        padding: 11px;
        color: white;
        font-weight: 700;
        font-size: 16px;
        white-space: nowrap;
        line-height: 1.6;
        font-family: 'OmnesHebrew', sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 48px;
        letter-spacing: 0.5px;
    }

    .menu-button {
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 10002;
        width: 40px;
        height: 40px;
    }

    .menu-button svg {
        width: 24px;
        height: 24px;
    }

    .menu-button svg .line {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-button svg .line-1 {
        transform-origin: 12px 6px;
    }

    .menu-button svg .line-2 {
        transform-origin: 12px 12px;
    }

    .menu-button svg .line-3 {
        transform-origin: 12px 18px;
    }

    /* Hamburger to X animation - Perfect diagonal */
    .menu-button.active svg .line-1 {
        transform: translate(0, 6px) rotate(45deg);
    }

    .menu-button.active svg .line-2 {
        opacity: 0;
        transform: scaleX(0);
    }

    .menu-button.active svg .line-3 {
        transform: translate(0, -6px) rotate(-45deg);
    }

    /* Mobile Map Overlay Specifics */
    .map-overlay-mobile .map-logos {
        display: none;
    }

    .map-overlay-mobile .map-legend {
        left: auto;
        right: 16px;
        bottom: 20px;
        width: auto;
    }

    .map-overlay-mobile .legend-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Mobile Map Content Margins */
    .map-overlay-mobile .map-content {
        margin: 17px 30px 59px 30px;
        width: calc(100% - 60px);
        height: calc(100% - 76px);
    }

    /* Hide regular footer on mobile */
    .footer-component,
    .page-footer-bar {
        display: none;
    }

    /* Show Mobile Bottom Nav */
    .mobile-bottom-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #161830;
        padding: 15px 0;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .mobile-bottom-nav .breadcrumbs-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        font-family: 'Varela', sans-serif;
    }

    .mobile-bottom-nav .nav-link {
        color: #80e1f3;
        text-decoration: none;
        font-size: 14px;
        white-space: nowrap;
    }

    .mobile-bottom-nav .nav-link.active {
        color: white;
        font-weight: bold;
    }

    .mobile-bottom-nav .nav-separator {
        color: #80e1f3;
        font-size: 14px;
    }
    
    /* Add padding to bottom of page to account for fixed nav */
    body {
        padding-bottom: 50px;
    }
    
    /* Remove padding when bottom nav is hidden */
    body:has(.mobile-bottom-nav[style*="display: none"]),
    body:has(.mobile-bottom-nav[style*="display:none"]) {
        padding-bottom: 0 !important;
    }

    /* Mobile Dropdown Menu */
    .mobile-dropdown-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 194, 232, 0.7);
        backdrop-filter: blur(10px);
        padding: 30px 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 10001;
        display: none;
    }

    .mobile-dropdown-menu.active {
        transform: translateY(0);
        opacity: 1;
        display: block;
    }

    .dropdown-menu-content {
        max-width: 400px;
        margin: 0 auto;
    }

    .menu-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px 60px;
        justify-items: center;
    }

    .menu-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
        text-decoration: none;
        color: white;
        transition: transform 0.2s ease;
    }

    .menu-item:hover {
        transform: scale(1.05);
    }

    .menu-icon {
        width: 28px;
        height: 28px;
    }

    .menu-item span {
        font-family: 'Varela Extra FM', 'Varela', sans-serif;
        font-size: 12px;
        text-align: center;
        white-space: nowrap;
    }
}

/* Global styles for Mobile Bottom Nav (Hidden on Desktop) */
@media (min-width: 1025px) {
    .mobile-bottom-nav {
        display: none;
    }

    .mobile-dropdown-menu {
        display: none !important;
    }
}

/* =====================================
   reCAPTCHA v3 - Ocultar Badge
   ===================================== */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =====================================
   Mobile Button Optimization
   ===================================== */
@media (max-width: 1024px) {
    .area-button-pill,
    .btn-finish-early,
    .voted-button,
    .area-button-component .areaButton {
        white-space: nowrap;
        font-size: clamp(14px, 4.5vw, 18px) !important;
        padding-left: clamp(16px, 3vw, 32px);
        padding-right: clamp(16px, 3vw, 32px);
    }

    .voted-button {
        min-width: auto;
        width: auto;
        max-width: 100%;
    }

    .area-buttons-grid {
        gap: 10px;
    }
}
