/*
 * Shopzimax base theme. Neutral and premium: lots of white, deep black, large images,
 * square black buttons. Mobile first, embedded font (fonts.css), no external requests.
 * Colors, fonts, corners and the other theme settings (config/settings_schema.json) are written
 * by snippets/theme-settings.liquid after this file: `var(--x, value)` here keeps the default look.
 */
:root {
  --color-bg: #ffffff;
  --color-fg: #0a0a0a;
  --color-muted: #666664;
  --color-border: #e6e6e3;
  --color-surface: #f4f4f2;
  --color-accent: #0a0a0a;
  --color-accent-fg: #ffffff;
  --color-sale: #b42318;
  --color-success: #1f7a4d;
  --radius: 0px;
  --gap: 1rem;
  --grid-gap: 0.75rem;
  --container: 1440px;
  --gutter: 1.25rem;
  --header-height: 4rem;
  --header-offset: var(--header-height);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

html.has-drawer {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--body-size, 1rem);
  line-height: var(--body-line-height, 1.6);
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video,
iframe,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

/* `hidden` wins over the display rules (the pixel sandbox iframe, the consent banner, drawers). */
[hidden] {
  display: none !important;
}

.js [data-no-js] {
  display: none !important;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight, 500);
  line-height: var(--heading-line-height, 1.12);
  letter-spacing: var(--heading-letter-spacing, -0.025em);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: calc(clamp(2rem, 5vw, 3rem) * var(--heading-scale, 1));
}

h2 {
  font-size: calc(clamp(1.5rem, 3.2vw, 2.125rem) * var(--heading-scale, 1));
}

h3 {
  font-size: calc(1.125rem * var(--heading-scale, 1));
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--input-radius, var(--radius));
  background: var(--color-bg);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: color-mix(in srgb, var(--color-fg) 35%, var(--color-border));
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-fg);
  outline: none;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-height: 0;
  accent-color: var(--color-fg);
}

::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

:focus-visible {
  outline: 2px solid var(--color-fg);
  outline-offset: 3px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-fg);
  outline-offset: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--color-fg);
  color: var(--color-bg);
}

.skip-link:focus {
  top: 1rem;
}

main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

.container--full {
  max-width: none;
}

.section {
  padding: 3rem 0;
}

.section--flush,
.section-announcement-bar,
.section-hero,
.site-header,
.site-footer {
  padding: 0;
}

.section-pad {
  padding-top: calc(var(--pt, 64px) * 0.7);
  padding-bottom: calc(var(--pb, 64px) * 0.7);
  background: var(--color-bg);
  color: var(--color-fg);
}

/* Common options of the sections (snippets/section-box.liquid, #953). */
.sz {
  margin-top: var(--sz-mt, 0px);
  margin-bottom: var(--sz-mb, 0px);
  border-radius: var(--sz-radius, 0px);
}

.sz--colors-none {
  background: transparent;
  color: inherit;
}

/* Boxed: the background is inset from the screen's edges, with rounded corners. */
.sz--width-boxed {
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
}

@media (max-width: 749px) {
  .sz--desktop {
    display: none;
  }
}

@media (min-width: 750px) {
  .sz--mobile {
    display: none;
  }
}

.section-pad--borders {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.muted {
  color: var(--color-muted);
  margin: 0.25rem 0;
}

.empty {
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding: 3rem 0;
  color: var(--color-muted);
}

.empty p {
  margin: 0;
}

.rte {
  line-height: 1.7;
}

.rte > :first-child {
  margin-top: 0;
}

.rte > :last-child {
  margin-bottom: 0;
}

.rte h2,
.rte h3 {
  margin-top: 1.75em;
}

.rte img {
  margin: 1.5rem 0;
}

.rte blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--color-fg);
  font-size: 1.2rem;
  line-height: 1.5;
}

.rte a {
  text-decoration: underline;
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
}

/*
 * An emoji chosen instead of a line icon (#1128, #1129): the same box as the icon it replaces,
 * whatever size a section gives `.icon`; the glyph follows the box's height (size container),
 * in the system's emoji font.
 */
.icon--emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  container-type: size;
  overflow: visible;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.icon__emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.05em;
  font-size: 84cqh;
  line-height: 1;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.heading--small {
  font-size: calc(clamp(1.25rem, 2.2vw, 1.5rem) * var(--heading-scale, 1));
}

.heading--medium {
  font-size: calc(clamp(1.625rem, 3.2vw, 2.25rem) * var(--heading-scale, 1));
}

.heading--large {
  font-size: calc(clamp(2rem, 4.5vw, 3.25rem) * var(--heading-scale, 1));
}

.heading--xlarge {
  font-size: calc(clamp(2.5rem, 7vw, 5rem) * var(--heading-scale, 1));
  letter-spacing: calc(var(--heading-letter-spacing, -0.025em) - 0.01em);
  line-height: calc(var(--heading-line-height, 1.12) - 0.1);
}

.section-head {
  max-width: 46rem;
  margin: 0 0 2rem;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .heading {
  margin-bottom: 0.35em;
}

.section-head__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.section-head--row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  max-width: none;
}

.section-head--row .heading {
  margin: 0;
}

.section__heading {
  margin-bottom: 1.75rem;
  font-size: calc(clamp(1.5rem, 3vw, 2.125rem) * var(--heading-scale, 1));
}

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.3s var(--ease);
}

.link-underline:hover {
  background-size: 0 1px;
  background-position: 100% 100%;
}

/* Buttons: square, black, uppercase. */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.8rem 1.75rem;
  border: var(--button-border-width, 1px) solid var(--color-accent);
  border-radius: var(--button-radius, var(--radius));
  background: var(--color-accent);
  color: var(--color-accent-fg);
  font-size: var(--button-font-size, 0.8125rem);
  font-weight: var(--button-weight, 500);
  line-height: 1.2;
  letter-spacing: var(--button-letter-spacing, 0.1em);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.button:hover:not([disabled]) {
  background: color-mix(in srgb, var(--color-accent) 82%, var(--color-accent-fg));
}

.button--secondary {
  background: transparent;
  color: var(--color-fg);
  border-color: var(--color-fg);
}

.button--secondary:hover:not([disabled]) {
  background: var(--color-fg);
  color: var(--color-bg);
}

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

.button--large {
  min-height: 3.5rem;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

.button--small {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.button.is-loading,
.card__quick-button.is-loading {
  color: transparent !important;
  pointer-events: none;
}

.button.is-loading::after,
.card__quick-button.is-loading::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1.1rem;
  height: 1.1rem;
  margin: -0.55rem 0 0 -0.55rem;
  border: 1.5px solid currentColor;
  border-color: var(--color-accent-fg) var(--color-accent-fg) transparent transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.button--secondary.is-loading::after,
.card__quick-button.is-loading::after {
  border-color: var(--color-fg) var(--color-fg) transparent transparent;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/*
  Buy buttons colors (« Style du bouton », #1183): snippets/buy-button.liquid adds .buy-button and
  a --buy-* variable per filled color. An empty color keeps the theme's look: the accent for a
  filled button, the text color for an outline one. Sizes go inline as the --button-* variables.
*/
.button.buy-button {
  --buy-rest-bg: var(--buy-bg, var(--color-accent));
  --buy-rest-fg: var(--buy-fg, var(--color-accent-fg));
  --buy-rest-border: var(--buy-border, var(--buy-bg, var(--color-accent)));
  --buy-auto-bg-hover: color-mix(in srgb, var(--buy-rest-bg) 82%, var(--buy-rest-fg));
  --buy-auto-fg-hover: var(--buy-rest-fg);
  border-color: var(--buy-rest-border);
  background: var(--buy-rest-bg);
  color: var(--buy-rest-fg);
}

.button--secondary.buy-button {
  --buy-rest-bg: var(--buy-bg, transparent);
  --buy-rest-fg: var(--buy-fg, var(--color-fg));
  --buy-rest-border: var(--buy-border, var(--buy-fg, var(--color-fg)));
  --buy-auto-bg-hover: var(--buy-fg, var(--color-fg));
  --buy-auto-fg-hover: var(--buy-bg, var(--color-bg));
}

/* « Survol : aucun » in the theme settings. */
.button.buy-button--static {
  --buy-auto-bg-hover: var(--buy-rest-bg);
  --buy-auto-fg-hover: var(--buy-rest-fg);
}

.button.buy-button:hover:not([disabled]) {
  /* Without a border color, the border follows the hover background. */
  border-color: var(
    --buy-border-hover,
    var(--buy-border, var(--buy-bg-hover, var(--buy-rest-border)))
  );
  background: var(--buy-bg-hover, var(--buy-auto-bg-hover));
  color: var(--buy-fg-hover, var(--buy-auto-fg-hover));
}

.button.buy-button.is-loading::after {
  border-color: var(--buy-rest-fg) var(--buy-rest-fg) transparent transparent;
}

/* Select with its own chevron. */
.select {
  position: relative;
}

.select select {
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.select__icon {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Email field with its button (newsletter). */
.inline-form {
  position: relative;
  display: flex;
  gap: 0;
  width: 100%;
}

.inline-form__input {
  flex: 1;
  min-width: 0;
}

.inline-form .button {
  flex: none;
  margin-left: -1px;
}

.inline-form__button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  border: 0;
  background: none;
  cursor: pointer;
}

.inline-form__button + .inline-form__input,
.inline-form__input:has(+ .inline-form__button) {
  padding-right: 3rem;
}

.placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background:
    linear-gradient(
      135deg,
      transparent 49.6%,
      var(--color-border) 49.6%,
      var(--color-border) 50.4%,
      transparent 50.4%
    ),
    var(--color-surface);
}

.placeholder--dark {
  background: linear-gradient(135deg, var(--color-muted), var(--color-fg));
}

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-fg);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge--sale {
  background: var(--color-sale);
  color: #fff;
}

.price {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.price--sale .price__current {
  color: var(--color-sale);
}

.price__compare {
  color: var(--color-muted);
  font-weight: 400;
}

/* Preorder: phase, progress towards the goal, expected date. */
.preorder {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0;
}

.preorder p {
  margin: 0;
}

.preorder__badge {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.15rem 0.5rem;
  background: var(--color-fg);
  color: var(--color-bg);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preorder__bar {
  height: 0.25rem;
  overflow: hidden;
  background: var(--color-border);
}

.preorder__bar span {
  display: block;
  height: 100%;
  max-width: 100%;
  background: var(--color-fg);
}

.preorder__note {
  display: block;
  margin: 0.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

/* ---------- Announcement bar ---------- */
/* Section settings arrive as custom properties (--ann-*), each message's text style as --msg-*. */
.announcement {
  padding-top: var(--ann-mt, 0px);
  padding-bottom: var(--ann-mb, 0px);
}

.announcement__bar {
  background: var(--color-bg);
  color: var(--color-fg);
}

.announcement--colors-none .announcement__bar {
  background: transparent;
  color: inherit;
}

.announcement--boxed .announcement__bar {
  border-radius: var(--ann-radius, 0px);
  overflow: hidden;
}

.announcement__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: var(--ann-pad, 10px);
  padding-bottom: var(--ann-pad, 10px);
}

.announcement--boxed .announcement__inner {
  padding-left: 1rem;
  padding-right: 1rem;
}

.announcement__viewport {
  flex: 1;
  min-width: 0;
}

.announcement__track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem var(--ann-gap, 40px);
  text-align: center;
}

.announcement__message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  margin: 0;
  font-family: var(--msg-font, var(--font));
  font-size: var(--msg-size, 12px);
  font-weight: var(--msg-weight, 400);
  letter-spacing: var(--msg-spacing, 1px);
  line-height: 1.4;
  color: var(--msg-color, inherit);
}

@media (max-width: 749px) {
  .announcement__message {
    font-size: var(--msg-size-mobile, var(--msg-size, 12px));
  }

  .announcement__message--desktop {
    display: none;
  }
}

@media (min-width: 750px) {
  .announcement__message--mobile {
    display: none;
  }
}

.announcement__message.is-uppercase {
  text-transform: uppercase;
}

.announcement__message.is-italic {
  font-style: italic;
}

.announcement__icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

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

.announcement__message a:hover {
  text-decoration: underline;
}

.announcement__placeholder {
  opacity: 0.6;
}

.announcement__separator {
  flex: none;
  opacity: 0.7;
  font-size: 0.8em;
}

.announcement__arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.8;
}

.announcement__arrow:hover {
  opacity: 1;
}

.announcement__arrow svg {
  width: 1rem;
  height: 1rem;
}

/* Carousel (theme.js adds .is-ready): one message at a time. */
.announcement--carousel.is-ready .announcement__track {
  display: grid;
  overflow: hidden;
}

.announcement--carousel.is-ready .announcement__message {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s,
    transform 0.5s ease;
}

.announcement--carousel.is-ready .announcement__track--slide .announcement__message {
  transform: translateX(var(--from, 100%));
}

.announcement--carousel.is-ready .announcement__message.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.announcement--carousel.is-ready .announcement__track--slide .announcement__message.is-leaving {
  transform: translateX(var(--to, -100%));
}

/* Continuous scroll (theme.js adds .is-ready once the track is long enough to loop). */
.announcement--marquee.is-ready .announcement__viewport {
  overflow: hidden;
}

.announcement--marquee.is-ready .announcement__track {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  animation: announcement-scroll var(--ann-duration, 30s) linear infinite;
}

.announcement--marquee.is-ready[data-direction="right"] .announcement__track {
  animation-direction: reverse;
}

.announcement--marquee.announcement--pause:hover .announcement__track,
.announcement--marquee.announcement--pause:focus-within .announcement__track {
  animation-play-state: paused;
}

.announcement__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--ann-gap, 40px);
  padding-right: var(--ann-gap, 40px);
}

.announcement--marquee.is-ready .announcement__track {
  gap: 0;
}

.announcement--marquee .announcement__message {
  white-space: nowrap;
}

@keyframes announcement-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .announcement--marquee.is-ready .announcement__track {
    animation: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: transform 0.3s var(--ease);
}

/* « Défile avec la page »: not sticky. « Réapparaît en remontant »: theme.js hides it while scrolling down. */
.site-header:has([data-sticky="none"]) {
  position: relative;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-bar {
  position: relative;
  background: var(--color-bg);
  color: var(--color-fg);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s var(--ease);
}

.header-bar--no-border {
  border-bottom-color: transparent;
}

.site-header.is-scrolled .header-bar--shadow {
  box-shadow: 0 8px 24px -12px rgb(0 0 0 / 0.25);
}

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--header-height);
}

.header__logo {
  grid-column: 2;
  display: block;
  justify-self: center;
  text-decoration: none;
}

.header__shop-name {
  display: block;
  font-size: var(--shop-name-header-size, 1.125rem);
  font-weight: var(--shop-name-weight, 600);
  letter-spacing: var(--shop-name-header-letter-spacing, 0.12em);
  text-transform: uppercase;
  white-space: nowrap;
}

.header__logo img {
  width: min(var(--logo-width-mobile, var(--logo-width, 140px)), 40vw);
  height: auto;
  max-height: 4.5rem;
  object-fit: contain;
}

.header__nav {
  display: none;
}

.header__actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.header__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  list-style: none;
}

.header__icon::-webkit-details-marker,
.menu-drawer summary::-webkit-details-marker,
.header-search summary::-webkit-details-marker,
.header__dropdown summary::-webkit-details-marker,
.collection-filters summary::-webkit-details-marker,
.filter summary::-webkit-details-marker {
  display: none;
}

.header__icon .icon {
  width: 1.375rem;
  height: 1.375rem;
}

.header__count {
  position: absolute;
  top: 0.35rem;
  right: 0.25rem;
  display: grid;
  place-items: center;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--color-fg);
  color: var(--color-bg);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
}

/* Mobile menu drawer (<details>): the summary's ::before is the overlay that closes it. */
.menu-drawer {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin-left: -0.7rem;
}

.menu-drawer__close,
.menu-drawer[open] .menu-drawer__open {
  display: none;
}

.menu-drawer[open] .menu-drawer__close {
  display: grid;
}

.menu-drawer[open] > summary::before {
  content: "";
  position: fixed;
  inset: var(--header-offset, 4rem) 0 0;
  z-index: -1;
  background: rgb(0 0 0 / 0.35);
  cursor: default;
}

.menu-drawer__panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  /* The header's width, not 100vw: 100vw counts the scrollbar and made the page scroll sideways. */
  width: min(100%, 26rem);
  height: calc(100vh - var(--header-offset, 4rem));
  height: calc(100dvh - var(--header-offset, 4rem));
  overflow-y: auto;
  padding: 1rem var(--gutter) 2rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  animation: drawer-in-left 0.3s var(--ease);
}

/* Open, the menu fills the screen under the header bar, whatever sits above it (announcement
   bar): theme.js sets --menu-top to the bar's bottom, so nothing overflows and the page cannot scroll. */
.menu-drawer[open] .menu-drawer__panel {
  position: fixed;
  top: var(--menu-top, var(--header-offset, 4rem));
  bottom: 0;
  height: auto;
}

.menu-drawer[open] > summary::before {
  top: var(--menu-top, var(--header-offset, 4rem));
}

@keyframes drawer-in-left {
  from {
    transform: translateX(-100%);
  }
}

@keyframes drawer-in-right {
  from {
    transform: translateX(100%);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.menu-drawer__list,
.menu-drawer__sublist,
.menu-drawer__grandlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-drawer__list > li {
  border-bottom: 1px solid var(--color-border);
}

.menu-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.menu-drawer__link[aria-current="page"] {
  text-decoration: underline;
}

.menu-drawer__chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s ease;
}

.menu-drawer__group[open] .menu-drawer__chevron {
  transform: rotate(180deg);
}

.menu-drawer__sublist {
  padding: 0 0 1rem;
}

.menu-drawer__sublink {
  display: block;
  padding: 0.55rem 0;
  color: var(--color-muted);
  text-decoration: none;
}

.menu-drawer__sublink:hover,
.menu-drawer__sublink[aria-current="page"] {
  color: var(--color-fg);
}

.menu-drawer__grandlist {
  padding: 0 0 0.5rem 1rem;
}

.menu-drawer__grandlist a {
  display: block;
  padding: 0.35rem 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
  text-decoration: none;
}

.menu-drawer__footer {
  display: grid;
  gap: 1rem;
  margin: auto 0 0;
  padding: 2rem 0 0;
  list-style: none;
  font-size: 0.875rem;
}

.menu-drawer__account {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.menu-drawer__account .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.menu-drawer__search {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-fg);
}

.menu-drawer__search input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.menu-drawer__search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.menu-drawer__search button {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.menu-drawer__search:focus-within {
  box-shadow: 0 1px 0 var(--color-fg);
}

/* Below desktop, search and the account are in the menu drawer. */
.header__actions .header-search,
.header__actions .header__account {
  display: none;
}

/* Search panel (<details>) under the header. */
.header-search > summary {
  list-style: none;
}

.header-search__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 45;
  padding: 1.25rem 0 1.5rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.18);
  animation: fade-in 0.2s ease;
}

.header-search__panel .header__search {
  max-width: 46rem;
  margin: 0 auto;
}

/* Desktop menu and mega menus. */
.header__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.85rem;
  font-family: var(--menu-font, var(--font));
  font-size: var(--menu-size, 0.8125rem);
  font-weight: var(--menu-weight, 500);
  letter-spacing: var(--menu-spacing, 0.08em);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.header-bar--menu-normal-case .header__link,
.header-bar--menu-normal-case .menu-drawer__link {
  text-transform: none;
}

.header__link > span,
.header__link {
  background: linear-gradient(currentColor, currentColor) 0.85rem calc(100% - 0.35rem) / 0 1px
    no-repeat;
  transition: background-size 0.3s var(--ease);
}

.header__link:hover,
.header__link[aria-current="page"],
.header__link.is-active,
.header__dropdown[open] > .header__link {
  background-size: calc(100% - 1.7rem) 1px;
}

.header__chevron {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform 0.25s ease;
}

.header__dropdown[open] .header__chevron {
  transform: rotate(180deg);
}

.mega__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 45;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.18);
  animation: fade-in 0.2s ease;
}

.mega__inner {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto;
  gap: 3rem;
  padding-top: 2.25rem;
  padding-bottom: 2.5rem;
}

.mega__links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  align-content: start;
  gap: 0.25rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega__link {
  display: inline-block;
  padding: 0.4rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
}

.mega__link:hover,
.mega__sublinks a:hover {
  text-decoration: underline;
}

.mega__sublinks {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.mega__sublinks a {
  display: block;
  padding: 0.25rem 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
  text-decoration: none;
}

.mega__all {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mega__featured {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 13.5rem;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega__card {
  display: block;
  text-decoration: none;
}

.mega__card-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-surface);
}

.mega__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.mega__card:hover img {
  transform: scale(1.04);
}

.mega__card-title {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer__panel {
  position: absolute;
  /* « Marge autour du tiroir » floats it off the screen's edges, with rounded corners. */
  top: var(--drawer-margin, 0px);
  right: var(--drawer-margin, 0px);
  bottom: var(--drawer-margin, 0px);
  display: flex;
  flex-direction: column;
  width: min(100% - 2 * var(--drawer-margin, 0px), var(--drawer-width, 28rem));
  overflow: hidden;
  border-radius: var(--drawer-radius, 0px);
  background: var(--color-bg);
  color: var(--color-fg);
  transform: translateX(calc(100% + var(--drawer-margin, 0px)));
  transition: transform 0.35s var(--ease);
  outline: none;
}

/* « Position : à gauche » (cart drawer settings, #953). */
.cart-drawer--left_side .cart-drawer__panel {
  right: auto;
  left: var(--drawer-margin, 0px);
  transform: translateX(calc(-100% - var(--drawer-margin, 0px)));
}

.cart-drawer--no-dividers .cart-line,
.cart-drawer--no-dividers .cart-drawer__head,
.cart-drawer--no-dividers .cart-drawer__foot {
  border-color: transparent;
}

/* Checkout button: the section's colors when set, else the theme's. */
.cart-drawer__checkout {
  border-radius: var(--drawer-button-radius, var(--radius));
  background: var(--drawer-button-bg, var(--color-accent));
  border-color: var(--drawer-button-bg, var(--color-accent));
  color: var(--drawer-button-fg, var(--color-accent-fg));
}

.cart-drawer__checkout--outline {
  background: transparent;
  color: var(--drawer-button-bg, var(--color-fg));
}

.cart-lines--no-images .cart-line {
  grid-template-columns: 1fr auto;
}

.cart-lines--no-images .cart-line__media {
  display: none;
}

/* Blocks of the drawer: margins, inner padding and corners from their settings (--b-*). */
.cart-drawer__body > .cart-block,
.cart-drawer__foot > .cart-block {
  margin: var(--b-mt, 0px) 0 var(--b-mb, 0px);
  padding: var(--b-pad, 0px);
  border-radius: var(--b-radius, 0px);
}

/* « Pleine largeur » : the block reaches the drawer's edges (no side padding of the drawer). */
.cart-drawer__body > .cart-block--full,
.cart-drawer__foot > .cart-block--full {
  margin-right: calc(-1 * var(--drawer-pad, var(--gutter)));
  margin-left: calc(-1 * var(--drawer-pad, var(--gutter)));
}

.cart-block .cart-line__media,
.cart-block .drawer-recs__media,
.cart-block .upsell-offer,
.cart-block .upsell-offer img,
.cart-block .free-shipping__bar,
.cart-block .free-shipping__bar span,
.cart-drawer__image,
.cart-drawer__image img {
  border-radius: var(--b-radius, 0px);
}

.cart-drawer__recs .drawer-recs {
  margin-top: 0;
}

/* Timer block: « Votre panier est réservé pendant 09:41 ». */
.cart-timer {
  background: var(--timer-bg, var(--color-surface));
  color: var(--timer-fg, inherit);
  font-size: 0.875rem;
}

.cart-timer--center {
  text-align: center;
}

.cart-timer p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.cart-timer--center p {
  justify-content: center;
}

.cart-timer__time {
  font-variant-numeric: tabular-nums;
}

.cart-timer__icon {
  width: 1.1rem;
  height: 1.1rem;
}

.cart-drawer__text {
  font-size: var(--text-size, 0.875rem);
}

.cart-drawer__text > :first-child {
  margin-top: 0;
}

.cart-drawer__text > :last-child {
  margin-bottom: 0;
}

.cart-drawer__image {
  overflow: hidden;
}

.cart-drawer__image img {
  display: block;
  width: 100%;
  height: auto;
}

.cart-drawer__icon-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.cart-drawer__icon-text--center {
  justify-content: center;
}

/* « Icônes de paiement » block: in the list or under the checkout button. */
.cart-payments__heading {
  margin: 0 0 0.5rem;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.cart-payments--center {
  text-align: center;
}

.cart-payments__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-payments--center .cart-payments__list {
  justify-content: center;
}

.cart-payments__list svg {
  display: block;
  width: var(--payment-icon-width, 38px);
  height: auto;
}

.cart-drawer__icon-text-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}

.cart-drawer.is-open .cart-drawer__overlay {
  opacity: 1;
}

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

.cart-drawer.is-busy .cart-drawer__content {
  opacity: 0.6;
  pointer-events: none;
}

.cart-drawer__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  transition: opacity 0.2s ease;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.75rem 0.75rem var(--drawer-pad, var(--gutter));
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.cart-drawer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 var(--drawer-pad, var(--gutter)) 1.5rem;
  overscroll-behavior: contain;
}

.cart-drawer__subtitle {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.cart-drawer__offers,
.drawer-recs {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.cart-drawer__offers .cart-drawer__subtitle,
.drawer-recs .cart-drawer__subtitle {
  margin: 0;
}

.cart-drawer__foot {
  display: grid;
  gap: 0.6rem;
  padding: 1.25rem var(--drawer-pad, var(--gutter)) calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.cart-drawer__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}

.cart-drawer__subtotal {
  font-size: 1.0625rem;
}

.cart-drawer__subtotal strong {
  font-weight: 500;
}

.cart-drawer__note {
  margin: 0 0 0.4rem;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.cart-drawer__view {
  justify-self: center;
  padding: 0.35rem;
  font-size: 0.875rem;
}

.cart-drawer__empty {
  display: grid;
  flex: 1;
  place-content: center;
  justify-items: center;
  gap: 1.25rem;
  padding: 2rem var(--gutter);
  text-align: center;
}

.cart-drawer__empty p {
  margin: 0;
  font-size: 1.125rem;
}

.drawer-recs__list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-recs__item {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
  gap: 0.9rem;
}

.drawer-recs__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-surface);
}

.drawer-recs__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-recs__info {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  font-size: 0.875rem;
}

.drawer-recs__title {
  text-decoration: none;
}

.drawer-recs__title:hover {
  text-decoration: underline;
}

/* ---------- Cart lines (page and drawer) ---------- */
.cart-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-line {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-line__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-surface);
}

.cart-line__media img,
.cart-line__media .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__info {
  display: grid;
  align-content: start;
  gap: 0.2rem;
  min-width: 0;
}

.cart-line__title {
  font-weight: 500;
  text-decoration: none;
}

.cart-line__title:hover {
  text-decoration: underline;
}

.cart-line__meta {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.cart-line__info .offer__saving,
.cart-line__info .preorder__note {
  margin: 0;
  font-size: 0.8125rem;
}

.cart-line__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 0.65rem;
}

.cart-line__form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.quantity--small .quantity__button {
  width: 2.25rem;
  height: 2.25rem;
}

.quantity--small input {
  width: 2.5rem;
  min-height: 2.25rem;
  padding: 0;
  font-size: 0.9375rem;
}

.cart-line__update,
.cart-line__remove {
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--color-muted);
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}

.cart-line__remove:hover,
.cart-line__update:hover {
  color: var(--color-fg);
}

.cart-line__price {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 0.1rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cart-line__price s {
  margin: 0;
  font-size: 0.8125rem;
}

/* ---------- Cart page ---------- */
.cart {
  padding-bottom: 4rem;
}

.page-header--split {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.cart__layout {
  display: grid;
  gap: 2.5rem;
}

.cart-lines--page {
  border-top: 1px solid var(--color-border);
}

.cart__summary {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--color-surface);
}

.cart__summary-title {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}

.cart__discount {
  color: var(--color-success);
}

.cart__subtotal {
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 1.125rem;
}

.cart__subtotal strong {
  font-weight: 500;
}

.cart__note {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
}

/* Order note (« Réglages du thème » > Panier, #970): one folded line on the cart page and in the drawer. */
.cart-note {
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer__foot > .cart-note {
  margin-top: -0.65rem;
}

.cart-note__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  list-style: none;
}

.cart-note__summary::-webkit-details-marker {
  display: none;
}

.cart-note__summary .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s ease;
}

.cart-note[open] > .cart-note__summary .icon {
  transform: rotate(45deg);
}

.cart-note__form {
  display: grid;
  gap: 0.6rem;
  padding-bottom: 1rem;
}

.cart-note__field {
  display: block;
  min-height: 5rem;
  resize: vertical;
}

.cart-note__save {
  justify-self: start;
}

@media (prefers-reduced-motion: reduce) {
  .cart-note__summary .icon {
    transition: none;
  }
}

