@media (max-width: 1399.98px) {
    .header-location-text p {
        max-width: 250px;
    }

    .header .input-group .form-control {
        min-width: 300px;
    }

    .cate-card h5 {
        padding: 6px;
        font-size: 16px;
    }

    .cate-card-image {
        height: 110px;
    }

    .sales-top-headings h4 {
        font-size: 34px;
    }

    .sales-top-headings h2 {
        font-size: 70px;
    }

    .sales-top-headings p,
    .category-card-offer p {
        font-size: 26px;
    }

    .category-card.sm-card .category-card-offer p {
        font-size: 18px;
    }

    .category-card.sm-card .category-card-img {
        border-radius: 20px;
    }

    .category-card-img {
        border-radius: 30px;
    }

    #carousel-custom-dots .cstm-dot {
        border-radius: 10px;
    }

    .prdt-images-scroll {
        max-height: 400px;
    }

    .product-title {
        margin-bottom: 20px;
        font-size: 22px;
    }

    .prdct-card-price {
        margin-bottom: 20px;
    }

    .prdct-card-price .prdt-offer-price {
        font-size: 22px;
    }

    .prdct-card-price .prdt-mrp-rate {
        font-size: 18px;
    }

    .product-add-cart-sec input.minus-ico,
    .product-add-cart-sec input.plus-ico {
        font-size: 18px;
        height: 22px;
        line-height: 22px;
    }

    .product-add-cart-sec input.count-input {
        padding: 10px 24px;
    }

    .add-cart-button {
        padding: 12px 32px;
        border-radius: 10px;
    }

    .rd-more .prodct-descriprion-content p {
        font-size: 18px;
    }
}

