* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #FF385C;
    --primary-dark: #E31C5F;
    --text: #222222;
    --text-light: #717171;
    --bg: #FFFFFF;
    --bg-alt: #F7F7F7;
    --border: #EBEBEB;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================ */
/* SMOOTH LOADING SCREEN */
/* ============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #FF385C 0%, #E31C5F 50%, #C51162 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.loading-content {
    text-align: center;
    color: white;
    animation: fadeInUp 0.6s ease-out;
}

.loading-logo {
    font-size: 64px;
    animation: pulse 2s infinite;
    margin-bottom: 20px;
}

.loading-logo img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

.loading-text {
    font-size: 16px;
    opacity: 0.9;
    animation: pulse 2s infinite;
}

/* Loading progress bar */
.loading-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 16px auto 0;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    background: white;
    border-radius: 3px;
    width: 0%;
    animation: progressAnimation 2s ease-out forwards;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 95%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Main app fade in */
.main-app {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.main-app.hidden {
    display: none;
}

/* Desktop hero title spacing */
@media (min-width: 769px) {
    #heroBanner h1 {
        margin-top: 45px !important;
        margin-bottom: 18px !important;
    }

    /* Or use padding on the container */
    #heroBanner > div:last-child {
        padding-top: 30px !important;
    }
}

/* Mobile Navigation */

/* ============================================
   BRAND DROPDOWN NAVIGATION
   ============================================ */

.mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 56px;
}

/* Brand Dropdown Container */
.brand-dropdown-container {
    position: relative;
    flex: 1;
}

/* Brand Dropdown Button */
.brand-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    padding: 4px 12px 4px 4px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.2s ease;
    font-family: inherit;
    width: auto;
    min-width: 120px;
}

.brand-dropdown-btn:hover {
    background: #f5f5f5;
}

.brand-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FF385C;
    flex-shrink: 0;
}

.brand-name {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
}

.brand-chevron {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.brand-chevron.open {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.brand-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    border: 1px solid #f0f0f0;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1001;
}

.brand-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    color: #222;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-item.active {
    background: #FF385C;
    color: white;
}

.dropdown-item.active i {
    color: white;
}

.dropdown-item i {
    width: 20px;
    font-size: 16px;
    color: #717171;
}

.dropdown-item.active i {
    color: white;
}

.dropdown-badge {
    margin-left: auto;
    background: #FF385C;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 8px;
}

/* Search Button */
.nav-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    color: #222;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nav-search-btn:hover {
    background: #eee;
}

.nav-search-btn:active {
    transform: scale(0.95);
}

/* Hide old nav items */
.nav-item {
    display: none !important;
}

/* Responsive */
@media (max-width: 480px) {
    .brand-name {
        font-size: 12px;
    }

    .brand-avatar {
        width: 30px;
        height: 30px;
    }

    .brand-dropdown-btn {
        padding: 4px 8px 4px 4px;
        min-width: 80px;
    }

    .brand-dropdown-menu {
        min-width: 180px;
        left: -8px;
    }

    .dropdown-item {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .brand-name {
        font-size: 10px;
    }

    .brand-avatar {
        width: 26px;
        height: 26px;
    }
}

/* Page Container */
.page-container { padding-bottom: 80px; min-height: 100vh; }

/* Scroll indicator for auto-load */
.auto-load-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    color: #999;
    font-size: 13px;
}

.auto-load-indicator .dots {
    display: flex;
    gap: 4px;
}

.auto-load-indicator .dot {
    width: 6px;
    height: 6px;
    background: #FF385C;
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.auto-load-indicator .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.auto-load-indicator .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Property Card */
.property-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.property-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.property-card:active { transform: scale(0.98); }

.property-card-image {
    width: 100%; height: 280px; object-fit: cover;
    transition: opacity 0.15s; background: var(--bg-alt);
}

.property-card-content { padding: 12px; }

.property-card-title {
    font-weight: 600; font-size: 15px;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card-subtitle {
    color: var(--text-light); font-size: 13px; margin: 2px 0;
}

.property-card-location {
    color: var(--text-light); font-size: 13px; margin: 2px 0;
}

.property-card-price { margin-top: 8px; font-size: 15px; }
.property-card-price strong { font-weight: 600; }
.property-card-price span { color: var(--text-light); font-size: 13px; }

.property-card-rating {
    display: flex; align-items: center; gap: 3px;
    font-size: 14px; white-space: nowrap;
}

/* Image Gallery */
.image-gallery {
    position: relative; width: 100%; height: 350px;
    overflow: hidden; background: #000;
}
.gallery-main-image {
    width: 100%; height: 100%; object-fit: cover; cursor: pointer;
}
.gallery-back-btn {
    position: absolute; top: 20px; left: 20px;
    background: white; border: none; width: 36px; height: 36px;
    border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center; z-index: 5;
}
.gallery-photos-btn {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(5px);
    border: none; color: white; padding: 6px 12px; border-radius: 16px;
    font-size: 12px; cursor: pointer; font-family: inherit;
    display: flex; align-items: center; gap: 6px;
}

/* Fullscreen Gallery Modal */
.gallery-modal {
    position: fixed; inset: 0; background: black;
    z-index: 9999; display: flex; flex-direction: column;
}
.gallery-modal.hidden { display: none; }
.gallery-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px; color: white; z-index: 10;
}
.gallery-modal-close {
    background: rgba(255,255,255,0.2); border: none; width: 40px; height: 40px;
    border-radius: 50%; color: white; font-size: 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.gallery-modal-body {
    flex: 1; display: flex; align-items: center; justify-content: center;
    position: relative;
}
.gallery-modal-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.2); border: none; width: 48px; height: 48px;
    border-radius: 50%; color: white; font-size: 20px; cursor: pointer; z-index: 5;
    display: flex; align-items: center; justify-content: center;
}
.gallery-modal-nav-prev { left: 16px; }
.gallery-modal-nav-next { right: 16px; }
.gallery-modal-image {
    max-width: 100%; max-height: 75vh; object-fit: contain;
    transition: opacity 0.2s;
}
.gallery-modal-thumbnails {
    display: flex; gap: 8px; padding: 16px; overflow-x: auto;
    justify-content: center; background: rgba(0,0,0,0.5);
}
.gallery-modal-thumb {
    width: 60px; height: 45px; object-fit: cover; border-radius: 6px;
    cursor: pointer; border: 2px solid rgba(255,255,255,0.3); opacity: 0.6;
    transition: all 0.2s;
}
.gallery-modal-thumb.active { border-color: white; opacity: 1; }

