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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #222;
    background-color: #fff;
}

.logo-dot {
    color: #FFD43B;
}

/* ==========================================================================
   Landing Page
   ========================================================================== */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.landing-header-spacer {
    flex: 1;
}

.landing-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 24px;
}

.landing-logo {
    font-size: clamp(36px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1;
}

.landing-tagline {
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 500;
    color: #717171;
    margin-bottom: 40px;
    max-width: 600px;
}

.landing-search-container {
    width: 100%;
    max-width: 900px;
    margin-bottom: 24px;
    position: relative;
}

.landing-search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 40px;
    padding: 8px 8px 8px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white;
    height: 66px;
}

.landing-search-bar:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.landing-subtext {
    font-size: 14px;
    color: #717171;
    max-width: 600px;
    margin-top: 16px;
}

.landing-footer {
    padding: 32px 24px;
    text-align: center;
    font-size: 14px;
    color: #717171;
    border-top: 1px solid #ebebeb;
}

/* ==========================================================================
   Search Sections (shared between landing and main)
   ========================================================================== */
.search-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 24px;
    cursor: pointer;
    border-radius: 32px;
    transition: background 0.2s;
    min-width: 0;
    text-align: left;
}

.search-section:hover {
    background: #ebebeb;
}

.search-section-where {
    flex: 1.2;
    min-width: 200px;
}

.search-section-favorites,
.search-section-who {
    flex: 0.9;
}

.search-section-label {
    font-size: 12px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
    text-align: left;
}

.search-section-input {
    border: none;
    outline: none;
    font-size: 14px;
    color: #222;
    background: transparent;
    padding: 0;
    width: 100%;
    text-align: left;
}

.search-section-input::placeholder {
    color: #717171;
}

.search-section-value {
    font-size: 14px;
    color: #717171;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-section-value.has-value {
    color: #222;
}

.search-divider-v {
    width: 1px;
    height: 32px;
    background: #ddd;
    flex-shrink: 0;
}

/* Red search button */
.search-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(to right, #e61e4d, #e31c5f, #d70466);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
}

.search-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.search-btn svg {
    color: white;
}

/* ==========================================================================
   Search Dropdowns
   ========================================================================== */
.search-dropdown {
    display: none;
    position: absolute;
    background: white;
    border-radius: 32px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    padding: 24px;
    z-index: 2000;
}

.search-dropdown.active {
    display: block;
}

/* Favorites dropdown needs more width for 3-column layout */
#favoritesDropdown {
    min-width: 480px;
    max-width: 560px;
}

.dropdown-section {
    margin-bottom: 20px;
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

/* Favorite chips and age chips - flex wrap so each chip sizes to content */
.favorite-chips,
.age-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.favorite-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f7f7f7;
    border: 1px solid #ebebeb;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.age-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f7f7f7;
    border: 1px solid #ebebeb;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.favorite-chip input,
.age-chip input {
    display: none;
}

.favorite-chip:hover,
.age-chip:hover {
    background: #ebebeb;
}

.favorite-chip.selected,
.age-chip.selected {
    background: #222;
    color: white;
    border-color: #222;
}

/* People counter */
.people-counter {
    display: flex;
    align-items: center;
    gap: 16px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #b0b0b0;
    background: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.counter-btn:hover {
    border-color: #222;
}

.counter-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.counter-value {
    font-size: 16px;
    font-weight: 500;
    min-width: 24px;
    text-align: center;
}

/* ==========================================================================
   Main App Layout
   ========================================================================== */
.main-app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    z-index: 1000;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    flex-shrink: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 24px;
}

@media (min-width: 744px) {
    .header-content {
        padding: 0 40px;
    }
}

@media (min-width: 1128px) {
    .header-content {
        padding: 0 80px;
    }
}

.header-filters {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 24px;
    border-top: 1px solid #ebebeb;
}

@media (min-width: 744px) {
    .header-filters {
        padding: 12px 40px;
    }
}

@media (min-width: 1128px) {
    .header-filters {
        padding: 12px 80px;
    }
}

/* Main Logo */
.main-logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.main-logo {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    cursor: pointer;
}

.main-tagline {
    font-size: 16px;
    font-weight: 500;
    color: #717171;
}

/* Search container in header */
.search-container {
    flex: 1;
    max-width: 850px;
    margin: 0 24px;
}

@media (min-width: 744px) {
    .search-container {
        margin: 0 40px;
    }
}

.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 40px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: box-shadow 0.2s;
    height: 48px;
    background: white;
}

