/* Custom resets & Parent scoping for Bootstrap Modal */
.Product_details_modal .modal-content {
  padding: 15px;
}

.Product_details_modal .modal-header {
  border-bottom: none;
  padding: 0;
}
.Product_details_modal .modal-header,
.Product_details_modal .btn-close {
  position: relative;
  z-index: 1;
}

/* Left Column Styling */
.Product_details_modal .image-container-wrapper {
  padding: 0px;
  /* box-shadow: 0px 3px 6px #00000029; */
  border-radius: 6px;
  height: 100%;
}

.Product_details_modal .preview-image-box {
  width: 100%;
  height: 460px;
}

.Product_details_modal .preview-image-box .product_img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Right Column Styling */
.Product_details_modal .stock-badge {
  background-color: #d3e5cf;
  color: #115100;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.Product_details_modal .stock-badge .dot {
  width: 8px;
  height: 8px;
  background-color: #2e7d32;
  border-radius: 50%;
}

.Product_details_modal .product-title {
  font-size: 24px;
  font-weight: 700;
  color: #212529;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}

.Product_details_modal .from-text {
  font-size: 16px;
  color: #ff5722;
  white-space: nowrap;
}

.Product_details_modal .base-price {
  font-size: 16px;

  color: #ff5722;
}

.Product_details_modal .unit-text {
  font-size: 0.8rem;
  color: #6c757d;
}

.Product_details_modal .product-description {
  color: #212529;
  font-size: 15px;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}
.Product_details_modal .stars {
  color: #ffca28;
  font-size: 35px;
}

.Product_details_modal .rating-text {
  color: #212529;
  font-size: 12px;
  font-weight: 500;
}

.Product_details_modal .divider {
  border-top: 1px dashed #000000;
  opacity: 1;
  margin: 15px 0;
}

/* Preferences List */
.Product_details_modal .section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 15px;
}

.Product_details_modal .preferences-list {
  list-style: none;
  margin: 0;
}

.Product_details_modal .preferences-list li {
  font-size: 16px;
  color: #212529;
  margin-bottom: 10px;
  font-weight: 400;
}

.Product_details_modal .preferences-list li strong {
  font-size: 16px;
  color: #212529;
  margin-bottom: 10px;
  font-weight: 500;
}

.Product_details_modal .final-price {
  font-size: 28px;
  font-weight: 600;
  color: #ee4823;
  line-height: 1;
}
.Product_details_modal .tax-text {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 400;
  vertical-align: middle;
}

.Product_details_modal .per-piece-text {
  font-size: 14px;
  color: #212529;
  font-weight: 500;
  margin-top: 4px;
}
.Product_details_modal .btn-add-to-cart {
  background-color: #ee4823;
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 6px;
}

.Product_details_modal .btn-add-to-cart:hover {
  background-color: #ee4823;
}

.Product_details_modal .modal-body {
  padding: 0 !important;
}

@media (min-width: 0px) and (max-width: 1199.98px) {
  .Product_details_modal .preview-image-box {
    width: 100%;
    height: 347px;
  }
  .Product_details_modal .product-title {
    font-size: 20px;
  }
  .Product_details_modal .from-text {
    font-size: 14px;
  }
  .Product_details_modal .preferences-list li {
    font-size: 14px;

    margin-bottom: 3px;
  }
  .Product_details_modal .section-title {
    font-size: 16px;

    margin-bottom: 3px;
  }
  .Product_details_modal .preferences-list li strong {
    font-size: 15px;
  }
  .Product_details_modal .divider {
    margin: 10px 0;
  }
  .Product_details_modal .final-price {
    font-size: 24px;
  }
}

@media (min-width: 0px) and (max-width: 991.98px) {
  .Product_details_modal .preview-image-box {
    height: 250px;
    width: 250px;
  }
  .Product_details_modal .stock-badge {
    font-size: 10px;
  }
  .Product_details_modal .modal-body {
    height: 86vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
}

@media (min-width: 0px) and (max-width: 575.98px) {
  .Product_details_modal .preview-image-box {
    height: 200px;
    width: 200px;
  }
  .Product_details_modal .product-title {
    font-size: 15px;
  }
  .Product_details_modal .product-description {
    font-size: 13px;

    line-height: 1.3;
  }
  .Product_details_modal .section-title {
    font-size: 14px;
  }
  .Product_details_modal .preferences-list li strong,
  .Product_details_modal .preferences-list li {
    font-size: 13px;
  }
  .Product_details_modal .final-price {
    font-size: 20px;
  }
  .Product_details_modal .per-piece-text {
    font-size: 12px;
  }
  .Product_details_modal .tax-text {
    font-size: 10px;
  }
  .Product_details_modal .from-text {
    font-size: 13px;
  }
}
