/* Extracted from products-details.html */
/* Lightweight zoom for modal view */
.product__img {
  position: relative;
  overflow: hidden;
  cursor: zoom-in
}

.product__img.zoom-active {
  cursor: zoom-out
}

.product__img img.zoomin {
  transition: transform .18s ease-out;
  transform-origin: 50% 50%;
  will-change: transform
}

.product__img.zoom-active img.zoomin {
  transform: scale(2)
}

@media (max-width: 767.98px) {
  .product__img.zoom-active img.zoomin {
    transform: scale(1.6)
  }
}

.rental-picker {
  border: 1px solid #e2e6ea;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fafafa;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.3
}

.rental-picker__fields {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px
}

.rental-picker__fields label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 12px;
  color: #063464
}

.rental-picker__fields input[type=date] {
  margin-top: 4px;
  border: 1px solid #cfd3d8;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
  background: #fff;
  min-width: 145px
}

.rental-picker__fields input[type=date]:focus {
  outline: 0;
  border-color: #2983fd;
  box-shadow: 0 0 0 2px rgba(41, 131, 253, .15)
}

.rental-picker__fields .calendar-btn {
  margin-top: 22px;
  border: 1px solid #cfd3d8;
  border-radius: 6px;
  background: #fff;
  color: #063464;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer
}

.rental-picker__fields .calendar-btn:hover {
  border-color: #2983fd;
  color: #2983fd
}

#rentalSummary {
  font-weight: 600;
  color: #063464
}

.quantity-picker {
  border: 1px solid #e2e6ea;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fafafa;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.3
}

.quantity-picker label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 12px;
  color: #063464
}

.quantity-picker input[type=number] {
  margin-top: 6px;
  border: 1px solid #cfd3d8;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
  background: #fff;
  width: 90px
}

#rentalSummary.error {
  color: #d9534f
}

body.product-modal .header {
  display: none !important
}

body.product-modal .header .container-fluid {
  display: none !important
}

body.product-modal .footer {
  display: none !important
}

body.product-modal footer {
  display: none !important
}

/* Rating breakdown styles (replaced inline styles from JS) */
.rating-label {
  width: 55px;
}

.rating-bar-track {
  flex: 1;
  background: #eee;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 10px;
}

.rating-bar-fill {
  background: #f7b500;
  height: 100%;
}

.review-star-active {
  color: #f7b500;
}

.review-star-inactive {
  color: #ccc;
}

.review-text {
  white-space: pre-line;
}

.review-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

