/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.2.1.2026111001
Updated: 2025-01-07 10:04:43

*/

.wpcf7 form .cf7-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.wpcf7 form .cf7-flex .field {
  flex: 1 1 100%; /* por defecto ocupa todo */
}

/* Mitad (50%) */
.wpcf7 form .cf7-flex .half {
  flex: 1 1 calc(50% - 20px);
}

/* Un tercio (30%) */
.wpcf7 form .cf7-flex .third {
  flex: 0 0 29%;
}

/* Dos tercios (70%) */
.wpcf7 form .cf7-flex .two-thirds {
  flex: 0 0 69%;
}

/* Campo completo */
.wpcf7 form .cf7-flex .full {
  flex: 1 1 100%;
}

/* Quitar bordes de todos los campos del formulario CF7 */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="url"],
.wpcf7 form input[type="number"],
.wpcf7 form input[type="date"],
.wpcf7 form textarea,
.wpcf7 form select {
  border: none;
  border-radius: 0;   /* sin esquinas redondeadas */
  box-shadow: none;   /* elimina sombras si el tema las añade */
  outline: none;      /* elimina el borde azul de enfoque */
}

.wpcf7 form input::placeholder,
.wpcf7 form textarea::placeholder {
  color: #000;          /* color negro */
  opacity: 1;           /* asegura que no esté semitransparente */
}

/* Botón ENVIAR - estilo base */
.wpcf7 form input[type="submit"] {
  background: transparent;           /* fondo transparente */
  border: 1px solid #8E0D3A;         /* borde burdeos */
  color: #8E0D3A;                    /* texto burdeos */
  font-family: 'Montserrat', sans-serif; /* tipografía Montserrat */
  font-weight: 600;                  /* opcional, más grueso */
  padding: 12px 30px;                /* espacio interior */
  text-transform: uppercase;         /* opcional, mayúsculas */
  cursor: pointer;
  transition: all 0.3s ease;         /* animación suave */
}

/* Hover */
.wpcf7 form input[type="submit"]:hover {
  background: #8E0D3A;               /* fondo burdeos */
  color: #fff;                       /* texto blanco */
}


/* Responsivo: en móviles todo al 100% */
@media (max-width: 767px) {
  .wpcf7 form .cf7-flex .half,
  .wpcf7 form .cf7-flex .third,
  .wpcf7 form .cf7-flex .two-thirds {
    flex: 1 1 100%;
  }
}


.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left !important;
    width: 20% !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: right !important;
    width: 75% !important;
}

/* Registrar manualmente la fuente de iconos de WooCommerce */
@font-face {
    font-family: "WooCommerce";
    src: url("/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff")
        format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


/*
 * Sustituye los iconos defectuosos de teléfono y correo
 * por SVG, sin depender de la fuente WooCommerce.
 */

/* Configuración común */
.woocommerce-customer-details--phone::before,
.woocommerce-customer-details--email::before {
	content: "" !important;
	display: inline-block !important;
	width: 16px !important;
	height: 16px !important;
	margin-right: 8px !important;
	vertical-align: -2px !important;

	background-color: currentColor !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;

	-webkit-mask-repeat: no-repeat !important;
	-webkit-mask-position: center !important;
	-webkit-mask-size: contain !important;

	mask-repeat: no-repeat !important;
	mask-position: center !important;
	mask-size: contain !important;

	font-family: initial !important;
}

/* Teléfono */
.woocommerce-customer-details--phone::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.46 15.46 0 006.59 6.59l2.2-2.2a1 1 0 011.02-.24 11.72 11.72 0 003.67.59 1 1 0 011 1V20a1 1 0 01-1 1C10.61 21 3 13.39 3 4a1 1 0 011-1h3.5a1 1 0 011 1 11.72 11.72 0 00.59 3.67 1 1 0 01-.25 1.02z'/%3E%3C/svg%3E") !important;

	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.46 15.46 0 006.59 6.59l2.2-2.2a1 1 0 011.02-.24 11.72 11.72 0 003.67.59 1 1 0 011 1V20a1 1 0 01-1 1C10.61 21 3 13.39 3 4a1 1 0 011-1h3.5a1 1 0 011 1 11.72 11.72 0 00.59 3.67 1 1 0 01-.25 1.02z'/%3E%3C/svg%3E") !important;
}

/* Correo electrónico */
.woocommerce-customer-details--email::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4l-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E") !important;

	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4l-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E") !important;
}


/* Aviso de error de WooCommerce en Mi cuenta */
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
}

/* Icono generado por WooCommerce */
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error::before {
	position: static !important;
	flex: 0 0 auto !important;
	margin: 2px 0 0 0 !important;
}

