/* ============================================================
   NOTA T6-1 (b) · S245: desde la versión 0.5.0 esta hoja carga también en
   tienda, carrito y checkout (functions.php). Las reglas de H2-T1 (abajo)
   siguen acotadas a `.single-product`; las superficies nuevas van al final,
   en el bloque «T6-1 (b)».
   ============================================================ */

/* ============================================================
   H2-T1 · Coherencia visual BASE de fichas single-product — Makuyen Web V2.

   Qué resuelve: el CSS inline del Customizer de Kadence pisa a theme.json
   por orden de cascada (DECISIONES.md S140-6), así que las fichas de
   producto renderizan sus encabezados fuera del lenguaje Web V2 y el botón
   de compra fuera del sistema Makuyen. Esta capa repone la identidad usando
   los tokens canónicos.

   Jerarquía single-product aprobada visualmente por Marleth (S140, mockup
   jerarquia-v2): NO copia literal de la escala editorial de página. Es una
   jerarquía propia de ficha comercial:
     · Título del producto  → serif, tamaño hero, VINO #954C78 (integra a la
       marca y deja de percibirse negro; §3: «#423C4C no es color universal
       de títulos; los de ficha son funcionales»).
     · Encabezados de sección → serif 20px VINO (presencia sin bloques
       pesados; §3: «Vino = H3 de tarjetas y acentos»).
     · «Descripción» → marcador funcional: el tab nav restyleado como
       versalita 14px vino + línea fina que lo conecta. Se oculta el
       <h2>Descripción</h2> redundante que el tema inyecta en el panel.
     · Cuerpo → intacto.

   Multi-tab-safe: NO se oculta el tab nav (10/40 productos del catálogo
   tienen 2 pestañas — «Información adicional»); se restylea, conservando la
   navegación. Verificado S140.

   Alcance (S140-5): sistémico, acotado a `.single-product`; no toca copy ni
   configuración de las fichas, no cambia el layout de 2 columnas, no
   interviene carrito/checkout. Capa visual AVANZADA → V1.1.

   Cómo gana sin !important: dependencia de `kadence-global` (functions.php)
   + especificidad por sobre los `h1{}`/`h2{}` de Kadence (0-0-1).

   Tokens usados (canónicos, verificados en staging S140):
     --wp--preset--font-family--dm-serif-display / --dm-sans
     --wp--preset--font-size--hero  (clamp 30→56px; 52,7px @1440)
     --wp--preset--color--makuyen-vino (#954C78) / --makuyen-vino-oscuro (#6F385A)
     --wp--preset--color--makuyen-verde (#3AAE91) / --makuyen-verde-oscuro (#2C8C74)
     --wp--preset--color--makuyen-blanco / --makuyen-niebla
     --global-content-narrow-width (842px)
   Tamaños 20px/14px = valores de ficha aprobados visualmente (S140), no por
   token (decisión de Marleth: «no fijar por token, sino por lo que produce la
   jerarquía»). Interlíneas (1,15/1,3) son valores de theme.json. Cero hex
   hardcodeado en reglas.
   ============================================================ */

/* --- Título del producto → serif, VINO, tope 44px en desktop.
   Misma curva fluida del token `hero` del sitio, con el TOPE bajado de 56px a
   44px (aprobado S140 sobre comparación 44 vs 38): en desktop rinde 44px en
   vez de ~52px (dejaba de ser dominante frente a los encabezados de 20px);
   en mobile el mid queda por debajo del tope y rinde ~31px, idéntico a antes.
   Valor de ficha aprobado visualmente, no por token (decisión de Marleth). --- */
.single-product .product_title.entry-title {
    font-family: var(--wp--preset--font-family--dm-serif-display);
    font-size: clamp(30px, 1.875rem + ((1vw - 3.2px) * 2.031), 44px);
    line-height: 1.15;
    font-weight: 400;
    color: var(--wp--preset--color--makuyen-vino);
}

/* --- Encabezados de CONTENIDO de la descripción → 20px serif VINO.
   T6-1 (b) S245: el selector ya no depende de `> h2` hijo directo (S147-7):
   alcanza encabezados anidados y los <h1> que functions.php degrada a <h2>
   al servir (S244-7). El <h2>Descripción</h2> inyectado se oculta abajo. --- */
.single-product .woocommerce-Tabs-panel--description h2 {
    font-family: var(--wp--preset--font-family--dm-serif-display);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: var(--wp--preset--color--makuyen-vino);
    margin-top: 34px;
}
.single-product .woocommerce-Tabs-panel--description h3 {
    font-family: var(--wp--preset--font-family--dm-serif-display);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.3;
    color: var(--wp--preset--color--makuyen-vino);
}
/* <strong> envolvente dentro de un encabezado (fichas heredadas): la serif
   no lleva negrita. */
.single-product .woocommerce-Tabs-panel--description :is(h2, h3) strong {
    font-weight: inherit;
}

/* --- «Descripción» inyectado en el panel → oculto (redundante con el
   marcador del tab nav). Es siempre el primer hijo del panel. --- */
.single-product .woocommerce-Tabs-panel--description > h2:first-child {
    display: none;
}

