/* assets/css/layout.css — SareProperty | Phase 2 split */
/* ============================================================
   HOME CONTENT WRAPPER â€” Desktop Two-Column Layout
   ============================================================ */
.home-content-wrapper {
    display: flex;
    flex-direction: column;
}

.home-slider-col {
    width: 100%;
}

.home-main-col {
    width: 100%;
}

@media (min-width: 768px) {
    .home-content-wrapper {
        flex-direction: row;
        gap: 24px;
        padding: 0 24px;
        align-items: stretch;
    }

    .home-slider-col {
        width: 55%;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
    }

    .home-slider-col .hero-slider {
        flex: 1;
        padding: 16px 0 0 0;
        display: flex;
        flex-direction: column;
    }

    .home-slider-col .hero-slider .swiper {
        flex: 1;
        height: auto;
        min-height: 340px;
        border-radius: 20px;
    }

    .home-slider-col .slide-content {
        height: 100%;
        min-height: 340px;
    }

    .home-main-col {
        width: 45%;
        flex-shrink: 0;
    }

    .home-main-col .categories-section {
        padding: 10px 0 20px 0;
    }
}

@media (min-width: 1200px) {
    .home-content-wrapper {
        padding: 0 40px;
        gap: 32px;
    }

    .home-slider-col {
        width: 58%;
    }

    .home-main-col {
        width: 42%;
    }

    .home-slider-col .hero-slider .swiper {
        min-height: 400px;
    }

    .home-slider-col .slide-content {
        min-height: 400px;
    }
}

/* Bottom Navigation */
.nav-padding {
    height: 80px;
    /* Space for fixed bottom nav */
}

.bottom-nav {
    position: fixed;
    bottom: 0px;
    width: 100%;
    left: 0;
    background: #FFFFFF;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 10px 20px 10px;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.07);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-sub);
    gap: 4px;
    transition: color 0.2s;
}

.nav-item i {
    font-size: 1.5rem;
}

.nav-item span {
    font-size: 0.75rem;
    font-weight: 600;
}

.nav-item.active {
    color: var(--primary);
}

/* Location Modal */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 25px;
    border-radius: 20px;
    z-index: 1001;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal h3 {
    margin-bottom: 5px;
    font-weight: 800;
}

.modal p {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.location-types {
    display: flex;
    gap: 10px;
}

.location-types button {
    flex: 1;
    padding: 10px;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

.location-types button:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.location-types button i {
    font-size: 1.2rem;
    color: #1A6FF4;
}

.detected-address {
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 5px;
    padding: 10px;
    background: #eff6ff;
    border-radius: 8px;
    color: #1558C9;
}

.btn-close-modal {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: var(--text-main);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* Filter Bar */
.filter-bar {
    position: sticky;
    top: 75px;
    /* Adjust based on header height */
    background: var(--bg-main);
    z-index: 99;
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-btn, .sort-btn {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--pill-radius);
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    color: var(--text-main);
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s, box-shadow 0.2s;
 background: #FFFFFF; box-shadow: 0 2px 4px rgba(0,0,0,0.04); border: 1px solid var(--border-strong);}

.filter-btn:hover, .sort-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,111,244,0.08);
}

.sort-dropdown,
.sort-dropdown-container {
    position: relative;
}

/* ---- Mockup Sort Popup (Swiggy-style) ---- */
.mockup-sort-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
    z-index: 1001;
    padding: 8px 0;
    display: none;
    flex-direction: column;
    border: 1px solid #eee;
    animation: sortFadeIn 0.18s ease-out;
}

@keyframes sortFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mockup-sort-dropdown.open {
    display: flex !important;
}

.sort-popup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    cursor: pointer;
    transition: background 0.15s;
}

.sort-popup-item:hover {
    background: #f8fafc;
}

.sort-popup-item:first-child {
    border-radius: 16px 16px 0 0;
}

.sort-popup-item:last-child {
    border-radius: 0 0 16px 16px;
}

