.hzds-stays-search .hzds-search-row + .hzds-search-row {
    margin-top: 0.75rem;
}

.hzds-stays-search .hzds-search-col .form-label {
    margin-bottom: 0.35rem;
}

.hzds-stays-search .hzds-hint-slot {
    min-height: 1.35rem;
    margin-top: 0.25rem;
    line-height: 1.35;
}

.hzds-stays-search .hzds-hint-slot .hzds-hint {
    display: block;
    font-size: 0.8125rem;
}

.hzds-stays-search .hzds-hint.is-hidden {
    visibility: hidden;
}

.hzds-stays-search .hzds-search-col--submit .hzds-search-submit-label {
    display: block;
    margin-bottom: 0.35rem;
    user-select: none;
}

.hzds-stays-grid .hzds-card-placeholder,
.hzds-stay-card .hzds-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #f0f0f0;
    color: #888;
    border-radius: 0;
}

.hzds-stay-card .item-header {
    flex-shrink: 0;
    overflow: hidden;
}

.hzds-stay-card .item-header .hover-effect.image-wrap {
    height: auto;
    display: block;
}

.hzds-stay-card .item-header .hover-effect.image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hzds-stay-card .listing-thumb {
    position: relative;
}

.hzds-stay-card .item-body {
    position: relative;
    z-index: 2;
}

.hzds-request-widget {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0;
}

.hzds-request-widget .widget-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
}

.hzds-request-widget .widget-body {
    padding: 1.25rem;
}

.hzds-price-line strong {
    font-size: 1.35rem;
}

.hzds-pagination {
    margin-top: 2rem;
    text-align: center;
}

.hzds-meta-badges .badge {
    margin-inline-end: 0.35rem;
}

.hzds-gallery img {
    border-radius: 4px;
}

.hzds-booking-card {
    border: 1px solid #e8e8e8;
}

.hzds-listing-type-switcher {
    margin-bottom: 1.5rem;
}

.hzds-switcher-inner {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.hzds-switcher-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hzds-switcher-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hzds-switcher-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    border: 1px solid #d0d0d0;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: all 0.15s ease;
}

.hzds-switcher-tab:hover {
    border-color: #0d6efd;
    color: #0d6efd;
}

.hzds-switcher-tab.is-active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* Single stay — main gallery + thumbnail strip */
.hzds-stay-gallery {
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.hzds-gallery-main {
    position: relative;
    background: #111;
    touch-action: pan-y;
}

.hzds-gallery-main-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 520px;
    background: #1a1a1a;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .hzds-gallery-main-stage {
        aspect-ratio: 4 / 3;
        max-height: 360px;
    }
}

.hzds-gallery-main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #111;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.hzds-gallery-main-img.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hzds-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.15s ease;
}

.hzds-gallery-nav:hover {
    background: #fff;
}

.hzds-gallery-prev {
    left: 12px;
}

.hzds-gallery-next {
    right: 12px;
}

.hzds-gallery-counter {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
}

.hzds-gallery-thumbs-track {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    padding: 10px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.hzds-gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: min-content;
}

.hzds-gallery-thumb {
    flex: 0 0 auto;
    width: 88px;
    height: 66px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f3f3;
    cursor: pointer;
    scroll-snap-align: center;
    transition: border-color 0.15s ease, opacity 0.15s ease;
    opacity: 0.75;
}

.hzds-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hzds-gallery-thumb.is-active,
.hzds-gallery-thumb:hover {
    border-color: #0d6efd;
    opacity: 1;
}
