/* ------ GENERAL ------ */
.entry-header {
  margin-top: 50px;
	margin-bottom: 50px !important;
}
.ast-header-without-markup {
	display: none;
}
.woocommerce div.product .woocommerce-tabs .entry-content p {
  margin: 0;
}
/* --- HEADER --- */
#masthead {
    position: relative !important;
    top: auto !important;         
    left: 0 !important;
    right: 0 !important;
    z-index: 9999;
}



/* --- BUTTONS --- */
.wp-block-button__link {
  padding: 5%;
  background: #327A99;
  border-radius: 10px !important;
  font-weight: 600;
}

.wp-block-button__link:hover {
  background: #3169B0 !important;
}

.woocommerce button.button {
  padding-left: 30px;
	padding-right: 30px;
}

/* --- ACCORDEON ---*/
.accordeon-two {
  display:flex ;
}

.accordeon-two input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.accordeon-two .row {
  flex: 1;
}

.accordeon-two .tabs {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

.accordeon-two .tab {
  width: 100%;
  color: white;
  overflow: hidden;
  border-top: 1px solid white;
}

.accordeon-two .tab-label {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  background: #327A99;
  font-weight: bold;
  cursor: pointer;
}

.accordeon-two .tab-label:hover {
  background: #3169B0;
}

.accordeon-two .tab-label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}

.accordeon-two .tab-content {
  max-height: 0;
  padding: 0 1em;
  color: #000;
  background: white;
  transition: all 0.35s;
}

.accordeon-two .tab-content h4 {
  padding: .5em;
  font-size: 1.2em;
  font-weight: 600;
  background-color: #F2F2F2;
}

.accordeon-two .wp-block-column {
  margin: 1%;
}

.accordeon-two .tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #3169B0;
  cursor: pointer;
}

.accordeon-two .tab-close:hover {
  background: #3169B0;
}

.accordeon-two input:checked+.tab-label {
  background: #3169B0;
}

.accordeon-two input:checked+.tab-label::after {
  transform: rotate(90deg);
}

.accordeon-two input:checked~.tab-content {
  max-height: 800vh;
  padding: 1em;
}

/* MARGIN */
.no-margin {
  margin: 0 !important;
}

.margin-quirky {
  margin: 10% 5% 10% 15%;
}

/* PADDING */
.no-padding {
  padding: 0;
}

.padding-3 {
  padding: 3%;
}

.padding-5 {
  padding: 5%;
}

/* COLOR AND BORDER */
.background-product1 {
  background-color: #f2f2f2;
}

.background-grey {
  background-color: #f2f2f2;
}

.border {
  border: 1px solid black;
}

/* BOX SHADOW */
.box-shadow {
  box-shadow: 0.5em 0.5em 1em silver;
}

/* FLEX-DIRECTION-REVERSE */
@media (max-width: 781px) {
  .flexdir-col-reverse {
    flex-direction: column-reverse;
  }
}

/* FOOTER */
.site-footer-below-section-3 {
  padding: 10%;
}

/* ------ HOME ------ */

.padding-top-6 {
  padding: 6% 1% 0 !important;
}

.padding-bottom-3 {
  padding: 0 1% 3% !important;
}

.padding-bottom-8 {
  padding: 0 1% 8% !important;
}

#homecategory .woocommerce ul.products {
  display: flex;
}

.product-category {
  margin: 0 !important;
}

.woocommerce ul.products li.product a img {
  margin-bottom: 0em;
  border-radius: 15px;
}

.woocommerce ul.products li.product a img:hover {
  box-shadow: 0.5em 0.5em 1em silver;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {
  border-radius: 8px;
}

.column-gap {
  column-gap: 3em !important;
}

@media (max-width: 37.5em) {
  #accueilselecled {
    font-size: 5.5em !important;
  }

  #accueilluminaires {
    font-size: 1.8em !important;
  }

  #accueileclairage {
    font-size: 1.5em !important;
  }
}

@media (max-width: 71.9em) {
  #mobilenone {
    display: none !important;
  }
}

@media (min-width: 72em) {
  #homeblock1 {
    position: absolute;
    max-width: 1200px;
    z-index: 1 !important;
  }

  #homeblock2 {
    position: sticky;
    box-shadow: 0px 0px 30px silver;
    margin: 48% 10% 0% 10%;
    z-index: 2 !important;
  }
}

/* ------ ABOUT US ------ */
@media (min-width: 72em) {
  #expert {
    box-shadow: 0px 0px 30px silver;
  }
}

/* ------ CONTACT FORM ------ */
.small {
  font-size: 85% !important;
}

.wpforms-field-label-inline {
  font-size: 80% !important;
}

/* ------ WOO COMMERCE ------ */

/* --- SEARCH RESULTS --- */

#search-results .ast-archive-description {
	border: none;
}
#search-results .ast-archive-description .ast-archive-title {
	margin-top: 50px;
	font-size: 2.5em;
	font-weight: 400;
}

#search-results .ast-row {
  display: flex;
  flex-wrap: wrap;
}

#search-results .ast-row .blog-layout-1 {
border-bottom: none;
}

