    #categoryCarousel {
        display: flex;
        flex-wrap: nowrap;
        gap: 2rem;
        align-items: stretch;
        justify-content: center;
        scroll-behavior: smooth;
        overflow: visible;
        transition: all 0.3s ease;
        will-change: transform;
        padding-inline: 2rem;
    }

    .category-item {
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    @media (max-width: 768px) {
        #categoryCarousel {
            gap: 1rem;
            padding-inline: 1rem;
        }

        .category-item {
            width: 120px !important;
            min-width: 120px !important;
        }
    }

    @media (min-width: 1024px) {
        #categoryCarousel {
            gap: 2.5rem;
        }
    }

    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }

    .no-scrollbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }


    header,
    nav {
        position: sticky;
        top: 0;
        z-index: 50;
        transition: all 0.3s ease;
    }

    #categoryCarousel::-webkit-scrollbar {
        display: none;
    }

    #categoryCarousel a {
        flex: 0 0 auto !important;
        width: 160px !important;
        min-width: 160px !important;
    }

    @media (max-width: 1200px) {
        #categoryCarousel a {
            width: 140px !important;
            min-width: 140px !important;
        }
    }

    .main-slider {
        width: 100%;
        margin: 0;
        padding: 0;
        line-height: 0;
    }

    .main-slider .swiper,
    .main-slider .swiper-wrapper,
    .main-slider .swiper-slide {
        width: 100%;
        height: auto;
    }

    .main-slider img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        margin: 0;
        padding: 0;
        border: none;
        background: transparent;
    }


    .swiper1 {
        width: 100%;
        height: auto;
        position: relative;
    }

    .swiper1 .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
    }

    .swiper1 img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    @media (max-width: 768px) {
        .swiper1 {
            height: 40vh !important;
        }
    }

    @media (max-width: 480px) {
        .swiper1 {
            height: 35vh !important;
        }
    }

    @media (min-width: 1800px) {
        .swiper1 img {
            max-width: 1800px;
            margin: 0 auto;
        }
    }

    #categoryCarousel {
        display: flex;
        flex-wrap: nowrap;
        gap: 2rem;
        align-items: stretch;
        justify-content: center;
        scroll-behavior: smooth;
        overflow: visible;
        transition: all 0.3s ease;
        will-change: transform;
        padding-inline: 2rem;
    }

    .category-item {
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    @media (max-width: 768px) {
        #categoryCarousel {
            gap: 1rem;
            padding-inline: 1rem;
        }

        .category-item {
            width: 120px !important;
            min-width: 120px !important;
        }
    }

    @media (min-width: 1024px) {
        #categoryCarousel {
            gap: 2.5rem;
        }
    }

    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }

    .no-scrollbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }


    header,
    nav {
        position: sticky;
        top: 0;
        z-index: 50;
        transition: all 0.3s ease;
    }

    #categoryCarousel::-webkit-scrollbar {
        display: none;
    }

    #categoryCarousel a {
        flex: 0 0 auto !important;
        width: 160px !important;
        min-width: 160px !important;
    }

    @media (max-width: 1200px) {
        #categoryCarousel a {
            width: 140px !important;
            min-width: 140px !important;
        }
    }

    .main-slider {
        width: 100%;
        margin: 0;
        padding: 0;
        line-height: 0;
    }

    .main-slider .swiper,
    .main-slider .swiper-wrapper,
    .main-slider .swiper-slide {
        width: 100%;
        height: auto;
    }

    .main-slider img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        margin: 0;
        padding: 0;
        border: none;
        background: transparent;
    }


    .swiper1 {
        width: 100%;
        height: auto;
        position: relative;
    }

    .swiper1 .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
    }

    .swiper1 img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    @media (max-width: 768px) {
        .swiper1 {
            height: 40vh !important;
        }
    }

    @media (max-width: 480px) {
        .swiper1 {
            height: 35vh !important;
        }
    }

    @media (min-width: 1800px) {
        .swiper1 img {
            max-width: 1800px;
            margin: 0 auto;
        }
    }

    .loader-dot {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        animation: bounce 0.6s infinite alternate;
    }

    .loader-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .loader-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

    @keyframes bounce {
        from {
            transform: translateY(0);
            opacity: 0.5;
        }

        to {
            transform: translateY(-12px);
            opacity: 1;
        }
    }

    #loaderBox {
        background-color: #f9fafb;
        border-radius: 1rem;
        padding: 2rem 0;
        width: 100%;
        transition: all 0.3s ease;
    }

    @media (max-width: 768px) {
        #loaderBox {
            min-height: 180px;
        }

        #loaderBox p {
            font-size: 1rem;
        }
    }

    @media (max-width: 768px) {
        .container .flex.items-center.gap-4.relative {
            display: none;
        }
    }

@media (min-width: 769px) {
  #filterSidebar,
  #filterBackdrop,
  #openFilterSidebar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .container .flex.items-center.gap-4.relative,
  .container select.border {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .desktop-filter-bar {
    display: flex !important;
  }
  #openFilterSidebar,
  #filterSidebar,
  #filterBackdrop {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .container.mx-auto.flex.flex-col.sm\:flex-row.items-center.justify-between {
    display: none !important;
  }

  .container select.border,
  .container .text-gray-600 {
    display: none !important;
  }

  #openFilterSidebar {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .desktop-filter-bar {
    display: none !important;
  }
}

/* #content {
  display: grid !important;
  grid-auto-flow: row dense !important;
  align-items: start !important;
} */
/* #content > * {
  width: 100% !important;
} */
/* ✅ Normal grid (default) */
/* #contentContainer[data-mode="normal"] #content {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 1.5rem !important;
  align-items: start !important;
  width: 100%;
} */

/* ✅ Full-width when searching */
/* #contentContainer[data-mode="search"] #content {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  width: 100% !important;
  padding: 0 !important;
}

#contentContainer[data-mode="search"] #content > * {
  width: 100% !important;
  margin-bottom: 1.5rem !important;
} */
.product-hidden {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  pointer-events: none;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
}

/* Hides product cards cleanly without breaking grid alignment */
/* #content .group.hidden-product {
  display: none !important;
} */
/* Make hidden products truly collapse in the grid */
#content .group.hidden-product {
  display: none !important;
}
#content .group.hidden-product {
  display: none !important;
}
