@font-face {
  font-family: Montagu Slab;
  src: url(fonts/MontaguSlab-VariableFont_opsz\,wght.ttf);
}
@font-face {
  font-family: Figtree;
  src: url(fonts/MontaguSlab-VariableFont_opsz\,wght.ttf);
}
@font-face {
  font-family: Asul;
  src: url(fonts/Asul/Asul-Regular.ttf);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 32px 0 24px 0;
}
.filter-btn {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  font-family: Figtree;
  font-weight: 500;
  font-size: 15.5px;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-left: 5px;
}

.filter-btn.active, .filter-btn:hover {
  background: #000;
  color: #FED61D;
}
.carousel-section {
  margin-bottom: 48px;
  margin-left: 45px;
  margin-right: 45px;
}
.carousel-title {
  font-family: Asul;
  font-size: 2em;
  margin: 24px 0 16px 32px;
  text-align: left;
  text-transform: uppercase;
}
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 40px 32px 40px;
}
.carousel {
  display: flex;
  gap: 50px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.carousel > .bestseller-product {
  scroll-snap-align: start;
  flex: 0 0 320px;
  max-width: 320px;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  border: 1.5px solid #000;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s, border 0.2s, transform 0.12s;
  opacity: 0.92;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.carousel-arrow.left { left: 0; }
.carousel-arrow.right { right: 0; }
.carousel-arrow:hover { background: #000; color: #FED61D; border: 1.5px solid #FED61D; }
.carousel-arrow:active {
  transform: translateY(-50%) scale(0.92);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  outline: none;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.carousel-dot.active {
  background: #FED61D;
  transform: scale(1.25);
  border: 1.5px solid #000;
}
.carousel-dot:active {
  transform: scale(0.8);
}
h1{
  font-family: Montagu Slab;
  font-size: 60px;
  text-align:center;
  margin-top:32px;
  cursor: pointer;
}
@media (max-width: 600px) {
  .carousel-title { font-size: 1.2em; margin-left: 10px; }
  .carousel-container { padding: 0 10px; }
  .carousel { gap: 12px; }
  .filter-dropdown {
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      background: #fff url('data:image/svg+xml;utf8,<svg fill="%23000" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 12px center/20px 20px;
      padding-right: 38px;
      position: relative;
    }
    .carousel-dots {
      margin-bottom: 30px;
    }
  .carousel{
      gap: 55px;
  }
 
}
.bestseller-product {
  background: #f5f7fa;
  border-radius: 28px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  margin: 0 auto;
  padding: 24px 18px 18px 18px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.bestseller-product:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 36px rgba(0,0,0,0.16);
}
.bestseller-item {
  background: transparent;
  border-radius: 20px;
  width: 220px;
  height: 180px;
  min-width: unset;
  min-height: unset;
  max-width: unset;
  max-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  border: none;
  overflow: hidden;
}
.bestseller-item img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.bestseller-info {
  text-align: center;
  margin-top: 0;
  margin-bottom: 12px;
}
.bestseller-title {
  font-family: Figtree;
  font-weight: 700;
  font-size: 20px;
  color: #222;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.stars {
  color: #ffd600;
  font-size: 1.1em;
  margin-bottom: 4px;
}
.price {
  font-family: 'Alike Angular', sans-serif;
  font-size: 20px;
  color: #222;
  margin-bottom: 0;
  font-weight: 600;
}
.add-to-cart-btn {
  width: 100%;
  background: buttonface;
  color: buttontext;
  border: none;
  border-radius: 12px;
  font-family: 'Lexend', sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  padding: 12px 0;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.18s, color 0.18s;
  border: 1px black solid;
}
.add-to-cart-btn:hover {
  background: #222;
  color: #FED61D;
}
.wishlist-heart {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.4em;
  color: #bbb;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s, transform 0.15s;
  padding: 0;
  line-height: 1;
}
.wishlist-heart:hover,
.wishlist-heart.active {
  color: #e53935;
  transform: scale(1.15);
}
.wishlist-heart:active {
  color: #b71c1c;
  transform: scale(0.95);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 32px 0 24px 0;
}

.filter-btn.active, .filter-btn:hover {
  background: #000;
  color: #FED61D;
}
.filter-dropdown {
  display: none;
  width: 100%;
  max-width: 350px;
  margin: 0 auto 18px auto;
  font-family: Figtree;
  border-radius: 6px;
  border: 1px solid #000;
  padding: 8px 12px;
  background: #fff;
  color: #000;
  font-weight: 500;
  font-size: 16px;
}
@media (max-width: 1230px) {
  .filter-bar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .filter-btns-row {
    display: none;
  }
  .filter-dropdown {
    display: block;
  }
}

.carousel-track {
display: flex;
transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
will-change: transform;
gap: 32px;
}