/* === la ficha con hoja === */

.single-product.woocommerce div.product {
	--ficha-alto: calc(100vh - var(--wp--custom--cabecera--alto-compacta) - var(--wp--preset--spacing--40));
}

.single-product.woocommerce div.product div.images div.woocommerce-product-gallery__wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--10);
	overflow: visible;
}

.single-product.woocommerce div.product div.images div.woocommerce-product-gallery__wrapper > div.woocommerce-product-gallery__image {
	aspect-ratio: var(--wp--custom--foto--proporcion);
	overflow: hidden;
}

.single-product.woocommerce div.product div.images div.woocommerce-product-gallery__wrapper > div.woocommerce-product-gallery__image:first-child:nth-last-child(odd) {
	grid-column: auto;
}

.single-product.woocommerce div.product div.images div.woocommerce-product-gallery__wrapper > div.woocommerce-product-gallery__image img {
	object-fit: cover;
	mix-blend-mode: normal;
}

.single-product.woocommerce div.product div.images .galeria-flecha,
.ficha-miniaturas,
.ficha-asa,
.ficha-resumen {
	display: none;
}

.ficha-progreso {
	position: fixed;
	top: 50%;
	left: var(--wp--preset--spacing--30);
	z-index: 1;
	width: var(--wp--custom--ficha--avance);
	height: var(--wp--custom--ficha--avance-alto);
	border-radius: var(--wp--custom--ficha--avance);
	background: color-mix(in srgb, var(--wp--preset--color--blanco) 35%, transparent);
	mix-blend-mode: difference;
	overflow: hidden;
	transform: translateY(-50%);
	transition: opacity var(--wp--custom--transicion--media);
}

.ficha-progreso span {
	display: block;
	height: calc(100% / var(--fotos, 1));
	background: var(--wp--preset--color--blanco);
	transform: translateY(calc(var(--progreso, 0) * (var(--fotos, 1) - 1) * 100%));
}

.ficha-progreso.fuera {
	opacity: 0;
}

/* === el resumen === */

.ficha-volver {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--10);
	min-height: var(--wp--custom--tactil--minimo);
	margin-left: calc(var(--wp--custom--icono--medio) / -3);
	color: var(--wp--preset--color--gris);
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
}

.ficha-volver svg {
	width: var(--wp--custom--icono--medio);
	height: var(--wp--custom--icono--medio);
}

.ficha-cabeza {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--20);
}

.ficha-favorito,
.ficha-favorito:is(:hover, :focus) {
	display: grid;
	flex: none;
	place-items: center;
	width: var(--wp--custom--tactil--minimo);
	height: var(--wp--custom--tactil--minimo);
	margin-right: var(--wp--custom--ficha--favorito-margen);
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--wp--preset--color--tinta);
}

.ficha-favorito svg {
	width: var(--wp--custom--cabecera--icono);
	height: var(--wp--custom--cabecera--icono);
}

.single-product.woocommerce div.product div.summary .product_title {
	margin: var(--wp--custom--ficha--titulo) 0 0;
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--peso--fuerte);
	line-height: var(--wp--custom--interlineado--titular);
	letter-spacing: var(--wp--custom--separacion--negativa);
	text-wrap: balance;
}

.single-product.woocommerce div.product div.summary p.price {
	margin: var(--wp--preset--spacing--10) 0 0;
	color: var(--wp--preset--color--tinta);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--peso--fuerte);
}

.ficha-info {
	margin-top: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border-radius: var(--wp--custom--radio--normal);
	background: var(--wp--preset--color--fondo);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--interlineado--cuerpo);
}

.single-product.woocommerce div.product div.summary .ficha-info p {
	margin: 0;
}

.single-product.woocommerce div.product div.summary .ficha-info p + p {
	margin-top: var(--wp--preset--spacing--10);
}

.single-product.woocommerce div.product div.summary form.cart {
	margin: var(--wp--preset--spacing--50) 0 0;
}

/* === el pago exprés === */

.ficha-expres {
	margin-top: var(--wp--preset--spacing--40);
}

