/* Fonts are served from this site: no visitor data goes to a third party. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 560;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

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

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

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

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

:root {
  --color-accent: #D46A54;
  --color-accent-deep: #b85440;
  --color-bg-start: #FEA674;
  --color-bg-end: #FEBC97;
  --color-title: #6C4F3E;
  --color-text: #3F2A22;
  --color-navbar: #FFF6F0;
  --color-on-accent: #ffffff;
  --color-frame: #C4A574;
  --color-frame-soft: rgba(196, 165, 116, 0.55);
  --color-canvas: #fffcfa;
  --color-line: rgba(108, 79, 62, 0.14);
  --color-muted: #7d6458;
  --shadow-soft: 0 18px 50px rgba(63, 42, 34, 0.1);
  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --container: 72rem;
  --header-height: 7.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 0.5rem);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background-color: #FEEBE4;
  background-image: linear-gradient(90deg, #FFDFCF 0%, #FEEBE4 50%, #FFDFCF 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
}

h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--color-title);
  font-weight: 560;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  letter-spacing: -0.03em;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

::selection {
  background: var(--color-bg-end);
  color: var(--color-text);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--color-navbar);
  color: var(--color-title);
  padding: 0.5rem 1rem;
  z-index: 30;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--color-accent-deep);
}

.button[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}

.text-link {
  color: var(--color-title);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 0.1rem;
}

.text-link:hover {
  color: var(--color-accent);
}

.ribbon {
  margin: 0;
  padding: 0.5rem 1rem;
  background: var(--color-text);
  color: #ffffff;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ribbon__short {
  display: none;
}

/* Wide screens: logo centred with the cart on its right, the menu on a second row. */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1.5rem;
  padding: 0.55rem 1.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
}

.navbar__toggle {
  grid-column: 1;
  grid-row: 1;
}

.navbar__brand {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  line-height: 0;
}

.navbar__logo {
  display: block;
  height: 3.35rem;
  width: auto;
}

.navbar__bar {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0.55rem -1.5rem 0;
  border-top: 1px solid var(--color-line);
}

/* Without the script the drawer cannot open: the footer keeps every link. */
.navbar__links {
  display: none;
}

.navbar__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 2.25rem;
  margin: 0;
  padding: 0 1.5rem;
  list-style: none;
}

.navbar__categories > li {
  display: flex;
  align-items: center;
}

.navbar__category,
.navbar__collections {
  display: block;
  padding: 0.85rem 0;
  color: var(--color-title);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  text-underline-offset: 0.45em;
  text-decoration-thickness: 1px;
}

.navbar__collections {
  color: var(--color-accent-deep);
}

.navbar__category:hover,
.navbar__collections:hover {
  color: var(--color-accent);
  text-decoration-line: underline;
}

/* Narrow desktops: tighter spacing keeps the categories on one row. */
@media (min-width: 801px) and (max-width: 1100px) {
  .navbar__categories {
    gap: 0 clamp(0.9rem, 3vw - 0.75rem, 2.25rem);
  }

  .navbar__category,
  .navbar__collections {
    letter-spacing: 0.08em;
  }
}

.navbar__panel-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-left: 0.1rem;
  padding: 0;
  color: var(--color-accent);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.navbar__panel-toggle svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.2s ease;
}

.navbar__panel-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Without the script the button would do nothing: the "Collections" link stays. */
:root:not(.js) .navbar__panel-toggle {
  display: none;
}

/* Full-width panel under the menu row, placed against the sticky header. */
.navbar__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 28px 40px -28px rgba(63, 42, 34, 0.22);
}

.navbar__panel-inner {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) auto;
  justify-content: center;
  gap: 4.5rem;
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
  padding: 2rem 0 2.25rem;
}

