/* ─── Polices ────────────────────────────────────────────────────────────── */

/*
 * Cormorant Garamond et Jost, servies par la boutique elle-même (storefront/fonts/, licence SIL OFL 1.1) :
 * aucune visite ne passe par Google. Latin et latin-ext, chargés seulement si la page en a besoin.
 */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-latin-ext-300-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Bases ──────────────────────────────────────────────────────────────── */

:root {
  --bg: #faf9f6;
  --tile: #f1efea;
  --sand: #ece7de;
  --ink: #1e1d1b;
  --ink-soft: #4b4843;
  --muted: #8c877f;
  --line: #e3dfd7;
  --dark: #1f1e1b;
  --dark-ink: #ebe7df;
  --dark-muted: #99948b;
  --accent: #a35d3d;
  --danger: #a33a2f;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(16px, 3.2vw, 56px);
  --max: 1680px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
}

.skip-link:focus {
  top: 8px;
}

/* ─── Typographie ────────────────────────────────────────────────────────── */

/* Petites capitales espacées : navigation, sur-titres, boutons. */
.eyebrow,
.header__link,
.text-link,
.button,
.card__badge,
.availability,
.breadcrumb,
.tabs__tab,
.toolbar,
.footer__bottom {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--muted);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.display--md {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.1;
}

.lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.muted {
  color: var(--muted);
}

.logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

/* ─── Liens et boutons ───────────────────────────────────────────────────── */

.text-link {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s;
}

