html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

.banner div {
    padding: 0 !important;
    margin: 0 !important;
}

.home .o-posts-grid-post-image img {
    max-height: 300px !important;
    object-fit: cover !important;
}

.o-posts-read-more.wp-block-button__link {
    margin-top: 20px !important;
    background-color: #17a2b8;
}

#advanced_search_component {
    padding: 10px !important;
    margin: 0;
    background: #27b0ab;
    box-shadow: none;
}

.search-toggle-wrapper {
    padding: 10px;
    text-align: right !important;
}

#secondary-menu-desktop-main .Account_Icon a,
.menu-item-search-toggle a {
    font-size: 0;
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
}

#secondary-menu-desktop-main .Account_Icon a::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: url("https://www.molitex.es/wp-content/uploads/icons-cuenta.png") center / contain no-repeat;
}

.menu-item-search-toggle a::before {
    content: url("https://www.molitex.es/wp-content/uploads/icons8-search-64.png");
    display: block;
    zoom: 35%;
}

.menu-item-search-toggle,
.search-result-add-to-cart,
.single-product .related,
.pswp__caption__center,
.woocommerce-variation-availability,
.posted_in,
.sku,
.sku_wrapper,
.additional_information_tab,
.berocket_brand_name_letters *,
.br_brand_letter_block h3,
.actions button.button,
.footer-bottom-inner p,
.loginpress-show-love,
.mega-block-title {
    display: none !important;
}

.connected-products {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
}

.connected-products a {
    min-width: 60px;
    box-sizing: border-box;
}

.connected-products img {
    width: 60px;
    height: auto;
}

.connected-products-wrapper {
    margin-bottom: 30px;
}

.connected-products-wrapper p {
    font-size: 12px;
    color: #333;
    margin-bottom: 10px;
}

.intro-box h3 {
    font-size: 1.5em;
}

.intro-box .text-box {
    min-height: 300px;
}

.wp-block-button__link,
.single_add_to_cart_button {
    background-color: #27b0ab !important;
    color: #fff !important;
}

.Hidden {
    opacity: 0 !important;
}

.spec-padding .alignfull {
    max-width: 1600px;
}

.before-header-widget-area {
    background-color: #d8eeee;
    border: none !important;
    padding: 5px;
}

.before-header-widget-area * {
    padding: 0 !important;
    margin: 0 !important;
}

.MegaMenu-Title * {
    text-transform: uppercase;
    color: #3ea393 !important;
    font-size: 15px;
}

.mega-sub-menu li {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.mega-sub-menu li a:hover {
    color: #27b0ab !important;
}

.mega-sub-menu {
    padding-bottom: 40px !important;
}

.site-footer .widget-title,
.site-footer .wp-block-heading,
.site-footer .wp-block-heading strong {
    text-transform: uppercase !important;
    font-size: 0.8em;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    color: #3ea393 !important;
}

.site-footer .widget_block {
    min-height: 0;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

.Icons-Footer {
    max-width: 1280px;
    margin: auto;
    padding-top: 64px;
}

#block-106 {
    background-color: #f4f5f7 !important;
}

.Icons-Footer * {
    text-align: center;
    line-height: 0em !important;
}

.Icons-Footer p {
    font-weight: 700 !important;
}

.Icons-Footer h6 {
    font-weight: 400 !important;
}

.Icons-Footer img {
    height: 64px;
    width: auto !important;
    padding-bottom: 32px;
}

.single-product .price {
    margin-top: 20px !important;
}

.pwb-single-product-brands::before {
    content: "Marca:";
}

.woocommerce-Price-amount {
    font-weight: 900 !important;
    color: black !important;
}

.price del {
    font-size: 80%;
    padding: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li img {
    height: 30px !important;
}

.berocket_brand_list {
    overflow-y: auto;
    height: 300px !important;
    width: 90%;
    padding: 0 !important;
    overflow: visible !important;
}

.pictogramas-caracteristicas {
    margin: 40px auto 60px auto !important;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: auto;
    max-width: 1220px;
}

.pictogramas-caracteristicas img {
    width: 70px !important;
    display: flex !important;
}

.pictogramas-caracteristicas h3 {
    margin-bottom: 10px;
}

.pictogramas-caracteristicas span {
    float: left;
}

.picto-descripcion {
    font-size: 12px;
    color: black;
    font-weight: 500;
    padding: 10px;
    margin-top: 10%;
    display: block;
}

.picto-descripcion em {
    font-style: normal !important;
    display: flex !important;
}

.pictograma-contenido {
    margin-right: 40px;
}

.picto-image-wrap {
    padding: 14px;
    border: 1px solid #17a2b8;
    border-radius: 50px;
    width: 60px;
    text-align: center;
    display: flex !important;
}

.picto-image-wrap img {
    float: left !important;
    display: inline-block !important;
}

.product_meta::after {
    content: "Envío a Peninsula gratis a partir de 75 € de pedido.";
    display: block;
}

.description_tab a {
    font-size: 0;
}

.description_tab a::after {
    content: "Más información" !important;
    font-size: initial;
}

.informacion-comercial .wp-block-columns,
.informacion-comercial .alignfull div,
.informacion-comercial .wp-block-group div {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1120px;
}

.woocommerce-mini-cart__buttons .button {
    font-size: 12px !important;
}

.woocommerce-mini-cart-item .quantity {
    border: none !important;
}

.woocommerce-mini-cart-item .woocommerce-descuento {
    border-radius: 10px !important;
    zoom: 80% !important;
    padding: 3px !important;
    margin-left: 7px !important;
}

aside {
    padding: 30px;
    background-color: #fafafa;
    background-image: linear-gradient(to bottom, #fafafa, #ffffff);
}

.widget_berocket_alphabet_brand_widget {
    min-height: 1000px;
}

.videoComercial {
    background-color: pink;
    padding: 40px;
    display: block !important;
    min-height: 300px;
}

.woocommerce-descuento,
.onsale,
.wc-block-grid__product-onsale {
    background-color: #f7cdcd !important;
    color: red !important;
    padding: 5px !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 0.8em !important;
    font-weight: bold !important;
}

.onsale {
    margin-top: 15px !important;
}

.single_add_to_cart_button.button {
    max-width: 200px !important;
    margin-left: 100px !important;
}

.woocommerce-product-details__short-description {
    display: block;
    width: 100% !important;
}

.archive .type-product,
.search .product,
.wc-block-grid__product {
    border: 1px solid #dddddd80 !important;
    background-color: white !important;
}

.archive .type-product {
    border-radius: 3px !important;
}

.wc-block-grid__product,
.search .product {
    border-radius: 7px !important;
    margin: 7px !important;
}

.home .wc-block-grid__product,
.search .product {
    max-width: 300px !important;
    padding: 20px !important;
}

.home .wc-block-grid {
    margin: auto !important;
    max-width: 1280px !important;
}

.archive .type-product *,
.nv-card-content-wrapper *,
.wc-block-grid__product * {
    text-align: left;
}

.archive .type-product h2,
.search .product h2,
.nv-card-content-wrapper h2,
.wc-block-grid__product h2,
.wc-block-grid__product-title {
    padding-right: 20px !important;
    padding-left: 20px !important;
    font-size: 21px !important;
}

.archive .type-product .price,
.search .product .price,
.nv-card-content-wrapper .price,
.wc-block-grid__product .price,
.archive .type-product .prbr_brand_shop_container,
.nv-card-content-wrapper .br_brand_shop_container,
.wc-block-grid__product .br_brand_shop_container {
    padding-left: 20px !important;
}

.archive .type-product .price,
.search .product .price {
    color: black;
}

.search .product {
    display: inline-block;
}

.single-product [swatches-attr="attribute_pa_medida-almohada"],
.single-product [swatches-attr="attribute_pa_medida-cama"],
.single-product [swatches-attr="attribute_color"] {
    text-transform: uppercase;
}

.single-product [swatches-attr="attribute_color"]::before {
    content: "Color:" !important;
    font-weight: 800;
}

.single-product [swatches-attr="attribute_pa_medida-cama"]::before {
    content: "Medida Cama:" !important;
    font-weight: 800;
}

.single-product [swatches-attr="attribute_pa_medida-almohada"]::before {
    content: "Medida Almohada:" !important;
    font-weight: 800;
}

.single-product [swatches-attr="attribute_color"] > *::before,
.single-product [swatches-attr="attribute_pa_medida-cama"] > *::before,
.single-product [swatches-attr="attribute_pa_medida-almohada"] > *::before {
    content: "" !important;
}

.Corp-Link a {
    text-decoration: none !important;
}

.wc-block-product-categories-list-item {
    position: relative;
    cursor: pointer;
    padding-right: 25px;
}

#nav_menu-85 {
    margin-top: 47px !important;
}

.single_add_to_cart_button:hover,
.button:hover {
    opacity: .8;
}

.product-remove a:hover,
.woocommerce a.remove:hover {
    background-color: #27b0ab !important;
    color: #ffffff !important;
}

#shipping_method::before {
    content: "Selecciona método de envio";
    display: block;
    padding: 20px;
    font-size: 1.2em;
    font-family: "Martel";
    text-align: left;
}



.shipping {
    vertical-align: top;
    border-top: 2px solid;
}

.order-total {
    background-color: aliceblue;
    width: 100% !important;
}

.tax_label,
.includes_tax {
    white-space: nowrap !important;
}

#shipping_method .tax_label {
    display: none !important;
}

input.qty::-webkit-outer-spin-button,
input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.qty {
    -moz-appearance: textfield;
}

.quantity-wrapper {
    display: inline-block;
}

.quantity {
    display: inline-flex;
    align-items: center;
    border: 2px solid #27b0ab;
    border-radius: 7px;
    overflow: hidden;
}

.qty-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #27b0ab;
    color: #fff;
    cursor: pointer;
    user-select: none;
    font-size: 20px;
}

.qty-button:hover {
    background-color: #04d5d5;
}

.quantity input.qty {
    width: 50px !important;
    text-align: center;
    border: none;
    height: 20px;
    outline: none;
}

.qty-button.minus,
.qty-button.plus {
    transition: all 0.1s ease-in-out;
}

.qty-button.minus {
    float: left;
}

.qty-button.plus {
    float: right;
}

