:root {
	--xsp-accent: #d97706;
	--xsp-text: #1a1a1a;
	--xsp-muted: #737373;
	--xsp-border: #eeeeee;
	--xsp-soft-border: #f5f5f5;
	--xsp-success: #22c55e;
}

html.xsp-modal-open,
html.xsp-modal-open body {
	overflow: hidden;
}

body.xsp-product-card .xsp-card,
body.xsp-product-card .xsp-card * {
	box-sizing: border-box;
}

body.xsp-product-card .xsp-card {
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
	background: transparent;
	color: var(--xsp-text);
	font-size: 12.5px;
	line-height: 1.5;
}

body.xsp-product-card .xsp-card * {
	margin: 0;
	padding: 0;
}

.xsp-card-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	padding: 0 0 12px;
	margin-bottom: 10px;
	border-bottom: 1px solid var(--xsp-border);
}

.xsp-platform-icon {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.xsp-platform-icon img,
.xsp-platform-icon svg {
	display: block;
	width: 24px !important;
	height: 24px !important;
	object-fit: contain;
	fill: #0078d4;
}

.xsp-separator {
	width: 1px;
	height: 15px;
	background: #d4d4d4;
	flex-shrink: 0;
}

.xsp-region {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	color: #525252;
}

.xsp-region strong {
	font-weight: 600;
	color: var(--xsp-text);
}

.xsp-online-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--xsp-success);
	box-shadow: 0 0 5px rgba(34, 197, 94, .5);
	flex-shrink: 0;
	animation: xsp-pulse 2.5s ease-in-out infinite;
}

@keyframes xsp-pulse {
	0%, 100% { box-shadow: 0 0 3px rgba(34, 197, 94, .35); }
	50% { box-shadow: 0 0 8px rgba(34, 197, 94, .7); }
}

.xsp-language-button {
	background: none !important;
	border: 0 !important;
	padding: 0 !important;
	font-size: 12.5px !important;
	font-weight: 400 !important;
	color: #525252 !important;
	cursor: pointer;
	min-height: auto !important;
	line-height: 1.5 !important;
	text-transform: none !important;
	box-shadow: none !important;
}

.xsp-language-button:hover {
	color: var(--xsp-text) !important;
}

.xsp-license-wrap {
	position: relative;
	display: inline-flex;
}

.xsp-license-button {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
	background: #fafafa !important;
	border: 1px solid #e5e5e5 !important;
	border-radius: 4px !important;
	padding: 2px 8px !important;
	min-height: auto !important;
	font-size: 11.5px !important;
	line-height: 1.5 !important;
	font-weight: 600 !important;
	color: var(--xsp-text) !important;
	cursor: pointer;
	text-transform: none !important;
	box-shadow: none !important;
}

.xsp-license-button:hover,
.xsp-license-wrap.is-open .xsp-license-button {
	border-color: #a3a3a3 !important;
}

.xsp-license-button svg {
	width: 12px;
	height: 12px;
	fill: #a3a3a3;
}

.xsp-license-popover {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	width: max-content;
	max-width: 310px;
	padding: 12px 14px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	background: #fff;
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s, visibility .15s;
	z-index: 9999;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
	font-weight: 400;
	white-space: normal;
	text-align: left;
	line-height: 1.45;
}

.xsp-license-popover::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 7px solid transparent;
	border-top-color: #fff;
}

.xsp-license-wrap:hover .xsp-license-popover,
.xsp-license-wrap:focus-within .xsp-license-popover,
.xsp-license-wrap.is-open .xsp-license-popover {
	opacity: 1;
	visibility: visible;
}

.xsp-license-row {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	padding: 6px 0;
	border-bottom: 1px solid var(--xsp-soft-border);
}

.xsp-license-row:last-child {
	border: 0;
	padding-bottom: 0;
}

.xsp-license-row:first-child {
	padding-top: 0;
}

.xsp-license-letter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 4px;
	flex-shrink: 0;
	background: #f5f5f5;
	color: #404040;
	font-size: 10px;
	font-weight: 700;
}

.xsp-license-letter--current {
	background: #fef3c7;
	color: #92400e;
}

.xsp-license-copy {
	flex: 1;
	font-size: 11px;
}

.xsp-license-name {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
	margin-bottom: 1px;
	color: var(--xsp-text);
	font-weight: 600;
}

.xsp-current-badge {
	padding: 1px 5px;
	border-radius: 3px;
	background: var(--xsp-accent);
	color: #fff;
	font-size: 8.5px;
	font-weight: 700;
	letter-spacing: .02em;
}

.xsp-license-alt {
	color: var(--xsp-accent);
	font-size: 10.5px;
	font-weight: 600;
	text-decoration: none;
}

.xsp-license-alt:hover {
	text-decoration: underline;
}

.xsp-license-description {
	display: block;
	color: var(--xsp-muted);
	line-height: 1.35;
}

.xsp-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin-bottom: 8px;
}

.xsp-feature {
	display: flex;
	gap: 7px;
	align-items: first baseline;
	padding: 7px 0;
	border-bottom: 1px solid var(--xsp-soft-border);
}

.xsp-feature:nth-child(odd) {
	padding-right: 12px;
	border-right: 1px solid var(--xsp-soft-border);
}

.xsp-feature:nth-child(even) {
	padding-left: 12px;
}

.xsp-feature:nth-last-child(-n+2) {
	border-bottom: 0;
}

.xsp-feature-check {
	color: var(--xsp-accent);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}

.xsp-feature strong {
	display: block;
	color: var(--xsp-text);
	font-size: 12.5px;
	line-height: 1.3;
}

.xsp-feature small {
	display: block;
	margin-top: 1px;
	color: var(--xsp-muted);
	font-size: 11px;
	line-height: 1.45;
}

.xsp-requirements {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 10px 4px 0;
	border-top: 1px solid var(--xsp-border);
	color: var(--xsp-muted);
	font-size: 11.5px;
	text-align: center;
}

.xsp-requirements-title {
	display: block;
	color: var(--xsp-text);
	font-weight: 600;
	line-height: 1.35;
}

.xsp-requirements-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	line-height: 1.45;
}

.xsp-requirements-line svg {
	display: block;
	width: 14px;
	height: 14px;
	fill: #0078d4;
	flex: 0 0 14px;
}

