/* ==========================================================================
   FOREVER SUMMER - SPACE / ALOJAMIENTOS MODERN AIRBNB & BOOKING DESIGN SYSTEM
   ========================================================================== */

:root {
    --space-primary: #0284c7;
    --space-primary-hover: #0369a1;
    --space-primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --space-dark: #0f172a;
    --space-slate: #1e293b;
    --space-muted: #64748b;
    --space-light: #f8fafc;
    --space-border: #e2e8f0;
    --space-card-border: #f1f5f9;
    --space-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --space-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --space-shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.05);
    --space-radius-sm: 8px;
    --space-radius-md: 14px;
    --space-radius-lg: 20px;
    --space-radius-xl: 24px;
}

/* ==========================================
   GLOBAL ENHANCEMENTS FOR SPACE MODULE
   ========================================== */
.bravo_search_space,
.bravo_detail_space {
    font-family: inherit;
    color: var(--space-slate);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   1. HERO BANNER - SEARCH / LISTING
   ========================================== */
.space-hero-section {
    position: relative;
    background: linear-gradient(135deg, #0b1329 0%, #172554 45%, #0369a1 100%);
    color: #ffffff;
    padding: 60px 0 70px;
    overflow: hidden;
    margin-bottom: 35px;
}

.space-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 150%, rgba(14, 165, 233, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.space-hero-section .container {
    position: relative;
    z-index: 2;
}

.space-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #e0f2fe;
    margin-bottom: 16px;
}

.space-hero-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: #ffffff;
    margin-bottom: 12px;
}

.space-hero-subtitle {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    color: #cbd5e1;
    max-width: 680px;
    margin-bottom: 24px;
}

.space-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 20px;
}

.space-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
}

.space-trust-pill i {
    color: #38bdf8;
    font-size: 14px;
}

/* Search Form Capsule inside Hero */
.space-search-capsule {
    background: #ffffff;
    border-radius: var(--space-radius-xl);
    padding: 8px 12px 8px 24px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 900px;
}

@media (max-width: 767px) {
    .space-hero-title {
        font-size: 28px;
    }
    .space-hero-subtitle {
        font-size: 15px;
    }
    .space-search-capsule {
        flex-direction: column;
        padding: 18px;
        border-radius: var(--space-radius-lg);
    }
}

/* ==========================================
   2. AIRBNB-STYLE LISTING CARDS
   ========================================== */
.space-card-airbnb {
    background: #ffffff;
    border-radius: var(--space-radius-md);
    border: 1px solid var(--space-card-border);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 28px;
    box-shadow: var(--space-shadow-sm);
    position: relative;
}

.space-card-airbnb:hover {
    transform: translateY(-6px);
    box-shadow: var(--space-shadow-lg);
    border-color: #cbd5e1;
}

.space-card-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 66.66%; /* 3:2 aspect ratio */
    overflow: hidden;
    background-color: #f1f5f9;
}

.space-card-thumb-wrap a.thumb-link {
    position: absolute;
    inset: 0;
    display: block;
}

.space-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.space-card-airbnb:hover .space-card-thumb-wrap img {
    transform: scale(1.06);
}

/* Badges on card */
.space-badge-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 5px 10px;
    border-radius: var(--space-radius-sm);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.space-badge-sale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    left: auto;
    right: 56px;
}

/* Wishlist Heart Button */
.space-card-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.space-card-wishlist i {
    font-size: 16px;
    color: #0f172a;
    transition: all 0.2s ease;
}

.space-card-wishlist:hover {
    transform: scale(1.1);
    background: #ffffff;
}

.space-card-wishlist.active i,
.space-card-wishlist.is_wishlist i {
    color: #ef4444 !important;
}

/* Card Body */
.space-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.space-card-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.space-card-location {
    font-size: 13px;
    font-weight: 600;
    color: var(--space-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.space-card-location i {
    color: var(--space-primary);
}

.space-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--space-dark);
}

.space-card-rating i {
    color: #f59e0b;
    font-size: 13px;
}

