.background-img-header,
.background-img-header-fitting,
.bg-advice-common {
  position: relative;
  min-height: 350px;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: var(--full-width);
  /*z-index: 0;*/
}

.background-img-header {
  background-position: 10% 20%;
  background-image: url("../../../img/search/tire-mechanic-6jZJGKr.webp");
  /*z-index: 10000;*/
}

/*.background-img-header, .navbar-nav, .modal, .modal-backdrop {*/
.background-img-header,
.navbar-nav,
.modal-backdrop {
  z-index: auto !important;
}

.background-img-header-fitting {
  background-position: 10% 60%;
  background-image: url("../../../img/fitting/mechanic-examining-tyre-u2ogLIq.webp");
}

.bg-cat-choix-des-pneus {
  background-position: 10% 20%;
  background-image: url("../../../img/advice/choix-pneus-ezgOpuv.webp");
}

.bg-cat-entretien-et-duree-de-vie-des-pneus {
  background-position: 10% 20%;
  background-image: url("../../../img/advice/entretien-pneus-ZQxx1Oc.webp");
}

.bg-cat-saisonnalite-et-conditions-climatiques {
  background-position: 10% 20%;
  background-image: url("../../../img/advice/saisonnalite-pneus-ETGZ-qV.webp");
}

.bg-cat-securite-pneus-et-conduite {
  background-position: 10% 20%;
  background-image: url("../../../img/advice/securite-pneus-pdtd8dx.webp");
}

.bg-cat-installation-et-remplacement {
  background-position: 10% 20%;
  background-image: url("../../../img/advice/installation-pneus-tkjgB8s.webp");
}

.bg-cat-economie-et-environnement {
  background-position: 10% 20%;
  background-image: url("../../../img/advice/economies-pneus-BBWfx7Y.webp");
}

/* Styles pour la boîte de recherche */
.search-box {
  /*padding: 6px 7px 6px 7px;*/
  padding: 15px 20px 15px 20px;
  background-color: var(--color-white);
  border-radius: var(--pms-10);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  margin-bottom: var(--pms-15);
  /*z-index: 3;*/
}

/* Overlay sombre */
.background-img-header::before,
.background-img-header-fitting::before,
.bg-advice-common::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--full-width);
  height: var(--full-width);
  background-color: rgba(0, 0, 0, 0.5);
  /*z-index: 1;*/
}

.header-content,
.header-content-fitting,
.header-content-advice {
  position: relative;
  /*z-index: 2;*/
  color: var(--color-white);
  padding: var(--pms-15);
}

.header-content-fitting,
.header-content-advice {
  width: var(--full-width);
}

.header-content h1 {
  margin: 0;
  line-height: 0.7;
  font-weight: bold;
}

.header-content-fitting h1,
.header-content-advice h1,
.header-content-advice h1 {
  margin-top: var(--pms-20);
  text-align: center;
}

.header-content p {
  font-size: var(--default-font-size);
  margin: 5px 0;
  font-weight: var(--font-weight-medium);
}

/* CUSTOM SHAPE */
.custom-shape,
.custom-shape-brand {
  display: inline-block;
  margin-left: var(--pms-20);
  color: var(--color-black);
  padding: 2px 0;
  font-weight: bold;
  text-align: center;
  position: relative;
  overflow: visible;
}

.bg-own-color,
.bg-own-color::before,
.bg-own-color::after {
  background-color: var(--color-primary);
}

.custom-shape::before,
.custom-shape-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--pms-20);
  height: var(--full-width);
  clip-path: ellipse(100% 100% at 100% 0%);
  transform: translateX(-20px);
}

.custom-shape::after,
.custom-shape-brand::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--pms-20);
  height: var(--full-width);
  clip-path: ellipse(100% 100% at 0% 100%);
  transform: translateX(20px);
}

.background-img-header form {
  z-index: 4;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.search-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--color-dark-gray);
  text-align: center;
}

.search-fields-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: var(--full-width);
}

.search-fields {
  display: flex;
  justify-content: left;
  flex-grow: 1;
}

.search-field {
  display: flex;
  flex-direction: column;
}

.search-field label {
  margin-bottom: 5px;
  font-size: 0.9em;
  color: var(--color-dark-gray);
}

.search-box select {
  padding: 5px;
  font-size: 0.9em;
  border: 1px solid var(--color-gray-medium);
  width: 80px;
}

.season-container {
  display: flex;
  align-items: center;
}

.info-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--full-width);
  height: var(--full-width);
  margin-right: var(--pms-10);
}

/* Ajustement de l'icône d'information */
.info-icon {
  width: 27px;
  height: 27px;
  margin-top: 25px;
}

.season-icons {
  display: flex;
  justify-content: flex-start;
  gap: var(--pms-20);
  margin-top: 12px;
}

.season-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.season-icon {
  width: 40px;
  height: 40px;
  margin-left: 0;
}

.season-mini-icon {
  width: var(--pms-20);
  height: var(--pms-20);
  margin-left: 0;
  margin-right: 5px;
}

.season-icon:hover {
  cursor: pointer;
}

.season-label {
  margin-top: 5px;
  font-size: var(--font-size-small);
}

/* Bouton de recherche */
.search-button {
  display: flex;
  justify-content: center;
  /*width:  var(--full-width);*/
}

.btn-width-second button {
  width: 30%;
}

.search-button button {
  padding: 3px;
  margin-bottom: var(--pms-10);
  margin-top: var(--pms-10);
  width: 50%;
}

.search-second-btn button {
  padding: 6px;
  width: 150px;
  margin-top: var(--pms-15);
}

.search-button button,
.search-second-btn button {
  background-color: var(--color-primary);
  color: var(--color-black);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: var(--font-weight-medium);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-button button:hover {
  background-color: #e0a000;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.half-icon {
  margin-bottom: var(--pms-10);
  margin-left: 4px;
  width: 40px;
  height: auto;
}