.cart__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.cart__secure .icon {
  width: 1rem;
  height: 1rem;
}

.cart__empty {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
  padding: 2rem 0 3rem;
}

.cart__empty p {
  margin: 0;
  font-size: 1.125rem;
  color: var(--color-muted);
}

.free-shipping {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
}

.free-shipping p {
  margin: 0;
  font-size: 0.9375rem;
}

.free-shipping__bar {
  height: 0.1875rem;
  overflow: hidden;
  background: var(--color-border);
}

.free-shipping__bar span {
  display: block;
  height: 100%;
  max-width: 100%;
  background: var(--free-shipping-color, var(--color-fg));
  transition: width 0.4s var(--ease);
}

.free-shipping--compact {
  padding: 0.85rem 1rem;
}

.free-shipping--compact p {
  font-size: 0.875rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  overflow: hidden;
}

.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
}

.hero__media picture {
  display: contents;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--hero-focal, center);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem var(--gutter);
}

.hero--v-top .hero__content {
  align-items: flex-start;
}

.hero--v-middle .hero__content {
  align-items: center;
}

.hero__text-wrap {
  max-width: 40rem;
}

.hero--center .hero__content {
  justify-content: center;
  text-align: center;
}

.hero--center .hero__text-wrap {
  margin: 0 auto;
}

.hero--right .hero__content {
  justify-content: flex-end;
  text-align: right;
}

/* Text box: a card behind the text, readable over any image. */
.hero--boxed-text .hero__text-wrap {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--hero-box-radius, 0px);
  isolation: isolate;
}

.hero--boxed-text .hero__text-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--hero-box, var(--color-bg));
  opacity: var(--hero-box-opacity, 0.9);
}

.hero--overlay.hero--image.hero--boxed-text {
  color: var(--color-fg);
}

.hero__heading {
  margin: 0 0 1.25rem;
  font-family: var(--hero-heading-font, var(--font-heading));
  color: var(--hero-heading-color, inherit);
}

.hero__heading.heading--custom {
  font-size: var(--hero-heading-mobile, var(--hero-heading, 2.5rem));
  line-height: calc(var(--heading-line-height, 1.12) - 0.07);
}

@media (min-width: 750px) {
  /* Never wider than the screen allows: a large size shrinks on narrow desktops. */
  .hero__heading.heading--custom {
    font-size: min(var(--hero-heading, 4rem), 8.5vw);
  }
}

.hero__text {
  max-width: 34rem;
  margin: 0 0 2rem;
  font-size: var(--hero-text, 1.0625rem);
  line-height: 1.6;
}

.hero--center .hero__text,
.hero--center .hero__benefits {
  margin-left: auto;
  margin-right: auto;
}

.hero--right .hero__text {
  margin-left: auto;
}

.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -0.75rem 0 1.75rem;
  padding: 0;
  list-style: none;
}

.hero--center .hero__benefits {
  justify-content: center;
}

.hero--right .hero__benefits {
  justify-content: flex-end;
}

.hero__benefit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 999px;
  font-size: 0.8125rem;
}

.hero__benefit-icon {
  width: 1rem;
  height: 1rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero--center .hero__buttons {
  justify-content: center;
}

.hero--right .hero__buttons {
  justify-content: flex-end;
}

.hero__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
}

.hero--center .hero__rating {
  justify-content: center;
}

.hero--right .hero__rating {
  justify-content: flex-end;
}

/* Overlay: the image fills the block, the text sits on it. */
.hero--overlay.hero--image .hero__media {
  position: absolute;
  inset: 0;
}

.hero--overlay.hero--image .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-color, #000);
  opacity: var(--overlay, 0.25);
}

/* « Couleur du texte sur l'image » (#971): light by default; the section's colors on a light photo. */
.hero--overlay.hero--image:not(.hero--boxed-text, .hero--scheme-text) {
  color: #fff;
}

.hero--overlay.hero--image:not(.hero--boxed-text, .hero--scheme-text) .button {
  border-color: #fff;
  background: #fff;
  color: #0a0a0a;
}

.hero--overlay.hero--image:not(.hero--boxed-text, .hero--scheme-text) .button--secondary {
  background: transparent;
  color: #fff;
}

.hero--overlay.hero--image:not(.hero--boxed-text, .hero--scheme-text) .button:hover {
  background: transparent;
  color: #fff;
}

.hero--overlay.hero--image:not(.hero--boxed-text, .hero--scheme-text) .hero__eyebrow {
  color: rgb(255 255 255 / 0.85);
}

/* Parallax: theme.js moves the image slower than the page. */
.hero--parallax .hero__image {
  height: 120%;
  transform: translateY(var(--parallax, 0px));
  will-change: transform;
}

.hero--overlay,
.hero--text {
  min-height: 70vh;
  min-height: 70svh;
}

.hero--overlay.hero--small,
.hero--text.hero--small {
  min-height: 45vh;
  min-height: 45svh;
}

.hero--overlay.hero--medium,
.hero--text.hero--medium {
  min-height: 60vh;
  min-height: 60svh;
}

.hero--overlay.hero--large,
.hero--text.hero--large {
  min-height: 85vh;
  min-height: 85svh;
}

.hero--overlay.hero--full,
.hero--text.hero--full {
  min-height: 100vh;
  min-height: 100svh;
}

.hero--overlay.hero--adapt,
.hero--text.hero--adapt {
  min-height: 0;
}

.hero--overlay.hero--adapt.hero--image {
  min-height: 40vh;
}

.hero--plain .hero__content {
  align-items: center;
}

/* No image (and not « texte seul »): as before, at least half the screen. */
.hero--plain:not(.hero--text):not(.hero--adapt) .hero__content {
  min-height: 50vh;
}

.hero--text .hero__content {
  min-height: inherit;
}

/* Split: image then text on mobile (text first with « Ordre sur mobile », #971), side by side on desktop. */
@media (max-width: 989px) {
  .hero--text-first .hero__media {
    order: 2;
  }
}

.hero--split .hero__media {
  aspect-ratio: 4 / 5;
  max-height: 75vh;
  max-height: 75svh;
}

.hero--split .hero__content {
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 750px) {
  .hero__content {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 990px) {
  .hero--split {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .hero--split .hero__media {
    order: 2;
    aspect-ratio: auto;
    min-height: 80vh;
    max-height: none;
  }

  .hero--split-left .hero__media {
    order: 0;
  }

  .hero--split.hero--small .hero__media {
    min-height: 55vh;
  }

  .hero--split.hero--medium .hero__media {
    min-height: 68vh;
  }

  .hero--split.hero--full .hero__media {
    min-height: 100vh;
  }

  .hero--split.hero--adapt .hero__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hero--split .hero__content {
    padding: 4rem max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
    padding-right: 4rem;
  }

  .hero--split-left .hero__content {
    padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
    padding-left: 4rem;
  }

  .hero--overlay .hero__content {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
/* ---------- Product grid and cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.grid--scroll {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: 70%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  scroll-padding: 0 var(--gutter);
}

.grid--scroll::-webkit-scrollbar {
  display: none;
}

.grid--scroll > li {
  scroll-snap-align: start;
}

/* Product lists (snippets/product-cards, #953): columns, card look, carousel. */
@media (max-width: 749px) {
  .products .grid--products:not(.grid--scroll) {
    grid-template-columns: repeat(var(--columns-mobile, 2), minmax(0, 1fr));
  }
}

.products .card__media {
  aspect-ratio: var(--card-ratio, 4 / 5);
  border-radius: var(--card-radius, var(--product-card-radius, var(--radius)));
}

/* « Format d'origine » (theme settings > Product cards, #966): the image sets the height. */
.products--ratio-original .card__media .card__image:not(.card__image--hover) {
  position: relative;
  height: auto;
}

.products .card__title {
  font-size: var(--card-title, 0.9375rem);
}

.products--align-center .card {
  align-items: stretch;
  text-align: center;
}

.products--align-center .card__rating,
.products--align-center .card .price {
  justify-content: center;
}

.products--style-bordered .card,
.products--style-card .card,
.products--style-shadow .card {
  padding: 0.75rem;
  border-radius: var(--card-radius, var(--product-card-radius, var(--radius)));
}

.products--style-bordered .card {
  border: var(--card-border-width, 1px) var(--card-border-style, solid) var(--color-border);
}

.products--style-card .card {
  background: var(--color-surface);
}

.products--style-shadow .card {
  background: var(--color-bg);
  box-shadow: 0 10px 30px -14px rgb(0 0 0 / 0.3);
}

.card__add {
  margin: 0.5rem 0 0;
}

.card__add-button {
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}

.products__slide {
  display: block;
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  background: none;
}

.products__slider .slider__button {
  top: 35%;
}

/* Grid on one screen size, carousel on the other: the track becomes a grid. */
@media (min-width: 750px) {
  .products--carousel-grid-carousel .slider__track,
  .products--carousel-grid-scroll .slider__track {
    grid-auto-flow: row;
    grid-template-columns: repeat(var(--columns, 4), minmax(0, 1fr));
    overflow: visible;
  }

  .products--carousel-grid-carousel .slider__button,
  .products--carousel-grid-scroll .slider__button {
    display: none;
  }
}

@media (max-width: 749px) {
  .products--carousel-carousel-grid .slider__track {
    grid-auto-flow: row;
    grid-template-columns: repeat(var(--columns-mobile, 2), minmax(0, 1fr));
    overflow: visible;
  }

  .products--carousel-carousel-grid .slider__button {
    display: none;
  }
}

.section-foot {
  margin: 2rem 0 0;
  text-align: center;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
}

.card__link {
  display: block;
  text-decoration: none;
}

.card__media {
  position: relative;
  aspect-ratio: var(--product-card-ratio, 1 / 1);
  overflow: hidden;
  border-radius: var(--product-card-radius, var(--radius));
  background: var(--color-surface);
}

.card__media img,
.card__media .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__image {
  transition:
    opacity 0.5s ease,
    transform 1.2s var(--ease);
}

.card__image--hover {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .card--hover .card__link:hover .card__image--hover {
    opacity: 1;
  }

  .card__link:hover .card__image {
    transform: scale(1.03);
  }
}

.card__info {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.75rem;
}

.card__vendor {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.card__link:hover .card__title {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.card__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.1rem 0 0;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.card__rating .stars {
  font-size: 0.75rem;
}

.card .price {
  font-size: 0.9375rem;
}

.card__quick-add {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  aspect-ratio: auto;
}

.card__quick-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0.4rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-fg);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.25s ease;
}

.card__quick-button:hover {
  background: var(--color-fg);
  color: var(--color-bg);
}

.card__quick-button .icon {
  width: 1.125rem;
  height: 1.125rem;
}

@media (hover: hover) and (pointer: fine) {
  .card__quick-button {
    opacity: 0;
  }

  .card:hover .card__quick-button,
  .card__quick-button:focus-visible {
    opacity: 1;
  }
}

/* ---------- Collection cards ---------- */
.collection-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: var(--grid-gap);
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  list-style: none;
}

.collection-cards::-webkit-scrollbar {
  display: none;
}

.collection-cards > li {
  scroll-snap-align: start;
}

.collection-card {
  display: block;
  text-decoration: none;
}

.collection-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--collection-card-radius, 0px);
  background: var(--color-surface);
}

.collection-card--square .collection-card__media {
  aspect-ratio: 1;
}

.collection-card--landscape .collection-card__media {
  aspect-ratio: 4 / 3;
}

.collection-card--tall .collection-card__media {
  aspect-ratio: 2 / 3;
}

/* « Format d'origine »: the image sets the height (a collection without image stays square). */
.collection-card--original .collection-card__media:has(img) {
  aspect-ratio: auto;
}

.collection-card--original .collection-card__media:not(:has(img)) {
  aspect-ratio: 1;
}

.collection-card--original .collection-card__media img {
  position: relative;
  height: auto;
}

.collection-card__media img,
.collection-card__media .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.collection-card:hover img {
  transform: scale(1.04);
}

.collection-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
}

.collection-card__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.collection-card__cta .icon {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.3s var(--ease);
}

.collection-card:hover .collection-card__cta .icon {
  transform: translateX(4px);
}

/* Featured collections (#953): card shape, title size, title over the image. */
.collections .collection-card__media {
  aspect-ratio: var(--card-ratio, 4 / 5);
  border-radius: var(--card-radius, var(--collection-card-radius, var(--radius)));
}

.collections--circle .collection-card__media {
  border-radius: 50%;
}

.collections .collection-card__title {
  font-size: var(--card-title, 0.875rem);
}

.collections--normal-case .collection-card__title {
  letter-spacing: 0;
  text-transform: none;
}

.collections--align-center .collection-card__info {
  justify-content: center;
  text-align: center;
}

.collection-card__text {
  display: grid;
  gap: 0.15rem;
}

.collection-card--text-overlay {
  position: relative;
}

.collection-card--text-overlay .collection-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--card-overlay, 0.3);
}

.collection-card--text-overlay .collection-card__info {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  margin: 0;
  padding: 1.25rem;
  color: #fff;
}

.collection-card--text-overlay .collection-card__count {
  color: rgb(255 255 255 / 0.8);
}

.collections--align-center .collection-card--text-overlay .collection-card__info {
  inset: 0;
}

/* ---------- Featured product (#953) ---------- */
.featured-product .product__title a {
  color: inherit;
  text-decoration: none;
}

.featured-product__link {
  justify-self: start;
}

@media (min-width: 990px) {
  .featured-product.featured-product--align-center {
    align-items: center;
  }

  .featured-product.featured-product--media-small {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .featured-product.featured-product--media-large {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .featured-product--media-small.product--media-right {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .featured-product--media-large.product--media-right {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .featured-product .product__media--carousel .gallery__dots {
    display: flex;
  }
}

/* ---------- Shoppable image (#953) ---------- */
.shoppable__media {
  position: relative;
  border-radius: var(--media-radius, var(--radius));
  background: var(--color-surface);
}

.shoppable__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.shoppable--ratio .shoppable__image,
.shoppable__media .placeholder {
  aspect-ratio: var(--media-ratio, 16 / 9);
  object-fit: cover;
}

.hotspot {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 1;
  transform: translate(-50%, -50%);
}

.hotspot[open] {
  z-index: 2;
}

.hotspot__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--hotspot-size, 32px);
  height: var(--hotspot-size, 32px);
  border-radius: 50%;
  background: var(--hotspot, #fff);
  color: var(--hotspot-fg, #111);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.25);
  cursor: pointer;
  list-style: none;
  transition: transform 0.2s var(--ease);
}

.hotspot__dot::-webkit-details-marker {
  display: none;
}

.hotspot__dot .icon {
  width: 45%;
  height: 45%;
  transition: transform 0.2s var(--ease);
}

.hotspot[open] .hotspot__dot .icon {
  transform: rotate(45deg);
}

.shoppable--pulse .hotspot__dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--hotspot, #fff);
  animation: hotspot-pulse 2s var(--ease) infinite;
  z-index: -1;
}

@keyframes hotspot-pulse {
  from {
    opacity: 0.6;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.9);
  }
}

.hotspot__card {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  width: min(17rem, 75vw);
  padding: 0.75rem;
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-fg);
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.35);
  transform: translateX(-50%);
}

.hotspot--up .hotspot__card {
  top: auto;
  bottom: calc(100% + 0.6rem);
}

.hotspot--start .hotspot__card {
  left: 0;
  transform: none;
}

.hotspot--end .hotspot__card {
  left: auto;
  right: 0;
  transform: none;
}

.hotspot__product {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.hotspot__thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: calc(var(--radius) * 0.75);
  background: var(--color-surface);
}

.hotspot__thumb img,
.hotspot__thumb .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspot__info {
  display: grid;
  gap: 0.2rem;
  font-size: 0.875rem;
}

.hotspot__title {
  font-weight: 600;
}

.hotspot__link {
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hotspot__empty {
  margin: 0;
  font-size: 0.875rem;
}

@media (prefers-reduced-motion: reduce) {
  .shoppable--pulse .hotspot__dot::before {
    animation: none;
  }
}

/* ---------- Reassurance band ---------- */
.trust-bar {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-bar__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-bar__icon {
  color: var(--trust-icon-color, currentColor);
}

.trust-bar__icon .icon {
  width: var(--trust-icon, 1.75rem);
  height: var(--trust-icon, 1.75rem);
}

.trust-bar__title {
  margin: 0 0 0.2rem;
  font-size: var(--trust-title, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-bar__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

/* Options (#953): mobile columns or sideways scroll, centered, icon above, title case. */
@media (max-width: 749px) {
  .trust-bar {
    grid-template-columns: repeat(var(--columns-mobile, 1), minmax(0, 1fr));
  }

  .trust-bar--scroll {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 78%;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .trust-bar--scroll::-webkit-scrollbar {
    display: none;
  }

  .trust-bar--scroll > li {
    scroll-snap-align: start;
  }
}

.trust-bar--icon-top .trust-bar__item {
  flex-direction: column;
  gap: 0.75rem;
}

.trust-bar--center .trust-bar__item {
  justify-content: center;
  text-align: center;
}

.trust-bar--center.trust-bar--icon-top .trust-bar__item {
  align-items: center;
}

.trust-bar--normal-case .trust-bar__title {
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Newsletter ---------- */
.newsletter {
  text-align: center;
}

.newsletter .heading {
  margin-bottom: 0.4em;
}

.newsletter__text {
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  color: var(--color-muted);
}

.newsletter__form {
  max-width: 30rem;
  margin: 0 auto;
}

/* Newsletter options (#953): form stacked, text beside, image beside or behind. */
.newsletter--form-stacked .newsletter__form {
  flex-direction: column;
  gap: 0.6rem;
}

.newsletter--form-stacked .newsletter__form .button {
  margin-left: 0;
}

.newsletter--split,
.newsletter--image {
  display: grid;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.newsletter--split .newsletter__text,
.newsletter--image .newsletter__text,
.newsletter--split .newsletter__form,
.newsletter--image .newsletter__form {
  margin-left: 0;
}

.newsletter__image {
  overflow: hidden;
  border-radius: var(--radius);
}

.newsletter__image .placeholder {
  aspect-ratio: 1;
}

.newsletter__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter--background {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 24rem;
  overflow: hidden;
  border-radius: var(--radius);
}

/* White text only over the image: without one, the color scheme's text stays readable. */
.newsletter--background.newsletter--has-image {
  color: #fff;
}

.newsletter--background .newsletter__image {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.newsletter--background .newsletter__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--newsletter-overlay, 0.4);
}

.newsletter--background .newsletter__text-wrap {
  position: relative;
  max-width: 36rem;
  padding: 3rem 1rem;
}

.newsletter--background.newsletter--has-image .newsletter__text {
  color: rgb(255 255 255 / 0.85);
}

@media (min-width: 750px) {
  .newsletter--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }

  .newsletter--image {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .newsletter--split .newsletter__form-wrap .newsletter__form {
    max-width: none;
  }
}

.newsletter__message {
  margin: 0 0 1rem;
  font-weight: 500;
}

.newsletter__message--success {
  color: var(--color-success);
}

.newsletter__message--error {
  color: var(--color-sale);
}

.newsletter__gift,
.newsletter__archive {
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

/* ---------- Slideshow (« Diaporama », scroll-snap, works without JS, #953) ---------- */
.slider {
  position: relative;
}

.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(
    (100% - (var(--slides-mobile, 1) - 1) * var(--slide-gap, 0px)) / var(--slides-mobile, 1)
  );
  gap: var(--slide-gap, 0px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

@media (min-width: 750px) {
  .slider__track {
    grid-auto-columns: calc(
      (100% - (var(--slides, 1) - 1) * var(--slide-gap, 0px)) / var(--slides, 1)
    );
  }
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.slider__slide {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--slide-radius, 0px);
  background: var(--slide-bg, var(--color-surface));
  scroll-snap-align: start;
}

.slider--small .slider__slide {
  min-height: 260px;
}

.slider--large .slider__slide {
  min-height: 70vh;
}

.slider--full .slider__slide {
  min-height: 100vh;
  min-height: 100svh;
}

.slider--adapt .slider__slide {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.slide--v-top {
  align-items: start;
}

.slide--v-middle {
  align-items: center;
}

.slider__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__slide picture {
  display: contents;
}

.slide--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--overlay, 0.3);
  pointer-events: none;
}

.slider__caption {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.slide--center .slider__caption {
  justify-self: center;
  text-align: center;
}

.slide--right .slider__caption {
  justify-self: end;
  text-align: right;
}

.slide--text-light.slide--image {
  color: #fff;
}

.slide__heading {
  margin: 0 0 0.75rem;
  font-size: min(var(--slide-heading, 40px), 9vw);
  line-height: 1.1;
}

.slide__text {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
}

.slide__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.slide--center .slide__buttons {
  justify-content: center;
}

.slide--right .slide__buttons {
  justify-content: flex-end;
}

.slide--text-light.slide--image .button {
  border-color: #fff;
  background: #fff;
  color: #0a0a0a;
}

.slide--text-light.slide--image .button--secondary {
  background: transparent;
  color: #fff;
}

.slider__button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-fg);
  cursor: pointer;
  transform: translateY(-50%);
}

.slider__button svg {
  width: 1.1rem;
  height: 1.1rem;
}

.slider__button--prev {
  left: 0.75rem;
}

.slider__button--next {
  right: 0.75rem;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slider__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  opacity: 0.5;
}

.slider__dot.is-active {
  background: currentColor;
  opacity: 1;
}

.slideshow__full > .slider {
  margin: 0;
}
/* ---------- Video ---------- */
.video {
  position: relative;
  aspect-ratio: var(--video-ratio, 16 / 9);
  overflow: hidden;
  border-radius: var(--video-radius, var(--radius));
  background: #000;
}

.video iframe,
.video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Video options (#953): width, phone frame, cover with a play button. */
.video-section--narrow .video {
  max-width: 46rem;
  margin: 0 auto;
}

.video-section--full {
  max-width: none;
  padding: 0;
}

.video-section--full .section-head {
  padding: 0 var(--gutter);
}

.video-section--full .video {
  border-radius: 0;
}

.video--phone {
  width: min(100%, 20rem);
  margin: 0 auto;
  border: 10px solid #111;
  border-radius: 2.75rem;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.5);
}

.video--phone::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 50%;
  z-index: 1;
  width: 32%;
  height: 1.3rem;
  border-radius: 999px;
  background: #111;
  transform: translateX(-50%);
}

.video__poster {
  position: absolute;
  inset: 0;
  display: block;
}

.video__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.92);
  color: #111;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.3);
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease);
}

.video__poster:hover .video__play {
  transform: translate(-50%, -50%) scale(1.06);
}

.video__play .icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-left: 0.2rem;
  fill: currentColor;
}

/* ---------- Countdown ---------- */
.countdown {
  text-align: center;
}

/* Countdown options (#953): row layout, boxes or cards, digit size and colors, button. */
.countdown__text {
  margin-bottom: 1.25rem;
}

.countdown__heading {
  margin: 0;
}

.countdown__subtext {
  margin: 0.5rem 0 0;
  color: var(--color-muted);
}

.countdown__cta {
  margin: 1.5rem 0 0;
}

.countdown--boxes .countdown__timer,
.countdown--cards .countdown__timer {
  gap: 0.6rem;
}

.countdown--boxes .countdown__timer > span,
.countdown--cards .countdown__timer > span {
  min-width: calc(var(--countdown-digit, 56px) * 1.5);
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius);
}

.countdown--boxes .countdown__timer > span {
  background: var(--countdown-box, var(--color-fg));
  color: var(--color-bg);
}

.countdown--boxes .countdown__timer strong {
  color: var(--countdown-color, inherit);
}

.countdown--cards .countdown__timer > span {
  border: 1px solid var(--color-border);
  background: var(--countdown-box, var(--color-surface));
}

@media (min-width: 750px) {
  .countdown--row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
    text-align: left;
  }

  .countdown--row .countdown__text,
  .countdown--row .countdown__cta {
    margin: 0;
  }

  .countdown--row .countdown__expired {
    flex: 1;
  }
}

