.size-option.inactive {
  opacity: 0.25;
  pointer-events: hover;
  cursor: not-allowed !important;
}

.weight-option.inactive {
  opacity: 0.25;
  pointer-events: hover;
  cursor: not-allowed !important;
}

.flavour-option.inactive {
  opacity: 0.25;
  pointer-events: hover;
  cursor: not-allowed !important;
}

.color-option.inactive {
  opacity: 0.25;
  pointer-events: hover;
  cursor: not-allowed !important;
}

.thumbnail.active {
  border: 2px solid #732C7F;
  border-radius: 4px;
  overflow: hidden;
}

.thumbnail img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.thumbnail:hover img {
  transform: scale(1.05);
}

#product-page {
  margin-top: 20px;
}

#thumbnail-product {
  position: relative;
}

#main-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#main-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
 
.thumbnail-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
#thumbnail-product #grote_image {
  width:100%;
  height: 600px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* .product-wishlist-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background-color: rgb(185 185 185 / 70%);
  border-radius: 50%;
  border: 0px;
} */

/* .product-wishlist-icon .wishlist-btn {
  background-color: transparent;
  color: #732C7F;
  border: 0px;
  padding: 5px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
} */

.product-wishlist-icon .wishlist-btn svg {
  width: 100%;
  height: 100%;
}

.product-wishlist-icon .wishlist-btn:hover {
  color: #ffffff;
  background-color: #732C7F;
}

#thumbnail-product .thumbnail-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 10px;
  margin: 0px 16px;
  scroll-behavior: smooth;
}

#thumbnail-product .thumbnail-container::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar in Chrome, Safari and other WebKit browsers */
}

#thumbnail-product .thumbnail {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  margin: 20px 0px 9px 20px;
  background-color: white;
  box-shadow: 0px 0px 2px 3px #e6e6e6;
  padding: 5px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.thumbnail:first-child {
  margin-left: 0px !important;
}

#thumbnail-product .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation buttons */
.thumbnail-nav {
  position: absolute;
  top: 50%;
  background-color: rgb(210 210 210 / 20%);
  color: #525252;
  border: none;
  padding: 0px;
  cursor: pointer;
  z-index: 100;
  width: 32px;
  height: 32px;
  border-radius: 27px;
  transform: translateY(-50%);
  font-size: 20px;
}

.thumbnail-nav.prev {
  left: -15px;
}

.thumbnail-nav.next {
  right: -15px;
}

.thumbnail-nav:hover {
  background-color: rgba(179, 179, 179, 0.336);
}

/* .product-info span{
    font-size: 20px;
    color: #6C757D;
} */

.heading-font {
  color: var(--primary-color);
  margin: 0px;
}

.product-info {
  margin-bottom: 5px !important;
}

.btn-sold-out {
  background-color: #c0adad;
  color: #ac1818;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: not-allowed;
  opacity: 0.6;
  /* Make the button less prominent */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  #thumbnail-product .thumbnail {
    width: 80px;
    height: 80px;
    margin: 17px 8px 23px 8px;
  }

  #thumbnail-product #grote_image {
    height: 400px;
  }

  #product-page {
    margin-top: 20px;
  }

  .price-review {
    padding: 0px 0px !important;
  }

  .price-review .stars {
    padding: 0px !important;
  }

  .product-info {
    margin-bottom: 0px !important;
  }

  .top-detail-header .path {
    font-size: 16px;
  }

  .main-product-name {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  #thumbnail-product .thumbnail {
    width: 80px;
    height: 80px;
  }

  #product-page {
    margin-top: 20px;
  }

  .price-review {
    padding: 0px 0px !important;
  }

  .price-review .stars {
    padding: 0px !important;
  }

  .top-detail-header .path {
    font-size: 14px;
  }

  .main-product-name {
    font-size: 26px;
  }
}

@media (max-width: 340px) {
  #thumbnail-product .thumbnail {
    width: 70px;
    height: 70px;
    margin: 10px 7px 15px 0px;
  }

  .rating {
    margin: 8px 3px !important;
  }

  #thumbnail-product #grote_image {
    height: 340px;
  }

  .top-detail-header .path {
    font-size: 14px;
    margin-bottom: 7px;
  }

  .main-product-name {
    font-size: 22px;
  }

}

.top-detail-header .path a {
  font-weight: 600;
  text-decoration: none;
  color: #9b9ca6;
  padding-right: 5px;
}

.top-detail-header .path {
  font-weight: 600;
  display: flex;
  margin-bottom: 7px;
}

