/* Tema general para detalle de producto - look moderno y limpio */
body.product-details-page { background: #f8f4f6; }
.page-title.light-background { background: #f8f4f6; border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%); }
#product-details.section, .product-details.section { background: transparent; }

/* Estilos para el botón de zoom */
.zoom-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.zoom-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.zoom-button i {
    font-size: 16px;
}

/* Modal de zoom */
.zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-modal.show {
    opacity: 1;
}

.zoom-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zoom-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: grab;
}

.zoom-image:active {
    cursor: grabbing;
}

.zoom-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.zoom-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.zoom-controls {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.zoom-control-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.zoom-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.zoom-instructions {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.zoom-instructions i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .zoom-button {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .zoom-button span {
        display: none;
    }
    
    .zoom-controls {
        bottom: -50px;
    }
    
    .zoom-instructions {
        bottom: -80px;
        font-size: 12px;
    }
    
    .zoom-close {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}
#product-details .container { padding-top: 24px; padding-bottom: 24px; }
#product-details .row.g-5 { row-gap: 2rem; }

/* Galería moderna estilo referencia */
.product-gallery { position: relative; }

/* Badges de producto */
.product-badges { position: absolute; top: 16px; left: 16px; z-index: 10; display: flex; flex-direction: column; gap: 8px; }
.product-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.badge-new { background: linear-gradient(135deg, #ff6b9d, #ff8fab); }
.badge-discount { background: linear-gradient(135deg, #ff4757, #ff6b7a); }
.badge-exclusive { background: linear-gradient(135deg, #667eea, #764ba2); }

/* Contenedor principal de imagen */
.main-image-container { position: relative; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.main-image-wrapper { position: relative; aspect-ratio: 1; overflow: hidden; }
.main-image { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .3s ease; }

/* Indicador de zoom */
.zoom-indicator { position: absolute; bottom: 16px; right: 16px; background: rgba(0,0,0,.7); color: #fff; padding: 8px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 6px; opacity: 0; transition: opacity .3s ease; }
.main-image-wrapper:hover .zoom-indicator { opacity: 1; }

/* Miniaturas horizontales */
.thumbnails-container { display: flex; gap: 12px; padding: 16px; background: #f8f9fa; border-top: 1px solid #e9ecef; }
.thumbnail-item { flex: 1; max-width: 80px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all .3s ease; }
.thumbnail-item:hover { border-color: color-mix(in srgb, var(--accent-color), transparent 60%); transform: translateY(-2px); }
.thumbnail-item.active { border-color: var(--accent-color); box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color), transparent 70%); }
.thumbnail-item img { width: 100%; height: 100%; object-fit: cover; }

/* Navegación de galería */
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 16px; pointer-events: none; }
.nav-arrow { pointer-events: all; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.15); transition: all .3s ease; color: #333; }
.nav-arrow:hover { background: #fff; transform: scale(1.1); }
.nav-arrow i { font-size: 20px; }

/* Zoom inline (Drift) */
.drift-zoom-pane { border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.25); border: 2px solid rgba(255,255,255,.2); }
.drift-bounding-box { border: 3px solid var(--accent-color); background: color-mix(in srgb, var(--accent-color), transparent 90%); border-radius: 12px; }

/* Product categories styling */
.product-categories {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Etiquetas de categorías compactas */
.product-categories-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.category-tag-small {
  background: rgba(255, 255, 255, 0.9);
  color: #6c757d;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(198, 32, 118, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.category-tag-small:hover {
  background: linear-gradient(135deg, #c62076, #b01d69);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 32, 118, 0.25);
  border-color: #c62076;
}

.category-tag-small i {
  font-size: 12px;
}

.product-category {
  background: linear-gradient(135deg, #c62076, #b01d69);
  color: white !important;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.product-category:hover {
  background: linear-gradient(135deg, #b01d69, #9a1a5c);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 32, 118, 0.3);
}

.product-subcategory {
  color: #6c757d;
  font-size: 13px;
  font-weight: 500;
}

.product-brand {
  color: #c62076;
  font-size: 13px;
  font-weight: 600;
}

/* Skin type section - expandido */
.skin-type-section {
  margin-bottom: 20px;
}

.skin-type-section .attr-item.expanded {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(198, 32, 118, 0.1), rgba(198, 32, 118, 0.05));
  border: 1px solid rgba(198, 32, 118, 0.2);
  border-radius: 12px;
}

.skin-type-section .attr-label {
  font-size: 14px;
  font-weight: 600;
  color: #c62076;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skin-type-badge.expanded {
  background: linear-gradient(135deg, #c62076, #b01d69);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(198, 32, 118, 0.3);
}

/* Product attributes row - contenido y disponibilidad juntos */
.product-attributes-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.product-attributes-row .attr-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.product-attributes-row .attr-label {
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-attributes-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .product-attributes-row .attr-item {
    min-width: auto;
  }
  
  .skin-type-badge.expanded {
    font-size: 14px;
    padding: 10px 16px;
  }
}
  .nav-arrow { width: 36px; height: 36px; }
  .nav-arrow i { font-size: 16px; }
}

/* Wrapper información */
.product-info-wrapper { background: #fff; border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%); border-radius: 12px; padding: 20px; box-shadow: 0 6px 24px rgba(0,0,0,.04); }
.product-title-wrapper { margin-bottom: 16px; }
.product-title { margin: 0; font-size: 28px; line-height: 1.3; font-weight: 700; color: #2c3e50; flex: 1; padding-right: 16px; }

/* Botón compartir */
.product-share { position: relative; flex-shrink: 0; }
.share-btn { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; padding: 8px 12px; cursor: pointer; transition: all 0.3s ease; }
.share-btn:hover { background: #e9ecef; border-color: #c62076; }
.share-btn i { font-size: 18px; color: #6c757d; }
.share-btn:hover i { color: #c62076; }
.share-dropdown { position: absolute; top: 100%; right: 0; margin-top: 8px; background: #fff; border: 1px solid #e9ecef; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.1); padding: 8px; display: none; z-index: 1000; }
.product-share:hover .share-dropdown { display: flex; gap: 8px; }
.share-dropdown a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: all 0.3s ease; }
.share-dropdown a:hover { background: #f8f9fa; transform: scale(1.1); }
.share-dropdown a i { font-size: 18px; }
.share-dropdown a[aria-label*="Facebook"] i { color: #1877f2; }
.share-dropdown a[aria-label*="Instagram"] i { color: #e4405f; }
.share-dropdown a[aria-label*="TikTok"] i { color: #000; }

.product-price-container { display: grid; gap: 8px; margin: 12px 0; }
.current-price { font-size: 26px; font-weight: 800; color: var(--heading-color); }
.original-price { text-decoration: line-through; color: color-mix(in srgb, var(--default-color), transparent 40%); margin-left: 8px; }
.discount-badge { background: color-mix(in srgb, var(--accent-color), transparent 88%); color: var(--accent-color); padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; width: fit-content; }

/* Estilos para opciones de producto de cosméticos (refactor) */
.skin-type-badge, .content-badge, .stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  transition: all 0.3s ease;
}

.skin-type-badge { background: #f8f4f6; color: var(--heading-color); }

.content-badge { background: #f8f4f6; color: var(--heading-color); }

.stock-badge.available {
  background: #eaf7ee;
  color: #1e7e34;
  border-color: #bfe7cc;
}

.stock-badge.unavailable {
  background: #fdecee;
  color: #842029;
  border-color: #f3c2c7;
}

.skin-type-info, .content-info, .stock-info {
  margin-top: 8px;
}

.option-group { margin-bottom: 14px; padding: 14px; background: #fff; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%); }

.option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.option-title {
  font-weight: 600;
  color: #495057;
  margin: 0;
  font-size: 16px;
}

.selected-option { font-size: 13px; color: color-mix(in srgb, var(--default-color), transparent 40%); font-weight: 500; }

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 120px;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #495057;
}

.quantity-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: #f8f4f6;
}

.quantity-input {
  width: 60px;
  height: 36px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 8px;
  font-weight: 500;
  color: #495057;
}

.quantity-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

/* Descripción corta refinada */
.product-short-description { background: #f8f4f6; color: var(--heading-color); padding: 16px; border-radius: 12px; margin: 16px 0; border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%); }

.product-short-description p {
  margin: 0;
  font-size: 15px; line-height: 1.6; font-weight: 500;
}

/* Botones de acción con color de marca */
.product-actions {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Mensaje de éxito del carrito */
.cart-success-message {
  margin-top: 15px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  animation: slideInFromTop 0.3s ease-out;
}

.success-content {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #155724;
  font-weight: 500;
  font-size: 14px;
}

.success-content i {
  color: #28a745;
  font-size: 16px;
}

@keyframes slideInFromTop {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Atributos en una fila */
.product-attributes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px 0 4px 0; }
.product-attributes .attr-item { display: flex; align-items: center; gap: 8px; min-width: 0; }
.product-attributes .attr-label { font-size: 13px; color: color-mix(in srgb, var(--default-color), transparent 40%); white-space: nowrap; }
@media (max-width: 768px) {
  .product-attributes { grid-template-columns: 1fr; }
}

/* Información unificada del producto */
.product-info-unified { padding: 20px 0; }
.info-section { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); }
.info-section:last-child { border-bottom: none; margin-bottom: 0; }
.info-section h4 { color: var(--accent-color); font-size: 18px; font-weight: 600; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.info-section h4 i { font-size: 16px; }

/* Grid de especificaciones - Legacy (mantener para compatibilidad) */
.specs-grid { display: grid; gap: 12px; }
.spec-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%); }
.spec-item:last-child { border-bottom: none; }
.spec-item .spec-label { font-weight: 500; color: color-mix(in srgb, var(--default-color), transparent 30%); font-size: 14px; }
.spec-item .spec-value { font-weight: 600; color: var(--default-color); font-size: 14px; }

/* Nueva tabla de especificaciones */
.specifications-table {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.spec-row {
  display: flex;
  border-bottom: 1px solid #f8f9fa;
  transition: background-color 0.2s ease;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row:hover {
  background-color: #f8f9fa;
}

.spec-row .spec-label {
  flex: 0 0 40%;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 12px;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid #e9ecef;
  display: flex;
  align-items: center;
}

.spec-row .spec-value {
  flex: 1;
  padding: 14px 18px;
  font-weight: 500;
  font-size: 14px;
  color: #212529;
  display: flex;
  align-items: center;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.new {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.status-badge.offer {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  color: white;
}

.status-badge.available {
  background: linear-gradient(135deg, #17a2b8, #6f42c1);
  color: white;
}

/* Imagen de especificaciones */
.spec-image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.spec-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.spec-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  padding: 40px;
}

.spec-placeholder i {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.spec-placeholder p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

/* Responsive para especificaciones */
@media (max-width: 768px) {
  .spec-row {
    flex-direction: column;
  }
  
  .spec-row .spec-label {
    flex: none;
    border-right: none;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 16px;
    font-size: 12px;
  }
  
  .spec-row .spec-value {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .spec-image-container {
    margin-top: 20px;
    height: 200px;
  }
}

/* Descripción de ingredientes clave */
.ingredients-description {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ingredients-description-title {
  color: #c62076;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ingredients-description-title i {
  color: #f06292;
  font-size: 20px;
}

.ingredients-description-content {
  font-size: 15px;
  line-height: 1.8;
  color: #495057;
  white-space: pre-line;
}

.ingredients-description-content p {
  margin-bottom: 12px;
  text-align: justify;
}

.ingredients-description-content p:last-child {
  margin-bottom: 0;
}

/* Botón de ingredientes */
.ingredients-action .btn {
  background: linear-gradient(135deg, #1976d2, #1565c0);
  border: none;
  color: white;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
}

.ingredients-action .btn:hover {
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
  color: white;
}

.ingredients-action .btn:focus {
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.25);
}

/* Imagen de ingredientes */
.ingredients-image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 12px;
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.ingredients-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.ingredients-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1976d2;
  padding: 40px;
}

.ingredients-placeholder i {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.7;
}

.ingredients-placeholder p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

/* Modal de ingredientes */
.all-ingredients-content {
  padding: 15px 0;
}

.ingredients-text {
  background: #f8f9fa;
  padding: 18px;
  border-radius: 8px;
  border-left: 3px solid #1976d2;
  font-size: 13px;
  line-height: 1.6;
  color: #495057;
}

/* Responsive para ingredientes */
@media (max-width: 768px) {
  .ingredients-description {
    padding: 16px;
  }
  
  .ingredients-description-title {
    font-size: 16px;
  }
  
  .ingredients-description-content {
    font-size: 14px;
  }
  
  .ingredients-image-container {
    margin-top: 20px;
    height: 200px;
  }
}

/* ════════════════════════════════════════════════════════════════════
   DESCRIPCIÓN DEL PRODUCTO - CON IMAGEN
   ════════════════════════════════════════════════════════════════════ */

.description-image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border-radius: 12px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: all 0.3s ease;
}

.description-image-container:hover {
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.15);
  transform: translateY(-2px);
}

.description-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.description-image-container:hover .description-image {
  transform: scale(1.05);
}

.description-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ff9800;
  padding: 40px;
  text-align: center;
}

.description-placeholder i {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.7;
}

.description-placeholder p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.description-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.description-title i {
  color: #ff9800;
  margin-right: 0.5rem;
}

.description-content {
  padding: 0 1rem;
}

.description-text {
  font-size: 15px;
  line-height: 1.8;
  color: #495057;
}

.description-text p {
  margin-bottom: 1rem;
}

.description-text p:last-child {
  margin-bottom: 0;
}

/* Responsive para descripción */
@media (max-width: 768px) {
  .description-content {
    padding: 16px 0;
    margin-top: 20px;
  }
  
  .description-title {
    font-size: 1.1rem;
  }
  
  .description-text {
    font-size: 14px;
  }
  
  .description-image-container {
    height: 250px;
  }
}

/* Contenedor de pasos de uso */
.usage-steps-container {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.usage-title {
  color: #28a745;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e9ecef;
}

.usage-title i {
  font-size: 18px;
  color: #28a745;
}

.usage-steps {
  font-size: 15px;
  line-height: 1.9;
  color: #495057;
  white-space: pre-line;
}

.usage-steps p {
  margin-bottom: 0;
  line-height: 1.9;
}

/* Convertir texto numerado en lista visual */
.usage-steps-content {
  white-space: pre-line;
  word-wrap: break-word;
  line-height: 1.9;
}

.usage-steps-content::before {
  content: '';
  display: table;
}

/* Formatear pasos numerados automáticamente */
.usage-steps-content {
  white-space: pre-line;
}

/* Estilo para pasos numerados en texto plano */
.usage-steps p {
  margin-bottom: 16px;
  padding-left: 32px;
  position: relative;
  min-height: 36px;
}

.usage-steps p:last-child {
  margin-bottom: 0;
}

/* Estilos para pasos formateados con JavaScript */
.usage-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #28a745;
  transition: all 0.3s ease;
}

.usage-step-item:hover {
  background: #f0f4f7;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
}

.usage-step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.usage-step-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
  color: #495057;
  padding-top: 2px;
}

/* Imagen de modo de uso */
.usage-image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f5e8, #d4edda);
  border-radius: 12px;
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.usage-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.usage-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #28a745;
  padding: 40px;
}

.usage-placeholder i {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.7;
}

.usage-placeholder p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════
   ESTILOS PARA DESCRIPCIÓN DEL PRODUCTO
   ════════════════════════════════════════════════════════════════ */

.product-description-content {
  padding: 30px;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
  border-radius: 16px;
  border: 1px solid rgba(198, 32, 118, 0.08);
  position: relative;
  overflow: hidden;
}

.product-description-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #c62076 0%, #f06292 100%);
}

/* Estilos obsoletos removidos - La descripción ahora usa la estructura con imagen en col-lg-4 */

/* Responsive para modo de uso */
@media (max-width: 768px) {
  .usage-steps-container {
    padding: 20px;
  }
  
  .usage-title {
    font-size: 16px;
  }
  
  .usage-steps {
    font-size: 14px;
  }
  
  .usage-image-container {
    margin-top: 20px;
    height: 200px;
  }
  
  .usage-step-item {
    padding: 10px;
    margin-bottom: 14px;
  }
  
  .usage-step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .usage-step-text {
    font-size: 14px;
  }
}

/* Mejoras generales para acordeones */
.accordion-button {
  font-weight: 600;
  font-size: 15px;
  padding: 16px 20px;
  border: none;
  background: #ffffff;
  color: #495057;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.accordion-button:not(.collapsed) {
  background: #f8f9fa;
  color: #212529;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(198, 32, 118, 0.15);
  border-color: transparent;
}

.accordion-body {
  padding: 20px;
  background: #ffffff;
}

.accordion-item {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

/* Información técnica */
.tech-info { display: grid; gap: 12px; }
.tech-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%); }
.tech-item:last-child { border-bottom: none; }
.tech-label { font-weight: 500; color: color-mix(in srgb, var(--default-color), transparent 30%); font-size: 14px; }
.tech-value { font-weight: 600; color: var(--default-color); font-size: 14px; }

/* Contenido de ingredientes y uso */
.ingredients-content, .usage-content, .general-info-content { background: color-mix(in srgb, var(--accent-color), transparent 95%); padding: 15px; border-radius: 8px; border-left: 4px solid var(--accent-color); }
.ingredients-content p, .usage-content p, .general-info-content p { margin: 0; line-height: 1.6; color: color-mix(in srgb, var(--default-color), transparent 20%); }

@media (max-width: 768px) {
  .info-section h4 { font-size: 16px; }
  .spec-item, .tech-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .spec-label, .tech-label { font-size: 13px; }
  .spec-value, .tech-value { font-size: 13px; }
}

.add-to-cart-btn, .buy-now-btn {
  flex: 1;
  min-width: 200px;
  height: 50px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-to-cart-btn { background: var(--accent-color); border: none; color: #fff; box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 70%); }

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 60%);
  color: white;
}

.buy-now-btn { background: #fff; border: 2px solid var(--accent-color); color: var(--accent-color); }

.buy-now-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 70%);
}

/* Responsive */
@media (max-width: 768px) {
  .product-actions {
    flex-direction: column;
  }
  
  .add-to-cart-btn, .buy-now-btn {
    min-width: 100%;
  }
  
  .option-group {
    padding: 12px;
  }
  
  .product-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .product-title {
    font-size: 22px;
    padding-right: 0;
  }
  
  .product-share {
    align-self: flex-end;
  }
  
  .share-dropdown {
    left: auto;
    right: 0;
  }
  
  .product-categories-header {
    padding: 10px 15px;
  }
  
  .product-category-link {
    padding: 5px 12px;
    font-size: 12px;
  }
}

/* Estilos para reseñas */
.reviewer-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 24px;
  border: 2px solid #e9ecef;
}

.review-item {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.review-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
}

.review-date {
  font-size: 14px;
  color: #6c757d;
}

.review-rating {
  display: flex;
  gap: 2px;
}

.review-rating i {
  color: #ffc107;
  font-size: 16px;
}

.review-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
}

.review-content p {
  margin: 0;
  color: #495057;
  line-height: 1.6;
}

.cart-success-message--hidden { display: none !important; }
