/* ═════════════════════════════════════════════════════════════════════
 *  NOVUM — La tienda
 *
 *  WooCommerce trae una maquetación de 2013: columnas flotadas, anchos
 *  en porcentajes con márgenes que no suman, y un diseño pensado para
 *  catálogos de cientos de artículos baratos. NOVUM vende pocas piezas
 *  y caras, a empresas, y la mitad del argumento de venta está en que
 *  se vea el grabado.
 *
 *  Aquí se rehace esa maquetación con rejilla, se le da el aire del
 *  resto del sitio y se respetan las dos reglas del sistema: esquinas
 *  rectas y Fraunces sólo para titulares y cifras.
 *
 *  Los selectores llevan `body` delante a propósito: WooCommerce define
 *  las suyas con peso (0,4,3) y a igual peso decide el orden de carga,
 *  que no conviene dejar al azar. Con el elemento al frente ganamos
 *  siempre.
 * ═════════════════════════════════════════════════════════════════════ */

/* ── El contenedor ─────────────────────────────────────────────────── */

.nv-tienda {
	padding-block: clamp(2rem, 4vw, 3.5rem) clamp(4rem, 8vw, 7rem);
}

body.woocommerce .nv-tienda,
body.woocommerce-page .nv-tienda {
	max-width: var(--container-max);
}

/* WooCommerce deja estos envoltorios sueltos dentro del nuestro. */
body.woocommerce #primary,
body.woocommerce #main,
body.woocommerce .site-main {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	float: none;
}

/* ── Migas de pan ──────────────────────────────────────────────────── */

body.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	padding: 0;
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-meta);
	letter-spacing: var(--tracking-meta);
	text-transform: uppercase;
	color: var(--color-text-faint);
}

body.woocommerce .woocommerce-breadcrumb a {
	color: var(--color-text-muted);
	transition: color .25s ease;
}

body.woocommerce .woocommerce-breadcrumb a:hover {
	color: var(--color-text);
}

/* ── Avisos ────────────────────────────────────────────────────────
 *
 *  Los de WooCommerce llegan con fondo de color, esquinas redondeadas y
 *  un icono. Aquí se convierten en una barra sobria con una línea de
 *  color al costado: dice lo mismo sin romper la página.
 * ─────────────────────────────────────────────────────────────────── */

body.woocommerce .woocommerce-message,
body.woocommerce .woocommerce-info,
body.woocommerce .woocommerce-error,
body.woocommerce-page .woocommerce-message,
body.woocommerce-page .woocommerce-info,
body.woocommerce-page .woocommerce-error {
	margin: 0 0 2rem;
	padding: 1.125rem 1.375rem;
	border: 1px solid var(--color-line);
	border-left-width: 3px;
	border-radius: var(--radius);
	background: var(--color-surface);
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-body-sm);
	line-height: 1.6;
	color: var(--color-text-secondary);
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.5rem;
	align-items: center;
	justify-content: space-between;
}

body.woocommerce .woocommerce-message::before,
body.woocommerce .woocommerce-info::before,
body.woocommerce .woocommerce-error::before,
body.woocommerce-page .woocommerce-message::before,
body.woocommerce-page .woocommerce-info::before,
body.woocommerce-page .woocommerce-error::before {
	content: none;
}

body.woocommerce .woocommerce-message { border-left-color: var(--color-accent) }
body.woocommerce .woocommerce-info    { border-left-color: var(--color-text-faint) }
body.woocommerce .woocommerce-error   { border-left-color: #B4403F }

/* ── Botones ───────────────────────────────────────────────────────
 *  Un solo botón para toda la tienda: negro, recto, versalitas.
 * ─────────────────────────────────────────────────────────────────── */

body.woocommerce a.button,
body.woocommerce button.button,
body.woocommerce input.button,
body.woocommerce #respond input#submit,
body.woocommerce-page a.button,
body.woocommerce-page button.button,
body.woocommerce-page input.button {
	display: inline-block;
	padding: 1rem 1.75rem;
	border: 1px solid var(--color-text);
	border-radius: var(--radius);
	background: var(--color-text);
	color: #fff;
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-meta);
	font-weight: 600;
	letter-spacing: var(--tracking-meta);
	text-transform: uppercase;
	line-height: 1.2;
	transition: background .25s ease, border-color .25s ease, color .25s ease;
}