.top-detail-header .path p {
  font-weight: 600;
  padding-left: 5px;
  margin-bottom: 0px;
}

.back-arrow {
  text-decoration: none;
  color: #000;
}

.title {
  font-size: 24px;
  font-weight: 400;
  color: #1C1B1F;
  margin: 0;
}

/* #productDescription {
  margin: 10px 0px;
} */

.more-description {
  padding: 0px 11px;
}

#productDescription p {
  margin-bottom: 10px !important;
}

.description-title {
  padding-bottom: 5px;
  border-bottom: 1px solid rgb(222, 222, 222);
  font-size: 22px;
  font-weight: 400;
}

.description-text {
  width: fit-content;
  text-align: justify;
}
.more-description img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 400px;
}
 
@media (max-width: 1400px) {
  .more-description img{
  max-height: 100%;
  object-fit: cover;
}
 
}


.description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.rating {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.price-review {
  padding: 10px 0px;
}

.price {
  font-size: 24px;
  margin: auto;
}

.review {
  display: flex;
  align-items: center;
}

.stars {
  color: #D89B3E;
}

.rating {
  margin: 8px;
  font-size: 18px;
  color: #D1D1D8;
}

.quantity {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.quantity input {
  width: 50px;
  text-align: center;
  margin: 0 10px;
}

.quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #A2A3B1;
  border-radius: 4px;
  width: 160px;
  justify-content: space-between;
  padding: 0 10px;
}

.quantity-wrapper input {
  width: 50px;
  padding: 10px;
  text-align: center;
  border: none;
  outline: none;
}

.btn-decrease,
.btn-increase {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  outline: none;
}

.btn-add-to-cart {
  display: block;
  width: 160px;
  padding: 10px 0px;
  font-size: 16px;
  color: white;
  background: linear-gradient(90deg, rgba(117, 55, 105, 1) 0%, rgba(112, 46, 115, 1) 55%, rgba(143, 79, 135, 1) 100%);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.btn-add-to-cart:hover {
  background: linear-gradient(270deg, rgba(117, 55, 105, 1) 0%, rgba(112, 46, 115, 1) 55%, rgba(143, 79, 135, 1) 100%);
}


/* Media queries for smaller screens */
@media (max-width: 768px) {
  .quantity-wrapper {
    width: 100%;
    justify-content: space-around;
  }

  .btn-add-to-cart {
    width: 100%;
  }
}

/* review-section start */


#review-heading {
  margin: 29px 0px 10px 20px
}

.review-card {
  margin: 10px 5px;
  border: 0px solid transparent;
  border-radius: 10px;
  padding: 15px;
  background-color: #f4f4f4;
}

.review-description h1 {
  font-size: 24px;
}

.review-description h2 {
  font-size: 18px;
}

.review-stars {
  display: inline-block;
  color: var(--primary-color);
  font-size: 30px;
  line-height: 45px;
}

.review-star {
  font-size: 18px;
  color: #732C7F;
}

.review-star.checked {
  color: #732C7F;
}

.review-star {
  color: #e4e5e9;
}

.review-img {
  max-width: 100px;
  max-height: 100px;
}

.review-img img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
}

.review-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0px;
}

.review-description p {
  margin-bottom: 0px;
}

.read-more {
  background: none;
  border: none;
  color: #732C7F;
  cursor: pointer;
  padding: 0;
}

.review_section .add-review {
  color: #732C7F;
  display: inline-block;
  margin: 0px 0px 30px 13px;
}

.review_section .add-review-btn {
  line-height: 36px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  color: #732C7F;
  box-shadow: inset 0 1px 1px #e1e1e1;
  padding: 0px 10px;
  font-size: 25px;
  cursor: pointer;
}


.review_section .add-review-btn:hover {
  border: 1px solid #ccc;
  background-color: #fff;
}

.review_section *:focus,
.review_section *:active {
  outline: 0 !important;
}

.review_section * {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

/* review- modal start */

#modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  border: 1px solid #666;
  border-radius: 10px;
  opacity: 0;
  transition: all .3s;
  overflow: hidden;
  background-color: #eee;
  display: none;
}

#modal.show {
  opacity: 1;
  display: flex;
}

.modal-overlay {
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #000;
  opacity: 0;
  transition: all .3s;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  margin: 0;
  padding: 0;
}

.modal-overlay.show {
  display: block;
  opacity: 0.5;
}

#modal .close-btn {
  align-self: flex-end;
  font-size: 1.4em;
  margin: 8px 8px 0;
  padding: 0 8px;
  cursor: pointer;
}