.search-bar:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}

.search-bar .search-section {
    padding: 4px 16px;
}

.search-bar .search-section-label {
    font-size: 11px;
}

.search-bar .search-section-input {
    font-size: 13px;
}

/* Header right (user button) */
.header-right {
    display: flex;
    align-items: center;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 8px 16px;
    border: 1px solid #ddd;
    border-radius: 24px;
    background: white;
    cursor: pointer;
    transition: box-shadow 0.2s, background-color 0.2s;
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

.user-menu-btn:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}

.user-menu-btn .user-menu-name {
    white-space: nowrap;
}

.user-menu-btn .user-icon-svg {
    flex-shrink: 0;
}

/* Show map button */
.show-map-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #222;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    transition: all 0.2s;
}

.show-map-btn:hover {
    background: #f7f7f7;
}

.show-map-btn.active {
    background: #222;
    color: white;
    border-color: #222;
}

.map-icon {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Main Content Container (Activities + Map)
   ========================================================================== */
.main-container {
    display: flex;
    flex: 1;
    height: 0; /* Critical for proper scrolling */
    min-height: 0;
    overflow: hidden;
    position: relative;
}

/* Activities Panel - Left side, scrollable */
.activities-panel {
    flex: 1 1 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    height: 100%;
    transition: flex 0.3s ease;
    /* Consistent horizontal padding that matches Airbnb */
    padding: 24px 24px;
}

@media (min-width: 744px) {
    .activities-panel {
        padding: 24px 40px;
    }
}

@media (min-width: 1128px) {
    .activities-panel {
        padding: 24px 80px;
    }
}

/* When map is visible, activities panel shrinks */
.main-container.map-visible .activities-panel {
    flex: 0 0 55%;
    max-width: 55%;
}

@media (max-width: 1200px) {
    .main-container.map-visible .activities-panel {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 900px) {
    .main-container.map-visible .activities-panel {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Map Panel - Right side, sticky */
.map-panel {
    display: none;
    flex: 0 0 45%;
    width: 45%;
    height: 100%;
    position: sticky;
    top: 0;
    border-left: 1px solid #ebebeb;
    background-color: #e5e7eb;
}

@media (max-width: 1200px) {
    .map-panel {
        flex: 0 0 50%;
        width: 50%;
    }
}

@media (max-width: 900px) {
    .map-panel {
        display: none !important;
    }
}

.map-panel.active {
    display: block;
}

.main-container.map-visible .map-panel {
    display: block;
}

#map {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Results Header
   ========================================================================== */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ebebeb;
}

.tagline-container {
    position: relative;
    min-height: 32px;
}

.tagline {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.results-count {
    font-size: 22px;
    font-weight: 600;
    color: #222;
}

/* ==========================================================================
   Activities Grid - Responsive Airbnb-style
   ========================================================================== */
.activities-grid {
    display: grid;
    gap: 24px;
    padding-bottom: 40px;
    /* Single column by default */
    grid-template-columns: 1fr;
}

/* 2 columns at 550px+ */
@media (min-width: 550px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3 columns at 950px+ */
@media (min-width: 950px) {
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 4 columns at 1128px+ */
@media (min-width: 1128px) {
    .activities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 5 columns at 1440px+ */
@media (min-width: 1440px) {
    .activities-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 6 columns at 1880px+ */
@media (min-width: 1880px) {
    .activities-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* When map is visible, reduce grid columns */
.main-container.map-visible .activities-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .main-container.map-visible .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) {
    .main-container.map-visible .activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1800px) {
    .main-container.map-visible .activities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Activity Cards
   ========================================================================== */
.activity-card {
    cursor: pointer;
    transition: transform 0.2s;
}

.activity-card:hover {
    transform: translateY(-2px);
}

/* Highlight when hovering marker on map */
.activity-card.hover-highlight {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 56, 92, 0.3);
    outline: 2px solid #ff385c;
    outline-offset: 2px;
}

.activity-image-container {
    width: 100%;
    aspect-ratio: 4/3;
    margin-bottom: 8px;
    border-radius: 12px;
    overflow: hidden;
}

.activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #717171;
    font-size: 14px;
    font-weight: 500;
}

/* Category-based placeholder styling (fallback when no photo) */
.activity-placeholder-bg,
.activity-placeholder-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.activity-placeholder-icon {
    font-size: 48px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Actual photo styling */
.activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.activity-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.activity-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

.activity-rating svg {
    width: 14px;
    height: 14px;
    fill: #ff385c;
}

.activity-type {
    font-size: 14px;
    color: #717171;
    text-transform: capitalize;
}

.activity-address {
    font-size: 14px;
    color: #717171;
}

.activity-price {
    font-size: 15px;
    color: #222;
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.4;
}

/* ==========================================================================
   Curated Event Cards
   ========================================================================== */
.curated-event-card {
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.curated-event-card.personalized {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(16, 185, 129, 0.08) 100%);
}

.curated-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.curated-image-container {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.curated-event-card.personalized .curated-image-container {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.curated-placeholder {
    color: white !important;
    background: transparent !important;
}

.curated-event-icon {
    width: 48px;
    height: 48px;
    opacity: 0.9;
}

.curated-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
}

.curated-badge.personalized {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.curated-icon {
    width: 12px;
    height: 12px;
}

.activity-date {
    font-size: 14px;
    color: #10b981;
    font-weight: 600;
}

.activity-venue {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.activity-description {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.4;
    margin-top: 4px;
}

.activity-cost {
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ==========================================================================
   Redo Search Button (on map)
   ========================================================================== */
.redo-search-btn {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 14px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.2s;
}

.redo-search-btn:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateX(-50%) translateY(-2px);
}

.redo-icon {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   Loading & Error States
   ========================================================================== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    font-size: 16px;
    color: #717171;
}

.error {
    padding: 24px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    margin: 16px 0;
}

/* ==========================================================================
   Filter Dropdowns
   ========================================================================== */
.filter-dropdown {
    position: fixed !important;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.15);
    z-index: 3000 !important;
    display: none;
    min-width: 500px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
}

.filter-dropdown.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#durationFilterDropdown {
    min-width: 400px;
}

.filter-dropdown-content {
    padding: 24px;
}

.filter-dropdown-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #ebebeb;
}

.filter-clear-btn {
    background: none;
    border: none;
    color: #717171;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
}

.filter-clear-btn:hover {
    color: #222;
    text-decoration: underline;
}

.filter-show-btn {
    padding: 12px 24px;
    background: #222;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-show-btn:hover {
    background: #000;
}

/* Type Filter Grid */
.type-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 8px 0;
}

.type-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    min-height: 90px;
}

.type-option-btn:hover {
    border-color: #222;
    background: #f7f7f7;
}

.type-option-btn.selected {
    border-color: #222;
    background: #222;
    color: white;
}

.type-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

/* Duration Slider */
.duration-slider-container {
    margin: 24px 0;
}

.duration-slider {
    position: relative;
    height: 4px;
    background: #ebebeb;
    border-radius: 2px;
    margin-bottom: 24px;
    cursor: pointer;
}

.duration-selected-range {
    position: absolute;
    height: 100%;
    background: #222;
    border-radius: 2px;
    top: 0;
}

.duration-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #222;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    z-index: 10;
}

.duration-handle:active {
    cursor: grabbing;
}

.duration-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #717171;
}

/* ==========================================================================
   Filters Modal
   ========================================================================== */
.filters-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.filters-modal.active {
    display: flex;
}

.filters-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.filters-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #ebebeb;
}

.filters-modal-header h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: #717171;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #222;
}

.filters-modal-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
}

.filter-section {
    margin-bottom: 32px;
}

.filter-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #222;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    padding: 8px 0;
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.filters-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-top: 1px solid #ebebeb;
}