.text-link:hover {
  opacity: 0.6;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.link-button--muted {
  color: var(--muted);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  letter-spacing: 0.14em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: 1px solid var(--ink);
  background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.button--outline:hover {
  background: var(--ink);
  color: var(--bg);
}

.button--solid {
  background: var(--ink);
  color: var(--bg);
}

.button--solid:hover {
  background: #3a3834;
}

.button:disabled {
  border-color: var(--line);
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

.button--block {
  width: 100%;
}

.button--grow {
  flex: 1;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── En-tête ────────────────────────────────────────────────────────────── */

.announce {
  padding: 10px var(--gutter);
  background: var(--ink);
  color: var(--dark-ink);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(250 249 246 / 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  height: 80px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.header__side {
  display: flex;
  align-items: center;
  gap: 34px;
}

.header__side--end {
  justify-content: flex-end;
}

.header__link {
  padding: 8px 0;
  border: 0;
  background: none;
  transition: opacity 0.2s;
}

.header__link:hover {
  opacity: 0.55;
}

.header__burger {
  display: none;
  padding: 8px 0;
  border: 0;
  background: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.menu-mobile {
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 24px;
  border-top: 1px solid var(--line);
}

.menu-mobile a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 24px;
}

/* ─── Mise en page ───────────────────────────────────────────────────────── */

.main {
  min-height: 60vh;
  outline: none;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) var(--gutter) 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(24px, 3vw, 40px);
  display: grid;
  gap: 14px;
}

.page-head--center {
  justify-items: center;
  max-width: 720px;
  padding-bottom: clamp(72px, 9vw, 128px);
  text-align: center;
}

.page-head--center .button {
  margin-top: 18px;
}

.prose {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.prose > * {
  max-width: 720px;
}

.terms__title {
  margin: 32px 0 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
}

.terms__title:first-child {
  margin-top: 0;
}

/* ─── Visuels ────────────────────────────────────────────────────────────── */

/* Fond qui reprend le gris exact des photos produit (#f2f3ee) : photo et cadre sont d'une seule
   teinte, les miniatures ne ressortent plus en blanc et tout se fond. */
.tile {
  display: block;
  position: relative;
  overflow: hidden;
  background: #f2f3ee;
}

.tile img {
  width: 100%;
  height: 100%;
  /* Photo entière, sans recadrage : la pièce (chaussure…) reste visible à 100 %. */
  object-fit: contain;
}

.tile__initial {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: var(--serif);
  font-size: 56px;
  color: var(--muted);
}

/* ─── Accueil ────────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - 118px);
}

.hero__media {
  min-height: 520px;
}

.hero__text {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 26px;
  padding: 64px clamp(32px, 7vw, 128px);
  background: var(--sand);
}

.hero__text .lead {
  max-width: 440px;
}

.hero__text .button-row {
  margin-top: 10px;
}

.story {
  display: grid;
  margin-top: clamp(72px, 9vw, 136px);
  background: var(--sand);
}

.story__media {
  aspect-ratio: 16 / 7;
}

.story__text {
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) var(--gutter);
  text-align: center;
}

.promises {
  display: grid;
  grid-template-columns: repeat(var(--promises, 3), 1fr);
  gap: var(--gutter);
  max-width: var(--max);
  margin: clamp(72px, 9vw, 136px) auto 0;
  padding: 40px var(--gutter) clamp(72px, 8vw, 112px);
  border-top: 1px solid var(--line);
}

.promise {
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
}

.promise .eyebrow {
  color: var(--ink);
}

/* ─── Grille de produits ─────────────────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 44px) 8px;
}

.grid[data-columns='2'] {
  grid-template-columns: repeat(2, 1fr);
}

.grid[data-columns='3'] {
  grid-template-columns: repeat(3, 1fr);
}

.grid--collection {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.card__media {
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
}

.card__media img {
  transition: transform 0.9s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.035);
}

.card__badge {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.card__title {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card__price {
  font-size: 13px;
  color: var(--muted);
}

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

/* Le titre de la carte est un lien vers la fiche. */
.card__title {
  color: inherit;
  text-decoration: none;
}

/* Choix de la taille + « Ajouter au panier » directement sur la carte.
   Le bouton « Ajouter » occupe toute la colonne ; la taille vient juste dessous, en simple. */
.quick-buy {
  display: grid;
  gap: 4px;
  margin-top: 10px;
}
.quick-buy__add {
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}
.quick-buy__add:hover:not(:disabled) {
  opacity: 0.8;
}
.quick-buy__add:disabled {
  background: var(--muted);
  opacity: 0.6;
  cursor: not-allowed;
}
.quick-buy__label {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.quick-buy__size {
  width: 100%;
  min-height: 38px;
  padding: 0 32px 0 12px;
  appearance: none;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
}
.quick-buy__size:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

/* Message d'urgence de vues, discret sous le prix. */
.card__views {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* Rupture de stock : photo grisée + mention. */
.card__media--soldout img {
  filter: grayscale(1);
  opacity: 0.5;
}
.card__soldout {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgb(30 29 27 / 0.3);
}

/* Catégories : une ligne de liens discrets, la catégorie affichée soulignée. */
.categories {
  display: flex;
  gap: 8px 30px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.categories__link {
  flex: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s;
}

.categories__link:hover {
  color: var(--ink);
}

.categories__link[aria-current='page'] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto 24px;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toolbar__view {
  display: flex;
  align-items: center;
  gap: 14px;
}

.toolbar__option {
  padding: 2px 4px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--muted);
}

.toolbar__option[aria-pressed='true'] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

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

.toolbar__sort select {
  padding: 6px 22px 6px 4px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231e1d1b'/%3E%3C/svg%3E") no-repeat right 4px center / 9px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  appearance: none;
}

/* ─── Fiche produit ──────────────────────────────────────────────────────── */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

/* Les photos produit sont carrées (packshot sur fond gris) : le cadre l'est aussi, et la photo le remplit
   bord à bord. Sur grand écran, la hauteur est plafonnée à l'écran : seul le fond, en haut et en bas, est rogné. */
.product__media {
  aspect-ratio: 1 / 1;
  max-height: calc(100svh - 118px);
  width: 100%;
  position: sticky;
  top: 81px;
  align-self: start;
}

.product__panel {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 96px) clamp(20px, 4vw, 64px) 72px;
  text-align: center;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 56px);
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.product__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 3.4vw, 50px);
  line-height: 1.08;
}

.product__price {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--accent);
}

.availability::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.availability--sold_out {
  color: var(--muted);
}

.product__buy-panel {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
}

.variant-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.variant-picker legend {
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
}

.variant-picker__value {
  min-width: 52px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: none;
  font-size: 13px;
  transition: border-color 0.2s;
}

.variant-picker__value:hover {
  border-color: var(--muted);
}

.variant-picker__value[aria-pressed='true'] {
  border-color: var(--ink);
}

.variant-picker__value:has(.variant-picker__swatch) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 12px;
}

/* Pastille de couleur, devant le nom de la couleur. */
.variant-picker__swatch {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15);
}

.item-variant {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.product__buy {
  display: flex;
  gap: 10px;
  width: 100%;
  margin: clamp(32px, 4vw, 56px) 0 8px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  min-height: 52px;
}

.stepper__button {
  width: 44px;
  height: 100%;
  min-height: 40px;
  border: 0;
  background: none;
  font-size: 16px;
}

.stepper__button:disabled {
  color: var(--line);
  cursor: default;
}

.stepper__value {
  min-width: 22px;
  text-align: center;
  font-size: 14px;
}

.tabs {
  width: 100%;
  margin-top: 28px;
  text-align: left;
}

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  border-bottom: 1px solid var(--line);
}

.tabs__tab {
  padding: 14px 0;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--muted);
  font-size: 10.5px;
}

.tabs__tab[aria-selected='true'] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.tabs__panel {
  display: grid;
  gap: 14px;
  padding: 24px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.tabs__panel .terms__title {
  margin-top: 12px;
  font-size: 22px;
}

.details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 28px;
  margin: 0;
}

.details dt {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 5px;
}

.details dd {
  margin: 0;
}

/* ─── Panier (tiroir) ────────────────────────────────────────────────────── */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(30 29 27 / 0.35);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(460px, 100%);
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.drawer__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.drawer__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.drawer__empty {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: auto;
  padding: 40px;
  font-family: var(--serif);
  font-size: 22px;
}

.cart-lines {
  flex: 1;
  margin: 0;
  padding: 0 28px;
  list-style: none;
  overflow-y: auto;
}

.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line__media {
  aspect-ratio: 4 / 5;
}

.cart-line__info {
  display: grid;
  align-content: start;
  gap: 4px;
}

.cart-line__title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cart-line__price {
  font-size: 13px;
  color: var(--muted);
}

.cart-line__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.cart-line .stepper {
  min-height: 38px;
}

.cart-line .stepper__button {
  width: 36px;
}

.drawer__foot {
  display: grid;
  gap: 10px;
  padding: 22px 28px 28px;
  border-top: 1px solid var(--line);
}

.drawer__foot .button {
  margin-top: 10px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.total-row--muted {
  color: var(--muted);
}

.total-row--strong {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 400;
}

/* ─── Commande ───────────────────────────────────────────────────────────── */

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 112px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(72px, 8vw, 120px);
}

.checkout__form {
  display: grid;
  gap: 32px;
  align-content: start;
}

.fieldset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.fieldset legend {
  margin-bottom: 18px;
  padding: 0;
}

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

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

.field__label {
  font-size: 13px;
  color: var(--ink-soft);
}

.field__input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.2s;
}