.product-category {
    text-align: center;
    border-radius: 1px;
    box-shadow: 0 5px 8px #27b0ab;
    min-height: 240px;
}

ul.products li.last-category::after {
    margin-bottom: 0 !important;
}

/* Los márgenes de los listados se definen por contexto; no aplicar 60px globales. */
ul.products {
    margin-top: 0;
}

ul.productos-reales li {
    max-width: inherit !important;
}


#usercentrics-cmp-ui {
    z-index: 1000 !important;
}

.header {
    z-index: 1001 !important;
}

@media (max-width: 768px) {
    body,
    html {
        font-size: 16px;
        padding: 0;
        margin: 0;
    }

    .connected-products {
        gap: 10px;
        padding: 10px;
    }

    .connected-products img {
        width: 50px;
    }

    .picto-image-wrap {
        width: 50px;
        height: 50px;
        padding: 8px;
    }

    .picto-descripcion {
        font-size: 11px;
        margin-top: 5%;
    }

    .intro-box .text-box {
        min-height: auto;
        padding: 10px;
    }

    .Icons-Footer img {
        height: 40px;
        padding-bottom: 16px;
    }

    .woocommerce-checkout #payment ul.payment_methods li {
        min-width: 100%;
        padding: 10px;
    }

    .product-category {
        min-height: auto;
        margin-bottom: 20px;
    }

    .single_add_to_cart_button.button {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .pictogramas-caracteristicas {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .pictograma-contenido {
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    .home .wc-block-grid__product,
    .search .product {
        max-width: 100% !important;
        padding: 10px !important;
    }

    .wc-block-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mega-sub-menu {
        padding-bottom: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .before-header-widget-area,
    .search-toggle-wrapper {
        text-align: center !important;
    }

    .woocommerce-mini-cart__buttons .button {
        width: 100%;
        margin-top: 10px;
    }

    aside {
        padding: 15px;
    }

    .nv-card-content-wrapper h2,
    .wc-block-grid__product h2 {
        font-size: 18px !important;
        padding: 10px !important;
    }

    #secondary-menu-desktop-main,
    .menu-item-search-toggle,
    .woocommerce-shipping-totals th {
        display: none !important;
    }

    .videoComercial {
        padding: 20px;
        min-height: 200px;
    }

    .mega-menu-item,
    .mega-sub-menu *,
    .mega-menu-link {
        background-color: #fff !important;
    }

    .mega-menu-link {
        border-bottom: 1px solid #27b0ab !important;
    }

    .mega-menu-column {
        margin: 0 !important;
    }

    .woocommerce-ordering .orderby {
        min-width: 240px !important;
        font-size: 11px !important;
    }

    .menu-mobile-toggle {
        border: none !important;
    }

    .navbar-toggle {
        border: none !important;
        background-color: #e4f4f4 !important;
        border-radius: 7px !important;
    }

    .Icons-Footer * {
        line-height: 1.5em !important;
    }

    #footer-menu * {
        font-size: 11px !important;
    }

    .top-header {
        font-size: 10px !important;
    }

    .quantity {
        margin: auto auto 20px auto !important;
    }

    .qty {
        margin: auto !important;
        text-align: center !important;
    }

    #nav_menu-85 {
        margin-top: inherit !important;
    }

    .widget_nav_menu {
        padding: 20px !important;
        margin: 0 !important;
    }

    .site-footer .widget_text *,
    .site-footer .widget_block * {
        margin: 0 !important;
        text-align: center !important;
    }

    .site-footer .wp-block-spacer {
        max-height: 1px !important;
    }

    #block-122 {
        margin: auto !important;
        max-width: 200px !important;
    }

    #block-141 {
        max-width: 220px !important;
        margin: auto !important;
    }

    #block-84,
    .site-footer figure.size-full {
        padding: 3% !important;
    }

    .site-footer figure.size-full {
        max-width: 200px !important;
        margin: auto !important;
    }

    .header-menu-sidebar-bg::before {
        content: url('https://www.molitex.es/wp-content/uploads/LOGO-molitex.png') !important;
        zoom: 17%;
        float: left !important;
        left: 40px !important;
        padding-top: 40px !important;
    }

    form.checkout {
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box;
    }

    form.checkout .form-row,
    form.checkout .woocommerce-input-wrapper,
    form.checkout input.input-text,
    form.checkout textarea,
    form.checkout select,
    form.checkout .select2-container,
    form.checkout .button,
    form.checkout .place-order .button,
    #shipping_method li {
        width: 100% !important;
        max-width: inherit !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
        display: block !important;
        float: none !important;
        box-sizing: border-box;
    }

    form.checkout input.input-text,
    form.checkout textarea,
    form.checkout select,
    form.checkout .select2-container,
    form.checkout .button,
    form.checkout .place-order .button {
        max-width: 300px !important;
    }

    .woocommerce-checkout table.shop_table,
    .woocommerce-checkout table.shop_table tbody,
    .woocommerce-checkout table.shop_table tr,
    .woocommerce-checkout table.shop_table th,
    .woocommerce-checkout table.shop_table td,
    .cart_item {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .woocommerce-checkout table.shop_table td,
    .woocommerce-checkout table.shop_table th,
    .cart_item {
        font-size: 10px !important;
        padding: 10px 0 !important;
        float: none !important;
        text-align: left !important;
        border: none !important;
    }

    form.checkout .woocommerce-checkout-review-order-table {
        display: block !important;
        width: 100% !important;
    }

    .woocommerce-checkout .cart_item {
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .payment_method_redsys img {
        zoom: 50%;
    }

    .order-total {
        padding: 20px;
        zoom: 125%;
    }

    .woocommerce-shipping-totals.shipping th {
        zoom: 200%;
        margin-top: 40px !important;
    }

/* ==========================================================
   RECOGIDA LOCAL (WooCommerce nuevo)
========================================================== */

#shipping_method li input[value^="pickup_location"] + label {
    background-image: url("https://www.molitex.es/wp-content/uploads/envio-2.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 40px;
    min-width: 290px !important;
    display: inline-block !important;
    padding: 0 !important;
}

#shipping_method li input[value^="pickup_location"] + label::after {
    font-size: 9px;
    display: block;
}

/* ==========================================================
   ENVÍO GRATUITO
========================================================== */

#shipping_method li input[value^="free_shipping"] + label {
    background-image: url("https://www.molitex.es/wp-content/uploads/envio-1.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 40px;
    min-width: 290px !important;
    display: inline-block !important;
    padding: 0 !important;
}

    form.checkout p.form-row {
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
    }
}

/* ==========================================================
   MÉTODOS DE ENVÍO - WooCommerce (2026)
   Compatible con pickup_location y free_shipping
========================================================== */

/* Cabecera */
#shipping_method::before{
    content:"Selecciona método de envío";
    display:block;
    padding:20px;
    font-size:1.2em;
    font-family:"Martel";
}

/* Lista */
#shipping_method{
    list-style:none;
    margin:0;
    padding:0;
}

#shipping_method li{
    display:block;
    padding:20px;
    margin-bottom:12px;
    background:#fafafa;
    border:1px solid #ddd;
    border-radius:8px;
}

/* Ocultar el radio nativo */
#shipping_method input.shipping_method{
    margin-right:10px;
}

/* Labels */
#shipping_method label{
    display:inline-block;
    width:calc(100% - 35px);
    padding-right:60px;
    cursor:pointer;
    background-repeat:no-repeat;
    background-position:right center;
    background-size:40px;
    box-sizing:border-box;
}

/* ==========================================================
   ENVÍO GRATUITO
========================================================== */

#shipping_method input[value^="free_shipping"] + label{
    background-image:url("https://www.molitex.es/wp-content/uploads/envio-1.png");
}

/* ==========================================================
   RECOGIDA LOCAL
========================================================== */

#shipping_method input[value^="pickup_location"] + label{
    background-image:url("https://www.molitex.es/wp-content/uploads/envio-2.png");
}

/* ==========================================================
   RADIO SELECCIONADO
========================================================== */

#shipping_method input.shipping_method:checked + label{
    font-weight:700;
}

/* ==========================================================
   TAX
========================================================== */

#shipping_method .tax_label{
    display:none!important;
}

/* ==========================================================
   TARIFA PLANA / ENVÍO A DOMICILIO
========================================================== */

#shipping_method input[value^="flat_rate"] + label{
    background-image:url("https://www.molitex.es/wp-content/uploads/envio-1.png");
    background-repeat:no-repeat;
    background-position:right center;
    background-size:40px;
}

/* ==========================================================
   CHECKOUT BLOCKS - MÉTODOS DE ENVÍO
========================================================== */

.wc-block-components-radio-control__option{
    background-repeat:no-repeat;
    background-position:right 20px center;
    background-size:40px;
}

/* Recogida local */

.wc-block-components-radio-control__option:has(input[value^="pickup_location"]){
    background-image:url("https://www.molitex.es/wp-content/uploads/envio-2.png");
}

/* Envío gratuito */

.wc-block-components-radio-control__option:has(input[value^="free_shipping"]){
    background-image:url("https://www.molitex.es/wp-content/uploads/envio-1.png");
}

/* Tarifa plana */

.wc-block-components-radio-control__option:has(input[value^="flat_rate"]){
    background-image:url("https://www.molitex.es/wp-content/uploads/envio-3.png");
}
/* Molitex 1.0.3 — Subcategorías y textos de archivos */
@media (min-width: 769px) {
    body.woocommerce.archive ul.products:has(> li.product-category),
    body.woocommerce-page.archive ul.products:has(> li.product-category) {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }
    body.woocommerce.archive ul.products:has(> li.product-category) > li,
    body.woocommerce-page.archive ul.products:has(> li.product-category) > li {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
    }
}
body.woocommerce.archive .term-description,
body.woocommerce.archive .woocommerce-products-header__description,
body.woocommerce.archive .intro-box,
body.woocommerce-page.archive .term-description {
    font-size: 14px !important;
    line-height: 1.55 !important;
}
body.woocommerce.archive .term-description p,
body.woocommerce.archive .woocommerce-products-header__description p,
body.woocommerce.archive .intro-box p {
    font-size: inherit !important;
    line-height: inherit !important;
    margin-bottom: 12px !important;
}
body.woocommerce.archive .intro-box .text-box { min-height: 0 !important; }
.molitex-price-from del { opacity: .65; margin-right: 5px; }
.molitex-price-from ins { text-decoration: none; font-weight: 700; }
@media (max-width: 768px) {
    body.woocommerce.archive li.product-category img,
    body.woocommerce-page.archive li.product-category img { display: none !important; }
    body.woocommerce.archive li.product-category,
    body.woocommerce-page.archive li.product-category {
        min-height: 0 !important;
        padding: 12px !important;
    }
    body.woocommerce.archive li.product-category a,
    body.woocommerce-page.archive li.product-category a { display: block; }
    body.woocommerce.archive li.product-category h2,
    body.woocommerce-page.archive li.product-category h2 { margin: 0 !important; }
}


