/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.9.1779733234
Updated: 2026-05-25 18:20:34

*/


/*************************************
 * General
 * **********************************/
h1, h2, h3, h4, h5, p { margin:0; }
.elementor-widget-text-editor p { margin-bottom:15px;  }

.elementor-widget-text-editor ul{ margin-bottom:15px; margin-top:15px; list-style:none; margin-left:0; padding-left:20px; }

.elementor-widget-text-editor ul li{ margin-bottom:7px; }
.elementor-widget-text-editor ul li:before { content:""; display:inline-block; width:18px; height:18px; background-repeat:no-repeat; background-size:100%; background-image:url(img/icon-check-rojo.svg); margin-right:10px; vertical-align:middle; }


.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2 {
    font-size:32px; font-weight: 800; font-style: italic; margin-bottom:20px;
} 
.elementor-widget-text-editor h3 {
    font-size:28px; font-weight: 800; font-style: italic; margin-bottom:20px;
} 





/*************************************
 * Acordeon shortcode
 * **********************************/

/* Contenedor Principal */
.custom-faq-accordion {
    width: 100%;
    max-width: 1000px; /* Ajusta según tu diseño */
    margin: 0 auto;
    font-family: sans-serif; /* Cambiar por tu fuente del sitio */
}

/* Cada fila del acordeón */
.faq-item {
    border-bottom: 1px solid #d94f2b; /* Línea separadora color teja/óxido */
}

/* El botón / Encabezado de la pregunta */
button.faq-toggle {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}
button.faq-toggle:hover {
	background-color:var( --e-global-color-primary ); 
}
button.faq-toggle:hover .faq-title {
	color:#FFF;
}
button.faq-toggle:hover .faq-icon::before,
button.faq-toggle:hover .faq-icon::after {
	background-color:#FFF;
}

/* Estilo del texto de la pregunta */
.faq-title {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
}

/* Icono dinámico (+ / -) con CSS puro */
.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Línea horizontal del más */
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: #d94f2b; /* Color del símbolo */
    transition: transform 0.25s ease-out;
}

/* Línea horizontal */
.faq-icon::before {
    top: 7px;
    left: 0;
    width: 100%;
    height: 2px;
}

/* Línea vertical (que se esconde al abrir) */
.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 100%;
}

/* Cuando el acordeón está ABIERTO */
.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0; /* Desaparece la línea vertical para volverse un menos (-) */
}

/* Contenedor de la respuesta (Oculto por defecto con animación) */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}

/* Espaciado interno de la respuesta */
.faq-content-inner {
    padding: 10px 10px 20px 10px;
    color: #444444;
    font-size: 15px;
    line-height: 1.6;
}




/***************************************
 *   Buscador de Despieces
****************************************/
/* Contenedor General */
.buscador-despiece-container {
    max-width: 1100px;
    margin: 40px auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 0 20px;
}



/* Barra de Búsqueda */
.buscador-form {
    margin-bottom: 50px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 4px;
}

.search-input-wrapper input[type="text"] {
    width: 100%;
    padding: 18px 60px 18px 20px;
    font-size: 16px;
    border: 1px solid var( --e-global-color-primary ); /* Borde naranja/rojo */
    border-radius: 4px;
    outline: none;
    color: #555;
    background-color: #fff;
}

.search-input-wrapper .search-submit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

.search-input-wrapper .search-submit svg {
    color: #d35400; /* Color de la lupa */
    width: 100%;
    height: 100%;
}

/* Grid de Resultados (Tarjetas) */
.resultados-despiece-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    transition: opacity 0.2s ease;
}

/* Diseño de la Tarjeta */
.card-despiece {
    background-color: #eceff1; /* Fondo gris claro */
    padding: 30px 25px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
}

.card-title {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 700;
    color: #37474f;
    text-transform: uppercase;
}

/* Botón de Descarga */
.btn-descargar {
    display: inline-block;
    align-self: flex-start;
    background-color: var( --e-global-color-primary ); /* Rojo oscuro */
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 3px;
    transition: background 0.2s ease;
    border: none;
}

.btn-descargar:hover {
    background-color: #a01414;
}

.btn-descargar.disabled {
    background-color: #b0bec5;
    cursor: not-allowed;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #777;
    font-style: italic;
}