/*
Theme Name: Éclat.byLu
Theme URI: https://www.instagram.com/eclat_bylu/
Author: Éclat.byLu
Description: Thème sur mesure pour Éclat.byLu, bijoux en acier inoxydable — blanc, beige, doré.
Version: 1.5.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: eclat-bylu
*/

:root {
  color-scheme: light;
  /* Beige is the base of the whole site; --band is the lighter tone used by
     alternating sections on top of it, and --beige-accent the deeper beige
     kept for small decorative fills that must read on both. */
  --ground: #faf4e9;
  --band: #fffdf9;
  --beige-accent: #efe3cb;
  --surface: #ffffff;
  --ink: #262420;
  --ink-soft: #67615a;
  --ink-faint: #928c82;
  --gold: #9c7a3c;
  --gold-bright: #b6903f;
  --gold-line: #c9a44c;
  --line: rgba(38, 36, 32, 0.14);
  --line-strong: rgba(38, 36, 32, 0.26);
  --shadow: 0 30px 60px -30px rgba(38, 36, 32, 0.22);
}

/* Éclat.byLu commits to one look — white / beige / gold — regardless of
   system theme, so the page never falls back to a dark palette. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Jost", "Century Gothic", "Futura", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: "Bodoni Moda", "Didot", "Georgia", serif;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}

.script {
  font-family: "Petit Formal Script", cursive;
  font-weight: 400;
}

.eyebrow {
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ground);
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--surface);
}
.btn--gold:hover { background: transparent; color: var(--gold); }

/* ---------- Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
}
.nav-links {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-wrap: nowrap;
}
.nav-links a { white-space: nowrap; }
.nav-links a { position: relative; padding-bottom: 4px; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.nav-links a:hover::after { right: 0; }

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-align: center;
}
.wordmark .name {
  font-family: "Bodoni Moda", serif;
  font-size: 1.5rem;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.wordmark .by {
  font-family: "Petit Formal Script", cursive;
  font-size: 1rem;
  color: var(--gold);
  margin-top: 2px;
}
.wordmark img { max-height: 52px; width: auto; }

.nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
}
.nav-icons svg { width: 19px; height: 19px; stroke: var(--ink); }
.nav-icons a, .nav-icons button { background: none; border: none; padding: 4px; cursor: pointer; display: flex; }

.nav-side { display: flex; align-items: center; min-width: 0; }
.nav-side.right { justify-content: flex-end; }

.burger { display: none; }

/* ---------- Mobile navigation drawer ---------- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(38, 36, 32, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.mobile-nav-overlay.is-open { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 60;
  width: min(330px, 86vw);
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 22px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }

/* Don't slide the drawer under the WordPress admin bar when it's showing. */
body.admin-bar .mobile-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .mobile-nav { top: 46px; }
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__head .wordmark { align-items: flex-start; text-align: left; }
.mobile-nav__close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
}
.mobile-nav__close svg { width: 22px; height: 22px; stroke: var(--ink); }

.mobile-nav__links,
.mobile-nav__secondary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav__links a {
  display: block;
  padding: 15px 0;
  font-family: "Bodoni Moda", serif;
  font-size: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__links a:hover { color: var(--gold); }

.mobile-nav__secondary {
  gap: 4px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav__secondary a {
  display: block;
  padding: 11px 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.mobile-nav__secondary a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--band);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 10vw, 108px) 0 clamp(48px, 8vw, 88px);
}
/* The slider runs edge to edge, so the vertical breathing room moves onto the
   text column and the photo can fill the whole slide height. The top padding
   mirrors the space the controls row takes below the photo, so the slide sits
   centred in its band — the two stay equal on their own as the viewport
   changes. */
.hero--slider {
  --hero-controls-space: calc(clamp(22px, 3vw, 34px) + 42px + clamp(28px, 4vw, 44px));
  padding: calc(var(--hero-controls-space) / 2) 0 0;
}

/* Slider shell: the track holds one full-width slide per category. Without JS
   it stays a horizontally scrollable, snapping strip. Clipping happens here,
   never on the track itself — see below. */
.hero-viewport {
  overflow: hidden;
  /* Lets the text column align on the site's content column below, measured
     against the real slide width — unlike 100vw, which includes the scrollbar,
     or %, which would resolve against the grid column. */
  container-type: inline-size;
}
.hero-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-track.is-dragging { transition: none; cursor: grabbing; }
/* Once JS drives the track, clipping is the wrap's job — clipping here would
   hide every slide but the first, since they sit outside the track's own box. */
.hero--slider.is-enhanced .hero-track { overflow: visible; }

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(460px, 66vh, 720px);
}

/* The slide is full-bleed, but its text keeps the same left edge as every
   other section of the site — otherwise it would drift left of the content
   column on wide screens. */
.hero--slider .hero-copy {
  align-self: center;
  padding-block: clamp(40px, 7vw, 88px);
  padding-inline: clamp(20px, 4vw, 56px);
  padding-inline-start: max(
    clamp(20px, 4vw, 56px),
    calc(50cqw - 620px + clamp(20px, 4vw, 56px))
  );
}

