/*
 Theme Name: Hello Elementor Child
 Theme URI: https://elementor.com/
 Description: Child theme for Hello Elementor
 Author: Rearden D&D
 Author URI: https://reardenmarketing.com
 Template: hello-elementor
 Version: 1.0.0
 Text Domain: hello-elementor-child
*/

/* Add custom CSS styles below this line */
html,
body{
width:100%;
overflow-x:hidden;
}
/*Smart copmposite*/
.wooco-wrap .wooco-text, .wooco-wrap .wooco_components{
	color: #212121;
}

/*bug carrito*/
.alignwide {
	margin-inline: 0px;
}

/*mi cuenta*/
.woocommerce-MyAccount-navigation-link{
	padding: 5px;
}
.woocommerce-MyAccount-navigation-link a{
	color: white;
	padding: 5px 10px;
	border-radius: 8px;
}

.woocommerce-MyAccount-navigation-link a:hover{
	background-color: #FACA4D;
}

.woocommerce-MyAccount-content label, .woocommerce form.login label, .woocommerce form.register label{
	color: #212121;
}

.woocommerce-MyAccount-content,  .woocommerce form.login, .woocommerce form.register{
	background-color: white;
	padding: 30px;
	color: #212121
}

.woocommerce-MyAccount-content a, .woocommerce-LostPassword a, 
a.woocommerce-privacy-policy-link{
	color: #238840;
}

.woocommerce-MyAccount-content a:hover, 
a.woocommerce-privacy-policy-link:hover{
	color: #c84d21;
}

/*joinchat*/
.joinchat__woo-btn{
	border-radius: 24px !important;
	width: 100%; margin-top: 5px; text-align: center;}

/*Product price*/
.preciobdi bdi{
	color: #fff;
}

.preciobdioscuro bdi{
	color: #212121;
}

/*icon backgroung home*/
#iconback .elementor-icon {
	background-color: #c84d21;
	border-radius: 100px;
	padding: 10px;
}

/* Background mideer */
.elementor-cta__bg {
    background-position-y: -150px;
}

/* A partir del tamaño tablet */
@media (max-width: 1024px) {
    .elementor-cta__bg {
        background-position-y: 0px;
    }
}

/*filtros edades*/
#filtrosedades ul{ 
	display: flex;	
	margin-top: 30px;
}



#filtrosedades span{ 
	display: none;
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item--chosen a:hover::before{ 
	color: #fff !important;
}

#filtrosedades a{
	color: #fff;
	padding: 25px;
	border-radius: 20px;
	background-color: #FACA4D;
	margin-right: 10px;
	margin-top: 10px;
}

@media (max-width: 824px) {
	
#filtrosedades a{
	color: #fff;
	padding: 8px;
	border-radius: 20px;
	background-color: #FACA4D;
	margin-right: 1px;
	margin-top: 10px;
    }
}

#filtrosedades a:hover{
	color: #fff;
	background-color: #238840;
	border-radius: 15px;
}


#filtrosedades h5{
	color: #212121;
}

/*checkout*/
a.woocommerce-privacy-policy-link{
	color: #c84d21;
}
.woocommerce-checkout #payment {
	border-radius: 30px;
	padding: 20px
}

.cart-subtotal {
	font-size: 16px !important;
}

.order-total {
	font-size: 25px;
	text-align: center;
}

/*custom boton de carrito*/
#cart-button{
	color: white;
}

/*carrito*/
a.wc-block-components-product-name{
	color: #fff;
}
a.wc-block-components-button, button#place_order{
	background-color: #238840;
	padding: 15px 30px;
	border-radius: 30px;
	border: 0px;
	font-weight: 600
}

a.wc-block-components-button:hover, button#place_order:hover{
	background-color: #238840;
	color: #fff;
}
.elementor-kit-125 input:not([type="button"]):not([type="submit"]){
	background-color: #BD97D1;
}

/*agotado*/
span.estado-agotado{
	background-color: #212121;
	border-radius: 10px;
	padding: 3px 6px;
	color: #fff;
}

/*Buscador*/
#buscadorheader input{
	background-color: #FACA4D;
	color: #fff;
}

/*enlaces sin subrayado*/
.page-content a {
	text-decoration: none;
}

/*descuentos-badge*/
#descuentos-badge a{
	background: #212121;
	color: white !important;
	padding: 3px 5px;
	font-size: 12px;
	border-radius: 8px;
}

/*precio con transferencia*/
.precio-transferencia span, .precio-transferencia bdi, .precio-transferencia{
	color: #238840;
	font-weight: 600 !Important;
}

/* Mueve las miniaturas de WooCommerce al costado (izquierda) */
.woocommerce div.product div.images {
  display: flex;
  flex-direction: row-reverse; 
  gap: 10px;
}

.woocommerce div.product div.images .flex-viewport {
  width: 80%; 
}

.woocommerce div.product div.images ol.flex-control-thumbs {
  display: flex;
  flex-direction: column; 
  justify-content: flex-start;
  gap: 10px;
  width: 20%;
  margin: 0;
  padding: 0;
}

.woocommerce div.product div.images ol.flex-control-thumbs li {
  width: 100%;
  list-style: none;
}

.woocommerce div.product div.images ol.flex-control-thumbs img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.woocommerce div.product div.images ol.flex-control-thumbs img.flex-active {
  border-color: #212121; 
}


/* Desktop: miniaturas al costado izquierdo */
@media (min-width: 768px) {
  .woocommerce div.product div.images {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
  }

  .woocommerce div.product div.images .flex-viewport {
    width: 80%;
  }

  .woocommerce div.product div.images ol.flex-control-thumbs {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    width: 20%;
    margin: 0;
    padding: 0;
    max-height: 500px; /* opcional, limita altura si hay muchas miniaturas */
    overflow-y: auto;
  }

  .woocommerce div.product div.images ol.flex-control-thumbs li {
    width: 100%;
    list-style: none;
  }

  .woocommerce div.product div.images ol.flex-control-thumbs img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
  }

  .woocommerce div.product div.images ol.flex-control-thumbs img.flex-active {
    border-color: #212121;
  }
}

/* Mobile: miniaturas debajo, scroll horizontal */
@media (max-width: 767px) {
  .woocommerce div.product div.images {
    flex-direction: column;
  }

  .woocommerce div.product div.images .flex-viewport {
    width: 100%;
    margin-bottom: 10px;
  }

  .woocommerce div.product div.images ol.flex-control-thumbs {
    flex-direction: row;
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 5px;
    padding: 5px 0;
    justify-content: flex-start;
  }

  .woocommerce div.product div.images ol.flex-control-thumbs li {
    width: auto;
    flex: 0 0 auto;
  }

  .woocommerce div.product div.images ol.flex-control-thumbs img {
    height: 60px; /* altura fija para mobile */
    width: auto;
  }
}


/*buscador*/	
form.search-form {
	display: flex;
}
#buscador input.search-field {
	background-color: #fff;
	color: #212723;
}


div.relevanssi-live-search-results-showing {
    left: 0px !important;
    position: absolute;
    top: 50px !important;
    width: 50vw !important;
}

@media (max-width: 768px){
div.relevanssi-live-search-results-showing {
    left: 0px !important;
    position: absolute;
    top: 50px !important;
    width: 70vw !important;
}

}

.relevanssi-live-search-results {
	background-color: #bd97d1 !important;
} 
.relevanssi-live-search-results a{
	color: white !important;
} 
