/* =========================================================
   ALL HOTELS — public listing
   ========================================================= */

.all-hotels-page {
    min-height: 100vh;
    background: var(--cream);
}

.all-hotels-container {
    width: min(calc(100% - 40px), 1200px);
    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.all-hotels-hero {
    padding: 28px 0 44px;
    background: linear-gradient(
        135deg,
        #4a3023 0%,
        #6b4937 60%,
        #87664f 100%
    );
    color: var(--white);
}

.all-hotels-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.all-hotels-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.15s ease;
}

.all-hotels-breadcrumb a:hover {
    color: var(--white);
}

.all-hotels-breadcrumb i {
    font-size: 11px;
    opacity: 0.8;
}

.all-hotels-breadcrumb span {
    color: var(--white);
    font-weight: 700;
}


.all-hotels-hero-content {
    max-width: 640px;
}

.all-hotels-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    color: #f0dfcb;
    font-size: 12px;
}

.all-hotels-eyebrow i {
    font-size: 13px;
}

.all-hotels-hero-content h1 {
    margin: 0 0 12px;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.35;
}

.all-hotels-hero-content p {
    margin: 0;
    color: #eadfd4;
    font-size: 14px;
    line-height: 2;
}


/* =========================================================
   SEARCH BAR
   ========================================================= */

.all-hotels-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 560px;
    margin-top: 26px;
    padding: 6px 6px 6px 18px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(38, 24, 17, 0.20);
}

.all-hotels-search > i {
    flex-shrink: 0;
    color: var(--brown-medium);
    font-size: 16px;
}

.all-hotels-search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 13px;
}

.all-hotels-search input::placeholder {
    color: var(--text-muted);
}

.all-hotels-search button {
    flex-shrink: 0;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: var(--brown-dark);
    color: var(--white);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.all-hotels-search button:hover {
    background: #503529;
}


/* =========================================================
   BODY + LAYOUT
   ========================================================= */

.all-hotels-body {
    padding: 40px 0 70px;
}

.all-hotels-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}


/* =========================================================
   FILTER SIDEBAR
   ========================================================= */

.all-hotels-filters {
    position: sticky;
    top: 20px;
}

.all-hotels-filters form {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(59, 40, 30, 0.05);
}

.all-hotels-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.all-hotels-filters-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--brown-medium);
    font-size: 10px;
}

.all-hotels-filters-header h2 {
    margin: 0;
    color: var(--brown-dark);
    font-size: 18px;
}

.all-hotels-filters-header > i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--beige-light);
    color: var(--brown);
    font-size: 16px;
}

.all-hotels-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding: 7px 11px;
    border-radius: 7px;
    background: #fdf2f2;
    color: #a3413a;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.all-hotels-clear:hover {
    background: #f7e3e3;
}

.all-hotels-filter-group h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 13px;
}

.all-hotels-filter-divider {
    height: 1px;
    margin: 18px 0;
    background: var(--beige-light);
}

.all-hotels-select {
    width: 100%;
    height: 42px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--cream);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--brown-medium) 50%),
        linear-gradient(135deg, var(--brown-medium) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% + 2px),
        calc(100% - 13px) calc(50% + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.all-hotels-select:focus {
    outline: none;
    border-color: var(--brown-medium);
    box-shadow: 0 0 0 3px rgba(107, 73, 55, 0.08);
}


/* ---------- checkbox rows ---------- */

.all-hotels-filter-option {
    min-height: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text);
    font-size: 11px;
    user-select: none;
}

.all-hotels-filter-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.all-hotels-custom-checkbox {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--beige-dark);
    border-radius: 5px;
    background: var(--white);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.all-hotels-filter-option input:checked + .all-hotels-custom-checkbox {
    background: var(--brown);
    border-color: var(--brown);
}

.all-hotels-filter-option input:checked + .all-hotels-custom-checkbox::after {
    content: "✓";
    color: var(--white);
    font-size: 11px;
}

.all-hotels-filter-stars {
    display: flex;
    gap: 2px;
    color: #b18a6f;
    font-size: 9px;
}

.all-hotels-filter-star-label {
    color: var(--text-muted);
}

.all-hotels-filter-option input:checked ~ .all-hotels-filter-star-label {
    color: var(--brown-dark);
    font-weight: 700;
}


/* ---------- apply button ---------- */

.all-hotels-apply-button {
    width: 100%;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 10px;
    background: var(--brown-dark);
    color: var(--white);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(59, 40, 30, 0.15);
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.all-hotels-apply-button:hover {
    background: #503529;
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(59, 40, 30, 0.22);
}

.all-hotels-apply-button i {
    font-size: 16px;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.all-hotels-results {
    min-width: 0;
}

.all-hotels-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 45px;
    margin-bottom: 14px;
    padding: 0 3px;
    color: var(--text-muted);
    font-size: 11px;
}

.all-hotels-toolbar-count {
    color: var(--text-muted);
}

.all-hotels-sort-form {
    margin: 0;
}

.all-hotels-sort-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--beige-dark);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(59, 40, 30, 0.04);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.all-hotels-sort-wrapper:hover {
    border-color: var(--brown-light);
    background: var(--cream);
}

.all-hotels-sort-wrapper > i {
    color: var(--brown-medium);
    font-size: 15px;
    pointer-events: none;
}

.all-hotels-sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--brown-dark);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    padding: 0 4px 0 20px;
    cursor: pointer;
    direction: rtl;
}

