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

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

.main-page-wrapper{
	padding-top: 0 !important;
}
.site-content{
	margin-bottom: 0 !important;
}
.single-post .site-content,
.woocommerce .site-content,
.woocommerce-account .site-content,
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content{
	margin-bottom: 2rem !important;
}
.wd-scrollbar.platform-Windows {
    --wd-scroll-w: 0px !important;
}
* b.resaltar{
	color: var(--e-global-color-primary) !important;
}
.items_rep .jet-listing-dynamic-repeater__items {
    flex-wrap: wrap !important;
}
.elementor-icon-box-wrapper .elementor-icon-box-title{
	margin-top: 0 !important;
}
.elementor-widget-icon .elementor-icon-wrapper{
	display: flex !important;
}
.elementor-button-content-wrapper{
    display: flex;
    align-items: center;
}
@media(max-width:768px){
    .elementor-icon-box-wrapper{
        display: flex;
        align-items: center;
    }
    .elementor-icon-box-icon{
        line-height:0;   
    }
}

/* ----------> ANIMACIONES */



/* - Efectos - */



/* ----------> CABECERA */

header .elementor-sticky--active{
	box-shadow: 0 0 10px 1px #8181813b;
}
#menu_carrito .menu_borrar,
#menu_carrito .woofc-menu-item-inner-subtotal{
	display: none;
}

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



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

