/*-----------------------------------------------------------------*/
/*  CARGA FUENTES
/*-----------------------------------------------------------------*/

@import url(../fonts/fonts.css);


/*-----------------------------------------------------------------*/
/*  VARIABLES
/*-----------------------------------------------------------------*/

:root {

    /* Colores Tema */  
    --base: #1f1f1f;
    --link: #bc2121;
    --link-hover: #bf5757;
    --fondo-1: #f6f5f1;
    --fondo-2: #EDECE3;
    --blanco: #fff;
    --negro: #000;

    --borde: #E4E2D3;
    --borde-gris:#B6B6B6;
    --borde-gris-claro:#ddd;
    --borde-gris-oscuro:#707070;
    --borde-gris-carrito:#eaeaea;

    --verde: #2a9d8f;
    --error: #e2401c;
  
    
    /* Fuentes */
    --base-font: 'Basic';
    --header-font: 'Ivy';
    

    /* Tamaaño Web */
    --width-web: 100%;
    --max-width-web: 1640px;
    --padding-web: 20px;
  
}

/*-----------------------------------------------------------------*/
/*  GENERALES
/*-----------------------------------------------------------------*/
#wpadminbar {z-index: 9999997;}

body {overflow-x: hidden;}

body,html {font-family: var(--base-font) !important; font-weight: 400;}
h1,h2,h3.h4,h5,h6{font-family: var(--header-font) !important; font-weight: 500; color: var(--link);}


.ico-wc{font-family: "WooCommerce";}

body.fixed-body {overflow: hidden;}
.hand-click { cursor: pointer !important; } 

.sr-only:not(:focus):not(:active) { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }


/*-----------------------------------------------------------------*/
/*  CARRITO LATERAL - XOOTIX
/*-----------------------------------------------------------------*/
/* z-index */
.xoo-wsc-container, .xoo-wsc-slider {z-index: 9999999;}
.xoo-wsc-drawer {z-index: 9999998;}
.xoo-wsc-opac {z-index: 9999996;}

/* Ocultamos cosas */ 
a.xoo-wsc-ft-btn.xoo-wsc-btn.xoo-wsc-ft-btn-cart { display: none; }
a.xoo-wsc-ft-btn.xoo-wsc-btn.xoo-wsc-cart-close.xoo-wsc-ft-btn-continue { display: none; }
.xoo-wsc-basket, .xoo-wsc-basket[style*='block']{ display: none!important; }
.xoo-wsc-sm-sales { display: none; }

/* Cabecera */