.all-hotels-sort-wrapper::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.6px solid var(--brown-medium);
    border-bottom: 1.6px solid var(--brown-medium);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}


/* =========================================================
   HOTEL GRID
   ========================================================= */

.all-hotels-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


/* =========================================================
   HOTEL CARD
   ========================================================= */

.hotel-listing-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 18px rgba(59, 40, 30, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.hotel-listing-card:hover {
    transform: translateY(-3px);
    border-color: var(--brown-light);
    box-shadow: 0 14px 34px rgba(59, 40, 30, 0.10);
}


/* ---------- image ---------- */

.hotel-listing-image-wrapper {
    position: relative;
    height: 175px;
    background: linear-gradient(
        135deg,
        var(--beige-light),
        var(--beige)
    );
    overflow: hidden;
}

.hotel-listing-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hotel-listing-card:hover .hotel-listing-image {
    transform: scale(1.05);
}

.hotel-listing-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown-light);
    font-size: 40px;
}

.hotel-listing-star-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--brown-dark);
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(59, 40, 30, 0.12);
}

.hotel-listing-star-badge i {
    color: #c99a35;
    font-size: 10px;
}


/* ---------- body ---------- */

.hotel-listing-body {
    flex: 1;
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hotel-listing-title {
    margin: 0;
    color: var(--brown-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hotel-listing-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
}

.hotel-listing-city {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hotel-listing-city i {
    color: var(--brown-medium);
    font-size: 12px;
    flex-shrink: 0;
}

.hotel-listing-type {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--beige-light);
    color: var(--brown);
    font-size: 10px;
    font-weight: 700;
}

.hotel-listing-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hotel-listing-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--brown-dark);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.hotel-listing-rating i {
    color: #f4c97a;
    font-size: 10px;
}

.hotel-listing-rating-empty {
    background: var(--beige-light);
    color: var(--text-muted);
    font-weight: 600;
}

.hotel-listing-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--brown);
    font-size: 10px;
    font-weight: 700;
    transition: color 0.15s ease, transform 0.15s ease;
}

.hotel-listing-card:hover .hotel-listing-cta {
    color: var(--brown-dark);
    transform: translateX(-2px);
}


/* =========================================================
   EMPTY
   ========================================================= */

.all-hotels-empty {
    max-width: 520px;
    margin: 60px auto;
    padding: 55px 30px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(59, 40, 30, 0.05);
}

.all-hotels-empty > i {
    font-size: 44px;
    color: var(--brown-light);
}

.all-hotels-empty h2 {
    margin: 18px 0 8px;
    color: var(--brown-dark);
    font-size: 18px;
}

.all-hotels-empty p {
    margin-bottom: 22px;
    color: var(--text-muted);
    font-size: 13px;
}

.all-hotels-empty-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--brown-dark);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.all-hotels-empty-button:hover {
    background: #503529;
    color: var(--white);
}


/* =========================================================
   PAGINATION
   ========================================================= */

.all-hotels-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 44px auto 8px;
    padding: 8px;
    width: fit-content;
    max-width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow:
        0 1px 2px rgba(59, 40, 30, 0.04),
        0 12px 32px rgba(59, 40, 30, 0.06);
}

.all-hotels-pagination-arrow,
.all-hotels-pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.all-hotels-pagination-arrow {
    color: var(--brown);
    font-size: 15px;
}

.all-hotels-pagination-arrow:hover {
    background: var(--beige-light);
    color: var(--brown-dark);
    transform: translateY(-1px);
}

.all-hotels-pagination-arrow.is-disabled {
    opacity: 0.28;
    color: var(--text-muted);
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    background: transparent;
}

.all-hotels-pagination-page:hover {
    background: var(--beige-light);
    color: var(--brown-dark);
    transform: translateY(-1px);
}

.all-hotels-pagination-page.is-current {
    background: var(--brown-dark);
    color: var(--white);
    font-weight: 700;
    cursor: default;
    box-shadow:
        0 4px 12px rgba(59, 40, 30, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.all-hotels-pagination-page.is-current:hover {
    transform: none;
    background: var(--brown-dark);
    color: var(--white);
}

.all-hotels-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 40px;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    user-select: none;
    pointer-events: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .all-hotels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .all-hotels-layout {
        grid-template-columns: 230px minmax(0, 1fr);
    }
}


@media (max-width: 850px) {

    .all-hotels-layout {
        display: block;
    }

    .all-hotels-filters {
        position: static;
        margin-bottom: 18px;
    }

    .all-hotels-filters form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .all-hotels-filters-header,
    .all-hotels-clear,
    .all-hotels-apply-button {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .all-hotels-filter-divider {
        display: none;
    }
}


@media (max-width: 650px) {

    .all-hotels-container {
        width: calc(100% - 24px);
    }

    .all-hotels-hero {
        padding: 22px 0 30px;
    }

    .all-hotels-search {
        padding: 5px 5px 5px 14px;
    }

    .all-hotels-search button {
        padding: 0 16px;
        font-size: 12px;
    }

    .all-hotels-body {
        padding: 25px 0 50px;
    }

    .all-hotels-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .all-hotels-filters form {
        display: block;
    }

    .all-hotels-filter-divider {
        display: block;
    }

    .all-hotels-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .all-hotels-pagination {
        gap: 2px;
        padding: 6px;
        margin: 28px auto 4px;
    }

    .all-hotels-pagination-arrow,
    .all-hotels-pagination-page {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 12px;
    }
}