.sort-popup-label {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Custom radio circle */
.sort-radio-outer {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #c0c0c0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sort-radio-inner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s;
}

.sort-radio-outer.active {
    border-color: #1A6FF4;
}

.sort-radio-outer.active .sort-radio-inner {
    background: #1A6FF4;
}

/* Legacy dropdown-content â€” hidden (no longer used) */
.dropdown-content {
    display: none;
}

/* Property List Card */
.property-list {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .property-list {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    .property-list-card {
        border: 1px solid #eee;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    }
}

.property-list-card {
    display: flex;
    flex-direction: column;
    margin: 10px 16px;
    background: #FFFFFF;
    border-radius: var(--card-radius);
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.property-list-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.prop-image-container {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.prop-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f1f5f9;
    display: block;
}

/* Card-level image slider */
.prop-image-container .swiper {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.prop-image-container .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prop-image-container .swiper-pagination {
    top: 10px;
    bottom: auto;
    width: 100% !important;
    left: 0;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    pointer-events: auto;
    /* No background, no pill */
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 0;
}

.prop-image-container .swiper-pagination-bullet {
    background: rgba(255,255,255,0.65);
    opacity: 1;
    width: 6px;
    height: 6px;
    margin: 0 2px !important;
    transition: width 0.25s, background 0.25s;
}

.prop-image-container .swiper-pagination-bullet-active {
    background: white;
    width: 18px;
    border-radius: 3px;
}

/* â”€â”€ Card nav arrows â”€â”€ */
/* Hidden on mobile by default */
.card-nav-prev,
.card-nav-next {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.22);
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, transform 0.2s;
    opacity: 0;
    pointer-events: none;
}

.card-nav-prev { left: 8px; }
.card-nav-next { right: 8px; }

/* Override Swiper default arrow size/color */
.card-nav-prev::after,
.card-nav-next::after {
    font-size: 11px !important;
    color: #222 !important;
    font-weight: 900;
}

/* Show on desktop only */
@media (min-width: 640px) {
    .card-nav-prev,
    .card-nav-next {
        display: flex !important;
        pointer-events: auto;
        opacity: 0;
    }

    /* Reveal arrows on card hover */
    .prop-image-container:hover .card-nav-prev,
    .prop-image-container:hover .card-nav-next,
    .property-list-card:hover .card-nav-prev,
    .property-list-card:hover .card-nav-next {
        opacity: 1 !important;
        transform: translateY(-50%) scale(1);
    }

    /* Subtle scale on arrow hover */
    .card-nav-prev:hover,
    .card-nav-next:hover {
        background: #fff;
        transform: translateY(-50%) scale(1.08);
        box-shadow: 0 3px 12px rgba(0,0,0,0.28);
    }

    /* Disabled state */
    .card-nav-prev.swiper-button-disabled,
    .card-nav-next.swiper-button-disabled {
        opacity: 0.3 !important;
        pointer-events: none;
    }
}

.fav-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
    font-size: 1.3rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.fav-icon.active i {
    color: var(--primary);
}

.deal-badge {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px 10px 8px 10px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
}

/* Profile icon on property card */
.prop-profile-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s, box-shadow 0.2s;
}

.prop-profile-icon:hover {
    transform: scale(1.12);
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.5);
}

.prop-profile-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prop-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.prop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.prop-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prop-header i {
    color: #999;
    cursor: pointer;
}

.prop-rating {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e1e1e;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 4px;
}

.prop-rating i {
    color: #1A6FF4;
}

.prop-tags {
    font-size: 0.8rem;
    color: var(--text-sub);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.prop-loc {
    font-size: 0.8rem;
    color: var(--text-sub);
}

/* Quick Action Buttons (below image slider) */
.sheet-quick-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 20px 4px 20px;
}

.quick-action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6B7280;
    transition: all 0.2s ease;
    background: transparent;
}

.quick-action-btn:hover {
    background: #F3F4F6;
    color: #111827;
    border-color: #D1D5DB;
    transform: scale(1.05);
}

.quick-action-btn i {
    font-size: 1.5rem;
}

/* Bottom Sheet Modal */
.sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* â”€â”€ Mobile: bottom-sheet slides up, single scrollable column â”€â”€ */
.bottom-sheet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    background: #fff;
    border-radius: 0;
    z-index: 2001;
    transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bottom-sheet.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* â”€â”€ Desktop: centred two-column dialog â”€â”€ */
@media (min-width: 640px) {
    /* Kept full screen on desktop too */
}

/* â”€â”€ Mobile: single scrollable column â”€â”€ */
.sheet-inner {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
    /* bottom padding so Book Visit button doesn't overlap content */
    padding-bottom: 80px;
}

/* â”€â”€ Desktop: two columns â”€â”€ */
@media (min-width: 640px) {
    .sheet-inner {
        flex-direction: row;
        align-items: flex-start;
        overflow-y: hidden;
        padding-bottom: 0;
    }
}

/* Left column */
.sheet-left-col {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 640px) {
    .sheet-left-col {
        width: 52%;
        border-right: 1px solid #f0f0f0;
        overflow-y: auto;
        max-height: 90vh;
        -webkit-overflow-scrolling: touch;
    }
}

/* Right column */
.sheet-right-col {
    flex: 1;
    padding: 20px;
}

@media (min-width: 640px) {
    .sheet-right-col {
        overflow-y: auto;
        max-height: 90vh;
        -webkit-overflow-scrolling: touch;
    }
}


.sheet-close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(28,28,28,0.85);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 2010;
    border: none;
    backdrop-filter: blur(4px);
}