/* ==========================================================================
   Search Modal
   ========================================================================== */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.search-modal.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.search-modal-content {
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    position: relative;
    z-index: 2001;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.search-input-group {
    margin-bottom: 24px;
    position: relative;
}

.search-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

.search-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    pointer-events: auto !important;
    background: white !important;
    color: #222 !important;
}

.search-input-group input:focus {
    outline: none;
    border-color: #222;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: #ff385c;
    color: white;
}

.btn-primary:hover {
    background: #e61e4d;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    color: #222;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    border-color: #222;
    background: #f7f7f7;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   Google Places Autocomplete
   ========================================================================== */
.pac-container {
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-top: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    z-index: 3000 !important;
}

.pac-item {
    padding: 12px 16px;
    cursor: pointer;
    border-top: 1px solid #ebebeb;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover,
.pac-item-selected {
    background-color: #f7f7f7;
}

.pac-item-query {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    padding-right: 8px;
}

.pac-matched {
    font-weight: 600;
}

.pac-logo {
    display: none !important;
}

.pac-container::after {
    content: "powered by Google";
    font-size: 11px;
    color: #717171;
    padding: 8px 16px;
    display: block;
    text-align: right;
    border-top: 1px solid #ebebeb;
    margin-top: 4px;
}

/* ==========================================================================
   User Menu Dropdown
   ========================================================================== */
.user-menu-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 24px;
    background: white;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 4000;
    overflow: hidden;
}

.user-menu-dropdown.active {
    display: block;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    color: #222;
    font-size: 14px;
}

.user-menu-item:hover {
    background: #f7f7f7;
}

.user-menu-item svg {
    flex-shrink: 0;
}

.user-menu-item span {
    flex: 1;
}

.user-menu-item.signup-item {
    color: #ff385c;
}

.user-menu-item.logout-item {
    color: #717171;
}

.user-menu-item.close-item {
    border-top: 1px solid #ebebeb;
    justify-content: center;
    color: #717171;
}

/* ==========================================================================
   Modal Overlay (for Help and Magic Link modals)
   ========================================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5000;
    align-items: center;
    justify-content: center;
}

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

.modal-overlay .modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.modal-overlay .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #ebebeb;
}

.modal-overlay .modal-header h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.modal-overlay .close-btn {
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-overlay .close-btn:hover {
    background: #f7f7f7;
}

.modal-overlay .modal-body {
    padding: 24px;
}

.modal-overlay .modal-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 0;
}

.modal-overlay .modal-body p {
    margin-bottom: 16px;
    line-height: 1.6;
    color: #222;
}

.modal-overlay .modal-body a {
    color: #ff385c;
    text-decoration: none;
}

.modal-overlay .modal-body a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #222;
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Signup Modal Styles
   ========================================================================== */
.signup-modal {
    max-width: 480px;
}

.signup-modal .modal-intro {
    margin-bottom: 20px;
    color: #717171;
    font-size: 15px;
}

.signup-modal .form-group {
    margin-bottom: 20px;
}

.signup-modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

.signup-modal .form-input,
.signup-modal .form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.signup-modal .form-input:focus,
.signup-modal .form-select:focus {
    outline: none;
    border-color: #222;
}

.signup-modal .interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.signup-modal .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f7f7f7;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
    transition: background 0.2s;
}

