/*
Theme Name: Otaku Child Theme
Theme URI: https://otaku.ancorathemes.com/
Description: Otaku is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AncoraThemes
Author URI: https://ancorathemes.com/
Version: 1.17.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: otaku
Template: otaku
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/* Buscador del catálogo: lista completa de géneros, sin desplazamiento. */
.trx_addons_woocommerce_search_type_filter .sc_form_field.sc_form_field_pa_genre .sc_form_field_wrap .sc_form_field_items {
    max-height: none;
    overflow: visible;
}

.trx_addons_woocommerce_search_form .sc_form_field_pa_genre .sc_form_field_item_text {
    font-size: 16px;
}

/* Logo del encabezado principal: supera el límite de 40 px del widget. */
html body .elementor-element.elementor-element-5beb2ef .sc_layouts_logo img.logo_image {
    width: auto;
    height: auto;
    max-height: 55px !important;
}

@media (max-width: 767px) {
    html body .elementor-element.elementor-element-5beb2ef .sc_layouts_logo img.logo_image {
        max-height: 40px !important;
    }
}

/* Contacto: el envio replica el boton principal del home. */
html body.page-id-17670 .page_content_wrap .sc_icons_icon,
html body.page-id-17670 .page_content_wrap .sc_icons_icon > span {
    color: #e6402b !important;
}

html body.page-id-17670 .wpcf7 input.wpcf7-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 14px 26px !important;
    border: 1px solid #151312 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    background: #e6402b !important;
    box-shadow: 3px 3px 0 rgba(21, 19, 18, .35) !important;
    color: #fff !important;
    font-family: Archivo, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease !important;
}

html body.page-id-17670 .wpcf7 input.wpcf7-submit:hover,
html body.page-id-17670 .wpcf7 input.wpcf7-submit:focus-visible {
    background: #c52e1e !important;
    box-shadow: 6px 6px 0 rgba(21, 19, 18, .35) !important;
    color: #fff !important;
    transform: translate(-2px, -2px) !important;
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    html body.page-id-17670 .wpcf7 input.wpcf7-submit {
        transition: none !important;
    }
}


/* Carrito y pago: paleta editorial y controles coherentes con NautaColecciones. */
body.woocommerce-cart .page_content_wrap,
body.woocommerce-checkout .page_content_wrap {
    background-color: #f2eee4 !important;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
    color: #151312;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-checkout form.checkout {
    max-width: 1290px;
    margin-right: auto;
    margin-left: auto;
}

body.woocommerce-cart .shop_table,
body.woocommerce-checkout .shop_table,
body.woocommerce-checkout #payment,
body.woocommerce-checkout .woocommerce-form-coupon {
    background-color: #fff;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table thead,
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead {
    background-color: #1b2a41 !important;
    color: #fff !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table thead th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    color: #fff !important;
}

body.woocommerce-cart .otaku_woocommerce_cart_bar .bar_cart .num,
body.woocommerce-checkout .otaku_woocommerce_cart_bar .bar_cart .num,
body.woocommerce-checkout .otaku_woocommerce_cart_bar .bar_payment .num,
body.woocommerce-checkout .otaku_woocommerce_cart_bar .bar_order .num {
    background-color: #1b2a41 !important;
    color: #fff !important;
}

body.woocommerce-cart .otaku_woocommerce_cart_bar .bar_cart.active .num,
body.woocommerce-checkout .otaku_woocommerce_cart_bar .bar_payment.active .num {
    background-color: #e6402b !important;
    color: #fff !important;
}

body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-checkout .woocommerce a.button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout #place_order {
    border: 1px solid #151312 !important;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 rgba(21, 19, 18, .35) !important;
    background-color: #e6402b !important;
    color: #fff !important;
    font-family: Archivo, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}

body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce a.button:hover,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout #place_order:hover,
body.woocommerce-cart .woocommerce a.button:focus-visible,
body.woocommerce-cart .woocommerce button.button:focus-visible,
body.woocommerce-checkout .woocommerce a.button:focus-visible,
body.woocommerce-checkout .woocommerce button.button:focus-visible,
body.woocommerce-checkout #place_order:focus-visible {
    background-color: #c52e1e !important;
    color: #fff !important;
    box-shadow: 5px 5px 0 rgba(21, 19, 18, .35) !important;
    transform: translate(-1px, -1px);
    outline: none;
}

body.woocommerce-cart .woocommerce button.button:disabled,
body.woocommerce-cart .woocommerce button.button:disabled[disabled] {
    border-color: #aaa69e !important;
    background-color: #aaa69e !important;
    box-shadow: none !important;
    color: #fff !important;
    opacity: .75;
}

