/*
Theme Name: Hello Elementor Child
Author: Ékiba
Author URI: https://www.agenciaekiba.com/
Description: Hello elementor child 
Version: 1.0
Template: hello-elementor
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
@font-face {
  font-family: 'Eras Demi ITC';
  src: url('/wp-content/uploads/fonts/itc-eras-demi/itc-eras-demi.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

h1,h2,h3,h4,h5,h6{
	font-family: 'Eras Demi ITC' !important;
}
h1{
	font-weight: 700 !important;
}
h2,h3,h4,h5,h6{
	font-weight: 400 !important;
}


/*ESTILOS PARA LOS COLORES DEL LOS PRODUCTOS*/
.product-colors{
	display: flex;
	flex-direction: column;
}
		
	.color-title{
		color: #383838;
	}
		
    .colors {
        display: flex;
		flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .colors .color-dot {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: inline-block;
        border: 1px solid #ccc;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        position: relative;
    }

    .product-colors .color-dot:hover {
        transform: scale(1.2);
        box-shadow: 0 0 5px rgba(0,0,0,0.3);
    }

.woocommerce table.shop_attributes td p{
	margin-left: 10px;
}


/*ESTILOS PARA LOS PRODUCTOS RELACIONADOS*/
    .custom-related-products {
		margin-top: 30px;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
        color: #222;
    }

    .custom-related-products .related-row {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        overflow-x: hidden;
        padding-bottom: 8px;
    }

    .custom-related-products .related-item {
        min-width: 180px;
        flex: 1;
        border: 1px solid #eee;
        border-radius: 10px;
        padding: 8px 10px;
        background: #fff;
        transition: all 0.3s ease;
        flex-basis: fit-content;
    }

    .custom-related-products .related-item:hover {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transform: translateY(-3px);
    }

    .custom-related-products .related-link {
        text-decoration: none;
        color: inherit;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .custom-related-products .related-content {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .custom-related-products .related-thumb img {
        width: 50px;
        height: 50px;
        object-fit: contain;
        border-radius: 6px;
    }

    .custom-related-products .related-name {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.3;
        flex: 1;
    }

/*ESTILOS PARA LA DAR FORMATO A LA LISTA*/

.contenedor-producto-lista .contenido-descripcion-producto ul {
	padding-left: 20px;
}

.contenedor-producto-lista .contenido-descripcion-producto li:not(:last-child) {
	margin-bottom: 7px;
}

/*ESTILOS PARA EL BOTÓN DE FICHA TÉCNICA*/
.ficha-tecnica-btn{
	display: inline-block;
   	background-color: #5B9BD5;
   	color: #fff;
   	font-weight: 600;
   	padding: 10px 20px;
   	border-radius: 4px;
   	text-decoration: none;
   	transition: all 0.2s ease;
}

.ficha-tecnica-btn:hover{
	background-color: #0085BA; 
	color: white;
}

/*ALTURA ESPECÍFICO PARA LOS PRODUCTOS DE LAS VENTAS CRUZADAS*/
.woocommerce ul.products li.product a img{
	height: 150px;
}