.xsp-guarantee {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 10px;
	padding: 10px 4px 0;
	border-top: 1px solid var(--xsp-border);
	color: #525252;
	font-size: 11.5px;
	text-align: center;
}

.xsp-guarantee svg {
	width: 15px;
	height: 15px;
	fill: var(--xsp-accent);
	flex-shrink: 0;
}

.xsp-language-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99998;
}

.xsp-language-modal.is-open {
	display: block;
}

.xsp-language-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	border: 0;
	background: rgba(15, 23, 42, .35);
	cursor: default;
}

.xsp-language-dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 2;
	transform: translate(-50%, -50%);
	width: min(720px, 95vw);
	max-height: 85vh;
	overflow-y: auto;
	padding: 18px 18px 20px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 40px rgba(15, 23, 42, .12);
	color: var(--xsp-text);
}

.xsp-language-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}

.xsp-language-header h3 {
	margin: 0;
	font-size: 21px;
}

.xsp-language-subtitle {
	margin: 0 0 12px;
	color: #6b7280;
	font-size: 12px;
}

.xsp-language-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.xsp-language-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px 5px 10px;
	border: 1px solid #e5e5e5;
	border-radius: 9999px;
	background: #fafafa;
	font-size: 12.5px;
}

.xsp-language-close {
	min-height: auto !important;
	padding: 2px 6px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #111 !important;
	font-size: 24px !important;
	line-height: 1 !important;
	cursor: pointer;
}

.xsp-sold-count {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	color: #343434;
	font-size: 16px;
	line-height: 1.2;
}

.xsp-sold-count strong {
	font-weight: 700;
}

.xsp-flame {
	width: 17px;
	height: 17px;
	fill: #ff7a00;
	flex-shrink: 0;
}

.xsp-product-rating {
	margin-bottom: 10px;
}

.xsp-product-rating a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.xsp-stars {
	position: relative;
	display: inline-block;
	width: 110px;
	height: 22px;
	font-size: 22px;
	line-height: 1;
	letter-spacing: 0;
}

.xsp-stars::before,
.xsp-stars > span::before {
	content: "★★★★★";
	position: absolute;
	inset: 0;
	white-space: nowrap;
}

.xsp-stars::before {
	color: #d0d0d0;
}

.xsp-stars > span {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	white-space: nowrap;
}

.xsp-stars > span::before {
	color: #ffd700;
}

.xsp-rating-text {
	color: #333;
	font-size: 15px;
}

