
/* 1025px and above — expanded (desktop view) */
@media (min-width: 1200px){
   
  .search-toggler{
      display:none !important;
  }
  .latest-products-grid swiper-container::part(button-prev), 
  .latest-products-grid swiper-container::part(button-next){
          top: 348px;
  }
  
   
}
@media (min-width: 1300px){
    .latest-products-grid swiper-container::part(button-prev), 
    .latest-products-grid swiper-container::part(button-next){
        top: 349px !important;
    }
    .latest-products-grid swiper-container::part(button-prev){
        left: 220px;
    }
    swiper-slide > a:last-child .latest-products-item{
            margin-bottom: 4.6rem !important;
    }
    
}
@media (min-width: 1500px){
    .latest-products-grid swiper-container::part(button-prev){
        left: 290px !important;
    }
}
@media (min-width: 1650px){
    .latest-products-grid swiper-container::part(button-prev){
        left: 323px !important;
    }
    .reel-section .reel-item .reel-wrapper .reel-thumbnail{
            height: 445px;
    }
    
} 

@media (min-width: 1850px){
    .latest-products-grid swiper-container::part(button-prev){
        left: 370px;
    }
}

/* Below 1025px — keep it collapsed (mobile view) */
@media (max-width: 1025px) {
   
  .search-toggler{
      display:block !important;
  }
}

@media (max-width:1299px) and (min-width: 1200px) {
   
  
  .latest-products-grid swiper-container::part(button-prev){
      left:195px;
  }
   
}
 
