.hotels-content {
    display: flex;
}

.villa-calendar-modal .modal-dialog{
    --bs-modal-width: 57rem;
}

@media (max-width: 1000px) {
    main {
        position: static;
    }
    .products-container .products-main {
        width: 100%;
    }
}
.products-container {
    --products-toolbar-height: 2.5rem;
    --products-toolbar-track: #f3f4f6;
}

.banners-container + .products-container {
    margin-top: -0.5rem;
}

.products-main > .products-header {
    width: 100%;
    flex: 0 0 auto;
}

.products-header {
    position: sticky;
    top: var(--header-height);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: transparent;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.products-header.is-stuck {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    z-index: 90;
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
    padding-inline: 12px;
}

@media (max-width: 992px) {
    .products-header.is-stuck {
        width: 100vw;
        max-width: 100vw;
        margin-inline: calc(50% - 50vw);
    }

    .products-header.is-stuck .products-header__inner {
        width: min(1320px, 95vw);
        max-width: calc(var(--body-max-width) - 30px);
        margin-inline: auto;
        padding-block: 0.45rem;
        box-sizing: border-box;
    }
}

@media (min-width: 993px) {
    .products-header.is-stuck .products-header__inner {
        padding-block: 0.45rem;
    }
}

.products-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 280px;
    width: 280px;
    align-self: stretch;
}

@media (min-width: 993px) {
    .products-aside {
        position: sticky;
        top: calc(var(--header-height) + 0.5rem);
        align-self: flex-start;
        max-height: calc(100dvh - var(--header-height) - 1rem);
        min-height: 0;
    }

    .products-aside .products-map-box {
        flex-shrink: 0;
    }
}

.products-map-box {
    height: 130px;
    background-image: url('/assets/images/map/map.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: border-color 0.2s ease;
}

.products-map-box__label {
    height: 2.14rem;
    box-shadow: 0 0 5px 3px #0000001a;
    transition: color 0.2s ease;
}

.products-map-box:hover,
.products-map-box:focus-visible {
    outline: none;
}

.products-map-box:hover .products-map-box__label,
.products-map-box:focus-visible .products-map-box__label {
    color: var(--cl-primary);
}

@media (max-width: 992px) {
    .products-container .products-content {
        flex-direction: column;
    }

    .products-aside {
        flex: none;
        width: 100%;
        align-self: auto;
    }

    .products-aside:not(:has(.products-map-box)) {
        display: contents;
    }

    .products-map-box {
        width: 100%;
        height: 7.5rem;
    }
}

.products-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-height: var(--products-toolbar-height);
}

.products-header__start {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 0 1 auto;
    width: auto;
}

.products-header__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-shrink: 0;
    min-height: 2.25rem;
    padding: 0.15rem 0.35rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #4b5563;
    font-size: var(--fs-sm);
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.products-header__action span {
    display: inline;
}

.products-header__action svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #6b7280;
    transition: color 0.2s ease;
}

.products-header__action:hover,
.products-header__action:focus-visible {
    color: var(--cl-primary);
    background: transparent;
    outline: none;
    box-shadow: none;
}

.products-header__action:hover svg,
.products-header__action:focus-visible svg {
    color: var(--cl-primary);
}

.products-header__action:active {
    background: rgba(15, 23, 42, 0.04);
}

.products-header__map-link {
    color: #4b5563;
}

.products-header__sort {
    display: inline-flex;
    align-items: center;
    justify-content:  space-between;
    gap: 2px;
    width: 280px;
    max-width: 100%;
    flex: 0 0 auto;
    padding: 4px;
    border-radius: 12px;
    background: var(--products-toolbar-track);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.products-header__sort::-webkit-scrollbar {
    display: none;
}

.products-header__sort .sort-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 1.95rem;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #6b7280;
    font-size: var(--fs-xs);
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.products-header__sort .sort-tag:hover {
    color: #111827;
    background: transparent;
    border: 0;
}

.products-header__sort .sort-tag.active {
    background: #fff;
    color: var(--cl-primary);
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.1),
        0 1px 3px rgba(15, 23, 42, 0.06);
    border: 0;
}

.products-header .sort-select {
    margin-inline-start: 0;
}

.products-header .sort-select__toggle--offcanvas {
    height: auto;
    min-height: 2.25rem;
    padding: 0.15rem 0.35rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #4b5563;
    font-size: var(--fs-xs);
    font-weight: 500;
    box-shadow: none;
}

.products-header .sort-select__toggle--offcanvas:hover,
.products-header .sort-select__toggle--offcanvas:focus-visible {
    border: none;
    color: var(--cl-primary);
    background: transparent;
    box-shadow: none;
}

.products-header .sort-select__toggle--offcanvas:active {
    background: rgba(15, 23, 42, 0.04);
}

.products-header .sort-select__icon {
    color: #6b7280;
}

.products-header .sort-select__toggle--offcanvas:hover .sort-select__icon,
.products-header .sort-select__toggle--offcanvas:focus-visible .sort-select__icon {
    color: var(--cl-primary);
}

