/* DE Hair Advisor — V0.3 */

.de-hair-advisor {
  box-sizing: border-box;
}

.de-hair-advisor__inner {
  padding: 18px;
  background: #f7f3ee;
  border-left: 4px solid #c6a15b;
}

.de-hair-advisor__eyebrow,
.de-hair-advisor__result-label {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .7px;
  color: #bb4d99;
}

.de-hair-advisor__title {
  margin: 0 0 7px;
  font-size: 23px;
  line-height: 1.12;
	font-weight: 700;
}

.de-hair-advisor__intro {
  margin: 0 0 33px;
  font-size: 18px;
  line-height: 1.4;
}

.de-hair-advisor__label {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
}

.de-hair-advisor__select {
  display: block;
  width: 100%;
  margin-top: 5px;
  min-height: 40px;
  padding: 7px 9px;
  background: #fff;
  border: 1px solid #d8d2cc;
  font-size: 13px;
}

.de-hair-advisor__button {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  background: #74096e;
  border: 1px solid #74096e;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.de-hair-advisor__button:hover {
  background: #c6a15b;
  border-color: #c6a15b;
  color: #111;
}

.de-hair-advisor__primary {
  margin: 3px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.de-hair-advisor__message {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.de-hair-advisor__secondary-wrap {
  margin: 12px 0;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.1);
}

.de-hair-advisor__secondary-label {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  color: #666;
}

.de-hair-advisor__reset {
  padding: 0;
  background: transparent;
  border: 0;
  color: #68164f;
  text-decoration: underline;
  cursor: pointer;
  font-size: 12px;
}

/* Desktop large : vraie carte latérale */
@media (min-width: 1200px) {
  body#category #left-column.deha-left-column-active {
    display: block !important;
    flex: 0 0 250px !important;
    max-width: 250px !important;
    width: 250px !important;
  }

  body#category #left-column.deha-left-column-active .de-hair-advisor {
    display: block !important;
    position: sticky;
    top: 24px;
    width: 100%;
    margin: 0 0 24px;
  }

  /* On laisse le centre prendre le reste sans forcer 100% */
  body#category #left-column.deha-left-column-active + #center-column,
  body#category #center-column {
    flex: 1 1 0 !important;
    max-width: calc(100% - 274px) !important;
    width: auto !important;
  }
}

/* Tablette/mobile : bloc pleine largeur à son emplacement naturel */
@media (max-width: 1199.98px) {
  .de-hair-advisor {
    margin: 18px 15px 24px;
  }
}


/* Bouton vers la fiche du pack */
.de-hair-advisor__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  padding: 9px 12px;
  background: #B61580;
  border: 1px solid #B61580;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}

.de-hair-advisor__link:hover {
  background: #c6a15b;
  border-color: #c6a15b;
  color: #111 !important;
}


/* Lien vers le pack complémentaire */
.de-hair-advisor__secondary-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: #4a0b35 !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline !important;
}

.de-hair-advisor__secondary-link:hover {
  color: #c6a15b !important;
}
