/* ==========================================================================
   Boutique — charte Superlaps
   --------------------------------------------------------------------------
   Chargée après uikit, Bootstrap 4, burgermenu.css et main.css, qu'elle
   reprend sans les retirer : le JavaScript existant (menu latéral, recherche
   instantanée, filtres UIkit, carrousels Bootstrap) continue de s'appuyer sur
   leurs classes. Tout est rattaché à body.sl-shop pour passer devant les
   anciennes règles sans !important.

   Même charte que le parcours d'inscription (inscription-parcours.css) :
     asphalte #17222B · gris #4B5A66 · filets #DCE1DE · fond #F4F6F4
     rouge #D8232A (action) · vert #178F5A (prix club, disponibilité)
     titres et prix : Archivo · textes : IBM Plex Sans

   L'élément marquant est la carte produit : photo sur fond clair, marque,
   nom, et un bloc prix qui n'affiche le prix barré et le prix club que
   lorsqu'ils diffèrent du prix payé.
   ========================================================================== */

.sl-shop {
  --asphalte: #17222B;
  --asphalte-2: #4B5A66;
  --asphalte-3: #7A8792;
  --ligne: #DCE1DE;
  --fond: #F4F6F4;
  --rouge: #D8232A;
  --rouge-fonce: #B51C22;
  --vert: #178F5A;
  --ambre: #C48A05;
  --rayon: 12px;
  --titre: "Archivo", "Arial Narrow", sans-serif;

  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--asphalte);
  -webkit-font-smoothing: antialiased;
}
.sl-shop .st-content { background: #fff; }
.sl-shop a { color: inherit; line-height: inherit; }
.sl-shop a:hover { color: var(--rouge); }
.sl-shop h1, .sl-shop h2, .sl-shop h3, .sl-shop h4 {
  font-family: var(--titre);
  color: var(--asphalte);
  letter-spacing: -0.01em;
}
.sl-shop :focus-visible {
  outline: 3px solid rgba(216, 35, 42, .45);
  outline-offset: 2px;
}
.sl-shop svg { flex: none; }

/* --------------------------------------------------------------------------
   1. En-tête
   -------------------------------------------------------------------------- */
.sl-shop .shop-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--ligne);
}
.sl-shop .shop-utility {
  background: var(--asphalte);
  color: #fff;
  font-size: 13px;
}
.sl-shop .shop-utility-inner {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.sl-shop .shop-utility a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.sl-shop .shop-utility a:hover { color: #fff; text-decoration-color: #fff; }
.sl-shop .shop-utility-admin { font-weight: 600; }

.sl-shop .shop-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 84px;
}
.sl-shop .shop-logo { flex: none; display: block; }
.sl-shop .shop-logo img { display: block; height: 62px; width: auto; }

.sl-shop .shop-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--asphalte);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.sl-shop .shop-icon-btn:hover { background: var(--fond); color: var(--asphalte); }
.sl-shop .shop-icon-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sl-shop .shop-burger-wrap { display: none; }
.sl-shop .shop-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.sl-shop .shop-search-mobile { display: none; }
.sl-shop .shop-cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--rouge);
  color: #fff;
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

/* Recherche : le champ garde ses classes historiques (.inputSearch) pour le
   script de recherche instantanée du gabarit. */
.sl-shop .shop-search {
  position: relative;
  flex: 1 1 auto;
  max-width: 560px;
  margin: 0 auto;
}
.sl-shop .shop-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  fill: none;
  stroke: var(--asphalte-3);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}