.signup-modal .checkbox-label:hover {
    background: #ebebeb;
}

.signup-modal .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff385c;
}

/* Chip group styles for modal */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-group.favorites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 480px) {
    .chip-group.favorites-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Make favorites tiles equal height and vertically centered */
.chip-group.favorites-grid .select-chip {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: #f7f7f7;
    border: 1px solid #ebebeb;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.select-chip input[type="checkbox"],
.select-chip input[type="radio"] {
    display: none;
}

.chip-group.people-count-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-group.people-count-chips .select-chip {
    flex: 1;
    min-width: 70px;
    padding: 10px 12px;
}

.chip-group.ages-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-group.ages-chips .select-chip {
    padding: 10px 14px;
}

/* "No kids" chip - light gray style */
.select-chip.no-kids-chip {
    background: #f0f0f0;
    color: #666;
    border-color: #ddd;
}

.select-chip.no-kids-chip:hover {
    background: #e8e8e8;
}

.select-chip.no-kids-chip.selected {
    background: #666;
    color: white;
    border-color: #666;
}

.select-chip:hover {
    background: #ebebeb;
    border-color: #ddd;
}

.select-chip.selected {
    background: #222;
    color: white;
    border-color: #222;
}

.form-hint {
    font-size: 13px;
    color: #717171;
    margin: -4px 0 12px 0;
}

.signup-modal .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.signup-modal .modal-footer-text {
    margin-top: 16px;
    font-size: 13px;
    color: #717171;
    text-align: center;
}

/* ==========================================================================
   Filter Preferences Section
   ========================================================================== */
.filter-preferences-section {
    padding: 0 16px 16px;
}

.filter-section-divider {
    height: 1px;
    background: #ebebeb;
    margin: 16px 0;
}

.filter-pref-group {
    margin-bottom: 16px;
}

.filter-pref-group:last-child {
    margin-bottom: 0;
}

.filter-pref-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.filter-pref-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pref-chips.interests {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: #f7f7f7;
    border: 1px solid #ebebeb;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-chip input[type="checkbox"] {
    display: none;
}

.filter-chip:hover {
    background: #ebebeb;
}

.filter-chip.selected {
    background: #222;
    color: white;
    border-color: #222;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
    .main-tagline {
        display: none;
    }
    
    .search-container {
        margin: 0 12px;
    }
    
    .search-bar .search-section-favorites,
    .search-bar .search-section-who {
        display: none;
    }
    
    .search-bar .search-divider-v {
        display: none;
    }
    
    /* Hide logo on mobile for landing page and main app */
    .landing-logo,
    .main-logo-container {
        display: none;
    }
    
    /* Adjust landing hero for mobile without logo */
    .landing-hero {
        padding-top: 80px;
        justify-content: flex-start;
    }
    
    /* Give search container more space on main app when logo is hidden */
    .header-content {
        justify-content: center;
    }
    
    .search-container {
        flex: 1;
        max-width: none;
        margin: 0 8px;
    }
    
    /* Hide favorites and who in landing search bar on mobile */
    .landing-search-bar .search-section-favorites,
    .landing-search-bar .search-section-who,
    .landing-search-bar .search-divider-v {
        display: none;
    }
    
    /* Make the landing search bar more compact on mobile */
    .landing-search-bar {
        height: 56px;
        padding: 6px 6px 6px 16px;
    }
    
    /* Ensure Where section takes full width on mobile */
    .landing-search-bar .search-section-where {
        flex: 1;
    }
}

/* ==========================================================================
   Mobile Search Panel (Airbnb-style expandable search)
   ========================================================================== */
.mobile-search-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f7f7f7;
    z-index: 5000;
    overflow-y: auto;
    flex-direction: column;
}

.mobile-search-panel.active {
    display: flex;
}

.mobile-search-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #ebebeb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-search-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #b0b0b0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #222;
}