.hero-product-name {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
}
.hero-price {
  margin: 18px 0 34px;
  font-family: "Bodoni Moda", serif;
  font-size: 1.5rem;
  color: var(--gold);
}
.hero-price del { color: var(--ink-faint); font-size: 1.1rem; margin-right: 10px; }
.hero-price ins { text-decoration: none; }
.hero-price--empty { font-family: "Jost", sans-serif; font-size: 0.95rem; color: var(--ink-faint); }

/* Same two columns as a slide, so the controls land centred under the photo. */
.hero-controls-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-controls {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px) 0 clamp(28px, 4vw, 44px);
}
.hero-arrow {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.hero-arrow:hover { border-color: var(--gold); color: var(--gold); }
.hero-arrow svg { width: 17px; height: 17px; }

.hero-dots { display: flex; gap: 10px; }
.hero-dot {
  width: 34px; height: 2px;
  border: none;
  padding: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: background 0.25s ease;
}
.hero-dot.is-active { background: var(--gold); }

.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.03;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-copy p {
  margin: 26px 0 34px;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-actions .link-more { font-size: 0.82rem; letter-spacing: 0.06em; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.hero-actions .link-more:hover { border-color: var(--ink); }

/* In the slider the photo fills its half of the slide, edge to edge. */
.hero--slider .hero-art {
  aspect-ratio: auto;
  border-radius: 0;
  height: 100%;
}
.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  background:
    radial-gradient(120% 90% at 24% 18%, color-mix(in srgb, var(--gold-line) 55%, transparent), transparent 60%),
    linear-gradient(150deg, var(--beige-accent), var(--surface) 55%, var(--beige-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  /* No drop shadow here: in the slider the neighbouring slide sits flush
     against the visible edge, and its blurred shadow would bleed across the
     seam and darken the first pixels of the slide on screen. */
}
.hero-art svg { width: 58%; opacity: 0.92; }
.hero-art img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge .num { font-family: "Bodoni Moda", serif; font-size: 1.6rem; color: var(--gold); }
.hero-badge .txt { font-size: 0.7rem; letter-spacing: 0.06em; color: var(--ink-soft); max-width: 14ch; }

/* ---------- Value strip ---------- */
.values {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.value-item {
  padding: 30px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-left: 1px solid var(--line);
}
.value-item:first-child { border-left: none; }
.value-item svg { width: 28px; height: 28px; flex-shrink: 0; stroke: var(--gold); margin-top: 2px; }
.value-item h3 { font-family: "Jost", sans-serif; font-weight: 500; font-size: 0.92rem; letter-spacing: 0.03em; margin-bottom: 5px; }
.value-item p { margin: 0; font-size: 0.84rem; color: var(--ink-soft); }

/* ---------- Section heading ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head .eyebrow { margin-bottom: 12px; display: block; }
.section-head .view-all { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; white-space: nowrap; }
.section-head .view-all:hover { border-color: var(--ink); }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 34px 20px 26px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.cat-card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.cat-card .icon-wrap {
  width: 78px; height: 78px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--beige-accent);
  display: flex; align-items: center; justify-content: center;
}
.cat-card svg { width: 34px; height: 34px; stroke: var(--gold); }
.cat-card h3 { font-family: "Jost", sans-serif; font-weight: 500; font-size: 0.94rem; letter-spacing: 0.03em; margin-bottom: 6px; }
.cat-card span { font-size: 0.78rem; color: var(--ink-faint); }
/* A card picturing one of its pieces: the photo fills the top, edge to edge. */
.cat-card--photo { padding: 0 0 24px; overflow: hidden; }
.cat-card__photo {
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--beige-accent), var(--surface) 60%);
}
.cat-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-card--photo:hover .cat-card__photo img { transform: scale(1.04); }
.cat-card--photo h3,
.cat-card--photo span { padding: 0 14px; }
.cat-card--photo span { display: block; }

/* ---------- Products ---------- */
.bestsellers {
  background: var(--band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.prod-card { display: flex; flex-direction: column; }
.prod-media {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--beige-accent), var(--surface) 60%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
}
.prod-media svg { width: 40%; stroke: var(--gold); opacity: 0.85; transition: transform 0.4s ease; }
.prod-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.prod-card:hover .prod-media svg,
.prod-card:hover .prod-media img { transform: scale(1.06); }
.prod-tag {
  position: absolute; top: 12px; left: 12px;
  z-index: 1;
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
  background: var(--ink);
  padding: 5px 10px;
  color: var(--ground);
}
.prod-name { font-family: "Jost", sans-serif; font-weight: 400; font-size: 0.94rem; margin-bottom: 4px; }
.prod-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.86rem; }
.prod-meta .price { font-family: "Bodoni Moda", serif; color: var(--gold); }
.prod-meta .mat { color: var(--ink-faint); font-size: 0.76rem; }

/* ---------- Story ---------- */
.story .wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.story-art {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(90% 90% at 70% 20%, color-mix(in srgb, var(--gold-line) 32%, transparent), transparent 60%),
    linear-gradient(160deg, var(--beige-accent), var(--surface));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.story-art svg { width: 46%; stroke: var(--gold); }
.story-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.story-copy p { color: var(--ink-soft); margin: 20px 0; max-width: 48ch; }
.story-copy .script { font-size: 1.6rem; color: var(--gold); display: block; margin-top: 10px; }
.story-more { margin: 22px 0 0; }
.story-more .link-more { font-size: 0.82rem; letter-spacing: 0.06em; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.story-more .link-more:hover { border-color: var(--ink); }

/* ---------- Instagram ---------- */
.insta { background: var(--band); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.insta .section-head h2 { color: var(--ink); }
.insta .eyebrow { color: var(--gold); }
.insta .section-head .view-all { border-color: var(--line-strong); color: var(--ink); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}
.social-row + .social-row { margin-top: clamp(28px, 4vw, 40px); }
.social-row__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.social-row__label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}
.social-row__label span { color: var(--gold); letter-spacing: 0.06em; text-transform: none; font-weight: 400; margin-left: 6px; }
.social-row .view-all { border-color: var(--line-strong); color: var(--ink); }
a.insta-grid { color: inherit; }
.insta-tile {
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
}
.insta-tile .fill {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--gold) 40%, var(--surface)) 85%);
}
.insta-tile:nth-child(2n) .fill { background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--gold-bright) 30%, var(--surface)) 85%); }
.insta-tile:nth-child(3n) .fill { background: linear-gradient(200deg, var(--surface), color-mix(in srgb, var(--gold-line) 45%, var(--surface)) 85%); }
.insta-tile svg { position: absolute; inset: 0; margin: auto; width: 30%; stroke: var(--gold); opacity: 0.75; }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; background: var(--band); border-top: 1px solid var(--line); }
.newsletter .wrap { max-width: 760px; }
.newsletter h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.newsletter p { color: var(--ink-soft); margin: 0 0 30px; }
.nl-form {
  display: flex;
  border: 1px solid var(--line-strong);
  max-width: 440px;
  margin: 0 auto;
}
.nl-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 16px;
  font-family: "Jost", sans-serif;
  font-size: 0.88rem;
  color: var(--ink);
}
.nl-form input::placeholder { color: var(--ink-faint); }
.nl-form button {
  border: none;
  background: var(--ink);
  color: var(--ground);
  padding: 0 24px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.nl-form button:hover { background: var(--gold); }
.nl-form button:disabled { opacity: 0.6; cursor: wait; }
.nl-form { position: relative; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsletter .nl-message { margin: 18px auto 0; max-width: 440px; font-size: 0.9rem; color: var(--gold); }
.newsletter .nl-message.is-error { color: #a2423d; }
.newsletter .nl-legal { margin: 18px auto 0; max-width: 440px; font-size: 0.74rem; line-height: 1.6; color: var(--ink-faint); }
.newsletter .nl-legal a { color: inherit; text-decoration: underline; }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: clamp(52px, 7vw, 76px) 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
}
.foot-brand .wordmark { align-items: flex-start; text-align: left; }
.foot-brand p { color: var(--ink-soft); font-size: 0.86rem; margin: 16px 0 0; max-width: 32ch; }
.foot-col h4 { font-family: "Jost", sans-serif; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.86rem; color: var(--ink-soft); }
.foot-col a:hover { color: var(--gold); }
.foot-social { display: flex; gap: 12px; margin-top: 18px; }
.foot-social a { width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.foot-social a:hover { border-color: var(--gold); }
.foot-social svg { width: 15px; height: 15px; stroke: var(--ink); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--ink-faint);
}
.foot-bottom a { color: var(--ink-faint); }
.foot-bottom a:hover { color: var(--gold); }

/* ---------- Blog / single fallback ---------- */
.site-content { padding: clamp(48px, 8vw, 88px) 0; min-height: 40vh; }
.site-content article { max-width: 68ch; margin: 0 auto 48px; }
.site-content h1.entry-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 32px; }
.site-content .entry-content { color: var(--ink-soft); }
.site-content .entry-content p { margin: 0 0 1.2em; }
.site-content .entry-content h2 {
  font-size: 1.3rem;
  color: var(--ink);
  margin: 2em 0 0.7em;
}
.site-content .entry-content h2:first-child { margin-top: 0; }
.site-content .entry-content a { border-bottom: 1px solid var(--line-strong); }
.site-content .entry-content a:hover { color: var(--gold); border-color: var(--gold); }

/* Statutory boxes (garantie légale, formulaire de rétractation). The law calls
   for an "encadré", so it has to read as a framed block, not as body copy. */
.site-content .legal-box {
  border: 1px solid var(--line-strong);
  padding: clamp(20px, 3vw, 32px);
  margin: 1.6em 0 2.2em;
  background: var(--ground);
  font-size: 0.92rem;
  line-height: 1.65;
}
.site-content .legal-box p:last-child { margin-bottom: 0; }

/* Long-form pages (histoire, mentions légales, CGV, confidentialité) run on the
   near-white band rather than the beige ground, like the alternating sections
   of the home page. Full-bleed: the band is on <main>, not on the article. */
.site-content.page-band { background: var(--band); }

/* "Mon histoire": portrait beside the text rather than a single column.
   Selector kept at the same weight as `.site-content article` above, which
   otherwise keeps the article at reading width. */
.site-content .story-page {
  max-width: none;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.story-page__art {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-page__art img { width: 100%; height: 100%; object-fit: cover; }
.story-page__copy .entry-content { max-width: 56ch; }

@media (max-width: 860px) {
  .story-page { grid-template-columns: 1fr; }
  .story-page__art { max-width: 420px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: flex; align-items: center; justify-content: center; background: none; border: none; padding: 4px; }
  .burger svg { width: 22px; height: 22px; stroke: var(--ink); }
  .nav-side.left { order: 1; }
  .wordmark { order: 2; }
  .nav-side.right { order: 3; }

  .hero-slide { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { order: -1; width: 100%; }
  .hero--slider .hero-art { height: auto; aspect-ratio: 4 / 3; }
  .hero-controls-row { grid-template-columns: 1fr; }
  .hero-controls { grid-column: 1; }
  .hero-copy { text-align: left; }
  .hero-copy p { max-width: none; }

  .values .wrap { grid-template-columns: 1fr; }
  .value-item { border-left: none; border-top: 1px solid var(--line); padding-top: 24px; }
  .value-item:first-child { border-top: none; padding-top: 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .story .wrap { grid-template-columns: 1fr; }
  .story-art { max-width: 380px; margin: 0 auto; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .nl-form { flex-direction: column; border: none; gap: 10px; }
  .nl-form input { border: 1px solid var(--line-strong); }
  .nl-form button { padding: 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-badge { position: static; margin-top: -30px; margin-left: 16px; max-width: fit-content; }
}

/* =========================================================
   WooCommerce
   ========================================================= */

.woocommerce-content { padding: clamp(48px, 8vw, 88px) 0; }

.woocommerce-breadcrumb {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin: 0 0 28px;
}
.woocommerce-breadcrumb a:hover { color: var(--gold); }

.woocommerce-content h1.entry-title,
.woocommerce-products-header__title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin: 0 0 clamp(24px, 4vw, 40px);
}

.woocommerce-notices-wrapper { margin-bottom: 24px; }
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  list-style: none;
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--gold);
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--ink);
}
.woocommerce-error { border-left-color: var(--ink); }

.woocommerce-result-count {
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.woocommerce-ordering select {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 9px 14px;
  cursor: pointer;
}
.woocommerce-ordering select.custom-select-native { display: none; }

/* ---------- Custom select (replaces the native ordering dropdown) ---------- */
.custom-select { position: relative; min-width: 240px; }
.custom-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 9px 14px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.custom-select__trigger:hover { border-color: var(--gold-line); }
.custom-select.is-open .custom-select__trigger { border-color: var(--gold); }
.custom-select__chevron {
  width: 15px; height: 15px; flex-shrink: 0;
  color: var(--ink-faint);
  transition: transform 0.2s ease;
}
.custom-select.is-open .custom-select__chevron { transform: rotate(180deg); color: var(--gold); }

.custom-select__list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  min-width: 100%;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.custom-select__option {
  padding: 10px 14px;
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  color: var(--ink-soft);
  white-space: nowrap;
  cursor: pointer;
}
.custom-select__option:hover,
.custom-select__option:focus-visible {
  background: var(--beige-accent);
  color: var(--ink);
  outline: none;
}
.custom-select__option.is-selected { color: var(--gold); font-weight: 500; }

/* ---------- Shop / category grid ---------- */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product a:not(.button) {
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 16px;
  background: linear-gradient(160deg, var(--beige-accent), var(--surface) 60%);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 0.94rem;
  margin: 0 0 4px;
  color: var(--ink);
}
.woocommerce ul.products li.product .price {
  font-family: "Bodoni Moda", serif;
  color: var(--gold);
  font-size: 0.9rem;
}
.woocommerce ul.products li.product .price del {
  color: var(--ink-faint);
  opacity: 0.7;
  margin-right: 8px;
}
.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}
.woocommerce span.onsale {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 4px 9px;
  color: var(--gold);
  min-height: 0; min-width: 0;
  border-radius: 0;
  line-height: 1;
}
.woocommerce ul.products li.product { position: relative; }
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button {
  align-self: flex-start;
  margin-top: 10px;
  padding: 10px 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}
.woocommerce ul.products li.product a.button:hover { background: var(--ink); color: var(--ground); }

.woocommerce nav.woocommerce-pagination {
  margin-top: clamp(36px, 5vw, 56px);
  text-align: center;
}
.woocommerce nav.woocommerce-pagination ul { list-style: none; display: inline-flex; gap: 6px; margin: 0; padding: 0; border: none; }
.woocommerce nav.woocommerce-pagination ul li { border: none; }
.woocommerce nav.woocommerce-pagination a,
.woocommerce nav.woocommerce-pagination span.current {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
}
.woocommerce nav.woocommerce-pagination a:hover,
.woocommerce nav.woocommerce-pagination span.current { border-color: var(--gold); color: var(--gold); }

/* ---------- Single product ---------- */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: flex-start;
}
.woocommerce div.product .woocommerce-product-gallery img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.woocommerce div.product .summary.entry-summary {
  padding-top: 4px;
}
.woocommerce div.product .product_title {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 0 0 14px;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: "Bodoni Moda", serif;
  color: var(--gold);
  font-size: 1.3rem;
  margin: 0 0 20px;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.woocommerce div.product .woocommerce-product-details__short-description p { margin: 0 0 1em; }

.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.woocommerce div.product .quantity { display: flex; }
.woocommerce div.product .quantity input.qty {
  width: 64px;
  padding: 14px 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  text-align: center;
}
.woocommerce div.product .single_add_to_cart_button {
  padding: 15px 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ground);
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: transparent; color: var(--ink); }

.woocommerce div.product .product_meta {
  font-size: 0.8rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.woocommerce div.product .product_meta a { color: var(--ink-soft); }
.woocommerce div.product .product_meta a:hover { color: var(--gold); }

.woocommerce-tabs { grid-column: 1 / -1; margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); padding-top: 32px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 28px; margin: 0 0 24px; padding: 0; }
.woocommerce-tabs ul.tabs li a { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 6px; }
.woocommerce-tabs .panel { color: var(--ink-soft); max-width: 68ch; }

.related.products { grid-column: 1 / -1; margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 56px); }
.related.products > h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: clamp(28px, 4vw, 40px); }