body.woocommerce a.button:hover,
body.woocommerce button.button:hover,
body.woocommerce input.button:hover,
body.woocommerce #respond input#submit:hover,
body.woocommerce-page a.button:hover,
body.woocommerce-page button.button:hover,
body.woocommerce-page input.button:hover {
	background: var(--novum-graphite);
	border-color: var(--novum-graphite);
	color: #fff;
}

/* El secundario —«seguir comprando», «actualizar carrito»— es de
   contorno: compite menos con la acción principal. */
body.woocommerce .woocommerce-message a.button,
body.woocommerce .woocommerce-info a.button,
body.woocommerce button[name="update_cart"],
body.woocommerce a.button.wc-backward {
	background: transparent;
	color: var(--color-text);
}

body.woocommerce .woocommerce-message a.button:hover,
body.woocommerce .woocommerce-info a.button:hover,
body.woocommerce button[name="update_cart"]:hover,
body.woocommerce a.button.wc-backward:hover {
	background: var(--color-text);
	color: #fff;
}

body.woocommerce button[name="update_cart"]:disabled {
	opacity: .35;
}

/* ── El catálogo ───────────────────────────────────────────────────
 *
 *  Rejilla de verdad, no columnas flotadas. `auto-fill` con un mínimo
 *  deja que la tienda funcione igual con cuatro productos que con
 *  cuarenta, sin tocar nada.
 * ─────────────────────────────────────────────────────────────────── */

body.woocommerce .woocommerce-products-header {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

body.woocommerce .woocommerce-products-header__title,
body.woocommerce .page-description {
	margin: 0;
}

body.woocommerce .woocommerce-result-count,
body.woocommerce .woocommerce-ordering {
	float: none;
	margin: 0;
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-meta);
	letter-spacing: var(--tracking-meta);
	text-transform: uppercase;
	color: var(--color-text-faint);
}

body.woocommerce .woocommerce-notices-wrapper:empty { display: none }

/* Fila de «mostrando N resultados» + ordenar */
body.woocommerce .nv-tienda > .woocommerce-result-count,
body.woocommerce .nv-tienda > .woocommerce-ordering {
	display: inline-block;
	vertical-align: middle;
	margin-bottom: 2rem;
}

body.woocommerce .nv-tienda > .woocommerce-ordering { float: right }

body.woocommerce .woocommerce-ordering select {
	padding: .625rem 2.5rem .625rem .875rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background-color: var(--color-surface);
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236E6F72' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .875rem center;
	background-size: .6875rem auto;
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-meta);
	letter-spacing: var(--tracking-meta);
	text-transform: uppercase;
	color: var(--color-text);
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

body.woocommerce ul.products,
body.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	gap: clamp(1.5rem, 3vw, 2.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
	clear: both;
}

body.woocommerce ul.products::before,
body.woocommerce ul.products::after { content: none }

/* El `[class*="columns-"]` del selector no es capricho. WooCommerce fija
   el ancho de la tarjeta con reglas de peso (0,4,2):

     .woocommerce ul.products.columns-3 li.product        { width:30.75% }
     .woocommerce ul.products[class*="columns-"] li.product { width:48% }

   Un selector de tres clases pierde contra ellas, y el resultado es una
   tarjeta de 111 px dentro de una columna de 363 px —el 30.75 % de la
   columna— con el título partido palabra por palabra. Repitiendo el
   selector de atributo subimos a (0,4,3) y la rejilla manda. */
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product,
body.woocommerce ul.products[class*="columns-"] li.product,
body.woocommerce-page ul.products[class*="columns-"] li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	text-align: left;
	clear: none;
}

/* La fotografía manda: proporción fija para que la rejilla no baile
   según el recorte de cada imagen. */
body.woocommerce ul.products li.product a img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	margin: 0 0 1.125rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--color-bg-alt);
	transition: opacity .3s ease;
}

body.woocommerce ul.products li.product a:hover img { opacity: .88 }

body.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 .5rem;
	padding: 0;
	font-family: var(--fuente-titulo);
	font-size: var(--size-h3);
	font-weight: var(--peso-titulo);
	line-height: var(--leading-snug);
	letter-spacing: var(--tracking-tight);
	color: var(--color-text);
}

body.woocommerce ul.products li.product .price {
	display: block;
	margin: 0 0 1rem;
	font-family: var(--fuente-titulo);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--color-text);
}

/* En la tarjeta, «Elegir opciones» es un enlace discreto: la tarjeta
   entera ya lleva al producto, y dos botones compitiendo sólo reparten
   la atención. */
