﻿.margin-right-7{
    margin-right:7px;
}

.fav-head {
    padding-top: 30px;
    font-size: 30px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.flex-fav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
    padding: 0;
}

.brand-cardbox {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-inline: 0 20px;
    width: 20%;
}

.fav-box-img {
    position: relative;
    border: solid 2px #ccc;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    width: 100%;
}

    .fav-box-img .favorite-icon {
        position: absolute;
        width: 25px;
        height: 28px;
        top: 7px;
        right: 7px;
    }

.fav-text-box {
    margin-top: auto;
    padding: 10px 20px;
    min-height: 57px;
    font-size: 14px;
    background-color: #3f526f;
    border-radius: 0 0 10px 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fav-box-img img {
    padding: 40px 10px 20px;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    object-fit: contain;
    max-width: 100%;
    max-height: 155px;
}

.fav-text {
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
}

.card-link-fav {
    width: 20%;
}

.stretch {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    width: 100%;
}

.fav-stretch {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fav-icon-5 {
    margin: 5px;
}

.no-fav-text p {
    text-align: center;
    font-weight: 500;
    font-size: 20px;
    color: #000;
    padding: 30px 0;
    border-bottom: 1px solid #dddddd;
}

.popular-cards h2 {
    font-weight: 600;
    font-size: 28px;
    color: #000;
    padding: 20px 0;
}

.brws-attractions {
    background: #007700;
    color: #fff;
    margin: 50px auto;
    justify-content: center;
    display: flex;
    width: 400px;
}

    .brws-attractions:hover {
        border: 1px solid #007700;
        color: #007700;
        background-color: #fff;
    }

.no-fav-container {
    width: 100%;
    overflow: hidden;
}

.no-fav-cards {
    display: grid;
    gap: 15px;
    align-items: stretch;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.no-fav-card {
    flex: 0 0 calc(20% - 12px); 
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column; 
    height: 100%; 
}

.pad-right-10{
    padding-right: 10px;
}

.no-fav-content {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.no-fav-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position:top;
}

.no-fav-content h3 {
    font-size: 17px;
    margin-bottom: 5px;
    color: #000;
}

.no-fav-content p {
    font-size: 15px;
    color: #000;
    margin-bottom: 5px;
}

.no-fav-cards {
    transition: transform 0.3s ease-in-out;
}


.no-fav-card .no-fav-content {
    padding: 10px;
}

.favouritepopular-sliders .slick-arrow.slick-prev {
    left: -40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: transparent;
    border: none;
}

.favouritepopular-sliders .slick-arrow:before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    z-index: 99999;
    border-top: 3px solid #B8B8B8;
    border-left: 3px solid #B8B8B8;
    transform: translateY(-50%) rotate(-45deg);
    border-radius: 2px;
    left: 7px;
}

.favouritepopular-sliders .slick-arrow:after {
    content: '';
    position: absolute;
    top: -3px;
    left: -4px;
    width: 30px;
    height: 30px;
    border: solid 2px #b8b8b8;
    border-radius: 50%;
}

.favouritepopular-sliders .slick-arrow.slick-next{
    left: inherit;
    right: -50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
}
.favouritepopular-sliders .slick-next:before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    z-index: 99999;
    border-top: 3px solid #B8B8B8;
    border-left: 3px solid #B8B8B8;
    transform: translateY(-50%) rotate(138deg);
    border-radius: 2px;
    left: 5px;
    top: 12px;
}
.favouritepopular-sliders .slick-list {
    margin-inline: 0 -15px;
}
.favouritepopular-sliders .slick-slide > div {
    padding-inline: 0 15px;
}
.favouritepopular-sliders .slick-track{
    padding:10px 0;
}
.popup-img {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}
@media screen and (min-width:1920px) {
    .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1370px;
        padding:0;
    }
}
@media screen and (max-width:1100px){
    .container-fluid, .container-lg, .container-md, .container-sm, .container-xl{
        max-width:90%;
    }
    .no-fav-content h3 {
        font-size: 1.2rem;
        margin-bottom: 2px !important;
    }

    .flexwrap-dt{
        flex-wrap: wrap;
    }

    .no-fav-content p{
        font-size: 10px;
    }
    .favouritepopular-sliders {
        margin: 0 50px;
    }
}
@media screen and (max-width:991px){
    .brand-cardbox {
        width: 33.33%;
    }

    .disp-none{
        display:none;
    }
}
@media (max-width: 768px) {

    .brws-attractions {
        width: 300px;
        font-size: 18px;
    }

    .card-link-fav {
        width: 50%;
        padding-bottom: 20px;
    }

    .no-fav-container {
        overflow-x: auto;
        padding-left: 0px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .no-fav-cards {
        flex-wrap: nowrap;
        width: max-content;
    }

    .no-fav-card {
        flex: 0 0 calc(10% - 10px); /* 2.5 cards visible */
        scroll-snap-align: center;
    }

    .no-fav-container::-webkit-scrollbar {
        display: none; /* Hide scrollbar */
    }
    .favouritepopular-sliders .slick-list {
        margin-inline: 0;
        /*padding-left:0 !important;*/
    }
    .no-fav-content h3 {
        min-height: auto;
        margin-bottom: 10px;
    }
    .brws-attractions {
        margin: 10px auto 50px;
        padding:10px;
    }
    .brand-cardbox {
        padding-inline: 0;
        padding: 0px 0px;
        width:100%;
    }
    .flex-fav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 10px;
    }
    .favouritepopular-sliders .slick-slide > div{
        padding-inline:5px;
    }
    .fav-head {
        padding-top: 20px;
        font-size: 24px;
        font-weight: 600;
        color: #000;
        margin-bottom: 5px;
    }
    .no-fav-text p {
        padding: 20px 20px 20px 20px;
    }
    .fav-box-img img {
        max-height: 160px;
    }
    .fav-text-box {
        padding: 10px;
        font-size: 14px;
        height: auto;
        min-height: 62px;
    }
   
}

@media (max-width: 576px) {

    .no-fav-card img {
        height: auto;
    }

    .no-fav-container h3 {
        font-size: 14px;
        color: #000;
    }

    .no-fav-container p {
        font-size: 14px;
        color: #000;
    }

    .no-fav-text p {
        font-size: 17px;
        padding: 20px 20px;
    }

    .popular-cards h2 {
        font-size: 19px;
        padding: 10px 0px;
    }

    .flexwrap-dt {
        flex-wrap: wrap;
    }
    .pad-0 {
        padding: 0px;
    }

    .favorite-notification {
        bottom: 70px;
        left: 22%;
    }
    .favourite-removalpopup{
        width:90% !important;
    }
    .no-fav-text p img{
        width:15px !important;
    }
}