/* ---------- Shop redesign (approved mock-ups) ----------
   Category and shop pages alternate backgrounds like the homepage: a light
   band with the title, the grid on the beige ground, then the values band. */
.woocommerce-content--archive { padding: 0; }
.shop-head {
  background: var(--band);
  border-bottom: 1px solid var(--line);
  padding: clamp(20px, 3vw, 28px) 0 clamp(22px, 3vw, 28px);
}
.shop-head .woocommerce-breadcrumb { margin-bottom: 16px; }
.shop-head__title { font-size: clamp(2rem, 4vw, 2.8rem); margin: 6px 0 8px; }
.shop-head__text { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.shop-body { padding-top: 18px; padding-bottom: clamp(32px, 4vw, 48px); }
.shop-body .woocommerce-result-count,
.shop-body .woocommerce-ordering { margin: 0 0 20px; }
.shop-body .woocommerce-result-count { float: left; line-height: 38px; }
.shop-body .woocommerce-ordering { float: right; }
.shop-body ul.products { clear: both; }

/* WooCommerce's clearfix pseudo-elements would take the first grid cell. */
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  width: auto;
  float: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.woocommerce ul.products { row-gap: clamp(28px, 3vw, 36px); }
.woocommerce ul.products li.product a img { width: 100%; margin: 0 0 14px; transition: transform 0.4s ease; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { position: relative; overflow: hidden; }
.woocommerce ul.products li.product .prod-tag { top: 12px; left: 12px; }
/* Sold out must stand out from the beige photo background. */
.prod-tag--out { background: var(--ink-soft); color: var(--surface); }
.woocommerce ul.products li.product .prod-meta .price { display: inline; margin: 0; font-size: 0.92rem; }
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button {
  align-self: stretch;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  text-align: center;
  border-radius: 0;
  font-weight: 400;
  letter-spacing: 0.16em;
}
.woocommerce ul.products li.product a.button.is-ghost { border-color: var(--line-strong); color: var(--ink-soft); }
.woocommerce ul.products li.product a.button.is-ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.woocommerce ul.products li.product a.added_to_cart { font-size: 0.76rem; margin-top: 8px; color: var(--gold); }

/* Product page: big photo, thumbnails underneath, click to enlarge. */
.product-back {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.product-back:hover { color: var(--gold); }
.woocommerce div.product { grid-template-columns: 1.15fr 1fr; }
.woocommerce div.product div.images { width: auto; float: none; margin: 0; position: relative; }
.woocommerce div.product div.summary { width: auto; float: none; }
.woocommerce div.product .woocommerce-product-gallery__image a { cursor: zoom-in; }
.woocommerce div.product .woocommerce-product-gallery__trigger {
  position: absolute;
  right: 12px;
  bottom: 12px;
  top: auto;
  z-index: 2;
  width: auto;
  height: auto;
  border-radius: 0;
  background: rgba(255, 253, 249, 0.9);
  padding: 6px 12px;
  font-size: 0;
  text-indent: 0;
  line-height: 1;
}
/* WooCommerce draws a magnifier with these; the label replaces it. */
.woocommerce div.product .woocommerce-product-gallery__trigger::before { display: none; }
.woocommerce div.product .woocommerce-product-gallery__trigger img,
.woocommerce div.product .woocommerce-product-gallery__trigger span { display: none !important; }
.woocommerce div.product .woocommerce-product-gallery__trigger::after {
  content: "Cliquer pour agrandir";
  position: static;
  display: inline;
  width: auto;
  height: auto;
  border: 0;
  background: none;
  transform: none;
  font-family: "Jost", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.woocommerce div.product div.images .flex-control-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.6;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.woocommerce div.product div.images .flex-control-thumbs img:hover,
.woocommerce div.product div.images .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--gold); }

.woocommerce div.product .summary .eyebrow { display: block; margin-bottom: 8px; }
.woocommerce div.product p.price { font-size: 1.45rem; margin-bottom: 16px; }
.product-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.product-chip { border: 1px solid var(--line-strong); background: var(--surface); padding: 6px 12px; font-size: 0.8rem; }
.product-chip span { color: var(--ink-faint); margin-right: 6px; }
.woocommerce div.product p.stock { margin: 0 0 14px; font-size: 0.84rem; color: var(--gold); }
.woocommerce div.product p.stock.out-of-stock {
  display: inline-block;
  background: var(--ink-soft);
  color: var(--surface);
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.woocommerce div.product form.cart { flex-wrap: nowrap; gap: 12px; margin-bottom: 22px; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; }
.product-perks {
  list-style: none;
  margin: 0 0 8px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.product-perks li::before { content: "✓"; color: var(--gold); margin-right: 10px; }
/* Tabs under the photo: plain labels with a gold underline, without
   WooCommerce's grey rounded tab chrome. */
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 0 0 6px; font-weight: 400; color: var(--ink-faint); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: none;
  border: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom: 1px solid var(--gold); }
/* WooCommerce focuses the tab it opens; the gold underline already marks it. */
.woocommerce div.product .woocommerce-tabs ul.tabs li a:focus { outline: none; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce table.shop_attributes { max-width: 520px; border: 0; margin: 0; }
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  padding: 10px 0;
  font-style: normal;
  text-align: left;
}
.woocommerce table.shop_attributes th { width: 40%; font-weight: 400; color: var(--ink); }
.woocommerce table.shop_attributes td { color: var(--ink-soft); }
.woocommerce table.shop_attributes td p { margin: 0; padding: 0; }
.woocommerce table.shop_attributes tr:nth-child(even) th,
.woocommerce table.shop_attributes tr:nth-child(even) td { background: none; }

/* Backgrounds alternate down the product page, under the beige header: the
   piece and its tabs on the light band, "Vous aimerez aussi" full width on
   beige, then the reassurance band on light (woocommerce.php). */
.woocommerce-content--product { background: var(--band); padding-top: clamp(12px, 1.5vw, 18px); }
.woocommerce-content--product:has(.related.products) { padding-bottom: 0; }
.woocommerce div.product .woocommerce-tabs {
  border-top: 1px solid var(--line);
  margin-top: clamp(16px, 2vw, 20px);
  padding-top: 16px;
}
body.woocommerce .woocommerce-content--product div.product .woocommerce-tabs ul.tabs { margin-bottom: 14px; }
/* The notices area keeps its margin even with nothing in it. */
.woocommerce-notices-wrapper:empty { margin: 0; }
/* WooCommerce adds its own 2em under the photo, the summary and each tab
   panel; on this page the spacing above is the only one. The summary sits in
   the middle of the photo's height rather than at its top. */
body.woocommerce .woocommerce-content--product div.product { align-items: center; row-gap: 0; }
body.woocommerce .woocommerce-content--product div.product div.images,
body.woocommerce .woocommerce-content--product div.product div.summary { margin-bottom: 0; }
body.woocommerce .woocommerce-content--product div.product .woocommerce-tabs,
body.woocommerce .woocommerce-content--product div.product .woocommerce-tabs .panel { margin-bottom: 0; padding-bottom: 0; }
body.woocommerce .woocommerce-content--product div.product .woocommerce-tabs .panel > :last-child { margin-bottom: 0; }
body.woocommerce .woocommerce-content--product div.product .woocommerce-tabs .panel p:last-child { margin-bottom: 0; }
.related.products {
  background: var(--ground);
  box-shadow: 0 0 0 100vmax var(--ground);
  clip-path: inset(0 -100vmax);
  border-top: 1px solid var(--line);
  margin-top: clamp(24px, 3vw, 32px);
  padding: clamp(32px, 4vw, 44px) 0 clamp(36px, 5vw, 52px);
}
/* Without related pieces the page goes light straight to the footer. */
.woocommerce-content--product:not(:has(.related.products)) + .values { display: none; }
.related.products > h2::before {
  content: "Dans la même rubrique";
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}

@media (max-width: 560px) {
  .shop-body .woocommerce-result-count,
  .shop-body .woocommerce-ordering { float: none; }
  .woocommerce div.product form.cart { flex-wrap: wrap; }
}

/* ---------- Cart & checkout ---------- */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.woocommerce table.shop_table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 10px;
}
.woocommerce table.shop_table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 10px;
  vertical-align: middle;
}
.woocommerce table.shop_table img { width: 64px; aspect-ratio: 3/4; object-fit: cover; }

.woocommerce .cart-collaterals .cart_totals {
  border: 1px solid var(--line);
  padding: 24px;
  margin-top: 24px;
}
.woocommerce .cart_totals h2 { font-size: 1.3rem; margin-bottom: 16px; }
.woocommerce .cart_totals table { width: 100%; font-size: 0.88rem; }
.woocommerce .cart_totals table td, .woocommerce .cart_totals table th { padding: 10px 0; border-bottom: 1px solid var(--line); }
.woocommerce .cart_totals .order-total .amount { color: var(--gold); font-family: "Bodoni Moda", serif; }

.woocommerce a.checkout-button,
.woocommerce #place_order {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ground);
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}
.woocommerce a.checkout-button:hover,
.woocommerce #place_order:hover { background: transparent; color: var(--ink); }

