/* ==========================================================================
   Globtrott Retails — feuille de style principale
   Base claire, typographie système (SF Pro sur Apple, Segoe UI sur Windows),
   accents or issus du logo. Mobile d'abord.
   ========================================================================== */

:root {
  --bg: #fbfbfd;
  --surface: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --ink: #191918;          /* fond du logo officiel */
  --ink-2: #242423;
  --gold: #b8913a;
  --gold-light: #e3c06f;
  --gold-text: #86651c;    /* or lisible sur fond clair (AA) */
  --gold-soft: #f8f1e1;
  --success: #1d7f46;
  --warn: #a15300;
  --warn-soft: #fff5e6;
  --error: #c4281c;
  --error-soft: #fdecea;

  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .07);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 56px;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

/* ---------------------------------------------------------------- Base */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.5 var(--font);
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.022em; line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-soft); }

.icon { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: -4px; }
.icon-lg { width: 32px; height: 32px; }
.icon.flip { transform: rotate(180deg); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.fineprint { font-size: 12px; color: var(--faint); margin-top: 18px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--pill); }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }
.todo { background: #fff3cd; color: #7a5a00; border-radius: 4px; padding: 0 4px; font-size: .92em; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-muted { background: var(--surface); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 40px); flex-wrap: wrap; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-title { font-size: clamp(30px, 4.2vw, 48px); margin: 0; }
.section-title-sm { font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; }
.section-sub { color: var(--muted); max-width: 620px; margin: 12px auto 0; font-size: 19px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--gold-text); margin: 0 0 10px; }
.eyebrow-gold { color: var(--gold-light); }
.lead { font-size: clamp(19px, 2vw, 21px); line-height: 1.45; color: var(--muted); }
.h-sm { font-size: 17px; margin-bottom: 8px; }

/* ---------------------------------------------------------------- Boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px;
  border: 1px solid transparent; border-radius: var(--pill);
  font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 17px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--text); }
.btn-light { background: #fff; color: var(--text); }
.btn-gold { background: linear-gradient(135deg, #d9b25b, #b8913a); color: #1a1406; }
.btn-gold:hover { background: linear-gradient(135deg, #e3c06f, #c49c43); }
.btn-link { padding-left: 4px; padding-right: 4px; color: var(--text); background: none; }
.btn-link:hover { color: var(--gold-text); }
.btn-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn-link:hover .icon:not(.flip) { transform: translateX(3px); }
.btn-link-light { color: #fff; }
.btn-link-light:hover { color: var(--gold-light); }
.btn-disabled, .btn:disabled { background: var(--line-soft); color: var(--faint); cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--muted); font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.link-btn:hover { color: var(--error); }
.link-btn .icon { width: 16px; height: 16px; }

.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.badge-soft { background: rgba(255, 255, 255, .9); color: var(--muted); border: 1px solid var(--line-soft); }
.badge-gold { background: var(--gold-soft); color: var(--gold-text); }

/* ---------------------------------------------------------------- Bandeau & en-tête */

.promo-bar { background: var(--ink); color: #f5f5f7; font-size: 14px; text-align: center; }
.promo-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px var(--gutter); text-decoration: none; }
.promo-bar .icon { color: var(--gold-light); width: 18px; height: 18px; }
.promo-bar a:hover span { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 253, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 30px; height: 30px; }
.brand-name { display: flex; flex-direction: column; font-family: var(--font-display); text-transform: uppercase; line-height: 1; }
.brand-l1 { font-size: 15px; font-weight: 600; letter-spacing: .16em; }
.brand-l2 { font-size: 9px; font-weight: 500; letter-spacing: .62em; margin-top: 3px; color: var(--gold-text); }
.main-nav { display: none; flex: 1; justify-content: center; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a { display: block; padding: 8px 14px; border-radius: var(--pill); font-size: 15px; color: #424245; text-decoration: none; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--text); background: rgba(0, 0, 0, .04); }
.main-nav a[aria-current="page"] { color: var(--text); font-weight: 500; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--text); text-decoration: none; }
.icon-btn:hover { background: rgba(0, 0, 0, .05); }
.cart-count { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.3); } }

.search-panel { border-top: 1px solid var(--line-soft); background: rgba(251, 251, 253, .96); }
.search-form { display: flex; align-items: center; gap: 12px; height: 64px; }
.search-form input { flex: 1; border: 0; background: none; font-size: 20px; outline: none; }
.search-form > .icon { color: var(--muted); }

.mobile-menu { border-top: 1px solid var(--line-soft); background: var(--bg); height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-menu ul { list-style: none; padding: 16px 0 40px; }
.mobile-menu a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line-soft); }
body.menu-open { overflow: hidden; }

