/* =========================================
   BOOKING PAGE - REDESIGNED PREMIUM UI
   Modern, Clean, Professional
   Mobile First Approach
========================================= */

:root {
    --booking-primary: #C49A6C;
    --booking-primary-dark: #9E744F;
    --booking-primary-light: #F9F3EB;
    --booking-secondary: #0F172A;
    --booking-text: #475569;
    --booking-text-light: #94a3b8;
    --booking-bg: #F8FAFC;
    --booking-white: #FFFFFF;
    --booking-border: #e2e8f0;
    --booking-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --booking-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --booking-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --booking-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
    --booking-radius: 16px;
    --booking-radius-lg: 24px;
    --booking-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   BOOKING HERO SECTION
========================================= */
.booking-hero {
    position: relative;
    background: var(--booking-secondary);
    padding: 90px 0 70px;
    overflow: hidden;
}

    .booking-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 20% 50%, rgba(196, 154, 108, 0.12) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(196, 154, 108, 0.08) 0%, transparent 50%);
        pointer-events: none;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 100%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 154, 108, 0.12);
    border: 1px solid rgba(196, 154, 108, 0.25);
    padding: 8px 20px;
    border-radius: 100px;
    color: var(--booking-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

    .hero-badge i {
        font-size: 14px;
    }

.hero-title {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--booking-primary) 0%, #dbb88c 50%, var(--booking-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 154, 108, 0.06) 0%, transparent 70%);
    animation: floatShape 25s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: 5%;
}

.shape-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: 10%;
    animation-delay: 8s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: -120px;
    animation-delay: 16s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-15px, 15px) scale(0.95);
    }
}

/* =========================================
   SEARCH SECTION
========================================= */
.search-section {
    margin-top: -40px;
    padding: 0 15px 50px;
    position: relative;
    z-index: 10;
}

.search-card {
    background: white;
    border-radius: var(--booking-radius-lg);
    padding: 32px;
    box-shadow: var(--booking-shadow-xl);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
}

   
.search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: end;
}

.form-group-custom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.form-label-custom {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--booking-secondary);
    letter-spacing: 0.2px;
}

    .form-label-custom i {
        color: var(--booking-primary);
        font-size: 14px;
        opacity: 0.8;
    }

.select-wrapper {
    position: relative;
}

.form-select-custom {
    width: 100%;
    padding: 13px 40px 13px 16px;
    border: 1.5px solid var(--booking-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--booking-text);
    background: var(--booking-bg);
    transition: var(--booking-transition);
    appearance: none;
    cursor: pointer;
}

    .form-select-custom:focus {
        outline: none;
        border-color: var(--booking-primary);
        background: white;
        box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.1);
    }

.select-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--booking-text-light);
    pointer-events: none;
    font-size: 12px;
    transition: var(--booking-transition);
}

.select-wrapper:has(.form-select-custom:focus) .select-icon {
    color: var(--booking-primary);
    transform: translateY(-50%) rotate(180deg);
}

.form-input-custom {
    width: 100%;
    padding: 13px 16px 13px 42px;
    border: 1.5px solid var(--booking-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--booking-text);
    transition: var(--booking-transition);
    background: var(--booking-bg);
    cursor: pointer;
}

    .form-input-custom:focus {
        outline: none;
        border-color: var(--booking-primary);
        background: white;
        box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.1);
    }

.form-group-custom .form-label-custom + .form-input-custom {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23C49A6C' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.form-input-custom::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.form-input-custom:invalid {
    color: var(--booking-text-light);
}

.btn-search {
    width: 100%;
    padding: 14px 24px;
    background: var(--booking-secondary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--booking-transition);
    position: relative;
    overflow: hidden;
}

    .btn-search:hover {
        background: var(--booking-primary);
        transform: translateY(-1px);
        box-shadow: 0 4px 20px rgba(196, 154, 108, 0.35);
    }

    .btn-search:active {
        transform: translateY(0);
    }

.btn-shimmer {
    display: none;
}