.navbar__panel-title {
  margin: 0 0 0.75rem;
  color: var(--color-accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.navbar__panel-list {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.navbar__panel-list a {
  display: block;
  padding: 0.25rem 0;
  color: var(--color-title);
  font-family: var(--font-title);
  font-size: 1.15rem;
  line-height: 1.3;
  text-decoration: none;
}

.navbar__panel-list a:hover {
  color: var(--color-accent);
}

.navbar__panel-all {
  color: var(--color-accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.navbar__panel-all:hover {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.navbar__panel-tiles {
  display: grid;
  grid-template-columns: repeat(3, 11rem);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar__cart {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--color-title);
  text-decoration: none;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-navbar);
}

.navbar__cart svg {
  width: 1.45rem;
  height: 1.45rem;
}

.navbar__cart-count {
  position: absolute;
  top: -0.3rem;
  right: -0.3rem;
  display: grid;
  place-items: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.navbar__cart:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.navbar__toggle,
.navbar__close,
.navbar__backdrop {
  display: none;
}

.js .navbar__toggle,
.js .navbar__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--color-title);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.js .navbar__toggle {
  justify-self: start;
  margin-left: -0.5rem;
}

.js .navbar__toggle:hover,
.js .navbar__close:hover {
  color: var(--color-accent);
}

.js .navbar__toggle svg,
.js .navbar__close svg {
  width: 1.6rem;
  height: 1.6rem;
}

.js .navbar__brand {
  justify-self: center;
}

/* Side drawer on every width: Boutique, Collections, La maison. */
.js .navbar__links {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: min(21rem, 88vw);
  margin: 0;
  padding: 0.75rem 1.5rem 2rem;
  overflow-y: auto;
  background: #ffffff;
  border-top: 0;
  box-shadow: var(--shadow-soft);
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.js .navbar--open .navbar__links {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.25s ease, visibility 0s;
}

.js .navbar__close {
  align-self: flex-end;
  margin-right: -0.75rem;
}

.js .navbar__group-title {
  display: block;
  margin: 1.25rem 0 0.35rem;
  color: var(--color-accent-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.js .navbar__group--shop .navbar__group-title {
  margin-top: 0.25rem;
}

.js .navbar__group--collections,
.js .navbar__group--house {
  display: block;
}

.js .navbar__shop {
  margin: 0;
  padding: 0;
  list-style: none;
}

.js .navbar__shop-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  color: var(--color-title);
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 560;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
}

.js .navbar__shop-link:hover {
  color: var(--color-accent);
}

.js .navbar__shop-all {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--color-accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.js .navbar__shop-all:hover {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.js .navbar__chevron {
  display: block;
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-muted);
}

.js .navbar__tiles {
  display: flex;
  gap: 0.75rem;
  margin: 0 -1.5rem;
  padding: 0.35rem 1.5rem 0.5rem;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 1.5rem;
}

.js .navbar__tiles > li {
  flex: 0 0 8rem;
  scroll-snap-align: start;
}

.js .navbar__tiles .collection-tile__meta {
  padding-top: 0.4rem;
  gap: 0.2rem;
}

.js .navbar__tiles .collection-tile__name {
  font-size: 0.85rem;
}

.js .navbar__all-tile-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  color: var(--color-accent);
  font-size: 1.5rem;
  background: var(--color-navbar);
  border: 1px solid var(--color-line);
}

.js .navbar__house {
  margin: 0;
  padding: 0;
  list-style: none;
}

.js .navbar__house a {
  display: block;
  padding: 0.35rem 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.js .navbar__house a:hover {
  color: var(--color-accent);
}

.js .navbar__backdrop {
  position: fixed;
  inset: 0;
  z-index: 29;
  display: block;
  background: rgba(63, 42, 34, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.js .navbar--open .navbar__backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .ribbon {
    letter-spacing: 0.14em;
  }

  .ribbon__long {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .ribbon__short {
    display: inline;
  }
}

.hero__photo {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(28rem, 78vh, 46rem);
  overflow: hidden;
  background: var(--color-title);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(42, 24, 16, 0.72) 0%, rgba(42, 24, 16, 0.18) 42%, rgba(42, 24, 16, 0.05) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(40rem, calc(100% - 3rem));
  margin: 0 0 3.25rem 4.5vw;
  color: #fff;
}

.hero__content .eyebrow {
  color: var(--color-bg-end);
}

.hero__content h1,
.hero__content p {
  color: #fff;
}

.hero__content p:last-of-type {
  max-width: 32rem;
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
}

.marquee,
.band {
  height: 44px;
  background: var(--color-title);
  color: var(--color-navbar);
}

.marquee {
  overflow: hidden;
  display: flex;
  align-items: center;
  container-type: inline-size;
}

.band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.band__title {
  margin: 0;
  color: var(--color-navbar);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.band__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-bg-start);
  flex: 0 0 auto;
}

.marquee__track {
  display: flex;
  width: max-content;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: marquee 50s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2.5rem;
  min-width: 100cqi;
  padding-right: 2.5rem;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2.5rem;
  white-space: nowrap;
}

.marquee__track span::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-bg-start);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.intro {
  padding: 4.25rem 0 3.75rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.intro__copy {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.intro__copy p:last-child {
  margin-bottom: 0;
}

/* The blurred neighbours reach past the column: clip them, never scroll the page. */
.intro {
  overflow-x: clip;
}

.review-carousel {
  margin-top: 2.25rem;
  text-align: center;
}

/* Without JS: a plain row to swipe through. */
.review-carousel__track {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0.5rem 0 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.review-card {
  flex: 0 0 min(80%, 22rem);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background: var(--color-canvas);
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  overflow-wrap: anywhere;
}

.intro__copy .review-card p {
  margin: 0;
}

.review-card__stars {
  color: var(--color-accent);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
}

.review-card__text {
  font-style: italic;
}

.review-card__name {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--color-title);
}

.review-carousel--ready {
  touch-action: pan-y;
  user-select: none;
}

/* All cards share one grid cell: the carousel takes the tallest card's height. */
.review-carousel--ready .review-carousel__track {
  display: grid;
  overflow: visible;
  padding: 0.5rem 0;
}

.review-carousel--ready .review-card {
  grid-area: 1 / 1;
  justify-self: center;
  width: min(100%, 28rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* A leaving card hides once faded; an arriving card is visible (and focusable) at once. */
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease, visibility 0s 0.4s;
}

.review-carousel--ready .review-card.is-current,
.review-carousel--ready .review-card.is-prev,
.review-carousel--ready .review-card.is-next {
  transition-delay: 0s;
}

/* The sharp card catches its own clicks, so the neighbours tucked beneath it stay out of reach. */
.review-carousel--ready .review-card.is-current {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.review-carousel--ready .review-card.is-prev,
.review-carousel--ready .review-card.is-next {
  opacity: 0.55;
  visibility: visible;
  filter: blur(3px);
  cursor: pointer;
  pointer-events: auto;
  z-index: 1;
}

.review-carousel--ready .review-card.is-prev {
  transform: translateX(-60%) scale(0.85);
}

.review-carousel--ready .review-card.is-next {
  transform: translateX(60%) scale(0.85);
}

.review-carousel--ready .review-card.is-prev:hover,
.review-carousel--ready .review-card.is-next:hover,
.review-carousel--ready .review-card.is-prev:focus-visible,
.review-carousel--ready .review-card.is-next:focus-visible {
  opacity: 0.8;
}

/* Narrower cards on phones so a sliver of each neighbour stays in view. */
@media (max-width: 600px) {
  .review-carousel--ready .review-card {
    width: 78%;
    padding: 1.5rem 1.1rem;
  }

  .review-carousel--ready .review-card.is-prev {
    transform: translateX(-72%) scale(0.85);
  }

  .review-carousel--ready .review-card.is-next {
    transform: translateX(72%) scale(0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-carousel--ready .review-card {
    transition: none;
  }
}

.categories {
  padding: 3.5rem 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: #fff;
  border: 2px solid var(--color-title);
  border-radius: 1.1rem;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  border-bottom: 2px solid var(--color-title);
}

.category-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover .category-card__media img {
  transform: scale(1.045);
}

.category-card__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 5.5rem;
  padding: 1rem 1rem 1.1rem;
  text-align: center;
}

.category-card__label {
  font-family: var(--font-title);
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--color-title);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.category-card__cta {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.08fr);
  align-items: center;
}

.story__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.5rem 2.25rem 4vw;
}

.story__media img {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  max-height: 26rem;
  object-fit: cover;
  object-position: center center;
  border-radius: 0.85rem;
}

.story__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6vw 4rem 3.5rem;
  max-width: 40rem;
}

.story__lead {
  font-family: var(--font-title);
  font-size: 1.55rem;
  color: var(--color-title);
  margin-bottom: 0.85rem;
}

.contact {
  padding: 3.75rem 0 4.75rem;
}

.contact__grid {
  align-items: start;
}

.contact__intro h3 {
  margin-top: 1.5rem;
}

.contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.field--full,
.contact__form .button,
.contact__form [role="alert"],
.contact__form [role="status"] {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-title);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--color-text);
  background: var(--color-canvas);
  border: 1px solid rgba(108, 79, 62, 0.22);
  border-radius: 0.7rem;
  padding: 0.45rem 0.7rem;
}

textarea {
  resize: vertical;
  min-height: 9rem;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--color-frame);
}

.form-status {
  margin: 0;
  background: var(--color-navbar);
  color: var(--color-title);
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  font-weight: 700;
}

.field-error,
[role="alert"] {
  color: #6f2218;
  font-weight: 700;
}

[role="status"] {
  background: var(--color-navbar);
  color: var(--color-title);
  padding: 0.75rem 1rem;
}

/* Contact and review forms share one card; without JS they simply stack. */
.contact__panels {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

.tabs {
  display: none;
}

.js .contact__panels {
  gap: 1rem;
}

.js .tabs {
  display: flex;
  gap: 0.5rem;
  justify-self: start;
  padding: 0.3rem;
  background: var(--color-navbar);
  border: 1px solid var(--color-line);
  border-radius: 999px;
}

.tabs__tab {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-title);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
}

.tabs__tab:hover {
  color: var(--color-accent-deep);
}

.tabs__tab[aria-selected="true"] {
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.star-rating {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.star-rating legend {
  padding: 0;
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-title);
}

.star-rating__stars {
  display: inline-flex;
  gap: 0.15rem;
}

.star-rating__stars label {
  font-size: 1.9rem;
  line-height: 1;
  color: rgba(108, 79, 62, 0.22);
  cursor: pointer;
  border-radius: 0.3rem;
  transition: color 0.15s;
}

.star-rating__stars label::before {
  content: "★";
}

/* Light every star, then dim the ones after the chosen star; hovering previews the same way. */
.star-rating__stars:has(input:checked) label,
.star-rating .star-rating__stars:hover label {
  color: var(--color-accent);
}

.star-rating__stars input:checked + label ~ label,
.star-rating .star-rating__stars label:hover ~ label {
  color: rgba(108, 79, 62, 0.22);
}

.star-rating__stars input:focus-visible + label {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.review-form__count {
  margin: 0;
  align-self: flex-end;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.footer {
  background: var(--color-text);
  color: var(--color-navbar);
  padding: 3.5rem 0 1.5rem;
}

.footer h2 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-bg-end);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 246, 240, 0.16);
}

.footer__brand {
  width: min(100%, 22rem);
}

.footer__logo {
  display: block;
  width: 100%;
  height: auto;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer__contact p {
  margin: 0 0 0.55rem;
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer__icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}

.footer__legal {
  margin: 1.1rem 0 0;
  color: rgba(255, 246, 240, 0.68);
  font-size: 0.92rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer__legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.92rem;
}

.footer__legal-nav a {
  color: rgba(255, 246, 240, 0.85);
}

.legal {
  padding: 4rem 0 6rem;
}

.legal__inner {
  width: min(46rem, calc(100% - 3rem));
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.45rem;
}

.legal p {
  margin: 0 0 0.9rem;
}

.legal a {
  color: var(--color-accent-deep);
}

.legal h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.15rem;
}

.legal ul {
  margin: 0 0 0.9rem;
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.form-privacy {
  grid-column: 1 / -1;
  margin: 0.75rem 0 0;
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.form-privacy a {
  color: var(--color-accent-deep);
}

.legal__box h3 {
  margin-top: 0;
}

.legal__box p,
.legal__form p {
  margin-bottom: 0.6rem;
}

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

.legal__card {
  margin: 1.25rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--color-canvas);
  border: 1px solid var(--color-line);
  border-radius: 1rem;
}

.legal__card div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5rem;
}

.legal__card dt {
  font-weight: 600;
}

.legal__card dt::after {
  content: " :";
}

.legal__card dd {
  margin: 0;
}

.coming-soon {
  width: min(40rem, calc(100% - 3rem));
  margin: 0 auto;
  min-height: calc(100vh - 16rem);
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 4.5rem 0 6rem;
}

.coming-soon h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.gallery {
  padding: 4rem 0 6rem;
}

.gallery__head,
.gallery__empty {
  width: min(var(--container), calc(100% - 3rem));
  margin: 0 auto 2rem;
}

.gallery__head {
  text-align: center;
}

.gallery__head h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.gallery__lead {
  max-width: 34ch;
  margin: 0 auto 0.4rem;
  color: var(--color-title);
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.4;
}

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

.gallery__row {
  overflow: hidden;
  padding: 1.5rem 0;
}

.gallery__track {
  display: flex;
  width: max-content;
  animation: gallery-scroll var(--gallery-duration, 40s) linear infinite;
}

.gallery__row--ltr .gallery__track {
  animation-direction: reverse;
}

.gallery__row:hover .gallery__track,
.gallery__row:focus-within .gallery__track {
  animation-play-state: paused;
}

.gallery__group {
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery__item {
  position: relative;
  flex: none;
  width: clamp(11rem, 22vw, 16rem);
  margin-right: 1.25rem;
  transition: transform 0.25s ease;
}

/* Chaque photo est un tirage sous passe-partout : cadre blanc, filet doré, légende dessous. */
.gallery__frame {
  margin: 0;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--color-frame-soft);
  border-radius: 0.3rem;
  box-shadow: var(--shadow-soft);
}

.gallery__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0.15rem;
}

.gallery__caption {
  padding: 0.6rem 0.25rem 0;
  color: var(--color-title);
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.gallery__item:hover,
.gallery__item:focus {
  z-index: 1;
  transform: scale(1.12);
  outline: none;
}

.gallery__item:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

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

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

@media (max-width: 980px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid,
  .contact__grid,
  .story {
    grid-template-columns: 1fr;
  }

  .story__media {
    padding: 1.75rem 1.25rem 0.5rem;
  }

  .story__media img {
    width: min(100%, 24rem);
    max-height: 22rem;
  }

  .story__copy {
    padding: 2.5rem 1.5rem 3rem;
  }
}

@media (max-width: 800px) {
  :root {
    --header-height: 4.75rem;
  }

  :root:not(.js) .navbar {
    padding: 0.5rem 1rem 0;
  }

  :root:not(.js) .navbar__bar {
    margin: 0.5rem -1rem 0;
    overflow-x: auto;
  }

  :root:not(.js) .navbar__categories {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0 1.25rem;
    padding: 0 1rem;
  }

  :root:not(.js) .navbar__category,
  :root:not(.js) .navbar__collections {
    white-space: nowrap;
  }

  .hero__content {
    margin: 0 0 1.75rem 1.25rem;
  }

  .hero__photo {
    min-height: 32rem;
  }

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

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .container {
    width: min(var(--container), calc(100% - 2rem));
  }
}

@media (max-width: 800px) {
  .js .navbar {
    gap: 0.5rem;
    padding: 0.5rem 1rem;
  }

  .js .navbar__logo {
    height: 2.8rem;
  }

  /* Phones: the categories live in the drawer only. */
  .js .navbar__bar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .navbar__links,
  .js .navbar__backdrop {
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    padding-left: 1rem;
  }

  .marquee__group[aria-hidden="true"] {
    display: none;
  }

  .gallery__row {
    overflow-x: auto;
  }

  .gallery__track {
    animation: none;
    width: auto;
  }

  .gallery__group[aria-hidden="true"] {
    display: none;
  }

  .marquee__group {
    min-width: 0;
    flex-wrap: wrap;
  }
}

.category-card__price {
  color: var(--color-accent);
  font-size: 1.15rem;
  font-weight: 700;
}

.product {
  padding: 1.5rem 0 4.5rem;
}

.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

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

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.4rem;
}

.breadcrumb a {
  text-decoration: none;
}

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

.breadcrumb [aria-current="page"] {
  color: var(--color-title);
  font-weight: 600;
}

.product__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: start;
}

.product__gallery {
  display: grid;
  gap: 0.9rem;
}

.product__stage {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.product__stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.product__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product__thumb {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 0.8rem;
  outline: 1px solid var(--color-line);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.product__thumb:hover,
.product__thumb[aria-current="true"] {
  opacity: 1;
}

.product__thumb[aria-current="true"] {
  border-color: var(--color-accent);
}

.product__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.product__summary {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: 2rem;
  background: var(--color-canvas);
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.product__summary h1 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.product__price {
  margin: 0.25rem 0 0;
  color: var(--color-accent);
  font-size: 1.75rem;
  font-weight: 700;
}

.product__description {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-text);
}

.product__description p:last-child {
  margin-bottom: 0;
}

.product__option {
  margin-top: 1.5rem;
}

.product__choice-label {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.product__choice-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 1rem;
}

.product__size-help {
  margin-bottom: 0.55rem;
  color: var(--color-title);
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: var(--color-frame);
  text-underline-offset: 0.25em;
}

.product__size-help:hover {
  color: var(--color-accent);
}

.product__choice-label strong {
  color: var(--color-title);
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
}

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

.product__choices a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 2.75rem;
  padding: 0.35rem 1rem;
  background: #fff;
  border: 1.5px solid var(--color-line);
  border-radius: 0.8rem;
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

/* Buttons grow to fill each full row. product.js stops the last row from growing. */
.product__choices--justified li {
  flex: 1 1 auto;
}

.product__choices--justified a {
  width: 100%;
}

.product__choices a:hover {
  border-color: var(--color-title);
}

.product__choices a[aria-current="true"] {
  background: var(--color-title);
  border-color: var(--color-title);
  color: var(--color-on-accent);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.5rem;
  padding: 0.1rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  vertical-align: middle;
  white-space: nowrap;
}

.status-tag svg {
  width: 0.9rem;
  height: 0.9rem;
}

.status-tag--out {
  background: #fde8e6;
  border-color: #f0b4ae;
  color: #a12418;
}

.status-tag--soon {
  background: #e6f0fd;
  border-color: #aac7f0;
  color: #1c4f9c;
}

.product__choices a[aria-current="true"] .status-tag {
  background: #fff;
}

.button:disabled {
  background: #c9b8ae;
  cursor: not-allowed;
}

.product__notice {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 1.25rem 0 0;
  padding: 0.8rem 1rem;
  background: #f1f8ee;
  border: 1px solid #b9d8ad;
  border-radius: 0.8rem;
  color: #2f5a22;
  font-weight: 600;
}

.product__unavailable,
.product__error {
  margin-top: 1rem;
  color: #9b2c1f;
  font-weight: 600;
}

.product__form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.product__option-group {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.product__option-check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  background: #fff;
  border: 1.5px solid var(--color-line);
  border-radius: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.product__option-check input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--color-accent);
}

.product__option-price {
  margin-left: auto;
  color: var(--color-accent);
}

.product__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
}

.product__quantity label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.product__stepper {
  display: inline-flex;
  align-items: stretch;
  background: #fff;
  border: 1.5px solid var(--color-line);
  border-radius: 999px;
  overflow: hidden;
}

.product__stepper button {
  width: 2.9rem;
  background: transparent;
  border: 0;
  color: var(--color-title);
  font-size: 1.3rem;
  cursor: pointer;
}

.product__stepper button:hover {
  background: rgba(212, 106, 84, 0.12);
}

.product__stepper input {
  width: 3rem;
  padding: 0.7rem 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-weight: 700;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

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

.product__submit {
  flex: 1 1 12rem;
  min-height: 3.2rem;
  font-size: 1.05rem;
}

/* Promesse « fait main » sous le bouton : pastille crème, façon carte de correspondance. */
.product__promise {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.55rem 1rem;
  background: var(--color-navbar);
  border: 1px solid var(--color-frame-soft);
  border-radius: 999px;
  color: var(--color-title);
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.35;
  text-align: center;
}

.product__promise .heart {
  color: var(--color-accent);
}

@media (max-width: 980px) {
  .product__grid {
    gap: 2rem;
  }
}

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

  .product__summary {
    position: static;
    padding: 1.5rem;
  }
}

.recommendations {
  padding: 0 0 4.5rem;
}

.recommendations__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.recommendations h2 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.recommendations__ornament {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--color-frame);
  font-size: 0.75rem;
  letter-spacing: 0.5em;
}

.recommendations h2 .heart {
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.15em;
  color: var(--color-accent);
  vertical-align: 0.05em;
}

.recommendations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Phone: category and product cards stay two per row, with lighter text so the
   names still fit in a half-width card. */
@media (max-width: 600px) {
  .category-grid,
  .recommendations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .category-card {
    border-radius: 0.9rem;
  }

  .category-card__meta {
    gap: 0.2rem;
    min-height: 4.25rem;
    padding: 0.7rem 0.5rem 0.8rem;
  }

  .category-card__label {
    font-size: 1.1rem;
  }

  .category-card__cta {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .category-card__price {
    font-size: 1rem;
  }
}

.cart {
  padding: 2rem 0 4.5rem;
}

.cart__notice {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font-weight: 600;
}

.cart__notice--info {
  background: #e6f0fd;
  border-color: #aac7f0;
  color: #1c4f9c;
}

.cart__notice--warning {
  background: #fdf1e0;
  border-color: #efca94;
  color: #8a4b0a;
}

.cart__empty,
.cart__thanks {
  max-width: 40rem;
}

.cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.cart__lines {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.cart-line {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1rem;
  background: var(--color-canvas);
  border: 1px solid var(--color-line);
  border-radius: 1.1rem;
}

.cart-line--recap {
  grid-template-columns: minmax(0, 1fr) auto;
}

.cart-line--problem {
  background: #fdf3f2;
  border-color: #f0b4ae;
}

.cart-line__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 0.8rem;
}

.cart-line__name {
  display: block;
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--color-title);
  text-decoration: none;
}

.cart-line__details,
.cart-line__unit {
  margin: 0.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.cart-line__problem {
  margin: 0.5rem 0 0;
  color: #9b2c1f;
  font-weight: 600;
}

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

.cart-line__remove {
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-muted);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.cart-line__remove:hover {
  color: var(--color-accent);
}

.cart-line__total {
  margin: 0;
  color: var(--color-title);
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: 1.75rem;
  background: var(--color-canvas);
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.cart-summary h2 {
  font-size: 1.5rem;
}

.cart-summary dl {
  margin: 0 0 1rem;
}

.cart-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}

.cart-summary dt,
.cart-summary dd {
  margin: 0;
}

.cart-summary__total {
  margin-top: 0.4rem;
  padding-top: 0.8rem !important;
  border-top: 1px solid var(--color-line);
  color: var(--color-title);
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-summary__hint {
  margin: 0 0 1rem;
  padding: 0.6rem 0.8rem;
  background: #fdf1e0;
  border-radius: 0.7rem;
  color: #8a4b0a;
  font-size: 0.95rem;
}

.cart-summary__hint--ok {
  background: #f1f8ee;
  color: #2f5a22;
}

.product__price-note {
  margin: 0.35rem 0 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cart-summary__terms {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cart-summary__terms input {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--color-accent);
}

.cart-summary__terms a {
  color: var(--color-accent-deep);
}

.cart-summary__checkout {
  width: 100%;
  min-height: 3.2rem;
  font-size: 1.05rem;
}

.cart-summary__secure {
  margin: 0.6rem 0 0;
  color: var(--color-muted);
  font-size: 0.85rem;
  text-align: center;
}

.cart-summary__continue {
  display: block;
  margin-top: 1rem;
  text-align: center;
}

.cart-summary--recap {
  position: static;
  max-width: 24rem;
  margin: 0 0 1.5rem;
}

.cart-summary__discount {
  color: #2f5a22;
  font-weight: 700;
}

.cart-promo {
  margin: 0 0 1rem;
  padding: 0.9rem 0 0;
  border-top: 1px dashed var(--color-line);
}

.cart-promo__form label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.cart-promo__field {
  display: flex;
  gap: 0.5rem;
}

.cart-promo__field input {
  flex: 1 1 auto;
  min-width: 0;
  text-transform: uppercase;
}

.cart-promo__field .button {
  flex: none;
  padding: 0.6rem 1.1rem;
}

.cart-promo__applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cart-promo__code {
  margin: 0;
}

.cart-promo__problem {
  margin: 0.5rem 0 0;
  color: #8a4b0a;
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .cart__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cart-line {
    grid-template-columns: 5rem minmax(0, 1fr);
  }

  .cart-line__total {
    grid-column: 2;
  }

  .cart-summary {
    position: static;
  }
}

.size-guide {
  width: min(60rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

.size-guide__header h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.size-guide__rule,
.size-guide__tip {
  padding: 1rem 1.25rem;
  background: var(--color-canvas);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-accent);
  border-radius: 0.75rem;
}

.size-guide__rule {
  margin: 1.25rem 0 0;
}

.size-guide__section {
  margin-top: 3.5rem;
}

.size-guide__section h2 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
}

.size-guide__harness {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.size-guide__figure {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid var(--color-line);
}

.size-guide__steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.size-guide__steps li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--color-canvas);
  border: 1px solid var(--color-line);
  border-radius: 1rem;
}

.size-guide__steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.size-guide__steps p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.5;
}

.size-guide__number {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-family: var(--font-title);
  font-weight: 700;
}

.size-guide__table-title {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
}

.size-guide__table-wrap--narrow {
  max-width: 28rem;
}

.size-guide__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 1rem;
  background: var(--color-canvas);
  text-align: center;
}

.size-guide__table th,
.size-guide__table td {
  padding: 0.8rem 0.75rem;
  border-bottom: 1px solid var(--color-line);
}

.size-guide__table tbody tr:last-child th,
.size-guide__table tbody tr:last-child td {
  border-bottom: 0;
}

.size-guide__table thead th {
  background: var(--color-title);
  color: var(--color-navbar);
  font-weight: 600;
}

.size-guide__table tbody th {
  color: var(--color-title);
  font-family: var(--font-title);
  font-size: 1.15rem;
}

.size-guide__table tbody tr:nth-child(even) {
  background: var(--color-navbar);
}

.size-guide__tip {
  margin-top: 3rem;
}

/* Carte de fin, façon correspondance : fond crème et double filet doré. */
.size-guide__closing {
  margin-top: 4rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--color-navbar);
  border: 1px solid var(--color-frame-soft);
  outline: 1px solid var(--color-frame-soft);
  outline-offset: -8px;
  border-radius: 0.4rem;
}

.size-guide__closing .heart {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--color-accent);
}

.size-guide__closing h2 {
  margin: 0.6rem 0 0.7rem;
  font-size: 1.9rem;
}

.size-guide__closing p {
  max-width: 36ch;
  margin: 0 auto 1.5rem;
  color: var(--color-title);
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
}

@media (max-width: 800px) {
  .size-guide__harness {
    grid-template-columns: 1fr;
  }

  .size-guide__table-wrap {
    overflow-x: auto;
  }
}

.size-guide--product {
  padding: 0 0 5rem;
}

.size-guide--product h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.size-guide--product .size-guide__section {
  margin-top: 1.75rem;
}

.size-guide--product .size-guide__table-title:first-child {
  margin-top: 0;
}


/* Collections */
.product__collection {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 0.6rem 0.9rem 0.6rem 0.6rem;
  background: var(--color-navbar);
  border: 1px solid var(--color-line);
  color: var(--color-text);
  text-decoration: none;
}

.product__collection:hover {
  border-color: var(--color-accent);
}

.product__collection .poster {
  flex: none;
  width: 96px;
}

.product__collection-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  line-height: 1.3;
}

.product__collection-text strong {
  color: var(--color-title);
}

.product__collection-arrow {
  margin-left: auto;
  color: var(--color-accent);
  font-size: 1.4rem;
  font-weight: 700;
}

.poster {
  display: block;
  width: 100%;
  /* The height attribute would otherwise win over the poster ratio. */
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--color-navbar);
}