.countdown__timer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.countdown__timer strong {
  display: block;
  color: var(--countdown-color, var(--color-fg));
  font-size: clamp(calc(var(--countdown-digit, 56px) * 0.6), 6vw, var(--countdown-digit, 3.5rem));
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Page headers, pages, blog, article ---------- */
.page-header {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.page-title {
  margin: 0;
}

.page-header__text {
  max-width: 44rem;
  margin-top: 1rem;
  color: var(--color-muted);
}

.page {
  padding-bottom: 4rem;
}

.page .page-header {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.page .rte {
  font-size: 1.0625rem;
}

.blog {
  padding-bottom: 4rem;
}

.blog__tags ul,
.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.blog__tags a,
.article__tags a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.blog__tags a:hover,
.article__tags a:hover {
  border-color: var(--color-fg);
}

.blog__tags [aria-current="page"] {
  border-color: var(--color-fg);
  background: var(--color-fg);
  color: var(--color-bg);
}

.grid.blog__grid {
  grid-template-columns: 1fr;
  gap: 3rem var(--gap);
}

.article-card {
  display: grid;
  gap: 0.5rem;
}

.article-card__media {
  display: block;
  margin-bottom: 0.75rem;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-surface);
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.article-card:hover .article-card__media img {
  transform: scale(1.03);
}

.article-card__meta {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card__title {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.25;
}

.article-card__title a {
  text-decoration: none;
}

.article-card__title a:hover {
  text-decoration: underline;
}

.article-card__excerpt {
  margin: 0;
  color: var(--color-muted);
}

.article-card__more {
  justify-self: start;
  margin-top: 0.25rem;
}

.article {
  padding-bottom: 4rem;
}

.article__header {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.article__header h1 {
  max-width: 48rem;
  margin: 0.5rem auto 1rem;
}

.article__meta {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.article__blog {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article__blog a {
  text-decoration: none;
}

.article__media {
  max-width: 1200px;
  margin: 0 auto 3rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-surface);
}

.article__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article__body {
  font-size: 1.0625rem;
}

.article__footer {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.article__footer .article__tags {
  margin: 0;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 3.5rem 0 1rem;
}

.pagination__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination__pages a,
.pagination__pages span,
.pagination__arrow {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.5rem;
  border: 1px solid transparent;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.pagination__pages a:hover,
.pagination__arrow:hover {
  border-color: var(--color-border);
}

.pagination__pages [aria-current="page"] {
  border-color: var(--color-fg);
}

.pagination__arrow .icon {
  width: 1.125rem;
  height: 1.125rem;
}

/* ---------- 404 ---------- */
.not-found {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 5rem 1rem 3rem;
  text-align: center;
}

.not-found__code {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.not-found h1 {
  margin: 0.5rem 0;
}

.not-found__text {
  max-width: 32rem;
  margin: 0 0 1.5rem;
  color: var(--color-muted);
}

.not-found__search {
  width: 100%;
  max-width: 28rem;
  margin-bottom: 1.25rem;
}

/* ---------- Contact ---------- */
.contact {
  padding-bottom: 4rem;
}

.contact .page-header {
  padding-top: 3.5rem;
}

.contact__form {
  display: grid;
  gap: 1.25rem;
}

.contact__row {
  display: grid;
  gap: 1.25rem;
}

.contact__field {
  display: grid;
  gap: 0.4rem;
}

.contact__field label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__field textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact__form .button {
  justify-self: start;
}

.contact__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* The shop's contact details and "Track my order", above the form (issue #1263). */
.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.contact__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact__notice {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid currentColor;
  background: var(--color-surface);
}

.contact__notice--success {
  color: var(--color-success);
}

.contact__notice--error {
  color: var(--color-sale);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  border-top: 1px solid var(--color-border);
}

/* « Afficher la bordure du haut » unticked (#971). */
.site-footer:has(.footer-box--borderless) {
  border-top: 0;
}

.footer {
  padding-top: var(--footer-pt, 3.5rem);
  padding-bottom: var(--footer-pb, 2rem);
  font-size: 0.9375rem;
}

.footer__top {
  display: grid;
  gap: var(--footer-top-gap, 2.5rem);
  padding-bottom: 3rem;
}

/* Footer options (#953): logo, own columns, centered layout, social icon size. */
.footer-box.sz--colors-none {
  background: transparent;
}

.footer__logo-image,
.footer__image {
  display: block;
  max-width: 100%;
}

.footer__logo-image img,
.footer__image img {
  display: block;
  width: 100%;
  height: auto;
}

.footer--center .footer__top,
.footer--center .footer__menus {
  justify-items: center;
  text-align: center;
}

.footer--center .footer__social,
.footer--center .footer__links {
  justify-content: center;
}

.footer--center .footer__newsletter {
  width: min(100%, 26rem);
}

.footer--center .footer__meta,
.footer--center .footer__legal {
  justify-content: center;
  text-align: center;
}

.footer__shop-name {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: var(--shop-name-weight, 600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer__text {
  max-width: 24rem;
  margin: 0 0 1.25rem;
  color: var(--color-muted);
}

.footer__menus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.footer__heading {
  margin: 0 0 1rem;
  font-size: var(--footer-heading, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* « Police des titres » of the footer (#971): the heading font at its own weight and spacing. */
.footer--heading-font .footer__heading {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight, 500);
  letter-spacing: var(--heading-letter-spacing, 0.12em);
}

.footer__links {
  display: grid;
  gap: var(--footer-link-gap, 0.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a {
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__links [aria-current="page"] {
  color: var(--color-fg);
}

.footer__newsletter .inline-form {
  max-width: 24rem;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 0 -0.6rem;
  padding: 0;
  list-style: none;
}

.footer__social-link {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
}

.footer__social-link .icon {
  width: var(--footer-social, 1.25rem);
  height: var(--footer-social, 1.25rem);
}

/* Bottom of the footer. Mobile: one column. From 750px: two rows, country and
   payments on the first, legal links and copyright on the second. */
.footer__bottom {
  display: grid;
  gap: var(--footer-row-gap, 1.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.footer__meta,
.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer__legal {
  gap: 0.75rem;
}

.footer__meta:empty {
  display: none;
}

.footer__copyright {
  margin: 0;
}

@media (min-width: 750px) {
  .footer__meta,
  .footer__legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
  }

  .footer__meta:not(:has(.localization)) {
    justify-content: flex-end;
  }

  .footer__legal:not(:has(.footer__policies)) {
    justify-content: flex-end;
  }
}

/* Country and currency selector (markets); the button is for visitors without JavaScript. */
.localization {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  width: 100%;
}

.localization__label {
  flex-basis: 100%;
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.localization__select {
  flex: 1;
  min-width: 0;
}

.localization__select select {
  width: 100%;
  min-height: 2.75rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  font-size: 0.875rem;
}

@media (min-width: 750px) {
  .localization {
    flex-wrap: nowrap;
    width: auto;
  }

  .localization__label {
    flex-basis: auto;
    white-space: nowrap;
  }

  .localization__select {
    flex: 0 1 auto;
    width: 17rem;
  }

  .localization__select select {
    min-height: 2.5rem;
  }
}

.localization__button[hidden] {
  display: none;
}

/* Language selector (issue #1068): compact in the header bar, full width in the menu drawer. */
.header__actions .header__language {
  display: none;
}

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

.header__language .localization__select {
  width: auto;
}

.header__language .localization__select select {
  min-height: 2.5rem;
  border-color: transparent;
  background-color: transparent;
}

.menu-drawer__language .localization {
  width: 100%;
}

/*
 * Language suggestion banner (issue #1068): fixed at the bottom, over the page,
 * so showing it never moves anything; shown by theme.js only.
 */
.language-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  /*
   * Over the page, under the header (40) and so under its menu drawer, and
   * under the cart drawer and dialogs.
   */
  z-index: 35;
  max-width: 32rem;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.12));
  border-radius: var(--radius, 0.5rem);
  background: var(--color-bg, #fff);
  color: var(--color-fg, #111);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.16);
}

.language-banner[hidden] {
  display: none;
}

.language-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.language-banner__message {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.language-banner__actions {
  display: flex;
  gap: 0.5rem;
}

/* Legal pages (refund, privacy, terms...), next to the copyright. */
.footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__policies a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer__policies a:hover {
  color: var(--color-fg);
}

/* « Powered by Shopzimax »: a link that reads as the copyright text around it. */
.footer__powered {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.footer__powered:hover {
  color: var(--color-fg);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Footer elements (#1238). Bottom bar: rows of elements. Phones: one element per line, in the
   order of the blocks. From 750px: a row of « Automatic » elements spreads them (start
   elements first, the others at the end, as before); elements aligned left / center / right go
   to that part of the row. « Stacked »: one element per line on every screen. */
.footer__bottom--plain {
  border-top: 0;
}

.footer__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--footer-el-gap, 1.25rem);
}

.footer__row--2,
.footer__row--3 {
  gap: var(--footer-el-gap, 0.75rem);
}

.footer--center .footer__row {
  align-items: center;
  text-align: center;
}

.footer__zone {
  display: contents;
}

.footer__row--zones .footer__el {
  order: var(--o, 0);
}

.footer__custom--link {
  color: inherit;
  text-decoration: none;
}

.footer__custom--link:hover {
  color: var(--color-fg);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Legal links with a separator between them. */
.footer__policies--dot,
.footer__policies--pipe,
.footer__policies--slash {
  column-gap: 0.6rem;
}

.footer__policies--dot li + li::before,
.footer__policies--pipe li + li::before,
.footer__policies--slash li + li::before {
  margin-right: 0.6rem;
}

.footer__policies--dot li + li::before {
  content: "·";
}

.footer__policies--pipe li + li::before {
  content: "|";
}

.footer__policies--slash li + li::before {
  content: "/";
}

/* An element's own alignment: `f-al-*` on every screen, `f-alm-*` on phones only. */
.footer .f-al-left {
  --fa: flex-start;
  --fa-ml: 0;
  --fa-mr: auto;
  text-align: left;
}

.footer .f-al-center {
  --fa: center;
  --fa-ml: auto;
  --fa-mr: auto;
  text-align: center;
}

.footer .f-al-right {
  --fa: flex-end;
  --fa-ml: auto;
  --fa-mr: 0;
  text-align: right;
}

@media (max-width: 749px) {
  .footer .f-alm-left {
    --fa: flex-start;
    --fa-ml: 0;
    --fa-mr: auto;
    text-align: left;
  }

  .footer .f-alm-center {
    --fa: center;
    --fa-ml: auto;
    --fa-mr: auto;
    text-align: center;
  }

  .footer .f-alm-right {
    --fa: flex-end;
    --fa-ml: auto;
    --fa-mr: 0;
    text-align: right;
  }

  .footer--link-cols-mobile-1 .footer__menus {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer__top > [class*="f-al"],
.footer__menus > [class*="f-al"] {
  justify-self: var(--fa, stretch);
}

.footer__row [class*="f-al"] {
  align-self: var(--fa, auto);
}

.footer [class*="f-al"] :is(.footer__social, .footer__payments, .footer__policies) {
  justify-content: var(--fa, flex-start);
}

.footer [class*="f-al"] :is(.footer__text, .inline-form) {
  margin-right: var(--fa-mr, 0);
  margin-left: var(--fa-ml, 0);
}

/* A row never gets wider than the footer (#1252): the column of rows keeps the footer's width
   instead of growing to the widest row, and a row's elements go to the next line when they do
   not fit (tablet: language and country selectors side by side). */
.footer__bottom {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 750px) {
  .footer__row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--footer-el-gap, 1rem 2rem);
  }

  /* Elements shrink before they wrap: from a zero basis, an element goes to the next line only
     when its smallest width no longer fits, and grows up to its natural width; the space left
     is spread by the row's alignment, as before. */
  .footer__bottom:not(.footer__bottom--stacked) .footer__row > * {
    flex: 1 1 0;
    max-width: max-content;
  }

  .footer:not(.footer--center) .footer__row--spread:not(:has(.footer__el--start)) {
    justify-content: flex-end;
  }

  /* A start element and an end one: the end one stays on the right when it goes to the next line. */
  .footer:not(.footer--center)
    .footer__row--spread
    > .footer__el--start:first-child
    + :not(.footer__el--start):last-child {
    margin-left: auto;
  }

  .footer--center .footer__row--spread {
    justify-content: center;
  }

  .footer__zone {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--footer-el-gap, 1rem 2rem);
  }

  .footer__zone--right {
    justify-content: flex-end;
    margin-left: auto;
  }

  /* A row with a centered part: left and right parts share the space left by the center one,
     so it stays in the middle of the row (an empty part keeps its share). When the parts do
     not fit side by side, they go one under the other, each keeping its alignment (#1252). */
  .footer__row--centered {
    justify-content: center;
  }

  .footer__bottom .footer__row--centered > .footer__zone--left,
  .footer__bottom .footer__row--centered > .footer__zone--right,
  .footer__row--centered::before,
  .footer__row--centered::after {
    flex: 1 1 0;
    max-width: none;
  }

  .footer__row--centered:not(:has(> .footer__zone--left))::before,
  .footer__row--centered:not(:has(> .footer__zone--right))::after {
    content: "";
  }

  /* The center part takes its natural width first, the sides share the rest. */
  .footer__bottom .footer__row--centered > .footer__zone--center {
    flex-grow: 1000;
    justify-content: center;
  }

  .footer__bottom:not(.footer__bottom--stacked) .footer__row [class*="f-al"] {
    align-self: auto;
  }

  .footer__bottom--stacked .footer__row {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .footer--center .footer__bottom--stacked .footer__row {
    align-items: center;
  }
}

/* Link columns as accordions (« Accordéons », #1266): a closed <details> whose summary is the
   column's heading. Phones: one bordered row per column, opened by its heading. From 750px:
   the links show on every screen, the heading is a plain heading again. */
.footer__fold-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}

.footer__fold-toggle::-webkit-details-marker {
  display: none;
}

.footer__fold-icon {
  display: none;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

@media (min-width: 750px) {
  .footer__fold::details-content {
    content-visibility: visible;
  }

  .footer__fold-toggle {
    cursor: default;
    pointer-events: none;
  }
}

/* Phones (#1266): a tighter rhythm (space around the footer, between the elements, under the
   headings), links at least 40px high, link columns side by side, one under the other or as
   accordions, and a bottom bar whose elements sit side by side, centered, when they fit. */
@media (max-width: 749px) {
  .footer {
    padding-top: var(--footer-pt-m, 2.5rem);
    padding-bottom: var(--footer-pb-m, 1.5rem);
  }

  .footer__top {
    gap: var(--footer-top-gap, 2rem);
    padding-bottom: 2rem;
  }

  .footer__shop-name {
    margin-bottom: 0.5rem;
  }

  .footer__text {
    margin-bottom: 0.75rem;
  }

  .footer__menus {
    gap: 1.25rem 1rem;
  }

  .footer__heading {
    margin-bottom: 0.25rem;
  }

  .footer__newsletter .footer__heading {
    margin-bottom: 0.5rem;
  }

  .footer__links {
    gap: var(--footer-link-gap, 0);
  }

  .footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0;
  }

  .footer--fold .footer__menus {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .footer__fold {
    border-top: 1px solid var(--color-border);
  }

  /* The last accordion of a run closes it with a line. */
  .footer__column:has(> .footer__fold):not(:has(+ .footer__column > .footer__fold))
    > .footer__fold {
    border-bottom: 1px solid var(--color-border);
  }

  /* Two slots of accordions in a row (the menu as columns, then link columns): one list, the
     second's first line on the first's closing line. */
  .footer__top
    > .footer__menus:has(> .footer__column:last-child > .footer__fold)
    + .footer__menus:has(> .footer__column:first-child > .footer__fold) {
    margin-top: calc(-1 * var(--footer-top-gap, 2rem) - 1px);
  }

  /* Accordions at the end of the top area: the bottom bar's line closes them. */
  .footer:has(> .footer__bottom:not(.footer__bottom--plain))
    > .footer__top:has(> .footer__menus:last-child > .footer__column:last-child > .footer__fold) {
    padding-bottom: 0;
  }

  .footer:has(> .footer__bottom:not(.footer__bottom--plain))
    > .footer__top
    > .footer__menus:last-child
    > .footer__column:last-child
    > .footer__fold {
    border-bottom: 0;
  }

  .footer__fold-toggle {
    min-height: 3rem;
    cursor: pointer;
  }

  .footer__fold-toggle .footer__heading {
    margin: 0;
  }

  .footer__fold-icon {
    display: block;
  }

  .footer__fold[open] .footer__fold-icon {
    transform: rotate(180deg);
  }

  .footer__fold > .footer__links {
    padding-bottom: 0.75rem;
  }

  .footer__fold > .footer__text {
    margin: 0;
    padding-bottom: 1rem;
  }

  .footer--center .footer__fold-toggle {
    justify-content: center;
  }

  .footer__bottom {
    gap: var(--footer-row-gap, 1rem);
    padding-top: 1.5rem;
    font-size: 0.75rem;
  }

  .footer__row,
  .footer__row--2,
  .footer__row--3 {
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    gap: var(--footer-el-gap, 0.75rem 1.25rem);
    text-align: center;
  }

  /* An element aligned on purpose (left, center, right) takes its own line. */
  .footer__row [class*="f-al"] {
    flex-basis: 100%;
  }

  .footer__bottom--stacked .footer__row {
    flex-direction: column;
  }

  .footer__bottom :is(.footer__social, .footer__payments, .footer__policies) {
    justify-content: var(--fa, center);
  }

  .footer__payments {
    gap: 0.375rem;
  }

  .footer__policies {
    gap: 0 1.25rem;
  }

  .footer__policies a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
  }

  /* Language and country side by side when both fit, each as wide as the other. */
  .footer__el--language,
  .footer__el--country {
    flex: 1 1 9rem;
    min-width: 0;
    text-align: left;
  }

  .footer__el--language .localization__label,
  .footer__el--country .localization__label {
    font-size: 0.6875rem;
  }

  .footer__el--language .localization__select select,
  .footer__el--country .localization__select select {
    min-height: 2.5rem;
  }
}

/* ---------- Collection page ---------- */
.collection {
  padding-bottom: 4rem;
}

.collection-hero {
  position: relative;
  display: grid;
  min-height: 42vh;
  margin-bottom: 1.5rem;
  color: #fff;
}

.collection-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--color-surface);
}

.collection-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.15) 75%);
}

.collection-hero__content {
  position: relative;
  align-self: end;
  padding-top: 3rem;
  padding-bottom: 2.25rem;
}

.collection-hero__text {
  max-width: 40rem;
  margin-top: 0.75rem;
}

.collection__header {
  padding-bottom: 1.5rem;
}

.collection__body {
  display: grid;
  gap: 0;
}

.collection-tools {
  position: sticky;
  top: var(--header-offset, 4rem);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin: 0 calc(var(--gutter) * -1) 1.5rem;
  padding: 0.6rem var(--gutter);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.collection-tools:has(.collection-filters[open]) {
  z-index: 80;
}

.collection-tools__count {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.collection-tools__count--alone {
  margin-bottom: 1.5rem;
}

.collection-filters > summary {
  list-style: none;
}

.collection-filters__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.collection-filters__icon {
  width: 1.125rem;
  height: 1.125rem;
}

/* Mobile: the filters open in a drawer from the left. */
.collection-filters[open] > summary::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgb(0 0 0 / 0.4);
  cursor: default;
}

.collection-filters__panel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 71;
  display: flex;
  flex-direction: column;
  width: min(100vw, 26rem);
  background: var(--color-bg);
  animation: drawer-in-left 0.3s var(--ease);
}

.collection-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.75rem 0.75rem var(--gutter);
  border-bottom: 1px solid var(--color-border);
}

.collection-filters__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.no-js .collection-filters__close {
  display: none;
}

.collection-filters__groups {
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--gutter);
}

.collection-filters__actions {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border);
}

.filter {
  border-bottom: 1px solid var(--color-border);
}

.filter__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.filter__badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--color-fg);
  color: var(--color-bg);
  font-size: 0.6875rem;
  letter-spacing: 0;
}

.filter__chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s ease;
}

.filter[open] .filter__chevron {
  transform: rotate(180deg);
}

.filter__body {
  margin: 0;
  padding: 0 0 1.25rem;
  border: 0;
}

.filter__values {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.filter__option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  cursor: pointer;
}

.filter__option input {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
}

.filter__label {
  flex: 1;
}

.filter__count {
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.filter__option.is-empty {
  opacity: 0.45;
}

.filter__price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.filter__price label {
  display: grid;
  gap: 0.3rem;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.collection-sort {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.collection-sort label {
  color: var(--color-muted);
  font-size: 0.875rem;
  white-space: nowrap;
}

@media (max-width: 749px) {
  .collection-tools__count,
  .collection-sort label {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .collection-tools__count--alone {
    position: static !important;
    width: auto;
    height: auto;
    clip: auto;
  }
}

.collection-sort select {
  min-height: 2.75rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  border-color: transparent;
  font-size: 0.875rem;
}

.collection-sort select:hover,
.collection-sort select:focus {
  border-color: var(--color-border);
}

.collection-chips ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.collection-chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--color-border);
  font-size: 0.8125rem;
  text-decoration: none;
}

.collection-chips a:hover {
  border-color: var(--color-fg);
}

.collection-chips .icon {
  width: 0.875rem;
  height: 0.875rem;
}

.collection-chips .collection-chips__clear {
  border-color: transparent;
  text-decoration: underline;
}

/* List of collections (/collections). */
.list-collections {
  padding-bottom: 4rem;
}

.collection-cards--grid {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem var(--grid-gap);
  margin: 0;
  padding: 0;
  overflow: visible;
}

.collection-card__count {
  display: block;
  margin-top: 0.15rem;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

/* ---------- Tablet ---------- */
@media (min-width: 750px) {
  :root {
    --gutter: 2rem;
    --grid-gap: 1rem;
  }

  .section-pad {
    padding-top: var(--pt, 64px);
    padding-bottom: var(--pb, 64px);
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem var(--grid-gap);
  }

  .grid--scroll {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .collection-cards {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .collection-cards--3,
  .collection-cards--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

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

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

  .slider--medium .slider__slide {
    min-height: 440px;
  }

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

  .contact__row {
    grid-template-columns: 1fr 1fr;
  }

  .cart-line {
    grid-template-columns: 7rem 1fr auto;
    gap: 1.5rem;
  }

  .not-found {
    padding-top: 7rem;
  }

  .page-header {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 990px) {
  :root {
    --header-height: 4.5rem;
    --gutter: 2.5rem;
  }

  .header {
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
  }

  .menu-drawer {
    display: none;
  }

  .header__actions .header-search {
    display: block;
  }

  .header__actions .header__account {
    display: inline-grid;
  }

  .header__actions .header__language {
    display: block;
  }

  .header__logo {
    grid-column: 1;
    justify-self: start;
  }

  .header__logo img {
    width: min(var(--logo-width, 140px), 40vw);
  }

  .header__nav {
    display: block;
    grid-column: 2;
  }

  .header--left.header--menu-left .header__menu {
    justify-content: flex-start;
  }

  .header--left.header--menu-right .header__menu {
    justify-content: flex-end;
  }

  .header--center {
    grid-template-columns: 1fr auto 1fr;
  }

  .header--center .header__logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .header--center .header__nav {
    grid-column: 1;
    grid-row: 1;
  }

  .header--center .header__menu {
    justify-content: flex-start;
    margin-left: -0.85rem;
  }

  .grid {
    grid-template-columns: repeat(var(--columns, 4), minmax(0, 1fr));
    gap: 3rem var(--grid-gap);
  }

  .grid--scroll {
    grid-template-columns: repeat(var(--columns, 4), minmax(0, 1fr));
  }

  .collection-cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .collection-cards--grid {
    grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
  }

  .trust-bar--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  /* Top area (#1238): as wide as before by default (shop, columns, newsletter), or the
     tracks the section computes (more elements, equal widths). */
  .footer__top {
    grid-template-columns: var(--footer-top-cols, minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1.2fr));
    gap: var(--footer-top-gap, 4rem);
  }

  .footer.footer--center .footer__top {
    grid-template-columns: var(--footer-top-cols, minmax(0, 1fr));
    gap: var(--footer-top-gap, 2.5rem);
  }

  .footer--link-cols .footer__menus {
    grid-template-columns: repeat(var(--footer-link-cols), minmax(0, 1fr));
  }

  .footer__menus--blocks {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }

  .cart__layout {
    grid-template-columns: minmax(0, 1fr) 24rem;
    align-items: start;
    gap: 4rem;
  }

  .cart__summary {
    position: sticky;
    top: calc(var(--header-offset, 4.5rem) + 1.5rem);
  }

  /* Collection: filters in a side column. */
  .collection__body--filters {
    grid-template-columns: 15rem minmax(0, 1fr);
    column-gap: 3rem;
    align-items: start;
  }

  .collection__body--filters .collection-tools {
    display: contents;
  }

  .collection__body--filters .collection-filters {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: sticky;
    top: calc(var(--header-offset, 4.5rem) + 1rem);
    max-height: calc(100vh - var(--header-offset, 4.5rem) - 2rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }

  .js .collection__body--filters .collection-filters > summary {
    display: none;
  }

  .collection__body--filters .collection-filters[open] > summary::before {
    display: none;
  }

  .collection__body--filters .collection-filters__panel {
    position: static;
    width: auto;
    animation: none;
  }

  .collection__body--filters .collection-filters__head,
  .js .collection__body--filters [data-filters-apply] {
    display: none;
  }

  .collection__body--filters .collection-filters__groups {
    padding: 0;
    overflow: visible;
  }

  .collection__body--filters .collection-filters__actions {
    justify-items: start;
    padding: 1.25rem 0 0;
    border: 0;
  }

  .collection__body--filters .collection-tools__count,
  .collection__body--filters .collection-sort {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-bottom: 1.5rem;
  }

  .collection__body--filters .collection-sort {
    justify-self: end;
  }

  .collection__body--filters .collection__results {
    grid-column: 2;
    grid-row: 2;
  }

  .collection-tools {
    position: static;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    border-top: 0;
  }

  .collection-hero {
    min-height: 50vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Password page (templates/password.json) */
.section-main-password {
  padding: 0;
}
.password {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 3rem 1rem;
  background: var(--password-bg, var(--color-bg));
  color: var(--password-fg, var(--color-fg));
  text-align: center;
}
.password--serif {
  font-family: Georgia, "Times New Roman", serif;
}
.password--mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.password__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.password--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / var(--overlay, 0.4));
}
.password__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  width: 100%;
  max-width: 480px;
}
.password__logo {
  margin: 0 auto;
}
.password__shop-name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.password__heading {
  font-size: var(--password-heading-size, 40px);
  line-height: 1.15;
}
.password .button {
  border-color: var(--password-accent, var(--color-accent));
  background: var(--password-accent, var(--color-accent));
}

.password__newsletter {
  margin: 2.5rem 0;
}

.password__newsletter .newsletter__form {
  margin-top: 1rem;
}
.password__form {
  display: grid;
  gap: 0.5rem;
  text-align: left;
}
.password__field {
  display: flex;
  gap: 0.5rem;
}
.password__field input {
  flex: 1;
  min-width: 0;
}
.password__errors {
  color: var(--color-sale);
  font-weight: 500;
}
.password--image .password__errors {
  color: inherit;
}

/* Stars: a filled layer clipped to the rating over an empty layer. */
.stars {
  position: relative;
  display: inline-block;
  flex: none;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

/* Empty stars: the border color, or « Couleur des étoiles vides » (#1239). */
.stars__base {
  color: var(--star-empty, var(--color-border));
}

.stars__fill {
  position: absolute;
  inset: 0;
  width: var(--rating, 100%);
  overflow: hidden;
  white-space: nowrap;
  color: var(--star-color, #e3a008);
}

/* « Trustpilot » style: a white star in a square, filled to its share of the rating. */
.stars--trustpilot {
  display: inline-flex;
  gap: 0.12em;
  letter-spacing: 0;
  vertical-align: middle;
}

.stars__tile {
  display: inline-grid;
  place-items: center;
  width: 1.2em;
  height: 1.2em;
  color: #fff;
  background: linear-gradient(
    90deg,
    var(--tp-color, #00b67a) var(--tile, 100%),
    #dcdce6 var(--tile, 100%)
  );
}

.stars__tile svg {
  width: 0.82em;
  height: 0.82em;
}

/* Accordions (<details>, open without JavaScript) */
.accordion {
  border-bottom: 1px solid var(--color-border);
}

.accordion summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary > span {
  flex: 1;
}

.accordion__toggle {
  transition: transform 0.25s ease;
}

.accordion[open] .accordion__toggle {
  transform: rotate(45deg);
}

.accordion__content {
  padding: 0 0 1.25rem;
  color: var(--color-muted);
}

/* ---------- Product page ---------- */
.product {
  display: grid;
  gap: 1.5rem;
}

/* Product images (product page and featured product, snippets/product-gallery.liquid). The
   « Images du produit » settings (#1138) set the variables below; each falls back to the look an
   untouched section had before them. */
.product__media {
  position: relative;
  min-width: 0;
  padding: var(--media-padding, 0);
}

.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: var(--media-radius, var(--radius));
  background: var(--color-surface);
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__slide {
  position: relative;
  scroll-snap-align: start;
  aspect-ratio: var(--media-ratio, 1);
}

.gallery__slide img,
.gallery__slide .placeholder {
  width: 100%;
  height: 100%;
  object-fit: var(--media-fit, cover);
}

.gallery__thumbs {
  display: none;
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.gallery__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.gallery__dot.is-active {
  width: 18px;
  border-radius: 3px;
  background: var(--color-fg);
}

/* « Images du produit » options (#1138): each rule applies only to a section that sets it. */
.product__media.product__media--bg .gallery__track,
.product__media.product__media--bg .gallery__slide {
  background: var(--media-bg);
}

.product__media--border .gallery__track {
  border: var(--media-border-width) solid var(--media-border-color, var(--color-border));
}

/* A definite width keeps the ratio from narrowing the image: the height is capped instead. */
.product__media--max-height .gallery__slide {
  width: 100%;
  max-height: var(--media-max-height);
}

.product__media.product__media--thumbs-same .gallery__thumb {
  aspect-ratio: var(--media-ratio, 1);
}

.gallery__counter {
  display: none;
}

/* Zoom: a button over each image opens it full screen, or the image grows under the pointer. */
.gallery__open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery__open:focus-visible {
  outline: 2px solid var(--color-fg);
  outline-offset: -4px;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--color-bg);
  color: var(--color-fg);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: rgb(0 0 0 / 0.6);
}

.lightbox__image {
  max-width: 100vw;
  max-height: 100dvh;
  object-fit: contain;
}

.lightbox__button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-fg);
  cursor: pointer;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: 1rem;
}

.lightbox__next {
  right: 1rem;
}

@media (hover: hover) and (pointer: fine) {
  .product__media--zoom-hover .gallery__slide {
    overflow: hidden;
    cursor: zoom-in;
  }

  .product__media--zoom-hover .gallery__slide img {
    transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
    transition: transform 0.2s ease;
  }

  .product__media--zoom-hover .gallery__slide:hover img {
    transform: scale(2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product__media--zoom-hover .gallery__slide img {
    transition: none;
  }
}

/* Mobile: edge to edge, thumbnails or stacked images, the next image peeking, a counter. */
@media (max-width: 989px) {
  .product__media--bleed {
    margin-inline: calc(-1 * var(--gutter));
  }

  .product__media--bleed .gallery__track {
    border-inline: 0;
    border-radius: 0;
  }

  .product__media--bleed .gallery__thumbs,
  .product__media--bleed .gallery__dots {
    padding-inline: var(--gutter);
  }

  .product__media--peek .gallery__track {
    grid-auto-columns: 85%;
    gap: 0.5rem;
  }

  .product__media--mobile-thumbs .gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .product__media--mobile-thumbs .gallery__thumb {
    flex: 0 0 var(--thumb-size, 3.75rem);
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--media-radius, var(--radius));
    background: var(--color-surface);
    opacity: 0.6;
  }

  .product__media--mobile-thumbs .gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .product__media--mobile-thumbs .gallery__thumb.is-active {
    border-color: var(--thumb-active, var(--color-fg));
    opacity: 1;
  }

  .product__media--mobile-thumbs .gallery__dots,
  .product__media--mobile-stacked .gallery__dots {
    display: none;
  }

  .product__media--mobile-stacked .gallery__track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: var(--media-gap, 0.75rem);
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .product__media--mobile-stacked .gallery__slide {
    overflow: hidden;
    border-radius: var(--media-radius, var(--radius));
    background: var(--color-surface);
  }

  .product__media--bleed.product__media--mobile-stacked .gallery__slide {
    border-radius: 0;
  }

  .product__media--border.product__media--mobile-stacked .gallery__slide {
    border: var(--media-border-width) solid var(--media-border-color, var(--color-border));
  }

  .product__media--bleed.product__media--border.product__media--mobile-stacked .gallery__slide {
    border-inline: 0;
  }

  .gallery__counter {
    position: absolute;
    top: calc(var(--media-padding, 0px) + 0.75rem);
    right: calc(var(--media-padding, 0px) + 0.75rem);
    display: block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgb(0 0 0 / 0.6);
    color: #fff;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
  }

  .product__media--bleed .gallery__counter {
    right: calc(var(--gutter) + 0.75rem);
  }
}

/* Desktop: a chosen width, thumbnails below the image, borders on each image of a grid. */
@media (min-width: 990px) {
  .product.product--media-custom {
    grid-template-columns: minmax(0, var(--media-width, 55%)) minmax(0, 1fr);
  }

  .product.product--media-custom.product--media-right {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--media-width, 55%));
  }

  .product__media--thumbnails.product__media--thumbs-below {
    grid-template-columns: minmax(0, 1fr);
  }

  .product__media--thumbnails.product__media--thumbs-below .gallery__track {
    order: 0;
  }

  .product__media--thumbnails.product__media--thumbs-below .gallery__thumbs {
    grid-template-columns: repeat(auto-fill, var(--thumb-size, 4.5rem));
  }

  .product__media--border.product__media--grid .gallery__track,
  .product__media--border.product__media--stacked .gallery__track {
    border: 0;
  }

  .product__media--border.product__media--grid .gallery__slide,
  .product__media--border.product__media--stacked .gallery__slide {
    border: var(--media-border-width) solid var(--media-border-color, var(--color-border));
  }
}

.product__info {
  min-width: 0;
}

/* #offers (#1349): the buy zone's anchor; html's scroll-padding-top keeps it below the sticky header. */
.product__anchor {
  display: block;
  height: 0;
}

.product__form {
  display: grid;
  /* One column that never grows past the page: the reviews carousel is wider than a phone. */
  grid-template-columns: minmax(0, 1fr);
  /* « Espacement entre les éléments » of the section (#1201); block margins add to it. */
  gap: var(--product-info-gap, 1.1rem);
}

.product__form > * {
  margin: 0;
}

.product__vendor {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.product__title {
  margin: 0;
}

.product__title--small {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}

.product__title--medium {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
}

.product__title--large {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
}

.product__text--eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.product__text--lead {
  font-size: 1.15rem;
  line-height: 1.45;
}

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

.product__rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-decoration: none;
}

.product__rating strong {
  color: var(--color-fg);
  font-weight: 600;
}

/* « Excellent » before the stars (`rating_label`), Trustpilot-like. */
.product__rating .product__rating-label {
  font-weight: 700;
}

/* « Alignement » of the rating block (#1239). */
.product__rating--left {
  justify-content: flex-start;
  text-align: left;
}

.product__rating--center {
  justify-content: center;
  text-align: center;
}

.product__rating--right {
  justify-content: flex-end;
  text-align: right;
}

.product__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.product__badges li {
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product__badges--filled li {
  border-color: var(--color-surface);
  background: var(--color-surface);
}

.product__benefits,
.product__included ul,
.checklist {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.product__benefits li,
.product__included li,
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.product__benefits .icon,
.product__included .icon,
.checklist .icon {
  margin-top: 0.1em;
}

.product__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  padding-top: 0.25rem;
}

.product__price-current {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product__price-compare {
  color: var(--color-muted);
  font-size: 1.1rem;
}

.product__price-badge {
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius);
  background: var(--color-sale);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.product__saving,
.product__taxes {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.875rem;
}

.product__saving {
  color: var(--color-sale);
  font-weight: 500;
}

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

.product__field {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.product__field > label,
.product__field > legend {
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.product__field > legend {
  margin-bottom: 0.6rem;
}

/* Variant picker: one group per option (size, color…). Without JS the list of variants
   is the field, and the option groups, which need the script, stay hidden. */
.variant-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  min-width: 0;
}

.no-js [data-js-only] {
  display: none !important;
}

/* Option buttons: radios styled as pills. */
.variant-pills__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.variant-pill {
  position: relative;
  cursor: pointer;
}

.variant-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant-pill > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.variant-pill:hover > span {
  border-color: var(--color-fg);
}

.variant-pill input:checked + span {
  border-color: var(--color-fg);
  background: var(--color-fg);
  color: var(--color-bg);
}

.variant-pill input:focus-visible + span {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Color swatches: round dots, a ring around the picked one. */
.variant-swatches__name {
  margin-left: 0.35rem;
  color: var(--color-muted);
  font-weight: 400;
}

.variant-swatches__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.25rem;
}

.variant-swatch {
  position: relative;
  display: inline-grid;
  cursor: pointer;
}

.variant-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant-swatch__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--swatch, var(--color-bg));
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 0.14),
    0 0 0 3px var(--color-bg),
    0 0 0 4px transparent;
  font-size: 0.75rem;
  text-transform: uppercase;
  transition: box-shadow 0.2s var(--ease);
}

.variant-swatch__dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant-swatch:hover .variant-swatch__dot {
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 0.14),
    0 0 0 3px var(--color-bg),
    0 0 0 4px var(--color-border);
}

.variant-swatch input:checked + .variant-swatch__dot {
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 0.14),
    0 0 0 3px var(--color-bg),
    0 0 0 4.5px var(--color-fg);
}

.variant-swatch input:focus-visible + .variant-swatch__dot {
  outline: 2px solid var(--color-accent);
  outline-offset: 6px;
}

/* Sold out: still selectable, crossed by a diagonal line. */
.variant-swatch.is-unavailable .variant-swatch__dot {
  opacity: 0.55;
}

.variant-swatch.is-unavailable .variant-swatch__dot::after {
  content: "";
  position: absolute;
  inset: 50% -10%;
  height: 1px;
  background: var(--color-fg);
  transform: rotate(-45deg);
}

/* Sold out: still selectable (the button then says so), crossed out and dashed. */
.variant-pill.is-unavailable > span {
  color: var(--color-muted);
  text-decoration: line-through;
  border-style: dashed;
}

.variant-pill.is-unavailable input:checked + span {
  background: transparent;
  color: var(--color-fg);
  border-style: solid;
}

/* Gift card recipient (issue #1025): the fields open under the ticked box. Without
   JavaScript, :has() opens them; theme.js also sets .is-open. */
.gift-recipient {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.gift-recipient__toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.gift-recipient__toggle input {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.gift-recipient__fields {
  display: none;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.gift-recipient.is-open .gift-recipient__fields,
.gift-recipient:has(.gift-recipient__toggle input:checked) .gift-recipient__fields {
  display: grid;
}

.gift-recipient__field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.gift-recipient__field > label {
  font-size: 0.875rem;
  font-weight: 500;
}

.gift-recipient__optional,
.gift-recipient__count,
.gift-recipient__hint {
  color: var(--color-muted);
  font-size: 0.8125rem;
  font-weight: 400;
}

.gift-recipient__field textarea {
  resize: vertical;
}

.cart-line__recipient {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}

/* "Notify me" of a sold-out variant (issue #302): shown by theme.js when the picked variant is sold out. */
.back-in-stock {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.back-in-stock__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.back-in-stock__row {
  display: grid;
  gap: 0.5rem;
}

.back-in-stock__notice {
  margin: 0;
  padding: 0.75rem 1rem;
  border-left: 2px solid currentColor;
  font-size: 0.9375rem;
}

.back-in-stock__notice--success {
  color: var(--color-success);
}

.back-in-stock__notice--error {
  color: var(--color-sale);
}

@media (min-width: 480px) {
  .back-in-stock__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Quantity offers */
.offers {
  gap: 0.75rem;
}

.offer,
.product__field > .offer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.offer:has(> input:checked) {
  border-color: var(--color-fg);
  box-shadow: inset 0 0 0 1px var(--color-fg);
}

.offer > input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--color-fg);
}

.offer__body {
  display: grid;
  flex: 1;
}

.offer__title {
  font-weight: 600;
}

.offer__saving {
  color: var(--color-sale);
  font-size: 0.85rem;
}

.offer__price {
  display: grid;
  justify-items: end;
  text-align: right;
}

.offer__price s,
.offer__price small {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.offer__badge {
  position: absolute;
  top: -0.65rem;
  left: 2.95rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius);
  background: var(--color-fg);
  color: var(--color-bg);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Theme editor placeholder of a product without quantity offers (#1218). */
.offers--placeholder {
  display: grid;
}

/* Like the real block's legend (.product__field > legend). */
.offers__placeholder-heading {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.offers__placeholder {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--color-border);
  border-radius: calc(var(--radius) * 2);
  color: var(--color-muted);
  font-size: 0.875rem;
}

.offers__placeholder p {
  margin: 0;
}

.offers__placeholder-title {
  color: var(--color-fg);
  font-weight: 600;
}

.offers__placeholder-link {
  margin-top: 0.25rem;
  color: var(--color-fg);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Quantity offers block settings (#1137). Each color setting is a variable over the default
   look below; upsells share .offer and stay out of these rules. The default look: cards that
   lift the selected one in the theme's accent (ring, light tint, soft shadow, filled radio), the
   « most popular » card (the one with a badge) outlined a little, savings in a sale pill.
   « Style des offres »: cards (default), stacked (one grouped list), minimal (soft tiles). */
.offers--quantity {
  --offer-pad-y: 1rem;
  --offer-pad-x: 1.1rem;
  --offer-badge-offset: 1.95rem;
  --offer-sel: var(--offer-border-selected, var(--color-accent, var(--color-fg)));
  --offer-sel-fg: var(--color-accent-fg, var(--color-bg));
  --offer-ease: var(--soul-ease, cubic-bezier(0.22, 1, 0.36, 1));
  gap: var(--offers-gap, 0.75rem);
  margin: var(--offers-mt, 0) 0 var(--offers-mb, 0);
}

.offers--quantity .offer {
  padding: var(--offer-pad-y) var(--offer-pad-x);
  border-width: var(--offer-border-width, 1px);
  border-color: var(--offer-border, var(--color-border));
  border-radius: var(--offer-radius, calc(var(--radius) * 2));
  background: var(--offer-bg, transparent);
  transition:
    border-color 0.25s var(--offer-ease),
    background-color 0.25s var(--offer-ease),
    box-shadow 0.3s var(--offer-ease);
}

@media (hover: hover) {
  .offers--quantity .offer:not(:has(> input:checked)):hover {
    border-color: color-mix(in srgb, var(--color-fg) 35%, var(--offer-border, var(--color-border)));
  }
}

/* The « most popular » card (a badge): a hint of the accent before it is chosen. */
.offers--quantity
  .offer:has(> .offer__badge, > .offer__body > .offer__badge):not(:has(> input:checked)) {
  border-color: color-mix(in srgb, var(--offer-sel) 40%, var(--offer-border, var(--color-border)));
}

.offers--quantity .offer:has(> input:checked) {
  border-color: var(--offer-sel);
  background: var(
    --offer-bg-selected,
    color-mix(in srgb, var(--offer-sel) 6%, var(--offer-bg, transparent))
  );
  box-shadow:
    inset 0 0 0 var(--offer-ring, 1px) var(--offer-sel),
    0 12px 28px -18px color-mix(in srgb, var(--offer-sel) 80%, transparent);
}

/* The radio: a ring that fills with a dot in the accent. */
.offers--quantity .offer > input {
  box-sizing: border-box;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  padding: 0;
  border: 1.5px solid color-mix(in srgb, var(--color-fg) 32%, transparent);
  border-radius: 50%;
  background: radial-gradient(circle, var(--offer-sel) 0 42%, transparent 46%) center / 0 0
    no-repeat;
  appearance: none;
  cursor: pointer;
  transition:
    border-color 0.2s var(--offer-ease),
    background-size 0.25s var(--offer-ease);
}

.offers--quantity .offer > input:checked {
  border-color: var(--offer-sel);
  background-size: 100% 100%;
}

.offers--quantity .offer > input:focus-visible {
  outline: 2px solid var(--offer-sel);
  outline-offset: 2px;
}

.offers--quantity .offer__title {
  color: var(--offer-title, inherit);
}

.offers--quantity .offer__price strong {
  color: var(--offer-price, inherit);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.offers--quantity .offer__price s {
  font-variant-numeric: tabular-nums;
}

/* Savings: a pill in the sale color, easy to spot. */
.offers--quantity .offer__saving {
  justify-self: start;
  width: max-content;
  max-width: 100%;
  margin-top: 0.3rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--offer-saving, var(--color-sale)) 12%, transparent);
  color: var(--offer-saving, var(--color-sale));
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.offers--center .offer__saving {
  justify-self: center;
}

.offers--quantity .offer__badge {
  top: -0.7rem;
  left: calc(var(--offer-pad-x) + var(--offer-badge-offset));
  padding: 0.2rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--offer-badge-bg, var(--color-accent, var(--color-fg)));
  color: var(--offer-badge-fg, var(--color-accent-fg, var(--color-bg)));
  box-shadow: 0 4px 12px -6px
    color-mix(in srgb, var(--offer-badge-bg, var(--color-accent, var(--color-fg))) 70%, transparent);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

/* « Style du badge »: soft (tinted) or outline; both opaque, they sit on the card's edge. */
.offers--badge-soft .offer__badge {
  background: var(
    --offer-badge-bg,
    color-mix(in srgb, var(--color-accent, var(--color-fg)) 14%, var(--color-bg))
  );
  color: var(--offer-badge-fg, var(--color-accent, var(--color-fg)));
  box-shadow: none;
}

.offers--badge-outline .offer__badge {
  border-color: var(--offer-badge-fg, var(--color-accent, var(--color-fg)));
  background: var(--offer-badge-bg, var(--color-bg));
  color: var(--offer-badge-fg, var(--color-accent, var(--color-fg)));
  box-shadow: none;
}

.offers--quantity .offer__badge--inline {
  position: static;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  margin: 0.2rem 0 0.1rem;
}

.offers--quantity .offer__body > .offer__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.5rem;
  margin-top: 0.3rem;
  text-align: inherit;
}

/* « Liste groupée »: the cards join into one list (a single column only). */
.offers--style-stacked:not(.offers--row, .offers--grid) {
  gap: 0;
}

.offers--style-stacked:not(.offers--row, .offers--grid) .offer {
  border-radius: 0;
}

.offers--style-stacked:not(.offers--row, .offers--grid) .offer + .offer {
  margin-top: calc(var(--offer-border-width, 1px) * -1);
}

.offers--style-stacked:not(.offers--row, .offers--grid) .offer:first-of-type {
  border-top-left-radius: var(--offer-radius, calc(var(--radius) * 2));
  border-top-right-radius: var(--offer-radius, calc(var(--radius) * 2));
}

.offers--style-stacked:not(.offers--row, .offers--grid) .offer:last-of-type {
  border-bottom-left-radius: var(--offer-radius, calc(var(--radius) * 2));
  border-bottom-right-radius: var(--offer-radius, calc(var(--radius) * 2));
}

.offers--style-stacked .offer:has(> input:checked) {
  z-index: 1;
}

.offers--style-stacked .offer__badge {
  z-index: 2;
}

/* « Minimal »: soft tiles without borders; the chosen one gets the accent ring. */
.offers--style-minimal .offer {
  border-color: transparent;
  background: var(--offer-bg, var(--color-surface));
}

.offers--style-minimal .offer:not(:has(> input:checked)):is(:hover, :has(> .offer__badge)) {
  border-color: transparent;
}

.offers--style-minimal .offer:has(> input:checked) {
  box-shadow: inset 0 0 0 var(--offer-ring, 1px) var(--offer-sel);
}

/* Cards */
.offers--borderless {
  --offer-ring: 2px;
}

.offers--shadow .offer {
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.06),
    0 6px 16px rgb(0 0 0 / 0.08);
}

.offers--shadow .offer:has(> input:checked) {
  box-shadow:
    inset 0 0 0 var(--offer-ring, 1px) var(--offer-sel),
    0 1px 2px rgb(0 0 0 / 0.06),
    0 10px 24px rgb(0 0 0 / 0.1);
}

.offers--padding-small {
  --offer-pad-y: 0.7rem;
  --offer-pad-x: 0.8rem;
}

.offers--padding-large {
  --offer-pad-y: 1.35rem;
  --offer-pad-x: 1.4rem;
}

/* Text, relative to the card's own size */
.offers--title-small .offer__title {
  font-size: 0.9em;
}

.offers--title-large .offer__title {
  font-size: 1.2em;
}

.offers--price-small .offer__price strong {
  font-size: 0.9em;
}

.offers--price-large .offer__price strong {
  font-size: 1.35em;
}

/* Selection indicator: a check mark, or none (the selected card keeps its thicker ring).
   The radio stays in the page for the keyboard; its focus moves to the card. */
.offers--indicator-check .offer > input,
.offers--indicator-hidden .offer > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.offers--indicator-check .offer:has(> input:focus-visible),
.offers--indicator-hidden .offer:has(> input:focus-visible) {
  outline: 2px solid var(--color-fg);
  outline-offset: 2px;
}

.offers--indicator-check {
  --offer-badge-offset: 2rem;
}

.offers--indicator-hidden {
  --offer-badge-offset: 0rem;
}

.offer__check {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  color: transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.offer__check .icon {
  width: 0.85rem;
  height: 0.85rem;
  stroke-width: 2.5;
}

.offer:has(> input:checked) .offer__check {
  border-color: var(--offer-sel, var(--color-fg));
  background: var(--offer-sel, var(--color-fg));
  color: var(--offer-sel-fg, var(--color-bg));
}

@media (prefers-reduced-motion: reduce) {
  .offers--quantity .offer,
  .offers--quantity .offer > input,
  .offer__check {
    transition: none;
  }
}

/* Layout: centered text, then cards side by side (row, 2-column grid) from 750px, and below it
   the cards either stack as a list or scroll sideways. */
.offers--center .offer__body {
  justify-items: center;
  text-align: center;
}

.offers--center .offer__body > .offer__price {
  justify-content: center;
}

@media (min-width: 750px) {
  .offers--row {
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
  }

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

  .offers--row .offer,
  .offers--grid .offer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .offers--row .offer__body,
  .offers--grid .offer__body {
    align-self: stretch;
  }

  .offers--row .offer__price,
  .offers--grid .offer__price {
    justify-items: start;
    text-align: left;
  }

  .offers--row.offers--center .offer,
  .offers--grid.offers--center .offer {
    align-items: center;
  }

  .offers--row.offers--center .offer__price,
  .offers--grid.offers--center .offer__price {
    justify-items: center;
    text-align: center;
  }

  .offers--row,
  .offers--grid {
    --offer-badge-offset: 0rem;
  }

  /* Narrow cards: the top badge leads the card instead of overlapping it, whole. */
  .offers--row .offer > .offer__badge,
  .offers--grid .offer > .offer__badge {
    position: static;
    order: -1;
    max-width: 100%;
  }
}

@media (max-width: 749px) {
  .offers--scroll {
    --offer-badge-offset: 0rem;
    grid-auto-columns: minmax(11rem, 62%);
    grid-auto-flow: column;
    padding-bottom: 0.25rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .offers--scroll .offer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    scroll-snap-align: start;
  }

  .offers--scroll .offer__body {
    align-self: stretch;
  }

  .offers--scroll .offer__price {
    justify-items: start;
    text-align: left;
  }

  .offers--scroll.offers--center .offer {
    align-items: center;
  }

  .offers--scroll.offers--center .offer__price {
    justify-items: center;
    text-align: center;
  }

  .offers--scroll .offer > .offer__badge {
    position: static;
    order: -1;
    max-width: 100%;
  }
}

/* A variant per item of a quantity offer (#1219): the variant picker's swatches, buttons and
   lists, sized and colored by the block (variables), shown under the chosen offer only unless
   « Under every offer ». Values no variant in stock has are disabled. */
.offer__variants {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.6rem;
  cursor: default;
}

.offers--variants:not(.offers--variants-always) .offer:not(:has(> input:checked)) .offer__variants {
  display: none;
}

/* A card showing its items' pickers is tall: radio and price stay at the top, by the title. */
.offers--variants .offer:has(> input:checked):has(.offer__variants),
.offers--variants-always .offer:has(.offer__variants) {
  align-items: flex-start;
}

.offers--variants .offer:has(> input:checked):has(.offer__variants) > input,
.offers--variants-always .offer:has(.offer__variants) > input {
  margin-top: 0.2rem;
}

.offer__unit-price small {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.offer-unit {
  --variant-size-default: 2rem;
  align-items: start;
  gap: 0.4rem 0.75rem;
}

/* Phones: a little smaller by default, so four colors fit beside the price. */
@media (max-width: 749px) {
  .offer-unit {
    --variant-size-default: 1.75rem;
  }
}

.offer-unit > .variant-option {
  gap: 0.35rem;
}

/* « #1 », « #2 »: a column of its own, beside the item's options. */
.offer-unit:has(> .offer-unit__label) {
  grid-template-columns: auto minmax(0, 1fr);
}

.offer-unit:has(> .offer-unit__label) > .variant-option {
  grid-column: 2;
}

.offer-unit__label {
  grid-row: 1 / span 3;
  min-width: 1.75rem;
  padding-top: 0.35rem;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.offer-unit .product__field > legend,
.offer-unit .product__field > label {
  margin: 0;
  font-size: 0.8rem;
}

.offer-unit .variant-swatches__list,
.offer-unit .variant-pills__list {
  gap: var(--variant-gap, 0.5rem);
}

.offer-unit .variant-swatches__list {
  padding: 0.2rem;
}

.offer-unit .variant-swatch__dot {
  width: var(--variant-size, var(--variant-size-default));
  height: var(--variant-size, var(--variant-size-default));
  border-radius: var(--variant-radius, 50%);
  background: var(--swatch, var(--variant-bg, var(--color-bg)));
  box-shadow:
    inset 0 0 0 1px var(--variant-border, color-mix(in srgb, currentColor 22%, transparent)),
    0 0 0 2px var(--color-bg),
    0 0 0 3px transparent;
}

.offer-unit .variant-swatch:hover .variant-swatch__dot {
  box-shadow:
    inset 0 0 0 1px var(--variant-border, color-mix(in srgb, currentColor 22%, transparent)),
    0 0 0 2px var(--color-bg),
    0 0 0 3px var(--color-border);
}

.offer-unit .variant-swatch input:checked + .variant-swatch__dot {
  box-shadow:
    inset 0 0 0 1px var(--variant-border, color-mix(in srgb, currentColor 22%, transparent)),
    0 0 0 2px var(--color-bg),
    0 0 0 3.5px var(--variant-selected, var(--color-fg));
}

.offer-unit .variant-pill > span {
  min-width: calc(var(--variant-size, var(--variant-size-default)) + 0.75rem);
  min-height: var(--variant-size, var(--variant-size-default));
  padding: 0.25rem 0.75rem;
  border-color: var(--variant-border, var(--color-border));
  border-radius: var(--variant-pill-radius, var(--radius));
  background: var(--variant-bg, transparent);
  font-size: 0.875rem;
}

.offer-unit .variant-pill input:checked + span {
  border-color: var(--variant-selected, var(--color-fg));
  background: var(--variant-selected, var(--color-fg));
  color: var(--color-bg);
}

.offer-unit select {
  justify-self: start;
  width: auto;
  min-width: 9rem;
  max-width: 100%;
  height: auto;
  min-height: var(--variant-size, var(--variant-size-default));
  padding-block: 0.25rem;
  border-color: var(--variant-border, var(--color-border));
  background-color: var(--variant-bg, transparent);
}

/* Shapes: round swatches and fully round buttons, slightly rounded, or square. */
.offers--variant-round {
  --variant-radius: 50%;
  --variant-pill-radius: 999px;
}

.offers--variant-rounded {
  --variant-radius: 0.375rem;
  --variant-pill-radius: 0.375rem;
}

.offers--variant-square {
  --variant-radius: 0;
  --variant-pill-radius: 0;
}

.offer-unit .variant-swatch:has(input:disabled),
.offer-unit .variant-pill:has(input:disabled) {
  cursor: not-allowed;
}

.offer-unit input:disabled + .variant-swatch__dot,
.offer-unit input:disabled + span {
  opacity: 0.35;
}

/* The offers handle the variants: the page's own picker is hidden (its list stays the field). */
form:has(.offers--hide-picker) .variant-picker[data-variant-picker] {
  display: none;
}
/* Upsell offers (product page, cart) */
.upsells .offer__title {
  font-weight: 600;
}

.upsell-card {
  flex-wrap: wrap;
  cursor: default;
}

.upsell__thumb {
  flex: none;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius);
}

.upsell-card .button {
  flex: none;
}

.upsells-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.upsells-list h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

/* Quantity stepper */
.quantity {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.quantity input {
  width: 3.5rem;
  padding: 0.6rem 0;
  border: 0;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

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

.quantity__button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.quantity__button .icon {
  width: 1rem;
  height: 1rem;
}

.product__gift {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  font-size: 0.925rem;
}

.product__delivery {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
}

.product__delivery strong {
  font-weight: 600;
}

.product__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  list-style: none;
  font-size: 0.8rem;
  text-align: center;
}

.product__trust li {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
}

.product__trust--list {
  grid-template-columns: 1fr;
  text-align: left;
}

.product__trust--list li {
  display: flex;
  gap: 0.65rem;
}

.mini-reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 0.75rem;
  margin: 0;
  padding: 0 0 0.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
}

.mini-review {
  scroll-snap-align: start;
  padding: 1rem;
  border-radius: calc(var(--radius) * 2);
  background: var(--color-surface);
  font-size: 0.9rem;
}

.mini-review blockquote {
  margin: 0.5rem 0;
}

.mini-review__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Review photo (#1203): a square thumbnail beside the text. */
.mini-review--photo {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.mini-review__photo {
  flex: 0 0 4.5rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.mini-review__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-review__content {
  min-width: 0;
}

/* A review written in the block (#1314): its title and the product it is about. */
.mini-review__title {
  margin: 0.4rem 0 0;
  font-weight: 600;
}

.mini-review__title + blockquote {
  margin-top: 0.2rem;
}

.mini-review__product {
  display: inline-block;
  margin-top: 0.4rem;
  color: inherit;
  font-size: 0.8rem;
  opacity: 0.75;
}

.product__included {
  padding: 1.1rem 1.25rem;
  border-radius: calc(var(--radius) * 2);
  background: var(--color-surface);
}

.product__included-heading {
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.product__included ul {
  gap: 0.45rem;
  font-size: 0.925rem;
}

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

/*
  Sticky add to cart bar (#1222), shown by theme.js once the main button scrolls away (or always).
  Defaults: the mobile bar at the bottom with a top border and a soft shadow. Section settings add
  a modifier class (position, devices, layout, border) or a --sticky-* variable (colors, padding).
  z-index 30 keeps it under the header (40), the drawers (50-71) and the consent banner (10000).
  At the top, theme.js docks it under a sticky header (inline `top`), at 35 so the header's menus
  and search panel still open over it.
*/
.sticky-cart {
  --sticky-safe-top: env(safe-area-inset-top, 0px);
  --sticky-safe-bottom: env(safe-area-inset-bottom, 0px);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: var(--sticky-py, 0.75rem) var(--sticky-px, 1rem)
    calc(var(--sticky-py, 0.75rem) + var(--sticky-safe-bottom));
  border-top: 1px solid var(--color-border);
  background: var(--sticky-bg, var(--color-bg));
  color: var(--sticky-fg, var(--color-fg));
  box-shadow: 0 -8px 24px rgb(0 0 0 / 0.06);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.sticky-cart--top {
  top: 0;
  bottom: auto;
  z-index: 35;
  padding: calc(var(--sticky-py, 0.75rem) + var(--sticky-safe-top)) var(--sticky-px, 1rem)
    var(--sticky-py, 0.75rem);
  border-top: 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.06);
  transform: translateY(-110%);
}

.sticky-cart--no-safe-area {
  --sticky-safe-top: 0px;
  --sticky-safe-bottom: 0px;
}

.sticky-cart--border {
  box-shadow: none;
}

.sticky-cart--shadow {
  border-color: transparent;
}

.sticky-cart--none {
  border-color: transparent;
  box-shadow: none;
}

.sticky-cart.is-visible {
  transform: none;
}

/* Bar at the bottom: the floating button (#953) moves above it, and the page ends above it. */
.floating {
  transition: bottom 0.25s ease;
}

body:has(.sticky-cart--bottom.is-visible) .floating {
  bottom: calc(var(--float-offset, 20px) + var(--sticky-cart-height, 0px));
}

body:has(.sticky-cart--bottom.is-visible) {
  padding-bottom: var(--sticky-cart-height, 0px);
}

.sticky-cart__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.sticky-cart__inner > .button {
  flex-shrink: 0;
}

.sticky-cart--button-full .sticky-cart__inner > .button,
.sticky-cart--button-only .sticky-cart__inner > .button {
  flex: 1;
}

/* With the image, a narrower button leaves the title and price room on a phone. */
.sticky-cart__inner:has(.sticky-cart__image) {
  gap: 0.75rem;
}

.sticky-cart__inner:has(.sticky-cart__image) > .button {
  padding-inline: 1.1rem;
}

.sticky-cart__image {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: var(--media-radius, var(--radius));
  background: var(--color-surface);
}

.sticky-cart__info {
  flex: 1;
  min-width: 0;
}

.sticky-cart__info p {
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sticky-cart__title,
.sticky-cart__variant {
  font-size: 0.85rem;
  color: var(--sticky-fg, var(--color-muted));
}

.sticky-cart__variant {
  opacity: 0.8;
}

.sticky-cart__price {
  font-weight: 600;
}

.sticky-cart__compare {
  margin-left: 0.4rem;
  font-weight: 400;
  opacity: 0.6;
}

/* « Ordinateur » only; « Mobile » only is hidden from 990px (media query further down). */
@media (max-width: 989px) {
  .sticky-cart--desktop {
    display: none;
  }
}

/* ---------- Scrolling band (« Bandeau défilant », #953) ---------- */
/* Settings arrive as --tk-*; theme.js adds .is-ready once the track loops (see initTickers). */
.ticker-wrap {
  overflow: hidden;
}

.ticker-wrap--tilted {
  /* Room for the tilted band's corners. */
  padding-right: 0;
  padding-left: 0;
}

.ticker-wrap--tilted .ticker-box {
  width: calc(100% + 6rem);
  margin-left: -3rem;
  transform: rotate(var(--tk-tilt, 0deg));
}

.ticker-box {
  padding: var(--tk-pad, 14px) 0;
  border-top: var(--tk-border, 0px) solid var(--tk-border-color, currentColor);
  border-bottom: var(--tk-border, 0px) solid var(--tk-border-color, currentColor);
  border-radius: var(--tk-radius, 0px);
  background: var(--color-bg);
  color: var(--color-fg);
  overflow: hidden;
}

.ticker-box--colors-none {
  background: transparent;
  color: inherit;
}

.container .ticker-box {
  border-right: var(--tk-border, 0px) solid var(--tk-border-color, currentColor);
  border-left: var(--tk-border, 0px) solid var(--tk-border-color, currentColor);
}

.ticker__heading {
  /* The section's « Taille du titre », a variable so « Typographie » can go over it (#1246). */
  font-size: var(--ticker-heading);
  margin: 0 var(--gutter) calc(var(--tk-pad, 14px) + 0.5rem);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
}

.ticker__heading--center {
  text-align: center;
}

.ticker + .ticker--second {
  margin-top: var(--tk-gap-rows, 0.75rem);
}

.ticker__track {
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter);
  font-family: var(--tk-font, var(--font));
  font-size: var(--tk-size, 13px);
  font-weight: var(--tk-weight, 500);
  letter-spacing: var(--tk-spacing, 1.5px);
  line-height: 1.2;
}

.ticker-box.is-uppercase .ticker__track {
  text-transform: uppercase;
}

.ticker-box.is-italic .ticker__track {
  font-style: italic;
}

@media (max-width: 749px) {
  .ticker__track {
    font-size: var(--tk-size-mobile, var(--tk-size, 12px));
  }

  .ticker-wrap--desktop {
    display: none;
  }
}

@media (min-width: 750px) {
  .ticker-wrap--mobile {
    display: none;
  }
}

.ticker__item {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.6em;
  white-space: nowrap;
}

.ticker__item a {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: inherit;
  text-decoration: none;
}

.ticker__icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.ticker__separator {
  flex: none;
  opacity: 0.7;
}

.ticker__item--image img,
.ticker__placeholder {
  display: block;
  width: auto;
  height: var(--tk-image-h, 48px);
  max-width: none;
  object-fit: contain;
}

@media (max-width: 749px) {
  .ticker__item--image img,
  .ticker__placeholder {
    height: var(--tk-image-h-mobile, var(--tk-image-h, 36px));
  }
}

.ticker__placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 2;
  background: color-mix(in srgb, currentColor 10%, transparent);
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: normal;
}

.ticker-box--grayscale .ticker__item--image img {
  filter: grayscale(1);
  opacity: 0.75;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease;
}

.ticker-box--grayscale .ticker__item--image:hover img {
  filter: none;
  opacity: 1;
}

.ticker__item--review {
  gap: 0.75em;
}

.ticker__item--review .stars {
  font-size: 0.9em;
}

.ticker__author {
  opacity: 0.7;
  font-size: 0.85em;
}

/* A review's photo, title and product in the band (#1314). */
.ticker__avatar {
  flex: none;
  width: 1.8em;
  height: 1.8em;
  overflow: hidden;
  border-radius: 50%;
}

.ticker__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticker__review-title {
  font-weight: 600;
}

.ticker__item a.ticker__product {
  opacity: 0.7;
  font-size: 0.85em;
  text-decoration: underline;
}

/* Looping (theme.js): the track holds two identical groups and moves by one group's length. */
.ticker.is-ready {
  overflow: hidden;
}

.ticker.is-ready .ticker__track {
  justify-content: flex-start;
  width: max-content;
  padding: 0;
  animation: ticker-x var(--tk-duration, 30s) linear infinite;
}

.ticker.is-reverse .ticker__track {
  animation-direction: reverse;
}

/* Without JS (or before it runs): the items wrap, centered. Looping: one line, two groups. */
.ticker__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem var(--tk-gap, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker.is-ready .ticker__group {
  flex: none;
  flex-wrap: nowrap;
  gap: var(--tk-gap, 56px);
  padding-right: var(--tk-gap, 56px);
}

.ticker--vertical {
  height: var(--tk-height, 320px);
  overflow: hidden;
}

.ticker--vertical .ticker__track,
.ticker--vertical .ticker__group {
  flex-direction: column;
  flex-wrap: nowrap;
}

.ticker--vertical.is-ready .ticker__track {
  flex-direction: column;
  width: auto;
  animation-name: ticker-y;
}

.ticker--vertical.is-ready .ticker__group {
  padding-right: 0;
  padding-bottom: var(--tk-gap, 56px);
}

.ticker--fade {
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker--vertical.ticker--fade {
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
}

[data-pause] .ticker:hover .ticker__track,
[data-pause] .ticker:focus-within .ticker__track {
  animation-play-state: paused;
}

@keyframes ticker-x {
  to {
    transform: translateX(-50%);
  }
}

@keyframes ticker-y {
  to {
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker.is-ready .ticker__track {
    animation: none;
  }
}
/* ---------- Image with text and before / after ---------- */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split--valign-top {
  align-items: start;
}

.split--valign-bottom {
  align-items: end;
}

.split__media {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--split-radius, var(--radius));
  background: var(--color-surface);
}

.split__media img,
.split__media .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media--square {
  aspect-ratio: 1;
}

.split__media--portrait {
  aspect-ratio: 4 / 5;
}

.split__media--landscape {
  aspect-ratio: 4 / 3;
}

/* « Original » with no image yet: a square placeholder (stretched to the text beside it on desktop). */
.split__media--natural .placeholder {
  aspect-ratio: 1;
}

.split__content {
  max-width: 34rem;
}

.split__content--center {
  margin: 0 auto;
  text-align: center;
}

.split__text {
  margin-bottom: 1.5rem;
  color: var(--color-muted);
  font-size: var(--split-text, 1.05rem);
}

/* Options of the image with text (#953): heading color, points, two buttons, text box. */
.split__content .heading {
  color: var(--split-heading, inherit);
}

.split__media picture {
  display: contents;
}

.split__list {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  text-align: left;
}

.split__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.split__list .icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1em;
  color: var(--split-icon, currentColor);
}

.split__content--center .split__list {
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.split__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.split__content--center .split__buttons {
  justify-content: center;
}

.split--boxed .split__content {
  max-width: none;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--split-box-radius, var(--radius));
  background: var(--split-box-bg, var(--color-surface));
}

@media (max-width: 989px) {
  .split--text-first .split__media {
    order: 2;
  }
}

.split__content .checklist {
  margin: 1.5rem 0 0;
  text-align: left;
}

.checklist strong {
  display: block;
  font-weight: 600;
}

.checklist span {
  color: var(--color-muted);
  font-size: 0.925rem;
}

.before-after {
  position: relative;
  aspect-ratio: var(--ba-ratio, 4 / 5);
  overflow: hidden;
  border-radius: var(--ba-radius, 0);
  user-select: none;
}

.before-after__image {
  position: absolute;
  inset: 0;
}

.before-after__image img,
.before-after__image .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__image--before {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.before-after__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  background: rgb(0 0 0 / 0.6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.before-after__label--after {
  left: auto;
  right: 1rem;
}

.before-after__handle {
  position: absolute;
  top: 50%;
  left: var(--position);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ba-handle, #fff);
  color: #111;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.before-after__handle .icon {
  width: 0.9rem;
  height: 0.9rem;
}

.before-after::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: var(--ba-line, #fff);
  transform: translateX(-1px);
  pointer-events: none;
}

/* Before / after options (#953): corners, light labels, labels at the bottom, wide layout. */
.before-after__media {
  border-radius: var(--ba-radius, var(--radius));
}

.before-after--labels-light .before-after__label {
  background: rgb(255 255 255 / 0.85);
  color: #111;
}

.before-after--labels-bottom .before-after__label {
  top: auto;
  bottom: 1rem;
}

.before-after-wide .before-after {
  border-radius: var(--ba-radius, var(--radius));
}

.before-after-wide__points {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.before-after__range {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: ew-resize;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(var(--columns-mobile, 2), minmax(0, 1fr));
  gap: 2rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Mobile: one row that scrolls sideways. */
.features--scroll {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: 78%;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}

.features--scroll::-webkit-scrollbar {
  display: none;
}

.features--scroll > .feature {
  scroll-snap-align: start;
}

@media (min-width: 750px) {
  .features,
  .features.features--scroll {
    grid-auto-flow: row;
    grid-template-columns: repeat(var(--columns-tablet, 3), minmax(0, 1fr));
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}

@media (min-width: 990px) {
  .features,
  .features.features--scroll {
    grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
  }
}

/* « Largeur du contenu » of Points forts (#971): the widths of « Texte enrichi ». */
.features-width {
  max-width: calc(46rem + 2 * var(--gutter));
}

.features-width--narrow {
  max-width: calc(34rem + 2 * var(--gutter));
}

.features-width--wide {
  max-width: calc(64rem + 2 * var(--gutter));
}

.features--center {
  text-align: center;
}

.feature__icon {
  display: inline-grid;
  place-items: center;
  width: calc(var(--feature-icon, 22px) * 2.2);
  height: calc(var(--feature-icon, 22px) * 2.2);
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--feature-icon-bg, var(--color-surface));
  color: var(--feature-icon-color, currentColor);
}

.features--shape-square .feature__icon {
  border-radius: calc(var(--radius) * 1.5);
}

.features.features--shape-none .feature__icon {
  width: auto;
  height: auto;
  background: none;
}

.feature__icon .icon {
  width: var(--feature-icon, 22px);
  height: var(--feature-icon, 22px);
}

.feature__image {
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}

.feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__title {
  margin: 0 0 0.35rem;
  font-size: var(--feature-title, 1.05rem);
  letter-spacing: -0.01em;
}

.feature__text {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.feature__text > :last-child {
  margin-bottom: 0;
}

.feature__link {
  display: inline-block;
  margin-top: 0.75rem;
}

/* Icon beside the text (benefit lists, icon bars). */
.features--icon-left .feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  text-align: left;
}

.features--icon-left .feature__icon,
.features--icon-left .feature__image {
  margin: 0;
}

.features--icon-left .feature__image {
  width: 4.5rem;
}

.features--cards .feature,
.features--bordered .feature,
.features--shadow .feature {
  padding: 1.5rem;
  border-radius: var(--feature-radius, calc(var(--radius) * 2));
}

.features--cards .feature {
  background: var(--color-surface);
}

.features--cards .feature__icon {
  background: var(--feature-icon-bg, var(--color-bg));
}

.features--bordered .feature,
.features--card-border .feature {
  border: var(--card-border-width, 1px) var(--card-border-style, solid) var(--color-border);
}

.features--shadow .feature {
  background: var(--color-bg);
  box-shadow: 0 14px 34px -18px rgb(0 0 0 / 0.35);
}

/* ---------- Rich text (#953) ---------- */
.rich {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
  margin: 0 auto;
}

.rich--narrow {
  max-width: 34rem;
}

.rich--wide {
  max-width: 64rem;
}

.rich--center {
  text-align: center;
  justify-items: center;
}

.rich--left {
  margin-left: 0;
}

/* .rich--left_centered (#971): the centered column of .rich, its text left-aligned. */

.rich--right {
  margin-right: 0;
  text-align: right;
  justify-items: end;
}

.rich > * {
  margin: 0;
}

.rich__heading {
  color: var(--rich-heading, inherit);
}

.rich__heading[style*="--rich-heading-size"] {
  font-size: clamp(calc(var(--rich-heading-size) * 0.6), 6vw, var(--rich-heading-size));
}

.rich__text {
  color: var(--color-muted);
  font-size: var(--rich-text, 1.05rem);
}

.rich__text > :last-child {
  margin-bottom: 0;
}

.rich__image {
  width: min(100%, var(--rich-image, 640px));
  overflow: hidden;
  border-radius: var(--rich-image-radius, var(--radius));
}

.rich__image img,
.rich__image .placeholder {
  display: block;
  width: 100%;
  height: auto;
}

.rich__image .placeholder {
  aspect-ratio: 16 / 9;
}

.rich__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rich--center .rich__buttons {
  justify-content: center;
}

.rich--right .rich__buttons {
  justify-content: flex-end;
}

/* ---------- Tabs (#953) ---------- */
.tabs__list {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs__list::-webkit-scrollbar {
  display: none;
}

.tabs--center .tabs__list {
  justify-content: safe center;
}

.tabs__tab {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 0;
  background: none;
  color: var(--color-muted);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.tabs__tab .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.tabs__tab[aria-selected="true"] {
  color: var(--color-fg);
}

.tabs--underline .tabs__list {
  gap: 0;
  border-bottom: 1px solid var(--color-border);
}

.tabs--underline .tabs__tab {
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
}

.tabs--underline .tabs__tab[aria-selected="true"] {
  border-bottom-color: var(--tabs-active, var(--color-fg));
}

.tabs--pills .tabs__tab {
  border-radius: 999px;
  background: var(--color-surface);
}

.tabs--pills .tabs__tab[aria-selected="true"] {
  background: var(--tabs-active, var(--color-fg));
  color: var(--color-bg);
}

.tabs--buttons .tabs__tab {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.tabs--buttons .tabs__tab[aria-selected="true"] {
  border-color: var(--tabs-active, var(--color-fg));
  color: var(--tabs-active, var(--color-fg));
}

.tabs__panel {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.tabs__panel + .tabs__panel {
  margin-top: 2.5rem;
}

.tabs.is-ready .tabs__panel + .tabs__panel {
  margin-top: 0;
}

.tabs.is-ready .tabs__panel-title {
  display: none;
}

.tabs__panel-title {
  margin: 0;
  font-size: 1.15rem;
}

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

.tabs__text > :last-child {
  margin-bottom: 0;
}

.tabs__button {
  margin-top: 1.25rem;
}

.tabs__image {
  overflow: hidden;
  border-radius: var(--radius);
}

.tabs__image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 990px) {
  .tabs__panel--image-right,
  .tabs__panel--image-left {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }

  .tabs__panel--image-left .tabs__image {
    order: -1;
  }

  .tabs__panel-title {
    grid-column: 1 / -1;
  }
}

/* ---------- Pop-up (#953) ---------- */
.section--popup {
  display: contents;
}

.popup {
  width: min(calc(100% - 2rem), var(--popup-width, 520px));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--popup-radius, calc(var(--radius) * 2));
  background: transparent;
  color: inherit;
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.45);
}

.popup::backdrop {
  background: rgb(0 0 0 / var(--popup-overlay, 0.5));
}

.popup[open] {
  animation: fade-in 0.25s ease;
}

.popup--corner {
  position: fixed;
  inset: auto 1rem 1rem auto;
  z-index: 60;
  margin: 0;
}

.popup__box {
  position: relative;
  display: grid;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
}

.popup__box.sz--colors-none {
  background: var(--color-bg);
}

.popup__close-form {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  margin: 0;
}

.popup__close {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  color: inherit;
  cursor: pointer;
}

.popup__close .icon {
  width: 1.1rem;
  height: 1.1rem;
}

/* The image above the text touches the top edge. */
.popup--image-top.popup--has-image .popup__box {
  padding-top: 0;
}

.popup__image {
  margin: 0 0 1.25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.popup__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup__content {
  display: grid;
  gap: 0.75rem;
  padding: 0 var(--gutter);
  text-align: center;
}

.popup__heading,
.popup__eyebrow {
  margin: 0;
}

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

.popup__text > :last-child {
  margin-bottom: 0;
}

.popup__form {
  display: grid;
  gap: 0.6rem;
}

.popup__code {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.popup__code-value {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 0.6rem 1rem;
  border: 1px dashed var(--color-fg);
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.popup__dismiss {
  border: 0;
  background: none;
  color: var(--color-muted);
  font: inherit;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}

@media (min-width: 750px) {
  .popup--image-left.popup--has-image .popup__box {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: center;
  }

  .popup--image-left.popup--has-image .popup__box {
    padding-top: 0;
    padding-bottom: 0;
  }

  .popup--image-left .popup__image {
    align-self: stretch;
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
  }

  .popup--image-left .popup__content {
    padding-block: 2rem;
  }

  .popup--image-left .popup__content {
    padding-inline: 2rem;
    text-align: left;
  }
}

/* ---------- Blog posts (#953) ---------- */
.blog-posts .article-card__media {
  aspect-ratio: var(--post-ratio, 3 / 2);
  border-radius: var(--post-radius, var(--radius));
}

/* « Format d'origine »: the image sets the height (a post without image stays square). */
.blog-posts--ratio-original .article-card__media img {
  height: auto;
}

.blog-posts--ratio-original .article-card__media:not(:has(img)) {
  aspect-ratio: 1;
}

.blog-posts .placeholder {
  height: 100%;
}

.blog-posts .article-card__title {
  font-size: 1.15rem;
}

.blog-posts--card .article-card,
.blog-posts--bordered .article-card {
  height: 100%;
  align-content: start;
  padding: 0.75rem 0.75rem 1.25rem;
  border-radius: var(--post-radius, calc(var(--radius) * 2));
}

.blog-posts--card .article-card {
  background: var(--color-surface);
}

.blog-posts--bordered .article-card {
  border: 1px solid var(--color-border);
}

@media (min-width: 990px) {
  .grid.blog-posts {
    grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
  }
}

/* ---------- Contact form anywhere (#953) ---------- */
.contact-section {
  display: grid;
  gap: 2rem;
}

.contact-section--center .contact-section__intro {
  text-align: center;
}

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

.contact-section__details {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-section--center .contact-section__details {
  justify-content: center;
  text-align: left;
}

.contact-section__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-section__details .icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15em;
}

.contact-section__details strong {
  display: block;
}

@media (min-width: 990px) {
  .contact-section--split {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 4rem;
    align-items: start;
  }
}

/* ---------- Floating button (#953) ---------- */
.floating {
  position: fixed;
  bottom: var(--float-offset, 20px);
  z-index: 40;
}

.floating--right {
  right: var(--float-offset, 20px);
}

.floating--left {
  left: var(--float-offset, 20px);
}

.floating__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 3.25rem;
  height: 3.25rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--float-bg, var(--color-fg));
  color: var(--float-fg, var(--color-bg));
  box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.4);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.floating__button::-webkit-details-marker {
  display: none;
}

.floating__button .icon {
  width: 1.35rem;
  height: 1.35rem;
}

@media (max-width: 749px) {
  .floating__label--desktop {
    display: none;
  }

  .floating__button:has(.floating__label--desktop) {
    padding: 0;
  }
}

.floating__panel {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  width: min(18rem, calc(100vw - 2.5rem));
  padding: 1rem;
  border-radius: calc(var(--radius) * 2);
  background: var(--color-bg);
  color: var(--color-fg);
  box-shadow: 0 20px 50px -12px rgb(0 0 0 / 0.35);
}

.floating--right .floating__panel {
  right: 0;
}

.floating--left .floating__panel {
  left: 0;
}

.floating__title {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.floating__panel ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.floating__panel a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
  color: inherit;
  text-decoration: none;
}

.floating__panel li:last-child a {
  border-bottom: 0;
}

.floating__panel .icon {
  width: 1.1rem;
  height: 1.1rem;
}

/* ---------- Spacer (#953) ---------- */
.spacer {
  display: grid;
  place-items: center;
  height: var(--spacer-mobile, 32px);
  padding: 0 var(--gutter);
}

.spacer__line {
  display: block;
  width: min(var(--container), var(--spacer-line-width, 100%));
  max-width: 100%;
  border-top: var(--spacer-line, 1px) solid var(--spacer-color, var(--color-border));
}

.spacer--dashed .spacer__line {
  border-top-style: dashed;
}

.spacer--dotted .spacer__line {
  border-top-style: dotted;
}

@media (min-width: 750px) {
  .spacer {
    height: var(--spacer, 48px);
  }
}

/* Shapes (#971): the SVG fills the whole space, in the shape color (text color by default). */
.spacer--shape {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.spacer__shape {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: calc(100% + 1px);
  fill: var(--spacer-shape, var(--color-fg));
}

.spacer--flip .spacer__shape {
  top: -1px;
  transform: scaleY(-1);
}

/* ---------- Comparison table ---------- */
.compare-wrap {
  /* Positioned: the visually hidden labels of the cells stay inside the scrolling box. */
  position: relative;
  overflow-x: auto;
}

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}

.compare th,
.compare td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  vertical-align: middle;
}

.compare th[scope="row"] {
  text-align: left;
  font-weight: 500;
}

.compare thead th {
  font-weight: 600;
}

.compare .is-ours {
  background: var(--compare-ours-bg, var(--color-surface));
  color: var(--compare-ours-fg, inherit);
}

.compare thead .is-ours {
  border-radius: calc(var(--radius) * 2) calc(var(--radius) * 2) 0 0;
}

.compare tbody tr:last-child .is-ours {
  border-radius: 0 0 calc(var(--radius) * 2) calc(var(--radius) * 2);
}

.compare__yes,
.compare__no {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
}

.compare__yes {
  background: var(--compare-yes, var(--color-fg));
  color: var(--color-bg);
}

.compare__no {
  color: var(--compare-no, var(--color-muted));
}

.compare__yes .icon,
.compare__no .icon {
  width: 1rem;
  height: 1rem;
}

.compare__note {
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Comparison options (#953): badge and image per column, stripes or no lines. */
.compare thead th {
  vertical-align: bottom;
}

.compare__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--compare-ours-fg, var(--color-fg));
  color: var(--compare-ours-bg, var(--color-bg));
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare__image {
  display: block;
  width: 4.5rem;
  margin: 0 auto 0.6rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.compare__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare__column {
  display: block;
}

.compare--rows-none th,
.compare--rows-none td,
.compare--rows-striped th,
.compare--rows-striped td {
  border-bottom: 0;
}

.compare--rows-striped tbody tr:nth-child(odd) :is(th, td):not(.is-ours) {
  background: color-mix(in srgb, var(--color-fg) 4%, transparent);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step__image {
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}

.step__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step__number {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.step__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

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

.steps--columns .step {
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.steps--list .step {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

/* Steps options (#953): columns, markers, accent color, card styles, timeline. */
.step__title {
  font-size: var(--step-title, 1.2rem);
}

.steps .step__number {
  color: var(--steps-accent, var(--color-muted));
}

.steps--marker-circle .step__number,
.steps--marker-icon .step__number {
  display: inline-grid;
  place-items: center;
  min-width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.9rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: var(--steps-accent, var(--color-fg));
  color: var(--color-bg);
  letter-spacing: 0;
}

.step__number--icon .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.steps--columns.steps--style-plain .step {
  border-top-color: var(--steps-accent, var(--color-border));
}

.steps--style-card .step,
.steps--style-bordered .step {
  padding: 1.5rem;
  border: 0;
  border-radius: calc(var(--radius) * 2);
}

.steps--style-card .step {
  background: var(--color-surface);
}

.steps--style-bordered .step {
  border: 1px solid var(--color-border);
}

.steps--center .step {
  text-align: center;
}

/* Vertical timeline: a line through the markers. */
.steps--timeline {
  position: relative;
  gap: 2.5rem;
  max-width: 46rem;
  margin: 0 auto;
  padding-left: 4rem;
}

.steps--timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 1.2rem;
  width: 2px;
  background: var(--steps-accent, var(--color-border));
}

.steps--timeline .step {
  position: relative;
}

/* The marker is centered on the line and grows with its label (a year, "Day 1"). */
.steps--timeline .step__number {
  position: absolute;
  top: 0;
  left: calc(-4rem + 1.2rem + 1px);
  min-width: 2.5rem;
  margin: 0;
  padding: 0 0.5rem;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.steps--timeline.steps--marker-number .step__number {
  height: 2.5rem;
  line-height: 2.5rem;
  border-radius: 999px;
  background: var(--color-bg);
  box-shadow: inset 0 0 0 2px var(--steps-accent, var(--color-border));
}

.steps--timeline .step__body {
  min-height: 2.5rem;
}

.steps--timeline .step__title {
  padding-top: 0.45rem;
}

.steps--timeline.steps--marker-none .step::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: calc(-4rem + 1.2rem + 1px - 0.375rem);
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--steps-accent, var(--color-fg));
}

.steps--timeline .step__image {
  max-width: 24rem;
}

@media (min-width: 990px) {
  .steps.steps--columns {
    grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
  }
}

/* ---------- Key figures ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(var(--columns-mobile, 1), minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.stat__value {
  margin: 0;
  color: var(--stat-color, inherit);
  font-family: var(--font-heading);
  font-size: clamp(calc(var(--stat-value, 56px) * 0.7), 6vw, var(--stat-value, 4rem));
  font-weight: var(--stat-weight, 600);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat__label {
  margin: 0.6rem 0 0;
  font-family: var(--stat-label-font, inherit);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat__text {
  max-width: 18rem;
  margin: 0.5rem auto 0;
  color: var(--color-muted);
  font-size: 0.925rem;
}

/* Key figures options (#953): left aligned, label case, cards, dividers, rings, bars. */
.stats--align-left {
  text-align: left;
}

.stats--align-left .stat__text {
  margin-left: 0;
}

.stats--normal-case .stat__label {
  letter-spacing: 0;
  text-transform: none;
}

.stats--style-cards .stat,
.stats--style-bordered .stat {
  padding: 1.75rem 1.25rem;
  border-radius: calc(var(--radius) * 2);
}

.stats--style-cards .stat {
  background: var(--color-surface);
}

.stats--style-bordered .stat {
  border: 1px solid var(--color-border);
}

.stat__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, calc(var(--stat-value, 56px) * 2.6));
  aspect-ratio: 1;
  margin: 0 auto;
}

.stats--align-left .stat__ring {
  margin-left: 0;
}

.stat__ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.stat__ring circle {
  fill: none;
  stroke-width: 8;
}

.stat__ring-track {
  stroke: var(--color-border);
}

.stat__ring-value {
  stroke: var(--stat-color, var(--color-fg));
  stroke-dasharray: var(--percent) 100;
  stroke-linecap: round;
}

.stat__ring .stat__value {
  font-size: calc(var(--stat-value, 56px) * 0.6);
}

.stat__bar {
  height: 0.5rem;
  margin: 0.9rem 0 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-border);
}

.stat__bar span {
  display: block;
  width: var(--percent);
  height: 100%;
  border-radius: inherit;
  background: var(--stat-color, var(--color-fg));
}

@media (min-width: 750px) {
  .stats--dividers .stat + .stat {
    border-left: 1px solid var(--color-border);
  }

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

@media (min-width: 990px) {
  .stats.stats--many {
    grid-template-columns: repeat(var(--count), minmax(0, 1fr));
  }
}

@media (max-width: 749px) {
  .stats--dividers .stat + .stat {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
  }
}

/* ---------- Carousels (customer videos, reviews) ---------- */
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 1rem;
  margin: 0;
  padding: 0 max(1rem, calc((100vw - var(--container)) / 2 + 1rem));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 max(1rem, calc((100vw - var(--container)) / 2 + 1rem));
  scrollbar-width: none;
  list-style: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__track > li {
  scroll-snap-align: start;
  min-width: 0;
}

.carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel__button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-fg);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.carousel__button:hover {
  border-color: var(--color-fg);
}

.carousel__button .icon {
  width: 1.1rem;
  height: 1.1rem;
}

/* Dots of a carousel (#1239): before the arrows, on the left. */
.carousel__dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto;
}

.carousel--grid .carousel__track {
  grid-auto-flow: row;
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
  overflow: visible;
}

.video-card__media {
  position: relative;
  aspect-ratio: var(--video-ratio, 9 / 16);
  overflow: hidden;
  border-radius: var(--video-radius, calc(var(--radius) * 2));
  background: var(--color-surface);
}

.video-card__media video,
.video-card__media iframe,
.video-card__media img,
.video-card__media .placeholder {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-card__caption {
  padding-top: 0.75rem;
}

.video-card__caption p {
  margin: 0;
}

.video-card__title {
  font-weight: 600;
}

.video-card__text {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Stars, author and product of a video review (#1239). */
.video-card__caption > .stars {
  margin-bottom: 0.35rem;
}

.video-card__author {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.video-card__product {
  display: inline-block;
  margin-top: 0.35rem;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Caption over the video (#953). */
.videos-wrap--caption-overlay .video-card {
  position: relative;
}

.videos-wrap--caption-overlay .video-card__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem 1rem;
  border-radius: 0 0 var(--video-radius, calc(var(--radius) * 2))
    var(--video-radius, calc(var(--radius) * 2));
  background: linear-gradient(transparent, rgb(0 0 0 / 0.65));
  color: #fff;
  pointer-events: none;
}

.videos-wrap--caption-overlay .video-card__text,
.videos-wrap--caption-overlay .video-card__author {
  color: rgb(255 255 255 / 0.85);
}

.videos-wrap--caption-overlay .video-card__product {
  color: #fff;
  pointer-events: auto;
}

@media (min-width: 990px) {
  .videos-wrap.carousel--grid .carousel__track {
    grid-template-columns: repeat(var(--videos-per-view, 4), minmax(0, 1fr));
  }

  .videos-wrap .videos {
    grid-auto-columns: calc(
      (min(100vw, var(--container)) - 6rem) / (var(--videos-per-view, 4) + 0.4)
    );
  }
}

/* ---------- Customer reviews ---------- */
.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--color-muted);
}

.reviews-summary strong {
  color: var(--color-fg);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  background: var(--color-bg);
}

.testimonial__title {
  margin: 0;
  font-weight: 600;
}

.testimonial blockquote {
  flex: 1;
  margin: 0;
  color: var(--color-muted);
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  border-radius: 50%;
}

.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__author {
  margin: 0;
  font-size: 0.925rem;
  font-weight: 600;
}

.testimonial__detail {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8rem;
}

/* Reviews options (#953): cards per row, mosaic, card looks, boxed stars, social posts. */
.testimonial blockquote {
  font-size: var(--quote-size, 1rem);
}

.testimonials--card .testimonial {
  border-color: transparent;
  background: var(--color-surface);
}

.testimonials--shadow .testimonial {
  border-color: transparent;
  box-shadow: 0 14px 34px -18px rgb(0 0 0 / 0.35);
}

.testimonials--plain .testimonial {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.testimonial__photo {
  margin: -1.5rem -1.5rem 0.25rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--radius) * 2) calc(var(--radius) * 2) 0 0;
}

.testimonials--plain .testimonial__photo {
  margin: 0;
  border-radius: calc(var(--radius) * 2);
}

.testimonial__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__verified {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0.1rem 0 0;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 500;
}

.testimonial__verified .icon {
  width: 0.85rem;
  height: 0.85rem;
}

.testimonial__product {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  background: var(--color-surface);
  color: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}

.testimonial__product-image {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  border-radius: calc(var(--radius) * 0.75);
}

.testimonial__product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The product of a review written in « Avis produits » (#1314). */
.review__product {
  margin-top: 0.75rem;
  width: fit-content;
}

/* Boxed stars: each star white on a colored square, filled to the rating. */
.star-boxes {
  display: inline-flex;
  gap: 2px;
}

.star-box {
  display: inline-grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  background: linear-gradient(
    90deg,
    var(--star-color, #00b67a) var(--fill),
    var(--color-border) var(--fill)
  );
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
}

/* Social post: author on top, round initial. */
.testimonials--social .testimonial__footer {
  order: -1;
}

.testimonial__avatar--initial {
  display: grid;
  place-items: center;
  background: var(--color-surface);
  font-weight: 600;
}

/* Elements in the merchant's order (#1239): the social post's author follows it too, and a photo
   that is not first loses the bleed to the card's edges. */
.testimonials-wrap.testimonials--ordered .testimonial__footer {
  order: 0;
}

.testimonials--ordered .testimonial__photo:not(:first-child) {
  margin: 0;
  border-radius: calc(var(--radius) * 2);
}

/* Summary under the reviews (#1239). */
.section-head--after {
  margin: 2rem 0 0;
}

.section-head--after.section-head--center {
  margin-left: auto;
  margin-right: auto;
}

/* « Liste » (#1239): one review per row. */
.testimonials-wrap.carousel--list.carousel--grid .carousel__track {
  grid-template-columns: minmax(0, 1fr);
  max-width: 52rem;
}

/* Mosaic: cards of their own height in columns. */
.carousel--masonry .carousel__track {
  display: block;
  columns: 1;
  column-gap: 1rem;
}

.carousel--masonry .carousel__track > li {
  margin-bottom: 1rem;
  break-inside: avoid;
}

.carousel--masonry .testimonial {
  height: auto;
}

@media (min-width: 750px) {
  .carousel--masonry .carousel__track {
    columns: min(var(--columns, 3), 2);
  }
}

@media (min-width: 990px) {
  .testimonials-wrap.carousel--carousel .carousel__track {
    grid-auto-columns: calc((min(100vw, var(--container)) - 5rem) / (var(--columns, 3) + 0.3));
  }

  .testimonials-wrap.carousel--grid .carousel__track {
    grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
  }

  .carousel--masonry .carousel__track {
    columns: var(--columns, 3);
  }
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  gap: 1rem;
}

.faq {
  border-top: 1px solid var(--color-border);
}

.faq__item summary {
  font-size: var(--faq-question, 1.05rem);
}

/* FAQ options (#953): cards or boxes, chevron, two columns, button under the heading. */
.faq__cta {
  margin: 1.25rem 0 0;
}

.faq--toggle-chevron .faq__item[open] .accordion__toggle {
  transform: rotate(180deg);
}

.faq--card,
.faq--bordered {
  display: grid;
  gap: 0.75rem;
  border-top: 0;
}

.faq--card .faq__item,
.faq--bordered .faq__item {
  padding: 0 1.25rem;
  border-bottom: 0;
  border-radius: calc(var(--radius) * 1.5);
}

.faq--card .faq__item {
  background: var(--color-surface);
}

.faq--bordered .faq__item {
  border: 1px solid var(--color-border);
}

@media (min-width: 990px) {
  .faq-layout--columns .faq {
    display: block;
    columns: 2;
    column-gap: 2.5rem;
  }

  .faq-layout--columns .faq__item {
    break-inside: avoid;
  }

  .faq-layout--columns .faq--card .faq__item,
  .faq-layout--columns .faq--bordered .faq__item {
    margin-bottom: 0.75rem;
  }
}

/* ---------- Guarantee ---------- */
.guarantee {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  text-align: center;
}

.guarantee--card {
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 3);
  background: var(--color-bg);
}

.guarantee__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--color-fg);
  color: var(--color-bg);
}

.guarantee__icon .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.guarantee__text {
  max-width: 32rem;
  margin-bottom: 1rem;
  color: var(--color-muted);
}

/* Guarantee options (#953): icon colors, seal image, seal beside the text, points. */
.guarantee__icon {
  background: var(--guarantee-icon-bg, var(--color-fg));
  color: var(--guarantee-icon, var(--color-bg));
}

.guarantee__seal {
  display: block;
  width: var(--guarantee-seal, 120px);
  margin-bottom: 1rem;
}

.guarantee__seal img {
  width: 100%;
  height: auto;
}

.guarantee__body {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
}

.guarantee__points {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  text-align: left;
}

.guarantee__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.guarantee__points .icon {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15em;
  color: var(--guarantee-icon, currentColor);
}

@media (min-width: 750px) {
  .guarantee--side {
    max-width: 56rem;
    margin: 0 auto;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .guarantee--side .guarantee__body {
    justify-items: start;
  }

  .guarantee--side .guarantee__icon,
  .guarantee--side .guarantee__seal {
    margin: 0;
  }
}

/* ---------- Tablet and desktop ---------- */
@media (min-width: 750px) {
  .section-pad {
    padding-top: var(--pt, 48px);
    padding-bottom: var(--pb, 48px);
  }

  .steps--columns {
    grid-template-columns: repeat(var(--columns-tablet, 3), minmax(0, 1fr));
  }

  .steps--list .step {
    grid-template-columns: 1fr 2fr;
    align-items: center;
  }

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

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

  .stats--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .carousel__track {
    grid-auto-columns: calc((min(100vw, var(--container)) - 4rem) / 2.4);
  }

  .videos {
    grid-auto-columns: calc((min(100vw, var(--container)) - 5rem) / 3.4);
  }

  .carousel--grid .carousel__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-reviews__track {
    grid-auto-columns: 70%;
  }
}

@media (min-width: 990px) {
  .product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }

  .product--media-large {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .product--media-right .product__media {
    order: 2;
  }

  .product__info--sticky {
    position: sticky;
    top: 1.5rem;
  }

  .product__media--thumbnails {
    display: grid;
    grid-template-columns: var(--thumb-size, 4.5rem) minmax(0, 1fr);
    gap: var(--thumbs-gap, 1rem);
    align-items: start;
  }

  .product__media--thumbnails .gallery__track {
    order: 2;
  }

  /* A single image has no thumbnails: the image takes both columns (issue #770). */
  .product__media--thumbnails .gallery__track:only-child {
    grid-column: 1 / -1;
  }

  .product__media--thumbnails .gallery__thumbs {
    display: grid;
    gap: 0.6rem;
  }

  .gallery__thumb {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--media-radius, var(--radius));
    background: var(--color-surface);
    opacity: 0.6;
    transition:
      opacity 0.15s ease,
      border-color 0.15s ease;
  }

  .gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery__thumb:hover,
  .gallery__thumb.is-active {
    opacity: 1;
  }

  .gallery__thumb.is-active {
    border-color: var(--thumb-active, var(--color-fg));
  }

  .product__media--grid .gallery__track,
  .product__media--stacked .gallery__track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: var(--media-gap, 0.75rem);
    overflow: visible;
    background: none;
  }

  .product__media--grid .gallery__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product__media--grid .gallery__slide:first-child {
    grid-column: 1 / -1;
  }

  .product__media--grid .gallery__slide,
  .product__media--stacked .gallery__slide {
    overflow: hidden;
    border-radius: var(--media-radius, var(--radius));
    background: var(--color-surface);
  }

  .product__media .gallery__dots {
    display: none;
  }

  .sticky-cart--mobile {
    display: none;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }

  .split--third {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }

  .split--wide {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .split--image-right .split__media {
    order: 2;
  }

  .split--third.split--image-right {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }

  .split--wide.split--image-right {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }

  .carousel__track {
    grid-auto-columns: calc((min(100vw, var(--container)) - 5rem) / 3.3);
  }

  .videos {
    grid-auto-columns: calc((min(100vw, var(--container)) - 6rem) / 4.4);
  }

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

  .faq-layout--split {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 4rem;
    align-items: start;
  }

  .guarantee--card {
    padding: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__track,
  .carousel__track {
    scroll-behavior: auto;
  }
}

/* ---------- Product reviews (section product-reviews) ---------- */
#reviews {
  scroll-margin-top: 1.5rem;
}

.reviews {
  display: grid;
  gap: 2rem;
}

.reviews__aside .heading {
  margin-bottom: 1.25rem;
}

.reviews__score {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews__average {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.reviews__average span {
  color: var(--color-muted);
  font-size: 1.25rem;
  font-weight: 500;
}

.reviews__score .stars {
  font-size: 1.1rem;
}

/* « Excellent ★★★★★ » (`rating_label`): the word before the stars, Trustpilot-like. */
.reviews__stars-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.reviews__rating-label {
  font-size: 1.05rem;
  font-weight: 700;
}

.reviews__based,
.reviews__empty {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.reviews__bars {
  display: grid;
  gap: 0.45rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.reviews__bars li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
  align-items: center;
  gap: 0.6rem;
}

.reviews__bar {
  height: var(--reviews-bar-height, 6px);
  overflow: hidden;
  border-radius: 999px;
  background: var(--reviews-bar-track, var(--color-border));
}

.reviews__bar span {
  display: block;
  height: 100%;
  background: var(--reviews-bar, var(--color-fg));
}

.reviews__bar-count {
  color: var(--color-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.reviews__write {
  margin-top: 1.5rem;
}

.reviews__notice {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.925rem;
}

.reviews__notice--success {
  background: color-mix(in srgb, var(--color-success) 10%, var(--color-bg));
  color: var(--color-success);
}

.reviews__notice--error {
  background: color-mix(in srgb, var(--color-sale) 10%, var(--color-bg));
  color: var(--color-sale);
}

.reviews__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.review {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* Reviews as cards (#953). */
.reviews--cards-bordered .review,
.reviews--cards-card .review {
  margin-bottom: 1rem;
  padding: 1.25rem;
  border-radius: calc(var(--radius) * 2);
}

.reviews--cards-bordered .review {
  border: 1px solid var(--color-border);
}

.reviews--cards-card .review {
  border: 0;
  background: var(--color-surface);
}

.review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.review__date {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.review__title {
  margin: 0;
  font-weight: 600;
}

.review__body {
  margin: 0;
  color: var(--color-muted);
}

.review__author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Review author's picture (#1203): the merchant's avatar, else the initial. */
.review-avatar {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-fg);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-avatar--small {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.75rem;
}

/* On a surface card, the initial takes the page background to stay visible. */
.reviews--cards-card .review-avatar--initial,
.mini-review .review-avatar--initial {
  background: var(--color-bg);
}

/* Review photo (#1203): shown whole, never cropped, no box when absent. */
.review__photo {
  width: fit-content;
  max-width: min(13rem, 100%);
  overflow: hidden;
  border-radius: calc(var(--radius) * 2);
}

.review__photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 16rem;
  object-fit: cover;
}

.review__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-success);
  font-size: 0.8rem;
  font-weight: 500;
}

.review__verified .icon {
  width: 1rem;
  height: 1rem;
}

.review__reply {
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--color-fg);
  background: var(--color-surface);
  font-size: 0.9rem;
}

.review__reply p {
  margin: 0;
}

.review__reply-title {
  margin-bottom: 0.25rem !important;
  font-weight: 600;
}

.reviews .pagination {
  margin: 1.5rem 0 0;
}

/* « Disposition des avis » (#1239): grid, carousel or mosaic instead of the list. */
.reviews__list--grid,
.reviews__list--carousel,
.reviews__list--masonry {
  border-top: 0;
}

.reviews__list--grid .review,
.reviews__list--carousel .review {
  align-content: start;
  margin-bottom: 0;
}

.reviews__list--grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.reviews__list--carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews__list--carousel::-webkit-scrollbar {
  display: none;
}

.reviews__list--carousel > li {
  min-width: 0;
  scroll-snap-align: start;
}

.reviews__list--masonry {
  columns: 1;
  column-gap: 1rem;
}

.reviews__list--masonry > li {
  margin-bottom: 1rem;
  break-inside: avoid;
}

.reviews__carousel .carousel__controls {
  margin-top: 1rem;
}

@media (min-width: 750px) {
  .reviews__list--grid {
    grid-template-columns: repeat(var(--columns-tablet, 2), minmax(0, 1fr));
  }

  .reviews__list--carousel {
    grid-auto-columns: calc(
      (100% - (var(--columns-tablet, 2) - 1) * 1rem) / var(--columns-tablet, 2)
    );
  }

  .reviews__list--masonry {
    columns: var(--columns-tablet, 2);
  }
}

@media (min-width: 990px) {
  .reviews__list--grid {
    grid-template-columns: repeat(var(--columns, 2), minmax(0, 1fr));
  }

  .reviews__list--carousel {
    grid-auto-columns: calc((100% - (var(--columns, 2) - 1) * 1rem) / var(--columns, 2));
  }

  .reviews__list--masonry {
    columns: var(--columns, 2);
  }
}

/* Review form */
.review-form {
  margin-top: 2rem;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
}

.review-form__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.review-form__summary::-webkit-details-marker {
  display: none;
}

.review-form[open] .accordion__toggle {
  transform: rotate(45deg);
}

.review-form__form {
  display: grid;
  gap: 1rem;
  padding: 0 1.25rem 1.25rem;
}

.review-form__verified {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--color-success);
  font-size: 0.9rem;
}

.review-form__rating {
  margin: 0;
  padding: 0;
  border: 0;
}

.review-form__rating legend,
.review-form__field label {
  margin-bottom: 0.4rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Radios are in 5..1 order and shown reversed, so `~` lights every star up to the hovered or checked one. */
.rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
}

.rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-input label {
  color: var(--color-border);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.1s ease;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
  color: #e3a008;
}

.rating-input input:focus-visible + label {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.review-form__row {
  display: grid;
  gap: 1rem;
}

.review-form__field {
  display: grid;
}

.review-form__field small {
  margin-top: 0.3rem;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.review-form__field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: inherit;
  font: inherit;
  resize: vertical;
}

.review-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

@media (min-width: 750px) {
  .review-form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 990px) {
  .reviews--side {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 4rem;
    align-items: start;
  }

  .reviews--side .reviews__aside {
    position: sticky;
    top: 1.5rem;
  }
}

/* Pickup point opening hours (issue #314) */
.pickup-hours {
  display: grid;
  gap: 0.125rem 1rem;
  margin: 0.25rem 0 0;
  font-size: 0.875em;
}
.pickup-hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.pickup-hours dt {
  text-transform: capitalize;
}
.pickup-hours dd {
  margin: 0;
}
/* ------------------------------------------------------------------ theme blocks (#1240) */
/* blocks/*.liquid: placed in « Section libre » (sections/content-blocks.liquid) or in the product
   page. Grids follow the block's own width: `--tb-columns` from 600px, `--tb-columns-mobile`
   below (phones and the product page's info column). Colors come from the section's scheme. */

.content-blocks__inner {
  display: flex;
  flex-direction: column;
  gap: var(--content-blocks-gap, 32px);
}

.content-blocks__inner--narrow {
  max-width: calc(42rem + 2 * var(--gutter));
}

.content-blocks__inner--medium {
  max-width: calc(60rem + 2 * var(--gutter));
}

.content-blocks__inner--row {
  flex-flow: row wrap;
  align-items: center;
}

.content-blocks__inner--center {
  align-items: center;
  text-align: center;
}

.content-blocks__inner--row.content-blocks__inner--center {
  justify-content: center;
}

.content-blocks__inner > .tb {
  width: 100%;
}

.content-blocks__inner--row > .tb {
  flex: 1 1 18rem;
  width: auto;
}

.content-blocks__inner--row > .tb-proof,
.content-blocks__inner--row > .tb-label-wrap {
  flex: 0 1 auto;
}

.tb-steps,
.tb-box,
.tb-benefits,
.tb-timeline {
  container-type: inline-size;
}

.tb-grid {
  display: grid;
  grid-template-columns: repeat(var(--tb-columns-mobile, 1), minmax(0, 1fr));
  gap: var(--tb-gap, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@container (min-width: 600px) {
  .tb-grid {
    grid-template-columns: repeat(var(--tb-columns, 3), minmax(0, 1fr));
  }
}

.tb-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.tb-head--center {
  justify-items: center;
  text-align: center;
}

.tb-head__eyebrow {
  margin: 0;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tb-head__title {
  margin: 0;
  font-size: clamp(1.375rem, 1rem + 2.4cqi, 2.25rem);
}

/* Numbered steps */
.tb-steps__step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  min-width: 0;
  padding: 1.25rem;
  border-radius: calc(var(--radius) * 2);
}

.tb-steps--card .tb-steps__step {
  background: var(--color-surface);
}

.tb-steps--bordered .tb-steps__step {
  border: 1px solid var(--color-border);
}

.tb-steps--plain .tb-steps__step {
  padding: 0;
}

.tb-steps--number-top .tb-steps__step {
  flex-direction: column;
  gap: 0.75rem;
}

.tb-steps__number {
  flex: none;
  min-width: 2ch;
  color: var(--tb-steps-number, var(--color-accent));
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tb-steps__body {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.tb-steps__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
}

.tb-steps__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  white-space: pre-line;
}

/* In the box */
.tb-box__item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: calc(var(--radius) * 1.5);
}

.tb-box--card .tb-box__item {
  background: var(--color-surface);
}

.tb-box--bordered .tb-box__item {
  border: 1px solid var(--color-border);
}

.tb-box--plain .tb-box__item {
  padding: 0;
}

.tb-box__check {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: calc(var(--radius) * 0.75 + 2px);
  background: var(--tb-box-check, var(--color-accent));
  color: var(--color-accent-fg, #fff);
}

.tb-box__check .icon {
  width: 1rem;
  height: 1rem;
}

.tb-box__check--emoji {
  background: none;
}

.tb-box__check--emoji .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.tb-box__label {
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}

.tb-box__footnote {
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
  text-align: center;
}

/* Benefit list */
.tb-benefits--boxed {
  padding: clamp(1.25rem, 4cqi, 2rem);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2.5);
  background: var(--color-bg);
}

.tb-benefits__list {
  column-gap: clamp(1rem, 4cqi, 2.5rem);
}

.tb-benefits__item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  min-width: 0;
  padding: 1rem 0;
}

.tb-benefits--dividers .tb-benefits__item {
  border-top: 1px solid var(--color-border);
}

.tb-benefits__tile {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--tb-benefit-tile, var(--color-surface));
  color: var(--color-fg);
}

.tb-benefits__tile .icon {
  width: 1.375rem;
  height: 1.375rem;
}

.tb-benefits__body {
  display: grid;
  flex: 1;
  gap: 0.2rem;
  min-width: 0;
}

.tb-benefits__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.tb-benefits__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-line;
}

.tb-benefits__badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--tb-benefit-badge, var(--color-accent));
  color: var(--color-accent-fg, #fff);
}

.tb-benefits__badge .icon {
  width: 0.75rem;
  height: 0.75rem;
}

/* Social proof: the avatars and the text in one box, on one background. */
.tb-proof {
  display: flex;
  align-items: center;
}

.tb-proof__box {
  --tb-proof-box: var(--tb-proof-bg, var(--color-surface));
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  border-radius: 999px;
  background: var(--tb-proof-box);
  color: var(--tb-proof-fg, var(--color-fg));
}

.tb-proof__box:not(:has(.tb-proof__avatars)) {
  padding-left: 1rem;
}

.tb-proof--center {
  justify-content: center;
}

.tb-proof--right {
  justify-content: flex-end;
}

.tb-proof__avatars {
  display: inline-flex;
  flex: none;
  padding-left: 0.6rem;
}

.tb-proof__avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: -0.6rem;
  border: 2px solid var(--tb-proof-box, var(--color-bg));
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-muted);
}

.tb-proof__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.tb-proof__avatar--empty .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.tb-proof__check {
  position: absolute;
  z-index: 1;
  right: -0.2rem;
  bottom: -0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--tb-proof-box, var(--color-bg));
  border-radius: 50%;
  background: var(--tb-proof-check, var(--color-accent));
  color: var(--color-accent-fg, #fff);
}

.tb-proof__check .icon {
  width: 0.55rem;
  height: 0.55rem;
}

.tb-proof__pill {
  display: inline-grid;
  min-width: 0;
  margin: 0;
  color: inherit;
  line-height: 1.25;
}

.tb-proof__count {
  font-weight: 700;
}

.tb-proof__label {
  font-weight: 600;
}

.tb-proof__caption {
  color: var(--tb-proof-fg, var(--color-muted));
  font-size: 0.8125rem;
}

.tb-proof--band .tb-proof__box {
  --tb-proof-box: var(--tb-proof-bg, var(--color-accent));
  padding-block: 0.45rem;
  border-radius: 1.5rem;
  color: var(--tb-proof-fg, var(--color-accent-fg, #fff));
}

.tb-proof--band .tb-proof__pill {
  display: inline-block;
  font-size: 0.9375rem;
}

.tb-proof--band .tb-proof__main,
.tb-proof--band .tb-proof__caption {
  color: inherit;
  font-size: inherit;
  font-weight: 600;
}

/* Delivery timeline */
.tb-timeline__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-timeline__step {
  position: relative;
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  align-content: start;
  min-width: 0;
  text-align: center;
}

/* The bar joining the circles: from this circle's center to the next one's. */
.tb-timeline__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(1.375rem - 1.5px);
  left: 50%;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--tb-timeline-line, var(--tb-timeline-circle, var(--color-fg)));
}

.tb-timeline__circle {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.4rem;
  border-radius: 50%;
  background: var(--tb-timeline-circle, var(--color-fg));
  color: var(--tb-timeline-icon, var(--color-bg));
}

.tb-timeline__circle .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.tb-timeline__label {
  font-size: 0.875rem;
  font-weight: 600;
}

.tb-timeline__date {
  color: var(--color-muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

/* Label badge */
.tb-label-wrap {
  display: flex;
}

.tb-label-wrap--center {
  justify-content: center;
}

.tb-label-wrap--right {
  justify-content: flex-end;
}

.tb-label {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6em;
  align-items: center;
  margin: 0;
  padding: 0.45em 0.8em;
  border: 1.5px solid var(--tb-label-color, var(--color-fg));
  border-radius: calc(var(--radius) * 0.5);
  color: var(--tb-label-color, var(--color-fg));
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tb-label--filled {
  background: var(--tb-label-color, var(--color-fg));
  color: var(--tb-label-text, var(--color-bg));
}

.tb-label--soft {
  border-color: transparent;
  background: color-mix(in srgb, var(--tb-label-color, var(--color-fg)) 10%, transparent);
}

.tb-label__divider {
  align-self: stretch;
  width: 1.5px;
  background: currentColor;
  opacity: 0.45;
}

/*
 * « Lumière douce »: the theme's art direction (Theme settings > Animations).
 * - Light (`body[data-soul]`, « Ombres et reflets »): soft layered shadows under media and
 *   cards, a gloss on icon tiles. Shadows mix the section's own text color, so dark color
 *   schemes keep them right.
 * - Motion (`body[data-motion]`, « Animations », never with « reduce motion »): cards lift on
 *   hover, a light sweeps over primary buttons, the first banner settles in, and with
 *   « Apparition au défilement » the items of a section come in one after the other (theme.js
 *   marks them `data-soul-item`). Animations end on their natural state (fill-mode backwards),
 *   so parallax and hover transforms keep working after them.
 */
:root {
  --soul-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-soul] :where(.section, .sz, .site-footer) {
  --soul-shadow:
    0 1px 2px color-mix(in srgb, var(--color-fg) 5%, transparent),
    0 6px 18px -8px color-mix(in srgb, var(--color-fg) 14%, transparent);
  --soul-shadow-lift:
    0 2px 4px color-mix(in srgb, var(--color-fg) 6%, transparent),
    0 18px 36px -14px color-mix(in srgb, var(--color-fg) 24%, transparent);
}

/* Light: media and surfaces rest on the page. */
[data-soul]
  :is(
    .card__media,
    .collection-card__media,
    .article-card__media,
    .video-card__media,
    .split__media,
    .before-after,
    .tabs__image,
    .step__image,
    .feature__image,
    .shoppable__media,
    .testimonial__photo,
    .upsell-card,
    .features--cards .feature,
    .features--card-border .feature,
    .testimonials--card .testimonial,
    .blog-posts--card .article-card,
    .faq--card .faq__item,
    .reviews--cards-card .review,
    .countdown--cards .countdown__timer > span,
    .countdown--boxes .countdown__timer > span,
    .guarantee--card,
    .split--boxed .split__content
  ) {
  box-shadow: var(--soul-shadow);
}

/* Light: icon tiles catch a soft gloss from the top left. */
[data-soul] :is(.feature__icon, .trust-bar__icon, .guarantee__icon, .step__number) {
  background-image: radial-gradient(
    120% 90% at 25% 0%,
    color-mix(in srgb, #fff 38%, transparent),
    transparent 60%
  );
}

@media (prefers-reduced-motion: no-preference) {
  /* Motion: cards lift a little on hover (pointer devices only). */
  @media (hover: hover) and (pointer: fine) {
    [data-motion]
      :is(
        .card__media,
        .collection-card__media,
        .article-card__media,
        .video-card__media,
        .upsell-card,
        .features--cards .feature,
        .features--card-border .feature,
        .features--shadow .feature,
        .testimonials--card .testimonial,
        .testimonials--shadow .testimonial,
        .blog-posts--card .article-card,
        .reviews--cards-card .review,
        .stat,
        .step
      ) {
      transition:
        transform 0.5s var(--soul-ease),
        box-shadow 0.5s var(--soul-ease);
    }

    [data-motion]
      :is(
        .card__link:hover .card__media,
        .collection-card:hover .collection-card__media,
        .article-card:hover .article-card__media,
        .video-card:hover .video-card__media,
        .upsell-card:hover,
        .features--cards .feature:hover,
        .features--card-border .feature:hover,
        .features--shadow .feature:hover,
        .testimonials--card .testimonial:hover,
        .testimonials--shadow .testimonial:hover,
        .blog-posts--card .article-card:hover,
        .reviews--cards-card .review:hover,
        .stat:hover,
        .step:hover
      ) {
      transform: translateY(-3px);
      box-shadow: var(--soul-shadow-lift);
    }

    /* Motion: a light sweeps once over a primary button on hover. */
    [data-motion] .button:not(.button--secondary) {
      overflow: hidden;
    }

    [data-motion] .button:not(.button--secondary)::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        105deg,
        transparent 30%,
        color-mix(in srgb, #fff 26%, transparent) 50%,
        transparent 70%
      );
      transform: translateX(-120%);
      pointer-events: none;
    }

    [data-motion] .button:not(.button--secondary):hover:not([disabled])::before {
      transform: translateX(120%);
      transition: transform 0.9s var(--soul-ease);
    }
  }

  /* Motion: the first banner of the page settles in (unless it has its own « Animation »). */
  [data-motion] #main > .section:first-child .hero:not([data-anim]) .hero__image {
    animation: soul-settle 1.8s var(--soul-ease) backwards;
  }

  [data-motion] #main > .section:first-child .hero:not([data-anim]) .hero__text-wrap {
    animation: soul-rise 1s var(--soul-ease) 0.15s backwards;
  }

  /* Motion: with « Apparition au défilement », the items of a section follow each other. */
  .js [data-reveal] #main > .section [data-soul-item] {
    opacity: 0;
    transform: translateY(0.9rem);
    transition:
      opacity 0.7s var(--soul-ease),
      transform 0.7s var(--soul-ease);
    transition-delay: calc(var(--soul-i, 0) * 70ms + 120ms);
  }

  .js [data-reveal] #main > .section.is-revealed [data-soul-item] {
    opacity: 1;
    transform: none;
  }
}

@keyframes soul-settle {
  from {
    transform: scale(1.06);
  }
}

@keyframes soul-rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
}

/*
 * Motion design des sections (#1308): a section's « Animation » setting becomes `data-anim` on
 * its outer element (snippet section-box), played once when it reaches the screen: theme.js adds
 * `is-anim-in` (one shared IntersectionObserver), numbers the items of the cascade (`--anim-i`
 * from 0, 12 at most, `--anim-n` items) and handles what CSS cannot (counting figures, card
 * offsets, scroll progress `--anim-p` where `animation-timeline` is missing).
 * - Start states only with JS (`.js`), « Animations » on (`[data-motion]`) and no « reduce
 *   motion »: otherwise the section shows as it is. The first section of the page plays at once,
 *   without waiting for theme.js, so a banner is never hidden at first paint.
 * - Only transform-like properties (`translate`, `scale`, `rotate`, which add to a transform the
 *   section already has), opacity, clip-path and light filters: nothing moves the layout.
 * - Animations end on the element's own state (fill-mode backwards), so hover effects work after.
 * - Smaller moves below 750px (`--anim-shift`, `--anim-slide`).
 */
/* Before / after « Démonstration » and « Dévoilement »: the divider's offset, in % (theme.js). */
@property --ba-shift {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --anim-shift: 1.5rem;
  --anim-slide: 2.5rem;
  --anim-depth: 14%;
  --anim-float: 5rem;
}

@media (max-width: 749px) {
  :root {
    --anim-shift: 0.9rem;
    --anim-slide: 1rem;
    --anim-depth: 8%;
    --anim-float: 2.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Start states: until the section is in (never the first section of the page). */
  .js [data-motion] [data-anim]:not(.is-anim-in, #main > .section:first-child > *) {
    &[data-anim="curtain"] .hero__text-wrap > *,
    &[data-anim="shine"] .hero__buttons,
    &:is([data-anim="cross"], [data-anim="reveal"]) .split__content,
    &[data-anim="cross"] .split__media,
    &:is([data-anim="cascade"], [data-anim="light_line"]) .feature,
    &[data-anim="bloom"] :is(.feature__icon, .feature__image, .feature__body),
    &:is([data-anim="soft_cascade"], [data-anim="stack"], [data-anim="stars"]) .testimonial,
    &:is([data-anim="counter"], [data-anim="gauges"]) .stat,
    &[data-anim="impact"] .stat > *,
    &[data-anim="path"] .step > *,
    &[data-anim="numbers"] :is(.step__number, .step__body, .step__image),
    &[data-anim="slide"] .step {
      opacity: 0;
    }

    &[data-anim="reveal"] .split__media {
      clip-path: inset(0 100% 0 0);
    }

    &[data-anim="reveal"] .split--image-right .split__media {
      clip-path: inset(0 0 0 100%);
    }

    &[data-anim="path"] .steps--timeline::before {
      scale: 1 0;
    }
  }

  /* Playing: once in, or at once for the first section of the page. */
  .js [data-motion] :is([data-anim].is-anim-in, #main > .section:first-child > [data-anim]) {
    /* Bannière — « Lever de rideau »: the lines rise from behind a mask, the image settles. */
    &[data-anim="curtain"] {
      .hero__image {
        animation: anim-settle 1.2s var(--soul-ease) backwards;
      }

      .hero__text-wrap > * {
        animation: anim-curtain 0.9s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-k, 0) * 90ms + 60ms);
      }

      .hero__text-wrap > :nth-child(2) {
        --anim-k: 1;
      }

      .hero__text-wrap > :nth-child(3) {
        --anim-k: 2;
      }

      .hero__text-wrap > :nth-child(4) {
        --anim-k: 3;
      }

      .hero__text-wrap > :nth-child(n + 5) {
        --anim-k: 4;
      }
    }

    /* Bannière — « Éclat »: a veil of light crosses the image, the buttons come last. */
    &[data-anim="shine"] {
      .hero__media::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          105deg,
          transparent 30%,
          color-mix(in srgb, #fff 34%, transparent) 50%,
          transparent 70%
        );
        pointer-events: none;
        animation: anim-sweep 1.2s cubic-bezier(0.45, 0, 0.25, 1) 0.2s both;
      }

      .hero__buttons {
        animation: anim-rise 0.8s var(--soul-ease) 0.95s backwards;
      }
    }

    /* Image avec texte — « Glissé croisé »: the image from its side, the text from the other. */
    &[data-anim="cross"] {
      .split__media {
        --anim-x: calc(var(--anim-slide) * -1);
        animation: anim-from-x 1s var(--soul-ease) backwards;
      }

      .split__content {
        --anim-x: var(--anim-slide);
        animation: anim-from-x 1s var(--soul-ease) 0.12s backwards;
      }

      .split--image-right .split__media {
        --anim-x: var(--anim-slide);
      }

      .split--image-right .split__content {
        --anim-x: calc(var(--anim-slide) * -1);
      }
    }

    /* Image avec texte — « Révélation »: the image opens like a shutter, the text follows. */
    &[data-anim="reveal"] {
      .split__media {
        animation: anim-wipe-right 1.1s var(--soul-ease) backwards;
      }

      .split--image-right .split__media {
        animation-name: anim-wipe-left;
      }

      .split__media :is(img, .placeholder) {
        animation: anim-settle 1.4s var(--soul-ease) backwards;
      }

      .split__content {
        animation: anim-rise 0.8s var(--soul-ease) 0.35s backwards;
      }
    }

    /* Points forts — « Cascade »: the cards come one after the other. */
    &[data-anim="cascade"] .feature {
      animation: anim-rise 0.8s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 80ms);
    }

    /* Points forts — « Éclosion »: icons grow from their center, then the text. */
    &[data-anim="bloom"] {
      :is(.feature__icon, .feature__image) {
        animation: anim-pop 0.7s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 80ms);
      }

      .feature__body {
        animation: anim-rise 0.7s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 80ms + 200ms);
      }
    }

    /* Points forts — « Ligne de lumière »: a line runs along the row and lights each card. */
    &[data-anim="light_line"] {
      .features {
        position: relative;
      }

      .features::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 35%;
        height: 2px;
        background: linear-gradient(
          90deg,
          transparent,
          color-mix(in srgb, var(--color-fg) 70%, transparent),
          transparent
        );
        pointer-events: none;
        animation: anim-travel 1.2s cubic-bezier(0.45, 0, 0.25, 1) both;
      }

      .feature {
        animation: anim-light 0.9s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 900ms / var(--anim-n, 1) + 150ms);
      }
    }

    /* Témoignages — « Cascade douce »: the cards rise one by one. */
    &[data-anim="soft_cascade"] .testimonial {
      animation: anim-rise-far 1s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 90ms);
    }

    /* Témoignages — « Pile »: the cards spread out of one deck. */
    &[data-anim="stack"] .testimonial {
      animation: anim-stack 1.1s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 60ms);
    }

    /* Témoignages — « Étoiles »: the stars fill one by one, then the text comes. */
    &[data-anim="stars"] .testimonial {
      --anim-at: calc(var(--anim-i, 0) * 90ms);
      animation: anim-fade 0.5s var(--soul-ease) var(--anim-at) backwards;

      .stars__fill {
        animation: anim-fill 0.9s cubic-bezier(0.45, 0, 0.25, 1) calc(var(--anim-at) + 200ms)
          backwards;
      }

      :is(.stars__tile, .star-box) {
        animation: anim-pop 0.45s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-at) + 200ms + var(--anim-k, 0) * 90ms);
      }

      :is(.stars__tile, .star-box):nth-child(2) {
        --anim-k: 1;
      }

      :is(.stars__tile, .star-box):nth-child(3) {
        --anim-k: 2;
      }

      :is(.stars__tile, .star-box):nth-child(4) {
        --anim-k: 3;
      }

      :is(.stars__tile, .star-box):nth-child(5) {
        --anim-k: 4;
      }

      > :not(.stars, .star-boxes) {
        animation: anim-rise 0.7s var(--soul-ease) calc(var(--anim-at) + 700ms) backwards;
      }
    }

    /* Chiffres — « Compteur »: the figures count up to their value (theme.js) as they rise. */
    &[data-anim="counter"] .stat {
      animation: anim-rise 0.8s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 80ms);

      .stat__value {
        font-variant-numeric: tabular-nums;
      }
    }

    /* Chiffres — « Jauges »: bars and rings fill up; plain figures are drawn from the left. */
    &[data-anim="gauges"] .stat {
      --anim-at: calc(var(--anim-i, 0) * 80ms);
      animation: anim-fade 0.6s var(--soul-ease) var(--anim-at) backwards;

      .stat__bar span {
        transform-origin: left;
        animation: anim-grow-x 1.1s var(--soul-ease) calc(var(--anim-at) + 150ms) backwards;
      }

      .stat__ring-value {
        animation: anim-ring 1.2s var(--soul-ease) calc(var(--anim-at) + 150ms) backwards;
      }
    }

    &[data-anim="gauges"] .stats:not(.stats--style-rings, .stats--style-bars) .stat__value {
      animation: anim-fill 1s var(--soul-ease) calc(var(--anim-i, 0) * 80ms + 150ms) backwards;
    }

    /* Chiffres — « Impact »: each figure lands with a light bounce. */
    &[data-anim="impact"] .stat {
      --anim-at: calc(var(--anim-i, 0) * 80ms);

      > * {
        animation: anim-fade 0.6s var(--soul-ease) calc(var(--anim-at) + 250ms) backwards;
      }

      > :is(.stat__value, .stat__ring) {
        animation: anim-impact 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) var(--anim-at) backwards;
      }
    }

    /* Étapes — « Parcours »: a line links the steps in order, each step follows it. */
    &[data-anim="path"] {
      .step {
        --anim-at: calc(var(--anim-i, 0) * 1000ms / var(--anim-n, 1));
      }

      .step > * {
        animation: anim-rise 0.7s var(--soul-ease) calc(var(--anim-at) + 200ms) backwards;
      }

      .steps:not(.steps--timeline) .step {
        position: relative;
      }

      .steps:not(.steps--timeline) .step::after {
        content: "";
        position: absolute;
        top: -1px;
        right: 0;
        left: 0;
        height: 2px;
        background: var(--steps-accent, var(--color-fg));
        transform-origin: left;
        pointer-events: none;
        animation: anim-path 0.8s cubic-bezier(0.45, 0, 0.25, 1) var(--anim-at) both;
      }

      .steps--list .step::after {
        top: auto;
        bottom: -1px;
      }

      :is(.steps--style-card, .steps--style-bordered) .step::after {
        right: 1.5rem;
        left: 1.5rem;
      }

      .steps--timeline::before {
        transform-origin: top;
        animation: anim-grow-y 1.2s cubic-bezier(0.45, 0, 0.25, 1) backwards;
      }
    }

    /* Étapes — « Numéros »: each number pops, then its text. */
    &[data-anim="numbers"] {
      .step__number {
        animation: anim-pop 0.55s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 90ms);
      }

      :is(.step__body, .step__image) {
        animation: anim-rise 0.7s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 90ms + 200ms);
      }
    }

    /* Étapes — « Cascade horizontale »: the steps slide in from the left. */
    &[data-anim="slide"] .step {
      --anim-x: calc(var(--anim-slide) * -1);
      animation: anim-from-x 0.9s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 90ms);
    }
  }

  /* Lot 2: start states. */
  .js [data-motion] [data-anim]:not(.is-anim-in, #main > .section:first-child > *) {
    &:is([data-anim="cascade"], [data-anim="sharpen"], [data-anim="wave"]) .card,
    &:is([data-anim="mosaic"], [data-anim="soft_zoom"]) .collection-card,
    &[data-anim="rows"] .compare tbody tr,
    &[data-anim="checks"] :is(.compare__yes, .compare__no),
    &[data-anim="seal"] :is(.guarantee__seal, .guarantee__icon, .guarantee__body),
    &[data-anim="cascade"] :is(.guarantee__body > *, .guarantee__points > li),
    &:is([data-anim="dots"], [data-anim="zoom"]) .hotspot__dot {
      opacity: 0;
    }

    &[data-anim="curtain"] .collection-card {
      clip-path: inset(0 0 100% 0);
    }

    &[data-anim="unveil"] .before-after {
      --ba-shift: var(--ba-from, 50);
    }
  }

  /* Lot 2: playing. */
  .js [data-motion] :is([data-anim].is-anim-in, #main > .section:first-child > [data-anim]) {
    /* Grille de produits — « Cascade »: the cards come row after row. */
    &[data-anim="cascade"] .card {
      animation: anim-rise 0.8s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-row, 0) * 110ms + var(--anim-col, 0) * 40ms);
    }

    /* Grille de produits — « Fondu net »: the photos come into focus. */
    &[data-anim="sharpen"] .card {
      --anim-at: calc(var(--anim-i, 0) * 60ms);
      animation: anim-fade 0.6s var(--soul-ease) var(--anim-at) backwards;

      .card__media img {
        animation: anim-sharpen 1.2s cubic-bezier(0.25, 0.6, 0.3, 1) var(--anim-at) backwards;
      }
    }

    /* Grille de produits — « Vague »: the cards rise from left to right. */
    &[data-anim="wave"] .card {
      animation: anim-rise-far 1s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-col, 0) * 90ms + var(--anim-row, 0) * 50ms);
    }

    /* Liste de collections — « Mosaïque »: the tiles come in a scattered order. */
    &[data-anim="mosaic"] .collection-card {
      animation: anim-tile 0.8s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 70ms);
    }

    /* Liste de collections — « Zoom doux »: the photos settle from a slight zoom. */
    &[data-anim="soft_zoom"] .collection-card {
      --anim-at: calc(var(--anim-i, 0) * 70ms);
      animation: anim-fade 0.7s var(--soul-ease) var(--anim-at) backwards;

      .collection-card__media img {
        animation: anim-settle-far 1.2s var(--soul-ease) var(--anim-at) backwards;
      }
    }

    /* Liste de collections — « Rideau »: each tile opens downward like a blind. */
    &[data-anim="curtain"] .collection-card {
      animation: anim-wipe-down 1s cubic-bezier(0.65, 0, 0.25, 1) backwards;
      animation-delay: calc(var(--anim-i, 0) * 90ms);
    }

    &[data-anim="demo"] .before-after {
      animation: anim-ba-demo 1.2s cubic-bezier(0.45, 0, 0.25, 1) 0.3s backwards;
    }

    &[data-anim="unveil"] .before-after {
      animation: anim-ba-unveil 1.2s var(--soul-ease) 0.2s backwards;
    }

    /* Avant / après — « Pulsation »: the handle pulses softly, as an invitation to slide. */
    &[data-anim="pulse"] .before-after__handle {
      animation: anim-handle 1.1s ease-in-out 0.3s 3 backwards;

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        border: 2px solid var(--ba-handle, #fff);
        border-radius: 50%;
        pointer-events: none;
        animation: anim-ring-wave 1.1s var(--soul-ease) 0.3s 3 both;
      }
    }

    /* Tableau comparatif — « Lignes »: the rows come one by one. */
    &[data-anim="rows"] .compare tbody tr {
      animation: anim-rise 0.7s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 70ms);
    }

    /* Tableau comparatif — « Coches »: the shop's checks draw in, the crosses fade in softly. */
    &[data-anim="checks"] .compare tbody tr {
      --anim-at: calc(var(--anim-i, 0) * 80ms);

      .is-ours :is(.compare__yes, .compare__no) {
        animation: anim-pop 0.5s var(--soul-ease) var(--anim-at) backwards;
      }

      .is-ours .compare__yes .icon {
        animation: anim-fill 0.5s cubic-bezier(0.45, 0, 0.25, 1) calc(var(--anim-at) + 200ms)
          backwards;
      }

      td:not(.is-ours) :is(.compare__yes, .compare__no) {
        animation: anim-blur-in 0.8s var(--soul-ease) calc(var(--anim-at) + 350ms) backwards;
      }
    }

    /* Tableau comparatif — « Mise en avant »: the shop's column lifts and lights up. */
    &[data-anim="highlight"] .compare .is-ours {
      position: relative;
      animation: anim-lift 1s var(--soul-ease) 0.15s backwards;

      &::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(
          180deg,
          transparent,
          color-mix(in srgb, var(--color-fg) 9%, transparent),
          transparent
        );
        pointer-events: none;
        animation: anim-glow-once 1.4s var(--soul-ease) 0.5s both;
      }
    }

    /* Garantie — « Sceau »: the badge turns and lands, then the text. */
    &[data-anim="seal"] {
      :is(.guarantee__seal, .guarantee__icon) {
        animation: anim-seal 1s cubic-bezier(0.2, 0.8, 0.25, 1.15) backwards;
      }

      .guarantee__body {
        animation: anim-rise 0.8s var(--soul-ease) 0.45s backwards;
      }
    }

    /* Garantie — « Cascade »: the text, then each promise one after the other. */
    &[data-anim="cascade"] {
      .guarantee__body > * {
        animation: anim-rise 0.7s var(--soul-ease) backwards;
      }

      .guarantee__body > :nth-child(2) {
        animation-delay: 80ms;
      }

      .guarantee__body > :nth-child(3) {
        animation-delay: 160ms;
      }

      .guarantee__body > :nth-child(n + 4) {
        animation-delay: 240ms;
      }

      .guarantee__points > li {
        animation: anim-rise 0.7s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 80ms + 320ms);
      }
    }

    /* Garantie — « Lueur »: a soft halo glows once around the badge. */
    &[data-anim="glow"] :is(.guarantee__seal, .guarantee__icon) {
      position: relative;
      isolation: isolate;

      &::after {
        content: "";
        position: absolute;
        inset: -40%;
        z-index: -1;
        border-radius: 50%;
        background: radial-gradient(
          circle,
          color-mix(in srgb, var(--guarantee-icon-bg, var(--color-fg)) 28%, transparent) 0,
          transparent 65%
        );
        pointer-events: none;
        animation: anim-halo 1.6s var(--soul-ease) 0.2s both;
      }
    }

    /* Image interactive — « Points »: the hotspots appear one by one, each with a ripple. */
    &[data-anim="dots"] .hotspot {
      --anim-at: calc(var(--anim-i, 0) * 120ms + 200ms);

      .hotspot__dot {
        animation: anim-pop 0.6s var(--soul-ease) var(--anim-at) backwards;
      }

      .hotspot__dot::after {
        content: "";
        position: absolute;
        inset: 0;
        border: 2px solid var(--hotspot, #fff);
        border-radius: 50%;
        pointer-events: none;
        animation: anim-ring-wave 1.1s var(--soul-ease) calc(var(--anim-at) + 150ms) both;
      }
    }

    /* Image interactive — « Zoom »: the image settles, then the hotspots arrive. */
    &[data-anim="zoom"] {
      .shoppable__media :is(img, .placeholder) {
        animation: anim-settle-far 1.3s var(--soul-ease) backwards;
      }

      .hotspot__dot {
        animation: anim-pop 0.6s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 90ms + 800ms);
      }
    }

    /* Image interactive — « Onde continue »: the hotspots send out a slow ripple. */
    &[data-anim="ripple"] {
      .shoppable--pulse .hotspot__dot::before {
        display: none;
      }

      .hotspot__dot::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: 50%;
        background: var(--hotspot, #fff);
        pointer-events: none;
        animation: anim-ripple 2.8s cubic-bezier(0.2, 0.6, 0.35, 1) infinite both;
        animation-delay: calc(var(--anim-i, 0) * 450ms);
      }
    }
  }

  /* Avant / après: the divider follows `--ba-shift` (0 at rest) in both its image and handle. */
  [data-motion] :is([data-anim="demo"], [data-anim="unveil"]) .before-after {
    .before-after__image--before {
      clip-path: inset(0 calc(100% - var(--position) - var(--ba-shift) * 1%) 0 0);
    }

    .before-after__handle,
    &::after {
      translate: calc(var(--ba-shift) * var(--ba-w, 0px) / 100) 0;
    }
  }

  /* Lot 3: start states. */
  .js [data-motion] [data-anim]:not(.is-anim-in, #main > .section:first-child > *) {
    &[data-anim="drop"] .countdown__timer > span,
    &[data-anim="cascade"] .video-card,
    &[data-anim="showcase"] :is(.product__media, .product__info > form > *),
    &:is([data-anim="assemble"], [data-anim="bounce"]) .fbt__item,
    &[data-anim="cascade"] .review,
    &[data-anim="stars"] .review {
      opacity: 0;
    }
  }

  /* Lot 3: playing. */
  .js [data-motion] :is([data-anim].is-anim-in, #main > .section:first-child > [data-anim]) {
    /* Diaporama — « Ken Burns »: a slow zoom on each slide's image. */
    &[data-anim="ken_burns"] .slider__image {
      animation: anim-ken-burns 16s ease-in-out infinite alternate both;
    }

    /* Compte à rebours — « Bascule »: each figure flips like a split-flap display (theme.js
       plays it again on every change). */
    &[data-anim="flip"] .countdown__timer {
      > span {
        perspective: 400px;
      }

      strong {
        animation: anim-flip 0.45s var(--soul-ease) backwards;
      }

      strong.anim-again {
        animation-name: anim-flip-again;
      }
    }

    /* Compte à rebours — « Battement »: the seconds beat softly. */
    &[data-anim="beat"] .countdown__timer strong[data-unit="seconds"] {
      animation: anim-beat 0.5s var(--soul-ease) both;

      &.anim-again {
        animation-name: anim-beat-again;
      }
    }

    /* Compte à rebours — « Arrivée »: the boxes drop into place one by one. */
    &[data-anim="drop"] .countdown__timer > span {
      animation: anim-drop 0.8s cubic-bezier(0.3, 1.25, 0.5, 1) backwards;
      animation-delay: calc(var(--anim-i, 0) * 90ms);
    }

    /* Vidéos clients — « Cascade »: the video cards rise one after the other. */
    &[data-anim="cascade"] .video-card {
      animation: anim-rise 0.8s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 80ms);
    }

    /* Vidéos clients — « Défilement »: the carousel glides once to show that it scrolls. */
    &[data-anim="scroll_hint"] .video-card {
      animation: anim-nudge 1.4s var(--soul-ease) 0.4s backwards;
    }

    /* Produit en vedette — « Présentation »: the image settles, then the details one by one. */
    &[data-anim="showcase"] {
      .product__media {
        animation: anim-tile 1s var(--soul-ease) backwards;
      }

      .product__info > form > * {
        animation: anim-rise 0.7s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-k, 0) * 70ms + 300ms);
      }

      .product__info > form > :nth-child(2) {
        --anim-k: 1;
      }

      .product__info > form > :nth-child(3) {
        --anim-k: 2;
      }

      .product__info > form > :nth-child(4) {
        --anim-k: 3;
      }

      .product__info > form > :nth-child(5) {
        --anim-k: 4;
      }

      .product__info > form > :nth-child(6) {
        --anim-k: 5;
      }

      .product__info > form > :nth-child(n + 7) {
        --anim-k: 6;
      }
    }

    /* Produit en vedette — « Halo »: a soft light passes behind the product. */
    &[data-anim="halo"] .product__media {
      position: relative;
      isolation: isolate;

      &::before {
        content: "";
        position: absolute;
        inset: -8%;
        z-index: -1;
        border-radius: 50%;
        background: radial-gradient(
          closest-side,
          color-mix(in srgb, var(--color-fg) 16%, transparent),
          transparent
        );
        pointer-events: none;
        animation: anim-halo-pass 2s var(--soul-ease) 0.2s both;
      }
    }

    /* Souvent achetés ensemble — « Assemblage »: the products come one by one, then the « + ». */
    &[data-anim="assemble"] .fbt__item {
      --anim-at: calc(var(--anim-i, 0) * 120ms);
      animation: anim-rise 0.7s var(--soul-ease) var(--anim-at) backwards;

      &::before {
        animation: anim-pop 0.5s var(--soul-ease) calc(var(--anim-at) + 250ms) backwards;
      }
    }

    /* Souvent achetés ensemble — « Total »: the total counts up (theme.js) as it comes in. */
    &[data-anim="total"] .fbt__total strong {
      display: inline-block;
      font-variant-numeric: tabular-nums;
      animation: anim-impact 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) 0.2s backwards;
    }

    /* Souvent achetés ensemble — « Rebond »: once every product is in, the button bounces. */
    &[data-anim="bounce"] {
      .fbt__item {
        animation: anim-rise 0.7s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 90ms);
      }

      .fbt__footer .button {
        animation: anim-bounce 0.9s var(--soul-ease) calc(var(--anim-n, 1) * 90ms + 450ms) both;
      }
    }

    /* Avis produits — « Note »: the average counts up (theme.js), the bars fill. */
    &[data-anim="rating"] {
      .reviews__score {
        animation: anim-impact 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
      }

      .reviews__bar span {
        transform-origin: left;
        animation: anim-grow-x 1.1s var(--soul-ease) backwards;
      }

      .reviews__bars > :nth-child(2) .reviews__bar span {
        animation-delay: 80ms;
      }

      .reviews__bars > :nth-child(3) .reviews__bar span {
        animation-delay: 160ms;
      }

      .reviews__bars > :nth-child(4) .reviews__bar span {
        animation-delay: 240ms;
      }

      .reviews__bars > :nth-child(5) .reviews__bar span {
        animation-delay: 320ms;
      }
    }

    /* Avis produits — « Cascade »: the reviews rise one by one. */
    &[data-anim="cascade"] .review {
      animation: anim-rise 0.8s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 80ms);
    }

    /* Avis produits — « Étoiles »: each review's stars fill in turn. */
    &[data-anim="stars"] .review {
      --anim-at: calc(var(--anim-i, 0) * 90ms);
      animation: anim-fade 0.5s var(--soul-ease) var(--anim-at) backwards;

      .stars__fill {
        animation: anim-fill 0.9s cubic-bezier(0.45, 0, 0.25, 1) calc(var(--anim-at) + 200ms)
          backwards;
      }

      :is(.stars__tile, .star-box) {
        animation: anim-pop 0.45s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-at) + 200ms + var(--anim-k, 0) * 90ms);
      }

      :is(.stars__tile, .star-box):nth-child(2) {
        --anim-k: 1;
      }

      :is(.stars__tile, .star-box):nth-child(3) {
        --anim-k: 2;
      }

      :is(.stars__tile, .star-box):nth-child(4) {
        --anim-k: 3;
      }

      :is(.stars__tile, .star-box):nth-child(5) {
        --anim-k: 4;
      }
    }
  }

  /*
   * Diaporama — « Fondu enchaîné », « Glissé profond »: they follow the slider's own track
   * (`view-timeline` on its horizontal axis): slides fade into each other, or their image and
   * text slide at different speeds. Without scroll timelines, the slider stays as it is.
   * Vidéos clients — « Focus »: the same on the carousel, the centered video a little larger.
   */
  @supports (animation-timeline: view()) {
    [data-motion] :is([data-anim="crossfade"], [data-anim="deep_slide"]) .slider__slide,
    [data-motion] [data-anim="focus"] .video-card {
      view-timeline: --anim-slide inline;
    }

    [data-motion] [data-anim="crossfade"] :is(.slider__image, .slider__caption),
    [data-motion] [data-anim="deep_slide"] :is(.slider__image, .slider__caption),
    [data-motion] [data-anim="focus"] .video-card__media {
      animation-duration: 1ms;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: --anim-slide;
    }

    [data-motion] [data-anim="crossfade"] :is(.slider__image, .slider__caption) {
      animation-name: anim-crossfade;
    }

    /* One slide at a time: each slide's layers stay in place while the track moves, the next
       one fades in over the current one (a true crossfade; corners and colors on the layers). */
    [data-motion] [data-anim="crossfade"] .slider--single .slider__slide {
      container-type: inline-size;
      isolation: isolate;
      overflow: visible;
      background: none;

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: var(--slide-radius, 0px);
        background: var(--slide-bg, var(--color-surface));
      }

      .slider__image {
        border-radius: var(--slide-radius, 0px);
      }

      &::before,
      &::after,
      .slider__image,
      .slider__caption {
        animation-name: anim-crossfade-still;
        animation-duration: 1ms;
        animation-timing-function: linear;
        animation-fill-mode: both;
        animation-timeline: --anim-slide;
      }

      &::after {
        animation-name: anim-crossfade-overlay;
      }

      /* The text box is narrower than the slide: it moves by the slide's width. */
      .slider__caption {
        animation-name: anim-crossfade-text;
      }
    }

    [data-motion] [data-anim="deep_slide"] .slider__image {
      scale: 1.2;
      animation-name: anim-deep-image;
    }

    [data-motion] [data-anim="deep_slide"] .slider__caption {
      animation-name: anim-deep-text;
    }

    [data-motion] [data-anim="focus"] .video-card__media {
      animation-name: anim-focus;
    }
  }

  /*
   * Scroll linked (« défilement »): progress while the section crosses the screen, from
   * `animation-timeline` where supported, else from theme.js (`--anim-p`, 0.5 = centered).
   */
  [data-motion] [data-anim="depth"] .hero__image {
    scale: 1.16;
    translate: 0 calc((var(--anim-p, 0.5) - 0.5) * var(--anim-depth));
  }

  [data-motion] [data-anim="float"] .split__media {
    translate: 0 calc((0.5 - var(--anim-p, 0.5)) * var(--anim-float));
  }

  [data-motion] [data-anim="tilt"] .gallery__slide :is(img, .placeholder) {
    scale: 1.07;
    rotate: calc((var(--anim-p, 0.5) - 0.5) * 6deg);
  }

  @supports (animation-timeline: view()) {
    [data-motion] :is([data-anim="depth"], [data-anim="float"], [data-anim="tilt"]) {
      view-timeline: --anim-view block;
    }

    [data-motion] [data-anim="depth"] .hero__image,
    [data-motion] [data-anim="float"] .split__media,
    [data-motion] [data-anim="tilt"] .gallery__slide :is(img, .placeholder) {
      translate: none;
      animation-name: anim-depth;
      animation-duration: 1ms;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: --anim-view;
    }

    [data-motion] [data-anim="float"] .split__media {
      animation-name: anim-float;
    }

    [data-motion] [data-anim="tilt"] .gallery__slide :is(img, .placeholder) {
      rotate: none;
      animation-name: anim-tilt;
    }
  }
}