/* --- Marcador «Descripción»: el tab nav restyleado (versalita vino + línea
   fina que lo conecta). Conserva la navegación en productos multi-pestaña.
   Prefijo de alta especificidad que refleja el selector de Kadence
   (`.woocommerce div.product .woocommerce-tabs ul.tabs li a` = 0-4-4, y 0-5-4
   en la pestaña activa que fija el color) y lo supera, para ganar sin
   !important. Verificado S140. --- */
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    list-style: none;
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs::before {
    display: none;             /* quita la línea inferior full-width de WooCommerce */
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--wp--preset--color--makuyen-niebla);
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li::before,
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li::after {
    display: none;             /* quita las esquinas/decoraciones de pestaña de Kadence */
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li a {
    font-family: var(--wp--preset--font-family--dm-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wp--preset--color--makuyen-vino);
    text-decoration: none;
    padding: 0;
}

/* --- Ancho de lectura de la descripción = medida editorial del sitio. --- */
.single-product .woocommerce-tabs.wc-tabs-wrapper {
    max-width: var(--global-content-narrow-width);
    margin-left: auto;
    margin-right: auto;
}

/* --- Botón «Añadir al carrito» → sistema de botón Makuyen (peso, borde,
   tracking). El radio pill (100px) lo da Kadence y se conserva. --- */
.single-product.woocommerce .single_add_to_cart_button.button {
    font-family: var(--wp--preset--font-family--dm-sans);
    font-weight: 600;
    letter-spacing: 0.01em;
    background-color: var(--wp--preset--color--makuyen-verde);
    border: 1px solid var(--wp--preset--color--makuyen-verde);
    color: var(--wp--preset--color--makuyen-blanco);
    transition: background-color 0.2s ease,
                border-color 0.2s ease,
                transform 0.15s ease;
}
.single-product.woocommerce .single_add_to_cart_button.button:hover {
    background-color: var(--wp--preset--color--makuyen-verde-oscuro);
    border-color: var(--wp--preset--color--makuyen-verde-oscuro);
    color: var(--wp--preset--color--makuyen-blanco);
    transform: translateY(-1px);
}
.single-product.woocommerce .single_add_to_cart_button.button:active {
    background-color: var(--wp--preset--color--makuyen-verde-oscuro);
    border-color: var(--wp--preset--color--makuyen-verde-oscuro);
    transform: translateY(0);
}
.single-product.woocommerce .single_add_to_cart_button.button:focus-visible {
    outline: 2px solid var(--wp--preset--color--makuyen-verde-oscuro);
    outline-offset: 3px;
}

/* ============================================================
   T6-1 (b) · Superficies WooCommerce V1 (S245).
   Diseño aprobado por Marleth en S244 (evidencia S244-3 a S244-6):
   borradores-fase-1/t6-1b-superficies-woo-mockup.html.
   Sistematiza la ficha S140 y el marco S242; no crea idioma nuevo:
   - Encabezado de sección (carrito/checkout) = el de la ficha: serif 20 Vino.
   - Marcador (cabecera de tabla, sugeridos, relacionados) = el
     «DESCRIPCIÓN» de la ficha: versalita 14 Vino + línea Niebla.
   - Resúmenes y cards de producto = card funcional §6C: Blanco, Niebla
     1 px, radio 14, sin sombra en reposo; hover de card §9.7 con la
     sombra ya validada en las páginas (termometros-cual-elegir, S1xx).
   - Botones primarios en pill Verde; campos §9.6 (Blanco, Niebla, radio 8,
     foco Verde + halo); selección de formulario = Verde (§9.6).
   - Recursos declarados y aprobados en S244-4: (1) sello de precio Rosa
     claro + Vino, rol eyebrow · (2) opción de variación pill Niebla,
     elegida con borde Vino · (3) paginación, actual en Vino.
   - CTA de las grillas = enlace suave Vino → (S244-5); sin flecha ≤759.
   Especificidad con `html body` antepuesto (AP-09, sin !important): el
   <style> inline del Customizer se imprime después de esta hoja.
   Cero hex en reglas: solo --wp--preset--color--makuyen-* y los dos
   derivados con alfa de abajo.
   ============================================================ */

:root {
    /* Hover de card clicable (§9.7). Mismo valor que ya sirven las cards
       validadas de Termómetros, Registro y Curso (patterns *-cual-*). */
    --makuyen-sombra-card-hover: 0 10px 24px rgba(0, 0, 0, 0.07);
}

/* ---------- Ficha: meta, stock, variaciones ---------- */
html body.single-product .product_meta,
html body.single-product .summary .stock {
    font-size: 14px;
    line-height: 1.6;
    color: var(--wp--preset--color--makuyen-grafito);
}
html body.single-product .product_meta > span {
    font-size: inherit;
    font-weight: 400;
    color: inherit;
}
html body.single-product .product_meta a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
html body.single-product .product_meta .sku {
    color: inherit;
}

/* Recurso S244-4 (2) · opción de variación: pill Niebla; elegida = borde Vino. */
html body.single-product.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--wp--preset--color--makuyen-blanco);
    box-shadow: 0 0 0 1px var(--wp--preset--color--makuyen-niebla);
    color: var(--wp--preset--color--makuyen-cuerpo);
}
html body.single-product.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) .variable-item-span {
    font-size: 15px;
    color: inherit;
}
html body.single-product.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover {
    box-shadow: 0 0 0 1px var(--wp--preset--color--makuyen-grafito);
}
html body.single-product.woo-variation-swatches .variable-items-wrapper .variable-item.selected:not(.radio-variable-item),
html body.single-product.woo-variation-swatches .variable-items-wrapper .variable-item.selected:not(.radio-variable-item):hover {
    box-shadow: 0 0 0 1.5px var(--wp--preset--color--makuyen-vino);
    color: var(--wp--preset--color--makuyen-vino);
    font-weight: 600;
}
html body.single-product .reset_variations {
    font-size: 14px;
    color: var(--wp--preset--color--makuyen-grafito);
}