.lang-switch { display: inline-flex; align-items: center; padding: 2px; border-radius: var(--pill); background: rgba(0, 0, 0, .05); }
.lang-switch a { min-width: 34px; height: 30px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: var(--pill); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-decoration: none; transition: background .2s, color .2s; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { background: var(--card); color: var(--text); box-shadow: var(--shadow-sm); }
.header-actions .lang-switch { margin-right: 4px; }
@media (max-width: 899px) {
  .header-actions .lang-switch { background: none; padding: 0; }
  .header-actions .lang-switch a[aria-current="true"] { display: none; }
}
.mobile-lang { padding: 8px 0 40px; }
.mobile-lang .lang-switch a { min-width: 56px; height: 40px; font-size: 15px; }
.mobile-menu ul { padding-bottom: 16px !important; }
.footer-brand .lang-switch { margin-top: 4px; }
.legal-note { font-size: 14px; color: var(--muted); font-style: italic; }

.checkout-header .header-inner { justify-content: space-between; }
.secure-note { display: none; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.back-link { font-size: 14px; color: var(--muted); }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .secure-note { display: inline-flex; }
}

/* ---------------------------------------------------------------- Messages */

.flashes { padding-top: 16px; display: grid; gap: 8px; }
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--surface); font-size: 15px; }
.flash-success { background: #eaf6ee; color: #14532d; }
.flash-error { background: var(--error-soft); color: #8a1c13; }
.flash-info { background: var(--gold-soft); color: #5c4512; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px);
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px);
  padding: 12px 12px 12px 20px; border-radius: var(--pill);
  background: rgba(29, 29, 31, .94); color: #fff; font-size: 15px; box-shadow: var(--shadow);
  opacity: 0; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: #fff; background: rgba(255, 255, 255, .16); padding: 8px 14px; border-radius: var(--pill); text-decoration: none; white-space: nowrap; }
.toast .icon { color: var(--gold-light); }

.notice { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); font-size: 15px; margin: 20px 0; }
.notice p { margin: 4px 0 0; }
.notice ul { margin: 8px 0 12px 18px; }
.notice .icon { margin-top: 2px; }
.notice-edition { background: var(--gold-soft); color: #4d3a10; }
.notice-edition .icon { color: var(--gold-text); }
.notice-error { background: var(--error-soft); color: #8a1c13; }
.notice-plain { background: var(--surface); }

/* ---------------------------------------------------------------- Accueil */

.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 20px; }
.hero-copy .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 28px; }
.hero-actions-center { justify-content: center; }
.hero-visual { position: relative; aspect-ratio: 1 / .9; }
.hero-tile { position: absolute; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; transition: transform .6s var(--ease); }
.hero-tile img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.hero-tile-1 { inset: 0 28% 30% 0; background: linear-gradient(160deg, #f5f5f7, #ececf0); }
.hero-tile-2 { width: 46%; aspect-ratio: 1; right: 0; top: 8%; background: #f7f1e6; }
.hero-tile-3 { width: 54%; aspect-ratio: 1.1; left: 30%; bottom: 0; background: #eef1ee; }
.hero-tile:hover { transform: translateY(-4px); }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

.universe-grid { display: grid; gap: 16px; }
.universe-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: 340px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
  text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.universe-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.universe-card h2 { font-size: clamp(32px, 4vw, 44px); }
.universe-card p { max-width: 460px; }
.universe-card .btn { align-self: flex-start; }
.universe-main { background: var(--ink); color: #f5f5f7; }
.universe-main .eyebrow { color: var(--gold-light); }
.universe-main p { color: #c7c7cc; }
.universe-alt { background: var(--surface); }
.universe-alt p { color: var(--muted); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 20px; }
.chip-list li { font-size: 13px; padding: 5px 12px; border-radius: var(--pill); border: 1px solid rgba(128, 128, 128, .35); }
@media (min-width: 900px) { .universe-grid { grid-template-columns: 1.15fr 1fr; } }

.brands-band { background: var(--surface); overflow: hidden; }
.marquee { overflow: hidden; margin: 8px 0 36px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: clamp(36px, 5vw, 64px); width: max-content; animation: marquee 60s linear infinite; padding: 18px 0; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 600; color: #a1a1a6; letter-spacing: -.02em; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.split-cards { display: grid; gap: 16px; }
.info-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.section-muted .info-card { border: 0; }
.info-card > .icon { color: var(--gold); margin-bottom: 18px; }
.info-card h3 { font-size: 26px; }
.info-card p { color: var(--muted); }
@media (min-width: 760px) { .split-cards { grid-template-columns: 1fr 1fr; } }

.pro-band { background: var(--ink); color: #f5f5f7; padding: clamp(56px, 8vw, 96px) 0; }
.pro-band h2 { font-size: clamp(30px, 4vw, 46px); }
.pro-band p { color: #c7c7cc; max-width: 560px; }
.pro-band-grid { display: grid; gap: 32px; align-items: center; }
.pro-band-grid img { width: min(280px, 70%); border-radius: var(--radius); }
@media (min-width: 900px) { .pro-band-grid { grid-template-columns: 340px 1fr; gap: 64px; } .pro-band-grid img { width: 100%; } }

/* ---------------------------------------------------------------- Assurance & pied de page */

.assurances { border-top: 1px solid var(--line-soft); background: var(--bg); padding: 40px 0; }
.assurances-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.assurances-grid > div { display: grid; gap: 4px; }
.assurances-grid .icon { color: var(--gold); width: 26px; height: 26px; margin-bottom: 6px; }
.assurances-grid strong { font-size: 15px; font-weight: 600; }
.assurances-grid span { font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .assurances-grid { grid-template-columns: repeat(4, 1fr); } }

.site-footer { background: var(--surface); color: var(--muted); font-size: 13px; padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-brand { grid-column: 1 / -1; max-width: 360px; }
.footer-brand img { width: 120px; margin-bottom: 14px; }
.site-footer h2 { font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: 0; margin-bottom: 10px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { padding-top: 20px; display: grid; gap: 6px; }
.footer-bottom p { margin: 0; }
.checkout-footer { padding: 24px 0; }
.checkout-footer .footer-bottom { padding-top: 0; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .footer-brand { grid-column: auto; }
}

/* ---------------------------------------------------------------- En-têtes de pages */

.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(24px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -.032em; }
.page-hero .lead { max-width: 720px; }
.page-hero.center .lead, .page-hero .center .lead { margin-left: auto; margin-right: auto; }
.page-hero-compact { padding: clamp(28px, 4vw, 48px) 0 8px; }
.page-hero-compact h1 { font-size: clamp(34px, 4.6vw, 52px); }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb .icon { width: 14px; height: 14px; }
.breadcrumb-product { padding-top: 20px; margin-bottom: 0; }

/* ---------------------------------------------------------------- Boutique */

.section-shop { padding-top: 16px; }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filter-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter); flex: 1 1 100%; }
.filter-pills::-webkit-scrollbar { display: none; }
.pill { flex: none; padding: 8px 16px; border-radius: var(--pill); background: var(--surface); font-size: 14px; text-decoration: none; transition: background .2s; white-space: nowrap; }
.pill:hover { background: var(--line-soft); }
.pill.is-active { background: var(--text); color: #fff; }
.pill-sep { flex: none; width: 1px; background: var(--line); margin: 6px 4px; }
.shop-sort select, .field select {
  appearance: none; -webkit-appearance: none;
  padding: 10px 40px 10px 16px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  font-size: 15px; cursor: pointer;
}
.result-note { color: var(--muted); font-size: 14px; margin: 12px 0 20px; }
@media (min-width: 900px) { .filter-pills { flex: 1 1 auto; margin: 0; padding: 4px 0; flex-wrap: wrap; overflow: visible; } }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 24px); }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card { min-width: 0; }
.product-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.product-card-media { position: relative; aspect-ratio: 1; border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.product-card-link:hover .product-card-media img { transform: scale(1.04); }
.product-card-media .badge { position: absolute; top: 10px; left: 10px; }
.product-card-body { padding: 14px 4px 4px; display: flex; flex-direction: column; flex: 1; }
.product-card-brand { font-size: 12px; font-weight: 600; color: var(--gold-text); margin: 0 0 4px; letter-spacing: .02em; }
.product-card-title { font-family: var(--font); font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-price { font-size: 16px; font-weight: 600; margin: auto 0 4px; }
.product-card-price .from { font-weight: 400; color: var(--muted); font-size: 14px; }
.product-card.is-out .product-card-media img { opacity: .5; }

.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; margin: 0; }
.stock .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--success); }
.stock-low { color: var(--warn); }
.stock-out { color: var(--faint); }

.empty-state { text-align: center; padding: 64px 16px; max-width: 520px; margin: 0 auto; }
.empty-state > .icon { color: var(--faint); margin-bottom: 16px; }
.empty-state h2 { font-size: 28px; }
.empty-state p { color: var(--muted); }

/* ---------------------------------------------------------------- Fiche produit */

.product { padding: 16px 0 clamp(40px, 6vw, 72px); }
.product-grid-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.gallery, .product-info { min-width: 0; }
@media (min-width: 1000px) { .product-grid-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; } .gallery { position: sticky; top: calc(var(--header-h) + 20px); } }

.gallery-main {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--radius-lg); background: var(--surface);
  margin: 0 calc(var(--gutter) * -1); border-radius: 0;
}
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; aspect-ratio: 1; margin: 0; scroll-snap-align: center; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.gallery-thumb { flex: none; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; overflow: hidden; transition: border-color .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb.is-active { border-color: var(--text); }
@media (min-width: 700px) {
  .gallery-main { margin: 0; border-radius: var(--radius-lg); }
  .gallery-thumb { width: 76px; height: 76px; }
}

.product-brand { display: inline-block; font-size: 14px; font-weight: 600; color: var(--gold-text); text-decoration: none; margin-bottom: 8px; }
.product-brand:hover { text-decoration: underline; }
.product-title { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.028em; margin-bottom: 12px; }
.product-short { font-size: 19px; color: var(--muted); line-height: 1.45; }
.buy-box { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: grid; gap: 18px; }
.price-row { display: flex; align-items: baseline; gap: 12px; }
.price { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.price-note { font-size: 14px; color: var(--muted); margin: 0; }
.variant-picker { border: 0; padding: 0; margin: 0; }
.variant-picker legend { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.variant-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.variant-option { position: relative; display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; }
.variant-option input { position: absolute; opacity: 0; pointer-events: none; }
.variant-option:hover { border-color: var(--faint); }
.variant-option:has(input:checked) { border-color: var(--text); background: var(--card); box-shadow: 0 0 0 1px var(--text); }
.variant-option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.variant-option.is-disabled { opacity: .45; cursor: not-allowed; }
.variant-label { font-weight: 600; font-size: 15px; }
.variant-price { font-size: 15px; }
.variant-unit { font-size: 12px; color: var(--muted); }
.buy-box { grid-template-columns: minmax(0, 1fr); }
.variant-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.buy-actions { display: flex; gap: 10px; align-items: stretch; }
.buy-actions .btn-block { flex: 1; min-width: 0; padding-left: 16px; padding-right: 16px; }
@media (max-width: 400px) { .buy-actions .qty-btn { width: 38px; } .buy-actions .qty input { width: 34px; } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--pill); background: var(--card); flex: none; }
.qty input { width: 44px; text-align: center; border: 0; background: none; font-size: 17px; font-weight: 500; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 44px; height: 50px; border: 0; background: none; border-radius: var(--pill); cursor: pointer; display: grid; place-items: center; color: var(--text); }
.qty-btn:hover { background: var(--surface); }
.qty-btn .icon { width: 18px; height: 18px; }
.qty-sm .qty-btn { width: 36px; height: 38px; }
.qty-sm input { width: 34px; font-size: 15px; }

.delivery-points { list-style: none; display: grid; gap: 18px; margin-top: 28px; padding: 24px; background: var(--surface); border-radius: var(--radius); }
.delivery-points li { display: flex; gap: 14px; }
.delivery-points .icon { color: var(--gold); margin-top: 1px; }
.delivery-points strong { display: block; font-size: 15px; font-weight: 600; }
.delivery-points span { font-size: 14px; color: var(--muted); }

.product-details { border-top: 1px solid var(--line-soft); }
.details-grid { display: grid; gap: 48px; }
.details-main h2, .details-side h2 { font-size: 28px; margin-bottom: 20px; }
.details-main h3 { font-size: 20px; margin: 32px 0 16px; }
.prose p { font-size: 17px; line-height: 1.6; color: #333336; max-width: 68ch; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--gold); margin-top: 1px; }
.check-list-lg li div { display: grid; gap: 2px; }
.check-list-lg strong { font-size: 18px; font-weight: 600; }
.check-list-lg span { color: var(--muted); }
.spec-list { margin: 0; display: grid; }
.spec-list > div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; }
.safety { margin-top: 28px; padding: 20px; background: var(--surface); border-radius: var(--radius); }
.safety summary { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; list-style: none; }
.safety summary::-webkit-details-marker { display: none; }
.safety summary .icon { color: var(--gold); }
.safety .spec-list > div:last-child { border-bottom: 0; }
.warning-text { display: flex; gap: 10px; font-size: 14px; background: var(--warn-soft); color: #6b3a00; padding: 12px 14px; border-radius: var(--radius-sm); margin: 12px 0; }
.warning-text .icon { color: var(--warn); }
@media (min-width: 1000px) { .details-grid { grid-template-columns: 1.3fr 1fr; gap: 80px; } }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(251, 251, 253, .9); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--line-soft); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .3s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sticky-buy-inner > div { display: grid; min-width: 0; }
.sticky-buy-inner strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy-inner span { font-size: 14px; color: var(--muted); }

.section-title + .product-grid { margin-top: 0; }

/* ---------------------------------------------------------------- Panier */

.section-cart { padding-top: 16px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 960px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; }
  .summary-card { position: sticky; top: calc(var(--header-h) + 20px); }
}
.line-list { list-style: none; }
.cart-line { display: grid; grid-template-columns: 96px 1fr; gap: 16px 20px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.cart-line-media { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.cart-line-media img { width: 100%; height: 100%; object-fit: contain; }
.cart-line-info h2 { font-family: var(--font); font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 4px; }
.cart-line-info h2 a { text-decoration: none; }
.cart-line-info p { margin: 0 0 2px; }
.cart-line-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cart-line-total { font-weight: 600; font-size: 17px; margin: 0; min-width: 90px; text-align: right; }
.edition-tag { display: inline-flex; gap: 6px; color: var(--gold-text); margin-top: 6px !important; }
.edition-tag .icon { width: 16px; height: 16px; }
@media (min-width: 640px) {
  .cart-line { grid-template-columns: 120px 1fr auto; }
  .cart-line-actions { grid-column: auto; flex-direction: column; align-items: flex-end; justify-content: flex-start; }
}

.summary-card { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; }
.summary-card h2 { font-size: 22px; }
.summary-rows { margin: 16px 0; display: grid; gap: 10px; }
.summary-rows > div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.summary-rows dt { color: var(--muted); }
.summary-rows dd { margin: 0; text-align: right; }
.summary-total { padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 19px !important; font-weight: 600; }
.summary-total dt { color: var(--text) !important; }
.summary-vat { font-size: 13px !important; }
.summary-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 14px 0 4px; }
.summary-secure .icon { width: 16px; height: 16px; }

.free-ship { padding: 16px 18px; margin-bottom: 8px; border-radius: var(--radius); background: var(--gold-soft); }
.summary-card .free-ship { background: var(--card); margin: 16px 0 0; }
.free-ship p { margin: 0 0 10px; font-size: 15px; line-height: 1.4; }
.free-ship p .icon { width: 18px; height: 18px; margin-right: 4px; vertical-align: -4px; }
.free-ship-bar { height: 6px; border-radius: 3px; background: rgba(184, 145, 58, .2); overflow: hidden; }
.free-ship-bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #d9b25b, var(--gold)); transition: width .5s var(--ease); }
.free-ship.is-done { background: #eaf6ee; color: #14532d; }
.free-ship.is-done .free-ship-bar { display: none; }
.free-ship.is-done p { margin: 0; }
.free-ship.is-done .icon { color: var(--success); }

/* ---------------------------------------------------------------- Tunnel de commande */

body.checkout { background: var(--bg); }
.checkout-section { padding-top: 24px; }
.steps { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 0 auto 32px; max-width: 560px; }
.steps li { flex: 1; display: flex; }
.steps li > a, .steps li > span:first-child { text-decoration: none; }
.steps li, .steps a { align-items: center; gap: 8px; font-size: 14px; color: var(--faint); }
.steps a { display: flex; color: var(--text); }
.steps li::after { content: ""; flex: 1; height: 1px; background: var(--line); margin-left: 8px; }
.steps li:last-child { flex: none; }
.steps li:last-child::after { display: none; }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; flex: none; }
.step-num .icon { width: 14px; height: 14px; }
.steps .is-current { color: var(--text); font-weight: 600; }
.steps .is-current .step-num { background: var(--text); border-color: var(--text); color: #fff; }
.steps .is-done .step-num { background: var(--gold); border-color: var(--gold); color: #fff; }
.step-label { display: none; }
@media (min-width: 560px) { .step-label { display: inline; } }

.checkout-title { font-size: clamp(28px, 3.4vw, 36px); }
.ship-options { display: grid; gap: 12px; margin: 24px 0; }
.ship-option { position: relative; display: block; cursor: pointer; }
.ship-option input { position: absolute; opacity: 0; }
.ship-option-body { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .2s, box-shadow .2s; }
.ship-option:hover .ship-option-body { border-color: var(--faint); }
.ship-option input:checked + .ship-option-body { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.ship-option input:focus-visible + .ship-option-body { outline: 2px solid var(--gold); outline-offset: 2px; }
.ship-option-text { flex: 1; display: grid; gap: 2px; }
.ship-option-text strong { font-size: 16px; font-weight: 600; }
.ship-option-text span { font-size: 14px; color: var(--muted); }
.ship-option-price { font-weight: 600; white-space: nowrap; }
.ship-option-price .free { color: var(--success); }
.carrier-mark { flex: none; width: 92px; padding: 8px 4px; border-radius: 10px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; background: var(--surface); }
.carrier-mondial-relay { background: #fbe9ec; color: #96182f; }
.carrier-colissimo { background: #fff3dc; color: #7a4a00; }
.carrier-chronopost { background: #e6eefb; color: #123a82; }
@media (max-width: 480px) { .carrier-mark { width: 74px; font-size: 11px; } .ship-option-body { gap: 12px; padding: 16px; } }

.relay-picker { margin: 8px 0 24px; padding: 20px; border-radius: var(--radius); background: var(--surface); }
.relay-picker h2 { font-size: 20px; }
.relay-selected { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--card); border: 1.5px solid var(--success); margin-bottom: 16px; }
.relay-selected .icon { color: var(--success); margin-top: 2px; }
.relay-selected div { display: grid; font-size: 15px; }
.relay-selected span { color: var(--muted); font-size: 14px; }
.mr-widget { min-height: 80px; background: var(--card); border-radius: var(--radius-sm); overflow: hidden; }
.mr-widget * { box-sizing: content-box; }
.mr-widget input, .mr-widget select, .mr-widget button { font-size: 14px; }

.form-block { border: 0; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.form-block legend { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 16px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.optional { color: var(--faint); font-weight: 400; }
.field input, .field textarea, .field select, .search-inline input {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
  font-size: 17px; transition: border-color .2s, box-shadow .2s;
}
.field select { border-radius: var(--radius-sm); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(29, 29, 31, .08); }
.has-error input, .has-error textarea { border-color: var(--error); }
.field-hint { font-size: 13px; color: var(--muted); margin: 0; }
.field-error { font-size: 14px; color: var(--error); margin: 0; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row-zip { grid-template-columns: 160px 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; margin: 12px 0; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--text); flex: none; }
.check.has-error span { color: var(--error); }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap-reverse; }
.form-actions .btn-primary { flex: 1 1 240px; max-width: 360px; margin-left: auto; }

.review-grid { display: grid; gap: 12px; margin: 24px 0; }
.review-card { padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--card); font-size: 15px; }
.review-card p { margin: 0 0 6px; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.review-head h2 { font-family: var(--font); font-size: 15px; font-weight: 600; margin: 0; letter-spacing: 0; }
.review-head a { font-size: 14px; color: var(--gold-text); }
.review-grid-2 { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
@media (min-width: 640px) { .review-grid-2 { grid-template-columns: 1fr 1fr; gap: 24px; } }

.pay-box { margin-top: 24px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); display: grid; gap: 12px; }
.pay-box .check { margin: 0 0 4px; }
.pay-methods { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0; }
.pay-methods span { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--card); border: 1px solid var(--line-soft); color: var(--muted); }

.checkout-summary h2 { font-size: 19px; }
.mini-lines { list-style: none; display: grid; gap: 14px; margin: 16px 0; }
.mini-lines li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.mini-media { position: relative; flex: none; width: 56px; height: 56px; border-radius: 10px; background: var(--card); }
.mini-media img { width: 100%; height: 100%; object-fit: contain; }
.mini-qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--muted); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.mini-name { flex: 1; min-width: 0; line-height: 1.3; }
.mini-name small { display: block; color: var(--muted); font-size: 13px; }
.mini-total { font-weight: 500; white-space: nowrap; }

.confirm-hero { text-align: center; padding: 16px 0 32px; }
.confirm-hero h1 { font-size: clamp(30px, 4vw, 44px); }
.confirm-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--success); color: #fff; margin-bottom: 20px; }
.confirm-icon .icon { width: 32px; height: 32px; stroke-width: 2.2; }
.confirm-icon.is-pending { background: var(--gold); }
.confirm-icon.is-error { background: var(--error); }
.order-ref { font-size: 15px; color: var(--muted); }
.checkout-section .summary-card + .center { margin-top: 32px; }
.checkout-section .price { margin: 16px 0 4px; }

/* ---------------------------------------------------------------- Marques */

.brand-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
.brand-tile { height: 100%; min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 6px; padding: 24px 16px; border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: background .2s, transform .3s var(--ease); }
a.brand-tile:hover { background: var(--line-soft); transform: translateY(-2px); }
.brand-wordmark { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.02em; }
.brand-cat { font-size: 13px; color: var(--muted); }
.brand-link { font-size: 13px; color: var(--gold-text); display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; }
.brand-link .icon { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- À propos */

.feature-rows { display: grid; gap: 0; max-width: 900px; margin: 0 auto; }
.feature-row { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 36px 0; border-bottom: 1px solid var(--line-soft); }
.feature-row:last-child { border-bottom: 0; }
.feature-num { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--gold); padding-top: 6px; }
.feature-row h2 { font-size: clamp(24px, 3vw, 32px); }
.feature-row p { color: var(--muted); font-size: 18px; }
@media (min-width: 700px) { .feature-row { grid-template-columns: 96px 1fr; } }

/* ---------------------------------------------------------------- Professionnels */

.pro-hero { background: var(--ink); color: #f5f5f7; padding: clamp(56px, 9vw, 120px) 0; }
.pro-hero h1 { font-size: clamp(44px, 7vw, 84px); letter-spacing: -.04em; }
.pro-hero .lead { color: #c7c7cc; max-width: 600px; }
.pro-hero-grid { display: grid; gap: 40px; align-items: center; }
.pro-hero-grid img { width: min(320px, 80%); border-radius: var(--radius-lg); }
@media (min-width: 900px) { .pro-hero-grid { grid-template-columns: 1.4fr 1fr; } .pro-hero-grid img { justify-self: end; width: 100%; max-width: 380px; } }

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 8px 0; }
.stat-row > div { display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid var(--gold); }
.stat-row strong { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stat-row span { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }

.columns-2 { display: grid; gap: 8px 48px; }
.columns-2 p { font-size: 19px; line-height: 1.55; color: #333336; }
@media (min-width: 900px) { .columns-2 { grid-template-columns: 1fr 1fr; } }

.partner-grid { display: grid; gap: 16px; }
.partner-card { background: var(--card); border-radius: var(--radius-lg); padding: 36px 32px; }
.partner-card > .icon { color: var(--gold); margin-bottom: 20px; }
.partner-card h3 { font-size: 24px; }
.partner-card p { color: var(--muted); margin: 0; }
@media (min-width: 900px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }

.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.3fr; gap: 80px; } }

.cat-columns { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.cat-columns > div { background: var(--card); border-radius: var(--radius-lg); padding: 32px; }
.cat-columns h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cat-columns ul { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.cat-columns li { padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.cat-columns li:last-child { border-bottom: 0; }
@media (min-width: 760px) { .cat-columns { grid-template-columns: 1fr 1fr; } }

.process { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.process li { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); }
.process li > span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--text); color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.process h3 { font-size: 20px; }
.process p { color: var(--muted); font-size: 15px; margin: 0; }
@media (min-width: 760px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, 1fr); } }

.pro-contact { display: grid; gap: 28px; align-items: center; }
.pro-contact address { color: #c7c7cc; line-height: 1.7; }
.pro-contact .todo { background: rgba(255, 243, 205, .15); color: var(--gold-light); }
@media (min-width: 900px) { .pro-contact { grid-template-columns: 1fr auto; } }

/* ---------------------------------------------------------------- Contact */

.contact-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; } }
.stack-form { display: grid; gap: 18px; }
.stack-form .btn-primary { justify-self: start; }
.contact-aside { display: grid; gap: 16px; align-content: start; }
.contact-card { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); }
.contact-card p { font-size: 15px; }
.contact-card-dark { background: var(--ink); color: #f5f5f7; }
.contact-card-dark p { color: #c7c7cc; }
.contact-card-dark a { color: var(--gold-light); text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
.contact-list { list-style: none; display: grid; gap: 14px; font-size: 15px; }
.contact-list li { display: flex; gap: 12px; }
.contact-list .icon { color: var(--gold); margin-top: 1px; }

/* ---------------------------------------------------------------- Pages légales */

.legal-layout { display: grid; gap: 32px; }
.legal-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.legal-nav a { flex: none; padding: 8px 14px; border-radius: var(--pill); background: var(--surface); font-size: 14px; text-decoration: none; white-space: nowrap; }
.legal-nav a[aria-current="page"] { background: var(--text); color: #fff; }
@media (min-width: 1000px) {
  .legal-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
  .legal-nav { flex-direction: column; margin: 0; padding: 0; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .legal-nav a { background: none; padding: 8px 12px; white-space: normal; }
  .legal-nav a:hover { background: var(--surface); }
}
.legal { max-width: 760px; font-size: 16px; line-height: 1.65; color: #333336; }
.legal h2 { font-size: 24px; margin: 44px 0 14px; color: var(--text); }
.legal h3 { font-size: 18px; margin: 28px 0 10px; color: var(--text); }
.legal ul, .legal ol { margin: 0 0 1em 1.3em; display: grid; gap: 6px; }
.legal a { color: var(--gold-text); }
.legal-updated { font-size: 14px; color: var(--muted); }
.legal-box { background: var(--surface); border-radius: var(--radius); padding: 20px 24px; margin: 20px 0; }
.legal-box > :last-child { margin-bottom: 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0 24px; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.legal-table th { font-weight: 600; background: var(--surface); }

/* ---------------------------------------------------------------- 404 */

.error-page { min-height: 50vh; }
.search-inline { position: relative; max-width: 440px; margin: 28px auto 8px; }
.search-inline .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-inline input { padding-left: 46px; border-radius: var(--pill); }

/* ---------------------------------------------------------------- Animations d'apparition */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .promo-bar, .site-header, .site-footer, .assurances, .sticky-buy { display: none !important; }
}

/* ==========================================================================
   Mode sombre — activé par l'attribut data-theme="dark" sur <html>
   (posé avant l'affichage selon le choix du visiteur ou le réglage de l'appareil)
   ========================================================================== */

.theme-toggle .icon-sun, [data-theme="dark"] .theme-toggle .icon-moon,
.theme-switch .icon-sun, [data-theme="dark"] .theme-switch .icon-moon,
.theme-switch .when-dark, [data-theme="dark"] .theme-switch .when-light { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun, [data-theme="dark"] .theme-switch .icon-sun,
[data-theme="dark"] .theme-switch .when-dark { display: inline-block; }
.theme-switch { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--card); color: var(--text); font-size: 15px; cursor: pointer; }
.mobile-lang { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
@media (max-width: 599px) { .header-actions .theme-toggle { display: none; } }

:root { color-scheme: light; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101011;
  --surface: #1c1c1e;
  --card: #232326;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #8e8e93;
  --line: #3a3a3c;
  --line-soft: #2c2c2e;
  --ink: #000000;
  --ink-2: #0b0b0b;
  --gold-text: #d9b45f;
  --gold-soft: #2a2416;
  --success: #4cc77a;
  --warn: #f0a24a;
  --warn-soft: #2d2212;
  --error: #ff6b5e;
  --error-soft: #2e1614;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow: 0 2px 8px rgba(0, 0, 0, .45), 0 16px 40px rgba(0, 0, 0, .5);
}
[data-theme="dark"] .site-header { background: rgba(16, 16, 17, .8); border-bottom-color: rgba(255, 255, 255, .08); }
[data-theme="dark"] .search-panel { background: rgba(16, 16, 17, .96); }
[data-theme="dark"] .main-nav a { color: #c7c7cc; }
[data-theme="dark"] .main-nav a:hover, [data-theme="dark"] .icon-btn:hover { background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .main-nav a[aria-current="page"] { color: #fff; }
[data-theme="dark"] .lang-switch { background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .promo-bar { border-bottom: 1px solid rgba(255, 255, 255, .06); }

/* Éléments clairs sur fond « texte » : le texte devient sombre */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .pill.is-active,
[data-theme="dark"] .legal-nav a[aria-current="page"],
[data-theme="dark"] .steps .is-current .step-num,
[data-theme="dark"] .process li > span { color: #111112; }
[data-theme="dark"] .btn-primary:hover { background: #fff; }
[data-theme="dark"] .btn-light { background: #fff; color: #1d1d1f; }
[data-theme="dark"] .btn-disabled, [data-theme="dark"] .btn:disabled { background: #2c2c2e; color: #8e8e93; }
[data-theme="dark"] .badge-soft { background: rgba(28, 28, 30, .92); border-color: #3a3a3c; }
[data-theme="dark"] .toast { background: rgba(58, 58, 60, .96); }

/* Textes longs */
[data-theme="dark"] .prose p, [data-theme="dark"] .columns-2 p, [data-theme="dark"] .legal { color: #d1d1d6; }
[data-theme="dark"] .marquee-track span { color: #636366; }

/* Messages et encadrés */
[data-theme="dark"] .flash-success { background: #13261a; color: #a6e3bb; }
[data-theme="dark"] .flash-error { background: var(--error-soft); color: #ffb4ab; }
[data-theme="dark"] .flash-info { background: var(--gold-soft); color: #ecd49b; }
[data-theme="dark"] .notice-edition { color: #ecd49b; }
[data-theme="dark"] .notice-error { color: #ffb4ab; }
[data-theme="dark"] .warning-text { color: #f5c992; }
[data-theme="dark"] .free-ship.is-done { background: #13261a; color: #a6e3bb; }
[data-theme="dark"] .summary-card .free-ship { background: var(--card); }
[data-theme="dark"] .todo { background: #3a3012; color: #f0d27a; }

/* Visuels de l'accueil */
[data-theme="dark"] .hero-tile-1 { background: linear-gradient(160deg, #1f1f22, #18181a); }
[data-theme="dark"] .hero-tile-2 { background: #262017; }
[data-theme="dark"] .hero-tile-3 { background: #1a211b; }
[data-theme="dark"] .universe-main { border: 1px solid #2c2c2e; }
[data-theme="dark"] .pro-band, [data-theme="dark"] .pro-hero { border-top: 1px solid #1f1f21; border-bottom: 1px solid #1f1f21; }

/* Transporteurs */
[data-theme="dark"] .carrier-mondial-relay { background: #3a1820; color: #ff9fb0; }
[data-theme="dark"] .carrier-colissimo { background: #3a2a10; color: #f5c46e; }
[data-theme="dark"] .carrier-chronopost { background: #142441; color: #9cbcf5; }

/* Petits smartphones (≤ 400 px) : en-tête compacté pour tenir sur une ligne */
@media (max-width: 400px) {
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .brand-l1 { font-size: 14px; letter-spacing: .12em; }
  .brand-l2 { letter-spacing: .5em; }
  .header-actions { gap: 0; }
  .header-actions .icon-btn { width: 40px; height: 44px; }
  .header-actions .lang-switch { margin-right: 0; }
}

.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline-block; }

/* ---------- État du produit (neuf / emballage abîmé / boîte ouverte) ---------- */
.badge-condition { background: #fff4e5; color: #8a5300; border: 1px solid #f1d6ac; }
.product-card-media .card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.product-card-media .card-badges .badge { position: static; }
.condition-line { display: flex; align-items: center; gap: 8px; margin: 6px 0 14px; font-size: 15px; color: var(--muted); }
.condition-line .icon { width: 18px; height: 18px; flex: none; }
.condition-line strong { color: var(--text); font-weight: 600; }
.condition-line.condition-neuf .icon { color: var(--success); }
.condition-line:not(.condition-neuf) .icon, .condition-line:not(.condition-neuf) strong { color: #8a5300; }
.notice-condition { background: #fff8ee; }
.notice-condition > .icon { color: #8a5300; }
.condition-tag { display: inline-flex; gap: 6px; color: #8a5300; margin-top: 6px !important; }
.condition-tag .icon { width: 16px; height: 16px; }
[data-theme="dark"] .badge-condition { background: rgba(58, 40, 12, .94); color: #f0c27a; border-color: #5c4321; }
[data-theme="dark"] .condition-line:not(.condition-neuf) .icon, [data-theme="dark"] .condition-line:not(.condition-neuf) strong,
[data-theme="dark"] .notice-condition > .icon, [data-theme="dark"] .condition-tag { color: #f0c27a; }
[data-theme="dark"] .notice-condition { background: #2a2216; }

/* ---------- Classe énergétique (règlement (UE) 2019/2015) ---------- */
.energy-badge { display: inline-flex; align-items: stretch; height: 30px; vertical-align: middle; text-decoration: none; font-family: Calibri, Carlito, Arial, sans-serif; font-weight: 700; line-height: 1; }
.energy-scale { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 2px 4px; border: 1px solid #1d1d1f; border-right: 0; background: #fff; color: #1d1d1f; font-size: 10px; }
.energy-arrow { position: relative; display: flex; align-items: center; padding: 0 6px 0 9px; margin-right: 13px; color: #fff; font-size: 22px; text-shadow: 0 0 1px rgba(0,0,0,.35); }
.energy-arrow::after { content: ""; position: absolute; top: 0; right: -13px; border-style: solid; border-width: 15px 0 15px 13px; border-color: transparent transparent transparent var(--energy); }
.energy-arrow { background: var(--energy); }
.energy-a { --energy: #00a651; } .energy-b { --energy: #50b848; } .energy-c { --energy: #bed630; } .energy-d { --energy: #fff200; color: #1d1d1f; text-shadow: none; }
.energy-e { --energy: #fdb913; } .energy-f { --energy: #f37021; } .energy-g { --energy: #ed1c24; }
.energy-badge-sm { height: 22px; margin-left: 8px; }
.energy-badge-sm .energy-scale { font-size: 8px; padding: 1px 3px; }
.energy-badge-sm .energy-arrow { font-size: 16px; padding: 0 4px 0 6px; margin-right: 10px; }
.energy-badge-sm .energy-arrow::after { right: -10px; border-width: 11px 0 11px 10px; }
.energy-row { display: flex; align-items: center; gap: 12px; margin: 4px 0 8px; }
.energy-row p { margin: 0; }
[data-theme="dark"] .energy-scale { border-color: #f5f5f7; }
/* Fiche produit : lettre de classe d'une taille proche de celle du prix */
.energy-row .energy-badge { height: 40px; }
.energy-row .energy-scale { font-size: 12px; padding: 3px 5px; }
.energy-row .energy-arrow { font-size: 30px; padding: 0 8px 0 12px; margin-right: 18px; }
.energy-row .energy-arrow::after { right: -18px; border-width: 20px 0 20px 18px; }