.space-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--space-dark);
    line-height: 1.35;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.space-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.space-card-title a:hover {
    color: var(--space-primary);
}

/* Specs pills row */
.space-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.space-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
    color: #475569;
    font-weight: 500;
}

.space-spec-pill i {
    color: var(--space-primary);
    font-size: 11px;
}

/* Card Price & Action row */
.space-card-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.space-price-section {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.space-price-discount-row {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.space-price-was {
    font-size: 12px;
    color: #94a3b8;
}

.space-price-was del {
    font-weight: 500;
}

.space-discount-pill {
    background: #fee2e2;
    color: #ef4444;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.space-price-main-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
    line-height: 1.2;
}

.space-price-label {
    font-size: 13px;
    color: var(--space-muted);
    font-weight: 500;
}

.space-price-amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--space-dark);
    letter-spacing: -0.4px;
}

.space-price-unit {
    font-size: 13px;
    color: var(--space-muted);
    font-weight: 500;
}

/* Full-width modern CTA button */
.space-card-btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #f1f5f9;
    color: var(--space-dark) !important;
    border: 1px solid #e2e8f0;
    border-radius: var(--space-radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.space-card-btn-action i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.space-card-airbnb:hover .space-card-btn-action {
    background: var(--space-primary-gradient);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.space-card-airbnb:hover .space-card-btn-action i {
    transform: translateX(3px);
}

/* ==========================================
   3. DETAIL VIEW - AIRBNB 5-PHOTO MOSAIC GRID
   ========================================== */
.space-detail-header {
    padding: 24px 0 16px;
}

.space-detail-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--space-dark);
    margin-bottom: 8px;
}

.space-detail-subbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: var(--space-muted);
}

.space-subbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.space-subbar-left .rating-badge {
    color: var(--space-dark);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.space-subbar-left .rating-badge i {
    color: #f59e0b;
}

.space-subbar-left .superhost-badge {
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.space-subbar-left .location-link {
    color: var(--space-slate);
    text-decoration: underline;
    font-weight: 600;
}

.space-subbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.space-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--space-border);
    border-radius: var(--space-radius-sm);
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--space-slate);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.space-action-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--space-dark);
}

/* ==========================================
   3. SPACE BANNER & MOSAIC GALLERY (100% CENTERED)
   ========================================== */
.bravo_banner_space {
    background: transparent;
    padding-bottom: 6px;
    width: 100%;
}

.bravo_banner_space .container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.space-gallery-container {
    border-radius: 20px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    width: 100%;
    margin: 0 auto;
}

.space-photo-link {
    display: block;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.space-photo-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.space-photo-link:hover::after {
    opacity: 1;
}

.space-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center !important;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.space-photo-link:hover .space-gallery-img {
    transform: scale(1.03);
}

/* 5-Photo Mosaic */
.space-mosaic-5 {
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 8px;
    height: 450px;
    width: 100%;
}

.space-mosaic-main {
    height: 100%;
    overflow: hidden;
}

.space-mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 100%;
}

/* 3-Photo Mosaic */
.space-mosaic-3 {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 8px;
    height: 450px;
    width: 100%;
}

.space-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 100%;
}

/* 2-Photo Mosaic */
.space-mosaic-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: 450px;
    width: 100%;
}

.space-mosaic-half {
    height: 100%;
    overflow: hidden;
}

/* Single Hero */
.space-single-hero {
    height: 450px;
    width: 100%;
    overflow: hidden;
}

.space-single-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center !important;
}

/* Floating Action Pill Buttons */
.space-gallery-actions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.space-action-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.space-action-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
    color: #0284c7;
}

/* Mobile Gallery (Fotorama - 100% Centered) */
.space-mobile-gallery {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
    width: 100%;
    margin: 0 auto;
}

.space-mobile-gallery .fotorama__wrap,
.space-mobile-gallery .fotorama__stage {
    margin: 0 auto !important;
}

.space-mobile-gallery img {
    object-position: center center !important;
}

.space-mobile-video-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    z-index: 10;
}