.ficha-expres:not(:has(#wc-stripe-express-checkout-element)) {
	display: none;
}

.ficha-expres #wc-stripe-express-checkout-element > [id] {
	transition: opacity var(--wp--custom--transicion--media), filter var(--wp--custom--transicion--media);
}

.ficha-expres-botones[inert] #wc-stripe-express-checkout-element > [id] {
	filter: grayscale(1);
}

.ficha-expres-botones[inert] #wc-stripe-express-checkout-element.listo > [id] {
	opacity: var(--wp--custom--ficha--miniatura-apagada);
}

.ficha-expres:has([inert] #wc-stripe-express-checkout-element > [id]) {
	animation: none;
}

/* === el color === */

.ficha-color {
	margin-top: var(--wp--preset--spacing--50);
}

.single-product.woocommerce div.product div.summary :is(.ficha-color-nombre, .ficha-expres-titulo) {
	margin: 0 0 var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--peso--fuerte);
	line-height: var(--wp--custom--interlineado--cuerpo);
	letter-spacing: var(--wp--custom--separacion--corta);
	text-transform: uppercase;
}

.ficha-color-nombre span {
	font-weight: var(--wp--custom--peso--normal);
}

.ficha-colores {
	display: flex;
	gap: var(--wp--preset--spacing--20);
}

.ficha-colores a {
	position: relative;
	flex: 0 0 var(--wp--custom--foto--pequena);
	aspect-ratio: var(--wp--custom--foto--proporcion);
	border-radius: var(--wp--custom--radio--corto);
	background: var(--wp--preset--color--fondo);
	overflow: hidden;
}

.ficha-colores a::after {
	content: "";
	position: absolute;
	inset: 0;
	border: var(--wp--custom--linea) solid transparent;
	border-radius: inherit;
}

.ficha-colores a[aria-current]::after {
	border-color: var(--wp--preset--color--tinta);
}

.ficha-colores img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-product.woocommerce div.product .variations_form table.variations {
	margin: 0;
}

.single-product.woocommerce div.product .variations_form table.variations th.label {
	font-size: var(--wp--preset--font-size--x-small);
	line-height: var(--wp--custom--interlineado--cuerpo);
}

.single-product.woocommerce div.product .variations_form table.variations th.label label {
	color: var(--wp--preset--color--tinta);
}

.single-product.woocommerce div.product .variations_form table.variations tr:has(.ficha-pastilla) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	margin-top: calc((var(--wp--preset--font-size--x-small) * var(--wp--custom--interlineado--cuerpo) - var(--wp--custom--tactil--minimo)) / 2);
}

.single-product.woocommerce div.product .variations_form table.variations tr:has(.ficha-pastilla) th.label {
	padding-bottom: 0;
}

.single-product.woocommerce div.product .variations_form table.variations tr:has(.ficha-pastilla) td.value {
	display: contents;
}

.single-product.woocommerce div.product .variations_form table.variations tr:has(.ficha-pastilla) td.value > :not(.ficha-pastilla) {
	grid-column: 1 / -1;
}

.single-product.woocommerce div.product .variations_form table.variations td.value > .ficha-pastilla {
	display: flex;
	grid-row: 1;
	grid-column: 2;
	align-items: center;
	min-height: var(--wp--custom--tactil--minimo);
	color: var(--wp--preset--color--tinta);
	text-decoration: none;
}

.ficha-pastilla span {
	padding: var(--wp--custom--ficha--guia-relleno);
	border-radius: var(--wp--custom--pastilla--radio);
	background: var(--wp--preset--color--fondo-oscuro);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--peso--medio);
	line-height: var(--wp--custom--interlineado--cuerpo);
}

.dialogo-caja > .wp-block-group:is(.ficha-guia, .comprar-ya) {
	padding-top: var(--wp--custom--dialogo--cerrar-arriba);
	font-size: var(--wp--preset--font-size--small);
}

.dialogo-caja > :is(.ficha-guia, .comprar-ya) h2 {
	display: flex;
	align-items: center;
	min-height: var(--wp--custom--dialogo--cerrar);
	margin-bottom: 0;
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--peso--fuerte);
	letter-spacing: var(--wp--custom--separacion--negativa);
}

