 .categories-section {
      padding: 60px 0;
      padding-top: 0px;
      min-height: calc(100vh - 200px);
    }

    .section-header {
      text-align: center;
      margin-bottom: 30px;
      animation: fadeInDown 0.6s ease-out;
    }

    .section-header h2 {
      font-size: 22px;
      font-weight: 900;
      background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .section-header p {
      font-size: 14px;
      color: #1565c0;
      margin: 0 auto;
    }

    .divider {
      width: 60px;
      height: 4px;
      background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
      margin: 0 auto 20px;
      border-radius: 2px;
    }

    .categories-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 30px;
    }

    .category-card {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .category-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
      z-index: 1;
    }

    .category-card:hover::before {
      transform: scaleX(1);
    }

    .category-card:hover {
      transform: translateY(-12px);
      box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
    }

    .category-img-wrapper {
      position: relative;
      width: 100%;
      height: 200px;
      background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .category-img-container {
      width: 140px;
      height: 140px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.8);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .category-card:hover .category-img-container {
      transform: scale(1.1) rotate(5deg);
      background: rgba(21, 101, 192, 0.1);
    }

    .category-img-container img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 15px;
      transition: transform 0.3s ease;
    }

    .category-card:hover .category-img-container img {
      transform: scale(1.1);
    }

    .category-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
      color: white;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .category-content {
      padding: 25px 20px 20px;
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .category-card h5 {
      font-size: 1.3rem;
      font-weight: 700;
      color: #2c3e50;
      margin-bottom: 12px;
      text-align: center;
      line-height: 1.4;
    }

    .category-card a {
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .category-footer {
      padding-top: 15px;
      border-top: 1px solid #ecf0f1;
      margin-top: auto;
      width: 100%;
    }

    .explore-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
      color: white;
      padding: 10px 16px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.95rem;
      transition: all 0.3s ease;
      text-decoration: none;
      width: 100%;
    }

    .explore-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3);
      color: white;
    }

    .empty-state {
      text-align: center;
      padding: 80px 20px;
      grid-column: 1 / -1;
    }

    .empty-state i {
      font-size: 4rem;
      color: #bdc3c7;
      margin-bottom: 20px;
    }

    .empty-state h3 {
      color: #7f8c8d;
      margin-bottom: 10px;
    }

    .empty-state p {
      color: #95a5a6;
      font-size: 1rem;
    }

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .category-card {
      animation: fadeInUp 0.6s ease-out;
      animation-fill-mode: both;
    }

    .category-card:nth-child(1) { animation-delay: 0.1s; }
    .category-card:nth-child(2) { animation-delay: 0.2s; }
    .category-card:nth-child(3) { animation-delay: 0.3s; }
    .category-card:nth-child(4) { animation-delay: 0.4s; }
    .category-card:nth-child(n+5) { animation-delay: 0.5s; }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ========== COMPACT PRODUCT SLIDER STYLES ========== */
    .products-section {
        padding: 45px 0 65px;
        background: rgba(255, 255, 255, 0.95);
        position: relative;
    }

    .products-slider-wrapper {
        position: relative;
        padding: 0 60px; /* Space for nav buttons */
    }

    .product-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        transition: all 0.35s ease;
        height: 280px !important; /* Compact height */
        display: flex;
        flex-direction: column;
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(21, 101, 192, 0.25);
    }

    .product-img-wrapper {
        height: 120px !important; /* Compact image area */
        overflow: hidden;
        background: #f8f9fa;
        position: relative;
    }

    .product-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 8px;
        transition: transform 0.4s ease;
    }

    .product-card:hover .product-img-wrapper img {
        transform: scale(1.1);
    }

    .product-badge {
        position: absolute;
        top: 6px !important;
        left: 6px !important;
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
        background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
        color: white;
        border-radius: 12px;
        font-weight: 700;
    }

    .product-content {
        padding: 10px 12px !important; /* Tight padding */
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px !important; /* Minimal gap */
    }

    .product-content h5 {
        font-size: 0.9rem !important;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 4px 0 !important;
        line-height: 1.3;
        height: 2.6em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .text-muted.text-decoration-line-through {
        font-size: 0.75rem !important;
        color: #888 !important;
        margin: 0 !important;
        line-height: 1;
    }

    .text-danger.fw-bold {
        /* font-size: 1.1rem !important; */
        font-weight: 900;
        margin: 2px 0 !important;
        line-height: 1;
    }

    .product-stock {
        font-size: 0.75rem !important;
        margin: 3px 0 5px 0 !important;
        line-height: 1;
    }

    .view-btn {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%) !important;
        color: white !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        font-weight: 600;
        font-size: 0.82rem !important;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .view-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(21, 101, 192, 0.4);
        color: white !important;
    }

    /* OWL CAROUSEL NAV BUTTONS - AT SLIDER ENDS */
    .products-slider-wrapper .owl-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        left: 0;
        pointer-events: none;
    }

    .products-slider-wrapper .owl-nav button {
        position: absolute !important;
        top: 0 !important;
        transform: none !important;
        background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%) !important;
        color: white !important;
        width: 45px !important;
        height: 45px !important;
        border-radius: 50% !important;
        font-size: 20px !important;
        font-weight: bold !important;
        box-shadow: 0 6px 20px rgba(21, 101, 192, 0.4) !important;
        transition: all 0.4s ease !important;
        z-index: 10 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        pointer-events: all;
    }

    .products-slider-wrapper .owl-nav button:hover {
        background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%) !important;
        transform: scale(1.1) !important;
        box-shadow: 0 10px 30px rgba(21, 101, 192, 0.6) !important;
        color: white !important;
    }

    .products-slider-wrapper .owl-prev {
        left: -50px !important;
    }

    .products-slider-wrapper .owl-next {
        right: -50px !important;
    }

    /* Slider spacing */
    .products-slider .owl-item { 
        padding: 0 8px; 
    }

    .products-slider { 
        margin: 0 -8px; 
    }

    .owl-dots {
        margin-top: 25px !important;
    }

    .empty-products {
        text-align: center;
        padding: 80px 20px;
    }

    .empty-products i {
        font-size: 4rem;
        color: #bdc3c7;
        margin-bottom: 20px;
    }

    /* Responsive Adjustments */
    @media (max-width: 1200px) {
      .product-card { height: 270px !important; }
      .product-img-wrapper { height: 110px !important; }
      .products-slider-wrapper { padding: 0 50px; }
      .products-slider-wrapper .owl-prev { left: -45px !important; }
      .products-slider-wrapper .owl-next { right: -45px !important; }
    }

    @media (max-width: 768px) {
      .section-header h2 {
        font-size: 2rem;
      }

      .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
      }

      .category-img-wrapper {
        height: 160px;
      }

      .category-img-container {
        width: 110px;
        height: 110px;
      }

      .product-card { height: 260px !important; }
      .product-img-wrapper { height: 105px !important; }
      .products-slider-wrapper { padding: 0 15px; }
      
      /* Hide navigation buttons on mobile */
      .products-slider-wrapper .owl-nav {
        display: none !important;
      }
    }

    @media (max-width: 480px) {
      .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
      }

      .section-header h2 {
        font-size: 1.8rem;
      }

      .product-card { height: 255px !important; }
      .product-img-wrapper { height: 100px !important; }
      
      .product-content {
        padding: 8px 10px !important;
      }
      
      .product-content h5 {
        font-size: 0.85rem !important;
      }
      
      .view-btn {
        font-size: 0.78rem !important;
        padding: 7px 10px !important;
      }
    }