/* Molitex 1.0.4 — Evitar que los clearfix de Woo/Neve ocupen celdas del grid.
   La primera celda fantasma desplazaba las tres primeras categorías. */
@media (min-width: 769px) {
  body.woocommerce.archive ul.products:has(> li.product-category)::before,
  body.woocommerce.archive ul.products:has(> li.product-category)::after,
  body.woocommerce-page.archive ul.products:has(> li.product-category)::before,
  body.woocommerce-page.archive ul.products:has(> li.product-category)::after,
  body.woocommerce.archive ul.products.molitex-categories-grid::before,
  body.woocommerce.archive ul.products.molitex-categories-grid::after {
    content: none !important;
    display: none !important;
  }
  body.woocommerce.archive ul.products:has(> li.product-category) > li.product-category,
  body.woocommerce-page.archive ul.products:has(> li.product-category) > li.product-category,
  body.woocommerce.archive ul.products.molitex-categories-grid > li.product-category {
    grid-column: auto !important;
    grid-row: auto !important;
    justify-self: stretch !important;
    min-width: 0 !important;
  }
}


/* Molitex 1.0.5 — Retícula compartida para categorías y productos. */
@media (min-width: 769px) {
  body.woocommerce.archive ul.products:has(> li.product-category),
  body.woocommerce.archive ul.products.productos-reales,
  body.woocommerce.archive ul.products:not(:has(> li.product-category)),
  body.woocommerce-page.archive ul.products:has(> li.product-category),
  body.woocommerce-page.archive ul.products.productos-reales {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 20px !important;
    row-gap: 20px !important;
    width: 100% !important;
  }
  body.woocommerce.archive ul.products::before,
  body.woocommerce.archive ul.products::after,
  body.woocommerce-page.archive ul.products::before,
  body.woocommerce-page.archive ul.products::after {
    content: none !important;
    display: none !important;
  }
  body.woocommerce.archive ul.products > li,
  body.woocommerce-page.archive ul.products > li {
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
@media (max-width: 768px) {
  body.woocommerce.archive ul.products,
  body.woocommerce-page.archive ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
  body.woocommerce.archive ul.products::before,
  body.woocommerce.archive ul.products::after,
  body.woocommerce-page.archive ul.products::before,
  body.woocommerce-page.archive ul.products::after { content: none !important; display: none !important; }
  body.woocommerce.archive ul.products > li,
  body.woocommerce-page.archive ul.products > li {
    width: auto !important; max-width: none !important; min-width: 0 !important;
    float: none !important; clear: none !important; margin: 0 !important;
  }
}
/* La paginación queda disponible sin JS, para bots y accesibilidad. */

/* v1.0.6 — retícula coherente y tarjetas de altura uniforme */
@media (min-width: 769px) {
  body.woocommerce.archive ul.products:has(> li.product-category),
  body.woocommerce-page.archive ul.products:has(> li.product-category),
  body.woocommerce.archive ul.products.productos-reales,
  body.woocommerce-page.archive ul.products.productos-reales {
    column-gap: 20px !important;
    row-gap: 20px !important;
    align-items: stretch !important;
  }
}
body.woocommerce.archive ul.products > li.product,
body.woocommerce-page.archive ul.products > li.product {
  height: 100% !important;
  min-height: 0 !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}
body.woocommerce.archive ul.products > li.product .nv-card-content-wrapper,
body.woocommerce-page.archive ul.products > li.product .nv-card-content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}
/* La imagen tiene la misma proporción en todas las tarjetas. */
body.woocommerce.archive ul.products > li.product .nv-card-content-wrapper .sp-product-image .img-wrap,
body.woocommerce-page.archive ul.products > li.product .nv-card-content-wrapper .sp-product-image .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
body.woocommerce.archive ul.products > li.product .nv-card-content-wrapper .sp-product-image .img-wrap img,
body.woocommerce-page.archive ul.products > li.product .nv-card-content-wrapper .sp-product-image .img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
/* Reservar una línea para la marca, aunque un producto no tenga logo. */
body.woocommerce.archive ul.products > li.product .prbr_brand_shop_container,
body.woocommerce.archive ul.products > li.product .br_brand_shop_container,
body.woocommerce-page.archive ul.products > li.product .prbr_brand_shop_container,
body.woocommerce-page.archive ul.products > li.product .br_brand_shop_container {
  min-height: 24px !important;
  max-height: 42px !important;
  overflow: hidden;
  box-sizing: border-box;
}
body.woocommerce.archive ul.products > li.product .prbr_brand_shop_container img,
body.woocommerce.archive ul.products > li.product .br_brand_shop_container img,
body.woocommerce-page.archive ul.products > li.product .prbr_brand_shop_container img,
body.woocommerce-page.archive ul.products > li.product .br_brand_shop_container img {
  max-height: 24px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
}
/* Mantener el precio al pie sin forzar recortes en títulos largos. */
body.woocommerce.archive ul.products > li.product .nv-card-content-wrapper .price,
body.woocommerce-page.archive ul.products > li.product .nv-card-content-wrapper .price {
  margin-top: auto !important;
}

/* v1.0.7 — Grid de archivo: misma geometría para categorías y productos.
   Limitado al loop principal, sin alterar carruseles ni recomendaciones. */
@media (min-width: 769px) {
  body.woocommerce.archive .nv-shop > ul.products,
  body.woocommerce.archive ul.products.molitex-categories-grid,
  body.woocommerce.archive ul.products.productos-reales,
  body.woocommerce-page.archive ul.products.molitex-categories-grid,
  body.woocommerce-page.archive ul.products.productos-reales {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
}
@media (max-width: 768px) {
  body.woocommerce.archive ul.products.molitex-categories-grid,
  body.woocommerce.archive ul.products.productos-reales,
  body.woocommerce-page.archive ul.products.molitex-categories-grid,
  body.woocommerce-page.archive ul.products.productos-reales {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}
body.woocommerce.archive ul.products.molitex-categories-grid::before,
body.woocommerce.archive ul.products.molitex-categories-grid::after,
body.woocommerce.archive ul.products.productos-reales::before,
body.woocommerce.archive ul.products.productos-reales::after,
body.woocommerce-page.archive ul.products.molitex-categories-grid::before,
body.woocommerce-page.archive ul.products.molitex-categories-grid::after,
body.woocommerce-page.archive ul.products.productos-reales::before,
body.woocommerce-page.archive ul.products.productos-reales::after { content: none !important; display: none !important; }
body.woocommerce.archive ul.products.molitex-categories-grid > li,
body.woocommerce.archive ul.products.productos-reales > li,
body.woocommerce-page.archive ul.products.molitex-categories-grid > li,
body.woocommerce-page.archive ul.products.productos-reales > li {
  float: none !important; clear: none !important; width: 100% !important;
  max-width: none !important; min-width: 0 !important; margin: 0 !important;
  grid-column: auto !important; box-sizing: border-box !important;
}
/* Tarjetas: reservar altura de marca/título y anclar el precio abajo.
   Usar selectores del loop real, no depender exclusivamente de .nv-card-content-wrapper. */
body.woocommerce.archive ul.products.productos-reales > li.product,
body.woocommerce-page.archive ul.products.productos-reales > li.product {
  display: flex !important; flex-direction: column !important;
  align-items: stretch !important; height: 100% !important;
  min-width: 0 !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product > .nv-card-content-wrapper,
body.woocommerce-page.archive ul.products.productos-reales > li.product > .nv-card-content-wrapper {
  display: flex !important; flex-direction: column !important;
  flex: 1 1 auto !important; height: auto !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .woocommerce-loop-product__title,
body.woocommerce.archive ul.products.productos-reales > li.product .woocommerce-loop-product__title,
body.woocommerce-page.archive ul.products.productos-reales > li.product .woocommerce-loop-product__title {
  line-height: 1.35 !important; min-height: 3.9em !important;
  margin-bottom: 8px !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .price,
body.woocommerce-page.archive ul.products.productos-reales > li.product .price {
  margin-top: auto !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .br_brand_shop_container,
body.woocommerce.archive ul.products.productos-reales > li.product .prbr_brand_shop_container,
body.woocommerce-page.archive ul.products.productos-reales > li.product .br_brand_shop_container,
body.woocommerce-page.archive ul.products.productos-reales > li.product .prbr_brand_shop_container {
  height: 26px !important; min-height: 26px !important;
  max-height: 26px !important; overflow: hidden !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .br_brand_shop_container img,
body.woocommerce.archive ul.products.productos-reales > li.product .prbr_brand_shop_container img,
body.woocommerce-page.archive ul.products.productos-reales > li.product .br_brand_shop_container img,
body.woocommerce-page.archive ul.products.productos-reales > li.product .prbr_brand_shop_container img {
  max-height: 24px !important; max-width: 100% !important;
  width: auto !important; object-fit: contain !important;
}

/* v1.0.8 — Fotografías de producto a sangre, sin bandas laterales.
   Se limita al grid principal y excluye los logotipos de marca. */
body.woocommerce.archive ul.products.productos-reales > li.product .sp-product-image,
body.woocommerce-page.archive ul.products.productos-reales > li.product .sp-product-image {
  width: 100% !important;
  max-width: 100% !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap,
body.woocommerce-page.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 3;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap > img,
body.woocommerce-page.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* v1.0.10 — Categorías: retícula independiente y compacta en móvil.
   Los clearfix de Neve/WooCommerce no pueden ocupar celdas. */
body.woocommerce.archive ul.products.molitex-categories-grid,
body.woocommerce-page.archive ul.products.molitex-categories-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
body.woocommerce.archive ul.products.molitex-categories-grid::before,
body.woocommerce.archive ul.products.molitex-categories-grid::after,
body.woocommerce-page.archive ul.products.molitex-categories-grid::before,
body.woocommerce-page.archive ul.products.molitex-categories-grid::after {
  content: none !important; display: none !important;
}
body.woocommerce.archive ul.products.molitex-categories-grid > li.product-category,
body.woocommerce-page.archive ul.products.molitex-categories-grid > li.product-category {
  float: none !important; clear: none !important;
  width: 100% !important; max-width: none !important; min-width: 0 !important;
  margin: 0 !important; grid-column: auto !important; grid-row: auto !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  body.woocommerce.archive ul.products.molitex-categories-grid,
  body.woocommerce-page.archive ul.products.molitex-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  body.woocommerce.archive ul.products.molitex-categories-grid > li.product-category,
  body.woocommerce-page.archive ul.products.molitex-categories-grid > li.product-category {
    min-height: 0 !important; padding: 10px 8px !important; margin: 0 !important;
  }
  body.woocommerce.archive ul.products.molitex-categories-grid > li.product-category img,
  body.woocommerce-page.archive ul.products.molitex-categories-grid > li.product-category img {
    display: none !important;
  }
  body.woocommerce.archive ul.products.molitex-categories-grid > li.product-category h2,
  body.woocommerce-page.archive ul.products.molitex-categories-grid > li.product-category h2 {
    margin: 0 !important; padding: 0 !important; line-height: 1.3 !important;
  }
}


/* v1.0.11 — Ajustes de archivo Molitex, sin afectar fichas individuales. */
body.woocommerce.archive .term-description,
body.woocommerce.archive .woocommerce-products-header__description,
body.woocommerce.archive .intro-box,
body.woocommerce-page.archive .term-description {
  font-size: 14px !important;
  line-height: 1.45 !important;
}
body.woocommerce.archive .term-description p,
body.woocommerce.archive .woocommerce-products-header__description p,
body.woocommerce.archive .intro-box p,
body.woocommerce-page.archive .term-description p {
  margin: 0 0 9px !important;
  line-height: inherit !important;
  font-size: inherit !important;
}
/* Fotografías sin relleno lateral; mantener proporción consistente. */
body.woocommerce.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap,
body.woocommerce-page.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap {
  aspect-ratio: 4 / 3 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap img,
body.woocommerce-page.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
/* Franja de marca fija, real o vacía, sin crear marcas ficticias. */
body.woocommerce.archive ul.products.productos-reales > li.product .molitex-brand-slot,
body.woocommerce-page.archive ul.products.productos-reales > li.product .molitex-brand-slot {
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  display: flex !important;
  align-items: center !important;
  padding: 4px 20px 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .molitex-brand-slot img,
body.woocommerce-page.archive ul.products.productos-reales > li.product .molitex-brand-slot img {
  display: block !important;
  max-height: 22px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .woocommerce-loop-product__title,
body.woocommerce-page.archive ul.products.productos-reales > li.product .woocommerce-loop-product__title {
  margin-top: 10px !important;
  min-height: 3.9em !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .price,
body.woocommerce-page.archive ul.products.productos-reales > li.product .price {
  margin-top: auto !important;
  padding-top: 12px !important;
  padding-bottom: 14px !important;
}

/* v1.0.12 - Navegador jerárquico contextual en sidebar */
.molitex-category-navigator{margin:0 0 28px;padding:18px 16px;background:#fff;border:1px solid #e7ecec;border-radius:5px;font-family:inherit}
.molitex-category-nav-mobile>summary{list-style:none;font-size:17px;font-weight:700;cursor:pointer;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}
.molitex-category-nav-mobile>summary::-webkit-details-marker{display:none}
.molitex-category-nav-mobile>summary span{display:none}
.molitex-category-nav-root{display:block;font-weight:700;font-size:14px;padding:8px 9px;color:#222;text-decoration:none}
.molitex-category-nav-list{list-style:none!important;padding:0!important;margin:0!important;display:block!important}
.molitex-category-nav-list .molitex-category-nav-list{padding-left:12px!important;margin:2px 0 5px 5px!important;border-left:1px solid #dfe8e8}
.molitex-category-nav-item{list-style:none!important;margin:0!important;padding:0!important;float:none!important;width:100%!important}
.molitex-category-nav-item>a{display:block;padding:7px 9px;font-size:13px;line-height:1.4;color:#444;text-decoration:none;overflow-wrap:anywhere;border-radius:3px}
.molitex-category-nav-item>a:hover,.molitex-category-nav-root:hover{color:#159f9d;background:#f0fafa}
.molitex-category-nav-item.is-path>a{font-weight:600}
.molitex-category-nav-item.is-current>a,.molitex-category-nav-root.is-current{color:#087f7e;background:#e9f8f7;border-left:3px solid #22aaa7;font-weight:700}
@media(max-width:767px){.molitex-category-navigator{padding:12px;margin-bottom:18px}.molitex-category-nav-mobile:not([open]) .molitex-category-nav-inner{display:none}.molitex-category-nav-mobile>summary{margin:0}.molitex-category-nav-mobile>summary span{display:inline}.molitex-category-nav-mobile[open]>summary{margin-bottom:12px}}

/* v1.0.13 - Navegador «Más de ...» compacto y jerárquico */
.molitex-category-navigator{padding:14px 13px;margin-bottom:22px}
.molitex-category-nav-mobile>summary{font-size:15px;line-height:1.35;margin-bottom:8px}
.molitex-category-nav-root{font-size:13px;padding:6px 8px}
.molitex-category-nav-item>a{padding:5px 8px;font-size:12.5px}
.molitex-category-nav-list .molitex-category-nav-list{padding-left:10px!important;margin:1px 0 3px 4px!important}
@media(max-width:767px){.molitex-category-nav-mobile>summary{margin-bottom:0}.molitex-category-nav-mobile[open]>summary{margin-bottom:8px}}


/* v1.0.14 — Navegación contextual integrada con la sidebar de Neve. */
body.woocommerce.archive .molitex-category-navigator,
body.woocommerce-page.archive .molitex-category-navigator {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  border-radius: 0 !important; padding: 0 !important; margin: 0 0 32px !important;
  font-family: inherit !important;
}
body.woocommerce.archive .molitex-category-nav-mobile > summary,
body.woocommerce-page.archive .molitex-category-nav-mobile > summary {
  color: #111 !important; font-size: 22px !important; font-weight: 700 !important;
  line-height: 1.3 !important; padding: 0 !important; margin: 0 0 12px !important;
  cursor: default !important; letter-spacing: normal !important;
}
body.woocommerce.archive .molitex-category-nav-item > a,
body.woocommerce.archive .molitex-category-nav-root,
body.woocommerce-page.archive .molitex-category-nav-item > a,
body.woocommerce-page.archive .molitex-category-nav-root {
  color: #20aaa7 !important; font-size: 15px !important; font-weight: 400 !important;
  line-height: 1.6 !important; padding: 4px 0 !important; border: 0 !important;
  border-radius: 0 !important; background: transparent !important; text-decoration: none !important;
}
body.woocommerce.archive .molitex-category-nav-item > a:hover,
body.woocommerce.archive .molitex-category-nav-root:hover,
body.woocommerce-page.archive .molitex-category-nav-item > a:hover,
body.woocommerce-page.archive .molitex-category-nav-root:hover { color: #137f7d !important; text-decoration: underline !important; }
body.woocommerce.archive .molitex-category-nav-item.is-current > a,
body.woocommerce-page.archive .molitex-category-nav-item.is-current > a {
  font-weight: 700 !important; color: #138c89 !important;
}
body.woocommerce.archive .molitex-category-nav-list .molitex-category-nav-list,
body.woocommerce-page.archive .molitex-category-nav-list .molitex-category-nav-list {
  border-left: 1px solid #d9e8e7 !important; margin: 3px 0 6px 3px !important;
  padding-left: 12px !important;
}
@media(max-width:767px) {
  body.woocommerce.archive .molitex-category-nav-mobile > summary,
  body.woocommerce-page.archive .molitex-category-nav-mobile > summary { cursor: pointer !important; font-size: 20px !important; }
}

/* v1.0.15 — Descripción aireada y controles al comienzo del listado de productos. */
body.woocommerce.archive .term-description,
body.woocommerce.archive .woocommerce-products-header__description,
body.woocommerce.archive .intro-box,
body.woocommerce-page.archive .term-description,
body.woocommerce-page.archive .woocommerce-products-header__description {
  padding: 18px 0 22px !important;
  box-sizing: border-box;
}
body.woocommerce.archive .molitex-archive-toolbar,
body.woocommerce-page.archive .molitex-archive-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 20px; margin: 22px 0 20px; width: 100%;
  clear: both;
}
body.woocommerce.archive .molitex-archive-toolbar .woocommerce-ordering,
body.woocommerce-page.archive .molitex-archive-toolbar .woocommerce-ordering,
body.woocommerce.archive .molitex-archive-toolbar .woocommerce-result-count,
body.woocommerce-page.archive .molitex-archive-toolbar .woocommerce-result-count {
  float: none !important; clear: none !important; position: static !important;
  margin: 0 !important; width: auto !important;
}
@media(max-width: 767px) {
  body.woocommerce.archive .molitex-archive-toolbar,
  body.woocommerce-page.archive .molitex-archive-toolbar { align-items: flex-start; flex-direction: column; }
}

/* v1.0.16 — Breadcrumbs a la derecha en archivos WooCommerce.
   Solo presentación: preserva el HTML y los enlaces originales. */
@media (min-width: 768px) {
  body.woocommerce.archive .woocommerce-breadcrumb,
  body.woocommerce-page.archive .woocommerce-breadcrumb,
  body.woocommerce.archive .nv-breadcrumb,
  body.woocommerce-page.archive .nv-breadcrumb {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    float: none !important;
    clear: both !important;
    text-align: right !important;
    font-size: 12px;
    margin: 0 0 16px !important;
  }
}
@media (max-width: 767px) {
  body.woocommerce.archive .woocommerce-breadcrumb,
  body.woocommerce-page.archive .woocommerce-breadcrumb,
  body.woocommerce.archive .nv-breadcrumb,
  body.woocommerce-page.archive .nv-breadcrumb {
    text-align: left !important;
    overflow-wrap: anywhere;
  }
}

/* v1.0.17 — cabecera de archivo compacta, navegador horizontal sin segunda consulta */
body.woocommerce.archive .nv-shop .nv-page-title-wrap,body.woocommerce.archive .woocommerce-products-header{margin-top:0!important;padding-top:0!important}
body.woocommerce.archive .woocommerce-breadcrumb,body.woocommerce-page.archive .woocommerce-breadcrumb,body.woocommerce.archive .nv-breadcrumb{margin-bottom:8px!important}
body.woocommerce.archive .woocommerce-products-header h1,body.woocommerce.archive h1.page-title{margin:4px 0 10px!important}
body.woocommerce.archive .term-description,body.woocommerce.archive .woocommerce-products-header__description,body.woocommerce-page.archive .term-description{padding:4px 0 12px!important;margin:0!important;font-size:13px!important;line-height:1.45!important}
body.woocommerce.archive .term-description p,body.woocommerce.archive .woocommerce-products-header__description p{margin:0 0 6px!important}
body.woocommerce.archive .molitex-archive-toolbar,body.woocommerce-page.archive .molitex-archive-toolbar{margin:10px 0 16px!important;padding:10px 0!important;border-top:1px solid #e8eeee;border-bottom:1px solid #e8eeee}
.molitex-archive-chips{margin:12px 0 0!important;clear:both;width:100%;min-width:0}
.molitex-archive-chips-label{display:block;font-size:15px;font-weight:600;color:#222;margin:0 0 8px}
.molitex-archive-chips-scroll{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;padding:0 0 8px;scrollbar-width:thin}
.molitex-archive-chips-scroll a{display:inline-flex;align-items:center;flex:0 0 auto;white-space:nowrap;border:1px solid #e3ebeb;border-radius:24px;padding:7px 12px;background:#f6f8f8;color:#287f7d!important;text-decoration:none!important;font-size:12px;line-height:1.2}
.molitex-archive-chips-scroll a:hover,.molitex-archive-chips-scroll a:focus{background:#e9f8f7;border-color:#20aaa7}
@media(max-width:767px){body.woocommerce.archive .term-description,body.woocommerce.archive .woocommerce-products-header__description{font-size:12px!important;line-height:1.4!important;padding-bottom:8px!important}.molitex-archive-chips{margin-top:8px!important}.molitex-archive-chips-scroll a{padding:7px 10px}.molitex-archive-toolbar{gap:8px!important}}

/* v1.0.18: barra Woo unificada y subcategorías debajo de los controles */
body.woocommerce.archive .molitex-archive-toolbar,body.woocommerce-page.archive .molitex-archive-toolbar{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;margin:8px 0 0!important;padding:8px 0!important;border-top:1px solid #edf0f0;border-bottom:0!important}
.molitex-archive-toolbar .woocommerce-result-count{margin-left:auto!important;font-size:12px!important}
.molitex-archive-per-page{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#555;white-space:nowrap}
.molitex-archive-per-page select{font-size:12px;padding:7px 25px 7px 9px;max-width:110px;height:auto}
.molitex-archive-chips{margin:0 0 8px!important;padding:4px 0 0!important}
.molitex-archive-chips-label{display:none!important}
.molitex-archive-chips-scroll{padding:0 0 5px!important}
body.woocommerce.archive .molitex-archive-chips+ul.products,body.woocommerce.archive .molitex-archive-toolbar+ul.products{margin-top:8px!important;padding-top:0!important}
.molitex-discovery-prefooter{width:100%;max-width:none;clear:both;background:#f9fbfb;padding:35px max(20px,calc((100vw - 1280px)/2));box-sizing:border-box}
.molitex-discovery-prefooter .msn{max-width:1280px;margin:0 auto}
@media(max-width:767px){body.woocommerce.archive .molitex-archive-toolbar{gap:8px!important;flex-direction:row!important;flex-wrap:wrap!important}.molitex-archive-toolbar .woocommerce-result-count{margin-left:0!important;width:100%!important}.molitex-archive-chips-scroll{flex-wrap:nowrap!important;overflow-x:auto!important}.molitex-discovery-prefooter{padding:24px 15px}}

/* v1.0.22 — Corrección exclusiva de la retícula vertical de archivos.
   Conserva las tarjetas originales (estilo, imágenes, sombras y tipografía). */
@media (min-width: 960px) {
  body.woocommerce.archive .nv-shop,
  body.woocommerce-page.archive .nv-shop {
    margin-top: 0 !important; padding-top: 0 !important;
  }
  body.woocommerce.archive .nv-shop .nv-page-title-wrap,
  body.woocommerce-page.archive .nv-shop .nv-page-title-wrap {
    margin-top: 0 !important; padding-top: 0 !important;
  }
}
body.woocommerce.archive .nv-shop > .woocommerce-breadcrumb,
body.woocommerce.archive .nv-shop > .nv-breadcrumb { margin-bottom: 8px !important; }
body.woocommerce.archive .nv-shop .woocommerce-products-header,
body.woocommerce-page.archive .nv-shop .woocommerce-products-header { margin: 0 0 12px !important; padding: 0 !important; }
body.woocommerce.archive .nv-shop h1.page-title,
body.woocommerce.archive .nv-shop .woocommerce-products-header__title { margin: 0 0 12px !important; }
/* El grid de categorías mantiene el aspecto anterior, pero sin el margen externo gigante. */
body.woocommerce.archive .nv-shop ul.products.molitex-categories-grid,
body.woocommerce-page.archive .nv-shop ul.products.molitex-categories-grid {
  margin-top: 0 !important; margin-bottom: 16px !important; padding-top: 0 !important;
}
/* Controles: ritmo de 12-16px entre bloques, sin huecos de 60px ni colisiones. */
body.woocommerce.archive .nv-shop .molitex-archive-toolbar,
body.woocommerce-page.archive .nv-shop .molitex-archive-toolbar {
  margin: 0 0 12px !important; padding: 12px 0 !important; gap: 10px 12px !important;
}
body.woocommerce.archive .nv-shop .molitex-archive-chips,
body.woocommerce-page.archive .nv-shop .molitex-archive-chips {
  margin: 0 0 16px !important; padding: 0 !important;
}
body.woocommerce.archive .nv-shop .molitex-archive-chips-scroll,
body.woocommerce-page.archive .nv-shop .molitex-archive-chips-scroll { padding-bottom: 0 !important; }
body.woocommerce.archive .nv-shop ul.products.productos-reales,
body.woocommerce-page.archive .nv-shop ul.products.productos-reales {
  margin-top: 0 !important; padding-top: 0 !important; row-gap: 18px !important;
}
@media (max-width: 767px) {
  body.woocommerce.archive .nv-shop ul.products.molitex-categories-grid { margin-bottom: 12px !important; }
  body.woocommerce.archive .nv-shop .molitex-archive-toolbar { margin-bottom: 12px !important; }
  body.woocommerce.archive .nv-shop .molitex-archive-chips { margin-bottom: 12px !important; }
}

/* v1.0.23 — Toolbar de catálogo: controles proporcionados, una sola retícula.
   No modifica cards, imágenes, títulos, SEO ni comportamiento WooCommerce. */
body.woocommerce.archive .nv-shop .molitex-archive-toolbar,
body.woocommerce-page.archive .nv-shop .molitex-archive-toolbar {
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex-wrap:wrap!important;column-gap:12px!important;row-gap:10px!important;
  width:100%!important;min-height:0!important;
  margin:14px 0 12px!important;padding:12px 0!important;
  border-top:1px solid #e7eded!important;border-bottom:1px solid #e7eded!important;
  box-sizing:border-box!important;
}
body.woocommerce.archive .nv-shop .molitex-archive-toolbar form.woocommerce-ordering,
body.woocommerce-page.archive .nv-shop .molitex-archive-toolbar form.woocommerce-ordering {
  display:block!important;float:none!important;margin:0!important;padding:0!important;
  width:auto!important;min-width:0!important;flex:0 1 215px!important;
}
body.woocommerce.archive .nv-shop .molitex-archive-toolbar .woocommerce-ordering select.orderby,
body.woocommerce-page.archive .nv-shop .molitex-archive-toolbar .woocommerce-ordering select.orderby {
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:40px!important;min-height:40px!important;margin:0!important;
  padding:0 32px 0 12px!important;border:1px solid #dce5e5!important;
  border-radius:6px!important;background-color:#fff!important;color:#333!important;
  font-size:13px!important;line-height:normal!important;font-weight:400!important;
  box-shadow:none!important;box-sizing:border-box!important;
}
body.woocommerce.archive .nv-shop .molitex-archive-toolbar .molitex-archive-per-page,
body.woocommerce-page.archive .nv-shop .molitex-archive-toolbar .molitex-archive-per-page {
  display:inline-flex!important;align-items:center!important;gap:8px!important;
  flex:0 0 auto!important;margin:0!important;padding:0!important;
  color:#555!important;font-size:12px!important;line-height:1.3!important;
}
body.woocommerce.archive .nv-shop .molitex-archive-toolbar .molitex-archive-per-page select,
body.woocommerce-page.archive .nv-shop .molitex-archive-toolbar .molitex-archive-per-page select {
  width:88px!important;min-width:0!important;max-width:88px!important;
  height:40px!important;min-height:40px!important;margin:0!important;
  padding:0 25px 0 10px!important;border:1px solid #dce5e5!important;
  border-radius:6px!important;background-color:#fff!important;color:#333!important;
  font-size:13px!important;line-height:normal!important;box-shadow:none!important;
  box-sizing:border-box!important;
}
body.woocommerce.archive .nv-shop .molitex-archive-toolbar .woocommerce-result-count,
body.woocommerce-page.archive .nv-shop .molitex-archive-toolbar .woocommerce-result-count {
  flex:0 1 auto!important;float:none!important;clear:none!important;
  width:auto!important;margin:0 0 0 auto!important;padding:0!important;
  color:#687474!important;font-size:12px!important;line-height:1.4!important;
  white-space:normal!important;
}
body.woocommerce.archive .nv-shop .molitex-archive-chips,
body.woocommerce-page.archive .nv-shop .molitex-archive-chips {margin:0 0 14px!important;}
@media(max-width:767px){
  body.woocommerce.archive .nv-shop .molitex-archive-toolbar,
  body.woocommerce-page.archive .nv-shop .molitex-archive-toolbar {gap:9px!important;padding:10px 0!important;margin:12px 0 10px!important;}
  body.woocommerce.archive .nv-shop .molitex-archive-toolbar form.woocommerce-ordering,
  body.woocommerce-page.archive .nv-shop .molitex-archive-toolbar form.woocommerce-ordering {flex:1 1 170px!important;}
  body.woocommerce.archive .nv-shop .molitex-archive-toolbar .woocommerce-result-count,
  body.woocommerce-page.archive .nv-shop .molitex-archive-toolbar .woocommerce-result-count {flex:1 1 100%!important;width:100%!important;margin:0!important;}
}

/* v1.0.24: navegador contextual dentro de la columna de productos. */
.molitex-discovery-in-catalog{clear:both;width:100%;max-width:100%;box-sizing:border-box;background:#fff;margin:24px 0 30px;padding:22px 0;border-top:1px solid #e7eded}
.molitex-discovery-in-catalog .msn{width:100%;max-width:100%;margin:0;box-sizing:border-box}
.molitex-discovery-in-catalog .msn *{box-sizing:border-box}
@media(max-width:767px){.molitex-discovery-in-catalog{margin:20px 0;padding:18px 0}}

/* v1.0.25 — Única cabecera de archivo: H1 y breadcrumb en la misma fila.
   No se altera el diseño de las tarjetas de producto ni el Shop Navigator. */
body.woocommerce.archive .nv-shop .molitex-heading-row,
body.woocommerce-page.archive .nv-shop .molitex-heading-row {
  display:flex!important;align-items:baseline!important;justify-content:space-between!important;
  flex-wrap:wrap;column-gap:18px;row-gap:4px;margin:0 0 12px!important;
  padding:0!important;min-width:0;
}
body.woocommerce.archive .nv-shop .molitex-heading-row h1,
body.woocommerce-page.archive .nv-shop .molitex-heading-row h1 {
  margin:0!important;padding:0!important;flex:0 1 auto;
}
body.woocommerce.archive .nv-shop .molitex-heading-row .woocommerce-breadcrumb,
body.woocommerce.archive .nv-shop .molitex-heading-row .nv-breadcrumb,
body.woocommerce-page.archive .nv-shop .molitex-heading-row .woocommerce-breadcrumb,
body.woocommerce-page.archive .nv-shop .molitex-heading-row .nv-breadcrumb {
  width:auto!important;max-width:100%!important;flex:0 1 auto!important;
  margin:0!important;padding:0!important;clear:none!important;float:none!important;
  text-align:right!important;font-size:12px!important;line-height:1.5!important;
}
/* Compactación exclusivamente geométrica de las subcategorías, preservando
   sus cuatro columnas, sombras, tipografía e imágenes completas. */
@media(min-width:769px){
  body.woocommerce.archive .nv-shop ul.products.molitex-categories-grid,
  body.woocommerce-page.archive .nv-shop ul.products.molitex-categories-grid {gap:14px!important;margin-bottom:14px!important;}
  body.woocommerce.archive .nv-shop ul.products.molitex-categories-grid > li.product-category,
  body.woocommerce-page.archive .nv-shop ul.products.molitex-categories-grid > li.product-category {
    min-height:0!important;height:auto!important;
  }
  body.woocommerce.archive .nv-shop ul.products.molitex-categories-grid > li.product-category img,
  body.woocommerce-page.archive .nv-shop ul.products.molitex-categories-grid > li.product-category img {
    height:135px!important;max-height:135px!important;object-fit:contain!important;
  }
}
@media(max-width:767px){
  body.woocommerce.archive .nv-shop .molitex-heading-row,
  body.woocommerce-page.archive .nv-shop .molitex-heading-row {flex-direction:column-reverse!important;align-items:flex-start!important;gap:6px!important;}
  body.woocommerce.archive .nv-shop .molitex-heading-row .woocommerce-breadcrumb,
  body.woocommerce.archive .nv-shop .molitex-heading-row .nv-breadcrumb,
  body.woocommerce-page.archive .nv-shop .molitex-heading-row .woocommerce-breadcrumb,
  body.woocommerce-page.archive .nv-shop .molitex-heading-row .nv-breadcrumb {text-align:left!important;}
}


/* v1.0.26 — Tarjetas del archivo WooCommerce: geometría compacta del navegador.
   Sólo grid principal productos-reales; no altera categorías, sidebar, fichas ni MSN. */
body.woocommerce.archive ul.products.productos-reales,
body.woocommerce-page.archive ul.products.productos-reales {
  gap: 16px !important;
  align-items: start !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product,
body.woocommerce-page.archive ul.products.productos-reales > li.product {
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e5e9e9 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  background: #fff !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product > .nv-card-content-wrapper,
body.woocommerce-page.archive ul.products.productos-reales > li.product > .nv-card-content-wrapper {
  height: auto !important;
  min-height: 0 !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .sp-product-image,
body.woocommerce-page.archive ul.products.productos-reales > li.product .sp-product-image {
  padding: 0 !important;
  margin: 0 !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap,
body.woocommerce-page.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap {
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  min-height: 0 !important;
  background: #fff !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap img,
body.woocommerce-page.archive ul.products.productos-reales > li.product .sp-product-image .img-wrap img {
  object-fit: contain !important;
}
/* Marca real visible, sin reservar 30px vacíos a productos sin marca. */
body.woocommerce.archive ul.products.productos-reales > li.product .molitex-brand-slot,
body.woocommerce-page.archive ul.products.productos-reales > li.product .molitex-brand-slot {
  height: auto !important;
  min-height: 0 !important;
  max-height: 24px !important;
  padding: 3px 10px 0 !important;
  margin: 0 !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .molitex-brand-slot:empty,
body.woocommerce-page.archive ul.products.productos-reales > li.product .molitex-brand-slot:empty { display:none !important; }
body.woocommerce.archive ul.products.productos-reales > li.product .woocommerce-loop-product__title,
body.woocommerce-page.archive ul.products.productos-reales > li.product .woocommerce-loop-product__title {
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: 4.05em !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  margin: 7px 10px 4px !important;
  padding: 0 !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .price,
body.woocommerce-page.archive ul.products.productos-reales > li.product .price {
  margin: 0 10px 10px !important;
  padding: 0 !important;
  min-height: 0 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .price del,
body.woocommerce-page.archive ul.products.productos-reales > li.product .price del { opacity: .65 !important; }
body.woocommerce.archive ul.products.productos-reales > li.product .price ins,
body.woocommerce-page.archive ul.products.productos-reales > li.product .price ins { text-decoration: none !important; font-weight: 700 !important; }
/* La etiqueta de agotado no debe tapar la fotografía. */
body.woocommerce.archive ul.products.productos-reales > li.product .out-of-stock,
body.woocommerce.archive ul.products.productos-reales > li.product .stock.out-of-stock,
body.woocommerce-page.archive ul.products.productos-reales > li.product .out-of-stock,
body.woocommerce-page.archive ul.products.productos-reales > li.product .stock.out-of-stock {
  font-size: 10px !important;
  line-height: 1.25 !important;
  padding: 5px 7px !important;
}
@media(max-width:767px){
  body.woocommerce.archive ul.products.productos-reales,
  body.woocommerce-page.archive ul.products.productos-reales { gap: 12px !important; }
  body.woocommerce.archive ul.products.productos-reales > li.product .woocommerce-loop-product__title,
  body.woocommerce-page.archive ul.products.productos-reales > li.product .woocommerce-loop-product__title { font-size: 12px !important; margin: 6px 8px 4px !important; }
}

/* v1.0.27 — Unificación real de las tarjetas del archivo WooCommerce.
   Retícula homogénea por fila, sin grandes espacios en blanco. */
body.woocommerce.archive ul.products.productos-reales,
body.woocommerce-page.archive ul.products.productos-reales {
  align-items: stretch !important;
  grid-auto-rows: auto !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product,
body.woocommerce-page.archive ul.products.productos-reales > li.product {
  align-self: stretch !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product > .nv-card-content-wrapper,
body.woocommerce-page.archive ul.products.productos-reales > li.product > .nv-card-content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .woocommerce-LoopProduct-link,
body.woocommerce-page.archive ul.products.productos-reales > li.product .woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .woocommerce-loop-product__title,
body.woocommerce-page.archive ul.products.productos-reales > li.product .woocommerce-loop-product__title {
  height: 2.7em !important;
  min-height: 2.7em !important;
  max-height: 2.7em !important;
  -webkit-line-clamp: 2 !important;
  margin: 7px 10px 3px !important;
  overflow: hidden !important;
}
body.woocommerce.archive ul.products.productos-reales > li.product .price,
body.woocommerce-page.archive ul.products.productos-reales > li.product .price {
  margin: auto 10px 9px !important;
  padding: 0 !important;
  min-height: 0 !important;
}
/* La etiqueta de stock no puede ser una banda sobre toda la fotografía. */
body.woocommerce.archive ul.products.productos-reales > li.product .out-of-stock,
body.woocommerce.archive ul.products.productos-reales > li.product .stock.out-of-stock,
body.woocommerce-page.archive ul.products.productos-reales > li.product .out-of-stock,
body.woocommerce-page.archive ul.products.productos-reales > li.product .stock.out-of-stock {
  position: absolute !important;
  z-index: 5 !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: calc(100% - 16px) !important;
  height: auto !important;
  min-height: 0 !important;
  transform: none !important;
  display: inline-block !important;
  padding: 5px 7px !important;
  margin: 0 !important;
  background: rgba(255,255,255,.94) !important;
  color: #555 !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  text-align: left !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.08) !important;
}

/* v1.0.29 — Cabecera única: sin banda independiente de breadcrumb. */
body.woocommerce.archive .molitex-empty-breadcrumb-wrapper,
body.woocommerce-page.archive .molitex-empty-breadcrumb-wrapper {display:none!important;margin:0!important;padding:0!important;height:0!important;min-height:0!important}
body.woocommerce.archive .nv-shop .molitex-heading-row,
body.woocommerce-page.archive .nv-shop .molitex-heading-row {display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:8px 18px!important;margin:0 0 12px!important;padding:0!important;width:100%!important}
body.woocommerce.archive .nv-shop .molitex-heading-row h1,
body.woocommerce-page.archive .nv-shop .molitex-heading-row h1 {margin:0!important;padding:0!important;line-height:1.2!important}
body.woocommerce.archive .nv-shop .molitex-heading-row .woocommerce-breadcrumb,
body.woocommerce.archive .nv-shop .molitex-heading-row .nv-breadcrumb,
body.woocommerce-page.archive .nv-shop .molitex-heading-row .woocommerce-breadcrumb,
body.woocommerce-page.archive .nv-shop .molitex-heading-row .nv-breadcrumb {width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;float:none!important;clear:none!important;text-align:right!important;flex:0 1 auto!important;font-size:12px!important}
@media(max-width:767px){body.woocommerce.archive .nv-shop .molitex-heading-row,body.woocommerce-page.archive .nv-shop .molitex-heading-row{flex-direction:column-reverse!important;align-items:flex-start!important}body.woocommerce.archive .nv-shop .molitex-heading-row .woocommerce-breadcrumb,body.woocommerce-page.archive .nv-shop .molitex-heading-row .woocommerce-breadcrumb{ text-align:left!important}}


/* =========================================================
   MOLITEX — CSS adicional consolidado (v1.0.30)
   WooCommerce Blocks: no afecta al grid clásico de archivos.
   ========================================================= */
.cart .woocommerce-product-details__short-description { display: none !important; }
.wc-block-components-radio-control__secondary-label { display: none; }

/* Logos de marcas — widget específico */
#block-165 .wp-block-gallery { column-gap: 0 !important; row-gap: 0 !important; }
#block-165 .wp-block-gallery > .wp-block-image {
    box-sizing: border-box;
    padding: 0 25px 0 0 !important;
}

/* Flechas Slick — sin fondo global */
button.slick-arrow,
button.slick-arrow:hover,
button.slick-arrow:focus,
button.slick-arrow:active {
    background-color: transparent !important;
    background-image: none !important;
}

/* Product Cards v1.0 — SOLO bloques WooCommerce */
.wc-block-grid__products { align-items: stretch !important; }
.wc-block-grid__products .wc-block-grid__product {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 12px 14px 18px !important;
    box-sizing: border-box;
}
.wc-block-grid__product-link {
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
}
.wc-block-grid__product-image {
    width: 100%;
    height: 175px !important;
    margin: 0 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
}
.wc-block-grid__product-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 175px !important;
    object-fit: contain !important;
    margin: 0 !important;
}
.wc-block-grid__product-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    text-align: left !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
}
.wc-block-grid__product-price {
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}
@media (max-width: 767px) {
    .wc-block-grid__products .wc-block-grid__product { padding: 10px !important; }
    .wc-block-grid__product-image { height: 135px !important; margin-bottom: 8px !important; }
    .wc-block-grid__product-image img { max-height: 135px !important; }
    .wc-block-grid__product-title { font-size: 14px !important; }
    .wc-block-grid__product-price { font-size: 13px !important; }
}

/* v1.0.33 — Destino de envio/recogida, carrito clasico */
.woocommerce-shipping-totals .woocommerce-shipping-destination.molitex-shipping-destination {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 18px;
    line-height: 1.45;
}
.woocommerce-shipping-totals .molitex-destination-title {
    display: block;
    color: var(--nv-primary-accent) !important;
    font-weight: 700;
    font-size: 16px;
}
.woocommerce-shipping-totals .molitex-destination-address {
    display: block;
    color: inherit;
    font-weight: 400;
    font-size: 15px;
    overflow-wrap: anywhere;
}


/* ================================================================
   MOLITEX v1.0.35 — CARRITO CLASICO, DISEÑO RESPONSIVE UNIFICADO
   Alcance limitado a /carrito; no modifica checkout ni otros grids.
   Variables de marca: --nv-primary-accent
   ================================================================ */
body.woocommerce-cart .cart-collaterals { margin-top: 30px; }
body.woocommerce-cart .cart-collaterals .cart_totals {
    float: right !important;
    width: min(100%, 620px) !important;
    max-width: 100% !important;
    padding: 0 !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals > h2 {
    font-size: clamp(23px, 2vw, 30px);
    line-height: 1.25;
    margin: 0 0 22px !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
    width: 100% !important;
    table-layout: auto;
    margin-bottom: 0 !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th {
    width: 24%;
    min-width: 105px;
    vertical-align: top;
    padding: 17px 14px !important;
    font-size: 15px !important;
    zoom: 1 !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
    padding: 17px 14px !important;
    min-width: 0;
}
body.woocommerce-cart .cart-collaterals .cart_totals .woocommerce-shipping-totals td {
    padding-top: 8px !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method::before {
    content: 'Selecciona método de envío';
    display: block;
    font-size: 18px;
    font-family: inherit;
    font-weight: 650;
    text-align: left;
    padding: 0 0 14px !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    float: none !important;
    width: 100% !important;
    min-height: 68px;
    padding: 12px 16px !important;
    margin: 0 0 10px !important;
    background: #fafafa;
    border: 1px solid #dedede;
    border-radius: 10px;
    box-sizing: border-box;
}
body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li:has(input:checked) {
    border-color: var(--nv-primary-accent);
    background: #fff;
}
body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li input.shipping_method {
    display: block !important;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--nv-primary-accent);
}
body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li label {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 42px;
    margin: 0 !important;
    padding: 4px 48px 4px 0 !important;
    background-position: right center !important;
    background-size: 34px auto !important;
    background-repeat: no-repeat !important;
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    box-sizing: border-box;
    cursor: pointer;
}
body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li label::after {
    content: none !important;
    display: none !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals .molitex-shipping-destination {
    margin: 15px 0 0 !important;
    gap: 5px;
    padding: 0 !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals .molitex-destination-title {
    color: var(--nv-primary-accent) !important;
    font-weight: 750;
    font-size: 16px;
}
body.woocommerce-cart .cart-collaterals .cart_totals .molitex-destination-address {
    font-size: 14px;
    line-height: 1.5;
}
body.woocommerce-cart .cart-collaterals .cart_totals .order-total {
    background: #eef6fa;
    zoom: 1 !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals .order-total th,
body.woocommerce-cart .cart-collaterals .cart_totals .order-total td {
    font-size: 18px !important;
    font-weight: 750;
    vertical-align: middle;
}
body.woocommerce-cart .cart-collaterals .cart_totals .order-total .includes_tax {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 400;
    white-space: normal !important;
    line-height: 1.45;
}
/* CTA: conservar exactamente los colores originales del tema (sin sobrescribir fondo ni hover). */
body.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout {
    width: 100%;
    padding: 0 !important;
    margin: 20px 0 10px !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    min-height: 0;
    padding: 15px 20px !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
    transform: none;
    filter: none;
}
body.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button::after {
    content: none !important;
    display: none !important;
}
@media (max-width: 767px) {
    body.woocommerce-cart .cart-collaterals { margin-top: 24px; }
    body.woocommerce-cart .cart-collaterals .cart_totals {
        float: none !important;
        width: 100% !important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table,
    body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody {
        width: 100% !important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr {
        display: grid !important;
        grid-template-columns: minmax(90px, 30%) minmax(0, 1fr);
        align-items: start;
        width: 100% !important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
    body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        float: none !important;
        box-sizing: border-box;
        text-align: left !important;
        padding: 14px 8px !important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td::before {
        content: none !important;
        display: none !important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping {
        display: block !important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping th {
        width: 100% !important;
        padding: 14px 8px 0 !important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping td {
        width: 100% !important;
        padding: 8px 8px 20px !important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method::before {
        font-size: 17px;
        padding-bottom: 12px !important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li {
        min-height: 62px;
        padding: 10px 13px !important;
        gap: 10px;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li label {
        font-size: 14px;
        min-height: 38px;
        padding-right: 43px !important;
        background-size: 30px auto !important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals .order-total th,
    body.woocommerce-cart .cart-collaterals .cart_totals .order-total td {
        font-size: 17px !important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button {
        min-height: 0;
        font-size: 16px !important;
        padding: 15px 16px !important;
    }
}


/* ================================================================
   MOLITEX 1.0.40 — Reparacion acotada del carrito
   No altera colores, CTA, tarifas ni comportamiento de recogida.
   ================================================================ */
body.woocommerce-cart .cart-collaterals .cart_totals .order-total,
body.woocommerce-cart .cart-collaterals .cart_totals .order-total th,
body.woocommerce-cart .cart-collaterals .cart_totals .order-total td,
body.woocommerce-cart .cart-collaterals .cart_totals tr.shipping > th {
  zoom: 1 !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr {
  border-top: 0 !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping {
  border-top: 1px solid #dedede !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total {
  border-top: 1px solid #dedede !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals .order-total {
  padding: 0 !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li input.shipping_method {
  order: 0 !important;
  position: static !important;
  flex: 0 0 18px !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li label {
  order: 1 !important;
  flex: 1 1 auto !important;
  text-align: left !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals .cart-subtotal th,
body.woocommerce-cart .cart-collaterals .cart_totals .cart-subtotal td,
body.woocommerce-cart .cart-collaterals .cart_totals .order-total th,
body.woocommerce-cart .cart-collaterals .cart_totals .order-total td {
  border-bottom: 0 !important;
}
@media (min-width: 1024px) {
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start !important;
    width: 100%;
  }
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce > .woocommerce-notices-wrapper,
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce > .woocommerce-message,
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce > .woocommerce-error,
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce > .woocommerce-info { grid-column: 1 / -1; }
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce > .woocommerce-cart-form,
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce > .cart-collaterals {
    width: 100% !important;
    min-width: 0;
    height: fit-content !important;
    align-self: start !important;
    margin: 0 !important;
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.09);
    border-radius: 14px;
    box-shadow: 0 5px 24px rgba(0,0,0,.045);
    box-sizing: border-box;
  }
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce > .woocommerce-cart-form { grid-column: 1; }
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce > .cart-collaterals { grid-column: 2; }
  body.woocommerce-cart .cart-collaterals::before,
  body.woocommerce-cart .cart-collaterals::after { content: none !important; display: none !important; }
  body.woocommerce-cart .cart-collaterals .cart_totals {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table { width: 100% !important; margin: 0 !important; }
  body.woocommerce-cart .cart-collaterals .cart_totals tr.shipping > th {
    display: table-cell !important;
    width: 25% !important;
    min-width: 80px !important;
    padding: 16px 8px !important;
    margin: 0 !important;
    font-size: 15px !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals tr.shipping > td {
    display: table-cell !important;
    width: 75% !important;
    padding: 12px 0 16px 8px !important;
    text-align: left !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method::before {
    padding: 0 0 10px !important;
    font-size: 16px;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li {
    min-height: 54px;
    padding: 8px 12px !important;
    margin-bottom: 7px !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals .molitex-shipping-destination,
  body.woocommerce-cart .cart-collaterals .cart_totals .molitex-destination-address { text-align: left !important; }
}
@media (max-width: 1023px) {
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table,
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody {
    width: 100% !important;
    border: 0 !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.cart-subtotal,
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total {
    display: grid !important;
    grid-template-columns: minmax(0, 35%) minmax(0, 65%);
    align-items: center !important;
    width: 100% !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.cart-subtotal > th,
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.cart-subtotal > td,
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total > th,
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total > td {
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 14px 8px !important;
    margin: 0 !important;
    text-align: left !important;
    border: 0 !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping {
    display: block !important;
    width: 100% !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping > th {
    display: block !important;
    width: 100% !important;
    padding: 14px 8px 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping > td {
    display: block !important;
    width: 100% !important;
    padding: 8px 8px 16px !important;
    border: 0 !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total .includes_tax {
    display: block !important;
    margin-top: 5px !important;
    font-size: 12px !important;
  }
}
/* v1.0.38 — Separacion entre etiqueta de envio y precio. */
body.woocommerce-cart #shipping_method input[value^="flat_rate"] + label .woocommerce-Price-amount {
    margin-left: 6px !important;
}

/* ============================================================
   1.0.42 — Corrección definitiva del ancho de métodos en desktop.
   Mantiene tabla semántica WooCommerce y diseño móvil intacto.
   ============================================================ */
@media (min-width: 1024px) {
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce {
    grid-template-columns: minmax(0, 60%) minmax(0, 30%) !important;
    column-gap: 5% !important;
    row-gap: 20px !important;
    padding-right: 5% !important;
    box-sizing: border-box !important;
    align-items: start !important;
  }
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce > .woocommerce-cart-form,
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce > .cart-collaterals {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
    height: auto !important;
    min-height: 0 !important;
    align-self: start !important;
  }
  /* La tabla de totales pasa a bloques SOLO en desktop: el envío ocupa
     todo el ancho, no la segunda columna estrecha de una tabla HTML. */
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table,
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table > tbody {
    display: block !important;
    width: 100% !important;
    table-layout: auto !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.cart-subtotal,
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: center !important;
    width: 100% !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.cart-subtotal > th,
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.cart-subtotal > td,
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total > th,
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total > td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 12px 10px !important;
    margin: 0 !important;
    border: 0 !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.cart-subtotal > td,
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total > td {
    text-align: right !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping {
    display: block !important;
    width: 100% !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping > th {
    display: none !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping > td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 10px 0 12px !important;
    margin: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method {
    width: 100% !important;
    margin: 0 !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method::before {
    padding: 0 0 8px !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li {
    min-height: 48px !important;
    padding: 7px 11px !important;
    margin-bottom: 6px !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals #shipping_method li label {
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals .molitex-shipping-destination {
    margin: 10px 0 0 !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals .molitex-destination-address {
    text-align: left !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name {
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* ============================================================
   1.0.44 — Carrito móvil: ficha compacta y precios visibles.
   Únicamente <= 767px. Desktop y lógica de envíos intactos.
   ============================================================ */
@media (max-width: 767px) {
  body.woocommerce-cart .nv-page-title-wrap .neve-breadcrumbs-wrapper,
  body.woocommerce-cart .nv-page-title-wrap .nv--yoast-breadcrumb,
  body.woocommerce-cart .nv-page-title-wrap .woocommerce-breadcrumb { display:none!important; }
  body.woocommerce-cart .nv-page-title-wrap,
  body.woocommerce-cart .nv-page-title,
  body.woocommerce-cart .nv-single-page-wrap { margin-top:0!important; padding-top:0!important; }
  body.woocommerce-cart .nv-page-title-wrap { margin-bottom:12px!important; }
  body.woocommerce-cart .nv-page-title h1 { margin:0 0 12px!important; font-size:clamp(27px,7vw,34px)!important; line-height:1.15!important; }
  body.woocommerce-cart .nv-content-wrap.entry-content { margin-top:0!important; padding-top:0!important; }
  body.woocommerce-cart .woocommerce-cart-form { margin:0 0 20px!important; padding:0!important; width:100%!important; }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody { display:block!important; width:100%!important; margin:0!important; border:0!important; }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table thead { display:none!important; }
  body.woocommerce-cart .woocommerce-cart-form tr.woocommerce-cart-form__cart-item {
    display:grid!important;
    grid-template-columns: minmax(0, 120px) minmax(0, 1fr)!important;
    grid-template-areas:'photo name' 'price price' 'quantity quantity' 'subtotal subtotal'!important;
    gap:12px 14px!important;
    position:relative!important;
    padding:20px 14px 16px!important;
    margin:0 0 12px!important;
    border:1px solid #e3e3e3!important;
    border-radius:6px!important;
    box-shadow:none!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-cart .woocommerce-cart-form tr.woocommerce-cart-form__cart-item > td {
    display:block!important; width:auto!important; min-width:0!important;
    padding:0!important; margin:0!important; float:none!important;
    border:0!important; background:transparent!important;
    text-align:left!important; box-sizing:border-box!important;
  }
  body.woocommerce-cart .woocommerce-cart-form tr.woocommerce-cart-form__cart-item > td::before { display:none!important; content:none!important; }
  body.woocommerce-cart .woocommerce-cart-form td.product-remove { position:absolute!important; top:8px!important; right:8px!important; z-index:2; }
  body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove {
    display:flex!important; align-items:center!important; justify-content:center!important;
    width:36px!important; height:36px!important; min-width:36px!important;
    font-size:29px!important; line-height:1!important; font-weight:700!important;
    color:#242424!important; background:#f2f2f2!important; border-radius:4px!important;
    text-decoration:none!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail { grid-area:photo!important; }
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail a { display:block!important; }
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img {
    display:block!important; width:120px!important; max-width:100%!important;
    height:120px!important; object-fit:cover!important; margin:0!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-name {
    grid-area:name!important; align-self:center!important; padding-right:24px!important;
    overflow-wrap:break-word!important; word-break:normal!important;
    font-size:15px!important; line-height:1.45!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-price,
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity,
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal {
    display:flex!important; align-items:center!important; justify-content:space-between!important;
    gap:10px!important; min-height:34px!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-price { grid-area:price!important; }
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity { grid-area:quantity!important; }
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal { grid-area:subtotal!important; border-top:1px solid #e7e7e7!important; padding-top:10px!important; }
  body.woocommerce-cart .woocommerce-cart-form td.product-price::before,
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity::before,
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal::before {
    display:block!important; content:attr(data-title) ':'!important;
    position:static!important; width:auto!important; float:none!important;
    color:#222!important; font-size:14px!important; font-weight:600!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-price .amount,
  body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .amount {
    display:inline-block!important; color:#171717!important; font-size:17px!important;
    font-weight:700!important; white-space:nowrap!important; opacity:1!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-quantity .quantity { margin-left:auto!important; }
  body.woocommerce-cart .woocommerce-cart-form tr > td.actions {
    display:block!important; width:100%!important; padding:10px 0 0!important;
    margin:0!important; border:0!important;
  }
  body.woocommerce-cart .woocommerce-cart-form .actions .coupon { width:100%!important; }
  body.woocommerce-cart .woocommerce-cart-form .actions .coupon input#coupon_code { max-width:100%!important; }
  body.woocommerce-cart .cart-collaterals { margin-top:10px!important; }
}
@media (max-width: 380px) {
  body.woocommerce-cart .woocommerce-cart-form tr.woocommerce-cart-form__cart-item {
    grid-template-columns:minmax(0,96px) minmax(0,1fr)!important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img { width:96px!important;height:100px!important; }
}

/* ============================================================
   1.0.45 — Refinamiento UI del carrito SOLO en escritorio.
   Conserva el 60/30/5/5, métodos, controles y diseño móvil.
   ============================================================ */
@media (min-width: 1024px) {
  /* Subir el resumen al nivel del encabezado Carrito sin desplazar
     ni superponer la tabla de productos. */
  body.woocommerce-cart .nv-content-wrap.entry-content > .woocommerce > .cart-collaterals {
    position: relative !important;
    margin-top: -64px !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals > h2 {
    margin: 0 0 15px !important;
    padding: 0 !important;
    font-size: clamp(22px, 2vw, 28px) !important;
    line-height: 1.2 !important;
  }
  /* Cabeceras de productos discretas: la información importa más. */
  body.woocommerce-cart .woocommerce-cart-form table.shop_table thead th {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    padding-top: 9px !important;
    padding-bottom: 11px !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-price .amount,
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-subtotal .amount {
    font-size: 15px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    color: #171717 !important;
  }
  /* Subtotal legible, total inequívoco y precio a la derecha. */
  body.woocommerce-cart .cart-collaterals .cart_totals tr.cart-subtotal > th {
    font-size: 14px !important;
    font-weight: 500 !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals tr.cart-subtotal > td .amount {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #171717 !important;
    white-space: nowrap !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals tr.order-total {
    background: #edf6f8 !important;
    border-top: 2px solid var(--nv-primary-accent) !important;
    padding: 8px 5px !important;
    box-sizing: border-box !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals tr.order-total > th {
    font-size: 17px !important;
    font-weight: 700 !important;
    align-self: center !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals tr.order-total > td {
    text-align: right !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals tr.order-total > td > strong,
  body.woocommerce-cart .cart-collaterals .cart_totals tr.order-total > td > strong .amount {
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: #171717 !important;
    white-space: nowrap !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals tr.order-total .includes_tax {
    display: block !important;
    margin-top: 6px !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    color: #666 !important;
    white-space: normal !important;
  }
}
