/**
 * Hoja de Estilos Oficial — Ficha de Producto Punto Secreto
 * Tipografía: Sofia Pro | Rojo: #B30000 | Carbón: #161615
 * Curva de animación aprobada: cubic-bezier(0.23, 1, 0.32, 1)
 *
 * @package Punto_Secreto_Product_Detail
 */

/* ==========================================================================
   1. Variables de Diseño y Tokens
   ========================================================================== */
#ps-product-detail-root,
.ps-modal-overlay,
.ps-lightbox-overlay,
.ps-sticky-mobile-bar {
	--ps-red: #B30000; --ps-red-hover: #990000;
	--ps-red-soft: #FDF2F4; --ps-dark: #161615;
	--ps-grey-text: #555555; --ps-grey-muted: #8A8F98;
	--ps-grey-border: #E8E8E8; --ps-grey-bg: #FAFAFA;
	--ps-white: #FFFFFF; --ps-green: #2E7D32;
	--ps-font: "Sofia Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --ps-ease: cubic-bezier(0.23, 1, 0.32, 1);
	--ps-duration: 160ms; --ps-radius-sm: 6px;
	--ps-radius-md: 10px; --ps-radius-lg: 16px;
	--ps-radius-pill: 9999px; --ps-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
	--ps-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08); --ps-shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.14);
}

/* ==========================================================================
   2. Reseteo y Contenedor Principal
   ========================================================================== */
#ps-product-detail-root {
	font-family: var(--ps-font); color: var(--ps-dark);
	line-height: 1.5; -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale; box-sizing: border-box;
	background: #FFFFFF; padding: 24px 16px 64px;
}

#ps-product-detail-root *,
#ps-product-detail-root *::before,
#ps-product-detail-root *::after {
	box-sizing: inherit;
}

.ps-product-detail-container { max-width: 1240px; margin: 0 auto; }

/* ==========================================================================
   3. Breadcrumb Semántico
   ========================================================================== */
.ps-breadcrumb {
	margin-bottom: 24px; font-size: 13px;
	color: var(--ps-grey-muted);
}

.ps-breadcrumb-list {
	display: flex; flex-wrap: wrap;
	align-items: center; list-style: none;
	padding: 0; margin: 0;
	gap: 6px;
}

.ps-breadcrumb-item a {
	color: var(--ps-grey-muted); text-decoration: none;
	transition: color var(--ps-duration) var(--ps-ease);
}

.ps-breadcrumb-item a:hover { color: var(--ps-red); }