.mobile-search-close:hover {
    background: #f7f7f7;
}

.mobile-search-title {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.mobile-search-body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Mobile search card */
.mobile-search-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.mobile-search-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
}

.mobile-search-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.mobile-search-card-value {
    font-size: 14px;
    color: #717171;
}

.mobile-search-card-content {
    display: none;
    padding: 0 24px 24px;
}

.mobile-search-card.expanded .mobile-search-card-content {
    display: block;
}

.mobile-search-card.expanded {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Where card specific styles */
.mobile-where-input-container {
    position: relative;
    margin-bottom: 16px;
}

.mobile-where-input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border: 1px solid #b0b0b0;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
}

.mobile-where-input:focus {
    border-color: #222;
}

.mobile-where-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #717171;
}

.mobile-nearby-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    cursor: pointer;
}

.mobile-nearby-icon {
    width: 48px;
    height: 48px;
    background: #f0f5ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
}

.mobile-nearby-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 2px;
    color: #222;
}

.mobile-nearby-text p {
    font-size: 14px;
    color: #717171;
    margin: 0;
}

/* Favorites card specific styles */
.mobile-favorites-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mobile-favorite-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #f7f7f7;
    border: 1px solid #ebebeb;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-favorite-chip input {
    display: none;
}

.mobile-favorite-chip:hover {
    background: #ebebeb;
}