/* Heart Button */
.heart-button {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,0.3); border: none; width: 36px; height: 36px;
    border-radius: 50%; color: white; cursor: pointer; font-size: 16px; z-index: 5;
    display: flex; align-items: center; justify-content: center;
}
.heart-button i { transition: color 0.2s; }
.heart-button.wishlisted i { color: var(--primary); }

/* Superhost Badge */
.superhost-badge {
    position: absolute; top: 12px; left: 12px;
    background: white; padding: 4px 8px; border-radius: 12px;
    font-size: 11px; font-weight: 600; z-index: 5;
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, #e8e8e8 0%, #f5f5f5 50%, #e8e8e8 100%);
    background-size: 200% 100%; animation: shimmer 1.5s infinite;
}
.skeleton-card { border-radius: var(--radius-md); overflow: hidden; }
.skeleton-image { width: 100%; height: 280px; }
.skeleton-text { height: 14px; border-radius: 4px; margin-bottom: 8px; }
.skeleton-text-lg { width: 75%; height: 16px; }
.skeleton-text-md { width: 50%; }
.skeleton-text-sm { width: 35%; }

/* Sticky Elements */
/*.sticky-header {*/
/*    position: sticky; top: 0; z-index: 10;*/
/*    background: white; padding: 60px 16px 12px;*/
/*}*/
/*.sticky-categories {*/
/*    position: sticky; top: 108px; z-index: 9;*/
/*    background: white;*/
/*}*/

/* Search Bar */
.search-bar {
    display: flex; align-items: center; background: var(--bg-alt);
    border: 1px solid #ddd; border-radius: var(--radius-full);
    padding: 12px 16px; cursor: pointer; flex: 1;
}
.search-bar i { color: var(--text-light); }
.search-bar span { margin-left: 8px; color: var(--text-light); }
/* Sticky wrapper for header + categories */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 50;
    background: white;
}
/* Categories */
.categories-row {
    display: flex;
    gap: 4px;
    padding: 4px 16px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: white;
    border-bottom: 1px solid #eee;
}
.categories-row::-webkit-scrollbar {
    display: none;
}
.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    opacity: 0.65;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    color: #555;
}
.category-chip:hover {
    opacity: 0.85;
}
.category-chip.active {
    opacity: 1;
    border-bottom-color: #222;
    color: #222;
}

/* Properties Grid */
.properties-grid {
    padding: 16px; display: grid; gap: 20px;
}
@media (min-width: 640px) { .properties-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .properties-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .properties-grid { grid-template-columns: repeat(4, 1fr); } }

/* Load More Button */
.load-more-btn {
    width: 100%; padding: 14px; background: var(--text);
    color: white; border: none; border-radius: var(--radius-sm);
    font-size: 16px; font-weight: 600; cursor: pointer;
    font-family: inherit; transition: all 0.2s;
}
.load-more-btn:hover { background: #000; transform: translateY(-1px); }
.load-more-btn:active { transform: translateY(0); }
.load-more-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Detail Page */
.detail-content { padding: 20px; }
.detail-title { font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.detail-subtitle { color: var(--text-light); margin-bottom: 12px; }
.detail-stats {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 20px; font-size: 14px;
}

.detail-host {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 0; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); margin-bottom: 20px;
}
.detail-host-avatar {
    width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
}
.detail-host-name { font-weight: 600; }
.detail-host-badge { color: var(--primary); font-size: 13px; }

.detail-description {
    line-height: 1.7; font-size: 15px; margin-bottom: 24px;
}

/* Section Titles */
.section-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; }

/* Amenities Grid */
.amenities-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-bottom: 24px;
}
.amenity-item {
    display: flex; align-items: center; gap: 12px; padding: 8px 0;
}
.amenity-item i { font-size: 20px; width: 24px; text-align: center; }

/* Bedrooms */
.bedrooms-row { display: flex; gap: 12px; margin-bottom: 24px; }
.bedroom-card {
    border: 1px solid #ddd; border-radius: var(--radius-md);
    padding: 16px; text-align: center; flex: 1;
}
.bedroom-card i { font-size: 24px; margin-bottom: 8px; color: var(--text-light); }
.bedroom-card-title { font-weight: 600; }
.bedroom-card-desc { font-size: 13px; color: var(--text-light); }