.woocommerce form .form-row label {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 6px;
  display: block;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
}

/* ---------- Checkout: "Identification" step ---------- */
.checkout-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 28px;
  padding: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  counter-reset: step;
}
.checkout-steps li { counter-increment: step; }
.checkout-steps li::before { content: counter(step) ". "; }
.checkout-steps .is-done a { color: var(--ink-soft); border-bottom: 1px solid var(--line-strong); }
.checkout-steps .is-current { color: var(--gold); }
.checkout-id .entry-title { margin-bottom: 12px; }
.checkout-id__intro { margin: 0 0 32px; color: var(--ink-soft); max-width: 60ch; }
.checkout-id__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.checkout-id__card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(24px, 3.5vw, 40px);
}
.checkout-id__card .eyebrow { display: block; margin-bottom: 10px; }
.checkout-id__card h2 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); margin-bottom: 20px; }
.checkout-id__lead { margin: -8px 0 20px; font-size: 0.9rem; color: var(--ink-soft); }
.checkout-id__note { font-size: 0.84rem; color: var(--ink-soft); }
.checkout-id form { margin: 0; padding: 0; border: 0; }
.checkout-id .form-row { margin: 0 0 16px; float: none; width: auto; }
.checkout-id .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 16px; }
.checkout-id .woocommerce-privacy-policy-text p { font-size: 0.76rem; line-height: 1.6; color: var(--ink-faint); }
.checkout-id .woocommerce-privacy-policy-text a,
.checkout-id .lost_password a { border-bottom: 1px solid var(--line-strong); }
.checkout-id .lost_password { margin: 4px 0 0; font-size: 0.84rem; }
.checkout-id button.button {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 15px 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--ground);
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.checkout-id button.button:hover { background: transparent; color: var(--ink); }
.checkout-id__guest { margin: 28px 0 0; text-align: center; font-size: 0.9rem; color: var(--ink-soft); }
.checkout-id__guest a { color: var(--ink); border-bottom: 1px solid var(--gold-line); margin-left: 4px; }
.checkout-id__guest a:hover { color: var(--gold); }

