@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "RobotoCondensed";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/RobotoCondensed-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "RobotoCondensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/RobotoCondensed-BoldItalic.ttf") format("truetype");
}

@font-face {
  font-family: "RobotoCondensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/RobotoCondensed-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "RobotoCondensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/RobotoCondensed-Bold.ttf") format("truetype");
}

:root {
  --page-bg: #ffffff;
  --surface-alt: #e4e4e4;
  --surface-soft: #f5f5f5;
  --line: #000000;
  --line-soft: #dadada;
  --text: #5c5c5c;
  --muted: #5c5c5c;
  --muted-strong: #282828;
  --footer-bg: #000000;
  --footer-text: #ffffff;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
  --container-width: 1240px;
  --container-pad: 28px;
  --radius: 0;
  --font-ui: "RobotoCondensed", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--text);
  background: var(--page-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-ui);
}

h1 {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

b,
strong {
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

#site-breadcrumb:empty,
#site-modal-root:empty {
  display: none;
}

#index #site-breadcrumb {
  display: none;
}

.container-shell {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.site-header {
  position: relative;
  z-index: 40;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding: 0 var(--container-pad);
  min-height: 68px;
}

.site-header__brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  margin-right: 45px;
}

.site-header__brand img {
  display: block;
}

.brand-desktop {
  width: clamp(200px, 24vw, 245px);
  height: auto;
}

.site-header__brand .brand-mobile {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.site-header__nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.desktop-nav a {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

.desktop-nav__item,
.site-header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 68px;
  padding: 0 18px;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #000;
  white-space: nowrap;
}

.desktop-nav__item.is-active,
.desktop-nav__item:hover,
.site-header__action:hover {
  color: #5d5d5d;
}

.site-header__action:focus,
.site-header__action:focus-visible,
.mobile-toggle:focus,
.mobile-toggle:focus-visible,
#site-header button:focus,
#site-header button:focus-visible,
#site-header a:focus,
#site-header a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.site-header__divider {
  width: 1px;
  height: 22px;
  background: var(--line);
  flex: 0 0 auto;
}

.site-header__meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-header__action {
  position: relative;
}

.site-header__action--icon {
  padding: 0 12px 0 0;
}

.site-header__action--cart {
  padding-right: 6px;
  gap: 9px;
}

.site-header__action--cart .icon-cart-image {
  position: relative;
  top: -2px;
}

.site-header__action--account {
  padding-left: 6px;
  padding-right: 0;
  gap: 5px;
}

.site-header__action--account .action-caret {
  margin-left: -3px;
}

.site-header__action svg {
  width: 18px;
  height: 18px;
}

.icon-search-image {
  display: block;
  width: 16px;
  height: auto;
  flex: 0 0 auto;
}

.site-header__action .icon-search-image {
  width: 16px;
}

.icon-cart-image {
  display: block;
  width: 17px;
  height: auto;
  flex: 0 0 auto;
}

.account-avatar {
  width: 20px;
  height: 20px;
}

/* Parité prod (desktop) : panier 24x22, avatar 22x22 (cf. boutique.flaash.fr) */
@media (min-width: 1025px) {
  .site-header__action--cart .icon-cart-image {
    width: 24px;
  }

  .site-header__action .account-avatar {
    width: 22px;
    height: 22px;
  }
}

.action-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
}

.dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  min-width: 192px;
  background: #ffffff;
  border: 0;
  border-radius: 4px;
  box-shadow: var(--shadow);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.dropdown.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Dans le menu mobile, la production deploie le panneau de connexion DANS LE
   FLUX, en pleine largeur : il pousse le contenu au lieu de flotter en 220px
   par-dessus (ou le texte se casse). Ni ombre ni fleche, et les coins bas
   arrondis seulement. `display: none` quand il est ferme : en `position: static`
   un simple `visibility: hidden` reserverait quand meme sa hauteur. */
@media (max-width: 767px) {
  .mobile-menu .dropdown-panel {
    display: none;
  }

  .mobile-menu .dropdown.is-open .dropdown-panel {
    display: block;
    position: static;
    width: 100%;
    min-width: 0;
    border-radius: 0 0 4px 4px;
    box-shadow: none;
    transform: none;
  }

  .mobile-menu .dropdown-panel::before,
  .mobile-menu .dropdown-panel::after {
    display: none;
  }
}

.dropdown.is-open > .site-header__action,
.dropdown.is-open > .site-header__action:hover {
  background: #e4e4e4;
  color: #5d5d5d;
}

.search-panel {
  right: auto;
  left: -100px;
  width: min(400px, calc(100vw - 40px));
  min-width: 0;
  padding: 10px;
  background: #f4f4f4;
}

.search-panel::before,
.login-panel::before,
.account-dropdown-menu::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.search-panel::before {
  top: -8px;
  left: 100px;
  border-width: 0 6.5px 9px 6.5px;
  border-color: transparent transparent #f4f4f4 transparent;
}

.search-panel form,
.inline-search form {
  display: flex;
  align-items: center;
  gap: 0;
}

.search-panel input,
.inline-search input {
  width: 100%;
  min-width: 0;
  height: 34px;
  border: 1px solid #dddddd;
  border-radius: 0 4px 4px 0;
  padding: 0 18px;
  font-size: 12px;
  color: var(--text);
  background: #ffffff;
}

.search-panel button,
.inline-search button {
  flex: 0 0 auto;
  height: 34px;
  min-width: 54px;
  padding: 0 15px;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: #000000;
}

.login-panel {
  right: 0;
  width: min(220px, calc(100vw - 36px));
  background: #ffffff;
  border-radius: 4px;
  box-shadow: rgba(0,0,0,0.176) 0px 6px 12px 0px;
}

.login-panel::before,
.account-dropdown-menu::before {
  top: -8px;
  right: 30px;
  border-width: 0 6.5px 9px 6.5px;
  border-color: transparent transparent #ffffff transparent;
}

.login-panel__body {
  padding: 10px;
}

.login-panel__footer {
  background: #000000;
  color: #ffffff;
  padding: 10px;
  text-align: center;
  border-radius: 0 0 4px 4px;
}

.login-panel__footer p {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
}

.login-panel__footer a {
  display: block;
  font-size: 10px;
  line-height: 1.1;
  text-decoration: underline;
}

.mini-form {
  display: grid;
  gap: 10px;
}

.mini-form input {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  font-size: 15px;
  background: #e8efff;
}

.login-panel .mini-form {
  gap: 9px;
}

.login-panel .mini-form__input {
  height: 30px;
  border: 0;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1;
  color: #282828;
  background: #f4f4f4;
}

.login-panel .mini-form__input--email {
  border: 0;
  background: #f4f4f4;
}

.login-panel .mini-form__input--password {
  background: #f4f4f4;
  border-radius: 4px 0 0 4px;
}

.login-panel .mini-form__password {
  position: relative;
}

.login-panel .mini-form__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6px;
}

.mini-form__login {
  height: 44px;
  padding: 0 14px;
  background: #000000;
  color: #ffffff;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
}

.login-panel .mini-form__login {
  min-width: 0;
  height: 25px;
  padding: 1px 15px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1;
}

.mini-form__login:hover,
.mini-form__login:focus {
  background: #5d5d5d;
}

.mini-form__forgot {
  align-self: center;
  font-size: 15px;
  color: var(--text);
  line-height: 1.15;
  text-decoration: underline;
}

.login-panel .mini-form__forgot {
  align-self: center;
  font-size: 10px;
  line-height: 1.15;
  color: #2c2c2c;
}

