/* Barre AVA dans le menu, entre le dernier onglet et le panier (SAVA-09) */
#menu .sl-barre-ava-place {
  flex: 0 1 380px;
  align-self: center;
  min-width: 0;
  margin-left: auto;
  padding-left: 16px;
  list-style: none;
}
.sl-barre-ava input {
  display: block;
  width: 100%;
  height: 32px;
  padding: 0 16px;
  border: 1px solid #fdb81e;
  border-radius: 16px;
  background: #fff;
  color: #1a1a1a;
  font-size: 13px;
  line-height: 32px;
  outline: none;
  text-overflow: ellipsis;
  -webkit-appearance: none;
  appearance: none;
}
.sl-barre-ava input::placeholder { color: #6b6b6b; opacity: 1; text-overflow: ellipsis; }
.sl-barre-ava input:focus { box-shadow: 0 0 0 2px rgba(253, 184, 30, .45); }
html.sl-ava-ouvert #menu .sl-barre-ava-place { display: none; }
@media (min-width: 768px) {
  #menu.adtm_menu_list { flex-wrap: nowrap !important; }
  #menu .li-niveau1 { flex: 0 0 auto !important; width: auto !important; }
  #menu .a-niveau1 { white-space: nowrap; }
}
/* Écrans étroits : les onglets se resserrent pour laisser sa place à la barre. */
@media (min-width: 768px) and (max-width: 1339px) {
  #menu .a-niveau1,
  #menu .a-niveau1 * {
    padding-left: 7px !important;
    padding-right: 7px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }
  #menu .sl-barre-ava-place { padding-left: 8px; }
}
/* Le thème déplace le menu dans le tiroir du téléphone : la barre n'y a pas sa place. */
@media (max-width: 767px) {
  #menu .sl-barre-ava-place { display: none; }
}

/* Le panneau AVA retire 400 px à la page : le menu reste sur une seule ligne. */
@media (min-width: 1240px) {
  html.sl-ava-ouvert #menu.adtm_menu_list { flex-wrap: nowrap !important; }
  html.sl-ava-ouvert #menu .li-niveau1 { flex: 0 1 auto !important; width: auto !important; min-width: 0; }
  html.sl-ava-ouvert #menu .a-niveau1,
  html.sl-ava-ouvert #menu .a-niveau1 * {
    padding-left: 7px !important;
    padding-right: 7px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }
}

/* Vitrine à gauche du chat (SAVA-10) */
.sl-vitrine {
  padding: 22px 15px 30px;
  background: #f1f2f6;
  border-bottom: 1px solid #e2e3e8;
}
.sl-vitrine__tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.sl-vitrine__titre {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: #111;
}
.sl-vitrine__fermer {
  padding: 8px 14px;
  border: 1px solid #111;
  border-radius: 3px;
  background: transparent;
  color: #111;
  font-size: 13px;
  cursor: pointer;
}
.sl-vitrine__fermer:hover { background: #111; color: #fff; }
.sl-vitrine__grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.sl-vitrine__carte {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: #fff;
  border: 1px solid #e2e3e8;
  color: #111;
  text-decoration: none;
}
.sl-vitrine__carte:hover { border-color: #fdb81e; color: #111; text-decoration: none; }
.sl-vitrine__image {
  display: block;
  aspect-ratio: 1;
  margin-bottom: 12px;
}
.sl-vitrine__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sl-vitrine__nom {
  flex: 1;
  font-size: 15px;
  line-height: 1.3;
}
.sl-vitrine__prix {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
}
.sl-vitrine__cta {
  margin-top: 12px;
  padding: 9px 12px;
  background: #111;
  color: #fff;
  font-size: 13px;
  text-align: center;
}
.sl-vitrine__carte:hover .sl-vitrine__cta { background: #fdb81e; color: #111; }
