/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      2.0
 Text Domain:  woodmart
*/

/* ----------> GENERAL */

.main-page-wrapper{
	padding-top: 0 !important;
}
.site-content{
	margin-bottom: 0 !important;
}
.woocommerce .site-content,
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content{
	margin-bottom: 2rem !important;
}
@media (min-width: 768px) {
  form.cart > * {
    flex: none !important;
  }
  .woocommerce-variation-add-to-cart > * {
    flex: none !important;
  }
}
.scrollToTop{
	right:32px !important;
	bottom: 105px !important;
}

/* ----- Cabecera / Barra de busqueda ----- */

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
	border: 1px solid #04619a !important;
}
html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
	box-shadow: none !important;
}
#menu_carrito .menu_borrar, #menu_carrito .woofc-menu-item-inner-subtotal{
	display: none;
}
#menu_carrito .woofc-menu-item a{
	padding: 0;
}
#menu_carrito .woofc-menu-item .woofc-menu-item-inner i{
	font-size: 2rem;
	color: #fff;
}
#menu_carrito .woofc-menu-item .woofc-menu-item-inner:after{
	left: 20px;
	background: #000 !important;
}
.icon_tienda:hover svg{
    fill: var(--e-global-color-primary) !important;
}
#menu_carrito:hover .woofc-menu-item .woofc-menu-item-inner i{
    color: var(--e-global-color-primary) !important;
}

/* ----------> PIE DE PAGINA */

@keyframes pulso-wsp-foot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.botones-flotantes a {
    font-family: "Lexend", Arial, Helvetica, sans-serif;
    text-decoration: none;
}

/* IZQUIERDA */

.boton-wsp.flot-izq {
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 1000;
    padding: 8px;
    background: #25d366;
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    animation: pulso-wsp-foot 1.7s infinite;
}

.boton-wsp.flot-izq:before {
    content: "\edaa";
    font-family: "Huge Icons" !important;
    color: #fff;
    font-size: 32px;
}


@media(max-width:768px) {
    .boton-wsp.flot-izq {
        bottom: 20px;
        left: 10px !important;
    }
}

.iconos_pdp .elementor-icon{
	z-index: 5;
	transition: 0.5s all;
}
.iconos_pdp .elementor-icon-box-icon:before{
	content:"";
	position: absolute;
	width:10px;
	height:10px;
	background: var(--e-global-color-primary);
	top: 0;
	left: -10px;
	border-radius:50%;
	transition: 0.5s all ease-in;
}
.iconos_pdp .elementor-icon-box-wrapper:hover .elementor-icon{
	fill: #fff;
}
.iconos_pdp .elementor-icon-box-wrapper:hover .elementor-icon-box-icon:before{
	width: 50px;
    height: 50px;
    z-index: 0;
    top: 7px;
    left: -9.5px;
}
.elementor-message.elementor-message-danger {
    color: transparent;
}
.elementor-message.elementor-message-danger:before {
    content: "✅ Se ha enviado correctamente";
    color: #fff;
    font-family: var(--e-global-typography-text-font-family), sans-serif;
}

/* ----------> BUSCADOR */


html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
	box-shadow: none !important;
}

/* ----------> CARRITO FLOTANTE */

.woofc-area .woofc-area-top{
	background: var(--e-global-color-primary) !important;
	color: #fff !important;
}
.woofc-area .woofc-area-top .woofc-close{
	color: #fff !important;
}
.woofc-count.woofc-count-bottom-right{
	right: 25px !important;
	bottom: 25px !important;
	box-shadow:0 0 15px rgba(37,143,103,.1) !important;
	-webkit-box-shadow: 0 0 15px rgba(37,143,103,.1) !important;
}
.woofc-area a.woofc-action-checkout{
	background: var(--e-global-color-primary) !important;
	border: 1px solid var(--e-global-color-primary) !important;
	color: #fff !important;
}

/* ----------> BOTON DE WSP */

@keyframes pulso-whatsapp {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgb(55, 180, 100, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 70px rgb(55, 180, 100, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgb(55, 180, 100, 0);
	}
}
.btn_wsp{
	animation: pulso-whatsapp 1.7s infinite;
	transition: 0.5s all;
	border-radius: 50px;
}

/* ----------> PAGINA DE INICIO */

.category-grid-item .category-image-wrapp{
	overflow: visible;
    padding: 1.25rem;
    border-radius: 8px !important;
    background: var(--e-global-color-primary);
}
.category-grid-item .more-products{
	display: none;
}
.slider_inicio .bg_contenido{
	background: #fff;
	padding: 0.25rem 1.5rem;
    border-radius: 10px;
}
.slider_inicio .bg_resal{
	color: var( --e-global-color-primary );	
}

/* ----------> CLASTER DE PRODUCTOS */

.wd-hover-with-fade .content-product-imagin{
	visibility: hidden !important;
}
.wd-product{
	padding: 0.75rem;
    border: 1px solid #f2f2f2;
    border-radius: 8px;
	transition: 0.5s ease-in all;
}
.wd-product:hover{
	transform: scale(1.025);
}

.wsp-producto {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 25px;
    transition: .4s all ease-in-out;
}

/* Wrapper principal de precios personalizados */
.precios-personalizados-wrapper {
    margin-bottom: 15px;
    margin-top: 10px;
    width: -webkit-fill-available;
}

/* PRODUCTO CON DESCUENTO - Precio Online */
.precio-online-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.precio-online-label {
    color: #e74c3c;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
}

.precio-online-monto {
    color: #e74c3c;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.precio-online-monto .woocommerce-Price-amount {
    color: #e74c3c;
}

/* PRODUCTO CON DESCUENTO - Precio Regular */
.precio-regular-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.precio-regular-label {
    color: #7f8c8d;
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
}

.precio-regular-monto {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1;
}

.precio-regular-monto del {
    text-decoration: line-through;
}

.precio-regular-monto .woocommerce-Price-amount {
    color: #7f8c8d;
}

/* PRODUCTO SIN DESCUENTO - Precio Normal */
.precio-normal-box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: -webkit-fill-available;
    justify-content: space-between;
}