.mini-form__cookies {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.05;
  color: #b7b7b7;
}

.login-panel .mini-form__cookies {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.05;
  color: #b7b7b7;
}

.mini-form__cookies a {
  margin-top: 5px;
  text-decoration: underline;
}

.account-dropdown-menu {
  width: min(186px, calc(100vw - 32px));
  min-width: 0;
  padding: 0;
  overflow: visible;
  border: 1px solid #dedede;
  border-radius: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.account-dropdown-menu::before {
  top: -10px;
  right: 27px;
  border-width: 0 7.5px 10px 7.5px;
  border-color: transparent transparent #dedede transparent;
}

.account-dropdown-menu::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 28px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6.5px 9px 6.5px;
  border-color: transparent transparent #ffffff transparent;
}

.account-dropdown-menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: 12px;
  line-height: 1.15;
  text-decoration: none;
  background: #ffffff;
  color: #000000;
  transition: background 0.15s ease, color 0.15s ease;
}

.account-dropdown-menu__link--primary {
  background: #ffffff;
  color: #000000;
}

.account-dropdown-menu__link--secondary {
  background: #ffffff;
  color: #000000;
  border-top: 1px solid #dedede;
}

.account-dropdown-menu__link:hover,
.account-dropdown-menu__link:focus-visible {
  background: #4f4f4f;
  color: #ffffff;
}

.account-dropdown-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #d1d1d1;
  transition: color 0.15s ease;
}

.account-dropdown-menu__icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.account-dropdown-menu__link:hover .account-dropdown-menu__icon,
.account-dropdown-menu__link:focus-visible .account-dropdown-menu__icon {
  color: rgba(255, 255, 255, 0.92);
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--text);
}

.mobile-toggle svg {
  width: 18px;
  height: 18px;
}

.login-panel .field--password input {
  padding-right: 36px;
}

.login-panel .field__eye {
  right: 0;
  bottom: 0;
  width: 32px;
  height: 30px;
  border-radius: 0 4px 4px 0;
  background: #e0e0e0;
  color: #5f5f5f;
}

.login-panel .field__eye svg {
  width: 14px;
  height: 14px;
}

.login-panel .form-error {
  margin: 0;
  font-size: 11px;
}

/* En production le panneau est un collapse Bootstrap : il s'ouvre A L'INTERIEUR
   du bandeau, juste sous le logo — soit 3px au-dessus du bord bas de la barre —
   et recouvre sa bordure. Menu ouvert, la production n'affiche donc aucun trait
   entre le logo et la premiere ligne (verifie au pixel). Notre panneau etant un
   frere du <header>, on reproduit ce recouvrement : sans cela il demarre 4px
   trop bas et un trait apparait. */
.mobile-menu {
  display: none;
  position: relative;
  z-index: 41;
  margin-top: -3px;
  /* padding et non margin sur le premier bloc : une marge s'echapperait du
     panneau (fusion des marges) et son fond ne recouvrirait pas la bordure. */
  padding-top: 5px;
  background: var(--surface-alt);
  /* La .navbar de la production porte sa bordure sur les quatre cotes et grandit
     pour englober le menu deplie : la bordure entoure alors le bloc entier
     (logo + entrees). Notre panneau etant un frere du <header>, il reprend ici
     les trois cotes manquants ; le haut reste ouvert, le panneau recouvrant deja
     la bordure basse du header. */
  border-top: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mobile-menu.is-open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu,
  .mobile-menu.is-open {
    display: none !important;
  }
}

/* Menu mobile — valeurs de la production : lignes de 41px (padding 10px 15px,
   texte 18px) et, en guise de separateur, un liseré interne blanc a 10% et non
   une bordure grise. Le theme etait en lignes de 66px avec un trait #dadada,
   bien plus marque. */
.mobile-menu__search-link,
.mobile-menu__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 0;
  padding: 10px 15px;
  color: #000;
  border-top: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 18px;
  line-height: 20px;
}

/* Ligne de recherche : meme PNG que la production (icon-search.png, deja
   identique octet pour octet a son /img/search.png), en fond, taille native,
   cale a 15px du bord et centre verticalement. */
.mobile-menu__search-link {
  height: 41px;
  padding: 10px 15px;
  font-size: 0;
  justify-content: flex-start;
  background: url("../images/icon-search.png") no-repeat 15px 50%;
}

/* 5px entre les trois groupes (recherche, navigation, compte), comme les <ul>
   de la production. Le premier prend son espace du padding du panneau. */
.mobile-menu__search,
.mobile-menu__nav,
.mobile-menu__meta {
  display: block;
}

.mobile-menu__nav,
.mobile-menu__meta {
  margin-top: 5px;
}

.mobile-menu__item {
  font-size: 18px;
  line-height: 20px;
  font-weight: 400;
}

/* La loupe est desormais une image de fond : plus de <img> ni de <svg> a
   dimensionner dans le bouton. */

.mobile-menu__search-form {
  display: none;
  padding: 0 26px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu.is-search-open .mobile-menu__search-form {
  display: block;
}

.mobile-menu__search-form form {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.mobile-menu__search-form button {
  flex: 0 0 auto;
  min-width: 54px;
  height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line-soft);
  border-right: 0;
  font-size: 17px;
  font-weight: 400;
  color: #b1b1b1;
  background: #ffffff;
}

.mobile-menu__search-form input {
  width: 100%;
  min-width: 0;
  height: 54px;
  border: 1px solid var(--line-soft);
  padding: 0 18px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  background: #ffffff;
}

.mobile-menu__search-form input::placeholder {
  color: #b1b1b1;
  font-weight: 400;
}

.mobile-menu__item svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}

.mobile-menu__item .icon-cart-image {
  width: 24px;
}

.mobile-menu__item--meta {
  gap: 16px;
}

.mobile-menu__item--meta .account-avatar {
  width: 28px;
  height: 28px;
}

.mobile-menu__item--account svg:last-child {
  width: 14px;
  height: 14px;
  margin-left: auto;
}

.mobile-menu__meta {
  border-top: 1px solid var(--line-soft);
}

.mobile-menu__meta .mobile-menu__item:last-child {
  border-bottom: 0;
}

.breadcrumb-bar {
  background: #afafaf;
  color: #000;
}

.breadcrumb-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 20px 0;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.7;
  color: #000;
}