@media (max-width: 1199.98px) {
    .header .navbar-brand {
        max-width: 140px;
    }

    .header-location-text p {
        max-width: 180px;
    }

    .header .input-group .form-control {
        min-width: auto;
    }

    .header .input-group .input-group-text {
        height: 42px;
        padding: 12px;
    }

    .header-right .btn,
    .header-right .btn p {
        font-size: 16px;
    }

    .header-right .btn {
        height: auto;
        padding: 8px 14px;
        min-width: 100px;
    }

    .cate-card-image {
        height: 140px;
    }

    .heading {
        font-size: 22px;
    }

    .cate-card h5 {
        padding: 12px;
        font-size: var(--fontsub);
    }

    .category-card-offer p {
        font-size: 18px;
    }

    .category-name h3 {
        font-size: 22px;
    }

    .category-card.sm-card .category-card-img {
        border-radius: 30px;
    }

    .footer-logo {
        max-width: 140px;
    }

    .copyright-text p,
    .seller-reviews,
    .shop-cname,
    .seller-info-tag p {
        font-size: 16px;
    }

    .shop-details-top {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .prdt-images-scroll {
        max-height: 336px;
    }

    .seller-info-tag {
        padding: 10px 20px;
        border-radius: 0 0 10px 10px;
    }

    .seller-profile {
        width: 80px;
    }

    .prdct-dec-heading {
        font-size: 22px;
    }

    .prodct-descriprion-content h6,
    .prodct-descriprion-content h5,
    .prodct-descriprion-content h4,
    .prodct-descriprion-content h3,
    .prodct-descriprion-content h2,
    .prodct-descriprion-content h1,
    .prodct-descriprion-content p,
    .rd-more {
        font-size: 16px;
    }

    .prdct-offer-title p {
        font-size: 18px;
    }

    .item.prdt-img,
    .product-details-right {
        border-radius: 10px;
    }

    .product-add-cart-sec {
        margin-bottom: 20px;
    }

    .user-dashboard-left {
        min-width: 260px;
    }

    .header-top-fixed span {
        height: 72px;
    }
}

@media (max-width: 991.98px) {
    .header-location-text p {
        max-width: 100%;
        text-wrap: wrap;

    }

    .cate-card h5 {
        padding: 6px;
        font-size: 14px;
    }

    .cate-card-image {
        height: fit-content;
    }

    .cate-card {
        border-radius: 16px;
    }

    .heading {
        font-size: 18px;
    }

    .prdt-name {
        font-size: 14px;
        min-height: 34px;
    }

    .spcl-product-slider {
        min-width: auto;
        max-width: 100%;
        overflow: hidden;
        margin: 0 auto;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-follow-link a,
    .seller-details {
        gap: 8px;
    }

    .prdt-images-scroll {
        max-height: 516px;
    }

    .seller-profile {
        width: 60px;
    }

    .seller-name,
    .my-order-card-top .my-order-details-link {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .seller-join-date {
        font-size: 14px;
    }

    .my-order-card-bottom {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        flex-direction: column;
    }

    .btn-primary.donation-btn {
        padding: 8px 20px;
    }
}

@media (max-width: 767.98px) {
    .footer-section-col.follow-card-footer {
        border: 1px solid;
        border-width: 0;
        border-color: var(--gray);
        padding-left: 0px;
    }

    .sales-top-headings p {
        font-size: 16px;
    }

    .sales-top-headings h4 {
        font-size: 20px;
    }

    .sales-top-headings h2 {
        font-size: 40px;
    }

    .sales-top-headings p::before,
    .sales-top-headings p::after {
        height: 2px;
        width: 60px;
    }

    .prdt-name {
        min-height: 50px;
        margin-bottom: 10px;
        -webkit-line-clamp: 3;
    }

    .prdt-exp {
        margin-bottom: 10px;
    }

    .category-card.sm-card .category-card-offer p {
        font-size: 16px;
    }

    .category-card.sm-card .category-name h3 {
        font-size: 18px;
    }

    .category-card.sm-card .category-card-img {
        border-radius: 20px;
    }

    .footer-category-card a,
    .footer-links .footer-link a,
    .footer-follow-link a p {
        font-size: 14px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-section-col {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .footer-app-links {
        flex-direction: row;
    }

    .cate-main-card {
        border-radius: 16px;
    }

    .listing-filter {
        position: fixed;
        z-index: 998;
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 12px;
        border-radius: 20px 20px 0 0;
        box-shadow: 0px -3px 6px 0 rgb(0 0 0 / 30%);
    }

    .filter-listing {
        height: 210px;
        max-height: calc(100vh - 150px);
        overflow-x: hidden;
        overflow-y: auto;
    }

    .listing-filter-align {
        max-width: 540px;
        margin: 0 auto;
    }

    .listing-filter {
        display: none;
    }

    .listing-filter.active {
        display: block;
        animation: Slideup 0.6s ease-in-out;
    }

    @keyframes Slideup {
        0% {
            transform: translateY(100%);
        }

        100% {
            transform: translateY(0);
        }
    }

    .prdt-images-scroll {
        max-height: 380px;
    }

    .product-title,
    .prdct-card-price {
        margin-bottom: 14px;
        font-size: 20px;
    }

    .prdct-card-price .prdt-mrp-rate {
        font-size: 16px;
    }

    .add-cart-button {
        padding: 11px 34px;
    }












    .user-dashboard-left {
        overflow-y: unset;
        width: 100%;
        min-width: auto;
        max-width: 280px;
        height: 100%;
        border-left: 1px solid #cfcfe1;
        border-right: 1px solid #cfcfe1;
        position: fixed;
        z-index: 1040;
        top: 0;
        left: 0;
        background: var(--white);
        transform: translateX(-100%);
    }


    .user-dashboard-left-card {
        position: relative;
        background-color: var(--white);
        z-index: 9;
    }


    .user-dashboard-left-list {
        padding: 0 0 20px;
        list-style: none;
        overflow-x: hidden;
        overflow-y: auto;
        height: calc(100vh - 64px);
        max-height: 100%;
        margin: 0;
    }

    .user-dashboard-left-list {
        padding: 0 0 20px;
        list-style: none;
        overflow-x: hidden;
        overflow-y: auto;
        height: calc(100vh - 64px);
        max-height: 100%;
        margin: 0;
    }

    .user-dashboard-left::before {
        content: "";
        background: rgb(0 0 0 / 60%);
        width: 100vw;
        height: 100vh;
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        transition: 0s;
    }

    .left-menu-close-btn {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(100%, -50%);
        border: 1px solid var(--gray);
        background: var(--white);
        z-index: 9;
        padding: 24px 3px;
        border-radius: 0 14px 14px 0;
        color: var(--text);
        transition: 0.4s;
        box-shadow: 3px 0px 6px 0 rgb(67 64 141 / 28%);
    }

    .left-menu-close-btn i {
        transform: rotate(0deg);
        transition: 0.4s;
    }

    .left-menu-close-btn.active i {
        transform: rotate(180deg);
    }

    .user-dashboard-left.active {
        transform: translateX(0);
    }

    .user-dashboard-left.active::before {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .header-search {
        width: 100%;
    }

    .header-top-fixed span {
        height: 94px;
    }

    .header .navbar {
        padding: 8px 0;
    }

    .header .input-group .input-group-text {
        height: 36px;
    }

    .header .input-group .form-control {
        font-size: 14px;
    }

    .offers-banner {
        margin: 16px 0;
    }

    .new-modal-designed .modal-content,
    .offer-banner {
        border-radius: 10px;
    }

    .new-modal-designed .modal-header .modal-header-heading img {
        max-width: 120px;
    }

    #loginModal .modal-content .modal-body,
    #loginOtpModal .modal-content .modal-body {
        padding: 16px;
    }

    .login-modal-header h2 {
        font-size: 20px;
    }

    .login-modal-header p {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .cart-offcanvas {
        min-width: auto;
    }

    .cart-offcanvas .cstm-cart-slide {
        padding: 20px 12px;
        max-height: calc(100vh - 162px);
    }

    .cstm-cart-slide .cart-items,
    .cart-apply-coupon {
        padding: 0;
    }

    .cstm-cart-slide .cart-items .cart-item {
        flex-direction: column;
    }

    .cart-bill-details {
        margin: 0;
    }

    .category-slider .owl-nav,
    .grocery-slider .owl-nav {
        left: -11px;
        right: -11px;
    }

    .category-slider .owl-nav .owl-prev,
    .category-slider .owl-nav .owl-next,
    .grocery-slider .owl-nav .owl-prev,
    .grocery-slider .owl-nav .owl-next {
        width: 20px;
        height: 20px;
        font-size: 10px !important;
    }

    .cate-main-card {
        padding: 20px 10px;
    }

    .cate-main-card .row .col-xl-2:nth-child(even) {
        padding-left: 4px;
    }

    .cate-main-card .row .col-xl-2:nth-child(odd) {
        padding-right: 4px;
    }

    .cate-main-card .row .col-xl-2 {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .footer-logo {
        max-width: 120px;
    }

    .footer-section-col.follow-card-footer {
        border: 1px solid;
        border-width: 0;
        border-color: var(--gray);
        padding-left: 0px;
    }

    .offer-card-image .offer-name,
    .offer-category-name h5 {
        font-size: 12px;
    }

    .sales-top-headings h2 {
        font-size: 30px;
    }

    .sales-top-headings h4,
    .category-name h3 {
        font-size: 18px;
    }

    .sales-top-headings p,
    .seller-info-tag p {
        font-size: 12px;
    }

    .category-card-offer p {
        font-size: 14px;
    }

    .cate-card-top {
        margin-bottom: 30px;
    }

    .category-card-img {
        border-radius: 20px;
    }

    .footer-app-links {
        flex-direction: column;
    }

    .fcr-align {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .copyright-text p {
        font-size: 14px;
    }

    .cart-checkout-btn,
    .cart-offcanvas .offcanvas-header {
        padding: 18px 12px;
    }

    .listing-filter {
        border-radius: 10px 10px 0 0;
    }

    .prdt-images-scroll {
        max-height: 100%;
        overflow-y: hidden;
        overflow-x: auto;
    }

    #carousel-custom-dots {
        flex-direction: row;
    }

    #carousel-custom-dots .cstm-dot {
        border-radius: 8px;
        min-width: 25%;
    }

    .product-add-cart-sec {
        align-items: flex-start;
        position: fixed;
        bottom: 0;
        background: var(--white);
        margin-bottom: 0;
        padding: 12px;
        left: 0;
        width: 100%;
        box-shadow: 0 0 6px 0 #000;
        z-index: 99;
    }

    .product-add-cart-sec input.count-input {
        padding: 6px 16px;
    }

    .product-card-btms {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-card-btms .prdct-btm-card.expiry-details,
    .product-card-btms .prdct-btm-card.stock-details {
        width: 100%;
        max-width: 320px;
    }

    .add-cart-button {
        width: 100%;
    }

    .add-cart-button {
        padding: 11px 26px;
    }

    .product-details-right,
    .seller-info-tag {
        padding: 12px;
    }

    .seler-details-card {
        border-radius: 10px;
        padding: 0 12px 12px;
    }

    .seller-profile {
        width: 50px;
    }

    .seller-name {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .seller-reviews,
    .shop-cname,
    .prdct-card-price .prdt-mrp-rate,
    .prdct-offer-title p span {
        font-size: 14px;
    }

    .prdct-card-price .prdt-offer-price,
    .product-title {
        font-size: 18px;
    }

    .prdct-offer-title p {
        font-size: 16px;
    }

    .prdct-offer-title p {
        line-height: 20px;
    }

    .new-modal-designed .new-model-body-content {
        padding: 0;
    }

    .custm-container-mob-padding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .my-order-list-nav {
        padding: 0 12px;
    }

    .updated-seller-rating-card {
        padding: 0 12px 14px 12px;
    }

    .updated-seller-rating-card .rate-to-seller-btn,
    .updated-seller-rating-card .member-since {
        font-size: 12px;
    }

    .updated-seller-rating-card .seller-name {
        font-size: 14px;
    }

    .my-address-card-align,
    .donation-item-card-top {
        gap: 10px;
        flex-direction: column;
    }

    .primery-address-badge {
        font-size: 12px;
        padding: 2px 14px;
        margin-bottom: 8px;
    }

    .udrc-headint-top {
        padding: 14px 12px;
    }

    .donation-card-padding {
        padding: 0 12px;
    }

    .r-contact-form-section {
        padding: 26px 12px;
    }
}