.sheet-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 100px;
    /* Space for fixed bottom bar */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.sheet-image-box {
    width: 60%; /* Decreased by 20% from both sides */
    aspect-ratio: 4 / 3; /* Decreased height */
    position: relative;
    background: #111; /* Very dark fallback only */
    border-radius: 12px;
    overflow: hidden;
    margin: 16px auto; /* Center the box */
    flex-shrink: 0; /* Prevents the image box from collapsing vertically in desktop flex layout */
}

/* Blur-backdrop: blurred version of same image fills black areas */
.sheet-image-box .img-blur-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(0.55) saturate(1.4);
    transform: scale(1.08); /* slightly over-scale to hide blur edges */
    z-index: 0;
    pointer-events: none;
}

.sheet-image-box img { width: 100%; height: 100%; object-fit: contain; background: #f1f5f9; display: block; }

.sheet-extra-icons {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    font-size: 1.4rem;
}

.sheet-extra-icons i {
    cursor: pointer;
    background: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* â”€â”€ Old sheet-extra-icons (kept hidden â€“ replaced by top-bar) â”€â”€ */
.sheet-extra-icons { display: none; }

/* â”€â”€ Popup Top Bar â”€â”€ */
.sheet-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px 16px;
    background: #fff;
    flex-shrink: 0;
}

.sheet-back-btn {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #1c1c1c;
    border-radius: 50%;
    transition: background 0.2s;
    padding: 0;
}

.sheet-back-btn:hover {
    background: #f3f3f3;
}

.sheet-top-actions {
    display: flex;
    gap: 16px;
}

.sheet-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.sheet-action-item span {
    font-size: 0.7rem;
    color: #555;
    font-weight: 600;
}

.sheet-action-btn {
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    color: #444;
}

.sheet-action-btn:hover {
    background: #eee;
    transform: scale(1.08);
}

/* â”€â”€ Modal Swiper nav arrows (always visible, both mobile & desktop) â”€â”€ */
.modal-nav-prev,
.modal-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.22);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.modal-nav-prev { left: 10px; }
.modal-nav-next { right: 10px; }

.modal-nav-prev::after,
.modal-nav-next::after {
    font-size: 11px !important;
    color: #222 !important;
    font-weight: 900;
}

.modal-nav-prev:hover,
.modal-nav-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 3px 12px rgba(0,0,0,0.28);
}

.modal-nav-prev.swiper-button-disabled,
.modal-nav-next.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.sheet-dots {
    text-align: center;
    padding: 10px 0;
}

.sheet-dots span {
    display: inline-block;
    width: 25px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 0 3px;
}

.sheet-dots span.active {
    background: #1A6FF4;
}

.sheet-details {
    padding: 10px 20px;
}

.sheet-brand {
    color: #1A6FF4;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.sheet-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.sheet-price {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.sheet-price-sub {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
}

.sheet-desc {
    color: var(--text-sub);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 20px;
}