.breadcrumb-list span,
.breadcrumb-list a {
  color: #000;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

.breadcrumb-list .is-current {
  font-weight: 400;
}

.inline-search {
  width: min(100%, 190px);
  padding: 2px 0;
}

.page-main {
  min-height: 320px;
}

.page-section {
  padding: 28px 0 40px;
}

.page-title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.page-text {
  max-width: 980px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.58;
  color: #6a6a6a;
}

/* Aucune marge propre : en production le carrousel est colle au header et au
   bloc suivant (ecarts mesures a 0). Les 70px de respiration au-dessus du titre
   et du visuel viennent de la gouttiere des colonnes (.hero-slide__col). En
   ajouter ici les cumulerait. */
/* Selecteur qualifie a dessein : les `.page-section` des media queries, de meme
   specificite mais declarees plus bas, reimposeraient sinon leur padding. */
.page-section.home-page {
  padding-top: 0;
  padding-bottom: 0;
}

/* Carrousel d'accueil — réplique du carrousel Bootstrap 3 de la production
   (#slider.carousel.product-slider.carousel-fit). Les fleches sont des calques
   absolus larges de 5% sur toute la hauteur, jamais des colonnes de grille :
   la slide occupe donc la pleine largeur du conteneur, comme en production. */
.hero-carousel {
  position: relative;
  overflow: hidden;
}

.hero-carousel__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-carousel__slides {
  position: relative;
}

/* Machinerie de transition reprise de Bootstrap 3 (.carousel-inner > .item) */
.hero-slide {
  display: none;
  position: relative;
  transition: transform 0.6s ease-in-out;
  backface-visibility: hidden;
  perspective: 1000px;
}

.hero-slide.is-active,
.hero-slide.is-next,
.hero-slide.is-prev {
  display: block;
}

.hero-slide.is-next,
.hero-slide.is-prev {
  position: absolute;
  top: 0;
  width: 100%;
}

.hero-slide.is-active.is-right,
.hero-slide.is-next {
  transform: translate3d(100%, 0, 0);
}

.hero-slide.is-active.is-left,
.hero-slide.is-prev {
  transform: translate3d(-100%, 0, 0);
}

.hero-slide.is-active,
.hero-slide.is-next.is-left,
.hero-slide.is-prev.is-right {
  transform: translate3d(0, 0, 0);
}

/* Grille interne : deux colonnes de 50% avec gouttieres de 15px, sans marges
   negatives — c'est la geometrie exacte des .col-sm-6 de la production. */
.hero-slide__row {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
}

/* La production herite d'un contexte 13px / 1.7 a l'interieur de la slide. Il
   determine la ligne de base sous le visuel (inline-block), donc la hauteur de
   la colonne en pile : sans lui, la slide mobile est 3px trop courte. */
.hero-slide__col {
  width: 100%;
  padding: 70px 15px;
  font-size: 13px;
  line-height: 1.7;
}

/* padding-top a 0 : le `padding-top: 100px` de la feuille de base de la
   production est annule par son extends.css. Le calage vertical vient donc des
   70px de gouttiere de la colonne, pas du bloc de texte. */
.hero-slide__copy {
  max-width: 380px;
  margin: 0 auto;
  padding-top: 0;
  min-height: 500px;
  text-align: left;
}

/* Gouttiere identique a `.slider-text .btn { margin-top: 20px }`. */
.hero-slide__copy .buy-cta {
  margin-top: 20px;
}

.hero-slide__title {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  color: #282828;
}

.hero-slide__subtitle {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.35;
  color: #5c5c5c;
  font-weight: 400;
}

.hero-slide__body {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.58;
  color: #5c5c5c;
}

.hero-slide__body p {
  margin: 0;
}

.hero-slide__body ul {
  margin: 0;
  padding-left: 18px;
}

.hero-slide__body li + li {
  margin-top: 6px;
}

.hero-slide__media {
  display: inline-block;
  position: relative;
  margin: 0 auto;
}

.hero-slide__media img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Fleches — equivalent de .carousel-control : zone cliquable de 5% de large sur
   toute la hauteur du carrousel, opacite 0.5 -> 0.9 au survol, sans transition
   (la production n'anime que `color`, le changement d'opacite est instantane). */
button.carousel-arrow,
.carousel-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  display: block;
  width: 5%;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  color: transparent;
  opacity: 0.5;
  cursor: pointer;
}

.carousel-arrow--prev {
  left: 0;
}

.carousel-arrow--next {
  right: 0;
}

.carousel-arrow:hover,
.carousel-arrow:focus,
.carousel-arrow:active {
  opacity: 0.9;
  outline: 0;
}

/* Le contour clavier reste sur :focus-visible : invisible a la souris, donc le
   rendu compare a la production est inchange, mais la navigation au clavier
   reste perceptible. */
.carousel-arrow:focus-visible {
  outline: 2px solid #282828;
  outline-offset: -2px;
}

.carousel-arrow::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.carousel-arrow__icon {
  position: absolute;
  top: 45%;
  display: block;
  width: 45px;
  height: 45px;
  background-repeat: no-repeat;
  background-size: 30%;
}

.carousel-arrow--prev .carousel-arrow__icon {
  left: 0;
  background-image: url("../images/icon-arrow-left3.png");
  background-position: center;
}

.carousel-arrow--next .carousel-arrow__icon {
  right: 0;
  background-image: url("../images/icon-arrow-right3.png");
  background-position: 16px center;
}

/* Bouton d'achat — reprise de .btn.btn-red.btn-price-basket de la production.
   Modele en ligne (et non flex) : c'est lui qui produit les espacements exacts
   entre le prix, le trait, l'icone et le libelle. */
.buy-cta {
  display: inline-block;
  padding: 15px 20px 19px 20px;
  border: 1px solid #000000;
  border-radius: 4px;
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  white-space: nowrap;
  transition: 0.2s ease-in-out;
}

.buy-cta:hover,
.buy-cta:focus {
  border-color: #5d5d5d;
  background: #5d5d5d;
  color: #ffffff;
}

.buy-cta__price {
  position: relative;
  margin-right: 30px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}

/* Le trait separateur est ancre sur le prix, 15px a sa droite. */
.buy-cta__price::after {
  content: "";
  display: block;
  position: absolute;
  top: -12px;
  right: -15px;
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.5);
}

/* Icone en image de fond, sans filtre : l'asset du theme est deja celui de la
   production (icon-basket-slider.png y est identique a son core/img/icon-basket.png). */
.buy-cta__basket {
  display: inline-block;
  position: relative;
  top: 4px;
  width: 24px;
  height: 22px;
  margin-right: 10px;
  background: url("../images/icon-basket-slider.png") no-repeat center;
  background-size: 100%;
}

/* Pastilles — equivalent de .carousel-indicators-wrap / .carousel-indicators :
   calque absolu cale a 20px du bas, aligne sur la colonne de texte. */
.carousel-dots-wrap {
  position: absolute;
  left: 0;
  bottom: 20px;
  z-index: 15;
  width: 100%;
  padding: 0 20px;
}

/* Meme contexte typographique que la production (13px / 1.7) : la ligne de base
   qu'il cree sous les pastilles fait partie de la hauteur du bloc, donc de leur
   position finale. Les pastilles sont des inline-block, aussi le template les
   emet sans blanc entre elles pour ne pas ajouter d'espace parasite. */