body.xsp-product-card.single-product .summary .product_title {
	margin-bottom: 10px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

body.xsp-product-card.single-product .summary p.price {
	margin: 18px 0;
	color: var(--xsp-accent);
	font-weight: 700;
}

body.xsp-product-card.single-product form.cart {
	display: flex;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	margin-top: 18px;
}

body.xsp-product-card.single-product form.cart .quantity {
	flex: 0 0 86px;
	margin: 0 !important;
}

body.xsp-product-card.single-product form.cart .quantity .qty {
	width: 100% !important;
	height: 58px !important;
	border-radius: 4px !important;
}

body.xsp-product-card.single-product form.cart .single_add_to_cart_button {
	flex: 1 1 auto;
	min-height: 58px;
	border-radius: 4px;
	background: var(--xsp-accent);
	text-transform: none;
	font-size: 18px;
	font-weight: 700;
}

body.xsp-product-card.single-product form.cart .single_add_to_cart_button:hover {
	filter: brightness(.92);
}

body.xsp-product-card.single-product .woocommerce-product-gallery__image img,
body.xsp-product-card.single-product .woocommerce-product-gallery img {
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	object-position: center !important;
}

@media (min-width: 993px) {
	body.xsp-product-card.xsp-skinny-layout .product .woocommerce-product-gallery {
		width: 40%;
	}

	body.xsp-product-card.xsp-skinny-layout .product .summary {
		width: 56%;
	}
}

@media (max-width: 640px) {
	body.xsp-product-card .xsp-card {
		margin-bottom: 16px;
		padding: 0;
		font-size: 13px;
	}

	.xsp-card-head {
		gap: 6px 8px;
		padding-bottom: 10px;
		margin-bottom: 8px;
	}

	.xsp-platform-icon img,
	.xsp-platform-icon svg {
		width: 23px !important;
		height: 23px !important;
	}

	.xsp-license-button {
		padding: 2px 7px !important;
		font-size: 11.5px !important;
	}

	.xsp-region,
	.xsp-language-button {
		font-size: 12.5px !important;
	}

	.xsp-separator--languages {
		display: none;
	}

	.xsp-language-button {
		flex-basis: 100%;
		text-align: left;
	}

	.xsp-features {
		grid-template-columns: 1fr;
		margin-bottom: 8px;
	}

	.xsp-feature,
	.xsp-feature:nth-child(even),
	.xsp-feature:nth-child(odd) {
		gap: 8px;
		padding: 8px 0;
		border-right: 0;
		border-bottom: 1px solid var(--xsp-soft-border);
	}

	.xsp-feature:last-child {
		border-bottom: 0;
	}

	.xsp-feature-check {
		font-size: 16px;
	}

	.xsp-feature strong {
		font-size: 14px;
		line-height: 1.3;
	}

	.xsp-feature small {
		font-size: 12px;
		line-height: 1.45;
	}

	.xsp-requirements {
		gap: 4px;
		padding: 11px 0 0;
		font-size: 12px;
	}

	.xsp-requirements-title {
		font-size: 13px;
	}

	.xsp-requirements-line {
		flex-wrap: wrap;
	}

	.xsp-guarantee {
		gap: 6px;
		margin-top: 11px;
		padding: 11px 0 0;
		font-size: 12px;
	}

	.xsp-license-popover {
		left: 0;
		transform: none;
		max-width: calc(100vw - 60px);
	}

	.xsp-license-popover::after {
		left: 24px;
		transform: none;
	}

	.xsp-sold-count {
		margin-bottom: 9px;
		font-size: 16px;
	}

	.xsp-stars {
		width: 96px;
		height: 19px;
		font-size: 19px;
	}

	.xsp-rating-text {
		font-size: 14px;
	}

	body.xsp-product-card.single-product .summary .product_title {
		margin-bottom: 9px;
		font-size: clamp(29px, 8vw, 38px);
		line-height: 1.08;
	}

	body.xsp-product-card.single-product .summary p.price {
		margin: 16px 0 20px;
	}

	body.xsp-product-card.single-product form.cart {
		gap: 8px;
		margin-top: 20px;
	}

	body.xsp-product-card.single-product form.cart .quantity {
		flex-basis: 82px;
	}

	body.xsp-product-card.single-product form.cart .quantity .qty,
	body.xsp-product-card.single-product form.cart .single_add_to_cart_button {
		min-height: 58px;
		height: 58px !important;
	}

	body.xsp-product-card.single-product form.cart .single_add_to_cart_button {
		padding-right: 12px;
		padding-left: 12px;
		font-size: 17px;
	}
}

@media (max-width: 420px) {
	body.xsp-product-card.single-product form.cart .quantity {
		flex-basis: 72px;
	}

	body.xsp-product-card.single-product form.cart .single_add_to_cart_button {
		font-size: 16px;
	}

	.xsp-language-dialog {
		width: 94vw;
		padding: 15px 15px 16px;
	}
}

/* ==========================================================
   V0.3.0 — AJUSTES ESPECÍFICOS PARA ESCRITORIO
   Mantiene intacto el diseño móvil de la v0.2.0.
   ========================================================== */

@media (min-width: 993px) {
	body.xsp-product-card.single-product .product-details-wrapper {
		align-items: flex-start;
	}

	body.xsp-product-card.single-product .summary {
		padding-top: 4px;
	}

	body.xsp-product-card.single-product .xsp-sold-count {
		margin-bottom: 14px;
		font-size: 19px;
	}

	body.xsp-product-card.single-product .xsp-flame {
		width: 20px;
		height: 20px;
	}

	body.xsp-product-card.single-product .summary .product_title {
		margin-bottom: 12px;
		font-size: clamp(38px, 3vw, 54px);
		line-height: 1.06;
		letter-spacing: -0.035em;
	}

	body.xsp-product-card.single-product .xsp-product-rating {
		margin-bottom: 15px;
	}

	body.xsp-product-card.single-product .xsp-stars {
		width: 125px;
		height: 25px;
		font-size: 25px;
	}

	body.xsp-product-card.single-product .xsp-rating-text {
		font-size: 17px;
	}

	body.xsp-product-card.single-product .summary p.price {
		margin: 20px 0 24px;
		font-size: clamp(30px, 2.3vw, 43px);
		line-height: 1;
	}

	body.xsp-product-card .xsp-card {
		margin-bottom: 18px;
		font-size: 15px;
	}

	body.xsp-product-card .xsp-card-head {
		gap: 8px 13px;
		padding-bottom: 16px;
		margin-bottom: 12px;
	}

	body.xsp-product-card .xsp-platform-icon img,
	body.xsp-product-card .xsp-platform-icon svg {
		width: 33px !important;
		height: 33px !important;
	}

	body.xsp-product-card .xsp-license-button {
		padding: 4px 10px !important;
		font-size: 14px !important;
	}

	body.xsp-product-card .xsp-license-button svg {
		width: 14px;
		height: 14px;
	}

	body.xsp-product-card .xsp-region,
	body.xsp-product-card .xsp-language-button {
		font-size: 14px !important;
	}

	body.xsp-product-card .xsp-separator {
		height: 18px;
	}

	body.xsp-product-card .xsp-online-dot {
		width: 9px;
		height: 9px;
	}

	body.xsp-product-card .xsp-features {
		margin-bottom: 10px;
	}

	body.xsp-product-card .xsp-feature {
		gap: 9px;
		min-height: 72px;
		padding-top: 11px;
		padding-bottom: 11px;
	}

	body.xsp-product-card .xsp-feature:nth-child(odd) {
		padding-right: 18px;
	}

	body.xsp-product-card .xsp-feature:nth-child(even) {
		padding-left: 18px;
	}

	body.xsp-product-card .xsp-feature-check {
		font-size: 19px;
	}

	body.xsp-product-card .xsp-feature strong {
		margin-bottom: 3px;
		font-size: 16px;
		line-height: 1.3;
	}

	body.xsp-product-card .xsp-feature small {
		font-size: 13.5px;
		line-height: 1.45;
	}

	body.xsp-product-card .xsp-requirements {
		gap: 5px;
		padding-top: 14px;
		font-size: 13.5px;
	}

	body.xsp-product-card .xsp-requirements-title {
		font-size: 14px;
	}

	body.xsp-product-card .xsp-requirements-line svg {
		width: 17px;
		height: 17px;
		flex-basis: 17px;
	}

	body.xsp-product-card .xsp-guarantee {
		gap: 7px;
		margin-top: 13px;
		padding-top: 13px;
		font-size: 13.5px;
	}

	body.xsp-product-card .xsp-guarantee svg {
		width: 17px;
		height: 17px;
	}

	body.xsp-product-card.single-product form.cart {
		gap: 12px;
		margin-top: 22px;
	}

	body.xsp-product-card.single-product form.cart .quantity {
		flex-basis: 96px;
	}

	body.xsp-product-card.single-product form.cart .quantity .qty,
	body.xsp-product-card.single-product form.cart .single_add_to_cart_button {
		height: 64px !important;
		min-height: 64px;
	}

	body.xsp-product-card.single-product form.cart .single_add_to_cart_button {
		font-size: 20px;
	}

	body.xsp-product-card.single-product .woocommerce-product-gallery__image img,
	body.xsp-product-card.single-product .woocommerce-product-gallery img {
		max-height: 700px;
		object-fit: contain !important;
	}
}

/* Ajuste intermedio para portátiles y pantallas estrechas */
@media (min-width: 993px) and (max-width: 1280px) {
	body.xsp-product-card.single-product .summary .product_title {
		font-size: 38px;
	}

	body.xsp-product-card .xsp-feature strong {
		font-size: 14px;
	}

	body.xsp-product-card .xsp-feature small,
	body.xsp-product-card .xsp-requirements,
	body.xsp-product-card .xsp-guarantee {
		font-size: 12px;
	}

	body.xsp-product-card .xsp-card-head {
		gap: 7px 9px;
	}

	body.xsp-product-card .xsp-region,
	body.xsp-product-card .xsp-language-button {
		font-size: 12.5px !important;
	}
}

/* ==========================================================
   V0.4.2 — FICHA SUPERIOR: HARDENING MOBILE
   Mejor comportamiento con Elementor/Electra y pantallas estrechas.
   ========================================================== */

@media (max-width: 767px) {
	body.xsp-product-card .xsp-card {
		max-width: 100%;
		overflow: visible;
		font-family: inherit !important;
	}

	body.xsp-product-card .xsp-card,
	body.xsp-product-card .xsp-card * {
		min-width: 0;
	}

	body.xsp-product-card .xsp-card-head {
		align-items: center;
		gap: 6px 7px;
	}

	body.xsp-product-card .xsp-region {
		flex: 1 1 auto;
		min-width: 150px;
	}

	body.xsp-product-card .xsp-language-button {
		width: 100%;
		flex: 1 0 100%;
	}

	body.xsp-product-card .xsp-features {
		width: 100%;
	}

	body.xsp-product-card .xsp-feature strong,
	body.xsp-product-card .xsp-feature small,
	body.xsp-product-card .xsp-requirements,
	body.xsp-product-card .xsp-guarantee {
		overflow-wrap: anywhere;
		word-break: normal;
	}

	body.xsp-product-card .xsp-requirements {
		padding-right: 8px;
		padding-left: 8px;
	}

	body.xsp-product-card .xsp-requirements-line {
		max-width: 100%;
		padding: 0 2px;
	}

	body.xsp-product-card .xsp-guarantee {
		padding-right: 8px;
		padding-left: 8px;
		line-height: 1.4;
	}

	body.xsp-product-card.single-product form.cart {
		max-width: 100%;
	}

	body.xsp-product-card.single-product form.cart .single_add_to_cart_button {
		white-space: normal;
		line-height: 1.15;
	}
}

@media (max-width: 390px) {
	body.xsp-product-card .xsp-card {
		font-size: 12.5px;
	}

	body.xsp-product-card .xsp-card-head {
		gap: 5px 6px;
	}

	body.xsp-product-card .xsp-platform-icon img,
	body.xsp-product-card .xsp-platform-icon svg {
		width: 21px !important;
		height: 21px !important;
	}

	body.xsp-product-card .xsp-license-button {
		font-size: 10.75px !important;
	}

	body.xsp-product-card .xsp-region,
	body.xsp-product-card .xsp-language-button {
		font-size: 11.75px !important;
	}

	body.xsp-product-card .xsp-feature {
		padding-top: 7px;
		padding-bottom: 7px;
	}

	body.xsp-product-card .xsp-feature strong {
		font-size: 13.5px;
	}

	body.xsp-product-card .xsp-feature small {
		font-size: 11.5px;
	}

	body.xsp-product-card .xsp-requirements,
	body.xsp-product-card .xsp-guarantee {
		font-size: 11.5px;
	}
}
/* ==========================================================
   V0.4.3 — MOBILE PRODUCT CARD / CART COMPACT
   Corrige escala excesiva de precio, cantidad y CTA en Electra.
   ========================================================== */

@media (max-width: 767px) {

	body.xsp-product-card .xsp-card {
		margin-bottom: 10px !important;
		font-size: 12px !important;
		line-height: 1.4 !important;
	}

	body.xsp-product-card .xsp-card-head {
		gap: 5px 7px !important;
		padding-bottom: 7px !important;
		margin-bottom: 5px !important;
	}

	body.xsp-product-card .xsp-platform-icon img,
	body.xsp-product-card .xsp-platform-icon svg {
		width: 21px !important;
		height: 21px !important;
	}

	body.xsp-product-card .xsp-license-button {
		padding: 2px 6px !important;
		font-size: 10.5px !important;
	}

	body.xsp-product-card .xsp-region,
	body.xsp-product-card .xsp-language-button {
		font-size: 11.5px !important;
	}

	body.xsp-product-card .xsp-features {
		margin-bottom: 5px !important;
	}

	body.xsp-product-card .xsp-feature,
	body.xsp-product-card .xsp-feature:nth-child(even),
	body.xsp-product-card .xsp-feature:nth-child(odd) {
		gap: 6px !important;
		padding: 5px 0 !important;
	}

	body.xsp-product-card .xsp-feature-check {
		font-size: 14px !important;
	}

	body.xsp-product-card .xsp-feature strong {
		font-size: 12.5px !important;
		line-height: 1.24 !important;
	}

	body.xsp-product-card .xsp-feature small {
		margin-top: 1px !important;
		font-size: 11px !important;
		line-height: 1.32 !important;
	}

	body.xsp-product-card .xsp-requirements {
		gap: 2px !important;
		padding: 7px 0 0 !important;
		font-size: 11px !important;
		line-height: 1.35 !important;
	}

	body.xsp-product-card .xsp-requirements-title {
		font-size: 12px !important;
	}

	body.xsp-product-card .xsp-guarantee {
		gap: 5px !important;
		margin-top: 6px !important;
		padding: 6px 0 0 !important;
		font-size: 11px !important;
		line-height: 1.35 !important;
	}

	/* Precio: evita la escala gigante heredada del tema. */
	body.xsp-product-card.single-product .summary p.price {
		margin: 12px 0 14px !important;
		font-size: 29px !important;
		line-height: 1.05 !important;
	}

	body.xsp-product-card.single-product .summary p.price ins {
		font-size: 29px !important;
		line-height: 1.05 !important;
	}

	body.xsp-product-card.single-product .summary p.price del {
		font-size: 18px !important;
		line-height: 1.1 !important;
		opacity: .72;
	}

	/* Cantidad + carrito en una sola fila compacta. */
	body.xsp-product-card.single-product form.cart {
		display: flex !important;
		flex-direction: row !important;
		align-items: stretch !important;
		flex-wrap: nowrap !important;
		gap: 7px !important;
		width: 100% !important;
		margin: 12px 0 0 !important;
	}

	body.xsp-product-card.single-product form.cart .quantity {
		display: block !important;
		flex: 0 0 66px !important;
		width: 66px !important;
		max-width: 66px !important;
		margin: 0 !important;
	}

	body.xsp-product-card.single-product form.cart .quantity .qty {
		width: 66px !important;
		min-width: 66px !important;
		max-width: 66px !important;
		height: 50px !important;
		min-height: 50px !important;
		padding: 0 6px !important;
		font-size: 14px !important;
		text-align: center !important;
	}

	body.xsp-product-card.single-product form.cart .single_add_to_cart_button {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
		height: 50px !important;
		min-height: 50px !important;
		padding: 0 12px !important;
		font-size: 15px !important;
		line-height: 1.1 !important;
		white-space: normal !important;
	}

	/* Reduce huecos heredados entre la ficha comercial y el precio. */
	body.xsp-product-card.single-product .summary .xsp-card + p.price,
	body.xsp-product-card.single-product .summary .xsp-card ~ p.price {
		margin-top: 12px !important;
	}
}

@media (max-width: 390px) {
	body.xsp-product-card.single-product .summary p.price,
	body.xsp-product-card.single-product .summary p.price ins {
		font-size: 27px !important;
	}

	body.xsp-product-card.single-product .summary p.price del {
		font-size: 17px !important;
	}

	body.xsp-product-card.single-product form.cart .quantity {
		flex-basis: 62px !important;
		width: 62px !important;
		max-width: 62px !important;
	}

	body.xsp-product-card.single-product form.cart .quantity .qty {
		width: 62px !important;
		min-width: 62px !important;
		max-width: 62px !important;
	}

	body.xsp-product-card.single-product form.cart .single_add_to_cart_button {
		font-size: 14px !important;
		padding: 0 9px !important;
	}
}
/* ==========================================================
   V0.4.4 — ENCABEZADO COMERCIAL INDEPENDIENTE DEL TEMA
   Oferta + vendidos + título + reseñas + precio + descuento.
   ========================================================== */

body.xsp-commercial-header-active .xsp-commercial-header,
body.xsp-commercial-header-active .xsp-commercial-header * {
	box-sizing: border-box;
}

body.xsp-commercial-header-active .xsp-commercial-header {
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
	color: var(--xsp-text);
	font-family: inherit;
}

body.xsp-commercial-header-active .xsp-offer-label {
	margin: 0 0 4px;
	color: #35b653;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
}

body.xsp-commercial-header-active .xsp-commercial-header .xsp-sold-count {
	margin: 0 0 9px;
}

body.xsp-commercial-header-active .xsp-commercial-title {
	margin: 0 0 8px !important;
	padding: 0 !important;
	color: #111 !important;
	font-family: inherit !important;
	font-size: clamp(28px, 3vw, 44px) !important;
	font-weight: 750 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.025em !important;
	text-transform: none !important;
}

body.xsp-commercial-header-active .xsp-commercial-header .xsp-product-rating {
	margin: 0 0 13px;
}

body.xsp-commercial-header-active .xsp-commercial-price-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0 0 14px;
}