/* Relacionados y «También te recomendamos…» de la ficha: marcador +
   grilla a la medida de lectura (mockup S244, vista ficha). */
html body.single-product section.related.products,
html body.single-product section.upsells.products {
    max-width: var(--global-content-narrow-width);
    margin-left: auto;
    margin-right: auto;
}
html body.single-product section.related.products ul.products,
html body.single-product section.upsells.products ul.products {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

/* ---------- Marcador (versalita Vino + línea Niebla) ---------- */
html body.single-product section.related.products > h2,
html body.single-product section.upsells.products > h2,
html body.woocommerce-cart .wp-block-woocommerce-product-collection > h2.wp-block-heading,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2.wp-block-heading:not(.wc-block-cart__empty-cart__title) {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px;
    font-family: var(--wp--preset--font-family--dm-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: left;
    color: var(--wp--preset--color--makuyen-vino);
}
html body.single-product section.related.products > h2::after,
html body.single-product section.upsells.products > h2::after,
html body.woocommerce-cart .wp-block-woocommerce-product-collection > h2.wp-block-heading::after,
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2.wp-block-heading:not(.wc-block-cart__empty-cart__title)::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--wp--preset--color--makuyen-niebla);
}
html body.woocommerce-cart .wp-block-woocommerce-product-collection {
    margin-top: 64px;
}
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block hr.is-style-dots {
    display: none;
}

/* ---------- Cards de producto (tienda · relacionados · sugeridos) ----------
   Tres DOM distintos para el mismo componente: loop clásico (li.product),
   grilla de bloques (li.wc-block-grid__product, carrito vacío) y
   colección de productos (li.wc-block-product, sugeridos del carrito). */