.carousel-dots {
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.carousel-dot {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  width: 18px;
  height: 18px;
  margin: 0 2px 0 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.carousel-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 10px;
  height: 10px;
  margin: auto;
  border-radius: 50%;
  background: #5d5d5d;
}

.carousel-dot:hover::before,
.carousel-dot:focus::before,
.carousel-dot.is-active::before {
  background: #000000;
}

.carousel-dot.is-active {
  border-color: #000000;
}

/* A partir de 768px la production passe en .col-sm-6 avec push/pull : le texte
   part a gauche, le visuel a droite, et les pastilles se calent sous le texte. */
@media (min-width: 768px) {
  .hero-slide__col {
    width: 50%;
  }

  .hero-slide__col--copy {
    order: 1;
  }

  .hero-slide__col--media {
    order: 2;
  }

  .carousel-dots-wrap {
    width: 50%;
  }

  .carousel-dots {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

@media (max-width: 767px) {
  /* Les colonnes gardent leurs 70px de gouttiere y compris en pile : la regle
     mobile de la production (30/20 et 0/30) porte un selecteur invalide
     (`div: first-child`, espace apres le deux-points) et n'est jamais
     appliquee par le navigateur. C'est le rendu observe qui fait reference. */

  .hero-slide__copy {
    max-width: 300px;
    padding-top: 0;
    min-height: 100%;
  }

  .hero-slide__media img {
    max-width: 350px;
    max-height: 350px;
  }

  /* La production descend son corps de texte a 13px sous 768px ; les pastilles
     en heritent, et leur ligne de base — donc leur position — en depend. */
  .carousel-dots {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-slide__media img {
    max-width: 250px;
    max-height: 350px;
  }
}

.catalog-page,
.search-page,
.login-page,
.account-page,
.cart-page,
.checkout-page {
  padding-top: 18px;
}

/* Grille catalogue — modele de la production : 4 colonnes egales dans un
   conteneur de 1200px, chaque carte avec 15px de gouttiere, et le visuel
   plafonne a 292px, centre dans sa colonne (il n'est jamais agrandi au-dela). */
.catalog-grid,
.search-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 30px;
  /* Marges negatives : la grille annule la gouttiere de son conteneur pour que
     les colonnes partent de son bord, comme la .row de la production. */
  margin: 0 -15px;
  padding: 0;
}

.catalog-card,
.search-grid > *,
.related-grid > * {
  padding: 0 15px;
}

.catalog-card__media {
  max-width: 292px;
  margin: 0 auto;
}

/* Bouton d'achat en pile : masque au-dela de 768px, ou la production le remplace
   par la surcouche au survol. */
.catalog-card__buy-inline {
  display: none;
  margin-top: 5px;
  padding: 6px 12px;
  border: 1px solid #000000;
  border-radius: 4px;
  background: #000000;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.428571;
  text-align: center;
  text-decoration: none;
}

.catalog-card__buy-inline:hover,
.catalog-card__buy-inline:focus {
  border-color: #5d5d5d;
  background: #5d5d5d;
  color: #ffffff;
}

@media (max-width: 767px) {
  .catalog-card__buy-inline {
    display: block;
  }

  /* La surcouche au survol n'a pas de sens au toucher : la production la
     remplace par le bouton en pile ci-dessus. */
  .catalog-card__actions {
    display: none;
  }
}

/* Abonnements : aucune regle de grille specifique. La categorie doit rendre
   exactement la meme grille que Numeros (meme taille de visuel, memes
   gouttieres) ; seul le contenu change. Ne pas reintroduire ici de
   repeat(3)/max-width/gap : cela redonnerait des cartes plus grandes et un
   espacement different de .catalog-grid. */

.catalog-card {
  display: block;
}

.catalog-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 0.76;
  object-fit: cover;
  background: #f3f3f3;
}

.catalog-card__title {
  margin: 10px 0 4px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-card__price {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.offer-page {
  padding-top: 0;
}

.offer-hero {
  display: grid;
  grid-template-columns: minmax(340px, 560px) minmax(320px, 1fr);
  gap: 44px;
  align-items: stretch;
}

.offer-hero__media {
  background: #cfcfcf;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.offer-hero__media img {
  width: min(100%, 340px);
  object-fit: contain;
}

.offer-hero__body {
  padding-top: 18px;
}

.offer-hero__body .product-prices {
  display: none;
}

.offer-copy {
  display: grid;
  gap: 14px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.offer-copy p,
.offer-copy ul {
  margin: 0;
}

.offer-copy ul {
  padding-left: 18px;
}

.offer-copy strong {
  font-weight: 700;
  color: #282828;
}

.offer-copy em {
  color: #7d7d7d;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0;
}

.qty-row__label {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 10px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d2d2d2;
  background: #fff;
}

.qty-stepper button,
.qty-stepper .qty-stepper__btn,
.qty-stepper span,
.qty-stepper .qty-stepper__val {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.qty-stepper button,
.qty-stepper .qty-stepper__btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.qty-stepper__input {
  width: 34px;
  height: 34px;
  border-inline: 1px solid #d2d2d2;
  font-size: 13px;
  text-align: center;
  border-block: 0;
  border-radius: 0;
  padding: 0;
  background: #fff;
  -moz-appearance: textfield;
}

.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.offer-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.offer-buy__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.offer-buy__submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-ui);
}

.offer-buy__submit:hover:not(:disabled) {
  background: #5d5d5d;
}

.offer-buy__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.offer-buy__price,
.offer-buy__label {
  white-space: nowrap;
}

.offer-buy__divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.24);
}

.offer-buy__icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.offer-ref {
  margin-top: 14px;
  font-size: 11px;
  color: #8a8a8a;
}

.subscription-config {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.subscription-config__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.subscription-step {
  display: grid;
  gap: 10px;
}

.subscription-step__label {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.subscription-select,
.subscription-pill {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid #d7d7d7;
  background: #f7f7f7;
  color: #282828;
  font-size: 12px;
}

.subscription-select {
  background: #fff;
}

.subscription-select__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #282828;
}

.subscription-pill.is-active {
  background: #000;
  border-color: #000;
  color: #fff;
}

.related-block {
  padding-top: 30px;
  border-top: 1px solid #efefef;
}

.related-block .page-title {
  text-align: center;
  margin-bottom: 26px;
}

.related-grid--duo {
  grid-template-columns: repeat(2, minmax(220px, 240px));
  justify-content: center;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 1px minmax(420px, 1.8fr);
  gap: 26px;
}

.login-divider {
  background: #ededed;
}

.panel-title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
}

.form-stack,
.account-form {
  display: grid;
  gap: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.field {
  display: grid;
  gap: 4px;
}

.field label {
  font-size: 11px;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid #dfdfdf;
  padding: 0 12px;
  font-size: 12px;
  background: #ffffff;
}

.field textarea {
  min-height: 120px;
  padding-top: 10px;
  resize: vertical;
}

.field--password {
  position: relative;
}

.field--password input {
  padding-right: 36px;
}

.field__eye {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #6a6a6a;
}

.field__eye svg {
  width: 14px;
  height: 14px;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.checkbox-line input {
  margin-top: 2px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 700;
}

.button-primary {
  background: #000000;
  color: #ffffff;
}

.button-secondary {
  border: 1px solid #000000;
  color: #000000;
}

.button-primary:hover,
.button-secondary:hover {
  opacity: 0.9;
}

.fine-print {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

.fine-print a {
  text-decoration: underline;
}

.form-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-error {
  color: #b30000;
  font-size: 11px;
}

.search-meta {
  margin: -6px 0 24px;
  font-size: 11px;
  color: var(--muted);
}

.search-empty {
  padding: 30px 0 70px;
  font-size: 16px;
  font-weight: 700;
}

.search-load-more {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 102px;
  min-height: 28px;
  padding: 0 18px;
  border: 1px solid #8b8b8b;
  border-radius: 999px;
  font-size: 11px;
  color: #444444;
}

.account-title {
  margin: 0;
  padding: 8px 0 16px;
  font-size: 18px;
  text-transform: uppercase;
}

.account-banner {
  margin-bottom: 18px;
  padding: 0 18px;
  border: 1px solid #e1e1e1;
  background: #ffffff;
  box-shadow: none;
}

.account-section {
  padding: 30px 0 34px;
  border-top: 1px solid #e8e8e8;
}

.account-section:first-of-type {
  border-top: 0;
}

.account-section__title {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 500;
}

.address-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

.address-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  background: #1d1d1d;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.account-page {
  background: #f5f5f5;
  padding-bottom: 56px;
}

.account-page .account-banner {
  display: grid;
  gap: 18px;
}

.account-page .account-section {
  padding: 0;
  border-top: 0;
}

.account-page--overview .account-section + .account-section {
  padding-top: 34px;
  border-top: 1px solid #e8e8e8;
}

.account-address-card {
  display: grid;
  gap: 18px;
}

.account-address-card__body {
  display: grid;
  gap: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #2f2f2f;
}

.account-address-card__body p {
  margin: 0;
}

.account-address-card__company,
.account-address-card__name {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.account-grid--summary {
  gap: 14px;
}

.account-field {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #ececec;
  background: #fafafa;
}

.account-field--readonly {
  min-height: 100%;
  align-content: center;
}

.account-field__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #858585;
}

.account-field__value {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1d;
}

.account-empty {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.account-empty p {
  margin: 0;
  font-size: 13px;
  color: #656565;
}

.account-address-inline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.account-address-inline__tools {
  display: flex;
  gap: 10px;
  padding-top: 2px;
}

.account-address-inline__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #b7b7b7;
}

.account-address-inline__icon:hover {
  color: #000000;
}

.account-address-inline__icon svg,
.account-address-inline__note a svg {
  width: 22px;
  height: 22px;
}

.account-address-inline__content {
  display: grid;
  gap: 18px;
}

.account-address-inline__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 1.55;
}

.account-address-inline__lead {
  font-weight: 700;
  color: #2b2b2b;
}

.account-address-inline__text {
  color: #5b5b5b;
  font-size: 11px;
  letter-spacing: 0.01em;
}

.account-address-inline__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.account-address-inline__note a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #777777;
}

.account-address-inline__note p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: #1f1f1f;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.account-actions--end {
  justify-content: flex-end;
}

.account-intro {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #5f5f5f;
}

.account-form-wrap {
  border: 1px solid #ececec;
  background: #fafafa;
  padding: 18px;
}

.account-profile-form {
  display: grid;
  gap: 22px;
}

.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.account-form-grid__item,
.account-form-options__item {
  min-width: 0;
}

.account-form-grid__item .form-group,
.account-form-options__item .form-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
}