body.xsp-commercial-header-active .xsp-commercial-price {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--xsp-accent) !important;
	font-size: 29px !important;
	font-weight: 700 !important;
	line-height: 1.05 !important;
}

body.xsp-commercial-header-active .xsp-commercial-price del {
	color: #777 !important;
	font-size: .62em !important;
	font-weight: 400 !important;
	opacity: .9;
}

body.xsp-commercial-header-active .xsp-commercial-price ins {
	color: var(--xsp-accent) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

body.xsp-commercial-header-active .xsp-discount-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 29px;
	padding: 3px 8px;
	border-radius: 4px;
	background: #35b653;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

/*
 * Ocultamos únicamente los elementos nativos equivalentes cuando
 * el plugin toma el control. Esto evita duplicados en temas estándar.
 */
body.xsp-commercial-header-active.single-product .summary > .product_title:not(.xsp-commercial-title),
body.xsp-commercial-header-active.single-product .summary > .woocommerce-product-rating:not(.xsp-product-rating),
body.xsp-commercial-header-active.single-product .summary > p.price:not(.xsp-commercial-price),
body.xsp-commercial-header-active.single-product .summary > div.price:not(.xsp-commercial-price) {
	display: none !important;
}

@media (max-width: 767px) {
	body.xsp-commercial-header-active .xsp-commercial-header {
		margin-bottom: 10px;
	}

	body.xsp-commercial-header-active .xsp-offer-label {
		font-size: 13px;
	}

	body.xsp-commercial-header-active .xsp-commercial-header .xsp-sold-count {
		gap: 5px;
		margin-bottom: 7px;
		font-size: 14px;
	}

	body.xsp-commercial-header-active .xsp-commercial-header .xsp-flame {
		width: 16px;
		height: 16px;
	}

	body.xsp-commercial-header-active .xsp-commercial-title {
		margin-bottom: 7px !important;
		font-size: clamp(26px, 7vw, 32px) !important;
		line-height: 1.07 !important;
	}

	body.xsp-commercial-header-active .xsp-commercial-header .xsp-product-rating {
		margin-bottom: 10px;
	}

	body.xsp-commercial-header-active .xsp-commercial-header .xsp-stars {
		width: 92px;
		height: 18px;
		font-size: 18px;
	}

	body.xsp-commercial-header-active .xsp-commercial-header .xsp-rating-text {
		font-size: 13px;
	}

	body.xsp-commercial-header-active .xsp-commercial-price-row {
		gap: 8px;
		margin-bottom: 11px;
	}

	body.xsp-commercial-header-active .xsp-commercial-price {
		gap: 7px;
		font-size: 26px !important;
	}

	body.xsp-commercial-header-active .xsp-discount-badge {
		min-height: 26px;
		padding: 3px 7px;
		font-size: 11px;
	}

	/*
	 * La v0.4.3 estiliza el precio nativo de la summary.
	 * El precio del encabezado comercial tiene prioridad visual propia.
	 */
	body.xsp-product-card.single-product .summary .xsp-commercial-price {
		margin: 0 !important;
		font-size: 26px !important;
	}

	body.xsp-product-card.single-product .summary .xsp-commercial-price ins {
		font-size: 1em !important;
	}

	body.xsp-product-card.single-product .summary .xsp-commercial-price del {
		font-size: .62em !important;
	}
}

@media (max-width: 390px) {
	body.xsp-commercial-header-active .xsp-commercial-title {
		font-size: 25px !important;
	}

	body.xsp-commercial-header-active .xsp-commercial-price,
	body.xsp-product-card.single-product .summary .xsp-commercial-price {
		font-size: 24px !important;
	}
}
/* ==========================================================
   V0.4.5 — ELECTRO / ELEMENTOR / SHOPTIMIZER FINAL COMPAT
   La ficha completa se comporta como una sola unidad comercial.
   ========================================================== */

/* ----- 1. Elimina la lupa/zoom invasiva de WooCommerce/Electro ----- */
body.xsp-theme-compat.single-product .woocommerce-product-gallery__trigger,
body.xsp-theme-compat.single-product .woocommerce-product-gallery .zoomImg,
body.xsp-theme-compat.single-product .electro-gallery-trigger,
body.xsp-theme-compat.single-product .product-images-wrapper .zoom,
body.xsp-theme-compat.single-product .yith_magnifier_zoom_wrap .yith_magnifier_zoom_magnifier,
body.xsp-theme-compat.single-product a.woocommerce-product-gallery__trigger {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Evita que iconos del tema hereden tamaños gigantes dentro de galería. */
body.xsp-theme-compat.single-product .woocommerce-product-gallery svg:not(.xsp-platform-icon svg),
body.xsp-theme-compat.single-product .woocommerce-product-gallery__wrapper + svg {
	max-width: 32px !important;
	max-height: 32px !important;
}

/* ----- 2. Encabezado comercial: orden y jerarquía estable ----- */
body.xsp-theme-compat.single-product .xsp-commercial-header {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 9px !important;
	padding: 0 !important;
}

body.xsp-theme-compat.single-product .xsp-offer-label {
	margin: 0 0 3px !important;
	font-size: 13px !important;
	line-height: 1.2 !important;
}

body.xsp-theme-compat.single-product .xsp-commercial-header .xsp-sold-count {
	display: flex !important;
	align-items: center !important;
	gap: 5px !important;
	margin: 0 0 6px !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
}

body.xsp-theme-compat.single-product .xsp-commercial-title {
	display: block !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	color: #111 !important;
	font-family: inherit !important;
	font-size: clamp(25px, 2.35vw, 36px) !important;
	font-weight: 700 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.018em !important;
	text-transform: none !important;
	overflow-wrap: anywhere;
}

body.xsp-theme-compat.single-product .xsp-commercial-header .xsp-product-rating {
	display: block !important;
	margin: 0 0 8px !important;
}

body.xsp-theme-compat.single-product .xsp-commercial-header .xsp-product-rating > a {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	text-decoration: none !important;
}

body.xsp-theme-compat.single-product .xsp-commercial-price-row {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 7px !important;
	margin: 0 0 9px !important;
}

body.xsp-theme-compat.single-product .xsp-commercial-price {
	display: inline-flex !important;
	align-items: baseline !important;
	flex-wrap: wrap !important;
	gap: 7px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 25px !important;
	line-height: 1.05 !important;
}

body.xsp-theme-compat.single-product .xsp-commercial-price ins {
	font-size: 1em !important;
	line-height: inherit !important;
}

body.xsp-theme-compat.single-product .xsp-commercial-price del {
	font-size: 16px !important;
	line-height: 1.1 !important;
}

/* ----- 3. Oculta duplicados del tema aunque estén anidados ----- */
body.xsp-theme-compat.single-product .summary .product_title:not(.xsp-commercial-title),
body.xsp-theme-compat.single-product .summary .woocommerce-product-rating:not(.xsp-product-rating),
body.xsp-theme-compat.single-product .summary > p.price:not(.xsp-commercial-price),
body.xsp-theme-compat.single-product .summary > .price:not(.xsp-commercial-price) {
	display: none !important;
}

/* ----- 4. Ficha técnica compacta y sin huecos heredados ----- */
body.xsp-theme-compat.single-product .xsp-card {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
}

body.xsp-theme-compat.single-product .xsp-card-head {
	margin-bottom: 4px !important;
	padding-bottom: 6px !important;
}

body.xsp-theme-compat.single-product .xsp-features {
	margin-bottom: 4px !important;
}

body.xsp-theme-compat.single-product .xsp-feature {
	padding-top: 5px !important;
	padding-bottom: 5px !important;
}

body.xsp-theme-compat.single-product .xsp-requirements {
	margin-top: 0 !important;
	padding-top: 6px !important;
}

body.xsp-theme-compat.single-product .xsp-guarantee {
	margin-top: 5px !important;
	padding-top: 6px !important;
}

/* Evita espacios gigantes que ciertos templates agregan al excerpt. */
body.xsp-theme-compat.single-product .woocommerce-product-details__short-description {
	margin: 0 !important;
	padding: 0 !important;
}

body.xsp-theme-compat.single-product .woocommerce-product-details__short-description > :first-child {
	margin-top: 0 !important;
}

body.xsp-theme-compat.single-product .woocommerce-product-details__short-description > :last-child {
	margin-bottom: 0 !important;
}

/* ----- 5. Selector de moneda + compra ----- */
body.xsp-theme-compat.single-product .summary form.cart,
body.xsp-theme-compat.single-product div.product form.cart,
body.xsp-theme-compat.single-product .elementor-widget-woocommerce-product-add-to-cart form.cart,
body.xsp-theme-compat.single-product .elementor-add-to-cart form.cart {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Escritorio: cantidad y CTA alineados. */
@media (min-width: 768px) {
	body.xsp-theme-compat.single-product .summary form.cart,
	body.xsp-theme-compat.single-product div.product form.cart {
		display: flex !important;
		align-items: stretch !important;
		flex-wrap: nowrap !important;
		gap: 8px !important;
	}

	body.xsp-theme-compat.single-product form.cart .quantity {
		flex: 0 0 78px !important;
		width: 78px !important;
		max-width: 78px !important;
		margin: 0 !important;
	}

	body.xsp-theme-compat.single-product form.cart .quantity .qty {
		width: 78px !important;
		height: 48px !important;
		min-height: 48px !important;
	}

	body.xsp-theme-compat.single-product form.cart .single_add_to_cart_button {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
		min-height: 48px !important;
		margin: 0 !important;
	}
}

/* ----- 6. Móvil: réplica compacta del diseño aprobado ----- */
@media (max-width: 767px) {

	/* Gallery ocupa una sola columna y no invade la ficha. */
	body.xsp-theme-compat.single-product div.product .woocommerce-product-gallery,
	body.xsp-theme-compat.single-product div.product .images,
	body.xsp-theme-compat.single-product div.product .summary,
	body.xsp-theme-compat.single-product .product .summary.entry-summary {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}

	body.xsp-theme-compat.single-product .xsp-commercial-header {
		margin-bottom: 7px !important;
	}

	body.xsp-theme-compat.single-product .xsp-offer-label {
		font-size: 12.5px !important;
	}

	body.xsp-theme-compat.single-product .xsp-commercial-header .xsp-sold-count {
		margin-bottom: 5px !important;
		font-size: 13px !important;
	}

	body.xsp-theme-compat.single-product .xsp-commercial-title {
		margin-bottom: 5px !important;
		font-size: clamp(23px, 6.2vw, 27px) !important;
		line-height: 1.06 !important;
	}

	body.xsp-theme-compat.single-product .xsp-commercial-header .xsp-product-rating {
		margin-bottom: 7px !important;
	}

	body.xsp-theme-compat.single-product .xsp-commercial-header .xsp-stars {
		width: 82px !important;
		height: 16px !important;
		font-size: 16px !important;
	}

	body.xsp-theme-compat.single-product .xsp-commercial-header .xsp-rating-text {
		font-size: 12px !important;
	}

	body.xsp-theme-compat.single-product .xsp-commercial-price-row {
		margin-bottom: 8px !important;
	}

	body.xsp-theme-compat.single-product .xsp-commercial-price,
	body.xsp-product-card.single-product .summary .xsp-commercial-price {
		font-size: 23px !important;
	}

	body.xsp-theme-compat.single-product .xsp-commercial-price del {
		font-size: 14px !important;
	}

	body.xsp-theme-compat.single-product .xsp-discount-badge {
		min-height: 24px !important;
		padding: 3px 6px !important;
		font-size: 10.5px !important;
	}

	body.xsp-theme-compat.single-product .xsp-card {
		margin-bottom: 7px !important;
		font-size: 11.5px !important;
		line-height: 1.35 !important;
	}

	body.xsp-theme-compat.single-product .xsp-card-head {
		gap: 4px 6px !important;
		margin-bottom: 3px !important;
		padding-bottom: 5px !important;
	}

	body.xsp-theme-compat.single-product .xsp-platform-icon img,
	body.xsp-theme-compat.single-product .xsp-platform-icon svg {
		width: 20px !important;
		height: 20px !important;
	}

	body.xsp-theme-compat.single-product .xsp-license-button {
		padding: 2px 6px !important;
		font-size: 10px !important;
	}

	body.xsp-theme-compat.single-product .xsp-region,
	body.xsp-theme-compat.single-product .xsp-language-button {
		font-size: 10.75px !important;
	}

	body.xsp-theme-compat.single-product .xsp-feature {
		gap: 5px !important;
		padding: 4px 0 !important;
	}

	body.xsp-theme-compat.single-product .xsp-feature-check {
		font-size: 13px !important;
	}

	body.xsp-theme-compat.single-product .xsp-feature strong {
		font-size: 12px !important;
		line-height: 1.2 !important;
	}

	body.xsp-theme-compat.single-product .xsp-feature small {
		margin-top: 1px !important;
		font-size: 10.5px !important;
		line-height: 1.28 !important;
	}

	body.xsp-theme-compat.single-product .xsp-requirements {
		padding-top: 5px !important;
		font-size: 10.5px !important;
		line-height: 1.3 !important;
	}

	body.xsp-theme-compat.single-product .xsp-requirements-title {
		font-size: 11.5px !important;
	}

	body.xsp-theme-compat.single-product .xsp-guarantee {
		margin-top: 4px !important;
		padding-top: 5px !important;
		font-size: 10.5px !important;
		line-height: 1.3 !important;
	}

	/* La moneda puede ir arriba, pero nunca deforma el carrito. */
	body.xsp-theme-compat.single-product .yay-currency-custom-select-wrapper,
	body.xsp-theme-compat.single-product .yay-currency-single-page-switcher,
	body.xsp-theme-compat.single-product [class*="yay-currency"] {
		max-width: 100% !important;
	}

	/* Cantidad + botón siempre en una sola fila. */
	body.xsp-theme-compat.single-product .summary form.cart,
	body.xsp-theme-compat.single-product div.product form.cart,
	body.xsp-theme-compat.single-product .elementor-widget-woocommerce-product-add-to-cart form.cart,
	body.xsp-theme-compat.single-product .elementor-add-to-cart form.cart {
		display: flex !important;
		flex-direction: row !important;
		align-items: stretch !important;
		flex-wrap: nowrap !important;
		gap: 6px !important;
		margin: 9px 0 0 !important;
		padding: 0 !important;
	}

	body.xsp-theme-compat.single-product form.cart .quantity,
	body.xsp-theme-compat.single-product form.cart div.quantity {
		display: block !important;
		flex: 0 0 64px !important;
		width: 64px !important;
		min-width: 64px !important;
		max-width: 64px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.xsp-theme-compat.single-product form.cart .quantity .qty,
	body.xsp-theme-compat.single-product form.cart input.qty {
		display: block !important;
		box-sizing: border-box !important;
		width: 64px !important;
		min-width: 64px !important;
		max-width: 64px !important;
		height: 48px !important;
		min-height: 48px !important;
		margin: 0 !important;
		padding: 0 5px !important;
		font-size: 13px !important;
		text-align: center !important;
	}

	body.xsp-theme-compat.single-product form.cart .single_add_to_cart_button,
	body.xsp-theme-compat.single-product form.cart button.single_add_to_cart_button {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		flex: 1 1 0 !important;
		box-sizing: border-box !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		height: 48px !important;
		min-height: 48px !important;
		margin: 0 !important;
		padding: 0 11px !important;
		font-size: 14px !important;
		line-height: 1.1 !important;
		white-space: normal !important;
	}

	/* No deja que iconos internos del botón cambien su ancho. */
	body.xsp-theme-compat.single-product form.cart .single_add_to_cart_button svg,
	body.xsp-theme-compat.single-product form.cart .single_add_to_cart_button i {
		flex: 0 0 auto !important;
		max-width: 18px !important;
		max-height: 18px !important;
		margin-right: 6px !important;
	}
}

@media (max-width: 390px) {
	body.xsp-theme-compat.single-product .xsp-commercial-title {
		font-size: 22px !important;
	}

	body.xsp-theme-compat.single-product .xsp-commercial-price,
	body.xsp-product-card.single-product .summary .xsp-commercial-price {
		font-size: 22px !important;
	}

	body.xsp-theme-compat.single-product form.cart .quantity,
	body.xsp-theme-compat.single-product form.cart div.quantity,
	body.xsp-theme-compat.single-product form.cart .quantity .qty,
	body.xsp-theme-compat.single-product form.cart input.qty {
		flex-basis: 60px !important;
		width: 60px !important;
		min-width: 60px !important;
		max-width: 60px !important;
	}

	body.xsp-theme-compat.single-product form.cart .single_add_to_cart_button,
	body.xsp-theme-compat.single-product form.cart button.single_add_to_cart_button {
		padding-right: 8px !important;
		padding-left: 8px !important;
		font-size: 13.5px !important;
	}
}
/* ==========================================================
   V0.4.6 — FINAL VISUAL REFINEMENT
   Un solo precio + compra más cercana + semibold más limpio.
   ========================================================== */

/* Electro/Elementor pueden volver a imprimir el precio principal. */
body.xsp-theme-compat.single-product .summary .price:not(.xsp-commercial-price),
body.xsp-theme-compat.single-product .entry-summary .price:not(.xsp-commercial-price) {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
}

/* Conserva precios dinámicos necesarios. */
body.xsp-theme-compat.single-product .summary .woocommerce-variation-price .price,
body.xsp-theme-compat.single-product .summary .woocommerce-variation .price,
body.xsp-theme-compat.single-product .summary .woocommerce-grouped-product-list-item__price .price,
body.xsp-theme-compat.single-product .entry-summary .woocommerce-variation-price .price,
body.xsp-theme-compat.single-product .entry-summary .woocommerce-variation .price,
body.xsp-theme-compat.single-product .entry-summary .woocommerce-grouped-product-list-item__price .price {
	display: inline-flex !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Jerarquía de peso tipográfico más limpia. */
body.xsp-theme-compat.single-product .xsp-commercial-title {
	font-weight: 650 !important;
}

body.xsp-theme-compat.single-product .xsp-commercial-header .xsp-sold-count strong,
body.xsp-theme-compat.single-product .xsp-commercial-header .xsp-rating-text strong,
body.xsp-theme-compat.single-product .xsp-feature strong,
body.xsp-theme-compat.single-product .xsp-requirements-title,
body.xsp-theme-compat.single-product .xsp-license-button,
body.xsp-theme-compat.single-product .xsp-region strong,
body.xsp-theme-compat.single-product form.cart .single_add_to_cart_button {
	font-weight: 600 !important;
}

body.xsp-theme-compat.single-product .xsp-commercial-price,
body.xsp-theme-compat.single-product .xsp-commercial-price ins {
	font-weight: 650 !important;
}

/* Quita huecos residuales alrededor del precio nativo. */
body.xsp-theme-compat.single-product .summary > p.price:empty,
body.xsp-theme-compat.single-product .summary > div.price:empty,
body.xsp-theme-compat.single-product .entry-summary > p.price:empty,
body.xsp-theme-compat.single-product .entry-summary > div.price:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
}

/* Acerca selector de moneda y compra a la ficha. */
body.xsp-theme-compat.single-product .summary [class*="yay-currency"],
body.xsp-theme-compat.single-product .entry-summary [class*="yay-currency"],
body.xsp-theme-compat.single-product .summary .yay-currency-custom-select-wrapper,
body.xsp-theme-compat.single-product .entry-summary .yay-currency-custom-select-wrapper,
body.xsp-theme-compat.single-product .summary .yay-currency-single-page-switcher,
body.xsp-theme-compat.single-product .entry-summary .yay-currency-single-page-switcher {
	margin-top: 8px !important;
	margin-bottom: 7px !important;
}

body.xsp-theme-compat.single-product .summary form.cart,
body.xsp-theme-compat.single-product .entry-summary form.cart {
	margin-top: 6px !important;
}

body.xsp-theme-compat.single-product .summary .xsp-card,
body.xsp-theme-compat.single-product .entry-summary .xsp-card {
	margin-bottom: 5px !important;
}

@media (max-width: 767px) {
	body.xsp-theme-compat.single-product .summary [class*="yay-currency"],
	body.xsp-theme-compat.single-product .entry-summary [class*="yay-currency"],
	body.xsp-theme-compat.single-product .summary .yay-currency-custom-select-wrapper,
	body.xsp-theme-compat.single-product .entry-summary .yay-currency-custom-select-wrapper,
	body.xsp-theme-compat.single-product .summary .yay-currency-single-page-switcher,
	body.xsp-theme-compat.single-product .entry-summary .yay-currency-single-page-switcher {
		margin-top: 5px !important;
		margin-bottom: 5px !important;
	}

	body.xsp-theme-compat.single-product .summary form.cart,
	body.xsp-theme-compat.single-product .entry-summary form.cart {
		margin-top: 5px !important;
	}

	body.xsp-theme-compat.single-product .summary .xsp-card,
	body.xsp-theme-compat.single-product .entry-summary .xsp-card {
		margin-bottom: 3px !important;
	}
}
/* ==========================================================
   V0.4.7 — NATIVE PRICE CLEANUP
   Refuerzo para Electro/YayCurrency cuando reinyectan el precio.
   ========================================================== */

body.xsp-theme-compat.single-product .xsp-native-price-hidden,
body.xsp-theme-compat.single-product .xsp-native-price-wrapper-hidden {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	max-width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
}

/* Una vez eliminado el precio duplicado, la compra sube hacia la ficha. */
body.xsp-theme-compat.single-product .xsp-card {
	margin-bottom: 2px !important;
}

body.xsp-theme-compat.single-product .summary [class*="yay-currency"],
body.xsp-theme-compat.single-product .entry-summary [class*="yay-currency"] {
	margin-top: 5px !important;
}

@media (max-width: 767px) {
	body.xsp-theme-compat.single-product .xsp-card {
		margin-bottom: 0 !important;
	}

	body.xsp-theme-compat.single-product .summary [class*="yay-currency"],
	body.xsp-theme-compat.single-product .entry-summary [class*="yay-currency"] {
		margin-top: 3px !important;
		margin-bottom: 4px !important;
	}

	body.xsp-theme-compat.single-product .summary form.cart,
	body.xsp-theme-compat.single-product .entry-summary form.cart {
		margin-top: 4px !important;
	}
}
