@media only screen and (max-width: 1399px) {
    .custom-container {
        width: 100%;
        margin: 5rem auto;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
}

@media only screen and (max-width: 1260px) {
    .table-rrto {
        overflow-x: scroll;
    }
}

@media only screen and (max-width: 1299px) {
    .header-desktop .dropdown-menu {
        left: -80px !important;
    }

    .owl-prev,
    .owl-next {
        position: static !important;

    }

    .row.footer-theme {
        flex-direction: column;
        gap: 10px;
        margin-top: 0.5rem;
    }

    .row.footer-theme .col-lg-6 {
        min-width: 100%;
        max-width: 100%;

    }

    .row.footer-theme .col-lg-6 a {
        min-width: 100%;
        max-width: 100%;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }

    .top-second .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* a.a-call{
        display: none!important;
    } */
    #navbarScroll.justify-content-end {
        justify-content: center !important;
    }

    #navbarScroll .icon-cart {
        margin-left: 20px !important;
    }
}

@media only screen and (max-width: 991px) {

    #sync1 {
        /* margin-top: 20px; */
    }

    .product-slider-22 img {
        width: 100%;
        height: 300px;
        max-height: 500px;
        object-fit: cover;
        border-radius: 15px;
        cursor: pointer;
    }

    .message-area {
        padding: 0px;
        padding-bottom: 20px;
    }

    .chat-area {
        overflow: hidden;
    }

    .chatlist {
        position: absolute;
        z-index: 2;
        left: -100%;
        transition: 300ms;
    }

    .chat-list-opens {
        left: 0%;
        transition: 300ms;
    }

    .chat-list-open {
        display: block;
        cursor: pointer;
    }

    .moreoption {
        gap: 15px;
    }

    .chatbox {

        width: 100%;
    }

    .theme-bg-secondary {
        display: none;
    }

    .shop-product-wrapper {
        /* margin-top: 6rem; */
    }

    /* .rto-page-wrapper.rto-page-padding.ptb-100 {
        margin-top: 10rem;
    } */
    .filter-slider {
        transform: translate(100%, 0px);
    }

    #filter-sidebar {
        position: fixed;
        background: #fff;
        right: 0;
        top: 0;
        z-index: 99;
        height: 100%;
        transition: 300ms;
        margin-top: 0rem;
        overflow-x: scroll;
    }

    .filter-closer,
    .filter-open {
        display: block !important;
        cursor: pointer;
    }

    .filter-closer {
        font-size: 25px;
        transform: translate(-10px, -10px);
    }

    .filter-open {
        width: 42px;
        background-color: #eb282e;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        border-radius: 10px;
        color: #fff;
        font-size: 22px;
        text-align: center;
        line-height: 42px;
    }

    .custom-container {
        width: 100%;
        margin: 5rem auto;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .box-log-reg {
        border-top-right-radius: 15px !important;
        border-bottom-right-radius: 15px !important;
    }

    .login-img {
        display: none;
    }

    .login-img.contact-box {
        display: block !important;
        border-top-left-radius: 15px !important;
        border-bottom-left-radius: 15px !important;
        margin-top: 20px !important;
        margin-left: 0px !important;
    }

    .buy-sell-content {
        margin-top: 2rem;

    }

}