@media (max-width: 760px) {
  .checkout-id__grid { grid-template-columns: 1fr; }
}

/* ---------- Preview access ("avant-première") banner ---------- */
.preview-bar {
  padding: 9px 20px;
  background: var(--ink);
  color: var(--ground);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.preview-bar strong { color: var(--gold-line); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-right: 4px; }

/* ---------- My account ---------- */
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 10px 14px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border-left: 2px solid transparent;
  color: var(--ink-soft);
}
.woocommerce-MyAccount-navigation li.is-active a { border-left-color: var(--gold); color: var(--ink); }
.woocommerce-MyAccount-content { margin-top: 24px; }

@media (max-width: 980px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce div.product { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .woocommerce-tabs ul.tabs { flex-wrap: wrap; gap: 16px; }
}

/* ---------- Light reassurance band (after a beige section) ---------- */
.values--band { background: var(--band); }

/* ---------- Cart count on the bag icon ---------- */
.nav-cart { position: relative; margin-right: 6px; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--surface);
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}
.cart-count.is-empty { display: none; }

/* ---------- "Added to cart" window ---------- */
/* WooCommerce's own "Voir le panier" link after a shop button: the window replaces it. */
.woocommerce a.added_to_cart { display: none !important; }
.eclat-cart-panel-slot { display: none; }
.eclat-cart-panel-slot.is-open { display: block; }
.cart-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.cart-panel__close {
  background: none;
  border: 0;
  padding: 0 2px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink-faint);
  cursor: pointer;
}
.cart-panel__close:hover { color: var(--ink); }
.cart-panel__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cart-panel__thumb img { width: 64px; height: 80px; object-fit: cover; }
.cart-panel__name { margin: 0; font-size: 0.95rem; font-weight: 400; }
.cart-panel__mat { margin: 0; font-size: 0.74rem; color: var(--ink-faint); }
.cart-panel__price { margin: 0; font-family: "Bodoni Moda", serif; color: var(--gold); font-size: 0.92rem; }
.cart-panel__sub { display: flex; justify-content: space-between; padding: 12px 0 14px; font-size: 0.86rem; color: var(--ink-soft); }
.cart-panel__sub strong { font-weight: 400; color: var(--ink); }
.cart-panel__actions { display: grid; gap: 8px; }
.cart-panel__btn {
  display: block;
  padding: 13px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--ground);
  text-align: center;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.cart-panel__btn:hover { background: transparent; color: var(--ink); }