.collections {
  padding: 3.5rem 0 5rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.collection-tile {
  display: block;
  text-decoration: none;
  color: inherit;
}

.collection-tile__media {
  display: block;
  overflow: hidden;
}

.collection-tile__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.9rem;
  text-align: center;
}

.collection-tile__name {
  font-family: var(--font-title);
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--color-title);
}

.collection-tile__cta {
  color: var(--color-accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.collection-tile:hover .collection-tile__cta,
.collection-tile:focus-visible .collection-tile__cta {
  text-decoration: underline;
}

.collection-tile--small .collection-tile__name {
  font-size: 0.95rem;
}

.collection {
  padding: 3rem 0 4rem;
}

.collection-hero__copy,
.collection-hero--text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.collection-hero__copy {
  padding-top: 2.75rem;
}

.collection-hero--text {
  padding-top: 1.5rem;
}

.collection-hero--text h1 {
  margin: 0;
}

.collection-hero__eyebrow {
  margin: 0;
  color: var(--color-accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.collection-hero__tagline {
  margin: 0;
  max-width: 30rem;
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-title);
  text-wrap: balance;
}

.collection-filters {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
}

.collection-filters__chip {
  flex: none;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-title);
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.collection-filters__chip:hover {
  border-color: var(--color-title);
}

/* A card set aside by the collection filter: the grid would otherwise keep showing it. */
.category-grid > [data-collection-card][hidden] {
  display: none;
}

.collection-filters__chip[aria-current="true"] {
  background: var(--color-title);
  border-color: var(--color-title);
  color: var(--color-on-accent);
}

@media (max-width: 800px) {
  .collection-grid {
    gap: 2.75rem 1.5rem;
  }
}

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

/* Home: collection carousel. Each poster spans the full width and is shown whole;
   the "Découvrir" button and the carousel controls sit on it, never the name.
   Both stay in the corners so the centre of the poster, where the dog and the
   accessories are, is never covered. */
.collection-carousel {
  --carousel-inset: 2.5rem;
  position: relative;
  background: var(--color-navbar);
}

.collection-carousel__viewport {
  position: relative;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.collection-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.collection-slide__media {
  display: block;
}

/* The poster's own ratio: a fixed 16:9 box left cream bands around a slightly wider image. */
.collection-slide__media .poster {
  aspect-ratio: auto;
}

/* Bottom left corner of the poster. */
.collection-slide__panel {
  position: absolute;
  bottom: var(--carousel-inset);
  left: var(--carousel-inset);
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}

.collection-slide__cta {
  padding: 1rem 2.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 0.4rem 1.4rem rgba(40, 25, 18, 0.28);
  pointer-events: auto;
}

/* One overlay for every slide: arrows at mid-height, indicators bottom right. */
.collection-carousel__controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.collection-carousel__controls[hidden],
.collection-carousel__pause[hidden] {
  display: none;
}

.collection-carousel__arrow,
.collection-carousel__center {
  pointer-events: auto;
}

/* Lined up with the middle of the button, in the opposite corner. */
.collection-carousel__center {
  position: absolute;
  right: var(--carousel-inset);
  bottom: calc(var(--carousel-inset) + 0.4rem);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.15rem 0.35rem 0.15rem 0.75rem;
  border-radius: 999px;
  background: rgba(40, 25, 18, 0.4);
}

.collection-carousel__dots {
  display: flex;
  gap: 0.35rem;
}

.collection-carousel__arrow,
.collection-carousel__pause {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 252, 250, 0.85);
  color: var(--color-title);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.collection-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.collection-carousel__arrow[data-carousel-prev] {
  left: 1.5rem;
}

.collection-carousel__arrow[data-carousel-next] {
  right: 1.5rem;
}

.collection-carousel__pause {
  position: relative;
  width: 2rem;
  height: 2rem;
}

/* Ring on the pause button's border: a full turn in the autoplay delay, so the
   visitor sees when the next poster comes. The script restarts it with each timer
   and empties it whenever the carousel stops. */
.collection-carousel__pause .collection-carousel__progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.collection-carousel__progress circle {
  fill: none;
  stroke: var(--color-accent-deep);
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.collection-carousel__progress[data-running] circle {
  animation: carousel-progress var(--carousel-delay) linear forwards;
}

@keyframes carousel-progress {
  to {
    stroke-dashoffset: 0;
  }
}

.collection-carousel__arrow:hover,
.collection-carousel__pause:hover {
  background: #fff;
}

.collection-carousel__arrow svg,
.collection-carousel__pause svg {
  width: 1.2rem;
  height: 1.2rem;
}

.collection-carousel__icon-play,
.collection-carousel__pause[data-paused="true"] .collection-carousel__icon-pause {
  display: none;
}

.collection-carousel__pause[data-paused="true"] .collection-carousel__icon-play {
  display: block;
}

/* Short dashes: with a dozen collections the row stays in its corner. */
.collection-carousel__dot {
  width: 1.75rem;
  padding: 0.75rem 0.15rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.collection-carousel__dot::before {
  content: "";
  display: block;
  height: 2px;
  background: #fff;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.collection-carousel__dot:hover::before {
  opacity: 0.8;
}

.collection-carousel__dot[aria-current="true"]::before {
  opacity: 1;
}

/* Phone: nothing covers the photo. The poster zooms slightly on its centre, where
   the dog and the accessories are (8:5 keeps every printed title: 3:2 cuts "Miky").
   It still turns every 6 s: no indicator bar, only the small round pause button in the
   bottom right corner, since a carousel that moves on its own must be stoppable.
   "Découvrir" turns into an invisible link over the whole poster, so a tap on the
   photo opens the collection and a keyboard still reaches it. */
@media (max-width: 800px) {
  .collection-slide__media .poster {
    aspect-ratio: 8 / 5;
    object-fit: cover;
  }

  .collection-slide__panel {
    inset: 0;
  }

  .collection-slide__cta {
    position: absolute;
    inset: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    box-shadow: none;
  }

  .collection-slide__cta:hover {
    background: transparent;
  }

  .collection-slide__cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
  }

  .collection-carousel__dots {
    display: none;
  }

  .collection-carousel__center {
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0;
    background: none;
  }

  .collection-carousel__arrow {
    display: none;
  }
}

/* Home: savoir-faire, right after the marquee. */
.craft {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--color-canvas);
  text-align: center;
}

.craft__inner {
  max-width: 64rem;
}

.craft h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

/* Wide enough for each sentence to keep its own line on a computer. */
.craft__lead {
  max-width: 47rem;
  margin: 0 auto clamp(2.75rem, 5vw, 3.5rem);
  color: var(--color-muted);
  font-size: 1.1rem;
}

.craft__lead p {
  margin: 0;
  text-wrap: balance;
}

.craft__lead p + p {
  margin-top: 0.35rem;
}

/* Selling points: an icon in a round mark, a title and a short text. Also used
   under the shop categories, where a point may carry a tag. */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 4vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature__mark {
  display: grid;
  place-items: center;
  width: 5.25rem;
  height: 5.25rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  color: var(--color-title);
  background: linear-gradient(160deg, var(--color-bg-start), var(--color-bg-end));
}

.feature__mark svg {
  width: 3rem;
  height: 3rem;
}

.feature__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.feature__text {
  max-width: 19rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.feature__tag {
  margin: 0.9rem 0 0;
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--color-frame-soft);
  border-radius: 999px;
  color: var(--color-title);
  background: var(--color-navbar);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

/* House signature: the name between two paws, a short gold rule above. */
.signature {
  margin-top: clamp(3rem, 6vw, 4.25rem);
}

.signature::before {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0 auto 1.75rem;
  background: var(--color-frame);
}

.signature__title {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 560;
  line-height: 1.2;
  color: var(--color-title);
}

.signature__title svg {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--color-accent);
  transform: rotate(-16deg);
}

.signature__title svg:last-child {
  transform: rotate(16deg);
}

.signature__label {
  margin: 0.45rem 0 0;
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--color-muted);
  text-wrap: balance;
}

/* Three columns need about 760px: below that the points stack. */
@media (max-width: 760px) {
  .features {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 600px) {
  .signature__title {
    font-size: 1.4rem;
  }
}

/* Home: favorites, under the categories. Small cards scroll on their own like the
   marquee: the group is doubled and the track slides by half its width. The pointer,
   keyboard focus or a finger holds it still. */
.favorites {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

.favorites h2 {
  margin-bottom: 1.4rem;
}

.favorites__viewport {
  overflow: hidden;
  container-type: inline-size;
  /* Cards fade in and out at the edges of the screen instead of being cut. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

/* A focused card scrolled to the edge must stay fully visible, focus ring included. */
.favorites__viewport:focus-within {
  -webkit-mask-image: none;
  mask-image: none;
}

.favorites__track {
  display: flex;
  width: max-content;
  /* 3.5 s a card, never under 30 s: a short list still crosses the screen calmly. */
  animation: favorites max(calc(var(--favorites-count, 6) * 3.5s), 30s) linear infinite;
}

@media (hover: hover) {
  .favorites__track:hover {
    animation-play-state: paused;
  }
}

.favorites__track:focus-within,
.favorites__track:active {
  animation-play-state: paused;
}

/* At least one screen wide, so a short list still loops without a hole. Spread with
   space-around and half a gap on each side, the step between cards stays the same
   across the seam of the two copies. */
.favorites__group {
  display: flex;
  justify-content: space-around;
  flex-shrink: 0;
  gap: var(--favorites-gap);
  min-width: 100cqi;
  margin: 0;
  padding: 0.6rem calc(var(--favorites-gap) / 2) 0.9rem;
  list-style: none;
  --favorites-gap: 1.25rem;
}

/* A width, not only a flex-basis: Safari sizes the group from its items' widths, and
   with a basis alone it measures the text instead, so the two copies overlap. */
.favorites__group li {
  flex: none;
  width: 10rem;
}

.favorite-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  color: var(--color-title);
  text-decoration: none;
}

.favorite-card:focus-visible {
  outline-offset: 2px;
  border-radius: 0.9rem;
}

.favorite-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 0.55rem;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--color-title);
  border-radius: 0.9rem;
}

.favorite-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .favorite-card:hover .favorite-card__media img {
    transform: scale(1.06);
  }
}

/* Two lines at most, so every card keeps the same height. */
.favorite-card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: var(--font-title);
  font-size: 1.02rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

/* The color stays on its own line: a long article name never hides it. */
.favorite-card__color {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.2;
}

.favorite-card__price {
  margin-top: 0.15rem;
  color: var(--color-accent);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

@keyframes favorites {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Service promises, after the favorites (or the categories when there are none). */
.features--services {
  margin-top: clamp(3.25rem, 6vw, 4.5rem);
}

@media (max-width: 600px) {
  .favorites__group {
    --favorites-gap: 0.9rem;
  }

  .favorites__group li {
    width: 8.125rem;
  }

  .favorite-card__name {
    font-size: 0.95rem;
  }

  .favorite-card__price {
    font-size: 0.9rem;
  }
}

/* No motion: the band holds still and scrolls by hand, the copy is gone. */
@media (prefers-reduced-motion: reduce) {
  .favorites__track {
    animation: none;
  }

  .favorites__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .favorites__group[aria-hidden="true"] {
    display: none;
  }
}

/* Category hero and « Les petits plus ». Ornaments of the house: a toile of paws and
   hearts, gold double rules, a framed shop window, a round atelier stamp, a stitched seam. */
:root {
  --toile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%236C4F3E' fill-opacity='.07'%3E%3Cellipse cx='20' cy='24.5' rx='5' ry='4.2'/%3E%3Ccircle cx='13.6' cy='18' r='1.9'/%3E%3Ccircle cx='17.6' cy='14.6' r='2'/%3E%3Ccircle cx='22.4' cy='14.6' r='2'/%3E%3Ccircle cx='26.4' cy='18' r='1.9'/%3E%3C/g%3E%3Cpath d='M60 66.5s-6-3.6-6-7.6c0-1.9 1.4-3.2 3.1-3.2 1.2 0 2.2.7 2.9 1.7.7-1 1.7-1.7 2.9-1.7 1.7 0 3.1 1.3 3.1 3.2 0 4-6 7.6-6 7.6z' fill='none' stroke='%23C4A574' stroke-opacity='.45' stroke-width='1'/%3E%3C/svg%3E");
}

.seal {
  display: block;
  width: 7rem;
  height: auto;
  overflow: visible;
}

.seal__disc {
  fill: var(--color-canvas);
}

.seal__ring {
  fill: none;
  stroke: var(--color-frame);
  stroke-width: 1;
}

.seal__text {
  font-family: var(--font-body);
  font-size: 9.6px;
  font-weight: 700;
  fill: var(--color-title);
}

.seal__heart {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.3;
  stroke-linejoin: round;
}

.heart {
  flex: none;
  width: 1rem;
  height: 1rem;
}

.seam {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(15rem, 70%);
  margin: 1.4rem 0;
  color: var(--color-accent);
}

.seam::before,
.seam::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--color-frame) 0 7px, transparent 7px 12px);
}

.category-hero {
  padding: 1.5rem 0 4rem;
  /* The toile shows around the shop window and fades out under the text. */
  background:
    linear-gradient(90deg, rgba(255, 252, 250, 0) 28%, var(--color-canvas) 58%),
    var(--toile) 0 0 / 80px 80px,
    var(--color-canvas);
  border-bottom: 3px double var(--color-frame);
}

.category-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  margin-top: 1.25rem;
}

