/* Product page dark premium adaptation */

.product-details-page .main {
  position: relative;
  z-index: 1;
}

.product-details-page .main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 34, 121, 0.18) 0%, rgba(255, 34, 121, 0) 44%),
    radial-gradient(circle at 84% 48%, rgba(255, 128, 0, 0.16) 0%, rgba(255, 128, 0, 0) 46%),
    linear-gradient(90deg, #0c1120 0%, #120d25 38%, #2b0f34 62%, #4a1a0e 100%);
  background-size: 150% 150%;
  animation: stripe-hue 8s ease-in-out infinite alternate;
}

.product-details-page .page-title {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-details-page .page-title .breadcrumbs a {
  color: #ff9bc7;
}

.product-details-page .page-title .breadcrumbs .current,
.product-details-page .page-title h1 {
  color: #f3f6ff;
}

.product-details-page .product-details.section {
  background: transparent;
  padding: 2.2rem 0 2.8rem;
}

.product-details-page .product-gallery .main-image-wrapper .image-zoom-container {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 12, 22, 0.66);
  box-shadow: 0 18px 34px rgba(8, 12, 22, 0.35);
}

.product-details-page .product-gallery .thumbnails-vertical .thumbnail-item {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 22, 0.62);
}

.product-details-page .product-gallery .thumbnails-vertical .thumbnail-item.active {
  border-color: #ff1e67;
}

.product-details-page .product-info-wrapper {
  padding: 1.15rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-details-page .product-info-wrapper .product-meta .product-category {
  color: rgba(240, 244, 255, 0.75);
}

.product-details-page .product-info-wrapper .product-meta .product-title {
  color: #f3f6ff;
}

.product-details-page .product-info-wrapper .product-meta .product-rating .rating-value {
  color: #f3f6ff;
}

.product-details-page .product-info-wrapper .product-meta .product-rating .rating-count {
  color: rgba(240, 244, 255, 0.72);
}

.product-details-page .product-info-wrapper .product-price-container {
  background: rgba(8, 12, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.product-details-page .product-info-wrapper .product-price-container .current-price {
  color: #ffffff;
}

.product-details-page .product-info-wrapper .product-price-container .original-price {
  color: rgba(240, 244, 255, 0.56);
}

.product-details-page .product-info-wrapper .product-price-container .price-wrapper .current-price {
  color: #ffffff !important;
}

.product-details-page .product-info-wrapper .product-price-container .price-wrapper .original-price {
  color: rgba(240, 244, 255, 0.62) !important;
}

.product-details-page .product-info-wrapper .product-price-container .discount-badge {
  background: linear-gradient(120deg, #ff4d00, #ff1e67);
}

.product-details-page .product-info-wrapper .product-price-container .stock-info span {
  color: rgba(240, 244, 255, 0.9);
}

.product-details-page .product-info-wrapper .product-short-description p {
  color: rgba(240, 244, 255, 0.86);
}

.product-details-page .product-info-wrapper .product-options .option-title,
.product-details-page .product-info-wrapper .product-options .selected-option {
  color: rgba(240, 244, 255, 0.88);
}

.product-details-page #sizeStockInfo {
  color: rgba(240, 244, 255, 0.74) !important;
}

.product-details-page .product-info-wrapper .product-options .size-option {
  background: rgba(8, 12, 22, 0.56);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f3f6ff;
}

.product-details-page .product-info-wrapper .product-options .size-option:hover {
  border-color: rgba(255, 155, 199, 0.7);
}

.product-details-page .product-info-wrapper .product-options .size-option.selected,
.product-details-page .product-info-wrapper .product-options .size-option.selected.border {
  background: linear-gradient(120deg, #8c0d4f, #ff1e67) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 18px rgba(255, 30, 103, 0.32);
}

.product-details-page .product-info-wrapper .product-options .color-option.selected {
  outline: 2px solid #ff9bc7 !important;
}

.product-details-page .product-info-wrapper .product-options .color-option.selected i.bi-check {
  display: block !important;
}

.product-details-page .product-info-wrapper .product-options .quantity-btn,
.product-details-page .product-info-wrapper .product-options .quantity-input {
  background: rgba(8, 12, 22, 0.56);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f3f6ff;
}

.product-details-page .product-info-wrapper .product-actions .add-to-cart-btn {
  background: linear-gradient(120deg, #ff4d00, #ff1e67);
  border: none;
}

.product-details-page .product-info-wrapper .product-actions .add-to-cart-btn:hover {
  box-shadow: 0 10px 22px rgba(255, 30, 103, 0.35);
}

.product-details-page .product-info-wrapper .delivery-option {
  background: rgba(8, 12, 22, 0.48) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.product-details-page .product-info-wrapper .delivery-option h6 {
  color: #f3f6ff;
}

.product-details-page .product-info-wrapper .delivery-option p {
  color: rgba(240, 244, 255, 0.75);
}

.product-details-page .product-info-wrapper .delivery-option i {
  color: #ff9bc7;
}

/* Ocultar temporalmente beneficios de envio/minimo */
.product-details-page .product-info-wrapper .delivery-options {
  display: none !important;
}

@media (max-width: 991.98px) {
  .product-details-page .product-details.section {
    padding: 1.3rem 0 2rem;
  }

  .product-details-page .product-info-wrapper {
    margin-top: 1rem;
  }
}

@media (max-width: 767px) {
  .product-details-page .product-gallery .thumbnails-vertical .thumbnail-item {
    flex: 0 0 60px;
    max-width: 60px;
  }

  .product-details-page .page-title h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  .product-details-page .product-info-wrapper .product-meta .product-title {
    font-size: 1.85rem;
    line-height: 1.08;
  }

  .product-details-page .product-info-wrapper .product-price-container .current-price {
    font-size: 1.8rem;
  }

  .product-details-page .product-info-wrapper .delivery-options {
    grid-template-columns: 1fr !important;
    gap: 0.7rem;
  }
}
