@media only screen and (max-width: 7000px) {
    .page-wrapper {
        overflow: hidden;
    }

}

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

    .main-menu .navigation>li:nth-last-child(-n+3)>ul>li>ul {
        left: auto;
        right: 100%;
    }

    .main-menu .navigation>li:nth-last-child(-n+2)>ul {
        left: auto;
        right: 0;
    }

    .main-menu .navigation>li:nth-last-child(-n+2)>ul>li>ul {
        left: auto;
        right: 100%;
    }
}

@media only screen and (max-width: 1199px) {
    .main-menu .navigation>li {
        padding: 15px 30px;
    }

    .banner-section .banner-slider-nav {
        display: none;
    }
}

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

    .main-header .nav-outer .main-menu,
    .sticky-header {
        display: none !important;
    }

    .nav-outer .mobile-nav-toggler {
        display: block;
    }

    .main-header .nav-outer {
        justify-content: space-between;
        padding-right: 30px;
    }

    .header-style-two .logo-box .logo img,
    .header-style-three .logo-box .logo img,
    .header-style-four .logo-box .logo img {
        width: 70%;
    }
}

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

    .banner-section.dark-style .content-box h1,
    .banner-section .content-box h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .cta-section .outer-box {
        margin-left: 0;
    }

    .features-section-three .auto-container {
        padding: 0 15px;
    }

    .testimonial-section {
        padding-top: 0;
    }

    .banner-section.style-two .content-box {
        padding: 140px 0;
    }

    .feature-block-three .image {
        width: 100%;
    }

    .banner-section.style-two.sp-two .content-box {
        padding: 80px 0 80px;
    }
}

@media only screen and (min-width: 768px) {

    .main-menu .navigation>li>ul,
    .main-menu .navigation>li>ul>li>ul {
        display: block !important;
        visibility: hidden;
        opacity: 0;
    }
}

@media only screen and (max-width: 767px) {
    .main-header .header-upper .inner-container {
        justify-content: center;
    }

    .header-upper .contact-info {
        display: none;
    }

    br {
        display: none;
    }

    .header-top .contact-info {
        justify-content: center;
    }

    .header-top .inner-container {
        justify-content: center;
        flex-direction: column !important;
        text-align: center;
        padding: 10px 0 !important;
    }

    .header-top .inner-container ul {
        margin: 0 auto 5px !important;
        width: 100% !important;
        display: block !important;
    }

    .header-top .inner-container ul:last-child {
        margin-bottom: 0 !important;
    }

    .header-top .inner-container ul li {
        display: inline-block !important;
    }

    /* Page Title Global Fix for Mobile */
    .page-title {
        /* margin-top: 90px !important;  */
        padding: 120px 0 80px !important;
    }

    .page-title h2 {
        font-size: 30px !important;
        line-height: 40px !important;
    }

    /* Section Padding Standardized for Mobile */
    .products-section,
    .about-us-section-two,
    .contact-section,
    .cta-section,
    .gallery-section {
        padding: 60px 0 !important;
    }

    /* Fix inline negative margins from index.php */
    .products-section {
        margin-bottom: 0 !important;
    }

    .gallery-section .sec-title h2 {
        margin-top: 0 !important;
    }

    /* Heading Sizes */
    .sec-title h2 {
        font-size: 26px !important;
        line-height: 34px !important;
    }

    /* Product Grid Fixes */
    .shop-item {
        justify-content: center;
    }

    /* Product Details Fixes */
    .product-info {
        padding-left: 0 !important;
        margin-top: 20px;
        text-align: center;
    }

    .product-info h3 {
        font-size: 24px !important;
    }

    /* Footer Bottom Padding for Floating Bar */
    .footer-bottom {
        padding-bottom: 80px !important;
    }

    /* Banner Visibility Toggling */
    .desktop-banner {
        display: none !important;
    }

    .mobile-banner {
        display: block !important;
    }

    /* Mobile Banner Specific Styles */
    .mobile-banner .swiper-slide {
        height: 480px !important;
        margin-top: 90px !important;
        background-position: center center !important;
        background-size: cover !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .mobile-banner.banner-section.style-two .content-box {
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .mobile-banner .content-box .inner,
    .mobile-banner .content-box h1 {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        color: #000 !important;
        /* Ensure black text */
    }

    .mobile-banner .content-box h1 {
        font-size: 32px !important;
        line-height: 42px !important;
        margin-bottom: 15px;
    }

    .mobile-banner .banner-slider-nav {
        display: none !important;
    }

    /* Page Title Mobile Styles */
    .page-title h2 {
        color: #ffffff !important;
    }

    /* About Us Section Alignment */
    .about-us-section-two {
        text-align: center;
    }

    .about-us-section-two .sec-title {
        padding-left: 0 !important;
    }

    .about-us-section-two .sec-title h2 {
        text-align: center !important;
    }

    .about-us-section-two .text p {
        text-align: center !important;
    }

    .about-us-section-two .image img {
        margin: 0 auto;
        display: block;
    }

    /* Scroll to Top Adjustment */
    .scroll-to-top {
        bottom: 120px !important;
        right: 15px !important;
    }

    /* Mobile Menu Contrast */
    .mobile-menu .menu-backdrop {
        /* background: rgba(0, 0, 0, 0.9) !important; */
    }

    .mobile-menu .menu-box {
        /* background: #ffffff !important; */
    }

    /* Footer Widget Spacing */
    .main-footer .column {
        margin-bottom: 40px !important;
    }

    .main-footer .column:last-child {
        margin-bottom: 0 !important;
    }

    .footer-bottom {
        padding: 40px 0 100px !important;
        /* Bottom padding for floating buttons */
    }
}

/* Specific Range: 320px to 500px */
@media only screen and (min-width: 320px) and (max-width: 500px) {
    .mobile-banner .swiper-slide {
        height: 480px !important;
    }

    .mobile-banner .content-box h1 {
        font-size: 26px !important;
        line-height: 34px !important;
    }

    /* Grid adjustments for very small screens */
    .shop-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Cart adjustments */
    .checkout-bar-mobile {
        bottom: 0 !important;
        /* margin-bottom: 0 !important; */
    }
}

/* Specific Range: 501px to 760px */
@media only screen and (min-width: 501px) and (max-width: 760px) {
    .mobile-banner .swiper-slide {
        height: 580px !important;
    }

    /* Ensure 2 items per row if space permits */
    .shop-item.col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 10px !important;
    }

    .shop-item .inner-box {
        padding: 10px !important;
    }

    .shop-item .image img {
        height: 200px !important;
    }
}

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

    .sec-title h2,
    .banner-section.dark-style .content-box h1,
    .banner-section .content-box h1 {
        font-size: 36px !important;
        line-height: 45px !important;
    }

    .about-us-section-two .content {
        position: relative;
        max-width: 100%;
        bottom: 0;
    }
}


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