.category-hero__layout--text {
  grid-template-columns: minmax(0, 44rem);
  justify-content: center;
  text-align: center;
}

.category-hero__figure {
  position: relative;
  justify-self: center;
  width: min(100%, 23rem);
  margin: 0;
  padding: 9px;
}

/* A square shop window with a double gold hairline: the whole photo stays visible. */
.category-hero__frame {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--color-frame);
  border-radius: 0.4rem;
  outline: 1px solid var(--color-frame);
  outline-offset: 8px;
}

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

.category-hero__figure .seal {
  position: absolute;
  right: -2rem;
  bottom: 2.5rem;
  width: 7.5rem;
  transform: rotate(-12deg);
  filter: drop-shadow(0 10px 22px rgba(63, 42, 34, 0.14));
}

.category-hero__copy h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
}

.category-intro__title {
  max-width: 26ch;
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-title);
  text-wrap: balance;
}

.category-intro__text {
  max-width: 34rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  text-wrap: pretty;
}

/* Lettrine, as in a printed catalogue. */
.category-intro__text::first-letter {
  float: left;
  margin: 0.06em 0.14em 0 0;
  font-family: var(--font-title);
  font-size: 3.6em;
  font-weight: 560;
  line-height: 0.8;
  color: var(--color-accent);
}