body.woocommerce-cart .cart-coupon-inner input,
body.woocommerce-checkout .woocommerce input.input-text,
body.woocommerce-checkout .woocommerce textarea,
body.woocommerce-checkout .select2-container .select2-selection--single {
    border-color: rgba(21, 19, 18, .35) !important;
    background-color: #fff !important;
    color: #151312 !important;
}

body.woocommerce-cart .cart-coupon-inner input:focus,
body.woocommerce-checkout .woocommerce input.input-text:focus,
body.woocommerce-checkout .woocommerce textarea:focus,
body.woocommerce-checkout .select2-container--focus .select2-selection--single {
    border-color: #e6402b !important;
    box-shadow: 0 0 0 1px #e6402b !important;
    outline: none !important;
}

body.woocommerce-cart .product-remove a.remove,
body.woocommerce-checkout .page_content_wrap a,
body.woocommerce-cart .woocommerce-info a {
    color: #e6402b !important;
}

body.woocommerce-cart .product-remove a.remove:hover,
body.woocommerce-checkout .page_content_wrap a:hover,
body.woocommerce-cart .woocommerce-info a:hover {
    color: #c52e1e !important;
}

body.woocommerce-checkout .woocommerce-info {
    border-color: #e6402b !important;
    background-color: #fff !important;
    color: #151312 !important;
}

body.woocommerce-checkout #payment .payment_box {
    background-color: #f2eee4 !important;
    color: #151312 !important;
}

@media (max-width: 767px) {
    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals,
    body.woocommerce-checkout form.checkout {
        width: 100%;
    }
}


/* Correcciones de especificidad del tema Otaku en carrito y pago. */
body.woocommerce-cart .woocommerce_status_bar .num,
body.woocommerce-checkout .woocommerce_status_bar .num {
    background-color: #1b2a41 !important;
    color: #fff !important;
}

body.woocommerce-cart .woocommerce_status_bar .active .num,
body.woocommerce-checkout .woocommerce_status_bar .active .num {
    background-color: #e6402b !important;
    color: #fff !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table thead th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    background-color: #1b2a41 !important;
    color: #fff !important;
}


/* Carrito desplegable del encabezado: paleta NautaColecciones. */
html body .sc_layouts_cart .sc_layouts_cart_items_short {
    background-color: #e6402b !important;
    color: #fff !important;
}

html body .sc_layouts_cart_widget {
    background-color: #1b2a41 !important;
    color: #fff !important;
}

html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button {
    border: 1px solid #fff !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease !important;
}

html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button.checkout {
    border-color: #e6402b !important;
    background-color: #e6402b !important;
    color: #fff !important;
}

html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button:hover,
html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button:focus-visible {
    border-color: #e6402b !important;
    background-color: #e6402b !important;
    color: #fff !important;
    transform: translateY(-1px);
    outline: none;
}

html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button.checkout:hover,
html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button.checkout:focus-visible {
    border-color: #c52e1e !important;
    background-color: #c52e1e !important;
}

html body .sc_layouts_cart_widget .remove_from_cart_button:hover,
html body .sc_layouts_cart_widget .remove_from_cart_button:focus-visible {
    color: #e6402b !important;
}

/* Unifica la sección Publicaciones con el fondo de las fichas de autor. */
html body .woocommerce.related.products.nauta-author-publications {
	background: #f2eee4 !important;
}


/* Fondo blanco unificado en todas las vistas de WooCommerce. */
html body.woocommerce,
html body.woocommerce-page,
html body.woocommerce .page_wrap,
html body.woocommerce-page .page_wrap,
html body.woocommerce .page_content_wrap,
html body.woocommerce-page .page_content_wrap,
html body.woocommerce .content_wrap,
html body.woocommerce-page .content_wrap,
html body .woocommerce.related.products.nauta-author-publications {
    background-color: #fff !important;
}

/* Home: contraste AA para textos pequenos y acciones principales. */
html body.home .woocommerce ul.products li.product .post_data .button.add_to_cart_button,
html body.home a.elementor-button[href*="/catalogo/"],
html body.home .elementor-element-dc15fea #sb_instagram .sbi_follow_btn a {
    background-color: #c93627 !important;
    color: #fff !important;
}



html body.home .woocommerce ul.products li.product .price,
html body.home .woocommerce ul.products li.product .price bdi {
    color: #6b6f72 !important;
}