#search-results .ast-row .blog-layout-1 .entry-header {
	display: block;
}
#search-results .ast-row .blog-layout-1 .entry-header .entry-title {
	font-size: 1.4em;
}
#search-results .ast-row .blog-layout-1 .entry-header .entry-title a {
	font-weight: 500;
}

@media (min-width: 576px) and (max-width: 991px) {
#search-results .ast-row .ast-article-post {
  max-width: 48%;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	border-radius: 20px;
	margin-left: 5px;
	margin-right: 5px;
}
#search-results .ast-row {
	margin: 1%;
}
}
@media (min-width: 992px) {
#search-results .ast-row .ast-article-post {
  max-width: 23%;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	border-radius: 20px;
	margin: 10px;
}
}

#search-results .ast-pagination {
	padding-bottom: 50px;
}

/* --- FILTER --- */

/* SIDEBAR */
.ast-left-sidebar #primary {
  border: none;
}

.ast-left-sidebar #secondary {
  padding: 3%;
  background-color: #F2F2F2;
  box-shadow: 5px 5px 10px silver;
  border-radius: 20px;
}
@media (min-width: 573px) {
.container-filtres-sidebar {
	padding: 2%;
  background-color: #F2F2F2;
  box-shadow: 5px 5px 10px silver;
  border-radius: 20px;
	margin-bottom: 50px;
	}
}

@media (min-width: 993px) {
.shop-layout {
	display: flex;
	gap: 50px;
}
.container-filtres-sidebar {
  width: 30%;
}
.widget .woof_redraw_zone ul li, .widget .woof_redraw_zone ul li a {
	display: block !important;
}
}

@media (max-width: 992px) {
  .woof_redraw_zone {
    display: flex;
    flex-wrap: wrap;
  }
  .woof_container {
    padding: 5px;
  }
  
  .woof_price_search_container {
    width: 100%;
    padding: 5px;
  }
  }

/* TITLES */
.ast-left-sidebar #secondary .widget {
  margin: 0;
}

.woocommerce .widget-woof h3 {
	font-size: 1.4rem;
  font-weight: bold;
	margin-top: 15px;
	margin-bottom: 30px;
}

.woocommerce .woof h4 {
	margin-top: 20px;	
	font-size: 1.2rem;
  font-weight: bold;
}

/* CATEGORIES */
.ast-left-sidebar #secondary .wc-block-product-categories-list-item__name {
  font-weight: 500;
}

.wc-block-product-categories-list--has-images .wc-block-product-categories-list-item__image img:hover {
  box-shadow: 3px 3px 5px silver;
}

/* BUTTONS */
.wc-block-product-categories__dropdown {
  max-width: 80%;
  margin-right: 5%;
}

.wc-block-components-price-slider__actions {
  justify-content: flex-start;
}

.wc-block-components-filter-reset-button {
  background: #327A99;
  padding: 3%;
}

/* PRICE BAR MOBILE */
@media (max-width: 1024px) {
  .ast-left-sidebar #secondary {
    display: none;
  }
}

/* --- ACCORDEON CATEGORIES --- */
details {
	padding: .75em .75em 0;
	margin-top: 10px;
}

summary {	
    font-weight: bold;
    margin: -.75em -.75em 3em;
    padding: .75em;
    background-color: #327A99;
    color: #fff;
		border-radius: 10px;
	  cursor: pointer;
		box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

summary:hover {	
	  background: #3169B0;
	  transition: all 1s;
}

details[open] {
  transition: all 2s;
  padding: .75em;
	border-bottom: 1px solid #d4d4d4;
	border-radius: 10px;
	margin-bottom: 2em;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

details[open] summary {
    border: 1px solid #d4d4d4;
    margin-bottom: 10px;
}

/* --- WIDGET CART ON PRODUCT PAGE --- */

/* SIDEBAR */
.ast-right-sidebar #primary {
	border: none;
}
.ast-right-sidebar #secondary {
	padding: 3%;
	background-color: #F2F2F2;
  box-shadow: 5px 5px 10px silver;
	border-radius: 20px;
}

/* TITLES */
.ast-right-sidebar #secondary h2 {
	font-size: 1.5rem;
	font-weight : bold;
}

/* BUTTONS */
.woocommerce .widget_shopping_cart .woocommerce-mini-cart__buttons a {
	padding: 4%;
	border-radius: 10px;
	width: 100%;
	margin-left: 0 !important;
}

/* MOBILE */
@media (max-width: 1024px) {
.ast-right-sidebar #secondary  {
  	display: none;
	}
}

/* --- BOUTIQUE --- */

/* THUMBNAILS IMAGES */
.woocommerce .astra-shop-thumbnail-wrap {
  margin-bottom: 5%;
  border-radius: 15px;
  border: solid 1px lightgray;
}

@media (min-width: 1024px) {
  .woocommerce .astra-shop-thumbnail-wrap img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
  }

  .woocommerce .astra-shop-thumbnail-wrap:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

/* --- PRODUCT PAGE --- */