body.woocommerce ul.products li.product a.button {
	padding: 0 0 .25rem;
	border: 0;
	border-bottom: 1px solid var(--color-line);
	background: transparent;
	color: var(--color-text-muted);
	font-size: var(--size-meta);
}

body.woocommerce ul.products li.product a.button:hover {
	background: transparent;
	color: var(--color-text);
	border-bottom-color: currentColor;
}

body.woocommerce ul.products li.product .onsale,
body.woocommerce span.onsale {
	top: .75rem;
	right: .75rem;
	left: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: .3125rem .625rem;
	border-radius: var(--radius);
	background: var(--color-text);
	color: #fff;
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-eyebrow);
	font-weight: 600;
	letter-spacing: var(--tracking-meta);
	line-height: 1.2;
}

/* ── La ficha del producto ─────────────────────────────────────────── */

body.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

body.woocommerce div.product div.images,
body.woocommerce div.product div.summary {
	float: none;
	width: auto;
	margin: 0;
}

/* El selector nombra las dos clases y los dos elementos a propósito.
   WooCommerce declara `position:relative` sobre esta misma galería con
   peso (0,4,2); un selector más flojo pierde el `position` pero
   conserva el `top`, y un `top` sobre un elemento `relative` no lo fija:
   lo empuja. Así fue como la foto bajaba 104 px y tapaba el título. */
body.woocommerce div.product div.images.woocommerce-product-gallery {
	position: sticky;
	top: 6.5rem;
}

body.woocommerce div.product .woocommerce-product-gallery__wrapper img {
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--color-bg-alt);
}

body.woocommerce div.product .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: .625rem;
	margin: .625rem 0 0;
	padding: 0;
	list-style: none;
}

body.woocommerce div.product .flex-control-thumbs li {
	width: auto;
	float: none;
	margin: 0;
}

body.woocommerce div.product .flex-control-thumbs img {
	border: 1px solid var(--color-line);
	opacity: .6;
	transition: opacity .25s ease, border-color .25s ease;
}

body.woocommerce div.product .flex-control-thumbs img.flex-active,
body.woocommerce div.product .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--color-accent);
}

body.woocommerce div.product .product_title {
	margin: 0 0 1rem;
	font-size: var(--size-h2);
	font-weight: 300;
}

body.woocommerce div.product .woocommerce-product-rating { margin-bottom: 1rem }

body.woocommerce div.product .woocommerce-product-details__short-description {
	margin: 1.5rem 0 0;
	max-width: var(--measure);
	color: var(--color-text-secondary);
}

body.woocommerce div.product .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

body.woocommerce div.product .product_meta {
	margin: 2rem 0 0;
	padding-top: 1.5rem;
	border-top: var(--rule);
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-meta);
	letter-spacing: .06em;
	color: var(--color-text-faint);
}

body.woocommerce div.product .product_meta > span { display: block; margin-bottom: .375rem }

/* ── Pestañas y descripción larga ──────────────────────────────────
 *
 *  Ocupan el ancho completo, debajo de las dos columnas: la ficha
 *  técnica se lee mejor en una línea cómoda que embutida en media
 *  página.
 * ─────────────────────────────────────────────────────────────────── */

body.woocommerce div.product .woocommerce-tabs,
body.woocommerce div.product .related,
body.woocommerce div.product .upsells {
	grid-column: 1 / -1;
	margin-top: clamp(3.5rem, 7vw, 6rem);
	padding-top: clamp(2.5rem, 5vw, 4rem);
	border-top: var(--rule);
}

body.woocommerce div.product .woocommerce-tabs ul.tabs {
	margin: 0 0 2.5rem;
	padding: 0;
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

body.woocommerce div.product .woocommerce-tabs ul.tabs::before { content: none }

body.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

body.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.woocommerce div.product .woocommerce-tabs ul.tabs li::after { content: none }

body.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 0 0 .625rem;
	border-bottom: 2px solid transparent;
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-meta);
	font-weight: 600;
	letter-spacing: var(--tracking-meta);
	text-transform: uppercase;
	color: var(--color-text-faint);
	transition: color .25s ease, border-color .25s ease;
}

body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
body.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--color-text);
	border-bottom-color: var(--color-accent);
}

body.woocommerce div.product .woocommerce-Tabs-panel {
	max-width: var(--measure);
	color: var(--color-text-secondary);
}

body.woocommerce div.product .woocommerce-Tabs-panel h2 {
	font-size: var(--size-h3);
	margin: 2.5rem 0 1rem;
}