html body ul.products li.product.entry,
html body .wc-block-grid__products li.wc-block-grid__product,
html body .wc-block-product-template li.wc-block-product {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: var(--wp--preset--color--makuyen-blanco);
    border: 1px solid var(--wp--preset--color--makuyen-niebla);
    border-radius: 14px;
    box-shadow: none;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
html body ul.products li.product.entry:hover,
html body .wc-block-grid__products li.wc-block-grid__product:hover,
html body .wc-block-product-template li.wc-block-product:hover {
    transform: translateY(-3px);
    box-shadow: var(--makuyen-sombra-card-hover);
    border-color: var(--wp--preset--color--makuyen-grafito);
}
html body ul.products li.product.entry .product-details,
html body .wc-block-grid__products li.wc-block-grid__product .product-details {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 6px;
    padding: 16px;
    background: transparent;
    text-align: left;
}
/* Foto 1:1 contenida sobre Blanco, filete Niebla debajo. */
html body ul.products li.product.entry a.woocommerce-loop-image-link,
html body .wc-block-grid__products li.wc-block-grid__product a.wc-block-grid__product-link,
html body .wc-block-product-template li.wc-block-product .wc-block-components-product-image {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    margin: 0;
    background: var(--wp--preset--color--makuyen-blanco);
    border-bottom: 1px solid var(--wp--preset--color--makuyen-niebla);
}
html body ul.products li.product.entry a.woocommerce-loop-image-link img,
html body .wc-block-grid__products li.wc-block-grid__product a.wc-block-grid__product-link img,
html body .wc-block-product-template li.wc-block-product .wc-block-components-product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    border-radius: 0;
}
/* Nombre del producto: DM Sans 16/500 Cuerpo. */
html body ul.products li.product.entry .woocommerce-loop-product__title,
html body ul.products li.product.entry .woocommerce-loop-product__title a,
html body .wc-block-grid__products .wc-block-grid__product-title,
html body .wc-block-product-template li.wc-block-product .wp-block-post-title,
html body .wc-block-product-template li.wc-block-product .wp-block-post-title a {
    margin: 0;
    padding: 0;
    font-family: var(--wp--preset--font-family--dm-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    color: var(--wp--preset--color--makuyen-cuerpo);
}
html body .wc-block-product-template li.wc-block-product .wp-block-post-title {
    padding: 16px 16px 0;
}
/* Precio: Cuerpo 15/600; tachado Grafito. */
html body ul.products li.product.entry .price,
html body .wc-block-grid__products .wc-block-grid__product-price,
html body .wc-block-product-template li.wc-block-product .wp-block-woocommerce-product-price {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    color: var(--wp--preset--color--makuyen-cuerpo);
}
html body .wc-block-product-template li.wc-block-product .wp-block-woocommerce-product-price {
    padding: 6px 16px 0;
}
html body .wc-block-product-template li.wc-block-product .wp-block-woocommerce-product-price .wc-block-components-product-price {
    font-size: 15px;
    text-align: left;
}
html body .wp-block-woocommerce-product-collection ul.wc-block-product-template {
    margin: 0;
    padding: 0;
}
html body ul.products li.product.entry .price del,
html body .wc-block-grid__products .wc-block-grid__product-price del,
html body .wc-block-product-template li.wc-block-product .wp-block-woocommerce-product-price del {
    margin-right: 6px;
    font-weight: 400;
    color: var(--wp--preset--color--makuyen-grafito);
    opacity: 1;
}
html body ul.products li.product.entry .price ins,
html body .wc-block-grid__products .wc-block-grid__product-price ins,
html body .wc-block-product-template li.wc-block-product .wp-block-woocommerce-product-price ins {
    text-decoration: none;
    background: none;
    font-weight: 600;
}
/* S244-5 · CTA de grilla = enlace suave Vino →. Texto y destino no cambian. */
html body ul.products li.product.entry .product-action-wrap,
html body .wc-block-grid__products .wc-block-grid__product-add-to-cart,
html body .wc-block-product-template li.wc-block-product .wp-block-woocommerce-product-button {
    margin: auto 0 0;
    padding: 8px 0 0;
    text-align: left;
    justify-content: flex-start;
}
html body .wc-block-product-template li.wc-block-product .wp-block-woocommerce-product-button {
    display: flex;
    align-items: flex-start;
    padding: 8px 16px 16px;
    margin-top: auto;
}
/* Kadence revela el CTA solo en hover (absoluto, opacidad 0) y desplaza el
   bloque de datos: en V1 el enlace suave está siempre visible (mockup S244). */
html body ul.products li.product.entry .product-action-wrap,
html body ul.products.woo-archive-action-on-hover li.product.entry .product-action-wrap,
html body .wc-block-grid__products .wc-block-grid__product-add-to-cart {
    position: static;
    padding: 8px 0 0;
    opacity: 1;
    visibility: visible;
    transform: none;
}
html body ul.products li.product.entry:hover .product-details,
html body ul.products li.product.entry .product-details,
html body .wc-block-grid__products li.wc-block-grid__product .product-details {
    transform: none;
}
html body ul.products li.product.entry .product-action-wrap .button,
html body ul.products li.product.entry .product-action-wrap .added_to_cart,
html body .wc-block-grid__products .wc-block-grid__product-add-to-cart .wp-block-button__link,
html body .wc-block-grid__products .wc-block-grid__product-add-to-cart .added_to_cart,
html body .wc-block-product-template li.wc-block-product .wc-block-components-product-button__button,
html body .wc-block-product-template li.wc-block-product .added_to_cart {
    display: inline-block;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--wp--preset--font-family--dm-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    color: var(--wp--preset--color--makuyen-vino);
}
/* La flecha es texto (::after) en los tres DOM; se oculta la flecha SVG
   propia de Kadence (primer ícono). Los íconos de carga y «hecho» siguen. */
html body ul.products li.product.entry .product-action-wrap .button > .kadence-svg-iconset:first-of-type {
    display: none;
}
html body ul.products li.product.entry .product-action-wrap .button::after,
html body .wc-block-grid__products .wc-block-grid__product-add-to-cart .wp-block-button__link::after,
html body .wc-block-product-template li.wc-block-product .wc-block-components-product-button__button::after {
    content: "\00a0→";
}
html body ul.products li.product.entry .product-action-wrap .button:hover,
html body .wc-block-grid__products .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
html body .wc-block-product-template li.wc-block-product .wc-block-components-product-button__button:hover {
    background: none;
    color: var(--wp--preset--color--makuyen-vino-oscuro);
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 759px) {
    html body ul.products li.product.entry .product-action-wrap .button::after,
    html body .wc-block-grid__products .wc-block-grid__product-add-to-cart .wp-block-button__link::after,
    html body .wc-block-product-template li.wc-block-product .wc-block-components-product-button__button::after {
        content: none;
    }
    html body ul.products li.product.entry .product-details,
    html body .wc-block-grid__products li.wc-block-grid__product .product-details {
        padding: 12px;
    }
    html body ul.products li.product.entry .woocommerce-loop-product__title,
    html body ul.products li.product.entry .woocommerce-loop-product__title a,
    html body .wc-block-grid__products .wc-block-grid__product-title,
    html body .wc-block-product-template li.wc-block-product .wp-block-post-title a {
        font-size: 15px;
    }
}

/* Grilla de la tienda: 4 / 3 / 2 columnas (mockup S244). Los relacionados
   de la ficha conservan su propia grilla (regla más específica arriba). */
@media (max-width: 1024px) {
    html body ul.products.product-archive:not(.products-list-view) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 759px) {
    html body ul.products.product-archive:not(.products-list-view) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* ---------- Recurso S244-4 (1) · sello de precio ---------- */
html body .woocommerce span.onsale,
html body ul.products li.product.entry span.onsale,
html body.single-product span.onsale,
html body .wc-block-grid__products li.wc-block-grid__product .wc-block-grid__product-onsale,
html body .wc-block-components-sale-badge,
html body .wc-block-components-product-sale-badge {
    display: inline-block;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 5px 10px;
    border: 0;
    border-radius: 999px;
    background: var(--wp--preset--color--makuyen-rosa-claro);
    color: var(--wp--preset--color--makuyen-vino);
    font-family: var(--wp--preset--font-family--dm-sans);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: none;
}
html body ul.products li.product.entry span.onsale,
html body .wc-block-grid__products li.wc-block-grid__product .wc-block-grid__product-onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    z-index: 1;
    margin: 0;
}

/* ---------- Recurso S244-4 (3) · paginación ---------- */
html body .woocommerce-pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    border: 0;
}
html body .woocommerce-pagination ul.page-numbers li {
    border: 0;
}
html body .woocommerce-pagination .page-numbers:is(a, span) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: none;
    font-size: 15px;
    color: var(--wp--preset--color--makuyen-cuerpo);
}
html body .woocommerce-pagination .page-numbers.current {
    border-color: var(--wp--preset--color--makuyen-vino);
    color: var(--wp--preset--color--makuyen-vino);
    font-weight: 600;
}
html body .woocommerce-pagination a.page-numbers:hover {
    color: var(--wp--preset--color--makuyen-vino);
    background: none;
}