.ps-breadcrumb-separator { margin-left: 6px; color: #D0D0D0; }

.ps-breadcrumb-current { color: var(--ps-dark); font-weight: 500; }

/* ==========================================================================
   4. Rejilla Principal (2 Columnas)
   ========================================================================== */
.ps-product-main-grid {
	display: grid; grid-template-columns: 1.12fr 1fr;
	gap: 48px; align-items: start;
	margin-bottom: 48px;
}

/* ==========================================================================
   5. Columna Izquierda: Galería Multimedia
   ========================================================================== */
.ps-product-gallery { position: sticky; top: 24px; }

/* Escritorio */
.ps-gallery-desktop {
	display: flex; gap: 16px;
	align-items: flex-start;
}

.ps-gallery-thumbs-col { width: 76px; flex-shrink: 0; }

.ps-gallery-thumbs-list {
	list-style: none; padding: 0;
	margin: 0; display: flex;
	flex-direction: column; gap: 10px;
}

.ps-gallery-thumb-btn {
	width: 76px; height: 96px;
	padding: 0; border: 2px solid transparent;
	border-radius: var(--ps-radius-md); background: var(--ps-grey-bg);
	cursor: pointer; overflow: hidden;
	position: relative; transition: border-color var(--ps-duration) var(--ps-ease), transform var(--ps-duration) var(--ps-ease);
}

.ps-gallery-thumb-btn:hover { border-color: #D8D8D8; transform: translateY(-2px); }

.ps-gallery-thumb-btn.is-active { border-color: var(--ps-red); }

.ps-gallery-thumb-btn img {
	width: 100%; height: 100%;
	object-fit: cover; display: block;
}

.ps-gallery-thumb-video {
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	background: #222222; color: #FFFFFF;
}

.ps-thumb-video-icon svg { display: block; fill: #FFFFFF; }

.ps-thumb-video-label {
	font-size: 11px; font-weight: 600;
	margin-top: 4px; text-transform: uppercase;
}

.ps-gallery-main-col { flex: 1; min-width: 0; }

.ps-gallery-main-viewport {
	position: relative; border-radius: var(--ps-radius-lg);
	overflow: hidden; background: var(--ps-grey-bg);
	border: 1px solid var(--ps-grey-border);
}

.ps-gallery-main-figure {
	margin: 0; padding: 0;
	display: flex; align-items: center;
	justify-content: center; aspect-ratio: 4 / 5;
	background: #FAFAFA;
}

.ps-gallery-main-img {
	width: 100%; height: 100%;
	object-fit: cover; display: block;
	transition: opacity 160ms var(--ps-ease);
}

.ps-gallery-badge-sale {
	position: absolute; top: 16px;
	left: 16px; background: var(--ps-red-soft);
	color: var(--ps-red); font-size: 13px;
	font-weight: 700; padding: 4px 10px;
	border-radius: var(--ps-radius-pill); letter-spacing: 0.2px;
	z-index: 2;
}

.ps-gallery-actions {
	position: absolute; bottom: 16px;
	right: 16px; z-index: 2;
}

.ps-gallery-action-btn {
	display: inline-flex; align-items: center;
	gap: 6px; background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px); border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: var(--ps-radius-pill); padding: 8px 14px;
	font-size: 12px; font-weight: 600;
	color: var(--ps-dark); cursor: pointer;
	box-shadow: var(--ps-shadow-sm); transition: background var(--ps-duration) var(--ps-ease), transform var(--ps-duration) var(--ps-ease);
}

.ps-gallery-action-btn:hover { background: #FFFFFF; transform: translateY(-2px); }

/* Galería Móvil */
.ps-gallery-mobile { display: none; }

/* ==========================================================================
   6. Columna Derecha: Información Comercial
   ========================================================================== */
.ps-brand-eyebrow {
	font-size: 12px; font-weight: 700;
	letter-spacing: 1.5px; color: var(--ps-red);
	text-transform: uppercase; margin-bottom: 6px;
}

.ps-product-title {
	font-size: 28px; font-weight: 600;
	line-height: 1.25; color: var(--ps-dark);
	margin: 0 0 14px;
}

/* Meta: Valoraciones y Compartir */
.ps-meta-row {
	display: flex; align-items: center;
	justify-content: space-between; padding-bottom: 16px;
	margin-bottom: 16px; border-bottom: 1px solid var(--ps-grey-border);
}

.ps-rating-badge {
	display: flex; align-items: center;
	gap: 6px; font-size: 14px;
	font-weight: 600; color: var(--ps-dark);
}

.ps-rating-stars { color: #E5A118; font-size: 16px; }

.ps-rating-label {
	color: var(--ps-grey-muted); font-weight: 400;
	font-size: 13px;
}

/* Compartir */
.ps-share-container { position: relative; }

.ps-btn-share {
	display: inline-flex; align-items: center;
	gap: 6px; padding: 6px 14px;
	background: #FFFFFF; border: 1px solid var(--ps-grey-border);
	border-radius: var(--ps-radius-pill); font-size: 13px;
	font-weight: 500; color: var(--ps-dark);
	cursor: pointer; transition: border-color var(--ps-duration) var(--ps-ease), background-color var(--ps-duration) var(--ps-ease);
}

.ps-btn-share:hover { border-color: #B0B0B0; background: var(--ps-grey-bg); }

.ps-share-popover {
	position: absolute; top: calc(100% + 8px);
	right: 0; width: 240px;
	background: #FFFFFF; border: 1px solid var(--ps-grey-border);
	border-radius: var(--ps-radius-md); box-shadow: var(--ps-shadow-md);
	padding: 12px; z-index: 100;
}

.ps-share-popover-header {
	display: flex; justify-content: space-between;
	align-items: center; margin-bottom: 8px;
	padding-bottom: 6px; border-bottom: 1px solid #F0F0F0;
}

.ps-share-title {
	font-size: 12px; font-weight: 700;
	color: var(--ps-dark);
}

.ps-share-close-btn {
	background: none; border: none;
	font-size: 18px; cursor: pointer;
	color: #999999;
}

.ps-share-list {
	list-style: none; padding: 0;
	margin: 0; display: flex;
	flex-direction: column; gap: 4px;
}

.ps-share-item {
	display: flex; align-items: center;
	width: 100%; padding: 8px 10px;
	border: none; background: none;
	border-radius: var(--ps-radius-sm); font-size: 13px;
	font-weight: 500; color: var(--ps-dark);
	text-decoration: none; cursor: pointer;
	text-align: left; transition: background var(--ps-duration) var(--ps-ease);
}

.ps-share-item:hover { background: var(--ps-grey-bg); }

.ps-share-divider {
	height: 1px; background: #F0F0F0;
	margin: 4px 0;
}

.ps-share-toast {
	font-size: 12px; color: var(--ps-green);
	font-weight: 600; padding: 6px 4px 0;
	text-align: center;
}

/* Fila de Precios */
.ps-price-row {
	display: flex; align-items: baseline;
	gap: 12px; margin-bottom: 18px;
}

.ps-price-sale {
	font-size: 30px; font-weight: 700;
	color: var(--ps-red);
}

.ps-price-normal {
	font-size: 30px; font-weight: 700;
	color: var(--ps-dark);
}

.ps-price-regular {
	font-size: 18px; font-weight: 400;
	color: var(--ps-grey-muted); text-decoration: line-through;
}

.ps-discount-badge {
	background: var(--ps-red-soft); color: var(--ps-red);
	font-size: 13px; font-weight: 700;
	padding: 3px 10px; border-radius: var(--ps-radius-pill);
}

/* Descripción Corta */
.ps-short-description {
	font-size: 14px; color: var(--ps-grey-text);
	line-height: 1.6; margin-bottom: 22px;
}

/* Variaciones: Colores */
.ps-variation-block { margin-bottom: 20px; }

.ps-variation-header {
	display: flex; justify-content: space-between;
	align-items: center; margin-bottom: 10px;
}

.ps-variation-title {
	font-size: 14px; font-weight: 500;
	color: var(--ps-dark);
}

.ps-selected-value { font-weight: 700; margin-left: 4px; }

.ps-swatches-list {
	display: flex; flex-wrap: wrap;
	gap: 12px;
}

.ps-swatch-btn {
	width: 36px; height: 36px;
	padding: 3px; background: none;
	border: 2px solid transparent; border-radius: 50%;
	cursor: pointer; display: flex;
	align-items: center; justify-content: center;
	transition: border-color var(--ps-duration) var(--ps-ease), transform var(--ps-duration) var(--ps-ease);
}

.ps-swatch-btn:hover { transform: scale(1.08); }

.ps-swatch-btn.is-selected { border-color: var(--ps-red); }

.ps-swatch-circle {
	width: 100%; height: 100%;
	border-radius: 50%; display: block;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Variaciones: Tallas */
.ps-btn-size-guide {
	display: inline-flex; align-items: center;
	gap: 5px; background: none;
	border: none; font-size: 13px;
	font-weight: 600; color: var(--ps-dark);
	text-decoration: underline; cursor: pointer;
	padding: 0; transition: color var(--ps-duration) var(--ps-ease);
}

.ps-btn-size-guide:hover { color: var(--ps-red); }

.ps-sizes-list {
	display: flex; flex-wrap: wrap;
	gap: 8px;
}

.ps-size-btn {
	min-width: 48px; height: 42px;
	padding: 0 14px; background: #FFFFFF;
	border: 1px solid var(--ps-grey-border); border-radius: var(--ps-radius-sm);
	font-size: 14px; font-weight: 600;
	color: var(--ps-dark); cursor: pointer;
	transition: all var(--ps-duration) var(--ps-ease);
}

.ps-size-btn:hover { border-color: var(--ps-dark); }

.ps-size-btn.is-selected {
	background: var(--ps-dark); border-color: var(--ps-dark);
	color: #FFFFFF;
}

.ps-size-btn.is-disabled {
	opacity: 0.45; text-decoration: line-through;
	cursor: not-allowed;
}

/* Stepper y Stock */
.ps-purchase-controls-row {
	display: flex; align-items: center;
	gap: 20px; margin-bottom: 20px;
}

.ps-quantity-stepper {
	display: inline-flex; align-items: center;
	border: 1px solid var(--ps-grey-border); border-radius: var(--ps-radius-pill);
	padding: 4px; background: #FFFFFF;
}

.ps-qty-btn {
	width: 34px; height: 34px;
	border-radius: 50%; border: none;
	background: var(--ps-grey-bg); font-size: 16px;
	font-weight: 600; color: var(--ps-dark);
	cursor: pointer; display: flex;
	align-items: center; justify-content: center;
	transition: background var(--ps-duration) var(--ps-ease);
}

.ps-qty-btn:hover { background: #E8E8E8; }

.ps-qty-input {
	width: 44px; border: none;
	text-align: center; font-size: 15px;
	font-weight: 600; color: var(--ps-dark);
	background: transparent; -moz-appearance: textfield;
}

.ps-qty-input::-webkit-outer-spin-button,
.ps-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none; margin: 0;
}

.ps-sku-stock-meta {
	display: flex; flex-direction: column;
	gap: 3px; font-size: 12px;
	color: var(--ps-grey-muted);
}

.ps-stock-indicator { font-weight: 600; }

.ps-stock-indicator.is-in-stock { color: var(--ps-green); }

.ps-stock-indicator.is-out-of-stock { color: var(--ps-red); }

/* Botón Principal de WhatsApp */
.ps-cta-wrap { margin-bottom: 24px; }

.ps-btn-whatsapp {
	display: inline-flex; align-items: center;
	justify-content: center; gap: 10px;
	width: auto; max-width: 100%; height: 48px; min-height: 46px; max-height: 48px;
	padding: 0 28px; background: var(--ps-red);
	color: #FFFFFF; font-size: 15px;
	font-weight: 600; line-height: 1;
	text-decoration: none; border-radius: var(--ps-radius-pill);
	box-shadow: 0 2px 5px rgba(179, 0, 0, 0.12); cursor: pointer;
	transition: background-color var(--ps-duration) var(--ps-ease), transform var(--ps-duration) var(--ps-ease), box-shadow var(--ps-duration) var(--ps-ease);
}

.ps-btn-whatsapp:hover {
	background: var(--ps-red-hover); transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(179, 0, 0, 0.16);
}

.ps-btn-whatsapp:active { transform: scale(0.98); box-shadow: 0 1px 3px rgba(179, 0, 0, 0.1); }

.ps-btn-whatsapp.is-out-of-stock-btn { background: var(--ps-red); }

/* Tarjeta de Confianza / Garantías */
.ps-trust-card {
	background: #FFF9FA; border: 1px solid #F3E2E6;
	border-radius: 12px; padding: 12px 14px;
	margin-bottom: 20px;
}

.ps-trust-list {
	list-style: none; padding: 0;
	margin: 0; display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center; width: 100%;
}

.ps-trust-item {
	display: flex; align-items: center;
	justify-content: center; text-align: center;
	gap: 8px; min-width: 0;
}

.ps-trust-icon {
	color: #B30000; display: flex;
	align-items: center; justify-content: center;
	flex-shrink: 0;
}

.ps-trust-title {
	font-size: 12px; font-weight: 500;
	color: #2D3748; line-height: 1.25;
}

/* ==========================================================================
   7. Acordeones de Información Extendida
   ========================================================================== */
.ps-product-accordions-wrap { max-width: 860px; margin: 0 auto 56px; }

.ps-accordions-container { border-top: 1px solid var(--ps-grey-border); }

.ps-accordion-item { border-bottom: 1px solid var(--ps-grey-border); }

.ps-accordion-header {
	width: 100%; display: flex;
	justify-content: space-between; align-items: center;
	padding: 18px 0; background: none;
	border: none; font-size: 16px;
	font-weight: 600; color: var(--ps-dark);
	text-align: left; cursor: pointer;
	transition: color var(--ps-duration) var(--ps-ease);
}

.ps-accordion-header:hover { color: var(--ps-red); }

.ps-acc-chevron {
	display: flex; align-items: center;
	color: var(--ps-grey-muted); transition: transform 180ms var(--ps-ease);
}

.ps-accordion-item.is-open .ps-acc-chevron { transform: rotate(180deg); }

.ps-accordion-content { padding-bottom: 22px; }

.ps-acc-inner {
	font-size: 14px; color: var(--ps-grey-text);
	line-height: 1.65;
}

.ps-specs-table { width: 100%; border-collapse: collapse; }

.ps-specs-table th,
.ps-specs-table td {
	padding: 10px 12px; border-bottom: 1px solid #F0F0F0;
	font-size: 13px; text-align: left;
}

.ps-specs-table th {
	width: 35%; color: var(--ps-dark);
	font-weight: 600; background: #FAFAFA;
}

.ps-specs-table td { color: var(--ps-grey-text); }

.ps-delivery-list,
.ps-materials-list { padding-left: 20px; margin: 8px 0; }

.ps-faqs-list dt {
	font-weight: 700; color: var(--ps-dark);
	margin-top: 14px;
}

.ps-faqs-list dd {
	margin-left: 0; margin-bottom: 14px;
	color: var(--ps-grey-text);
}

.ps-docs-list {
	list-style: none; padding: 0;
	margin: 0; display: flex;
	flex-direction: column; gap: 10px;
}

.ps-doc-link {
	display: flex; align-items: center;
	gap: 10px; padding: 12px 16px;
	background: var(--ps-grey-bg); border: 1px solid var(--ps-grey-border);
	border-radius: var(--ps-radius-md); color: var(--ps-dark);
	text-decoration: none; font-weight: 600;
	transition: border-color var(--ps-duration) var(--ps-ease);
}

.ps-doc-link:hover { border-color: var(--ps-red); }

.ps-doc-badge {
	margin-left: auto; font-size: 12px;
	color: var(--ps-red);
}

.ps-video-embed-wrap {
	position: relative; width: 100%;
	aspect-ratio: 16 / 9; border-radius: var(--ps-radius-md);
	overflow: hidden;
}

.ps-video-embed-wrap iframe,
.ps-video-embed-wrap video {
	width: 100%; height: 100%;
	border: none;
}

/* ==========================================================================
   8. Sección de Reseñas y Valoraciones
.ps-product-reviews-wrap { max-width: 860px; margin: 0 auto 56px; }
.ps-product-reviews-wrap:empty { display: none !important; margin: 0 !important; padding: 0 !important; height: 0 !important; }

.ps-reviews-section { padding-top: 32px; border-top: 1px solid var(--ps-grey-border); }

.ps-reviews-title {
	font-size: 22px; font-weight: 600;
	color: var(--ps-dark); margin: 0 0 24px;
}

.ps-reviews-summary-grid {
	display: grid; grid-template-columns: 200px 1fr;
	gap: 32px; align-items: center;
	background: var(--ps-grey-bg); border: 1px solid var(--ps-grey-border);
	border-radius: var(--ps-radius-md); padding: 24px;
	margin-bottom: 32px;
}

.ps-reviews-score-card { text-align: center; }

.ps-score-big {
	font-size: 48px; font-weight: 700;
	color: var(--ps-dark); line-height: 1;
	margin-bottom: 6px;
}

.ps-score-stars {
	color: #E5A118; font-size: 18px;
	margin-bottom: 4px;
}

.ps-score-count { font-size: 12px; color: var(--ps-grey-muted); }

.ps-reviews-breakdown {
	display: flex; flex-direction: column;
	gap: 6px;
}

.ps-breakdown-row {
	display: flex; align-items: center;
	gap: 10px; font-size: 12px;
	color: var(--ps-grey-muted);
}

.ps-breakdown-label { width: 32px; text-align: right; }

.ps-breakdown-bar-bg {
	flex: 1; height: 8px;
	background: #EAEAEA; border-radius: var(--ps-radius-pill);
	overflow: hidden;
}

.ps-breakdown-bar-fill {
	height: 100%; background: #E5A118;
	border-radius: var(--ps-radius-pill);
}

.ps-breakdown-qty {
	width: 24px; font-weight: 600;
	color: var(--ps-dark);
}

.ps-reviews-list {
	list-style: none; padding: 0;
	margin: 0; display: flex;
	flex-direction: column; gap: 18px;
}

.ps-review-card {
	background: #FFFFFF; border: 1px solid var(--ps-grey-border);
	border-radius: var(--ps-radius-md); padding: 18px 20px;
}

.ps-review-card-header {
	display: flex; justify-content: space-between;
	align-items: center; margin-bottom: 8px;
}

.ps-badge-verified {
	font-size: 11px; font-weight: 600;
	color: var(--ps-green); margin-left: 8px;
}

.ps-review-card-date { font-size: 12px; color: var(--ps-grey-muted); }

.ps-review-card-stars {
	color: #E5A118; font-size: 14px;
	margin-bottom: 8px;
}

.ps-review-card-text {
	font-size: 14px; color: var(--ps-grey-text);
	line-height: 1.55;
}

/* Valoración Editorial */
.ps-editorial-review-card {
	background: #FFF9FA; border: 1px solid #F5D5D8;
	border-radius: var(--ps-radius-md); padding: 20px 24px;
}

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

.ps-editorial-tag {
	font-size: 13px; font-weight: 700;
	color: var(--ps-red); text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ps-editorial-score { font-size: 16px; color: var(--ps-dark); }

.ps-editorial-star { color: #E5A118; }

/* ==========================================================================
   9. Productos Relacionados ("También te puede interesar")
   ========================================================================== */
.ps-related-products { padding-top: 36px; border-top: 1px solid var(--ps-grey-border); }

.ps-related-heading {
	font-size: 24px; font-weight: 600;
	color: var(--ps-dark); margin: 0 0 28px;
	text-align: center;
}

.ps-related-grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.ps-related-products .ps-product-card,
.ps-related-card {
	display: flex; flex-direction: column;
	height: 100%; background: #FFFFFF;
	border: 1px solid #F1F5F9; border-radius: var(--ps-radius-md);
	overflow: hidden; transition: transform 0.25s var(--ps-ease), box-shadow 0.25s var(--ps-ease), border-color 0.25s;
}
.ps-related-products .ps-product-card:hover,
.ps-related-card:hover {
	transform: translateY(-4px); box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
	border-color: #E2E8F0;
}
.ps-related-products .ps-card-media,
.ps-related-card-media {
	position: relative; width: 100%;
	aspect-ratio: 4 / 5; background: #F8FAFC;
	overflow: hidden; display: block;
	margin: 0; padding: 0;
	border-radius: 9px 9px 0 0;
}
.ps-related-products .ps-card-img-link,
.ps-related-card-img-link {
	display: block; width: 100%;
	height: 100%;
}
.ps-related-products .ps-card-img-primary,
.ps-related-card-img {
	display: block; width: 100%;
	height: 100%; object-fit: cover;
}
.ps-related-products .ps-card-badges {
	position: absolute; top: 12px;
	left: 12px; display: flex;
	flex-direction: column; gap: 4px;
	z-index: 2; pointer-events: none;
}
.ps-related-products .ps-badge {
	display: inline-flex; align-items: center;
	font-size: 0.72rem; font-weight: 700;
	padding: 4px 10px; border-radius: var(--ps-radius-pill);
	line-height: 1.1; text-transform: uppercase;
	letter-spacing: 0.04em; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.ps-related-products .ps-badge-sale,
.ps-related-badge-sale {
	background: var(--ps-red); color: #FFFFFF;
	border: none;
}
.ps-related-products .ps-card-body,
.ps-related-card-body {
	padding: 14px; display: flex;
	flex-direction: column; flex-grow: 1;
}
.ps-related-products .ps-card-title,
.ps-related-card-title {
	font-size: 1.05rem; font-weight: 600;
	line-height: 1.3; color: var(--ps-dark);
	margin: 0 0 4px; display: -webkit-box;
	-webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden; min-height: 2.6em;
}
.ps-related-products .ps-card-title a,
.ps-related-card-title a {
	color: inherit; text-decoration: none;
	transition: color 0.15s;
}
.ps-related-products .ps-card-title a:hover,
.ps-related-card-title a:hover {
	color: var(--ps-red);
}
.ps-related-products .ps-card-brand {
	font-size: 0.72rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.06em;
	color: var(--ps-grey-muted); margin-bottom: 6px;
}
.ps-related-products .ps-card-rating {
	display: flex; align-items: center;
	gap: 4px; font-size: 0.76rem;
	color: var(--ps-grey-muted); margin-bottom: 6px;
}
.ps-related-products .ps-rating-star { color: var(--ps-red); font-size: 0.82rem; }
.ps-related-products .ps-card-price-row,
.ps-related-card-prices {
	display: flex; align-items: baseline;
	gap: 8px; flex-wrap: wrap;
	margin: 4px 0 8px;
}
.ps-related-products .ps-price-current,
.ps-related-card-prices .ps-price-normal {
	font-size: 1.05rem; font-weight: 700;
	color: #151515;
}
.ps-related-products .ps-price-regular,
.ps-related-card-prices del {
	font-size: 0.85rem; font-weight: 400;
	color: #8A8F98; text-decoration: line-through;
}
.ps-related-products .ps-price-sale,
.ps-related-card-prices .ps-price-sale {
	font-size: 1.05rem; font-weight: 700;
	color: var(--ps-red); text-decoration: none;
}
.ps-related-products .ps-card-swatches,
.ps-related-card-swatches {
	display: flex; align-items: center;
	gap: 6px; margin-bottom: 6px;
}
.ps-related-products .ps-swatch-dot,
.ps-card-swatch-dot {
	width: 14px; height: 14px;
	border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8) inset; box-sizing: border-box;
	display: inline-block; flex-shrink: 0;
}
.ps-related-products .ps-swatch-more,
.ps-card-swatch-more {
	font-size: 0.72rem; font-weight: 600;
	color: var(--ps-grey-muted); margin-left: 2px;
}
.ps-related-products .ps-card-sizes,
.ps-related-card-sizes {
	font-size: 0.76rem; color: #64748B;
	margin-bottom: 8px; font-weight: 500;
	letter-spacing: 0.02em;
}
.ps-related-products .ps-card-action,
.ps-related-card-footer {
	display: flex; align-items: center;
	margin-top: auto; padding-top: 10px;
	width: 100%;
}
.ps-related-products .ps-btn-detail,
.ps-btn-view-detail {
	width: 100%; height: 38px;
	line-height: 38px; padding: 0 16px;
	background-color: #FDF2F4; color: #631221;
	border-radius: var(--ps-radius-pill); font-weight: 600;
	font-size: 0.86rem; text-align: center;
	text-decoration: none; box-sizing: border-box;
	transition: background-color 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out, transform 0.16s ease-out; cursor: pointer;
	display: block; border: 1px solid transparent;
}
.ps-related-products .ps-btn-detail:hover,
.ps-btn-view-detail:hover {
	background-color: #FCE4E8; color: var(--ps-red);
	border-color: #F8D7DA;
}
.ps-related-products .ps-btn-detail:active,
.ps-btn-view-detail:active { transform: scale(0.97); }

/* ==========================================================================
   10. Barra Fija Móvil (Sticky Bottom Bar)
   ========================================================================== */
.ps-sticky-mobile-bar {
	position: fixed; bottom: 0;
	left: 0; right: 0;
	background: #FFFFFF; box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
	border-top: 1px solid var(--ps-grey-border); padding: 10px 16px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 999;
	transform: translateY(120%); transition: transform 180ms var(--ps-ease);
	display: none;
}

.ps-sticky-mobile-bar.is-visible { transform: translateY(0); }

.ps-sticky-bar-inner {
	display: flex; align-items: center;
	justify-content: space-between; gap: 12px;
	max-width: 600px; margin: 0 auto;
}

.ps-sticky-product-meta {
	display: flex; align-items: center;
	gap: 10px; min-width: 0;
}

.ps-sticky-thumb {
	width: 44px; height: 54px;
	object-fit: cover; border-radius: var(--ps-radius-sm);
	background: var(--ps-grey-bg); flex-shrink: 0;
}

.ps-sticky-info { min-width: 0; }

.ps-sticky-title {
	font-size: 13px; font-weight: 600;
	color: var(--ps-dark); white-space: nowrap;
	overflow: hidden; text-overflow: ellipsis;
	display: block;
}

.ps-sticky-prices {
	display: flex; align-items: baseline;
	gap: 6px;
}

.ps-sticky-sale-price {
	font-size: 16px; font-weight: 700;
	color: var(--ps-red);
}

.ps-sticky-reg-price {
	font-size: 12px; color: var(--ps-grey-muted);
	text-decoration: line-through;
}

.ps-btn-sticky-whatsapp {
	display: inline-flex; align-items: center;
	gap: 6px; background: var(--ps-red);
	color: #FFFFFF; font-size: 14px;
	font-weight: 600; padding: 10px 18px;
	border-radius: var(--ps-radius-pill); text-decoration: none;
	white-space: nowrap; flex-shrink: 0;
	box-shadow: 0 3px 10px rgba(179, 0, 0, 0.25);
}

/* ==========================================================================
   11. Modales Accesibles (Guía de Tallas y Lightbox)
   ========================================================================== */
.ps-modal-overlay,
.ps-lightbox-overlay {
	position: fixed; inset: 0;
	z-index: 10000; display: none;
	align-items: center; justify-content: center;
	padding: 20px;
}
.ps-modal-overlay.is-open:not([hidden]),
.ps-lightbox-overlay.is-open:not([hidden]) {
	display: flex;
}

.ps-modal-backdrop,
.ps-lightbox-backdrop {
	position: absolute; inset: 0;
	background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(4px);
}

.ps-modal-dialog {
	position: relative; background: #FFFFFF;
	border-radius: var(--ps-radius-lg); max-width: 640px;
	width: 100%; max-height: 90vh;
	display: flex; flex-direction: column;
	box-shadow: var(--ps-shadow-lg); z-index: 1;
	overflow: hidden; animation: psModalFadeIn 160ms var(--ps-ease);
}

@keyframes psModalFadeIn {
	from { opacity: 0; transform: scale(0.96); }
	to { opacity: 1; transform: scale(1); }
}

.ps-modal-header {
	display: flex; justify-content: space-between;
	align-items: center; padding: 18px 24px;
	border-bottom: 1px solid var(--ps-grey-border);
}

.ps-modal-title {
	font-size: 18px; font-weight: 600;
	color: var(--ps-dark); margin: 0;
}

.ps-modal-units-badge { font-size: 12px; color: var(--ps-grey-muted); }

.ps-modal-close-btn {
	background: none; border: none;
	font-size: 24px; cursor: pointer;
	color: var(--ps-grey-muted); padding: 0;
}

.ps-modal-body { padding: 24px; overflow-y: auto; }

.ps-modal-table-wrap { overflow-x: auto; margin-bottom: 20px; }

.ps-size-guide-table {
	width: 100%; border-collapse: collapse;
	font-size: 13px;
}

.ps-size-guide-table th,
.ps-size-guide-table td {
	padding: 10px 14px; border: 1px solid var(--ps-grey-border);
	text-align: center;
}

.ps-size-guide-table thead th {
	background: var(--ps-dark); color: #FFFFFF;
	font-weight: 600;
}

.ps-size-guide-table tbody th {
	background: var(--ps-grey-bg); color: var(--ps-dark);
	text-align: left;
}

.ps-modal-footer {
	padding: 16px 24px; border-top: 1px solid var(--ps-grey-border);
	text-align: right;
}

.ps-btn-modal-done {
	padding: 10px 24px; background: var(--ps-dark);
	color: #FFFFFF; border: none;
	border-radius: var(--ps-radius-pill); font-size: 14px;
	font-weight: 600; cursor: pointer;
}

/* Lightbox */
.ps-lightbox-container {
	position: relative; max-width: 900px;
	width: 100%; max-height: 94vh;
	display: flex; flex-direction: column;
	z-index: 1;
}

.ps-lightbox-top-bar {
	display: flex; justify-content: space-between;
	align-items: center; color: #FFFFFF;
	margin-bottom: 12px;
}

.ps-lightbox-counter { font-size: 14px; font-weight: 600; }

.ps-lightbox-close-btn {
	background: rgba(255, 255, 255, 0.15); border: none;
	color: #FFFFFF; width: 36px;
	height: 36px; border-radius: 50%;
	font-size: 22px; cursor: pointer;
	display: flex; align-items: center;
	justify-content: center;
}

.ps-lightbox-viewport {
	display: flex; align-items: center;
	justify-content: space-between; gap: 16px;
}

.ps-lightbox-nav-btn {
	background: rgba(255, 255, 255, 0.15); border: none;
	color: #FFFFFF; width: 44px;
	height: 44px; border-radius: 50%;
	cursor: pointer; display: flex;
	align-items: center; justify-content: center;
	transition: background var(--ps-duration) var(--ps-ease);
}

.ps-lightbox-nav-btn:hover { background: rgba(255, 255, 255, 0.3); }

.ps-lightbox-figure {
	margin: 0; flex: 1;
	display: flex; align-items: center;
	justify-content: center; max-height: 80vh;
}

.ps-lightbox-img {
	max-width: 100%; max-height: 80vh;
	object-fit: contain; border-radius: var(--ps-radius-md);
}

/* ==========================================================================
   12. Responsive Design (Tablets y Móviles)
   ========================================================================== */
@media (max-width: 1023px) {
	.ps-product-main-grid { grid-template-columns: 1fr; gap: 28px; }

	.ps-product-gallery { position: static; }

	.ps-gallery-desktop { display: none; }

	.ps-gallery-mobile {
		display: block; max-width: 440px;
		margin: 0 auto;
	}

	.ps-mobile-slider-wrap {
		position: relative; border-radius: var(--ps-radius-lg);
		overflow: hidden; background: var(--ps-grey-bg);
		aspect-ratio: 4 / 5; max-height: 480px;
	}

	.ps-mobile-slider {
		display: flex; overflow-x: auto;
		scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
		scrollbar-width: none; height: 100%;
	}

	.ps-mobile-slider::-webkit-scrollbar { display: none; }

	.ps-mobile-slide {
		flex: 0 0 100%; scroll-snap-align: center;
		height: 100%; position: relative;
	}

	.ps-mobile-slide-img {
		width: 100%; height: 100%;
		object-fit: cover; display: block;
	}

	.ps-mobile-counter {
		position: absolute; bottom: 12px;
		right: 12px; background: rgba(0, 0, 0, 0.6);
		backdrop-filter: blur(4px); color: #FFFFFF;
		font-size: 11px; font-weight: 600;
		padding: 3px 8px; border-radius: var(--ps-radius-pill);
		z-index: 2;
	}

	.ps-mobile-dots {
		display: flex; justify-content: center;
		gap: 6px; margin-top: 10px;
	}

	.ps-mobile-dot {
		width: 6px; height: 6px;
		border-radius: 50%; background: #D0D0D0;
		transition: all var(--ps-duration) var(--ps-ease);
	}

	.ps-mobile-dot.is-active {
		width: 18px; border-radius: var(--ps-radius-pill);
		background: var(--ps-red);
	}

	.ps-sticky-mobile-bar { display: block; }

	.ps-related-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 640px) {
	#ps-product-detail-root { font-family: var(--ps-font); padding: 12px 12px 64px; }

	.ps-gallery-mobile { max-width: 320px; margin: 0 auto; }

	.ps-mobile-slider-wrap { aspect-ratio: 4 / 5; max-height: 380px; }

	.ps-product-main-grid { gap: 20px; }

	.ps-product-title { font-size: 22px; line-height: 1.25; }

	.ps-price-sale,
	.ps-price-normal { font-size: 24px; }

	.ps-reviews-summary-grid { grid-template-columns: 1fr; gap: 20px; }

	.ps-related-grid-wrap {
		overflow-x: auto; padding-bottom: 12px;
		margin: 0 -12px; padding: 0 12px 12px;
		-webkit-overflow-scrolling: touch; scrollbar-width: none;
	}

	.ps-related-grid-wrap::-webkit-scrollbar { display: none; }

	.ps-related-grid {
		display: flex; width: max-content;
		gap: 14px;
	}

	.ps-related-card,
	.ps-related-grid .ps-product-card { width: 220px; flex-shrink: 0; }
}

/* ==========================================================================
   13. Reducción de Movimiento Accesible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	#ps-product-detail-root *,
	.ps-sticky-mobile-bar,
	.ps-modal-dialog {
		animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important; scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   Aislamiento Estricto, Inmunidad contra Elementor/Bersoft y Alineación a Maqueta
   ========================================================================== */

#ps-product-detail-root {
	box-sizing: border-box !important;
	max-width: 100% !important;
	overflow-x: clip !important;
}

#ps-product-detail-root *,
#ps-product-detail-root *::before,
#ps-product-detail-root *::after {
	box-sizing: border-box !important;
}

#ps-product-detail-root [hidden],
[hidden] {
	display: none !important;
}

/* Neutralización global de botones para evitar píldoras rojas heredadas */
#ps-product-detail-root button {
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-family: var(--ps-font) !important;
}

/* 1. Fila de metadatos: Valoración a la izquierda y Compartir a la derecha */
#ps-product-detail-root .ps-meta-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	width: 100% !important;
}

#ps-product-detail-root .ps-rating-badge {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--ps-dark) !important;
}

#ps-product-detail-root .ps-rating-stars {
	color: #E5A118 !important;
	font-size: 16px !important;
}

#ps-product-detail-root .ps-share-container {
	margin-left: auto !important;
	position: relative !important;
	display: inline-flex !important;
}

/* Botón Compartir neutral */
#ps-product-detail-root button.ps-btn-share,
#ps-product-detail-root .ps-btn-share {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 6px 14px !important;
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	border: 1px solid var(--ps-grey-border) !important;
	border-radius: var(--ps-radius-pill) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--ps-dark) !important;
	cursor: pointer !important;
	box-shadow: none !important;
	height: auto !important;
	min-height: auto !important;
	transition: border-color var(--ps-duration) var(--ps-ease), background-color var(--ps-duration) var(--ps-ease) !important;
}