.resort-info-banner {
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--booking-bg);
    border: 1.5px solid var(--booking-border);
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resort-info-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 180px;
}

    .resort-info-content i {
        font-size: 24px;
        color: var(--booking-primary);
        opacity: 0.8;
    }

    .resort-info-content strong {
        display: block;
        font-size: 15px;
        font-weight: 700;
        color: var(--booking-secondary);
        margin-bottom: 2px;
    }

    .resort-info-content span {
        display: block;
        font-size: 13px;
        color: var(--booking-text-light);
    }

.resort-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--booking-secondary);
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 13px;
}

    .resort-rating i {
        color: #fbbf24;
        font-size: 12px;
    }

/* =========================================
   LOADING STATE
========================================= */
.loading-state {
    padding: 80px 15px;
    text-align: center;
}

.loading-content {
    max-width: 360px;
    margin: 0 auto;
}

.loading-spinner {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--booking-primary);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

    .spinner-ring:nth-child(2) {
        width: 75%;
        height: 75%;
        top: 12.5%;
        left: 12.5%;
        border-top-color: var(--booking-primary-dark);
        animation-delay: -0.3s;
    }

    .spinner-ring:nth-child(3) {
        width: 50%;
        height: 50%;
        top: 25%;
        left: 25%;
        border-top-color: rgba(196, 154, 108, 0.4);
        animation-delay: -0.6s;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--booking-secondary);
    margin-bottom: 8px;
}

.loading-content p {
    color: var(--booking-text-light);
    font-size: 14px;
}

/* =========================================
   RESULTS SECTION
========================================= */
.results-section {
    padding: 40px 0 60px;
    background: var(--booking-bg);
}

.results-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding: 0 15px;
}

    .results-header h2 {
        font-size: 24px;
        font-weight: 800;
        color: var(--booking-secondary);
        margin-bottom: 4px;
    }

.results-count {
    font-size: 14px;
    color: var(--booking-text-light);
    font-weight: 500;
}

    .results-count span {
        color: var(--booking-primary);
        font-weight: 800;
        font-size: 16px;
    }

.results-sort {
    width: 100%;
}

.sort-select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    border: 1.5px solid var(--booking-border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--booking-text);
    background: white;
    cursor: pointer;
    transition: var(--booking-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
}

    .sort-select:focus {
        outline: none;
        border-color: var(--booking-primary);
    }

select.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* =========================================
   UNITS GRID
========================================= */
.units-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 15px;
}

.unit-card {
    background: white;
    border-radius: var(--booking-radius);
    overflow: hidden;
    border: 1.5px solid var(--booking-border);
    transition: var(--booking-transition);
    cursor: pointer;
    position: relative;
    opacity: 0;
    animation: cardFadeIn 0.5s ease forwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.unit-card:nth-child(1) {
    animation-delay: 0.05s;
}

.unit-card:nth-child(2) {
    animation-delay: 0.1s;
}

.unit-card:nth-child(3) {
    animation-delay: 0.15s;
}

.unit-card:nth-child(4) {
    animation-delay: 0.2s;
}

.unit-card:nth-child(5) {
    animation-delay: 0.25s;
}

.unit-card:hover {
    border-color: rgba(196, 154, 108, 0.3);
    box-shadow: var(--booking-shadow-lg);
    transform: translateY(-3px);
}

.unit-card.active {
    border-color: var(--booking-primary);
    box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.15), var(--booking-shadow-lg);
}

.unit-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

    .unit-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

.unit-card:hover .unit-image img {
    transform: scale(1.05);
}

.unit-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.4));
}

.unit-code {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 700;
    color: var(--booking-secondary);
    font-size: 12px;
    box-shadow: var(--booking-shadow-sm);
}

.unit-price-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--booking-secondary);
    color: white;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 700;
}

    .unit-price-badge .price {
        font-size: 16px;
        display: block;
        line-height: 1.2;
    }

    .unit-price-badge .per-night {
        font-size: 10px;
        opacity: 0.7;
        font-weight: 500;
    }

.unit-body {
    padding: 16px;
}

.unit-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--booking-border);
}

.unit-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--booking-text);
    font-weight: 600;
}

    .unit-spec i {
        color: var(--booking-primary);
        font-size: 14px;
        opacity: 0.8;
    }