/* ---------- Tienda: barra de orden ---------- */
html body .woocommerce-result-count {
    font-size: 14px;
    color: var(--wp--preset--color--makuyen-grafito);
}
html body .woocommerce-ordering select.orderby {
    height: 40px;
    padding: 0 36px 0 14px;
    border: 1px solid var(--wp--preset--color--makuyen-niebla);
    border-radius: 8px;
    background-color: var(--wp--preset--color--makuyen-blanco);
    font-family: var(--wp--preset--font-family--dm-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--wp--preset--color--makuyen-cuerpo);
    box-shadow: none;
}

/* ---------- Carrito y checkout: contenido sobre Papel, sin caja ni sombra ---------- */
html body.woocommerce-cart article.entry,
html body.woocommerce-checkout article.entry {
    margin-left: 0;
    margin-right: 0;
    background: transparent;
    box-shadow: none;
}
html body.woocommerce-cart article.entry .entry-content-wrap,
html body.woocommerce-checkout article.entry .entry-content-wrap {
    padding-left: 0;
    padding-right: 0;
}

/* Encabezado de sección = el de la ficha (serif 20 Vino). */
html body .wp-block-woocommerce-cart .wc-block-cart__totals-title,
html body .wp-block-woocommerce-checkout .wc-block-components-checkout-step__title,
html body .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-text {
    margin: 0;
    font-family: var(--wp--preset--font-family--dm-serif-display);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    color: var(--wp--preset--color--makuyen-vino);
}
html body .wp-block-woocommerce-cart .wc-block-cart__totals-title {
    display: block;
    padding: 0 0 16px;
    text-align: left;
}

/* Resumen = card funcional (Blanco · Niebla 1 px · radio 14 · sin sombra). */
html body .wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block,
html body .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
html body .wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper {
    padding: 24px;
    background: var(--wp--preset--color--makuyen-blanco);
    border: 1px solid var(--wp--preset--color--makuyen-niebla);
    border-radius: 14px;
    box-shadow: none;
}
html body .wc-block-cart .wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
    align-self: flex-start;
}
@media (max-width: 1024px) {
    html body .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
        padding: 16px 20px;
    }
    html body .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
        border: 0;
        margin: 0;
        padding: 0;
    }
}
html body .wc-block-cart__sidebar .wc-block-components-totals-wrapper,
html body .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
    border-top-color: var(--wp--preset--color--makuyen-niebla);
}
html body .wc-block-cart__sidebar .wc-block-components-totals-wrapper::after,
html body .wc-block-checkout__sidebar .wc-block-components-totals-wrapper::after {
    border-color: var(--wp--preset--color--makuyen-niebla);
}
html body .wc-block-components-totals-footer-item {
    color: var(--wp--preset--color--makuyen-cuerpo);
}

/* Cabecera de la tabla del carrito = marcador. */
html body .wc-block-cart-items .wc-block-cart-items__header {
    border-bottom: 1px solid var(--wp--preset--color--makuyen-niebla);
}
html body .wc-block-cart-items .wc-block-cart-items__header th,
html body .wc-block-cart-items .wc-block-cart-items__header th span {
    font-family: var(--wp--preset--font-family--dm-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wp--preset--color--makuyen-vino);
}
html body .wc-block-cart-items td,
html body .wc-block-cart-items .wc-block-cart-items__row {
    border-color: var(--wp--preset--color--makuyen-niebla);
}
html body table.wc-block-cart-items::after,
html body .wc-block-cart-items .wc-block-cart-items__row::after {
    border-color: var(--wp--preset--color--makuyen-niebla);
}
html body .wc-block-cart-item__image img,
html body .wc-block-components-order-summary-item__image img {
    border: 1px solid var(--wp--preset--color--makuyen-niebla);
    border-radius: 8px;
}

/* Líneas de producto: nombre 16/500 · bajada microcopy Grafito sin negrita. */
html body .wc-block-components-product-name {
    font-family: var(--wp--preset--font-family--dm-sans);
    font-size: 16px;
    font-weight: 500;
    color: var(--wp--preset--color--makuyen-cuerpo);
    text-decoration: none;
}
html body .wc-block-components-product-metadata,
html body .wc-block-components-product-metadata__description,
html body .wc-block-components-product-metadata__description :is(p, strong, b) {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--wp--preset--color--makuyen-grafito);
}
html body .wc-block-cart-item__prices,
html body .wc-block-components-product-price__regular {
    color: var(--wp--preset--color--makuyen-grafito);
}
html body .wc-block-cart-item__remove-link {
    font-size: 14px;
    color: var(--wp--preset--color--makuyen-grafito);
    text-decoration: underline;
    text-underline-offset: 3px;
}
html body .wc-block-components-quantity-selector {
    background: var(--wp--preset--color--makuyen-blanco);
    border-radius: 8px;
}
html body .wc-block-components-quantity-selector::after {
    border: 1px solid var(--wp--preset--color--makuyen-niebla);
    border-radius: 8px;
    opacity: 1;
}
html body .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
html body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    color: var(--wp--preset--color--makuyen-cuerpo);
}
html body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    color: var(--wp--preset--color--makuyen-grafito);
    opacity: 1;
}