/* ==========================================
   4. DETAIL CONTENT & SECTIONS
   ========================================== */
/* Host & Space Overview */
.space-overview-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid var(--space-border);
}

.space-overview-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--space-dark);
    margin-bottom: 6px;
}

.space-overview-specs {
    font-size: 15px;
    color: var(--space-muted);
    font-weight: 500;
}

.space-host-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.space-host-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Highlights / Value Proposition */
.space-highlights-list {
    padding: 24px 0;
    border-bottom: 1px solid var(--space-border);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.space-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.space-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f0f9ff;
    color: var(--space-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.space-highlight-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--space-dark);
    margin: 0 0 3px;
}

.space-highlight-content p {
    font-size: 14px;
    color: var(--space-muted);
    margin: 0;
    line-height: 1.45;
}

/* Section Headings */
.space-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--space-dark);
    letter-spacing: -0.3px;
    margin-bottom: 18px;
}

/* Description */
.space-description-wrap {
    padding: 28px 0;
    border-bottom: 1px solid var(--space-border);
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
}

/* Modern Amenities Grid */
.space-amenities-wrap {
    padding: 28px 0;
    border-bottom: 1px solid var(--space-border);
}

.space-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
}

@media (max-width: 575px) {
    .space-amenities-grid {
        grid-template-columns: 1fr;
    }
}

.space-amenity-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: var(--space-radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--space-slate);
    transition: all 0.2s ease;
}

.space-amenity-card:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.space-amenity-card i {
    font-size: 18px;
    color: var(--space-primary);
    flex-shrink: 0;
}

/* Sleeping Arrangement Cards */
.space-beds-wrap {
    padding: 28px 0;
    border-bottom: 1px solid var(--space-border);
}

.space-beds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.space-bed-card {
    border: 1px solid var(--space-border);
    border-radius: var(--space-radius-md);
    padding: 18px;
    background: #ffffff;
}

.space-bed-card i {
    font-size: 24px;
    color: var(--space-primary);
    margin-bottom: 10px;
    display: block;
}

.space-bed-card .bed-room {
    font-size: 15px;
    font-weight: 700;
    color: var(--space-dark);
    margin-bottom: 4px;
}

.space-bed-card .bed-type {
    font-size: 13px;
    color: var(--space-muted);
}

/* House Rules & Policies */
.space-rules-wrap {
    padding: 28px 0;
    border-bottom: 1px solid var(--space-border);
}

.space-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.space-rule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--space-slate);
}

.space-rule-item i {
    font-size: 18px;
    color: #64748b;
    width: 24px;
    text-align: center;
}

/* Reassuring Guarantee / Depósito Alert */
.space-deposit-alert {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--space-radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
}

.space-deposit-alert i {
    font-size: 22px;
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 2px;
}

.space-deposit-alert h5 {
    font-size: 15px;
    font-weight: 700;
    color: #166534;
    margin: 0 0 4px;
}

.space-deposit-alert p {
    font-size: 13px;
    color: #15803d;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================
   5. AIRBNB-STYLE STICKY BOOKING CARD
   ========================================== */
.space-booking-card-airbnb {
    background: #ffffff;
    border: 1px solid var(--space-border);
    border-radius: var(--space-radius-xl);
    padding: 26px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
    position: sticky;
    top: 90px;
    z-index: 20;
}

.space-book-price-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.space-book-price-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.space-book-old-price {
    font-size: 15px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.space-book-current-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--space-dark);
    letter-spacing: -0.5px;
}

.space-book-period {
    font-size: 15px;
    color: var(--space-muted);
    font-weight: 500;
}

/* Compact Airbnb Date & Guests Capsule */
.space-date-guest-capsule {
    border: 1px solid #cbd5e1;
    border-radius: var(--space-radius-md);
    overflow: hidden;
    margin-bottom: 18px;
    background: #ffffff;
}

.space-date-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #cbd5e1;
}

