/*
Theme Name: ArtSpace - Child
Theme URI: https://harutheme.com/artspace
Author: HaruTheme
Author URI: https://harutheme.com/
Description: This is child theme of ArtSpace
Template: artspace
Version: 1.0.0
*/

/*---------------------------------
  	Write your css code from here
------------------------------------*/

/* Navbar ----------------------------------------------------------- */
header .my-wishlist span.total {padding-left: 5px; font-family: Inter !important;}

/* Homepage ----------------------------------------------------------- */
.haru-banner--style-2 .haru-banner__content {display: none;}

/* Archivio artisti ----------------------------------------------------------- */
/* Forza la griglia su Desktop */
.artisti-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 30px 0 !important;
    width: 100% !important;
}

/* Elementi interni */
.artista-item {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 20px 10px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 90px !important;
}

.artista-item a {
    text-decoration: none !important;
    color: #333 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}


/* Chi siamo ---------------------------------------------------------- */
.custom-product-gallery {
    display: flex;
    gap: 15px;
    width: 100%;
    margin: 20px 0;
}

.gallery-item {
    flex: 1;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.image-wrapper {
    width: 100%;
    /* Rapporto aspetto rettangolare verticale (es. 2:3) */
    padding-top: 150%; 
    background-size: cover;
    background-position: center;
    border-radius: 12px; /* Arrotondamento come da immagine */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Filtri Woocommerce ---------------------------------------------------------- */
.lista-filtro-artista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-filtro-artista li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}


.lista-filtro-artista li a {
    text-decoration: none;
    color: #666;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s ease;
}

.lista-filtro-artista li a:hover {
    color: #000;
}

.lista-filtro-artista li span.count {
    color: #999;
    font-size: 13px;
}

/* Nasconde la categoria Uncategorized*/
.cat-item-15 {
    display: none !important;
}

/* Singolo prodotto ---------------------------------------------------------- */
.single-product .product_cat-opera-unica .summary-content .price {display: none !important;}

.single-product .stock.in-stock,
.single-product .sku_wrapper {display: none !important;}


/* Checkout ---------------------------------------------------------- */
/* Alma */
/*label[for="radio-control-wc-payment-method-options-alma_pnx_gateway"] .paymentMethodLabel {*/
/*    display: flex;*/
/*}*/

/* Paypal */
#radio-control-wc-payment-method-options-ppcp-gateway__content .ppcp-place-order-description {text-align: left !important;}

/* Etichette metodi di pagamento */
#radio-control-wc-payment-method-options-stripe__label span, 
#radio-control-wc-payment-method-options-ppcp-gateway__label span, 
#radio-control-wc-payment-method-options-bacs__label span {
    font-weight: 700;
    color: #1a1a1a;
}

/* Blog ----------------------------------------------------------- */
.post-meta-author,
.post-meta-comment,
.author-info {
    display: none !important;
}


/* Media queries ---------------------------------------------------------- */

/* Tablet */
@media screen and (max-width: 992px) {
    .artisti-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .gallery-item:last-child {
        display: none;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .artisti-grid {
        display: grid !important; /* Forza di nuovo il display grid */
        grid-template-columns: repeat(2, 1fr) !important; /* Forza le 2 colonne */
        gap: 10px !important;
    }
    
    .artista-item {
        min-height: 70px !important;
        padding: 10px 5px !important;
    }

    .artista-item a {
        font-size: 15px !important;
    }
    
    /* Archivio prodotti ---------------------------------------------------------- */
    .shop-filter .shop-filter__catalog {display: none !important;}
    
    .shop-filter {display: flex !important;}
    
    .shop-filter .shop-filter__sidebar-btn.hidden-on-desktop,
    .shop-filter .shop-filter__layout {width: calc(100% / 2) !important;}
    
    .shop-filter .shop-filter__layout {margin-left: 0 !important; justify-content: end !important;}
    
    .gallery-item:not(:first-child) {
        display: none;
    }
    .image-wrapper {
        padding-top: 130%; /* Leggermente meno alto su mobile */
    }
}