/* Botón primario pill (Finalizar compra · Realizar el pedido). */
html body .wc-block-cart__submit-button,
html body .wc-block-components-checkout-place-order-button {
    min-height: 54px;
    padding: 16px 32px;
    border: 0;
    border-radius: 999px;
    background: var(--wp--preset--color--makuyen-verde);
    color: var(--wp--preset--color--makuyen-blanco);
    font-family: var(--wp--preset--font-family--dm-sans);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
html body .wc-block-cart__submit-button {
    width: 100%;
}
html body .wc-block-cart__submit-button:hover,
html body .wc-block-components-checkout-place-order-button:hover {
    background: var(--wp--preset--color--makuyen-verde-oscuro);
    color: var(--wp--preset--color--makuyen-blanco);
    transform: translateY(-1px);
}
html body .wc-block-cart__submit-button:focus-visible,
html body .wc-block-components-checkout-place-order-button:focus-visible {
    outline: 2px solid var(--wp--preset--color--makuyen-verde-oscuro);
    outline-offset: 3px;
    box-shadow: none;
}
html body .wc-block-components-checkout-return-to-cart-button {
    font-size: 15px;
    font-weight: 600;
    color: var(--wp--preset--color--makuyen-vino);
}

/* ---------- Checkout: campos §9.6 ---------- */
html body .wc-block-components-form .wc-block-components-text-input input:not([type="checkbox"]):not([type="radio"]),
html body .wc-block-components-text-input input:not([type="checkbox"]):not([type="radio"]),
html body .wc-block-components-form .wc-block-components-text-input textarea,
html body .wc-blocks-components-select .wc-blocks-components-select__container .wc-blocks-components-select__select,
html body .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
    background-color: var(--wp--preset--color--makuyen-blanco);
    border: 1px solid var(--wp--preset--color--makuyen-niebla);
    border-radius: 8px;
    color: var(--wp--preset--color--makuyen-cuerpo);
    box-shadow: none;
}
html body .wc-block-components-text-input label,
html body .wc-blocks-components-select .wc-blocks-components-select__label,
html body .wc-block-components-combobox .wc-block-components-combobox-control label {
    color: var(--wp--preset--color--makuyen-grafito);
}
html body .wc-block-components-form .wc-block-components-text-input input:not([type="checkbox"]):not([type="radio"]):focus,
html body .wc-block-components-text-input input:not([type="checkbox"]):not([type="radio"]):focus,
html body .wc-block-components-form .wc-block-components-text-input textarea:focus,
html body .wc-blocks-components-select .wc-blocks-components-select__container .wc-blocks-components-select__select:focus,
html body .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus {
    outline: none;
    border-color: var(--wp--preset--color--makuyen-verde);
    box-shadow: 0 0 0 3px var(--makuyen-verde-halo);
}
html body .wc-block-components-address-form__address_2-toggle {
    font-size: 15px;
    font-weight: 600;
    color: var(--wp--preset--color--makuyen-vino);
}
/* «Editar» de la tarjeta de dirección en una línea (S369, E10): Kadence hereda
   word-break: break-word desde .entry-content y el enlace, ítem flex encogible,
   se partía en letras a 320-390 (y a 820 con direcciones largas). */
html body .wc-block-components-address-card__edit {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Opciones de envío y pago: Niebla; la elegida con borde Verde 1,5 px. */
html body .wc-block-components-radio-control--highlight-checked::after,
html body .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
html body .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option {
    box-shadow: none;
    border-color: var(--wp--preset--color--makuyen-niebla);
}
html body .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
html body .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--makuyen-verde);
    border-radius: 8px;
}
html body .wc-block-components-radio-control .wc-block-components-radio-control__input {
    border-color: var(--wp--preset--color--makuyen-niebla);
    background: var(--wp--preset--color--makuyen-blanco);
}
html body .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
    border-color: var(--wp--preset--color--makuyen-verde);
}
html body .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before {
    background: var(--wp--preset--color--makuyen-verde);
}
html body .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
    border-color: var(--wp--preset--color--makuyen-niebla);
    background: var(--wp--preset--color--makuyen-blanco);
    border-radius: 5px;
}
html body .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
    border-color: var(--wp--preset--color--makuyen-verde);
    background: var(--wp--preset--color--makuyen-verde);
}
html body .wc-block-components-checkbox .wc-block-components-checkbox__mark {
    fill: var(--wp--preset--color--makuyen-blanco);
}
html body .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--makuyen-verde-halo);
}
html body .wc-block-checkout__terms,
html body .wc-block-checkout__guest-checkout-notice {
    font-size: 14px;
    color: var(--wp--preset--color--makuyen-grafito);
}
html body .wc-block-checkout__terms a {
    color: var(--wp--preset--color--makuyen-vino);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Ajustes tras la QA sobre lo servido (S245) ----------
   Reglas de WooCommerce, Kadence y Variation Swatches que ganaban por
   especificidad o por variable propia. */

/* Ficha: selector de cantidad = campo §9.6. */
html body.single-product.woocommerce div.product form.cart .quantity input.qty {
    background: var(--wp--preset--color--makuyen-blanco);
    border: 1px solid var(--wp--preset--color--makuyen-niebla);
    border-radius: 8px;
    color: var(--wp--preset--color--makuyen-cuerpo);
    box-shadow: none;
}
html body.single-product.woocommerce div.product form.cart .quantity input.qty:focus {
    outline: none;
    border-color: var(--wp--preset--color--makuyen-verde);
    box-shadow: 0 0 0 3px var(--makuyen-verde-halo);
}

/* Ficha: SKU y meta en microcopy Grafito. */
html body.single-product.woocommerce div.product .product_meta > span,
html body.single-product.woocommerce div.product .product_meta .sku {
    font-size: inherit;
    font-weight: 400;
    color: var(--wp--preset--color--makuyen-grafito);
}

/* Ficha: encabezados dentro de la descripción corta (también degradados
   de <h1> por functions.php) = encabezado de sección de la ficha. */
html body.single-product .woocommerce-product-details__short-description h2 {
    font-family: var(--wp--preset--font-family--dm-serif-display);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--wp--preset--color--makuyen-vino);
}
html body.single-product .woocommerce-product-details__short-description h3 {
    font-family: var(--wp--preset--font-family--dm-serif-display);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--wp--preset--color--makuyen-vino);
}
html body.single-product .woocommerce-product-details__short-description :is(h2, h3) strong {
    font-weight: inherit;
}

