@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//amorrortueditores.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.1.2") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//amorrortueditores.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//amorrortueditores.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//amorrortueditores.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//amorrortueditores.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//amorrortueditores.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//amorrortueditores.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//amorrortueditores.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//amorrortueditores.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(228,0,58);
	--wd-alternative-color: rgb(147,149,137);
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(228,0,58);
	--btn-default-font-family: "Roboto", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: rgb(228,0,58);
	--btn-default-bgcolor-hover: rgb(209,0,52);
	--btn-accented-font-family: "Roboto", Arial, Helvetica, sans-serif;
	--btn-accented-bgcolor: rgb(228,0,58);
	--btn-accented-bgcolor-hover: rgb(209,0,52);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://amorrortueditores.com/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-weight: 600;
}
.product-labels .product-label.new {
	background-color: rgb(228,0,58);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* ===========================
   AMORRORTU - GLOBAL CSS
   Sin media queries (van en Desktop/Mobile)
   =========================== */

/* --- GENERAL --- */
.summary-inner .wd-product-brands { display: none; }
.wd-breadcrumbs .wd-delimiter:after { content: '>'; }
.wd-btn-text { text-transform: none !important; }
.main-page-wrapper { padding-top: 14px; }
.d-none-i { display: none !important; }
.woocommerce-message { background-color: #7A7A7F; }

/* --- BOTONES GENERALES --- */
.button-v1 a {
    border: 1px solid #E4003A;
    color: #E4003A;
    background-color: white;
}
.button-v1 a:hover {
    color: white;
    background-color: #E4003A;
}
.button-v1.btn-colecciones a.btn {
    border-radius: var(--btn-accented-brd-radius);
    color: var(--btn-accented-color);
    box-shadow: var(--btn-accented-box-shadow);
    background-color: var(--btn-accented-bgcolor);
    text-transform: var(--btn-accented-transform, var(--btn-transform, uppercase));
    font-weight: var(--btn-accented-font-weight, var(--btn-font-weight, 600));
    font-family: var(--btn-accented-font-family, var(--btn-font-family, inherit));
    font-style: var(--btn-accented-font-style, var(--btn-font-style, unset));
}

/* --- INSTAGRAM --- */
.sb_instagram_header,
.sbi_follow_btn { display: none; }

/* --- SINGLE PRODUCT: ADD TO CART --- */
.summary-inner .cart .single_add_to_cart_button {
    background-color: white !important;
    color: #E4003A !important;
    border: 1px solid;
}
.summary-inner .cart .single_add_to_cart_button:hover {
    color: #FFF !important;
    background-color: #E4003A !important;
}

/* --- MINI CART / CART BUTTONS --- */
.cart-totals-inner .shipping-calculator-form .button { color: white; }
.woocommerce-mini-cart__buttons .btn-cart { color: white; }
.btn-cart {
    color: #E4003A !important;
    border: 1px solid;
    background-color: white !important;
}
.btn-cart:hover {
    color: #FFF !important;
    background-color: #E4003A !important;
}

/* --- TIPOGRAFIA --- */
.amount,
h4.woodmart-title-container.title.wd-fontsize-xl { font-weight: 400 !important; }
.product_title.entry-title { font-weight: 400 !important; }
.slider-title,
.slider-title span,
.inner-slider-title,
h3.inner-slider-title { font-weight: 400 !important; }
.woocommerce-breadcrumb a {
    font-size: 14px !important;
    font-weight: 400 !important;
}

.wd-product-brands-links { font-size: 15px !important; }
.wd-product :is(.wd-product-cats, .wd-product-brands-links) a { font-size: 16px !important; }
.product_subtitle {
    font-size: 20px;
    font-weight: 350;
    margin: 0 0 30px;
    line-height: 1.2;
}
.product-title-wishlist { margin-bottom: 0 !important; }

/* --- CART PAGE --- */
.woocommerce-cart-form .woocommerce-cart-form__cart-item .product-quantity .btn {
    width: 25px;
    height: 25px !important;
    border: 1px solid black !important;
    border-radius: 50% !important;
}
div.quantity input[type="button"] {
    border: 1px solid black !important;
    border-radius: 50% !important;
    color: black !important;
    width: 30px;
    height: 30px !important;
}
div.quantity input[type="number"] {
    border: none !important;
    width: 30px !important;
    height: 30px !important;
    color: black !important;
}
.woocommerce-cart-form .woocommerce-cart-form__cart-item .product-quantity .quantity {
    display: flex;
    align-items: center;
}
.woocommerce-cart-form .woocommerce-cart-form__cart-item .product-quantity .qty { border: unset !important; }
.wd-cart-action-row input { max-width: unset !important; }
.wd-cart-action-row button { max-width: unset; width: 100%; }
.elementor-element-180c5f7f {
    display: flex;
    flex-direction: column !important;
    border: none !important;
    border-left: 1px solid #010101 !important;
}
.button-cart {
    border: 1px solid #010101 !important;
    color: #010101 !important;
    font-weight: 400 !important;
    background-color: white !important;
}
.button-cart:hover {
    border: unset !important;
    color: white !important;
    background-color: #E4003A !important;
}
.woocommerce-cart-form__contents th {
    text-transform: capitalize;
    font-weight: 400;
    border-bottom: .9px solid #010101;
}
table td { border-bottom: unset !important; }

/* --- ACCORDION / TABS --- */
.wd-accordion-title-text span {
    color: #E4003A !important;
    text-transform: uppercase;
}
.wd-accordion.wd-opener-style-arrow > .wd-accordion-item > .wd-accordion-title .wd-accordion-opener:before {
    content: "\f143" !important;
    color: #E4003A !important;
    font-weight: 900;
    font-size: 14px;
}
.wd-accordion.wd-opener-style-arrow > .wd-accordion-item > .wd-accordion-title.wd-active .wd-accordion-opener {
    transform: rotate(45deg) !important;
}
.wd-accordion.wd-style-default > .wd-accordion-item {
    border-bottom: 1px solid #010101 !important;
}
.wd-accordion.wd-style-default > .wd-accordion-item:first-child {
    border-top: 1px solid #010101 !important;
}

/* Ficha tecnica cerrada por defecto */
#tab-additional_information { display: none; }


/* Ficha tecnica: scroll interno */
.entry-content.woocommerce-Tabs-panel.woocommerce-Tabs-panel--additional_information.wd-scroll.wd-accordion-content.wd-single-attrs.wd-style-table.wd-active {
    display: block;
    height: 300px;
    overflow: auto;
}

/* --- CHECKOUT --- */
:is(.woocommerce-checkout > .checkout-order-review, .woocommerce-order-pay #order_review) {
    background-color: transparent !important;
}
:is(.woocommerce-checkout > .checkout-order-review, .woocommerce-order-pay #order_review):before,
:is(.woocommerce-checkout > .checkout-order-review, .woocommerce-order-pay #order_review):after {
    display: none !important;
}
#ship-to-different-address { color: #E4003A !important; }

/* Shipping methods */
tr.woocommerce-shipping-totals.shipping { flex-direction: column; align-items: start; }
tr.woocommerce-shipping-totals.shipping td { width: 100%; padding: 0; }
tr.woocommerce-shipping-totals.shipping td .woocommerce-shipping-methods li {
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    border-bottom: 1px solid #E8E8E8;
    padding: 12px 8px;
    margin: 0 !important;
    transition: background-color 0.2s ease;
}
tr.woocommerce-shipping-totals.shipping td .woocommerce-shipping-methods li:first-child { border-top: 1px solid #E8E8E8; }
tr.woocommerce-shipping-totals.shipping td .woocommerce-shipping-methods li:has(input:checked) { background-color: rgba(228, 0, 58, 0.04); }
.woocommerce-shipping-methods input.shipping_method { top: 0 !important; accent-color: #E4003A; margin: 0 !important; flex-shrink: 0; }
.woocommerce-shipping-methods label { display: flex; justify-content: space-between; width: 100%; font-weight: 400; font-size: 14px; }
.correo_argentino_review_order_section { display: none; }

/* Coupon */
#coupon-in-order-review .form-row-last .button[name="apply_coupon"]:hover {
    border: unset;
    background: rgba(228, 0, 58, 1);
    color: white;
}

/* --- SHOP / FILTERS --- */
.slider-title { text-transform: uppercase; }
.wd-filter-list .count { display: none; }
form.woocommerce-ordering.wd-style-underline.wd-ordering-mb-icon { display: none; }
.wc-layered-nav-term:hover a { color: #E4003A !important; }
.wd-filter-list .wc-layered-nav-term.wd-active a { color: #E4003A !important; }

/* --- MEGA MENU --- */
#menu-item-29283 .wd-dropdown-menu { width: 25vw !important; left: 1vw !important; }
#menu-item-29293 .wd-dropdown-menu { min-height: unset !important; left: -242px !important; width: 96vw !important; }
#menu-item-29293 .wd-dropdown-menu a:hover { color: #E4003A !important; }

/* --- TWO ROWS CAROUSEL --- */
.wd-two-rows-slide { flex-shrink: 0; }
.wd-two-rows-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: var(--wd-gap-lg, 30px);
    row-gap: var(--wd-gap-lg, 30px);
}



/* --- HEADER TOP BAR --- */
.whb-top-bar.wd-header-text,
.wd-header-text.whb-zt17ik6g3rsnb3vzr6qr { text-align: center !important; }

/* ===========================
   GRID PRODUCT HOVER ICONS (SVG)
   =========================== */
.wd-product.wd-hover-icons .wrapp-buttons { z-index: 5; }
.wd-product.wd-hover-icons .product-element-top:hover .wrapp-buttons {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.wd-product .product-image-link { position: relative; z-index: 1; }
.wd-add-cart-icon,
.wd-wishlist-icon { margin-bottom: 10px; }

/* SVG icons: area clickeable */
.wd-action-btn svg rect { fill: transparent !important; transition: fill 0.3s ease-out; }
.wd-action-btn:hover svg rect { fill: #E4003A !important; }
.wd-action-btn:hover svg path { fill: #FFFFFF !important; transition: fill 0.3s ease-out; }
.wd-action-btn:hover svg path[stroke] { stroke: #FFFFFF !important; }

/* SVG custom icons */
.custom-cart-icon,
.custom-wishlist-icon { display: inline-flex; vertical-align: middle; }
.wd-product.wd-hover-icons .custom-wishlist-icon,
.wd-product.wd-hover-icons .custom-cart-icon { display: flex; pointer-events: none; }

/* Corazon rojo en grid (default) */
/* Corazon rojo en grid (default) */
.wd-product.wd-hover-icons .wd-wishlist-icon > a:before { color: #E4003A !important; }
.wd-product.wd-hover-icons .wd-wishlist-icon a:hover:before { color: #FFFFFF !important; }


/* Corazon added: relleno rojo, stroke blanco para contraste */
.wd-product.wd-hover-icons .wd-wishlist-btn a.added svg path {
    fill: #E4003A !important;
    stroke: #FFF !important;
    stroke-width: 0.5 !important;
}

/* Wishlist added: corazón relleno rojo (SVG) */
.wd-wishlist-btn a.added .custom-wishlist-icon svg path {
    d: path("M28.4688 13.5938C26.1719 13.5938 24.1747 14.6295 23 16.3653C21.8253 14.6295 19.8281 13.5938 17.5312 13.5938C15.7914 13.5958 14.1234 14.2878 12.8931 15.5181C11.6628 16.7484 10.9708 18.4164 10.9688 20.1563C10.9688 23.35 12.9594 26.6739 16.8859 30.0339C18.6852 31.5671 20.6288 32.9224 22.6894 34.0808C22.7849 34.1321 22.8916 34.159 23 34.159C23.1084 34.159 23.2151 34.1321 23.3106 34.0808C25.3712 32.9224 27.3148 31.5671 29.1141 30.0339C33.0406 26.6739 35.0312 23.35 35.0312 20.1563C35.0292 18.4164 34.3372 16.7484 33.1069 15.5181C31.8766 14.2878 30.2086 13.5958 28.4688 13.5938Z") !important;
}
.wd-wishlist-btn a.added:hover .custom-wishlist-icon svg path {
    fill: #FFFFFF !important;
    d: path("M28.4688 13.5938C26.1719 13.5938 24.1747 14.6295 23 16.3653C21.8253 14.6295 19.8281 13.5938 17.5312 13.5938C15.7914 13.5958 14.1234 14.2878 12.8931 15.5181C11.6628 16.7484 10.9708 18.4164 10.9688 20.1563C10.9688 23.35 12.9594 26.6739 16.8859 30.0339C18.6852 31.5671 20.6288 32.9224 22.6894 34.0808C22.7849 34.1321 22.8916 34.159 23 34.159C23.1084 34.159 23.2151 34.1321 23.3106 34.0808C25.3712 32.9224 27.3148 31.5671 29.1141 30.0339C33.0406 26.6739 35.0312 23.35 35.0312 20.1563C35.0292 18.4164 34.3372 16.7484 33.1069 15.5181C31.8766 14.2878 30.2086 13.5958 28.4688 13.5938Z") !important;
}

/* ===========================
   SINGLE PRODUCT WISHLIST
   Corazón sobre la portada
   =========================== */
.single-product-page { position: relative; }
.summary-inner { position: relative; }

/* Ocultar texto del wishlist en single */
.summary-inner .wd-wishlist-btn.wd-style-text > a > span { display: none !important; }
.summary-inner .wd-wishlist-btn.wd-style-text > a:after { display: none !important; }

/* Normal: corazón outline rojo (SVG) */
.summary-inner .wd-wishlist-btn.wd-style-text > a:before {
    content: "" !important;
    font-family: unset !important;
    font-size: 0 !important;
    width: 25px !important;
    height: 25px !important;
    display: inline-flex !important;
    opacity: 1 !important;
    margin: 0 !important;
    -webkit-text-stroke: 0 !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8 11 30 26'%3E%3Cpath d='M28.4688 13.5938C26.1719 13.5938 24.1747 14.6295 23 16.3653C21.8253 14.6295 19.8281 13.5938 17.5312 13.5938C15.7914 13.5958 14.1234 14.2878 12.8931 15.5181C11.6628 16.7484 10.9708 18.4164 10.9688 20.1563C10.9688 23.35 12.9594 26.6739 16.8859 30.0339C18.6852 31.5671 20.6288 32.9224 22.6894 34.0808C22.7849 34.1321 22.8916 34.159 23 34.159C23.1084 34.159 23.2151 34.1321 23.3106 34.0808C25.3712 32.9224 27.3148 31.5671 29.1141 30.0339C33.0406 26.6739 35.0312 23.35 35.0312 20.1563C35.0292 18.4164 34.3372 16.7484 33.1069 15.5181C31.8766 14.2878 30.2086 13.5958 28.4688 13.5938Z' fill='none' stroke='%23E4003A' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

/* Normal + hover: outline blanco */
.summary-inner .wd-wishlist-btn.wd-style-text:hover > a:before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8 11 30 26'%3E%3Cpath d='M28.4688 13.5938C26.1719 13.5938 24.1747 14.6295 23 16.3653C21.8253 14.6295 19.8281 13.5938 17.5312 13.5938C15.7914 13.5958 14.1234 14.2878 12.8931 15.5181C11.6628 16.7484 10.9708 18.4164 10.9688 20.1563C10.9688 23.35 12.9594 26.6739 16.8859 30.0339C18.6852 31.5671 20.6288 32.9224 22.6894 34.0808C22.7849 34.1321 22.8916 34.159 23 34.159C23.1084 34.159 23.2151 34.1321 23.3106 34.0808C25.3712 32.9224 27.3148 31.5671 29.1141 30.0339C33.0406 26.6739 35.0312 23.35 35.0312 20.1563C35.0292 18.4164 34.3372 16.7484 33.1069 15.5181C31.8766 14.2878 30.2086 13.5958 28.4688 13.5938Z' fill='none' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat !important;
    color: transparent !important;
}

/* Agregado: corazón relleno rojo (SVG) */
.summary-inner .wd-wishlist-btn.wd-style-text > a.added:before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8 11 30 26'%3E%3Cpath d='M28.4688 13.5938C26.1719 13.5938 24.1747 14.6295 23 16.3653C21.8253 14.6295 19.8281 13.5938 17.5312 13.5938C15.7914 13.5958 14.1234 14.2878 12.8931 15.5181C11.6628 16.7484 10.9708 18.4164 10.9688 20.1563C10.9688 23.35 12.9594 26.6739 16.8859 30.0339C18.6852 31.5671 20.6288 32.9224 22.6894 34.0808C22.7849 34.1321 22.8916 34.159 23 34.159C23.1084 34.159 23.2151 34.1321 23.3106 34.0808C25.3712 32.9224 27.3148 31.5671 29.1141 30.0339C33.0406 26.6739 35.0312 23.35 35.0312 20.1563C35.0292 18.4164 34.3372 16.7484 33.1069 15.5181C31.8766 14.2878 30.2086 13.5958 28.4688 13.5938Z' fill='%23E4003A'/%3E%3C/svg%3E") center/contain no-repeat !important;
    -webkit-text-stroke: 0 !important;
}

/* Agregado + hover: corazón relleno blanco (SVG) */
.summary-inner .wd-wishlist-btn.wd-style-text:hover > a.added:before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8 11 30 26'%3E%3Cpath d='M28.4688 13.5938C26.1719 13.5938 24.1747 14.6295 23 16.3653C21.8253 14.6295 19.8281 13.5938 17.5312 13.5938C15.7914 13.5958 14.1234 14.2878 12.8931 15.5181C11.6628 16.7484 10.9708 18.4164 10.9688 20.1563C10.9688 23.35 12.9594 26.6739 16.8859 30.0339C18.6852 31.5671 20.6288 32.9224 22.6894 34.0808C22.7849 34.1321 22.8916 34.159 23 34.159C23.1084 34.159 23.2151 34.1321 23.3106 34.0808C25.3712 32.9224 27.3148 31.5671 29.1141 30.0339C33.0406 26.6739 35.0312 23.35 35.0312 20.1563C35.0292 18.4164 34.3372 16.7484 33.1069 15.5181C31.8766 14.2878 30.2086 13.5958 28.4688 13.5938Z' fill='%23FFFFFF'/%3E%3C/svg%3E") center/contain no-repeat !important;
    color: transparent !important;
}

/* Relacionados: scroll horizontal con flechas */
.relatedProducts .carousel {
    position: relative;
}
.relatedProducts .bookGrid {
    display: flex !important;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.relatedProducts .bookGrid::-webkit-scrollbar {
    display: none;
}
.relatedProducts .bookGrid .book {
    flex: 0 0 15%;
    min-width: 140px;
}
.relatedProducts .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 30px;
    font-weight: 300;
    color: #000;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.relatedProducts .carousel:hover .carousel-arrow {
    opacity: 1;
}
.relatedProducts .carousel-arrow:hover {
    background: #E4003A;
    color: #FFF;
}
.relatedProducts .carousel-arrow.prev { left: -18px; }
.relatedProducts .carousel-arrow.next { right: -18px; }
.relatedProducts .carousel-arrow.hidden { display: none; }

/* Fix hover: mostrar botones al pasar el mouse */
.wd-product.wd-hover-icons:hover .wrapp-buttons {
    opacity: 1 !important;
    visibility: visible !important;
}

/* T2: Boton Registrarme texto blanco */
.woocommerce-account .register .button,
.wd-register-form .button,
.woocommerce-form-register .woocommerce-Button,
.woocommerce-form-register .woocommerce-form-register__submit,
button[name="register"],
input[name="register"] { color: #FFFFFF !important; }

/* T2 fix: Boton Registrarme (es un <a>, no un <button>) */
.wd-switch-to-register { color: #FFFFFF !important; }

/* T8 fix: Precio weight 300 - override Elementor/Woodmart variables */
.product-element-bottom .price,
.product-element-bottom .price .amount,
.product-element-bottom .price .amount bdi,
.wd-product .price,
.wd-product .price .amount,
.wd-product .price .amount bdi { font-weight: 300 !important; font-size: 21px !important; }

/* Footer desktop: fix spacing */
.elementor-27869 .two-cols .roadmap { gap: 0; line-height: 1.6; }
.elementor-27869 .two-cols .roadmap br { display: none; }
.elementor-27869 .two-cols .roadmap a { display: block; padding: 2px 0; }
.elementor-27869 .editorial .gapped-text { padding-bottom: 15px; padding-top: 10px; }
.elementor-27869 .two-cols .extraInfo .paymentMethods .logos { display: flex; flex-direction: row; gap: 6px; padding-top: 7px; }
.elementor-27869 .two-cols .extraInfo .paymentMethods .logos br { display: none; }
.elementor-27869 .two-cols .extraInfo .paymentMethods .logos img { width: 38px; height: auto; }
.elementor-27869 .two-cols .extraInfo p { margin-top: 10px; line-height: 1.6; }
.elementor-27869 .two-cols .extraInfo p br { line-height: 1.6; }

/* Footer tablet: fix layout 577px-1024px */
@media (min-width: 577px) and (max-width: 1024px) {
    .prefooter { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
    .prefooter .newsletter-text { width: 100%; }
    .prefooter .newsletter-form { flex: 1; }
    .prefooter .newsletter-form form { display: flex; flex-direction: row; gap: 8px; }
    .prefooter .social { display: flex; flex-direction: row; gap: 15px; align-items: center; }
    .prefooter .social .logo { width: 32px; }
    .prefooter .social .logo img { width: 32px !important; height: 32px !important; }

    .elementor-27869 .two-cols { gap: 30px; }
    .elementor-27869 .legals { display: flex; justify-content: space-between; align-items: center; }
    .elementor-27869 .legals .logo-paimun { width: 30px; }
}

/* Footer: text color white on all breakpoints */
.elementor-27869 .editorial,
.elementor-27869 .editorial *,
.elementor-27869 .two-cols,
.elementor-27869 .two-cols *,
.elementor-27869 .two-cols a { color: white !important; font-size: 14px; }
.elementor-27869 .legals,
.elementor-27869 .legals * { color: white !important; }

/* Prefooter: colores en todos los breakpoints */
.prefooter .newsletter-text,
.prefooter .newsletter-text * { color: white !important; }
.prefooter .newsletter-form form input { background: white; color: #ABABAB; border: unset; }
.prefooter .newsletter-form form button { color: white; border: 1px solid white; background: transparent; }
.prefooter .social .logo img { filter: brightness(0) invert(1); }

/* Desktop: titulo 100% y wishlist en linea breadcrumb */
@media (min-width: 1025px) {
    .product-title-wishlist { display: block !important; }
    .product-title-wishlist .product_title { width: 100% !important; }
    .summary-inner .wd-wishlist-btn.wd-style-text {
        position: absolute !important;
        top: -60px !important;
        right: 15px !important;
        z-index: 10;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 50%;
        width: 42px;
        height: 42px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .summary-inner { position: relative; }
}

/* Related products: flechas siempre visibles (infinite scroll) */
.relatedProducts .carousel-arrow.hidden { display: flex !important; }

/* Grilla: wishlist igual al carrito en hover */
.wd-product .wrap-buttons .wd-wishlist-btn.wd-action-btn.wd-style-icon:hover {
  background-color: #E4003A !important;
  border-color: #E4003A !important;
}

.wd-product .wrap-buttons .wd-wishlist-btn.wd-action-btn.wd-style-icon:hover > a,
.wd-product .wrap-buttons .wd-wishlist-btn.wd-action-btn.wd-style-icon:hover > a::before {
  color: #fff !important;
}

/* Fade sutil en bordes del carousel de relacionados */
.relatedProducts .carousel::before,
.relatedProducts .carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 25px;
    height: 65%;
    z-index: 5;
    pointer-events: none;
    border-radius: 2px;
}
.relatedProducts .carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.6), transparent);
}
.relatedProducts .carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.6), transparent);
}

/* CUSTOM CF7 suscripciones home*/

.prefooter .newsletter-form .wpcf7 {
  margin: 0;
}

.prefooter .newsletter-form form,
.prefooter .newsletter-form .newsletter-cf7 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.prefooter .newsletter-form p {
  margin: 0;
}

.prefooter .newsletter-form .wpcf7-form-control-wrap {
  display: block;
}

.prefooter .newsletter-form input[type="email"] {
  width: 420px;
  max-width: 100%;
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
}

.prefooter .newsletter-form input[type="submit"] {
  height: 46px;
  padding: 0 28px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  box-sizing: border-box;
}

.prefooter .newsletter-form .wpcf7-spinner {
  margin: 0 0 0 10px;
}

.prefooter .newsletter-form .wpcf7-response-output {
  margin: 10px 0 0;
  padding: 8px 12px;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

/* FILA DE ENVÍO FLEXIBLE SHIPPING EN CHECKOUT */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td #shipping_method {
    margin: 0;
    padding: 0;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td #shipping_method li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

/* el bloque izquierdo: DHL + logo + zona */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td #shipping_method li label {
    width: auto !important;
    flex: 1 1 auto;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px;
    margin: 0 !important;
    padding: 0;
    text-align: left;
    line-height: 1.2;
}

/* saco márgenes molestos internos */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td #shipping_method li label p,
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td #shipping_method li label span {
    margin: 0 !important;
    padding: 0;
}

/* texto DHL */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td #shipping_method li .shipping-method-description {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* logo */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td #shipping_method li .shipping-method-logo {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td #shipping_method li .shipping-method-logo img {
    display: block;
    width: auto;
    height: 24px;
    max-width: none;
}

/* zona */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td #shipping_method li .shipping-method-zone {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* por si el precio está dentro del label */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td #shipping_method li label .amount,
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td #shipping_method li label .woocommerce-Price-amount {
    margin-left: auto;
}

.woocommerce-checkout-review-order-table 
.woocommerce-shipping-totals 
#shipping_method li 
.shipping-method-logo {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.woocommerce-checkout-review-order-table 
.woocommerce-shipping-totals 
#shipping_method li 
.shipping-method-logo img {
    display: block;
    margin: 0 !important;
}

/*Fin de Flexible Shippings en checkout*/

/*Ocultar cruz en carrito*/
.wd-checkout-remove-btn::after {
  display: none !important;
  content: none !important;
}

.wd-checkout-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/*Descuento dinmico OOCC en carrito*/

/* ============================================
   Paimún — Aviso descuento Obras Completas
   ============================================ */
.paimun-oc-notice {
    background: #ffffff;
    border-left: 3px solid #e3033a;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.5;
    padding: 12px 14px 12px 16px;
    margin: 0 0 20px 0;
    border-radius: 2px;
    /* sombrita mínima para que se despegue del fondo blanco */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.paimun-oc-notice em {
    font-style: italic;
}

.paimun-oc-notice strong {
    color: #e3033a;
    font-weight: 600;
}

/* === Mini-cart / off-canvas de Woodmart === */
.widget_shopping_cart_content .paimun-oc-notice,
.wd-cart-mini .paimun-oc-notice,
.cart_widget .paimun-oc-notice,
.wd-dropdown-cart .paimun-oc-notice {
    font-size: 13px;
    padding: 10px 12px;
    margin: 10px 0 14px;
    box-shadow: none;
    background: #fafafa;
}

/* === Carrito completo y checkout === */
.woocommerce-cart .paimun-oc-notice,
.woocommerce-checkout .paimun-oc-notice {
    max-width: 100%;
    margin: 0 0 24px;
}

/* === Mobile === */
@media (max-width: 600px) {
    .paimun-oc-notice {
        font-size: 13px;
        padding: 10px 12px;
        margin: 0 0 14px;
    }
    .widget_shopping_cart_content .paimun-oc-notice,
    .wd-cart-mini .paimun-oc-notice,
    .cart_widget .paimun-oc-notice,
    .wd-dropdown-cart .paimun-oc-notice {
        font-size: 12.5px;
        padding: 9px 11px;
    }
}

/*FIN*/@media (min-width: 1025px) {
	/* ===========================
   AMORRORTU - DESKTOP CSS
   =========================== */

/* --- HEADER --- */
.whb-flex-row.whb-general-header-inner { height: fit-content; }
.whb-column.whb-col-left.whb-column8.whb-visible-lg { height: fit-content; }
.whb-row.whb-general-header.whb-not-sticky-row.whb-without-bg.whb-without-border.whb-color-dark.whb-flex-flex-middle { padding-top: 60px; }
.whb-top-bar .wd-header-text { font-size: 16px; font-weight: 400; }
.btn-colecciones { padding: 16px 20px; }
.btn-colecciones span { font-size: 20px; font-weight: 400; }
.wd-header-search-form { display: flex; justify-content: end; flex-direction: row; }
.wd-dropdown-menu { max-width: 1200px; width: calc(100vw - 30px); left: -232px; }
.wd-header-search-form form { width: 50%; }
.wd-header-search-form form input { border: unset; }
.whb-header-bottom-inner { border-top: 1px solid; border-bottom: 1px solid; }
.whb-top-bar-inner .whb-col-center .wd-header-text { color: white; text-align: center; }
.nav-link-text { font-weight: 400; font-size: 15px; }

/* --- CONTENT --- */
.wd-content-layout { padding-top: 0; }

/* --- FOOTER --- */
.prefooter { display: flex; justify-content: space-between; align-items: center; }
.prefooter .newsletter-form { width: 45%; }
.prefooter .newsletter-form form { display: flex; flex-wrap: nowrap; gap: 8px; flex-direction: row; }
.prefooter .newsletter-form form input { background: white; color: #ABABAB; border: unset; }
.prefooter .newsletter-form form button { color: white; border: 1px solid white; background: transparent; }
.prefooter .social { display: flex; gap: 20px; }
.prefooter .social .logo { width: 38px; }
.elementor-27869 .legals { display: flex; justify-content: space-between; align-items: center; padding-top: 3rem; }
.main-footer { max-width: unset; padding-inline: unset; margin-inline: unset; }
.elementor-27869 .legals .logo-paimun { width: 30px; }
.elementor-27869 .editorial .gapped-text { padding-bottom: 34px; padding-top: 20px; }
.elementor-27869 .two-cols { display: flex; justify-content: space-between; }
.elementor-27869 .two-cols .roadmap { display: flex; flex-flow: column; width: max-content; gap: 10px; }
.elementor-27869 .two-cols .extraInfo { display: flex; flex-flow: column; gap: 10px; }
.elementor-27869 .two-cols .extraInfo .logos { display: flex; padding-top: 7px; width: 38px; }
.elementor-27869 * { font-size: 14px; color: white; }

/* --- HOME --- */
.wd-btn-arrow { display: none; }
.home .wd-products-element .wd-nav-arrows .wd-btn-arrow { display: block; }
.home .wd-products-element .wd-nav-arrows .wd-arrow-inner { display: inline-flex; }
.wd-slider-pagin { justify-content: end !important; }
.bg-lined { width: 100%; position: relative; display: flex; justify-content: center; align-items: center; }
.bg-lined::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background-color: #000; z-index: 0; }
.woodmart-title-container { position: relative; z-index: 1; background-color: #fff; padding: 0 1rem; }

/* --- PRODUCT GRID --- */
.product-grid-item .product-wrapper .product-element-top { aspect-ratio: 204/323; }
.tax-product_cat .product-grid-item .product-wrapper .product-element-top, .post-type-archive-product .product-grid-item .product-wrapper .product-element-top { max-width: 189px; margin-inline: auto; }
.home .wd-products-element .wd-carousel { --wd-gap: 50px; }
.product-grid-item .product-wrapper .product-element-top .product-image-link { display: flex; height: 100%; justify-content: start; width: fit-content; }
.product-grid-item .product-wrapper .product-element-top .product-image-link img { object-fit: contain; width: auto; height: 100%; }
.product-grid-item .product-wrapper .product-element-bottom { align-items: start; }
.product-grid-item .product-wrapper .product-element-bottom .wd-entities-title { text-align: start; font-size: 16px; }

/* --- HOVER PRODUCT --- */
.product-grid-item .product-wrapper .product-element-top .wrapp-buttons { width: 100%; height: 100%; bottom: 0; }
.product-grid-item .product-wrapper .product-element-top .wrapp-buttons .wd-buttons {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: unset;
    align-items: end;
    justify-content: space-around;
    background: linear-gradient(0deg, white, transparent);
    flex-direction: row-reverse;
}
/* Ocultar font-icons en grid (se usan SVGs custom) */
.wd-action-btn > a:before { display: none !important; }

/* OVERRIDE: Forzar font-icon en single product wishlist */
.summary-inner .wd-wishlist-btn.wd-style-text > a:before {
    display: inline-flex !important;
}

/* --- SINGLE PRODUCT --- */
form.cart { justify-content: start; flex-direction: row-reverse; }
.comenzar-leer-btn { display: flex; justify-content: center; margin-top: 15px; width: 100%; }
.comenzar-leer-btn button { border: 1px solid #676F74; color: #676F74; background: none; padding: 10px 20px; font-size: 14px; display: flex; align-items: center; width: 69%; gap: 24px; cursor: pointer; }
.woocommerce-product-gallery__wrapper { display: flex; flex-direction: column; align-items: center; }
.wd-gallery-images figure { display: flex; justify-content: center; align-items: center; }
.wd-gallery-images figure a { width: 90%; }
.single-breadcrumbs-wrapper { margin-top: 10px; margin-bottom: 30px !important; position: relative; }
.single-breadcrumbs-wrapper .wd-breadcrumbs { font-size: 14px; }
.single-breadcrumbs-wrapper .wd-breadcrumbs .wd-last { color: #E4003A; }
.summary-inner .quantity, .summary-inner .stock { display: none; }
.summary-inner .cart button { width: 25%; }

/* Wishlist: posicionar sobre la imagen en desktop */
.summary-inner .wd-wishlist-btn.wd-style-text {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.summary-inner .wd-wishlist-btn.wd-style-text > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.summary-inner .wd-wishlist-btn.wd-style-text:hover {
    background: #E4003A;
}

/* --- RELATED PRODUCTS --- */
.relatedProducts { margin: 0 auto !important; width: 100%; max-width: 1222px; margin-top: 64px !important; }
.relatedProducts .bookGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); justify-content: center; gap: 2.6%; padding: 10px 14px; align-items: stretch; row-gap: .5%; }
.relatedProducts .bookGrid .book { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; height: 100%; background: #fff; padding: 0; }
.relatedProducts .book > a { width: 100%; display: flex; justify-content: center; }
.relatedProducts .book .attachment-woocommerce_thumbnail { cursor: pointer; max-width: 100%; height: auto; padding: 0; aspect-ratio: unset !important; }
.relatedProducts .book .info { padding: 10px 0; }
.relatedProducts .book .info .title { margin: 0; font-weight: 400; font-size: 18px !important; }
.relatedProducts .book .moreInfo .author { margin: 0; font-size: 15px !important; }
.relatedProducts .book .moreInfo .price { font-size: 1.5rem; font-weight: 600; color: var(--wd-primary-color); text-align: center; }
.related-and-upsells { display: none !important; }

/* Slider title con linea */
.slider-title { width: 100%; position: relative; display: flex; justify-content: center; align-items: center; }
.slider-title::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background-color: #000; z-index: 0; }
.inner-slider-title { position: relative; z-index: 1; background-color: #fff; padding: 0 1rem; margin: unset; }
.inner-slider-title span { font-size: 24px !important; }

/* --- CATALOGO --- */
.wd-sidebar-hidden-md-sm { padding-top: 15px; }
html .product-image-summary-wrap .product_title,
html .wd-single-title .product_title { font-size: 32px !important; font-weight: 500 !important; }
.product-authors a { font-size: 20px !important; font-weight: 300 !important; color: #E4003A !important; }
.price .amount { font-size: 24px !important; }
.single-product .wd-builder-off { padding-bottom: 150px; }
.wd-product :is(.wd-product-cats, .wd-product-brands-links) { font-size: 90%; }
:is(.woocommerce-checkout > .checkout-order-review, .woocommerce-order-pay #order_review) { border-left: 1px solid #010101 !important; }
#order_review_heading { text-align: left !important; }
#order_review .wd-table-wrapper { padding: 5px 0 !important; box-shadow: none !important; }
.elementor-29288 .elementor-element.elementor-element-7576e82,
.elementor-29288 .elementor-element.elementor-element-44d74ca,
.elementor-29288 .elementor-element.elementor-element-27f802d { --width: 33% !important; }
.wd-fontsize-xl { font-size: 24px !important; }
.wd-filter-list { max-height: unset !important; }
.wd-dropdown-my-account { width: 22vw; left: -232px; right: unset; margin-left: unset; margin-right: unset; }

div.summary.entry-summary.text-left.wd-grid-col > div > div.custom-product-meta { margin-bottom: 39px !important; }
div.summary.entry-summary.text-left.wd-grid-col .product_title.entry-title { margin-bottom: 12px !important; }
}

@media (max-width: 576px) {
	/* ===========================
 */
   AMORRORTU - MOBILE CSS
   ===========================

/* --- SINGLE PRODUCT --- */
.product-image-summary-inner { position: relative; }

form.cart { position: absolute; width: 100%; left: 0; bottom: 0; }
form.cart .quantity { display: none; }
form.cart button { width: calc(50% - 5px); }

/* Wishlist sobre la imagen en mobile */
.product-image-summary-inner {
    position: relative;
}
.summary-inner .wd-wishlist-btn.wd-style-text {
    position: absolute;
    top: 8px;
    left: 8px;
    right: auto;
    z-index: 99;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.summary-inner .wd-wishlist-btn.wd-style-text > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

body.single-product .wd-grid-col { --wd-col-sm: 6 !important; }
.related-and-upsells { display: none !important; }

/* Ocultar font-icons en grid (se usan SVGs) */
.wd-action-btn > a:before { display: none !important; }

/* OVERRIDE: Forzar font-icon en single product wishlist */
.summary-inner .wd-wishlist-btn.wd-style-text > a:before {
    display: inline-flex !important;
}

/* Ocultar texto wishlist en single */
.summary-inner .wd-wishlist-btn span:last-of-type { display: none !important; }

/* Wishlist SVG fondo rosa en mobile */
.summary-inner .wd-wishlist-btn svg rect { fill: #FFE5E7; }

.woocommerce-tabs { padding-inline: 14px; }
.summary-inner .quantity, .summary-inner .stock { display: none; }

.comenzar-leer-btn { display: flex; justify-content: center; margin-top: 15px; width: 100%; }
.comenzar-leer-btn button { border: 1px solid #676F74; color: #676F74; background: none; padding: 5px 1px; font-size: 12px; display: flex; align-items: center; width: 100%; gap: 12px; cursor: pointer; }
.woocommerce-product-gallery__wrapper { display: flex; flex-direction: column; align-items: center; }

/* --- RELATED PRODUCTS --- */
.relatedProducts { margin: 0 auto; width: 100%; max-width: 1222px; }
.relatedProducts .bookGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(30%, 1fr)); justify-content: center; gap: 2.6%; padding: 10px 0; align-items: stretch; row-gap: .5%; padding-inline: 14px; }
.relatedProducts .bookGrid .book { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; height: 100%; background: #fff; padding: 0; }
.relatedProducts .bookGrid .book:nth-of-type(4),
.relatedProducts .bookGrid .book:nth-of-type(5) { display: none; }
.relatedProducts .book > a { width: 100%; display: flex; justify-content: center; }
.relatedProducts .book .attachment-woocommerce_thumbnail { cursor: pointer; max-width: 100%; height: auto; padding: 0; aspect-ratio: unset !important; }
.relatedProducts .book .info { padding: 10px 0; }
.relatedProducts .book .info .title { margin: 0; font-weight: 400; text-transform: initial; }
.relatedProducts .book .moreInfo .author { margin: 0; font-size: 1rem; }
.relatedProducts .book .moreInfo .price { font-size: 1.5rem; font-weight: 600; color: var(--wd-primary-color); text-align: center; }
.related-and-upsells { display: none !important; }

/* Slider title con linea */
.slider-title { width: 100%; position: relative; display: flex; justify-content: center; align-items: center; }
.slider-title::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background-color: #000; z-index: 0; }
.inner-slider-title { position: relative; z-index: 1; background-color: #fff; padding: 0 1rem; margin: unset; }

/* --- FOOTER --- */
.prefooter { display: flex; justify-content: space-between; align-items: center; flex-direction: column; }
.prefooter .newsletter-form { width: 100%; padding: 5px 0; }
.prefooter .newsletter-form form { display: flex; flex-wrap: nowrap; gap: 8px; flex-direction: row; }
.prefooter .newsletter-form form input { background: white; color: #ABABAB; border: unset; }
.prefooter .newsletter-form form button { color: white; border: 1px solid white; background: transparent; }
.prefooter .social {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}
.prefooter .social .logo { width: 38px; }
.elementor-27869 .legals { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; }
.main-footer { max-width: unset; padding-inline: unset; margin-inline: unset; }
.elementor-27869 .legals .logo-paimun { width: 30px; }
.elementor-27869 .editorial .gapped-text { padding-bottom: 15px; padding-top: 10px; }
.elementor-27869 .two-cols { display: flex; justify-content: space-between; gap: 30px; }
.elementor-27869 .two-cols .roadmap { display: flex; flex-flow: column; width: 40%; gap: 10px; }
.elementor-27869 .two-cols .extraInfo { display: flex; flex-flow: column; gap: 10px; }
.elementor-27869 .two-cols .extraInfo .logos { display: flex; padding-top: 7px; width: 38px; }
.elementor-27869 * { font-size: 14px; color: white; }

/* --- HOME --- */
.wd-product.wd-hover-icons .wrapp-buttons { display: none; }
.bg-lined { width: 100%; position: relative; display: flex; justify-content: center; align-items: center; }
.bg-lined::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background-color: #000; z-index: 0; }
.woodmart-title-container { position: relative; z-index: 1; background-color: #fff; padding: 0 1rem; }

/* --- PRODUCT GRID --- */
.product-grid-item .product-wrapper .product-element-top { aspect-ratio: 204/323; }
.home .wd-products-element .product-grid-item .product-wrapper .product-element-top { max-width: 246px; margin-inline: auto; }
.tax-product_cat .product-grid-item .product-wrapper .product-element-top, .post-type-archive-product .product-grid-item .product-wrapper .product-element-top { max-width: 143px; margin-inline: auto; }
.product-grid-item .product-wrapper .product-element-top .product-image-link { display: flex; height: 100%; justify-content: start; }
.product-grid-item .product-wrapper .product-element-top .product-image-link img { object-fit: contain; width: auto; height: 100%; }
.product-grid-item .product-wrapper .product-element-bottom { align-items: start; }
.product-grid-item .product-wrapper .product-element-bottom .wd-entities-title { text-align: start; font-size: 15px; }

/* --- HEADER --- */
.whb-general-header :is(.whb-mobile-left, .whb-mobile-right) { flex: unset !important; }
.wd-search-form form input { border: unset; padding-left: 6px; }
.whb-general-header-inner .whb-column_mobile2 { width: 100%; }
.whb-general-header-inner .whb-column_mobile2 .site-logo { width: 100%; }
.whb-general-header-inner .whb-column_mobile2 .wd-logo { width: 100%; }
.whb-general-header-inner .whb-column_mobile2 .wd-logo img { max-width: 195px !important; }
.whb-general-header-inner .whb-column_mobile5 { flex-direction: row-reverse; }
.whb-top-bar-inner .whb-col-center .wd-header-text { color: white; text-align: center; }
.wd-toolbar { display: none; }
body { padding-bottom: unset; }

/* --- SLIDERS --- */
.elementor-element-b8d38ec { min-height: unset; }
#slider-179 .wd-carousel-wrap { height: 268px !important; }
#slider-179 .wd-carousel-wrap .wd-slide { min-height: 268px !important; }
#slider-180 { margin-bottom: 20px; margin-top: 20px; }
#slider-180 .wd-carousel-wrap { height: 158px !important; }
#slider-180 .wd-carousel-wrap .wd-slide { min-height: 158px !important; }
#slider-204 { margin-bottom: 20px; margin-top: 20px; }
#slider-204 .wd-carousel-wrap { height: 130px !important; }
#slider-204 .wd-carousel-wrap .wd-slide { min-height: 130px !important; }
.whb-top-bar .wd-header-text { font-size: 14px; font-weight: 400; }

/* --- CHECKOUT MOBILE --- */
.elementor-element-180c5f7f { border-left: none !important; }
.wd-coupon-form .button { border: 1px solid #ccc !important; color: #010101 !important; background-color: transparent !important; }

/* --- SINGLE PRODUCT TYPOGRAPHY --- */
html .product-image-summary-wrap .product_title,
html .wd-single-title .product_title { font-size: 20px !important; font-weight: 500 !important; }
.product-authors a { font-size: 14px !important; font-weight: 300 !important; color: #E4003A !important; }
.price .amount { font-size: 22px !important; margin-top: 16px !important; }
.tabs-location-summary .tabs-layout-accordion { padding-bottom: 40px; }
.single-product .wd-builder-off { padding-bottom: 60px; }
.woocommerce-breadcrumb .wd-last-link { color: #E4003A !important; font-weight: 500 !important; }
.site-logo-footer { max-width: 172px !important; }

/* Overflow visible para tabs full width */
.single-product-page .summary.entry-summary,
.single-product-page .summary-inner,
.single-product-page .product-image-summary,
.single-product-page .product-image-summary-inner,
.single-product-page .product-image-summary-wrap { overflow: visible !important; }

/* Tabs a full width */
.single-product-page .woocommerce-tabs.wc-tabs-wrapper {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

/* Titulo compacto */
.single-product-page .product_title.entry-title { font-size: 18px !important; line-height: 1.2 !important; margin-bottom: 4px !important; font-weight: 600 !important; }
.single-product-page .wd-product-brands,
.single-product-page .wd-product-brands a,
.single-product-page .custom-product-meta,
.single-product-page .custom-product-meta a { font-size: 13px !important; line-height: 1.3 !important; margin-bottom: 2px !important; }
.single-product-page .custom-product-meta { margin-bottom: 6px !important; }
.single-product-page .summary .price { font-size: 18px !important; font-weight: 700 !important; margin-bottom: 4px !important; margin-top: 0 !important; }
.single-product-page .stock { font-size: 12px !important; margin-bottom: 4px !important; }
.single-product-page .product-title-wishlist { gap: 8px !important; margin-bottom: 2px !important; }
.product_subtitle { font-size: 16px; font-weight: 350; margin: 0 0 15px; line-height: 1.2; }

/* Titulos de seccion */
.slider-title span,
.inner-slider-title span,
.woodmart-title-container span { font-size: 18px !important; }

/* Titulos de productos */
.wd-entities-title,
.wd-product .wd-entities-title a,
.bookGrid .title { font-size: 15px !important; }

/* Coleccion / autor */
.wd-product-cats a,
.wd-product-brands-links a,
.bookGrid .author,
.bookGrid .category { font-size: 11px !important; }

/* Precios en grid */
.wd-product .price { font-size: 13px !important; }

/* Grid icons mas chicos */
.wd-product.wd-hover-icons .wd-action-btn.wd-style-icon > a { width: 36px; height: 36px; }
.wd-product.wd-hover-icons .wd-action-btn.wd-style-icon > a:before { font-size: 16px; }
/* T22: Bordes cupon input gris */
.wd-coupon-form input[type=text] { border: 1px solid #ccc !important; }

.whb-column_mobile5 .wd-header-burger { order: -1 !important; margin-right: auto !important; }

.whb-general-header-inner .whb-column_mobile2 {
    width: auto !important;
    
    display: flex !important;
    
    
    
}
/* Footer mobile: reducir espaciados zona gris */
.elementor-element-adc80c3 { padding-top: 20px !important; padding-bottom: 15px !important; }
.elementor-element-adc80c3 .editorial { margin-bottom: 10px; }
.elementor-element-adc80c3 .editorial .gapped-text { padding-bottom: 5px; padding-top: 5px; }
.elementor-element-adc80c3 .two-cols { margin-top: 0; }
.site-logo-footer { margin-bottom: 10px !important; }

/* Footer mobile: override Elementor padding en zona gris */
.elementor-element-adc80c3 .elementor-widget-container { padding: 20px 16px 15px !important; }
.elementor-element-7bcfa57 .elementor-widget-container { padding: 20px 16px 10px !important; }
.elementor-element-52409d0 .elementor-widget-container { padding: 10px 16px 15px !important; }
.elementor-element-9e66495 .elementor-widget-container { padding: 10px 16px !important; }


/* T17: Reducir peso visual precio en producto */
.single-product-page .summary .price,
.single-product-page .summary .price .amount,
.single-product-page .summary .price .amount bdi {
    font-weight: 300 !important;
    font-size: 20px !important;
}

.single-product-page .description-toggle-btn,
.single-product-page .desc-expand-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 20px !important;
}

/* T19: Reducir espaciado interno Ficha Tecnica */
.single-product-page .shop_attributes tr th,
.single-product-page .shop_attributes tr td {
    padding: 6px 8px !important;
}
.single-product-page .woocommerce-product-attributes-item {
    padding: 4px 0 !important;
}


/* T15: Wishlist dentro de la imagen (mobile) */
.summary-inner .wd-wishlist-btn.wd-style-text {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
    z-index: 99 !important;
}
.summary-inner { position: static !important; }
.product-image-summary-inner { position: relative !important; }

/* T16: Botones carrito y comprar debajo de foto, 100% width */
.single-product-page form.cart {
    position: absolute !important;
    width: 100% !important;
    left: 0 !important;
    bottom: 0 !important; margin: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.single-product-page form.cart button.single_add_to_cart_button,
.single-product-page form.cart .wd-buy-now-btn,
.single-product-page form.cart button[type="submit"] {
    width: 100% !important;
    box-sizing: border-box !important;
}



/* T16: Espacio para botones debajo del grid */
.product-image-summary-inner { padding-bottom: 110px !important; }

/* T18: Boton + descripcion circular negro */
button.see-more-toggle {
    background: #E4003A !important;
    border: none !important;
    color: #FFF !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer;
    line-height: 1;
}

/* T19: Reducir espaciado ficha tecnica rows */
.shop_attributes .woocommerce-product-attributes-item { margin-bottom: 0 !important; }
.shop_attributes .woocommerce-product-attributes-item th,
.shop_attributes .woocommerce-product-attributes-item td { padding: 6px 0 !important; }

/* T20: Related products slider mobile */
.relatedProducts .carousel { position: relative; padding: 0 30px; }
.relatedProducts .bookGrid {
    display: flex !important;
    grid-template-columns: unset !important;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    gap: 15px !important;
    padding: 10px 0 !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.relatedProducts .bookGrid::-webkit-scrollbar { display: none; }
.relatedProducts .bookGrid .book {
    flex: 0 0 42% !important;
    min-width: 140px !important;
    display: flex !important;
}
.relatedProducts .bookGrid .book:nth-of-type(4),
.relatedProducts .bookGrid .book:nth-of-type(5) { display: flex !important; }
.relatedProducts .carousel-arrow {
    opacity: 1 !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 22px !important;
    top: 40% !important;
}
.relatedProducts .carousel-arrow.prev { left: 0 !important; }
.relatedProducts .carousel-arrow.next { right: 0 !important; }
.relatedProducts .carousel-arrow.hidden { display: flex !important; }


/* T21: Imagen libro completa en carrito */
.woocommerce-cart-form .product-thumbnail,
.woocommerce-cart-form .product-thumbnail a,
.woocommerce-cart-form td.product-thumbnail,
td.product-thumbnail {
    height: auto !important;
    max-height: unset !important;
    overflow: visible !important;
}
.woocommerce-cart-form .product-thumbnail img,
td.product-thumbnail img {
    min-width: unset !important;
    max-width: 100px !important;
    width: auto !important;
    height: auto !important;
    max-height: unset !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
}

/* T21: Margen inferior item carrito */
.woocommerce-cart-form .woocommerce-cart-form__cart-item,
.woocommerce-cart-form tr.cart_item { padding-bottom: 15px !important; margin-bottom: 10px !important; }

/* Fix 2026-04-02: center home carousels on mobile */
.home .wd-two-rows-slide {
    display: flex;
    justify-content: center;
}

.home .wd-two-rows-grid {
    width: calc(100% - 56px);
    margin-left: auto;
    margin-right: auto;
    column-gap: 20px !important;
}

/* Fix 2026-04-04: quitar paddings de order-review en mobile */
:is(.woocommerce-checkout > .checkout-order-review, .woocommerce-order-pay #order_review) {
  padding: 0 !important;
}

}