@keyframes anim-rise {
  from {
    opacity: 0;
    translate: 0 var(--anim-shift);
  }
}

@keyframes anim-rise-far {
  from {
    opacity: 0;
    translate: 0 calc(var(--anim-shift) * 1.5);
  }
}

@keyframes anim-fade {
  from {
    opacity: 0;
  }
}

@keyframes anim-from-x {
  from {
    opacity: 0;
    translate: var(--anim-x, 0) 0;
  }
}

@keyframes anim-pop {
  from {
    opacity: 0;
    scale: 0.5;
  }
}

@keyframes anim-settle {
  from {
    scale: 1.08;
  }
}

@keyframes anim-curtain {
  from {
    clip-path: inset(-0.3em -0.3em 100% -0.3em);
    translate: 0 100%;
  }

  to {
    clip-path: inset(-0.3em);
  }
}

@keyframes anim-sweep {
  from {
    translate: -100% 0;
  }

  to {
    translate: 100% 0;
  }
}

@keyframes anim-wipe-right {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0);
  }
}

@keyframes anim-wipe-left {
  from {
    clip-path: inset(0 0 0 100%);
  }

  to {
    clip-path: inset(0);
  }
}

@keyframes anim-fill {
  from {
    clip-path: inset(-0.2em 100% -0.2em -0.2em);
  }

  to {
    clip-path: inset(-0.2em);
  }
}