.category-hero__layout--text .category-intro__title,
.category-hero__layout--text .category-intro__text,
.category-hero__layout--text .seam {
  margin-inline: auto;
}

.category-hero__link,
.collection-hero__count {
  display: inline-block;
  margin-top: 2rem;
  padding-bottom: 0.35rem;
  color: var(--color-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--color-frame);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.category-hero__link:hover,
.collection-hero__count:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.categories--listing {
  padding-top: 3rem;
}

.highlights {
  padding: 0 0 4.5rem;
}

.highlights__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  overflow: hidden;
  background: var(--color-canvas);
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
}

/* The stitching of a sewn-in label, just inside the edge. */
.highlights__card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1.5px dashed var(--color-frame);
  border-radius: 0.85rem;
  pointer-events: none;
}

.highlights__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.25rem 2.25rem;
  text-align: center;
  background:
    radial-gradient(closest-side, var(--color-navbar) 62%, rgba(255, 246, 240, 0)),
    var(--toile) 0 0 / 80px 80px,
    var(--color-navbar);
  border-right: 3px double var(--color-frame);
}

.highlights__intro .seal {
  width: 7.25rem;
  margin-bottom: 1.35rem;
  transform: rotate(-8deg);
}

.highlights__title {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}

.highlights__lead {
  max-width: 22ch;
  margin: 0.7rem 0 0;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.5;
  text-wrap: balance;
}

