* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Montserrat;
  background: #ffffff;
  color: #000;
}

.shop-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  flex-wrap: wrap;
}
.hero-left {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}
.hero-product {
  max-width: 100%;
  height: auto;
}
.hero-right {
  flex: 1 1 50%;
  padding: 0 20px;
}
.reviews {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.reviews-count {
  font-size: 14px;
  font-weight: 500;
  color: #8e8585;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stars img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}
.product-title {
  font-size: 51.56px;
  font-weight: 500;
  margin-bottom: 12px;
  text-align: center;
}
.product-description {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
  text-align: center;
}
.cta-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid #000;
  padding: 8px 16px;
  gap: 16px;
  left: 190px;
}

.cta-price {
  font-weight: 500;
  font-size: 14px;
  color: #000;
}
.cta-pricei {
  font-size: 18px;
  font-weight: 500;
}

.product-highlights {
  font-size: 14px;
  color: #555;
  text-align: center;
  padding: 20px 0;
}
.highlight-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: green;
  border-radius: 50%;
  margin-right: 6px;
}
.highlight-separator {
  margin: 0 10px;
  color: #aaa;
}

.bestsellers {
  text-align: center;
  margin-bottom: 40px;
  background-color: white;
}
.bestsellers-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.bestseller-card:hover {
  transform: translateY(-5px);
}
.discount {
  font-size: 14px;
  color: rgb(0, 0, 0);
  font-weight: 500;
  position: absolute;
  top: 10px;
  left: 30px;
}
.bestseller-image {
  width: 100%;
  /* max-height: 200px; */
  object-fit: contain;
  margin-bottom: 12px;
}
.bestseller-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.bestseller-sub {
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 8px;
}
.old-price {
  font-size: 14px;
  text-decoration: line-through;
  color: #999;
  margin-right: 8px;
}
.new-price {
  font-size: 16px;
  font-weight: 700;
  color: rgb(255, 255, 255);
}
.review-line {
  width: 100px;
  height: 1px;
  background: #8e8585;
  margin: 0 auto 8px;
}

.page-footer {
  background: #000;
  color: #fff;
  height: 98px;
  text-align: center;
  padding: 16px 0;
}

.footer-brand {
  font-size: 27px;
  font-weight: 400;
  display: flex;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
}
.bestsellers-line {
  width: 60px;
  height: 3px;
  background: #e3c572;
  margin: 20px auto 20px;
}
.bestsellers {
  padding-top: 20px; /* Adjust gap from top */
}

.bestsellers {
  width: 100%;
  text-align: center;
}

.bestsellers-title {
  font-size: 40px;
  font-weight: 100;
  margin-bottom: 24px;
}

.bestsellers-grid {
  padding-inline: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bestseller-card {
  position: relative;
  width: 100%;
  border-radius: 0;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
  overflow: hidden;
}

.discount {
  position: absolute;
  top: 40px;
  left: 20px;
  background: #ffffff;
  color: #000000;
  font-size: 12px;
  font-weight: 600;
  padding: 0px 6px;
  border-radius: 3px;
}

.bestseller-image {
  display: flex;
  background-color: #f9f9f9;
  justify-content: center;
  align-items: center;
  width: 100%;
  object-fit: contain;
  margin-bottom: 12px;
}

.info-row {
  width: 100%;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.info-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.bestseller-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.bestseller-sub {
  font-size: 14px;
  color: #666;
}

.info-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.new-price {
  font-size: 16px;
  font-weight: 300;
  color: red;
}
.old-price {
  font-size: 14px;
  text-decoration: line-through;
  color: #999;
}

.bestseller-card:last-child .discount {
  display: none;
}
.secound {
  height: 467px;
  width: 450px;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }
  .hero-left,
  .hero-right {
    width: 100%;
    margin-bottom: 20px;
    padding: 0;
  }
  .hero-product {
    max-width: 60%;
    height: auto;
    margin: 0 auto 20px;
    display: block;
  }
  .reviews {
    justify-content: center;
  }
  .product-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 8px;
  }
  .product-description {
    font-size: 14px;
    text-align: center;
    margin-bottom: 16px;
  }
  .cta-row {
    left: 37px;
    margin: 0 auto;
    display: inline-flex;
    padding: 8px 16px;
  }
  .cta-price {
    font-size: 14px;
  }
  .cta-pricei {
    font-size: 16px;
  }

  .product-highlights {
    padding: 10px 0;
    font-size: 12px;
  }

  .bestsellers-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 10px;
    justify-content: flex-start;
  }
  .bestseller-card {
    min-width: 240px;
    height: auto;
    margin-bottom: 10px;
  }
  .secound {
    width: 100%;
    height: auto;
  }

  .info-row {
    margin-top: 10px;
  }

  .page-footer {
    height: auto;
    padding: 10px 0;
  }
  .footer-brand {
    font-size: 20px;
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  #eslider {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
  }

  #eslider .bestseller-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    gap: 8px;
  }
  .uslider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    gap: 8px;
  }
  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #421414;
    cursor: pointer;
  }
  .dot.active {
    background: #707070;
  }
  .udot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000000;
    cursor: pointer;
  }
  .udot.active {
    background: #707070;
  }
}
@media (max-width: 768px) {
  .product-highlights {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
  .highlight-separator {
    display: none;
  }
  .product-highlights img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
  }
  .highlight-dot {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
  }
}
@media (min-width: 769px) {
  #eslider .bestseller-card {
    transform: none !important;
  }
}
@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column-reverse;
  }
}
.product-highlights {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 768px) {
  .product-highlights {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