@media (min-width: 576px) {
    
    #exampleModal .modal-dialog {
        max-width: 330px !important;
        margin: 1.75rem auto;
    }
     .nav.tab-design .nav-link{
        font-size: 16x !important;
    }
}
@media (max-width: 576px) {
    .category-section .mb-tabs{
        margin-bottom:32px;
    }
    .product-items .item{
        margin-bottom:12px;
    }
    .nav-item2.open .products-dropdown{
        padding: 16px;
    }
    .testimonial-section swiper-container::part(button-prev), 
    .testimonial-section swiper-container::part(button-next){
        top:390px;
        
    }
    .search-wrapper2 i {
        left: 7.5% !important;
    }
    .mt-16-20{
         margin-top:20px;
     }
    
}
/* MOBILE MENU ONLY */
@media (max-width: 991px) {
    
    .custom-tabs .nav-link{
        padding:10px 15px !important;
    }
    .search-wrapper2 i{
            left: 4.5%;
    }
    .explore-width {
        width: 100%;
    }
    .overflow-y-scroll{
        height: 310px;
    }
    .main-footer .item{
        border: 1px solid var(--gray-500);
        border-radius: 12px;
        padding: 14px 12px;
        margin-bottom: 16px;
    }
    .main-footer .item a{
        text-decoration:none;
    }
    .main-footer .item h3{ 
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        display: flex;
        justify-content: space-between;
        margin-bottom: 0; 
    }
    .main-footer .item ul li:first-child{
        margin-top: 12px;
    }
    .main-footer .item .item-title i{
        display: block;
    }
    .breadcrump-section.breadcrumb-sticky{
        top: 70px;
    }
    .main-footer .item-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }

    .main-footer .item.active .item-content {
        max-height: 500px; /* big enough value */
    }

    .main-footer .item-title {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .main-footer .item-title i {
        transition: 0.3s;
    }

    .main-footer .item.active .item-title i {
        transform: rotate(180deg);
    } 

    /* Hide normal menu links */
    .navbar-nav .nav-item:not(.dropdown) {
        display: none;
    }

    /* Hide Products link text */
    .dropdown-toggle {
        display: none;
    }

    /* Show dropdown menu directly */
    .dropdown-menu {
        display: block !important;
        position: relative !important;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 15px 0;
        margin-top: 10px;
    }

}
@media (max-width: 350px){
    .nav.tab-design .nav-link{
        font-size: 13px !important;
    }
    .tab-dropdown-btn{
        grid-template-columns: 100% !important;
        position: relative !important;
    }
    .breadcrump-section.breadcrumb-sticky{
        top: 154px;
    }
    .modal-body .testimonial-section swiper-container::part(button-prev), 
    .modal-body .testimonial-section swiper-container::part(button-next) {
        top: 628px;
    }
    .navbar .dropdown-menu .products-list{
        border-top: 1px solid var(--gray-200);
        background-color: var(--gray-25);
        border-radius: 0px 0px 12px 12px;
        padding: 32px 16px; 
    }
    .navbar .dropdown-menu .products-list .product-list-title{
        padding: 0 0px;
    }
    header.sticky-active {
        background: transparent;
    }
    .footer-logo-widget p{
        font-size:14px;
    }
    .section-title h2 {
        font-size: 28px !important; 
    }
    .infrastructure .address .content p{
        font-size: 12px !important;
    }
}
@media (max-width: 575.98px) {
      .breadcrumb-content .breadcrumb li a i{
            font-size: 11px;
            position: relative;
            top: 4px;
      }
    .form-box .btn-primary-btn{
        width: 100%; 
        justify-content: center;
    }
    .upload-box{
        padding: 32px 24px;
    }
    .newsletter-section .subscribe input{
        width:100%;
    }
    /*.banner-section{*/
    /*    margin-top:106px;*/
    /*}*/
    .pb-32{
        padding-bottom:24px !important;
    }
    .faq-section .accordion-body{
        margin-right: 40px;
    }
    .faq-section .accordion-button::after{
        position: absolute;
        right: -45px;
    }
    .accordion-header{
        margin-right: 50px;
    }
     .buy-buttons{
         flex-direction:column;
     }
    .brand-story .row{
        gap:32px;
    }
    .core-values .row{
        gap:32px;
    }
    .spotlight-item .spotlight-content{
        height: auto;
    }
    .explore-collection-section .swiper-prev, 
    .explore-collection-section .swiper-next{
        top:83%;
    }
    .explore-collection-section .swiper-next{
        right:0;
    }
    .explore-collection-section .swiper-prev{
        left: 68%;
    }
    .banner-section .swiper-prev, 
    .banner-section .swiper-next{
        top: 241px;
    }
    .banner-section .swiper-prev {
        left:auto;
        right: 102px;
    }
    .category-banner .swiper-prev, 
    .category-banner .swiper-next{
            top: 233px !important;
    }
    .sorting-mobile{
        display: flex;
    }
   
    .nav.tab-design{
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .tab-dropdown-btn{ 
        grid-template-columns: 100% !important;
    }
    .banner-section .swiper-next {
        right: 33px;
        left: auto;
    }
    .navbar-nav .dropdown-menu{
        position: absolute !important;
        top: 56px !important;
    }
    .header-btn{
        display: flex;
        flex-direction: column;
    }
    header .btn-header-btn{ 
        line-height: normal !important;
    }
    .hero-section{
        min-height: 300px;
        padding: 16px 16px;
    }
    .banner-section.category-banner .hero-section {
        padding: 16px 16px;
    }
    .hero-subtitle{
        font-size: 12px !important;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 6px  !important;
    }
    .hero-title {
        font-size: 24px  !important;
        font-weight: 600;
        line-height: 32px;
        margin-bottom: 8px  !important;
    } 
    .hero-description {
        font-size: 12px  !important;
        line-height: normal; 
        margin-bottom: 24px !important;
    }
    .btn-primary-btn{  
        line-height: 20px !important;
        font-size: 14px !important;
    }

    .stats-marquee{
        padding: 16 px 0;
    }
    .marquee-item{
        padding: 0 24px;
        font-size: 14px;
        line-height: normal;
    }
    .marquee-item img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .default-padding{
        padding: 48px 0;
    }

    .section-title{
        margin-bottom: 32px;
    }
    .section-title h6{
        font-size: 14px;
        line-height: 20px;
    }
    .section-title h2{
        font-size: 30px;
        line-height: 38px;
    }
    .section-title P{
        font-size: 16px;
    }

    .explore-collection-section .mb-tabs{
        margin-bottom: 32px;
    }
    .explore-collection-section .explore-item .item-content h3{
        font-size: 16px;
        line-height: normal;
    }
    .explore-collection-section .explore-item .item-content p{
        font-size: 14px;
        line-height: 24px;
    } 
    .explore-collection-section .btn-primary-btn{
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .spotlight-section .mb{
        margin-bottom: 24px;
    }
    .spotlight-content h3{
        font-size: 18px;
        line-height: 28px;
    }
    .spotlight-content p{
        font-size: 14px;
        line-height: 20px;
    }
    .spotlight-item .tag{
        margin-top: 16px;
        margin-left: 16px;
    }
    .explore-collection-section swiper-container::part(bullet-active) {
        background: var(--gray-600) !important;
        width: 48px !important;
        height: 8px;
        border-radius: 99999px;
    }
    .explore-collection-section swiper-container::part(bullet) {
        background: var(--gray-200) !important;
        opacity: 1 !important;
    }
    .explore-collection-section .mySwiper::part(pagination){
        text-align: left;
        bottom: 12px;
    }
    .explore-collection-section .explore-item{
        margin-bottom: 70px;
    }
    .explore-collection-section .mt{
        margin-top: 40px;
    }
    .explore-collection-section swiper-container::part(button-prev), 
    .explore-collection-section swiper-container::part(button-next){
            top: 431px;
    }
    .explore-collection-section swiper-container::part(button-prev){
        right: 0;
        margin-right: 66px;
    }
    .explore-collection-section .mySwiper::part(button-prev) {
        left: auto !important;
        right: 0 !important;
    }
    .banner-section .mySwiper::part(pagination){
        bottom: 45px;
        left: 16px;
    }
    .banner-section.category-banner .mySwiper::part(pagination) {
        bottom: 54px !important;
    }
    .banner-section swiper-container::part(button-prev), 
    .banner-section swiper-container::part(button-next){
        top: 216px !important;
    }
    .banner-section.category-banner swiper-container::part(button-prev), 
    .banner-section.category-banner swiper-container::part(button-next) {
        top: 237px !important;
    }

    .blog-section .blog-item{
        margin-bottom: 24px;
    }
    .blog-section .blog-item .item-content h3{
        font-size: 16px;
        line-height: normal;
    }
    .blog-section .blog-item .item-content p{
        font-size: 14px;
        line-height: 24px;
    } 

    .newsletter-section .subscribe{
        margin-top: 32px;
    }

    footer .main-footer{
        padding: 48px 0;
    }
    

    .footer-contact .item a{
        font-size: 16px;
        line-height: 24px;
    }
    .footer-contact .item .email a{
        font-size: 16px;
        line-height: 24px;
    }

    .footer-contact .item .email{
        display: flex;
        flex-direction: column; 
        align-items: start;
        gap: 8px;
    }
     
    .footer-contact .item .email .dot{
        display: none;
    }
    .footer-logo-widget .footer-contact .devider{
        height: 98px;
    }
    footer .footer-sublinks{
        flex-direction: column;
        align-items: center;
    }
    .footer-sublinks .privacy-and-terms{
        margin-bottom: 32px;
    }
    .footer-logo-widget .footer-contact{
        flex-direction:column;
    }
    .footer-logo-widget .footer-contact .devider{
        display:none;
    }
    .category-section .sorting{
        display: none;
    }

    .product-items .item{
        display: flex; 
    }
    .product-items .item .mySwiper{
        width: 140px;
        height: 180px;
        object-fit: cover;
        border-radius: 16px 0 0 16px;
        margin: 0;
    }
    .product-items .item .product-img{
        width: 140px;
        height: 180px;
        object-fit: cover;
        border-radius: 16px 0 0 16px;
    }
    .product-items .item .item-content .tags{
        flex-direction: column;
        
    }
    .product-items .item .item-content .tags span{
        font-weight: 400;
    }
    /* Sorting Mobile Bar */
    .sorting-mobile{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        display: flex;
        background-color: #fff;
        padding: 12px;
        gap: 10px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
        height: 48px;
    }

    /* Dropdown Container */
    .custom-dropdown{
        position: relative;
        width: 100%;
        cursor: pointer;
    }

    /* Selected */
    .dropdown-selected{
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-right: 1px solid var(--gray-300);
        font-size: 16px;
        font-weight: 500;
        color: var(--gray-900);
        position: relative;
    }

    /* Icon */
    .dropdown-selected i{
        position: absolute;
        right: 12px;
        font-size: 20px;
        transition: 0.3s;
    }

    /* Dropdown Options */
    .dropdown-options{
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        background: var(--gray-50);
        border-radius: 0;
        display: none;
        overflow: hidden;
        z-index: 999;
    }

    .dropdown-options{
        list-style: none;
        padding-left: 0 !important;
    }
    /* Option Item */
    .dropdown-options li{
        padding: 12px;
        text-align: center;
        transition: 0.3s;
        list-style: none;
    }

    /* Hover Effect */
    .dropdown-options li:hover{
        background-color: var(--success-500);
        color: #fff;
    }

    /* Active State */
    .custom-dropdown.active .dropdown-options{
        display: block;
    }

    /* Rotate Icon */
    .custom-dropdown.active i{
        transform: rotate(180deg);
    }

    .faq-section .accordion-button{
        font-size: 16px;
        line-height: 24px;
    }
    .faq-section .accordion-body{
        font-size: 14px;
        line-height: 24px ;
    }
    .title-header span{
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 8px; 
    }
    .title-header h2{
        font-size: 30px;
        line-height: 38px;
        margin-bottom: 16px;
    }
    .brand-story p{
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 12px; 
    }
    .brand-story .video-section{
        margin-top: 32px;
    }
    .brand-story img{
        width: 100%;
        height: 240px;
        object-fit: cover;
    }
    .our-vision-and-mission .col-lg-6{
        margin-bottom: 24px;
    }
    .core-values .core-value-img img{
        width: 100%;
        height: 352px;
        object-fit: cover;
        border-radius: 16px;
    }
    .infrastructure .address{
        margin-bottom: 48px;
    }
    .infrastructure .mySwiper img{ 
        height: 352px; 
    }
    .infrastructure p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 32px;    
    }

    .product-details-image{
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .product-details-image .first {
        order: 2;
    }
    .product-details-image .second {
        order: 1;
    }
    .product-details-image .nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;        /* keep in single row */
        gap: 12px;
        width: 100%;
        overflow-x: auto;         /* enable horizontal scroll */
        overflow-y: hidden;
        scroll-behavior: smooth;
        margin-bottom: 32px;
    }

    .buy-buttons .btn{
        padding: 12px !important;
    }
    .spec-table td{
        font-size: 14px;
        line-height: 20px;
    }

    .features-section .item{
         margin-bottom: 12px;
    }
    .breadcrumb-content .breadcrumb li a i{
        margin-left: 4px;
        margin-right: 4px;
    }
    .breadcrumb-content .breadcrumb li{
        font-size: 13px;
        line-height: 20px;
    }
    .breadcrump-section .breadcrumb-content{
        padding: 0px 0;
    }
    .customer-support .item{
        margin-bottom: 16px;
    }
    .customer-support .item .content h3{
        font-size: 16px;
        line-height: 24px;
    }
    .enquiry-form-section .form-box{
        padding: 20px 16px;
    }
    .enquiry-form-section .form-box .form-field{
        margin-bottom: 20px;
    }
    .upload-title{
        font-size: 16px;
        line-height: 24px;
    }
    .upload-subtitle{
        font-size: 14px;
        line-height: 20px;
    }
}


/* Hide pagination from 768px and above */
@media (min-width: 768px) {
    .explore-collection-section .mySwiper::part(pagination) {
        display: none !important;
    }
    .blog-section .blog-item{
        margin-bottom: 24px;
    } 
    
}

/* Tablet */
@media (max-width: 899px) and (min-width: 576px) {
    
    .banner-section.category-banner .swiper-prev, 
    .banner-section.category-banner .swiper-next{
        top: 292px !important;
    }
    .banner-section .swiper-prev, 
    .banner-section .swiper-next{
        top: 328px !important;
    }
    .banner-section .swiper-prev {
        left: 28%;
    }
    .banner-section .swiper-next {
        right: auto;
        left: 36%;
    }
    .customer-support .item{
        margin-bottom: 16px;
    }
    .customer-support .item .content h3{
        font-size: 16px;
        line-height: 24px;
    }

    .product-details-image{
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .product-details-image .first {
        order: 2;
    }
    .product-details-image .second {
        order: 1;
    }
    .product-details-image .nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;        /* keep in single row */
        gap: 12px;
        width: 100%;
        overflow-x: auto;         /* enable horizontal scroll */
        overflow-y: hidden;
        scroll-behavior: smooth;
    }

    .buy-buttons .btn{
        padding: 6px !important;
    }
    .spec-table td{
        font-size: 14px;
        line-height: 20px;
    }

    .features-section .item{
        height: 100%;

    }

    /* IMPORTANT: prevent shrinking */
    .product-details-image .nav > * {
        flex: 0 0 auto;
    }

    /* Optional: give fixed width to items (very important sometimes) */
    .product-details-image .nav .nav-link {
        min-width: 80px; /* adjust based on your design */
    }

    .core-values .core-value-img img{
        width: 100%;
        height: 352px;
        object-fit: cover;
        border-radius: 16px;
    }
    .brand-story .video-section{
        margin-top: 48px;
    }
    .default-padding{
        padding: 64px 0;
    }
    .navbar-nav .dropdown-menu{
        position: absolute !important;
    }
     header .btn-header-btn{ 
        line-height: normal !important;
    }
     .banner-section .mySwiper::part(pagination) { 
        bottom: 56px; 
    }
    .banner-section.category-banner .mySwiper::part(pagination) {
        bottom: 95px !important;
    }
    .hero-section{
       padding: 32px 32px;
       min-height: 400px;
    }
    .banner-section.category-banner .hero-section {
        padding: 32px 32px !important;
    }
    .hero-subtitle{
        font-size: 16px;
        line-height: 24px;
    }
    .hero-title{
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 16px;
    }
    .hero-description {
        font-size: 18px;
        line-height: 28px; 
        margin-bottom: 24px;
    }
    .testimonial-section swiper-container::part(button-prev), 
    .testimonial-section swiper-container::part(button-next){
            top: 585px;
    }

    .blog-section .blog-item{
        margin-bottom: 24px;
    }
    .footer-contact .item .email{
        display: flex;
        flex-direction: column; 
        align-items: start;
        gap: 12px;
    }
     
    .footer-contact .item .email .dot{
        display: none;
    } 

    footer .footer-sublinks{
        flex-direction: column;
        align-items: center;
    }
    .footer-sublinks .privacy-and-terms{
        margin-bottom: 32px;
    }
    .brand-story-section .video-wrapper img{
        width: 100%;
        height: 352px;
        object-fit: cover;
    } 
    .banner-section swiper-container::part(button-prev), 
    .banner-section swiper-container::part(button-next){
        top: 305px !important;
    }
    .banner-section.category-banner swiper-container::part(button-prev), 
    .banner-section.category-banner swiper-container::part(button-next) {
        top: 267px !important;
    }
    .category-section .sorting{
        margin-bottom: 24px;
    }
    .product-items .item .item-content .tags{
        flex-direction: column;
        width: 112px;
    }
    .infrastructure .address{
        margin-bottom: 48px;
    }
    .infrastructure .mySwiper img{ 
        height: 352px; 
    }
}

 
/* Desktop */
@media (min-width: 1200px) and (max-width: 1399px) {
    
    .container{
        max-width: 100% !important;
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
    .testimonial-section swiper-container::part(button-prev), 
    .testimonial-section swiper-container::part(button-next){
            top: 390px;
    } 
}

/* Large Desktop */
@media (min-width: 1400px) {
    .container{
        max-width: 100% !important;
        padding-left: 80px !important;
        padding-right: 80px !important;
    } 
}

@media (min-width: 810px) and (max-width: 1099px){
    .banner-section .swiper-prev{
        left: 28%;
    }
    .banner-section .swiper-next{
        left: 35%;
    }
}