/* El CTA del catalogo comparte la interaccion editorial del boton de Instagram. */
html body.home a.elementor-button[href*="/catalogo/"] {
    transition: transform .25s ease, box-shadow .25s ease, background .2s ease;
}

@media (hover: hover) {
    html body.home a.elementor-button[href*="/catalogo/"]:hover,
    html body.home a.elementor-button[href*="/catalogo/"]:focus-visible {
        background-color: #c93627 !important;
        color: #fff !important;
        transform: translate(-3px, -3px);
        box-shadow: 6px 6px 0 #151312 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.home a.elementor-button[href*="/catalogo/"] {
        transition: none !important;
    }
}
/*
Theme Name: Otaku Child Theme
Theme URI: https://otaku.ancorathemes.com/
Description: Otaku is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AncoraThemes
Author URI: https://ancorathemes.com/
Version: 1.17.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: otaku
Template: otaku
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/* Buscador del catálogo: lista completa de géneros, sin desplazamiento. */
.trx_addons_woocommerce_search_type_filter .sc_form_field.sc_form_field_pa_genre .sc_form_field_wrap .sc_form_field_items {
    max-height: none;
    overflow: visible;
}

.trx_addons_woocommerce_search_form .sc_form_field_pa_genre .sc_form_field_item_text {
    font-size: 16px;
}

/* Logo del encabezado principal: supera el límite de 40 px del widget. */
html body .elementor-element.elementor-element-5beb2ef .sc_layouts_logo img.logo_image {
    width: auto;
    height: auto;
    max-height: 55px !important;
}

@media (max-width: 767px) {
    html body .elementor-element.elementor-element-5beb2ef .sc_layouts_logo img.logo_image {
        max-height: 40px !important;
    }
}

/* Contacto: el envio replica el boton principal del home. */
html body.page-id-17670 .page_content_wrap .sc_icons_icon,
html body.page-id-17670 .page_content_wrap .sc_icons_icon > span {
    color: #e6402b !important;
}

html body.page-id-17670 .wpcf7 input.wpcf7-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 14px 26px !important;
    border: 1px solid #151312 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    background: #e6402b !important;
    box-shadow: 3px 3px 0 rgba(21, 19, 18, .35) !important;
    color: #fff !important;
    font-family: Archivo, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease !important;
}

html body.page-id-17670 .wpcf7 input.wpcf7-submit:hover,
html body.page-id-17670 .wpcf7 input.wpcf7-submit:focus-visible {
    background: #c52e1e !important;
    box-shadow: 6px 6px 0 rgba(21, 19, 18, .35) !important;
    color: #fff !important;
    transform: translate(-2px, -2px) !important;
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    html body.page-id-17670 .wpcf7 input.wpcf7-submit {
        transition: none !important;
    }
}


/* Carrito y pago: paleta editorial y controles coherentes con NautaColecciones. */
body.woocommerce-cart .page_content_wrap,
body.woocommerce-checkout .page_content_wrap {
    background-color: #f2eee4 !important;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
    color: #151312;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-checkout form.checkout {
    max-width: 1290px;
    margin-right: auto;
    margin-left: auto;
}

body.woocommerce-cart .shop_table,
body.woocommerce-checkout .shop_table,
body.woocommerce-checkout #payment,
body.woocommerce-checkout .woocommerce-form-coupon {
    background-color: #fff;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table thead,
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead {
    background-color: #1b2a41 !important;
    color: #fff !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table thead th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    color: #fff !important;
}

body.woocommerce-cart .otaku_woocommerce_cart_bar .bar_cart .num,
body.woocommerce-checkout .otaku_woocommerce_cart_bar .bar_cart .num,
body.woocommerce-checkout .otaku_woocommerce_cart_bar .bar_payment .num,
body.woocommerce-checkout .otaku_woocommerce_cart_bar .bar_order .num {
    background-color: #1b2a41 !important;
    color: #fff !important;
}

body.woocommerce-cart .otaku_woocommerce_cart_bar .bar_cart.active .num,
body.woocommerce-checkout .otaku_woocommerce_cart_bar .bar_payment.active .num {
    background-color: #e6402b !important;
    color: #fff !important;
}

body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-checkout .woocommerce a.button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout #place_order {
    border: 1px solid #151312 !important;
    border-radius: 0 !important;
    box-shadow: 3px 3px 0 rgba(21, 19, 18, .35) !important;
    background-color: #e6402b !important;
    color: #fff !important;
    font-family: Archivo, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}

