/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/** Mise en page pour le formulaire ContactForm 7 **/
.cf7sg-container .cf7-smart-grid.has-grid .row {
    margin: 10px 0 10px 0 !important;
}



}

.uagb-block-ef4b0ccf .uagb-ifb-icon svg, .uagb-block-f377d69f .uagb-ifb-icon svg, .uagb-block-1984e56e .uagb-ifb-icon svg {
    fill: #1A1A1A;
}

.ast-button, .ast-custom-button, body, button, input[type="button"], input[type="submit"], textarea {
  line-height: 1;
}
body p {
  line-height: 1.4rem;
}
:root :where(.wp-element-button, .wp-block-button__link) {
  font-size:0.9rem; 
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
  min-height: 10px !important;
}
.site-below-footer-wrap {
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-above-footer-wrap, .site-below-footer-wrap {
  padding-top: 20px;
  padding-bottom: 10px;
}
	
/** Mise en page pour WooCommerce **/




.wc-block-grid__product-price {
    display: none !important;
}
.ast-separate-container .type-product.ast-article-single {padding:0}

.ast-woocommerce-container {
    display: block;
    clear: both;
    margin-top: 140px;
}

.wc-block-grid .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title a {
    color: #1A1A1A;
}



.woocommerce div.product .product_meta > span {display:block; line-height:1.3em}
.woocommerce div.product .product_meta > span.posted_in {display:none}

.wc-block-grid .wc-block-grid__products .wc-block-grid__product {text-align: center;}
.wc-block-grid .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title {font-size:15px}


.printpdf {margin-top:15px}

.woocommerce-result-count,
.woocommerce-ordering {
	display:none !important}	
.catdesc {
	clear: both;
	background-color:white; 
	padding:10px 20px; 
	border-radius:5px;
	margin-bottom:20px
	}

h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title  {font-size:0.9em}

.woocommerce-js a.woocommerce-pdf-catalog-button.button,
a.woocommerce-pdf-catalog-button {
  font-weight: 400;
  font-size: 14px;
  font-size: 0.77777777777778rem;
}

/*********************************/
/*      page produits custom     */ 
/*********************************/
/* Cacher par défaut */
#filtercat,
#filterprod {
  display: none;
}

/* Si aucun filtre actif → on montre le bloc catégories */
.ogs-show #filtercat {
  display: block;
}

/* Si un filtre est actif → on montre le bloc produits */
.ogs-show-products #filterprod {
  display: block;
  padding-top:0px
}

.ogs-categories-grid {
  display: grid;
  /* grid-template-columns: repeat(4, 1fr); Toujours 4 colonnes fixes */
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 20px;
  justify-content: center; 
  /* max-width: calc(4 * 180px + 3 * 24px);  max largeur = 4 colonnes + gaps */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.ogs-cat-item {
  display: block;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ogs-cat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.ogs-cat-thumb {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  overflow: hidden;
  background: #f7f7f7;
  border-radius: 8px;
}

.ogs-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pour remplir les cases vides (quand moins de 4 catégories) */
.ogs-cat-item.empty {
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}


h3.ogs-cat-title {
  padding: 15px 10px 15px 10px;
  font-size:18px
}
/***********************************/
/*      fin page produits custom     */ 
/**********************************/

/* Conteneur des pastilles */
.astra-shop-thumbnail-wrap .color-dots {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 20;
    pointer-events: none;
}
.astra-shop-thumbnail-wrap .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #bbb;
}
.astra-shop-thumbnail-wrap .dot.gris { background: #ccc; }
.astra-shop-thumbnail-wrap .dot.noir { background: #000; }
.astra-shop-thumbnail-wrap .dot.blanc { background: #fff; }
.astra-shop-thumbnail-wrap {
    position: relative;
}









h2.category-main {margin-bottom:20px !important; text-transform:uppercase}
.category-description  {margin-bottom:20px !important}



@media (max-width: 480px) {
	 #primary {padding-top:0 !important}
	.entry-content .wp-block-cover:first-child {min-height:280px !important}
	.homi h1 {padding-top:10px}
	.ogs-categories-grid {	grid-template-columns: repeat(2, 1fr);  }
	:root :where(.wp-element-button, .wp-block-button__link) {
	   padding-left:8px; padding-right:8px
	}
}

@media (min-width: 480px) and (max-width: 768px) {
	 #primary {padding-top:0 !important}
	.entry-content .wp-block-cover:first-child {min-height:340px !important}
	.homi h1 {padding-top:10px}
	:root :where(.wp-element-button, .wp-block-button__link) {
	   padding-left:8px; padding-right:8px
	}
}



@media (min-width: 768px) and (max-width: 992px) {
	.column1, .column2 {width:50%}
	.column1 {float:left; padding-right:10px}
	.column2 {float:right; padding-left:10px}
}

@media (min-width: 992px) and (max-width: 1024px) {
	.column1, .column2 {width:50%}
	.column1 {float:left; padding-right:10px}
	.column2 {float:right; padding-left:10px}
}

@media (min-width: 1024px) and (max-width: 1280px) {
	.column1, .column2 {width:50%}
	.column1 {float:left; padding-right:10px}
	.column2 {float:right; padding-left:10px}
}

@media (min-width: 1280px) {
	.column1, .column2 {width:50%}
	.column1 {float:left; padding-right:10px}
	.column2 {float:right; padding-left:10px}
	.ogs-categories-grid {
		grid-template-columns: repeat(4, 1fr);  
	}
}