/* Booking Footer */
.booking-footer {
    position: fixed; bottom: 64px; left: 0; right: 0;
    background: white; border-top: 1px solid var(--border);
    padding: 16px 20px; display: flex; align-items: center;
    justify-content: space-between; z-index: 10;
}
.booking-price { font-size: 18px; font-weight: 600; }
.booking-price span { font-size: 14px; color: var(--text-light); font-weight: 400; }
.booking-btn {
    background: var(--primary); color: white; border: none;
    padding: 14px 28px; border-radius: var(--radius-sm);
    font-weight: 600; cursor: pointer; font-size: 16px; font-family: inherit;
}

/* Empty State */
.empty-state {
    text-align: center; padding: 60px 20px;
}
.empty-state i { font-size: 64px; color: #ddd; margin-bottom: 20px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--text-light); margin-bottom: 16px; }

/* Search Page */
.search-header {
    padding: 60px 16px 12px;
    display: flex; align-items: center; gap: 12px;
}
.search-back-btn {
    background: white; border: none; width: 36px; height: 36px;
    border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-sm);
    display: flex; align-items: center; justify-content: center;
}
.search-input-wrapper {
    flex: 1; display: flex; align-items: center;
    background: var(--bg-alt); border-radius: var(--radius-full);
    padding: 12px 16px;
}
.search-input-wrapper input {
    margin-left: 8px; border: none; background: none;
    outline: none; font-size: 16px; width: 100%; font-family: inherit;
}

/* Date/Guests Row */
.filters-row {
    display: flex; gap: 12px; padding: 0 16px 12px;
    overflow-x: auto;
}
.filters-row input,
.filters-row select {
    border: 1px solid #ddd; border-radius: var(--radius-sm);
    padding: 8px 12px; font-family: inherit; font-size: 14px;
}

/* Popular Destinations */
.popular-grid {
    padding: 0 16px; display: grid;
    grid-template-columns: 1fr 1fr; gap: 12px;
}
.popular-item {
    border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 16px; cursor: pointer; display: flex; align-items: center; gap: 12px;
    transition: all 0.2s;
}
.popular-item:hover { border-color: var(--primary); }
.popular-item i { color: var(--primary); }

/* Profile Page */
.profile-header { padding: 60px 16px 0; }
.profile-content { text-align: center; padding: 40px 20px; }
.profile-content i { font-size: 80px; color: #ddd; margin-bottom: 20px; }
.sign-in-btn {
    padding: 14px 32px; background: var(--primary); color: white;
    border: none; border-radius: var(--radius-sm); font-size: 16px;
    font-weight: 600; cursor: pointer; font-family: inherit;
}

/* Explore Button */
.explore-btn {
    padding: 12px 24px; background: var(--primary); color: white;
    border: none; border-radius: var(--radius-sm); font-weight: 600;
    cursor: pointer; font-family: inherit;
}

/* Results Count */
.results-count {
    padding: 12px 16px 0; font-size: 14px; color: var(--text-light);
}

/* Load More Container */
.load-more-container { padding: 0 16px 40px; }
.load-more-text {
    text-align: center; color: var(--text-light);
    font-size: 13px; margin-top: 8px;
}
.load-more-end {
    text-align: center; padding: 20px; color: var(--text-light);
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 0;
}


/* Loading spinner for the button */
.load-more-btn.loading {
    position: relative;
    color: transparent !important;
}

.load-more-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #f0f0f0;
    border-top-color: #FF385C;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}



/* ============================================ */
/* BANNER SECTION (Container) */
/* ============================================ */
.banner-section {
    padding: 0 0 20px 0;
    background: white;
    margin: 16px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ============================================ */
/* BANNER CAROUSEL STYLES (Regular Slides) */
/* ============================================ */
.banner-carousel {
    position: relative;
}

.banner-slide-wrapper {
    position: relative;
    width: 100%;
}

.banner-slide {
    display: flex;
    flex-direction: column;
    min-height: 380px;
    transition: background-color 0.5s ease;
}

.banner-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.banner-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--banner-bg, #FFF5F5), transparent);
}

.banner-content {
    padding: 16px 20px 24px;
    flex: 1;
    display: flex;
    align-items: center;
}

.banner-content-inner {
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.banner-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

.banner-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.banner-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.4;
}

.banner-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 24px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.banner-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.banner-button:active {
    transform: scale(0.97);
}

.banner-button i {
    font-size: 12px;
    transition: transform 0.2s;
}

.banner-button:hover i {
    transform: translateX(3px);
}

/* Navigation Arrows */
.banner-nav {
    position: absolute;
    top: 110px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
    font-size: 12px;
    color: var(--text);
}

.banner-carousel:hover .banner-nav {
    opacity: 1;
}

.banner-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.banner-nav-prev { left: 12px; }
.banner-nav-next { right: 12px; }

/* Dots */
.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: var(--text);
    width: 24px;
    border-radius: 4px;
}

/* Progress Bar */
.banner-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
}

.banner-progress-bar {
    height: 100%;
    background: var(--text);
    width: 0%;
    border-radius: 0 2px 2px 0;
}

/* Banner Loading & Error */
.banner-skeleton {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    width: 100%;
}

.banner-skeleton .shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.banner-error {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    color: #ccc;
    gap: 8px;
}