.space-date-field {
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.space-date-field:first-child {
    border-right: 1px solid #cbd5e1;
}

.space-date-field:hover {
    background: #f8fafc;
}

.space-date-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--space-dark);
    display: block;
    margin-bottom: 2px;
}

.space-date-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--space-slate);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.space-guest-field {
    padding: 10px 14px;
    cursor: pointer;
}

.space-guest-row-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.space-counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--space-slate);
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.space-counter-btn:hover {
    border-color: var(--space-dark);
    color: var(--space-dark);
    background: #f8fafc;
}

/* Extra Prices & Fees */
.space-extra-prices {
    margin-bottom: 16px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.space-extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--space-slate);
    padding: 6px 0;
}

/* Price Calculation Breakdown */
.space-price-breakdown {
    border-top: 1px solid var(--space-border);
    padding-top: 16px;
    margin-top: 16px;
    margin-bottom: 20px;
}

.space-breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--space-slate);
    margin-bottom: 8px;
}

.space-breakdown-total {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--space-dark);
}

/* Trust Pill inside Booking Card */
.space-booking-deposit-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--space-radius-sm);
    padding: 10px 12px;
    font-size: 12px;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    line-height: 1.4;
}

.space-booking-deposit-note i {
    font-size: 16px;
    color: #3b82f6;
    flex-shrink: 0;
}

/* CTA Submit Button */
.space-btn-book-now {
    width: 100%;
    height: 54px;
    background: var(--space-primary-gradient);
    color: #ffffff !important;
    border: none;
    border-radius: var(--space-radius-md);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.space-btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.45);
    filter: brightness(1.05);
}

.space-btn-book-now:active {
    transform: translateY(0);
}

.space-booking-no-charge-yet {
    text-align: center;
    font-size: 12px;
    color: var(--space-muted);
    margin-top: 10px;
    margin-bottom: 0;
}

/* ==========================================
   6. MOBILE FIXED BOTTOM BOOKING BAR
   ========================================== */
.space-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--space-border);
    padding: 12px 18px;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.space-mobile-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.space-mobile-price-box {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.space-mobile-price-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1.2;
}

.space-mobile-price-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--space-dark);
}

.space-mobile-price-sub {
    font-size: 12px;
    color: var(--space-muted);
    font-weight: 500;
}

.space-btn-mobile-book {
    background: var(--space-primary-gradient);
    color: #ffffff !important;
    border: none;
    border-radius: var(--space-radius-md);
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.space-mobile-bottom-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-top: 1px solid var(--space-border) !important;
    padding: 10px 16px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08) !important;
}

@media (max-width: 991px) {
    .bravo_detail_space {
        padding-bottom: calc(115px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Force floating WhatsApp button and message above bottom reservation bar on ALL devices (iOS & Android) */
    .whatsapp-button,
    #whatsappButton,
    .floating-whatsapp,
    .containerButton,
    [class*="whatsapp-button"],
    [class*="whatsapp"] {
        position: fixed !important;
        top: auto !important;
        bottom: calc(98px + env(safe-area-inset-bottom, 0px)) !important;
        left: 14px !important;
        right: auto !important;
        transform: none !important;
        z-index: 998 !important;
        transition: bottom 0.25s ease !important;
    }

    .whatsapp-message,
    #whatsappMessage {
        position: fixed !important;
        top: auto !important;
        bottom: calc(108px + env(safe-area-inset-bottom, 0px)) !important;
        left: 78px !important;
        right: auto !important;
        transform: none !important;
        z-index: 998 !important;
    }
}

@media (min-width: 992px) {
    .space-mobile-bottom-bar {
        display: none !important;
    }

    .whatsapp-button,
    #whatsappButton {
        position: fixed !important;
        top: auto !important;
        bottom: 30px !important;
        left: 18px !important;
        right: auto !important;
        transform: none !important;
        z-index: 9999 !important;
    }

    .whatsapp-message,
    #whatsappMessage {
        position: fixed !important;
        top: auto !important;
        bottom: 38px !important;
        left: 84px !important;
        right: auto !important;
        transform: none !important;
        z-index: 9999 !important;
    }
}