.xoo-wsc-header,
.xoo-wsc-drawer-header { background-color: #edece3; border-bottom: 1px solid var(--borde); min-height: 75px; }

.xoo-wsch-close { right: 20px !important; transition: all .3s; }
.xoo-wsc-toggle-drawer { transition: all .3s; }

.xoo-wsc-toggle-drawer:hover, 
.xoo-wsch-close:hover { color: var(--link); }

.xoo-wsc-icon-bag2:before { content: "\e90c"; }

/* Productos */
.xoo-wsc-container {}
.xoo-wsc-body {border-left: 1px solid var(--borde);}
.xoo-wsc-product { box-shadow: none; border: 1px solid var(--borde-gris-carrito); border-radius: 10px; padding: 15px; display: grid; grid-template-columns: 92px 1fr; align-items: start; }
.xoo-wsc-icon-trash:before {transition: all .3s;}
.xoo-wsc-icon-trash:hover:before {color: var(--link);}
.xoo-wsc-img-col { width: 100% !important; height: 100%; display: flex; align-items: start; }
.xoo-wsc-img-col img { border-radius: 5px; }
.xoo-wsc-sum-col {width: 100% !important;}
span.xoo-wsc-pname {line-height: 1.3;}
span.xoo-wsc-pname a {font-weight: 700;}
.xoo-wsc-qty-box.xoo-wsc-qtb-square {border-radius: 5px; overflow: hidden; border-color: #e5e5e5; height: 34px;}
span.xoo-wsc-chng {position: relative; font-size: 0; }
span.xoo-wsc-chng:hover {background-color: #16110e !important;}
span.xoo-wsc-chng.xoo-wsc-minus:after { content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTEgMUgxIiBzdHJva2U9IiNDNEM0QzQiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=);}
span.xoo-wsc-chng.xoo-wsc-plus:after { content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYgMXYxMG01LTVIMSIgc3Ryb2tlPSIjQzRDNEM0IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+);}
.xoo-wsc-qtb-square input[type="number"].xoo-wsc-qty {font-weight: 700; border-color: transparent;}
.xoo-wsc-body .xoo-wsc-smr-ptotal span.amount {font-weight: 700; }
.xoo-wsc-footer { border-top: 1px solid var(--borde); border-left: 1px solid var(--borde); box-shadow: none; /* background-color: var(--fondo-1); */ padding: 20px 20px 20px; }

/* Boton Cupon */
.xoo-wsc-ftx-coupon { border: 1px solid var(--borde-gris-carrito); border-radius: 4px; padding: 0px; align-items: center; justify-content: center; transition: all .3s; }
.xoo-wsc-ftx-coupon .xoo-wsc-toggle-slider {padding: 8px;}
.xoo-wsc-ftx-coupon:hover { background-color: var(--fondo-2); border-color: var(--borde-gris);}

/* Totales */
.xoo-wsc-ft-totals { width: 100%; background: var(--blanco); padding: 10px; margin: 15px auto; border: 2px solid var(--borde-gris-carrito); border-radius: 4px; }

/* Boton Pagar */
a.xoo-wsc-ft-btn-checkout { height: 50px; min-height: 50px; line-height: 1; font-size: 18px; border-radius: 3px !important; width: 100% !important; }
a.xoo-wsc-ft-btn-checkout .amount { font-size: 18px; font-style: normal; font-weight: bold; }

/* Venta cruzada */
/* .xoo-wsc-sp-container.xoo-wsc-sp-wide { border-top: 1px solid var(--borde-gris-claro); padding-top: 15px; margin-top: 25px;} */ /* Si lo ponemos como slider en el mismo popup del carro */
.xoo-wsc-dr-body {}
.xoo-wsc-sp-wide .xoo-wsc-sp-product, .xoo-wsc-sp-narrow .xoo-wsc-sp-product { padding: 15px; border-radius: 6px; }
.xoo-wsc-sp-wide .xoo-wsc-sp-left-col img { border-radius: 5px; }
.xoo-wsc-sp-wide .xoo-wsc-sp-right-col { min-height: 80px; justify-content: space-evenly; }
span.xoo-wsc-sp-title { display: block; line-height:1.2; }
span.xoo-wsc-sp-title > a { font-weight: 600; color: var(--base); }
span.xoo-wsc-sp-title > a:hover { font-weight: 600; color: var(--link); }
span.xoo-wsc-sp-atc a.button { text-transform: uppercase; font-size: 12px; border-radius: 2px; padding: 10px 20px; }

/* Popup Cupones */
form.xoo-wsc-sl-apply-coupon {display: grid; grid-template-columns: 20px 1fr 100px; gap: 0px; align-items: center;  }
form.xoo-wsc-sl-apply-coupon:before { background: var(--blanco); content: "\e926"; font-family: 'Woo-Side-Cart' !important; color: var(--base); width: 20px; height: 40px; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 16px 16px 16px 16px; border-left: 1px solid var(--borde-gris-carrito); border-top: 1px solid var(--borde-gris-carrito); border-bottom: 1px solid var(--borde-gris-carrito); border-radius: 4px; }
form.xoo-wsc-sl-apply-coupon input { border: none; border-right: 1px solid var(--borde-gris-carrito) !important; text-align: left; margin-bottom: 0px; font-size: 14px; padding-left: 16px; border-top: 1px solid var(--borde-gris-carrito) !important; border-bottom: 1px solid var(--borde-gris-carrito) !important; border-right: 1px solid var(--borde-gris-carrito) !important; margin-right: 0px; border-radius: 4px !important; }
form.xoo-wsc-sl-apply-coupon .xoo-wsc-btn { background-color: var(--base); color: var(--blanco); border: none; padding: 10px 20px; width: calc(100px - 10px); justify-self: end; border-radius: 3px; height: 39px; transition: all .3s; }
form.xoo-wsc-sl-apply-coupon .xoo-wsc-btn:hover {background-color: #3f3f3f; border: none;}
.xoo-wsc-slider {border-left: 1px solid var(--borde);}

/* Notificaciones */
.xoo-wsc-notice-success { height: 76px !important; display: flex; align-items: center; }

/* Carrito Vacío */
.xoo-wsc-empty-cart {}



/*-----------------------------------------------------------------*/
/*  DISENO DE PASTILLA DE PRODUCTOS
/*-----------------------------------------------------------------*/

    body.wp-child-theme-jafisa ul.products > li.product:not(.splide__slide), 
    ul.wc-block-product-template__responsive > li.product:not(.splide__slide) {margin: 0px !important;}

    body.wp-child-theme-jafisa ul.products > li.product, 
    ul.wc-block-product-template__responsive > li.product { padding: 0; justify-content: space-between; border-radius: 0px; border: 1px solid var(--borde); box-shadow: 0px 2px 6px 0px rgb(24 23 38 / 10%); transition: all .3s; /* overflow: hidden; */ }

    body.wp-child-theme-jafisa ul.products > li.product:hover,
    ul.wc-block-product-template__responsive > li.product:hover { transform: translateY(-5px) !important; border: 1px solid var(--borde); box-shadow: 0px 2px 6px 0px rgb(24 23 38 / 10%); }

    
        /* Imagen */
        body.wp-child-theme-jafisa ul.products > li.product > .astra-shop-thumbnail-wrap,
        ul.wc-block-product-template__responsive > li.product > .wc-block-components-product-image {margin-bottom: 0 !important;}

        body.wp-child-theme-jafisa ul.products > li.product > .astra-shop-thumbnail-wrap > a.woocommerce-loop-product__link,
        ul.wc-block-product-template__responsive > li.product > .wc-block-components-product-image > a { border-radius: 0px; overflow: hidden;}

        body.wp-child-theme-jafisa ul.products > li.product > .astra-shop-thumbnail-wrap > a.woocommerce-loop-product__link > img,
        ul.wc-block-product-template__responsive > li.product > .wc-block-components-product-image > a > img {margin: 0 !important;}
        
        /* Contenido */
        body.wp-child-theme-jafisa ul.products > li.product > div.astra-shop-summary-wrap { padding: 20px !important; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 25px 5px; }

            /* Titulo */
            body.wp-child-theme-jafisa ul.products > li.product > div.astra-shop-summary-wrap > a.ast-loop-product__link { /* min-height: 45px; */ display: flex; align-items: center; justify-content: start; margin: 0px; text-align: left; text-decoration: none; grid-column: 1/-1;  }
            
            body.wp-child-theme-jafisa ul.products > li.product > div.astra-shop-summary-wrap > a.ast-loop-product__link > .woocommerce-loop-product__title,
            ul.wc-block-product-template__responsive > li.product > .wp-block-post-title { color: var(--base); font-family: var(--base-font) !important; font-weight: 700; font-size: 15px !important; text-transform: none; text-align: left; margin: 0px;   }
            
            /* Precio */
            body.wp-child-theme-jafisa ul.products > li.product > div.astra-shop-summary-wrap > span.price,
            ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-price > .wc-block-components-product-price { margin: 0; padding: 0px 0px; text-align: left; font-size: 18px !important; font-weight: 400; font-family: var(--base-font) !important; color: var(--base); }
            
            body.wp-child-theme-jafisa ul.products > li.product > div.astra-shop-summary-wrap > span.price .woocommerce-Price-currencySymbol,
            body.wp-child-theme-jafisa ul.products > li.product > div.astra-shop-summary-wrap > span.price .precio-por-kilo,
            body.wp-child-theme-jafisa ul.products > li.product > div.astra-shop-summary-wrap > span.price .subscription-details,
            ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-price > .wc-block-components-product-price .woocommerce-Price-currencySymbol,
            ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-price > .wc-block-components-product-price .precio-por-kilo,
            ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-price > .wc-block-components-product-price .subscription-details {font-size: 13px; font-weight: 500;}


            body.wp-child-theme-jafisa ul.products > li.product > div.astra-shop-summary-wrap > span.price del,
            ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-price > .wc-block-components-product-price del {font-size: 13px !important; font-weight: 500; opacity: 0.5;}

            body.wp-child-theme-jafisa ul.products > li.product > div.astra-shop-summary-wrap > span.price ins,
            ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-price > .wc-block-components-product-price ins {font-weight: 400;}


            /* Boton */
            body.wp-child-theme-jafisa ul.products > li.product a.button,
            ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-button > .wp-block-button__link { font-size: 15px !important; width: 100%; margin: 0px; border-radius: 6px; padding: 20px 5px; justify-content: end; align-items: center; box-shadow: none;  }

                /* Boton Add To Cart */
                body.wp-child-theme-jafisa ul.products > li.product a.button.add_to_cart_button,
                ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-button > .wp-block-button__link.add_to_cart_button { padding: 0px 0px 0px; background-color: transparent !important; border: none !important; color: var(--ast-global-color-0); position: relative; text-decoration: none; display: inline-flex; gap: 5px; align-items: center;  }
                
                body.wp-child-theme-jafisa ul.products > li.product a.button.add_to_cart_button:before,
                ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-button > .wp-block-button__link.add_to_cart_button:before {content: ""; position: relative; display: block; width: 18px; height: 18px; mask: url(../img/ico_add-to-cart.svg); background: var(--ast-global-color-0); mask-size: contain; mask-repeat: no-repeat; }

                /* Boton Select Options */
                body.wp-child-theme-jafisa ul.products > li.product a.button.add_to_cart_button.product_type_variable,
                ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-button > .wp-block-button__link.add_to_cart_button.product_type_variable { padding: 0px 0px 0px; background-color: transparent !important; border: none !important; color: var(--ast-global-color-0); text-decoration: none; position: relative; display: inline-flex; gap: 5px; align-items: center;  }
                
                body.wp-child-theme-jafisa ul.products > li.product a.button.add_to_cart_button.product_type_variable:before,
                ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-button > .wp-block-button__link.add_to_cart_button.product_type_variable:before {content: ""; position: relative; display: block; width: 18px; height: 18px; mask: url(../img/ico_add-to-cart.svg); background: var(--ast-global-color-0); mask-size: contain; mask-repeat: no-repeat; }


                /* Boton grupo de productos */
                body.wp-child-theme-jafisa ul.products > li.product a.button.product_type_grouped,
                ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-button > .wp-block-button__link.product_type_grouped { padding: 0px 0px 0px; background-color: transparent !important; border: none !important; color: var(--ast-global-color-0); position: relative; text-decoration: none; display: inline-flex; gap: 5px; align-items: center;  }
                
                body.wp-child-theme-jafisa ul.products > li.product a.button.product_type_grouped:before,
                ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-button > .wp-block-button__link.product_type_grouped:before {content: ""; position: relative; display: block; width: 20px; height: 20px; mask: url(../img/ico_add-to-cart.svg); background: var(--ast-global-color-0); mask-size: contain; mask-repeat: no-repeat; }




            /* Oferta */
            body.wp-child-theme-jafisa:not(.single-product) .ast-on-card-button.ast-onsale-card,
            body.wp-child-theme-jafisa:not(.single-product) .wc-block-components-product-sale-badge { top: 35px !important; left: 0px !important; border-radius: 0px !important; background-color: var(--link) !important; color: var(--blanco) !important; padding: 8px 20px !important; font-size: 16px !important; display: flex !important; align-items: center; justify-content: center; width: 95px !important; height: 35px; border: none !important; }

            /* Nuevo */
            body.wp-child-theme-jafisa span.etiqueta-nuevo { position: absolute; top: 0px; left: 0px; border-radius: 0; background: var(--base); color: var(--blanco) !important; padding: 8px 15px; font-size: 16px; display: flex; align-items: center; justify-content: center; width: 95px; height: 35px; }

            /* Meat Supreme */
            body.wp-child-theme-jafisa span.etiqueta-meat-supreme { position: absolute; top: 0px; right: 0px; border-radius: 0; padding: 15px;}


    /* Maketa especifica bloques woo */
    ul.wc-block-product-template__responsive > li.product { display: grid; grid-template-columns: auto 1fr; gap: 20px 5px; padding:20px 20px 16px; }
    ul.wc-block-product-template__responsive > li.product > .wc-block-components-product-image {grid-column: 1/-1; margin: -20px -20px 0;}
    ul.wc-block-product-template__responsive > li.product > .wc-block-components-product-image img { transition: filter .6s, opacity .6s, transform .6s;}
    ul.wc-block-product-template__responsive > li.product:hover > .wc-block-components-product-image img { transform: scale(1.1);}
    ul.wc-block-product-template__responsive > li.product > .wp-block-post-title { grid-column: 1/-1; margin: 0 !important; }
    ul.wc-block-product-template__responsive > li.product > .wp-block-post-title > a { color: var(--base); text-decoration: none; }
    ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-price {margin-bottom: 0 !important; }
    ul.wc-block-product-template__responsive > li.product > .wp-block-woocommerce-product-button > .wp-block-button__link span {line-height: 1; margin-top: 2px;}


/*-----------------------------------------------------------------*/
/*  CATALOGO DE PRODUCTOS
/*-----------------------------------------------------------------*/


/* ESTRUCTURA */


    /* BARRA FILTROS Y RESULTADOS */
    body.woocommerce-shop .content-area.primary .ast-shop-toolbar-container {display: none !important;} /* Ocultamos la barra que sale cuando aplicas el filtro */
    body.woocommerce-shop .site-content > .ast-shop-toolbar-container {max-width: var(--max-width-web); margin: 30px auto; padding: 0px var(--padding-web) 20px; display: grid; grid-template-columns: 250px 1fr 250px; align-items: center; justify-content: center; position: relative; transition: all .5s; @starting-style { opacity: 0; transform: translateY(10px); }}
    body.woocommerce-shop .site-content > .ast-shop-toolbar-container::before {content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1600px; height: 1px; background-color: var(--borde-gris);}

        /* Texto numero de resultados */
        body.woocommerce-shop .site-content > .ast-shop-toolbar-container p.woocommerce-result-count {color: var(--link); font-family: var(--header-font); font-size: 28px; width: 100%; text-align: center;}

        /* Filtro */
        .rc_shop-filter { align-self: end; display: flex; align-items: center; justify-content: start; gap: 5px; cursor: pointer; color: var(--base); transition: all .3s; width: fit-content; }
        .rc_shop-filter .rc_shop-filter_icon { display: flex; align-items: center; justify-content: center;}
        .rc_shop-filter .rc_shop-filter_icon svg { width: 18px; height: auto; }
        .rc_shop-filter:hover .rc_shop-filter_icon svg path {transition: all .3s;}
        
        .rc_shop-filter .rc_shop-filter_close {display: flex; align-items: center; justify-content: center;}
        .rc_shop-filter .rc_shop-filter_close svg {width: 0px; height: auto; transition: all .3s; opacity: 0; visibility: hidden;}
        .rc_shop-filter.open .rc_shop-filter_close svg {width: 18px; height: auto; opacity: 1; visibility: visible; transition: all .3s;}
        .rc_shop-filter.open .rc_shop-filter_close svg path {transition: all .3s;}

        .rc_shop-filter:hover {color: var(--link);}
        .rc_shop-filter:hover .rc_shop-filter_icon svg path {}
        .rc_shop-filter.open .rc_shop-filter_close:hover svg {transform: rotate(270deg);}
        .rc_shop-filter.open .rc_shop-filter_close:hover svg path { fill: var(--base); }

        /* Orden */
        body.woocommerce-shop .site-content > .ast-shop-toolbar-container>:last-child { justify-content: end; }
        .woocommerce-ordering { width: 100%; max-width: 230px; }
        .woocommerce-ordering select.orderby {max-width: 100%; border: 1px solid var(--borde-gris); font-size: 13px; padding-left: 10px; background-position: 95%; background-size: 15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='16' height='16' x='0' y='0' enable-background='new 0 0 16 16' version='1.1' viewBox='0 0 16 16'%3E%3Cpath fill='%23bc2121' d='M1.5 4.9c0-.2.1-.4.2-.5.3-.3.7-.2 1 0L8 10l5.2-5.6c.3-.3.7-.3 1 0 .3.3.3.7.1 1l-5.7 6.2c-.1.1-.3.2-.5.2s-.4-.1-.5-.2L1.7 5.4c-.1-.1-.2-.3-.2-.5'/%3E%3C/svg%3E"); }

        /* Ocultamos el shortcode de ordenar productos y le quitamos el margin-bottom al widget de los filtros */
        #wpc_sorting_widget-3 {display: none;}
        #wpc_filters_widget-5 {margin-bottom: 20px !important;}
    
    
    /* CONTAINER */
    body.woocommerce-shop .site-content > .ast-container { position: relative; overflow: hidden; margin-top: 120px; }
    body.woocommerce-shop .site-content > .ast-container.filter-load {margin-top: 0;} /* Con esto simulamos el hueco en blanco del filtro de la tienda */

    /* Chips de filtros */
    .wpc-filter-chips-list a, body .wpc-filter-chips-list li.wpc-filter-chip a { border-color: var(--borde-gris) !important; }


    /* CONTENIDO PRINCIPAL */
    body.woocommerce-shop .content-area.primary {margin-top: 0 !important; margin-bottom: 0 !important; width: 100% !important; transition: margin .5s;}
    body.woocommerce-shop .content-area.primary.move { margin-left: 390px !important;}

    body.woocommerce-shop .ast-woocommerce-container { padding: 0; background-color: transparent !important; }

    /* Productos */
    body.woocommerce-shop ul.products {gap: 60px !important; transition: all .6s; }
    body.woocommerce-shop .content-area.primary.move ul.products {gap: 30px !important;}

        /* Container Query productos  */
        body.woocommerce-shop .ast-woocommerce-container {container: products-grid / inline-size;}
        @container products-grid (max-width: 950px) {

            body.woocommerce-shop ul.products > li.product > div.astra-shop-summary-wrap {grid-template-columns: 1fr; gap: 10px;}
            body.woocommerce-shop ul.products > li.product a.button {justify-content: start; margin-top: 5px !important;}

        }

        @container products-grid (max-width: 700px) {

            body.woocommerce-shop ul.products  { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
        }

        @container products-grid (max-width: 560px) {

            body.woocommerce-shop ul.products  { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; gap: 30px !important; margin-top: 0 !important; }
        }

    /* Scroll infinito */
    body.woocommerce-shop span.ast-shop-load-more.no-more {border: none; margin-bottom: 30px; color: var(--link); font-family: 'Ivy'; font-size: 20px; line-height: 1; padding: 0;}


    /* BARRA LATERAL */
    body.woocommerce-shop .widget-area.secondary { width: 330px !important; /* overflow: hidden; */ height: 100%; background-color: var(--blanco); position: absolute !important; top: 30px !important; padding: 0px 5px !important; margin-top: 0 !important; margin-bottom: 0 !important; transform: translateX(-110%); transition: all .5s; }
    body.woocommerce-shop .widget-area.secondary.show { transform: none;}

    body.woocommerce-shop .widget-area.secondary .sidebar-main { border: 1px solid var(--borde); padding: 40px 35px; box-shadow: 0px 2px 6px 0px rgb(24 23 38 / 10%); position: sticky; top: 0; left: 0; }
   
        
        /* Widgets */
        .ast-separate-container.ast-two-container #secondary .widget { padding: 0px !important; background-color: transparent !important; }

            /* Filtros */
            #secondary .wpc-filters-section { margin-bottom: 50px; }

            /* Titulo */
            #secondary .wpc-filters-section .widget-title { font-family: var(--header-font) !important; font-size: 20px !important; font-weight: 600; color: var(--link); padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--borde-gris); }

            /* Filtro de precio */
            #secondary .wpc-filters-range-wrapper input[type=number] { border-radius: 0px; border-color: var(--borde-gris-oscuro); background-color: transparent; }
            #secondary .wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-handle { box-shadow: none; background: var(--blanco); }

            /* Filtro de búsqueda */
            #secondary .wpc-filter-search-form .wpc-search-field { border: none; border-bottom: 1px solid var(--borde-gris); }
            #secondary .wpc-filter-search-form .wpc-search-icon {width: 20px; left: 0;}
            #secondary .wpc-filter-search-form .wpc-search-icon:before {width: 20px; height: 20px; background-size: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='28' height='28' x='0' y='0' version='1.1' viewBox='0 0 28 28'%3E%3Cg fill='%23BB2321'%3E%3Cpath d='M11.5 23C5.2 23 0 17.8 0 11.5S5.2 0 11.5 0 23 5.2 23 11.5 17.8 23 11.5 23zm0-21C6.3 2 2 6.3 2 11.5S6.3 21 11.5 21s9.5-4.3 9.5-9.5S16.7 2 11.5 2z'/%3E%3Cpath d='M27 28c-.3 0-.5-.1-.7-.3l-7.8-7.8c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l7.8 7.8c.4.4.4 1 0 1.4-.2.2-.4.3-.7.3z'/%3E%3C/g%3E%3C/svg%3E");}

            /* Filtro de Categorias - Checkbox */
            li.wpc-checkbox-item {}
            li.wpc-checkbox-item input[type=checkbox] { border: 1px solid var(--borde-gris) !important; border-radius: 50px; }
            
            li.wpc-checkbox-item input[type=checkbox]:hover::after {border-color:  var(--link);}
            li.wpc-checkbox-item input[type=checkbox]:checked {background-color: var(--link) !important; box-shadow: 0px 0px 0px 4px rgba(255,255,255,1) inset;}
            li.wpc-checkbox-item input[type=checkbox]:checked::after {border-color: white; display: none;}
            
            li.wpc-checkbox-item a { color: var(--ast-global-color-3); }
            li.wpc-checkbox-item:hover a { color: var(--ast-global-color-0); }
            

/*-----------------------------------------------------------------*/
/*  FICHA DE PRODUCTOS
/*-----------------------------------------------------------------*/

body.single-product {}
body.single-product #ast-sticky-row-summary {margin-bottom: 150px;}

/* Migas de pan */
body.single-product .trail-items li::after {content: "/"; color: var(--link);}
body.single-product .trail-item.trail-end {font-weight: 700;}

/* Meat Supreme */
body.single-product .meat-supreme-badge { position: absolute; z-index: 9; top: 15px; right: calc(50% + 15px); } /* borrar cuando lo metamos en el sticky */
body.single-product .woocommerce-product-gallery .meat-supreme-badge { position: absolute; z-index: 9; top: 15px; right: 15px; }
body.single-product .meat-supreme-badge > img {box-shadow: none !important;}

/* Oferta */
body.single-product.wp-child-theme-jafisa .ast-on-card-button.ast-onsale-card { top: 12px; left: 16px; border-radius: 0px; background-color: var(--link); color: var(--blanco) !important; padding: 8px 20px; font-size: 16px; display: flex; align-items: center; justify-content: center; width: 95px; height: 35px;}
body.single-product.wp-child-theme-jafisa .onsale-badge-galeria .ast-on-card-button.ast-onsale-card {     left: calc(21% + 15px) !important; }
body.single-product.wp-child-theme-jafisa section.related.products .ast-on-card-button.ast-onsale-card,
body.single-product.wp-child-theme-jafisa .renovatio-wooc-listado-productos .ast-on-card-button.ast-onsale-card { left: 0; top: 35px; border-radius: 0px; background-color: var(--link); color: var(--blanco) !important; padding: 8px 20px; font-size: 16px; display: flex; align-items: center; justify-content: center; width: 95px; height: 35px;}

/* Nuevo */
body.single-product.wp-child-theme-jafisa .ast-on-card-button.etiqueta-nuevo { top: 52px; left: 16px; border-radius: 0px; background-color: var(--base); color: var(--blanco) !important; padding: 8px 20px; font-size: 16px; display: flex; align-items: center; justify-content: center; width: 95px; height: 35px; visibility: visible; opacity: 1;}
body.single-product.wp-child-theme-jafisa .onsale-badge-galeria .ast-on-card-button.etiqueta-nuevo {     left: calc(21% + 15px); }

/* Galería */
body.single-product .woocommerce-product-gallery {position: sticky !important; top: 130px;}

/* Navegación de productos */
body.single-product .ast-product-navigation-wrapper.circle-outline .product-links a,
body.single-product .ast-product-navigation-wrapper.square-outline .product-links a { width: 35px; height: 35px; margin-left: 10px; border-radius: 3px; border-color: #dfdfdf; color: var(--link); box-shadow: 0px 0px 3px 0px rgb(24 23 38 / 2%); cursor: pointer; }
body.single-product .ast-product-navigation-wrapper .ast-icon.icon-arrow {width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; }
body.single-product .ast-product-navigation-wrapper .ast-icon.icon-arrow svg {width: 15px;}
body.single-product .ast-product-navigation-wrapper.circle-outline .product-links a:hover, body.single-product .ast-product-navigation-wrapper.square-outline .product-links a:hover {background-color: var(--link); color: var(--blanco);}

/* Categoria */
body.single-product div.product div.summary .single-product-category {font-family: var(--header-font); font-weight: 500; font-size: 18px; margin-bottom: 15px;}

/* Titulo */
body.single-product div.product .product_title {font-family: var(--base-font) !important; color: var(--base); font-size: 30px; margin-bottom: 10px; }

/* Precio */
body.single-product div.product p.price { font-size: 38px; /* display: flex; gap: 0px; */ margin-bottom: 15px; }
body.single-product div.product p.price del {font-weight: 300; text-decoration: line-through; text-decoration-thickness: 2px; margin-right: 30px;}
body.single-product div.product p.price ins {font-weight: 600;}
body.single-product div.product p.price .woocommerce-Price-currencySymbol,
body.single-product div.product p.price .precio-por-kilo { font-size: 30px; }
body.single-product div.product p.price del .woocommerce-Price-currencySymbol {font-size: 38px;}

/* Descripcion corta */
body.single-product div.product div.summary .woocommerce-product-details__short-description p {font-size: 22px; line-height: 1.2;}
body.single-product div.product div.summary .woocommerce-product-details__short-description :last-child {margin-bottom: 40px;}

/* Detalles de producto */
body.single-product div.product div.summary .woocommerce-product-details__short-description .custom-product-details-inline :last-child {margin-bottom: 0;}
body.single-product div.product-formato,
body.single-product div.product-conservacion,
body.single-product div.product-ingredientes,
body.single-product div.product-alergenos { margin-bottom: 15px; font-size: 15px; line-height: 1.3; color: #565656; }

body.single-product div.product-formato > strong,
body.single-product div.product-conservacion > strong,
body.single-product div.product-ingredientes > strong,
body.single-product div.product-alergenos > strong {display: block; font-size: 16px; line-height: 1; color: var(--base); margin-bottom: 3px !important;}


/* Añadir al carro */
body.single-product.woocommerce .quantity.buttons_added {height: 50px;}

body.single-product.woocommerce .quantity .minus, 
body.single-product.woocommerce .quantity .plus,
body.single-product.woocommerce input[type=number].qty.ast-no-internal-border,
body.single-product div.product form.cart .button.single_add_to_cart_button { height: 50px; }

body.single-product.woocommerce .quantity .minus { width: 45px; position: relative; font-size: 0; border-top-left-radius: 4px; border-bottom-left-radius: 4px; border: 1px solid var(--borde-gris-claro); border-right: none; }
body.single-product.woocommerce .quantity .plus  { width: 45px; position: relative; font-size: 0; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border: 1px solid var(--borde-gris-claro); border-left: none; }
body.single-product.woocommerce .quantity .minus:after { content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTEgMUgxIiBzdHJva2U9IiNDNEM0QzQiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=);}
body.single-product.woocommerce .quantity .plus:after { content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYgMXYxMG01LTVIMSIgc3Ryb2tlPSIjQzRDNEM0IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+);}
body.single-product.woocommerce .quantity .minus:hover, body.single-product.woocommerce .quantity .plus:hover  {background-color: #16110e !important;}

body.single-product.woocommerce input[type=number].qty.ast-no-internal-border {font-size: 18px; font-weight: 700; color: var(--base); border-color: var(--borde-gris-claro); }

body.single-product div.product form.cart .button.single_add_to_cart_button { border-radius: 3px; min-width: 280px; font-size: 18px; }


/* Extras - Envios - Entrega */
body.single-product .ast-single-product-extras {border-top: 1px solid var(--borde-gris-claro); margin-top: 30px; padding: 30px 0 0; }
body.single-product .ast-single-product-extras li[data-icon="true"] { display: grid; grid-template-columns: 30px 1fr; align-items: center; justify-content: start; gap: 15px; padding: 0 0 0 20px; font-size: 17px; font-weight: 600; margin: 0 0 25px; }
body.single-product .ast-single-product-extras li[data-icon="true"] img { position: relative; box-shadow: none; width: auto; height: 20px; top: auto; left: auto; justify-self: center; }

/* Pago Seguro */
body.single-product .ast-single-product-extras li[data-icon="true"]:last-child {position: relative; display: flex; flex-wrap: wrap; padding: 20px; border: 1px solid var(--borde-gris-claro);  border-radius: 4px;}
body.single-product .ast-single-product-extras li[data-icon="true"]:last-child:after {content: ""; position: relative; width: 405px; height: 35px;  background-position: left center; background-size: contain; background-repeat: no-repeat; background-image: url("../img/ico_plataformas-pago.svg");}

/* Quitamos el mensaje de paypal */
body.single-product .ppcp-messages {display: none !important;}

/* Productos Relacionados */
body.single-product section.related.products { margin-bottom: 150px; }
body.single-product section.related.products > h2 { color: var(--link); font-family: var(--header-font); font-size: 30px; font-weight: 500; width: 100%; padding-bottom: 20px; margin-bottom: 60px; border-bottom: 1px solid var(--borde-gris-claro);}
body.single-product section.related.products ul.products {gap: 60px;}


/* PRODUCTOS VARIABLES */
body.single-product div.product form.cart .variations {border: none;}
body.single-product div.product form.cart .variations th.label {}
body.single-product div.product form.cart .variations th.label label { font-size: 18px; }
body.single-product .ast-variation-button-group .ast-single-variation { border-radius: 0px; }
body.single-product div.product form.cart a.reset_variations { display: inline-flex; color: var(--link); opacity: 1; font-size: 14px;}

/* PRODUCTOS AGRUPADOS */
body.single-product div.product form.cart .group_table {border: none; margin-bottom: 40px;}
body.single-product div.product form.cart .group_table td {border: none; line-height: 1;}
body.single-product div.product form.cart .group_table td.woocommerce-grouped-product-list-item__label label a { font-size: 18px; font-weight: 600; color: var(--base); }
body.single-product div.product form.cart .group_table td.woocommerce-grouped-product-list-item__price {text-align: right; font-weight: 700;}
body.single-product div.product form.cart .group_table td.woocommerce-grouped-product-list-item__price del { color:#7e7e7e; text-decoration-thickness: 1px;}
body.single-product div.product form.cart .group_table td.woocommerce-grouped-product-list-item__price del .woocommerce-Price-amount {font-weight: 200; }

/* AHORRA COMPRANDO EL PACK */
body.single-product div.product .iconic-wsb-product-bumps { padding: 20px; border: 1px solid var(--borde-gris-claro); border-radius: 4px; }

    /* Titulo */
    body.single-product div.product .iconic-wsb-product-bumps > .iconic-wsb-product-bumps__header { border: none; background-color: transparent; padding: 0;}
    body.single-product div.product .iconic-wsb-product-bumps > .iconic-wsb-product-bumps__header > .iconic-wsb-product-bumps__title {font-size: 18px; font-weight: 600; color: var(--base);}

    /* Imagen */
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__image > img { box-shadow: none !important; -webkit-box-shadow: none !important;  }

    /* Elementos de la lista */
    body.single-product div.product .iconic-wsb-product-bumps li.iconic-wsb-product-bumps__list-item {padding: 8px 0;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-bump-product {width: 100%; display: block;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-bump-product__body {padding: 0;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-bump-product__body > label {display: grid; grid-template-columns: 1fr auto; gap: 0 10px; justify-content: space-between;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-bump-product__body > label > input[type=checkbox] {display: none;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-bump-product__body > label > span.iconic-wsb-bump-product__price {text-align: right;}
    body.single-product div.product .iconic-wsb-product-bumps a.iconic-wsb-bump-product__title { color: var(--base); text-decoration: none; font-weight: 700; }
    body.single-product div.product .iconic-wsb-product-bumps a.iconic-wsb-bump-product__title:hover {color: var(--link);}

    /* Total */
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions {padding: 15px 0 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 10px;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions > .iconic-wsb-product-bumps__discount-message {grid-column: 1/-1; grid-row: 1/2; margin: 0; background-color: transparent; border: none; color: var(--verde); font-size: 14px; font-weight: 600; padding: 0px;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions > .iconic-wsb-product-bumps__discount-message:before {display: none;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions > .iconic-wsb-product-bumps__total-price { grid-row: 2/3; margin: 0; display: grid; grid-template-columns: 100px auto; align-items: center; gap: 10px;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions > .iconic-wsb-product-bumps__total-price > .iconic-wsb-product-bumps__total-price-label {color: var(--base); opacity: 1; font-weight: 700;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions > .iconic-wsb-product-bumps__total-price > .iconic-wsb-product-bumps__total-price-amount {font-weight: 700;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions > .iconic-wsb-product-bumps__total-price > .iconic-wsb-product-bumps__total-price-amount > del {opacity: 0.5; font-weight: 300;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions > .iconic-wsb-product-bumps__button-wrap {grid-row: 2/3; margin: 0;}

/* BARRA STICKY ABAJO */
body.single-product .ast-sticky-add-to-cart .ast-sticky-add-to-cart-content .ast-sticky-add-to-cart-title-wrap .ast-sticky-add-to-cart-title {font-weight: 600;}
body.single-product .ast-sticky-add-to-cart .ast-sticky-add-to-cart-content .ast-sticky-add-to-cart-title-wrap img {border-radius: 5px; overflow: hidden;}
body.single-product div.ast-sticky-add-to-cart-action-wrap .ast-sticky-add-to-cart-action-price {display: flex; align-items: center; gap: 12px;}
body.single-product div.ast-sticky-add-to-cart-action-wrap .button.single_add_to_cart_button { height: 50px; padding: 11px 35px; border-radius: 3px; font-size: 18px;}

    /* Ampliamos el footer para que tape el menu de abajo */
    body.single-product .jafisa-footer__fila-04 {padding-bottom: 80px;}



/*-----------------------------------------------------------------*/
/*  FINALIZAR COMPRA
/*-----------------------------------------------------------------*/

/* HEADER */
body.woocommerce-checkout .header_finalizar-compra.alignfull {width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); overflow: hidden;}
body.woocommerce-checkout .header_finalizar-compra { background-color: var(--fondo-1); border-bottom: 1px solid var(--borde); } 
body.woocommerce-checkout .header_finalizar-compra > .rc-seccion_inner-container { max-width: 1440px; padding: 15px 32px; }
body.woocommerce-checkout .header_finalizar-compra figure { margin: 0 !important;}

    /* Pago Seguro */
    /*
    body.woocommerce-checkout .header_finalizar-compra > .rc-seccion_inner-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    body.woocommerce-checkout .header_finalizar-compra > .rc-seccion_inner-container .ast-single-product-extras ul {padding: 0;}
    body.woocommerce-checkout .header_finalizar-compra > .rc-seccion_inner-container .ast-single-product-extras li {position: relative; display: grid; grid-template-columns: 30px auto auto; align-items: center; justify-content: end; gap: 20px; font-weight: 600;  }
    body.woocommerce-checkout .header_finalizar-compra > .rc-seccion_inner-container .ast-single-product-extras li:after {content: ""; position: relative; width: 200px; height: 25px;  background-position: center right; background-size: contain; background-repeat: no-repeat; background-image: url("/wp-content/uploads/2025/05/ico_plataformas-pago.svg");}
    */

/* FLUX */
body.woocommerce-checkout {} 
body.woocommerce-checkout .flux-checkout__order-review *:not(h2),
body.woocommerce-checkout .flux-ty-order-review *:not(h2) {font-family: var(--base-font) !important; font-weight: 400;}

/* Columna Izquierda - Datos */
body.woocommerce-checkout .flux-checkout__content-left {}

    /* Titulo - Finalizar compra */
    body.woocommerce-checkout .header__link {pointer-events: none; cursor: default;}
    body.woocommerce-checkout .header__title.entry-title { font-weight: 600; line-height: 1.5; }

    /* Steps */
    body.woocommerce-checkout .flux-stepper {}
    body.woocommerce-checkout li.flux-stepper__step {}
    body.woocommerce-checkout li.flux-stepper__step button.flux-stepper__button {text-decoration: none;}
    body.woocommerce-checkout li.flux-stepper__step button.flux-stepper__button:focus { outline: none; }

    body.woocommerce-checkout .flux-stepper li:not(:last-child):after {margin-right: 3px;}

    body.woocommerce-checkout li.flux-stepper__step span.flux-stepper__title { position: relative; text-decoration: none; padding-bottom: 4px; }
    body.woocommerce-checkout li.flux-stepper__step span.flux-stepper__title:before {content: ""; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: var(--base); transition: all .3s;}

    body.woocommerce-checkout li.flux-stepper__step.selected span.flux-stepper__title, body.woocommerce-checkout li.flux-stepper__step:hover:not(.disabled) span.flux-stepper__title  {color: var(--base);  }
    body.woocommerce-checkout li.flux-stepper__step.selected span.flux-stepper__title::before, body.woocommerce-checkout li.flux-stepper__step:hover:not(.disabled) span.flux-stepper__title:before {width: 100%;}

    body.woocommerce-checkout li.flux-stepper__step.disabled button.flux-stepper__button {cursor: default;}

    /* Steps Review */
    body.woocommerce-checkout .flux-review-customer {}
    body.woocommerce-checkout .flux-review-customer label { font-weight: 800; color: var(--base); }

    /* Titulo secciones */
    body.woocommerce-checkout .flux-checkout__content-left .flux-heading { margin: 60px 0 10px !important; font-weight: 600; color: var(--base); border-bottom: 1px solid var(--borde-gris-carrito); padding-bottom: 10px; }
    body.woocommerce-checkout .flux-checkout__content-left .flux-heading.flux-heading--customer-details {margin-bottom: 40px !important;}
    body.woocommerce-checkout .flux-checkout__content-left .flux-heading.flux-heading--payment {border: none; padding-bottom: 0;}

    /* Login si tienes cuenta */
    body.woocommerce-checkout p.flux-checkout__login { position: relative; display: grid; grid-template-columns: auto auto auto; gap: 10px; align-items: center; justify-content: center; border: 1px solid var(--borde-gris-carrito); border-radius: 4px; padding: 15px 25px 15px 20px; width: fit-content; background: #f1f1f1; color: var(--base); line-height: 1.1; font-weight: 500; margin: -13px 0 32px; }
    body.woocommerce-checkout p.flux-checkout__login::before {content: ""; width: 25px; height: 25px;  background-position: center; background-size: contain; background-repeat: no-repeat; background-image: url("/wp-content/uploads/2025/05/ico_account_menu.svg"); }

        /* Popup Login */
        body.woocommerce-checkout .woocommerce-form-login h2 { font-weight: 600; color: var(--base);}


    /* Boton Seguir y Finalizar compra */
    body.woocommerce-checkout .flux-checkout .flux-button, 
    body.woocommerce-checkout .flux-checkout button#place_order { border-radius: 3px; }

    /* Quitamos el ".wc-ppcp-checkout-container" que no se lo que es */
    body.woocommerce-checkout .flux-step .wc-ppcp-checkout-container {display: none;}

    /* Quitamos el volver al carro de Astra */
    body.woocommerce-checkout .flux-checkout__content-left .ast-back-to-cart {display: none;}




/* Columna Derecha - Resumen de compra */
body.woocommerce-checkout .flux-checkout__content-right,
body.woocommerce-checkout .flux-common-wrap__content-right { background-color: transparent; position: relative; border-left: 1px solid var(--borde); }
body.woocommerce-checkout .flux-checkout__content-right:before {content: ""; position: absolute; z-index: 0; top: 0; left: 0; width: 100vw; height: 100%; /* background-color: var(--fondo-1); */ background-color: transparent; }
body.woocommerce-checkout .flux-checkout__content-right > .flux-checkout__order-review {position: sticky; top: 30px; z-index: 2;}

body.woocommerce-checkout .flux-checkout__content-right #order_review_heading { margin-bottom: 10px !important; padding-bottom: 10px; border-bottom: 1px solid var(--borde-gris-carrito); font-weight: 600; color: var(--base); justify-content: space-between; }
body.woocommerce-checkout .flux-checkout__content-right #order_review_heading,
body.woocommerce-checkout .flux-common-wrap__content-right h2.flux-heading {display: none;}
body.woocommerce-checkout .flux-checkout__content-right #order_review_heading::after {display: none;}

    /* Quitamos los gastos de envío del principio */
    body.woocommerce-checkout table.flux-checkout__shipping-table {display: none;}

    /* Maketamos productos */
    body.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table { display: block; width: 100%; }
    body.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table tbody,
    body.woocommerce-checkout .flux-cart-order-item-wrap { display: block; width: 100%; height: 40vh; overflow-y: auto; overflow-x: hidden; position: relative;   }

    body.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table tbody:before {content: ""; position: sticky; z-index: 2; top: 0; left: 0; margin-left: -10px; display: block; width: calc(100% + 20px); height: 30px; background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 80%); }
    body.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table tbody:before {display: none;}
    body.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table tbody:after,
    body.woocommerce-checkout .flux-cart-order-item-wrap:after { content: ""; position: absolute; z-index: 2; bottom: 0; left: 0; margin-left: -10px; display: block; width: calc(100% + 20px); height: 30px; border-bottom: 1px solid var(--borde-gris-carrito); mix-blend-mode: multiply; background-position: center; background-size: cover; background-repeat: no-repeat; background-image: url("../img/svg-shadow.svg"); opacity: 0; transition: opacity .3s;}
    body.woocommerce-checkout ::-webkit-scrollbar { width: 10px; height: 0px; background-color: transparent; }
    body.woocommerce-checkout ::-webkit-scrollbar-track { background-color: transparent; }
    body.woocommerce-checkout ::-webkit-scrollbar-thumb { background-color: var(--borde-gris); border-radius: 15px; border: 2px solid #fff; transition: all .3s; }
    body.woocommerce-checkout ::-webkit-scrollbar-thumb:hover { background-color: var(--base) ; }
    body.woocommerce-checkout ::-webkit-scrollbar-thumb:active { background-color: var(--base); }

    /* Animación  */
    body.woocommerce-checkout.tbody-scroll .shop_table.woocommerce-checkout-review-order-table tbody::after,
    body.woocommerce-checkout.tbody-scroll .flux-cart-order-item-wrap::after {position: sticky; opacity: 1;}
    body.woocommerce-checkout.tbody-scroll #order_review tr.cart_item,
    body.woocommerce-checkout.tbody-scroll .flux-cart-order-item {width: 95% !important;}


    
        /* Producto */
        body.woocommerce-checkout #order_review tr.cart_item { display: grid; grid-template-columns: 1fr 125px; width: 100%; background-color: var(--blanco) !important; padding: 15px; margin-bottom: 15px; margin-inline: auto; border-radius: 10px; border: 1px solid var(--borde-gris-carrito); transition: all .3s; }
        body.woocommerce-checkout .flux-cart-order-item {background-color: var(--blanco) !important; padding: 15px; margin-bottom: 15px; margin-inline: auto; border-radius: 10px; border: 1px solid var(--borde-gris-carrito); transition: all .3s;}
            
            /* Nombre */
            body.woocommerce-checkout #order_review tr.cart_item > td.product-name { background-color: var(--blanco) !important; border: none; padding-top: 0px; padding-bottom: 0px; font-size: 15px; line-height: 1.3; min-height: 100px; }
            body.woocommerce-checkout #order_review tr.cart_item > td.product-name .flux-cart-image.flux-cart-image--checkout { top: 0; border-radius: 6px; overflow: hidden; }

            /* Cantidades */
            a.ast-qty-placeholder.minus, .ast-qty-placeholder.plus {display: none;}
            body.woocommerce-checkout #order_review .quantity .quantity__button--plus:after {left: -3px;}

            /* Total */
            body.woocommerce-checkout #order_review tr.cart_item > td.product-total { background-color: var(--blanco) !important; border: none; padding-top: 0px; padding-bottom: 0px; display: flex; align-items: end; justify-content: end; }

                /* Borrar producto */
                body.woocommerce-checkout #order_review tr.cart_item > td.product-total .flux-checkout__remove-link { top: 0; }
                body.woocommerce-checkout #order_review tr.cart_item > td.product-total .flux-checkout__remove-link a.remove {width: 22px; height: 15px;}
                body.woocommerce-checkout #order_review tr.cart_item > td.product-total .flux-checkout__remove-link a.remove:before { mask-image: url(../img/ico_delete-carrito.svg); width: 22px; height: 15px; mask-size: cover; mask-position: center center; transition: all .3s; }
                body.woocommerce-checkout #order_review tr.cart_item > td.product-total .flux-checkout__remove-link a.remove:hover {background: none;}
                body.woocommerce-checkout #order_review tr.cart_item > td.product-total .flux-checkout__remove-link a.remove:hover:before {background-color: var(--link);}

                /* Precio */
                body.woocommerce-checkout #order_review tr.cart_item > td.product-total .woocommerce-Price-amount { margin-bottom: 0; }
                
                body.woocommerce-checkout #order_review tr.cart_item td.product-total del,
                body.woocommerce-checkout #order_review tr.cart_item td.product-total ins { height: 30px; margin-top: 10px; }

                body.woocommerce-checkout #order_review tr.cart_item td.product-total del .amount {font-size: 12px; margin: 3px 5px 0 0; }
                body.woocommerce-checkout #order_review tr.cart_item td.product-total del .amount bdi,
                body.woocommerce-checkout #order_review tr.cart_item td.product-total del .amount bdi .woocommerce-Price-currencySymbol {font-size: 12px; font-weight: 200; opacity: 0.5;}



    /* Totales */
    body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot { display: flex; flex-direction: column; padding: 20px 0px 0px; width: 100%; position: relative;   }
    body.woocommerce-checkout .flux-cart-totals {padding: 15px; border-left: 2px solid var(--borde-gris-carrito); border-right: 2px solid var(--borde-gris-carrito); border-bottom: none; border-radius: 3px; margin: 0;}
    body.woocommerce-checkout .flux-cart-totals.flux-cart-totals--cart_subtotal {border-top: 2px solid var(--borde-gris-carrito); margin-top: 50px;}
    body.woocommerce-checkout .flux-cart-totals.flux-cart-totals--order_total {border-bottom: 2px solid var(--borde-gris-carrito);}

        /* Cupones */

        body.woocommerce-checkout .flux-checkout__content-right table.woocommerce-checkout-review-order-table tbody tr.coupon-form { display:none!important; } /* Ocultamos el formu del cupon de su sitio orignal */

        body.woocommerce-checkout tr.coupon-form { order: 1; display: block; width: 100% !important; border: none !important; padding-bottom: 35px;}
        body.woocommerce-checkout tr.coupon-form > td { display: block; width: 100% !important; border: none !important;}

        body.woocommerce-checkout tr.coupon-form .woocommerce-form-coupon__inner { display: grid; grid-template-columns: 1fr 150px; gap: 0 20px; align-items: start; }
        body.woocommerce-checkout tr.coupon-form .woocommerce-form-coupon__inner .form-row-first {width: 100% !important; margin: 0;}
        body.woocommerce-checkout tr.coupon-form .woocommerce-form-coupon__inner .form-row-first input {border-radius: 4px; border: 1px solid var(--borde-gris-carrito);}
        body.woocommerce-checkout tr.coupon-form .woocommerce-form-coupon__inner .form-row-first div.success { position: relative; bottom: -17px; left: 15px; margin: 0; font-size: 12px !important; line-height: 1; text-align: left; color: var(--verde); padding:0;}
        body.woocommerce-checkout tr.coupon-form .woocommerce-form-coupon__inner .form-row-first div.error { position: relative; bottom: -17px; left: 15px; margin: 0; font-size: 12px !important; line-height: 1; text-align: left; color: var(--error); padding:0;}

        body.woocommerce-checkout tr.coupon-form .woocommerce-form-coupon__inner .form-row-last {width: 100% !important; margin: 0;}
        body.woocommerce-checkout tr.coupon-form .woocommerce-form-coupon__inner .form-row-last button {border-radius: 3px; background-color: var(--base); opacity: 1; border: none !important; font-size: 16px; font-weight: 500;}
        body.woocommerce-checkout tr.coupon-form .woocommerce-form-coupon__inner .form-row-last button:hover {background-color: var(--link);}

        /* Subtotal */
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-subtotal { order: 2; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; /* background-color: var(--blanco); */ padding: 15px; border-top: 2px solid var(--borde-gris-carrito); border-left: 2px solid var(--borde-gris-carrito); border-right: 2px solid var(--borde-gris-carrito); border-radius: 4px;}
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-subtotal > td,
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-subtotal > th {border: none !important; padding: 0 !important;}

        /* Descuento por compra conjunta */
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.fee { order: 3; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; /* background-color: var(--blanco); */ padding: 0 15px 15px; border-left: 2px solid var(--borde-gris-carrito); border-right: 2px solid var(--borde-gris-carrito);}

        /* cupon aplicado en precio */
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-discount { order: 4; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; /* background-color: var(--blanco); */ padding: 0 15px 15px; border-left: 2px solid var(--borde-gris-carrito); border-right: 2px solid var(--borde-gris-carrito);}
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-discount > td,
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-discount > th {border: none !important; padding: 0 !important;}
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-discount > td > span.woocommerce-Price-amount {padding-right: 20px;}
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-discount > td > a.woocommerce-remove-coupon {position: relative; display: inline; font-size: 0px;}
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-discount > td > a.woocommerce-remove-coupon:before { content: ""; display: block; position: absolute; top: -14px; right: -7px; width: 22px; height: 15px; background: var(--link); mask-image: url(../img/ico_delete-carrito.svg); mask-size: cover; mask-position: center center; mask-repeat: no-repeat; transition: all .3s; }

        /* Envio */
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.flux-shop-table-shipping-price { order: 5; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; /* background-color: var(--blanco); */ padding: 0 15px 15px; border-left: 2px solid var(--borde-gris-carrito); border-right: 2px solid var(--borde-gris-carrito);}

        /* Fila fantasma Flux Checkout */
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.flux-checkout__order-review-ghost-row > td,
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.flux-checkout__order-review-ghost-row > th {border: none !important; padding: 0 !important;}

        /* Total */
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.order-total { order: 10; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; background-color: var(--blanco); padding: 15px; border-top: none; border-bottom: 2px solid var(--borde-gris-carrito); border-left: 2px solid var(--borde-gris-carrito); border-right: 2px solid var(--borde-gris-carrito); border-radius: 4px;}
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.order-total > td,
        body.woocommerce-checkout .flux-checkout__content-right #order_review .shop_table.woocommerce-checkout-review-order-table > tfoot > tr.order-total > th {border: none !important; padding: 0 !important;}


/* PAGINA DE AGRADECIMIENTO */
body.woocommerce-order-received {}
body.woocommerce-order-received .flux-review-customer__row {gap: 25px;}

body.woocommerce-checkout .flux-cart-totals small {display: block; line-height: 1;}
body.woocommerce-checkout .flux-cart-totals .flux-cart-totals__currency-badge {display: none;}
body.woocommerce-checkout .flux-cart-totals--order_total .flux-cart-totals__value span {line-height: 1.2;}
body.woocommerce-checkout .flux-cart-totals--order_total .flux-cart-totals__label span {font-weight: 700;}

/* Parte de los productos */
body.woocommerce-order-received .flux-common-wrap__content-right > .flux-ty-order-review { position: sticky; top: 30px; z-index: 2; }
body.woocommerce-order-received .flux-cart-order-item__info {}
body.woocommerce-order-received .flux-cart-order-item__info-name {font-size: 15px;}





/* FOOTER */
body.woocommerce-checkout .footer_finalizar-compra.alignfull {width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); overflow: hidden;}
body.woocommerce-checkout .footer_finalizar-compra { background-color: var(--fondo-1); border-top: 1px solid var(--borde); } 
body.woocommerce-checkout .footer_finalizar-compra > .rc-seccion_inner-container { max-width: 1440px; padding: 15px 32px; display: flex; align-items: center; justify-content: space-between; }
body.woocommerce-checkout .footer_finalizar-compra figure { margin: 0 !important;}

    /* Pago Seguro */
    body.woocommerce-checkout .ast-single-product-extras ul {padding: 0;}
    body.woocommerce-checkout .ast-single-product-extras li {position: relative; display: grid; grid-template-columns: 30px auto auto; align-items: center; justify-content: start; gap: 20px; font-weight: 600;  }
    body.woocommerce-checkout .ast-single-product-extras li:after {content: ""; position: relative; width: 275px; height: 100%;  background-position: center; background-size: contain; background-repeat: no-repeat; background-image: url("../img/ico_plataformas-pago.svg");}


    /* Menu Footer */
    body.woocommerce-checkout nav.rc-menu {}
    body.woocommerce-checkout nav.rc-menu > ul#menu-finalizar-compra-footer {list-style-type: none; display: flex; align-items: center; justify-content: center; gap: 20px;}
    body.woocommerce-checkout nav.rc-menu > ul#menu-finalizar-compra-footer > li {}
    body.woocommerce-checkout nav.rc-menu > ul#menu-finalizar-compra-footer > li > a { color: var(--base); font-size: 12px; font-weight: 600; text-decoration: underline;  }
    body.woocommerce-checkout nav.rc-menu > ul#menu-finalizar-compra-footer > li > a:hover {color: var(--link);}


/*-----------------------------------------------------------------*/
/*  MI CUENTA
/*-----------------------------------------------------------------*/

/* LOGIN */

/* Checkbox Formulario */

/* Flex layout for checkbox labels in WooCommerce forms, ensuring alignment and spacing */
body:not(.woocommerce-checkout) .woocommerce form label.woocommerce-form__label-for-checkbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    padding-left: calc(var(--wpz-checkbox-size) + var(--wpz-border-width) + 10px) !important; /* Space for custom checkbox */
    min-height: var(--wpz-checkbox-size); /* Minimum height for touch targets */
    min-width: var(--wpz-checkbox-size); /* Minimum width for touch targets */
}
/* Ensures the default checkbox is visually hidden but remains accessible */
body:not(.woocommerce-checkout) .woocommerce form label.woocommerce-form__label-for-checkbox input[type=checkbox] {
    padding: 0;
    margin: 0;
    height: 0;
    width: 0;
    display: none;
    position: absolute;
    appearance: none;
    -webkit-appearance: none; /* Removes default styling */
}
/* Styles for custom checkbox appearance, using pseudo-elements for custom graphics */
body:not(.woocommerce-checkout) .woocommerce form label.woocommerce-form__label-for-checkbox span:after,
body:not(.woocommerce-checkout) .woocommerce form label.woocommerce-form__label-for-checkbox span:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%); /* Center vertically */
    display: block;
    background-color: var(--wpz-bg-color);
    box-sizing: content-box;
    border: var(--wpz-border-width) solid var(--wpz-border-color);
    height: var(--wpz-checkbox-size);
    width: var(--wpz-checkbox-size);
    border-radius: var(--wpz-border-radius);
}
/* Custom checkmark appearance for checked state, using SVG for graphics */
body:not(.woocommerce-checkout) .woocommerce form label.woocommerce-form__label-for-checkbox input:checked + span:after {
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: var(--wpz-check-size);
    -webkit-mask-image: var(--wpz-mark-url);
    mask-image: var(--wpz-mark-url);
    background-color: var(--wpz-check-color); /* Custom checkmark color */
}
/* Adjusts border color for checked state to match custom checkmark */
body:not(.woocommerce-checkout) .woocommerce form label.woocommerce-form__label-for-checkbox input:checked + span:before {
    background-color: var(--wpz-checked-bg-color);
    border: var(--wpz-border-width) solid var(--wpz-checked-border-color); /* Checked state border color */
}

/* Style 1 */
body:not(.woocommerce-checkout) .woocommerce-form__label-for-checkbox  {
    --wpz-bg-color: transparent;
    --wpz-checked-bg-color: transparent;
    
    /* Sizing */
    --wpz-checkbox-size: 18px;
    --wpz-check-size: 12px;
    
    /* Check Mark */
    --wpz-check-color: #bc2121;
    --wpz-mark-url: url("../img/check1.svg");
    
    /* Border */
    --wpz-border-width: 2px;
    --wpz-border-radius: 50%;
    --wpz-border-color: #DFDFDF;
    --wpz-checked-border-color: #bc2121;
    
}

/* FIN - Checkbox Formulario */






body.woocommerce-account {}

/* MENU LATERAL */
body.woocommerce-account nav.woocommerce-MyAccount-navigation { border-right: 0; }

    /* Usuario */
    body.woocommerce-account nav.woocommerce-MyAccount-navigation .ast-wooaccount-user-wrapper {}
    body.woocommerce-account nav.woocommerce-MyAccount-navigation .ast-wooaccount-user-wrapper > span.ast-username { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }

    /* Menu */
    body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul {}
    body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link { border: none; }
    body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link::after {display: none;}
    body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link > a { gap: 10px; padding: 8px 20px; }

    body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link.is-active > a {}

        /* Iconos del menu */
        body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link > a > span.ahfb-svg-iconset {position: relative; margin-right: 0px;}
        body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link > a > span.ahfb-svg-iconset:before {content: ""; display: block; position: relative; width: 17px; height: 17px; background-color: var(--base); mask-position: center; mask-size: contain; mask-repeat: no-repeat; transition: all .3s; }
        body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link > a > span.ahfb-svg-iconset > svg { display: none; }
        body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link.is-active > a > span.ahfb-svg-iconset:before,
        body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link > a:hover > span.ahfb-svg-iconset:before { background-color: var(--link);}

            /* Icono Dashboard */
            body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard > a > span.ahfb-svg-iconset:before {mask-image: url("../img/ico_cuenta_dashboard.svg");}
            /* Icono Pedidos */
            body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--orders > a > span.ahfb-svg-iconset:before {mask-image: url("../img/ico_cuenta_envio.svg");}
            /* Icono Direccion */
            body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address > a > span.ahfb-svg-iconset:before {mask-image: url("../img/ico_cuenta_direccion.svg");}
            /* Icono Detalles */
            body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-account > a > span.ahfb-svg-iconset:before {mask-image: url("../img/ico_cuenta_detalles.svg");}
            /* Icono Salis */
            body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--customer-logout > a > span.ahfb-svg-iconset:before {mask-image: url("../img/ico_cuenta_salir.svg");}



/* ESCRITORIO */
body.woocommerce-dashboard {}

/* Ocultamos el texto de bienvenida */
body.woocommerce-dashboard .woocommerce-MyAccount-content > p {display: none;}

/* Maketamos nuestro hook */
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section { padding: 100px 0; }
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-fila { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; align-items: end; justify-content: center; width: 100%; height: 100%;  }
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton {display: flex; align-items: center; justify-content: center; gap: 15px; padding: 20px; border: 1px solid var(--borde); border-radius: 5px; min-height: 120px;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton > figure {display: flex; align-items: center; justify-content: center; width: 27px; min-width: 27px; height: 30px; margin: 0px; position: relative;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton.datos > figure { width: 20px; min-width: 20px; height: 25px; }
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton > figure > img {width: 100% !important; height: 100% !important; object-fit: cover; }
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton > p {font-family: var(--header-font); font-size: 20px; text-align: center; margin: 0; line-height: 1; }
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton > p > a {color: var(--base);}

body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton, body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton * {transition: all .3s;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton:hover {background-color: var(--fondo-1); box-shadow: 0px 2px 6px 0px rgb(24 23 38 / 10%);}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton:hover > figure {transform: translateX(3px); }
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton:hover > p {transform: translateX(-3px); }

body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido { margin-right: 20px; }
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > h2 {position: relative; font-size: 0; border: none; padding: 0;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > h2:before {content: "Último pedido"; font-family: var(--header-font); font-size: 20px; line-height: 1; font-weight: 600;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table { border: none; margin: 0; }
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > thead {display: none;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody {}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order { display: grid; grid-template-columns: 1fr auto; gap: 0 20px; padding: 15px; border: 1px solid var(--borde); border-radius: 5px; min-height: 120px; transition: all .3s; }
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order > td {border: none; padding: 0;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order > td.order-number {display: none;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order > td.order-date { grid-column: 1/2; grid-row: 1/2; font-weight: 700; font-size: 16px; }
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order > td.order-status {grid-column: 1/2; grid-row: 2/3;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order > td.order-total {grid-column: 1/2; grid-row: 3/4;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order > td.order-actions {grid-column: 2/3; grid-row: 1/4; display: flex; flex-direction: column; align-items: end; justify-content: center; gap: 7px;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order > td.order-actions > a {font-size: 12px; font-weight: 700; text-transform: uppercase; margin: 0; color: var(--base); background-color: transparent; padding: 0; opacity: 0; transform: translateY(5px);}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order > td.order-actions > a:not(.view) {display: none;}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order:hover {box-shadow: 0px 2px 6px 0px rgb(24 23 38 / 10%); background-color: var(--fondo-1);}
body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order:hover > td.order-actions > a {color: var(--base); opacity: 1; transform: none;}



/* EDITAR DIRECCION Y DATOS DE USUARIO */

    /* Formulario */
    body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row.ast-animate-input .select2-container--default .select2-selection--single, body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row.ast-animate-input input[type=email], body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row.ast-animate-input input[type=number], body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row.ast-animate-input input[type=password], body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row.ast-animate-input input[type=reset], body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row.ast-animate-input input[type=search], body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row.ast-animate-input input[type=tel], body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row.ast-animate-input input[type=text], body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row.ast-animate-input input[type=url], body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row.ast-animate-input select, body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row.ast-animate-input textarea {height: 50px; border-color: var(--borde-gris-claro);}
    body.woocommerce-account button.button { border-radius: 3px; height: 50px; font-size: 18px; line-height: 1; min-width: 250px; }
    body.woocommerce-account h2 {font-size: 25px; font-weight: 600; margin: 0 0 20px; padding: 0 0 10px; border-bottom: 1px solid var(--borde-gris-claro);}

    /* Pagina de editar cuenta */
    body.woocommerce-edit-account {}
    body.woocommerce-edit-account form.woocommerce-EditAccountForm {position: relative;}
    body.woocommerce-edit-account form.woocommerce-EditAccountForm:before {content: "Nombre y Email"; font-family: var(--header-font); font-size: 25px; line-height: 1; font-weight: 600; margin: 0 0 20px; padding: 0 0 10px; border-bottom: 1px solid var(--borde-gris-claro); display: block; width: 100%;}
    body.woocommerce-edit-account span#account_display_name_description { font-size: 14px; color: #8e8e8e; padding-left: 5px; }

    body.woocommerce-edit-account form.woocommerce-EditAccountForm fieldset {margin-top: 50px;}
    body.woocommerce-edit-account form.woocommerce-EditAccountForm fieldset > legend {font-family: var(--header-font); font-size: 25px; line-height: 1; font-weight: 600; margin: 0px 0 20px; padding: 0 0 10px; border-bottom: 1px solid var(--borde-gris-claro); display: block; width: 100%;}

    /* Newsletter Mailchinp */
    body.woocommerce-edit-account p.form-row:has(label[for="mailchimp_woocommerce_is_subscribed"]) {position: relative; margin-bottom: 0;}
    body.woocommerce-edit-account p.form-row:has(label[for="mailchimp_woocommerce_is_subscribed"]):before {content: "Preferencias de Newsletter"; color: var(--base); font-family: var(--header-font); font-size: 18px; line-height: 1; font-weight: 600; margin: 20px 0 15px; padding: 0 0 10px; border-bottom: 1px solid var(--borde-gris-claro); display: block; width: 100%;}
    body.woocommerce-edit-account p.form-row:has(label[for="mailchimp_woocommerce_is_transactional"]) { display: none; } /* ocultamos esta opcion de mailchimp porque no la usamos */

    body.woocommerce-edit-account label[for="mailchimp_woocommerce_is_subscribed"],
    body.woocommerce-edit-account label[for="mailchimp_woocommerce_is_unsubscribed"] { position: relative !important; padding: 0 5px !important; display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 8px; font-size: 13px !important; font-weight: 600 !important; pointer-events: all !important; cursor: pointer !important;}
    body.woocommerce-edit-account label[for="mailchimp_woocommerce_is_subscribed"] input[type=radio],
    body.woocommerce-edit-account label[for="mailchimp_woocommerce_is_unsubscribed"] input[type=radio] {appearance: none; cursor: pointer; width: 18px; height: 18px; border: 1px solid var(--borde-gris); border-radius: 50%; box-shadow: inset 0px 0px 0px 3px white; }
    body.woocommerce-edit-account label[for="mailchimp_woocommerce_is_subscribed"] input[type=radio]:checked,
    body.woocommerce-edit-account label[for="mailchimp_woocommerce_is_unsubscribed"] input[type=radio]:checked {border-color: var(--link);}

    /* Direcciones */
    body.woocommerce-edit-account div.woocommerce-MyAccount-content > p {position: relative; margin-bottom: 40px; color: #8e8e8e;}
    body.woocommerce-edit-account div.woocommerce-MyAccount-content > p:before {content: "Direcciones"; color: var(--base); font-family: var(--header-font); font-size: 25px; line-height: 1; font-weight: 600; margin: 50px 0 10px; padding: 0 0 10px; border-bottom: 1px solid var(--borde-gris-claro); display: block; width: 100%;}

    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses {}
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses > .woocommerce-Address:before {height: 0px;}
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses > .woocommerce-Address  {/* width: auto;  margin: 0;*/}
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses > .woocommerce-Address:before {display: none;}
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses > .woocommerce-Address > .woocommerce-Address-title { padding: 0; border: none; border-bottom: 1px solid var(--borde-gris-claro); background: transparent; display: flex; align-items: baseline; justify-content: space-between;}
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses > .woocommerce-Address > .woocommerce-Address-title:before, body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses > .woocommerce-Address > .woocommerce-Address-title::after {display: none;}
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses > .woocommerce-Address > .woocommerce-Address-title > h2 {font-size: 20px; font-weight: 600; background: transparent; border: none; padding: 0px; margin: 0px; width: fit-content;}
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses > .woocommerce-Address > .woocommerce-Address-title > a.edit {position: relative; font-size: 0;} 
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses > .woocommerce-Address > .woocommerce-Address-title > a.edit:before {content: "Editar"; font-size: 15px; font-weight: 700; }
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses address {padding: 10px 0 0; border: none; font-style: normal;}



/* PEDIDOS */

    /* Listado de pedidos */
    body.woocommerce-account div.ast-woo-grid-orders-container {}
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row { border: 1px solid var(--borde-gris-claro); box-shadow: none; display: grid; grid-template-columns: 90px 1fr 100px; gap: 0 25px; }

    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-number { grid-column: 1/2; grid-row: 1/4; width: 100%; position: relative; margin: 0; }
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-date { grid-column: 2/3; grid-row: 1/2; position: relative; width: 100%; margin: 0; }
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-status {grid-column: 2/3; grid-row: 2/3; position: relative; width: 100%; margin: 0;}
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-total {grid-column: 2/3; grid-row: 3/4; position: relative; width: 100%; margin: 0;}
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-actions {grid-column: 3/4; grid-row: 1/4; position: relative; width: 100%; margin: 0; top: auto; right: auto;}

    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-number img {width: 100%;} 

    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-actions { display: flex; flex-direction: column; align-items: end; justify-content: center; }
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-actions > a { font-size: 13px; font-weight: 700; text-transform: uppercase; margin: 0; color: var(--base);}
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-actions > a:hover {color: var(--link);}

    /* Detalles del pedido - Ver */ 
    body.woocommerce-account section.woocommerce-order-details { margin-bottom: 60px; }

    body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p {font-size: 0px; margin-bottom: 20px;}
    body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p::before {content: "Detalles del pedido"; font-family: var(--header-font); font-size: 25px; line-height: 1; font-weight: 600; margin: 0 0 15px; padding: 0 0 10px; border-bottom: 1px solid var(--borde-gris-claro); display: block; width: 100%;}

    body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p mark.order-number {font-size: 16px; font-weight: 400; margin-right: 20px;}
    body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p mark.order-number:before {content: "Pedido: "; font-weight: 600; }
    body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p mark.order-date {font-size: 16px; font-weight: 400; margin-right: 20px;}
    body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p mark.order-date::before {content: "Fecha: "; font-weight: 600; }
    body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p mark.order-status {font-size: 16px; font-weight: 400; margin-right: 20px;}
    body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p mark.order-status::before {content: "Estado: "; font-weight: 600; }

    body.woocommerce-account.woocommerce-view-order section.woocommerce-order-details > h2.woocommerce-order-details__title { display: none;}

    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; border: none !important; padding: 0; }

    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody {grid-column: 2/3; grid-row: 1 / 4; display: block; height: 40vh; overflow-y: visible; overflow-x: hidden; position: relative; /* border-bottom: 1px solid var(--borde-gris-claro); */ }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody:after { content: ""; position: absolute; z-index: 2; bottom: 0; left: 0; margin-left: -10px; display: block; width: calc(100% + 20px); height: 30px; border-bottom: 1px solid var(--borde-gris-carrito); mix-blend-mode: multiply; background-position: center; background-size: cover; background-repeat: no-repeat; background-image: url("../img/svg-shadow.svg"); opacity: 0; transition: opacity .3s;}
    /* Animación  */ body.woocommerce-account.tbody-scroll section.woocommerce-order-details > table.woocommerce-table--order-details > tbody::after {position: sticky; opacity: 1;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item { display: grid; grid-template-columns: auto auto; align-items: center; padding: 15px; margin:0 auto 20px; border-radius: 10px; border: 1px solid var(--borde-gris-carrito); width: 95%; max-height: 140px;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item > td {border: none !important; padding: 0; /* padding: 0px 15px 5px; */}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item:last-child > td {/* padding-bottom: 10px; border-bottom: 1px solid var(--borde-gris-claro) !important; */}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item > td > a {color: var(--base);}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item > td > a:hover {color: var(--link);}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item > td > ul.wc-item-meta {margin-top: 0; display: none;}

    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item > td.woocommerce-table__product-name { display: grid; grid-template-columns: 100px 1fr; gap: 10px 20px; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item > td.woocommerce-table__product-name > img { grid-column: 1/2; grid-row: 1/3; width: 100px; height: 100px; border-radius: 5px; object-fit: cover; margin-right: 10px; float: left;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item > td.woocommerce-table__product-name > a {grid-column: 2/3; grid-row: 1/2; align-self: end; line-height: 1.2;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item > td.woocommerce-table__product-name .product-quantity {grid-column: 2/3; grid-row: 2/3; align-self: start; border: 1px solid #e5e5e5; border-radius: 4px; display: flex; align-items: center; justify-content: center; line-height: 1; padding: 5px 15px; width: fit-content; height: min-content;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item > td.woocommerce-table__product-total {text-align: right; vertical-align: bottom;}

    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody::-webkit-scrollbar { width: 10px; height: 0px; background-color: transparent; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody::-webkit-scrollbar-track { background-color: transparent; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody::-webkit-scrollbar-thumb { background-color: var(--borde-gris); border-radius: 15px; border: 2px solid #fff; transition: all .3s; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody::-webkit-scrollbar-thumb:hover { background-color: var(--base) ; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody::-webkit-scrollbar-thumb:active { background-color: var(--base); }

    

    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot { grid-column: 1/2; grid-row: 1/2; padding: 15px; border-radius: 10px;border: 2px solid var(--borde-gris-carrito); }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr { width: 100%; display: flex; align-items: center; justify-content: space-between; border: none;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr > th {border: none !important; padding: 5px 15px 5px; font-weight: 600; background: transparent;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr > td {border: none !important; padding: 5px 15px 5px; font-weight: 600; text-align: right; background: transparent; display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: 15px; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr:first-child > th, 
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr:first-child > td { padding-top: 10px; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr > td * {font-weight: 600;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr > td > a.woocommerce-button.pay {border-radius: 3px; margin: 0; border: 1px solid var(--link); min-width: 120px; text-align: center; order: 0;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr > td > a.woocommerce-button.order-again {border-radius: 3px; margin: 0; background-color: transparent; color: var(--link); border: 1px solid var(--link); min-width: 120px; text-align: center; order: 1;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr > td > a.woocommerce-button.cancel {border-radius: 3px; margin: 0; background-color: transparent; color: var(--base); border: 1px solid var(--base); min-width: 120px; text-align: center; order: 2;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr > td > a.woocommerce-button.order-again:hover, body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr > td > a.woocommerce-button.cancel:hover {opacity: 0.5;}

    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot:has(th.order-actions--heading) { grid-row: 2/3;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot:has(th.order-actions--heading) > tr {align-items: start;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot:has(th.order-actions--heading) > tr > th {padding: 12px 15px 5px;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot:has(th.order-actions--heading) > tr > td {padding: 5px 15px 5px;}


    body.woocommerce-account.woocommerce-view-order div.woocommerce-MyAccount-content > section.woocommerce-customer-details {}
    body.woocommerce-account.woocommerce-view-order div.woocommerce-MyAccount-content > section.woocommerce-customer-details > .woocommerce-columns--addresses:before {height: 0px;}
    body.woocommerce-account.woocommerce-view-order div.woocommerce-MyAccount-content > section.woocommerce-customer-details > .woocommerce-columns--addresses > div.woocommerce-column {/* width: auto;  margin: 0;*/}
    body.woocommerce-account.woocommerce-view-order div.woocommerce-MyAccount-content > section.woocommerce-customer-details > .woocommerce-columns--addresses > div.woocommerce-column:before {display: none;}
    body.woocommerce-account.woocommerce-view-order div.woocommerce-MyAccount-content > section.woocommerce-customer-details h2 {font-size: 20px; font-weight: 600; background: transparent; border: none; border-bottom: 1px solid var(--borde-gris-claro); padding: 0 0 0px; width: fit-content;}
    body.woocommerce-account.woocommerce-view-order div.woocommerce-MyAccount-content > section.woocommerce-customer-details address {padding: 10px 0 0; border: none;}

    body.woocommerce-account.woocommerce-view-order p.order-again {display: none;} /* Ocultamos el boton de volver a pedir, porque no lo usamos */



/* FORMULARIO  DE REGISTRO / LOGIN / RECUPERAR CONTRASEÑA */


        /* Recuperar contraseña */
        form.woocommerce-ResetPassword p.woocommerce-form-row--last {width: 100%;}


/*-----------------------------------------------------------------*/
/*  MENSAJES DE WOOCOMMERCE
/*-----------------------------------------------------------------*/        

body.woocommerce-js .woocommerce-message { background-color: var(--verde); border-top: transparent; border-left: 8px solid rgba(0, 0, 0, .15); border-radius: 4px; clear: both; color: var(--blanco); font-family: Inter, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.2; list-style: none outside; margin-bottom: 2.617924em; margin-left: 0; position: relative; }
body.woocommerce-js .woocommerce-info { background-color: var(--base); border-top: transparent; border-left: 8px solid rgba(0, 0, 0, .15); border-radius: 4px; clear: both; color: var(--blanco); font-family: Inter, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.2; list-style: none outside; margin-bottom: 2.617924em; margin-left: 0; position: relative; }
body.woocommerce-js .woocommerce-error { background-color: var(--error); border-top: transparent; border-left: 8px solid rgba(0, 0, 0, .15); border-radius: 4px; clear: both; color: var(--blanco); font-family: Inter, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.2; list-style: none outside; margin-bottom: 2.617924em; margin-left: 0; position: relative; }

body.woocommerce-js .woocommerce-message a,
body.woocommerce-js .woocommerce-info a,
body.woocommerce-js .woocommerce-error a {color: var(--blanco); text-decoration: underline !important;}

body.woocommerce-js .woocommerce-message a:hover,
body.woocommerce-js .woocommerce-info a:hover,
body.woocommerce-js .woocommerce-error a:hover {opacity: 0.5;}

body.woocommerce-js .woocommerce-message::before,
body.woocommerce-js .woocommerce-info::before,
body.woocommerce-js .woocommerce-error::before {color: var(--blanco);}


/*-----------------------------------------------------------------*/
/*  PAGINA LEGALES
/*-----------------------------------------------------------------*/   
.jafisa-legales__section { padding: 60px 0; }
.jafisa-legales__section > .rc-seccion_inner-container { margin: 0 auto; max-width: 900px; } 
.jafisa-legales__section * {line-height: 1.3;}
.jafisa-legales__section p {margin-bottom: 15px;}
.jafisa-legales__section h2 { font-size: 22px; line-height: 1.3; font-weight: 600; margin: 40px 0 15px; }
.jafisa-legales__section h1 { font-size: 32px; line-height: 1.3; font-weight: 600; margin: 60px 0 15px;}
.jafisa-legales__section h1:first-child {margin-top: 0;}

/* LEGALES POPUP - FINALIZAR COMPRA */
.rc-popup-inner-block__section .jafisa-legales__section { padding: 20px 0; }



/*------------------------------------------------------------------------------------------------------------------------ RESPONSIVE */
/*------------------------------------------------------------ IPAD ESPECIFICO */

@media screen (min-width: 545px) and (max-width: 921px) {

        body.woocommerce-shop .site-content > .ast-shop-toolbar-container > .ast-sticky-shop-filters > a.rc_shop-filter {height: 100%; order: 2; display: none; } /* Ocultamos el filtro de escritorio */


        .jafisa-legales__section { padding: 30px 0; }


}


/**------------------------------------------------------------ MOVIL */
@media (max-width: 544px) {

    /*-----------------------------------------------------------------*/
    /*  CATALOGO DE PRODUCTOS
    /*-----------------------------------------------------------------*/

    /* BARRA FILTROS Y RESULTADOS */

        /* Ocultamos cosas */

            /* Ocultamos la barra de filtros de Desktop */
            body.woocommerce-shop .site-content > .ast-shop-toolbar-container.ast-shop-toolbar-clone {display: none;}
            /* Ocultamos la barra lateral de Desktop */
            body.woocommerce-shop .widget-area.secondary {display: none;}
            /* Ocultamos los chips del filtro porque ya salen en el popup */
            body.woocommerce-shop .ast-woocommerce-container .wpc-custom-selected-terms {display: none;}
            /* Ocultamos el header de woocomerce */
            body.woocommerce-shop .ast-woocommerce-container header.woocommerce-products-header {display: none;}
            /* Ocultamos el numero de resultados de busqueda que sale bajo los filtros */
            body.woocommerce-shop .ast-woocommerce-container p.woocommerce-result-count {display: none;}
            /* Ocultamos el numero de resultados */
            body.woocommerce-shop .site-content > .ast-shop-toolbar-container > .ast-sticky-shop-filters > .ast-shop-toolbar-aside-wrap:not(:last-child) { display: none;} 
            body.woocommerce-shop .site-content > .ast-shop-toolbar-container > .ast-sticky-shop-filters > .ast-shop-toolbar-aside-wrap > p.woocommerce-result-count { display: none; } 

        
        
        /* Fila de filtros creada por nosotros en el site builder del astra: "Barra de Filtros Mobile" */
        .rc-fila-filtros-tienda-mobile {padding: 0 0 20px; display: grid; grid-template-columns: auto 220px; align-items: center; justify-content: space-between; gap: 15px 5px; position: relative;}

            /* Modificamos el boton de los flitros */
            body.woocommerce-shop .site-content .rc-fila-filtros-tienda-mobile .wpc-filters-open-button-container {margin: 0; }
            body.woocommerce-shop .site-content .rc-fila-filtros-tienda-mobile .wpc-filters-open-button-container > a.wpc-filters-open-widget { height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 0; border-color: transparent; padding: 0; color: var(--base);}
            body.woocommerce-shop .site-content .rc-fila-filtros-tienda-mobile .wpc-filters-open-button-container > a.wpc-filters-open-widget > .wpc-button-inner {gap: 5px;}
            body.woocommerce-shop .site-content .rc-fila-filtros-tienda-mobile .wpc-filters-open-button-container > a.wpc-filters-open-widget .wpc-icon-html-wrapper { position: relative; transform: none; margin: 0; top: 0; }
            body.woocommerce-shop .site-content .rc-fila-filtros-tienda-mobile .wpc-filters-open-button-container > a.wpc-filters-open-widget .wpc-icon-html-wrapper:before { content: ""; position: relative; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; background-position: center; background-repeat: no-repeat; background-size: cover; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='22' height='22' x='0' y='0' version='1.1' viewBox='0 0 22 22'%3E%3Cpath fill='%23BB2321' d='M9.8 22c-.1 0-.2 0-.3-.1-.3-.1-.4-.4-.4-.7v-9.7L.2 1.2C0 1-.1.7.1.4.2.2.4 0 .7 0h20.5c.3 0 .6.2.7.4.2.3.1.6-.1.8l-8.9 10.3V19c0 .2-.1.4-.3.6l-2.4 2.1c-.1.2-.2.3-.4.3zM2.4 1.5l8 9.3c.1.1.2.3.2.5v8.3l.9-.8v-7.5c0-.2.1-.4.2-.5l8-9.3H2.4z'%3E%3C/path%3E%3C/svg%3E"); }
            body.woocommerce-shop .site-content .rc-fila-filtros-tienda-mobile .wpc-filters-open-button-container > a.wpc-filters-open-widget .wpc-icon-html-wrapper > span { display: none; }

            /* Modificamos La ordenación de productos */
            select.wpc-orderby-select {max-width: 100%; border: 1px solid var(--borde-gris); border-radius: 0; font-size: 13px !important; padding-left: 10px; background-position: 95%; background-size: 15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='16' height='16' x='0' y='0' enable-background='new 0 0 16 16' version='1.1' viewBox='0 0 16 16'%3E%3Cpath fill='%23bc2121' d='M1.5 4.9c0-.2.1-.4.2-.5.3-.3.7-.2 1 0L8 10l5.2-5.6c.3-.3.7-.3 1 0 .3.3.3.7.1 1l-5.7 6.2c-.1.1-.3.2-.5.2s-.4-.1-.5-.2L1.7 5.4c-.1-.1-.2-.3-.2-.5'/%3E%3C/svg%3E"); }

        
        /* Popup de los filtros */
        #wpc_filters_widget-5 {margin-bottom: 0px !important;}
        body.woocommerce-shop.wpc_show_bottom_widget .wpc-filters-widget-content {top: 0 !important;} 
        body.woocommerce-shop.admin-bar.wpc_show_bottom_widget .wpc-filters-widget-content {top: 46px !important;}
        body.woocommerce-shop .wpc-widget-close-container {background-color: var(--fondo-1);}
        body.woocommerce-shop .wpc-widget-close-container .wpc-icon-html-wrapper {background: var(--base);}
        body.woocommerce-shop .wpc-widget-close-container .wpc-icon-html-wrapper span {background: var(--fondo-1);}
        body.woocommerce-shop .wpc-filters-widget-top-container {background-color: var(--fondo-1); border-bottom: 1px solid var(--borde);}
        body.woocommerce-shop .wpc-filter-chips-list a, body .wpc-filter-chips-list li.wpc-filter-chip a { background-color: var(--blanco); }
        body.woocommerce-shop .wpc-filter-chips-list .wpc-chip-remove-icon {padding-bottom: 3px;}

        body.woocommerce-shop .wpc-filters-section .widget-title { font-family: var(--header-font) !important; font-size: 20px !important; font-weight: 600; color: var(--link); padding-bottom: 5px; margin-bottom: 15px; border-bottom: 1px solid var(--borde-gris); }
        body.woocommerce-shop .wpc-filters-range-wrapper input[type=number] { border-radius: 0px; border-color: var(--borde-gris-claro); background-color: transparent; min-width: 100%; margin: 15px 0; }
        
        body.woocommerce-shop .wpc-filters-widget-controls-container {background-color: var(--fondo-1); border-top: 1px solid var(--borde);}
        body.woocommerce-shop .wpc-filters-widget-controls-container a.wpc-filters-apply-button {border-radius: 2px; height: 45px; display: flex; align-items: center; justify-content: center;}
        body.woocommerce-shop .wpc-filters-widget-controls-container a.wpc-filters-close-button { border-radius: 2px; border-color: var(--base); color: var(--base); height: 45px; display: flex; align-items: center; justify-content: center; }

            
    /* CONTAINER */
    body.woocommerce-shop .site-content > .ast-container {padding-inline: var(--padding-web) !important;}

    /*-----------------------------------------------------------------*/
    /*  FICHS DE PRODUCTO
    /*-----------------------------------------------------------------*/

    body.single-product .entry-header {margin: 15px 0 -15px;}
    body.single-product #ast-sticky-row-summary { margin-bottom: 10px; }
    body.single-product .woocommerce-product-gallery {position: relative; top: unset;}
    body.single-product div.product div.summary .single-product-category { font-family: var(--header-font); font-weight: 600; font-size: 15px; margin-bottom: 5px; }
    body.single-product div.product .product_title {line-height: 1;}
    body.single-product div.product p.price del {margin-right: 15px;}
    body.single-product div.product div.summary .woocommerce-product-details__short-description p {font-size: 18px;}
    
    body.single-product .ast-product-navigation-wrapper.circle-outline .product-links a, body.single-product .ast-product-navigation-wrapper.square-outline .product-links a, body.single-product .ast-product-navigation-wrapper .ast-icon.icon-arrow { width: 30px; height: 30px; border-radius: 3px; border-color: #dfdfdf; color: var(--link); box-shadow: 0px 0px 3px 0px rgb(24 23 38 / 2%); }     
    body.single-product .ast-product-navigation-wrapper .ast-icon.icon-arrow svg { width: 10px; }
    body.single-product .ast-product-navigation-wrapper.circle-outline .product-links a:hover, body.single-product .ast-product-navigation-wrapper.square-outline .product-links a:hover {background-color: var(--blanco); color: var(--link);}

    body.single-product.woocommerce div.product form.cart {}
    body.single-product.woocommerce .quantity .minus, body.single-product.woocommerce input[type=number].qty.ast-no-internal-border, body.single-product.woocommerce .quantity .plus { width: 35px; }
    body.single-product div.product form.cart .button.single_add_to_cart_button {min-width: calc(100% - 128px);}

    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions {display: block; padding-top: 5px;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions > .iconic-wsb-product-bumps__total-price { margin: 0 0 10px; display: grid; grid-template-columns: auto auto; align-items: center; gap: 10px; justify-content: space-between;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions > .iconic-wsb-product-bumps__discount-message {width: 100%; text-align: center; margin: 0 0 5px;}
    body.single-product div.product .iconic-wsb-product-bumps .iconic-wsb-product-bumps__actions > .iconic-wsb-product-bumps__button-wrap > button { width: 100%; height: 50px; border-radius: 3px;}
    
    body.single-product section.related.products { margin-bottom: 10px; }
    body.single-product .ast-article-single section.related.products { margin-bottom: 50px; }
    body.single-product section.related.products > h2 {padding-bottom: 10px; margin-bottom: 20px;}
    body.single-product section.related.products ul.products {gap: 30px;}

    body.single-product div.ast-sticky-add-to-cart-action-wrap .ast-sticky-add-to-cart-action-price {display: none;}

    /*-----------------------------------------------------------------*/
    /*  FINALIZAR COMPRA
    /*-----------------------------------------------------------------*/

    body.woocommerce-checkout .header_finalizar-compra {}
    body.woocommerce-checkout .header_finalizar-compra img {width: 100px !important;}

    body.woocommerce-checkout .flux-checkout__sidebar-header {background-color: var(--base); padding: 16px 20px;}
    body.woocommerce-checkout .flux-checkout__sidebar-header .flux-checkout__sidebar-header-inner .flux-checkout__sidebar-header-link *,
    body.woocommerce-checkout .flux-checkout__sidebar-header .flux-checkout__sidebar-header-inner .flux-checkout__sidebar-header-total * {color: var(--blanco);}
    body.woocommerce-checkout .flux-checkout__sidebar-header .flux-checkout__sidebar-header-inner .flux-checkout__sidebar-header-link:before,
    body.woocommerce-checkout .flux-checkout__sidebar-header .flux-checkout__sidebar-header-inner .flux-checkout__sidebar-header-link *:after {filter: invert(1);}
    body.woocommerce-checkout .flux-checkout__content-left { padding: 30px 20px; }

    body.woocommerce-checkout .flux-checkout__content-right { border-left: none;}
    body.woocommerce-checkout .flux-checkout__content-right > .flux-checkout__order-review {position: relative; top: unset; padding-bottom: 35px;}
    body.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table tbody, body.woocommerce-checkout .flux-cart-order-item-wrap { padding-top: 30px; height: 100%; }
    body.woocommerce-checkout #order_review tr.cart_item {grid-template-columns: 1fr 75px;}
    body.woocommerce-checkout #order_review tr.cart_item > td.product-name {min-height: 100%;}
    body.woocommerce-checkout #order_review tr.cart_item td.product-name .quantity { margin-top: 0; }
    body.woocommerce-checkout #order_review tr.cart_item > td.product-total {flex-direction: column;}
    body.woocommerce-checkout #order_review tr.cart_item td.product-total del, 
    body.woocommerce-checkout #order_review tr.cart_item td.product-total ins {height: auto; margin-top: 0;}

    body.woocommerce-checkout tr.coupon-form .woocommerce-form-coupon__inner { grid-template-columns: 1fr 100px; gap: 0 15px;}
    body.woocommerce-checkout .flux-checkout__content-right p.form-row label {background-color: var(--blanco) !important;}
    body.woocommerce-checkout tr.coupon-form .woocommerce-form-coupon__inner .form-row-first input {border: 2px solid var(--borde-gris-carrito);}

    body.woocommerce-checkout .flux-review-customer .flux-review-customer__row {flex-wrap: wrap;}
    body.woocommerce-checkout .flux-review-customer .flux-review-customer__row .flux-review-customer__label {width: 100%; min-width: 100%;}
    body.woocommerce-checkout .flux-review-customer .flux-review-customer__row .flux-review-customer__buttons {text-align: center;}

    /* Pagina Agradecimiento */
    body.woocommerce-checkout .flux-common-wrap__content-right {border-left: none; padding: 0 20px;}
    body.woocommerce-checkout .flux-cart-order-item {}
    body.woocommerce-checkout .flux-cart-order-item .flux-cart-image { width: 50px; min-width:50px; height: 50px; border-radius: 6px; overflow: hidden; }
    body.woocommerce-order-received .flux-cart-order-item__info {padding-left: 15px; justify-content: center; }
    body.woocommerce-order-received .flux-cart-order-item__info-name {font-size: 14px;}

    body.woocommerce-checkout .flux-cart-totals.flux-cart-totals--cart_subtotal {margin-top: 10px;}

    /* FOOTER */
    body.woocommerce-checkout .footer_finalizar-compra > .rc-seccion_inner-container { flex-direction: column; }
    
        /* Pago seguro */
        body.woocommerce-checkout .footer_finalizar-compra .ast-single-product-extras {width: 100%;}
        body.woocommerce-checkout .footer_finalizar-compra .ast-single-product-extras li {display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;}
        body.woocommerce-checkout .footer_finalizar-compra .ast-single-product-extras li img {width: 30px;}
        body.woocommerce-checkout .footer_finalizar-compra .ast-single-product-extras li:after {width: 100%; height: 30px;}

        /* Menu */
        body.woocommerce-checkout nav.rc-menu > ul#menu-finalizar-compra-footer {flex-direction: column; padding-left: 0;}

    


    /*-----------------------------------------------------------------*/
    /*  MI CUENTA
    /*-----------------------------------------------------------------*/

    /* Menu */
    body.woocommerce-account nav.woocommerce-MyAccount-navigation { border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); border-right: 0; margin: -29px calc(-50vw + 50%) 25px; max-width: 100vw; width: 100vw !important; padding: 20px 20px 30px; }
    body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul {gap: 20px; margin: 0;}
    body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link > a {border: 1px solid var(--borde-gris);}
    body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link.is-active > a, body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link > a:hover {border-color: var(--link); color: var(--blanco); background-color: var(--link);}
    body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link.is-active > a > span.ahfb-svg-iconset:before, body.woocommerce-account nav.woocommerce-MyAccount-navigation > ul > li.woocommerce-MyAccount-navigation-link > a:hover > span.ahfb-svg-iconset:before {background-color: var(--blanco);}

    /* Escriotrio */
    body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section {padding: 0;}
    body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-fila {grid-template-columns: 1fr 1fr;}
    body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido {grid-column: 1/-1; margin: 0; }
    body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order {box-shadow: 0px 2px 6px 0px rgb(24 23 38 / 10%); background-color: var(--fondo-1); gap: 0;}
    body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order > td.order-actions { grid-column: 1 / -1; grid-row: 4 / 5; flex-direction: row; align-items: center; justify-content: start; padding-top: 15px; border-top: 1px solid var(--borde); margin-top: 15px; }
    body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order > td.order-actions > a {opacity: 1; transform: none; font-size: 14px; position: relative; display: inline-block; color: var(--link);}
    body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.ultimo-pedido > table.shop_table > tbody > tr.order > td.order-actions > a::after { content: " PEDIDO"; position: relative; width: 100%; height: 100%; }
    body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton {flex-direction: column;}
    body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton:hover > figure, body.woocommerce-dashboard .rc-woo-myaccount-dashboard__section .rc-columna.boton:hover > p {transform: none;}

    /* Pedidos - Listado */
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row {grid-template-columns: 90px 1fr; padding: 15px; box-shadow: 0px 2px 6px 0px rgb(24 23 38 / 10%);}
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-actions { grid-column: 1 / -1; grid-row: 4 / 5; gap: 15px; align-items: start; padding-top: 15px; border-top: 1px solid var(--borde-gris-carrito); margin-top: 15px; display: grid; grid-template-columns: 1fr 1fr; justify-content: space-between; }
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-actions > a {color: var(--link); line-height: 1;}
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-actions > a.view {position: relative;}
    body.woocommerce-account div.ast-woo-grid-orders-container > div.ast-orders-table__row > div.ast-orders-table__cell-order-actions > a.view::after { content: " PEDIDO"; position: relative; width: 100%; height: 100%; }

    /* Pedidos - Detalle */
    body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p::before {font-size: 20px;}
    body.woocommerce-account section.woocommerce-order-details {margin-bottom: 30px;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details {grid-template-columns: 1fr;}

    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody {grid-column: unset; grid-row: 1/2; height: 100%;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item {width: 100%;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tbody > tr.woocommerce-table__line-item:last-child {margin-bottom: 0;}
    
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot { grid-row: 2/3; padding: 15px 15px 0;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr { flex-direction: column; align-items: start; margin-bottom: 15px; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr > th {line-height: 1.2; padding: 0 !important; font-weight: 300; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot > tr > td {line-height: 1.2; padding: 0 !important; display: block; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot:has(th.order-actions--heading) { grid-row: 3/4; padding: 15px 15px 0;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot:has(th.order-actions--heading) > tr { gap: 15px;}
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot:has(th.order-actions--heading) > tr > th { width: 100%; font-size: 18px; font-weight: 600; text-align: left; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot:has(th.order-actions--heading) > tr > td { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 15px; width: 100%; }
    body.woocommerce-account section.woocommerce-order-details > table.woocommerce-table--order-details > tfoot:has(th.order-actions--heading) > tr > td > a { width: 100%; height: 45px; display: flex; align-items: center;}

    body.woocommerce-account.woocommerce-view-order div.woocommerce-MyAccount-content > section.woocommerce-customer-details > .woocommerce-columns--addresses > div.woocommerce-column { border: 2px solid var(--borde-gris-carrito); padding: 15px; border-radius: 10px; }
    body.woocommerce-account.woocommerce-view-order div.woocommerce-MyAccount-content > section.woocommerce-customer-details h2 {font-size: 18px; padding: 0 0 10px; width: 100%; }
 
    /* Mis datos */
    body.woocommerce-edit-account form.woocommerce-EditAccountForm:before,
    body.woocommerce-edit-account form.woocommerce-EditAccountForm fieldset > legend,
    body.woocommerce-edit-account div.woocommerce-MyAccount-content > p:before {font-size: 20px;}

    body.woocommerce form .form-row-first, 
    body.woocommerce form .form-row-last, 
    body.woocommerce-page form .form-row-first, 
    body.woocommerce-page form .form-row-last {width: 100%;}

    body:not(.cartflows-canvas):not(.cartflows-default) .woocommerce form .form-row input[type=password]::placeholder {font-size: 11px;}

    body.woocommerce-edit-account div.woocommerce-MyAccount-content > p {margin-bottom: 20px;}
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses > .woocommerce-Address {border: 1px solid var(--borde-gris-carrito); padding: 15px; border-radius: 10px; margin-bottom: 30px;}
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses > .woocommerce-Address > .woocommerce-Address-title > h2 {font-size: 18px;}
    body.woocommerce-account div.woocommerce-MyAccount-content > div.woocommerce-Addresses address {margin-bottom: 0;}


    /*-----------------------------------------------------------------*/
    /*  PAGINA LEGALES
    /*-----------------------------------------------------------------*/
    .jafisa-legales__section { padding: 30px 0; }
    .jafisa-legales__section h1 {font-size: 25px;}
    

    }







}