.unit-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.amenity-badge {
    padding: 4px 10px;
    background: var(--booking-bg);
    color: var(--booking-text);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--booking-border);
}

    .amenity-badge.premium {
        background: var(--booking-primary-light);
        border-color: rgba(196, 154, 108, 0.3);
        color: var(--booking-primary-dark);
    }

        .amenity-badge.premium::before {
            content: '✦ ';
            font-size: 9px;
        }

.btn-view-details {
    width: 100%;
    padding: 11px;
    background: var(--booking-bg);
    color: var(--booking-secondary);
    border: 1.5px solid var(--booking-border);
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--booking-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn-view-details:hover {
        background: var(--booking-secondary);
        color: white;
        border-color: var(--booking-secondary);
    }

/* =========================================
   DETAILS PANEL
========================================= */
.details-panel-wrapper {
    padding: 0 15px;
    margin-top: 24px;
}

.details-initial {
    background: white;
    border-radius: var(--booking-radius);
    padding: 48px 28px;
    text-align: center;
    border: 1.5px dashed var(--booking-border);
}

.details-placeholder i {
    font-size: 48px;
    color: var(--booking-primary);
    margin-bottom: 16px;
    opacity: 0.35;
}

.details-placeholder h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--booking-secondary);
    margin-bottom: 8px;
}

.details-placeholder p {
    color: var(--booking-text-light);
    font-size: 13px;
    line-height: 1.6;
}

.details-panel {
    background: white;
    border-radius: var(--booking-radius);
    overflow: hidden;
    border: 1.5px solid var(--booking-border);
    box-shadow: var(--booking-shadow-lg);
    animation: panelSlideIn 0.4s ease;
}

@keyframes panelSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.details-header {
    position: relative;
    height: 300px;
}

/* =========================================
   ENHANCED GALLERY & VIDEO SLIDER
   Professional Design
========================================= */
.enhanced-gallery-container {
    position: relative;
    height: 100%;
    background: var(--booking-secondary);
    overflow: hidden;
    border-radius: var(--booking-radius) var(--booking-radius) 0 0;
}

/* Media Sliders */
.media-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1;
}

    .media-slider.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

/* Swiper Gallery */
.gallery-swiper,
.videos-swiper {
    width: 100%;
    height: 100%;
}

    .gallery-swiper .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--booking-secondary);
    }

        .gallery-swiper .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            user-select: none;
        }

/* Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

/* =========================================
   VIDEO THUMBNAIL FALLBACK
========================================= */
.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

    .video-thumbnail-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease, filter 0.5s ease;
        filter: brightness(0.7);
    }

    .video-thumbnail-wrapper:hover img {
        transform: scale(1.05);
        filter: brightness(0.5);
    }

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
}

.play-btn-circle {
    width: 68px;
    height: 68px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--booking-transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

    .play-btn-circle i {
        font-size: 24px;
        color: #FF0000;
        margin-right: -3px;
    }

.video-thumbnail-wrapper:hover .play-btn-circle {
    transform: scale(1.12);
    background: #FF0000;
    box-shadow: 0 8px 40px rgba(255, 0, 0, 0.4);
}

    .video-thumbnail-wrapper:hover .play-btn-circle i {
        color: white;
    }

.play-btn-label {
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(8px);
    transition: var(--booking-transition);
}

.video-thumbnail-wrapper:hover .play-btn-label {
    opacity: 1;
    transform: translateY(0);
}

/* YouTube Brand Bar on Video */
.yt-brand-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

    .yt-brand-bar i {
        color: #FF0000;
        font-size: 20px;
    }

    .yt-brand-bar span {
        color: rgba(255,255,255,0.9);
        font-size: 12px;
        font-weight: 600;
    }
/* =========================================
   SWIPER NAVIGATION - MINIMAL CIRCLE ARROWS
========================================= */
.swiper-button-next,
.swiper-button-prev {
    width: 16px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--booking-transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    margin-top: calc(0px - (36px / 2));
}

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 13px;
        font-weight: 600;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: rgba(255, 255, 255, 0.3);
        color: white;
        border-color: rgba(255, 255, 255, 0.4);
        transform: none;
        box-shadow: none;
    }

    .swiper-button-next:active,
    .swiper-button-prev:active {
        background: rgba(255, 255, 255, 0.4);
        transform: scale(0.95);
    }

    .swiper-button-next.swiper-button-disabled,
    .swiper-button-prev.swiper-button-disabled {
        opacity: 0.15;
        cursor: default;
        pointer-events: none;
    }
