/* <!--hero section start-->
<!-- Extra CSS --> */
  .banner .item {
    position: relative;
  }

  .banner .item img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    /* hidden before load */
    transition: opacity 1s ease-in-out;
    /* fade-in */
  }

  .banner .item img.loaded {
    opacity: 1;
    /* show after load */
  }

  .overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    /* adjust opacity as needed */
    z-index: 2;
  }

  /* Default (desktop) - reduce image height */
  .banner .item img {
    width: 100%;
    max-height: 600px;
    /* adjust height */
    object-fit: cover;
    /* crop if taller */
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  /* Tablet */
  @media (max-width: 991px) {
    .banner .item img {
      max-height: 400px;
    }
  }

  /* Mobile */
  @media (max-width: 576px) {
    .banner .item img {
      max-height: 300px;
    }
  }

  .bg-section {
    position: relative;
    width: 100%;
    height: 400px;
    /* Desktop default height */
    overflow: hidden;
    /* Ensure zoom doesn’t spill out */
  }

  .bg-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
    /* Smooth zoom effect */
  }

  .bg-section img.zoom-in {
    transform: scale(1.1);
    /* Zoom level */
  }

  /* Dark overlay */
  .bg-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }

  /* Responsive height */
  @media (max-width: 768px) {
    .bg-section {
      height: 250px;
    }
  }



    @media (max-width: 575.98px) {
      .custom-col {
        width: 33.3333%;
        flex: 0 0 33.3333%;
      }
    }

    .truncate-text {
      font-size: 13px;
      /* Adjust the font size */
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      display: block;
      line-height: 1.4;
      max-width: 100%;
    }

    @media (max-width: 768px) {
      .truncate-text {
        font-size: 12px;
      }

      .truncate-desc {
        font-size: 12px;
      }
    }


    .btn-view {
      font-size: 10px !important;
    }

    .btn-view i {
      font-size: 10px !important;
      /* Optional: control icon size */
    }

    .btn-cart {
      font-size: 12px !important;
      padding: 4px 8px !important;
    }

    .btn-cart i {
      font-size: 14px !important;
    }

    .btn-cart sup i {
      font-size: 10px !important;
    }

    .star-rating i {
      font-size: 12px !important;
      /* Or any preferred smaller size */
      color: #ffc107;
      /* Optional: yellow star */
      margin-right: 1px;
    }

    /* Pagination styling */
    .stylish-pagination .page-item {
      margin: 0 4px;
    }

    .stylish-pagination .page-link {
      color: #444;
      border-radius: 8px;
      border: 1px solid #ddd;
      padding: 6px 14px;
      transition: all 0.3s ease;
      background-color: #f8f9fa;
      font-weight: 500;
    }

    .stylish-pagination .page-link:hover {
      background-color: #333;
      color: #fff;
      border-color: #333;
    }

    .stylish-pagination .page-item.active .page-link {
      background-color: #e91e63;
      color: white;
      border-color: #e91e63;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    }

    /* Hide text like "Prev" and "Next" on small screens */
    @media (max-width: 576px) {
      .label-text {
        display: none;
      }

      .page-link {
        padding: 6px 10px;
      }
    }

    .category-card {
      transition: all 0.3s ease;
      color: #333;
    }

    .category-card:hover {
      background: #007bff;
      color: #fff;
      text-decoration: none;
      transform: translateY(-3px);
    }

    .category-card i {
      transition: transform 0.3s ease, color 0.3s ease;
      color: #007bff;
    }

    .category-card:hover i {
      transform: scale(1.2);
      color: #fff;
    }
  

    .dropdown-toggle::after {
      display: none !important;
    }

    .dropdown:hover .dropdown-menu {
      display: block;
      margin-top: 0;
    }

    .category-card {
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      border-radius: 12px;
    }

    .category-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    }

  /* feature Show category end */