.banner-error i { font-size: 40px; }
.banner-error p { font-size: 13px; color: #999; }



/* Responsive Banner */
@media (min-width: 640px) {
    .banner-section {
        margin: 16px;
        border-radius: 16px;
    }

    .banner-slide {
        flex-direction: row;
        min-height: 320px;
    }

    .banner-image-container {
        width: 50%;
        height: 320px;
    }

    .banner-content {
        width: 50%;
        padding: 32px;
    }

    .banner-title { font-size: 28px; }
    .banner-subtitle { font-size: 16px; }

    .banner-nav {
        top: 50%;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .banner-nav-prev { left: 16px; }
    .banner-nav-next { right: 16px; }

    .banner-image-overlay { display: none; }
}

@media (min-width: 1024px) {
    .banner-slide { min-height: 360px; }
    .banner-image-container { height: 360px; }
    .banner-title { font-size: 32px; }
}

@media (max-width: 640px) {
    .banner-section {
        margin: 0;
        border-radius: 0;
    }
}

/* ============================================ */
/* BANNER + SUBSCRIPTION OUTER CONTAINER */
/* ============================================ */
.banner-subscription-container {
    margin: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
            0 1px 3px rgba(0, 0, 0, 0.04),
            0 4px 12px rgba(0, 0, 0, 0.06),
            0 8px 24px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.banner-subscription-container:hover {
    box-shadow:
            0 1px 3px rgba(0, 0, 0, 0.06),
            0 6px 16px rgba(0, 0, 0, 0.08),
            0 12px 32px rgba(0, 0, 0, 0.06);
}

/* Inner wrapper for flex layout */
.banner-subscription-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* On desktop: side by side */
@media (min-width: 768px) {
    .banner-subscription-container {
        margin: 20px 24px;
        border-radius: 24px;
    }

    .banner-subscription-wrapper {
        flex-direction: row;
        align-items: stretch;
    }

    .banner-section {
        flex: 3;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-right: 1px solid #f0f0f0;
    }

    .subscription-section {
        flex: 2;
        margin: 0 !important;
    }
}

/* On mobile: stacked */
@media (max-width: 767px) {
    .banner-subscription-container {
        margin: 12px;
        border-radius: 16px;
    }

    .banner-section {
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .subscription-section {
        margin: 0 !important;
    }
}

/* ============================================ */
/* BANNER SECTION (Inside Container) */
/* ============================================ */
.banner-section {
    padding: 0;
    background: white;
    overflow: hidden;
}

/* ============================================ */
/* SUBSCRIPTION SECTION (Inside Container) */
/* ============================================ */
.subscription-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

.subscription-card {
    padding: 24px 20px;
    color: white;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Decorative circles */
.subscription-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.subscription-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.subscription-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.subscription-card-icon {
    font-size: 28px;
}

.subscription-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.subscription-card-text {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 16px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.subscription-card-form {
    position: relative;
    z-index: 1;
}

.subscription-card-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.subscription-card-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    min-width: 0;
}

.subscription-card-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.subscription-card-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.subscription-card-submit {
    padding: 10px 16px;
    background: linear-gradient(135deg, #FF385C, #E31C5F);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(255, 56, 92, 0.3);
}

.subscription-card-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 56, 92, 0.4);
}

.subscription-card-submit:active {
    transform: scale(0.97);
}

.subscription-card-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.subscription-card-consent {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 8px;
}

.subscription-card-checkbox {
    appearance: none;
    -webkit-appearance: none;
    min-width: 16px;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    background: transparent;
    margin-top: 2px;
    position: relative;
}

.subscription-card-checkbox:checked {
    background: #4ade80;
    border-color: #4ade80;
}

.subscription-card-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.subscription-card-consent-text {
    font-size: 10px;
    opacity: 0.65;
    line-height: 1.4;
}

.subscription-card-consent-text a {
    color: #60a5fa;
    text-decoration: underline;
    cursor: pointer;
}

.subscription-card-consent-text a:hover {
    color: #93c5fd;
}

.subscription-card-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.subscription-card-perks span {
    font-size: 10px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 4px;
}

.subscription-card-perks i {
    color: #4ade80;
    font-size: 10px;
}

/* Error */
.subscription-card-error {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #fca5a5;
    margin-top: 4px;
}

.subscription-card-error.visible {
    display: flex;
    animation: shake 0.5s ease;
}

/* Success */
.subscription-card-success {
    display: none;
    text-align: center;
    padding: 20px 10px;
}

.subscription-card-success.visible {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

.success-icon-wrap {
    font-size: 36px;
    color: #4ade80;
    margin-bottom: 8px;
}

.subscription-card-success h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.subscription-card-success p {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.subscription-card-dismiss {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.subscription-card-dismiss:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Spinner */
.subscription-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

/* ============================================ */
/* PRIVACY MODAL */
/* ============================================ */
.privacy-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.privacy-modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.privacy-modal {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin: 20px;
    max-width: 480px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    color: #222;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.privacy-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #222;
    transition: background 0.2s;
}

.privacy-modal-close:hover {
    background: #e5e5e5;
}

.privacy-modal h3 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-right: 40px;
}

.privacy-modal h4 {
    font-size: 14px;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #333;
}

.privacy-modal p {
    font-size: 13px;
    color: #717171;
    line-height: 1.6;
    margin-bottom: 8px;
}

.privacy-modal ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.privacy-modal ul li {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 4px;
}

.privacy-modal-accept {
    width: 100%;
    padding: 12px;
    background: #FF385C;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    margin-top: 16px;
    transition: background 0.2s;
}

.privacy-modal-accept:hover {
    background: #E31C5F;
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================ */
/* HERO BANNER WITH WEBSITE NAME */
/* ============================================ */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-banner-bg {
    position: relative;
    min-height: 420px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #0f3460 60%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Decorative pattern */
.hero-banner-pattern {
    position: absolute;
    inset: 0;
    background-image:
            radial-gradient(circle at 20% 80%, rgba(255, 56, 92, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Dot pattern overlay */
.hero-banner-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(26, 26, 46, 0.2) 0%,
            rgba(26, 26, 46, 0.4) 50%,
            rgba(26, 26, 46, 0.8) 100%
    );
    pointer-events: none;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px 50px;
    max-width: 700px;
    margin: 0 auto;
}

/* Badge */
.hero-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.hero-banner-badge i {
    font-size: 14px;
    color: #60a5fa;
}

/* Brand Title */
.hero-banner-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #FF385C, #E31C5F);
    border-radius: 14px;
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 24px rgba(255, 56, 92, 0.3);
}

/* Tagline */
.hero-banner-tagline {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    line-height: 1.4;
}

.hero-banner-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Action Buttons */
.hero-banner-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #FF385C, #E31C5F);
    color: white;
    box-shadow: 0 8px 24px rgba(255, 56, 92, 0.35);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 56, 92, 0.45);
}

.hero-btn-primary:active {
    transform: scale(0.97);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Stats */
.hero-banner-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.hero-stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (min-width: 768px) {
    .hero-banner-bg {
        min-height: 480px;
    }

    .hero-banner-content {
        padding: 80px 40px 60px;
    }

    .hero-banner-title {
        font-size: 56px;
    }

    .hero-banner-tagline {
        font-size: 24px;
    }

    .hero-banner-subtitle {
        font-size: 16px;
    }

    .hero-btn {
        padding: 16px 32px;
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .hero-banner-bg {
        min-height: 520px;
    }

    .hero-banner-title {
        font-size: 64px;
    }

    .hero-brand-icon {
        width: 64px;
        height: 64px;
        font-size: 30px;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .hero-banner-bg {
        min-height: 380px;
    }

    .hero-banner-content {
        padding: 50px 16px 40px;
    }

    .hero-banner-title {
        font-size: 32px;
    }

    .hero-banner-tagline {
        font-size: 16px;
    }

    .hero-banner-subtitle {
        font-size: 13px;
    }

    .hero-brand-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 10px;
    }

    .hero-banner-stats {
        gap: 16px;
    }

    .hero-stat-number {
        font-size: 18px;
    }

    .hero-stat-label {
        font-size: 10px;
    }
}

/* ============================================ */
/* BOOKING MODAL */
/* ============================================ */
.booking-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.booking-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 5;
    border-radius: 20px 20px 0 0;
}

.booking-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.booking-modal-close {
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s;
}

.booking-modal-close:hover {
    background: #e5e5e5;
}

.booking-modal-body {
    padding: 20px 24px;
}

/* Booking Section Titles */
.booking-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-section-title i {
    color: #FF385C;
}

.booking-section-subtitle {
    font-size: 13px;
    color: #717171;
    margin-bottom: 16px;
}

/* Selected Dates */
.booking-selected-dates {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
}

.selected-date-box {
    flex: 1;
    text-align: center;
}

.selected-date-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #717171;
    margin-bottom: 4px;
}

.selected-date-value {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.selected-date-arrow {
    color: #ccc;
    font-size: 20px;
}

/* Nights Counter */
.booking-nights-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    background: #FFF5F5;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #FF385C;
    font-weight: 600;
}

/* Calendar */
.calendar-container {
    margin-bottom: 20px;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.calendar-nav-btn {
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.calendar-month-label {
    font-size: 16px;
    font-weight: 600;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 4px;
}

.calendar-weekdays span {
    font-size: 11px;
    color: #717171;
    font-weight: 600;
    padding: 8px 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s;
    position: relative;
}

.calendar-day-empty {
    cursor: default;
}

.calendar-day-past {
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
}

.calendar-day-unavailable {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day-available {
    color: #222;
}

.calendar-day-available:hover {
    background: #f0f0f0;
}

.calendar-day-selected {
    background: #222 !important;
    color: white !important;
}

.calendar-day-range {
    background: #f5f5f5;
}

.calendar-day-number {
    font-weight: 500;
}

.calendar-day-price {
    font-size: 9px;
    color: #717171;
    margin-top: 1px;
}

.calendar-day-selected .calendar-day-price {
    color: rgba(255, 255, 255, 0.7);
}

/* Price Summary */
.booking-price-summary {
    margin-bottom: 24px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
}

.price-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.price-summary-divider {
    border-top: 1px solid #ddd;
    margin: 8px 0;
}

.price-summary-total {
    font-weight: 700;
    font-size: 16px;
}

/* Booking Form */
.booking-form-section {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.booking-form-group {
    margin-bottom: 16px;
}

.booking-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

.booking-form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.booking-form-input:focus {
    border-color: #FF385C;
}

.booking-form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: all 0.2s;
}

.payment-option input[type="radio"]:checked + .payment-option-content {
    border-color: #FF385C;
    background: #FFF5F5;
}

.payment-option-content i {
    font-size: 24px;
    color: #FF385C;
}

.payment-option-content strong {
    display: block;
    font-size: 14px;
}

.payment-option-content span {
    font-size: 12px;
    color: #717171;
}

/* Booking Error */
.booking-form-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #FFF5F5;
    border: 1px solid #FECACA;
    border-radius: 8px;
    color: #DC2626;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Booking Submit */
.booking-form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #FF385C, #E31C5F);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(255, 56, 92, 0.3);
}

.booking-form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 56, 92, 0.4);
}

.booking-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Booking Success */
.booking-success {
    text-align: center;
    padding: 20px 0;
}

.booking-success-icon {
    font-size: 64px;
    color: #4ade80;
    margin-bottom: 16px;
}

.booking-success h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.booking-success-id {
    color: #717171;
    margin-bottom: 20px;
}

.booking-success-details {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
}

.success-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.success-detail-row span {
    color: #717171;
}

.success-detail-divider {
    border-top: 1px solid #ddd;
    margin: 8px 0;
}

.success-detail-total {
    font-size: 16px;
    font-weight: 700;
}

.booking-success-message {
    font-size: 13px;
    color: #717171;
    margin-bottom: 16px;
    line-height: 1.5;
}

.booking-success-close {
    padding: 14px 48px;
    background: #222;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================ */
/* BACK TO TOP BUTTON */
/* ============================================ */
.back-to-top-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: #222;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.back-to-top-btn:active {
    transform: scale(0.95);
}

/* Pulse animation on first appearance */
.back-to-top-btn.visible:not(.pulsed) {
    animation: backToTopPulse 0.6s ease-out;
}

@keyframes backToTopPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 34, 34, 0.5); }
    100% { box-shadow: 0 0 0 16px rgba(34, 34, 34, 0); }
}

/* ============================================ */
/* HOME BUTTON IN GRID SECTION */
/* ============================================ */
.home-btn-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.home-btn-container.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.home-grid-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #222;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.home-grid-btn:hover {
    background: #f9f9f9;
    border-color: #ccc;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.home-grid-btn:active {
    transform: scale(0.97);
}

.home-grid-btn i {
    font-size: 16px;
    color: #FF385C;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .back-to-top-btn {
        bottom: 80px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .home-btn-container {
        bottom: 16px;
    }

    .home-grid-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Ensure buttons don't overlap with bottom nav */
@media (max-width: 640px) {
    .back-to-top-btn {
        bottom: 100px;
    }
}
#propertiesSection {
    scroll-margin-top: 0px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove any extra spacing */
#propertiesSection .section-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* ============================================ */
/* DEALS PAGE HEADER */
/* ============================================ */
.deals-page .sticky-header {
    padding: 60px 16px 12px;
}

/* Deal card badge animation */
.property-card .deal-badge {
    animation: pulse 2s infinite;
}

/* Hot indicator */
.deal-hot-indicator {
    color: #FF385C;
    font-weight: 600;
    font-size: 14px;
}
/* Login Buttons */
.login-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.login-btn-google {
    background: white;
    color: #333;
    border: 1px solid #ddd;
}

.login-btn-google:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.login-btn-apple {
    background: #000;
    color: white;
    border: none;
}

.login-btn-apple:hover {
    background: #1a1a1a;
}

.login-btn-email {
    background: #FF385C;
    color: white;
    border: none;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 16px 0;
    color: #999;
    font-size: 13px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.login-divider span {
    padding: 0 16px;
}

/* Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, #FF385C, #E31C5F);
    padding-bottom: 20px;
    color: white;
}

.dashboard-tabs {
    display: flex;
    background: white;
    border-bottom: 1px solid #eee;
    padding: 0 16px;
}

.dashboard-tab {
    flex: 1;
    padding: 14px 8px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #717171;
    transition: all 0.2s;
}

.dashboard-tab.active {
    color: #FF385C;
    border-bottom-color: #FF385C;
}

.dashboard-tab i {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.dashboard-content {
    min-height: 300px;
}

.dashboard-action-btn {
    padding: 8px 14px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.dashboard-action-btn:hover {
    background: #eee;
}

/* Dashboard Stat Cards */
.dashboard-stat-card {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.dashboard-stat-card i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.dashboard-stat-number {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.dashboard-stat-label {
    display: block;
    font-size: 11px;
    color: #717171;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Booking Card */
.booking-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.booking-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}

/* Review Card */
.review-card-dashboard {
    transition: transform 0.2s;
}

.review-card-dashboard:hover {
    transform: translateY(-1px);
}
/* Hero user badge */
.hero-user-badge {
    position: absolute; top: 16px; right: 16px; z-index: 10;
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
    padding: 6px 14px 6px 6px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
    transition: all 0.2s;
}
.hero-user-badge:hover { background: rgba(255,255,255,0.25); }
.hero-signin-btn {
    background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2); color: white;
    padding: 8px 18px; border-radius: 50px; font-size: 13px;
    font-weight: 600; cursor: pointer; font-family: inherit;
    display: flex; align-items: center; gap: 6px; transition: all 0.2s;
}
.hero-signin-btn:hover { background: rgba(255,255,255,0.25); }

@media (max-width: 640px) {
    .hero-user-badge { top: 12px; right: 12px; padding: 4px 12px 4px 4px; }
    .hero-user-badge span { font-size: 11px !important; }
    .hero-user-badge img { width: 24px !important; height: 24px !important; }
    .hero-signin-btn { top: 12px; right: 12px; padding: 6px 14px; font-size: 12px; }
}

/* ============================================ */
/* PROPERTIES SECTION SCROLL TARGET */
/* ============================================ */
#propertiesSection {
    scroll-margin-top: 60px;
    transition: box-shadow 0.3s ease, border-radius 0.3s ease, padding 0.3s ease;
}

/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Hide banner and subscription when viewing properties */
@media (max-width: 768px) {
    .viewing-properties .banner-subscription-container,
    .viewing-properties .hero-banner {
        opacity: 0.3;
        transition: opacity 0.3s ease;
    }
}

@media (max-width: 768px) {
    input[type="date"] {
        min-height: 44px !important; /* Minimum touch target size */
        font-size: 14px !important;
    }

    /* Style placeholder text */
    input[type="date"]::-webkit-datetime-edit {
        color: #999;
    }

    input[type="date"]:invalid::-webkit-datetime-edit {
        color: #999;
    }

    input[type="date"]:valid::-webkit-datetime-edit {
        color: #222;
    }
}
/* Mobile responsive home screen */
@media (max-width: 767px) {
    .home-screen {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-banner-content {
        padding: 12px !important;
    }

    .hero-banner-title {
        font-size: 24px !important;
    }

    .hero-banner-stats {
        gap: 8px !important;
        padding: 8px 10px !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat-number {
        font-size: 16px !important;
    }

    .hero-stat-label {
        font-size: 9px !important;
    }

    .hero-btn {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }

    .hero-user-badge {
        padding: 4px 10px 4px 4px !important;
    }

    .hero-user-badge span {
        display: none;
    }

    .subscription-section {
        display: none;
    }

    .banner-subscription-wrapper {
        flex-direction: column;
    }

    .banner-section {
        flex: 1;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .properties-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 8px !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .home-screen {
        min-height: 100vh;
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .home-screen {
        min-height: 100vh;
    }

    .properties-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ============================================ */
/* SUBSCRIPTION INSIDE BANNER (30% Desktop) */
/* ============================================ */
.subscription-section-inside {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Hide old subscription section */
.subscription-section {
    display: none;
}

/* Desktop: Banner 70% + Subscription 30% */
@media (min-width: 768px) {
    .banner-subscription-wrapper {
        flex-direction: row !important;
    }

    .banner-section {
        flex: 7 !important;  /* 70% */
        border-right: 1px solid #f0f0f0 !important;
    }

    .subscription-section-inside {
        flex: 3 !important;  /* 30% */
        display: flex !important;
    }
}

/* Mobile: Banner 100%, subscription hidden */
@media (max-width: 767px) {
    .banner-subscription-wrapper {
        flex-direction: column !important;
    }

    .banner-section {
        flex: 1 !important;
        border-right: none !important;
    }

    .subscription-section-inside {
        display: none !important;
    }
}

/* Cookie Consent Toggle Switch */
.cookie-toggle .toggle-slider {
    transition: background 0.3s;
}
.cookie-toggle .toggle-knob {
    transition: left 0.3s;
}
.cookie-toggle input:checked + .toggle-slider {
    background: #4ade80 !important;
}
.cookie-toggle input:checked ~ .toggle-knob {
    left: 22px !important;
}

/* Cookie consent animation */
#cookieConsentBanner {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Hero background image carousel */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1.5s ease-in-out;
}

/* Make overlay darker for better text readability */
.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

/* Ensure content is above background */
.hero-banner-content {
    position: relative;
    z-index: 5;
}

/* Smooth transition for background images */
.hero-banner-bg {
    position: relative;
    overflow: hidden;
}

/* ============================================ */
/* PAGE LOADING OVERLAY */
/* ============================================ */
#pageLoadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#pageLoadingOverlay > div {
    background: white;
    padding: 32px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================ */
/* AGENT CALENDAR STYLES */
/* ============================================ */
.agent-calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

.agent-calendar-day:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.agent-calendar-day:active {
    transform: scale(0.95);
}

/* Mobile calendar */
@media (max-width: 767px) {
    .agent-calendar-day {
        border-radius: 6px;
        font-size: 12px;
    }
}

/* Calendar booking list animation */
#dayBookingsList > div {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================ */
/* COLLAPSIBLE FILTER - Collapsed by Default */
/* ============================================ */
.filter-collapse-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-collapse-body.collapsed {
    max-height: 0 !important;
}

.filter-collapse-body.expanded {
    max-height: 500px !important;
}

/* Arrow default - pointing DOWN */
.filter-arrow {
    transform: rotate(0deg);
    transition: transform 0.3s;
}

/* Arrow when expanded - pointing UP */
.filter-arrow.expanded {
    transform: rotate(180deg);
}

/* Map inside banner */
#homeMapSection {
    width: 100% !important;
    height: 100% !important;
    min-height: 200px;
    background: #fafafa;
    position: relative;
    z-index: 1; /* Lower than profile/hero elements */
}

/* Make sure hero elements stay on top */
.hero-user-badge {
    z-index: 10 !important;
}

.hero-signin-btn {
    z-index: 10 !important;
}

/* Map popup */
#homeMapSection .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#homeMapSection .leaflet-popup-content {
    margin: 6px 8px;
}

/* Map controls stay below hero elements */
#homeMapSection .leaflet-control-zoom {
    z-index: 5;
}

/* List property map */
#listPropertyMap {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #f5f5f5;
    z-index: 1;
}

.custom-pin-marker {
    background: transparent !important;
    border: none !important;
}

#listPropertyMap .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.field-error {
    display: block;
    color: #EB5757;
    font-size: 11px;
    margin-top: 4px;
    animation: fadeIn 0.2s ease;
}

input.invalid, select.invalid, textarea.invalid {
    border-color: #EB5757 !important;
    background: #FFF5F5 !important;
}

input.valid, select.valid, textarea.valid {
    border-color: #4ade80 !important;
    background: #F0FFF4 !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Circular progress bar */
.progress-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring circle {
    transition: stroke-dashoffset 0.5s ease;
}

#progressPercent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
}

.loading-subtext {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 4px;
    animation: fadeIn 0.3s ease;
}
/* ============================================ */
/* ADVERT CARD STYLES */
/* ============================================ */
.advert-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.advert-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FF385C, #E65100, #FF385C);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.advert-card:hover::before {
    opacity: 0.3;
}

.advert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,56,92,0.15);
}

/* Pulse animation for advert card */
@keyframes advertPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(255,56,92,0.06); }
    50% { box-shadow: 0 4px 16px rgba(255,56,92,0.12); }
}