#modal form {
  width: 70vw;
  padding: 0 20px 20px 20px;
}

#modal input,
#modal select,
#modal .rate,
#modal textarea,
#modal .button {
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: inset 0 1px 1px #e1e1e1;
  font-size: 16px;
  padding: 8px;
}

#modal input[type="radio"] {
  box-shadow: none;
  outline: 0 !important;
}

#modal .button {
  min-width: 48px;
  min-height: 48px;
}

#modal .button:hover {
  border: 1px solid #ccc;
  background-color: #fff;
}

#modal .button#review-add-btn,
#modal .button.close-btn,
#modal .button#submit-review-btn {
  min-height: 40px;
}

#modal .button#submit-review-btn {
  font-weight: bold;
  cursor: pointer;
  padding: 0 16px;
}

#modal .fieldset {
  margin-top: 20px;
  flex: 1;
}

#modal .right {
  align-self: flex-end;
}

#modal #review-form-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 0 20px 26px;
  color: #333;
  overflow: hidden;
}

#modal #review-form-container h2 {
  margin: 0 0 0 6px;
}

#modal #review-form {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;

  max-height: 700px;
  /* Set a maximum height for scrolling */
  overflow-y: auto;
  /* Enable vertical scroll if content exceeds max-height */
}

#modal #review-form label,
#modal #review-form input {
  display: block;
}

#modal #review-form label {
  font-weight: bold;
  margin-bottom: 5px;
}

#modal #review-form .rate label,
#modal #review-form .rate input,
#modal #review-form .rate1 label,
#modal #review-form .rate1 input {
  display: inline-block;
}

#modal .rate {
  height: 36px;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: flex-end;
}

#modal #review-form .rate>label {
  margin-bottom: 0;
  margin-top: -5px;
  height: 30px;
}

#modal .rate:not(:checked)>input {
  top: -9999px;
  margin-left: -24px;
  width: 20px;
  padding-right: 14px;
  z-index: -10;
}

#modal .rate:not(:checked)>label {
  float: right;
  width: 1em;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  font-size: 30px;
  color: #ccc;
}

#modal .rate2 {
  float: none;
}

#modal .rate:not(:checked)>label::before {
  content: '★ ';
  position: relative;
  top: -10px;
  left: 2px;
}

#modal .rate>input:checked~label {
  color: #732C7F;

}

#modal .rate:not(:checked)>label:hover,
#modal .rate:not(:checked)>label:hover~label {
  color: #732C7F;
}

.rate>input:checked+label:hover,
.rate>input:checked+label:hover~label,
.rate>input:checked~label:hover,
.rate>input:checked~label:hover~label,
.rate>label:hover~input:checked~label {
  color: #732C7F;
}

#modal #submit-review {
  align-self: flex-end;
}

#modal input,
#modal textarea {
  width: 100%;
  font-size: 14px;
}

#modal #review-form .image-preview {
  margin-top: 10px;
  max-width: 100px;
}

#modal #review-form .image-preview img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
}

/* Media Queries */

/* For screens smaller than 1024px (before tablet screens) */
@media only screen and (max-width: 1024px) {
  #modal #review-form-container {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  #modal #review-form {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
  }

  #modal .fieldset {
    margin-top: 10px;
  }

  #modal .rate label {
    display: block;
    margin: 5px 0;
  }

  #modal .image-preview {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
}

/* For screens larger than 1024px */
@media only screen and (min-width: 1024px) {
  #modal .fieldset {
    margin-top: 10px;
  }
}

@media only screen and (max-width: 700px) {
  #modal {
    width: 100%;
  }
}

@media (max-height: 700px) {
  #modal {
    width: 88%;
  }

  #modal #review-form-container {
    padding: 0px 10px;
  }

  #modal input {
    font-size: 14px;
  }

  #modal textarea {
    height: 32px;
  }
}

/* sold out start  */

.sold-out {
  position: relative;
}

.sold-out img.product-image {
  opacity: 0.5;
  /* Makes the image lighter */
}

