@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
	
/* 	Tabs CSS Starts here  */

 .section-title {
        font-size: 36px;
    }
    
    .company-brand {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .tabs-nav {
        padding: 15px;
    }
    
    .tab-btn {
        min-width: 160px;
        padding: 12px 20px;
		font-size : 14px !important;
    }
    
    .tabs-content {
        padding: 0px;
    }
	
/* 	END HERE TABS CSS HERE  */
    /* Hide desktop menu */
	
    .desktop-menu,
    .header-right {
        display: none !important;
    }
    
    /* Mobile nav styles */
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 10000;
        padding: 60px 20px 20px;
        overflow-y: auto;
    }
    
    .mobile-nav.active {
        right: 0;
    }
    
    /* Mobile menu list */
    .mobile-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu li {
        position: relative;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-menu a {
        display: block;
        padding: 15px 0;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        font-family: 'Poppins', sans-serif;
    }
    
    /* SUB-MENU - HIDDEN BY DEFAULT */
    .mobile-menu .sub-menu {
        display: none; /* HIDDEN */
        padding-left: 20px;
        list-style: none;
        margin: 0;
    }
     .dgwt-wcas-layout-icon .dgwt-wcas-search-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }


    /* SHOW SUB-MENU WHEN ACTIVE/OPEN */
    .mobile-menu .sub-menu.active,
    .mobile-menu li.open > .sub-menu {
        display: block; /* VISIBLE */
    }
    
    /* Parent item with arrow */
    .mobile-menu li.menu-item-has-children > a {
        position: relative;
        padding-right: 40px;
    }
    
    /* Arrow icon */
    .mobile-menu li.menu-item-has-children > a::after {
        content: "";
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background-image: url('https://jcblbatteries.com/wp-content/uploads/2025/12/down.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: transform 0.3s ease;
    }
    
    /* Rotate arrow when open */
    .mobile-menu li.menu-item-has-children.open > a::after {
        background-image: url('https://jcblbatteries.com/wp-content/uploads/2025/12/up.png');
    }
    
    /* Sub-menu items */
    .mobile-menu .sub-menu li {
        border-bottom: none;
        border-top: 1px solid #f5f5f5;
    }
    
    .mobile-menu .sub-menu a {
        padding: 12px 0 12px 0px;
        font-size: 14px;
        color: #666;
    }
    
    /* Nested sub-menus */
/*     .mobile-menu .sub-menu .sub-menu a {
        padding-left: 40px;
    } */
    
    .mobile-menu .sub-menu .sub-menu .sub-menu a {
        padding-left: 60px;
    }
	
	.footer-grid {
  
    gap: 15px;
}
}

/* Keep your existing 768px styles */
@media (max-width: 768px) {
	.menu-item-956{
		display :none;
	}
	.cart-icon{
		display :none !important;
	}
/* Tabs CSs HERE  */
   .section-title {
        font-size: 32px;
    }

  /* Make first column sticky */
  .jcbl-table th:first-child,
  .jcbl-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    min-width: 120px;
    max-width: 140px;
    font-weight: 600;
  }

  /* Header first cell above body cells */
  .jcbl-table thead th:first-child {
    z-index: 3;
    background: #f5f5f5;
  }

  /* Optional: shadow for visual separation */
  .jcbl-table th:first-child::after,
  .jcbl-table td:first-child::after {
    content: "";
    position: absolute;
    top: 0;
    right: -8px;
    width: 8px;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.15), transparent);
  }
  .jcbl-table {
    font-size: 13px;
  }

    .company-brand {
        font-size: 22px;
    }
    .product-title {
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 0px;
    font-weight: 700;
    line-height: 1.3;
    min-height: 46px;
}
    .tabs-nav {
        flex-direction: column;
        align-items: center;
		margin-bottom :0px ;
    }
    .see-more-btn {
		margin:auto;
    padding: 15px 10px;
    font-size: 14px;
    width: fit-content;
    display: block;
}
    .tab-btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-image {
        height: 180px;
		 padding: 0px 15px;
    }

    .product-content {
        padding: 20px;
    }
/* **************end here ********** */

    .breadcrumb-section {
        padding: 140px 0 60px 0px;
    }
    
    .counters-about {
        margin: 0 30px 0px 30px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .breadcrumb-list {
        font-size: 13px;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 8px;
    }
    
    .Heading-border-right h3::before {
        top: 5px;
    }
	
    .yellow-button, .white-button {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .topbar .container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    
    .topbar-left,
    .topbar-social {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .jcbl-hero-slider {
        height: 100vh;
    }
  .hamburger-btn {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 5px !important;
    padding: 8px !important;
}
    .dgwt-wcas-search-icon {
    width: 30px !important;
    height: auto !important;
}
    .close-nav {
        padding: 8px !important;
        position: absolute;
        top: 18px;
        right: 18px;
        font-size: 40px !important;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .hamburger-btn span {
        width: 100%;
        height: 4px;
        background: #fff;
        border-radius: 1px !important;
    }
    
    /* Mobile specific slider images */
    .jcbl-hero-slider .slide-1 { 
        background-image: url('https://jcblbatteries.com/wp-content/uploads/2025/12/banner-1.webp') !important; 
    }
    
    .jcbl-hero-slider .slide-2 { 
        background-image: url('https://jcblbatteries.com/wp-content/uploads/2025/12/motarcycle-banner.webp') !important; 
    }
    
    .jcbl-hero-slider .slide-3 { 
        background-image: url('https://jcblbatteries.com/wp-content/uploads/2026/01/backup-banner-mobb.webp') !important; 
    }
     .jcbl-hero-slider .slide-4 { 
        background-image: url('https://jcblbatteries.com/wp-content/uploads/2026/01/industrial-banner-mobb.webp') !important; 
    }
	 .jcbl-hero-slider .slide-5 { 
        background-image: url('https://jcblbatteries.com/wp-content/uploads/2026/01/lithium-banner-mobb.webp') !important; 
		 background-position:center;
    }
    .hero-content {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
        padding: 30px;
        border-radius: 0 90px 0 90px;
    }
    
    .hero-content h1 {
        font-size: 34px;
        line-height: 48px;
		font-weight:900;
    }
	  .hero-content h1 span  {
        font-size:52px;
        line-height: 66px;
		font-weight:600;
    }
    
    .hero-content h3 {
        margin-top: 10px;
        font-size: 16px;
        line-height: 26px;
        font-weight: 500;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col h4 {
        margin-top: 20px;
    }
    
    .footer-social-links {
        justify-content: flex-start;
    }
    
    .footer-social-links img {
        margin-right: 20px;
    }
    
    .jcbl-footer {
        padding: 60px 10px 20px 10px;
    }
}


@media (max-width: 480px) {
    .tabs-content {
        padding: 0px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .company-brand {
        font-size: 20px;
	}
    .dgwt-wcas-search-wrapp .dgwt-wcas-search-icon {
    width: 30px !important;
    height: auto !important;
}
}