@media (max-width: 992px) {
    .products-header__start {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        gap: 0.5rem;
    }

    .products-header__start .filters-btn {
        flex: 0 0 auto;
    }

    .products-header__start .sort-select {
        flex: 0 0 auto;
    }

    .products-header__start .products-header__map-link {
        flex: 0 0 auto;
    }
}

@media (min-width: 993px) {
    .products-header .sort-select {
        display: none !important;
    }

    .products-header__sort {
        overflow: visible;
    }

    .products-header__sort .sort-tag {
        flex: 0 0 auto;
        width: auto;
    }
}

@media (max-width: 992px) {
    .products-header__sort {
        display: none;
    }
}

.products-header .display-mode-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.products-header .display-mode-container .text {
    font-size: var(--fs-xs);
    color: #6b7280;
}

.products-header .display-mode-container .modes {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border-radius: 12px;
    background: var(--products-toolbar-track);
}

.products-header .display-mode-container .mode {
    border: 0;
    background: transparent;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 0.55rem;
    cursor: pointer;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.products-header .display-mode-container .mode svg {
    width: 18px;
    height: 18px;
}

.products-header .display-mode-container .mode:hover {
    color: #111827;
    background: transparent;
    box-shadow: none;
}

.products-header .display-mode-container .mode.active {
    color: var(--cl-primary);
    background: #fff;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.1),
        0 1px 3px rgba(15, 23, 42, 0.06);
}

@media (min-width: 1000px) {
    .products-header .filters-btn {
        display: none;
    }
}

.products-container .products-content {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    width: 100%;
}

.products-container .products-main {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.products-container .products-list {
    display: grid;
    flex: 1;
    min-width: 0;
    width: 100%;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.products-list .product-card {
    min-width: 0;
    display: flex;
    align-items: stretch;
    height: 100%;
}

.products-list .product-card--empty {
    grid-column: 1 / -1;
    padding: 2rem;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px dashed #d9d9d9;
    text-align: center;
    display: block;
}

/* Hotel card */
.products-list .product-card > .hotel-card-container--product {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: 100%;
    flex: 1 1 auto;
    margin: 0;
    margin-bottom: 0;
}

.products-list .hotel-card--product {
    flex: 1 1 auto;
    height: 100%;
    min-height: 100%;
}

.products-list .hotel-card--product .hotel-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.products-list .hotel-card--product .hotel-card__amenities {
    flex: 0 0 auto;
}

.products-list .hotel-card--product .hotel-card__footer {
    margin-top: auto;
    flex-shrink: 0;
}

.products-pagination {
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.products-infinite-scroll {
    width: 100%;
    min-height: 1px;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-infinite-scroll__loader {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.products-infinite-scroll__loader[hidden] {
    display: none !important;
}

.products-infinite-scroll__spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #e5e7eb;
    border-top-color: #f97316;
    border-radius: 50%;
    animation: products-infinite-spin 0.7s linear infinite;
}

.products-infinite-scroll__text {
    line-height: 1;
}

@keyframes products-infinite-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1200px) {
    .products-container .products-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .products-container .products-list {
        grid-template-columns: 1fr;
    }
}

/* List / row view */
.products-list.vertical {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
    width: 100%;
}

@media (min-width: 901px) {
    .products-list.vertical .hotel-card--product {
        flex-direction: row;
        align-items: stretch;
        gap: 1.1rem;
        padding: 0.7rem;
    }

    .products-list.vertical .hotel-card--product .hotel-card__media {
        flex: 0 0 280px;
        width: 280px;
        max-width: 38%;
    }

    .products-list.vertical .hotel-card--product .hotel-card__body {
        min-width: 0;
        justify-content: space-between;
        padding: 0.4rem 0.25rem 0.25rem;
    }

    .products-list.vertical .hotel-card--product .hotel-card__title {
        -webkit-line-clamp: 1;
    }

    .products-list.vertical .hotel-card--product .hotel-card__amenities {
        max-width: 26rem;
    }
}

.city-list-banner.main-banner-container.wide {
    width: 99vw;
    max-width: none;
}

.city-list-banner.main-banner-container.wide picture {
    width: 100%;
    height: 100%;
}

.city-list-banner.main-banner-container.wide picture img,
.city-list-banner.main-banner-container.wide img.web,
.city-list-banner.main-banner-container.wide img.wide-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list__title {
    font-size: var(--fs-xs);
    font-weight: bold;
    margin-top: 1rem;
}

/* single new update */
.category-item {
    padding: 0.2rem 0.3rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-size: calc(var(--fs-xs) - 0.1rem);
    display: flex;
    align-items: center;
    width: fit-content;
    transition: 0.3s;
    background-color: white;
}
.category-item:hover {
    color: var(--cl-primary);
}
.category-item:hover svg {
    color: var(--primary-50);
}
.hotel__categories-container {
    display: flex;
    width: 100%;
    flex-direction: column;
}
.hotel__categories-container ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