.field__input:focus {
  border-color: var(--ink);
  outline: none;
}

.field__input[aria-invalid='true'] {
  border-color: var(--danger);
}

.field__error {
  font-size: 12.5px;
  color: var(--danger);
}

.field__error:empty {
  display: none;
}

.form-alert {
  padding: 14px 16px;
  border-left: 2px solid var(--danger);
  background: #f6ebe8;
  color: var(--danger);
  font-size: 14px;
  outline: none;
}

.fine-print {
  margin-top: -14px;
  font-size: 13px;
  color: var(--muted);
}

.summary {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 32px;
  background: var(--tile);
  position: sticky;
  top: 112px;
  align-self: start;
}

.summary__lines {
  margin: 8px 0 16px;
  padding: 0;
  list-style: none;
}

.summary__line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.summary__media {
  aspect-ratio: 4 / 5;
  background: var(--bg);
}

.summary__title {
  display: grid;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.summary__title .muted {
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
}

/* ─── Pied de page ───────────────────────────────────────────────────────── */

.footer {
  margin-top: clamp(72px, 8vw, 112px);
  background: var(--dark);
  color: var(--dark-ink);
}

.main:has(.promises) + .footer {
  margin-top: 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--gutter);
}

.footer__brand {
  display: grid;
  align-content: start;
  gap: 22px;
}

.logo--footer {
  font-size: 38px;
}

.footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--dark-muted);
}

.footer__col {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer__col .eyebrow {
  margin-bottom: 10px;
  color: var(--dark-muted);
}

.footer__col a {
  font-size: 14px;
  transition: opacity 0.2s;
}

.footer__col a:hover {
  opacity: 0.6;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter) 32px;
  border-top: 1px solid rgb(235 231 223 / 0.14);
  color: var(--dark-muted);
  font-size: 10.5px;
}

/* ─── Adresses proposées pendant la saisie (page commande) ───────────────── */

.address-field {
  position: relative;
}

.address-unrecognized {
  margin: 0;
  font-size: 12.5px;
  color: var(--accent);
}

.address-unrecognized[hidden] {
  display: none;
}

.address-suggestions {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  z-index: 20;
  border: 1px solid var(--ink);
  border-top: 0;
  background: #fff;
  box-shadow: 0 12px 24px rgb(30 29 27 / 0.08);
}

.address-suggestions[hidden] {
  display: none;
}

.address-suggestions__list {
  margin: 0;
  padding: 4px 0;
  list-style: none;
}