.highlights__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.75rem;
  align-content: center;
  margin: 0;
  padding: 2.75rem 3.25rem;
  list-style: none;
}

.highlights__list li {
  position: relative;
  padding: 1.05rem 0 1.05rem 1.6rem;
  border-bottom: 1px solid var(--color-line);
  line-height: 1.5;
}

/* No rule under the last row, whether it holds one point or two. */
.highlights__list li:last-child,
.highlights__list li:nth-last-child(2):nth-child(odd) {
  border-bottom: 0;
}

/* A cross-stitch point instead of a round bullet. */
.highlights__list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: calc(1.05rem + 0.55em);
  width: 0.42rem;
  height: 0.42rem;
  background: var(--color-frame);
  transform: rotate(45deg);
}

@media (max-width: 800px) {
  .category-hero {
    padding-bottom: 3rem;
    background:
      linear-gradient(180deg, rgba(255, 252, 250, 0) 22%, var(--color-canvas) 52%),
      var(--toile) 0 0 / 80px 80px,
      var(--color-canvas);
  }

  .category-hero__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .category-hero__figure {
    width: min(78%, 17rem);
  }

  .category-hero__figure .seal {
    right: -1.6rem;
    bottom: 1.5rem;
    width: 5.75rem;
  }

  .category-intro__title,
  .category-intro__text,
  .seam {
    margin-inline: auto;
  }

  /* A lettrine does not sit well in centred text. */
  .category-intro__text::first-letter {
    float: none;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
  }

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

  .highlights__intro {
    padding: 2.5rem 1.75rem 2rem;
    border-right: 0;
    border-bottom: 3px double var(--color-frame);
  }

  .highlights__list {
    grid-template-columns: 1fr;
    padding: 1.25rem 2rem 2rem;
  }

  .highlights__list li:nth-last-child(2):nth-child(odd) {
    border-bottom: 1px solid var(--color-line);
  }
}