.mobile-favorite-chip.selected {
    background: #222;
    color: white;
    border-color: #222;
}

/* Who card specific styles */
.mobile-who-section {
    margin-bottom: 20px;
}

.mobile-who-section:last-child {
    margin-bottom: 0;
}

.mobile-who-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

.mobile-people-counter {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-counter-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #b0b0b0;
    background: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.mobile-counter-btn:hover {
    border-color: #222;
}

.mobile-counter-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.mobile-counter-value {
    font-size: 18px;
    font-weight: 500;
    min-width: 32px;
    text-align: center;
}

.mobile-age-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-age-chip {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: #f7f7f7;
    border: 1px solid #ebebeb;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-age-chip input {
    display: none;
}

.mobile-age-chip:hover {
    background: #ebebeb;
}

.mobile-age-chip.selected {
    background: #222;
    color: white;
    border-color: #222;
}

/* Mobile search footer */
.mobile-search-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: white;
    border-top: 1px solid #ebebeb;
    position: sticky;
    bottom: 0;
}

.mobile-clear-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 0;
}

.mobile-clear-btn:hover {
    color: #717171;
}

.mobile-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(to right, #e61e4d, #e31c5f, #d70466);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mobile-search-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

/* Collapse indicator arrow */
.mobile-card-chevron {
    width: 24px;
    height: 24px;
    transition: transform 0.2s;
}

.mobile-search-card.expanded .mobile-card-chevron {
    transform: rotate(180deg);
}

/* Only show mobile search panel trigger on mobile */
@media (min-width: 769px) {
    .mobile-search-panel {
        display: none !important;
    }
}

/* ==========================================================================
   Mobile Bottom Navigation (Airbnb-style)
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #ebebeb;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 4000;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.mobile-bottom-nav.hidden {
    transform: translateY(100%);
}

/* Only show on mobile */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    /* Hide header user menu button on mobile (it's now in bottom nav) */
    .landing-header .user-menu-btn,
    .header-right .user-menu-btn {
        display: none;
    }
    
    /* Add padding to bottom of activities panel to account for bottom nav */
    .activities-panel {
        padding-bottom: 80px;
    }
    
    /* Add padding to bottom of landing page to account for bottom nav */
    .landing-page {
        padding-bottom: 70px;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 16px;
    text-decoration: none;
    color: #717171;
    font-size: 10px;
    font-weight: 500;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item.active {
    color: #e61e4d;
}

.mobile-nav-item:not(.active):hover {
    color: #222;
}

.mobile-nav-icon {
    width: 24px;
    height: 24px;
}

.mobile-nav-item.active .mobile-nav-icon {
    stroke: #e61e4d;
    fill: none;
}

.mobile-nav-item.active .mobile-nav-icon[fill="currentColor"] {
    fill: #e61e4d;
    stroke: none;
}

/* ==========================================================================
   Place Detail Modal
   ========================================================================== */
.detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.detail-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    overflow-y: auto;
}

.detail-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.detail-modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: detailSlideIn 0.3s ease-out;
}

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