body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce a.button:hover,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout #place_order:hover,
body.woocommerce-cart .woocommerce a.button:focus-visible,
body.woocommerce-cart .woocommerce button.button:focus-visible,
body.woocommerce-checkout .woocommerce a.button:focus-visible,
body.woocommerce-checkout .woocommerce button.button:focus-visible,
body.woocommerce-checkout #place_order:focus-visible {
    background-color: #c52e1e !important;
    color: #fff !important;
    box-shadow: 5px 5px 0 rgba(21, 19, 18, .35) !important;
    transform: translate(-1px, -1px);
    outline: none;
}

body.woocommerce-cart .woocommerce button.button:disabled,
body.woocommerce-cart .woocommerce button.button:disabled[disabled] {
    border-color: #aaa69e !important;
    background-color: #aaa69e !important;
    box-shadow: none !important;
    color: #fff !important;
    opacity: .75;
}

body.woocommerce-cart .cart-coupon-inner input,
body.woocommerce-checkout .woocommerce input.input-text,
body.woocommerce-checkout .woocommerce textarea,
body.woocommerce-checkout .select2-container .select2-selection--single {
    border-color: rgba(21, 19, 18, .35) !important;
    background-color: #fff !important;
    color: #151312 !important;
}

body.woocommerce-cart .cart-coupon-inner input:focus,
body.woocommerce-checkout .woocommerce input.input-text:focus,
body.woocommerce-checkout .woocommerce textarea:focus,
body.woocommerce-checkout .select2-container--focus .select2-selection--single {
    border-color: #e6402b !important;
    box-shadow: 0 0 0 1px #e6402b !important;
    outline: none !important;
}

body.woocommerce-cart .product-remove a.remove,
body.woocommerce-checkout .page_content_wrap a,
body.woocommerce-cart .woocommerce-info a {
    color: #e6402b !important;
}

body.woocommerce-cart .product-remove a.remove:hover,
body.woocommerce-checkout .page_content_wrap a:hover,
body.woocommerce-cart .woocommerce-info a:hover {
    color: #c52e1e !important;
}

body.woocommerce-checkout .woocommerce-info {
    border-color: #e6402b !important;
    background-color: #fff !important;
    color: #151312 !important;
}

body.woocommerce-checkout #payment .payment_box {
    background-color: #f2eee4 !important;
    color: #151312 !important;
}

@media (max-width: 767px) {
    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals,
    body.woocommerce-checkout form.checkout {
        width: 100%;
    }
}


/* Correcciones de especificidad del tema Otaku en carrito y pago. */
body.woocommerce-cart .woocommerce_status_bar .num,
body.woocommerce-checkout .woocommerce_status_bar .num {
    background-color: #1b2a41 !important;
    color: #fff !important;
}

body.woocommerce-cart .woocommerce_status_bar .active .num,
body.woocommerce-checkout .woocommerce_status_bar .active .num {
    background-color: #e6402b !important;
    color: #fff !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table thead th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    background-color: #1b2a41 !important;
    color: #fff !important;
}


/* Carrito desplegable del encabezado: paleta NautaColecciones. */
html body .sc_layouts_cart .sc_layouts_cart_items_short {
    background-color: #e6402b !important;
    color: #fff !important;
}

html body .sc_layouts_cart_widget {
    background-color: #1b2a41 !important;
    color: #fff !important;
}

html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button {
    border: 1px solid #fff !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease !important;
}

html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button.checkout {
    border-color: #e6402b !important;
    background-color: #e6402b !important;
    color: #fff !important;
}

html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button:hover,
html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button:focus-visible {
    border-color: #e6402b !important;
    background-color: #e6402b !important;
    color: #fff !important;
    transform: translateY(-1px);
    outline: none;
}

html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button.checkout:hover,
html body .sc_layouts_cart_widget .woocommerce-mini-cart__buttons a.button.checkout:focus-visible {
    border-color: #c52e1e !important;
    background-color: #c52e1e !important;
}

html body .sc_layouts_cart_widget .remove_from_cart_button:hover,
html body .sc_layouts_cart_widget .remove_from_cart_button:focus-visible {
    color: #e6402b !important;
}

/* Unifica la sección Publicaciones con el fondo de las fichas de autor. */
html body .woocommerce.related.products.nauta-author-publications {
	background: #f2eee4 !important;
}


/* Fondo blanco unificado en todas las vistas de WooCommerce. */
html body.woocommerce,
html body.woocommerce-page,
html body.woocommerce .page_wrap,
html body.woocommerce-page .page_wrap,
html body.woocommerce .page_content_wrap,
html body.woocommerce-page .page_content_wrap,
html body.woocommerce .content_wrap,
html body.woocommerce-page .content_wrap,
html body .woocommerce.related.products.nauta-author-publications {
    background-color: #fff !important;
}