@media (max-width: 600px) {
  .category-intro__text {
    font-size: 1rem;
  }
}

/* Collections. Same house ornaments as the category hero. The poster fills a frame
   whose sides curve like parentheses: ( poster ). The curve trims the sides and the
   corners of the poster slightly, no more (decided by the user on 23/11/2026). */
.paren-frame {
  display: block;
  margin: 7px;
  overflow: hidden;
  background: var(--color-navbar);
  border: 1px solid var(--color-frame);
  border-radius: 6% / 50%;
  outline: 1px solid var(--color-frame);
  outline-offset: 6px;
}

.paren-frame .poster {
  object-fit: cover;
}

.collections-hero,
.collection-band {
  background:
    radial-gradient(ellipse 58% 72% at 50% 52%, var(--color-canvas) 48%, rgba(255, 252, 250, 0)),
    var(--toile) 0 0 / 80px 80px,
    var(--color-canvas);
  border-bottom: 3px double var(--color-frame);
}

.collections-hero {
  padding: 3.5rem 0 3.25rem;
  text-align: center;
}

.collections-hero .seal,
.collection-hero--text .seal {
  width: 6.75rem;
  margin: 0 auto 1.25rem;
  transform: rotate(-8deg);
}

.collections-hero h1 {
  margin-bottom: 0;
}