#ps-product-detail-root button.ps-btn-share:hover,
#ps-product-detail-root .ps-btn-share:hover {
	border-color: #B0B0B0 !important;
	background: var(--ps-grey-bg) !important;
	background-color: var(--ps-grey-bg) !important;
	color: var(--ps-dark) !important;
}

#ps-product-detail-root .ps-btn-share svg {
	stroke: var(--ps-dark) !important;
}

/* Popover Compartir compacto y alineado a la derecha */
/* Popover Compartir: una sola fila horizontal en escritorio, cuadrícula 3x2 en móvil */
#ps-product-detail-root .ps-share-popover {
	position: absolute !important;
	top: calc(100% + 8px) !important;
	right: 0 !important;
	left: auto !important;
	width: auto !important;
	min-width: 480px !important;
	max-width: calc(100vw - 32px) !important;
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	border: 1px solid #E2E8F0 !important;
	border-radius: var(--ps-radius-md) !important;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
	padding: 12px 14px !important;
	z-index: 100 !important;
}

#ps-product-detail-root .ps-share-popover-header {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin-bottom: 8px !important;
	padding-bottom: 6px !important;
	border-bottom: 1px solid #F1F5F9 !important;
}

#ps-product-detail-root .ps-share-title {
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #64748B !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

#ps-product-detail-root button.ps-share-close-btn,
#ps-product-detail-root .ps-share-close-btn {
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	max-width: 24px !important;
	min-height: 24px !important;
	max-height: 24px !important;
	border-radius: 50% !important;
	background: #F1F5F9 !important;
	background-color: #F1F5F9 !important;
	border: 1px solid #E2E8F0 !important;
	color: #64748B !important;
	font-size: 14px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	box-shadow: none !important;
	transition: background-color var(--ps-duration) var(--ps-ease), color var(--ps-duration) var(--ps-ease) !important;
}