/* Home: contraste AA para textos pequenos y acciones principales. */
html body.home .woocommerce ul.products li.product .post_data .button.add_to_cart_button,
html body.home a.elementor-button[href*="/catalogo/"],
html body.home .elementor-element-dc15fea #sb_instagram .sbi_follow_btn a {
    background-color: #c93627 !important;
    color: #fff !important;
}



html body.home .woocommerce ul.products li.product .price,
html body.home .woocommerce ul.products li.product .price bdi {
    color: #6b6f72 !important;
}

/* 16-10-2026: publicaciones alineadas con el contenedor de cada autor. */
html body .nauta-author-publications ul.products {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}
/* Un único control visible de consentimiento; conserva la casilla nativa accesible. */
html body .mc4wp-form input[type="checkbox"] {
    position: static !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    vertical-align: middle;
    transform: none !important;
    clip: auto !important;
}
html body .mc4wp-form input[type="checkbox"] + label {
    padding-left: 0 !important;
    margin-left: 0 !important;
}
html body .mc4wp-form input[type="checkbox"] + label::before,
html body .mc4wp-form input[type="checkbox"] + label::after {
    display: none !important;
    content: none !important;
}

/* El bloque de publicaciones comparte el ancho y sangría del cuerpo del perfil. */
html body .elementor .e-con:has(> .e-con-inner > .elementor-widget-nauta_publicaciones_autor) {
    padding-left: clamp(20px, 5vw, 40px) !important;
    padding-right: clamp(20px, 5vw, 40px) !important;
}
html body .elementor .e-con:has(> .e-con-inner > .elementor-widget-nauta_publicaciones_autor) > .e-con-inner {
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
html body .nauta-author-publications ul.products li.product {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Mantener dos portadas incluso cuando Otaku fuerza una sola bajo 480 px. */
@media (max-width: 767px) {
    html body.home .elementor-widget-trx_sc_extended_products ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 16px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    html body.home .elementor-widget-trx_sc_extended_products ul.products::before,
    html body.home .elementor-widget-trx_sc_extended_products ul.products::after {
        display: none !important;
        content: none !important;
    }
    html body.home .elementor-widget-trx_sc_extended_products ul.products li.product {
        width: auto !important;
        min-width: 0 !important;
        float: none !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* El consentimiento ocupa su propia fila debajo del correo y el botón. */
html body .footer_wrap .mc4wp-form .mc4wp-form-fields {
    display: grid !important;
    grid-template-columns: 16px minmax(0, 1fr) 58px !important;
    column-gap: 0 !important;
}
html body .footer_wrap .mc4wp-form input[type="email"] { grid-column: 1 / 3 !important; grid-row: 1 !important; }
html body .footer_wrap .mc4wp-form button { grid-column: 3 !important; grid-row: 1 !important; }
html body .footer_wrap .mc4wp-form input[type="checkbox"] {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: start !important;
    margin: 17px 0 0 !important;
}
html body .footer_wrap .mc4wp-form input[type="checkbox"] + label {
    grid-column: 2 / 4 !important;
    grid-row: 2 !important;
    align-self: start !important;
    width: auto !important;
    min-width: 0 !important;
    padding-left: 8px !important;
    margin: 14px 0 0 !important;
}

/* Checkout: destacar el total con el naranja editorial. */
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total strong,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .amount,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total bdi,
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-currencySymbol {
    color: #e6402b !important;
    font-weight: 700 !important;
}
/* Los logos conservan su tamaño y tienen foco visible al recorrerlos con teclado. */
.elementor-element-c2fbd27 .nauta-partner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}
.elementor-element-c2fbd27 .nauta-partner-link:focus-visible {
    outline: 2px solid #e6402b;
    outline-offset: 4px;
}

/* Ediciones digitales: etiqueta enmarcada junto al precio, como la referencia. */
html body .nauta-digital-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    margin: 0 0 0 8px !important;
    padding: 3px 6px !important;
    border: 1px solid #151312 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #151312 !important;
    font-family: Archivo, Arial, sans-serif !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
}
html body .nauta-digital-badge .nauta-digital-badge__icon {
    display: inline-block !important;
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin: 0 !important;
    padding: 0 !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23151312' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 1v7M3 5l3 3 3-3M1 8v3h10V8'/%3E%3C/svg%3E") center / contain no-repeat !important;
}


/* Logo legible y proporcionado en el panel de búsqueda de Home e interiores. */
html body .search_modern .search_header_wrap img.logo_image {
    width: 180px !important;
    height: auto !important;
    max-width: calc(100vw - 120px) !important;
    max-height: 120px !important;
    object-fit: contain;
}
@media (max-width: 767px) {
    html body .search_modern .search_header_wrap img.logo_image {
        width: 135px !important;
        max-height: 90px !important;
    }
}


/* Autores: risografía naranja con trama (opción 1b). */

body.page-id-24769 .nauta-author-card__photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #fff;
}
body.page-id-24769 .nauta-author-card__photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.35) brightness(1.05);
    mix-blend-mode: multiply;
}
body.page-id-24769 .nauta-author-card__photo::before,
body.page-id-24769 .nauta-author-card__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
body.page-id-24769 .nauta-author-card__photo::before {
    z-index: 0;
    background: #f07a3a;
}
body.page-id-24769 .nauta-author-card__photo::after {
    z-index: 2;
    background: transparent;
    background-image: radial-gradient(rgba(21,19,18,.28) 1px, transparent 1.6px);
    background-size: 4px 4px;
}
body.page-id-24769 .nauta-author-card__photo:hover::before,
body.page-id-24769 .nauta-author-card__photo:hover::after {
    opacity: 0;
}