/* Variation Swatches pinta el texto con sus propias variables: se fijan en
   tokens (recurso S244-4 (2)). */
html body.woo-variation-swatches {
    --wvs-item-text-color: var(--wp--preset--color--makuyen-cuerpo);
    --wvs-selected-item-text-color: var(--wp--preset--color--makuyen-vino);
    --wvs-hover-item-text-color: var(--wp--preset--color--makuyen-cuerpo);
    --wvs-item-background-color: var(--wp--preset--color--makuyen-blanco);
    --wvs-selected-item-background-color: var(--wp--preset--color--makuyen-blanco);
    --wvs-hover-item-background-color: var(--wp--preset--color--makuyen-blanco);
}

/* Carrito y checkout: separadores en Niebla (WooCommerce los deriva de
   currentColor con transparencia). */
html body .wp-block-woocommerce-cart table.wc-block-cart-items,
html body .wp-block-woocommerce-cart table.wc-block-cart-items td,
html body .wp-block-woocommerce-cart table.wc-block-cart-items th,
html body .wp-block-woocommerce-cart .wp-block-woocommerce-cart-order-summary-block,
html body .wp-block-woocommerce-checkout .wc-block-checkout__terms.wc-block-checkout__terms--with-separator {
    border-color: var(--wp--preset--color--makuyen-niebla);
}
html body .wp-block-woocommerce-cart .wc-block-cart-items .wc-block-components-quantity-selector {
    border: 1px solid var(--wp--preset--color--makuyen-niebla);
    border-radius: 8px;
}
html body .wp-block-woocommerce-cart .wc-block-cart-items .wc-block-components-quantity-selector::after {
    display: none;
}

/* Segunda pasada de QA (S245): bordes grises de Kadence/WooCommerce. */
html body.single-product.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper {
    border-color: var(--wp--preset--color--makuyen-niebla);
}
html body.single-product .woocommerce-Tabs-panel--description hr {
    border: 0;
    border-top: 1px solid var(--wp--preset--color--makuyen-niebla);
    background: none;
}
html body.woocommerce .kadence-shop-top-row .kadence-toggle-shop-layout,
html body.woocommerce button.kadence-toggle-shop-layout {
    border: 1px solid var(--wp--preset--color--makuyen-niebla);
    border-radius: 8px;
    background: var(--wp--preset--color--makuyen-blanco);
    color: var(--wp--preset--color--makuyen-grafito);
}
html body.woocommerce button.kadence-toggle-shop-layout.toggle-active {
    border-color: var(--wp--preset--color--makuyen-vino);
    color: var(--wp--preset--color--makuyen-vino);
}
html body .wp-block-woocommerce-cart .wp-block-woocommerce-cart-order-summary-totals-block,
html body .wp-block-woocommerce-cart table.wc-block-cart-items tr.wc-block-cart-items__row {
    border-color: var(--wp--preset--color--makuyen-niebla);
}
html body .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block,
html body .wp-block-woocommerce-cart .wc-block-components-sidebar-layout:is(.is-large, .is-medium, .is-small, .is-mobile) table.wc-block-cart-items tr.wc-block-cart-items__row {
    border-color: var(--wp--preset--color--makuyen-niebla);
}
/* Resumen inferior del checkout en móvil: la card ya la pone el contenedor;
   el bloque interno no repite borde. */
html body .wp-block-woocommerce-checkout .checkout-order-summary-block-fill {
    border: 0;
}
/* Regla general para los separadores del resumen (carrito y checkout, todos
   los tamaños de contenedor): WooCommerce los deriva de currentColor con
   transparencia y cambian de elemento según el ancho. */
html body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-totals-wrapper,
html body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-totals-wrapper::after,
html body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) [class*="order-summary"] {
    border-color: var(--wp--preset--color--makuyen-niebla);
}
/* Carrito y checkout sin caja: el margen negativo de la caja «boxed» de
   Kadence en móvil (−16 px) deja el contenido a 8 px del borde. Sin caja, el
   contenido se alinea al contenedor como en la tienda. */
html body:is(.woocommerce-cart, .woocommerce-checkout) #primary article.entry {
    margin-left: 0;
    margin-right: 0;
}
/* ---------- T6-1c · fila cantidad + botón de la ficha (S252-4, S253-3) ----------
   WooCommerce arma la fila con dos floats y fija el botón en 40 px. La fila
   pasa a flex (simple y variable), la cantidad a 58 × 48 centrada, 12 px por
   margen del input visible (el vendido individualmente deja un .quantity vacío
   y no se desplaza) y el botón toma la firma única S248-3, ancho natural. */