.cart-panel__btn--ghost { background: transparent; color: var(--ink); }
.cart-panel__btn--ghost:hover { background: var(--ink); color: var(--ground); }
.cart-panel__link {
  background: none;
  border: 0;
  padding: 4px 0 0;
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Small window under the bag icon (top set by cart-panel.js). */
.cart-panel--drop {
  position: fixed;
  top: 78px;
  right: clamp(12px, 3vw, 40px);
  z-index: 60;
  width: min(340px, calc(100vw - 24px));
  padding: 18px;
  background: var(--band);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  animation: cart-panel-drop 0.25s ease;
}
.cart-panel--drop::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: var(--band);
  border-left: 1px solid var(--line-strong);
  border-top: 1px solid var(--line-strong);
  transform: rotate(45deg);
}
@keyframes cart-panel-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }


/* ---------- Cart page (WooCommerce cart block) ---------- */
/* A piece that sold out while in the cart: greyed out, flagged on its line. */
.wc-block-cart-items__row:has(.wc-block-components-product-details__stock) .wc-block-cart-item__image img { filter: grayscale(1); opacity: 0.45; }
.wc-block-cart-items__row:has(.wc-block-components-product-details__stock) .wc-block-components-product-name,
.wc-block-cart-items__row:has(.wc-block-components-product-details__stock) .wc-block-cart-item__prices,
.wc-block-cart-items__row:has(.wc-block-components-product-details__stock) .wc-block-cart-item__total { opacity: 0.5; }
.wc-block-cart-items__row:has(.wc-block-components-product-details__stock) .wc-block-components-quantity-selector {
  opacity: 0.35;
  pointer-events: none;
}
.wc-block-components-product-details__stock {
  display: inline-block;
  margin: 6px 0 2px;
  padding: 4px 10px;
  background: #b3261e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.wc-block-components-product-details__stock .wc-block-components-product-details__name { display: none; }
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: var(--ink) !important;
  color: var(--ground) !important;
  border-radius: 0 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem !important;
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover { background: var(--gold) !important; }

/* One column on small screens: the photo needs its own space above the text,
   the grid row gap being off on the product page. */
@media (max-width: 980px) {
  body.woocommerce .woocommerce-content--product div.product div.images { margin-bottom: 24px; }
}

/* ---------- Product tabs: care, delivery, reviews ---------- */
.tab-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 68ch; }
.tab-list li { position: relative; padding-left: 20px; color: var(--ink-soft); }
.tab-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); }
.tab-more { margin: 14px 0 0; }
.tab-more a { font-size: 0.84rem; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.tab-more a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Empty cart ---------- */
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before { display: none; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: clamp(8px, 2vw, 20px) 0 10px;
}
.wp-block-woocommerce-empty-cart-block .wp-block-separator { display: none; }
.empty-cart-text { text-align: center; color: var(--ink-soft); margin: 0 0 22px; }
.empty-cart-cta { text-align: center; margin: 0 0 clamp(44px, 6vw, 64px); }
.wp-block-woocommerce-empty-cart-block h2:not(.wc-block-cart__empty-cart__title) {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: clamp(18px, 3vw, 28px);
}
/* The suggested pieces, like the shop cards: no bold, no rules, no pills. */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title,
.wp-block-woocommerce-empty-cart-block .wc-block-components-product-name,
.wp-block-woocommerce-empty-cart-block .wp-block-post-title {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 0.94rem;
  border: 0;
  margin: 12px 0 2px;
}
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img,
.wp-block-woocommerce-empty-cart-block .wc-block-components-product-image img { aspect-ratio: 3 / 4; object-fit: cover; }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price,
.wp-block-woocommerce-empty-cart-block .wc-block-components-product-price { font-family: "Bodoni Moda", serif; color: var(--gold); border: 0; }
.wp-block-woocommerce-empty-cart-block .wp-block-button__link,
.wp-block-woocommerce-empty-cart-block .add_to_cart_button {
  width: 100%;
  border-radius: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 12px;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}
.wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover,
.wp-block-woocommerce-empty-cart-block .add_to_cart_button:hover { background: var(--ink); color: var(--ground); }
