/* ============================================================= Solara
   Vibe estivale — soleil, mer, doré sur rose pâle.
   Display : Cormorant Garamond · Corps/UI : Jost
   ============================================================= */
:root {
  --blanc-soleil: #FFFBF7;
  --rose-aube:    #FBEEE9;
  --rose-pale:    #F6DED6;
  --rose-poudre:  #EFC9BC;
  --or:           #C29A4E;
  --or-clair:     #E4C77E;
  --or-profond:   #A97F35;
  --encre:        #3B2E2A;
  --encre-doux:   #7A6A63;
  --ligne:        #EAD8CF;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, sans-serif;

  --wrap: 1180px;
  --r: 2px;
  --rphoto: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blanc-soleil);
  color: var(--encre);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------------------------------------------------------- primitives */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--or-profond);
  margin: 0 0 1rem;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0;
}
.section-title em { font-style: italic; color: var(--or-profond); }
.section-sub {
  color: var(--encre-doux);
  max-width: 46ch;
  margin: 1rem auto 0;
  font-size: 1.02rem;
}
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 3.2rem; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--left .section-sub { margin-left: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font-family: var(--sans); font-weight: 400;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 1.05em 2.2em;
  border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn--gold {
  background: linear-gradient(135deg, var(--or-clair), var(--or));
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(169,127,53,.7);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(169,127,53,.8); }
.btn--ghost { background: transparent; border-color: var(--or); color: var(--or-profond); }
.btn--ghost:hover { background: var(--rose-aube); }
.btn--block { width: 100%; }
.btn--sm { padding: .7em 1.3em; font-size: .72rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

/* the recurring gold horizon — brand signature as divider */
.horizon {
  height: 1px; width: min(var(--wrap), 90%); margin: 2.6rem auto;
  background: linear-gradient(90deg, transparent, var(--or-clair) 20%, var(--or) 50%, var(--or-clair) 80%, transparent);
  position: relative;
}
.horizon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--or-clair);
  box-shadow: 0 0 0 4px rgba(228,199,126,.25), 0 0 16px 2px rgba(228,199,126,.6);
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 1rem;
  padding: 1.05rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(255,251,247,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ligne);
}
.nav__side { display: flex; align-items: center; gap: 2.2rem; }
.nav__side--left { justify-self: start; }
.nav__side--right { justify-self: end; }
.nav__side a {
  font-family: var(--sans); font-weight: 400;
  font-size: .9rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--encre-doux); transition: color .2s;
}
.nav__side a:hover { color: var(--or-profond); }
.nav__icon { width: 1.2em; height: 1.2em; display: block; }
/* hamburger (masqué en desktop) */
.nav__burger { display: none; grid-column: 1; justify-self: start; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px 2px; cursor: pointer; }
.nav__burger span { display: block; width: 24px; height: 2px; background: #000; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,251,247,.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ligne); flex-direction: column; padding: .5rem 1.2rem 1rem; box-shadow: 0 16px 30px -18px rgba(59,46,42,.4); }
.nav__mobile.open { display: flex; }
.nav__mobile a { display: flex; align-items: center; gap: .75em; padding: .85rem .2rem; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre); border-bottom: 1px solid var(--ligne); }
.nav__mobile .nav__icon { width: 1.25em; height: 1.25em; flex: none; color: var(--or-profond); }
.nav__mobile a:last-child { border-bottom: none; }
.nav__brand {
  grid-column: 2; justify-self: center;
  display: inline-flex; align-items: center; gap: .95rem;
  font-family: var(--serif); font-size: 1.75rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: #000;
  line-height: 1;
}
.nav__logo { height: 1.7em; width: auto; display: block; }
.adminbar__brand { display: inline-flex; align-items: center; gap: .95rem; color: #000; }
.nav__cart { display: inline-flex; align-items: center; gap: .5em; }
.nav__account { display: inline-flex; align-items: center; gap: .5em; }
.nav__count {
  display: inline-grid; place-items: center; min-width: 1.45em; height: 1.45em;
  padding: 0 .3em; border-radius: 50%;
  background: var(--or); color: #fff; font-size: .66rem; letter-spacing: 0;
}

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 780px); display: flex; align-items: center;
  background-size: cover;
  background-position: 72% center;   /* garde la femme + la mer dans le cadre */
  background-repeat: no-repeat;
}
/* voile clair : opaque à gauche (sous le texte) → transparent à droite (sujet) */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(255,250,246,.98) 0%,
      rgba(255,249,244,.88) 20%,
      rgba(255,248,242,.50) 38%,
      rgba(255,248,242,0) 56%),
    linear-gradient(180deg, rgba(255,250,246,.30), rgba(59,46,42,.12) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3rem,8vw,5rem) clamp(1.2rem,4vw,2.5rem);
  text-align: left;
  animation: hero-in 1.1s cubic-bezier(.2,.8,.2,1) both;
}
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.2rem, 8vw, 6.2rem); line-height: .95;
  letter-spacing: .01em; margin: 0 0 1.4rem; color: var(--encre);
}
.hero__title em { font-style: italic; color: var(--or-profond); }
.hero__lede {
  max-width: 34ch; margin: 0 0 2.4rem;
  color: var(--encre-doux); font-size: 1.08rem;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (min-width: 761px) {
  /* plus de décalage négatif : la phrase longue déborderait du voile clair */
  .hero__content { position: relative; left: 0; }
}

/* ----------------------------------------------------- collection grid */
.collection { max-width: var(--wrap); margin: 0 auto; padding: 3rem clamp(1.2rem,4vw,2rem); }
.section-cta { text-align: center; margin-top: 2.2rem; }
.shop-head {
  text-align: center; max-width: 60ch; margin: 0 auto;
  padding: clamp(3.5rem,8vw,5.5rem) 1.5rem 0;
}
.collection--shop { padding-top: 2.5rem; }
.collection--shop .grid { row-gap: clamp(3rem, 6vw, 5rem); }
.shop-empty { text-align: center; color: var(--encre-doux); font-family: var(--serif); font-size: 1.3rem; padding: 3rem 0; }

/* --- barre de catégories --- */
.cats {
  display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(1rem,4vw,2.6rem);
  max-width: var(--wrap); margin: 2.6rem auto 0;
  padding: 0 clamp(1.2rem,4vw,2rem);
}
.cat { display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center; }
.cat__ill {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #FCEFEA, #F3D6CC);
  border: 1px solid transparent;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.cat__ill .jewel { width: 46%; margin: 0; filter: none; }
.cat__label {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--encre-doux); transition: color .25s ease;
}
.cat:hover .cat__ill { transform: translateY(-3px); box-shadow: 0 10px 22px -12px rgba(169,127,53,.6); }
.cat:hover .cat__label { color: var(--or-profond); }
.cat--on .cat__ill {
  border-color: var(--or);
  box-shadow: 0 0 0 3px rgba(228,199,126,.3);
  background: linear-gradient(160deg, #FBE7DE, #EFC9BC);
}
.cat--on .cat__label { color: var(--or-profond); }
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
}
.card { display: block; transition: transform .3s ease; }
.card:hover .card__frame { transform: translateY(-6px); }
.card__frame {
  transition: transform .3s ease;
  aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden;
  display: grid; place-items: center;
  position: relative;
}
.card__frame img { width: 100%; height: 100%; object-fit: cover; }
/* type-based rose grounds so the placeholder feels curated */
.card__frame--bague    { background: linear-gradient(160deg, #FBEDE7, #F3D3C7); }
.card__frame--collier  { background: linear-gradient(160deg, #FCEFEA, #EFCBCB); }
.card__frame--bracelet { background: linear-gradient(160deg, #FBEAE2, #F1CDBB); }
.card__frame--boucles  { background: linear-gradient(160deg, #FDEFE8, #F2D0C0); }
.jewel {
  width: 46%; color: var(--or-profond);
  stroke: currentColor; stroke-width: 2.4; fill: none;
  filter: drop-shadow(0 6px 14px rgba(169,127,53,.35));
  transition: transform .5s ease;
}
.card:hover .jewel { transform: rotate(-4deg) scale(1.04); }
.card__body { padding: 1.1rem .2rem 0; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card__name { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0; }
.card__price { font-size: .95rem; color: var(--or-profond); white-space: nowrap; }
.card__short { color: var(--encre-doux); font-size: .95rem; margin: .35rem 0 0; }

/* ---------------------------------------------------------------- story */
.story { background: var(--rose-aube); padding: clamp(4rem,9vw,7rem) 1.5rem; }
.story__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.story__text { color: var(--encre-doux); font-size: 1.12rem; margin: 0 auto 3rem; max-width: 54ch; }
.story__marks { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.mark { display: flex; flex-direction: column; gap: .4rem; padding-top: 1.4rem; border-top: 1px solid var(--rose-poudre); }
.mark__k { font-family: var(--serif); font-size: 1.4rem; color: var(--or-profond); }
.mark__v { font-size: .82rem; color: var(--encre-doux); letter-spacing: .02em; }

/* ------------------------------------------------------------------ pdp */
.pdp {
  max-width: var(--wrap); margin: 0 auto; padding: 3rem clamp(1.2rem,4vw,2rem) 0;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,5vw,4.5rem);
  align-items: start;
}
.pdp__gallery { position: sticky; top: 100px; }
.pdp__media {
  aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden;
  display: grid; place-items: center; position: relative;
}
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp__media .jewel { width: 40%; }
.pdp__thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.pdp__thumb {
  width: 64px; aspect-ratio: 1; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--ligne); background: none; padding: 0; cursor: pointer;
  opacity: .65; transition: opacity .2s ease, border-color .2s ease;
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active, .pdp__thumb:hover { opacity: 1; border-color: var(--or); }
.back { font-size: .8rem; color: var(--encre-doux); letter-spacing: .06em; }
.back:hover { color: var(--or-profond); }
.pdp__info { padding-top: .5rem; }
.pdp__name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem,5vw,3.4rem); margin: .6rem 0 .3rem; }
.pdp__price { font-size: 1.3rem; color: var(--or-profond); margin: 0 0 1.2rem; }
.pdp__short { color: var(--encre-doux); font-size: 1.1rem; font-style: italic; font-family: var(--serif); }
.pdp__form { margin: 2rem 0; display: flex; flex-direction: column; gap: 1.1rem; max-width: 340px; }
.pdp__specs { display: grid; gap: .1rem; margin: 2rem 0; border-top: 1px solid var(--ligne); }
.pdp__specs > div { display: flex; justify-content: space-between; padding: .85rem 0; border-bottom: 1px solid var(--ligne); }
.pdp__specs dt { color: var(--encre-doux); font-size: .85rem; letter-spacing: .04em; margin: 0; }
.pdp__specs dd { margin: 0; font-size: .9rem; }
.pdp__desc { margin-top: 2.2rem; }
.pdp__desc p:last-child { color: var(--encre-doux); }

/* --------------------------------------------------------------- fields */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-doux); }
.field select, .field input {
  font-family: var(--sans); font-size: 1rem; color: var(--encre);
  padding: .85em 1em; border: 1px solid var(--ligne); border-radius: var(--r);
  background: #fff; width: 100%;
}
.field select:focus, .field input:focus { outline: 2px solid var(--or-clair); outline-offset: 1px; border-color: var(--or); }

/* ----------------------------------------------------------------- page */
.page { max-width: var(--wrap); margin: 0 auto; padding: 4rem clamp(1.2rem,4vw,2rem); }
.page--narrow { max-width: 640px; }
.center { text-align: center; }
.center .btn, .center .notice__sun { margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------------------- cart */
.cart { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.cart__lines { display: flex; flex-direction: column; }
.cart__line { display: grid; grid-template-columns: 84px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--ligne); }
.cart__thumb { width: 84px; aspect-ratio: 1; border-radius: var(--r); display: grid; place-items: center; overflow: hidden; }
.cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart__thumb .jewel { width: 52%; }
.cart__meta { display: flex; flex-direction: column; gap: .3rem; }
.cart__name { font-family: var(--serif); font-size: 1.35rem; }
.cart__sub { font-size: .85rem; color: var(--encre-doux); }
.cart__right { text-align: right; display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; }
.cart__total { color: var(--or-profond); }
.link-remove { background: none; border: none; color: var(--encre-doux); font-family: var(--sans); font-size: .78rem; cursor: pointer; text-decoration: underline; padding: 0; }
.link-remove:hover { color: var(--encre); }

.summary { background: var(--rose-aube); border: 1px solid var(--ligne); border-radius: var(--r); padding: 1.8rem; position: sticky; top: 100px; }
.summary__title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 1.2rem; }
.summary__row { display: flex; justify-content: space-between; padding: .55rem 0; font-size: .95rem; color: var(--encre-doux); }
.summary__row--total { border-top: 1px solid var(--rose-poudre); margin-top: .5rem; padding-top: 1rem; color: var(--encre); font-size: 1.2rem; font-family: var(--serif); }
.summary .btn { margin-top: 1.4rem; }
.summary__note { text-align: center; font-size: .75rem; color: var(--encre-doux); margin: 1rem 0 0; letter-spacing: .04em; }

.empty { text-align: center; padding: 4rem 0; }
.empty p { font-family: var(--serif); font-size: 1.5rem; color: var(--encre-doux); margin-bottom: 2rem; }

/* --------------------------------------------------------------- notice */
.notice { text-align: center; background: var(--rose-aube); border: 1px solid var(--ligne); border-radius: var(--r); padding: 3rem 2rem; }
.notice h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 1rem 0; }
.notice p { color: var(--encre-doux); max-width: 46ch; margin: 0 auto 1rem; }
.notice__total { font-family: var(--serif); font-size: 1.2rem; color: var(--encre) !important; margin-top: 1.5rem !important; }
.notice .btn { margin-top: 1.5rem; }
.notice__sun {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto;
  background: radial-gradient(circle at center, #FFF6E4 0%, var(--or-clair) 45%, rgba(228,199,126,0) 72%);
  box-shadow: 0 0 30px 6px rgba(228,199,126,.5);
}

/* login */
.login { max-width: 340px; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 1.2rem; }

/* ---------------------------------------------------------------- admin */
.check { display: inline-flex; align-items: center; gap: .5em; font-size: .82rem; color: var(--encre-doux); cursor: pointer; }
.check input { width: 1.05em; height: 1.05em; accent-color: var(--or); }
.admin-bar { margin: 2rem 0 1.5rem; }

/* liste produits */
.prod-list { display: flex; flex-direction: column; }
.prod-item {
  display: grid; grid-template-columns: 60px 1fr auto auto; align-items: center;
  gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--ligne);
}
.prod-item__thumb { width: 60px; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; display: grid; place-items: center; }
.prod-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-item__thumb .jewel { width: 52%; }
.prod-item__main { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.prod-item__name { font-family: var(--serif); font-size: 1.3rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.prod-item__meta { font-size: .8rem; color: var(--encre-doux); }
.prod-item__meta em { color: var(--rose-poudre); font-style: normal; }
.prod-item__price { font-size: .95rem; color: var(--or-profond); white-space: nowrap; }
.tag { font-family: var(--sans); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; padding: .25em .6em; border-radius: 999px; }
.tag--best { background: var(--rose-pale); color: var(--or-profond); }
.tag--promo { background: var(--or); color: #fff; }
.price-old { text-decoration: line-through; color: var(--encre-doux); margin-right: .4em; font-size: .85em; }
.price-now { color: var(--or-profond); }

/* modale <dialog> */
.dlg { border: none; border-radius: 6px; padding: 0; width: min(720px, 92vw); max-height: 90vh; background: var(--blanc-soleil); color: var(--encre); box-shadow: 0 30px 80px -20px rgba(59,46,42,.5); }
.dlg::backdrop { background: rgba(59,46,42,.45); backdrop-filter: blur(2px); }
.dlg__form { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.6rem clamp(1.2rem,4vw,2rem) 1.8rem; overflow-y: auto; max-height: 90vh; }
.dlg__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: -1.6rem; background: var(--blanc-soleil); padding-top: .3rem; margin-top: -.3rem; }
.dlg__head h2 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin: 0; }
.dlg__x { background: none; border: none; font-size: 1.8rem; line-height: 1; color: var(--encre-doux); cursor: pointer; padding: 0 .2rem; }
.dlg__x:hover { color: var(--encre); }
.dlg__hint { font-size: .88rem; color: var(--encre-doux); margin: 0; }
.dlg__grid { display: grid; grid-template-columns: 200px 1fr; gap: 1.4rem; }
.dlg__col { display: flex; flex-direction: column; gap: 1rem; }
.dlg__row { display: flex; gap: 1rem; flex-wrap: wrap; }
.dlg__row .field { flex: 1 1 120px; }
.dlg__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--ligne); padding-top: 1.2rem; }
.dlg__foot-right { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.dlg textarea { font-family: var(--sans); font-size: 1rem; color: var(--encre); padding: .8em 1em; border: 1px solid var(--ligne); border-radius: var(--r); background: #fff; width: 100%; resize: vertical; }
.dlg textarea:focus { outline: 2px solid var(--or-clair); outline-offset: 1px; border-color: var(--or); }

/* galerie multi-photos (admin) */
.gallery-edit { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.gallery-edit__cell {
  position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden;
  cursor: pointer; border: 1px solid var(--ligne);
}
.gallery-edit__cell img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; }
.gallery-edit__cell input { position: absolute; opacity: 0; pointer-events: none; }
.gallery-edit__flag {
  position: absolute; inset: 0; display: none; place-items: center;
  background: rgba(180,71,47,.55); color: #fff; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.gallery-edit__cell input:checked ~ img { opacity: .35; }
.gallery-edit__cell input:checked ~ .gallery-edit__flag { display: grid; }
.gallery-edit__add {
  aspect-ratio: 1; border: 1.5px dashed var(--or-clair); border-radius: var(--r);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; cursor: pointer; color: var(--or-profond);
  background: var(--rose-aube); transition: background .2s ease, border-color .2s ease;
}
.gallery-edit__add:hover { background: var(--rose-pale); border-color: var(--or); }
.gallery-edit__plus { font-size: 1.8rem; line-height: 1; }
.gallery-edit__addlabel { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.gallery-edit__add.has-files { border-style: solid; border-color: var(--or); }
.gallery-edit__hint { font-size: .74rem; color: var(--encre-doux); margin: .2rem 0 0; }
/* cadres d'aperçu (photos ajoutées, pas encore enregistrées) */
.gallery-edit__pending { border-color: var(--or); }
.gallery-edit__new {
  position: absolute; top: 0; left: 0; right: 0; text-align: center;
  background: var(--or); color: #fff; font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; padding: .2em 0;
}
.gallery-edit__pendx {
  position: absolute; top: 3px; right: 3px; width: 22px; height: 22px;
  border: none; border-radius: 50%; background: rgba(59,46,42,.7); color: #fff;
  font-size: 1rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.gallery-edit__pendx:hover { background: var(--encre); }

/* sélecteur produits associés (recherche + chips) */
.assoc { position: relative; }
.assoc__control {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  border: 1px solid var(--ligne); border-radius: var(--r); background: #fff;
  padding: .5rem .6rem; min-height: 46px;
}
.assoc__chips { display: contents; }
.assoc__chip {
  display: inline-flex; align-items: center; gap: .3em;
  background: var(--rose-pale); color: var(--encre); border-radius: 999px;
  padding: .28em .4em .28em .8em; font-size: .82rem;
}
.assoc__chipx { border: none; background: none; color: var(--or-profond); cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 .1em; }
.assoc__chipx:hover { color: var(--encre); }
.assoc__search { flex: 1 1 140px; border: none; outline: none; background: none; font-family: var(--sans); font-size: .95rem; color: var(--encre); padding: .2em; min-width: 120px; }
.assoc__menu {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px);
  background: #fff; border: 1px solid var(--ligne); border-radius: var(--r);
  box-shadow: 0 16px 40px -18px rgba(59,46,42,.4);
  max-height: 220px; overflow-y: auto; padding: .3rem;
}
.assoc__opt {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: .92rem; color: var(--encre);
  padding: .55em .7em; border-radius: var(--r);
}
.assoc__opt:hover { background: var(--rose-aube); }
.assoc__opt-cat { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--encre-doux); }

@media (max-width: 560px) {
  .dlg__grid { grid-template-columns: 1fr; }
  .prod-item { grid-template-columns: 48px 1fr auto; }
  .prod-item__price { grid-column: 2; }
}

/* ---------------------------------------------------------------- flash */
.flash-wrap { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: .5rem; width: max-content; max-width: 90vw; }
.flash { padding: .8rem 1.4rem; border-radius: var(--r); font-size: .88rem; box-shadow: 0 12px 30px -14px rgba(59,46,42,.4); animation: flash-in .4s ease both; }
.flash--success { background: #fff; border: 1px solid var(--or-clair); color: var(--or-profond); }
.flash--error { background: #fff; border: 1px solid var(--rose-poudre); color: #B4472F; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-8px); } }

/* --------------------------------------------------------------- footer */
.footer { margin-top: 2.5rem; background: linear-gradient(180deg, var(--blanc-soleil), var(--rose-aube)); position: relative; }
.footer__horizon { height: 1px; background: linear-gradient(90deg, transparent, var(--or) 50%, transparent); }
.footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 4rem clamp(1.2rem,4vw,2rem) 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer__word { font-family: var(--serif); font-size: 2rem; letter-spacing: .1em; text-transform: uppercase; }
.footer__brand p { color: var(--encre-doux); margin: .5rem 0 0; }
.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--or-profond); margin-bottom: .3rem; }
.footer__col a { color: var(--encre-doux); font-size: .92rem; }
.footer__col a:hover { color: var(--encre); }
.footer__base { max-width: var(--wrap); margin: 0 auto; padding: 1.5rem clamp(1.2rem,4vw,2rem); border-top: 1px solid var(--ligne); display: flex; justify-content: space-between; font-size: .78rem; color: var(--encre-doux); letter-spacing: .04em; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 880px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: relative; top: 0; max-width: 460px; margin: 0 auto; }
  .cart { grid-template-columns: 1fr; }
  .summary { position: relative; top: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav { padding: .85rem 1.1rem; }
  .nav__burger { display: flex; }
  .nav__side--left { display: none; }
  .nav__account { display: none; }
  .nav__brand { font-size: 1.4rem; letter-spacing: .14em; }
  .nav__side--right { gap: 1rem; }
  .nav__cart-label { display: none; }  /* barre mobile : icône seule */
}
@media (max-width: 760px) {
  .hero { min-height: 92vh; background-position: 68% top; align-items: flex-end; }
  /* voile remonté : couvre bien tout le bas où se trouve le texte */
  .hero__scrim {
    background:
      linear-gradient(0deg,
        rgba(255,250,246,.98) 0%,
        rgba(255,250,246,.95) 32%,
        rgba(255,249,244,.7) 50%,
        rgba(255,248,242,.15) 66%,
        rgba(255,248,242,0) 78%);
  }
  .hero__content { text-align: center; padding-bottom: clamp(1.8rem,6vw,3rem); }
  .hero__lede { margin-left: auto; margin-right: auto; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .card { max-width: 320px; margin-left: auto; margin-right: auto; }
  .story__marks { grid-template-columns: 1fr; gap: 1rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; gap: .5rem; }
  .cart__line { grid-template-columns: 64px 1fr; }
  .cart__thumb { width: 64px; }
  .cart__right { grid-column: 2; flex-direction: row; justify-content: space-between; width: 100%; align-items: center; }
}
@media (max-width: 600px) {
  /* catégories : "Tout" centré au-dessus, les 4 autres sur une ligne */
  .cats { gap: 1.1rem .5rem; }
  .cat { flex: 1 1 0; max-width: 24%; }
  .cat:first-child { flex-basis: 100%; max-width: 100%; }
  .cat__ill { width: 60px; height: 60px; }
  .cat__ill .jewel { width: 50%; }
  .cat__label { font-size: .66rem; letter-spacing: .08em; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition: none !important; }
}

:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }

/* ===================================================== comptes & commandes */
.muted { color: var(--encre-doux); }
.check--block { display: flex; align-items: flex-start; gap: .6em; font-size: .88rem; line-height: 1.4; }
.check--block input { margin-top: .2em; flex-shrink: 0; }

/* barre admin */
.adminbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem clamp(1.2rem,4vw,2.5rem);
  background: rgba(255,251,247,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ligne);
}
.adminbar__brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .16em; text-transform: uppercase; }
.adminbar__tabs { display: flex; gap: 1.6rem; margin-right: auto; }
.adminbar__tabs a { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-doux); padding-bottom: .2rem; border-bottom: 2px solid transparent; }
.adminbar__tabs a.on { color: var(--or-profond); border-color: var(--or); }
.adminbar__tabs a:hover { color: var(--or-profond); }
.adminbar__out { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-doux); }
.adminbar__label { margin-left: auto; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-doux); }

/* commandes (admin) */
.orders { display: flex; flex-direction: column; gap: 1.4rem; }
.order { border: 1px solid var(--ligne); border-radius: var(--r); background: #fff; padding: 1.3rem 1.5rem; }
.order__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .9rem; border-bottom: 1px solid var(--ligne); }
.order__num { font-family: var(--serif); font-size: 1.3rem; margin-right: .8rem; }
.order__date { font-size: .8rem; color: var(--encre-doux); }
.order__total { font-family: var(--serif); font-size: 1.3rem; color: var(--or-profond); }
.order__body { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; padding: 1rem 0; }
.order__cust { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; }
.order__cust span { color: var(--encre-doux); }
.order__items { list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--encre-doux); }
.order__items em { font-style: normal; color: var(--rose-poudre); }
.order__manage { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; padding-top: 1rem; border-top: 1px solid var(--ligne); }
.order__manage .field:nth-child(2) { flex: 1 1 260px; }

/* table clients */
.table-wrap { overflow-x: auto; }
.ctable { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ctable th { text-align: left; font-family: var(--sans); font-weight: 400; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-doux); padding: .7rem .8rem; border-bottom: 1px solid var(--ligne); }
.ctable td { padding: .9rem .8rem; border-bottom: 1px solid var(--ligne); vertical-align: top; }

/* gateway auth */
.auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 900px; margin: 0 auto; }
.auth__card { border: 1px solid var(--ligne); border-radius: var(--r); padding: 2rem; background: #fff; }
.auth__card--gold { background: var(--rose-aube); border-color: var(--or-clair); }
.auth__title { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin: 0 0 1.4rem; }
.auth__card form { display: flex; flex-direction: column; gap: 1rem; }
.auth__row { display: flex; gap: 1rem; }
.auth__row .field { flex: 1; }
.auth__link { display: inline-block; margin-top: 1rem; font-size: .85rem; color: var(--or-profond); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; font-family: var(--sans); }
.code-input { text-align: center; font-size: 1.8rem; letter-spacing: .5em; font-family: var(--serif); }

/* espace client */
.acc-block { border-top: 1px solid var(--ligne); padding: 1.8rem 0; }
.acc-block__title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 1rem; }
.acc-block--danger .acc-block__title { color: #B4472F; }
.acc-order { border: 1px solid var(--ligne); border-radius: var(--r); padding: 1.3rem 1.5rem; margin-bottom: 1rem; background: #fff; }
.acc-order__head { display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; margin-bottom: 1.2rem; }
.acc-order__items { margin-top: 1rem; font-size: .9rem; color: var(--encre-doux); }
.acc-order__items summary { cursor: pointer; }
.acc-order__items ul { margin: .6rem 0 0; padding-left: 1.2rem; }
.acc-order .btn { margin-top: .4rem; }

/* timeline de suivi */
.timeline { display: flex; list-style: none; margin: 0 0 1rem; padding: 0; counter-reset: step; }
.timeline__step { flex: 1; position: relative; text-align: center; }
.timeline__step:not(:last-child)::after { content: ""; position: absolute; top: 9px; left: 50%; width: 100%; height: 2px; background: var(--ligne); z-index: 0; }
.timeline__step.is-done:not(:last-child)::after { background: var(--or); }
.timeline__dot { position: relative; z-index: 1; display: block; width: 20px; height: 20px; margin: 0 auto .5rem; border-radius: 50%; background: #fff; border: 2px solid var(--ligne); }
.timeline__step.is-done .timeline__dot { background: var(--or); border-color: var(--or); box-shadow: 0 0 0 4px rgba(228,199,126,.25); }
.timeline__label { font-size: .74rem; color: var(--encre-doux); letter-spacing: .02em; }
.timeline__step.is-done .timeline__label { color: var(--encre); }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.checkout__main { display: flex; flex-direction: column; gap: 1rem; }
.checkout__main .acc-block__title { border-top: none; padding-top: .5rem; margin-top: .8rem; }
.checkout__row { display: flex; gap: 1rem; flex-wrap: wrap; }
.checkout__row .field { flex: 1 1 160px; }
.checkout__hint { background: var(--rose-aube); border: 1px solid var(--ligne); border-radius: var(--r); padding: .9rem 1.1rem; font-size: .9rem; color: var(--encre-doux); }
.checkout__account { background: var(--rose-aube); border: 1px solid var(--or-clair); border-radius: var(--r); padding: 1.1rem 1.3rem; margin-top: .8rem; display: flex; flex-direction: column; gap: 1rem; }

/* pages légales */
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin: 2rem 0 .5rem; }
.legal p { color: var(--encre-doux); }

@media (max-width: 780px) {
  .auth__grid { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .adminbar { gap: 1rem; flex-wrap: wrap; }
  .adminbar__tabs { gap: 1rem; order: 3; width: 100%; }
}

/* ============================================================= avis / étoiles */
.stars { display: inline-flex; gap: .05em; letter-spacing: .05em; white-space: nowrap; }
.star { color: var(--ligne); font-size: 1rem; line-height: 1; }
.star--on { color: var(--or); }

.pdp__rating { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; color: var(--encre-doux); font-size: .9rem; }
.pdp__rating .star { font-size: 1.05rem; }

.reviews { max-width: var(--wrap); margin: 0 auto; padding: 2.4rem clamp(1.2rem,4vw,2rem); }
.reviews__avg { display: flex; justify-content: center; margin-top: .6rem; }
.reviews__avg .star { font-size: 1.4rem; }
.reviews__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; margin-bottom: 1.8rem; }
.reviews__empty { grid-column: 1 / -1; text-align: center; }
.review { border: 1px solid var(--ligne); border-radius: var(--r); padding: 1.3rem 1.4rem; background: #fff; }
.review__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; gap: 1rem; }
.review__author { font-family: var(--serif); font-size: 1.2rem; }
.review__badge { display: inline-block; margin-left: .5rem; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--or-profond); background: var(--rose-pale); padding: .2em .6em; border-radius: 999px; }
.review__date { font-size: .78rem; color: var(--encre-doux); white-space: nowrap; }
.review__text { color: var(--encre-doux); margin: .6rem 0 0; font-size: .95rem; }
.review__photo { display: block; margin-top: .8rem; width: 90px; height: 90px; border-radius: var(--r); overflow: hidden; }
.review__photo img { width: 100%; height: 100%; object-fit: cover; }

/* formulaire d'avis client */
.review-form { max-width: 560px; margin: 0 auto; background: var(--rose-aube); border: 1px solid var(--or-clair); border-radius: var(--r); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.review-form__title { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin: 0; }
.review-note { text-align: center; max-width: 46ch; margin: 0 auto; }
.review-note a { color: var(--or-profond); text-decoration: underline; }

/* widget de notation (radios en étoiles) */
.rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.rating-input input { position: absolute; opacity: 0; width: 0; }
.rating-input label { font-size: 2rem; line-height: 1; color: var(--ligne); cursor: pointer; padding: 0 .05em; transition: color .15s ease; }
.rating-input label:hover, .rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: var(--or); }
.rating-input input:focus-visible + label { outline: 2px solid var(--or); outline-offset: 2px; }

/* admin avis */
.review-admin { border: 1px solid var(--or-clair); border-radius: var(--r); background: var(--rose-aube); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.review-admin .acc-block__title { border: none; padding: 0; margin: 0; }
.review-admin__row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.review-admin__row .field { flex: 1 1 160px; }
.review-admin__row .field--sm { flex: 0 1 140px; }
.review-admin__foot { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.review-admin__foot .field { flex: 1 1 200px; }
.rev-list { display: flex; flex-direction: column; }
.rev-item { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: start; padding: 1.2rem 0; border-bottom: 1px solid var(--ligne); }
.rev-item__photo { width: 60px; height: 60px; border-radius: var(--r); overflow: hidden; }
.rev-item__photo img { width: 100%; height: 100%; object-fit: cover; }
.rev-item__top { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.rev-item__top strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.rev-item__meta { display: block; font-size: .8rem; color: var(--encre-doux); margin-top: .2rem; }
.rev-item__text { color: var(--encre-doux); font-size: .92rem; margin: .5rem 0 0; }

/* coins légèrement arrondis sur tous les cadres photo (fin de fichier = priorité) */
.card__frame, .pdp__media, .pdp__thumb, .cart__thumb, .prod-item__thumb,
.review__photo, .rev-item__photo, .gallery-edit__cell, .gallery-edit__add,
.photo-edit__preview {
  border-radius: var(--rphoto);
}

/* lien souligné dans les clauses (CGU au moment de l'inscription) */
.check a, .lien-souligne {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  color: var(--or-profond);
}

/* ---------------------------------------------- admin : filtres + stock */
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem;
  margin: 0 0 1.6rem; padding: 1rem 1.1rem;
  background: var(--rose-aube); border: 1px solid var(--ligne); border-radius: var(--r);
}
.filters__search {
  flex: 1 1 220px; min-width: 180px;
  padding: .7em .9em; font-family: var(--sans); font-size: .95rem;
  background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); color: var(--encre);
}
.filters__search:focus { outline: none; border-color: var(--or); }
.filters__cats, .filters__sort { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters__sort { margin-left: auto; }
.chip {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .55em 1em; cursor: pointer;
  background: #fff; color: var(--encre-doux);
  border: 1px solid var(--ligne); border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--or); color: var(--or-profond); }
.chip--on { background: var(--or); border-color: var(--or); color: #fff; }
.filters__empty { text-align: center; color: var(--encre-doux); padding: 2rem 0; }

.stock-seuil {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem 1rem;
  margin: 0 0 1.4rem; padding: 1rem 1.1rem;
  border: 1px solid var(--ligne); border-radius: var(--r);
}
.stock-seuil .field { margin: 0; }
.stock-seuil input { width: 6rem; }
.stock-seuil__unit { color: var(--encre-doux); font-size: .9rem; padding-bottom: .55rem; }

.stock-badge {
  font-family: var(--sans); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .45em 1em; border-radius: 999px; white-space: nowrap;
  background: #EAF3EC; color: #2F6B41; border: 1px solid #CBE3D3;
}
.stock-badge--low { background: #FCEBEA; color: #B3261E; border-color: #F3C9C6; }
.stock-low { color: #B3261E; font-weight: 500; }
.stock-edit { display: flex; align-items: center; gap: .4rem; }
.stock-edit input {
  width: 5rem; padding: .5em .6em; font-family: var(--sans);
  background: #fff; border: 1px solid var(--ligne); border-radius: var(--r); color: var(--encre);
}
@media (max-width: 760px) {
  .filters__sort { margin-left: 0; }
  .stock-edit { width: 100%; justify-content: flex-end; }
}

/* `hidden` doit gagner sur les display: grid/flex (filtres admin) */
[hidden] { display: none !important; }

/* --------------------------------------------------- page Notre histoire */
.hist-hero {
  background: linear-gradient(180deg, var(--rose-aube), var(--blanc-soleil));
  padding: clamp(3.5rem,8vw,6rem) 1.5rem clamp(2.5rem,6vw,4rem);
  text-align: center;
}
.hist-hero__inner { max-width: 760px; margin: 0 auto; }
.hist { max-width: 820px; margin: 0 auto; padding: 0 clamp(1.2rem,4vw,2rem); }
.hist__block { padding: clamp(2.4rem,5vw,3.4rem) 0; border-bottom: 1px solid var(--ligne); }
.hist__block:last-child { border-bottom: none; }
.hist__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem,4vw,2.6rem); line-height: 1.1;
  margin: 0 0 1.2rem;
}
.hist__block p { color: var(--encre-doux); font-size: 1.06rem; margin: 0 0 1.1rem; }
.hist__block p:last-child { margin-bottom: 0; }
.hist__block strong { color: var(--encre); font-weight: 400; }
.hist-values {
  max-width: 820px; margin: 0 auto;
  padding: clamp(2.5rem,6vw,4rem) clamp(1.2rem,4vw,2rem);
}

/* ------------------------------------- espace client : affordance des liens */
.acc-block a:not(.btn),
.acc-order a:not(.btn),
.section-head--left .section-sub a:not(.btn) {
  color: var(--or-profond);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  transition: color .2s;
}
.acc-block a:not(.btn):hover,
.acc-order a:not(.btn):hover,
.section-head--left .section-sub a:not(.btn):hover { color: var(--or); }

.acc-block .link-remove { color: #B4472F; font-size: .85rem; }
.acc-block .link-remove:hover { color: #8E3524; }

/* le « voir le détail » d'une commande doit ressembler à un bouton dépliant */
.acc-order__items summary {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em .9em;
  border: 1px solid var(--ligne); border-radius: 999px;
  background: var(--rose-aube);
  color: var(--or-profond);
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; list-style: none;
  transition: border-color .2s, background .2s;
}
.acc-order__items summary::-webkit-details-marker { display: none; }
.acc-order__items summary::after {
  content: "›"; font-size: 1.1em; line-height: 1;
  transform: rotate(90deg); transition: transform .2s;
}
.acc-order__items[open] summary::after { transform: rotate(-90deg); }
.acc-order__items summary:hover { border-color: var(--or); background: #fff; }

/* ------------------------------------- carte produit : ajout direct au panier */
.card { display: flex; flex-direction: column; }
.card__link { display: block; }
.card__add { margin-top: .9rem; }
.card__add .btn { width: 100%; }
.card__size {
  width: 100%; margin-bottom: .5rem;
  padding: .6em .8em; font-family: var(--sans); font-size: .9rem;
  background: #fff; border: 1px solid var(--or); border-radius: var(--r); color: var(--encre);
}

/* ------------------------------------------------------------- paiement */
.pay-form { margin-top: 1.6rem; }
.pay-form .btn { margin-top: 1.6rem; }
.pay-error {
  margin: 1rem 0 0; padding: .8rem 1rem;
  background: #FCEBEA; border: 1px solid #F3C9C6; border-radius: var(--r);
  color: #B3261E; font-size: .9rem;
}
.pay-test {
  padding: .8rem 1rem; margin: 0 0 1.4rem;
  background: #FFF6E0; border: 1px dashed var(--or); border-radius: var(--r);
  color: var(--or-profond); font-size: .88rem;
}
.pay-tag {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .35em .8em; border-radius: 999px; margin-left: .6rem; white-space: nowrap;
}
.pay-tag--ok { background: #EAF3EC; color: #2F6B41; border: 1px solid #CBE3D3; }
.pay-tag--wait { background: #FFF6E0; color: #8A6A1F; border: 1px solid #EBD9A8; }

/* pastille d'état de commande (admin) */
.state-tag {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .35em .8em; border-radius: 999px; margin-left: .4rem; white-space: nowrap;
  border: 1px solid var(--ligne); background: #fff; color: var(--encre-doux);
}
.state-tag--a_traiter { background: #FFF6E0; color: #8A6A1F; border-color: #EBD9A8; }
.state-tag--expedie   { background: #EAF0FA; color: #2F4E8A; border-color: #CBD9EF; }
.state-tag--livre     { background: #EAF3EC; color: #2F6B41; border-color: #CBE3D3; }
.order__manage .btn { align-self: end; }
.field--needed { border-color: #B3261E !important; background: #FFF8F8; }

/* ------------------------------------------------ hero : accroche sous le texte */
.hero__lede { margin-bottom: 1.1rem; }
.hero__eyebrow { margin: 0 0 1.6rem; }

/* --------------------------------------------------- panier : quantité par ligne */
.cart__qty { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.cart__qty-label {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--encre-doux);
}
.cart__qty-select {
  padding: .4em 1.8em .4em .7em; font-family: var(--sans); font-size: .9rem;
  background: #fff; border: 1px solid var(--ligne); border-radius: var(--r);
  color: var(--encre); cursor: pointer; transition: border-color .2s;
}
.cart__qty-select:hover { border-color: var(--or); }

/* ------------------------------- espace client : n° de commande + déconnexion */
.acc-order__head .order__num {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
  color: var(--encre);
}
@media (max-width: 600px) {
  .acc-logout { display: block; margin-top: .6rem; }
  .acc-logout__sep { display: none; }
}

/* ------------------------------------ boutique mobile : visuels carrés + air */
@media (max-width: 540px) {
  .card__frame { aspect-ratio: 1 / 1; }   /* on garde l'arrondi des angles */
  .grid, .collection--shop .grid { row-gap: 3.4rem; }
  .card__add { margin-top: 1.1rem; }
}

/* guillemets du titre d'accueil : présents mais discrets */
.hero__guil { color: var(--encre); font-style: normal; }

/* titre d'accueil : phrase plus longue → on plafonne la taille en desktop
   (le minimum reste 3.2rem, le rendu mobile est inchangé) */
.hero__title { font-size: clamp(2.7rem, 6.2vw, 5.2rem); }

/* titre de la section histoire : doit tenir sur une seule ligne */
.story .section-title { font-size: clamp(1.5rem, 7.3vw, 3rem); margin-bottom: 1.4rem; }
@media (max-width: 600px) { .story .section-title { margin-bottom: 1.8rem; } }

/* listes des pages légales */
.legal__list { color: var(--encre-doux); padding-left: 1.2rem; margin: .6rem 0 1rem; }
.legal__list li { margin-bottom: .5rem; }
.legal strong { color: var(--encre); font-weight: 400; }

/* -------------------------------- prix & montants : chiffres en police classique */
:root { --chiffres: Arial, Helvetica, sans-serif; }
.cart__sub, .cart__total,
.summary__row, .summary__row--total,
.order__total {
  font-family: var(--chiffres);
}
.summary__row--total { font-weight: 700; }