/* Ad badge */
.ad-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 9px;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Advert card in grid - same size as property cards */
.properties-grid .advert-card {
    grid-column: span 1;
}

/* Mobile adverts full width */
@media (max-width: 767px) {
    .advert-card {
        grid-column: 1 / -1 !important;
    }
}

/* ============================================ */
/* ADVERT BANNER - Full Width Between Cards */
/* ============================================ */
.advert-banner {
    grid-column: 1 / -1 !important;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 200px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advert-bg-image {
    transition: transform 0.5s ease;
}

.advert-banner:hover .advert-bg-image {
    transform: scale(1.05);
}

.advert-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* Mobile advert banner */
@media (max-width: 767px) {
    .advert-banner {
        height: 180px;
        border-radius: 12px;
    }

    .advert-banner h3 {
        font-size: 16px !important;
    }

    .advert-banner p {
        font-size: 11px !important;
    }
}

/* Advert carousel */
.advert-carousel-container {
    position: relative;
}

.advert-carousel-container:hover .advert-arrow {
    opacity: 1 !important;
}

.advert-slide {
    position: absolute;
    inset: 0;
    transition: opacity 0.6s ease-in-out;
}

.advert-dot {
    transition: all 0.3s ease;
}
/* Image watermark */
.image-watermark {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.image-watermark:hover {
    opacity: 0.8;
}

/* Rotate watermark for diagonal placement */
.watermark-diagonal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    color: rgba(255, 255, 255, 0.15);
    font-size: 24px;
    font-weight: 700;
    pointer-events: none;
    white-space: nowrap;
    z-index: 3;
    letter-spacing: 2px;
}

/* ============================================ */
/* HERO WHATSAPP BADGE - Right Bottom Corner */
/* ============================================ */
.hero-whatsapp-badge {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #25D366 !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.hero-whatsapp-badge:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5) !important;
}

.hero-whatsapp-badge:active {
    transform: scale(0.95) !important;
}

/* Pulse animation */
@keyframes whatsappBadgePulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.55), 0 0 0 10px rgba(37, 211, 102, 0.08);
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .hero-whatsapp-badge {
        bottom: 12px !important;
        right: 12px !important;
        padding: 10px 16px !important;
        font-size: 12px !important;
    }

    .hero-whatsapp-badge i {
        font-size: 20px !important;
    }
}