@keyframes anim-travel {
  from {
    opacity: 0;
    translate: -100% 0;
  }

  15%,
  85% {
    opacity: 1;
  }

  to {
    opacity: 0;
    translate: 286% 0;
  }
}

@keyframes anim-light {
  from {
    opacity: 0.15;
    filter: saturate(0);
  }
}

@keyframes anim-stack {
  from {
    opacity: 0;
    translate: var(--anim-dx, 0) var(--anim-dy, 0);
    rotate: var(--anim-rot, 0deg);
    scale: 0.96;
  }

  25% {
    opacity: 1;
  }
}

@keyframes anim-grow-x {
  from {
    scale: 0 1;
  }
}

@keyframes anim-grow-y {
  from {
    scale: 1 0;
  }
}

@keyframes anim-ring {
  from {
    stroke-dashoffset: var(--percent, 0);
  }
}

@keyframes anim-impact {
  0% {
    opacity: 0;
    scale: 0.7;
  }

  55% {
    opacity: 1;
    scale: 1.06;
  }

  80% {
    scale: 0.98;
  }
}

@keyframes anim-path {
  0% {
    opacity: 1;
    scale: 0 1;
  }

  65% {
    opacity: 1;
    scale: 1 1;
  }

  100% {
    opacity: 0;
    scale: 1 1;
  }
}