html body.single-product.woocommerce div.product form.cart:not(.variations_form),
html body.single-product.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
html body.single-product.woocommerce div.product form.cart div.quantity {
    float: none;
    margin: 0;
}
html body.single-product.woocommerce div.product form.cart .quantity input.qty {
    height: 48px;
    margin: 0 12px 0 0;
}
html body.single-product.woocommerce div.product form.cart .single_add_to_cart_button.button {
    float: none;
    height: auto;
    padding: 14px 28px;
    line-height: 1.6;
}

/* ---------- T6-1c · carrito vacío (I-3 · S250-1/S250-4, S253-4, S253-8) ----------
   Medallón con el glifo (markup de la página 8), el título de WooCommerce como
   lede, «Empieza aquí» como botón primario y el CTA de las cards visible
   (la clase de hover de Kadence la quita el filtro C2 de functions.php).
   --t-lede se declara aquí: los roles tipográficos no son globales. */
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
    --t-lede: clamp(17px, 2vw, 19px);
}
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .makuyen-carrito-vacio__medallon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--wp--preset--color--makuyen-rosa-claro);
    color: var(--wp--preset--color--makuyen-vino);
}
/* Phosphor thin como SVG en línea (S279): mismo tamaño y el mismo engrosado
   de 0,5 px que tenía el glifo con -webkit-text-stroke. */
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .makuyen-carrito-vacio__medallon svg {
    display: block;
    width: 38px;
    height: 38px;
}
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .makuyen-carrito-vacio__medallon svg path {
    stroke: currentColor;
    stroke-width: 0.5px;
    vector-effect: non-scaling-stroke;
}
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2.wc-block-cart__empty-cart__title {
    max-width: 680px;
    margin: 0 auto 34px;
    font-family: var(--wp--preset--font-family--dm-sans);
    font-size: var(--t-lede);
    font-weight: 400;
    line-height: 1.62;
    text-align: center;
    color: var(--wp--preset--color--makuyen-grafito);
}
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-buttons {
    margin: 0 0 64px;
}
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:not(.woo-archive-btn-button) .wc-block-grid__product-add-to-cart .wp-block-button__link {
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--wp--preset--color--makuyen-vino);
}
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:not(.woo-archive-btn-button) .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    color: var(--wp--preset--color--makuyen-vino-oscuro);
}
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link > .kadence-svg-iconset:first-of-type {
    display: none;
}
html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link > .kadence-svg-iconset {
    margin-left: 0;
}
@media (max-width: 759px) {
    html body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-buttons {
        margin-bottom: 40px;
    }
}

/* ---------- T6-6b · ítem en oferta en el resumen y el carrito (S284) ----------
   La pastilla «AHORRA» (S244-4, sin salto de línea) ensancha la columna del
   total: en el checkout dejaba al nombre una letra por línea y en el carrito
   compacto de WooCommerce (columnas fijas 80 + 132 px) empujaba el total fuera
   de la pantalla. El total con su pastilla baja a una segunda fila, alineado a
   la derecha; el nombre y la descripción toman todo el ancho disponible. */
html body .wc-block-components-order-summary-item {
    flex-wrap: wrap;
}
html body .wc-block-components-order-summary-item__description {
    flex: 1 1 0;
    min-width: 0;
}
html body .wc-block-components-order-summary-item__total-price {
    flex-basis: 100%;
    margin-top: 8px;
    text-align: right;
}
html body .wc-block-cart:is(.is-medium, .is-small, .is-mobile) table.wc-block-cart-items .wc-block-cart-items__row {
    grid-template-columns: 80px minmax(0, 1fr);
}
html body .wc-block-cart:is(.is-medium, .is-small, .is-mobile) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product {
    grid-column: 2;
}
html body .wc-block-cart:is(.is-medium, .is-small, .is-mobile) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    grid-column: 2;
    grid-row-start: 2;
    justify-self: end;
    margin-top: 8px;
    text-align: right;
}

/* S391 · Panel «Próximamente» de 689 y 696 (mockup aprobado por Marleth). */
html body .makuyen-prox {
    background: var(--wp--preset--color--makuyen-verde-claro);
    border-radius: 12px;
    padding: 24px;
    margin-block: 24px;
}
html body .makuyen-prox__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--wp--preset--color--makuyen-vino);
    margin-block: 0 10px;
}
html body .makuyen-prox__txt {
    color: var(--wp--preset--color--makuyen-cuerpo);
    margin-block: 0 18px;
}
html body .makuyen-prox__btn {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--wp--preset--color--makuyen-vino);
    background: transparent;
    border: 1.5px solid var(--wp--preset--color--makuyen-vino);
    border-radius: 999px;
    padding: 13px 28px;
    text-decoration: none;
}
html body .makuyen-prox__btn:hover {
    color: var(--wp--preset--color--makuyen-vino-oscuro);
    border-color: var(--wp--preset--color--makuyen-vino-oscuro);
}
html body .makuyen-prox__alt {
    color: var(--wp--preset--color--makuyen-grafito);
    border-top: 1px solid var(--wp--preset--color--makuyen-niebla);
    padding-top: 18px;
    margin-block: 20px 0;
}
html body .makuyen-prox__enlace {
    display: block;
    font-weight: 600;
    color: var(--wp--preset--color--makuyen-vino);
    text-decoration: none;
    margin-top: 4px;
}
html body #newsletter {
    scroll-margin-top: 120px;
}
