/*
Theme Name: Enfold Child
Template: enfold
Version: 1.0.0
Arte-marco
Look And Feel
*/

@import url("../enfold/style.css");

/* CUSTOM PRODUCT CARD */
.custom-product-card {
    padding: 12px;
    text-align: left;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 0;
    transition: box-shadow 0.3s ease;
}

.custom-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.woocommerce-loop-product__title {
    display: block;
    min-height: 48px;
    line-height: 1.3;
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 6px;
    color: #222;
    overflow: hidden;
}
.datos-obra {
    margin-top: 6px;
    font-size: smaller;
    color: #444;
    background-color: #fcfcfc;
    padding: 10px 12px;
    border-top: 1px solid #e6e6e6;
}

.fila-superior {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
}

.fila-superior .dato:first-child {
    flex: 3 1 75%; /* Técnica ocupa la mayor parte */
}

.fila-superior .dato:last-child {
    flex: 0 1 25%; /* Año mucho más estrecha */
}

.fila-inferior {
    margin-top: 5px;
    color: #444;
}


.precio {
    margin-top: 10px;
    font-weight: bold;
    font-size: 15px;
    color: #000;
    background-color: #fcfcfc;
    padding: 10px 12px;
    border-top: 1px solid #e6e6e6;
}

.add-to-cart {
    border-top: 1px solid #e6e6e6;
    background-color: #fcfcfc;
    padding: 10px 12px;
    margin-bottom: 0;
}

.add-to-cart .button {
    width: 100%;
    background-color: #111;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 0;
    transition: background-color 0.3s ease;
    text-align: center;
    display: block;
    margin-top: 6px;
}

.add-to-cart .button:hover {
    background-color: #333;
}




/* ARTISTA TAXONOMY TEMPLATE */
.artista-contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.artista-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.artista-foto-circular {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.artista-foto-circular img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.artista-info {
    flex: 1;
}

.artista-nombre {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.artist-role {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 10px;
}

.artist-bio {
    font-size: 16px;
    line-height: 1.6em;
    color: #333;
}

.artista-redes a {
    display: inline-block;
    margin-top: 0.5rem;
    color: #fff;
    background-color: #e4405f;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
}

/* SECCIÓN OBRAS */
.obras-title {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

/* CUSTOM GRID RESPONSIVE */
.artista-productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/*artista grid/*
/* Página de archivo de taxonomía artistas */
.tax-product_artista .container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.tax-product_artista h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
    color: #222;
}

/* Grid de artistas */
.artistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

/* Tarjeta del artista */
.artista-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    text-align: center;
    padding: 20px 10px;
    transition: transform 0.3s ease;
}

.artista-card:hover {
    transform: translateY(-5px);
}

/* Imagen circular */
.artista-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Nombre del artista */
.artista-card h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
    color: #000;
}

/* Número de obras */
.artista-card .obras {
    font-size: 14px;
    color: #666;
}



/*artista page*/

.artistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.artista-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    text-decoration: none;
    color: #000;
    transition: transform 0.2s ease;
}

.artista-card:hover {
    transform: scale(1.03);
}

.artista-thumb img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 15px;
}

.artista-info h2 {
    font-size: 18px;
    margin: 0 0 5px;
}

.artista-info span {
    color: #666;
    font-size: 14px;
}

/* comentarios */

.comment-entry.post-entry, .comment-container.minor-meta {display:none !important;}


/* product image */
.custom-product-card .image-overlay {
    pointer-events: none;
    opacity: 0 !important;
    visibility: hidden;
}
.custom-product-card a img {
    transition: transform 0.3s ease;
}

.custom-product-card a:hover img {
    transform: scale(1.05);
}




/* custom box product per page */
.woocommerce-page .button {float:none !important;}



/* Home image slider */
.avia-slideshow .image-overlay {
    display: none !important;
}

img[title] {
  pointer-events: none;
}



/*media query*/


@media only screen and (max-width: 767px) {
    
    
    /* Custom footer second column*/
 #footer .flex_column.av_one_fourth.el_after_av_one_fourth.el_before_av_one_fourth:nth-of-type(2) {
    display: none !important;
}


    
      .custom-product-card {
    min-height: 520px; /* ajusta según el contenido más alto */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
    
    
/* RESPONSIVE 2 COLUMNS EN MÓVIL */    
    
    
    .artista-productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    ul.products li.product {
        width: 48% !important;
        margin-bottom: 20px !important;
        float: left !important;
        clear: none !important;
    }
    
   .page-id-3228 #av_section_1 .container.av-section-cont-open {
    margin-left: 22px !important;
    }
    
        
}

@media only screen and (max-width: 469px) {
    
    
 .responsive #top #main .products .product
   {margin: 0 0 20px 5px;width: 100%;}
    
}