/* Swiper Pagination - Dots */
.swiper-pagination {
    bottom: 55px !important;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: var(--booking-transition);
    margin: 0 3px !important;
    border-radius: 4px;
}

.swiper-pagination-bullet-active {
    width: 28px;
    background: white;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Media Counter Badge */
.media-counter-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    color: white;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

    .media-counter-badge i {
        font-size: 13px;
        color: var(--booking-primary);
    }

/* =========================================
   MEDIA TOGGLE - PREMIUM SEGMENTED CONTROL
========================================= */
.media-toggle-buttons {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 20;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.media-toggle-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--booking-transition);
    white-space: nowrap;
    z-index: 1;
}

    .media-toggle-btn i {
        font-size: 16px;
        transition: var(--booking-transition);
    }

    .media-toggle-btn .count-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 7px;
        font-size: 11px;
        font-weight: 800;
        padding: 0 6px;
        transition: var(--booking-transition);
    }

    .media-toggle-btn:hover {
        color: rgba(255, 255, 255, 0.8);
    }

    .media-toggle-btn.active {
        background: white;
        color: var(--booking-secondary);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    }

        .media-toggle-btn.active i {
            color: var(--booking-primary);
        }

        .media-toggle-btn.active .count-badge {
            background: var(--booking-primary);
            color: white;
        }

        .media-toggle-btn.active[data-type="videos"] i {
            color: #FF0000;
        }

        .media-toggle-btn.active[data-type="videos"] .count-badge {
            background: #FF0000;
        }

    .media-toggle-btn::before {
        display: none;
    }

/* No Media State */
.no-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, var(--booking-secondary) 100%);
    color: rgba(255, 255, 255, 0.3);
    gap: 12px;
    padding: 40px;
    text-align: center;
}

    .no-media i {
        font-size: 48px;
        opacity: 0.3;
    }

    .no-media p {
        font-size: 14px;
        font-weight: 600;
        margin: 0;
    }

/* Gallery Thumbnails */
.gallery-thumbnails {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 6px;
    z-index: 15;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    max-width: 90%;
    overflow-x: auto;
    scrollbar-width: none;
}

    .gallery-thumbnails::-webkit-scrollbar {
        display: none;
    }

.thumbnail-item {
    width: 50px;
    height: 34px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--booking-transition);
    flex-shrink: 0;
}

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumbnail-item.active {
        border-color: white;
    }

/* Details Close Button */
.details-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--booking-transition);
    z-index: 30;
    font-size: 14px;
    color: white;
}

    .details-close:hover {
        background: rgba(255, 255, 255, 0.95);
        color: var(--booking-secondary);
        transform: rotate(90deg);
    }

/* Details Body */
.details-body {
    padding: 22px;
}

.details-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--booking-border);
}

    .details-title h3 {
        font-size: 20px;
        font-weight: 800;
        color: var(--booking-secondary);
    }

.resort-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--booking-bg);
    border-radius: 7px;
    font-size: 12px;
    color: var(--booking-text);
    font-weight: 600;
    border: 1px solid var(--booking-border);
}

    .resort-badge i {
        font-size: 12px;
        color: var(--booking-primary);
    }

.details-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--booking-bg);
    border-radius: 10px;
    border: 1px solid var(--booking-border);
}

.spec-icon {
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--booking-primary);
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid var(--booking-border);
}

.spec-info strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--booking-secondary);
}

.spec-info span {
    font-size: 11px;
    color: var(--booking-text-light);
}

.details-description {
    margin-bottom: 18px;
}

    .details-description h4 {
        font-size: 14px;
        font-weight: 700;
        color: var(--booking-secondary);
        margin-bottom: 8px;
    }

    .details-description p {
        font-size: 13px;
        line-height: 1.7;
        color: var(--booking-text);
    }

.details-amenities h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--booking-secondary);
    margin-bottom: 12px;
}