.collections-hero .seam,
.collection-hero .seam {
  margin: 1.2rem auto;
}

.collections-hero__text {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.collections-hero__count {
  margin: 1.1rem 0 0;
  color: var(--color-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collection-tile--framed .collection-tile__media {
  transition: outline-offset 0.3s ease, border-color 0.3s ease, outline-color 0.3s ease;
}

/* The frame opens up a little under the pointer. */
.collection-tile--framed:hover .collection-tile__media,
.collection-tile--framed:focus-visible .collection-tile__media {
  border-color: var(--color-accent);
  outline-color: var(--color-accent);
  outline-offset: 10px;
}

.collection-tile--framed .collection-tile__meta {
  gap: 0.45rem;
  padding-top: 1.6rem;
}

.collection-tile--framed .collection-tile__name {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

.collection-tile__tagline {
  max-width: 30ch;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.45;
  text-wrap: balance;
}

.collection-tile--framed .collection-tile__cta {
  margin-top: 0.35rem;
}

.collection-band {
  padding: 1.5rem 0 3.5rem;
}

.collection-hero__figure {
  position: relative;
  width: min(calc(100% - 9rem), 60rem);
  margin: 1.5rem auto 0;
}

/* A gold stitch point on each side, just outside the parentheses. The frame clips
   its content, so the points hang from the figure around it. */
.collection-hero__figure::before,
.collection-hero__figure::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--color-frame);
  transform: translate(-50%, -50%) rotate(45deg);
}

.collection-hero__figure::before {
  left: -9px;
}

.collection-hero__figure::after {
  left: calc(100% + 9px);
}

/* The stamp hangs off the bottom-right curve, just clear of the poster. */
.collection-hero__figure .seal {
  position: absolute;
  right: -4.5rem;
  bottom: -2.5rem;
  width: 7rem;
  transform: rotate(-12deg);
  filter: drop-shadow(0 10px 22px rgba(63, 42, 34, 0.14));
}

.collection-hero__count {
  margin-top: 0.9rem;
}

@media (max-width: 800px) {
  .paren-frame {
    outline-offset: 4px;
  }

  .collection-tile--framed:hover .collection-tile__media,
  .collection-tile--framed:focus-visible .collection-tile__media {
    outline-offset: 7px;
  }

  .collection-hero__figure {
    width: calc(100% - 1.5rem);
  }

  /* The stamp sits under the frame here, so the figure no longer centres on it. */
  .collection-hero__figure::before,
  .collection-hero__figure::after {
    content: none;
  }

  /* No room beside the frame: the stamp moves under it, never over the poster. */
  .collection-hero__figure .seal {
    position: static;
    width: 5.5rem;
    margin: 1.75rem auto 0;
  }

  .collection-hero__copy {
    padding-top: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .collection-tile--framed .collection-tile__media {
    transition: none;
  }
}

/* FAQ: native <details>, so every answer opens without JS and by keyboard. */
.faq {
  padding: 3.75rem 0 4.75rem;
}

.faq__inner {
  max-width: 50rem;
}

.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq__list {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(63, 42, 34, 0.06);
}

.faq__item[open] {
  border-color: var(--color-frame-soft);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: var(--color-title);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

/* A plus that turns into a minus once the answer is open. */
.faq__question::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color-navbar);
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.faq__item[open] > .faq__question::after {
  content: "−";
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.faq__question:hover {
  color: var(--color-accent-deep);
}

.faq__question:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 1rem;
}

.faq__answer {
  padding: 0 1.25rem 1.1rem;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

.faq__answer a,
.faq__outro a {
  color: var(--color-accent-deep);
  font-weight: 700;
}

.faq__outro {
  margin-top: 2.5rem;
  text-align: center;
}

.faq__outro-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  color: var(--color-title);
  margin-bottom: 0.5rem;
}

.faq__signature {
  margin: 1.25rem 0 0;
  color: var(--color-title);
  font-weight: 700;
}

@media (max-width: 600px) {
  .faq {
    padding: 2.75rem 0 3.5rem;
  }

  .faq__question {
    padding: 0.9rem 1rem;
  }

  .faq__answer {
    padding: 0 1rem 1rem;
  }
}