/* PRODUCT TAG */
.woocommerce div.product .product_meta>span {
	display: none;
}

/* PRODUCT IMAGE */
.woocommerce div.product div.images {
  box-shadow: 0px 0px 30px silver;
  border-radius: 20px;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  border-radius: 20px;
}

/* PICTOS */
.picto-wrapper {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 1.2em;
  grid-auto-rows: auto;
  margin-bottom: 1.5em;
}

.picto-one {
  grid-column: 1;
  grid-row: 1;
}

.picto-two {
  grid-column: 2;
  grid-row: 1;
}

.picto-three {
  grid-column: 3;
  grid-row: 1;
}

.picto-four {
  grid-column: 4;
  grid-row: 1;
}

.picto-five {
  grid-column: 5;
  grid-row: 1;
}

.picto-six {
  grid-column: 6;
  grid-row: 1;
}

.picto-seven {
  grid-column: 7;
  grid-row: 1;
}

.picto-eight {
  grid-column: 1;
  grid-row: 2;
}

.picto-nine {
  grid-column: 2;
  grid-row: 2;
}

.picto-ten {
  grid-column: 3;
  grid-row: 2;
}

.picto-eleven {
  grid-column: 4;
  grid-row: 2;
}

.picto-twelve {
  grid-column: 5;
  grid-row: 2;
}

.picto-thirteen {
  grid-column: 6;
  grid-row: 2;
}

.picto-fourteen {
  grid-column: 7;
  grid-row: 2;
}

/* TAB DESCRIPTION */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: none;
}

/* NOTICE & TECHNICAL SHEETS */
.woocommerce div.product .woocommerce-tabs .panel .wp-block-image.size-full {
  margin: 0;
}

/* ACF PICTOS */
.summary .pictos {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 8%;
  max-height: 40%;
}
.summary .pictos .picto {
  margin: 0.5em;
}

/* ACF TITLES */
.acf-fields h2 {
  width: 100%;
  font-size: 1.7em !important;
  font-weight: 700;
	margin-bottom: 1.8em;
}

.acf-fields .technique-notice-text h3 {
	font-weight: 700;
	font-size: 1.4em;
  margin-bottom: 1em;
}

.acf-fields .title-variations {
	margin-top: 2em;
}

.acf-fields .title-variation {
	font-weight: 700;
	font-size: 1em;
}

a:where(:not(.wp-element-button)) {
	text-decoration:none;	
}

.acf-fields .description {
  margin-bottom: 4em;
}

/* ACF FICHE TECHNIQUE ET NOTICE INSTALLATION */
.acf-fields .fiche_technique_et_notice .wp-block-columns {
	gap: 10px;
	padding: 5%;
	box-shadow: 10px 5px 20px lightgray;
	margin: 0em 0.8em 2em 0.8em;
}

.acf-fields .fiche_technique_et_notice .technique-notice-icon {
	max-width: 25%;
}

@media (max-width: 781px) {
  .acf-fields .technique-notice-global {
    max-width: 100%;
    text-align: center;
  }
  .acf-fields .technique-notice-icon {
  margin: auto;	
  }
} 

@media (min-width: 782px) {
  .acf-fields .technique-notice-global {
    max-width: 50%;
  }
}

/* ACF DETAILS TECHNIQUES et LOGOS */
.colonnes-cara-techniques, .logo-cara-techniques {
	background-color: #F2F2F2;
	margin-top: 0;
}
.colonnes-cara-techniques {
  padding: 3%;
}

.logo-cara-techniques {
padding-left: 3%;
padding-right: 3%;
}

.colonnes-cara-techniques, .logo-cara-techniques .wp-block-columns {
	margin-bottom: 0;
}

.colonnes-cara-techniques .colonnes {
  margin-bottom: 0;
}

.colonnes-cara-techniques .wp-block-column ul {
  margin-bottom: 0;
}

.logo-cara-techniques .wp-block-columns figure {
	margin: 5%;
	text-align: center;
}
.logo-cara-techniques .wp-block-columns figure img {
	max-width: 200px;
	max-height: 50px;
}

/* ACF PHOTOMETRIE */
.groupe-photometrie {
  margin-top: 3em;
	margin-bottom: 3em;
  padding: 20px;
  border: 1px solid black;
}
.groupe-photometrie h2 {
  width: 100%;
  font-size: 1.7em !important;
  font-weight: 700;
	margin-bottom: 1.8em;
}
.groupe-photometrie .items_photometrie {
  justify-content: center;
}
.groupe-photometrie .items_photometrie .photometrie {
  text-align: center;
}

/* ACF SCHEMAS TECHNIQUES */
.groupe-schemas {
	margin-top: 3em;
	margin-bottom: 3em;
  padding: 20px;
  border: 1px solid black;
}
.groupe-schemas h2 {
  width: 100%;
  font-size: 1.7em !important;
  font-weight: 700;
	margin-bottom: 1.8em;
}
.groupe-schemas .items_schemas {
  justify-content: center;
}
.groupe-schemas .items_schemas .schema {
  text-align: center;
}
.woocommerce-page .price {
    display: none !important;
}