/* Autores: duotono gris grafito (opción 1d), INACTIVO.

body.page-id-24769 .nauta-author-card__photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #fff;
}
body.page-id-24769 .nauta-author-card__photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.25);
    mix-blend-mode: multiply;
}
body.page-id-24769 .nauta-author-card__photo::before,
body.page-id-24769 .nauta-author-card__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
body.page-id-24769 .nauta-author-card__photo::before {
    z-index: 0;
    background: #d9d6d0;
}
body.page-id-24769 .nauta-author-card__photo::after {
    z-index: 2;
    background: #3a3f45;
    mix-blend-mode: lighten;
}
body.page-id-24769 .nauta-author-card__photo:hover::before,
body.page-id-24769 .nauta-author-card__photo:hover::after {
    opacity: 0;
}
*/


/* PhotoSwipe: mantener oculto el visor cerrado y sus controles. */
html body .pswp[aria-hidden="true"] {
    display: none !important;
}


/* 17-10-2026: hero de interiores compacto en tablet y móvil. */
@media (max-width: 1279px) {
    html body:not(.home) .top_panel_custom_17499 .elementor-element-7717ba4a > .e-con-inner {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}
@media (max-width: 767px) {
    html body:not(.home) .top_panel_custom_17499 .elementor-element-7717ba4a > .e-con-inner {
        padding-top: 38px !important;
        padding-bottom: 38px !important;
    }
}


/* Contacto: una tarjeta por fila en todos los anchos móviles. */
@media (max-width: 767px) {
    html body.page-id-17670 .nc-contact-k .nc-k-cards {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    html body.page-id-17670 .nc-contact-k .nc-k-cards > .nc-k-card {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* 18-10-2026: Vista rápida Nauta: portadas completas y color corporativo. */
#yith-quick-view-modal #yith-quick-view-content div.images {
    width: 45% !important;
    padding: 24px !important;
    flex: 0 0 45%;
    box-sizing: border-box;
}
#yith-quick-view-modal #yith-quick-view-content div.images a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
}
#yith-quick-view-modal #yith-quick-view-content div.images img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center;
}
#yith-quick-view-modal #yith-quick-view-content div.summary {
    width: 55% !important;
    flex: 1 1 55%;
    min-width: 0;
}
#yith-quick-view-modal #yith-quick-view-content .single_add_to_cart_button {
    background: #e6402b !important;
    border-color: #e6402b !important;
    color: #fff !important;
}
#yith-quick-view-modal #yith-quick-view-content .single_add_to_cart_button:hover,
#yith-quick-view-modal #yith-quick-view-content .single_add_to_cart_button:focus-visible {
    background: #c83220 !important;
    border-color: #c83220 !important;
}
#yith-quick-view-modal .yith-quick-view-close {
    color: #e6402b !important;
    border-color: currentColor;
}
@media (max-width: 768px) {
    #yith-quick-view-modal #yith-quick-view-content div.product .product {
        height: auto !important;
    }
    #yith-quick-view-modal #yith-quick-view-content div.images {
        width: 100% !important;
        height: 340px !important;
        max-height: 50vh;
        padding: 20px 30px !important;
        flex: none;
    }
    #yith-quick-view-modal #yith-quick-view-content div.summary {
        width: 100% !important;
        flex: none;
        padding: 20px 24px 30px;
        overflow: visible;
    }
    #yith-quick-view-modal.open .yith-wcqv-main {
        overflow-y: auto !important;
    }
}