.dialogo-caja > .ficha-guia p {
	margin: 0 0 var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--gris);
}

.dialogo-caja > .ficha-guia figure {
	margin: 0;
}

.dialogo-caja > .ficha-guia table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.dialogo-caja > .ficha-guia :is(thead, th, td) {
	padding: var(--wp--custom--ficha--guia-celda);
	border: 0;
	border-bottom: var(--wp--custom--linea) solid var(--wp--preset--color--borde);
	text-align: left;
}

.dialogo-caja > .ficha-guia thead {
	padding: 0;
}

.dialogo-caja > .ficha-guia th {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--separacion--corta);
	text-transform: uppercase;
}

.dialogo-caja > .ficha-guia td:first-child {
	font-weight: var(--wp--custom--peso--fuerte);
}

/* === comprar ya === */

.comprar-ya-pago {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	margin-top: var(--wp--preset--spacing--30);
}

.comprar-ya-pago :is(p, dl, dt, dd) {
	margin: 0;
	font-weight: inherit;
}

.comprar-ya-linea {
	display: grid;
	grid-template-columns: var(--wp--custom--foto--pequena) minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
}

.comprar-ya-foto {
	display: block;
	aspect-ratio: var(--wp--custom--foto--proporcion);
	border: var(--wp--custom--linea) solid var(--wp--preset--color--borde);
	border-radius: var(--wp--custom--radio--corto);
	background: var(--wp--preset--color--fondo-oscuro);
}

.comprar-ya-foto img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}

.comprar-ya-pago .comprar-ya-nombre {
	font-weight: var(--wp--custom--peso--medio);
}

.comprar-ya-pago .comprar-ya-variante {
	margin-top: var(--wp--custom--cesta--variante);
	color: var(--wp--preset--color--gris);
	font-size: var(--wp--preset--font-size--x-small);
}

.comprar-ya-pago :is(.comprar-ya-cuentas, .comprar-ya-datos) {
	display: grid;
	gap: var(--wp--preset--spacing--20);
	padding-top: var(--wp--preset--spacing--40);
	border-top: var(--wp--custom--linea) solid var(--wp--preset--color--borde);
}

.comprar-ya-cuentas div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--40);
}

.comprar-ya-cuentas .comprar-ya-total {
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--peso--fuerte);
	letter-spacing: var(--wp--custom--separacion--negativa);
}

.comprar-ya-pago .comprar-ya-datos {
	gap: var(--wp--preset--spacing--30);
}

.comprar-ya-datos dt,
.comprar-ya-pago .comprar-ya-condiciones {
	color: var(--wp--preset--color--gris);
	font-size: var(--wp--preset--font-size--x-small);
}

.comprar-ya-condiciones a {
	color: inherit;
	text-decoration: underline;
}

.comprar-ya-pago .comprar-ya-error {
	color: var(--wp--preset--color--error);
	font-weight: var(--wp--custom--peso--medio);
}

.comprar-ya-error:empty {
	display: none;
}

.dialogo-caja > .comprar-ya .comprar-ya-pagar {
	width: 100%;
}

.single-product.woocommerce div.product .ficha-detalle .opciones {
	display: grid;
	grid-template-columns: repeat(var(--wp--custom--ficha--opciones), minmax(0, 1fr));
	gap: var(--wp--custom--ficha--opcion-hueco);
}

.single-product.woocommerce div.product .ficha-detalle .opcion span {
	min-width: 0;
	padding: 0;
	border-radius: var(--wp--custom--radio--corto);
	font-weight: var(--wp--custom--peso--medio);
}

.single-product.woocommerce div.product .ficha-detalle .opcion input:disabled + span {
	border-color: var(--wp--preset--color--fondo);
	background: var(--wp--preset--color--fondo);
	color: var(--wp--preset--color--gris);
	text-decoration: line-through;
}

.single-product.woocommerce div.product .ficha-detalle .falta .opcion input:not(:disabled) + span {
	border-color: var(--wp--preset--color--tinta);
}

.ficha-error {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--peso--medio);
}