.sl-shop .shop-search input.inputSearch {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 18px 0 46px;
  border: 1px solid var(--ligne);
  border-radius: 24px;
  background: var(--fond);
  color: var(--asphalte);
  font-family: inherit;
  font-size: 15px;
}
.sl-shop .shop-search input.inputSearch::placeholder { color: var(--asphalte-3); }
.sl-shop .shop-search input.inputSearch:focus { background: #fff; border-color: var(--asphalte-2); outline: none; }
.sl-shop .ui-autocomplete {
  margin-top: 6px !important;
  border-radius: var(--rayon) !important;
  box-shadow: 0 16px 40px rgba(23, 34, 43, .18) !important;
  overflow: hidden;
}
.sl-shop .ui-autocomplete:empty { display: none !important; }
.sl-shop .ui-autocomplete li a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.sl-shop .ui-autocomplete li a:hover { background: var(--fond); color: var(--asphalte); }
.sl-shop .ui-autocomplete .thumbnail { flex: none; padding: 0; border: 0; background: none; }
.sl-shop .ui-autocomplete .title { font-size: 14px; line-height: 1.35; }

/* Navigation des rayons (méga-menu rendu par ShopController::shopMenu) */
.sl-shop .shop-nav { border-top: 1px solid var(--ligne); }
.sl-shop .shop-nav .exo-menu { float: none; display: flex; flex-wrap: wrap; margin: 0 -10px; padding: 0; }
.sl-shop .shop-nav .exo-menu > li { float: none; }
.sl-shop .shop-nav .exo-menu > li > a {
  position: relative;
  display: block;
  padding: 14px 10px 13px;
  font-family: var(--titre);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--asphalte);
  background: none;
}
.sl-shop .shop-nav .exo-menu > li > a i { display: none; }
.sl-shop .shop-nav .exo-menu > li > a::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--rouge);
  transform: scaleX(0);
  transition: transform .18s ease-out;
}
.sl-shop .shop-nav .exo-menu > li > a:hover,
.sl-shop .shop-nav .exo-menu > li > a.active { color: var(--asphalte); background: none; }
.sl-shop .shop-nav .exo-menu > li:hover > a::before,
.sl-shop .shop-nav .exo-menu > li > a:focus-visible::before { transform: scaleX(1); }
.sl-shop .shop-nav .mega-drop-down a.mega-main-item:after { color: var(--asphalte-3); }
.sl-shop .shop-nav .mega-menu {
  left: 0;
  width: 100%;
  border-top: 1px solid var(--ligne);
  box-shadow: 0 24px 40px -24px rgba(23, 34, 43, .35);
}
.sl-shop .shop-nav .mega-menu:before { border-top: 1px solid var(--ligne); }
.sl-shop .shop-nav .miniature-mega-menu { border-radius: 10px; }
.sl-shop .shop-nav .miniature-mega-menu:hover { background: var(--fond); }
.sl-shop .shop-nav .miniature-mega-menu-titre { font-family: var(--titre); font-weight: 700; color: var(--asphalte); }
.sl-shop .shop-nav .title-mega-menu { font-family: var(--titre); font-weight: 800; color: var(--asphalte); }
.sl-shop .shop-nav .left-mega-menu { border-left-color: var(--ligne); }

/* --------------------------------------------------------------------------
   2. Boutons, champs et éléments communs
   -------------------------------------------------------------------------- */