/* El tema añade 51px al modal: evita que una portada alta quede fuera. */
#yith-quick-view-modal .yith-wcqv-main { padding: 0 !important; }
#yith-quick-view-modal #yith-quick-view-content div.summary { padding-top: 54px; }

#yith-quick-view-modal #yith-quick-view-content div.summary { padding: 54px 30px 24px !important; }
@media (max-width: 768px) {
 #yith-quick-view-modal #yith-quick-view-content div.summary { padding: 20px 24px 30px !important; }
}

/* 19-10-2026: enlaces del contenido editorial con el naranjo de Nauta. */
html body.single-post .post_content,
html body.page:not(.home) .post_content {
    --theme-color-text_link: #e6402b;
    --theme-color-text_hover: #c83220;
    --theme-color-text_link_blend: #ed6655;
    --theme-color-text_link_007: rgba(230, 64, 43, .07);
    --theme-color-text_link_02: rgba(230, 64, 43, .2);
    --theme-color-text_link_03: rgba(230, 64, 43, .3);
    --theme-color-text_link_04: rgba(230, 64, 43, .4);
    --theme-color-text_link_05: rgba(230, 64, 43, .5);
    --theme-color-text_link_07: rgba(230, 64, 43, .7);
}

/* Nauta: encabezados legibles para las tablas de WooCommerce actualizadas. */
body .woocommerce table.woocommerce-table thead th,
body .woocommerce .woocommerce-checkout-review-order-table thead th {
    background-color: #1c293e !important;
    color: #ffffff !important;
}

/* 22-10-2026: espacio interior en las celdas del detalle del pedido. */
body .woocommerce .woocommerce-order-details table.order_details th,
body .woocommerce .woocommerce-order-details table.order_details td {
    padding-left: 24px;
    padding-right: 24px;
}
@media (max-width: 767px) {
    body .woocommerce .woocommerce-order-details table.order_details th,
    body .woocommerce .woocommerce-order-details table.order_details td {
        padding-left: 14px;
        padding-right: 14px;
    }
}


/* 23-10-2026: confirmación de carrito enmarcada y legible en las fichas. */
html body.single-product .woocommerce-message:has(> a.wc-forward) {
    display: flex !important;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 40px !important;
    padding: 24px 28px !important;
    border: 1px solid #151312 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: 4px 4px 0 rgba(21, 19, 18, .35) !important;
    color: #e6402b !important;
    font-family: Archivo, Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}
html body.single-product .woocommerce-message:has(> a.wc-forward)::before,
html body.single-product .woocommerce-message:has(> a.wc-forward)::after {
    display: none !important;
    content: none !important;
}
html body.single-product .woocommerce-message > a.wc-forward {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    float: none !important;
    margin: 0 0 0 auto !important;
    padding: 14px 22px !important;
    min-height: 46px;
    box-sizing: border-box;
    border: 1px solid #151312 !important;
    border-radius: 0 !important;
    background: #e6402b !important;
    box-shadow: 3px 3px 0 rgba(21, 19, 18, .35) !important;
    color: #fff !important;
    font-family: Archivo, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap;
}
html body.single-product .woocommerce-message > a.wc-forward:hover,
html body.single-product .woocommerce-message > a.wc-forward:focus-visible {
    background: #c83220 !important;
    color: #fff !important;
}
html body.single-product .woocommerce-message > a.wc-forward:focus-visible {
    outline: 2px solid #151312 !important;
    outline-offset: 5px;
}
@media (max-width: 767px) {
    html body.single-product .woocommerce-message:has(> a.wc-forward) {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 20px !important;
        margin-bottom: 30px !important;
        font-size: 17px !important;
    }
    html body.single-product .woocommerce-message > a.wc-forward {
        width: 100%;
        margin: 0 !important;
        white-space: normal;
    }
}


/* 23-10-2026: el visor respeta la proporción real de cada portada. */
html body.single-product .nbp-product-viewer .nbp-book {
    aspect-ratio: auto;
    height: auto;
}
html body.single-product .nbp-product-viewer .nbp-book-front {
    position: relative;
    inset: auto;
}
html body.single-product .nbp-product-viewer .nbp-book-front > img.nbp-cover-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}
html body.single-product .nbp-product-viewer .nbp-book-back > img.nbp-cover-image {
    object-fit: contain;
}


