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

body {
  font-family: "Poppins", sans-serif;
  background: white;
  overflow-x: hidden;
}

.gradient-bg {
  background-image: url("../images/bannerGradientbg.png");
  background-size: cover;
}

/* ─── Carousel ─────────────────────────────────────────── */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.product-card {
  min-width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
}

/* ─── Product card ──────────────────────────────────────── */
.product-content {
  width: 100%;
  max-width: 1200px;
  background: white;
  box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.75);
  border-radius: 30px;
  border: 4px solid black;
  padding: 10px 20px;
  display: flex;
  gap: 20px;
}

/* ─── Image side ────────────────────────────────────────── */
.product-image-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  max-height: 500px;
}

/* Circle sits behind the image, centered via flex */
.image-circle {
  width: 340px;
  height: 340px;
  background: #ffa6ae;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(
    -50%,
    -60%
  ); /* shift up slightly so image overlaps nicely */
  z-index: 0;
}

.product-image {
  border: 2px solid black;
  width: 400px;
  height: 500px;
  max-height: 500px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Push image up so it sits centered on the circle */
}

/* ─── Variant nav arrows + pagination row ───────────────── */
.image-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  z-index: 2;
  margin-top: 8px;
}

.image-nav-btn {
  background: #b6c1ff;
  border: 2px solid black;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.75);
  user-select: none;
  transition:
    transform 0.1s,
    box-shadow 0.1s;
  flex-shrink: 0;
}

.image-nav-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.75);
}

.image-nav-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75);
}

.image-nav-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.image-pagination {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 2px;
  min-width: 40px;
  text-align: center;
}

/* ─── Details side ──────────────────────────────────────── */
.product-details-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px;
}

.product-title {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 28px;
}

.product-rating {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 18px;
}

.product-price {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 22px;
}

.product-description {
  color: rgba(33, 33, 33, 0.74);
  font-size: 12px;
}

/* ─── Options ───────────────────────────────────────────── */

.option-label {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 15px;
}

.option-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.option-btn {
  padding: 4px 12px;
  background: #ece2fb;
  border-radius: 86px;
  border: 2px solid transparent;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.option-btn.active {
  background: #b6c1ff;
  border-color: black;
  font-weight: 700;
}

/* ─── Add-ons ───────────────────────────────────────────── */
.addons-section {
  margin: 5px 0;
}

.addons-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.addon-item {
  text-align: center;
}

.addon-image {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  margin-bottom: 5px;
  overflow: hidden;
  background: #ddd;
}

.addon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.addon-name {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.addon-counter {
  background: #ece2fb;
  border-radius: 86px;
  padding: 5px 12px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.counter-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
}

.counter-value {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 16px;
  min-width: 16px;
  text-align: center;
}

/* ─── Action buttons ────────────────────────────────────── */
.action-buttons {
  display: flex;
  gap: 20px;
  margin-top: 5px;
  align-items: center;
}

.quantity-selector {
  background: #b6c1ff;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.75);
  border-radius: 32px;
  border: 2px solid black;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.quantity-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
}

.quantity-value {
  font-weight: 700;
  font-size: 20px;
  min-width: 20px;
  text-align: center;
}

.add-to-cart-btn {
  background: #b6c1ff;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.75);
  border-radius: 32px;
  border: 2px solid black;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  flex: 1;
  transition: transform 0.1s;
}

.add-to-cart-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px rgba(0, 0, 0, 0.75);
}

.cart-price {
  font-weight: 700;
  font-size: 18px;
}

.cart-divider {
  width: 2px;
  height: 35px;
  background: black;
}

.cart-text {
  font-family: "VT323", monospace;
  font-size: 28px;
  letter-spacing: 3px;
  flex: 1;
  text-align: center;
}
/*FEEDBACK IMAGES*/
.review-img-wrap img {
  border: 2px solid #222;
  box-shadow: 3px 3px 0 #222;
  transition: transform 0.2s ease;
}

.review-img-wrap img:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #222;
}

