/* ==========================================================================
   AZOURIA — Vitrine publique · nouvelle charte graphique (agence, oct. 2026)
   Fichier : public/vitrine-assets/css/azouria.css
   --------------------------------------------------------------------------
   - Autonome : ne dépend ni de Wolmart (public/assets) ni de SmartHR.
   - Toutes les classes sont préfixées « az- » ; la base est limitée à .az-page.
   - Les 9 couleurs de la place (Brique 6) NE sont PAS ici : elles sont injectées
     dans le <head> par resources/views/vitrine/partials/charte.blade.php.
   - Les photos de contenu (bandeau ville, pavés, bannières) sont passées par
     la vue en style direct (--az-city-photo, --az-ad-photo, --az-promo-photo).
   ========================================================================== */

/* ============================================================
   POLICES (fichiers locaux)
   ============================================================ */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/urbanist.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ============================================================
   TOKENS FIXES DU GABARIT
   ============================================================ */
:root {
  /* Palette French Riviera (charte Azouria) :
     Sea Cyan #20BFD0 · Ivory #F7F2E8 · Lemon #F3D56B · Terracotta #D8876A · Deep Blue #173F56.
     Le cyan et le bleu profond sont les deux couleurs de la place (variables
     --az-color-secondary et --az-color-primary) : ils changeront pour Corse ou
     Camargue. Ivoire, citron et terracotta sont des tons d'appoint. */
  --az-ivory:      #F7F2E8;
  --az-lemon:      #F3D56B;
  --az-terracotta: #D8876A;

  --az-ink:    var(--az-color-primary);
  --az-muted:  #66727D;
  --az-line:   #E6EAEE;
  --az-sand:   var(--az-ivory);
  --az-footer: var(--az-color-primary);
  --az-veil:   #F7F2E8; /* dégradé posé sur les photos, sous le texte (réglable par place) */
  --az-price:  var(--az-color-primary);
  --az-star:   #DCAE33;
  --az-sun:    var(--az-lemon);
  --az-highlight: var(--az-terracotta);   /* mot mis en avant dans le titre du haut de page */
  --az-hero-ink:  var(--az-color-primary); /* textes du haut de page */

  /* Teintes dérivées de la couleur secondaire : elles suivent la place.
     - accent-ink : version foncée, lisible en texte sur fond blanc ;
     - accent-soft / accent-tint : versions claires pour bordures et fonds. */
  --az-accent-ink:  color-mix(in srgb, var(--az-color-secondary) 72%, #062433);
  --az-accent-soft: color-mix(in srgb, var(--az-color-secondary) 45%, #fff);
  --az-accent-tint: color-mix(in srgb, var(--az-color-secondary) 12%, #fff);

  /* couleurs des familles de catégories (étiquettes) */
  --az-tag-orange: var(--az-terracotta);
  --az-tag-green:  #6E8F55;
  --az-tag-blue:   var(--az-accent-ink);
  --az-tag-red:    #C8604F;

  --az-sans:  "DM Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --az-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --az-brand: "Urbanist", var(--az-sans);

  --az-container: 1180px;
  --az-radius: 10px;
}

/* ============================================================
   BASE — portée limitée à .az-page
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
.az-page {
  margin: 0; font-family: var(--az-sans); font-size: 16px; line-height: 1.5;
  color: var(--az-text); background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.az-page :where(h1, h2, h3, p, ul, figure) { margin: 0; }
.az-page :where(ul) { padding: 0; list-style: none; }
.az-page :where(a) { color: inherit; text-decoration: none; }
.az-page :where(img) { display: block; max-width: 100%; }
.az-page :where(button, input, select) { font: inherit; color: inherit; }
/* L'attribut hidden l'emporte toujours, même sur un composant en display: grid/flex. */
.az-page [hidden] { display: none !important; }
.az-page :where(button) { cursor: pointer; }
.az-page :where(:focus-visible) { outline: 2px solid var(--az-link-hover); outline-offset: 3px; border-radius: 4px; }

.az-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.az-icon { width: 1em; height: 1em; flex: none; fill: currentColor; }
.az-skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--az-btn-bg); color: #fff; font-weight: 700; }
.az-skip:focus { top: 12px; }

/* Les textes restent dans une colonne centrée, les images passent en pleine largeur */
.az-container { width: min(var(--az-container), 92%); margin-inline: auto; }

.az-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 10px;
  background: var(--az-btn-bg); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .15s ease;
}
.az-btn:hover { background: var(--az-btn-bg-hover); }
.az-btn .az-icon { font-size: 16px; transition: transform .15s ease; }
.az-btn:hover .az-icon { transform: translateX(3px); }
.az-btn--pill { border-radius: 999px; }

.az-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--az-ink); }
.az-title-serif { font-family: var(--az-serif); font-weight: 500; color: var(--az-ink); }

.az-section { padding: 48px 0; }
.az-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.az-section__title { font-family: var(--az-serif); font-size: 36px; font-weight: 500; line-height: 1.2; color: var(--az-ink); }
.az-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--az-link); transition: color .15s ease;
}
.az-more .az-icon { font-size: 16px; transition: transform .15s ease; }
.az-more:hover { color: var(--az-link-hover); }
.az-more:hover .az-icon { transform: translateX(3px); }

/* ============================================================
   EN-TÊTE
   ============================================================ */
.az-header { position: sticky; top: 0; z-index: 50; background: var(--az-nav-bg); border-bottom: 1px solid color-mix(in srgb, var(--az-color-primary) 8%, var(--az-nav-bg)); }
.az-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 76px; }
.az-logo { display: inline-flex; align-items: center; flex: none; line-height: 0;
  /* Les deux couleurs du logo : monogramme en couleur secondaire, nom en couleur principale. */
  --az-logo-mono: var(--az-color-secondary);
  --az-logo-word: var(--az-color-primary);
}
.az-logo__img { display: block; width: auto; height: 54px; overflow: visible; }
/* Logo déposé par la place (PNG) : même hauteur, largeur bornée. */
.az-logo__img--upload { max-width: 280px; object-fit: contain; object-position: left center; }
.az-nav__list { display: flex; gap: 30px; }
.az-nav__list a { display: block; padding: 8px 0; white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--az-nav-text); transition: color .15s ease; }
.az-nav__list a:hover { color: var(--az-link-hover); }
/* Sous-menus (Services, Concept) : ouverts au survol ou au clavier. */
.az-nav__item { position: relative; }
.az-nav__item > a { display: flex; align-items: center; gap: 5px; }
.az-nav__caret { font-size: 11px; opacity: .6; transition: transform .2s ease; }
.az-nav__item:hover .az-nav__caret, .az-nav__item:focus-within .az-nav__caret { transform: rotate(180deg); }
.az-nav__sub {
  position: absolute; top: calc(100% + 10px); left: -16px; z-index: 60; min-width: 220px; padding: 8px;
  border: 1px solid var(--az-line); border-radius: 14px; background: #fff; box-shadow: 0 16px 34px rgb(10 42 85 / .12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.az-nav__sub::before { content: ""; position: absolute; top: -14px; right: 0; left: 0; height: 14px; }
.az-nav__item:hover .az-nav__sub, .az-nav__item:focus-within .az-nav__sub { opacity: 1; visibility: visible; transform: none; }
.az-nav__sub ul { margin: 0; padding: 0; list-style: none; }
.az-nav__list .az-nav__sub a { padding: 9px 12px; border-radius: 9px; font-size: 14.5px; color: var(--az-ink); }
.az-nav__list .az-nav__sub a:hover { background: var(--az-ivory); color: var(--az-ink); }
.az-nav__sep { height: 1px; margin: 6px 10px; background: var(--az-line); }
.az-header__actions { display: flex; align-items: center; gap: 24px; }
/* Outils de l'en-tête : icône et libellé dessous (compte, ma liste, compare, panier) */
.az-tool { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--az-nav-text); font-size: 12.5px; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: color .15s ease; }
.az-tool .az-icon { font-size: 26px; }
a.az-tool:hover { color: var(--az-link-hover); }
.az-tool--soon { cursor: not-allowed; }
.az-tool__icon { position: relative; display: block; line-height: 0; }
.az-tool__count {
  position: absolute; top: -7px; right: -11px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--az-nav-text); color: var(--az-nav-bg);
  font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}
.az-account {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid color-mix(in srgb, var(--az-nav-text) 45%, transparent); border-radius: 50%; background: transparent; color: var(--az-nav-text); font-size: 19px;
  transition: border-color .15s ease, color .15s ease;
}
.az-account:hover { border-color: var(--az-nav-text); }
.az-burger { display: none; }
.az-burger .az-icon--close { display: none; }
.az-header.is-open .az-burger .az-icon--open { display: none; }
.az-header.is-open .az-burger .az-icon--close { display: block; }

/* ============================================================
   HERO — photo pleine largeur, texte dans la colonne centrée
   ============================================================ */
.az-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 540px; background: #DCEBF4; }

/* Diaporama automatique : fondu enchaîné + léger zoom */
.az-hero__slides { position: absolute; inset: 0; z-index: -2; }
.az-hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.2s ease, transform 7s linear;
}
.az-hero__slide.is-active { opacity: 1; transform: scale(1); }

