/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Paramétrage container large */
[class*=ct-container]>article {
	--wp--style--global--wide-size : calc(var(--theme-normal-container-max-width));
}

/* page les marques pour avoir l'ensemble de la card en background blanc */
.background-blanc div.wp-block-term {background-color: #fff;}

/* Espacement zone de contenu en bottom > top */
[data-vertical-spacing*=bottom] {padding-bottom: 90px;}

/* Pas d'espacement de la zone de contenu sur la home page */
body.home [data-vertical-spacing*=bottom] {padding-bottom: 0;}
body.home [data-vertical-spacing*=top] {padding-top: 0;}

/* Header fond noir sauf sur la page d'accueil */
body:not(.home) header.ct-header {background-color: var(--theme-palette-color-8);}
body:not(.home) header.ct-header [data-row*="middle"] {background-color: var(--theme-palette-color-8);}

/* Champs de formulaire : surcharge ninja forms */
select, textarea, input:is([type=url],[type=tel],[type=text],[type=time],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=number],[type=search],[type=password]), fieldset .wc-stripe-elements-field, .ff-inherit-theme-style .ff-el-form-control:not([size]):not([multiple]) {
	height: var(--has-height, var(--theme-form-field-height, 40px)) !important;
}

/* Pages catégories : titre de la page */
/* [data-prefix="woo_categories"] .hero-section[data-type="type-2"] {--container-padding: 40px 0; --min-height: 100px;} */

/* ========= */
/* HOME PAGE */
/* ========= */

/* Blocs catégories de produits : Affiche le nom de la catégorie au dessus de l'image de la catégorie */
body.home div.home_categories_produit div.wp-block-term {position: relative;}
body.home div.home_categories_produit div.wp-block-term h5 {
	position: absolute; bottom: 10px; width: 100%; text-align: center; background-color: var(--theme-palette-color-9); opacity: 0.9; padding: 6px 0;
}
body.home div.home_categories_produit div.wp-block-term h5 a {
	/* color: var(--theme-palette-color-9); opacity: 0.7; */
}

/* ============== */
/* SINGLE PRODUCT */
/* ============== */

/* taille thumbnail marque */
body.single-product img.lbo_brand_thumbnail {max-width: 150px; max-height: 50px;}
/* Affichage tags sous forme de badges */
body.single-product span.tagged_as {margin-bottom: 30px !important;}
body.single-product span.tagged_as a {background-color: var(--theme-palette-color-5); padding: 5px 10px; border-radius: 15px; margin-right: 10px;}
/* Paragraphe prix */
body.single-product p.price span.lbo_prefix_price {font-weight: normal;}



/* ========== */
/* RESPONSIVE */
/* ========== */

@media (max-width: 689.98px) {
	/* Accueil */
	div[data-device=mobile] button[data-id=trigger] .ct-icon {fill: #fff;}	/* Menu sandwich */
	.home_marques_selectionnees div.wp-block-term a {width: 100px !important;}		/* taille logo marques */
	.home_pourquoi_hifi_passion div.wp-block-columns div.wp-block-column:nth-child(1) {display: none;}	/* n'affiche pas la colonne avec les photos */
}