.sl-shop .shop-btn,
.sl-shop .btnS,
.sl-shop .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: var(--rouge);
  color: #fff;
  font-family: var(--titre);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s;
}
.sl-shop .shop-btn:hover,
.sl-shop .btnS:hover,
.sl-shop .btn-primary:hover { background: var(--rouge-fonce); color: #fff; }
.sl-shop .shop-btn-secondaire {
  background: #fff;
  color: var(--asphalte);
  border: 1px solid var(--asphalte);
}
.sl-shop .shop-btn-secondaire:hover { background: var(--asphalte); color: #fff; }
.sl-shop .shop-btn-plein { width: 100%; }

.sl-shop select.form-control,
.sl-shop .form-control {
  height: auto;
  min-height: 48px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--ligne);
  border-radius: 10px;
  background-color: #fff;
  color: var(--asphalte);
  font-family: inherit;
  font-size: 15px;
}
.sl-shop textarea.form-control { min-height: 110px; }
.sl-shop .form-control:focus { border-color: var(--asphalte-2); box-shadow: 0 0 0 3px rgba(23, 34, 43, .1); }
.sl-shop label { font-weight: 500; }

.sl-shop .alert { border-radius: var(--rayon); }
.sl-shop .badge { font-family: inherit; font-weight: 600; border-radius: 6px; }

/* Fil d'Ariane UIkit, gardé pour ses microdonnées schema.org */
.sl-shop .uk-breadcrumb { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0; margin: 0; padding: 0; }
.sl-shop .uk-breadcrumb > * > * { font-size: 14px; color: var(--asphalte-2); }
.sl-shop .uk-breadcrumb > * > a:hover { color: var(--rouge); }
.sl-shop .uk-breadcrumb > :nth-child(n+2):not(.uk-first-column)::before { content: "/"; margin: 0 10px; color: var(--asphalte-3); }
.sl-shop .uk-breadcrumb > :last-child > * { color: var(--asphalte); }

/* Pagination KnpPaginator (Bootstrap 4) */
.sl-shop .pagination { gap: 6px; justify-content: center; }
.sl-shop .page-link { border: 1px solid var(--ligne); border-radius: 8px !important; color: var(--asphalte); min-width: 42px; text-align: center; }
.sl-shop .page-item.active .page-link { background: var(--asphalte); border-color: var(--asphalte); }

/* --------------------------------------------------------------------------
   3. Gabarit de page : en-tête de page, sections
   -------------------------------------------------------------------------- */
.sl-shop .shop-page-head {
  padding: 28px 0 24px;
  background: var(--fond);
  border-bottom: 1px solid var(--ligne);
}
.sl-shop .shop-page-head h1 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
}
.sl-shop .shop-page-sous { margin: 8px 0 0; color: var(--asphalte-2); max-width: 70ch; }
.sl-shop .shop-section { padding: 40px 0 56px; }
.sl-shop .shop-section + .shop-section { padding-top: 0; }
.sl-shop .shop-section-titre {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
}
.sl-shop .shop-section-titre h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.sl-shop .shop-section-titre a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sl-shop .shop-vide {
  padding: 40px 24px;
  border: 1px dashed var(--ligne);
  border-radius: var(--rayon);
  text-align: center;
  color: var(--asphalte-2);
}

/* Bandeau d'accueil : l'image fournie par l'organisateur, sans recadrage */
.sl-shop .shop-hero { background: var(--asphalte); }
.sl-shop .shop-hero img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }

/* Rayons sous forme de pastilles (pages famille, accueil) */
.sl-shop .shop-rayons:last-child { margin-bottom: 0; }
.sl-shop .shop-rayons {
  display: flex;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0 0 4px;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
}
.sl-shop .shop-rayons a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 18px 0 6px;
  border: 1px solid var(--ligne);
  border-radius: 28px;
  background: #fff;
  white-space: nowrap;
  font-weight: 500;
}
.sl-shop .shop-rayons a:hover { border-color: var(--asphalte); color: var(--asphalte); }
.sl-shop .shop-rayons img { width: 44px; height: 44px; border-radius: 22px; object-fit: contain; background: var(--fond); }

/* Tuiles de marques et de modèles */
.sl-shop .shop-tuiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sl-shop .shop-tuile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 18px 14px;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  background: #fff;
  text-align: center;
  font-family: var(--titre);
  font-weight: 700;
}
.sl-shop .shop-tuile:hover { border-color: var(--asphalte); color: var(--asphalte); }
.sl-shop .shop-tuile img { width: 100%; height: 110px; object-fit: contain; }

/* --------------------------------------------------------------------------
   4. Carte produit
   -------------------------------------------------------------------------- */
.sl-shop .js-filter > li,
.sl-shop .uk-slider-items > li { text-align: left; }
.sl-shop .uk-grid + .uk-grid,
.sl-shop .uk-grid > .uk-grid-margin { padding-top: 0; }
.sl-shop .uk-grid > .uk-grid-margin { margin-top: 24px; }