.account-form-grid__item .form-control-label,
.account-form-options__item .form-control-label {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #858585;
}

.account-form-grid__item .js-input-column,
.account-form-options__item .js-input-column,
.account-form-grid__item .form-control-comment,
.account-form-options__item .form-control-comment {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.account-profile-form .form-control,
.account-profile-form .form-control-select,
.account-profile-form select,
.account-profile-form input[type="text"],
.account-profile-form input[type="email"],
.account-profile-form input[type="password"],
.account-profile-form input[type="date"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dcdcdc;
  padding: 0 12px;
  background: #ffffff;
  font-size: 12px;
  color: #1d1d1d;
}

.account-profile-form .form-control-comment {
  font-size: 11px;
  color: #8b8b8b;
}

.account-profile-form .input-group {
  display: flex;
  align-items: stretch;
}

.account-profile-form .input-group .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.account-profile-form .input-group .btn {
  min-width: 64px;
  border: 1px solid #dcdcdc;
  border-left: 0;
  background: #efefef;
  color: #444444;
  font-size: 11px;
  font-weight: 700;
}

.account-profile-form .radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
  font-size: 12px;
  color: #444444;
}

.account-profile-form .custom-checkbox label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #444444;
}

.account-profile-form .custom-checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.account-form-options {
  display: grid;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid #e4e4e4;
}

.account-form-options .form-group.has-error .form-control,
.account-form-grid__item .form-group.has-error .form-control {
  border-color: #b30000;
}

.account-form-options .help-block,
.account-form-grid__item .help-block {
  margin: 2px 0 0;
  font-size: 11px;
}

.account-profile-form--overview {
  display: grid;
  gap: 18px;
}

.account-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 30px;
}

.account-profile-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.account-profile-field label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  color: #1f1f1f;
}

.account-profile-field .form-control,
.account-profile-field input[type="text"],
.account-profile-field input[type="email"],
.account-profile-field input[type="password"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dddddd;
  border-radius: 2px;
  padding: 0 12px;
  background: #ffffff;
  font-size: 12px;
  color: #1d1d1d;
  box-shadow: none;
}

.account-profile-field--readonly input {
  background: #ffffff;
  color: #333333;
}

.account-profile-field.has-error .form-control,
.account-profile-field.has-error input {
  border-color: #b30000;
}

.account-password-group {
  display: flex;
  align-items: stretch;
}

.account-password-group .form-control {
  border-right: 0;
}

.account-password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  border: 1px solid #dddddd;
  background: #ffffff;
  color: #6a6a6a;
}

.account-password-toggle svg {
  width: 18px;
  height: 18px;
}

.account-profile-options {
  padding-top: 4px;
}

.account-checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #2f2f2f;
}

.account-checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.account-profile-form--overview .account-actions {
  justify-content: flex-start;
}

.account-profile-form--overview .auth-btn-submit {
  width: auto;
  min-width: 106px;
  padding: 10px 20px;
  font-size: 14px;
  font-style: normal;
}