.ficha-error:not(:empty) {
	margin-top: var(--wp--preset--spacing--20);
}

.single-product.woocommerce div.product div.summary .single_variation_wrap {
	margin-top: var(--wp--preset--spacing--50);
}

/* WooCommerce la enseña con un estilo en línea al elegir la variación. */
.single-product.woocommerce div.product div.summary form.cart div.quantity {
	display: none !important;
}

.single-product.woocommerce div.product div.summary form.cart .single_add_to_cart_button,
.single-product.woocommerce div.product div.summary .ficha-resumen-boton,
.dialogo-caja > .comprar-ya .comprar-ya-pagar {
	min-height: var(--wp--custom--control--alto);
	border-radius: var(--wp--custom--radio--corto);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--peso--fuerte);
	line-height: var(--wp--custom--interlineado--cuerpo);
	letter-spacing: var(--wp--custom--separacion--corta);
	text-transform: uppercase;
	box-shadow: none;
}

.single-product.woocommerce div.product div.summary form.cart .single_add_to_cart_button.wc-variation-selection-needed {
	opacity: 1;
}

.single-product.woocommerce div.product div.summary form.cart :has(> .ficha-comprar),
.single-product.woocommerce div.product div.summary form.cart:has(> .ficha-comprar) {
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
}

.single-product.woocommerce div.product div.summary form.cart .single_add_to_cart_button.ficha-comprar {
	flex-basis: 100%;
	background: var(--wp--preset--color--fondo-oscuro);
	color: var(--wp--preset--color--tinta);
}

.single-product.woocommerce div.product div.summary form.cart .single_add_to_cart_button.ficha-comprar:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--borde);
}

.single-product.woocommerce div.product .ficha-detalle > .desplegable > .desplegable-titulo {
	min-height: var(--wp--custom--control--alto);
	padding: 0;
	font-weight: var(--wp--custom--peso--fuerte);
}

.single-product.woocommerce div.product .ficha-detalle > .desplegable > .desplegable-cuerpo {
	color: var(--wp--preset--color--gris);
	font-size: var(--wp--preset--font-size--small);
}

.single-product.woocommerce div.product .ficha-detalle > .desplegable > .desplegable-cuerpo > * {
	margin: 0;
}

.single-product.woocommerce div.product .ficha-detalle > .desplegable > .desplegable-cuerpo > * + * {
	margin-top: var(--wp--preset--spacing--20);
}

.single-product.woocommerce section.products > h2 {
	margin: 0 0 var(--wp--preset--spacing--40);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--peso--fuerte);
	line-height: var(--wp--custom--interlineado--cuerpo);
	letter-spacing: var(--wp--custom--separacion--corta);
	text-transform: uppercase;
}

/* === la hoja del movil === */