.az-hero__controls {
  position: absolute; z-index: 2; bottom: 26px; right: calc((100% - min(var(--az-container), 92%)) / 2);
  display: flex; align-items: center; gap: 2px; padding: 5px;
  border-radius: 999px; background: rgb(255 255 255 / .84);
  box-shadow: 0 6px 20px rgb(8 43 68 / .14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.az-hero__controls button {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--az-ink); font-size: 17px;
  transition: background-color .15s ease;
}
.az-hero__controls button:hover { background: #fff; }
.az-hero__count { min-width: 66px; font-size: 13.5px; font-weight: 500; letter-spacing: .06em; text-align: center; font-variant-numeric: tabular-nums; color: var(--az-ink); }
.az-hero__count b { font-weight: 700; }
.az-hero__play .az-icon--play { display: none; }
.az-hero__controls.is-paused .az-icon--pause { display: none; }
.az-hero__controls.is-paused .az-icon--play { display: block; }
.az-hero__progress { position: absolute; left: 20px; right: 20px; bottom: 3px; height: 2px; overflow: hidden; border-radius: 2px; background: color-mix(in srgb, var(--az-color-primary) 10%, transparent); }
.az-hero__progress i { display: block; width: 100%; height: 100%; background: var(--az-color-secondary); transform: scaleX(0); transform-origin: left; }
.az-hero__progress i.is-running { animation: az-progress var(--az-slide-delay, 6s) linear forwards; }
@keyframes az-progress { to { transform: scaleX(1); } }
.az-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Voile ivoire sous le texte, fondu vers la photo à droite (comme les
     en-têtes photo et Devenir vendeur), resserré au plus près du texte. */
  background: linear-gradient(90deg, color-mix(in srgb, var(--az-veil) 97%, transparent) 0%, color-mix(in srgb, var(--az-veil) 90%, transparent) 30%, color-mix(in srgb, var(--az-veil) 45%, transparent) 46%, color-mix(in srgb, var(--az-veil) 0%, transparent) 60%);
}
.az-hero__inner { padding: 56px 0 30px; }
/* Halo clair autour des textes : ils restent lisibles avec un voile plus léger sur les photos */
.az-hero__eyebrow { font-size: 16.5px; font-weight: 600; line-height: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--az-hero-ink); }
.az-hero__title { margin-top: 18px; font-size: 50px; font-weight: 700; line-height: 54px; letter-spacing: -.01em; color: var(--az-hero-ink); }
.az-hero__title em { font-style: normal; color: var(--az-highlight); }
.az-hero__lead { max-width: 385px; margin-top: 22px; font-size: 16px; line-height: 27px; color: #464F55; }

.az-search {
  display: grid; grid-template-columns: 1.45fr 1fr auto; gap: 12px;
  width: min(760px, 100%); margin-top: 34px; padding: 12px;
  background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgb(8 43 68 / .12);
}
.az-field { position: relative; display: flex; align-items: center; min-width: 0; }
.az-field > .az-icon { position: absolute; left: 16px; font-size: 20px; color: var(--az-ink); pointer-events: none; }
.az-field input, .az-field select {
  width: 100%; height: 52px; padding: 0 16px 0 46px;
  border: 1px solid #DDE3E8; border-radius: 9px; background: #fff;
  font-size: 15px; color: var(--az-ink); -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.az-field select { padding-right: 40px; cursor: pointer; }
.az-field input::placeholder { color: #6C7882; opacity: 1; }
.az-field input:focus, .az-field select:focus { outline: none; border-color: var(--az-link-hover); box-shadow: 0 0 0 3px color-mix(in srgb, var(--az-link-hover) 18%, transparent); }
.az-field__caret { position: absolute; right: 16px; font-size: 13px; color: var(--az-ink); pointer-events: none; }
.az-search .az-btn { min-height: 52px; padding: 0 28px; border-radius: 9px; }

/* Une touche par ville du périmètre : passe à la ligne s'il y en a beaucoup,
   sans dépasser la largeur de la recherche (ni passer sous les commandes du diaporama). */
.az-cities { display: flex; flex-wrap: wrap; gap: 8px 40px; max-width: 760px; margin-top: 30px; }
.az-cities button {
  padding: 0 0 10px; border: 0; border-bottom: 3px solid transparent; background: none;
  font-size: 15px; color: var(--az-ink); transition: border-color .15s ease;
}
/* Les dernières villes de la ligne débordent du voile : un léger halo ivoire
   les garde lisibles sur la photo. */
.az-hero .az-cities button { text-shadow: 0 0 3px color-mix(in srgb, var(--az-veil) 95%, transparent), 0 0 10px color-mix(in srgb, var(--az-veil) 90%, transparent); }
.az-cities button:hover { border-bottom-color: var(--az-accent-soft); }
.az-cities button[aria-pressed="true"] { border-bottom-color: var(--az-color-secondary); font-weight: 700; }

/* ============================================================
   DÉCOUVREZ AUTOUR DE VOUS
   ============================================================ */
.az-card {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border: 1px solid var(--az-line); border-radius: var(--az-radius); background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.az-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgb(8 43 68 / .10); }
.az-card img { width: 100%; height: auto; aspect-ratio: 224 / 164; object-fit: cover; }
.az-card__body { position: relative; padding: 12px 12px 14px; }
.az-tag {
  position: absolute; left: 12px; top: -13px;
  display: inline-block; padding: 4px 8px; border-radius: 4px;
  font-size: 11.5px; font-weight: 500; line-height: 1.2; color: #fff;
}
.az-tag--orange { background: var(--az-tag-orange); }
.az-tag--green  { background: var(--az-tag-green); }
.az-tag--blue   { background: var(--az-tag-blue); }
.az-tag--red    { background: var(--az-tag-red); }
.az-card__name { margin-top: 12px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--az-ink); }
.az-card__name a::after { content: ""; position: absolute; inset: 0; }
.az-place { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 13px; color: #6F7B84; }
.az-place .az-icon { font-size: 14px; }
/* Prix de la carte (remplace la note de la maquette : pas d'avis inventés) */
.az-place { min-width: 0; }
.az-place > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* Hauteurs fixes : deux lignes de titre réservées, le prix tombe au même niveau sur toutes les cartes */
.az-card__name, .az-product__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.az-card__name { min-height: calc(2 * 1.3em); }
.az-product__name { min-height: calc(2 * 1.35em); }
.az-card__price { margin-top: 8px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--az-ink); }
.az-card__price small { font-size: 12.5px; font-weight: 500; color: var(--az-muted); }
/* Fiche sans photo : un cadre neutre plutôt qu'une image cassée */
.az-noimg { display: grid; place-items: center; width: 100%; height: 100%; background: #F1F4F6; color: #B9C2C9; font-size: 34px; }
.az-noimg--card { aspect-ratio: 224 / 164; height: auto; }
.az-rating { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 500; color: #4E5A63; }
.az-stars {
  --az-stars: 5; display: block; width: 76px; height: 13px;
  background: linear-gradient(90deg, var(--az-star) calc(var(--az-stars) / 5 * 100%), #DCDFE2 0);
  -webkit-mask: url("../img/ui/etoile.svg") 0 50% / 15.2px 13px repeat-x;
          mask: url("../img/ui/etoile.svg") 0 50% / 15.2px 13px repeat-x;
}

/* ============================================================
   CATÉGORIES (bloc Azouria)
   ============================================================ */
.az-cats { padding: 48px 0 48px; }
.az-cats__head { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.az-pill {
  display: inline-flex; align-items: center; justify-content: center; width: 137.8px; height: 40px;
  border: 1.5px solid var(--az-accent-soft); border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--az-ink);
}
.az-cats__title { margin-top: 6px; font-family: var(--az-serif); font-size: 51.5px; font-weight: 700; line-height: 1.15; color: var(--az-ink); }
.az-cats__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11.4px; margin-top: 28px; }
.az-cat {
  position: relative; display: flex; flex-direction: column; height: 339px; overflow: hidden;
  background: #fff; border-radius: 8px;
  box-shadow: 0 1px 3px rgb(10 42 85 / .06), 0 8px 22px rgb(10 42 85 / .07);
  transition: box-shadow .2s ease, transform .2s ease;
}
.az-cat:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgb(10 42 85 / .08), 0 16px 34px rgb(10 42 85 / .12); }
.az-cat__media { position: relative; flex: none; height: 253px; min-height: 0; }
.az-cat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.az-cat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 72%, rgb(255 255 255 / .85) 92%, #fff 100%); }
.az-cat__badge {
  position: absolute; left: 9.5px; bottom: 4.7px; z-index: 1;
  display: grid; place-items: center; width: 61px; height: 61px; border-radius: 50%;
  background: #fff; color: var(--az-ink); font-size: 36px; box-shadow: 0 4px 14px rgb(10 42 85 / .10);
}
.az-cat__body { padding: 9.9px 16px 0 22px; }
.az-cat__name { display: block; font-size: 19.5px; font-weight: 500; line-height: 1.3; color: var(--az-ink); }
.az-cat__go {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 15.5px;
  font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--az-accent-ink);
}
.az-cat__go .az-icon { font-size: 14px; transition: transform .15s ease; }
.az-cat:hover .az-cat__go .az-icon { transform: translateX(3px); }

/* ============================================================
   À PROPOS
   ============================================================ */
.az-about { padding: 10px 0 14px; background: var(--az-ivory); }
.az-about__wrap { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 658px); justify-content: space-between; gap: 40px; align-items: center; }
.az-about__content { padding-left: 18px; }
.az-about .az-eyebrow { color: var(--az-accent-ink); }
.az-about__title { margin-top: 18px; font-size: 53px; font-weight: 400; line-height: 55.5px; }
.az-about__text { margin-top: 18px; font-size: 17.5px; line-height: 24.2px; color: #22384A; }
.az-about .az-btn { margin-top: 24px; min-height: 56px; padding: 0 36px; font-size: 13.5px; background: var(--az-btn-bg); }
.az-about .az-btn:hover { background: var(--az-btn-bg-hover); }

/* Mosaïque : grande photo, petite photo, photo arrondie et pastille ronde */
.az-collage { position: relative; aspect-ratio: 658 / 418; }
.az-collage img { position: absolute; object-fit: cover; }
.az-collage__tall  { left: 0; top: 0; width: 39.7%; height: 100%; border-radius: 48px 12px 12px 12px; }
.az-collage__top   { left: 41%; top: 0; width: 34.8%; height: 35.2%; border-radius: 14px; }
.az-collage__woman { left: 41.2%; top: 38%; width: 55.8%; height: 62%; border-radius: 14px 72px 72px 14px; }
.az-collage__badge { position: absolute; left: 79.7%; top: 3.9%; width: 20.2%; height: auto; overflow: visible; color: var(--az-ink); }
.az-collage__badge text { font-family: var(--az-sans); font-size: 13px; font-weight: 500; letter-spacing: .22em; fill: currentColor; }

/* ============================================================
   RUBRIQUES : liste à gauche, fiches de la rubrique choisie, deux pavés de pub
   ============================================================ */
/* Rubriques : une ligne de pastilles (les rayons), une ligne de pastilles plus
   petites dessous (les sous-rubriques du rayon choisi), puis les fiches sur toute la largeur. */
.az-shelf__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.az-shelf__menu { display: block; }
.az-shelf__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.az-shelf__tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px 0 16px;
  border: 1px solid var(--az-line); border-radius: 999px; background: #fff;
  font-size: 15px; font-weight: 600; color: var(--az-ink); white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.az-shelf__tab > .az-icon { font-size: 21px; color: var(--az-accent-ink); transition: color .15s ease; }
.az-shelf__tab:hover { border-color: var(--az-accent-soft); }
.az-shelf__tab[aria-selected="true"] { border-color: var(--az-ink); background: var(--az-ink); color: #fff; box-shadow: 0 6px 16px rgb(8 43 68 / .16); }
.az-shelf__tab[aria-selected="true"] > .az-icon { color: var(--az-color-secondary); }
.az-shelf__panel:not([hidden]) { animation: az-fade .35s ease; }

/* Fond beige de la charte (Ivory, comme la barre de navigation) sur « Nos rubriques » : pastilles sur blanc, fiches sur le modèle
   des cartes « Nos catégories », avec un contour fin terracotta. Le gris des
   textes secondaires est foncé pour rester lisible. */
.az-section--sand { background: var(--az-ivory); --az-muted: #4E5A62; }
.az-section--sand .az-shelf__tab:not([aria-selected="true"]) { border-color: transparent; }
.az-section--sand .az-chip { border-color: var(--az-terracotta); background: #fff; }
.az-section--sand .az-chip:hover { border-color: var(--az-terracotta); box-shadow: inset 0 0 0 1px var(--az-terracotta); }
.az-section--sand .az-chip[aria-pressed="true"] { border-color: var(--az-terracotta); box-shadow: inset 0 0 0 1px var(--az-terracotta); font-weight: 700; }

/* Fiche de rubrique = carte « catégorie » adaptée : hauteur libre, photo au
   format des vignettes, nom sur deux lignes, boutique et prix avant le lien. */
.az-cat--fiche { height: 100%; border: 1px solid var(--az-line); }
.az-cat--fiche .az-cat__media { height: auto; aspect-ratio: 4 / 5; }
.az-cat--fiche .az-cat__media .az-noimg { position: absolute; inset: 0; }
.az-cat--fiche .az-offer__label { left: 10px; top: 10px; z-index: 1; padding: 5px 9px; font-size: 12px; }
.az-cat--fiche .az-cat__badge { left: 10px; bottom: 6px; width: 50px; height: 50px; font-size: 26px; }
.az-cat--fiche .az-cat__body { display: flex; flex-direction: column; flex: 1; padding: 8px 14px 16px; }
.az-cat--fiche .az-cat__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(2 * 1.3em); font-size: 16px; font-weight: 600;
}
.az-cat--fiche .az-rating { margin-top: 6px; }
.az-offer__rating { margin-top: 8px; }
.az-fiche__shop { display: block; margin-top: 2px; overflow: hidden; font-size: 13px; color: var(--az-muted); white-space: nowrap; text-overflow: ellipsis; }
.az-cat--fiche .az-cat__name a::after { content: ""; position: absolute; inset: 0; }
.az-cat--fiche:hover .az-cat__name { color: var(--az-link-hover); }
.az-fiche__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.az-fiche__price { font-size: 17px; font-weight: 700; line-height: 1.2; color: var(--az-ink); white-space: nowrap; }
.az-fiche__price small { font-size: 13px; font-weight: 500; color: var(--az-muted); }

/* Actions des fiches (Voir, Ma liste, Acheter / Réserver), en bas à droite.
   Au-dessus du lien étiré du nom, pour rester cliquables. */
.az-actions { position: relative; z-index: 1; display: flex; gap: 6px; margin-left: auto; }
/* Toujours sur leur propre ligne, en bas à droite : les cartes restent alignées
   entre elles, qu'il y ait un prix barré ou un « dès » devant le prix. */
.az-fiche__foot .az-actions, .az-offer__foot .az-actions { flex-basis: 100%; justify-content: flex-end; }
.az-action {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 1px solid #D4D9DE; border-radius: 8px; background: #fff; color: var(--az-ink); font-size: 17px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
/* Voir et Ma liste : fond blanc, citron au survol.
   Acheter / Réserver : terracotta, icône blanche, bleu profond au survol. */
a.az-action:hover { border-color: var(--az-lemon); background: var(--az-lemon); transform: translateY(-1px); }
.az-action--buy { border-color: var(--az-terracotta); background: var(--az-terracotta); color: #fff; }
a.az-action--buy:hover { border-color: var(--az-color-primary); background: var(--az-color-primary); }
.az-action:disabled { cursor: not-allowed; color: #9AA3AA; }

/* Sous-rubriques : pastilles plus petites et plus discrètes que les rayons */
.az-shelf__subs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.az-chip {
  min-height: 34px; padding: 0 14px; border: 1px solid var(--az-line); border-radius: 999px; background: rgb(255 255 255 / .75);
  font-size: 13.5px; font-weight: 500; color: var(--az-ink); transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.az-chip:hover { border-color: var(--az-accent-soft); background: #fff; }
.az-chip[aria-pressed="true"] { border-color: var(--az-ink); background: #fff; font-weight: 700; box-shadow: inset 0 0 0 1px var(--az-ink); }
.az-chip.az-chip--empty, .az-section--sand .az-chip.az-chip--empty { border-style: dashed; border-color: #C9CFD4; background: transparent; color: #8A96A0; box-shadow: none; cursor: not-allowed; }
.az-shelf__see { margin-left: auto; }
.az-shelf__grid[hidden] { display: none; }
@keyframes az-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.az-products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.az-product { position: relative; }
.az-product__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: #F3F4F5; }
.az-product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.az-product:hover .az-product__media img { transform: scale(1.05); }
.az-product__name { margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--az-ink); }
.az-product__name a::after { content: ""; position: absolute; inset: 0; }
.az-product:hover .az-product__name { color: var(--az-link-hover); }
.az-product__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 6px; font-size: 17px; font-weight: 700; color: var(--az-ink); }
.az-product__price s { font-size: 14px; font-weight: 400; color: #9AA3AA; }
.az-product__price small { font-size: 13px; font-weight: 500; color: var(--az-muted); }
.az-product__shop { margin-top: 2px; font-size: 13px; color: var(--az-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.az-ads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.az-ad {
  --az-ad-bg: #EEF2F5; position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; min-height: 190px; padding: 28px 36px;
  border-radius: 10px; background: var(--az-ad-bg); color: var(--az-ink);
}
.az-ad--dark { --az-ad-bg: var(--az-color-primary); color: #fff; }
/* Pavés empilés dans une colonne étroite (catalogue) */
.az-ads--stack { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 0; }
.az-ads--stack .az-ad { min-height: 170px; padding: 22px 20px; }
.az-ads--stack .az-ad__media { inset: 0 0 0 38%; }
.az-ads--stack .az-ad__eyebrow { font-size: 14px; }
.az-ads--stack .az-ad__title { max-width: 62%; font-size: 21px; }
.az-ads--stack .az-ad__link { margin-top: 12px; font-size: 12px; }
.az-ad__media { position: absolute; inset: 0 0 0 42%; z-index: -1; background: var(--az-ad-photo) 50% 45% / cover no-repeat; transition: transform .5s ease; }
.az-ad__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--az-ad-bg) 0%, rgb(0 0 0 / 0) 45%); }
.az-ad:hover .az-ad__media { transform: scale(1.04); }
.az-ad--fashion .az-ad__media { background-position: 60% 30%; }
.az-ad__eyebrow { font-size: 17px; line-height: 1.3; opacity: .85; }
.az-ad__title { max-width: 60%; margin-top: 4px; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: inherit; }
.az-ad__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.az-ad__link::after { content: ""; position: absolute; inset: 0; }
.az-ad__link .az-icon { font-size: 16px; transition: transform .15s ease; }
.az-ad:hover .az-ad__link .az-icon { transform: translateX(3px); }

/* ============================================================
   BANDEAU VILLE — photo pleine largeur
   ============================================================ */
.az-city {
  position: relative; isolation: isolate; display: flex; align-items: center; min-height: 380px;
  background: var(--az-city-photo) 50% 50% / cover no-repeat, var(--az-color-primary);
}
.az-city::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(238 248 255 / .94) 0%, rgb(238 248 255 / .6) 38%, rgb(255 255 255 / 0) 68%);
}
.az-city__inner { padding: 44px 0; }
.az-city__title { margin-top: 14px; font-size: 60px; line-height: .95; }
.az-city__subtitle { margin-top: 8px; font-family: var(--az-serif); font-size: 32px; line-height: 1.08; color: var(--az-ink); }
.az-city__text { max-width: 340px; margin-top: 16px; font-size: 16.5px; line-height: 1.5; color: #22384A; }
.az-city .az-btn { margin-top: 20px; }

/* ============================================================
   OFFRES + RÉASSURANCE
   ============================================================ */
/* Carrousel : 4 offres visibles, avance de 4 en 4 (2 sur tablette, 1 sur mobile) */
.az-carousel { --az-per: 4; --az-gap: 20px; position: relative; }
.az-carousel__nav { display: flex; align-items: center; gap: 10px; }
.az-carousel--near { --az-per: 5; --az-gap: 14px; }
.az-carousel__nav .az-more { margin-right: 10px; }
.az-arrow {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid #D4D9DE; border-radius: 50%; background: #fff; color: var(--az-ink); font-size: 18px;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, opacity .15s ease;
}
.az-arrow:hover:not(:disabled) { border-color: var(--az-btn-bg); background: var(--az-btn-bg); color: #fff; }
.az-arrow:disabled { opacity: .35; cursor: default; }
.az-carousel__track {
  position: relative; display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--az-per) - 1) * var(--az-gap)) / var(--az-per));
  gap: var(--az-gap);
  margin: -6px -8px 0; padding: 6px 8px 22px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 8px; scroll-behavior: smooth;
  scrollbar-width: none;
}
.az-carousel__track::-webkit-scrollbar { display: none; }
.az-carousel__track > li { scroll-snap-align: start; min-width: 0; }
.az-carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
.az-carousel__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #CBD3DA;
  transition: width .2s ease, background-color .2s ease;
}
.az-carousel__dots button[aria-current="true"] { width: 26px; background: var(--az-ink); }

.az-offer {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--az-line); border-radius: 10px;
  box-shadow: 0 1px 2px rgb(8 43 68 / .04), 0 6px 18px rgb(8 43 68 / .06);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.az-offer:hover { border-color: #D9DEE3; box-shadow: 0 2px 4px rgb(8 43 68 / .05), 0 12px 28px rgb(8 43 68 / .10); }
/* Image plus carrée, étiquettes posées dessus */
.az-offer__media { position: relative; aspect-ratio: 364 / 259.5; }
.az-offer__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 9px 9px 0 0; }
.az-offer__label {
  position: absolute; left: 14px; top: 16px;
  padding: 6px 11px; border-radius: 6px; background: var(--az-sun); color: var(--az-ink);
  font-size: 13.5px; font-weight: 700; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase;
}
.az-offer__media .az-offer__type { left: 12px; top: auto; bottom: -13px; padding: 3px 9px; border-radius: 5px; font-size: 12.5px; }
.az-offer__body { display: flex; flex-direction: column; flex: 1; padding: 25px 16px 16px; }
.az-offer__name { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--az-ink); }
.az-offer__name a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.az-offer__shop { margin-top: 4px; font-size: 14.5px; color: #4A5560; }
.az-offer__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: auto; padding-top: 12px; }
.az-price { font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; color: var(--az-price); }
.az-price-old { font-size: 14px; color: #8E8E8E; text-decoration: line-through; }
.az-save {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 38px; height: 38px; margin-left: auto; padding: 0;
  border: 1px solid #D4D6D9; border-radius: 8px; background: #fff; color: var(--az-ink); font-size: 22px;
  transition: border-color .15s ease, color .15s ease;
}
.az-save:hover { border-color: var(--az-btn-bg); }
.az-save .az-icon--on { display: none; }
.az-save[aria-pressed="true"] { border-color: var(--az-btn-bg); color: var(--az-btn-bg); }
.az-save[aria-pressed="true"] .az-icon--on { display: block; }
.az-save[aria-pressed="true"] .az-icon--off { display: none; }

/* Bannières promotionnelles (deux par ligne) */
.az-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.az-promo {
  --az-promo-bg: var(--az-color-primary);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; min-height: 290px;
  border-radius: 10px; background: var(--az-promo-bg); color: #fff;
}
.az-promo--teal { --az-promo-bg: color-mix(in srgb, var(--az-color-secondary) 55%, #062433); }
.az-promo__media {
  position: absolute; inset: 0 0 0 44%; z-index: -1;
  background: var(--az-promo-photo) 60% 35% / cover no-repeat;
}
.az-promo__media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--az-promo-bg) 0%, rgb(0 0 0 / 0) 34%);
}
.az-promo--community .az-promo__media { background-position: 55% 80%; }
.az-promo__content { position: relative; width: 62%; padding: 30px 10px 30px 32px; }
.az-promo__title { font-size: 25px; font-weight: 700; line-height: 1.3; color: #fff; }
.az-promo__text { max-width: 290px; margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: rgb(255 255 255 / .9); }
.az-promo .az-btn {
  margin-top: 22px; min-height: 44px; padding: 0 20px; border-radius: 6px;
  background: #fff; color: var(--az-promo-bg); letter-spacing: .06em;
}
.az-promo .az-btn:hover { background: #EAF2F6; }

.az-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 30px; overflow: hidden; border: 1px solid #E9EDF0; border-radius: 10px; background: #E9EDF0; }
.az-trust li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px; background: #fff; font-size: 14.5px; font-weight: 700; color: var(--az-ink); }
.az-trust .az-icon { font-size: 24px; color: var(--az-accent-ink); }

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.az-footer { padding: 48px 0 28px; background: var(--az-footer); color: #fff; }
.az-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 45px; }
.az-footer .az-logo { --az-logo-word: #fff; }
/* Dans l'en-tête, le nom du logo prend la couleur du texte de l'en-tête :
   lisible si la place choisit un fond d'en-tête foncé. */
.az-header .az-logo { --az-logo-word: var(--az-nav-text); }
.az-footer .az-logo__img { height: 50px; }
.az-footer__tagline { margin-top: 14px; font-size: 14px; line-height: 1.7; color: #DCE4EA; }
.az-social { display: flex; gap: 16px; margin-top: 18px; }
.az-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; font-size: 19px; transition: background-color .15s ease; }
.az-social a:hover { background: rgb(255 255 255 / .18); }
.az-footer__title { margin: 0 0 13px; font-family: var(--az-sans); font-size: 14px; font-weight: 700; color: #fff; }
.az-footer__links { display: grid; gap: 4px; }
.az-footer__links a, .az-footer__links li { font-size: 14px; line-height: 1.8; color: #DCE4EA; }
.az-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.az-footer__links li { display: flex; align-items: center; gap: 10px; }
.az-footer__links .az-icon { font-size: 17px; color: var(--az-color-secondary); }
.az-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .12);
  font-size: 13px; color: #CDD8DF;
}
.az-lang { position: relative; display: inline-flex; align-items: center; }
.az-lang select { padding: 4px 22px 4px 4px; border: 0; background: transparent; color: #CDD8DF; font-size: 13px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.az-lang select option { color: #111; }
.az-lang .az-icon { position: absolute; right: 2px; font-size: 12px; pointer-events: none; }

/* ============================================================
   EN-TÊTE DES PAGES INTÉRIEURES (catalogue, boutique, fiche…)
   ============================================================ */
.az-pagehead { padding: 30px 0 26px; background: #fff; border-bottom: 1px solid var(--az-line); }
.az-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--az-muted); }
.az-crumbs li + li::before { content: "›"; margin: 0 9px; color: #B4BCC3; }
.az-crumbs a { color: var(--az-muted); transition: color .15s ease; }
.az-crumbs a:hover { color: var(--az-link-hover); }
.az-crumbs [aria-current] { color: var(--az-ink); font-weight: 500; }
.az-pagehead__title { margin-top: 10px; font-family: var(--az-serif); font-size: 44px; font-weight: 500; line-height: 1.15; color: var(--az-ink); }
.az-pagehead__lead { margin-top: 6px; font-size: 15px; color: var(--az-muted); }

/* En-tête avec photo : voile ivoire à gauche sous le texte, qui se fond dans
   la photo à droite (même traitement que Devenir vendeur). */
.az-pagehead--photo {
  position: relative; isolation: isolate; display: flex; align-items: center; min-height: 250px; padding: 34px 0;
  border-bottom: 0; background: var(--az-pagehead-photo) 70% 50% / cover no-repeat, var(--az-ivory);
}
.az-pagehead--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--az-veil) 97%, transparent) 0%, color-mix(in srgb, var(--az-veil) 90%, transparent) 30%, color-mix(in srgb, var(--az-veil) 45%, transparent) 46%, color-mix(in srgb, var(--az-veil) 0%, transparent) 60%);
}
.az-pagehead--photo > .az-container { width: min(var(--az-container), 92%); }
.az-pagehead--photo .az-crumbs a, .az-pagehead--photo .az-pagehead__lead { color: #4E5A62; }

/* ============================================================
   CATALOGUE : colonne de filtres + grille de fiches
   ============================================================ */
.az-catalog { padding: 34px 0 56px; }
.az-catalog__layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }

/* --- Filtres --- */
.az-filters__panel { position: sticky; top: 96px; display: grid; gap: 14px; }
.az-filters__overlay, .az-filters__close { display: none; }
.az-filters__head { display: flex; align-items: center; justify-content: space-between; }
.az-filters__title { font-family: var(--az-serif); font-size: 26px; font-weight: 500; color: var(--az-ink); }
.az-filters__form { overflow: hidden; border: 1px solid var(--az-line); border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgb(10 42 85 / .06), 0 8px 22px rgb(10 42 85 / .06); }
.az-filter { margin: 0; padding: 16px 18px; border: 0; border-bottom: 1px solid var(--az-line); min-width: 0; }
.az-filter__title { display: block; margin: 0 0 10px; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--az-accent-ink); }
.az-filter__search { position: relative; }
.az-filter__search input { width: 100%; height: 42px; padding: 0 42px 0 14px; border: 1px solid #DDE3E8; border-radius: 9px; background: #fff; font-size: 14.5px; color: var(--az-ink); }
.az-filter__search input:focus, .az-filter__select select:focus { outline: none; border-color: var(--az-link-hover); box-shadow: 0 0 0 3px color-mix(in srgb, var(--az-link-hover) 18%, transparent); }
.az-filter__search button { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 7px; background: var(--az-btn-bg); color: #fff; font-size: 16px; }
.az-filter__select { position: relative; display: flex; align-items: center; }
.az-filter__select select { width: 100%; height: 42px; padding: 0 36px 0 14px; border: 1px solid #DDE3E8; border-radius: 9px; background: #fff; font-size: 14.5px; color: var(--az-ink); -webkit-appearance: none; appearance: none; cursor: pointer; }
.az-filter__select > .az-icon { position: absolute; right: 13px; font-size: 12px; color: var(--az-ink); pointer-events: none; }

.az-filter__nav, .az-filter__nav ul { margin: 0; padding: 0; list-style: none; }
.az-filter__nav a { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 14.5px; color: var(--az-text); transition: color .15s ease; }
.az-filter__nav a:hover { color: var(--az-link-hover); }
.az-filter__nav a .az-icon { font-size: 18px; color: var(--az-accent-ink); }
.az-filter__nav a.is-open { font-weight: 600; color: var(--az-ink); }
.az-filter__nav a.is-current { font-weight: 700; color: var(--az-ink); }
.az-filter__nav ul { margin: 2px 0 6px 27px; padding-left: 12px; border-left: 2px solid var(--az-accent-soft); }
.az-filter__nav ul a { padding: 4px 0; font-size: 14px; }
.az-filter__nav ul a.is-current { color: var(--az-accent-ink); }

.az-price-range__label { margin-bottom: 16px; font-size: 15px; font-weight: 600; color: var(--az-ink); }
.az-price-range { height: 6px; margin: 0 10px 10px; border: 0; border-radius: 3px; background: var(--az-line); box-shadow: none; }
.az-price-range .noUi-connect { background: var(--az-color-secondary); }
.az-price-range .noUi-handle { top: -8px; right: -11px; width: 22px; height: 22px; border: 2px solid var(--az-color-primary); border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .18); cursor: grab; }
.az-price-range .noUi-handle:active { cursor: grabbing; }
.az-price-range .noUi-handle::before, .az-price-range .noUi-handle::after { display: none; }

.az-filter__options { display: grid; gap: 2px; }
.az-check { position: relative; display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; color: var(--az-text); cursor: pointer; }
.az-check input { position: absolute; opacity: 0; pointer-events: none; }
.az-check__box { flex: none; width: 18px; height: 18px; border: 1.5px solid #B9C2C9; border-radius: 5px; background: #fff; transition: background-color .15s ease, border-color .15s ease; }
.az-check input:checked + .az-check__box { border-color: var(--az-color-primary); background: var(--az-color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.az-check input:focus-visible + .az-check__box { outline: 2px solid var(--az-link-hover); outline-offset: 2px; }
.az-check__swatch { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.az-check__label { flex: 1; min-width: 0; }
.az-check__count { font-size: 12.5px; color: var(--az-muted); }

.az-filters__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.az-filters__actions .az-btn { min-height: 42px; padding: 0 22px; }
.az-mapcard {
  position: relative; display: grid; place-items: center; gap: 8px; width: 100%; min-height: 168px; padding: 18px;
  overflow: hidden; border: 0; border-radius: 12px; color: var(--az-ink); cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 340' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='600' height='340' fill='%23EEE7D8'/%3E%3Cpath d='M600 120C520 132 468 190 440 250C420 296 378 328 324 340H600Z' fill='%23BFE6EC'/%3E%3Cpath d='M600 160C540 170 500 215 478 262C462 298 430 326 392 340' fill='none' stroke='%23A7DCE4' stroke-width='3'/%3E%3Cg fill='%23DCE6CF'%3E%3Crect x='26' y='228' width='78' height='54' rx='10'/%3E%3Crect x='300' y='118' width='66' height='42' rx='10'/%3E%3Crect x='150' y='20' width='54' height='40' rx='10'/%3E%3C/g%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M-10 92C120 112 220 62 360 92S520 72 610 42' stroke-width='12'/%3E%3Cpath d='M84-10C112 120 92 222 142 350' stroke-width='12'/%3E%3Cpath d='M262-10C252 122 302 202 282 350' stroke-width='10'/%3E%3Cpath d='M-10 200C100 190 180 232 300 212' stroke-width='5'/%3E%3Cpath d='M182-10L212 350' stroke-width='5'/%3E%3Cpath d='M382-10C362 82 402 152 382 222' stroke-width='5'/%3E%3Cpath d='M120 300C200 280 240 300 320 292' stroke-width='5'/%3E%3C/g%3E%3Cg fill='%23173F56'%3E%3Cpath d='M140 150a14 14 0 1 1 28 0c0 11-14 24-14 24s-14-13-14-24z'/%3E%3Cpath d='M330 70a14 14 0 1 1 28 0c0 11-14 24-14 24s-14-13-14-24z'/%3E%3Cpath d='M228 246a14 14 0 1 1 28 0c0 11-14 24-14 24s-14-13-14-24z'/%3E%3C/g%3E%3Cg fill='%2320BFD0'%3E%3Ccircle cx='154' cy='150' r='5'/%3E%3Ccircle cx='344' cy='70' r='5'/%3E%3Ccircle cx='242' cy='246' r='5'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat, #EEE7D8;
  box-shadow: 0 1px 3px rgb(10 42 85 / .06), 0 8px 22px rgb(10 42 85 / .06);
}
.az-mapcard::before { content: ""; position: absolute; inset: 0; background: rgb(255 255 255 / .18); transition: background-color .2s ease; }
.az-mapcard:hover::before { background: rgb(255 255 255 / 0); }
.az-mapcard__btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--az-btn-bg); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 8px 20px rgb(8 43 68 / .25); transition: background-color .15s ease, transform .15s ease;
}
.az-mapcard__btn .az-icon { font-size: 17px; color: var(--az-color-secondary); }
.az-mapcard:hover .az-mapcard__btn { background: var(--az-btn-bg-hover); transform: translateY(-1px); }
.az-mapcard__count { position: relative; padding: 3px 10px; border-radius: 999px; background: rgb(255 255 255 / .85); font-size: 12.5px; font-weight: 600; }
.az-mapcard[aria-expanded="true"] .az-mapcard__btn { background: var(--az-terracotta); }

/* Carte des points de vente, au-dessus des fiches */
.az-catalog-map { position: relative; height: 440px; margin-bottom: 22px; overflow: hidden; border-radius: 12px; background: #E8EEF1; box-shadow: 0 1px 3px rgb(10 42 85 / .06), 0 8px 22px rgb(10 42 85 / .08); }
.az-catalog-map[hidden] { display: none; }
.az-catalog-map__canvas { position: absolute; inset: 0; }
.az-catalog-map__close { position: absolute; top: 12px; left: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--az-ink); font-size: 16px; box-shadow: 0 4px 12px rgb(8 43 68 / .18); }
.az-catalog-map__card {
  position: absolute; top: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; width: 290px;
  overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgb(8 43 68 / .22);
  animation: az-fade .2s ease;
}
.az-catalog-map__card[hidden] { display: none; }
.az-catalog-map__media { position: relative; flex: none; height: 140px; background: var(--az-ivory) center / cover no-repeat; }
.az-catalog-map__media img { position: absolute; left: 16px; bottom: -26px; width: 60px; height: 60px; border: 3px solid #fff; border-radius: 12px; background: #fff; object-fit: cover; box-shadow: 0 4px 12px rgb(8 43 68 / .15); }
.az-catalog-map__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 34px 18px 18px; }
.az-catalog-map__activity { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--az-accent-ink); }
.az-catalog-map__name { font-family: var(--az-serif); font-size: 22px; font-weight: 500; line-height: 1.2; color: var(--az-ink); }
.az-catalog-map__address { display: flex; gap: 6px; font-size: 13.5px; line-height: 1.4; color: var(--az-muted); }
.az-catalog-map__address .az-icon { flex: none; margin-top: 2px; font-size: 14px; }
.az-catalog-map__count { font-size: 14px; font-weight: 600; color: var(--az-ink); }
.az-catalog-map__go { margin-top: auto; align-self: flex-start; min-height: 42px; padding: 0 18px; font-size: 12px; }

/* --- Barre d'outils et grille --- */
.az-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 16px; }
.az-toolbar__filters { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--az-btn-bg); color: #fff; font-size: 14px; font-weight: 600; }
.az-toolbar__badge { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--az-color-secondary); color: var(--az-ink); font-size: 11.5px; font-weight: 700; }
.az-toolbar__count { font-size: 14.5px; color: var(--az-muted); }
.az-toolbar__sort { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 14px; color: var(--az-muted); }
.az-toolbar__sort .az-filter__select select { height: 40px; min-width: 190px; background: #fff; }

.az-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.az-chip--remove { display: inline-flex; align-items: center; gap: 8px; background: #fff; }
.az-chip--remove .az-icon { font-size: 11px; color: var(--az-muted); }
.az-chip--remove:hover .az-icon { color: var(--az-ink); }

.az-catalog__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.az-empty { display: grid; justify-items: center; gap: 10px; padding: 60px 20px; border: 1px solid var(--az-line); border-radius: 12px; background: var(--az-ivory); text-align: center; color: var(--az-muted); }
.az-empty > .az-icon { font-size: 40px; color: var(--az-accent-soft); }
.az-empty h2 { font-family: var(--az-serif); font-size: 26px; font-weight: 500; color: var(--az-ink); }
.az-empty .az-btn { margin-top: 8px; }

/* --- Pagination --- */
.az-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 34px; }
.az-pagination__pages { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.az-pagination__page, .az-pagination__step, .az-pagination__gap {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--az-ink);
}
.az-pagination__page, .az-pagination__step { background: #fff; box-shadow: 0 1px 3px rgb(10 42 85 / .08); transition: background-color .15s ease, color .15s ease; }
a.az-pagination__page:hover, a.az-pagination__step:hover { background: var(--az-lemon); }
.az-pagination__page.is-current { background: var(--az-color-primary); color: #fff; }
.az-pagination__step.is-disabled { opacity: .4; }
.az-pagination__step .az-icon { font-size: 16px; }

/* ============================================================
   PANNEAU DU PANIER — glisse depuis la droite
   ============================================================ */
.az-cart { position: fixed; inset: 0; z-index: 200; }
.az-cart[hidden] { display: none; }
.az-cart__overlay { position: absolute; inset: 0; background: rgb(8 30 44 / .45); opacity: 0; transition: opacity .25s ease; }
.az-cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column;
  width: min(420px, 100%); background: #fff; box-shadow: -12px 0 32px rgb(8 43 68 / .16);
  transform: translateX(100%); transition: transform .3s ease; outline: none;
}
.az-cart.is-open .az-cart__overlay { opacity: 1; }
.az-cart.is-open .az-cart__panel { transform: none; }
html.az-noscroll { overflow: hidden; }

.az-cart__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--az-line); background: var(--az-nav-bg); }
.az-cart__title { font-family: var(--az-serif); font-size: 24px; font-weight: 500; line-height: 1.2; color: var(--az-ink); }
.az-cart__count { display: block; margin-top: 2px; font-family: var(--az-sans); font-size: 13px; font-weight: 500; color: var(--az-muted); }
.az-cart__close { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #C9D1D7; border-radius: 50%; background: transparent; color: var(--az-ink); font-size: 16px; transition: border-color .15s ease; }
.az-cart__close:hover { border-color: var(--az-ink); }
.az-cart__alert { margin: 14px 22px 0; padding: 10px 14px; border-radius: 8px; background: var(--az-accent-tint); color: var(--az-ink); font-size: 14px; }

.az-cart__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 22px 16px; }
.az-cart__group + .az-cart__group { border-top: 1px solid var(--az-line); }
.az-cart__shop { padding: 16px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--az-accent-ink); }
.az-cart__line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px 0; }
.az-cart__thumb { display: block; width: 72px; aspect-ratio: 8 / 9; overflow: hidden; border-radius: 6px; background: #F3F4F5; }
.az-cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.az-cart__thumb .az-noimg { font-size: 22px; }
.az-cart__info { display: grid; gap: 3px; min-width: 0; }
.az-cart__name { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--az-ink); }
.az-cart__name:hover { color: var(--az-link-hover); }
.az-cart__variant { font-size: 13px; color: var(--az-muted); }
.az-cart__price { font-size: 14px; font-weight: 600; color: var(--az-ink); }
.az-cart__problem { font-size: 13px; color: #A12A1F; }
.az-cart__remove { margin: 0; }
.az-cart__remove button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: #F1F3F5; color: #5C6873; font-size: 13px; transition: background-color .15s ease, color .15s ease; }
.az-cart__remove button:hover { background: var(--az-ink); color: #fff; }

.az-cart__empty { display: grid; justify-items: center; gap: 14px; margin: auto; padding: 40px 22px; text-align: center; color: var(--az-muted); }
.az-cart__empty > .az-icon { font-size: 46px; color: var(--az-accent-soft); }

.az-cart__foot { padding: 18px 22px 22px; border-top: 1px solid var(--az-line); background: #fff; }
.az-cart__total { display: flex; align-items: baseline; justify-content: space-between; font-size: 15px; color: var(--az-text); }
.az-cart__total strong { font-size: 21px; color: var(--az-ink); }
.az-cart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.az-cart__actions .az-btn { width: 100%; }
.az-btn.az-cart__btn--ghost { background: transparent; color: var(--az-ink); box-shadow: inset 0 0 0 1.5px var(--az-ink); }
.az-btn.az-cart__btn--ghost:hover { background: var(--az-accent-tint); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  .az-header__inner { gap: 20px; }
  .az-nav__list { gap: 20px; }
  .az-header__actions { gap: 18px; }
}

@media (max-width: 1100px) {
  .az-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Menu burger dès 1100 px : la barre ne loge plus logo, cinq liens et quatre outils */
  .az-burger { display: grid; }
  .az-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    padding: 4px 4% 22px; background: var(--az-nav-bg); border-bottom: 1px solid var(--az-line);
    box-shadow: 0 16px 24px rgb(8 43 68 / .08);
  }
  .az-header.is-open .az-nav { display: block; }
  .az-nav__list { flex-direction: column; gap: 0; }
  .az-nav__list a { padding: 14px 0; border-bottom: 1px solid var(--az-line); font-size: 17px; }
  /* Menu burger : les sous-menus sont dépliés sous leur onglet. */
  .az-nav__caret { display: none; }
  .az-nav__sub { position: static; min-width: 0; padding: 0 0 6px 16px; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .az-nav__sub::before { display: none; }
  .az-nav__list .az-nav__sub a { padding: 11px 0; border-bottom: 1px solid var(--az-line); border-radius: 0; font-size: 15.5px; color: var(--az-nav-text); }
  .az-nav__list .az-nav__sub a:hover { background: none; }
  .az-nav__sep { display: none; }
  .az-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .az-cat { height: 100%; }
  .az-cat__media { height: auto; aspect-ratio: 188 / 253; }
  .az-cat__body { padding-bottom: 20px; }
}

@media (max-width: 980px) {
  /* Catalogue : la colonne de filtres devient un panneau latéral */
  .az-catalog__layout { grid-template-columns: minmax(0, 1fr); }
  .az-toolbar__filters { display: inline-flex; }
  .az-filters { position: fixed; inset: 0; z-index: 210; visibility: hidden; }
  .az-filters.is-open { visibility: visible; }
  .az-filters__overlay { display: block; position: absolute; inset: 0; background: rgb(8 30 44 / .45); opacity: 0; transition: opacity .25s ease; }
  .az-filters.is-open .az-filters__overlay { opacity: 1; }
  .az-filters__panel {
    position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 92%); overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; padding: 18px; background: var(--az-ivory); transform: translateX(-100%); transition: transform .3s ease;
  }
  /* Chaque bloc garde sa hauteur : sans cela, le formulaire (overflow: hidden) serait écrasé et coupé. */
  .az-filters__panel > * { flex: none; }
  .az-filters__head { order: -1; }
  .az-filters.is-open .az-filters__panel { transform: none; }
  .az-filters__close { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #C9D1D7; border-radius: 50%; background: transparent; color: var(--az-ink); font-size: 16px; }

  .az-about { padding: 48px 0; }
  .az-about__wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .az-about__content { padding-left: 0; }
  .az-collage { max-width: 658px; }
  .az-carousel { --az-per: 2; --az-gap: 18px; }
  .az-carousel--near { --az-per: 3; --az-gap: 14px; }
  .az-shelf__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4%; padding: 2px 4% 8px; }
  .az-shelf__tabs::-webkit-scrollbar { display: none; }
  .az-shelf__tab { flex: none; min-height: 42px; }
  .az-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .az-promos { grid-template-columns: minmax(0, 1fr); }
  .az-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .az-pagehead__title { font-size: 34px; }
  .az-catalog-map { height: 460px; }
  .az-catalog-map__card { top: auto; left: 12px; right: 12px; bottom: 12px; width: auto; flex-direction: row; }
  .az-catalog-map__media { width: 110px; height: auto; }
  .az-catalog-map__media img { display: none; }
  .az-catalog-map__body { padding: 12px 14px; gap: 3px; }
  .az-catalog-map__name { font-size: 18px; }
  .az-catalog-map__go { min-height: 36px; padding: 0 14px; }
  .az-pagehead--photo { min-height: 200px; background-position: 75% 50%; }
  .az-pagehead--photo::before { background: linear-gradient(90deg, color-mix(in srgb, var(--az-veil) 96%, transparent) 0%, color-mix(in srgb, var(--az-veil) 90%, transparent) 55%, color-mix(in srgb, var(--az-veil) 45%, transparent) 100%); }
  .az-catalog { padding: 24px 0 44px; }
  /* La grille du catalogue reste une grille (pas de défilement horizontal comme à l'accueil) */
  .az-products.az-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; grid-auto-columns: auto; gap: 12px; overflow: visible; }
  .az-toolbar__count { display: none; }
  .az-toolbar__sort label { display: none; }
  .az-toolbar__sort .az-filter__select select { min-width: 0; }
  .az-header__inner { height: 64px; }
  .az-logo__img { height: 42px; }
  .az-header__actions { gap: 16px; }
  .az-tool--soon, .az-tool__label { display: none; }

  /* Hero : la photo devient un bandeau, le texte passe dessous sur fond blanc */
  .az-hero { min-height: 0; padding-top: 250px; background-color: var(--az-veil); }
  .az-hero__slides { bottom: auto; height: 250px; }
  .az-hero__slide { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .az-hero__controls { top: 192px; bottom: auto; right: 4%; }
  .az-hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--az-veil) 0%, transparent) 0, color-mix(in srgb, var(--az-veil) 0%, transparent) 170px, var(--az-veil) 250px); }
  .az-hero__inner { padding-top: 20px; }
  .az-hero__eyebrow { font-size: 14.5px; }
  .az-hero__title { font-size: 42px; line-height: 1.12; }
  .az-search { grid-template-columns: minmax(0, 1fr); }
  .az-field input, .az-field select { font-size: 16px; }
  .az-cities { flex-wrap: nowrap; gap: 26px; overflow-x: auto; scrollbar-width: none; }
  .az-cities::-webkit-scrollbar { display: none; }
  .az-cities button { flex: none; }

  .az-section__title { font-size: 30px; }
  .az-cats__title { font-size: 38px; }
  .az-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .az-cat__badge { width: 50px; height: 50px; font-size: 28px; left: 8px; }
  .az-cat__body { padding-left: 14px; }
  .az-cat__name { font-size: 17px; }
  .az-cat__go { font-size: 11px; }
  .az-about { padding: 40px 0; }
  .az-about__title { font-size: 40px; line-height: 1.08; }
  .az-about__text { font-size: 16.5px; line-height: 1.6; }
  .az-about__text br { display: none; }
  .az-about .az-btn { width: 100%; }
  .az-collage__tall { border-radius: 30px 10px 10px 10px; }
  .az-collage__top { border-radius: 10px; }
  .az-collage__woman { border-radius: 10px 44px 44px 10px; }
  .az-collage__badge text { font-size: 14px; }
  .az-city { min-height: 420px; background-position: 70% 50%; }
  .az-city::before { background: linear-gradient(180deg, rgb(238 248 255 / .92) 0%, rgb(238 248 255 / .75) 55%, rgb(238 248 255 / .35) 100%); }
  .az-city__title { font-size: 46px; }
  .az-carousel { --az-gap: 14px; }
  .az-promo { flex-direction: column; align-items: stretch; min-height: 0; }
  .az-promo__media { position: relative; inset: auto; height: 190px; z-index: 0; }
  .az-promo__media::before { background: linear-gradient(0deg, var(--az-promo-bg) 0%, rgb(0 0 0 / 0) 50%); }
  .az-promo__content { width: auto; padding: 4px 22px 26px; }
  .az-promo__title { font-size: 23px; }
  .az-promo__title br { display: none; }
  .az-promo__text { max-width: none; }
  .az-promo .az-btn { width: 100%; }
  .az-carousel__track { grid-auto-columns: 84%; }
  .az-carousel--near .az-carousel__track { grid-auto-columns: 46%; }
  .az-products { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .az-products::-webkit-scrollbar { display: none; }
  .az-products > li { scroll-snap-align: start; }
  .az-shelf__subs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .az-shelf__subs::-webkit-scrollbar { display: none; }
  .az-chip { flex: none; }
  .az-shelf__see { flex: none; }
  .az-ads { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
  .az-ad { min-height: 170px; padding: 24px 22px; }
  .az-ad__title { font-size: 23px; }
  .az-arrow { display: none; }
  .az-carousel__nav .az-more { margin-right: 0; }
  .az-trust { grid-template-columns: minmax(0, 1fr); }
  .az-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .az-page *, .az-page *::before, .az-page *::after { transition: none !important; }
  .az-cart__panel, .az-cart__overlay { transition: none; }
  .az-hero__slide { transform: none; }
  .az-carousel__track { scroll-behavior: auto; }
}

/* ============================================================
   FICHE ARTICLE (vitrine/article/show)
   ============================================================ */
.az-pdp-crumbs { padding: 20px 0 4px; }
.az-pdp { padding: 18px 0 44px; }
.az-pdp__layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* ---- Galerie : une grande image, ses vignettes ---- */
.az-gallery { position: sticky; top: 104px; display: grid; gap: 14px; }
.az-gallery__main { position: relative; overflow: hidden; aspect-ratio: 8 / 9; border: 1px solid var(--az-line); border-radius: 14px; background: #F4F6F7; }
.az-gallery__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; }
.az-gallery__image.is-active { opacity: 1; }
.az-gallery__main .az-noimg { position: absolute; inset: 0; font-size: 56px; }
.az-gallery__nav {
  position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; margin-top: -21px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--az-ink); font-size: 18px;
  box-shadow: 0 2px 10px rgba(23, 63, 86, .14); cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.az-gallery__nav:hover { background: var(--az-lemon); }
.az-gallery__nav--prev { left: 14px; }
.az-gallery__nav--next { right: 14px; }
.az-gallery__count { position: absolute; right: 14px; bottom: 14px; z-index: 1; padding: 4px 11px; border-radius: 999px; background: rgba(23, 63, 86, .78); color: #fff; font-size: 12.5px; }
.az-gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.az-gallery__thumb { display: block; width: 100%; padding: 0; overflow: hidden; aspect-ratio: 8 / 9; border: 1px solid var(--az-line); border-radius: 10px; background: #F4F6F7; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.az-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.az-gallery__thumb:hover { border-color: var(--az-accent-soft); }
.az-gallery__thumb.is-active { border-color: var(--az-terracotta); box-shadow: inset 0 0 0 1px var(--az-terracotta); }

/* ---- Détails ---- */
.az-pdp__details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.az-pdp__rayon { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--az-accent-ink); }
.az-pdp__rayon .az-icon { font-size: 17px; }
.az-pdp__title { font-family: var(--az-serif); font-size: 38px; font-weight: 500; line-height: 1.15; color: var(--az-ink); }
.az-pdp__seller {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--az-line); border-radius: 12px;
  background: #fff; color: var(--az-text); font-size: 14px; transition: border-color .15s ease, background-color .15s ease;
}
.az-pdp__seller:hover { border-color: var(--az-lemon); background: color-mix(in srgb, var(--az-lemon) 14%, #fff); }
.az-pdp__seller img, .az-pdp__seller-initial { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.az-pdp__seller-initial { display: grid; place-items: center; background: var(--az-ivory); color: var(--az-ink); font-family: var(--az-serif); font-size: 19px; }
.az-pdp__seller > span:not(.az-pdp__seller-initial) { flex: 1; min-width: 0; }
.az-pdp__seller-label { display: block; font-size: 12px; color: var(--az-muted); }
.az-pdp__seller strong { color: var(--az-ink); }
.az-pdp__seller > .az-icon { flex: none; font-size: 16px; color: var(--az-muted); }
.az-pdp__rating { margin-top: -4px; }
.az-pdp__rating a { color: var(--az-link); text-decoration: underline; text-underline-offset: 3px; }
.az-pdp__rating a:hover { color: var(--az-link-hover); }

/* ---- Bloc d'achat ---- */
.az-buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; border: 1px solid var(--az-line); border-radius: 14px; background: var(--az-ivory); }
.az-buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-family: var(--az-serif); font-size: 32px; font-weight: 600; line-height: 1.1; color: var(--az-price); }
.az-buy__price small { font-family: var(--az-sans); font-size: 13px; font-weight: 500; color: var(--az-muted); }
.az-buy__from { flex-basis: 100%; }
.az-buy__note { margin-top: -8px; font-size: 13.5px; color: var(--az-muted); }
.az-buy__note a { color: var(--az-link); text-decoration: underline; text-underline-offset: 3px; }
.az-buy__lead { font-size: 15px; line-height: 1.6; color: var(--az-text); }

.az-variation { display: grid; gap: 9px; }
.az-variation__label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--az-ink); }
.az-variation__chosen { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--az-muted); }
.az-variation__values { display: flex; flex-wrap: wrap; gap: 8px; }
.az-size {
  min-width: 46px; height: 40px; padding: 0 14px; border: 1px solid #D5DBE0; border-radius: 10px; background: #fff;
  color: var(--az-ink); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.az-size:hover { border-color: var(--az-terracotta); }
.az-size.is-selected { border-color: var(--az-terracotta); background: color-mix(in srgb, var(--az-terracotta) 12%, #fff); box-shadow: inset 0 0 0 1px var(--az-terracotta); }
.az-swatch {
  width: 34px; height: 34px; padding: 0; border: 3px solid #fff; border-radius: 50%; background: var(--swatch, #ccc);
  box-shadow: 0 0 0 1px #D5DBE0; cursor: pointer; transition: box-shadow .15s ease;
}
.az-swatch:hover { box-shadow: 0 0 0 1px var(--az-terracotta); }
.az-swatch.is-selected { box-shadow: 0 0 0 2px var(--az-terracotta); }
.az-variation__clean { justify-self: start; margin-top: -6px; padding: 0; border: 0; background: none; color: var(--az-link); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.az-variation__clean[hidden] { display: none; }

.az-buy__status:empty { display: none; }
.az-buy__status span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.az-buy__status span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.az-buy__status .is-ok { color: #2E8A5C; }
.az-buy__status .is-ko { color: #B4483A; }
.az-buy__status .is-info { color: var(--az-muted); font-weight: 500; }
.az-buy__errors { padding: 10px 14px; border-radius: 10px; background: #FBEAE6; color: #9B3B2F; font-size: 14px; }

.az-buy__form { display: flex; gap: 12px; }
.az-qty { display: inline-flex; flex: none; align-items: center; height: 50px; border: 1px solid #D5DBE0; border-radius: 10px; background: #fff; }
.az-qty button { width: 40px; height: 100%; border: 0; background: none; color: var(--az-ink); font-size: 20px; cursor: pointer; }
.az-qty button:hover { color: var(--az-terracotta); }
.az-qty input { width: 44px; height: 100%; border: 0; background: none; color: var(--az-ink); font-size: 16px; font-weight: 600; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.az-qty input::-webkit-inner-spin-button, .az-qty input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.az-buy__cta { flex: 1; min-height: 50px; background: var(--az-terracotta); }
.az-buy__cta:hover { background: var(--az-color-primary); }
.az-buy__cta:disabled { background: #C9CED2; cursor: not-allowed; }
.az-buy__cta:disabled .az-icon { transform: none; }
.az-buy__extras { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.az-buy__extra { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: var(--az-muted); font-size: 13.5px; cursor: not-allowed; }
.az-buy__extra .az-icon { font-size: 17px; }

/* Séjour */
.az-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0; }
.az-facts > div { padding: 10px 12px; border-radius: 10px; background: #fff; }
.az-facts dt { font-size: 12px; color: var(--az-muted); }
.az-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--az-ink); }
.az-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 0; padding: 0; list-style: none; }
.az-pills li { padding: 5px 12px; border: 1px solid var(--az-line); border-radius: 999px; background: #fff; font-size: 13px; color: var(--az-text); }
.az-buy__period { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--az-text); }
.az-buy__period .az-icon { flex: none; margin-top: 2px; font-size: 18px; color: var(--az-terracotta); }
.az-buy__period strong { color: var(--az-ink); }
.az-buy__alert { padding: 12px 14px; border-left: 3px solid var(--az-terracotta); border-radius: 6px; background: #fff; font-size: 14px; color: var(--az-text); }

/* ---- Garantie, modes de remise, calendrier ---- */
.az-pdp__aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.az-assure { display: flex; align-items: flex-start; gap: 12px; }
.az-assure__icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--az-color-secondary) 14%, #fff); color: var(--az-accent-ink); font-size: 19px; }
.az-assure__title { font-size: 14.5px; font-weight: 700; color: var(--az-ink); }
.az-assure__hint { font-size: 13.5px; line-height: 1.45; color: var(--az-muted); }
.az-assure--trust { padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--az-lemon) 70%, #fff); border-radius: 12px; background: color-mix(in srgb, var(--az-lemon) 18%, #fff); }
.az-assure--trust .az-assure__icon { background: var(--az-lemon); color: var(--az-ink); }
.az-delivery, .az-stay { padding: 16px; border: 1px solid var(--az-line); border-radius: 12px; background: #fff; }
.az-delivery__title { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--az-ink); }
.az-delivery__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 0; padding: 0; list-style: none; }
.az-stay__months { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.az-stay__name { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--az-ink); }
.az-stay__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.az-stay__weekday { padding-bottom: 2px; font-size: 11px; color: #A0A8AE; text-align: center; }
.az-stay__day { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 5px; background: #F3F5F6; color: #B4BCC2; font-size: 12px; font-style: normal; }
.az-stay__day.is-open { background: var(--az-color-secondary); color: #fff; font-weight: 700; }
.az-stay__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 12.5px; color: var(--az-muted); }
.az-stay__legend span { display: inline-flex; align-items: center; gap: 7px; }
.az-stay__legend .az-stay__day { width: 14px; height: 14px; aspect-ratio: auto; }

/* ---- Onglets ---- */
.az-pdp-tabs { padding: 8px 0 40px; }
.az-tabs { scroll-margin-top: 96px; display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--az-line); scrollbar-width: none; }
.az-tabs::-webkit-scrollbar { display: none; }
.az-tabs__tab {
  flex: none; margin-bottom: -1px; padding: 14px 18px; border: 0; border-bottom: 3px solid transparent; background: none;
  color: var(--az-muted); font-size: 15px; font-weight: 600; cursor: pointer; transition: color .15s ease, border-color .15s ease;
}
.az-tabs__tab:hover { color: var(--az-ink); }
.az-tabs__tab[aria-selected="true"] { border-bottom-color: var(--az-terracotta); color: var(--az-ink); }
.az-tabs__panel { padding-top: 28px; }
.az-tabs__panel[hidden] { display: none; }
.az-prose { max-width: 760px; font-size: 15.5px; line-height: 1.75; color: var(--az-text); }
.az-muted-text { color: var(--az-muted); }
.az-specs__title { margin: 0 0 12px; font-family: var(--az-serif); font-size: 22px; font-weight: 500; color: var(--az-ink); }
.az-specs + .az-specs__title { margin-top: 28px; }
.az-specs { display: grid; max-width: 760px; margin: 0; border: 1px solid var(--az-line); border-radius: 12px; overflow: hidden; }
.az-specs > div { display: grid; grid-template-columns: minmax(140px, 32%) 1fr; }
.az-specs > div:nth-child(odd) { background: var(--az-ivory); }
.az-specs > div + div { border-top: 1px solid var(--az-line); }
.az-specs dt { padding: 11px 16px; font-size: 14px; font-weight: 600; color: var(--az-ink); }
.az-specs dd { margin: 0; padding: 11px 16px; font-size: 14px; color: var(--az-text); }

.az-shopinfo { display: grid; grid-template-columns: 300px minmax(0, 1fr); max-width: 940px; overflow: hidden; border: 1px solid var(--az-line); border-radius: 14px; background: #fff; }
.az-shopinfo__banner { display: grid; place-items: center; min-height: 200px; background: var(--az-ivory) center / cover no-repeat; }
.az-shopinfo__banner img, .az-shopinfo__initial { width: 88px; height: 88px; border: 4px solid #fff; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 4px 16px rgba(23, 63, 86, .16); }
.az-shopinfo__initial { display: grid; place-items: center; color: var(--az-ink); font-family: var(--az-serif); font-size: 36px; }
.az-shopinfo__body { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 24px 28px; }
.az-shopinfo__activity { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--az-accent-ink); }
.az-shopinfo__name { font-family: var(--az-serif); font-size: 28px; font-weight: 500; color: var(--az-ink); }
.az-shopinfo__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--az-text); }
.az-shopinfo__list li { display: flex; align-items: center; gap: 9px; }
.az-shopinfo__list .az-icon { flex: none; font-size: 16px; color: var(--az-terracotta); }
.az-shopinfo__list a:hover { color: var(--az-link-hover); }
.az-shopinfo__text { font-size: 14.5px; line-height: 1.65; color: var(--az-text); }
.az-shopinfo .az-btn { margin-top: 6px; }
.az-empty--soft { max-width: 760px; padding: 40px 20px; }

.az-pdp-related { padding-top: 32px; border-top: 1px solid var(--az-line); }
.az-pdp-related__grid.az-catalog__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .az-pdp__layout { gap: 32px; }
  .az-pdp__title { font-size: 32px; }
  .az-delivery__list { grid-template-columns: minmax(0, 1fr); }
  .az-pdp-related__grid.az-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .az-pdp__layout { grid-template-columns: minmax(0, 1fr); }
  .az-gallery { position: static; }
  .az-delivery__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .az-shopinfo { grid-template-columns: minmax(0, 1fr); }
  .az-shopinfo__banner { min-height: 150px; }
}
@media (max-width: 650px) {
  .az-pdp-crumbs { padding-top: 14px; }
  .az-pdp-crumbs .az-crumbs li:last-child { display: none; }
  .az-pdp { padding: 12px 0 28px; }
  .az-pdp__title { font-size: 27px; }
  .az-gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .az-gallery__nav { width: 36px; height: 36px; margin-top: -18px; }
  .az-buy { padding: 18px 16px; }
  .az-buy__price { font-size: 28px; }
  .az-delivery__list { grid-template-columns: minmax(0, 1fr); }
  .az-tabs__tab { padding: 12px 12px; font-size: 14px; }
  .az-specs > div { grid-template-columns: minmax(0, 1fr); }
  .az-specs dt { padding-bottom: 0; }
  .az-specs dd { padding-top: 2px; }
  .az-shopinfo__body { padding: 20px 18px; }
  .az-pdp-related__grid.az-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   NOS ADRESSES (vitrine/directory)
   ============================================================ */
.az-filter__nav--counts a > span:first-of-type { flex: 1; min-width: 0; }
.az-filter__count { font-size: 12.5px; color: var(--az-muted); }
.az-filter__nav a.is-empty { color: #A9B2B9; }
.az-filter__nav a.is-empty .az-icon { color: #C3CAD0; }
.az-toolbar__map { display: none; align-items: center; gap: 7px; min-height: 42px; margin-left: auto; padding: 0 16px; border: 1px solid var(--az-line); border-radius: 999px; background: #fff; color: var(--az-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.az-toolbar__map .az-icon { font-size: 16px; color: var(--az-terracotta); }
.az-toolbar__map[aria-expanded="true"] { border-color: var(--az-terracotta); background: color-mix(in srgb, var(--az-terracotta) 12%, #fff); }

.az-shops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.az-shop {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--az-line); border-radius: 12px; background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.az-shop:hover { box-shadow: 0 10px 26px rgb(10 42 85 / .1); transform: translateY(-2px); }
.az-shop__media {
  position: relative; flex: none; aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, color-mix(in srgb, var(--az-color-secondary) 55%, #fff), var(--az-color-primary)) center / cover no-repeat;
}
.az-shop__logo {
  position: absolute; left: 16px; bottom: -28px; width: 62px; height: 62px; border: 3px solid #fff; border-radius: 14px;
  background: #fff; object-fit: cover; box-shadow: 0 4px 12px rgb(8 43 68 / .15);
}
.az-shop__logo--initial { display: grid; place-items: center; background: var(--az-ivory); color: var(--az-ink); font-family: var(--az-serif); font-size: 26px; }
.az-shop__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 38px 16px 16px; }
.az-shop__activity { display: flex; align-items: center; gap: 6px; overflow: hidden; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; color: var(--az-accent-ink); }
.az-shop__activity .az-icon { flex: none; font-size: 15px; }
.az-shop__name { display: -webkit-box; overflow: hidden; min-height: 2.4em; font-family: var(--az-serif); font-size: 21px; font-weight: 500; line-height: 1.2; color: var(--az-ink); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.az-shop__name a::after { content: ""; position: absolute; inset: 0; }
.az-shop__name a:hover { color: var(--az-link-hover); }
.az-shop__meta { min-height: 20px; font-size: 13.5px; color: var(--az-muted); }
.az-shop__meta span { display: inline-flex; align-items: center; gap: 5px; }
.az-shop__meta .az-icon { font-size: 14px; color: var(--az-terracotta); }
.az-shop .az-rating { margin-top: 0; }
.az-shop__thumbs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0 4px; padding: 0; list-style: none; }
.az-shop__thumbs a, .az-shop__thumbs span { display: block; overflow: hidden; aspect-ratio: 8 / 9; border-radius: 8px; background: #F2F4F5; }
.az-shop__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.az-shop__thumbs a:hover img { transform: scale(1.06); }
.az-shop__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--az-line); }
.az-shop__count { font-size: 13.5px; color: var(--az-muted); }
.az-shop__go { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--az-terracotta); white-space: nowrap; }
.az-shop__go .az-icon { font-size: 15px; transition: transform .15s ease; }
.az-shop:hover .az-shop__go .az-icon { transform: translateX(3px); }

@media (max-width: 1100px) {
  .az-shops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .az-toolbar__map { display: inline-flex; }
  .az-shops { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .az-shops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .az-shops { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   PAGE BOUTIQUE (vitrine/store/show)
   ============================================================ */
.az-storehead { padding: 20px 0 0; }
.az-storehead__banner {
  margin-top: 16px; height: clamp(150px, 22vw, 300px); border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--az-color-secondary) 55%, #fff), var(--az-color-primary)) center / cover no-repeat;
}
.az-storehead__id {
  position: relative; display: flex; align-items: center; gap: 22px; margin: 0 28px; padding: 18px 0 24px 158px;
  border-bottom: 1px solid var(--az-line);
}
.az-storehead__logo {
  position: absolute; top: -56px; left: 0; width: 134px; height: 134px; border: 5px solid #fff; border-radius: 22px; background: #fff;
  object-fit: cover; box-shadow: 0 8px 24px rgb(8 43 68 / .16);
}
.az-storehead__logo--initial { display: grid; place-items: center; background: var(--az-ivory); color: var(--az-ink); font-family: var(--az-serif); font-size: 52px; }
.az-storehead__text { flex: 1; min-width: 0; padding-bottom: 2px; }
.az-storehead__activity { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--az-accent-ink); }
.az-storehead__activity .az-icon { font-size: 17px; }
.az-storehead__name { margin-top: 4px; font-family: var(--az-serif); font-size: 40px; font-weight: 500; line-height: 1.12; color: var(--az-ink); }
.az-storehead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 8px; font-size: 14px; color: var(--az-muted); }
.az-storehead__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.az-storehead__meta .az-icon { color: var(--az-terracotta); }
.az-storehead__meta .az-rating { margin: 0; }
.az-storehead__actions { display: flex; flex: none; align-items: center; gap: 10px; padding-bottom: 4px; }
.az-storehead__cta { background: var(--az-terracotta); }
.az-storehead__cta:hover { background: var(--az-color-primary); }
.az-storehead__cta:hover .az-icon { transform: none; }
.az-storehead__round {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--az-line); border-radius: 50%;
  background: #fff; color: var(--az-ink); font-size: 19px; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
a.az-storehead__round:hover { border-color: var(--az-lemon); background: var(--az-lemon); }
.az-storehead__round:disabled { color: #A9B2B9; cursor: not-allowed; }

.az-store { padding-top: 30px; }
.az-store__aside { position: sticky; top: 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.az-store__box { padding: 18px; border: 1px solid var(--az-line); border-radius: 12px; background: #fff; }
.az-store__title { margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--az-ink); }
.az-store__text { font-size: 14.5px; line-height: 1.65; color: var(--az-text); }
.az-store__box .az-shopinfo__list li { align-items: flex-start; }
.az-store__box .az-shopinfo__list .az-icon { margin-top: 3px; }
.az-store__box .az-shopinfo__list a { overflow-wrap: anywhere; }
.az-store__directions { margin-top: 12px; }
.az-delivery--stack .az-delivery__list { grid-template-columns: minmax(0, 1fr); }

.az-store__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.az-store__cats .az-chip { display: inline-flex; align-items: center; gap: 7px; }
.az-store__cats .az-chip span { font-size: 12px; font-weight: 500; color: var(--az-muted); }
.az-store__cats .az-chip[aria-current] { border-color: var(--az-terracotta); background: color-mix(in srgb, var(--az-terracotta) 10%, #fff); box-shadow: inset 0 0 0 1px var(--az-terracotta); font-weight: 700; }
.az-store__grid.az-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .az-storehead__id { flex-wrap: wrap; }
  .az-storehead__actions { flex-basis: 100%; }
}
@media (max-width: 980px) {
  .az-store__aside { position: static; order: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .az-store__aside > .az-store__box:first-child:last-child { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .az-storehead { padding-top: 14px; }
  .az-storehead__banner { height: 140px; border-radius: 12px; }
  .az-storehead__id { gap: 12px 16px; margin: 0 4px; padding: 0 0 20px; }
  .az-storehead__logo { position: relative; top: auto; width: 88px; height: 88px; margin-top: -44px; border-width: 4px; border-radius: 18px; }
  .az-storehead__logo--initial { font-size: 38px; }
  .az-storehead__text { flex-basis: 100%; }
  .az-storehead__name { font-size: 30px; }
  .az-storehead__actions { padding-left: 0; }
  .az-storehead__cta { flex: 1; }
  .az-store__aside { grid-template-columns: minmax(0, 1fr); }
  .az-store__cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 -4% 16px; padding: 2px 4%; scrollbar-width: none; }
  .az-store__cats::-webkit-scrollbar { display: none; }
  .az-store__cats .az-chip { flex: none; }
  .az-store__grid.az-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   FORMULAIRES (connexion, compte)
   ============================================================ */
.az-form { display: grid; gap: 16px; }
.az-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.az-form__grid--narrow { max-width: 620px; }
.az-formfield { display: grid; align-content: start; gap: 6px; min-width: 0; }
.az-formfield--wide { grid-column: 1 / -1; }
.az-formfield label { font-size: 13.5px; font-weight: 600; color: var(--az-ink); }
.az-formfield label span { color: var(--az-terracotta); }
.az-formfield__hint { font-size: 12.5px; color: var(--az-muted); }
.az-input {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #D5DBE0; border-radius: 10px; background: #fff;
  color: var(--az-ink); font: inherit; font-size: 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.az-input { min-height: 110px; resize: vertical; }
.az-input:focus { outline: none; border-color: var(--az-link-hover); box-shadow: 0 0 0 3px color-mix(in srgb, var(--az-link-hover) 18%, transparent); }
.az-input-wrap { position: relative; }
.az-input-wrap .az-input { padding-right: 46px; }
.az-input-wrap__btn { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--az-muted); font-size: 19px; cursor: pointer; }
.az-input-wrap__btn:hover { color: var(--az-ink); }
.az-form__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.az-form__muted { font-size: 13.5px; color: #A9B2B9; cursor: not-allowed; }
.az-form__submit { width: 100%; min-height: 50px; background: var(--az-terracotta); }
.az-form__submit:hover { background: var(--az-color-primary); }
.az-form__actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 4px; }
.az-check--top { align-items: flex-start; }
.az-check--top .az-check__box { margin-top: 2px; }
.az-check__label a { color: var(--az-link); text-decoration: underline; text-underline-offset: 3px; }

.az-alert { display: grid; gap: 4px; padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.az-alert--ok { border: 1px solid color-mix(in srgb, #2E8A5C 30%, #fff); background: #EEF7F1; color: #22694A; }
.az-alert--error { border: 1px solid color-mix(in srgb, #B4483A 30%, #fff); background: #FBEFEC; color: #9B3B2F; }
.az-alert--warn { border: 1px solid color-mix(in srgb, var(--az-lemon) 70%, #fff); background: color-mix(in srgb, var(--az-lemon) 18%, #fff); color: #6F5A12; }

.az-btn--ghost { border: 1px solid var(--az-line); background: #fff; color: var(--az-ink); }
.az-btn--ghost:hover { border-color: var(--az-lemon); background: var(--az-lemon); }

/* ============================================================
   CONNEXION / INSCRIPTION (vitrine/auth/login)
   ============================================================ */
.az-auth { padding: 40px 0 64px; background: var(--az-ivory); }
.az-auth__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 32px; align-items: stretch; }
.az-auth__visual {
  position: relative; display: flex; align-items: center; min-height: 560px; overflow: hidden; border: 1px solid var(--az-line); border-radius: 18px; color: var(--az-ink);
  box-shadow: 0 12px 34px rgb(10 42 85 / .08);
  background: var(--az-auth-photo) 70% center / cover no-repeat, var(--az-accent-tint);
}
.az-auth[data-active-tab="tab-signup"] .az-auth__visual { background-image: var(--az-auth-photo-signup, var(--az-auth-photo)); }
/* Un voile ivoire à gauche, comme le haut de page de l'accueil : la photo
   reste lumineuse à droite, le texte bleu profond reste lisible à gauche. */
.az-auth__visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--az-veil) 97%, transparent) 0%, color-mix(in srgb, var(--az-veil) 92%, transparent) 48%, color-mix(in srgb, var(--az-veil) 55%, transparent) 68%, color-mix(in srgb, var(--az-veil) 0%, transparent) 88%);
}
.az-auth__visual-body { position: relative; display: grid; gap: 14px; max-width: 470px; padding: 36px; }
.az-auth__copy { display: grid; gap: 14px; }
.az-auth[data-active-tab="tab-signin"] [data-for-tab="tab-signup"],
.az-auth[data-active-tab="tab-signup"] [data-for-tab="tab-signin"] { display: none; }
.az-auth__visual .az-logo { justify-self: start; margin-bottom: 4px; }
.az-auth__visual .az-logo__img { height: 46px; }
.az-auth__visual .az-eyebrow { color: var(--az-accent-ink); }
.az-auth__title { font-family: var(--az-serif); font-size: 40px; font-weight: 500; line-height: 1.12; color: var(--az-ink); }
.az-auth__title em { font-style: italic; color: var(--az-highlight); }
.az-auth__lead { max-width: 520px; font-size: 15.5px; line-height: 1.6; color: var(--az-ink); }
.az-auth__perks { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.az-auth__perks li { display: flex; align-items: flex-start; gap: 10px; }
.az-auth__perks .az-icon { flex: none; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--az-lemon); color: var(--az-ink); font-size: 18px; }
.az-auth__merchant { margin-top: 6px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--az-color-primary) 15%, transparent); font-size: 14px; color: var(--az-muted); }
.az-auth__merchant a { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-weight: 700; color: var(--az-ink); }
.az-auth__merchant a:hover { color: var(--az-accent-ink); }
.az-auth__card { display: flex; flex-direction: column; gap: 18px; padding: 28px 32px 32px; border: 1px solid var(--az-line); border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgb(10 42 85 / .08); }
.az-auth__tabs .az-tabs__tab { flex: 1; text-align: center; }
.az-auth .az-tabs__panel { padding-top: 0; }
.az-auth__heading { margin-bottom: 16px; font-family: var(--az-serif); font-size: 28px; font-weight: 500; color: var(--az-ink); }
.az-auth__switch { margin-top: 18px; font-size: 14px; color: var(--az-muted); text-align: center; }
.az-auth__switch button { padding: 0; border: 0; background: none; color: var(--az-link); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.az-auth__switch button:hover { color: var(--az-link-hover); }

/* ============================================================
   MENU DU COMPTE DANS L'EN-TÊTE
   ============================================================ */
.az-account-menu { position: relative; }
.az-account-menu__panel {
  position: absolute; top: calc(100% + 12px); right: -12px; z-index: 60; width: 240px; padding: 14px; border: 1px solid var(--az-line); border-radius: 14px;
  background: #fff; box-shadow: 0 16px 40px rgb(8 43 68 / .16); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.az-account-menu__panel::before { content: ""; position: absolute; top: -14px; right: 0; left: 0; height: 14px; }
.az-account-menu:hover .az-account-menu__panel, .az-account-menu:focus-within .az-account-menu__panel { opacity: 1; visibility: visible; transform: none; }
.az-account-menu__hello { margin: 0 6px 8px; font-family: var(--az-serif); font-size: 18px; color: var(--az-ink); }
.az-account-menu ul { margin: 0; padding: 0; list-style: none; }
.az-account-menu ul a, .az-account-menu form button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 8px; border: 0; border-radius: 8px; background: none;
  color: var(--az-text); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer;
}
.az-account-menu ul a:hover, .az-account-menu form button:hover { background: var(--az-ivory); color: var(--az-ink); }
.az-account-menu ul .az-icon, .az-account-menu form .az-icon { font-size: 18px; color: var(--az-accent-ink); }
.az-account-menu form { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--az-line); }
.az-account-menu form .az-icon { color: var(--az-terracotta); }

/* ============================================================
   ESPACE COMPTE (vitrine/account)
   ============================================================ */
.az-account-head { padding: 22px 0 28px; background: var(--az-color-primary); color: #fff; }
.az-account-head .az-crumbs ol, .az-account-head .az-crumbs a { color: rgb(255 255 255 / .7); }
.az-account-head .az-crumbs a:hover { color: var(--az-lemon); }
.az-account-head .az-crumbs [aria-current] { color: #fff; }
.az-account-head .az-crumbs li + li::before { color: rgb(255 255 255 / .45); }
.az-account-head .az-eyebrow { color: var(--az-lemon); }
.az-account-head__id { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.az-account-head__avatar { display: grid; flex: none; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--az-lemon); color: var(--az-color-primary); font-family: var(--az-serif); font-size: 24px; letter-spacing: .02em; }
.az-account-head__title { margin-top: 2px; font-family: var(--az-serif); font-size: 36px; font-weight: 500; line-height: 1.15; color: #fff; }

.az-myaccount { padding: 32px 0 64px; }
.az-myaccount__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.az-myaccount__nav { position: sticky; top: 96px; padding: 10px; border: 1px solid var(--az-line); border-radius: 14px; background: #fff; }
.az-myaccount__nav ul { margin: 0; padding: 0; list-style: none; }
.az-myaccount__nav a, .az-myaccount__nav button {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: none;
  color: var(--az-text); font: inherit; font-size: 14.5px; font-weight: 500; text-align: left; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.az-myaccount__nav .az-icon { font-size: 19px; color: var(--az-accent-ink); }
.az-myaccount__nav a:hover, .az-myaccount__nav button:hover { background: var(--az-ivory); color: var(--az-ink); }
.az-myaccount__nav a[aria-current] { background: color-mix(in srgb, var(--az-terracotta) 12%, #fff); color: var(--az-ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--az-terracotta); }
.az-myaccount__nav a[aria-current] .az-icon { color: var(--az-terracotta); }
.az-myaccount__logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--az-line); }
.az-myaccount__logout .az-icon { color: var(--az-terracotta); }
.az-myaccount__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }

.az-panel { display: grid; gap: 14px; padding: 24px; border: 1px solid var(--az-line); border-radius: 14px; background: #fff; }
.az-panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.az-panel__title { font-family: var(--az-serif); font-size: 23px; font-weight: 500; color: var(--az-ink); }
.az-panel__title--sub { margin-top: 10px; font-size: 20px; }
.az-panel__text { font-size: 14.5px; color: var(--az-muted); }
.az-panel--soon { background: var(--az-ivory); }
.az-panel .az-empty--soft { max-width: none; border: 0; }

.az-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.az-tile {
  display: grid; gap: 6px; height: 100%; padding: 18px; border: 1px solid var(--az-line); border-radius: 14px; background: #fff;
  transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.az-tile:hover { border-color: var(--az-lemon); box-shadow: 0 10px 24px rgb(10 42 85 / .08); transform: translateY(-2px); }
.az-tile__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 12px; background: color-mix(in srgb, var(--az-color-secondary) 14%, #fff); color: var(--az-accent-ink); font-size: 22px; }
.az-tile:hover .az-tile__icon { background: var(--az-lemon); color: var(--az-ink); }
.az-tile__title { font-size: 15.5px; font-weight: 700; color: var(--az-ink); }
.az-tile__text { font-size: 13.5px; line-height: 1.4; color: var(--az-muted); }

.az-status { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.az-status--info { background: color-mix(in srgb, var(--az-color-primary) 10%, #fff); color: var(--az-color-primary); }
.az-status--sun { background: color-mix(in srgb, var(--az-lemon) 45%, #fff); color: #6F5A12; }
.az-status--sea { background: color-mix(in srgb, var(--az-color-secondary) 18%, #fff); color: var(--az-accent-ink); }
.az-status--ok { background: #E4F3EA; color: #22694A; }
.az-status--error { background: #FBE6E2; color: #9B3B2F; }
.az-status--muted { background: #EEF1F3; color: #66727D; }

.az-order-row {
  display: grid; grid-template-columns: 170px minmax(0, 1fr) auto 20px; align-items: center; gap: 12px 20px; padding: 16px 4px;
  border-top: 1px solid var(--az-line); color: var(--az-text); transition: background-color .15s ease;
}
.az-panel__head + .az-order-row { border-top: 0; }
.az-order-row:hover { background: color-mix(in srgb, var(--az-ivory) 60%, #fff); }
.az-order-row__main { display: grid; gap: 2px; }
.az-order-row__number { font-size: 15px; color: var(--az-ink); white-space: nowrap; }
.az-order-row__date { font-size: 13px; color: var(--az-muted); }
.az-order-row__shops { display: grid; gap: 6px; }
.az-order-row__shop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.az-order-row__total { display: grid; justify-items: end; font-size: 15px; font-weight: 700; color: var(--az-ink); }
.az-order-row__total small { font-size: 12px; font-weight: 500; color: var(--az-muted); }
.az-order-row__go { font-size: 16px; color: var(--az-muted); transition: transform .15s ease; }
.az-order-row:hover .az-order-row__go { color: var(--az-terracotta); transform: translateX(3px); }

.az-order-summary { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 14px 18px; border-radius: 12px; background: var(--az-ivory); font-size: 14.5px; color: var(--az-text); }
.az-order-summary strong { color: var(--az-ink); }
.az-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 4px 0; padding: 0; list-style: none; counter-reset: none; }
.az-steps li { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; }
.az-steps li + li::before { content: ""; position: absolute; top: 13px; right: 50%; left: -50%; height: 2px; background: var(--az-line); }
.az-steps li.is-done + li.is-done::before { background: var(--az-color-secondary); }
.az-steps__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--az-line); border-radius: 50%; background: #fff; color: #fff; font-size: 15px; }
.az-steps li.is-done .az-steps__dot { border-color: var(--az-color-secondary); background: var(--az-color-secondary); }
.az-steps__label { font-size: 13px; font-weight: 600; color: var(--az-muted); }
.az-steps li.is-done .az-steps__label { color: var(--az-ink); }
.az-steps__date { font-size: 12px; color: var(--az-muted); }
.az-order-lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--az-line); }
.az-order-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--az-line); font-size: 14.5px; }
.az-order-lines__name { display: grid; gap: 2px; color: var(--az-ink); }
.az-order-lines__name small { font-size: 12.5px; color: var(--az-muted); }
.az-order-lines__name em { font-size: 12.5px; font-style: normal; color: #9B3B2F; }
.az-order-lines__price { flex: none; font-weight: 600; color: var(--az-ink); }
.az-order-lines li.is-unavailable .az-order-lines__price, .az-order-lines li.is-unavailable .az-order-lines__title { text-decoration: line-through; color: #A9B2B9; }
.az-invoices { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.az-invoices a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--az-line); border-radius: 999px; background: var(--az-ivory); color: var(--az-ink); font-size: 13.5px; font-weight: 600; transition: border-color .15s ease, background-color .15s ease; }
.az-invoices a:hover { border-color: var(--az-lemon); background: var(--az-lemon); }
.az-invoices .az-icon { font-size: 16px; color: var(--az-terracotta); }
.az-invoices span { font-weight: 500; color: var(--az-muted); }
.az-report summary { font-size: 14px; font-weight: 600; color: var(--az-link); cursor: pointer; }
.az-report summary:hover { color: var(--az-link-hover); }
.az-report .az-form { margin-top: 12px; justify-items: start; }
.az-report .az-formfield { width: 100%; }
.az-address { font-size: 14.5px; font-style: normal; line-height: 1.6; color: var(--az-text); }

.az-company { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; align-items: center; gap: 14px 16px; padding: 14px 0; border-top: 1px solid var(--az-line); }
.az-panel__head + .az-company { border-top: 0; }
.az-company__logo { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 12px; background: var(--az-ivory); color: var(--az-ink); font-family: var(--az-serif); font-size: 22px; }
.az-company__logo img { width: 100%; height: 100%; object-fit: cover; }
.az-company__name { font-size: 15.5px; font-weight: 700; color: var(--az-ink); }
.az-company__meta { font-size: 13px; color: var(--az-muted); }
.az-company__go { min-height: 40px; padding: 0 16px; font-size: 12px; }

@media (max-width: 1100px) {
  .az-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .az-order-row { grid-template-columns: minmax(0, 1fr) auto 20px; }
  .az-order-row__shops { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 980px) {
  .az-auth__layout { grid-template-columns: minmax(0, 1fr); }
  .az-auth__visual { min-height: 0; order: 2; align-items: flex-end; padding-top: 150px;
    background: var(--az-auth-photo) center top / auto 280px no-repeat, var(--az-veil); }
  /* Sur mobile, la photo en bandeau au-dessus du texte, fondue dans l'ivoire. */
  .az-auth__visual::before { background: linear-gradient(180deg, color-mix(in srgb, var(--az-veil) 0%, transparent) 0, color-mix(in srgb, var(--az-veil) 0%, transparent) 110px, color-mix(in srgb, var(--az-veil) 97%, transparent) 250px); }
  .az-myaccount__layout { grid-template-columns: minmax(0, 1fr); }
  .az-myaccount__nav { position: static; padding: 6px; overflow-x: auto; scrollbar-width: none; }
  .az-myaccount__nav::-webkit-scrollbar { display: none; }
  .az-myaccount__nav ul { display: flex; gap: 4px; }
  .az-myaccount__nav li { flex: none; }
  .az-myaccount__nav a, .az-myaccount__nav button { white-space: nowrap; }
  .az-myaccount__nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--az-terracotta); }
  .az-myaccount__logout { margin: 0 0 0 4px; padding: 0 0 0 4px; border-top: 0; border-left: 1px solid var(--az-line); }
  .az-account-menu__panel { display: none; }
}
@media (max-width: 650px) {
  .az-auth { padding: 20px 0 40px; }
  .az-auth__card { padding: 20px 18px 24px; }
  .az-auth__visual-body { padding: 24px 20px; }
  .az-auth__title { font-size: 30px; }
  .az-form__grid { grid-template-columns: minmax(0, 1fr); }
  .az-account-head__avatar { width: 52px; height: 52px; font-size: 20px; }
  .az-account-head__title { font-size: 28px; }
  .az-myaccount { padding-top: 18px; }
  .az-panel { padding: 18px 16px; }
  .az-tiles { gap: 10px; }
  .az-tile { padding: 14px; }
  .az-company { grid-template-columns: 44px minmax(0, 1fr); }
  .az-company__logo { width: 44px; height: 44px; }
  .az-company .az-status { grid-column: 2; justify-self: start; }
  .az-company__go { grid-column: 1 / -1; justify-self: stretch; }
  .az-steps__label { font-size: 11.5px; }
}

/* Création d'un compte vendeur : préfixe de l'adresse de boutique, retour de vérification */
.az-input-prefix { display: flex; align-items: stretch; overflow: hidden; border: 1px solid #D5DBE0; border-radius: 10px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.az-input-prefix:focus-within { border-color: var(--az-link-hover); box-shadow: 0 0 0 3px color-mix(in srgb, var(--az-link-hover) 18%, transparent); }
.az-input-prefix__text { display: flex; align-items: center; padding: 0 12px; border-right: 1px solid #D5DBE0; background: var(--az-ivory); color: var(--az-muted); font-size: 13.5px; white-space: nowrap; }
.az-input-prefix .az-input { min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
.az-formfield .az-filter__select select.az-input { height: auto; padding-right: 38px; }
.az-slug-feedback { min-height: 0; font-size: 13px; color: var(--az-muted); }
.az-slug-feedback:empty { display: none; }
.az-slug-feedback.is-ok { color: #22694A; }
.az-slug-feedback.is-ko { color: #9B3B2F; }
@media (max-width: 650px) {
  .az-input-prefix { flex-direction: column; }
  .az-input-prefix__text { padding: 8px 12px; border-right: 0; border-bottom: 1px solid #D5DBE0; white-space: normal; overflow-wrap: anywhere; }
}

/* Création d'un compte vendeur : professionnel ou particulier */
.az-seller-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; border: 0; }
.az-seller-choice legend { grid-column: 1 / -1; margin-bottom: 12px; padding: 0; }
.az-seller-choice__card {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 18px;
  border: 1px solid var(--az-line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.az-seller-choice__card:hover { border-color: var(--az-terracotta); }
.az-seller-choice__card input { position: absolute; opacity: 0; pointer-events: none; }
.az-seller-choice__card:has(input:checked) { border-color: var(--az-terracotta); background: color-mix(in srgb, var(--az-terracotta) 8%, #fff); box-shadow: inset 0 0 0 1px var(--az-terracotta); }
.az-seller-choice__card:has(input:focus-visible) { outline: 2px solid var(--az-link-hover); outline-offset: 2px; }
.az-seller-choice__icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--az-color-secondary) 14%, #fff); color: var(--az-accent-ink); font-size: 22px; }
.az-seller-choice__card:has(input:checked) .az-seller-choice__icon { background: var(--az-terracotta); color: #fff; }
.az-seller-choice__title { font-size: 15.5px; font-weight: 700; color: var(--az-ink); }
.az-seller-choice__text { font-size: 13.5px; line-height: 1.45; color: var(--az-muted); }
@media (max-width: 650px) { .az-seller-choice { grid-template-columns: minmax(0, 1fr); } }

/* Mention « Loueur particulier » en vitrine */
.az-badge-individual { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--az-lemon) 45%, #fff); color: #6F5A12; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.az-badge-individual .az-icon { font-size: 14px; }

/* Bas des pages du compte : trois pavés, puis la FAQ sur fond ivoire */
.az-account-more { padding: 0 0 48px; }
.az-myaccount + .az-account-more { margin-top: -24px; }
.az-ads--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 0; }
.az-ads--three .az-ad { min-height: 180px; padding: 24px 22px; }
.az-ads--three .az-ad__media { inset: 0 0 0 40%; }
.az-ads--three .az-ad__eyebrow { font-size: 14px; }
.az-ads--three .az-ad__title { max-width: 62%; font-size: 22px; }
.az-ads--three .az-ad__link { margin-top: 12px; font-size: 12px; }
.az-ad--apps { --az-ad-bg: var(--az-ivory); border: 1px solid color-mix(in srgb, var(--az-terracotta) 25%, var(--az-ivory)); }
.az-ad--apps .az-ad__media { inset: 0 0 0 46%; background-position: 45% 20%; }
.az-ad__stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.az-store-badge { display: block; width: auto; height: 40px; }
.az-store-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--az-color-primary); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; cursor: default; opacity: .9; }
.az-ad--paiements .az-ad__media { background-position: 70% 50%; }
.az-ad__badge { display: inline-flex; align-self: flex-start; margin-top: 12px; padding: 6px 10px; border-radius: 10px; background: #fff; box-shadow: 0 4px 14px rgb(8 43 68 / .18); }
.az-ad__badge img { display: block; width: auto; height: 40px; }
.az-ad--lemon { --az-ad-bg: var(--az-lemon); }
.az-ad--merchant .az-ad__media { background-position: 65% 30%; }

.az-account-faq { padding: 52px 0 64px; background: var(--az-ivory); }
.az-faq { display: grid; gap: 18px; }
.az-faq__title { font-family: var(--az-serif); font-size: 32px; font-weight: 500; color: var(--az-ink); text-align: center; }
.az-faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; align-items: start; }
.az-faq__item { border: 1px solid var(--az-line); border-radius: 12px; background: #fff; transition: border-color .15s ease; }
.az-faq__item[open] { border-color: color-mix(in srgb, var(--az-terracotta) 55%, #fff); }
.az-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; font-size: 15px; font-weight: 600; color: var(--az-ink); list-style: none; cursor: pointer; }
.az-faq__item summary::-webkit-details-marker { display: none; }
.az-faq__item summary .az-icon { flex: none; font-size: 13px; color: var(--az-muted); transition: transform .2s ease; }
.az-faq__item[open] summary .az-icon { transform: rotate(180deg); color: var(--az-terracotta); }
.az-faq__item summary:hover { color: var(--az-link-hover); }
.az-faq__item p { padding: 0 18px 16px; font-size: 14.5px; line-height: 1.65; color: var(--az-text); }
.az-faq__more { font-size: 14px; color: var(--az-muted); text-align: center; }
.az-faq__more a { color: var(--az-link); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) {
  .az-ads--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .az-faq__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .az-ads--three { grid-template-columns: minmax(0, 1fr); }
  .az-account-faq { padding: 36px 0 44px; }
  .az-faq__title { font-size: 26px; }
}

/* ============================================================
   DEVENIR VENDEUR (/devenir-vendeur)
   ============================================================ */
.az-sell-hero { min-height: 430px; background-position: 85% 50%; }
.az-sell-hero__body { display: grid; gap: 14px; max-width: 520px; margin-top: 18px; }
/* Texte plus long que sur les autres en-têtes : le voile s'étend un peu plus. */
.az-sell-hero::before { background: linear-gradient(90deg, color-mix(in srgb, var(--az-veil) 97%, transparent) 0%, color-mix(in srgb, var(--az-veil) 92%, transparent) 36%, color-mix(in srgb, var(--az-veil) 50%, transparent) 50%, color-mix(in srgb, var(--az-veil) 0%, transparent) 62%); }
.az-sell-hero .az-eyebrow { color: var(--az-accent-ink); }
.az-sell-hero .az-pagehead__title { margin-top: 0; }
.az-sell-hero .az-pagehead__title em,
.az-sell-pricing .az-section__title em { font-style: italic; color: var(--az-highlight); }
.az-sell-hero__lead { max-width: 540px; font-size: 16.5px; line-height: 1.6; color: var(--az-ink); }
.az-sell-hero__points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; color: var(--az-ink); }
.az-sell-hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.az-sell-hero__points .az-icon { padding: 3px; border-radius: 50%; background: var(--az-lemon); font-size: 18px; }
.az-sell-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.az-sell-hero__login { font-size: 14px; color: #4E5A62; }
.az-sell-hero__login a { font-weight: 700; color: var(--az-ink); text-decoration: underline; text-underline-offset: 3px; }

.az-sell-head { display: grid; gap: 8px; max-width: 720px; margin: 0 auto 28px; text-align: center; }
.az-sell-head .az-eyebrow { color: var(--az-accent-ink); }
.az-sell-head__lead { font-size: 15.5px; line-height: 1.6; color: var(--az-muted); }

.az-sell-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.az-sell-types .az-tile { align-content: start; cursor: default; }
.az-sell-types .az-badge-individual { justify-self: start; margin-top: 4px; }

.az-sell-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.az-sell-steps li { position: relative; display: grid; align-content: start; gap: 8px; padding: 22px 20px 24px; border: 1px solid var(--az-line); border-radius: 14px; background: #fff; }
.az-sell-steps__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--az-color-secondary); color: #fff; font-family: var(--az-serif); font-size: 20px; font-weight: 600; }
.az-sell-steps h3 { font-size: 17px; font-weight: 700; color: var(--az-ink); }
.az-sell-steps p { font-size: 14px; line-height: 1.55; color: var(--az-muted); }
/* Le fil qui relie les étapes, sur grand écran. */
.az-sell-steps li:not(:last-child)::after { content: ""; position: absolute; top: 41px; right: -19px; width: 20px; border-top: 2px dashed color-mix(in srgb, var(--az-color-secondary) 55%, #fff); }

.az-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 0 0 22px; padding: 0; list-style: none; }
.az-plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border: 1px solid var(--az-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgb(10 42 85 / .06); }
.az-plan--premium { border-color: var(--az-terracotta); box-shadow: 0 14px 34px rgb(216 135 106 / .18); }
.az-plan__flag { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--az-terracotta); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.az-plan__name { font-family: var(--az-serif); font-size: 24px; font-weight: 500; color: var(--az-ink); }
.az-plan__price { color: var(--az-muted); font-size: 15px; }
.az-plan__price strong { font-family: var(--az-serif); font-size: 40px; font-weight: 600; line-height: 1; color: var(--az-ink); }
.az-plan__limits { display: grid; gap: 7px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--az-line); list-style: none; font-size: 14.5px; font-weight: 600; color: var(--az-ink); }
.az-plan__limits li { display: flex; align-items: center; gap: 9px; }
.az-plan__limits .az-icon { flex: none; padding: 3px; border-radius: 50%; background: var(--az-accent-tint); color: var(--az-accent-ink); font-size: 18px; }
.az-plan__text { font-size: 14px; line-height: 1.6; color: var(--az-muted); }
.az-plan__text ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.az-plan__text strong { color: var(--az-ink); }
.az-plan__for { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--az-muted); }
.az-sell-terms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--az-ink); }
.az-sell-terms li { display: inline-flex; align-items: center; gap: 8px; }
.az-sell-terms .az-icon { font-size: 18px; color: var(--az-accent-ink); }

.az-sell-cta { padding: 8px 0 64px; }
.az-sell-cta__box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 30px 34px; border-radius: 18px; background: var(--az-accent-tint); }
.az-sell-cta__mono { width: 66px; height: 64px; --az-logo-mono: var(--az-color-secondary); color: var(--az-color-secondary); }
.az-sell-cta__title { font-family: var(--az-serif); font-size: 28px; font-weight: 500; color: var(--az-ink); }
.az-sell-cta__box p { margin-top: 4px; font-size: 15px; color: var(--az-muted); }

@media (max-width: 980px) {
  .az-sell-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .az-sell-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .az-sell-steps li::after { display: none; }
}
@media (max-width: 650px) {
  .az-sell-hero { min-height: 0; }
  .az-sell-hero::before { background: color-mix(in srgb, var(--az-veil) 93%, transparent); }
  .az-sell-hero__lead { font-size: 15.5px; }
  .az-sell-hero__actions .az-btn { flex: 1 1 100%; justify-content: center; }
  .az-sell-steps, .az-sell-types { grid-template-columns: minmax(0, 1fr); }
  .az-sell-cta__box { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 24px 20px; }
  .az-sell-cta__title { font-size: 24px; }
}

/* ============================================================
   PAGES SERVICES (/services/{page})
   ============================================================ */
.az-svc-hero { min-height: 300px; }
.az-svc-hero__body { display: grid; gap: 12px; max-width: 500px; margin-top: 14px; }
.az-svc-hero::before { background: linear-gradient(90deg, color-mix(in srgb, var(--az-veil) 97%, transparent) 0%, color-mix(in srgb, var(--az-veil) 92%, transparent) 36%, color-mix(in srgb, var(--az-veil) 50%, transparent) 50%, color-mix(in srgb, var(--az-veil) 0%, transparent) 62%); }
.az-svc-hero .az-eyebrow { color: var(--az-accent-ink); }
.az-svc-hero .az-pagehead__title { margin-top: 0; }
.az-svc-hero .az-pagehead__title em { font-style: italic; color: var(--az-highlight); }
.az-svc-hero__lead { font-size: 16px; line-height: 1.6; color: var(--az-ink); }

.az-svc-cards-wrap { padding-bottom: 0; }
.az-svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: svc; }
.az-svc-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--az-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgb(10 42 85 / .06); counter-increment: svc; }
.az-svc-card img { display: block; width: 100%; height: auto; aspect-ratio: 378 / 197; object-fit: cover; }
.az-svc-card__body { display: grid; align-content: start; gap: 8px; padding: 18px 20px 22px; }
.az-svc-card__title { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; color: var(--az-ink); }
.az-svc-card__title::before { content: counter(svc); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--az-color-secondary); color: #fff; font-size: 15px; }
.az-svc-card p { font-size: 15px; line-height: 1.55; color: var(--az-muted); }
.az-svc-card__tag { justify-self: stretch; margin-top: 6px; padding: 7px 14px; border-radius: 999px; background: var(--az-accent-tint); color: var(--az-accent-ink); font-size: 14px; font-weight: 700; }

.az-svc-band-wrap { padding: 28px 0 0; }
.az-svc-band-wrap--first { padding-top: 40px; }
.az-svc-band { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; padding: 24px 30px; border-radius: 16px; background: var(--az-color-primary); color: #fff; }
.az-svc-band--steps { grid-template-columns: minmax(0, 1fr); }
.az-svc-band__label { max-width: 150px; font-size: 14px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--az-color-secondary); }
.az-svc-band__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.az-svc-band__list li { position: relative; display: flex; align-items: flex-start; gap: 14px; }
.az-svc-band__list .az-icon { flex: none; margin-top: 2px; font-size: 26px; color: var(--az-color-secondary); }
.az-svc-band__list strong { display: block; margin-bottom: 2px; font-size: 16.5px; }
.az-svc-band__list span { font-size: 14.5px; line-height: 1.45; color: rgb(255 255 255 / .82); }
.az-svc-band__list strong { color: #fff; }
.az-svc-band__num { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--az-color-secondary); color: var(--az-color-primary); font-weight: 700; }
.az-svc-band--steps .az-svc-band__list li:not(:last-child)::after { content: "→"; position: absolute; top: 2px; right: -18px; font-size: 22px; font-weight: 700; color: var(--az-color-secondary); }

.az-svc-details { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.az-svc-details .az-tile { align-content: start; cursor: default; }
.az-svc-details .az-tile__text { font-size: 14px; line-height: 1.55; }

.az-svc-more { padding: 0 0 28px; }
.az-svc-more ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }

@media (max-width: 980px) {
  .az-svc-cards { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .az-svc-band { grid-template-columns: minmax(0, 1fr); }
  .az-svc-band__label { max-width: none; }
  .az-svc-band__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .az-svc-band--steps .az-svc-band__list li::after { display: none; }
  .az-svc-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .az-svc-hero { min-height: 0; }
  .az-svc-hero::before { background: color-mix(in srgb, var(--az-veil) 93%, transparent); }
  .az-svc-band { padding: 22px 20px; }
  .az-svc-details { grid-template-columns: minmax(0, 1fr); }
}
