﻿/* Shared purchase panel: rendered by _DetalleProducto in detail, quickview and AJAX updates. */
.detalle-producto,
.detalle-producto__contact {
    --detalle-accent: var(--main-bg-color, #262626);
    --detalle-on-accent: var(--main-letra, #fff);
    --detalle-muted: #626873;
    min-width: 0;
}
.detalle-producto { width: 100%; color: #262b33; }
.detalle-producto > #divPrecio { width: 100%; max-width: none; }
.detalle-producto :is(button, a, input, select):focus-visible,
.detalle-producto__contact a:focus-visible { outline: 3px solid var(--detalle-accent); outline-offset: 3px; }
.detalle-producto > #divPrecio > .product-card__badge--blue { display: block; width: 100%; padding: 20px !important; border-radius: 14px; background: var(--detalle-accent); color: var(--detalle-on-accent); white-space: normal; }
.detalle-producto #divPrecio .product__prices { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: baseline; gap: 6px 12px; text-align: start !important; line-height: 1.25; margin: 0 0 10px; overflow-wrap: anywhere; }
.detalle-producto .product__prices .product-card__new-price { font-size: 31px; font-weight: 700; letter-spacing: -.025em; }
.detalle-producto .product__prices .product-card__old-price { font-size: 16px; }
.detalle-producto .product-card__badge--blue > b { display: block; font-size: 12px; line-height: 1.6; font-weight: 400; }
.detalle-producto .product__meta,
.detalle-producto .precioCuotas { color: var(--detalle-muted); line-height: 1.5; }
/* List price and its configured installment note share one quiet secondary block. */
.detalle-producto .detalle-producto__list-price { margin: 0 0 12px; padding: 14px 16px; border: 1px solid #e5e8ed; border-radius: 12px; background: #f6f7f9; }
.detalle-producto .detalle-producto__list-price-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.detalle-producto .detalle-producto__list-price-label { color: var(--detalle-muted); font-size: 12px; font-weight: 500; line-height: 1.5; }
.detalle-producto .detalle-producto__list-price-amount { min-width: 0; color: #3d4652; font-size: 20px; font-weight: 650; line-height: 1.35; letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.detalle-producto .detalle-producto__list-price-note { margin: 8px 0 0; color: var(--detalle-muted); font-size: 12px; font-weight: 400; line-height: 1.6; overflow-wrap: anywhere; }
.detalle-producto .product__options { margin-top: 20px !important; }
.detalle-producto .product__option-label { margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.detalle-producto .form-control { min-width: 0; max-width: 100%; border-radius: 8px; font-size: 16px; }
.detalle-producto .select2-container { width: 100% !important; max-width: 100%; }
.detalle-producto .select2-selection { min-height: 44px; border-radius: 8px; border-color: #d7dbe0; }
.detalle-producto .input-radio-label__list { display: flex; flex-wrap: wrap; gap: 8px; }
.detalle-producto .input-radio-label__list label { margin: 0; }
.detalle-producto .input-radio-label__list span { border-radius: 8px; white-space: normal; }
.detalle-producto .product__actions { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 10px; margin: 0; }
.detalle-producto .product__actions-item { margin: 0; padding: 0; min-width: 0; }
.detalle-producto .product__actions-item:not(.product__actions-item--addtocart) { flex: 0 0 104px; }
.detalle-producto .product__actions-item--addtocart { flex: 1 1 0; width: auto; }
.detalle-producto .product__quantity { width: 100%; }
.detalle-producto .input-number__input { height: 48px; padding: 0 30px; appearance: textfield; -moz-appearance: textfield; }
.detalle-producto .input-number__input::-webkit-inner-spin-button,
.detalle-producto .input-number__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.detalle-producto .input-number__add,
.detalle-producto .input-number__sub { width: 28px; }
.detalle-producto .btn,
.detalle-producto__contact .btn { min-height: 46px; border-radius: 10px; line-height: 1.5; white-space: normal; }
.detalle-producto #btnContinuar { padding: 0; }
.detalle-producto .detalle-producto__checkout-label { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; }
.detalle-producto .product__actions-item--addtocart .btn { height: 48px; font-size: 14px !important; font-weight: 600; }
.detalle-producto .btn-primary,
.detalle-producto__contact .btn-primary { background: var(--detalle-accent); color: var(--detalle-on-accent); border-color: var(--detalle-accent); }
.detalle-producto .glow-on-hover::before,
.detalle-producto .glow-on-hover::after { display: none; }
.detalle-producto__contact { padding-top: 12px; }
.detalle-producto__contact hr { display: none; }
.detalle-producto__contact .btn { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; }

@media (max-width: 767px) {
    .detalle-producto .product__prices .product-card__new-price { font-size: 28px; }
}