/* Texto del error */
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error > li {
	flex: 1 1 auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-account
.woocommerce-notices-wrapper
.woocommerce-error
a {
	color: #000000 !important;
}

.woocommerce-account
.woocommerce-notices-wrapper
.woocommerce-error
a:hover {
	color: #000000 !important;
}


/* ============================================================
   TRASLADADO DESDE ELEMENTOR > CSS PERSONALIZADO (2026-09-15)
   La fuente Montserrat se carga aparte vía wp_enqueue_style
   en functions.php (antes era un @import a mitad de fichero,
   que el navegador ignora por especificación CSS).
   ============================================================ */

/* --- ALINEACIÓN VERTICAL --- */
.mi-cuenta {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 15px !important;
}

/* --- ESTILO DEL BOTÓN (DESKTOP) --- */
.mi-cuenta a {
    background-color: #8e0d3a !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 500 !important;
    padding: 6px 16px !important;
    border-radius: 2px !important;
    line-height: 1.4 !important;
    display: inline-block !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.mi-cuenta a:hover {
    background-color: #6a0a2b !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- AJUSTES SOLO EN MENÚ MÓVIL (DESPLEGABLE HAMBURGUESA) --- */
@media (max-width: 1024px) {
    .elementor-nav-menu--dropdown .mi-cuenta {
        display: block !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-top: 15px !important;
        margin-bottom: 20px !important;
        padding: 0 15px !important;
    }

    .elementor-nav-menu--dropdown .mi-cuenta a {
        display: inline-block !important;
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}


/* ============================================
   SCROLL SNAP DEFINITIVO
   Escritorio únicamente
   ============================================ */

@media (min-width: 1025px) {

    /* Activar el efecto en las páginas indicadas.
       Excluye el modo edición/vista previa de Elementor
       (body.elementor-editor-active) para que el editor
       no quede atrapado por el scroll-snap. */
    html:has(body.page-id-22:not(.elementor-editor-active)),
    html:has(body.page-id-28:not(.elementor-editor-active)),
    html:has(body.page-id-218:not(.elementor-editor-active)),
    html:has(body.page-id-591:not(.elementor-editor-active)),
    html:has(body.con-snap:not(.elementor-editor-active)) {
        scroll-snap-type: y mandatory !important;
        scroll-behavior: smooth;
        scroll-padding-top: 95px;
    }


    /* ============================================
       RESETEO
       Ningún contenedor interno hace snap
       ============================================ */

    body.page-id-22 .e-con,
    body.page-id-28 .e-con,
    body.page-id-218 .e-con,
    body.page-id-591 .e-con,
    body.con-snap .e-con {
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
    }


    /* ============================================
       CONTENEDORES PRINCIPALES DE LAS PÁGINAS
       Solo hijos directos del documento Elementor
       ============================================ */

    body.page-id-22
    .elementor[data-elementor-type="wp-page"]
    > .e-con.e-parent,

    body.page-id-28
    .elementor[data-elementor-type="wp-page"]
    > .e-con.e-parent,

    body.page-id-591
    .elementor[data-elementor-type="wp-page"]
    > .e-con.e-parent,

    body.con-snap
    .elementor[data-elementor-type="wp-page"]
    > .e-con.e-parent {
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }


    /* Compatibilidad con secciones antiguas de Elementor */

    body.page-id-22
    .elementor[data-elementor-type="wp-page"]
    > .elementor-section,

    body.page-id-28
    .elementor[data-elementor-type="wp-page"]
    > .elementor-section,

    body.page-id-591
    .elementor[data-elementor-type="wp-page"]
    > .elementor-section,

    body.con-snap
    .elementor[data-elementor-type="wp-page"]
    > .elementor-section {
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }


    /* ============================================
       FOOTER
       Todo el footer es el último punto de snap
       y se alinea por abajo para mostrar copyright
       ============================================ */

    body.page-id-22 footer.elementor-location-footer,
    body.page-id-28 footer.elementor-location-footer,
    body.page-id-218 footer.elementor-location-footer,
    body.page-id-591 footer.elementor-location-footer,
    body.con-snap footer.elementor-location-footer {
        scroll-snap-align: end !important;
        scroll-snap-stop: always !important;
    }


    /* Ningún elemento interno del footer crea otro salto */

    body.page-id-22 footer.elementor-location-footer .e-con,
    body.page-id-28 footer.elementor-location-footer .e-con,
    body.page-id-218 footer.elementor-location-footer .e-con,
    body.page-id-591 footer.elementor-location-footer .e-con,
    body.con-snap footer.elementor-location-footer .e-con {
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
    }


    /* ============================================
       PÁGINA NUESTROS VINOS — ID 218
       ============================================ */

    body.page-id-218 .elementor-element-f8d4fe0 {
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
        min-height: 100vh;
    }

    body.page-id-218 .elementor-element-2ba0931,
    body.page-id-218 .elementor-element-465b7b0,
    body.page-id-218 .elementor-element-728b3b2 {
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
        padding-top: 100px;
        padding-bottom: 20px;
    }


    /* Contenedores internos que no deben generar saltos */

    body.page-id-218 .elementor-element-ad02edc,
    body.page-id-218 .elementor-element-3b9cb6b,
    body.page-id-218 .elementor-element-55e296b {
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
        min-height: 0 !important;
        height: auto !important;
    }

    body.page-id-218 .elementor-element-ad02edc > .e-con,
    body.page-id-218 .elementor-element-3b9cb6b > .e-con,
    body.page-id-218 .elementor-element-55e296b > .e-con {
        min-height: 0 !important;
    }

    body.page-id-218 .elementor-element-ad02edc
    .elementor-widget-image img,

    body.page-id-218 .elementor-element-3b9cb6b
    .elementor-widget-image img,

    body.page-id-218 .elementor-element-55e296b
    .elementor-widget-image img {
        max-height: 50vh !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
}


/* Pantallas de escritorio con poca altura */

@media (min-width: 1025px) and (max-height: 800px) {

    body.page-id-218 .elementor-element-ad02edc
    .elementor-widget-image img,

    body.page-id-218 .elementor-element-3b9cb6b
    .elementor-widget-image img,

    body.page-id-218 .elementor-element-55e296b
    .elementor-widget-image img {
        max-height: 42vh !important;
    }
}


/* === MONTSERRAT EN TODA LA PÁGINA DE CHECKOUT === */

body.woocommerce-checkout,
body.woocommerce-checkout *,
body.woocommerce-checkout *::before,
body.woocommerce-checkout *::after,
body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout h4,
body.woocommerce-checkout h5,
body.woocommerce-checkout h6,
body.woocommerce-checkout p,
body.woocommerce-checkout span,
body.woocommerce-checkout div,
body.woocommerce-checkout label,
body.woocommerce-checkout input,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.woocommerce-checkout button,
body.woocommerce-checkout a,
body.woocommerce-checkout li,
body.woocommerce-checkout td,
body.woocommerce-checkout th {
    font-family: 'Montserrat', sans-serif !important;
}

body.woocommerce-checkout h1.entry-title,
body.woocommerce-checkout .entry-header h1,
body.woocommerce-checkout .page-header h1,
body.woocommerce-checkout main > article > header h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 42px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    letter-spacing: 4px !important;
    color: #524D42 !important;
    margin: 0 auto 40px auto !important;
    padding: 0 !important;
    text-align: left !important;
    max-width: 1200px !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .page-header,
body.woocommerce-checkout main > article > header {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    body.woocommerce-checkout h1.entry-title,
    body.woocommerce-checkout .entry-header h1,
    body.woocommerce-checkout .page-header h1 {
        font-size: 28px !important;
        letter-spacing: 2px !important;
    }
    body.woocommerce-checkout .entry-header,
    body.woocommerce-checkout .page-header {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ============================================
   FICHA DE PRODUCTO - RAMÍREZ DE LA PISCINA
   ============================================ */

/* === TÍTULO DEL PRODUCTO === */
body.single-product .elementor-widget-woocommerce-product-title h1.product_title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 42px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    color: #8E0D3A !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
}

/* === DESCRIPCIÓN DEL PRODUCTO === */
body.single-product .elementor-widget-woocommerce-product-content,
body.single-product .elementor-widget-woocommerce-product-content p,
body.single-product .elementor-widget-woocommerce-product-content span {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: #524D42 !important;
}

body.single-product .elementor-widget-woocommerce-product-content {
    margin-bottom: 20px !important;
}

/* === PRECIO NATIVO DE WOOCOMMERCE: OCULTO SIEMPRE ===
   El precio lo gestiona nuestro JS al elegir variación */
body.single-product .elementor-widget-woocommerce-product-price {
    display: none !important;
}

body.single-product .single_variation_wrap .woocommerce-variation-price {
    display: none !important;
}

/* ============================================
   SELECT DE VARIACIONES (CAJA) - ESTILO WEB
   ============================================ */

/* Ocultar el enlace "Limpiar" */
body.single-product .variations_form .reset_variations {
    display: none !important;
    visibility: hidden !important;
}

/* Tabla de variaciones a bloque, etiqueta encima del select */
body.single-product .variations_form .variations,
body.single-product .variations_form .variations tbody,
body.single-product .variations_form .variations tr,
body.single-product .variations_form .variations td,
body.single-product .variations_form .variations th {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

body.single-product .variations_form .variations {
    margin-bottom: 12px !important;
}

/* Etiqueta "CAJA" encima del select */
body.single-product .variations_form .variations .label label {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #524D42 !important;
    margin-bottom: 10px !important;
    display: block !important;
}

/* El select */
body.single-product .variations_form select,
body.single-product .variations_form select.single_variation_select {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #524D42 !important;
    background-color: #ffffff !important;
    border: 1px solid #524D42 !important;
    border-radius: 2px !important;
    padding: 12px 40px 12px 15px !important;
    width: 100% !important;
    height: 48px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23524D42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
}

body.single-product .variations_form select:focus {
    border-color: #8E0D3A !important;
    box-shadow: 0 0 0 2px rgba(142, 13, 58, 0.15) !important;
    outline: none !important;
}

body.single-product .variations_form select:hover {
    border-color: #8E0D3A !important;
}

/* Quitar margen superior del formulario y del widget add-to-cart */
body.single-product .variations_form {
    margin-top: 0 !important;
}

body.single-product .elementor-widget-woocommerce-product-add-to-cart {
    margin-top: 0 !important;
}

/* ============================================
   BLOQUE DE PRECIOS (inyectado por JS)
   ============================================ */

body.single-product .custom-variation-price {
    font-family: 'Montserrat', sans-serif !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    margin-top: 12px !important;
    margin-bottom: 4px !important;
}

body.single-product .custom-variation-price .variation-price-amount {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #8E0D3A !important;
    letter-spacing: 1px !important;
}

body.single-product .custom-variation-price .variation-price-iva {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #524D42 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

body.single-product .custom-unit-price {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    color: #524D42 !important;
    margin-bottom: 15px !important;
}

body.single-product .custom-unit-price .unit-price-label {
    font-weight: 600 !important;
}

/* ============================================
   CANTIDAD + BOTÓN AÑADIR AL CARRITO
   ============================================ */

body.single-product .variations_button {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 10px !important;
}

body.single-product .variations_button .quantity {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #524D42 !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    height: 48px !important;
}

body.single-product .variations_button .quantity input.qty {
    font-family: 'Montserrat', sans-serif !important;
    width: 60px !important;
    height: 48px !important;
    border: none !important;
    text-align: center !important;
    font-size: 14px !important;
    color: #524D42 !important;
    background: transparent !important;
    -moz-appearance: textfield;
}

body.single-product .variations_button .quantity input.qty::-webkit-outer-spin-button,
body.single-product .variations_button .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body.single-product .variations_button .single_add_to_cart_button {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 0 50px !important;
    height: 48px !important;
    background-color: #8E0D3A !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

body.single-product .variations_button .single_add_to_cart_button:hover {
    background-color: #6a0a2b !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

body.single-product .variations_button .single_add_to_cart_button.disabled,
body.single-product .variations_button .single_add_to_cart_button.wc-variation-selection-needed {
    background-color: #cccccc !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* === IMAGEN DE PRODUCTO === */
body.single-product .woocommerce-product-gallery {
    max-width: 100% !important;
}

body.single-product .woocommerce-product-gallery img {
    max-height: 70vh !important;
    width: auto !important;
    object-fit: contain !important;
}

/* MOD CIMA DIGITAL PARA FICHA DE PRODUCTO EN PANTALLAS DE POCA ALTURA (2026-11-16)
   En portatiles el selector de caja y el boton quedaban fuera de pantalla */
@media (min-width: 1025px) and (max-height: 820px) {
    body.single-product .elementor-element-c7d04f9 {
        --spacer-size: 10px !important;
    }
    body.single-product .elementor-widget-woocommerce-product-title h1.product_title {
        font-size: 32px !important;
        margin-bottom: 10px !important;
    }
    body.single-product .elementor-widget-woocommerce-product-content,
    body.single-product .elementor-widget-woocommerce-product-content p,
    body.single-product .elementor-widget-woocommerce-product-content span {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
    body.single-product .elementor-widget-woocommerce-product-content {
        margin-bottom: 10px !important;
    }
    body.single-product .variations_form .variations .label label {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }
    body.single-product .custom-variation-price {
        margin-top: 8px !important;
    }
    body.single-product .custom-unit-price {
        margin-bottom: 8px !important;
    }
    body.single-product .variations_button {
        margin-top: 4px !important;
    }
}

@media (min-width: 1025px) and (max-height: 640px) {
    body.single-product .elementor-widget-woocommerce-product-title h1.product_title {
        font-size: 28px !important;
    }
    body.single-product .elementor-widget-woocommerce-product-content,
    body.single-product .elementor-widget-woocommerce-product-content p,
    body.single-product .elementor-widget-woocommerce-product-content span {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
    body.single-product .elementor-widget-woocommerce-product-content {
        margin-bottom: 0 !important;
    }
}
/* END MOD CIMA DIGITAL PARA FICHA DE PRODUCTO EN PANTALLAS DE POCA ALTURA */


/* ============================================
   PÁGINA MI CUENTA / LOGIN - RAMÍREZ DE LA PISCINA
   ============================================ */

body.woocommerce-account,
body.woocommerce-account *,
body.woocommerce-account h1,
body.woocommerce-account h2,
body.woocommerce-account h3,
body.woocommerce-account p,
body.woocommerce-account span,
body.woocommerce-account label,
body.woocommerce-account input,
body.woocommerce-account button,
body.woocommerce-account a {
    font-family: 'Montserrat', sans-serif !important;
}

body.woocommerce-account .page-header,
body.woocommerce-account .page-content {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
}

body.woocommerce-account #content {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}

body.woocommerce-account h1.entry-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 42px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    color: #524D42 !important;
    margin-bottom: 50px !important;
    text-align: left !important;
}

body.woocommerce-account #customer_login h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #8E0D3A !important;
    margin-bottom: 25px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #8E0D3A !important;
}

body.woocommerce-account #customer_login {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 60px !important;
}

body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
    flex: 1 !important;
    min-width: 300px !important;
}

body.woocommerce-account .woocommerce-form {
    background-color: #f8f6f3 !important;
    padding: 35px !important;
    border-radius: 2px !important;
    border: 1px solid #e6e2dc !important;
}

body.woocommerce-account .woocommerce-form-row label,
body.woocommerce-account .form-row label {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #524D42 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

body.woocommerce-account .required {
    color: #8E0D3A !important;
}

body.woocommerce-account .woocommerce-Input,
body.woocommerce-account input.input-text,
body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="password"] {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    color: #524D42 !important;
    background-color: #ffffff !important;
    border: 1px solid #524D42 !important;
    border-radius: 2px !important;
    padding: 12px 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    margin-bottom: 5px !important;
}

body.woocommerce-account .woocommerce-Input:focus,
body.woocommerce-account input.input-text:focus,
body.woocommerce-account input[type="text"]:focus,
body.woocommerce-account input[type="email"]:focus,
body.woocommerce-account input[type="password"]:focus {
    border-color: #8E0D3A !important;
    box-shadow: 0 0 0 2px rgba(142, 13, 58, 0.15) !important;
    outline: none !important;
}

body.woocommerce-account .woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    color: #524D42 !important;
    margin-bottom: 20px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    accent-color: #8E0D3A !important;
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-form-login__rememberme span {
    font-size: 13px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #524D42 !important;
}

body.woocommerce-account button.woocommerce-button,
body.woocommerce-account button.woocommerce-Button,
body.woocommerce-account .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-form-register__submit {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    background-color: #8E0D3A !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 2px !important;
    padding: 14px 35px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
}

body.woocommerce-account button.woocommerce-button:hover,
body.woocommerce-account button.woocommerce-Button:hover,
body.woocommerce-account .woocommerce-form-login__submit:hover,
body.woocommerce-account .woocommerce-form-register__submit:hover {
    background-color: #6a0a2b !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

body.woocommerce-account .woocommerce-LostPassword a,
body.woocommerce-account .lost_password a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    color: #8E0D3A !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: color 0.3s ease !important;
    display: inline-block !important;
    margin-top: 15px !important;
}

body.woocommerce-account .woocommerce-LostPassword a:hover,
body.woocommerce-account .lost_password a:hover {
    color: #6a0a2b !important;
    text-decoration: underline !important;
}

body.woocommerce-account .woocommerce-privacy-policy-text {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    color: #524D42 !important;
    line-height: 1.5 !important;
    margin: 15px 0 !important;
    padding: 12px !important;
    background-color: rgba(82, 77, 66, 0.05) !important;
    border-left: 3px solid #524D42 !important;
}

body.woocommerce-account .woocommerce-privacy-policy-text p {
    margin: 0 !important;
    font-size: 12px !important;
}

body.woocommerce-account .woocommerce-privacy-policy-link {
    color: #8E0D3A !important;
    font-weight: 600 !important;
}

body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info {
    font-family: 'Montserrat', sans-serif !important;
    border-left: 4px solid #8E0D3A !important;
    background-color: #f8f6f3 !important;
    color: #524D42 !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {
    body.woocommerce-account #customer_login {
        flex-direction: column !important;
        gap: 30px !important;
    }

    body.woocommerce-account h1.entry-title {
        font-size: 28px !important;
        letter-spacing: 2px !important;
        margin-bottom: 30px !important;
    }

    body.woocommerce-account #customer_login h2 {
        font-size: 20px !important;
        letter-spacing: 1.5px !important;
    }

    body.woocommerce-account .woocommerce-form {
        padding: 25px !important;
    }

    body.woocommerce-account .page-header,
    body.woocommerce-account .page-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin-bottom: 8px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    font-family: 'Montserrat', sans-serif !important;
    display: block !important;
    padding: 12px 18px !important;
    background-color: #f8f6f3 !important;
    color: #524D42 !important;
    text-decoration: none !important;
    border-radius: 2px !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background-color: #ffffff !important;
    color: #8E0D3A !important;
    border-left-color: #8E0D3A !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    font-family: 'Montserrat', sans-serif !important;
    color: #524D42 !important;
    line-height: 1.6 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content a {
    color: #8E0D3A !important;
}

/* ============================================
   PÁGINA CARRITO - RAMÍREZ DE LA PISCINA
   ============================================ */

body.woocommerce-cart,
body.woocommerce-cart *,
body.woocommerce-cart h1,
body.woocommerce-cart h2,
body.woocommerce-cart h3,
body.woocommerce-cart p,
body.woocommerce-cart span,
body.woocommerce-cart label,
body.woocommerce-cart input,
body.woocommerce-cart button,
body.woocommerce-cart a,
body.woocommerce-cart td,
body.woocommerce-cart th {
    font-family: 'Montserrat', sans-serif !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .page-header,
body.woocommerce-cart .page-content {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart #content,
body.woocommerce-cart main {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}

body.woocommerce-cart h1.entry-title,
body.woocommerce-cart .entry-header h1,
body.woocommerce-cart .page-header h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 42px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    letter-spacing: 4px !important;
    color: #524D42 !important;
    margin: 0 auto 40px auto !important;
    padding: 0 !important;
    text-align: left !important;
    max-width: 1200px !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart table.shop_table thead th {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #524D42 !important;
    background-color: #f8f6f3 !important;
    border-bottom: 2px solid #524D42 !important;
    padding: 18px 15px !important;
    text-align: left !important;
}

body.woocommerce-cart table.shop_table tbody td {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    color: #524D42 !important;
    padding: 20px 15px !important;
    border-bottom: 1px solid #e6e2dc !important;
    vertical-align: middle !important;
}

body.woocommerce-cart table.shop_table .product-thumbnail img {
    max-width: 80px !important;
    height: auto !important;
    border-radius: 2px !important;
}

body.woocommerce-cart table.shop_table .product-name a {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    color: #524D42 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

body.woocommerce-cart table.shop_table .product-name a:hover {
    color: #8E0D3A !important;
}

body.woocommerce-cart table.shop_table .product-name .variation,
body.woocommerce-cart table.shop_table .product-name dl {
    font-size: 12px !important;
    color: #524D42 !important;
    margin-top: 5px !important;
}

body.woocommerce-cart table.shop_table .product-name .variation dt,
body.woocommerce-cart table.shop_table .product-name dl dt {
    font-weight: 500 !important;
    color: #524D42 !important;
    margin-right: 5px !important;
}

body.woocommerce-cart table.shop_table .product-name .variation dd,
body.woocommerce-cart table.shop_table .product-name dl dd {
    font-weight: 400 !important;
    color: #524D42 !important;
    margin: 0 !important;
}

body.woocommerce-cart table.shop_table .product-price,
body.woocommerce-cart table.shop_table .product-subtotal {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    color: #8E0D3A !important;
    font-size: 15px !important;
}

body.woocommerce-cart .woocommerce-Price-amount {
    font-family: 'Montserrat', sans-serif !important;
}

body.woocommerce-cart table.shop_table .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #524D42 !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    height: 42px !important;
}

body.woocommerce-cart table.shop_table .quantity input.qty {
    font-family: 'Montserrat', sans-serif !important;
    width: 60px !important;
    height: 42px !important;
    border: none !important;
    text-align: center !important;
    font-size: 14px !important;
    color: #524D42 !important;
    background: transparent !important;
    -moz-appearance: textfield;
}

body.woocommerce-cart table.shop_table .quantity input.qty::-webkit-outer-spin-button,
body.woocommerce-cart table.shop_table .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body.woocommerce-cart table.shop_table .product-remove a.remove {
    color: #524D42 !important;
    background-color: transparent !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 30px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

body.woocommerce-cart table.shop_table .product-remove a.remove:hover {
    background-color: #8E0D3A !important;
    color: #ffffff !important;
}

body.woocommerce-cart .cart_totals,
body.woocommerce-cart table.cart .actions {
    padding: 20px 0 !important;
}

body.woocommerce-cart .coupon {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

body.woocommerce-cart .coupon label {
    display: none !important;
}

body.woocommerce-cart .coupon input.input-text,
body.woocommerce-cart input#coupon_code {
    font-family: 'Montserrat', sans-serif !important;
    border: 1px solid #524D42 !important;
    border-radius: 2px !important;
    padding: 10px 15px !important;
    font-size: 13px !important;
    color: #524D42 !important;
    background-color: #ffffff !important;
    height: 44px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

body.woocommerce-cart input#coupon_code:focus {
    border-color: #8E0D3A !important;
    box-shadow: 0 0 0 2px rgba(142, 13, 58, 0.15) !important;
    outline: none !important;
}

body.woocommerce-cart button.button,
body.woocommerce-cart input[type="submit"].button,
body.woocommerce-cart a.button {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 2px !important;
    padding: 12px 28px !important;
    height: 44px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 1px solid #524D42 !important;
    background-color: transparent !important;
    color: #524D42 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart button.button:hover,
body.woocommerce-cart input[type="submit"].button:hover,
body.woocommerce-cart a.button:hover {
    background-color: #524D42 !important;
    color: #ffffff !important;
}

body.woocommerce-cart button[name="apply_coupon"],
body.woocommerce-cart button[name="update_cart"] {
    border-color: #524D42 !important;
    background-color: transparent !important;
    color: #524D42 !important;
}

body.woocommerce-cart .checkout-button,
body.woocommerce-cart a.checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout a.button {
    background-color: #8E0D3A !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 40px !important;
    height: auto !important;
    font-size: 13px !important;
    letter-spacing: 2.5px !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
}

body.woocommerce-cart .checkout-button:hover,
body.woocommerce-cart a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.button:hover {
    background-color: #6a0a2b !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

body.woocommerce-cart .cart-collaterals {
    margin-top: 40px !important;
}

body.woocommerce-cart .cart_totals {
    background-color: #f8f6f3 !important;
    border: 1px solid #e6e2dc !important;
    padding: 30px !important;
    border-radius: 2px !important;
}

body.woocommerce-cart .cart_totals h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #8E0D3A !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #8E0D3A !important;
}

body.woocommerce-cart .cart_totals table.shop_table {
    border: none !important;
    margin-bottom: 20px !important;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
    font-family: 'Montserrat', sans-serif !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e6e2dc !important;
    padding: 12px 0 !important;
    color: #524D42 !important;
    font-size: 14px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #8E0D3A !important;
    border-bottom: none !important;
    padding-top: 18px !important;
}

body.woocommerce-cart .cart_totals .order-total .woocommerce-Price-amount {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #8E0D3A !important;
}

body.woocommerce-cart .cart-empty,
body.woocommerce-cart .wc-empty-cart-message {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    color: #524D42 !important;
    text-align: center !important;
    padding: 50px 20px !important;
    background-color: #f8f6f3 !important;
    border-left: 4px solid #8E0D3A !important;
    border-radius: 2px !important;
}

body.woocommerce-cart .return-to-shop a.button {
    background-color: #8E0D3A !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 35px !important;
    margin-top: 20px !important;
}

body.woocommerce-cart .return-to-shop a.button:hover {
    background-color: #6a0a2b !important;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    font-family: 'Montserrat', sans-serif !important;
    border-left: 4px solid #8E0D3A !important;
    background-color: #f8f6f3 !important;
    color: #524D42 !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
    font-size: 14px !important;
}

body.woocommerce-cart .woocommerce-message a,
body.woocommerce-cart .woocommerce-info a {
    color: #8E0D3A !important;
    font-weight: 600 !important;
}


body.woocommerce-cart .wc-block-cart-items__header {
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #524D42 !important;
    border-bottom: 2px solid #524D42 !important;
    padding-bottom: 15px !important;
}

body.woocommerce-cart .wc-block-cart-items__row {
    border-bottom: 1px solid #e6e2dc !important;
    padding: 20px 0 !important;
}

body.woocommerce-cart .wc-block-cart-item__product-name,
body.woocommerce-cart .wc-block-components-product-name {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    color: #524D42 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

body.woocommerce-cart .wc-block-cart-item__product-name:hover,
body.woocommerce-cart .wc-block-components-product-name:hover {
    color: #8E0D3A !important;
}

body.woocommerce-cart .wc-block-components-product-price__value,
body.woocommerce-cart .wc-block-formatted-money-amount {
    font-family: 'Montserrat', sans-serif !important;
    color: #8E0D3A !important;
    font-weight: 600 !important;
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-checkout-place-order-button {
    background-color: #8E0D3A !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    border-radius: 2px !important;
    padding: 16px 40px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-components-checkout-place-order-button:hover {
    background-color: #6a0a2b !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wc-block-components-totals-wrapper {
    background-color: #f8f6f3 !important;
    border: 1px solid #e6e2dc !important;
    padding: 30px !important;
    border-radius: 2px !important;
}

body.woocommerce-cart .wc-block-components-totals-item {
    border-bottom: 1px solid #e6e2dc !important;
    padding: 12px 0 !important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #8E0D3A !important;
}

@media (max-width: 768px) {
    body.woocommerce-cart h1.entry-title,
    body.woocommerce-cart .entry-header h1 {
        font-size: 28px !important;
        letter-spacing: 2px !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart,
    body.woocommerce-cart .woocommerce {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body.woocommerce-cart table.shop_table thead {
        display: none !important;
    }

    body.woocommerce-cart table.shop_table tbody td {
        display: block !important;
        text-align: right !important;
        border-bottom: 1px solid #e6e2dc !important;
    }

    body.woocommerce-cart table.shop_table tbody td::before {
        content: attr(data-title);
        float: left !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        font-size: 11px !important;
        letter-spacing: 1.5px !important;
    }

    body.woocommerce-cart .coupon {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.woocommerce-cart .cart_totals {
        padding: 20px !important;
    }
}

/* FIX BOTÓN FINALIZAR COMPRA (bloque carrito) */
body.woocommerce-cart .wc-block-cart__submit-container a,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block a,
body.woocommerce-cart a.wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-button *,
body.woocommerce-cart a.wc-block-components-button,
body.woocommerce-cart .wc-block-components-button.contained {
    color: #ffffff !important;
    text-decoration: none !important;
    background-color: #8E0D3A !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    border: none !important;
    border-radius: 2px !important;
}

body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text,
body.woocommerce-cart a.wc-block-components-button .wc-block-components-button__text {
    color: #ffffff !important;
    text-decoration: none !important;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart a.wc-block-components-button:hover,
body.woocommerce-cart .wc-block-components-button.contained:hover {
    background-color: #6a0a2b !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input input {
    border: 1px solid #524D42 !important;
    border-radius: 2px !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #524D42 !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input input:focus {
    border-color: #8E0D3A !important;
    box-shadow: 0 0 0 2px rgba(142, 13, 58, 0.15) !important;
    outline: none !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button,
body.woocommerce-cart button.wc-block-components-totals-coupon__button {
    background-color: transparent !important;
    color: #8E0D3A !important;
    border: 1px solid #8E0D3A !important;
    border-radius: 2px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    transition: all 0.3s ease !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button:hover {
    background-color: #8E0D3A !important;
    color: #ffffff !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link {
    color: #8E0D3A !important;
    text-decoration: none !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
    color: #6a0a2b !important;
    text-decoration: underline !important;
}

body.woocommerce-cart .wc-block-components-panel__button {
    font-family: 'Montserrat', sans-serif !important;
    color: #524D42 !important;
    font-weight: 500 !important;
}

/* ============================================
   TARJETA DE TIENDA (CATÁLOGO) - PRECIO LIMPIO
   ============================================ */

/* Ocultar guion y segundo precio */
body.woocommerce-shop .elementor-element-a67be61 .price .amount ~ span[aria-hidden="true"],
body.woocommerce-shop .elementor-element-a67be61 .price .amount ~ .amount,
body.woocommerce-shop .elementor-element-a67be61 .price .screen-reader-text {
    display: none !important;
}

/* Contenedor padre: centrado, gap pequeño, sin repartir espacio */
body.woocommerce-shop .elementor-967 .elementor-element-aa1e9c2 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: baseline !important;
    gap: 6px !important;
    --gap: 6px !important;
    --row-gap: 6px !important;
    --column-gap: 6px !important;
    --widgets-spacing: 6px !important;
    width: 100% !important;
    margin: 10px 0 0 0 !important;
    --container-widget-flex-grow: 0 !important;
    --container-widget-width: auto !important;
}

/* Columnas internas: ancho de su contenido, sin crecer, sin margen */
body.woocommerce-shop .elementor-967 .elementor-element-0e98a7f,
body.woocommerce-shop .elementor-967 .elementor-element-15a85ac {
    --width: auto !important;
    width: auto !important;
    max-width: max-content !important;
    --margin-top: 0% !important;
    --margin-bottom: 0% !important;
    --margin-left: 0% !important;
    --margin-right: 0% !important;
    --padding-left: 0px !important;
    --padding-right: 0px !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    --container-widget-width: auto !important;
    --container-widget-flex-grow: 0 !important;
    --gap: 0px !important;
}

/* Widget de precio */
body.woocommerce-shop .elementor-967 .elementor-element-a67be61 {
    width: auto !important;
    max-width: max-content !important;
    --flex-grow: 0 !important;
    --flex-shrink: 0 !important;
    text-align: center !important;
    padding: 0 !important;
}

body.woocommerce-shop .elementor-element-a67be61 .price,
body.woocommerce-shop .elementor-element-a67be61 .price .amount {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #8E0D3A !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Texto "/ botella" */
body.woocommerce-shop .elementor-element-3c60a0e,
body.woocommerce-shop .elementor-element-3c60a0e p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #524D42 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================
   ALINEAR TARJETAS: TÍTULO A ALTURA FIJA
   ============================================ */

/* Reservar altura de 2 líneas para todos los títulos de producto en tienda */
body.woocommerce-shop .elementor-967 .elementor-element-c8945cd {
    min-height: 2.6em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.woocommerce-shop .elementor-967 .elementor-element-c8945cd .product_title {
    margin: 0 !important;
    width: 100% !important;
}

/* Ajuste movil del carrito y finalizacion de compra. */
@media (max-width: 767px) {
  body.page-id-378 .elementor-element-486853ff > .e-con-inner,
  body.page-id-379 .elementor-element-3a845fec > .e-con-inner { display: block; }
  body.page-id-378 .elementor-element-9f5d895,
  body.page-id-379 .elementor-element-204dc12a { height: auto; min-height: 0; }
  body.woocommerce-cart .page-content { padding-left: 16px; padding-right: 16px; }
  body.woocommerce-cart .wp-block-woocommerce-cart { padding-left: 0 !important; padding-right: 0 !important; }
  body.woocommerce-cart .wc-block-cart__sidebar { padding: 16px !important; }
  body.woocommerce-cart .wc-block-components-totals-wrapper { padding: 12px !important; }
  body.woocommerce-checkout .wc-block-checkout { overflow-wrap: anywhere; }
}
