/* Search Parts BMW V0.6.9 - bouton choix manuel réintégré au bloc VIN */

.spb-ce-searchbox__form--vin {
  position: relative;
}

.spb-manual-choice-form--inside-vin {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.spb-manual-choice-link--inside,
.spb-compact-form__manual--inside {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.spb-manual-choice-link--inside::before,
.spb-compact-form__manual--inside::before {
  content: '↳';
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.spb-manual-choice-link--inside:hover,
.spb-compact-form__manual--inside:hover {
  background: rgba(255,255,255,.17);
  border-color: rgba(255,255,255,.34);
  color: #fff !important;
  transform: translateY(-1px);
}

/* L'ancien conteneur externe reste neutre si un cache ancien le sert encore */
.spb-manual-choice-form:not(.spb-manual-choice-form--inside-vin) {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .spb-manual-choice-form--inside-vin {
    margin-top: 9px;
    padding-top: 9px;
  }

  .spb-manual-choice-link--inside,
  .spb-compact-form__manual--inside {
    width: 100% !important;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 13px;
    text-align: center;
  }
}

/* Search Parts BMW V0.7.0 - contraste bouton choix manuel VIN
   Corrige le cas texte blanc sur fond blanc selon le thème / Creative Elements. */
.spb-ce-searchbox .spb-manual-choice-link--inside,
.spb-ce-searchbox .spb-compact-form__manual--inside,
.searchpartsbmw-wrapper .spb-manual-choice-link--inside,
.searchpartsbmw-wrapper .spb-compact-form__manual--inside {
  background: #f7f7f7 !important;
  border: 1px solid #d8d8d8 !important;
  color: #2b2b2b !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.spb-ce-searchbox .spb-manual-choice-link--inside::before,
.spb-ce-searchbox .spb-compact-form__manual--inside::before,
.searchpartsbmw-wrapper .spb-manual-choice-link--inside::before,
.searchpartsbmw-wrapper .spb-compact-form__manual--inside::before {
  background: #c92a2a !important;
  color: #fff !important;
}

.spb-ce-searchbox .spb-manual-choice-link--inside:hover,
.spb-ce-searchbox .spb-manual-choice-link--inside:focus,
.spb-ce-searchbox .spb-compact-form__manual--inside:hover,
.spb-ce-searchbox .spb-compact-form__manual--inside:focus,
.searchpartsbmw-wrapper .spb-manual-choice-link--inside:hover,
.searchpartsbmw-wrapper .spb-manual-choice-link--inside:focus,
.searchpartsbmw-wrapper .spb-compact-form__manual--inside:hover,
.searchpartsbmw-wrapper .spb-compact-form__manual--inside:focus {
  background: #fff !important;
  border-color: #c92a2a !important;
  color: #c92a2a !important;
}

@media (max-width: 767px) {
  .spb-ce-searchbox .spb-manual-choice-link--inside,
  .searchpartsbmw-wrapper .spb-manual-choice-link--inside {
    background: #ffffff !important;
    color: #2b2b2b !important;
    border-color: #d8d8d8 !important;
  }
}
