/* =========================================
   PRODUCT CAROUSEL
========================================= */

.product-section {
  width: 100%;
  margin: 70px 0;
  position: relative;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}

.section-header p {
  margin: 7px 0 0;
  color: #888;
  font-size: 15px;
}

.view-all {
  color: #ff3b30;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

/* Carousel wrapper */

.product-carousel {
  position: relative;
  width: 100%;
}

/* Product track */

.product-track {
  width: 100%;
  display: flex;
  gap: 20px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  padding: 5px 3px 15px;

  scrollbar-width: none;

  -webkit-overflow-scrolling: touch;

  touch-action: pan-x;
  overscroll-behavior-x: contain;
}

.product-track::-webkit-scrollbar {
  display: none;
}

/* Product card */

.product-card {
  flex: 0 0 calc(
    (100% - 40px) / 3
  );

  min-width: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  text-decoration: none;

  background: #111;
  border: 1px solid #292929;
  border-radius: 22px;

  scroll-snap-align: start;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #ff3b30;
  box-shadow:
    0 12px 35px rgba(255, 59, 48, 0.12);
}

/* Image */

.product-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;

  background: #fff;

  overflow: hidden;

  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.35s ease;
}

.product-card:hover .product-image {
  transform: scale(1.04);
}

.no-product-image {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #777;
  font-size: 15px;

  background: #181818;
}

/* Product information */

.product-info {
  padding: 17px 18px 20px;
  min-height: 125px;

  display: flex;
  flex-direction: column;
}

.product-category {
  color: #ff3b30;
  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  margin-bottom: 7px;
}

.product-name {
  color: #fff;

  font-size: 18px;
  line-height: 1.35;

  margin: 0 0 12px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
}

.product-price {
  margin-top: auto;

  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.product-price strong {
  color: #fff;
  font-size: 21px;
  font-weight: 700;
}

.product-price del {
  color: #777;
  font-size: 14px;
}

/* Arrows */

.carousel-btn {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  z-index: 5;

  width: 48px;
  height: 48px;

  border-radius: 50%;

  border: 1px solid #444;

  background: rgba(15, 15, 15, 0.92);

  color: #fff;

  font-size: 34px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.carousel-btn:hover {
  background: #ff3b30;
  border-color: #ff3b30;
}

.carousel-btn.prev {
  left: -18px;
}

.carousel-btn.next {
  right: -18px;
}

/* Empty */

.product-empty,
.product-error,
.product-loading {
  width: 100%;
  min-height: 150px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #888;

  font-size: 16px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

  .product-section {
    margin: 55px 0;
  }

  .section-header h2 {
    font-size: 27px;
  }

  .product-card {
    flex: 0 0 calc(
      (100% - 20px) / 2
    );
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .carousel-btn.prev {
    left: -10px;
  }

  .carousel-btn.next {
    right: -10px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .product-section {
    margin: 45px 0;
  }

  .section-header {
    align-items: center;
    margin-bottom: 20px;
  }

  .section-header h2 {
    font-size: 25px;
  }

  .section-header p {
    font-size: 13px;
  }

  .view-all {
    font-size: 14px;
  }

  .product-track {
    gap: 14px;

    padding-left: 2px;
    padding-right: 2px;

    scroll-snap-type: x mandatory;
  }

  .product-card {
    flex: 0 0
      calc(82% - 7px);

    border-radius: 18px;
  }

  .product-image-box {
    aspect-ratio: 1 / 1;
  }

  .product-info {
    padding: 14px 15px 17px;
    min-height: 112px;
  }

  .product-name {
    font-size: 16px;
  }

  .product-price strong {
    font-size: 19px;
  }

  .product-price del {
    font-size: 13px;
  }

  /*
    Mobile-এ arrow রাখছি,
    কিন্তু finger swipe-ই main control.
  */

  .carousel-btn {
    width: 40px;
    height: 40px;

    font-size: 27px;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }
}

/* Small phones */

@media (max-width: 380px) {

  .product-card {
    flex: 0 0 88%;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .view-all {
    font-size: 13px;
  }
}
/* =====================================================
   BLACK STUDIO - MANUAL PRODUCT SLIDER
   ===================================================== */

.product-slider {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    gap: 12px;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

    touch-action: pan-x;
}

.product-slider::-webkit-scrollbar {
    display: none;
}


/* Product card */

.product-slider .home-product-card {
    flex: 0 0 auto;

    scroll-snap-align: start;

    box-sizing: border-box;

    min-width: 0;
}


/* Mobile = 2.5 cards */

@media (max-width: 600px) {

    .product-slider {
        gap: 12px;

        padding-left: 0;
        padding-right: 0;
    }

}


/* Arrow */

.manual-slider-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 46px;
    height: 46px;

    border-radius: 50%;

    border: 1px solid #333;

    background: rgba(0, 0, 0, 0.85);

    color: #fff;

    font-size: 34px;

    line-height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: 0.2s ease;

    padding: 0;

    user-select: none;
}


.manual-slider-arrow:hover {

    background: #ff3b30;

    border-color: #ff3b30;

}


.manual-slider-prev {

    left: -10px;

}


.manual-slider-next {

    right: -10px;

}


.manual-slider-arrow.disabled {

    opacity: 0.25;

    pointer-events: none;

}


/* While mouse dragging */

.product-slider.is-dragging {

    cursor: grabbing;

    scroll-behavior: auto;

    scroll-snap-type: none;

}


.product-slider {

    cursor: grab;

}


/* Mobile arrows */

@media (max-width: 600px) {

    .manual-slider-arrow {

        width: 40px;
        height: 40px;

        font-size: 30px;

    }


    .manual-slider-prev {

        left: -7px;

    }


    .manual-slider-next {

        right: -7px;

    }

}
.shop-page,.categories-page{padding-top:32px;padding-bottom:70px}.page-heading{margin-bottom:24px}.page-heading h1{color:#fff;margin:0 0 7px;font-size:34px}.page-heading p{color:#888}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{display:block;color:#fff;text-decoration:none;overflow:hidden;border-radius:18px}.product-image-box{aspect-ratio:1;background:#171717;overflow:hidden}.product-image-box img{width:100%;height:100%;object-fit:contain;padding:15px}.product-info{padding:14px}.product-category{color:#888;font-size:12px}.product-name{margin:6px 0 10px;font-size:16px}.product-price strong{color:#00e6a0}.product-price del{color:#777;margin-left:8px}.products-empty,.products-error{padding:60px 20px;color:#888;text-align:center;grid-column:1/-1}@media(max-width:900px){.products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.page-heading h1{font-size:27px}}