#ps-product-detail-root button.ps-share-close-btn:hover,
#ps-product-detail-root .ps-share-close-btn:hover {
	background: #E2E8F0 !important;
	color: var(--ps-dark) !important;
}

#ps-product-detail-root .ps-share-grid {
	display: grid !important;
	grid-template-columns: repeat(6, 1fr) !important;
	gap: 6px !important;
}

#ps-product-detail-root button.ps-share-item,
#ps-product-detail-root a.ps-share-item,
#ps-product-detail-root .ps-share-item {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	padding: 8px 6px !important;
	background: transparent !important;
	background-color: transparent !important;
	border: 1px solid transparent !important;
	border-radius: var(--ps-radius-sm) !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	color: #1E293B !important;
	text-decoration: none !important;
	cursor: pointer !important;
	text-align: center !important;
	box-shadow: none !important;
	height: auto !important;
	min-height: auto !important;
	line-height: 1.2 !important;
	transition: background-color var(--ps-duration) var(--ps-ease), color var(--ps-duration) var(--ps-ease), border-color var(--ps-duration) var(--ps-ease) !important;
}

#ps-product-detail-root button.ps-share-item:hover,
#ps-product-detail-root a.ps-share-item:hover,
#ps-product-detail-root .ps-share-item:hover {
	background: #FFF5F6 !important;
	background-color: #FFF5F6 !important;
	color: #B30000 !important;
	border-color: #F8D7DA !important;
}