.address-suggestions__item {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  cursor: pointer;
}

.address-suggestions__item:hover,
.address-suggestions__item[aria-selected='true'] {
  background: var(--tile);
}

.address-suggestions__source {
  margin: 0;
  padding: 6px 14px 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

/* ─── Langue et devise (pied de page) ────────────────────────────────────── */

.market-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.market-switch[hidden] {
  display: none;
}

.market-switch__group {
  display: flex;
  gap: 4px;
}

.market-switch__option {
  padding: 2px 6px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.7;
}

.market-switch__option:hover,
.market-switch__option:focus-visible {
  opacity: 1;
}

.market-switch__option[aria-current='true'],
.market-switch__option[aria-pressed='true'] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ─── Petits écrans ──────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .grid,
  .grid[data-columns='4'] {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .header__inner {
    height: 64px;
  }

  .header__side {
    gap: 20px;
  }

  .header__side .header__link:not(.header__cart),
  .toolbar__view {
    display: none;
  }

  .header__burger {
    display: inline-block;
  }

  .logo {
    font-size: 26px;
  }

  .hero,
  .product,
  .checkout {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero__text {
    padding: 48px var(--gutter) 56px;
  }

  .product__media {
    position: static;
    max-height: none;
  }

  .summary {
    position: static;
    order: -1;
    padding: 24px var(--gutter);
    margin: 0 calc(-1 * var(--gutter));
  }

  .story__media {
    aspect-ratio: 4 / 3;
  }

  .grid,
  .grid[data-columns='3'],
  .grid[data-columns='4'] {
    grid-template-columns: repeat(2, 1fr);
  }

  .promises,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

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

  .button {
    padding: 0 22px;
  }

  .button-row .button {
    flex: 1 1 100%;
  }

  .cart-line {
    grid-template-columns: 80px 1fr;
  }

  .drawer__head,
  .cart-lines,
  .drawer__foot {
    padding-left: 20px;
    padding-right: 20px;
  }
}

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

/* Miniatures de la galerie produit : une bande de 4 visibles, avec les flèches précédent / suivant. */
.product__thumbs-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: center;
}

.product__thumbs {
  display: flex;
  gap: 8px;
  /* 4 miniatures visibles au plus, les flèches font défiler les suivantes. */
  max-width: 280px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.product__thumbs::-webkit-scrollbar {
  display: none;
}

.product__thumb {
  flex: 0 0 64px;
  width: 64px;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 1px solid var(--line);
  background: #f2f3ee;
  cursor: pointer;
  overflow: hidden;
}

/* Flèches au milieu de la photo principale, pour changer de photo. */
.product__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.85);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(30 29 27 / 0.1);
}
.product__arrow--prev { left: 16px; }
.product__arrow--next { right: 16px; }

/* Message d'urgence de vues sur la fiche produit. */
.product__views {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 8px 0 0;
}

/* Fiche en rupture : photo grisée + mention. */
.product--soldout img {
  filter: grayscale(1);
  opacity: 0.6;
}
.product__soldout {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgb(30 29 27 / 0.35);
}

.product__thumb[aria-pressed='true'] {
  border-color: var(--ink);
}

.product__media .product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ─── Marque, pages de contenu, demande de retour ────────────────────────── */

.logo__img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.terms__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 18px;
}

.free-shipping-hint {
  font-size: 13px;
  color: var(--accent);
}

.prose--page h2 {
  margin: 40px 0 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}

.prose--page h2:first-child {
  margin-top: 0;
}