.detail-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.detail-close-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Photo Gallery */
.detail-photos {
    position: relative;
}

.detail-photo-main {
    width: 100%;
    height: 300px;
    background: #f5f5f5;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}

.detail-photo-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 48px;
}

.detail-photo-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.detail-photo-thumbs::-webkit-scrollbar {
    display: none;
}

.detail-photo-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
    border: 2px solid transparent;
}

.detail-photo-thumb:hover,
.detail-photo-thumb.active {
    opacity: 1;
    transform: scale(1.05);
}

.detail-photo-thumb.active {
    border-color: #e61e4d;
}

.detail-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detail Body */
.detail-body {
    padding: 24px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.detail-name {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.3;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 6px 12px;
    background: #fef3c7;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
}

.detail-rating svg {
    fill: #f59e0b;
}

.detail-category {
    font-size: 14px;
    color: #717171;
    margin-bottom: 16px;
}

.detail-summary {
    font-size: 15px;
    line-height: 1.6;
    color: #484848;
    margin: 0 0 24px 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #ebebeb;
}

/* Info Grid */
.detail-info-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-info-item svg {
    flex-shrink: 0;
    color: #717171;
    margin-top: 2px;
}

.detail-info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-info-label {
    font-size: 12px;
    color: #717171;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-info-value {
    font-size: 14px;
    color: #222;
}

.detail-link {
    color: #e61e4d;
    text-decoration: none;
}

.detail-link:hover {
    text-decoration: underline;
}

/* Hours Dropdown */
.detail-hours-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.detail-hours-toggle svg {
    transition: transform 0.2s;
}

.detail-hours-toggle.open svg {
    transform: rotate(180deg);
}

.detail-hours-list {
    display: none;
    margin-top: 8px;
    padding-left: 32px;
    font-size: 13px;
    line-height: 1.8;
    color: #484848;
}

.detail-hours-list.open {
    display: block;
}

.detail-hours-today {
    font-weight: 600;
    color: #222;
}

/* Action Buttons */
.detail-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.detail-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #ddd;
    background: white;
    color: #222;
}

.detail-action-btn:hover {
    background: #f7f7f7;
    border-color: #222;
}

.detail-action-btn.primary {
    background: #e61e4d;
    border-color: #e61e4d;
    color: white;
}

.detail-action-btn.primary:hover {
    background: #d31c47;
    border-color: #d31c47;
}

/* Reviews */
.detail-reviews {
    border-top: 1px solid #ebebeb;
    padding-top: 24px;
}

.detail-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0 0 16px 0;
}

.detail-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-review {
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-review:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.detail-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    overflow: hidden;
}

.detail-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-review-author {
    flex: 1;
}

.detail-review-name {
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

.detail-review-time {
    font-size: 12px;
    color: #717171;
}

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

.detail-review-rating svg {
    width: 14px;
    height: 14px;
}

.detail-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #484848;
}

/* Loading State */
.detail-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
}

.detail-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #e61e4d;
    border-radius: 50%;
    animation: detailSpin 0.8s linear infinite;
}

@keyframes detailSpin {
    to { transform: rotate(360deg); }
}

.detail-loading-text {
    margin-top: 16px;
    font-size: 14px;
    color: #717171;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .detail-modal.active {
        padding: 0;
        align-items: flex-end;
    }
    
    .detail-modal-content {
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
    }
    
    .detail-photo-main {
        height: 220px;
    }
    
    .detail-name {
        font-size: 20px;
    }
    
    .detail-actions {
        flex-direction: column;
    }
}