.sl-shop .shop-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  background: #fff;
  overflow: hidden;
  color: var(--asphalte);
  transition: border-color .15s;
}
.sl-shop .shop-card:hover { border-color: var(--asphalte); color: var(--asphalte); }
.sl-shop .shop-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background: var(--fond);
}
.sl-shop .shop-card-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .25s ease-out;
}
.sl-shop .shop-card:hover .shop-card-media img { transform: scale(1.04); }
.sl-shop .shop-card-pastilles {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sl-shop .shop-pastille {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--asphalte);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.sl-shop .shop-pastille-rouge { background: var(--rouge); }
.sl-shop .shop-pastille-points { background: #fff; color: var(--asphalte); border: 1px solid var(--ligne); }
.sl-shop .shop-card-corps {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 16px 16px;
}
.sl-shop .shop-card-marque { font-size: 13px; color: var(--asphalte-2); }
.sl-shop .shop-card-nom {
  margin: 2px 0 14px;
  font-family: var(--titre);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--asphalte);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sl-shop .shop-card-prix { margin-top: auto; }

/* Bloc prix, partagé par la carte et la fiche produit */
.sl-shop .shop-prix-ligne { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.sl-shop .shop-prix {
  font-family: var(--titre);
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--asphalte);
}
.sl-shop .shop-prix-barre { font-size: 14px; color: var(--asphalte-3); font-variant-numeric: tabular-nums; }
.sl-shop .shop-prix-remise { font-size: 13px; font-weight: 600; color: var(--rouge); }
.sl-shop .shop-prix-club {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(23, 143, 90, .1);
  color: var(--vert);
  font-size: 13px;
  font-weight: 600;
}
.sl-shop .shop-prix-club b { font-family: var(--titre); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Filtres UIkit des pages catégorie */
.sl-shop .shop-filtres { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.sl-shop .shop-filtres .uk-subnav { margin: 0; gap: 6px; }
.sl-shop .shop-filtres .uk-subnav > * { padding-left: 0; }
.sl-shop .shop-filtres .uk-subnav-pill > * > a {
  padding: 8px 14px;
  border: 1px solid var(--ligne);
  border-radius: 20px;
  background: #fff;
  color: var(--asphalte);
  font-size: 14px;
  text-transform: none;
}
.sl-shop .shop-filtres .uk-subnav-pill > * > a:hover { border-color: var(--asphalte); }
.sl-shop .shop-filtres .uk-subnav-pill > .uk-active > a { background: var(--asphalte); border-color: var(--asphalte); color: #fff; }
.sl-shop .shop-filtres-label { align-self: center; margin-right: 4px; font-size: 14px; color: var(--asphalte-2); }

/* Carrousels UIkit (promotions, produits liés) */
.sl-shop .uk-slider-items { padding-bottom: 4px; }
.sl-shop .uk-dotnav > * > * { border-color: var(--asphalte-3); }
.sl-shop .uk-dotnav > .uk-active > * { background: var(--asphalte); border-color: var(--asphalte); }
.sl-shop .uk-slidenav { color: var(--asphalte); background: #fff; border-radius: 50%; box-shadow: 0 2px 10px rgba(23, 34, 43, .15); padding: 12px 14px; }
.sl-shop .uk-light .uk-slidenav { color: var(--asphalte); }

/* --------------------------------------------------------------------------
   5. Fiche produit
   -------------------------------------------------------------------------- */
.sl-shop .shop-produit { padding: 28px 0 48px; }
.sl-shop .shop-galerie {
  border-radius: var(--rayon);
  background: var(--fond);
  overflow: hidden;
}
.sl-shop .shop-galerie .carousel-item img { mix-blend-mode: multiply; }
.sl-shop .shop-galerie .carousel-control-prev,
.sl-shop .shop-galerie .carousel-control-next { width: 56px; opacity: 1; }
.sl-shop .shop-galerie .carousel-control-prev-icon,
.sl-shop .shop-galerie .carousel-control-next-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  background-size: 14px;
  box-shadow: 0 2px 10px rgba(23, 34, 43, .15);
  filter: none;
}
.sl-shop .shop-galerie .carousel-control-prev-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2317222B' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e"); }
.sl-shop .shop-galerie .carousel-control-next-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2317222B' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e"); }
.sl-shop .shop-vignettes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.sl-shop .shop-vignettes img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--ligne);
  border-radius: 10px;
  background: var(--fond);
  mix-blend-mode: multiply;
  cursor: pointer;
}
.sl-shop .shop-vignettes img:hover,
.sl-shop .shop-vignettes img.active { border-color: var(--asphalte); }

.sl-shop .shop-achat { position: sticky; top: 150px; }
.sl-shop .shop-achat-marque { font-size: 14px; color: var(--asphalte-2); }
.sl-shop .shop-achat h1 {
  margin: 4px 0 10px;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.12;
}
.sl-shop .shop-achat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--asphalte-2); }
.sl-shop .shop-achat-meta .br-widget { height: auto; }
.sl-shop .shop-achat-resume { margin: 18px 0 0; color: var(--asphalte-2); max-width: 62ch; }
.sl-shop .shop-achat-resume p:last-child { margin-bottom: 0; }
.sl-shop .shop-achat-boite {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  background: #fff;
}
.sl-shop .shop-achat-boite .shop-prix { font-size: 34px; }
.sl-shop .shop-achat-boite .shop-prix-barre { font-size: 15px; }
.sl-shop .shop-achat-boite .form-group { margin: 18px 0 0; }
.sl-shop .shop-achat-boite .form-group label { display: block; margin-bottom: 6px; font-size: 14px; }
.sl-shop .shop-achat-boite .shop-btn { margin-top: 18px; }
.sl-shop .shop-dispo { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 500; }
.sl-shop .shop-dispo::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--vert); }
.sl-shop .shop-dispo-commande::before { background: var(--ambre); }
.sl-shop .shop-dispo-rupture::before { background: var(--rouge); }

