/* Full product page. The shared purchase partial retains detalle-producto.css. */
.detalle-page { --page-accent: var(--main-bg-color, #333); --page-border: #e3e6eb; --page-muted: #68717e; padding-bottom: 36px; color: #303741; }
.detalle-page .page-header { margin-bottom: 20px; }
.detalle-page .page-header__breadcrumb { padding: 18px 0 10px; }
.detalle-page .breadcrumb { gap: 4px; font-size: 11px; line-height: 1.7; }
.detalle-page .product { margin-top: 0 !important; }
.detalle-page .btnAgregarFlotante { z-index: 1030; }
.detalle-heading { min-width: 0; margin-bottom: 22px; }
.detalle-page .detalle-heading .product__name { max-width: 100%; margin: 0 0 14px !important; color: #282f38; font-size: clamp(25px, 2.7vw, 34px); font-weight: 750; line-height: 1.25; letter-spacing: -.03em; overflow-wrap: anywhere; }
.detalle-heading .marcaTitulo { color: var(--page-muted); font-weight: 500; }
.detalle-page .detalle-ficha { min-width: 0; margin-bottom: 14px; padding: 20px; border: 1px solid var(--page-border); border-radius: 16px; background: #fff; box-shadow: 0 3px 10px rgba(25, 30, 40, .025); }
.detalle-ficha h2 { margin: 0 0 14px; color: #303741; font-size: 14px; font-weight: 650; line-height: 1.5; }
.detalle-ficha .product-card__badges-list { position: static !important; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: auto; margin: 0 0 12px; padding: 0; }
.detalle-ficha .product-card__badges-list:empty { display: none; }
.detalle-ficha .product-card__badge { margin: 0; padding: 5px 8px; border-radius: 6px !important; font-size: 9px; line-height: 1.5; white-space: normal; }
.detalle-ficha .product-card__badge a { color: inherit; }
.detalle-ficha .tags__list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.detalle-ficha .tags__list a { margin: 0; padding: 5px 8px; border: 0; border-radius: 7px; background: #f2f4f7; color: #68717e; font-size: 10px; line-height: 1.5; }
.detalle-ficha .tags__list a:hover { color: var(--page-accent); }
.detalle-ficha .quickview__product-meta { margin: 0 !important; }
.detalle-ficha .quickview__product-meta table { display: block; width: 100%; max-width: 100%; margin: 0; }
.detalle-ficha .quickview__product-meta tbody { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 105px), 1fr)); gap: 8px; }
.detalle-ficha .quickview__product-meta tr { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; max-width: 100%; padding: 10px 12px; border-radius: 10px; background: #f6f7f9; }
.detalle-ficha .quickview__product-meta :is(th, td) { width: auto; max-width: 100%; padding: 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.detalle-ficha .quickview__product-meta th { color: #8a939f; font-size: 10px; font-weight: 500; }
.detalle-ficha .quickview__product-meta td { color: #505967; font-weight: 600; }
.detalle-ficha :is(#divDetalleMobile, #divDetalleWeb):empty, .detalle-heading #divNombreMobile:empty { display: none; }
.detalle-page .product__gallery, .detalle-page .product__info, .detalle-page .product__sidebar { min-width: 0; }
.detalle-page .product-gallery__featured { padding: 0; border: 1px solid var(--page-border); border-radius: 18px; background: #fff; box-shadow: none; overflow: hidden; }
.detalle-page .product-gallery__featured .product-image { padding: 16px; }
.detalle-page .product-gallery__featured .product-image__img { object-fit: contain; }
.detalle-page .product-gallery__featured > .product-gallery__zoom { top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid #e9ecf0; border-radius: 10px; background: #f8f9fb; fill: #737e8c; }
.detalle-page .product-gallery__carousel { margin-top: 12px; }
.detalle-page .product-gallery__carousel-item { border: 1px solid var(--page-border); border-radius: 10px; background: #fff; box-shadow: none; overflow: hidden; }
.detalle-page .product-gallery__carousel-item--active { border-color: var(--page-accent); }
.detalle-page .detalle-overview { padding: 20px; border: 1px solid var(--page-border); border-radius: 16px; background: #fff; }
.detalle-page .detalle-overview:not(:has(> *)) { display: none; }
.detalle-page .product__description { margin: 0; color: #626c79; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.detalle-page .product__features { margin: 14px 0 0; color: #626c79; font-size: 12px; line-height: 1.8; }
.detalle-page .detalle-notice .block-features__list { border: 1px solid var(--page-border); border-radius: 14px; background: #fff; overflow: hidden; }
.detalle-page .detalle-notice .block-features__item { padding: 16px; background: transparent !important; }
.detalle-page .detalle-notice .product-card__badge { padding: 4px 7px; border-radius: 5px !important; font-size: 9px; line-height: 1.5; }
.detalle-page .detalle-notice .block-features__subtitle { color: var(--page-muted); font-size: 12px !important; line-height: 1.7; }
.detalle-page .detalle-notice .slick-list { width: 100%; padding: 0 !important; }
.detalle-page .divDetalleMediosEnvios { border: 1px solid var(--page-border); border-radius: 14px; background: #fff; }
.detalle-page .divDetalleMediosEnvios .block-features__item { width: 100%; gap: 14px; padding: 18px; border-radius: 14px; background: transparent !important; }
.detalle-page .divDetalleMediosEnvios .block-features__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; margin: 0; border-radius: 12px; background: #f3f5f7; fill: var(--page-accent); }
.detalle-page .divDetalleMediosEnvios .block-features__icon svg { width: 25px; height: 25px; }
.detalle-page .divDetalleMediosEnvios .block-features__title { font-size: 13px; font-weight: 650; line-height: 1.5; }
.detalle-page .divDetalleMediosEnvios .block-features__subtitle { margin-top: 5px; font-size: 12px; line-height: 1.6; }
.detalle-page #detalleDiv { margin: 0; padding: 20px; border: 1px solid var(--page-border); border-radius: 16px; background: #fff; box-shadow: 0 3px 10px rgba(25, 30, 40, .025); }
.detalle-page .product__sidebar .address-card { border: 1px solid var(--page-border); border-radius: 14px; background: #fff; }
.detalle-page .product__sidebar .address-card__body { padding: 20px; }
.detalle-page .product__sidebar .address-card__badge { position: static; width: auto !important; margin: 0 0 14px; padding: 0; background: transparent; color: #303741; font-size: 14px; font-weight: 650; text-align: left !important; }
.detalle-page .detalle-stock-alert { min-width: 0; margin-top: 14px; padding: 20px; border: 1px solid var(--page-border); border-radius: 16px; background: #fff; box-shadow: 0 3px 10px rgba(25, 30, 40, .025); text-align: left; }
.detalle-stock-alert__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: color-mix(in srgb, var(--page-accent) 10%, white); color: var(--page-accent); font-size: 18px; }
.detalle-page .detalle-stock-alert h3 { margin: 0 0 8px; color: #303741; font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.025em; }
.detalle-stock-alert p { margin: 0 0 20px; color: var(--page-muted); font-size: 12px; line-height: 1.65; }
.detalle-stock-alert__form { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
.detalle-stock-alert__form label { margin: 0; color: #505967; font-size: 12px; font-weight: 600; line-height: 1.5; }
.detalle-page .detalle-stock-alert .form-control { width: 100%; min-width: 0; height: 46px; padding: 11px 12px; border: 1px solid #dce1e7; border-radius: 10px; background: #f8f9fb; color: #303741; font-size: 13px; box-shadow: none; }
.detalle-stock-alert .form-control::placeholder { color: #969faa; opacity: 1; }
.detalle-page .detalle-stock-alert .form-control:focus { outline: none; border-color: var(--page-accent); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--page-accent) 12%, transparent); }
.detalle-page .detalle-stock-alert .btn { display: flex; align-items: center; justify-content: center; width: 100%; height: auto; min-height: 46px; margin: 6px 0 0; padding: 11px 14px; border: 1px solid var(--page-accent); border-radius: 10px; background: var(--page-accent); color: var(--main-letra, #fff); font-size: 13px; font-weight: 650; line-height: 1.5; }
.detalle-stock-alert .btn:focus-visible { outline: 2px solid var(--page-accent); outline-offset: 3px; }
.detalle-page .product-tabs { margin-top: 28px; border: 1px solid var(--page-border); border-radius: 18px; background: #fff; overflow: hidden; }
.detalle-page .product-tabs__content { padding: 28px !important; }
.detalle-section-title { margin: 0 0 22px; color: #303741; font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.detalle-page .cleanText { color: #596371; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.detalle-page .cleanText p { font-size: 13px; line-height: 1.9; }
.detalle-page .cleanText :is(img, iframe) { max-width: 100%; }
.detalle-page .cleanText table { display: block; max-width: 100%; overflow-x: auto; font-size: 12px; }
.detalle-page .cleanText :is(td, th) { padding: 10px 12px; border-color: #e8ecf1; }
.detalle-page .spec__row { padding: 12px 0; border-color: #e8ecf1; font-size: 13px; line-height: 1.7; }
.detalle-page .block-header__title { color: #303741; font-size: 22px; line-height: 1.4; font-weight: 700; letter-spacing: -.025em; }
.detalle-consulta { padding: 22px; border: 1px solid var(--page-border); border-radius: 16px; background: #fff; box-shadow: 0 3px 10px rgba(25, 30, 40, .025); }
.detalle-consulta__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 13px; background: #f3f5f7; color: var(--page-accent); font-size: 21px; }
.detalle-consulta .card-title { margin: 0 0 10px; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.detalle-consulta__intro { margin: 0 0 14px; color: var(--page-muted); font-size: 12px; line-height: 1.7; }
.detalle-consulta__hint { margin: 0 0 20px; color: #8a939f; font-size: 10px; line-height: 1.6; }
.detalle-consulta .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 14px; }
.detalle-consulta .row > .form-group { width: auto; max-width: 100%; min-width: 0; margin: 0; padding: 0; }
.detalle-consulta .row > .form-group:first-child, .detalle-consulta .row > .form-group:nth-child(n + 4) { grid-column: 1 / -1; }
.detalle-consulta label { display: block; margin: 0 0 7px; color: #505967; font-size: 11px; line-height: 1.5; font-weight: 600; }
.detalle-consulta .form-control { width: 100%; height: 44px; padding: 10px 12px; border: 1px solid #dce1e7; border-radius: 9px; background: #f8f9fb; color: #303741; font-size: 12px; box-shadow: none; }
.detalle-consulta .form-control::placeholder { color: #969faa; opacity: 1; }
.detalle-consulta textarea.form-control { height: auto; min-height: 110px; resize: vertical; }
.detalle-consulta .form-control:focus { outline: none; border-color: var(--page-accent); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--page-accent) 12%, transparent); }
.detalle-consulta .select2-container { width: 100% !important; min-width: 0; }
.detalle-consulta .select2-selection--single { height: 44px; border: 1px solid #dce1e7 !important; border-radius: 9px !important; background: #f8f9fb !important; }
.detalle-consulta .select2-selection--single .select2-selection__rendered { padding: 10px 24px 10px 12px; color: #303741; font-size: 12px; line-height: 22px; }
.detalle-consulta .select2-selection--single .select2-selection__arrow { height: 42px; }
.detalle-consulta .btn { display: flex; align-items: center; justify-content: center; min-height: 46px; height: auto; margin-top: 20px; padding: 12px 16px; border-radius: 10px; font-size: 13px; line-height: 1.5; font-weight: 650; }
.detalle-consulta .field-validation-error { display: block; margin-top: 6px; color: #b63848; font-size: 11px; line-height: 1.5; }
.detalle-consulta .input-validation-error { border-color: #c54c5c; }
.detalle-consulta .validation-summary-valid { display: none; }
.detalle-consulta .validation-summary-errors { margin-bottom: 16px; padding: 12px; border-radius: 9px; background: #fff0f2; color: #b63848; font-size: 11px; line-height: 1.6; }
.detalle-consulta :is(a, button):focus-visible { outline: 3px solid var(--page-accent); outline-offset: 3px; }
@media (min-width: 992px) {
    .detalle-page .product--layout--columnar .product__content { grid-template-columns: [gallery] minmax(0, 1.1fr) [info] minmax(0, 1fr) [sidebar] minmax(260px, .85fr); column-gap: 20px; }
    .detalle-page .product--layout--columnar .product__info { padding: 0; }
    .detalle-page .product--layout--columnar .product__sidebar { padding: 0; }
}
@media (max-width: 991px) {
    .detalle-page .product__content { display: flex; flex-direction: column; gap: 22px; }
    .detalle-page .product__gallery { order: 1; }
    .detalle-page .product__sidebar { order: 2; padding: 0; }
    .detalle-page .product__info { order: 3; padding: 0; }
    .detalle-page .product-gallery__featured .product-image { padding: 12px; }
    .detalle-page .product-gallery__featured .product-image__body { max-height: 400px; }
    .detalle-page .product__gallery .product-gallery { max-width: 560px; margin: 0 auto; }
    .detalle-page #divEcommerceMobile:empty { display: none; }
}
@media (max-width: 575px) {
    .detalle-page .detalle-stock-alert .form-control { font-size: 16px; }
    .detalle-heading { margin-bottom: 20px; }
    .detalle-page .detalle-heading .product__name { font-size: 25px; }
    .detalle-page .product-tabs__content { padding: 20px !important; }
    .detalle-page #detalleDiv, .detalle-consulta { padding: 20px; }
    .detalle-page .block-header__title, .detalle-section-title { font-size: 20px; }
}