.prose--page h3 {
  margin: 24px 0 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.prose--page p,
.prose--page ul,
.prose--page ol {
  margin: 0 0 14px;
}

.prose--page ul,
.prose--page ol {
  padding-left: 20px;
}

.prose--page li + li {
  margin-top: 4px;
}

.prose--page strong {
  font-weight: 500;
  color: var(--ink);
}

.prose--page a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose--page mark.to-complete {
  padding: 0 4px;
  background: var(--sand);
  color: var(--accent);
}

.return-form {
  display: grid;
  gap: 22px;
  max-width: 560px;
  margin-top: 8px;
}

.return-form .button {
  justify-self: start;
}

.field__input--area {
  min-height: 0;
  padding: 12px 14px;
  font-family: inherit;
  line-height: 1.6;
  resize: vertical;
}

.field__hint {
  font-size: 12.5px;
  color: var(--muted);
}

.return-done {
  display: grid;
  gap: 10px;
  max-width: 560px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

@media (min-width: 861px) and (max-width: 1100px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── Paiement ───────────────────────────────────────────────────────────── */

.form-note {
  padding: 14px 16px;
  border-left: 2px solid var(--ink);
  background: var(--tile);
  font-size: 14px;
}

/* ─── Suivi de commande et contact (pages Service) ─────────────────────────── */

.display--sm {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.15;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.return-form select.field__input {
  appearance: none;
  padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231e1d1b' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.tracking {
  display: grid;
  gap: 18px;
  max-width: 560px;
  margin-top: 32px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.tracking h2:focus {
  outline: none;
}

.tracking__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.tracking__step {
  position: relative;
  display: grid;
  gap: 2px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

/* Le trait de progression, puis la pastille de l'étape. */
.tracking__step::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
}

.tracking__step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.tracking__step.is-done {
  color: var(--ink);
}

.tracking__step.is-done::before {
  background: var(--ink);
}

.tracking__step.is-done::after {
  border-color: var(--ink);
  background: var(--ink);
}

.tracking__step.is-current::before {
  right: calc(100% - 12px);
}

.tracking__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tracking__parcel {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 16px;
  background: var(--sand);
}

.tracking__items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 14px;
}

.tracking__items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.tracking__more {
  font-size: 13px;
  color: var(--muted);
}

.tracking__more .text-link {
  font: inherit;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* Bandeau d'annonce (haut) et pied de page : noir profond, mentions en blanc et en gras. */
.announce {
  background: #000;
  color: #fff;
  font-weight: 700;
}

.footer {
  background: #000;
}

.footer__bottom {
  color: #fff;
  font-weight: 700;
}

/* ─── Accueil : meilleure vente ────────────────────────────────────────────── */

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  max-width: var(--max);
  margin: clamp(72px, 9vw, 136px) auto 0;
  padding: 0 var(--gutter);
  gap: clamp(28px, 5vw, 88px);
}

.featured__media {
  aspect-ratio: 1 / 1;
}

.featured__text {
  display: grid;
  justify-items: start;
  gap: 18px;
  max-width: 520px;
}

.featured__price {
  font-size: 16px;
  letter-spacing: 0.04em;
}

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

/* ─── Accueil : bandeau de réassurance (bloc gris centré, icônes au trait) ─── */

.promises {
  max-width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: clamp(72px, 9vw, 136px) auto clamp(56px, 7vw, 96px);
  padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 48px);
  border-top: 0;
  background: var(--tile);
  gap: clamp(24px, 3vw, 48px);
  text-align: center;
}

.promise {
  justify-items: center;
  align-content: start;
  gap: 8px;
  max-width: 300px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.55;
}

.promise__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  color: #000;
}

.promise__title {
  color: #000;
  font-size: 15px;
  font-weight: 700;
}

/* ─── Code promo (page commande) ─────────────────────────────────────────── */

.promo-field {
  display: flex;
  gap: 8px;
}

.promo-field .field__input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.promo-field .button {
  min-height: 50px;
  padding: 0 22px;
}

.field__ok {
  font-size: 12.5px;
  color: #3d6b47;
}

.field__ok:empty {
  display: none;
}

.summary__totals {
  display: grid;
  gap: 12px;
}

.total-row--discount {
  color: #3d6b47;
}

/* ─── Rappels de panier : désinscription ─────────────────────────────────── */

.unsubscribe {
  display: grid;
  justify-items: center;
  gap: 16px;
}

/* ─── Compte à rebours (tout en haut, en rouge) ──────────────────────────── */

.countdown-bar {
  padding: 10px var(--gutter);
  background: #d92b1f;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.countdown-bar[hidden] {
  display: none;
}

/* ─── Catégories de l'en-tête ────────────────────────────────────────────── */

.header__cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 26px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 12px;
}

.header__cats a {
  padding: 4px 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.header__cats a:hover {
  color: var(--ink);
}

.header__cats .header__cats-all {
  font-weight: 600;
}

.menu-mobile .eyebrow {
  padding-top: 18px;
  color: var(--muted);
}

.menu-mobile [data-mobile-cats] a {
  font-size: 16px;
  letter-spacing: 0.06em;
}

@media (max-width: 860px) {
  .header__cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .header__cats::-webkit-scrollbar {
    display: none;
  }
  .header__cats a {
    flex: none;
  }
}

/* ─── Panier dans l'en-tête : icône caddie noire + compteur ─────────────── */

.header__cart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.header__cart-icon {
  width: 19px;
  height: 19px;
  color: var(--ink);
}

.header__cart-count {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.header__cart-count:empty {
  display: none;
}