@keyframes anim-depth {
  from {
    translate: 0 calc(var(--anim-depth) * -0.5);
  }

  to {
    translate: 0 calc(var(--anim-depth) * 0.5);
  }
}

@keyframes anim-float {
  from {
    translate: 0 calc(var(--anim-float) * 0.5);
  }

  to {
    translate: 0 calc(var(--anim-float) * -0.5);
  }
}

@keyframes anim-sharpen {
  from {
    filter: blur(10px);
    scale: 1.06;
  }
}

@keyframes anim-tile {
  from {
    opacity: 0;
    scale: 0.94;
  }
}

@keyframes anim-settle-far {
  from {
    scale: 1.16;
  }
}

@keyframes anim-wipe-down {
  from {
    clip-path: inset(0 0 100% 0);
  }

  to {
    clip-path: inset(0);
  }
}

@keyframes anim-ba-demo {
  0% {
    --ba-shift: 0;
  }

  35% {
    --ba-shift: 14;
  }

  70% {
    --ba-shift: -10;
  }

  100% {
    --ba-shift: 0;
  }
}

@keyframes anim-ba-unveil {
  from {
    --ba-shift: var(--ba-from, 50);
  }
}

@keyframes anim-handle {
  50% {
    scale: 1.1;
  }
}

@keyframes anim-ring-wave {
  from {
    opacity: 0.7;
    scale: 1;
  }

  to {
    opacity: 0;
    scale: 1.9;
  }
}