#ps-product-detail-root .ps-share-icon {
	width: 22px !important;
	height: 22px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	color: currentColor !important;
}

#ps-product-detail-root .ps-share-icon svg {
	width: 18px !important;
	height: 18px !important;
}

#ps-product-detail-root .ps-share-label {
	display: block !important;
	white-space: nowrap !important;
}

#ps-product-detail-root .ps-share-toast {
	font-size: 12px !important;
	color: var(--ps-green) !important;
	font-weight: 600 !important;
	padding: 6px 4px 0 !important;
	text-align: center !important;
}

@media (max-width: 640px) {
	#ps-product-detail-root .ps-share-popover {
		width: calc(100vw - 32px) !important;
		min-width: 280px !important;
		max-width: 340px !important;
	}
	#ps-product-detail-root .ps-share-grid {
		grid-template-columns: repeat(3, 1fr) !important;
		grid-template-rows: repeat(2, 1fr) !important;
		gap: 8px !important;
	}
}

/* 2. Galería de Fotos idéntica a Captura 4 (Aislamiento Responsivo Estricto) */
@media (min-width: 1024px) {
	#ps-product-detail-root .ps-gallery-desktop {
		display: flex !important;
		gap: 16px !important;
		align-items: flex-start !important;
	}
	#ps-product-detail-root .ps-gallery-mobile {
		display: none !important;
	}
}

@media (max-width: 1023px) {
	#ps-product-detail-root .ps-gallery-desktop {
		display: none !important;
	}
	#ps-product-detail-root .ps-gallery-mobile {
		display: block !important;
	}
}

#ps-product-detail-root .ps-gallery-thumbs-col {
	width: 76px !important;
	flex-shrink: 0 !important;
}

#ps-product-detail-root .ps-gallery-thumbs-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}

#ps-product-detail-root .ps-gallery-thumb-item {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#ps-product-detail-root button.ps-gallery-thumb-btn,
#ps-product-detail-root .ps-gallery-thumb-btn {
	width: 76px !important;
	height: 96px !important;
	min-width: 76px !important;
	min-height: 96px !important;
	padding: 0 !important;
	border: 2px solid transparent !important;
	border-radius: 8px !important;
	background: #F5F5F5 !important;
	background-color: #F5F5F5 !important;
	cursor: pointer !important;
	overflow: hidden !important;
	position: relative !important;
	box-shadow: none !important;
	display: block !important;
	transition: border-color var(--ps-duration) var(--ps-ease), transform var(--ps-duration) var(--ps-ease) !important;
}

#ps-product-detail-root button.ps-gallery-thumb-btn:hover,
#ps-product-detail-root .ps-gallery-thumb-btn:hover {
	border-color: #D8D8D8 !important;
	transform: translateY(-2px) !important;
}

