/*
Theme Name: Beast Records v2
Template: botiga
*/

.content-wrapper{
    margin-top: 0!important;
}

.woocommerce-page-header .container, .page-header .container
 {
        max-width: 100%;
        padding: 0;
}

.woocommerce-page-header .container .woocommerce-breadcrumb, .page-header .container .woocommerce-breadcrumb{
        padding: 15px;
        margin: 0;
}

.woocommerce-products-header__title, .page-title {
    background-color: rgba(33, 33, 33, .1);
    padding: 50px 1500px;
    margin: 0 -1500px;
    text-align: center;
}

.woocommerce-page-header, .page-header {
  margin: 0;
  padding: 0;
}

.bhfb-header
 {
    border-bottom: 1px solid rgba(33, 33, 33, .1);
    padding-bottom: 10px;
}

/* Page liste des artistes */

.page-bands-header {
    width: 100%;
}

.container-bands {
    margin-top: 30px!important;
}

.page-template-template-band-list .content-wrapper {
    margin-top: 0!important;
}

.row-bands {
    width: 100%;
    display: block;
}

.list-bands {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* Centre les éléments horizontalement */
    width: 100%;               
    margin: 0;
    padding: 0 15px;
}

.list-bands li{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    width: 200px;
    text-align: center;
}

.band-title {
    font-size:16px;
    margin: 5px 0 0 0;
}

/* Page fiche artiste */

.acf-band-photo {
    width: 100%;
    max-width: 100%;
    height:60vw;
    max-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px; /* Optionnel, pour arrondir les coins */
    margin-bottom: 24px; /* Optionnel, espace sous la photo */
}

.acf-band-social-wrapper{
    padding: 15px;
    background-color: rgba(33, 33, 33, .1);
    margin: 0 0 20px;
}


/* Page d'accueil */

.home .woocommerce-products-header__title,.home .page-title {
    background-color: rgba(33, 33, 33, .1);
    padding: 50px 1500px;
    text-align: center;
}

.home .entry-header {
    display:none!important;
}

.page-title-home {
    margin-bottom: 30px;
}

.home .content-wrapper {
    margin-top:0!important;
}

.home .wp-block-latest-posts__featured-image img { 
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.home .wp-block-latest-posts__post-title {
    text-decoration: none!important;
}

/* Page boutique */

.woocommerce-page-header+.content-wrapper {
    margin-top: 50px;
    margin-bottom: 40px;
}

.woocommerce-shop .woocommerce-breadcrumb {
    display:none!important;
}

.woocommerce-sorting-wrapper select {
    padding: 10px 35px 10px 20px;
    max-width: 300px;
    min-height: auto;
}

/* Page Actus */

.blog .woocommerce-products-header__title, .page-title {
    background-color: rgba(33, 33, 33, .1);
    padding: 50px 15px;
    text-align: center;
}

.posts-archive .post-align-left {
    border-bottom: 1px solid rgba(33, 33, 33, .1)!important;
    padding-bottom: 40px!important;
}

.content-wrapper, .single-post .content-wrapper {
    margin-top: 50p!important;
    margin-bottom: 50px!important;
}

@media (min-width: 1025px) {
    .single-post .content-wrapper {
        margin-top: 50p!important;
        margin-bottom: 50px!important;
    }
}

.single-post .post-thumbnail {
    text-align: center;
}

.entry-meta .author, 
.post-meta .author, 
.byline, 
.author-name {
  display: none !important;
}

.entry-meta .posted-on:after {
   display: none;
}

/* Icones panier dans la liste des produits */
.bouton-panier-icone {
    border: none;
    background: none!important;
    border: none!important;
    margin: 0!important;
    padding: 0!important;
    color: #212121!important;
}

.product-price-block .added_to_cart, .bouton-panier-icone:after  {
    display:none!important;
}

.related.products {
    display: none !important;
}


/*  */

.site-main {
    padding-top: 15px;
}

.page-template .site-main, .page-template-default .site-main {
    padding-top: 0px;
}

p {
    margin-bottom: var(--bt-paragraph-margin-bottom, 20px);
    margin-top: 0;
}

/* Liste des produits */

.woocommerce-loop-product__title a {
    text-decoration: none;
}

.nom-groupe, .titre-album , .code-album {
    display: block;
    text-align: center;
}

.product-price {
    font-weight:bold;
    color: green;
}

.product-out-of-stock {
    font-weight:bold;
    color: red;
}

.product-image-wrapper {
    position: relative;
    text-align: center;
}

.product-image img {
    width: 100%;
    display: block;
    border-radius: 6px;
    transition: filter 0.3s, opacity 0.3s;
}

.product-image.outofstock img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.badge-outofstock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #c00;
    color: #fff;
    font-weight: bold;
    padding: 6px 18px;
    border-radius: 18px;
    font-size: 1.1em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    pointer-events: none;
}

.product-price-block {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.product-cat-icon img {
    display: block;
    max-height: 30px;
}

/* Fiche produit */

.fiche-produit-code-album {
    font-size:75%;
}

.additional_information_tab {
    display:none!important;
}

/* Séparateur */

.wp-block-separator {
    border-color: rgba(33, 33, 33, .1);
    margin: 30px 0;
    display: block;
}

/* Footer */

.bhfb-above_footer_row {
    padding: 30px 0;
}

.bhfb-above_footer_row .wc-block-product-categories {
    margin-bottom: 0;
}

.bhfb-above_footer_row .widget {
    margin: 0;
    padding-bottom:0;
}

.bhfb-above_footer_row ul li {
    padding:0;
}

.bhfb-above_footer_row ul li ul, .bhfb-above_footer_row ul li .wc-block-product-categories-list-item-count{
    display:none;
}

.bhfb-above_footer_row h2{
    font-size:var(--bt-font-size-footer-widgets-title, 20px);
    margin: 0 0 10px!important;
    padding: 0;
    text-transform: uppercase;
}

/* Footer copyright */

.bhfb-component-copyright {
    text-align: center;
    margin: 0 auto;
}