@keyframes anim-blur-in {
  from {
    opacity: 0;
    filter: blur(3px);
  }
}

@keyframes anim-lift {
  from {
    translate: 0 0.75rem;
    filter: brightness(0.94);
  }
}

@keyframes anim-glow-once {
  from {
    opacity: 0;
    translate: 0 -60%;
  }

  40% {
    opacity: 1;
  }

  to {
    opacity: 0;
    translate: 0 60%;
  }
}

@keyframes anim-seal {
  from {
    opacity: 0;
    rotate: -110deg;
    scale: 0.6;
  }
}

@keyframes anim-halo {
  from {
    opacity: 0;
    scale: 0.6;
  }

  40% {
    opacity: 1;
  }

  to {
    opacity: 0;
    scale: 1.25;
  }
}

@keyframes anim-ripple {
  from {
    opacity: 0.5;
    scale: 1;
  }

  70%,
  to {
    opacity: 0;
    scale: 2.4;
  }
}

@keyframes anim-ken-burns {
  from {
    scale: 1;
  }

  to {
    scale: 1.12;
  }
}

@keyframes anim-flip {
  from {
    opacity: 0.2;
    rotate: x 90deg;
  }
}

@keyframes anim-flip-again {
  from {
    opacity: 0.2;
    rotate: x 90deg;
  }
}