body.woocommerce div.product .woocommerce-Tabs-panel h2:first-child { margin-top: 0 }

body.woocommerce div.product .woocommerce-Tabs-panel ul {
	margin: 0 0 1.5rem;
	padding-left: 1.125rem;
}

body.woocommerce div.product .woocommerce-Tabs-panel li { margin-bottom: .5rem }

body.woocommerce div.product .shop_attributes th,
body.woocommerce div.product .shop_attributes td {
	padding: .75rem 0;
	border: 0;
	border-bottom: var(--rule);
	font-size: var(--size-body-sm);
}

body.woocommerce div.product .shop_attributes th {
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-meta);
	font-weight: 600;
	letter-spacing: var(--tracking-meta);
	text-transform: uppercase;
	color: var(--color-text-muted);
	width: 14rem;
}

body.woocommerce div.product .related > h2,
body.woocommerce div.product .upsells > h2 {
	margin: 0 0 2.5rem;
	font-size: var(--size-h3);
}

/* ── Carrito ───────────────────────────────────────────────────────── */

body.woocommerce table.shop_table {
	margin: 0 0 2.5rem;
	border: 0;
	border-collapse: collapse;
	border-radius: var(--radius);
}

body.woocommerce table.shop_table th {
	padding: 0 1rem 1rem 0;
	border: 0;
	border-bottom: 1px solid var(--color-line-strong);
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-meta);
	font-weight: 600;
	letter-spacing: var(--tracking-meta);
	text-transform: uppercase;
	color: var(--color-text);
	text-align: left;
}

body.woocommerce table.shop_table td {
	padding: 1.5rem 1rem 1.5rem 0;
	border: 0;
	border-bottom: var(--rule);
	vertical-align: top;
	font-size: var(--size-body-sm);
	color: var(--color-text-secondary);
}

body.woocommerce table.shop_table td.product-name a {
	font-family: var(--fuente-titulo);
	font-size: 1.0625rem;
	color: var(--color-text);
}

body.woocommerce table.shop_table td.product-price,
body.woocommerce table.shop_table td.product-subtotal,
body.woocommerce table.shop_table .amount {
	font-family: var(--fuente-titulo);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--color-text);
}

body.woocommerce table.shop_table .product-thumbnail img {
	width: 5rem;
	border: 1px solid var(--color-line);
}

/* Los datos de personalización que agrega el plugin */
body.woocommerce table.shop_table dl.variation {
	margin: .625rem 0 0;
	font-size: var(--size-meta);
	line-height: 1.55;
	color: var(--color-text-muted);
}

body.woocommerce table.shop_table dl.variation dt {
	float: none;
	margin: .5rem 0 0;
	padding: 0;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: var(--size-eyebrow);
	color: var(--color-text-faint);
}

body.woocommerce table.shop_table dl.variation dd {
	margin: 0;
	padding: 0;
}

body.woocommerce table.shop_table dl.variation dd p { margin: 0 }

body.woocommerce a.remove {
	width: 1.75rem;
	height: 1.75rem;
	line-height: 1.6;
	font-size: 1.25rem;
	color: var(--color-text-faint) !important;
	border-radius: var(--radius);
}

body.woocommerce a.remove:hover {
	background: var(--color-text);
	color: #fff !important;
}

body.woocommerce .cart_totals h2,
body.woocommerce .cross-sells h2 {
	margin: 0 0 1.5rem;
	font-size: var(--size-h3);
}

body.woocommerce .cart_totals table.shop_table td,
body.woocommerce .cart_totals table.shop_table th {
	padding: 1rem 0;
}

body.woocommerce .cart_totals .order-total .amount {
	font-size: 1.375rem;
}

body.woocommerce .coupon input[type="text"],
body.woocommerce form .form-row input.input-text,
body.woocommerce form .form-row textarea,
body.woocommerce form .form-row select,
body.woocommerce-page form .form-row input.input-text,
body.woocommerce-page form .form-row textarea {
	padding: .8125rem 1rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--color-surface);
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-body-sm);
	color: var(--color-text);
	line-height: 1.4;
}

/* ── Pago ──────────────────────────────────────────────────────────── */

body.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

body.woocommerce-checkout #customer_details { grid-column: 1 }

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
	grid-column: 2;
}

body.woocommerce-checkout #order_review_heading {
	margin: 0 0 1.5rem;
	font-size: var(--size-h3);
}

body.woocommerce-checkout #order_review {
	padding: 1.75rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--color-surface);
}

