/* =========================================================================
 * Thème Fabre - Page Contact — mesures du site d'origine à 1440px
 * ========================================================================= */
#contact #wrapper {
  background-image: url('../img/texture-background-full.jpg');
  background-size: contain;
}

/* ----- Bloc « Informations » (ps_contactinfo) ----- */
.fabre-contactinfo {
  margin-bottom: 32px;
  padding: 8%;
  font-size: 14px;
  color: var(--fabre-green);
  background: #fff;
  border-radius: 25px;
}

.fabre-contactinfo__title {
  margin: 0 0 32px;
  font-size: 18px;
  font-weight: 700;
  line-height: 19.8px;
  color: #414141;
  text-transform: uppercase;
}

.fabre-contactinfo__block {
  display: flex;
  align-items: center;
}

.fabre-contactinfo__block .material-icons {
  flex: 0 0 40px;
  font-size: 32px;
  line-height: 17.5px;
  color: var(--fabre-green);
}

.fabre-contactinfo__data {
  margin: 0;
  font-size: 13px;
  font-style: normal;
  line-height: 17.5px;
  color: #414141;
}

.fabre-contactinfo__data a {
  color: #000;
  text-decoration: none;
}

.fabre-contactinfo__data a:hover {
  color: var(--fabre-orange);
}

.fabre-contactinfo hr {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  opacity: 1;
}

/* ----- Formulaire (contactform) : cadre vert texturé ----- */
#contact #content {
  position: relative;
  padding: 20px;
  background: var(--fabre-green) url('../img/texture2.png');
  background-size: contain;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 4px;
}

.fabre-contact {
  position: relative;
  padding: 16px;
  color: #878787;
}

.fabre-contact__icon {
  position: absolute;
  top: 0;
  right: 5px;
  width: 50px;
  height: 50px;
}

.fabre-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 0 -15px 16px;
}

.fabre-contact__title {
  margin: 0 0 8px;
  padding: 0 15px;
  font-size: 18px;
  font-weight: 700;
  line-height: 19.8px;
  color: #414141;
}

.fabre-contact__label {
  flex: 0 0 25%;
  max-width: 25%;
  margin: 0;
  padding: 10px 15px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 17.5px;
  color: #414141;
  text-align: right;
}

.fabre-contact__field {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.fabre-contact__field--wide {
  flex-basis: 75%;
  max-width: 75%;
}

.fabre-contact__field--offset {
  flex-basis: 75%;
  max-width: 75%;
  margin-left: 25%;
  padding: 0;
}

.fabre-contact__comment {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 8px 15px 0;
  font-size: 14px;
  line-height: 17.5px;
  color: #878787;
}

.fabre-contact .form-control,
.fabre-contact .form-select {
  height: 38px;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 20px;
  color: #acaaa6;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: none;
}

.fabre-contact .form-select {
  padding-right: 32px;
}

.fabre-contact textarea.form-control {
  height: 78px;
}

.fabre-contact .form-control::placeholder {
  color: #acaaa6;
}

/* Champ fichier : zone de texte + bouton orange « Choisir un fichier » */
.fabre-file {
  position: relative;
  display: flex;
  height: 40px;
}

.fabre-file__input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.fabre-file__name.form-control {
  flex: 1;
  height: 40px;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 4px 0 0 4px;
}

.fabre-file__button {
  flex: 0 0 auto;
  padding: 0 10px;
  font-size: 11px;
  line-height: 40px;
  color: #fff;
  background: var(--fabre-orange);
  border: 1px solid transparent;
}

.fabre-file__input:focus-visible ~ .fabre-file__button {
  outline: 2px solid var(--fabre-dark);
}

/* Consentement RGPD (psgdpr) */
.fabre-contact__field--offset label {
  padding-left: 10px;
  font-size: 14px;
  line-height: 17.5px;
  color: #414141;
}

.fabre-contact__footer {
  padding-top: 16px;
  text-align: right;
}

.fabre-contact__submit {
  padding: 10px 35px;
  font-family: var(--fabre-font-btn);
  font-size: 14px;
  line-height: 28px;
  color: #fff;
  text-transform: uppercase;
  background: var(--fabre-orange);
  border: 1px solid transparent;
}

.fabre-contact__submit:hover,
.fabre-contact__submit:focus-visible {
  background: var(--fabre-dark);
}

@media (max-width: 767px) {
  .fabre-contact__label,
  .fabre-contact__field,
  .fabre-contact__field--wide,
  .fabre-contact__comment {
    flex-basis: 100%;
    max-width: 100%;
    text-align: left;
  }

  .fabre-contact__field--offset {
    flex-basis: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 0 15px;
  }

  .fabre-contact__label {
    padding-bottom: 6px;
  }
}

/* =========================================================================
 * Page « Nos magasins » (cms/stores.tpl)
 * Le site d'origine plaçait le titre à 30px du haut du contenu, en partie caché par le bandeau
 * d'annonce et le logo rond : on le descend sous le logo pour qu'il reste lisible.
 * ========================================================================= */
#stores .columns-container {
  margin-top: 115px;
}

@media (max-width: 991px) {
  #stores .columns-container {
    margin-top: 30px;
  }
}

#stores .page-header {
  margin: 0 0 25px;
}

#stores .page-title-section {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 30.8px;
  color: var(--fabre-dark);
}

.fabre-store {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding: 30px 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 4px;
}

.fabre-store__picture {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

.fabre-store__picture img {
  display: block;
  width: 170px; /* format stores_default du site d'origine (170 x 115) */
  max-width: 100%;
  height: auto;
}

.fabre-store__description {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
  padding: 0 15px;
}

.fabre-store__name {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 19.8px;
  color: var(--fabre-dark);
  text-transform: uppercase;
}

.fabre-store__address {
  margin: 0 0 12px;
  font-size: 14px;
  font-style: normal;
  line-height: 17.5px;
  color: var(--fabre-text);
}

.fabre-store__toggle {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}

.fabre-store__toggle .material-icons {
  font-size: 20px;
  transition: transform 0.2s;
}

.fabre-store__toggle:not(.collapsed) .material-icons {
  transform: rotate(90deg);
}

.fabre-store__about {
  padding-top: 10px;
  font-size: 14px;
}

.fabre-store__about ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fabre-store__about .material-icons {
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
  color: var(--fabre-green);
}

.fabre-store__hours {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
  border-left: 1px solid #ebebeb;
}

.fabre-store__hours table {
  border-collapse: collapse;
  font-size: 14px;
  line-height: 17.5px;
  color: var(--fabre-text);
}

.fabre-store__hours th,
.fabre-store__hours td {
  height: 25px;
  padding: 1px;
  vertical-align: middle;
}

.fabre-store__hours th {
  font-weight: 700;
  text-align: right;
}

.fabre-store__hours td {
  padding-left: 6px;
}

@media (max-width: 767px) {
  .fabre-store {
    flex-wrap: wrap;
  }

  .fabre-store__picture {
    display: none;
  }

  .fabre-store__description,
  .fabre-store__hours {
    flex-basis: 100%;
    max-width: 100%;
  }

  .fabre-store__hours {
    margin-top: 20px;
    border-left: 0;
  }
}