@keyframes anim-beat {
  40% {
    scale: 1.08;
  }
}

@keyframes anim-beat-again {
  40% {
    scale: 1.08;
  }
}

@keyframes anim-drop {
  from {
    opacity: 0;
    translate: 0 calc(var(--anim-shift) * -1.6);
  }
}

@keyframes anim-nudge {
  0% {
    translate: 0 0;
  }

  45% {
    translate: calc(var(--anim-slide) * -1.4) 0;
  }

  100% {
    translate: 0 0;
  }
}

@keyframes anim-halo-pass {
  from {
    opacity: 0;
    translate: -25% 0;
  }

  45% {
    opacity: 1;
  }

  to {
    opacity: 0;
    translate: 25% 0;
  }
}

@keyframes anim-bounce {
  0%,
  100% {
    translate: 0 0;
  }

  30% {
    translate: 0 -0.6rem;
  }

  55% {
    translate: 0 0;
  }

  72% {
    translate: 0 -0.2rem;
  }
}

@keyframes anim-tilt {
  from {
    rotate: -3deg;
  }

  to {
    rotate: 3deg;
  }
}

@keyframes anim-crossfade {
  0%,
  100% {
    opacity: 0;
  }

  35%,
  65% {
    opacity: 1;
  }
}

@keyframes anim-crossfade-still {
  0% {
    opacity: 0;
    translate: -100% 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    translate: 100% 0;
  }
}

@keyframes anim-crossfade-text {
  0% {
    opacity: 0;
    translate: -100cqw 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    translate: 100cqw 0;
  }
}

@keyframes anim-crossfade-overlay {
  0% {
    opacity: 0;
    translate: -100% 0;
  }

  50% {
    opacity: var(--overlay, 0.3);
  }

  100% {
    opacity: var(--overlay, 0.3);
    translate: 100% 0;
  }
}

@keyframes anim-deep-image {
  from {
    translate: -12% 0;
  }

  to {
    translate: 12% 0;
  }
}

@keyframes anim-deep-text {
  from {
    translate: 30% 0;
  }

  to {
    translate: -30% 0;
  }
}

@keyframes anim-focus {
  0%,
  100% {
    opacity: 0.55;
    scale: 0.95;
  }

  50% {
    opacity: 1;
    scale: 1.03;
  }
}

/*
 * Stories à la une (sections/stories.liquid): round covers in a row (scrolls on a phone,
 * centered when it fits), and the full-screen viewer (theme.js). The ring follows the theme's
 * accent unless the merchant picks its colors; a story already seen gets a quiet ring.
 */
.stories {
  --story-size: 5.25rem;
  --story-ring-width: 2.5px;
  --story-ring-1-c: var(--story-ring-1, var(--color-accent));
  --story-ring-2-c: var(
    --story-ring-2,
    color-mix(in srgb, var(--story-ring-1-c) 30%, var(--color-bg))
  );
}

.stories--small {
  --story-size: 4rem;
  --story-ring-width: 2px;
}

.stories--large {
  --story-size: 7rem;
  --story-ring-width: 3px;
}

@media (max-width: 749px) {
  .stories--medium {
    --story-size: 4.5rem;
  }

  .stories--large {
    --story-size: 5.75rem;
  }
}

.stories__list {
  display: flex;
  justify-content: safe center;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0.35rem 0.15rem 0.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  list-style: none;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.stories--left .stories__list {
  justify-content: flex-start;
}

.stories__list::-webkit-scrollbar {
  display: none;
}

.story {
  flex: none;
  width: calc(var(--story-size) + 0.75rem);
  scroll-snap-align: start;
}

.story__button {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.story__ring {
  display: grid;
  place-items: center;
  width: var(--story-size);
  aspect-ratio: 1;
  padding: var(--story-ring-width);
  border-radius: 50%;
  background: linear-gradient(45deg, var(--story-ring-2-c), var(--story-ring-1-c) 80%);
  transition:
    transform 0.35s var(--soul-ease, ease),
    background-color 0.3s ease;
}

.stories--ring-accent .story__ring {
  background: var(--story-ring-1-c);
}

.stories--ring-plain .story__ring {
  --story-ring-width: 1px;
  background: var(--color-border);
}

.stories--ring-none .story__ring {
  --story-ring-width: 0px;
  background: none;
}

.stories:is(.stories--ring-gradient, .stories--ring-accent) .story--seen .story__ring {
  background: color-mix(in srgb, var(--color-fg) 22%, var(--color-bg));
}

.story__cover {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 3px solid var(--color-bg);
  border-radius: 50%;
  background: var(--color-surface);
}

.stories--small .story__cover {
  border-width: 2px;
}

.stories--ring-none .story__cover {
  border: 0;
}

.story__cover img,
.story__cover .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__label {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story__button:focus-visible {
  outline: none;
}

.story__button:focus-visible .story__ring {
  outline: 2px solid var(--color-fg);
  outline-offset: 3px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .story__button:hover .story__ring {
    transform: scale(1.05);
  }
}

/* The viewer: a modal dialog over the page, 9:16 frame (full screen on a phone). */
html:has(.story-viewer[open]) {
  overflow: hidden;
}

.story-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.story-viewer[open] {
  display: grid;
  place-items: center;
}

.story-viewer::backdrop {
  background: rgb(10 10 10 / 0.92);
}

.story-viewer__frame {
  position: relative;
  width: min(100vw, calc(100dvh * 9 / 16));
  height: 100dvh;
  overflow: hidden;
  background: #000;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

@media (min-width: 750px) {
  .story-viewer__frame {
    --story-h: min(92dvh, 880px);
    width: calc(var(--story-h) * 9 / 16);
    height: var(--story-h);
    border-radius: 14px;
    box-shadow: 0 30px 80px rgb(0 0 0 / 0.45);
  }
}

.story-viewer__frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 7.5rem;
  background: linear-gradient(rgb(0 0 0 / 0.55), transparent);
  pointer-events: none;
}

.story-viewer__bars {
  position: absolute;
  top: calc(0.6rem + env(safe-area-inset-top));
  right: 0.6rem;
  left: 0.6rem;
  z-index: 4;
  display: flex;
  gap: 4px;
}

.story-viewer__bar {
  flex: 1;
  height: 2.5px;
  overflow: hidden;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.35);
}

.story-viewer__bar > span {
  display: block;
  height: 100%;
  background: #fff;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.story-viewer__top {
  position: absolute;
  top: calc(1.05rem + env(safe-area-inset-top));
  right: 0.35rem;
  left: 0.85rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.story-viewer__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 600;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.4);
  white-space: nowrap;
}

.story-viewer__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
}

.story-viewer__icon[hidden] {
  display: none;
}

.story-viewer__icon .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.story-viewer__pause-icon {
  box-sizing: border-box;
  width: 0.8rem;
  height: 0.95rem;
  border-inline: 3.5px solid currentColor;
}

.story-viewer[data-paused] .story-viewer__pause-icon {
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-width: 0.5rem 0 0.5rem 0.8rem;
  border-style: solid;
  border-color: transparent transparent transparent currentColor;
}

.story-viewer__sound-on,
.story-viewer[data-sound] .story-viewer__sound-off {
  display: none;
}

.story-viewer[data-sound] .story-viewer__sound-on {
  display: block;
}

.story-viewer__stage {
  position: absolute;
  inset: 0;
}

.story-slide {
  position: absolute;
  inset: 0;
  display: grid;
}

.story-slide__media {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.stories--fit-contain .story-slide__media {
  object-fit: contain;
}

.story-viewer .placeholder {
  --color-border: rgb(255 255 255 / 0.18);
  background-color: #1a1a1a;
}

.story-slide__link.button {
  position: absolute;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 4;
  min-width: min(60%, 16rem);
  translate: -50% 0;
  border-color: #fff;
  background: #fff;
  color: #0a0a0a;
}

/* Previous / next: invisible tap zones (a third and two thirds), arrows shown on hover. */
.story-viewer__nav {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 34%;
  padding: 0 0.6rem;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.story-viewer__nav--prev {
  left: 0;
}

.story-viewer__nav--next {
  right: 0;
  justify-content: flex-end;
  width: 66%;
}

.story-viewer__nav .icon {
  box-sizing: content-box;
  width: 1.1rem;
  height: 1.1rem;
  padding: 0.55rem;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
  .story-viewer__nav:hover .icon {
    opacity: 1;
  }
}

.story-viewer__nav:focus-visible {
  outline: none;
}

.story-viewer__nav:focus-visible .icon {
  opacity: 1;
  outline: 2px solid #fff;
}

.story-viewer__icon:focus-visible,
.story-slide__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .story-viewer[open] .story-viewer__frame {
    animation: story-open 0.32s var(--soul-ease, ease) backwards;
  }

  .story-slide {
    animation: story-in 0.3s ease backwards;
  }

  /* « Animation » of the section (#1308): « Rebond », « Halo », « Cascade horizontale ». */
  .js [data-motion] [data-anim]:not(.is-anim-in, #main > .section:first-child > *) {
    &:is([data-anim="bounce"], [data-anim="slide"]) .story,
    &[data-anim="halo"] .story__ring {
      opacity: 0;
    }
  }

  .js [data-motion] :is([data-anim].is-anim-in, #main > .section:first-child > [data-anim]) {
    &[data-anim="bounce"] .story {
      animation: anim-pop 0.7s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 70ms);
    }

    &[data-anim="slide"] .story {
      --anim-x: var(--anim-slide);
      animation: anim-from-x 0.9s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 70ms);
    }

    &[data-anim="halo"] {
      .story__ring {
        animation: anim-story-ring 1.1s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 80ms);
      }

      .story__cover {
        animation: anim-pop 0.8s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 80ms + 150ms);
      }
    }
  }
}

@keyframes story-open {
  from {
    opacity: 0;
    scale: 0.94;
  }
}

@keyframes story-in {
  from {
    opacity: 0.4;
  }
}

@keyframes anim-story-ring {
  from {
    opacity: 0;
    rotate: -140deg;
    scale: 0.8;
  }
}

/*
 * Histoire (sections/story.liquid, #1348): a story in small blocks, in a narrow column. Every
 * color comes from the section's: « Claire » keeps its background, « Teinte d'accent » mixes a
 * little of the accent into it, « Sombre » swaps background and text. The swap is done on the
 * inner container from values read on the section (`--sl-bg`, `--sl-fg`), so no variable refers
 * to itself. Bold words of the heading and the punchline take the theme's highlight color
 * (« Couleur de mise en valeur », else the accent).
 */
.storyline-section {
  --sl-bg: var(--color-bg);
  --sl-fg: var(--color-fg);
  --sl-accent: var(--heading-highlight, var(--color-accent));
  --sl-tint: color-mix(in srgb, var(--sl-accent) 9%, var(--color-bg));
  /* « Sombre »: the scheme's text and background swapped, kept dark on an already dark scheme. */
  --sl-dark-bg: var(--color-fg);
  --sl-dark-fg: var(--color-bg);
}

@supports (color: oklch(from red l c h)) {
  .storyline-section {
    --sl-dark-bg: oklch(from var(--color-fg) min(l, 0.24) c h);
    --sl-dark-fg: oklch(from var(--color-bg) max(l, 0.96) c h);
  }
}

.storyline-section--soft {
  background: var(--sl-tint);
}

.storyline-section--dark {
  background: var(--sl-dark-bg);
  color: var(--sl-dark-fg);
}

.storyline-section > .container {
  --sl-highlight: var(--sl-accent);
  --sl-punch: var(--sl-accent);
  --sl-icon: var(--color-accent);
  --sl-card: color-mix(in srgb, var(--color-fg) 4%, var(--color-bg));
  --sl-shadow: 0 6px 20px -12px color-mix(in srgb, var(--color-fg) 35%, transparent);
}

.storyline-section--soft > .container {
  --color-bg: var(--sl-tint);
  --sl-card: var(--sl-bg);
}

.storyline-section--dark > .container {
  --color-bg: var(--sl-dark-bg);
  --color-fg: var(--sl-dark-fg);
  --color-muted: color-mix(in srgb, var(--sl-dark-fg) 75%, var(--sl-dark-bg));
  --color-border: color-mix(in srgb, var(--sl-dark-fg) 22%, var(--sl-dark-bg));
  --color-surface: color-mix(in srgb, var(--sl-dark-fg) 10%, var(--sl-dark-bg));
  /* Buttons and check marks: light on the dark background, as the text. */
  --color-accent: var(--sl-dark-fg);
  --color-accent-fg: var(--sl-dark-bg);
  --sl-highlight: var(--sl-dark-fg);
  --sl-punch: var(--sl-dark-fg);
  --sl-icon: var(--sl-dark-fg);
  --sl-card: color-mix(in srgb, var(--sl-dark-fg) 10%, var(--sl-dark-bg));
  --sl-shadow: none;
}

/* A dark accent would vanish on the dark background: it is lightened, its hue kept. */
@supports (color: oklch(from red l c h)) {
  .storyline-section--dark > .container {
    --sl-highlight: oklch(from var(--sl-accent) max(l, 0.8) c h);
  }
}

.storyline {
  display: flex;
  flex-direction: column;
  gap: var(--storyline-gap, 24px);
  max-width: 42rem;
  margin: 0 auto;
}

.storyline--medium {
  max-width: 52rem;
}

.storyline--wide {
  max-width: 64rem;
}

.storyline--center {
  text-align: center;
}

.storyline__eyebrow,
.storyline__caption {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.storyline__eyebrow + .storyline__heading {
  margin-top: calc(0.75rem - var(--storyline-gap, 24px));
}

.storyline__heading {
  margin: 0;
  font-size: calc(clamp(1.7rem, 1.1rem + 2.4vw, 2.25rem) * var(--heading-scale, 1));
  font-weight: var(--heading-weight, 700);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.storyline__heading strong {
  color: var(--sl-highlight);
}

/* Bubbles: what a customer says, alternating left and right like a chat. */
.storyline__bubbles,
.storyline__bubble-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.storyline__bubble {
  align-self: flex-start;
  max-width: 85%;
  margin: 0;
  padding: 0.625rem 1rem;
  border-radius: 1rem 1rem 1rem 0.25rem;
  background: var(--sl-card);
  box-shadow: var(--sl-shadow);
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.4;
  text-align: left;
  color: color-mix(in srgb, var(--color-fg) 82%, var(--color-bg));
}

.storyline__bubble:nth-child(even) {
  align-self: flex-end;
  border-radius: 1rem 1rem 0.25rem 1rem;
}

/* List in a card: checks, crosses or dots. */
.storyline__list {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--sl-card);
  box-shadow: var(--sl-shadow);
  text-align: left;
}

.storyline__list-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.storyline__list ul {
  display: grid;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.storyline__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.storyline__list-text {
  color: color-mix(in srgb, var(--color-fg) 86%, var(--color-bg));
}

.storyline__mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.05rem;
  border-radius: 50%;
}

.storyline__mark .icon {
  width: 0.8rem;
  height: 0.8rem;
  stroke-width: 3;
}

.storyline__list--check .storyline__mark {
  background: var(--color-accent);
  color: var(--color-accent-fg);
}

.storyline__list--cross .storyline__mark {
  background: color-mix(in srgb, var(--color-fg) 10%, transparent);
  color: color-mix(in srgb, var(--color-fg) 55%, transparent);
}

.storyline__list--dot .storyline__mark {
  width: 0.375rem;
  height: 0.375rem;
  margin: 0.5em 0.4375rem 0;
  background: var(--sl-icon);
}

/* Icons of the chips, cards and tip. */
.storyline__icon {
  display: inline-flex;
  flex: none;
  color: var(--sl-icon);
}

.storyline__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.storyline__icon--badge {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sl-icon) 12%, var(--color-bg));
}

.storyline__chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.storyline__chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  background: var(--sl-card);
  box-shadow: var(--sl-shadow);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

.storyline__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.storyline__card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--sl-card);
  box-shadow: var(--sl-shadow);
  text-align: left;
}

.storyline__cards--2 .storyline__card {
  flex-direction: column;
}

.storyline__card-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
}

.storyline__card-text {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-muted);
}

.storyline__punchline {
  margin: 0;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--sl-punch);
}

.storyline--left .storyline__punchline {
  padding-left: 1rem;
  border-left: 4px solid var(--sl-highlight);
}

.storyline__tip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem;
  border: 2px dashed color-mix(in srgb, var(--sl-icon) 35%, transparent);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--sl-card) 70%, transparent);
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
}

.storyline__tip-text {
  margin: 0;
  color: color-mix(in srgb, var(--color-fg) 86%, var(--color-bg));
}

.storyline__text {
  font-size: 1rem;
  color: var(--color-muted);
}

.storyline__image {
  overflow: hidden;
  border-radius: 1rem;
}

.storyline__image img {
  display: block;
  width: 100%;
  height: auto;
}

.storyline__image .placeholder {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.storyline__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.storyline--center .storyline__cta {
  align-items: center;
}

.storyline__note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-muted);
}

/*
 * « Photo annotée » (#1350): labels over a product photo. Under 750px they line up under the
 * photo (two columns), so they never cover each other nor the product.
 */
.storyline__callouts {
  margin: 0;
}

.storyline__callouts-media {
  position: relative;
}

.storyline__callouts-media > :is(img, picture, .placeholder) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.storyline__callouts-media > .placeholder {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.storyline__callouts-media img {
  border-radius: 1rem;
}

.storyline__callout-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.storyline__callout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: var(--sl-card);
  box-shadow: var(--sl-shadow);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

.storyline__callout .storyline__icon .icon {
  width: 1.125rem;
  height: 1.125rem;
}

/* « Étapes en photos » (#1350): numbered steps, stacked on mobile, side by side from 750px. */
.storyline__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.storyline__step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.storyline__step-media {
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
}

.storyline__step-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storyline__step-body {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.storyline__step-number {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sl-highlight);
  color: var(--sl-bg);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
}

.storyline-section--dark .storyline__step-number {
  color: var(--sl-dark-bg);
}

.storyline__step-title {
  margin: 0.375rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.storyline__step-text {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-muted);
}

@media (min-width: 750px) {
  .storyline__list {
    padding: 1.25rem;
  }

  .storyline__chips:has(> :nth-child(5)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .storyline__cards--3 .storyline__card {
    flex-direction: column;
  }

  .storyline__text {
    font-size: 1.125rem;
  }

  .storyline__image {
    border-radius: 1.5rem;
  }

  .storyline__callout-list {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    pointer-events: none;
  }

  .storyline__callout {
    position: absolute;
    max-width: 44%;
    pointer-events: auto;
  }

  .storyline__callout--top-left {
    top: 5%;
    left: 4%;
  }

  .storyline__callout--top {
    top: 5%;
    left: 50%;
    translate: -50% 0;
  }

  .storyline__callout--top-right {
    top: 5%;
    right: 4%;
  }

  .storyline__callout--middle-left {
    top: 50%;
    left: 4%;
    translate: 0 -50%;
  }

  .storyline__callout--middle-right {
    top: 50%;
    right: 4%;
    translate: 0 -50%;
  }

  .storyline__callout--bottom-left {
    bottom: 5%;
    left: 4%;
  }

  .storyline__callout--bottom {
    bottom: 5%;
    left: 50%;
    translate: -50% 0;
  }

  .storyline__callout--bottom-right {
    right: 4%;
    bottom: 5%;
  }

  .storyline__steps {
    grid-template-columns: none;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 1.25rem;
  }

  .storyline__step-body {
    flex-direction: column;
    gap: 0.5rem;
  }

  .storyline__step-number {
    width: 3rem;
    height: 3rem;
    font-size: 1.375rem;
  }

  .storyline__step-title {
    margin-top: 0;
  }
}

/*
 * Histoire — animations (#1308 conventions): « Cascade » (the blocks rise one after the other),
 * « Conversation » (the bubbles pop in turn from their side, then the rest), « Mise en avant »
 * (the heading's bold words get a marker stroke, the punchline lands, the rest fades in).
 */
@media (prefers-reduced-motion: no-preference) {
  .js
    [data-motion]
    .storyline-section[data-anim]:not(.is-anim-in, #main > .section:first-child > *) {
    :is(.storyline__eyebrow, .storyline__heading, .storyline__block) {
      opacity: 0;
    }

    &[data-anim="chat"] .storyline__bubbles {
      opacity: 1;
    }

    &[data-anim="chat"] :is(.storyline__caption, .storyline__bubble) {
      opacity: 0;
    }
  }

  .js
    [data-motion]
    :is(
      .storyline-section[data-anim].is-anim-in,
      #main > .section:first-child > .storyline-section[data-anim]
    ) {
    :is(.storyline__eyebrow, .storyline__heading) {
      animation: anim-rise 0.8s var(--soul-ease) backwards;
    }

    .storyline__heading {
      animation-delay: 80ms;
    }

    &[data-anim="cascade"] .storyline__block {
      animation: anim-rise 0.8s var(--soul-ease) backwards;
      animation-delay: calc(var(--anim-i, 0) * 90ms + 160ms);
    }

    &[data-anim="chat"] {
      .storyline__block:not(.storyline__bubbles) {
        animation: anim-rise 0.8s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 90ms + 500ms);
      }

      .storyline__caption {
        animation: anim-fade 0.6s ease 150ms backwards;
      }

      .storyline__bubble {
        transform-origin: 0 100%;
        animation: anim-story-bubble 0.6s var(--soul-ease) backwards;
        animation-delay: calc(var(--sl-k, 0) * 320ms + 250ms);
      }

      .storyline__bubble:nth-child(even) {
        transform-origin: 100% 100%;
      }

      .storyline__bubble:nth-child(2) {
        --sl-k: 1;
      }

      .storyline__bubble:nth-child(3) {
        --sl-k: 2;
      }

      .storyline__bubble:nth-child(4) {
        --sl-k: 3;
      }
    }

    &[data-anim="highlight"] {
      .storyline__block {
        animation: anim-fade 0.9s ease backwards;
        animation-delay: calc(var(--anim-i, 0) * 70ms + 200ms);
      }

      .storyline__heading strong {
        background: linear-gradient(
            color-mix(in srgb, var(--sl-highlight) 24%, transparent),
            color-mix(in srgb, var(--sl-highlight) 24%, transparent)
          )
          0 88% / 100% 0.32em no-repeat;
        animation: anim-story-marker 0.9s var(--soul-ease) 0.6s backwards;
      }

      .storyline__punchline {
        animation:
          anim-fade 0.9s ease backwards,
          anim-story-punch 0.9s var(--soul-ease) backwards;
        animation-delay: calc(var(--anim-i, 0) * 70ms + 200ms);
      }
    }
  }
}

@keyframes anim-story-bubble {
  from {
    opacity: 0;
    scale: 0.85;
    translate: 0 0.5rem;
  }
}

@keyframes anim-story-marker {
  from {
    background-size: 0 0.32em;
  }
}

@keyframes anim-story-punch {
  from {
    scale: 0.94;
  }
}