/* ─── Outer carousel nav (prev/next PRODUCT) ────────────── */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #b6c1ff;
  border: 2px solid black;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.75);
}

.carousel-nav.prev {
  left: 20px;
}
.carousel-nav.next {
  right: 20px;
}

/* ─── Reviews section ───────────────────────────────────── */
.reviews-section {
  padding: 60px;
  padding-top: 20px !important;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.reviews-title {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 48px;
}

.reviews-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.filter-label {
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

.filter-dropdown {
  display: flex;
  align-items: center;
}

.filter-dropdown select {
  background-color: #ece2fb;
  border: 2px solid #000;
  border-radius: 50px;
  padding: 6px 10px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  cursor: pointer;
  appearance: auto;
  box-shadow: 3px 3px 0px #000;
  outline: none;
}

.search-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.search-bar input {
  background-color: #ece2fb;
  border: 2px solid #000;
  border-radius: 50px;
  padding: 6px 32px 6px 12px;
  width: 180px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  box-shadow: 3px 3px 0px #000;
  outline: none;
}

.search-bar .bi-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
  font-size: 13px;
}

/* ─── Review cards ──────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.review-card {
  background: white;
  box-shadow: 5px 6px 0px black;
  border-radius: 20px;
  border: 3px solid black;
  overflow: hidden;
}

.review-header {
  background: #b6c1ff;
  padding: 18px 28px;
  border-bottom: 3px solid black;
}

.review-username {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
}

.review-body {
  padding: 24px 28px;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.review-date {
  font-weight: 600;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.review-variation {
  font-weight: 400;
}

.review-ratings {
  font-size: 14px;
  font-weight: 600;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.review-img-wrap {
  margin-top: 12px;
}

.review-img-wrap img {
  max-width: 100%;
  border-radius: 8px;
  border: 2px solid #eee;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .quantity-selector {
    gap: 10px;
  }
  .quantity-btn,
  .quantity-value {
    /* Ranges from 12px to 15px depending on screen width */
    font-size: clamp(1.35rem, 4vw, 1.538rem) !important;
  }

  .add-to-cart-btn {
    padding: 5px;
    /* Ranges from 9px to 12px; slightly larger than your static 10px for readability */
    font-size: clamp(1.563rem, 3vw, 1.75rem) !important;
  }

  .cart-price {
    /* Ranges from 9px to 11px */
    font-size: clamp(1.563rem, 2.5vw, 1.688rem);
  }

  .cart-text {
    font-weight: 700;
    /* Ranges from 7px to 9px; 8px is very small, so this keeps it legible */
    font-size: clamp(1.438rem, 2vw, 1.563rem);
  }
  .product-card {
    padding: 0 30px;
  }
  .product-content {
    gap: 40px;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .product-content {
    flex-direction: column;
    padding: 30px;
  }

  .image-circle {
    width: 220px;
    height: 220px;
    transform: translate(-50%, -55%);
  }

  .product-image {
    width: 220px;
    height: 280px;
  }

  .product-image-section {
    min-height: 320px;
  }

  .reviews-section {
    padding: 30px;
    padding-top: 10px !important;
  }

  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .search-bar input {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .quantity-selector {
    gap: 5px;
  }
  .quantity-btn,
  .quantity-value {
    /* Ranges from 12px to 15px depending on screen width */
    font-size: clamp(0.75rem, 4vw, 0.938rem) !important;
  }

  .add-to-cart-btn {
    padding: 5px;
    /* Ranges from 9px to 12px; slightly larger than your static 10px for readability */
    font-size: clamp(0.563rem, 3vw, 0.75rem) !important;
  }

  .cart-price {
    /* Ranges from 9px to 11px */
    font-size: clamp(0.563rem, 2.5vw, 0.688rem);
  }

  .cart-text {
    font-weight: 700;
    /* Ranges from 7px to 9px; 8px is very small, so this keeps it legible */
    font-size: clamp(0.438rem, 2vw, 0.563rem);
  }
}
