/*
Theme Name:   Hello Elementor Child
Theme URI:    https://glmmaquinas.com.ar/
Description:  Tema hijo personalizado para Hello Elementor
Author:       Rupha
Author URI:   https://rupha.com.ar
Template:     hello-elementor
Version:      2.0.0
*/

/* Acá abajo vas a poder meter tu CSS personalizado más adelante */
/* ==========================================================================
   Estilos personalizados para Páginas de Archivo (Fondo Negro)
   ========================================================================== */

/* Contenedor principal con fondo negro */
.contenedor-archivo {
    background-color: #121212 !important;
    color: #e0e0e0;
    padding: 40px 20px;
    min-height: 80vh;
}

/* Encabezado del archivo (Título de la categoría) */
.contenedor-archivo .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.contenedor-archivo .page-header .entry-title {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contenedor-archivo .page-header .archive-description {
    color: #a0a0a0;
    font-size: 1.1rem;
}

/* Disposición en Grid (Cuadrícula de 3 columnas responsiva) */
.grid-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilo de la tarjeta individual */
.tarjeta-post {
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Efecto al pasar el mouse sobre la tarjeta */
.tarjeta-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border-color: #3a3a3a;
}

/* Contenedor de la imagen destacada */
.tarjeta-imagen img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Espaciado del contenido de la tarjeta */
.tarjeta-cuerpo {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Títulos de los posts */
.tarjeta-titulo a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.tarjeta-titulo a:hover {
    color: #3498db !important; /* Cambia este color por el de acento de tu web */
}

/* Extracto o resumen del post */
.tarjeta-extracto, 
.tarjeta-extracto p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* Paginación inferior */
.contenedor-archivo .pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
}

.contenedor-archivo .pagination a {
    color: #ffffff;
    background-color: #1e1e1e;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #2a2a2a;
    transition: background 0.2s;
}

.contenedor-archivo .pagination a:hover {
    background-color: #3498db;
    border-color: #3498db;
}

#colophon {
    background-color: #121212 !important;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
    padding: 1em 2em 1em 3.5em;
    margin: 0 0 0em !important;
    position: relative;
    background-color: #f6f5f8;
    color: #515151;
    border-top: 3px solid #720eec;
    list-style: none outside;
    width: auto;
    word-wrap: break-word;
}

/* Solo archivos de categoría */
.glm-archivo--category .glm-archivo__titulo {
    color: #3498db;
}

/* Fecha en cada tarjeta */
.glm-tarjeta__fecha {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

/* Botón "Leer más" */
.glm-tarjeta__leer-mas {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.glm-tarjeta__leer-mas:hover {
    text-decoration: underline;
}

/* Imagen con efecto */
.glm-tarjeta__thumb {
    transition: transform 0.3s ease;
}

.glm-tarjeta:hover .glm-tarjeta__thumb {
    transform: scale(1.05);
}

/* ==========================================================================
   Estilos personalizados para Tienda / Archivo de productos (WooCommerce)
   ========================================================================== */

/* Contenedor principal de la tienda */
.contenedor-tienda,
.glm-tienda {
    background-color: #121212 !important; 
    /* color: #e0e0e0; */
    /* padding: 40px 20px; */
}

/* Encabezado (título de tienda / categoría / etiqueta) */
.glm-tienda__header {
    /* text-align: center; */
    /* margin-bottom: 40px; */
}

/* Controles: avisos, contador y orden */
.glm-tienda__controles {
    /* display: flex; */
    /* justify-content: space-between; */
    /* align-items: center; */
    /* margin-bottom: 24px; */
}

/* Grilla de productos */
.glm-tienda__grid {
    /* max-width: 1200px; */
    /* margin: 0 auto; */
}

/* Paginación */
.glm-tienda__paginacion {
    /* margin-top: 40px; */
    /* text-align: center; */
}

/* Sin productos */
.glm-tienda__vacio {
    /* text-align: center; */
    /* padding: 60px 20px; */
}

/* Sidebar de la tienda */
.glm-tienda__sidebar {
    /* margin-top: 40px; */
}

/* Variantes por tipo de archivo */
.glm-tienda--shop {
}

.glm-tienda--category {
}

.glm-tienda--tag {
}

.glm-tienda--taxonomy {
}

#content.contenedor-tienda.glm-tienda--category {
    background-color: #121212 !important;
}
#page {
    background-color: #121212 !important;
}
#primary {
    background-color: black;
}

#primary {
    background-color: #121212 !important;
}

.content-area {
    background-color: #121212 !important;
}
.woocommerce-products-header__title.page-title {
    color: #fff;
}
.woocommerce-result-count {
    color: #ffffff;
}
.woocommerce-loop-product__title {
    color: #fff;
}
.woocommerce ul.products li.product .price {
    display: block;
    font-weight: 400;
    margin-bottom: .5em;
    font-size: 2em;
    color: #fff;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: left;
    margin: 0 3.8% 2.992em 0;
    padding: 20px;
    position: relative;
    width: 20%;
    margin-left: 0;
    border: solid;
   
}