#ps-product-detail-root button.ps-gallery-thumb-btn.is-active,
#ps-product-detail-root .ps-gallery-thumb-btn.is-active {
	border-color: var(--ps-red) !important;
}

#ps-product-detail-root .ps-gallery-thumb-btn img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

#ps-product-detail-root .ps-gallery-thumb-video {
	background: #1E293B !important;
	background-color: #1E293B !important;
	color: #FFFFFF !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
}

#ps-product-detail-root .ps-gallery-main-col {
	flex: 1 !important;
	min-width: 0 !important;
}

#ps-product-detail-root .ps-gallery-main-viewport {
	position: relative !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	background: #F8FAFC !important;
	border: 1px solid var(--ps-grey-border) !important;
}

#ps-product-detail-root .ps-gallery-main-figure {
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	aspect-ratio: 4 / 5 !important;
	background: #FAFAFA !important;
	cursor: pointer !important;
}

#ps-product-detail-root .ps-gallery-main-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	cursor: pointer !important;
	transition: opacity 160ms var(--ps-ease) !important;
}

#ps-product-detail-root .ps-gallery-actions {
	position: absolute !important;
	bottom: 16px !important;
	left: 16px !important;
	right: 16px !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	pointer-events: none !important;
	z-index: 2 !important;
}

#ps-product-detail-root button.ps-gallery-action-btn,
#ps-product-detail-root .ps-gallery-action-btn {
	pointer-events: auto !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	background: rgba(255, 255, 255, 0.95) !important;
	background-color: rgba(255, 255, 255, 0.95) !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: var(--ps-radius-pill) !important;
	padding: 8px 16px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--ps-dark) !important;
	cursor: pointer !important;
	box-shadow: var(--ps-shadow-sm) !important;
	height: auto !important;
	min-height: auto !important;
	transition: background-color var(--ps-duration) var(--ps-ease), transform var(--ps-duration) var(--ps-ease) !important;
}

#ps-product-detail-root button.ps-gallery-action-btn:hover,
#ps-product-detail-root .ps-gallery-action-btn:hover {
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	transform: translateY(-2px) !important;
}

#ps-product-detail-root button.ps-gallery-zoom-btn,
#ps-product-detail-root .ps-gallery-zoom-btn {
	pointer-events: auto !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.95) !important;
	background-color: rgba(255, 255, 255, 0.95) !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	color: var(--ps-dark) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	cursor: pointer !important;
	box-shadow: var(--ps-shadow-sm) !important;
	transition: background-color var(--ps-duration) var(--ps-ease), transform var(--ps-duration) var(--ps-ease) !important;
}

#ps-product-detail-root button.ps-gallery-zoom-btn:hover,
#ps-product-detail-root .ps-gallery-zoom-btn:hover {
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	transform: translateY(-2px) !important;
}

/* 3. Lightbox Discreto y Accesible (Sin píldoras rojas ni apertura involuntaria) */
.ps-lightbox-overlay {
	position: fixed !important;
	inset: 0 !important;
	z-index: 99999 !important;
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 20px !important;
}

.ps-lightbox-overlay.is-open:not([hidden]) {
	display: flex !important;
}

/* Blindaje anti-sobrescritura de Elementor o tema para modales en estado oculto */
#ps-product-detail-root [hidden],
#ps-product-detail-root .ps-lightbox-overlay[hidden],
#ps-product-detail-root .ps-lightbox-overlay:not(.is-open),
#ps-product-detail-root .ps-modal-overlay[hidden],
#ps-product-detail-root .ps-modal-overlay:not(.is-open),
#ps-modal-lightbox[hidden],
#ps-modal-lightbox[aria-hidden="true"],
#ps-modal-lightbox:not(.is-open),
#ps-modal-size-guide[hidden],
#ps-modal-size-guide[aria-hidden="true"],
#ps-modal-size-guide:not(.is-open),
.ps-lightbox-overlay[hidden],
.ps-lightbox-overlay:not(.is-open),
.ps-modal-overlay[hidden],
.ps-modal-overlay:not(.is-open),
[hidden] {
	display: none !important;
}

.ps-lightbox-backdrop {
	position: absolute !important;
	inset: 0 !important;
	background: rgba(0, 0, 0, 0.88) !important;
	background-color: rgba(0, 0, 0, 0.88) !important;
	backdrop-filter: blur(6px) !important;
}

.ps-lightbox-container {
	position: relative !important;
	max-width: 960px !important;
	width: 100% !important;
	max-height: 94vh !important;
	display: flex !important;
	flex-direction: column !important;
	z-index: 1 !important;
}

.ps-lightbox-top-bar {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	color: #FFFFFF !important;
	margin-bottom: 12px !important;
}

.ps-lightbox-counter {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #FFFFFF !important;
}

.ps-lightbox-overlay button.ps-lightbox-close-btn,
.ps-lightbox-close-btn {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.2) !important;
	background-color: rgba(255, 255, 255, 0.2) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	color: #FFFFFF !important;
	font-size: 20px !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
	padding: 0 !important;
	cursor: pointer !important;
	transition: background-color var(--ps-duration) var(--ps-ease) !important;
}

.ps-lightbox-overlay button.ps-lightbox-close-btn:hover,
.ps-lightbox-close-btn:hover {
	background: rgba(255, 255, 255, 0.35) !important;
	background-color: rgba(255, 255, 255, 0.35) !important;
	color: #FFFFFF !important;
}

.ps-lightbox-viewport {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
	width: 100% !important;
}

.ps-lightbox-overlay button.ps-lightbox-nav-btn,
.ps-lightbox-nav-btn {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.2) !important;
	background-color: rgba(255, 255, 255, 0.2) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	color: #FFFFFF !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
	padding: 0 !important;
	cursor: pointer !important;
	flex-shrink: 0 !important;
	transition: background-color var(--ps-duration) var(--ps-ease) !important;
}

.ps-lightbox-overlay button.ps-lightbox-nav-btn:hover,
.ps-lightbox-nav-btn:hover {
	background: rgba(255, 255, 255, 0.35) !important;
	background-color: rgba(255, 255, 255, 0.35) !important;
	color: #FFFFFF !important;
}

.ps-lightbox-figure {
	margin: 0 !important;
	flex: 1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	max-height: 80vh !important;
	overflow: hidden !important;
}

.ps-lightbox-img {
	max-width: 100% !important;
	max-height: 80vh !important;
	object-fit: contain !important;
	border-radius: var(--ps-radius-md) !important;
}

/* 4. Colores (Swatches con visibilidad en blanco y segundo anillo activo) */
#ps-product-detail-root .ps-swatches-list {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 14px !important;
}

#ps-product-detail-root .ps-swatch-item {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 4px !important;
}

#ps-product-detail-root button.ps-swatch-btn,
#ps-product-detail-root .ps-swatch-btn {
	width: 38px !important;
	height: 38px !important;
	min-width: 38px !important;
	max-width: 38px !important;
	min-height: 38px !important;
	max-height: 38px !important;
	padding: 2px !important;
	background: transparent !important;
	background-color: transparent !important;
	border: 2px solid transparent !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
	transition: border-color var(--ps-duration) var(--ps-ease), transform var(--ps-duration) var(--ps-ease) !important;
}

#ps-product-detail-root button.ps-swatch-btn:hover,
#ps-product-detail-root .ps-swatch-btn:hover {
	transform: scale(1.06) !important;
}

#ps-product-detail-root button.ps-swatch-btn.is-selected,
#ps-product-detail-root .ps-swatch-btn.is-selected {
	border-color: var(--ps-dark) !important;
}

#ps-product-detail-root .ps-swatch-circle {
	width: 100% !important;
	height: 100% !important;
	border-radius: 50% !important;
	border: 1px solid #D1D5DB !important;
	box-sizing: border-box !important;
	display: block !important;
}

#ps-product-detail-root .ps-swatch-name {
	font-size: 11px !important;
	font-weight: 500 !important;
	color: var(--ps-dark) !important;
	text-align: center !important;
}

/* Tallas: normal neutral, activa en color oscuro (#161615) */
#ps-product-detail-root button.ps-size-btn,
#ps-product-detail-root .ps-size-btn {
	min-width: 48px !important;
	height: 42px !important;
	padding: 0 14px !important;
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	border: 1px solid var(--ps-grey-border) !important;
	border-radius: var(--ps-radius-sm) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--ps-dark) !important;
	cursor: pointer !important;
	box-shadow: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

#ps-product-detail-root button.ps-size-btn:hover,
#ps-product-detail-root .ps-size-btn:hover {
	border-color: var(--ps-dark) !important;
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	color: var(--ps-dark) !important;
}

#ps-product-detail-root button.ps-size-btn.is-selected,
#ps-product-detail-root .ps-size-btn.is-selected {
	background: var(--ps-dark) !important;
	background-color: var(--ps-dark) !important;
	border-color: var(--ps-dark) !important;
	color: #FFFFFF !important;
}

/* Enlace Guía de tallas neutral */
#ps-product-detail-root button.ps-btn-size-guide,
#ps-product-detail-root .ps-btn-size-guide {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	background: none !important;
	background-color: transparent !important;
	border: none !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--ps-dark) !important;
	text-decoration: underline !important;
	cursor: pointer !important;
	padding: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