.simple-list {
  display: grid;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

/* ── Cart page ──────────────────────────────────────────────
   Structure et metriques calquees sur la production
   (https://boutique.flaash.fr/common/cart, releves Playwright a 1440 / 1280 /
   1024 / 768 / 375) : conteneur 1200 avec gouttieres de 15, ligne produit en
   table (image + corps), quantite et prix positionnes en absolu sur la ligne,
   separateurs verticaux en pseudo-elements. */
.basket-page {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #5c5c5c;
}

/* Conteneur de la page panier : 1200px avec 15px de gouttiere, comme la
   production (le conteneur generique du theme en met 28). Cible sur
   .basket-page pour ne pas toucher au header ni au footer. */
.basket-page .container-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.basket-heading {
  padding: 20px 0;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.basket-heading h1 {
  font-family: inherit;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: #282828;
  margin: 0;
}

/* La ligne produit joue le role de .container-fluid + .row + .col-xs-12 de la
   production : sa boite de bordure vaut exactement le conteneur (1200), ce qui
   permet aux pourcentages ci-dessous (separateurs, quantite) d'y correspondre. */
.basket-detail {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

/* Les deux filets verticaux qui separent nom / quantite / prix. */
.basket-detail::before,
.basket-detail::after {
  content: "";
  position: absolute;
  top: 32%;
  width: 1px;
  height: 115px;
  background: #dee3e7;
}

.basket-detail::before {
  left: 45%;
}

.basket-detail::after {
  right: 30%;
}

.basket-detail .media {
  display: table;
  width: 100%;
  padding-top: 40px;
}

.basket-detail .media-left {
  display: table-cell;
  vertical-align: top;
  padding-right: 10px;
}

.basket-detail .media-body {
  display: table-cell;
  vertical-align: top;
  width: 100%; /* force la colonne image a se reduire a son contenu */
}

/* max-width: none neutralise la regle globale des images : sans elle, la
   cellule image se reduit a rien puisque le corps de ligne reclame 100%. */
.basket-detail .media-object {
  display: block;
  height: 200px;
  width: auto;
  max-width: none;
  margin-right: 20px;
}

.basket-lib-produit {
  font-family: inherit;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  color: #282828;
  margin: 0 0 30px;
}

/* Intitules gris des caracteristiques de ligne (duree d'engagement, support,
   zones de livraison, quantite, prix). */
.basket-detail .media-body h3 {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.1;
  color: #adadad;
  margin: 0;
}

.basket-lib-declinaison,
.basket-lib-periodicite,
.basket-lib-support,
.basket-lib-zone {
  font-size: inherit;
  font-weight: 700;
  line-height: 1.7;
  color: #282828;
  margin: 0 0 15px;
}

/* Quantite et prix sont sortis du flux du corps de ligne et cales sur la
   largeur de la ligne, comme en production. */
.basket-detail .product-quantity {
  position: absolute;
  top: 40%;
  right: 38%;
  width: 106px;
  max-width: 106px;
}

.basket-page .input-group.marginquantity {
  display: flex;
  width: 106px;
  height: 34px;
  margin-top: 10px;
}

.basket-page .input-group.marginquantity .btn-number {
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 2px 0 0 2px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.basket-page .input-group.marginquantity .btn-number[data-type="plus"] {
  border-radius: 0 2px 2px 0;
}

.basket-page .input-group.marginquantity .btn-number:hover {
  background: #e6e6e6;
}

/* Comme en production, « - » est inactif tant que la quantite vaut 1. */
.basket-page .input-group.marginquantity .btn-number.is-disabled {
  opacity: 0.65;
  pointer-events: none;
}

.basket-page .input-group.marginquantity .input-number {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  margin: 0 -1px;
  border: 1px solid #d2d2d2;
  background: #f4f4f4;
  color: #282828;
  font-size: 14px;
  line-height: 1;
}

.basket-detail .basket-price {
  position: absolute;
  top: 40%;
  right: 20px;
  width: 250px;
}

.basket-price .the-price {
  position: relative;
}

.basket-price .the-price h3 {
  font-size: 14px;
}

.basket-price .the-price p {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.7;
  color: #282828;
  margin: 0;
}

/* Corbeille rouge a la place de la croix de la production : meme boite de 15px
   et meme position, seule l'icone change. */
.basket-price .price-close {
  position: absolute;
  top: 33px;
  right: 0;
  width: 15px;
  height: 15px;
  background: url("../images/icon-trash-red.svg") no-repeat 50% 50%;
  background-size: contain;
}

.basket-price .price-close:hover,
.basket-price .price-close:focus-visible {
  opacity: 0.7;
}

.basket-empty {
  padding: 40px 0;
}

.basket-empty__text {
  margin: 0;
}

/* ── Cart page : total ─────────────────────────────────────
   La hauteur fixe du conteneur et le decalage relatif du bloc reproduisent la
   production : le total deborde volontairement sur le padding bas de la bande
   grise, ce qui donne une bande de 160px de haut. */
.basket-total {
  margin-top: 40px;
  padding: 40px 0;
  background: #efefef;
}

.basket-total .container-shell {
  height: 80px;
  padding-left: 0;
  padding-right: 0;
}

.basket-total .total-price {
  width: 33.3333%;
  margin-left: 66.6667%;
  padding: 0 15px;
}

.basket-total .the-total-price {
  position: relative;
  top: 32px;
  width: 190px;
  max-width: 190px;
  margin: 0 auto;
}

.basket-total .the-total-price h3 {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  color: #adadad;
  margin: 0;
}

.basket-total .the-total {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.7;
  color: #000;
  margin: 0;
}

/* ── Cart page : boutons ───────────────────────────────────── */
.basket-buttons {
  padding: 40px 0;
  background: #ddd;
}

.basket-buttons .container-shell::after {
  content: "";
  display: table;
  clear: both;
}

.basket-buttons .pull-left {
  float: left;
}

.basket-buttons .pull-right {
  float: right;
}

.basket-page .btn-basket-custom {
  position: relative;
  display: inline-block;
  width: 200px;
  min-width: 200px;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4286;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
}

/* Fleche circulaire de la production, calee sur le bord du bouton. */
.basket-page .btn-basket-custom::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 25px;
  height: 25px;
  margin: auto 0;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.basket-page .btn-left::before {
  left: 10px;
  background-image: url("../images/icon-button-arrow-left.png");
}

.basket-page .btn-right::before {
  right: 10px;
  background-image: url("../images/icon-button-arrow-right.png");
}

.basket-page .btn-lt-grey {
  background: #ababab;
  border-color: #ababab;
  color: #fff;
}

.basket-page .btn-dark {
  background: #000;
  border-color: #000;
  color: #fff;
}

.basket-page .btn-basket-custom:hover,
.basket-page .btn-basket-custom:focus {
  color: #fff;
  opacity: 0.85;
}

.basket-page .btn-basket-custom:focus-visible {
  outline: 2px solid #282828;
  outline-offset: 2px;
}

/* ── Delivery / Checkout page ────────────────────────────── */
.delivery-page {
  background: #f4f4f4;
  padding-bottom: 40px;
}

.delivery-heading {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #fff;
  margin-bottom: 40px;
}

.delivery-heading h1 {
  font-size: 30px;
  margin-bottom: 0;
  font-family: "RobotoCondensed", sans-serif;
}

.delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 340px);
  gap: 28px;
  align-items: start;
}

.delivery-address {
  background: #fff;
  padding: 24px;
}

.delivery-address h2 {
  font-size: 20px;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
}

.delivery-address h3 {
  font-size: 16px;
  margin-bottom: 14px;
  margin-top: 20px;
}

.delivery-address__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field--full {
  grid-column: 1 / -1;
}

.delivery-address label {
  font-weight: 400;
  font-size: 13px;
  color: #282828;
  display: block;
  margin-bottom: 4px;
}

.field-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d2d2d2;
  font-size: 13px;
  color: #282828;
  background: #fff;
  font-family: inherit;
  box-sizing: border-box;
}

.field-input:focus {
  outline: none;
  border-color: #000;
}

.delivery-panel {
  background: #fff;
  padding: 20px;
}

.delivery-panel__item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.delivery-panel__item--total,
.delivery-panel__item:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.delivery-panel__item-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}

.delivery-panel__item-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #5d5d5d;
}

.delivery-panel__item-price {
  font-weight: 600;
  color: #000;
}

.delivery-panel__total-label {
  font-size: 13px;
  color: #adadad;
  font-weight: 400;
  margin: 0;
}

.delivery-panel__total-amount {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  margin: 4px 0 16px;
}

.delivery-panel__btn {
  width: 100%;
  padding: 14px;
}

/* Bande de reassurance — reprise de .footer-icons de la production.
   La ligne de separation est la bordure haute de la bande : 1px, #f4f4f4,
   pleine largeur de la fenetre, suivie de 30px avant le contenu. */
.trust-strip {
  border-top: 1px solid #f4f4f4;
  background: #ffffff;
  padding-top: 30px;
}

/* Quatre colonnes egales dans un conteneur de 1200px, sans gouttiere : c'est la
   grille .col-md-3 de la production. Le 20px du bas correspond au margin-bottom
   de ses colonnes. */
/* row-gap + padding bas reproduisent le margin-bottom des colonnes de la
   production (20px) additionne a celui de son <h3> (15px). */
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 35px;
  align-items: start;
  width: min(100%, 1200px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 35px;
}

/* width: 100% est indispensable : sur une cellule de grille, des marges `auto`
   annulent l'etirement, et la boite retomberait sur la largeur de son texte. */
.trust-cell {
  padding: 0 15px;
}

.trust-item {
  position: relative;
  display: block;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  padding-left: 60px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  color: #282828;
  text-align: left;
}

/* L'icone deborde de 10px au-dessus de la ligne de texte, comme en production
   (top: -10px), et non centree verticalement dessus. */
.trust-item__icon {
  position: absolute;
  top: -10px;
  left: 0;
  width: 48px;
  height: 36px;
  background-repeat: no-repeat;
  background-position: center;
}

.trust-item--payment .trust-item__icon {
  background-image: url("../images/icon-footer1.png");
  background-size: 50%;
}