@media only screen and (max-width: 767px) {
    .msg-head p {
        font-size: 12px;
    }

    .msg-head h3 {
        font-size: 15px;
    }

    .send-box button {
        width: 45%;
    }

    .modal.fade .modal-dialog {
        transition: transform .3s ease-out;
        transform: translate(0, 50px);
    }

    .modal-dialog {
        position: fixed !important;
        bottom: 0 !important;
        left: 0% !important;
        right: 0% !important;
        margin-bottom: 0 !important;

    }

    .modal.show .modal-dialog {
        transform: none;
    }

    .bg-trans {
        background-color: transparent;
        border: none;
    }

    .box-number {
        background-color: #fff;
        border-radius: 15px;
        padding: 1.2rem;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .box-number button,
    .box-number a {
        width: 100%;
        background-color: #eb282e;
        border-radius: 50px;
        height: 45px;
        color: #fff;
        border: none;
        margin-top: 22px;
    }

    .box-number h3 {
        color: #132739;
        margin: 0px;
        font-size: 18px;
    }

    .pd--0 {
        padding: 0px;
    }

    .mob-wrap {
        position: relative;
    }

    .mob-wrap span {
        position: absolute;
        background: #13273954;
        width: 45px;
        height: 44px;
        border-top-left-radius: 24px;
        border-bottom-left-radius: 24px;
        text-align: center;
        line-height: 45px;
    }

    .mob-wrap input {
        /* padding-left: 60px; */
    }

    #user-sidebar {
        width: 100%;
        min-width: 100%;
        margin-bottom: 25px;
    }


    .modal-dialog {
        margin: 0px;
        max-width: 100% !important;
    }

    #body-base {
        gap: 10px;
        margin-bottom: 0rem !important;
    }

    #body-base li:nth-child(2) button,
    #body-base li button {
        /* border-radius: 50px!important; */
    }

    .custom-container.for-contact-page {
        margin-top: 0rem;
    }

    .breadcrumb-area {
        margin-top: 4rem;
    }

    /* .search-navbar{
        margin: 0px;
        width: 100%!important;
    } */
    .gri-list-box .shop-selector {
        width: min-content;
    }

    .h-min-h {
        white-space: unset;
    }

    .list-view-box .product-content-list {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .list-view-box .product-img {
        margin-right: 0px;
        border-right: none;
    }

    .list-view-box .product-wrapper {
        flex-direction: column;
    }

    .related-product-box .product-fruit-img img {
        object-fit: contain;
    }

    .shop-sidebar {
        min-height: unset;
        padding: 1rem;
        margin-top: 6rem;
        margin-bottom: 1rem;
    }

    .product-details {
        margin-top: 1.5rem !important;
    }

    .product-details-small {
        margin-top: 0rem !important;
    }

    .login-form-container .mb-3 .text-danger {
        position: static;
    }

    .custom-container {
        margin-top: 10rem;

    }

    .car-categories .box-point {
        margin-bottom: 1.5rem;
    }

    .banner-content {
        background: linear-gradient(3deg, rgb(19 39 57 / 85%) 25%, rgb(19 39 57 / 71%) 100%);
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1.5rem;
    }

    .banner-wrap {
        margin-top: 112px;
    }

    .banner-wrap img {
        min-height: 435px;
        object-fit: cover;
    }

    .banner-content .container {
        text-align: center;
    }

    .banner-content .desc-ription {
        width: 100%;
    }

    .container {
        min-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* .header-mobile{
        display: block;
        position: fixed;
        top:0;
        left:0;
        width: 100%;
        z-index: 9;
    } */

    /* .header-desktop{
        display: none;
        opacity: 0;
    } */
    .mobile-bottm {
        display: flex;
        box-shadow: 0px 6px 12px 7px #dadada;
    }

    .ft-benefits {
        flex-wrap: wrap;
    }


    .section-pd {
        padding: 3rem 1rem;
    }

    .training-pages.product-details {
        margin-top: 2rem !important;
    }

    .car-box-all {
        display: flex;
        align-items: center;
        padding: 0.5rem;
        border-radius: 12px;
        gap: 15px;
        border: 1px solid #dde1de;
        flex-direction: column;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    }

    .detail-box-car {
        padding-left: 15px;
        width: 100%;
        border-left: none;
        border-top: 1px solid #dde1de;
        padding-top: 0.8rem;
    }

    .product-details-cati-tag h4 {
        text-align: center;
    }

    .product-details-content .btn-theme-1 {
        margin: 0 auto;
        display: block;
        width: 50%;
    }

    .plan-1,
    .plan-2,
    .plan-3 {
        background-position: center 27rem;

    }

    .plan-wrap {
        padding: 2rem 0rem;
        padding-bottom: 0rem;
    }

    .plan-wrap .main {
        gap: 0px;
    }

}

@media only screen and (max-width: 639px) {
    .address-table table {
        width: 1200px;
    }
}

@media only screen and (max-width: 540px) {
    .attach {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .promo-line a {
        font-size: 14px;
    }

    .promo-line span {
        display: block;
        font-size: 14px;
        margin-bottom: 0.8rem;
    }

    .promo-line {
        margin-top: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid #4e4e4e;
        flex-direction: column;
        padding-bottom: 3rem;
    }

    .footer-theme .btn-theme-1 {
        margin: 0.5rem 0rem;
    }

    .footer ul {
        justify-content: center;
    }

    .buy-mtt {
        margin-top: 1.2rem;
    }

    .socaial-links {
        margin-bottom: 1.2rem;
    }

    .footer {
        text-align: center;
    }

    .insight-box {
        margin-bottom: 1.2rem;
    }

    .main-brands a.mt-4 {
        margin-top: 0rem !important;
    }

    .main-brands a {
        margin-bottom: 1.2rem !important;
    }

    .card-data .save-fav {
        top: 12px;
    }

    .buy-sell-wrap .img-box,
    .buy-sell-wrap .img-box img {
        min-width: 100%;
        max-width: 100%;
    }

    .sell-child-wrap .mt-3 {
        text-align: center;
    }

    .car_brands .anc-brand {
        width: 100%;
    }

    .search-navbar input {
        min-width: 100%;
        max-width: 175px;
    }

    .sell-child-wrap h3,
    .sell-child-wrap p {
        text-align: center;
    }

    .img-half-car {
        display: none;
    }
}

@media only screen and (max-width: 575px) {
    .sell-child-wrap-flex {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 575px) {
    .mt-m-15 {
        margin-top: 15px;
    }

    .mt-m-20 {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 991px) {
    .shopnew {
        display: grid;
        grid-template-columns: auto auto auto;
        gap: 25px;
    }
}

@media only screen and (max-width: 768px) {
    .shopnew {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0px;
    }
}

@media only screen and (max-width: 480px) {
    .shopnew {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

@media only screen and (max-width: 926px) {
    .header-mobile.scrolled {
        /* background-color: black !important; */
        background-color: var(--headerscroll) !important;
    }

    .header-mobile .theme-bg {
        padding: 0.7rem 1rem;
    }

    .theme-bg {
        padding: 0.4rem 2rem;
    }

    .search-navbar {
        margin: 0px;
        width: 100% !important;
    }

    .header-desktop {
        display: none;
        opacity: 0;
    }

    .header-mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9;
    }
}