/* Country code selector */
.country-selector-btn {
    transition: all 0.2s;
}

.country-selector-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.country-dropdown {
    animation: fadeIn 0.2s ease;
}

.country-option {
    transition: background 0.15s;
}

.country-option:hover {
    background: #f9f9f9;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .country-selector-btn {
        min-width: 80px;
        font-size: 12px;
        padding: 10px 8px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Compact Booking Modal Styles */
.booking-modal-compact {
    padding: 0;
}

.compact-property-info {
    text-align: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.compact-property-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.compact-property-price {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #FF385C;
}

.compact-property-price span {
    font-size: 14px;
    font-weight: 400;
    color: #717171;
}

.compact-date-section {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.calendar-container-compact {
    margin-top: 16px;
}

.calendar-container-compact .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #717171;
    margin-bottom: 8px;
}

.calendar-container-compact .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-container-compact .calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}

.calendar-container-compact .calendar-day-available:hover {
    background: #FF385C;
    color: white;
}

.calendar-container-compact .calendar-day-selected {
    background: #FF385C;
    color: white;
}

.calendar-container-compact .calendar-day-range {
    background: #FFE8E8;
    color: #FF385C;
}

.calendar-container-compact .calendar-day-unavailable {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-container-compact .calendar-day-past {
    color: #ccc;
    cursor: not-allowed;
}

.compact-special-requests {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.compact-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

.compact-label span {
    font-weight: 400;
    color: #717171;
    font-size: 12px;
}

.compact-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.compact-textarea:focus {
    outline: none;
    border-color: #FF385C;
}

.compact-booking-error {
    margin: 0 20px 16px 20px;
    padding: 10px 12px;
    background: #FEE2E2;
    border-radius: 8px;
    color: #DC2626;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.compact-submit-btn {
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 14px;
    background: #FF385C;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.compact-submit-btn:hover {
    background: #E31C5F;
}

.compact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal adjustments for compact view */
.booking-modal {
    max-width: 500px !important;
    width: 90% !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    border-radius: 20px !important;
}

.booking-modal::-webkit-scrollbar {
    width: 4px;
}

.booking-modal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.booking-modal::-webkit-scrollbar-thumb {
    background: #FF385C;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .compact-property-title {
        font-size: 16px;
    }

    .compact-property-price {
        font-size: 18px;
    }

    .calendar-container-compact .calendar-day {
        font-size: 11px;
    }

    .compact-submit-btn {
        padding: 12px;
        font-size: 15px;
    }
}
.compact-user-info {
    background: #f8f9fa;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.user-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #4B5563;
    padding: 4px 0;
}

.user-info-row i {
    width: 20px;
    color: #FF385C;
    font-size: 14px;
}

.user-info-row strong {
    color: #222;
}

#editTimeWarning {
    background: #FFF8E1;
    border-left: 4px solid #F2994A;
    border-radius: 8px;
}

#editTimeWarning i {
    color: #F2994A;
}

#editTimeWarning span {
    color: #E65100;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#promotionSuccessBanner {
    animation: fadeIn 0.5s ease;
}