@media only screen and (max-width: 1280px) {
    .widget-recent-post ul li .media .media-body {
        margin-left: 12px;
    }

    .sidebar-area {
        padding: 40px 30px 0;
    }

    .widget_archive ul li:before {
        font-size: 15px;
        margin-top: -14px;
    }

    .widget_archive ul li {
        padding-left: 28px;
    }
}

@media only screen and (max-width: 1550px) {
    .widget-recent-post ul li .media .media-body .title {
        margin-bottom: 0px;
        font-size: 16px;
    }

    .widget-recent-post ul li .media {
        margin-bottom: 20px;
    }

    .widget-recent-post ul li .media img {
        width: 130px;
    }

    .widget-title {
        font-size: 24px;
    }

    .sidebar-area {
        padding: 45px 35px 0;
    }

    .widget_categories ul li {
        padding-left: 28px;
        margin-bottom: 10px;
    }

    .widget_categories ul li:before {
        margin-top: -5px;
        width: 10px;
        height: 10px;
    }

    .widget_categories ul li a {
        font-size: 14px;
    }
}

@media (max-width: 1680px) {
    .widget-recent-post ul li .media img {
        width: 140px;
        height: auto;
    }

    .widget-recent-post ul li .media .media-body .title {
        margin-bottom: 10px;
    }

    .widget-recent-post ul li .media .media-body .post-date {
        font-size: 14px;
    }

    .sidebar-area {
        padding: 40px 20px 0;
    }

    .mobile {
        display: none !important;
    }

    .desktop {
        display: block !important;
    }
}

@media (max-width: 1200px) {
    .categories-list {
        grid-template-columns: repeat(8, 1fr) !important;
    }

    .widget-recent-post ul li .media .media-body .title {
        line-height: 1.2;
    }

    .widget-recent-post ul li .media .media-body {
        margin-left: 12px;
    }
}

@media (max-width: 992px) {
    .categories-list {
        grid-template-columns: repeat(6, 1fr) !important;
    }

    .customRowDirection {
        flex-direction: column-reverse;
    }

    .sidebar-area {
        margin-top: 120px;
        padding: 40px 30px 0;
    }

    .widget-title:after {
        bottom: 2px;
    }

    .bcss {
        width: 170px !important;
        height: 170px !important;
        /* top: -25px; */
        left: 5%;
    }
    .stores-grid {
        gap: 20px !important;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .categories-list {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }

    .title {
        font-size: 25px !important;
        margin-bottom: 10px !important;
    }

    .advanced-nav ul {
        flex-direction: column;
    }

    .advanced-nav li {
        width: 100%;
        text-align: center;
    }

    .customRowDirection {
        flex-direction: column-reverse;
    }

    .sidebar-area .widget {
        margin-bottom: 50px;
    }

    .widget-title:after {
        bottom: -1px;
    }

    .list-left {
        border-radius: 10px 10px 0px 0px !important;
        border: 0 !important;
        border-bottom: 1px dashed #eaeaea !important;
        padding: 60px !important;
    }

    .list-center {
        padding: 20px 35px !important;
    }

    .list-right {
        margin-bottom: 10px !important;
    }

    .bcss {
        width: 170px !important;
        height: 170px !important;
        /* top: -17px; */
        left: 5%;
    }

    .header-heading {
        font-size: 24px;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 576px) {
    .card-horizontal {
        flex-direction: column;
        align-items: center;
    }

    .card-horizontal .card-img-top {
        width: 50%;
        object-fit: cover;
        height: auto;
        border-radius: 12px 0 0 12px;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .card .card-text {
        font-size: 14px;
        margin: 0;
    }

    .card-horizontal .card-body {
        width: 60%;
    }

    .categories-list {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .footer-col {
        width: 100%;
    }

    .section {
        padding: 20px 0 !important;
    }

    .wrapper {
        padding: 30px 0 !important;
    }

    .desktop {
        display: none !important;
    }

    .mobile {
        display: block !important;
    }

    .bcss {
        width: 110px !important;
        height: 110px !important;
        /* top: -17px; */
        left: 5%;
    }
}

@media (max-width: 400px) {
    .category-image img {
        max-width: 35px !important;
    }

    .bcss {
        width: 90px !important;
        height: 90px !important;
        /* top: 31%; */
        left: 5%;
    }

    .lead {
        /* display: none !important; */
        font-size: 0.95rem;
    }

    .container.py-4.mt-5 {
        padding-top: 0 !important;
        margin-bottom: 0px;
    }

    .filter-btn {
        font-size: 14px !important;
        padding: 8px 10px !important;
    }
    .deal-header{
        height: 100% !important;
        width: 100% !important;
    }
}