#ps-product-detail-root button.ps-btn-size-guide:hover,
#ps-product-detail-root .ps-btn-size-guide:hover {
	color: var(--ps-red) !important;
}

/* Modal Guía de tallas: botón de cierre pequeño y circular */
.ps-modal-overlay button.ps-modal-close-btn,
.ps-modal-close-btn {
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	max-width: 32px !important;
	min-height: 32px !important;
	max-height: 32px !important;
	border-radius: 50% !important;
	background: #F1F5F9 !important;
	background-color: #F1F5F9 !important;
	border: 1px solid #E2E8F0 !important;
	font-size: 18px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	color: #64748B !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
	transition: background-color var(--ps-duration) var(--ps-ease), color var(--ps-duration) var(--ps-ease) !important;
}

.ps-modal-overlay button.ps-modal-close-btn:hover,
.ps-modal-close-btn:hover {
	background: #E2E8F0 !important;
	background-color: #E2E8F0 !important;
	color: var(--ps-dark) !important;
}

/* 5. Cantidad, SKU y Stock */
#ps-product-detail-root .ps-quantity-block {
	margin-bottom: 14px !important;
}

#ps-product-detail-root .ps-quantity-label {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--ps-dark) !important;
	margin-bottom: 8px !important;
	display: block !important;
}

#ps-product-detail-root .ps-purchase-controls-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
	width: 100% !important;
	margin-bottom: 0 !important;
}

#ps-product-detail-root .ps-quantity-stepper {
	display: inline-flex !important;
	align-items: center !important;
	border: 1px solid var(--ps-grey-border) !important;
	border-radius: var(--ps-radius-pill) !important;
	padding: 4px !important;
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
}

#ps-product-detail-root button.ps-qty-btn,
#ps-product-detail-root .ps-qty-btn {
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	max-width: 32px !important;
	min-height: 32px !important;
	max-height: 32px !important;
	border-radius: 50% !important;
	border: none !important;
	background: #F1F5F9 !important;
	background-color: #F1F5F9 !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--ps-dark) !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	line-height: 1 !important;
	box-shadow: none !important;
}

#ps-product-detail-root button.ps-qty-btn:hover,
#ps-product-detail-root .ps-qty-btn:hover {
	background: #E2E8F0 !important;
	background-color: #E2E8F0 !important;
	color: var(--ps-dark) !important;
}

#ps-product-detail-root input.ps-qty-input,
#ps-product-detail-root .ps-qty-input {
	width: 44px !important;
	border: none !important;
	text-align: center !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: var(--ps-dark) !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	height: auto !important;
}

#ps-product-detail-root .ps-sku-stock-meta {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	text-align: right !important;
	margin-left: auto !important;
	font-size: 12px !important;
	color: var(--ps-grey-muted) !important;
	gap: 2px !important;
}

#ps-product-detail-root .ps-sku-stock-meta .ps-sku-val {
	font-weight: 600 !important;
	color: var(--ps-dark) !important;
}

/* 6. Botón de Compra por WhatsApp (Centrado 360px escritorio, 100% móvil, Rojo Oficial, Sombra Sutil) */
#ps-product-detail-root .ps-cta-wrap {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	margin: 14px 0 16px !important;
}

#ps-product-detail-root a.ps-btn-whatsapp,
#ps-product-detail-root .ps-btn-whatsapp {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	width: 360px !important;
	max-width: 100% !important;
	height: 48px !important;
	min-height: 46px !important;
	max-height: 48px !important;
	padding: 0 24px !important;
	margin: 0 auto !important;
	background: #B30000 !important;
	background-color: #B30000 !important;
	color: #FFFFFF !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	border-radius: 9999px !important;
	text-decoration: none !important;
	border: none !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
	cursor: pointer !important;
	transition: background-color 160ms cubic-bezier(0.16, 1, 0.3, 1), transform 120ms ease-out, box-shadow 160ms ease-out !important;
}

#ps-product-detail-root a.ps-btn-whatsapp:hover,
#ps-product-detail-root .ps-btn-whatsapp:hover {
	background: #990000 !important;
	background-color: #990000 !important;
	color: #FFFFFF !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 10px rgba(179, 0, 0, 0.18) !important;
}

#ps-product-detail-root a.ps-btn-whatsapp:active,
#ps-product-detail-root .ps-btn-whatsapp:active {
	transform: scale(0.98) !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Estado previo a la selección (Deshabilitado visualmente) */
#ps-product-detail-root a.ps-btn-whatsapp.is-disabled,
#ps-product-detail-root .ps-btn-whatsapp.is-disabled {
	background: #94A3B8 !important;
	background-color: #94A3B8 !important;
	color: #FFFFFF !important;
	opacity: 0.9 !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
	transform: none !important;
	pointer-events: auto !important;
}

#ps-product-detail-root a.ps-btn-whatsapp.is-disabled:hover,
#ps-product-detail-root .ps-btn-whatsapp.is-disabled:hover {
	background: #94A3B8 !important;
	background-color: #94A3B8 !important;
	color: #FFFFFF !important;
	transform: none !important;
	box-shadow: none !important;
}

#ps-product-detail-root .ps-btn-whatsapp svg {
	width: 20px !important;
	height: 20px !important;
	fill: currentColor !important;
	flex-shrink: 0 !important;
}

/* Mensaje inline accesible bajo el botón de WhatsApp */
#ps-product-detail-root .ps-selection-hint {
	font-size: 13px !important;
	color: #B30000 !important;
	font-weight: 600 !important;
	margin-top: 8px !important;
	text-align: center !important;
	line-height: 1.4 !important;
}

/* Microanimación sutil en el selector pendiente */
@keyframes psPulsePending {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(179, 0, 0, 0);
	}
	50% {
		box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.35);
	}
}

#ps-product-detail-root .ps-variation-block.ps-highlight-pending {
	animation: psPulsePending 0.8s ease-in-out 2 !important;
	border-radius: 8px !important;
	outline: 2px dashed rgba(179, 0, 0, 0.45) !important;
	outline-offset: 4px !important;
}

/* Ritmo vertical optimizado de la columna comercial */
#ps-product-detail-root .ps-short-description {
	margin-bottom: 12px !important;
}

#ps-product-detail-root .ps-variation-block {
	margin-bottom: 14px !important;
}

#ps-product-detail-root .ps-variation-header {
	margin-bottom: 6px !important;
}

@media (max-width: 480px) {
	#ps-product-detail-root a.ps-btn-whatsapp,
	#ps-product-detail-root .ps-btn-whatsapp {
		width: 100% !important;
		justify-content: center !important;
		padding: 0 20px !important;
	}
}

/* 7. Tarjeta de Confianza / Garantías (Envío, Retiro y Empaque Discreto — SIEMPRE en 1 sola fila en desktop, tablet y celular) */
#ps-product-detail-root .ps-trust-card,
#ps-product-detail-root div.ps-trust-card {
	background: #FFF9FA !important;
	background-color: #FFF9FA !important;
	border: 1px solid #F3E2E6 !important;
	border-radius: 12px !important;
	padding: 12px 14px !important;
	margin: 0 0 20px !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}

#ps-product-detail-root .ps-trust-list,
#ps-product-detail-root div.ps-trust-list {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	grid-auto-flow: column !important;
	align-items: center !important;
	justify-content: stretch !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	gap: 0 !important;
	box-sizing: border-box !important;
}

#ps-product-detail-root .ps-trust-item,
#ps-product-detail-root div.ps-trust-item {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	gap: 8px !important;
	padding: 0 8px !important;
	margin: 0 !important;
	min-width: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	height: 100% !important;
	box-sizing: border-box !important;
}

/* Divisor vertical únicamente entre las columnas (col 1 y col 2 tienen borde derecho, col 3 no) */
#ps-product-detail-root .ps-trust-divider {
	display: none !important;
}

#ps-product-detail-root .ps-trust-item:not(:last-of-type) {
	border-right: 1px solid #EBD4D9 !important;
}

#ps-product-detail-root .ps-trust-item:last-of-type {
	border-right: none !important;
}

#ps-product-detail-root .ps-trust-icon {
	color: #B30000 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

#ps-product-detail-root .ps-trust-icon svg {
	stroke: #B30000 !important;
	width: 22px !important;
	height: 22px !important;
	display: block !important;
}

#ps-product-detail-root .ps-trust-title {
	font-size: 12px !important;
	font-weight: 500 !important;
	color: #2D3748 !important;
	line-height: 1.25 !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
	min-width: 0 !important;
	overflow-wrap: break-word !important;
}