.sl-shop .shop-achat-infos { margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--asphalte-2); }
.sl-shop .shop-achat-infos li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--ligne); }
.sl-shop .shop-achat-infos li:first-child { border-top: 0; }
.sl-shop .shop-achat-infos svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--asphalte); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sl-shop .shop-achat-infos strong { color: var(--asphalte); font-weight: 600; }
.sl-shop .shop-achat-infos small { display: block; }
.sl-shop .shop-achat-infos .uk-card { font-size: 14px; color: var(--asphalte); border-radius: 10px; }

/* Onglets de description */
.sl-shop .shop-onglets .uk-tab { margin-left: 0; border-bottom: 1px solid var(--ligne); }
.sl-shop .shop-onglets .uk-tab::before { display: none; }
.sl-shop .shop-onglets .uk-tab > * { padding-left: 0; flex: none; }
.sl-shop .shop-onglets .uk-tab > * > a {
  padding: 12px 18px;
  border-bottom: 3px solid transparent;
  font-family: var(--titre);
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  color: var(--asphalte-2);
}
.sl-shop .shop-onglets .uk-tab > .uk-active > a { color: var(--asphalte); border-bottom-color: var(--rouge); }
.sl-shop .description-product { font-size: 15px; line-height: 1.65; max-width: 75ch; }
.sl-shop .description-product img { max-width: 100%; height: auto; }

/* Avis */
.sl-shop .shop-avis { padding: 18px 0; border-top: 1px solid var(--ligne); }
.sl-shop .shop-avis-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 6px; font-size: 14px; color: var(--asphalte-2); }
.sl-shop .shop-avis-tete strong { color: var(--asphalte); font-size: 15px; }
.sl-shop .shop-avis p { margin: 0; }
.sl-shop .br-theme-bootstrap-stars .br-widget a:after { color: var(--ligne); }
.sl-shop .br-theme-bootstrap-stars .br-widget a.br-active:after,
.sl-shop .br-theme-bootstrap-stars .br-widget a.br-selected:after { color: var(--ambre); }

/* --------------------------------------------------------------------------
   6. Réassurance et pied de page
   -------------------------------------------------------------------------- */
