.main{
    position: relative;
    z-index: 1000;
    color: var(--text-color);
    margin-bottom: -550px;
    font-family: 'iranSans';
    padding-bottom: 20rem;

}
/* -------main------- */
.main-container{
    max-width: 1500px;
}
/********swiper************/
.swiper {
    width: 100%;
    height:550px;
    /*height: 400px;*/
    /*margin-top:2rem;*/
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height:500px;
    /*height: 100%;*/
    /*object-fit: cover;*/
    /*object-fit: contain;*/

}
.swiper-pagination-bullet-active {
    background:var(--primary-color)!important;
}
.swiper-pagination-bullet{
    width:15px!important;
    height: 15px!important;
    border:1px solid var(--secondry-color);
    background: var(--primary-color);
}
/*****swiper*********/
.main-logo{
    max-width: 85%;
    margin-top: 4%;
    margin-inline: auto;
}

.main-logo img{
    width: 100%;
}

.main-items{
    width:85% ;
    margin-top: 4%;
    margin-inline: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap:wrap;
}
/***********/
.case-items {
    width: calc(100% / 3);
    padding: 10px;
    text-align: center;
}

.items-img {
    width: 100px;
}

.items-img-space {
    width: 20px;
    margin: 0 5px;
}
.case-items:last-child .items-img-space {
    display: none;
}
/**********/
.main-items-filter{
    width:85% ;
    margin-top: 4%;
    margin-inline: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.case-items{
    width:11.5%;
}

.case-items p{
    font-size: 0.97rem;
    height:70px;
    color: #707070;
    /*margin-right: 10%;*/
    text-align: center;
    font-weight: 600;
    padding-bottom:4rem;
}

.items-img{
    width:90%;
}

.items-img-space{
    width:5%;
    margin-bottom: 6%;
}

.main-place{
    max-width: 85%;
    margin-inline: auto;
    margin-top: 3%;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(3, 1fr);
}

.place{
    width: 95%;
    position: relative;
}

.place-img{
    width:100%;
}

.place-details{
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top:5%;
    right:10%;
}

.details-img1{
    width: 290px;
    height: 290px;
    border-radius: 7.5rem;
}

.details-img2{
    width: 80%;
    position: absolute;
    top: 20%;
}

.place-details h1{
    color: #f7931e;
    margin-top: 5%;
}

.place-details p{
    color: #707070;
    margin-top: 2%;
    font-size:1.2rem;
}

.place-share{
    width: 50%;
    display: flex;
    flex-direction: row;
    margin-top: 5%;
}
.place-share img:first-child{
    width:14%;
}
.place-share img:nth-child(2){
    width:18%;
}
.place-share img:nth-child(3){
    width:18%;
}
.place-share p{
    color: #f7931e;
    font-size: 1.3rem;
    padding:0 0.3rem 0 1rem;
}
.pagination-container{
    width: 100%;
    position:absolute;
    bottom:12rem;
    display:block;
    margin: auto;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-inline: auto;*/
    margin-top: 3rem;
    /*margin: auto;*/
}
.prev,.next{
    display:none;
}
.pagination li.active a{
    display: block;
    width:15px!important;
    height: 15px!important;
    border-radius: 20px;
    background-color: var(--primary-color);
    color:var(--white-color);
    padding:2.1rem;
    margin:1rem;
    font-size:1.3rem;
    line-height: 5px;
    font-weight: 600;
    text-align: center;
}
.pagination li{
    padding-top:1rem;
}
.pagination li a{
    display: block;
    width:15px;
    height: 15px;
    border-radius: 15px;
    background-color: var(--primary-color);
    color:var(--white-color);
    padding:1.6rem;
    margin:1rem;
    font-size: 1.1rem;
    line-height: 2px;
    text-align: center;
}
.pagination li.last a{
    display: block;
    width:15px;
    height: 15px;
    border-radius: 12px;
    background-color: var(--primary-color);
    color:var(--white-color);
    padding:1.2rem;
    margin:1rem;
    font-size: 1.1rem;
    line-height: 2px;
    text-align: center;
}

/**********************/
.basket__row{
    width:80%;
    height:290px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 7.5rem;
    box-shadow: 0 0 30px #00000036;
    /*padding: 10px 20px;*/
    margin: 3rem auto;
    background-color:var(--white-color);
}
.basket__row .basket__row__details {
    width: 100%;
    height:inherit;
    position: relative;
    display: flex;
    align-items: center;
}
.basket__row .basket__row__details .basket__logo{
    width: 270px;
    height: 270px;
    border-radius: 7.5rem;
    margin-right: 1rem;
}
.basket__row .basket__row__details .basket__description{
    display:flex;
    flex-direction: column;
    align-items: start;
    padding: 3rem 4rem;
}
.basket__row .basket__row__details .basket__description h3{
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.6rem;
}

.basket__row .basket__row__details .basket__description div img{
    height:25px;
    margin-top: 1rem;
}
.basket__row .basket__row__details .basket__description div span{
    height:25px;
    padding: 0 0.5rem;
}
.basket__row .basket__row__details .basket__description .restuarant__items{
    display: flex;
    justify-content: flex-start;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.no__rest{
    font-size: 2rem;
    text-align: center;
    color: var(--primary-color);
    padding: 3rem 8rem;
}
.basket__row .basket__row__details .basket__description .restuarant__items p.des{
    width: 450px;
    font-size:1.2rem;
    padding-bottom: 1rem;
}
.place-share-other{
    width: 250px;
    display: flex;
    flex-direction: row;
    margin-top: 5%;
}
.place-share-other p {
    width:50px;
    color: #f7931e;
    font-size: 1.3rem;
    padding: 1rem 0.5rem 0 1rem;
}
.confirm-button {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color:var(--white-color);
    width:inherit;
    height: inherit;
    background-color: var(--primary-color);
    border-radius: 7.5rem 0 0 7.5rem;
    font-size: 1.5rem;
    text-align: center;
}
.currentCity{
    display: none;
}
/**********************/
/****** responsive **********/
@media screen and (max-width:1270px){
    .details-img1 {
        width:250px;
        height:250px
    }
}
@media screen and (max-width:1200px){
    .basket__row {
        height: 270px;
    }
    .basket__row .basket__row__details .basket__logo {
        width: 250px;
        height: 250px;
    }
    .basket__row .basket__row__details .basket__description .restuarant__items p.des {
        width: 350px;
    }
}
@media screen and (max-width:1100px){
    .basket__row {
        height: 260px;
    }
    .basket__row .basket__row__details .basket__logo {
        width: 220px;
        height: 220px;
        border-radius: 5rem;
    }
    .basket__row .basket__row__details .basket__description .restuarant__items p.des {
        width: 300px;
    }
    .basket__row .basket__row__details .basket__description {
        padding: 3rem 2rem;
    }
}
@media screen and (max-width:1150px){
    .details-img1 {
        width:200px;
        height:200px;
        border-radius: 5rem;
    }
}
@media screen and (max-width:992px){
    .main-items {
        width:95%;
    }
    .main-logo {
        max-width:95%;
    }
    .swiper {
        width: 100%;
        height: 450px;
    }
    .swiper-slide img {
        height: 400px;
    }
    .case-items p {
        font-size: 0.78rem;
    }
    .details-img1 {
        width:170px;
        height: 170px;
        border-radius: 4rem;
    }
    .place-details p {
        font-size:1rem;
    }
    .basket__row .basket__row__details .basket__description .restuarant__items p.des{
        font-size:1rem;
    }
}
@media screen and (max-width:875px){
    .case-items {
        width: 10.5%;
    }
    .case-items p {
        font-size:1rem;
        height:60px;
    }
    .basket__row .basket__row__details .basket__logo {
        width: 200px;
        height: 200px;
        border-radius: 4rem;
    }
    .basket__row .basket__row__details .basket__description .restuarant__items p.des {
        width: 250px;
        padding-right:2rem;
        box-sizing:border-box;
    }
    .basket__row .basket__row__details .basket__description div img {
        height: 20px;
        margin-top: 0.5rem;
    }
    .details-img1 {
        width:140px;
        height: 140px;
        border-radius: 3rem;
    }
    .place-share-other p {
        width: 50px;
        color: #f7931e;
        font-size: 1.1rem;
        padding: 0.5rem 0.5rem 0 1rem;
    }
    .restuarant__like{
        width:20%;
    }
    .place-details p {
        font-size: 0.9rem;
    }
}
@media screen and (max-width:768px){
    .main-items {
        width:95%;
    }
    .items-img-space {
        margin-bottom: 12%;
    }
    .swiper {
        height: 310px;
    }
    .swiper-slide img {
        height: 100%;
        /*object-fit:cover;*/
    }
    .swiper-pagination-bullet {
        width: 10px!important;
        height: 10px!important;
    }
    .main-logo {
        max-width:95%;
    }
    .case-items p {
        font-size:1.1rem;
    }
    .case-items {
        width: 20%;
    }
    .main{
        padding-bottom:10rem;
    }
    .main-place {
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: repeat(2, 1fr);
    }
    .details-img1 {
        width:200px;
        height: 200px;
        border-radius: 4rem;
    }
    .place-details p {
        font-size: 1rem;
    }
    .confirm-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        color: var(--white-color);
        width: 90px;
        height:55px;
        background-color: var(--primary-color);
        border-radius: 7.5rem;
        font-size: 1rem;
        text-align: center;
        position: absolute;
        right: 50px;
        bottom: 10px;
    }
    .confirm-button h2{
        font-size:1.2rem;
    }
    .basket__row .basket__row__details .basket__logo {
        width: 130px;
        height: 130px;
        border-radius: 4rem;
        margin-bottom: 1rem;
    }
}
@media screen and (max-width:631px){
    .case-items {
        width: 18%;
    }
    .swiper{
        height:260px;
    }
}
@media screen and (max-width:576px){
    .swiper {
        height: 230px;
    }
    .case-items p {
        font-size:0.9rem;
    }
    .place-details p {
        font-size: 0.9rem;
    }
    .details-img1 {
        width:150px;
        height: 150px;
        border-radius: 4rem;
    }
}
@media screen and (max-width:500px){
    .main-place {
        grid-template-columns: repeat(1, 1fr);
    }
    .details-img1 {
        width:250px;
        height: 250px;
        border-radius: 4rem;
    }
    .place-details p {
        font-size:1.1rem;
    }
    .place-share {
        width: 60%;
        margin:2rem auto;
        display: flex;
        flex-direction: row;
    }
    .basket__row{
        width:100%;
        height: 300px;
        overflow-x:hidden;
        overflow-y:hidden;
    }
    .place {
        width: 100%;
    }
    .main-items-filter {
        flex-wrap:wrap;
    }
}
@media screen and (max-width:450px) {
    .items-img-space {
        width: 6%;
        margin-bottom: 18%;
    }
    .basket__row {
        margin:1rem auto;
    }
    .case-items {
        width: 26.5%;
        padding:0 10px;
    }
    .case-items p {
        font-size:0.9rem;
        padding:0;
    }
    /*.swiper{*/
    /*    height: 200px;*/
    /*}*/
    .no__rest {
        padding: 3rem;
    }
    .confirm-button h2{
        font-size:1.2rem;
        margin-left: 10%;
        padding-top:1rem;
    }
    .confirm-button p{
        font-size:1rem;
        margin-left: 10%;
    }

    .confirm-button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: var(--white-color);
        width: 450px;
        height: 60px;
        background-color: var(--primary-color);
        border-radius: 0 0 6rem 6rem;
        font-size: 1rem;
        text-align: center;
        position: absolute;
        right: 0;
        bottom: 0;
    }
    .place-share-other {
        width: 250px;
        display: flex;
        flex-direction: row;
         margin-top: unset;
        margin-bottom: 1rem;
    }
}
@media screen and (max-width:400px){
    /*.swiper {*/
    /*    height: 180px;*/
    /*}*/
    .details-img1 {
        width:200px;
        height: 200px;
        border-radius: 4rem;
    }
    .basket__row .basket__row__details .basket__description h3 {
        font-size: 1.1rem;
    }
    .basket__row .basket__row__details .basket__logo {
        width: 100px;
        height: 100px;
        border-radius: 2rem;
        margin-bottom: 0.5rem;
    }
    .confirm-button {
        width: 90px;
        height: 55px;
        border-radius: 7.5rem;
        font-size: 1rem;
        text-align: center;
        position: absolute;
        right: 30px;
        bottom: 40px;
    }
    .confirm-button h2{
        font-size:1rem;
        margin-left: 10%;
    }
    .confirm-button p{
        font-size:0.8rem;
        margin-left: 10%;
    }

    .confirm-button {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        color: var(--white-color);
        width: 400px;
        height: 60px;
        background-color: var(--primary-color);
        border-radius: 0 0 6rem 6rem;
        font-size: 1rem;
        text-align: center;
        position: absolute;
        right: 0;
        bottom: 0;
    }
}
@media screen and (max-width:330px) {
    /*.swiper {*/
    /*    height: 150px;*/
    /*}*/
    .items-img-space {
        margin-bottom: 30%;
    }
    .details-img1 {
        width:150px;
        height: 150px;
        border-radius: 4rem;
    }
    .place-details p {
        font-size: 1rem;
    }
    .basket__row{
        width:90%;
        border-radius:6rem;
        height: 420px;
    }

    .basket__row .basket__row__details {
        flex-direction: column;
        align-items: center;
    }
    .basket__row .basket__row__details .basket__logo {
        width: 150px;
        height: 150px;
        border-radius: 2rem;
        margin-bottom: 0;
        margin-top: 0.5rem;
    }
    .basket__row .basket__row__details .basket__description {
        padding: 1rem 2rem;
    }
    .basket__row .basket__row__details .basket__description {
        align-items: center;
    }
    .place-share-other {
        width: 100%;
        display: flex;
        align-items: center;
        margin: auto;
        justify-content: end;
    }
    .confirm-button {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        color: var(--white-color);
        width: 300px;
        height: 60px;
        background-color: var(--primary-color);
        border-radius: 0 0 6rem 6rem;
        font-size: 1rem;
        text-align: center;
        position: absolute;
        right: 0;
        bottom: 0;
    }
    .basket__row .basket__row__details .basket__description .restuarant__items {
        margin-top: 1rem;
    }
}
@media screen and (max-width:280px) {
    .details-img1 {
        width:100px;
        height: 100px;
        border-radius: 2rem;
    }
    .place-details h1 {
        font-size: 1rem;
    }
    .place-details p {
        font-size: 0.8rem;
    }
}
.fullWidth {
  display: block;
}

.minWidth {
  display: none; 
}
@media (max-width: 500px) {
 .fullWidth {
    display: none; 
  }
 .minWidth {
    display: block!important; 
  }
      .swiper-slide img {
         height: 95%; 
        /*object-fit: contain;*/
    }
    .swiper {
        height: 382px;
    }
}
@media (max-width: 450px) {
    .swiper {
        height: 338px;
    }
}
@media (max-width: 400px) {
    .swiper-slide img {
        height: 96%;
    }
     .swiper {
        height: 325px;
    }
}
@media (max-width: 380px) {
    .swiper-slide img {
        height: 94%;
    }
     .swiper {
        height: 306px;
    }
}
@media (max-width: 350px) {
    .swiper-slide img {
        height:96%;
    }
     .swiper {
        height: 274px;
    }
}