/* Tablet y Celular (incluyendo 390px y 360px): 3 columnas se mantienen, icono encima del texto y texto hasta 2 líneas */
@media (max-width: 768px) {
	#ps-product-detail-root .ps-trust-card,
	#ps-product-detail-root div.ps-trust-card {
		padding: 10px 4px !important;
	}

	#ps-product-detail-root .ps-trust-list,
	#ps-product-detail-root div.ps-trust-list {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		grid-auto-flow: column !important;
		width: 100% !important;
		gap: 0 !important;
	}

	#ps-product-detail-root .ps-trust-item,
	#ps-product-detail-root div.ps-trust-item {
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		gap: 4px !important;
		padding: 0 4px !important;
		margin: 0 !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	#ps-product-detail-root .ps-trust-icon svg {
		width: 20px !important;
		height: 20px !important;
	}

	#ps-product-detail-root .ps-trust-title {
		font-size: 11px !important;
		line-height: 1.2 !important;
		text-align: center !important;
		display: block !important;
	}
}

@media (max-width: 375px) {
	#ps-product-detail-root .ps-trust-card,
	#ps-product-detail-root div.ps-trust-card {
		padding: 8px 2px !important;
	}

	#ps-product-detail-root .ps-trust-item,
	#ps-product-detail-root div.ps-trust-item {
		padding: 0 2px !important;
		gap: 3px !important;
	}

	#ps-product-detail-root .ps-trust-icon svg {
		width: 18px !important;
		height: 18px !important;
	}

	#ps-product-detail-root .ps-trust-title {
		font-size: 10px !important;
		line-height: 1.15 !important;
	}
}

/* 8. Acordeones: fondo blanco, borde gris, texto oscuro, iconos + y − */
#ps-product-detail-root .ps-accordions-container {
	border-top: 1px solid var(--ps-grey-border) !important;
	background: #FFFFFF !important;
}

#ps-product-detail-root .ps-accordion-item {
	border-bottom: 1px solid var(--ps-grey-border) !important;
	background: #FFFFFF !important;
}

#ps-product-detail-root button.ps-accordion-header,
#ps-product-detail-root .ps-accordion-header {
	width: 100% !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 18px 0 !important;
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	border: none !important;
	border-radius: 0 !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--ps-dark) !important;
	text-align: left !important;
	cursor: pointer !important;
	box-shadow: none !important;
	line-height: 1.4 !important;
	height: auto !important;
	min-height: auto !important;
}

#ps-product-detail-root button.ps-accordion-header:hover,
#ps-product-detail-root .ps-accordion-header:hover {
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	color: var(--ps-dark) !important;
}

#ps-product-detail-root .ps-acc-title {
	color: var(--ps-dark) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
}

#ps-product-detail-root .ps-acc-toggle {
	color: var(--ps-dark) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 20px !important;
	height: 20px !important;
	flex-shrink: 0 !important;
}

#ps-product-detail-root .ps-accordion-item .ps-acc-icon-plus {
	display: block !important;
}

#ps-product-detail-root .ps-accordion-item .ps-acc-icon-minus {
	display: none !important;
}

#ps-product-detail-root .ps-accordion-item.is-open .ps-acc-icon-plus {
	display: none !important;
}

#ps-product-detail-root .ps-accordion-item.is-open .ps-acc-icon-minus {
	display: block !important;
}

#ps-product-detail-root .ps-accordion-content {
	padding-bottom: 22px !important;
	background: #FFFFFF !important;
}

/* 9. Carrusel "También te puede interesar" */
#ps-product-detail-root .ps-related-carousel-wrap {
	position: relative !important;
	display: block !important;
	width: 100% !important;
}

#ps-product-detail-root .ps-related-track {
	display: flex !important;
	flex-wrap: nowrap !important;
	overflow-x: auto !important;
	scroll-snap-type: x mandatory !important;
	gap: 16px !important;
	width: 100% !important;
	padding: 8px 2px 18px !important;
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
	-webkit-overflow-scrolling: touch !important;
	box-sizing: border-box !important;
}

#ps-product-detail-root .ps-related-track::-webkit-scrollbar {
	display: none !important;
}

#ps-product-detail-root .ps-related-track .ps-product-card {
	flex: 0 0 calc((100% - 48px) / 4) !important;
	min-width: calc((100% - 48px) / 4) !important;
	max-width: calc((100% - 48px) / 4) !important;
	scroll-snap-align: start !important;
	scroll-snap-stop: normal !important;
	box-sizing: border-box !important;
}

#ps-product-detail-root button.ps-related-nav-btn,
#ps-product-detail-root .ps-related-nav-btn {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	border: 1px solid #CBD5E1 !important;
	color: #161615 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 10 !important;
	line-height: 1 !important;
	outline: none !important;
	box-sizing: border-box !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease !important;
}

#ps-product-detail-root .ps-related-prev {
	left: -20px !important;
}

#ps-product-detail-root .ps-related-next {
	right: -20px !important;
}

#ps-product-detail-root button.ps-related-nav-btn svg,
#ps-product-detail-root .ps-related-nav-btn svg {
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	min-height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
	stroke: #161615 !important;
	stroke-width: 2.5px !important;
	fill: none !important;
	display: block !important;
	margin: auto !important;
	color: #161615 !important;
	pointer-events: none !important;
}

#ps-product-detail-root button.ps-related-nav-btn:hover:not(:disabled),
#ps-product-detail-root .ps-related-nav-btn:hover:not(:disabled) {
	background: #F8FAFC !important;
	background-color: #F8FAFC !important;
	border-color: #94A3B8 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16) !important;
	transform: translateY(-50%) scale(1.05) !important;
}

#ps-product-detail-root button.ps-related-nav-btn:active:not(:disabled),
#ps-product-detail-root .ps-related-nav-btn:active:not(:disabled) {
	transform: translateY(-50%) scale(0.95) !important;
}

#ps-product-detail-root button.ps-related-nav-btn:disabled,
#ps-product-detail-root button.ps-related-nav-btn[disabled],
#ps-product-detail-root .ps-related-nav-btn:disabled,
#ps-product-detail-root .ps-related-nav-btn[disabled] {
	opacity: 0.3 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	box-shadow: none !important;
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	border-color: #E2E8F0 !important;
}

#ps-product-detail-root button.ps-related-nav-btn[hidden],
#ps-product-detail-root .ps-related-nav-btn[hidden],
#ps-product-detail-root button.ps-related-nav-btn.is-hidden,
#ps-product-detail-root .ps-related-nav-btn.is-hidden {
	display: none !important;
}

#ps-product-detail-root a.ps-btn-detail,
#ps-product-detail-root .ps-btn-detail {
	background-color: #FDF2F4 !important;
	color: #631221 !important;
	border-radius: var(--ps-radius-pill) !important;
	font-weight: 600 !important;
	border: 1px solid transparent !important;
	text-align: center !important;
	text-decoration: none !important;
	display: block !important;
	width: 100% !important;
	height: 38px !important;
	line-height: 38px !important;
	padding: 0 16px !important;
	box-sizing: border-box !important;
	transition: background-color var(--ps-duration) var(--ps-ease), color var(--ps-duration) var(--ps-ease) !important;
}

#ps-product-detail-root a.ps-btn-detail:hover,
#ps-product-detail-root .ps-btn-detail:hover {
	background-color: #FCE4E8 !important;
	color: var(--ps-red) !important;
	border-color: #F8D7DA !important;
}

/* 10. Precios oficiales y badges */
#ps-product-detail-root .ps-price-sale {
	font-size: 30px !important;
	font-weight: 700 !important;
	color: var(--ps-red) !important;
}

#ps-product-detail-root .ps-price-regular {
	font-size: 18px !important;
	font-weight: 400 !important;
	color: var(--ps-grey-muted) !important;
	text-decoration: line-through !important;
}

#ps-product-detail-root .ps-price-normal {
	font-size: 30px !important;
	font-weight: 700 !important;
	color: var(--ps-dark) !important;
}

#ps-product-detail-root .ps-discount-badge,
#ps-product-detail-root .ps-gallery-badge-sale {
	background: var(--ps-red-soft) !important;
	color: var(--ps-red) !important;
}

/* 11. Ajustes Responsivos Estrictos (768, 390, 360 px) */
@media (max-width: 768px) {
	#ps-product-detail-root .ps-related-track {
		gap: 12px !important;
		padding-bottom: 12px !important;
	}

	#ps-product-detail-root .ps-related-track .ps-product-card {
		flex: 0 0 calc((100% - 12px) / 2) !important;
		min-width: calc((100% - 12px) / 2) !important;
		max-width: calc((100% - 12px) / 2) !important;
	}

	#ps-product-detail-root button.ps-related-nav-btn,
	#ps-product-detail-root .ps-related-nav-btn {
		display: none !important;
	}
}

@media (max-width: 480px) {
	#ps-product-detail-root .ps-purchase-controls-row {
		flex-wrap: wrap !important;
		gap: 12px !important;
	}

	#ps-product-detail-root .ps-sku-stock-meta {
		align-items: flex-start !important;
		text-align: left !important;
		margin-left: 0 !important;
		width: 100% !important;
	}

	#ps-product-detail-root .ps-share-popover {
		right: 0 !important;
		width: calc(100vw - 32px) !important;
		max-width: 320px !important;
	}
}