@keyframes pulso-whatsapp {
		0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 70px rgba(37, 211, 102, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}
.wsp_btn{
		animation: pulso-whatsapp 1.7s infinite;
		border-radius: 50px;
}

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

.woofc-action-inner a{
	border-radius: 100px !important;
}
.woofc-area .woofc-area-top {
	background: var(--e-global-color-primary) !important;
}
.woofc-area .woofc-area-top .woofc-area-heading,
.woofc-area .woofc-area-top .woofc-close{
	color: #fff !important;
}
.woofc-action-inner a.woofc-action-checkout{
	background: var(--e-global-color-primary) !important;
	color: #fff !important;
}
.woofc-action-inner a.woofc-action-checkout:hover{
	background: var(--e-global-color-secondary) !important;
	color: #fff;
	border-color: var(--e-global-color-secondary) !important;
}

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

.cfefp-intl-container button.iti__selected-country{
	padding: 0;
}
@-webkit-keyframes cuadrito {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    40% {
        opacity: 0.5;
        transform: translateY(50%);
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
		width: 200%;
		height: 200%;
    }
}

@keyframes cuadrito {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    40% {
        opacity: 0.5;
        transform: translateY(-50%);
    }
    100% {
        opacity: 0;
        transform: translateY(-100%);
        width: 200%;
		height: 200%;
    }
}
.efecto_img {
    position: relative;
    overflow: hidden;
}
.efecto_img:before {
    position: absolute;
	bottom: 0;
	left: 10%;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: url(https://aviationmandm.disenowebperu.org/wp-content/uploads/2025/04/maqueta-plana.png);
    transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
    z-index: 10;
}
.efecto_img:hover:before {
    -webkit-animation: cuadrito 5s;
    animation: cuadrito 5s;
}

/* ----------> CLASTER DE PRODUCTO */

.wd-hover-with-fade .content-product-imagin{
	visibility: hidden !important;
}
.wd-product .product-element-top{
	display:none !important;
}
.wd-product .part-number,
.wd-product .wrap-price{
	margin: 0 !important;
}
.wd-product .product-wrapper{
	border: 1px solid #F6F7F9;
	padding: 12px !important;
	border-radius: 8px !important;
	background: #F6F7F9;
}
.wd-product .product-wrapper:hover{
	border-color: var(--e-global-color-primary);
	transform: scale(1.025);
}
.wd-product .price,
.wd-product .wd-add-btn{
	display: none !important;
}
.wd-product .btn_ver_producto{
	color: #fff;
	border-radius:6px;
	background: var(--e-global-color-primary);
	transition: .4s all ease-in-out;
	top: 12px;
}
.wd-product .btn_ver_producto:hover{
	background: var(--e-global-color-secondary);
}

/* ----------> TIENDA */

.woocommerce .page-title .title{
	font-size: 2.5rem;
}

/* ----------> Barra de busqueda */
.part-number-search-wrapper {
    max-width: 100%;
    position: relative;
}

.part-number-search-form {
    width: 100%;
}

.search-bar-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.search-bar-container input[type='text'] {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 16px;
    outline: none;
}

.search-bar-container input[type='text']::placeholder {
    color: #999;
	font-size: 14px;
}

.search-icon-button {
    background: var(--e-global-color-primary);
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon-button:hover{
	background: var(--e-global-color-secondary);
}

.search-icon-button .dashicons {
    color: white;
    font-size: 20px;
    line-height: 1;
}

.error-message {
    color: #d63638;
    margin-top: 10px;
    font-size: 14px;
}

.part-number-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.part-number-search-results.active {
    display: block;
}

.products-list {
    list-style: none;
    padding: 10px;
    margin: 0;
}

.products-list li {
    margin-bottom: 10px;
}

.products-list li a {
    text-decoration: none;
    color: #0073aa;
}

.products-list li a:hover {
    text-decoration: underline;
}

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

/* - Filtros - */

.elementor-widget-wd_sidebar .sidebar-widget,
.widget-area .sidebar-widget{
	border: 1px solid #dedede;
    border-radius: 10px;
	padding-bottom: 5px;
}
.elementor-widget-wd_sidebar  .sidebar-widget .widget-title,
.widget-area .sidebar-widget .widget-title{
	color: var(--e-global-color-accent);
    font-size: 1.15rem;
    font-weight: 700;
    padding: 10px 15px;
	border-radius: 10px;
	margin-bottom: 0;
}
.elementor-widget-wd_sidebar .sidebar-widget .product-categories,
.widget-area .sidebar-widget .product-categories{
	padding: 0 1rem;
}
.elementor-widget-wd_sidebar .sidebar-widget .product-categories > li:last-child > a,
.widget-area .sidebar-widget .product-categories > li:last-child > a{
	border: none;
}
.elementor-widget-wd_sidebar .sidebar-widget .product-categories > li > a,
.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;
}
.elementor-widget-wd_sidebar .sidebar-widget .product-categories li > a:before,
.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;
}
.elementor-widget-wd_sidebar .sidebar-widget .product-categories li > a:hover:before,
.widget-area .sidebar-widget .product-categories li > a:hover:before{
	background: var(--e-global-color-primary) !important;
}
.elementor-widget-wd_sidebar .sidebar-widget .product-categories li.current-cat > a:before,
.widget-area .sidebar-widget .product-categories li.current-cat > a:before{
	background: var(--e-global-color-primary) !important;
}
.elementor-widget-wd_sidebar .sidebar-widget .price_slider_wrapper,
.widget-area .sidebar-widget .price_slider_wrapper{
	padding: 1rem;
}
.elementor-widget-wd_sidebar .widget_product_categories .wd-cats-toggle,
.widget-area .widget_product_categories .wd-cats-toggle{
	inset-inline-end: 0;
}
.elementor-widget-wd_sidebar  .widget_product_categories .children a,
.widget-area .widget_product_categories .children a{
	padding-inline-start: 20px;
}

/* ----------> PAGINA DE PRODUCTO */

.single_add_to_cart_button{
	
}
.single_add_to_cart_button:hover{
	
}
.single-product .wa-order-class button{
	box-shadow:none !important;
	background: #25d366 !important;
}
.single-product .wa-order-class:hover{
	background: none;
}
.single-product .single_add_to_cart_button:hover,
.single-product .wa-order-class:hover{
	transform: scale(1.05);
	box-shadow:none !important;
}
.mata_campo{
    background: #f6f7f9;
    padding: 12px 16px;
    border-radius: 5px;
    border: 1px solid #dedede;
}
.mata_campo:before{
	color: #000;
	font-size: 0.9rem;
	line-height: .9rem;
	font-weight: 500;
}
.mata_campo.m_part:before{
	content: "Número de Parte:";
}
.mata_campo.m_pn1:before{
	content: "PN ALT:";
}
.mata_campo.m_pn2:before{
	content: "PN ALT:";
}
.mata_campo.m_pn3:before{
	content: "PN ALT:";
}
.mata_campo.m_nsn:before{
	content: "NSN:";
}

@media (min-width: 768px) {
  form.cart > * {
    flex: none !important;
  }
  .woocommerce-variation-add-to-cart > * {
    flex: none !important;
  }
}