.amenities-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--booking-text);
    font-weight: 500;
}

    .amenity-item i {
        color: var(--booking-primary);
        font-size: 13px;
        width: 18px;
        text-align: center;
    }

    .amenity-item.premium {
        color: var(--booking-primary-dark);
        font-weight: 700;
    }

.btn-book-now {
    width: 100%;
    padding: 14px;
    background: var(--booking-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--booking-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .btn-book-now:hover {
        background: var(--booking-primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 6px 24px rgba(196, 154, 108, 0.35);
    }

/* =========================================
   EMPTY STATE
========================================= */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 56px;
    color: var(--booking-primary);
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--booking-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--booking-text-light);
    margin-bottom: 20px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.btn-retry {
    padding: 12px 24px;
    background: var(--booking-secondary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--booking-transition);
    font-size: 14px;
}

    .btn-retry:hover {
        background: var(--booking-primary);
        transform: translateY(-1px);
    }

/* =========================================
   WHY CHOOSE US
========================================= */
.why-choose-section {
    padding: 60px 0;
    background: white;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--booking-secondary);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--booking-text-light);
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--booking-bg);
    border-radius: var(--booking-radius);
    transition: var(--booking-transition);
    height: 100%;
    border: 1.5px solid var(--booking-border);
}

    .feature-card:hover {
        transform: translateY(-4px);
        border-color: rgba(196, 154, 108, 0.25);
        box-shadow: var(--booking-shadow);
    }

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--booking-secondary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: var(--booking-primary);
}

.feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--booking-secondary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--booking-text-light);
    line-height: 1.6;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (min-width: 768px) {
    .booking-hero {
        padding: 110px 0 90px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .search-card {
        padding: 36px;
    }

    .search-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-group-custom:last-child {
        grid-column: 1 / -1;
    }

    .results-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

        .results-header h2 {
            font-size: 28px;
        }

    .results-sort {
        width: auto;
        min-width: 220px;
    }

    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .unit-image {
        height: 210px;
    }

    .details-header {
        height: 300px;
    }

    .details-title {
        flex-direction: row;
        justify-content: space-between;
        align-items: start;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .details-header {
        height: 260px;
    }

    .swiper-button-next, .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

        .swiper-button-next::after, .swiper-button-prev::after {
            font-size: 13px;
        }

    .media-toggle-buttons {
        bottom: 10px;
        padding: 4px;
    }

    .media-toggle-btn {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }

        .media-toggle-btn span:not(.count-badge) {
            display: none;
        }

        .media-toggle-btn i {
            font-size: 18px;
        }

    .media-counter-badge {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .gallery-thumbnails {
        display: none;
    }

    .play-btn-circle {
        width: 56px;
        height: 56px;
    }

        .play-btn-circle i {
            font-size: 20px;
        }
}

@media (max-width: 480px) {
    .details-header {
        height: 230px;
    }

    .media-toggle-btn {
        padding: 7px 11px;
    }

        .media-toggle-btn i {
            font-size: 16px;
        }

    .swiper-button-next, .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

        .swiper-button-next::after, .swiper-button-prev::after {
            font-size: 12px;
        }

    .play-btn-circle {
        width: 48px;
        height: 48px;
    }

        .play-btn-circle i {
            font-size: 18px;
        }
}

@media (min-width: 992px) {
    .search-form {
        grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
    }

    .form-group-custom:last-child {
        grid-column: auto;
    }

    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .details-header {
        height: 340px;
    }
}

@media (min-width: 1200px) {
    .results-section .row {
        display: flex;
        align-items: start;
    }

    .details-panel-wrapper {
        position: sticky;
        top: 90px;
        margin-top: 0;
    }

    .units-grid {
        grid-template-columns: 1fr;
    }

    .unit-image {
        height: 220px;
    }

    .details-header {
        height: 380px;
    }

    .gallery-thumbnails {
        display: flex;
    }
}

@media (min-width: 1400px) {
    .hero-title {
        font-size: 48px;
    }
}
/* =========================================
   SWIPER OVERRIDES - MUST BE AT END OF FILE
========================================= */

/* Hide default swiper arrows completely and rebuild */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev,
.videos-swiper .swiper-button-next,
.videos-swiper .swiper-button-prev,
.enhanced-gallery-container .swiper-button-next,
.enhanced-gallery-container .swiper-button-prev {
    width: 34px !important;
    height: 34px !important;
    background: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: none !important;
    transition: background 0.2s ease, opacity 0.2s ease !important;
    margin-top: -17px !important;
    top: 50% !important;
}

    .gallery-swiper .swiper-button-next::after,
    .gallery-swiper .swiper-button-prev::after,
    .videos-swiper .swiper-button-next::after,
    .videos-swiper .swiper-button-prev::after,
    .enhanced-gallery-container .swiper-button-next::after,
    .enhanced-gallery-container .swiper-button-prev::after {
        font-size: 12px !important;
        font-weight: 400 !important;
        font-family: swiper-icons !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .gallery-swiper .swiper-button-next:hover,
    .gallery-swiper .swiper-button-prev:hover,
    .videos-swiper .swiper-button-next:hover,
    .videos-swiper .swiper-button-prev:hover,
    .enhanced-gallery-container .swiper-button-next:hover,
    .enhanced-gallery-container .swiper-button-prev:hover {
        background: rgba(0, 0, 0, 0.45) !important;
        color: white !important;
        border-color: rgba(255, 255, 255, 0.25) !important;
        transform: none !important;
    }

        .gallery-swiper .swiper-button-next:hover::after,
        .gallery-swiper .swiper-button-prev:hover::after,
        .videos-swiper .swiper-button-next:hover::after,
        .videos-swiper .swiper-button-prev:hover::after,
        .enhanced-gallery-container .swiper-button-next:hover::after,
        .enhanced-gallery-container .swiper-button-prev:hover::after {
            color: white !important;
        }

    .gallery-swiper .swiper-button-next.swiper-button-disabled,
    .gallery-swiper .swiper-button-prev.swiper-button-disabled,
    .videos-swiper .swiper-button-next.swiper-button-disabled,
    .videos-swiper .swiper-button-prev.swiper-button-disabled,
    .enhanced-gallery-container .swiper-button-next.swiper-button-disabled,
    .enhanced-gallery-container .swiper-button-prev.swiper-button-disabled {
        opacity: 0.1 !important;
        pointer-events: none !important;
    }

/* Position */
.gallery-swiper .swiper-button-prev,
.videos-swiper .swiper-button-prev,
.enhanced-gallery-container .swiper-button-prev {
    left: 12px !important;
    right: auto !important;
}

.gallery-swiper .swiper-button-next,
.videos-swiper .swiper-button-next,
.enhanced-gallery-container .swiper-button-next {
    right: 12px !important;
    left: auto !important;
}

/* Mobile */
@media (max-width: 768px) {
    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev,
    .videos-swiper .swiper-button-next,
    .videos-swiper .swiper-button-prev,
    .enhanced-gallery-container .swiper-button-next,
    .enhanced-gallery-container .swiper-button-prev {
        width: 30px !important;
        height: 30px !important;
        margin-top: -15px !important;
    }

        .gallery-swiper .swiper-button-next::after,
        .gallery-swiper .swiper-button-prev::after,
        .videos-swiper .swiper-button-next::after,
        .videos-swiper .swiper-button-prev::after,
        .enhanced-gallery-container .swiper-button-next::after,
        .enhanced-gallery-container .swiper-button-prev::after {
            font-size: 11px !important;
        }
}

@media (max-width: 480px) {
    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev,
    .videos-swiper .swiper-button-next,
    .videos-swiper .swiper-button-prev,
    .enhanced-gallery-container .swiper-button-next,
    .enhanced-gallery-container .swiper-button-prev {
        width: 26px !important;
        height: 26px !important;
        margin-top: -13px !important;
    }

        .gallery-swiper .swiper-button-next::after,
        .gallery-swiper .swiper-button-prev::after,
        .videos-swiper .swiper-button-next::after,
        .videos-swiper .swiper-button-prev::after,
        .enhanced-gallery-container .swiper-button-next::after,
        .enhanced-gallery-container .swiper-button-prev::after {
            font-size: 10px !important;
        }
}