/* 23-10-2026: miniaturas completas para portadas, contraportadas y muestras. */
html body .nbp-product-viewer .nbp-side-thumbnail img,
html body .nbp-product-viewer .nbp-thumbnail img {
    object-fit: contain;
}


/* 24-10-2026: navegación interior estable y sin marcos de color añadidos. */
html body .nbp-product-viewer {
    overflow-anchor: none;
}
html body .nbp-product-viewer .nbp-book-face {
    background: transparent;
}
html body .nbp-product-viewer .nbp-side-thumbnail {
    display: grid;
    place-items: center;
    aspect-ratio: .74 / 1;
    padding: 3px;
    border-width: 2px;
    transform: none;
    transition: border-color 160ms, box-shadow 160ms;
}
html body .nbp-product-viewer .nbp-side-thumbnail:hover,
html body .nbp-product-viewer .nbp-side-thumbnail:focus-visible,
html body .nbp-product-viewer .nbp-side-thumbnail.is-active {
    transform: none;
}
html body .nbp-product-viewer .nbp-side-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
}
html body .nbp-product-viewer .nbp-inline-preview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
}
html body .nbp-product-viewer .nbp-inline-image {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Nauta: icono de contacto si Elementor no incorpora el SVG */
a.elementor-icon[aria-controls="popup-1"]:not(:has(svg)):not(:has(img)){display:inline-block;width:24px;height:24px;background-image:radial-gradient(circle,transparent 1px,currentColor 1.1px,currentColor 2px,transparent 2.1px);background-size:8px 8px;background-repeat:repeat;}

/* Nauta 2026-10-29: espacio de cupones, botones del carrito y resumen del pedido. */
html body.woocommerce-cart .woocommerce-cart-form td.actions.actions {
  padding: 20px 24px !important;
}
body.woocommerce-cart .woocommerce-cart-form td.actions .coupon.cart-coupon-inner {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  height: auto !important;
  min-height: 54px;
  padding: 0 !important;
  width: min(100%, 500px) !important;
  max-width: 100%;
  margin: 0 20px 0 0 !important;
  box-sizing: border-box;
}
body.woocommerce-cart .woocommerce-cart-form td.actions #coupon_code {
  flex: 1 1 240px;
  width: 260px !important;
  min-width: 220px;
  max-width: 100%;
  padding: 12px 16px !important;
  margin: 0 !important;
  box-sizing: border-box;
}
body.woocommerce-cart .woocommerce-cart-form td.actions .coupon button {
  flex: 0 0 auto;
  min-height: 46px !important;
  padding: 12px 16px !important;
  line-height: 1.2;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
body.woocommerce-cart .woocommerce-cart-form td.actions .coupon-error-notice {
  flex-basis: 100%;
  margin: 0;
}
body.woocommerce-cart .woocommerce-cart-form td.actions > button[name="update_cart"],
body.woocommerce-cart .woocommerce-cart-form td.actions > a.continue_shopping {
  float: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: top;
  margin: 0 0 0 16px !important;
  box-sizing: border-box;
}
body.woocommerce-checkout #order_review table th,
body.woocommerce-checkout #order_review table td {
  padding: 18px 24px !important;
  vertical-align: top;
}
body.woocommerce-checkout #order_review table .product-total {
  text-align: right;
}
@media (max-width: 1100px) {
  body.woocommerce-cart .woocommerce-cart-form td.actions .coupon.cart-coupon-inner {
    float: none !important;
    width: 100% !important;
    margin: 0 0 20px !important;
  }
}
@media (max-width: 767px) {
  body.woocommerce-cart .woocommerce-cart-form td.actions {
    padding: 16px !important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.actions #coupon_code {
    flex-basis: 100%;
    width: 100% !important;
    min-width: 0;
  }
  body.woocommerce-cart .woocommerce-cart-form td.actions .coupon::before {
    display: none !important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.actions .coupon button {
    width: 100% !important;
  }
  body.woocommerce-cart .woocommerce-cart-form td.actions > button[name="update_cart"],
  body.woocommerce-cart .woocommerce-cart-form td.actions > a.continue_shopping {
    width: 100% !important;
    margin: 12px 0 0 !important;
  }
  body.woocommerce-checkout #order_review table th,
  body.woocommerce-checkout #order_review table td {
    padding: 14px 16px !important;
  }
}
/* Fin del ajuste Nauta 2026-10-29. */