@media (max-width: 767px) {
	html:has(.ficha-asa) {
		--fijo-abajo: var(--wp--custom--ficha--recogido);
		overscroll-behavior-y: none;
	}

	html:has(.ficha-asa[aria-expanded="true"]) .joinchat {
		display: none;
	}

	.single-product .content-area {
		margin-top: 0;
		margin-bottom: 0;
	}

	.single-product.woocommerce div.product {
		margin-bottom: calc(var(--wp--custom--ficha--recogido) + var(--wp--preset--spacing--20) + env(safe-area-inset-bottom));
	}

	.single-product.woocommerce div.product > div.images {
		margin: 0 calc(-1 * var(--global-content-edge-padding));
	}

	.single-product.woocommerce div.product > div.summary {
		position: fixed;
		top: calc(var(--wp--custom--cabecera--alto-compacta) + var(--wp--preset--spacing--20));
		left: var(--wp--preset--spacing--20);
		right: var(--wp--preset--spacing--20);
		bottom: calc(var(--wp--preset--spacing--20) + env(safe-area-inset-bottom));
		z-index: 9;
		display: flex;
		flex-direction: column;
		padding: 0;
		border-radius: var(--wp--custom--radio--largo);
		background: var(--wp--preset--color--blanco);
		box-shadow: var(--wp--custom--sombra--corta);
		overflow: hidden;
		transform: translateY(calc((1 - var(--abierto, 0)) * (100% - var(--wp--custom--ficha--recogido))));
		transition: transform var(--wp--custom--transicion--larga);
	}

	.single-product.woocommerce div.product > div.summary::before {
		content: "";
		position: absolute;
		top: var(--wp--preset--spacing--20);
		left: 50%;
		width: var(--wp--custom--ficha--tirador);
		height: var(--wp--preset--spacing--10);
		border-radius: var(--wp--preset--spacing--10);
		background: var(--wp--preset--color--borde);
		transform: translateX(-50%);
	}

	.ficha-asa,
	.ficha-asa:is(:hover, :focus) {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1;
		display: block;
		height: var(--wp--custom--ficha--asa);
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}

	.abierta > .ficha-asa {
		height: var(--wp--custom--tactil--minimo);
	}

	.ficha-resumen {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		display: block;
		padding: calc(var(--wp--custom--ficha--asa) - var(--wp--custom--tactil--minimo)) var(--wp--preset--spacing--30) 0;
		opacity: calc(1 - var(--abierto, 0) * 2);
		transition: opacity var(--wp--custom--transicion--larga);
	}

	.ficha-resumen-fila {
		display: flex;
		align-items: center;
		gap: var(--wp--preset--spacing--20);
		height: var(--wp--custom--tactil--minimo);
		padding-left: var(--wp--preset--spacing--10);
	}

	.single-product.woocommerce div.product div.summary .ficha-resumen-texto {
		flex: 1;
		min-width: 0;
		margin: 0;
		font-size: var(--wp--preset--font-size--small);
		line-height: var(--wp--custom--interlineado--compacto);
	}

	.ficha-resumen-texto b {
		display: block;
		overflow: hidden;
		font-weight: var(--wp--custom--peso--fuerte);
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.ficha-resumen-texto span {
		color: var(--wp--preset--color--gris);
		font-size: var(--wp--preset--font-size--x-small);
	}

	.ficha-resumen-colores {
		position: relative;
		z-index: 2;
		display: flex;
		margin-right: calc(var(--wp--custom--linea) - (var(--wp--custom--tactil--minimo) - var(--wp--custom--ficha--muestra-recogida)) / 2);
	}

	.ficha-resumen-colores a {
		display: grid;
		place-items: center;
		width: var(--wp--custom--tactil--minimo);
		height: var(--wp--custom--tactil--minimo);
	}

	.ficha-resumen-colores img {
		width: var(--wp--custom--ficha--muestra-recogida);
		height: auto;
		aspect-ratio: var(--wp--custom--foto--proporcion);
		border-radius: var(--wp--custom--radio--corto);
		background: var(--wp--preset--color--fondo);
		object-fit: cover;
		outline: var(--wp--custom--linea) solid transparent;
		outline-offset: var(--wp--custom--linea);
	}

	.ficha-resumen-colores a[aria-current] img {
		outline-color: var(--wp--preset--color--tinta);
	}

	.ficha-resumen-boton {
		position: relative;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		margin-top: var(--wp--preset--spacing--20);
		padding: 0 var(--wp--preset--spacing--40);
	}

	.ficha-detalle {
		flex: 1;
		min-height: 0;
		margin-top: var(--wp--custom--tactil--minimo);
		padding: 0 var(--wp--preset--spacing--40);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: none;
		opacity: calc(var(--abierto, 0) * 2 - 1);
		transition: opacity var(--wp--custom--transicion--larga);
	}

	.single-product.woocommerce div.product > div.summary:not(.abierta) .ficha-detalle,
	.abierta > .ficha-resumen {
		pointer-events: none;
	}

	.single-product.woocommerce div.product > div.summary.arrastrando,
	.arrastrando > .ficha-resumen,
	.arrastrando > .ficha-detalle {
		transition: none;
	}

	.ficha-volver {
		display: none;
	}

	.ficha-detalle section.products {
		margin: var(--wp--preset--spacing--60) 0 0;
	}

	.ficha-detalle section.products ul.products {
		display: grid;
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 44%;
		gap: var(--wp--preset--spacing--20);
		margin: 0 calc(-1 * var(--wp--preset--spacing--40));
		padding: 0 var(--wp--preset--spacing--40);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--wp--preset--spacing--40);
		scrollbar-width: none;
	}

	.ficha-detalle section.products ul.products > li {
		scroll-snap-align: start;
	}

	.ficha-detalle #colophon {
		margin: var(--wp--preset--spacing--60) calc(-1 * var(--wp--preset--spacing--40)) 0;
		overflow: clip;
	}

	.ficha-detalle #colophon .pie-caja {
		padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40) 0;
	}

	.single-product.woocommerce div.product div.summary #colophon p {
		margin: 0;
	}

	.single-product.woocommerce div.product div.summary #colophon .pie-aviso {
		margin-top: var(--wp--preset--spacing--60);
	}

	.single-product.woocommerce div.product div.summary #colophon .pie-nombre {
		margin-top: var(--wp--preset--spacing--40);
	}
}