.precio-normal-label {
    color: #7a7a7a;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
}

.precio-normal-monto {
    color: #333;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

.precio-normal-monto .woocommerce-Price-amount {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .precio-online-monto,
    .precio-normal-monto {
        font-size: 16px;
    }
    
    .precio-online-label,
    .precio-regular-label,
    .precio-normal-label {
        font-size: 12px;
    }
}

.wsp-producto:hover{
	color: #fff;
    transform: scale(1.02);
}

/* ----------> PAGINA DE TIENDA */

.woocommerce .page-title .title{
	font-size: 2.5rem;
}
@media (min-width: 1025px) {
    .title-size-default {
        --wd-title-sp: 25px !important;
    }
}

/* ----------> FILTRO DE TIENDA */

.widget-area .sidebar-widget{
	border: 1px solid #dedede;
    border-radius: 10px;
	padding-bottom: 5px;
}
.widget-area .sidebar-widget .widget-title{
	color: #4d4d4d;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1rem;
	border-radius: 10px;
    background: #f4f4f4;
	margin-bottom: 0;
}
.widget-area .sidebar-widget .product-categories{
	padding: 0 1rem;
}
.widget-area .sidebar-widget .product-categories > li:last-child > a{
	border: none;
}
.widget-area .sidebar-widget .product-categories > li > a{
	border-bottom: 1px solid #d9d9d9;
    color: #333;
    display: block;
    position: relative;
    font-size: 14px;
    line-height: 19px;
    padding: 10px 20px 10px 20px;
}
.widget-area .sidebar-widget .product-categories li > a:before{
    content: "";
    max-width: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 0;
    border: 1px solid var(--e-global-color-primary) !important;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.widget-area .sidebar-widget .product-categories li > a:hover:before{
	background: var(--e-global-color-primary) !important;
}
.widget-area .sidebar-widget .product-categories li.current-cat > a:before{
	background: var(--e-global-color-primary) !important;
}
.widget-area .sidebar-widget .price_slider_wrapper{
	padding: 1rem;
}
.widget-area .widget_product_categories .wd-cats-toggle{
	inset-inline-end: 0;
}
.widget-area .widget_product_categories .children a{
	padding-inline-start: 20px;
}

/* ----------> PLANTILLA - PRODUCTO */

.single-product .single_add_to_cart_button{
	background: var(--e-global-color-primary);
	border-radius: 8px;
	box-shadow:none !important;
	font-weight: 700;
	transition: 0.5s all ease-in;
}
.single-product .wa-order-class{
	box-shadow:none !important;
}
.single-product .wa-order-class:hover{
	transform: none;
	background: none;
}
.single-product .wa-order-class .wa-order-button:hover{
	box-shadow: none !important;
	transform: translateY(0);
}
.single-product .single_add_to_cart_button:hover,
.single-product .wa-order-class:hover{
	transform: scale(1.05);
}
.single-product .single_add_to_cart_button:hover{
	background: var(--e-global-color-primary) !important
}

/* ----------> PAGINA DE CARRITO */

.wd-coupon-form .button[name="apply_coupon"],
.cart-totals-inner .checkout-button{
	background: var(--e-global-color-primary)
}
.wd-coupon-form .button[name="apply_coupon"]:hover,
.cart-totals-inner .checkout-button:hover{
	background: var(--e-global-color-accent)
}

/* ----------> FORMULARIO DE COMPRA */

.woocommerce-billing-fields>h3{
	display: none;
}
.woocommerce #billing_country_field span.woocommerce-input-wrapper{
	border: 1px solid #0000001a;
    display: flex;
    padding: 8px 20px;
	border-radius: 25px;
}
label[for="payment_method_micuentawebstd"] img{
    max-width: fit-content !important;
}
#place_order,
.checkout_coupon .button{
	background: var(--e-global-color-primary);
	border-radius: 8px;
	box-shadow: none !important;
}
#place_order:hover,
.checkout_coupon .button:hover{
	background: var(--e-global-color-accent);
}