.deals-inner {
    position: relative;
    height: 47rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color:white;
    background-position: center;
}

.deals-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #28489A 0%, #4680F7 100%);
    z-index: 1;
    pointer-events: none;
}
.deals-inner h1 {
    font-size: 4.8rem;
}

.deals-holder {
    padding-top: 0;
}

.deals-holder h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.deals-holder .filter-list {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    overflow: auto;
    padding-bottom: 1.5rem;
}

.deals-holder .filter-list button {
    padding:.5rem;
    min-width: 12rem;
    text-align: center;
}

.deals-holder .filter-list  .list-btn ,
.deals-holder .filter-list  .map-btn  {
    font-size: 1.5rem;
    border-radius: .5rem;
    font-weight: 600;
    border: 1px solid var(--primary-color);
}
.deals-holder .filter-list  .list-btn {
    background-color: var(--primary-color);
    color:white;
}
.deals-holder .filter-list  .map-btn {
    color:var(--primary-color);
}
.deals-holder .filter-list .reg-btn {
    border: 1px solid black;
    border-radius: 1.5rem;
}


.deals-holder section {
    --gap: 4rem;
    --num-cols: 4;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    gap: var(--gap);
    margin-top: 5rem;
}


.deals-holder section article {
    box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 1rem;
    padding-bottom: 1.5rem;
}
.deals-holder section article .img {
    height: 20rem;
}
.deals-holder section article img {
    height: 100%;
    object-fit: cover;
}
.deals-holder section article h3 ,
.deals-holder section article .bid-holder {
    width: 30rem;
    margin:auto;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1rem;
}
.deals-holder section article h3 {
    font-size: 2rem;
}

.deals-holder section article p {
    padding: 0 1rem;
}
.bid-holder {

}

.bid-holder button, .bid-holder a {
    
    width: 100%;
    padding: 1rem;
    font-size: 1.6rem;
    border-radius: .5rem;
}
.bid-holder button {
    background-color: var(--orange-color);
}
.bid-holder a {
    background-color: var(--primary-color);
    font-weight: 600;
    color:white;
    display: block;
}
.bid-holder div {
    margin: 1rem 0;
}


.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.pagination button {
    border: 1px solid;
    padding: 1rem;
    width: fit-content;
    font-size: 1.8rem;
    margin-top: 4rem;
}

.pagination button.cur {
    border-color: var(--primary-color);
    font-weight: 600;
    color:white;
    background-color: var(--primary-color);
}



@media (max-width:767px){
    .deals-holder section {
        --num-cols: 1;
    }
    .deals-inner h1 {
        font-size: 3rem;
    }
    .deals-inner {
        height: 35rem;
    }
    .section-padding {
        padding:2.5rem 1.5rem;
    }
    .deals-holder .filter-list {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.5rem;
        overflow: visible;
        flex-wrap: nowrap;
    }
    .deals-holder .filter-list button {
        padding: 0.5rem 0.15rem;
        font-size: 1rem;
        min-width: 0;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Hide categories after 8th on mobile */
    .deals-holder .filter-list button:nth-child(n+9) {
        display: none;
    }
}

@media(min-width:768px) and (max-width:992px) {
    .deals-holder section {
        --num-cols: 2;
    }
    .deals-holder .filter-list {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}


/*.deals-inner {
    height: 59rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color:white;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.deals-inner h1 {
    font-size: 4.8rem;
}



 //Featured HOTELS
.featured-hotels h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.featured-hotels__holder {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.featured-hotels__holder article {
    flex-basis: 31%;
    text-align: center;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow:2px 1px 10px 0px rgb(0 0 0 / 10%);
    padding:1rem;
}

.featured-hotels__holder article .hotel-img {
    height: 32rem;
    background-size: cover;
    background-position: center;
    border-radius: 1.5rem 1.5rem 0 0;
}

.featured-hotels__holder article h4 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    font-weight: 500;
}

.featured-hotels__holder .location-hotel {
    color: var(--gray-color);
}

.featured-hotels__holder .stars {
    color: var(--star-color);
    font-size: 2.4rem;
    margin: 1.5rem 0;
}
.featured-hotels__holder .price-per-night {
    font-size: 1.8rem;
    color: var(--gray-color);
}
.featured-hotels__holder .price-per-night  div {
    color:black;
    font-weight: 600;
    font-size: 2.2rem;
}
.featured-hotels__holder .cta-hotel-btn {
    margin: 1.5rem 0;
}
.featured-hotels__holder .cta-hotel-btn a {
    width: 23.5rem;
    display: inline-block;
    font-size: 1.8rem;
    background: var(--primary-color);
    border-radius: 1.5rem;
    color:var(--white-color);
    padding: 1.5rem 0;
}


// Travel Advisor 

.travel-advisor {
    background:#F5F6FA;
    padding: 8rem 0;
    margin-bottom: 10rem;
}

.travel-advisor .holder{
    height: 52rem;
    background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.76) 87%), url(../../Booking/Search/img/travel-advisor.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 1.5rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem 6rem;
    color: white;
    font-size: 2rem;
    max-width:155rem;
    margin: auto;
}
.travel-advisor h2 {
    color:var(--white-color);
}

.travel-advisor .holder p {
    width: 30%;
}
.travel-advisor .holder a {
    color:var(--white-color);
    text-decoration: underline;
}


@media (max-width:767px){
    .deals-inner h1 {
        font-size: 3rem;
    }
    .deals-inner {
        height: 35rem;
    }
    .section-padding {
        padding:2.5rem 1.5rem;
    }

}*/


.deals-holder article{
    position: relative;
}

.deals-holder section article p {
    padding-bottom: 32%;
}


article .bid-holder{
    position: absolute;
    bottom: 12px;
}
.deals-holder h2 {
    text-align: center;
}
.deals-holder section article p {
    text-align: center;
}


/*  ========================= Pagination =========================== */
   .pagination-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 100px;
}

.pag-btn {
    background-color: white;
    color: #0B1215;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    min-width: 40px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.pag-btn:hover:not(.disabled):not(.active) {
    background-color: #f0f0f0;
}

.pag-btn.active {
    background-color: #000;
    color: white;
    font-weight: bold;
    border-color: #000;
}

.pag-btn.disabled {
    color: #aaa;
    border-color: #eee;
    background-color: #f9f9f9;
    cursor: not-allowed;
}

.ellipsis {
    display: inline-block;
    padding: 6px 12px;
    color: #666;
    font-size: 14px;
}
/*  ========================= Pagination =========================== */


@media only screen and (max-width: 1440px) {
.deals-holder section {
    --num-cols: 3; 
}
.deals-holder section article p {
   text-align: center;
}
}

@media only screen and (max-width: 1199px) {
.deals-holder section {
    --num-cols: 2; 
}
.deals-holder .filter-list {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.2rem;
}
}

@media only screen and (max-width:767px) {
.deals-holder section {
    --num-cols: 1; 
}
    .deals-holder .filter-list {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.5rem;
        overflow: visible;
        flex-wrap: nowrap;
    }
    .deals-holder .filter-list button {
        padding: 0.5rem 0.15rem;
        font-size: 1.1rem;
        min-width: 0;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Hide categories after 8th on mobile */
    .deals-holder .filter-list button:nth-child(n+9) {
        display: none;
    }
}