/* === el escritorio === */

@media (min-width: 768px) {
	.single-product .content-area {
		margin: var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--60);
	}

	.single-product.woocommerce div.product {
		grid-template-columns: var(--wp--custom--ficha--columnas);
		grid-template-rows: minmax(0, 1fr);
		justify-content: center;
		align-items: stretch;
		column-gap: var(--wp--custom--ficha--hueco);
		height: var(--ficha-alto);
		margin-bottom: 0;
	}

	.single-product.woocommerce div.product > div.images {
		display: grid;
		grid-row: 1;
		grid-column: 1;
		grid-template-columns: var(--wp--custom--ficha--miniatura) var(--wp--custom--ficha--avance) minmax(0, 1fr);
		align-items: start;
		column-gap: var(--wp--preset--spacing--30);
		overflow-y: auto;
		scrollbar-width: none;
	}

	.single-product.woocommerce div.product div.images div.woocommerce-product-gallery__wrapper {
		grid-row: 1;
		grid-column: 3;
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--30);
	}

	.single-product.woocommerce div.product div.images div.woocommerce-product-gallery__wrapper > div.woocommerce-product-gallery__image {
		border-radius: var(--wp--custom--radio--normal);
	}

	.ficha-miniaturas {
		position: sticky;
		top: 0;
		grid-row: 1;
		grid-column: 1;
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--20);
		max-height: var(--ficha-alto);
		overflow-y: auto;
		scrollbar-width: none;
	}

	.ficha-miniaturas button,
	.ficha-miniaturas button:is(:hover, :focus) {
		flex: none;
		width: 100%;
		aspect-ratio: var(--wp--custom--foto--proporcion);
		padding: 0;
		border: 0;
		border-radius: var(--wp--custom--radio--corto);
		background: var(--wp--preset--color--fondo-oscuro);
		box-shadow: none;
		overflow: hidden;
		opacity: var(--wp--custom--ficha--miniatura-apagada);
		transition: opacity var(--wp--custom--transicion--media);
	}

	.ficha-miniaturas button:hover,
	.ficha-miniaturas button[aria-current] {
		opacity: 1;
	}

	.ficha-miniaturas img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.ficha-progreso {
		position: sticky;
		top: 0;
		left: auto;
		grid-row: 1;
		grid-column: 2;
		height: calc(var(--fotos, 1) * var(--wp--custom--ficha--miniatura) / (var(--wp--custom--foto--proporcion)) + (var(--fotos, 1) - 1) * var(--wp--preset--spacing--20));
		background: var(--wp--preset--color--borde);
		mix-blend-mode: normal;
		transform: none;
	}

	.ficha-progreso span {
		background: var(--wp--preset--color--tinta);
	}

	.single-product.woocommerce div.product > div.summary {
		position: relative;
		top: auto;
		grid-row: 1;
		grid-column: 2;
		margin: 0 calc(-1 * var(--wp--preset--spacing--10));
		padding: 0 var(--wp--preset--spacing--10) var(--wp--preset--spacing--50);
		overflow-y: auto;
		scrollbar-width: none;
	}

	.single-product section.products {
		margin-top: var(--wp--preset--spacing--70);
	}
}
