/**
 * Single property — layout that differs from bizdex-uplisting-layout.css
 * (gallery mosaic, content + sticky booking sidebar).
 */

.single-property-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 40px 80px;
    line-height: 1.6;
}
.bizdexul_property .property-description p,
.single-property-wrapper .amenities-grid .amenity-item span {
    letter-spacing: .02rem;
    font-size: 1.1em;
}
/* -------------------------------------------------------------------------- */
/* Gallery — Hostaway-style mosaic                                             */
/* -------------------------------------------------------------------------- */

.single-property-wrapper .property-gallery-section {
    margin: 0 0 44px;
    position: relative;
}

.single-property-wrapper .property-gallery-grid {
    position: relative;
    display: grid;
    gap: 10px;
    height: 480px;
    overflow: hidden;
}

.single-property-wrapper .property-gallery-grid[data-gallery-count="1"] {
    grid-template-columns: 1fr;
    height: 420px;
}

.single-property-wrapper .property-gallery-grid[data-gallery-count="2"] {
    grid-template-columns: 1fr 1fr;
    height: 420px;
}

.single-property-wrapper .property-gallery-grid[data-gallery-count="3"] {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.single-property-wrapper .property-gallery-grid[data-gallery-count="4"],
.single-property-wrapper .property-gallery-grid[data-gallery-count="5"] {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.single-property-wrapper .property-gallery-grid[data-gallery-count="3"] .gallery-item--main,
.single-property-wrapper .property-gallery-grid[data-gallery-count="4"] .gallery-item--main,
.single-property-wrapper .property-gallery-grid[data-gallery-count="5"] .gallery-item--main {
    grid-row: span 2;
}

.single-property-wrapper .gallery-item {
    appearance: none;
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    min-height: 0;
}

.single-property-wrapper .gallery-item img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.single-property-wrapper .gallery-item:hover img {
    transform: scale(1.05);
}

.single-property-wrapper .gallery-view-all {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.single-property-wrapper .gallery-view-all svg {
    flex-shrink: 0;
}

/* -------------------------------------------------------------------------- */
/* Header / title / meta                                                       */
/* -------------------------------------------------------------------------- */

.single-property-wrapper .property-header {
    margin-bottom: 0;
}

.single-property-wrapper .property-section--description {
    padding-top: 0;
}

.single-property-wrapper .property-title {
    margin: 0 0 6px;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0.01em;
}

.single-property-wrapper .property-location-mobile {
    display: none;
    margin: 0 0 22px;
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.single-property-wrapper .property-meta-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    overflow-x: auto;
    opacity: 1;
    font-size: 0.75rem;
}

.single-property-wrapper .property-meta-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    white-space: nowrap;
    width: max-content;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.single-property-wrapper .property-meta-item:first-child {
    padding-left: 0;
}

.single-property-wrapper .property-meta-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 47%;
    margin: 0;
    border-radius: 0;
    opacity: 1;
    transform: translateY(-50%);
}

.single-property-wrapper .property-meta-item svg {
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* -------------------------------------------------------------------------- */
/* Content grid                                                                */
/* -------------------------------------------------------------------------- */

.single-property-wrapper .property-content-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
    gap: 96px;
    align-items: start;
}

.single-property-wrapper .property-main-content {
    min-width: 0;
}

.single-property-wrapper .property-section {
    padding: 0 0 48px;
    margin: 0 0 36px;
    border-bottom: 1px solid #c3c4c7;
}

.single-property-wrapper .property-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.single-property-wrapper .property-section h2 {
    margin: 0 0 24px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.single-property-wrapper .property-description {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.7;
}

.single-property-wrapper .property-description.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.single-property-wrapper .property-description b,
.single-property-wrapper .property-description strong {
    font-weight: 400;
}

.single-property-wrapper .property-read-more {
    margin-top: 0;
    padding: 0;
    border: 0;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.single-property-wrapper .property-read-more:hover {
    text-decoration: none;
}

/* Amenities */
.single-property-wrapper .amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
}

.single-property-wrapper .amenity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.875rem;
    font-weight: 400;
}

.single-property-wrapper .amenity-item svg {
    width: 25px;
    min-width: 28px;
    height: 25px;
    flex-shrink: 0;
}

.single-property-wrapper .show-all-amenities-btn {
    margin-top: 28px;
    padding: 12px 24px;
    border: 1px solid #c3c4c7;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* -------------------------------------------------------------------------- */
/* Sidebar / booking card                                                      */
/* -------------------------------------------------------------------------- */

.single-property-wrapper .property-content-wrapper,
.single-property-wrapper .property-sidebar,
.single-property-wrapper .booking-card,
.single-property-wrapper .uplisting .booking-card,
.single-property-wrapper .single_booking_form_calnder,
.single-property-wrapper .uplisting-search-field {
    overflow: visible;
}

.single-property-wrapper .property-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.single-property-wrapper .booking-card,
.single-property-wrapper .uplisting .booking-card {
    padding: 28px 24px 22px;
    border: 1px solid #c3c4c7;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(26, 24, 24, 0.08);
}

.single-property-wrapper .booking-price,
.single-property-wrapper .uplisting .booking-price {
    margin: 0 0 16px;
}

.single-property-wrapper .booking-price strong,
.single-property-wrapper .uplisting .booking-price strong {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.single-property-wrapper .booking-price span,
.single-property-wrapper .uplisting .booking-price span {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Stack When / Who full-width */
.single-property-wrapper .single_booking_form_calnder,
.single-property-wrapper .booking-fields-container {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.single-property-wrapper .single_booking_form_calnder div#dates-field,
.single-property-wrapper .single_booking_form_calnder div#guests-field,
.single-property-wrapper .uplisting .uplisting-search-field {
    position: relative;
    min-width: 0;
    margin: 0 !important;
    padding: 14px 18px !important;
    border: 1px solid #c3c4c7 !important;
    border-radius: 100px !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.single-property-wrapper .uplisting .uplisting-search-field:hover,
.single-property-wrapper .single_booking_form_calnder .uplisting-search-field:hover {
    border-color: #8c8f94 !important;
}

.single-property-wrapper .uplisting-field-label {
    margin: 0 0 3px;
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.single-property-wrapper .uplisting .uplisting-field-content,
.single-property-wrapper .single_booking_form_calnder .uplisting-field-content {
    padding: 0 !important;
    border: 0 !important;
}

.single-property-wrapper .uplisting .uplisting-field-content input,
.single-property-wrapper .uplisting .uplisting-field-value,
.single-property-wrapper .single_booking_form_calnder .uplisting-search-field .uplisting-field-value,
.single-property-wrapper .single_booking_form_calnder .uplisting-search-field .uplisting-field-content input {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.single-property-wrapper .uplisting .uplisting-field-content input::placeholder {
    opacity: 0.85;
}

.single-property-wrapper .uplisting-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    z-index: 20;
    padding: 16px 20px;
    border: 1px solid #c3c4c7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.single-property-wrapper .uplisting-dropdown.active {
    display: block;
}



.single-property-wrapper .booking-card .uplisting-guest-row,
.single-property-wrapper .property-sidebar .uplisting-guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 !important;
    border-bottom: 1px solid #c3c4c7 !important;
}

.single-property-wrapper .booking-card .uplisting-guest-row:last-child,
.single-property-wrapper .property-sidebar .uplisting-guest-row:last-child {
    border-bottom: 0 !important;
}

.single-property-wrapper .uplisting .uplisting-guest-label,
.single-property-wrapper .booking-card .uplisting-guest-label {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.single-property-wrapper .uplisting .uplisting-guest-btn,
.single-property-wrapper .booking-card .uplisting-guest-btn {
    appearance: none;
    box-sizing: border-box;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    max-width: 32px;
    min-height: 32px;
    max-height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid #c3c4c7;
    border-radius: 50%;
    background: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    cursor: pointer;
}

.single-property-wrapper .uplisting .uplisting-guest-btn:hover:not(:disabled),
.single-property-wrapper .booking-card .uplisting-guest-btn:hover:not(:disabled) {
    border-color: #8c8f94;
}

.single-property-wrapper .uplisting .uplisting-guest-btn:disabled,
.single-property-wrapper .booking-card .uplisting-guest-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.single-property-wrapper .uplisting .uplisting-guest-count,
.single-property-wrapper .booking-card .uplisting-guest-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.single-property-wrapper .uplisting .uplisting-guest-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.single-property-wrapper .uplisting-guests-actions {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #c3c4c7;
}

.single-property-wrapper .uplisting-guests-confirm {
    appearance: none;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid #c3c4c7;
    border-radius: 100px;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
}

.single-property-wrapper .uplisting .booking-form button[type="submit"],
.single-property-wrapper .uplisting .reserve-btn,
.single-property-wrapper .uplisting .open_booking_form,
.single-property-wrapper .booking-card button[type="submit"] {
    appearance: none;
    width: 100%;
    margin-top: 4px;
    padding: 14px 24px;

    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: none;
    transform: none;
    cursor: pointer;
}
.single-property-wrapper .uplisting .booking-form button[type="submit"]:disabled,
.single-property-wrapper .uplisting .reserve-btn:disabled,
.single-property-wrapper .uplisting .open_booking_form:disabled,
.single-property-wrapper .booking-card button[type="submit"]:disabled {
    cursor:not-allowed
    }
.single-property-wrapper .uplisting .booking-form button[type="submit"]:hover,
.single-property-wrapper .booking-card button[type="submit"]:hover {
    transform: none;
    box-shadow: none;
}

/* Contact footer */
.single-property-wrapper .booking-divider {
    height: 1px;
    margin: 18px 0 14px;
}

.single-property-wrapper .booking-contact,
.single-property-wrapper .uplisting .booking-contact {
    margin-top: 0;
    text-align: center;
}

.single-property-wrapper .booking-contact p,
.single-property-wrapper .uplisting .booking-contact p {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
}

.single-property-wrapper .booking-contact a,
.single-property-wrapper .uplisting .booking-contact a {
    font-weight: 400;
    text-decoration: none;
}

.single-property-wrapper .booking-contact a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */

@media (max-width: 1128px) {
    .single-property-wrapper .property-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .single-property-wrapper .property-sidebar {
        position: static;
        order: 0;
    }

    .single-property-wrapper .property-section h2 {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .single-property-wrapper {
        padding: 16px 20px 200px;
    }

    .single-property-wrapper .property-gallery-section {
        margin: 0 -20px 32px;
    }

    .single-property-wrapper .property-gallery-grid,
    .single-property-wrapper .property-gallery-grid[data-gallery-count] {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 0;
        height: 300px;
        overflow: hidden;
    }

    .single-property-wrapper .property-gallery-grid .gallery-item--main {
        grid-row: auto;
    }

    .single-property-wrapper .gallery-item:not(.gallery-item--main):not(.gallery-item--has-overlay) {
        display: none;
    }

    .single-property-wrapper .gallery-item--has-overlay:not(.gallery-item--main) {
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: transparent;
        overflow: visible;
    }

    .single-property-wrapper .gallery-item--has-overlay:not(.gallery-item--main) img {
        display: none;
    }

    .single-property-wrapper .gallery-item,
    .single-property-wrapper .gallery-item img {
        border-radius: 0;
        max-height: none;
        height: 100%;
    }

    .single-property-wrapper .gallery-view-all {
        pointer-events: auto;
        bottom: 12px;
        right: 12px;
        padding: 10px 16px;
        font-size: 0.75rem;
    }

    .single-property-wrapper .property-title {
        font-size: 1.5rem;
    }

    .single-property-wrapper .property-location-mobile {
        display: block;
    }

    .single-property-wrapper .property-meta-item--desktop {
        display: none;
    }

    .single-property-wrapper .property-meta-list {
        margin-bottom: 28px;
    }

    .single-property-wrapper .property-meta-item:first-child {
        padding-left: 0;
    }

    .single-property-wrapper .property-section h2 {
        font-size: 0.75rem;
    }

    .single-property-wrapper .amenities-grid {
        grid-template-columns: 1fr;
    }

    .single-property-wrapper .booking-card,
    .single-property-wrapper .uplisting .booking-card {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -8px 28px rgba(26, 24, 24, 0.12);
    }
}

@media (min-width: 769px) {
    .single-property-wrapper .booking-card,
    .single-property-wrapper .uplisting .booking-card {
        position: relative;
    }
}

/* Single-property popups, lightbox, embed, external booking */
/* Popups & Lightboxes */
body.bizdex-modal-open {
    overflow: hidden;
}

.popup-content {
    margin: auto;
    padding: 30px;
    max-width: 700px;
    border-radius: 12px;
    height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-popup {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
}

.amenities-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(17, 17, 17, 0.55);
    overflow: auto;
}

.amenities-popup-overlay.active {
    display: flex;
}

.amenities-popup-container {
    background: #fff;
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    max-height: min(80vh, 720px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.amenities-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #c3c4c7;
    flex-shrink: 0;
}

.amenities-popup-header h2,
.popup-content h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.amenities-popup-close {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    box-shadow: none;
}

.amenities-popup-close svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.amenities-popup-content {
    padding: 24px;
    overflow-y: auto;
    min-height: 0;
}

.amenities-popup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
}

.amenities-popup-grid .amenity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.amenities-popup-grid .amenity-item svg {
    width: 20px;
    min-width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.amenities-popup-grid .amenity-item span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.4;
    font-size: 1rem;
}

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

/* ============================================
   LIGHTBOX STYLES - Updated class names
   ============================================ */

.property-gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #111;
    z-index: 9999;
    overflow: hidden;
}

.property-gallery-lightbox.active {
    display: flex;
    flex-direction: column;
}

.property-gallery-lightbox .property-lightbox-close,
.property-gallery-lightbox .property-lightbox-prev,
.property-gallery-lightbox .property-lightbox-next,
.property-gallery-lightbox .property-lightbox-thumbs-prev,
.property-gallery-lightbox .property-lightbox-thumbs-next {
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    margin: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    box-shadow: none;
    transform: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.property-lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 24px 40px;
    z-index: 10001;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.property-lightbox-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.property-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.85);
}

.property-lightbox-close svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

.property-lightbox-counter {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1;
}

.property-lightbox-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 88px 96px 132px;
    overflow: hidden;
}

.property-lightbox-image-container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.property-lightbox-image {
    display: none;
    max-width: calc(100vw - 220px);
    max-height: calc(100vh - 240px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    pointer-events: none;
    user-select: none;
}

.property-lightbox-image.active {
    display: block;
}

.property-lightbox-prev,
.property-lightbox-next {
    position: absolute;
    top: 50%;
    margin-top: -28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    z-index: 10003;
    transition: background 0.2s ease;
}

.property-lightbox-prev:hover,
.property-lightbox-next:hover,
.property-lightbox-thumbs-prev:hover,
.property-lightbox-thumbs-next:hover {
    background: rgba(0, 0, 0, 0.85);
}

.property-lightbox-prev:focus,
.property-lightbox-next:focus,
.property-lightbox-close:focus,
.property-lightbox-thumbs-prev:focus,
.property-lightbox-thumbs-next:focus {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

.property-lightbox-prev {
    left: 24px;
}

.property-lightbox-next {
    right: 24px;
}

.property-lightbox-prev svg,
.property-lightbox-next svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

.property-lightbox-thumbs-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 24px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.65) 70%, transparent 100%);
    z-index: 10001;
}

.property-lightbox-thumbs-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.property-lightbox-thumbs-prev,
.property-lightbox-thumbs-next {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.property-lightbox-thumbs-prev svg,
.property-lightbox-thumbs-next svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

.property-lightbox-thumbs-bar.is-start .property-lightbox-thumbs-prev,
.property-lightbox-thumbs-bar.is-end .property-lightbox-thumbs-next {
    opacity: 0.35;
    pointer-events: none;
}

.property-lightbox-thumbs-bar:not(.is-overflow) .property-lightbox-thumbs-prev,
.property-lightbox-thumbs-bar:not(.is-overflow) .property-lightbox-thumbs-next {
    display: none;
}

.property-lightbox-thumbnails {
    display: flex;
    flex: 1;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.property-lightbox-thumbnails::-webkit-scrollbar {
    display: none;
}

.property-lightbox-thumb {
    flex-shrink: 0;
    width: 88px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
}

.property-lightbox-thumb:hover {
    opacity: 0.9;
}

.property-lightbox-thumb.active {
    opacity: 1;
    border-color: #fff;
}

@media (max-width: 768px) {
    .property-lightbox-content {
        padding: 72px 56px 120px;
    }

    .property-lightbox-image {
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 200px);
    }

    .property-lightbox-header {
        padding: 16px 16px;
    }

    .property-lightbox-prev,
    .property-lightbox-next {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .property-lightbox-prev {
        left: 8px;
    }

    .property-lightbox-next {
        right: 8px;
    }

    .property-lightbox-prev svg,
    .property-lightbox-next svg {
        width: 20px;
        height: 20px;
    }

    .property-lightbox-thumbs-bar {
        padding: 12px 12px 16px;
        gap: 8px;
    }

    .property-lightbox-thumb {
        width: 68px;
        height: 50px;
    }
}