.trust-item--delivery .trust-item__icon {
  background-image: url("../images/icon-footer2.png");
  background-size: 100%;
}

.trust-item--contact .trust-item__icon {
  background-image: url("../images/icon-footer3.png");
  background-size: 70%;
}

.trust-item--satisfaction .trust-item__icon {
  background-image: url("../images/icon-footer4.png");
  background-size: 65%;
}

.site-footer {
  background: #000;
  color: #c7c7c7;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.footer-main {
  background: #000;
  padding: 28px 0 24px;
}

/* Colonnes du footer — grille de la production (col-xs-4 col-sm-2) : chaque
   colonne vaut 1/6 du conteneur au-dela de 768px et 1/3 de l'ecran en dessous,
   avec 15px de gouttiere. Elles ne s'empilent jamais. */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  width: min(100%, 1200px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.footer-column {
  padding: 0 15px;
}

.footer-column__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links a {
  font-size: 12px;
  line-height: 1.5;
  color: #c7c7c7;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  background: #000;
  color: #bbbbbb;
}

/* Barre de copyright — valeurs de la production : pas de bordure haute,
   15px de part et d'autre, texte #bbb. */
.footer-copyright {
  background: #000;
  border-top: 0;
  color: #bbbbbb;
  padding: 15px 0;
  font-size: 12px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Meme conteneur que la production : 1200px avec 15px de gouttiere. C'est lui
   qui fixe le bord droit sur lequel les icones sociales viennent se caler. */
.footer-copyright__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 1200px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Reseaux sociaux — reprise de .footer-copyright ul de la production : une liste
   d'inline-block, chaque <li> avec 5px de part et d'autre. La production n'a
   aucun effet visible au survol (l'ancre change de couleur, mais elle ne
   contient qu'une image). */
.footer-follow {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.7;
  color: #ffffff;
}

/* Cales sur la ligne de base, comme les <li> de la production : les centrer
   verticalement remonterait les icones de 4px. */
.footer-follow li {
  display: inline-block;
  padding: 0 5px;
  vertical-align: baseline;
}

.footer-follow__label {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.footer-follow a {
  display: inline-block;
  width: 19px;
  height: 19px;
  margin: 0;
  line-height: 1;
  color: #bbbbbb;
  transition: color 0.2s ease-in-out;
}

.footer-follow a:hover,
.footer-follow a:focus {
  color: #ffffff;
}

/* En ligne, et non en bloc. Les deux logos n'ont pas la meme hauteur rendue
   (14,6px et 19px) : en production leurs deux images tombent sur le meme centre
   vertical, ce que `vertical-align: middle` reproduit. */
.footer-follow img {
  display: inline;
  max-width: 19px;
  vertical-align: middle;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 16px 16px;
  background: rgba(0, 0, 0, 0.35);
}

.modal-card {
  width: min(100%, 640px);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.modal-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  background: #222222;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  position: relative;
}

.modal-card__close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: #ffffff;
  font-size: 16px;
}

.modal-card__body {
  padding: 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  min-width: 220px;
  max-width: 320px;
  padding: 12px 14px;
  background: #000000;
  color: #ffffff;
  box-shadow: var(--shadow);
  font-size: 12px;
}

@media (max-width: 1120px) {
  .hero-slide__title {
    font-size: 30px;
  }

  .catalog-grid,
  .search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offer-hero {
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  }
}

/* "Vous aimerez aussi" (fiche produit) : breakpoints Bootstrap de la prod, 4 / 2 / 1 colonnes */
@media (max-width: 991px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Fiche produit : la prod empile image/texte sous 992px (breakpoint Bootstrap md) */
  .offer-hero {
    grid-template-columns: 1fr;
  }

  /* Panier : sous 992px la production masque les filets verticaux et reduit le
     titre de ligne ; quantite et prix restent cales a droite de la ligne. */
  .basket-detail::before,
  .basket-detail::after {
    display: none;
  }

  .basket-lib-produit {
    font-size: 22px;
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .related-grid {
    grid-template-columns: 1fr;
  }

  /* Panier mobile : quantite et prix reviennent dans le flux du corps de ligne,
     sous les caracteristiques ; le total et les boutons passent pleine largeur. */
  .basket-page {
    font-size: 13px;
  }

  .basket-lib-declinaison,
  .basket-lib-periodicite,
  .basket-lib-support,
  .basket-lib-zone {
    margin-bottom: 5px;
  }

  .basket-detail .product-quantity,
  .basket-detail .basket-price {
    position: static;
    width: auto;
  }

  .basket-detail .product-quantity {
    max-width: 80px;
    margin: 0 0 10px;
  }

  .basket-page .input-group.marginquantity {
    width: 91px;
    height: 29px;
  }

  .basket-page .input-group.marginquantity .btn-number {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
    font-size: 12px;
  }

  .basket-page .input-group.marginquantity .input-number {
    height: 29px;
    font-size: 12px;
  }

  .basket-price .the-price p {
    font-size: 22px;
  }

  .basket-price .price-close {
    top: 17px;
  }

  .basket-total .container-shell {
    height: 106px;
  }

  .basket-total .total-price {
    width: auto;
    margin-left: 0;
  }

  .basket-total .the-total-price {
    margin-left: 0;
  }

  .basket-buttons .pull-left,
  .basket-buttons .pull-right {
    float: none;
    width: 100%;
  }

  .basket-page .btn-basket-custom {
    width: 100%;
  }

  .basket-buttons .pull-left .btn-basket-custom {
    margin-bottom: 10px;
  }
}

/* ===== TABLETTE (768-1199) : layout 2 lignes comme la prod =====
   Ligne 1 : logo + recherche + menu. Ligne 2 : panier + connexion (droite).
   Header ~94px, aucun chevauchement. */
@media (min-width: 768px) and (max-width: 1199px) {
  .site-header__inner {
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    min-height: 94px;
    padding: 0 16px;
  }

  .site-header__brand {
    margin-right: 22px;
  }

  .brand-desktop {
    width: 245px;
    height: 50px;
  }

  .site-header__nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
  }

  .desktop-nav {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    min-width: 0;
  }

  .site-header__meta {
    flex: 0 0 100%;
    justify-content: flex-end;
    margin-left: 0;
  }

  #top-menu > li > a,
  .top-menu > li > a,
  .desktop-nav__item,
  .site-header__action {
    min-height: 0;
  }

  .site-header__action .icon-search-image {
    width: 16px;
  }

  .site-header__action--cart .icon-cart-image {
    width: 24px;
  }

  .site-header__action .account-avatar {
    width: 22px;
    height: 22px;
  }
}

@media (min-width: 768px) and (max-width: 898px) {
  /* Tablette etroite : le logo pleine taille + le menu ne tiennent pas sur une
     seule ligne. On reduit le logo (~185px) et on compacte le menu pour garder
     le layout 2 lignes de la prod (ligne 1 : logo+recherche+menu, ligne 2 : meta). */
  .brand-desktop {
    width: 200px;
    height: auto;
  }

  .site-header__brand {
    margin-right: 10px;
  }

  .site-header__nav {
    gap: 6px;
  }

  .site-header__action--icon {
    padding: 0 6px 0 0;
  }
}

/* Deux colonnes de 768 a 991px : ce sont les .col-sm-6 de la production
   (le theme s'arretait a 900px, laissant 900-991 en quatre colonnes). */
@media (min-width: 768px) and (max-width: 991px) {
  .trust-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --container-pad: 20px;
  }
}

@media (max-width: 767px) {
  .login-layout,
  .account-grid,
  .delivery-layout,
  .contact-layout,
  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  /* En pile, la production espace ses colonnes de reassurance de 40px. */
  .trust-strip__grid {
    row-gap: 40px;
    padding-bottom: 40px;
  }


  .login-divider {
    display: none;
  }

  /* En production le bloc de 250px reste centre dans sa colonne, y compris en
     mobile : le passer en pleine largeur le collait au bord gauche. */

  /* Sous 768px les colonnes passent en tiers d'ecran (col-xs-4), sans jamais
     s'empiler ; la barre de copyright, elle, ne s'empile qu'en dessous de
     480px (voir plus bas), comme en production. */
  .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .footer-copyright__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 767px) {
  /* 52px + les bordures de 1px posees sur .site-header = 54px au total, la
     hauteur du bandeau mobile de la production. */
  .site-header__inner {
    min-height: 52px;
    padding: 0 12px 0 10px;
  }

  .site-header__nav,
  .desktop-nav,
  .site-header__meta {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    order: 2;
    width: 40px;
    height: 40px;
    margin-left: auto;
    color: #5d5d5d;
  }

  .mobile-toggle svg {
    width: 24px;
    height: 24px;
  }

  .site-header__brand {
    margin-right: 0;
  }

  .site-header__brand .brand-desktop {
    display: block;
    width: auto;
    height: 40px;
  }

  .site-header__brand .brand-mobile {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-section {
    padding: 20px 0 30px;
  }

  .catalog-grid,
  .search-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Le titre reste a 30px sur mobile, comme en production (il passe alors sur
     deux lignes) : le reduire a 26px changeait la hauteur de la slide, donc la
     position verticale des fleches, calee sur 45% de cette hauteur. */

  .breadcrumb-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .inline-search {
    width: 100%;
    padding-bottom: 6px;
  }


  .delivery-address__fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  :root {
    --container-pad: 16px;
  }

  .site-header__meta .site-header__action {
    min-height: 56px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .catalog-grid,
  .search-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-slide__media img {
    width: min(100%, 250px);
    max-height: 350px;
  }

  /* Le bouton d'achat garde sa largeur naturelle en mobile, comme en production
     (le passer en 100% l'etirait sur toute la colonne), et l'espacement des
     colonnes de reassurance est gere par row-gap, plus haut. */

  .offer-hero__media {
    padding: 20px;
  }

  .qty-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-overlay {
    padding-top: 20px;
  }

  .toast {
    left: 16px;
    right: 16px;
    min-width: 0;
    max-width: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .static-page__body {
    padding-inline: var(--container-pad);
  }
}

/* ── Contact page ─────────────────────────────────────────── */
.contact-page {
  background: #f4f4f4;
  padding-bottom: 40px;
}

.contact-heading {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #fff;
  margin-bottom: 40px;
}

.contact-heading h1 {
  font-size: 30px;
  margin-bottom: 0;
  font-family: "RobotoCondensed", sans-serif;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-form-wrap,
.contact-info {
  background: #fff;
  padding: 24px;
  border: 1px solid #e7e7e7;
}

.contact-details h2 {
  font-size: 16px;
  margin-bottom: 14px;
}

.contact-details p {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.contact-details a {
  color: #000;
  text-decoration: underline;
}

/* ── Static pages (CGV, Mentions) ────────────────────────── */
.static-page {
  background: #f4f4f4;
  padding-bottom: 40px;
}

.static-page__body {
  background: #fff;
  padding: 30px;
  border: 1px solid #e7e7e7;
}

.static-page__body h2 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
}

.static-page__body h2:first-child {
  margin-top: 0;
}

.static-page__body p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #444;
}

.static-page__body a {
  color: #000;
  text-decoration: underline;
}

/* ========================================================
   HOME PRODUCTS SECTION
   ======================================================== */

.home-products-section {
  background: #f4f4f4;
  padding: 50px 0 40px;
}

.home-products-heading {
  margin-bottom: 24px;
}

.home-products-heading h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 5px;
  color: #282828;
  font-family: var(--font-ui);
}

@media (max-width: 480px) {
  .home-products-heading h2 {
    font-size: 24px;
  }
}

/* ========================================================
   FOOTER MID (produits mis en avant)
   ======================================================== */

.footer-mid {
  background: #000;
  color: #bbbbbb;
  padding: 40px 0 20px;
  border-bottom: 1px solid #222;
}

.footer-mid__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer-mid__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-mid__img {
  width: 80px;
  flex: 0 0 80px;
  object-fit: contain;
}

.footer-mid__body {
  flex: 1;
  min-height: 130px;
  position: relative;
  padding-bottom: 44px;
}

.footer-mid__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px;
  line-height: 1.3;
}

.footer-mid__title a {
  color: #fff;
}

.footer-mid__desc {
  font-size: 12px;
  line-height: 1.4;
  color: #888;
  margin: 0 0 10px;
  max-width: 150px;
}

.footer-mid__btn {
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  padding: 5px 18px;
  background: #000;
  border: 1px solid #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-ui);
}

.footer-mid__btn:hover {
  background: #5d5d5d;
  border-color: #5d5d5d;
}

@media (max-width: 767px) {
  .footer-mid__grid {
    grid-template-columns: 1fr;
  }

  .account-grid,
  .account-form-grid,
  .account-profile-grid {
    grid-template-columns: 1fr;
  }

  .account-page .contact-heading {
    margin-bottom: 20px;
  }

  .account-banner {
    padding: 0 14px;
  }

  .account-address-inline {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .account-address-inline__tools {
    padding-top: 0;
  }

  .account-form-wrap {
    padding: 14px;
  }

  .account-actions,
  .account-actions--end {
    justify-content: flex-start;
  }

  .account-actions .pill-button,
  .account-actions .auth-btn-submit {
    width: 100%;
  }
}

/* ========================================================
   CATALOG CARD — bouton Acheter
   ======================================================== */

.catalog-card__actions {
  margin-top: 8px;
}

.catalog-card__buy {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border: 0;
  font-family: var(--font-ui);
  cursor: pointer;
  text-decoration: none;
}

.catalog-card__buy:hover {
  background: #5d5d5d;
  color: #fff;
}
/* v2 */

/* ── Auth / Login page ────────────────────────────────────── */
.auth-section {
  padding: 24px 0 60px;
}

.auth-title {
  margin-bottom: 28px;
}

.auth-btn-submit {
  display: block;
  width: 100%;
  padding: 13px 16px;
  background: #000000;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  text-align: center;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}

.auth-btn-submit:hover {
  background: #3d3d3d;
  color: #ffffff;
}

.auth-forgot {
  display: block;
  font-size: 12px;
  color: #c88e00;
  text-decoration: underline;
  margin-bottom: 2px;
}

.auth-cookies {
  margin-top: 10px;
  color: #888888;
}

.auth-cookies a {
  color: #c88e00;
}

/* ── Registration 2-sub-columns ──────────────────────────── */
.register-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  align-items: start;
}

.register-submit {
  margin-top: 18px;
}

/* Select styling inside .field */
.field select {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid #dfdfdf;
  padding: 0 12px;
  font-size: 12px;
  background: #ffffff;
  color: var(--text);
}

.register-mandatory {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.register-btn {
  margin-top: 12px;
}

.register-col-right {
  align-self: end;
}

.checkbox-line a {
  color: #c88e00;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .register-cols {
    grid-template-columns: 1fr;
  }

  .register-col-right {
    align-self: auto;
  }
}