.sold-out-banner {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.sold-out-btn,
.notify-btn {
  padding: 8px 15px;
  font-size: 1em;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: not-allowed;
}

.sold-out-btn {
  background-color: #ff0000cc;
}

.notify-btn {
  background-color: #28a745;
}

.custom-notify-input {
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.custom-notify-input:focus {
  border-color: #d3d3d3;
  background-color: #eaeaea;
  box-shadow: none !important;
}

.notify-me-submit-btn {
  background-color: var(--primary-color);
  color: #fff;
}

.notify-me-submit-btn:hover {
  background-color: #c8903c;
  color: #fff;
  font-weight: 600;
}

@media screen and (max-width:330px) {
  .sold-out-banner {
    top: 41%;
    width: max-content;
  }

  .sold-out-btn,
  .notify-btn {
    padding: 3px 5px;
  }
}

@media screen and (min-width:330px) and (max-width:430px) {

  .sold-out-banner {
    top: 43%;
    width: max-content;
  }

  .sold-out-btn,
  .notify-btn {
    padding: 3px 5px;
  }
}

@media screen and (min-width:430px) and (max-width:650px) {
  .sold-out-banner {
    top: 43%;
    width: max-content;
  }


  .sold-out-banner {
    font-size: 13px;
  }

  .sold-out-btn,
  .notify-btn {
    padding: 3px 5px;
  }
}

@media screen and (min-width:650px) and (max-width:1000px) {
  .sold-out-banner {
    font-size: 13px;
  }
}

/* sold out end */


/* size and shop start */

.free-size-option {
  border: 1px solid #cecece;
  border-radius: 20px;
  padding: 5px 15px;
  cursor: pointer;
  display: inline-block;
  margin: 5px;
}

.free-size-option.active {
  background: var(--primary-gradient);
  border: 2px solid var(--primary-color);
  color: var(--accent-color);
}

.size-section {
  border: 1px solid #ededed;
  border-radius: 4px;
  padding: 20px 15px;
}

.only-size-option {
  border: 1px solid #cecece;
  border-radius: 20px;
  padding: 5px 15px;
  cursor: pointer;
  display: inline-block;
  margin: 5px;
}

.only-size-option.active {
  background: var(--primary-gradient);
  border: 2px solid var(--primary-color);
  color: var(--accent-color);
}

.disabled {
  opacity: 0.25;
  pointer-events: none;
}

.seller-card {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 10px;
}

/* size with price start  */
/*.size-selector {
  position: relative;
  box-sizing: border-box;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.size-option-with-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #b1b1b1;
  border-radius: 20px;
  padding: 3px 10px;
  cursor: pointer;
  width: fit-content;
  font-weight: bold;
  font-size: 14px;
  min-width: 55px;
  text-align: center;
  position: relative;
}

.size-option-with-price.active {
  background: var(--primary-gradient);
  border: 2px solid var(--primary-color);
  color: var(--accent-color);
}

.border-cstm {
  width: 100%;
  height: 50%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ddd;
}

.size-text {
  font-size: 16px;
  display: block;
  position: relative;
}

.size-price {
  font-size: 14px;
  display: block;
}


.size-option-with-price.disabled {
  color: #ccc;
  border-color: #ddd;
  cursor: not-allowed;
  opacity: 0.5;
}*/

/* size with price end  */


/* size and shop end */
/* product variant start  */
.weight-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.weight-price {
  display: block;
  font-weight: 500;
  margin-top: 2px;
  color: #732C7F;
}

.weight-option-with-price {
  padding: 8px 12px;
  min-width: 70px;
  cursor: pointer;
  border-radius: 10%;
  text-align: center;
}

.flavour-option {
  /* padding: 8px 12px; */
  padding: 0px 9px;
  min-width: 70px;
  cursor: pointer;
  border-radius: 10px;
  text-align: center;
}

.flavour-option.active {
  border: 2px solid #732C7F;
  border-radius: 10px;
  background-color: #f3e9f7;
}

.flavour-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* matched weight gap */
  margin-top: 10px;
}

.weight-option-with-price.active {
  border: 2px solid #732C7F;
  border-radius: 10%;
  background-color: #f3e9f7;
}

.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* matched weight gap */
  margin-top: 10px;
}

.size-option {
  padding: 8px 12px;
  min-width: 70px;
  border-radius: 10%;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.size-option:hover {
  border-color: #732C7F;
}

.size-option.active {
  background-color: #f3e9f7;
  border: 2px solid #732C7F;
  border-radius: 10%;
  color: #732C7F;
}

.size-option.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.size-text {
  font-weight: bold;
}

.size-price {
  display: block;
  font-weight: 500;
  margin-top: 2px;
  color: #732C7F;
}

.size-option.active .size-price {
  color: #732C7F;
}



.star-option label {
  display: inline-block;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.star-option input[type="radio"] {
  display: none;
}

.star-option label svg {
  width: 100%;
  height: 100%;
}

.star-option input[type="radio"]:checked+label {
  filter: drop-shadow(0 0 2px #732C7F);
}


/* product variant end  */