/* Property Specs Grid */
.prop-specs {
    display: flex;
    gap: 15px;
    margin: 15px 0 20px 0;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
}

.spec-item i {
    font-size: 1.2rem;
    color: #1A6FF4;
}

/* Modal Action Row (Watch Demo + ADD) */
.modal-action-row {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px 20px;
}

.btn-watch-demo {
    flex: 1;
    height: 48px;
    background: white;
    border: 1.5px solid #ddd;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #333;
}

.btn-add-modal {
    flex: 1;
    height: 48px;
    background: white;
    border: 1.5px solid #1A6FF4;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    color: #1A6FF4;
}

/* Standard Inclusions Box */
.inclusions-wrapper {
    padding: 0 20px 20px 20px;
}


/* Sheet modal Swiper slides â€” use blur-backdrop for portrait images */
.sheet-image-box .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* Each swiper slide gets its own blur backdrop via data-bg attribute */
.sheet-image-box .swiper-slide .slide-blur-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(0.55) saturate(1.4);
    transform: scale(1.08);
    z-index: 0;
    pointer-events: none;
}

.sheet-image-box .swiper-slide img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f1f5f9;
    display: block;
}

.sheet-image-box .swiper-pagination {
    bottom: 10px;
}

.sheet-image-box .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.sheet-image-box .swiper-pagination-bullet-active {
    background: white;
}

/* Fixed Bottom Bar inside Sheet */
.sheet-bottom-bar {
    /* Mobile: sticky at the bottom of the popup (outside scroll area) */
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 14px 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    z-index: 10;
    /* On mobile this sits BELOW sheet-inner scroll area */
    flex-shrink: 0;
    margin-top: auto;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .sheet-bottom-bar {
        position: relative;
        box-shadow: none;
    }
}

.qty-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100px;
    height: 45px;
    border: 1px solid #1A6FF4;
    border-radius: 8px;
    padding: 0 10px;
    font-weight: 700;
    color: #1A6FF4;
    background: #eff6ff;
}

.qty-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #1A6FF4;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.btn-book {
    flex: 1;
    height: 45px;
    background: #1A6FF4;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}


/* =============================================
   PROFILE DROPDOWN (Top Right)
   ============================================= */
.user-profile-wrap {
    position: relative;
    flex-shrink: 0;
}
.profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    min-width: 220px;
    z-index: 3000;
    padding: 12px;
    animation: slideUpModal 0.2s cubic-bezier(0.25,1,0.5,1);
}
.profile-dropdown.open {
    display: block;
}
.profile-dd-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0 8px;
}
.profile-dd-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.profile-dd-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1c1c1c;
}
.profile-dd-sub {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
}
.profile-dd-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 8px 0;
}
.profile-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    color: #1c1c1c;
    transition: background 0.15s;
}
.profile-dd-item:hover {
    background: #eff6ff;
    color: #1A6FF4;
}
.profile-dd-item i {
    font-size: 1.1rem;
    color: #1A6FF4;
}




/* Full Screen Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f1f5f9; /* Light grey background — full image visible */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(0,0,0,0.12);
    border: none;
    color: #1c1c1e;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.gallery-close:hover {
    transform: scale(1.1);
}

.gallery-main-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 20px 20px;
    box-sizing: border-box;
}

.galleryMainSwiper {
    width: 100%;
    max-width: 860px;
    height: 70vh;
    background: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
}

.galleryMainSwiper .swiper-slide {
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galleryMainSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f1f5f9;
    display: block;
}

.galleryThumbSwiper {
    width: 100%;
    max-width: 500px;
    height: 85px;
    box-sizing: border-box;
}

.galleryThumbSwiper .swiper-slide {
    width: 20%;
    height: 100%;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.2s;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
}

.galleryThumbSwiper .swiper-slide-thumb-active {
    opacity: 1;
    transform: scale(1.05);
}

.galleryThumbSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav-prev,
.gallery-nav-next {
    color: #111 !important;
    background: #ffffff !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: -22px !important; /* center vertically based on new height */
}

.gallery-nav-prev::after,
.gallery-nav-next::after {
    font-size: 20px !important;
    font-weight: 900;
}

/* ============================================================