body.woocommerce-checkout h3 {
	margin: 0 0 1.5rem;
	font-size: var(--size-h3);
}

body.woocommerce form .form-row label {
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-meta);
	font-weight: 600;
	letter-spacing: var(--tracking-meta);
	text-transform: uppercase;
	color: var(--color-text);
	margin-bottom: .5rem;
}

body.woocommerce form .form-row .description,
body.woocommerce form .form-row span.description {
	margin-top: .4375rem;
	font-size: var(--size-meta);
	line-height: 1.5;
	color: var(--color-text-muted);
	letter-spacing: 0;
	text-transform: none;
	font-weight: 400;
	background: none;
	border: 0;
	padding: 0;
	box-shadow: none;
}

body.woocommerce form .form-row .description::before { content: none }

body.woocommerce .required { color: var(--color-accent-ink); text-decoration: none }

body.woocommerce #payment {
	border-radius: var(--radius);
	background: transparent;
}

body.woocommerce #payment ul.payment_methods {
	padding: 0;
	border-bottom: var(--rule);
}

body.woocommerce #payment div.form-row { padding: 1.5rem 0 0 }

body.woocommerce #payment #place_order { width: 100% }

/* ── Mi cuenta ─────────────────────────────────────────────────────── */

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	border-bottom: var(--rule);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: .75rem 0;
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-meta);
	font-weight: 600;
	letter-spacing: var(--tracking-meta);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	color: var(--color-text);
}

/* ── Paginación ────────────────────────────────────────────────────── */

body.woocommerce nav.woocommerce-pagination ul {
	margin: 3rem 0 0;
	border: 0;
	display: flex;
	gap: .5rem;
	justify-content: center;
}

body.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
	margin: 0;
}

body.woocommerce nav.woocommerce-pagination ul li a,
body.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 2.75rem;
	padding: .625rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--color-surface);
	font-family: var(--fuente-cuerpo);
	font-size: var(--size-body-sm);
	color: var(--color-text-muted);
}

body.woocommerce nav.woocommerce-pagination ul li span.current {
	border-color: var(--color-text);
	background: var(--color-text);
	color: #fff;
}

/* ── Pantallas angostas ────────────────────────────────────────────
 *
 *  Una sola columna a partir de tableta. El `position:sticky` de la
 *  galería se apaga: en vertical no hay a dónde fijarla y estorbaría.
 * ─────────────────────────────────────────────────────────────────── */

@media (max-width: 60rem) {
	body.woocommerce div.product,
	body.woocommerce-checkout form.checkout {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-checkout #customer_details,
	body.woocommerce-checkout #order_review_heading,
	body.woocommerce-checkout #order_review {
		grid-column: 1;
	}

	/* `top:auto` además de `position:static`: aunque otra hoja vuelva a
	   imponer `relative`, sin desplazamiento no puede mover nada. */
	body.woocommerce div.product div.images.woocommerce-product-gallery {
		position: static;
		top: auto;
	}

	body.woocommerce div.product .product_title {
		font-size: var(--size-h3);
	}
}

@media (max-width: 40rem) {
	body.woocommerce .nv-tienda > .woocommerce-ordering {
		float: none;
		display: block;
		margin-top: 1rem;
	}

	body.woocommerce .woocommerce-ordering select { width: 100% }

	/* La tabla del carrito se vuelve ilegible en 375 px con cinco
	   columnas. WooCommerce ya la apila en su hoja de pantalla chica;
	   aquí sólo se corrige el aire y la línea divisoria. */
	body.woocommerce table.shop_table_responsive tr {
		display: block;
		padding: 1.25rem 0;
		border-bottom: var(--rule);
	}

	body.woocommerce table.shop_table_responsive td {
		padding: .375rem 0;
		border: 0;
		text-align: right;
	}

	body.woocommerce table.shop_table_responsive td::before {
		font-family: var(--fuente-cuerpo);
		font-size: var(--size-eyebrow);
		font-weight: 600;
		letter-spacing: var(--tracking-meta);
		text-transform: uppercase;
		color: var(--color-text-faint);
	}

	body.woocommerce table.shop_table_responsive td.product-name { text-align: left }
}

/* ── Quien prefiere no ver movimiento, no lo ve ──────────────────── */

@media (prefers-reduced-motion: reduce) {
	body.woocommerce ul.products li.product a img,
	body.woocommerce a.button,
	body.woocommerce button.button,
	body.woocommerce .woocommerce-breadcrumb a {
		transition: none;
	}
}