.sl-shop .shop-reassurance { padding: 28px 0; background: var(--fond); border-top: 1px solid var(--ligne); }
.sl-shop .shop-reassurance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sl-shop .shop-reassurance-item { display: flex; gap: 14px; align-items: flex-start; }
.sl-shop .shop-reassurance-item svg { width: 28px; height: 28px; fill: none; stroke: var(--rouge); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sl-shop .shop-reassurance-item strong { display: block; font-family: var(--titre); font-size: 16px; font-weight: 700; word-break: break-word; }
.sl-shop .shop-reassurance-item p { margin: 2px 0 0; font-size: 14px; color: var(--asphalte-2); }

.sl-shop .footer.shop-footer {
  position: static;
  min-height: 0;
  padding: 44px 0 24px;
  line-height: 1.6;
  background: var(--asphalte);
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}
.sl-shop .shop-footer-nom { margin: 0 0 8px; font-family: var(--titre); font-size: 22px; font-weight: 800; color: #fff; }
.sl-shop .shop-footer-adresse { margin: 0 0 16px; font-style: normal; }
.sl-shop .shop-footer-titre { margin: 0 0 10px; font-family: var(--titre); font-size: 15px; font-weight: 700; color: #fff; }
.sl-shop .shop-footer ul { margin: 0; padding: 0; font-weight: 400; }
.sl-shop .shop-footer ul a { color: rgba(255, 255, 255, .72); line-height: 2; }
.sl-shop .shop-footer ul a:hover { color: #fff; }
.sl-shop .shop-footer .shop-footer-social { display: flex; gap: 8px; }
.sl-shop .shop-footer .shop-footer-social li { margin: 0; }
.sl-shop .shop-footer .shop-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 17px;
  line-height: 1;
}
.sl-shop .shop-footer .shop-footer-social a:hover { background: var(--rouge); }
.sl-shop .shop-footer-copyright { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .5); }

/* Menu latéral (mobile) */
.sl-shop .st-menu { background: #fff; }
.sl-shop .st-menu h2 { font-family: var(--titre); font-weight: 800; color: var(--asphalte); }
.sl-shop .st-menu ul li a { font-family: var(--titre); font-weight: 700; color: var(--asphalte); box-shadow: inset 0 -1px var(--ligne); }
.sl-shop .st-menu ul li a.sub { font-family: inherit; font-weight: 400; }

/* --------------------------------------------------------------------------
   7. Petits écrans (point de rupture unique, comme le parcours)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .sl-shop .shop-nav { display: none; }
  .sl-shop .shop-burger-wrap { display: block; }
  .sl-shop .shop-icon-label { display: none; }
  .sl-shop .shop-search { display: none; }
  .sl-shop .shop-search-mobile { display: inline-flex; }
  .sl-shop .shop-bar { gap: 6px; min-height: 64px; }
  .sl-shop .shop-logo img { height: 44px; }
  .sl-shop .shop-icon-btn { padding: 0 10px; }
  .sl-shop .shop-achat { position: static; margin-top: 24px; }
}
@media (max-width: 767.98px) {
  .sl-shop .shop-utility-inner { flex-wrap: wrap; gap: 4px 16px; font-size: 12px; }
  .sl-shop .shop-reassurance-grid { grid-template-columns: 1fr; gap: 16px; }
  .sl-shop .shop-section { padding: 28px 0 40px; }
  .sl-shop .shop-card-corps { padding: 12px; }
  .sl-shop .shop-card-nom { font-size: 15px; }
  .sl-shop .shop-prix { font-size: 19px; }
  .sl-shop .shop-filtres { flex-direction: column; }
}
/* La page de recherche mobile garde son propre champ, visible à toutes tailles */
.sl-shop .shop-recherche-page .shop-search { display: block; max-width: none; }

@media (prefers-reduced-motion: reduce) {
  .sl-shop *, .sl-shop *::before, .sl-shop *::after { transition: none !important; animation: none !important; }
}

/* --------------------------------------------------------------------------
   8. Ajustements
   -------------------------------------------------------------------------- */
/* Les flèches « -out » d'UIkit sortent du conteneur : on les rentre dans la
   marge pour ne pas créer de défilement horizontal. */
.sl-shop .st-content { overflow-x: hidden; }
.sl-shop .uk-position-center-left-out { right: auto; left: -18px; }
.sl-shop .uk-position-center-right-out { left: auto; right: -18px; }
.sl-shop .shop-card-nom { overflow-wrap: anywhere; }
.sl-shop .shop-section p a,
.sl-shop .shop-achat-infos a,
.sl-shop .description-product a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   9. Panier
   -------------------------------------------------------------------------- */
.sl-shop .shop-panier-vide { padding: 40px 0 24px; text-align: center; }
.sl-shop .shop-panier-vide img { width: min(260px, 60%); }
.sl-shop .shop-panier-vide h2 { margin: 24px 0 18px; font-size: 24px; font-weight: 800; }
.sl-shop .shop-panier-lignes { margin: 0 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--ligne); }
.sl-shop .shop-panier-ligne {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto auto 40px;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ligne);
}
.sl-shop .shop-panier-img { width: 88px; height: 88px; padding: 6px; object-fit: contain; border-radius: 10px; background: var(--fond); mix-blend-mode: multiply; }
.sl-shop .shop-panier-desc { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--asphalte-2); }
.sl-shop .shop-panier-desc strong { font-family: var(--titre); font-size: 16px; font-weight: 700; color: var(--asphalte); }
.sl-shop .shop-panier-pu { margin-top: 4px; }
.sl-shop .shop-panier-total { min-width: 96px; text-align: right; font-family: var(--titre); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sl-shop .shop-panier-suppr { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: var(--asphalte-2); }
.sl-shop .shop-panier-suppr:hover { background: rgba(216, 35, 42, .08); color: var(--rouge); }
.sl-shop .shop-panier-suppr svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sélecteur de quantité historique (+ champ −), remis en ligne */
.sl-shop .shop-panier-qte .quantity { display: inline-flex; flex-direction: row-reverse; align-items: stretch; height: 42px; margin: 0; border: 1px solid var(--ligne); border-radius: 10px; overflow: hidden; }
.sl-shop .shop-panier-qte .quantity input { position: static; float: none; height: 100%; margin: 0; border: 0; border-radius: 0; background: #fff; font-family: inherit; }
.sl-shop .shop-panier-qte .quantity input.qty { width: 48px; padding: 0; text-align: center; font-size: 15px; -moz-appearance: textfield; }
.sl-shop .shop-panier-qte .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.sl-shop .shop-panier-qte .quantity .plus,
.sl-shop .shop-panier-qte .quantity .minus { width: 36px; padding: 0; background: var(--fond); color: var(--asphalte); font-size: 18px; cursor: pointer; }
.sl-shop .shop-panier-qte .quantity .plus:hover,
.sl-shop .shop-panier-qte .quantity .minus:hover { background: var(--ligne); }

.sl-shop .shop-panier-resume { position: sticky; top: 150px; padding: 22px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--fond); }
.sl-shop .shop-panier-option { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; font-size: 14px; }
.sl-shop .shop-panier-option input { margin-top: 4px; }
.sl-shop .shop-panier-label { display: block; margin-bottom: 6px; font-size: 14px; }
.sl-shop .shop-panier-promo { display: flex; gap: 8px; }
.sl-shop .shop-panier-promo .form-control { flex: 1 1 auto; min-width: 0; text-transform: uppercase; }
.sl-shop .shop-panier-promo .shop-btn { padding: 0 16px; }
.sl-shop .shop-panier-somme { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ligne); }
.sl-shop .shop-panier-somme strong { font-family: var(--titre); font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sl-shop .shop-panier-note { margin: 6px 0 18px; font-size: 13px; color: var(--asphalte-2); }

@media (max-width: 767.98px) {
  .sl-shop .shop-panier-ligne { grid-template-columns: 64px minmax(0, 1fr) 40px; gap: 10px 14px; }
  .sl-shop .shop-panier-img { width: 64px; height: 64px; }
  .sl-shop .shop-panier-qte { grid-column: 2; }
  .sl-shop .shop-panier-total { grid-column: 2; grid-row: 2; justify-self: end; }
  .sl-shop .shop-panier-suppr { grid-column: 3; grid-row: 1; }
  .sl-shop .shop-panier-resume { position: static; }
}

/* Pied de page en bas de la fenêtre sur les pages courtes (panier vide…) :
   .st-content occupe toute la hauteur (burgermenu.css) ; en colonne, la
   réassurance absorbe l'espace restant au-dessus d'elle. */
.sl-shop .st-content { display: flex; flex-direction: column; }
.sl-shop .st-content > * { flex-shrink: 0; }
.sl-shop .st-content > .shop-reassurance { margin-top: auto; }
