
/* Page header gap fix */
.navbar.container,
.navbar.container-fluid {
  margin-top: 0;
}
/*End page header fix*/

.main-container.fragrance-signature {
  overflow: visible;
}

/* Hero CSS */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 140px - 27px - 38px - 32px ); /* pleine hauteur écran */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
  box-sizing: border-box;
}

.hero .field--name-field-cover-picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero .field--name-field-cover-picture img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.hero h1,
.hero .field--name-field-accroche {
  position: relative;
  z-index: 1;
  margin: 0.5rem 0;
}

.hero h1 {
  font-size: 3rem;
  text-transform: uppercase;
  color: white;
}

.hero .field--name-field-accroche .field--item {
  font-size: 1.4rem;
  font-style: italic;
  color: #eee;
  max-width: 800px;
  margin: 0 auto;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* ajustable */
  z-index: 0;
}



/* EN HERO CSS */


.cta-primary {
  background-color: #d6575f;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
}
.sectionfra{
  padding: 3rem 2rem;
}

.sectionfra .flex-container, .sectionfra h2 {
  max-width: 900px;
  margin: auto;
}

.section h2, .sectionfra h2 {
  color: #134d78;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}
.pyramide {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  width:60%
}

/* PYRAMIDE ZONE */

.flex-container{display: flex;}
.pyramide-img {flex: 2 1 auto; }
.pyramide {flex: 1 1 auto; }
.note {
  background: #f7f7f7;
  padding: 1rem;
  border-left: 4px solid #d6575f;
}
.note h3 {
  display: flex;
  gap: 1rem;
  color: #d6575f;
}

.note h3 strong {
  color: darkslategrey;
}

.note p {
  margin: 8px 0 0;
}

.note .details p {
  font-weight: bold;
}

.pyramide-img img {
  border: 8px solid #d6575f;
}

@media (max-width: 768px) {
  .flex-container {
    flex-wrap: wrap;
  }
}

/* END PYRAMIDE */

/*ESSENCE SECTION */

.essence-section .field--items {
  display: flex;
}

.essence-section .paragraph {
  padding: 0 30px 0 0;
}
.essence-section .field--items .img-responsive{
  max-width: 100px;
}
.essence-section .field--items .field--type-string{
  font-size: 0.8rem;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0;
  font-weight: 700;
  font-style: normal;
  position: relative;
  text-align: center;
}
.megablock{
  display: flex;
  flex-direction: row;
  max-width: 900px;
  margin: auto;
}

.field--name-field-ambiances .field--items div::before {
  content:"";
  display: flex;
  width: 10px;
  margin: 0;
  height: 10px;
  background-color: #fff;
  border: 1px solid #d6575f;
  border-radius: 10px;
  position: relative;
}

.field--name-field-ambiances .field--items div{
  font-size: 0.8rem;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0;
  font-weight: 700;
  font-style: normal;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.field--name-field-ambiances .field--items{
  padding-bottom: 1rem;
}

@media (max-width: 1023px) {
  .megablock{
    display: flex;
    flex-direction: column;
  }
}

/* IDEALE POUR */

.field_ideal_pour, .field_ideal_pour h2{
  background-color: #134d78;
  color: #ffffff;
}

.field_ideal_pour img {
  width: 60px;
  height: 60px;
  min-width: 60px;
  margin-right: 1rem;
}



.field_ideal_pour .paragraph{
  padding: 1rem;
}
.field_ideal_pour .field--items {
  display: flex;
  flex-wrap: wrap;
}
.field_ideal_pour .field--items div{
  font-size: 0.8rem;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0;
  font-weight: 700;
  font-style: normal;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.field_ideal_pour .field--items .field--item
{
  width: 25%;
}
.field_ideal_pour .field--items .paragraph--type--fragrance-ideal-pour,
.field_ideal_pour .field--items .paragraph--type--fragrance-ideal-pour .field--item
{
  width: 100%;
}

.field_ideal_pour .field--items .field.field--name-field-cible-ideal.field--item {
  width: 60px;
  height: 60px;
  min-width: 60px;
  margin-right: 1rem;
}

@media (max-width: 1023px) {
  .field_ideal_pour .field--items .field--item
  {
    width: 50%;
  }

  .field_ideal_pour .field--items .paragraph--type--fragrance-ideal-pour,
  .field_ideal_pour .field--items .paragraph--type--fragrance-ideal-pour .field--item
  {
    width: 100%;
  }


}

  /* FIN IDEALE POUR */
.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.benefit {
  background: #f9f9f9;
  border-left: 4px solid #134d78;
  padding: 1rem;
  flex: 1 1 200px;
}
.certifs {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.certif-item {
  background: #f0f0f0;
  padding: 1rem;
  border-radius: 8px;
  flex: 1 1 200px;
}

/* STICKY CTA SECTION */
.sticky-cta {
  position: sticky;
  /*top: 0;*/
  top:167px;
  background: #fff;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 100;
}

.fakebutton {
  width: 180px;
  height: 38px;
  display: block;
}

#cartopenner{
  display: none;
}

.sticky-cta span {
  font-weight: bold;
  font-size: 1rem;
}
.sticky-cta button.button {
  background: #d6575f;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  line-height: 1rem;
  height: auto;
  margin:0;
}

.sticky-cta .field.field--name-price {
  position: absolute;
  right: 240px;
}
.sticky-cta .form-group {
  margin: 0;
}

.sticky-cta .attribute-widgets label {
  display: none;
}

.sticky-cta .form-actions.form-group.js-form-wrapper.form-wrapper{
  display: flex;
  position: absolute;
  right: 30px;
  width: auto;
}
.sticky-cta .product--title {margin-left: 30px;}
.sticky-cta .product--title p.title{
  margin: 0 ;

  font-size: 1rem;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 300;
  text-align: center;
}


.sticky-cta .downpricestring .pline:first-child span {
  font-size: 1rem !important;
}

.sticky-cta span.pricenumbers{
  color: seagreen;
}
.sticky-cta span.pricetaxtype{
  color: #134d78;
}

.sticky-cta .commerce-order-item-add-to-cart-form .input-group-addon {
  padding: 1px !important;
}

@media (max-width: 991px) {
  .sticky-cta {
    top:127px;
  }
}


@media (max-width: 740px) {
  .sticky-cta {
    top:100px;
  }
}


@media (max-width: 768px) {
  .sticky-cta {
    flex-direction: row;
    gap: 0.5rem;
    justify-content: space-between;
    flex-wrap: wrap-reverse;
    padding: 10px;
  }

  .sticky-cta .field--name-variations {
    width:100%;
    align-items: flex-start;
    flex-shrink: 0;
  }

  .sticky-cta .product--title{
    width: auto;
    align-items: flex-end;
    margin:0;
    flex-shrink: 1;
  }

  .sticky-cta .field.field--name-price {
    position: relative;
    right: unset;
    width: auto;
    align-items: flex-start;
    flex-shrink: 1;
  }

  .sticky-cta .product--addtocart--openner {
    width: 50%;
    align-items: flex-end;
    flex-shrink: 0;
    display:none;
  }

  .sticky-cta .form-actions.form-group.js-form-wrapper.form-wrapper {
    display: flex;
    position: relative;
    right: unset;
    width: auto;
  }

  .commerce-order-item-add-to-cart-form {
    justify-content: space-between;
  }


}

@media (orientation: portrait) {
  .hero{height: 40vh;}
}
/* STICKY CTA SECTION END  */

