/* 
Theme Name: PDF MOTOMANUAL
Theme URI: https://github.com/elementor/hello-theme-child/
Description: PDF MOTOMANUAL es un tema hijo para realizar cambios de estilos.
Author: Idital
Author URI: https://idital.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.pagination{
    justify-content: space-between !important;
    gap: 20px;
    flex-wrap: nowrap !important;
}

.pagination-buttons{
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.pagination-button{
    width: 48px;
    height: 48px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-button.active{
    color: #fff;
    background-color: #c36;
    text-decoration: none;
    border: solid 1px #000;
}

.meta {
    align-self: center;
    font-weight: 600;
    color: var(--e-global-color-secondary);
    margin-bottom: 0;
    margin-right: 40px;
}

/* Estilos para el tamaño del archivo en la página de producto individual */
.product-file-size {
    margin: 15px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #c36;
}

.product-file-size p {
    margin: 0;
    font-size: 1em;
}

/* Estilos para los enlaces a "Cómo se nombran los archivos" */
.naming-files-link {
    margin: 15px 0;
}

.naming-files-info-link,
.naming-files-cart-link,
.naming-files-shop-link {
    color: #c36;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.naming-files-info-link:hover,
.naming-files-cart-link:hover,
.naming-files-shop-link:hover {
    color: #333;
}

/* Aviso en la página de tienda */
.shop-naming-files-notice {
    background-color: #f9f9f9;
    border-left: 3px solid #c36;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.shop-naming-files-notice p {
    margin: 0;
    font-size: 0.95em;
}

/* Estilos para el enlace debajo de "Selecciona un idioma para ver los productos" */
.naming-files-container {
    margin-top: 10px;
    font-size: 0.9em;
    list-style: none;
    text-align: left;
}

#products-container {
    padding-left: 0;
}

/* Estilos para el checkbox de aceptación y el botón de pago */
.terms-acceptance {
    margin: 20px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.terms-acceptance label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.terms-acceptance input[type="checkbox"] {
    margin-right: 10px;
}

#place_order.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

li.product{
    flex-wrap: nowrap !important;
}

h2.product-title{
    max-width: 640px !important;
}

#languages-container{
    margin: 20px auto 2rem !important;
}

#languages-list{
    display: flex;
    flex-wrap: wrap;
}

#products-container{
    list-style: none;
}

.search-results .page-header .entry-title{
    font-size: 1.9rem;
    margin-top: 70px;
    margin-bottom: 30px;
}

.search-results  .page-content  .entry-title{
    font-size: 1.3rem;
    margin-bottom: 5px !important;
}

.search-results  .page-content  .product-meta{
    display: flex;
    gap: 40px;
    font-size: 0.9rem;
    font-weight: 500;
}

.search-results article.post{
    border-bottom: dotted 1px #ccc;
    margin-bottom: 15px;
}

.search-results article.post:last-child{
    border-bottom: none;
}

.search-results .pagination{
    margin-bottom: 80px;
}
