/* ==========================================================================
   Rugby Approved Dijon · thème "rugby-dijon" · Globe Créateur 2026
   Mobile-first. Préfixe ra- pour les composants du thème.
   ========================================================================== */
@import url("fonts.css");

/* --- Tokens ------------------------------------------------------------- */
:root {
  --navy: #004266;
  --navy-700: #003351;
  --navy-900: #001f33;
  --red: #d10000;
  --red-700: #a30000;
  --gold: #f5a623;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --bg-navy-soft: #eaf1f6;
  --ok: #15803d;
  --warn: #b45309;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-2: 0 8px 24px rgba(15, 23, 42, .12);
  --shadow-3: 0 -8px 24px rgba(15, 23, 42, .10);
  --header-h: 56px;
  --tabbar-h: 60px;
  --gutter: 16px;
  --container: none;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b));
}
body.ra-lock { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(28px, 6vw, 44px); }
h2 { font-size: clamp(24px, 5vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.material-icons { display: none; }
.ra-icon { width: 24px; height: 24px; flex: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.ra-icon--sm { width: 18px; height: 18px; }

.ra-container { width: 100%; max-width: none; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ra-section { padding: 28px 0; }
.ra-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ra-section__title { font-size: clamp(22px, 5vw, 32px); }
.ra-section__sub { color: var(--muted); margin: 2px 0 0; font-size: 14px; }
.ra-section__link { font-weight: 600; font-size: 14px; color: var(--navy); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.ra-eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--red); }

/* --- Boutons ------------------------------------------------------------ */
.ra-btn, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .04em;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .1s;
  -webkit-tap-highlight-color: transparent; user-select: none; text-align: center;
}
.ra-btn:active, .btn:active { transform: scale(.98); }
.ra-btn--primary, .btn-primary { background: var(--red); color: #fff; }
.ra-btn--primary:hover, .btn-primary:hover { background: var(--red-700); color: #fff; }
.ra-btn--navy { background: var(--navy); color: #fff; }
.ra-btn--navy:hover { background: var(--navy-700); color: #fff; }
.ra-btn--outline, .btn-secondary, .btn-outline-primary, .btn-tertiary { background: #fff; color: var(--navy); border-color: var(--navy); }
.ra-btn--outline:hover, .btn-secondary:hover, .btn-tertiary:hover { background: var(--bg-navy-soft); color: var(--navy); }
.ra-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.ra-btn--ghost:hover { border-color: var(--ink); }
.ra-btn--block, .btn-block { width: 100%; }
.ra-btn--sm, .btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.ra-btn[disabled], .btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; }
.btn-unstyle { background: none; border: 0; padding: 0; min-height: 0; font: inherit; text-transform: none; letter-spacing: 0; }

/* --- Bandeau promo ------------------------------------------------------ */
.ra-promo { background: var(--navy-900); color: #fff; font-size: 13px; font-weight: 500; text-align: center; height: 32px; overflow: hidden; position: relative; }
.ra-promo__track { display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.ra-promo__item { height: 32px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ra-promo__item strong { color: var(--gold); font-weight: 700; }
@media (min-width: 1024px) {
  .ra-promo__track { flex-direction: row; justify-content: center; gap: 48px; transform: none !important; }
}

/* --- Header ------------------------------------------------------------- */
.ra-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--line); }
.ra-header.is-scrolled { box-shadow: var(--shadow-1); }
.ra-bar { height: var(--header-h); display: flex; align-items: center; gap: 4px; }
.ra-bar__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; color: var(--ink); }
.ra-bar__btn:hover { background: var(--bg-soft); color: var(--navy); }
.ra-bar__btn .ra-label { display: none; }
.ra-logo { flex: 1; display: flex; justify-content: center; min-width: 0; }
.ra-logo img { height: 34px; width: auto; }
.ra-actions { display: flex; align-items: center; gap: 2px; }
.ra-badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; font-family: var(--font-body); }
.ra-badge:empty, .ra-badge[data-count="0"] { display: none; }
.ra-nav { display: none; }
.ra-search { display: none; }
.ra-only-desktop { display: none !important; }

@media (min-width: 1024px) {
  :root { --header-h: 72px; --gutter: 32px; }
  body { padding-bottom: 0; }
  .ra-only-desktop { display: initial !important; }
  .ra-only-mobile { display: none !important; }
  .ra-bar { gap: 20px; }
  .ra-logo { flex: none; }
  .ra-logo img { height: 46px; }
  .ra-bar__btn .ra-label { display: block; font-size: 11px; font-weight: 600; margin-top: 2px; }
  .ra-bar__btn { width: auto; min-width: 56px; height: 56px; flex-direction: column; padding: 0 8px; }
  .ra-search { display: flex; flex: 1; max-width: 760px; margin: 0 auto; position: relative; }
  .ra-search form { display: flex; width: 100%; position: relative; }
  .ra-search input { width: 100%; height: 50px; border: 2px solid var(--line); border-radius: var(--radius-pill); padding: 0 52px 0 22px; background: var(--bg-soft); font-size: 16px; }
  .ra-search input:focus { outline: none; border-color: var(--navy); background: #fff; }
  .ra-search button { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; }
  .ra-nav { display: block; border-top: 1px solid var(--line); }
  .ra-nav__list { display: flex; justify-content: center; gap: 4px; }
  .ra-nav__item > a { display: block; padding: 12px 14px; font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 3px solid transparent; }
  .ra-nav__item:hover > a { border-bottom-color: var(--red); color: var(--navy); }
  .ra-nav__item--hot > a { color: var(--red); }
  .ra-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow-2); border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s var(--ease); z-index: 70; }
  .ra-nav__item:hover .ra-mega, .ra-nav__item:focus-within .ra-mega { opacity: 1; visibility: visible; transform: none; }
  .ra-mega__inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 32px; padding: 28px var(--gutter); }
  .ra-mega__col h4 { font-size: 15px; letter-spacing: .06em; color: var(--red); margin-bottom: 10px; }
  .ra-mega__col a { display: block; padding: 5px 0; font-size: 15px; color: var(--ink-2); }
  .ra-mega__col a:hover { color: var(--navy); text-decoration: underline; }
  .ra-mega__all { margin-top: 8px; font-weight: 700; color: var(--navy) !important; }
}

/* --- Tab bar mobile ----------------------------------------------------- */
.ra-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: #fff; border-top: 1px solid var(--line); display: flex; box-shadow: var(--shadow-3); }
.ra-tabbar__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); position: relative; -webkit-tap-highlight-color: transparent; }
.ra-tabbar__item.is-active, .ra-tabbar__item:hover { color: var(--navy); }
.ra-tabbar__item .ra-badge { top: 6px; right: calc(50% - 22px); }
@media (min-width: 1024px) { .ra-tabbar { display: none; } }

/* --- Tiroirs / overlays -------------------------------------------------- */
.ra-scrim { position: fixed; inset: 0; background: rgba(0, 31, 51, .55); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .2s; backdrop-filter: blur(2px); }
.ra-scrim.is-open { opacity: 1; visibility: visible; }
.ra-drawer { position: fixed; z-index: 90; background: #fff; display: flex; flex-direction: column; transition: transform .28s var(--ease), visibility .28s; visibility: hidden; }
.ra-drawer--left { top: 0; bottom: 0; left: 0; width: min(88vw, 400px); transform: translateX(-102%); box-shadow: var(--shadow-2); }
.ra-drawer--right { top: 0; bottom: 0; right: 0; width: min(92vw, 440px); transform: translateX(102%); box-shadow: var(--shadow-2); }
.ra-drawer--bottom { left: 0; right: 0; bottom: 0; max-height: 88vh; border-radius: 18px 18px 0 0; transform: translateY(102%); box-shadow: var(--shadow-3); }
.ra-drawer.is-open { transform: none; visibility: visible; }
.ra-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
.ra-drawer__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.ra-drawer__close { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-soft); }
.ra-drawer__body { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; padding-bottom: var(--safe-b); }
.ra-drawer__foot { flex: none; padding: 12px var(--gutter) calc(12px + var(--safe-b)); border-top: 1px solid var(--line); background: #fff; }
.ra-drawer--bottom .ra-drawer__handle { width: 44px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 10px auto 0; }
@media (min-width: 1024px) {
  .ra-drawer--bottom { left: auto; right: 0; top: 0; bottom: 0; width: 420px; max-height: none; border-radius: 0; transform: translateX(102%); }
  .ra-drawer--bottom .ra-drawer__handle { display: none; }
}

/* Menu off-canvas */
.ra-menu__list { padding: 6px 0; }
.ra-menu__item { border-bottom: 1px solid var(--line); }
.ra-menu__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 54px; padding: 0 var(--gutter); font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; width: 100%; text-align: left; }
.ra-menu__row--hot { color: var(--red); }
.ra-menu__row .ra-icon { transition: transform .2s; color: var(--muted); }
.ra-menu__item.is-open > .ra-menu__row .ra-icon { transform: rotate(90deg); }
.ra-menu__sub { display: none; background: var(--bg-soft); padding: 6px 0 10px; }
.ra-menu__item.is-open > .ra-menu__sub { display: block; }
.ra-menu__sub a { display: block; padding: 10px var(--gutter) 10px 28px; font-size: 16px; color: var(--ink-2); }
.ra-menu__sub a.ra-menu__all { font-weight: 700; color: var(--navy); }
.ra-menu__sub .ra-menu__item { border: 0; }
.ra-menu__sub .ra-menu__row { min-height: 44px; font-size: 16px; font-family: var(--font-body); font-weight: 600; text-transform: none; padding-left: 28px; }
.ra-menu__sub .ra-menu__sub a { padding-left: 44px; font-size: 15px; }
.ra-menu__links { padding: 12px var(--gutter); display: grid; gap: 4px; }
.ra-menu__links a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 600; color: var(--ink-2); }
.ra-menu__store { margin: 8px var(--gutter) 16px; padding: 14px; border-radius: var(--radius); background: var(--navy); color: #fff; font-size: 14px; }
.ra-menu__store strong { display: block; font-family: var(--font-display); font-size: 18px; text-transform: uppercase; margin-bottom: 4px; }
.ra-menu__store a { color: var(--gold); font-weight: 600; }

/* Recherche plein écran */
.ra-search-overlay { position: fixed; inset: 0; z-index: 95; background: #fff; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s var(--ease); display: flex; flex-direction: column; }
.ra-search-overlay.is-open { transform: none; opacity: 1; visibility: visible; }
.ra-search-overlay__bar { display: flex; align-items: center; gap: 8px; padding: 8px var(--gutter); border-bottom: 1px solid var(--line); }
.ra-search-overlay__bar form { flex: 1; position: relative; }
.ra-search-overlay__bar input { width: 100%; height: 46px; border: 2px solid var(--navy); border-radius: var(--radius-pill); padding: 0 44px 0 18px; font-size: 16px; }
.ra-search-overlay__bar input:focus { outline: none; }
.ra-search-overlay__bar form button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.ra-search-overlay__body { padding: 16px var(--gutter); overflow-y: auto; }
.ra-search-overlay__body h4 { font-size: 14px; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.ra-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ra-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-2); background: #fff; white-space: nowrap; }
.ra-chip:hover, .ra-chip.is-active { border-color: var(--navy); color: var(--navy); background: var(--bg-navy-soft); }
.ra-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scroll-snap-type: x proximity; }
.ra-chips--scroll::-webkit-scrollbar { display: none; }
.ra-chips--scroll .ra-chip { scroll-snap-align: start; }

/* --- Home ---------------------------------------------------------------- */
.ra-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.ra-hero__bg { position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 0%, #0a4f7a 0%, var(--navy-900) 55%); }
.ra-hero__bg::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 34px, rgba(255, 255, 255, .035) 34px 36px); }
.ra-hero__inner { position: relative; padding: 36px var(--gutter) 34px; display: grid; gap: 18px; }
.ra-hero__kicker { color: var(--gold); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.ra-hero__title { font-size: clamp(38px, 11vw, 88px); line-height: .92; letter-spacing: -.01em; }
.ra-hero__title em { font-style: normal; color: var(--red); -webkit-text-stroke: 0; }
.ra-hero__text { font-size: 16px; color: rgba(255, 255, 255, .85); max-width: 46ch; }
.ra-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ra-hero__cta .ra-btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.ra-hero__cta .ra-btn--outline:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.ra-hero__badges { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.ra-hero__badges span { display: inline-flex; align-items: center; gap: 6px; }
.ra-hero__badges .ra-icon { width: 16px; height: 16px; color: var(--gold); }
@media (min-width: 768px) { .ra-hero__inner { padding: 64px var(--gutter) 60px; } }
@media (min-width: 1024px) { .ra-hero__inner { grid-template-columns: 1.3fr .7fr; align-items: center; min-height: 520px; padding: 72px var(--gutter); } .ra-hero__aside { justify-self: end; } .ra-hero__title { font-size: clamp(64px, 7.5vw, 132px); } .ra-hero__text { font-size: 18px; max-width: 52ch; } }
.ra-hero__store { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); padding: 18px; backdrop-filter: blur(4px); display: grid; gap: 6px; font-size: 14px; }
.ra-hero__store strong { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
.ra-hero__store a { color: var(--gold); font-weight: 600; }

.ra-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ra-cat { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; }
.ra-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.ra-cat:hover img { transform: scale(1.05); }
.ra-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 31, 51, 0) 40%, rgba(0, 31, 51, .85) 100%); }
.ra-cat__label { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.ra-cat__label small { font-family: var(--font-body); font-weight: 500; font-size: 12px; text-transform: none; opacity: .8; display: block; margin-top: 4px; }
.ra-cat--text { background: var(--bg-navy-soft); color: var(--navy); }
.ra-cat--text::after { display: none; }
.ra-cat--text .ra-cat__label { color: var(--navy); }
.ra-cat--red { background: var(--red); }
.ra-cat--red .ra-cat__label { color: #fff; }
@media (min-width: 640px) { .ra-cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ra-cats { grid-template-columns: repeat(6, 1fr); gap: 14px; } .ra-cat__label { font-size: 22px; } }

.ra-brands { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px var(--gutter); margin: 0 calc(var(--gutter) * -1); scroll-snap-type: x mandatory; }
.ra-brands::-webkit-scrollbar { display: none; }
.ra-brand { flex: 0 0 auto; width: 128px; height: 72px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 12px; scroll-snap-align: start; }
.ra-brand img { max-height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .2s; }
.ra-brand:hover img { filter: none; opacity: 1; }
.ra-brand span { font-family: var(--font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; color: var(--navy); text-align: center; }
@media (min-width: 1024px) { .ra-brands { flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; } }

.ra-store { display: grid; gap: 16px; background: var(--bg-soft); border-radius: var(--radius); padding: 22px var(--gutter); }
.ra-store__info { display: grid; gap: 8px; font-size: 15px; }
.ra-store__info p { display: flex; gap: 10px; align-items: flex-start; }
.ra-store__info .ra-icon { color: var(--red); width: 20px; height: 20px; margin-top: 2px; }
.ra-store__hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 14px; }
.ra-store__hours dt { font-weight: 600; }
.ra-store__hours dd { margin: 0; color: var(--ink-2); }
@media (min-width: 1024px) { .ra-store { grid-template-columns: 1fr 1fr; padding: 36px; align-items: center; } }

.ra-reassure { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ra-reassure__item { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 13px; line-height: 1.35; }
.ra-reassure__item .ra-icon { color: var(--navy); width: 26px; height: 26px; }
.ra-reassure__item strong { display: block; font-family: var(--font-display); font-size: 16px; text-transform: uppercase; }
@media (min-width: 1024px) { .ra-reassure { grid-template-columns: repeat(4, 1fr); } }

/* --- Carrousel produits (scroll-snap) ----------------------------------- */
.ra-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; -webkit-overflow-scrolling: touch; }
.ra-rail::-webkit-scrollbar { display: none; }
.ra-rail > * { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; }
@media (min-width: 640px) { .ra-rail > * { flex-basis: 40%; } }
@media (min-width: 1024px) { .ra-rail { margin: 0; padding: 4px 0 8px; gap: 16px; } .ra-rail > * { flex-basis: calc(25% - 12px); max-width: none; } }
@media (min-width: 1400px) { .ra-rail > * { flex-basis: calc(20% - 13px); } }
@media (min-width: 1800px) { .ra-rail > * { flex-basis: calc(16.666% - 14px); } }
.ra-rail-wrap { position: relative; }
.ra-rail__nav { display: none; }
@media (min-width: 1024px) {
  .ra-rail__nav { display: flex; gap: 6px; }
  .ra-rail__btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; background: #fff; }
  .ra-rail__btn:hover { border-color: var(--navy); color: var(--navy); }
}

/* --- Carte produit ------------------------------------------------------- */
.ra-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.ra-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.ra-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.ra-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.ra-card:hover .ra-card__media img { transform: scale(1.04); }
.ra-card__body { padding: 10px 10px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.ra-card__brand { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ra-card__title { font-family: var(--font-body); font-weight: 600; font-size: 14px; line-height: 1.3; text-transform: none; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.ra-card__title a::after { content: ""; position: absolute; inset: 0; }
.ra-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; font-weight: 700; font-size: 16px; }
.ra-card__price .regular-price { font-weight: 400; color: var(--muted); text-decoration: line-through; font-size: 13px; }
.ra-card__price .discount-percentage, .ra-card__price .discount-amount { font-size: 12px; font-weight: 700; color: var(--red); }
.ra-card__price .price.has-discount, .ra-card .has-discount .price { color: var(--red); }
.ra-card__sizes { display: none; }
.ra-card__wish { position: absolute; top: 8px; right: 8px; z-index: 2; }
.ra-card .wishlist-button-add { width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); display: flex; align-items: center; justify-content: center; }
.product-flags { position: absolute; top: 8px; left: 8px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.product-flag { font-family: var(--font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 4px; background: var(--navy); color: #fff; }
.product-flag.discount, .product-flag.on-sale { background: var(--red); }
.product-flag.new { background: var(--gold); color: var(--navy-900); }
.product-flag.out_of_stock { background: var(--muted); }
@media (min-width: 1024px) {
  .ra-card__body { padding: 12px 12px 16px; }
  .ra-card__title { font-size: 15px; }
  .ra-card__sizes { display: flex; flex-wrap: wrap; gap: 4px; font-size: 11px; color: var(--muted); }
}

/* --- Listing --------------------------------------------------------------- */
.ra-listing__head { padding: 18px 0 8px; }
.ra-listing__head h1 { font-size: clamp(26px, 6vw, 40px); }
.ra-listing__count { color: var(--muted); font-size: 14px; margin-top: 4px; }
.ra-listing__desc { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin-top: 10px; max-width: 80ch; }
.ra-listing__desc.is-collapsed { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ra-listing__more { font-weight: 600; color: var(--navy); font-size: 14px; margin-top: 4px; text-decoration: underline; }
.ra-listing__subcats { margin: 10px 0 4px; }
.ra-toolbar { position: sticky; top: var(--header-h); z-index: 40; background: #fff; display: flex; align-items: center; gap: 8px; padding: 8px 0; margin: 4px 0 8px; border-bottom: 1px solid var(--line); }
.ra-toolbar__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; background: #fff; }
.ra-toolbar__btn .ra-count { min-width: 20px; height: 20px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 11px; line-height: 20px; text-align: center; padding: 0 6px; }
.ra-toolbar__btn .ra-count:empty { display: none; }
.ra-toolbar__sort { flex: 1; position: relative; }
.ra-toolbar__sort select { width: 100%; min-height: 42px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 0 34px 0 12px; font-weight: 600; font-size: 14px; background: #fff; appearance: none; -webkit-appearance: none; }
.ra-toolbar__sort .ra-icon { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 18px; height: 18px; }
.ra-toolbar__total { display: none; }
@media (min-width: 1024px) {
  .ra-toolbar { justify-content: flex-end; }
  .ra-toolbar__btn, .ra-toolbar__sort { flex: 0 0 auto; }
  .ra-toolbar__sort { width: 260px; }
  .ra-toolbar__total { display: block; margin-right: auto; color: var(--muted); font-size: 14px; }
}
.ra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 8px; }
@media (min-width: 640px) { .ra-grid { grid-template-columns: repeat(3, 1fr); gap: 18px 12px; } }
@media (min-width: 1024px) { .ra-grid { grid-template-columns: repeat(4, 1fr); gap: 24px 16px; } }
@media (min-width: 1400px) { .ra-grid { grid-template-columns: repeat(5, 1fr); } :root { --gutter: 48px; } }
@media (min-width: 1800px) { .ra-grid { grid-template-columns: repeat(6, 1fr); } }
.ra-grid .ra-card { border: 1px solid var(--line); }
#js-product-list.is-loading { opacity: .5; pointer-events: none; }
.ra-empty { text-align: center; padding: 48px var(--gutter); color: var(--ink-2); }
.ra-empty h2 { margin-bottom: 8px; }

/* Filtres (facettes) */
.ra-active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.ra-active-filters .ra-chip { padding-right: 8px; }
.ra-active-filters .ra-chip .ra-icon { width: 14px; height: 14px; }
#search_filters { padding: 0 var(--gutter); }
.ra-facet { border-bottom: 1px solid var(--line); }
.ra-facet__title { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; text-align: left; }
.ra-facet__title .ra-icon { transition: transform .2s; color: var(--muted); }
.ra-facet.is-open .ra-facet__title .ra-icon { transform: rotate(180deg); }
.ra-facet__body { display: none; padding: 0 0 12px; }
.ra-facet.is-open .ra-facet__body { display: block; }
.ra-facet__list { display: grid; gap: 2px; }
.ra-facet__list--pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ra-facet__opt { display: flex; align-items: center; gap: 10px; min-height: 42px; font-size: 15px; cursor: pointer; }
.ra-facet__opt input { width: 22px; height: 22px; accent-color: var(--navy); margin: 0; flex: none; }
.ra-facet__opt .ra-magnitude { color: var(--muted); font-size: 13px; margin-left: auto; }
.ra-facet__opt.is-disabled { opacity: .45; }
.ra-facet__list--pills .ra-facet__opt { min-height: 40px; min-width: 48px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); justify-content: center; font-weight: 600; }
.ra-facet__list--pills .ra-facet__opt input { position: absolute; opacity: 0; pointer-events: none; }
.ra-facet__list--pills .ra-facet__opt.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.ra-facet__list--pills .ra-magnitude { display: none; }
.ra-facet__color { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.ra-facet__slider { padding: 8px 4px; }
.ra-facet .faceted-slider { padding: 10px 6px 4px; }
.ui-slider { position: relative; height: 4px; background: var(--line-2); border-radius: 2px; margin: 18px 10px 12px; }
.ui-slider-range { position: absolute; height: 100%; background: var(--navy); border-radius: 2px; }
.ui-slider-handle { position: absolute; top: -10px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); box-shadow: var(--shadow-1); cursor: grab; touch-action: none; }
.ui-slider-handle:focus { outline: none; box-shadow: 0 0 0 4px rgba(0, 66, 102, .2); }
.ra-facet__range { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.ra-filters__foot { display: flex; gap: 10px; }
.ra-filters__foot .ra-btn { flex: 1; }

/* Pagination */
.ra-pagination { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 0 8px; }
.ra-pagination__info { color: var(--muted); font-size: 14px; }
.ra-pagination__list { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.ra-pagination__list a, .ra-pagination__list span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); font-weight: 600; }
.ra-pagination__list a:hover { border-color: var(--navy); color: var(--navy); }
.ra-pagination__list .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.ra-pagination__list .disabled { opacity: .4; pointer-events: none; }
.ra-pagination__more { width: 100%; max-width: 360px; }

/* --- Fiche produit ---------------------------------------------------------- */
.ra-product { padding-bottom: 24px; }
.ra-product__crumb { padding: 10px 0 4px; }
.ra-product__layout { display: grid; gap: 18px; }
.ra-gallery { position: relative; margin: 0 calc(var(--gutter) * -1); }
.ra-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; background: var(--bg-soft); }
.ra-gallery__track::-webkit-scrollbar { display: none; }
.ra-gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.ra-gallery__slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ra-gallery__dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
.ra-gallery__dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: all .2s; }
.ra-gallery__dots button.is-active { background: var(--navy); width: 22px; border-radius: 4px; }
.ra-gallery__thumbs { display: none; }
.ra-gallery__zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); display: inline-flex; align-items: center; justify-content: center; }
.ra-gallery .product-flags { top: 12px; left: 12px; }
.ra-gallery .ra-card__wish, .ra-product__wish { position: absolute; top: 12px; right: 12px; z-index: 2; }
@media (min-width: 1024px) {
  .ra-product__layout { grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 48px; align-items: start; }
  .ra-gallery { margin: 0; display: grid; grid-template-columns: 76px 1fr; gap: 12px; position: sticky; top: calc(var(--header-h) + 16px); }
  .ra-gallery__track { order: 2; border-radius: var(--radius); scroll-snap-type: none; }
  .ra-gallery__dots { display: none; }
  .ra-gallery__thumbs { order: 1; display: flex; flex-direction: column; gap: 8px; }
  .ra-gallery__thumbs button { width: 76px; height: 76px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--bg-soft); overflow: hidden; padding: 0; }
  .ra-gallery__thumbs button.is-active { border-color: var(--navy); }
  .ra-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .ra-gallery__zoom { display: none; }
}
.ra-product__info { display: grid; gap: 14px; }
.ra-product__brand { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ra-product__brand:hover { color: var(--navy); }
.ra-product__title { font-family: var(--font-body); font-weight: 600; font-size: 20px; line-height: 1.25; text-transform: none; letter-spacing: 0; }
@media (min-width: 1024px) { .ra-product__title { font-size: 26px; } }
.ra-product__ref { font-size: 12px; color: var(--muted); }
.ra-product__rating { font-size: 13px; color: var(--ink-2); }
.product-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; }
.product-prices .current-price { display: flex; align-items: baseline; gap: 10px; }
.product-prices .current-price-value { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; }
.product-prices .has-discount .current-price-value { color: var(--red); }
.product-prices .regular-price { font-size: 16px; color: var(--muted); text-decoration: line-through; }
.product-prices .discount { font-size: 12px; font-weight: 700; color: #fff; background: var(--red); padding: 3px 8px; border-radius: 4px; }
.product-prices .tax-shipping-delivery-label, .product-prices .product-unit-price, .product-prices .product-without-taxes { width: 100%; font-size: 12px; color: var(--muted); }
.product-prices .product-discount { order: 2; }
.product-prices .product-price { order: 1; }
.product-discounts table { width: 100%; font-size: 14px; border-collapse: collapse; }
.product-discounts th, .product-discounts td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.ra-product__short { font-size: 15px; color: var(--ink-2); }

.product-variants { display: grid; gap: 16px; }
.product-variants-item { display: grid; gap: 8px; }
.ra-variant__head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.ra-variant__head .control-label { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--ink-2); }
.ra-variant__head .ra-variant__selected { font-weight: 600; }
.ra-variant__guide { font-size: 13px; color: var(--navy); text-decoration: underline; }
.ra-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ra-pill { position: relative; }
.ra-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ra-pill span, .ra-pill .attribute-name { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 46px; padding: 0 14px; border: 2px solid var(--line-2); border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; background: #fff; transition: all .12s; }
.ra-pill input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.ra-pill input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.ra-pill--color span { min-width: 40px; width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 50%; border-width: 2px; }
.ra-pill--color input:checked + span { box-shadow: 0 0 0 2px #fff inset, 0 0 0 2px var(--navy); border-color: var(--navy); }
.product-variants select.form-control { min-height: 48px; }

.product-add-to-cart { display: grid; gap: 10px; }
.ra-buy { display: flex; gap: 10px; align-items: stretch; }
.ra-qty { display: inline-flex; align-items: center; border: 2px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; flex: none; }
.ra-qty button { width: 42px; height: 48px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500; color: var(--ink-2); }
.ra-qty button:hover { background: var(--bg-soft); }
.ra-qty input { width: 44px; height: 48px; text-align: center; border: 0; font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.ra-qty input::-webkit-outer-spin-button, .ra-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ra-buy .add-to-cart { flex: 1; min-height: 52px; font-size: 18px; }
.ra-buy .add-to-cart .ra-icon { width: 22px; height: 22px; }
.product-availability, #product-availability { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
#product-availability:empty { display: none; }
#product-availability .product-available, #product-availability.is-available { color: var(--ok); }
#product-availability .product-last-items { color: var(--warn); }
#product-availability .product-unavailable { color: var(--red); }
.product-minimal-quantity:empty { display: none; }
.product-minimal-quantity { font-size: 13px; color: var(--muted); }
.ra-availability-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }

.ra-delivery { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.ra-delivery__row { display: flex; gap: 10px; align-items: flex-start; }
.ra-delivery__row .ra-icon { width: 20px; height: 20px; color: var(--navy); margin-top: 1px; }
.ra-delivery__row strong { display: block; }
.ra-delivery__row span { color: var(--ink-2); }

.ra-acc { border-top: 1px solid var(--line); }
.ra-acc__item { border-bottom: 1px solid var(--line); }
.ra-acc__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; text-align: left; gap: 10px; }
.ra-acc__btn .ra-icon { transition: transform .2s; color: var(--muted); flex: none; }
.ra-acc__item.is-open .ra-acc__btn .ra-icon { transform: rotate(180deg); }
.ra-acc__body { display: none; padding: 0 0 18px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.ra-acc__item.is-open .ra-acc__body { display: block; }
.ra-acc__body img { border-radius: var(--radius-sm); }
.ra-acc__body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ra-acc__body td, .ra-acc__body th { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.product-features dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.product-features dt { font-weight: 600; }
.product-features dd { margin: 0; color: var(--ink-2); }
.product-features dl .name, .product-features dl .value { padding: 8px 6px; border-bottom: 1px solid var(--line); margin: 0; }
.product-features dl .name { font-weight: 600; }

.ra-sticky-cta { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + var(--safe-b)); z-index: 50; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-3); padding: 10px var(--gutter); display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s var(--ease); }
.ra-sticky-cta.is-visible { transform: none; }
.ra-sticky-cta__price { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; }
.ra-sticky-cta__price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--muted); text-transform: none; margin-top: 3px; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ra-sticky-cta .ra-btn { flex: 1; min-height: 48px; }
@media (min-width: 1024px) { .ra-sticky-cta { display: none; } }
body.has-sticky-cta .ra-tabbar { box-shadow: none; }

.ra-product__extra { margin-top: 28px; display: grid; gap: 28px; }
.ra-product__extra .ra-section { padding: 0; }
.product-images-modal .modal-dialog { max-width: 1100px; }
#product-comments-list-header, .product-comments-additional-info { font-size: 14px; }

/* --- Panier (modal ps_shoppingcart) ------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; overflow: hidden; outline: 0; }
.modal.show, .modal.in { display: block; }
.modal-backdrop { position: fixed; inset: 0; z-index: 99; background: rgba(0, 31, 51, .55); }
.modal-backdrop.fade { opacity: 0; transition: opacity .2s; }
.modal-backdrop.show, .modal-backdrop.in { opacity: 1; }
.modal-dialog { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; max-height: 92vh; display: flex; flex-direction: column; background: #fff; border-radius: 18px 18px 0 0; box-shadow: var(--shadow-3); transform: translateY(100%); transition: transform .28s var(--ease); }
.modal.show .modal-dialog { transform: none; }
.modal-content { display: flex; flex-direction: column; min-height: 0; border: 0; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px var(--gutter) 12px; border-bottom: 1px solid var(--line); }
.modal-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.modal-title .ra-icon { color: var(--ok); }
.modal-header .close { font-size: 28px; line-height: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); display: inline-flex; align-items: center; justify-content: center; }
.modal-body { padding: 16px var(--gutter) calc(16px + var(--safe-b)); overflow-y: auto; }
.modal-footer { padding: 12px var(--gutter); border-top: 1px solid var(--line); }
.ra-cart-modal__product { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.ra-cart-modal__product img { border-radius: var(--radius-sm); background: var(--bg-soft); }
.ra-cart-modal__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.ra-cart-modal__meta { font-size: 13px; color: var(--muted); margin-top: 4px; display: grid; gap: 2px; }
.ra-cart-modal__price { font-weight: 700; margin-top: 6px; font-size: 16px; }
.ra-cart-modal__totals { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; }
.ra-cart-modal__totals .ra-row { display: flex; justify-content: space-between; }
.ra-cart-modal__totals .ra-row--total { font-weight: 700; font-size: 17px; }
.ra-cart-modal__actions { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 1024px) {
  .modal-dialog { left: auto; top: 0; bottom: 0; width: 440px; max-height: none; border-radius: 0; transform: translateX(100%); }
  .product-images-modal .modal-dialog, .modal-dialog:not(.ra-cart-sheet) { left: 50%; right: auto; top: 50%; bottom: auto; width: min(92vw, 720px); max-height: 90vh; border-radius: var(--radius); transform: translate(-50%, -50%) scale(.98); opacity: 0; transition: all .2s; }
  .modal.show .modal-dialog:not(.ra-cart-sheet) { transform: translate(-50%, -50%); opacity: 1; }
  .modal-dialog.ra-cart-sheet { transform: translateX(100%); }
  .modal.show .modal-dialog.ra-cart-sheet { transform: none; }
}

/* --- Fil d'Ariane, notifications ---------------------------------------- */
.ra-crumb { font-size: 13px; color: var(--muted); }
.ra-crumb ol { display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.ra-crumb ol::-webkit-scrollbar { display: none; }
.ra-crumb li + li::before { content: "/"; margin: 0 4px; color: var(--line-2); }
.ra-crumb a:hover { color: var(--navy); text-decoration: underline; }
.ra-notifications { padding: 10px 0; display: grid; gap: 8px; }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; border: 1px solid; }
.alert ul { padding-left: 18px; list-style: disc; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info { background: var(--bg-navy-soft); border-color: #bcd3e3; color: var(--navy-700); }

/* --- Footer ---------------------------------------------------------------- */
.ra-footer { background: var(--navy-900); color: #fff; margin-top: 40px; }
.ra-footer__top { padding: 32px 0 8px; display: grid; gap: 8px; }
.ra-footer__brand { display: grid; gap: 12px; padding-bottom: 16px; }
.ra-footer__brand img { height: 40px; width: auto; background: #fff; padding: 6px 10px; border-radius: 6px; }
.ra-footer__brand p { font-size: 14px; color: rgba(255, 255, 255, .8); max-width: 44ch; }
.ra-footer__col { border-top: 1px solid rgba(255, 255, 255, .12); }
.ra-footer__col h3 { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; font-size: 16px; letter-spacing: .06em; cursor: pointer; }
.ra-footer__col h3 .ra-icon { transition: transform .2s; opacity: .7; }
.ra-footer__col.is-open h3 .ra-icon { transform: rotate(180deg); }
.ra-footer__col ul { display: none; padding-bottom: 14px; }
.ra-footer__col.is-open ul { display: grid; gap: 2px; }
.ra-footer__col li a, .ra-footer__col li { display: block; padding: 7px 0; font-size: 15px; color: rgba(255, 255, 255, .82); }
.ra-footer__col li a:hover { color: var(--gold); }
.ra-footer__contact { font-size: 15px; color: rgba(255, 255, 255, .82); display: grid; gap: 6px; }
.ra-footer__contact a { color: #fff; font-weight: 600; }
.ra-social { display: flex; gap: 10px; padding: 16px 0; }
.ra-social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: inline-flex; align-items: center; justify-content: center; }
.ra-social a:hover { background: var(--red); color: #fff; }
.ra-social .ra-icon { width: 20px; height: 20px; }
.ra-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 14px 0 calc(14px + var(--safe-b)); font-size: 12px; color: rgba(255, 255, 255, .6); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }
.ra-payments { display: flex; gap: 6px; flex-wrap: wrap; }
.ra-payments span { padding: 4px 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff; }
@media (min-width: 1024px) {
  .ra-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 24px; }
  .ra-footer__col { border: 0; }
  .ra-footer__col h3 { cursor: default; min-height: 0; margin-bottom: 10px; pointer-events: none; }
  .ra-footer__col h3 .ra-icon { display: none; }
  .ra-footer__col ul { display: grid !important; gap: 0; }
}

/* --- Compatibilité pages natives (checkout, compte, panier, CMS) --------- */
.container { width: 100%; max-width: none; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.row { display: flex; flex-wrap: wrap; margin-left: -8px; margin-right: -8px; }
.row > * { padding-left: 8px; padding-right: 8px; }
[class*="col-"] { position: relative; width: 100%; min-height: 1px; }
.col, .col-xs-12, .col-12 { flex: 0 0 100%; max-width: 100%; }
.col-xs-6, .col-6 { flex: 0 0 50%; max-width: 50%; }
.col-xs-4, .col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-xs-8, .col-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-xs-3, .col-3 { flex: 0 0 25%; max-width: 25%; }
.col-xs-9, .col-9 { flex: 0 0 75%; max-width: 75%; }
@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.333%; max-width: 8.333%; } .col-md-2 { flex: 0 0 16.666%; max-width: 16.666%; } .col-md-3 { flex: 0 0 25%; max-width: 25%; } .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; } .col-md-5 { flex: 0 0 41.666%; max-width: 41.666%; } .col-md-6 { flex: 0 0 50%; max-width: 50%; } .col-md-7 { flex: 0 0 58.333%; max-width: 58.333%; } .col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; } .col-md-9 { flex: 0 0 75%; max-width: 75%; } .col-md-10 { flex: 0 0 83.333%; max-width: 83.333%; } .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  .offset-md-1 { margin-left: 8.333%; } .offset-md-2 { margin-left: 16.666%; } .offset-md-3 { margin-left: 25%; } .col-md-offset-2 { margin-left: 16.666%; } .col-md-offset-3 { margin-left: 25%; }
}
@media (min-width: 1024px) {
  .col-lg-2 { flex: 0 0 16.666%; max-width: 16.666%; } .col-lg-3 { flex: 0 0 25%; max-width: 25%; } .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; } .col-lg-5 { flex: 0 0 41.666%; max-width: 41.666%; } .col-lg-6 { flex: 0 0 50%; max-width: 50%; } .col-lg-7 { flex: 0 0 58.333%; max-width: 58.333%; } .col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; } .col-lg-9 { flex: 0 0 75%; max-width: 75%; } .col-lg-10 { flex: 0 0 83.333%; max-width: 83.333%; } .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  .offset-lg-1 { margin-left: 8.333%; } .offset-lg-2 { margin-left: 16.666%; } .offset-lg-3 { margin-left: 25%; }
}
.hidden-sm-down { display: none !important; }
.hidden-md-down { display: none !important; }
@media (min-width: 768px) { .hidden-sm-down { display: initial !important; } .hidden-md-up { display: none !important; } }
@media (min-width: 1024px) { .hidden-md-down { display: initial !important; } .hidden-lg-up { display: none !important; } }
.hidden-xs-up, .d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--muted); }
.text-uppercase { text-transform: uppercase; }
.text-sm-center { text-align: center; }
.float-xs-left, .float-left { float: left; }
.float-xs-right, .float-right { float: right; }
.clearfix::after { content: ""; display: table; clear: both; }
.pull-xs-right { float: right; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .my-2 { margin-top: 16px; margin-bottom: 16px; } .py-2 { padding-top: 16px; padding-bottom: 16px; } .pt-3 { padding-top: 24px; }

.page-header { padding: 18px 0 6px; }
.page-header h1 { font-size: clamp(26px, 6vw, 38px); }
.page-content, .page-footer { padding: 12px 0; }
.page-content.card, .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card-block, .card-body { padding: 18px var(--gutter); }
.card + .card { margin-top: 16px; }
.card-header { padding: 14px var(--gutter); border-bottom: 1px solid var(--line); font-weight: 700; }
.card-footer { padding: 14px var(--gutter); border-top: 1px solid var(--line); }
.page-cms .page-content, .page-my-account .page-content { padding: 12px 0; }
.cms-content, .page-cms { font-size: 16px; line-height: 1.65; max-width: 860px; }
.cms-content h2, .page-cms h2 { margin: 28px 0 10px; font-size: 26px; }
.cms-content h3, .page-cms h3 { margin: 22px 0 8px; }
.cms-content ul, .page-cms ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.cms-content img, .page-cms img { border-radius: var(--radius); }

label, .form-control-label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 4px; }
.form-group { margin-bottom: 14px; }
.form-control { display: block; width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; font-size: 16px; transition: border-color .15s; }
textarea.form-control { min-height: 120px; padding: 12px 14px; }
.form-control:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 66, 102, .12); }
select.form-control, .form-control-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23334155' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-control-comment { font-size: 12px; color: var(--muted); }
.form-footer { padding-top: 8px; }
.input-group { display: flex; position: relative; }
.input-group .form-control { flex: 1; }
.input-group-btn, .input-group-append { display: flex; }
.input-group .btn { min-height: 48px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.input-group .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.custom-checkbox, .custom-radio, .radio-inline { display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; }
.custom-checkbox input, .custom-radio input, .radio-inline input { width: 20px; height: 20px; accent-color: var(--navy); margin: 2px 0 0; flex: none; }
.custom-checkbox label, .custom-radio label { display: inline; font-weight: 400; margin: 0; }
.custom-checkbox span.color, .custom-checkbox .color { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.form-control-valuation { display: inline-block; }
.help-block, .invalid-feedback { font-size: 13px; color: var(--red); }
.js-invalid-feedback-browser { font-size: 13px; color: var(--red); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table thead th { font-weight: 700; background: var(--bg-soft); }
.table-labeled .label { display: inline-block; padding: 3px 8px; border-radius: 4px; color: #fff; font-size: 12px; font-weight: 600; }
.table-responsive { overflow-x: auto; }
.badge, .label { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 50; min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-2); padding: 6px 0; display: none; }
.dropdown.open .dropdown-menu, .dropdown.show .dropdown-menu, .dropdown-menu.show { display: block; }
.dropdown-item, .dropdown-menu a { display: block; padding: 10px 14px; font-size: 14px; }
.dropdown-item:hover, .dropdown-menu a:hover { background: var(--bg-soft); }
.collapse:not(.show):not(.in) { display: none; }
.collapsing { height: 0; overflow: hidden; transition: height .2s; }
.nav-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.nav-tabs .nav-link { display: block; padding: 10px 14px; font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav-tabs .nav-link.active { border-bottom-color: var(--red); color: var(--navy); }
.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; }
.h1, .h2, .h3, .h4 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; }
.h3, .h4 { font-size: 20px; }
.h5 { font-size: 16px; font-weight: 700; }
.h6 { font-size: 14px; font-weight: 700; }
.text-primary { color: var(--navy); }
.separator, hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }

/* Mon compte */
.page-my-account .links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.page-my-account .links a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 110px; padding: 14px 10px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 14px; text-align: center; background: #fff; }
.page-my-account .links a:hover { border-color: var(--navy); color: var(--navy); box-shadow: var(--shadow-1); }
.page-my-account .links a .material-icons { display: none; }
.page-my-account .links a .link-item { display: contents; }
.page-my-account .links a .link-item i { display: none; }
.page-footer .logout, .page-footer a { font-weight: 600; color: var(--navy); }
@media (min-width: 768px) { .page-my-account .links { grid-template-columns: repeat(4, 1fr); } }
.page-customer-account .page-content, .page-authentication .page-content { max-width: 560px; }
.page-authentication .login-form, .page-authentication .register-form { padding: 0; }
#login-form .forgot-password, .forgot-password { font-size: 14px; margin-top: 8px; }
.no-account { margin-top: 18px; font-size: 15px; }
.no-account a { font-weight: 700; color: var(--navy); text-decoration: underline; }
.address { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.address-body h4 { font-size: 16px; margin-bottom: 6px; }
.address-body address { font-style: normal; font-size: 14px; color: var(--ink-2); }
.address-footer { display: flex; gap: 14px; margin-top: 10px; font-size: 14px; font-weight: 600; }
.address-footer a { color: var(--navy); }
.addresses-footer { margin-top: 8px; }
.addresses-footer a { font-weight: 700; color: var(--navy); }
.order-actions { display: flex; gap: 12px; }
.definition-list dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.definition-list dd { margin: 0; }

/* Panier détaillé */
.cart-grid { display: grid; gap: 16px; }
.cart-grid-body, .cart-grid-right { min-width: 0; }
.cart-container { border: 1px solid var(--line); border-radius: var(--radius); }
.cart-summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; }
.cart-items { display: grid; }
.cart-item { padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item .product-line-grid { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: start; }
.cart-item .product-line-grid-left { grid-row: span 2; }
.cart-item .product-line-grid-left img { border-radius: var(--radius-sm); background: var(--bg-soft); }
.cart-item .product-line-grid-body { font-size: 14px; }
.cart-item .product-line-grid-body .label { background: none; color: var(--ink); padding: 0; font-weight: 600; font-size: 15px; }
.cart-item .product-line-info { display: flex; gap: 6px; font-size: 13px; color: var(--muted); }
.cart-item .product-line-info .value { color: var(--ink); }
.cart-item .product-line-grid-right { display: flex; align-items: center; justify-content: space-between; gap: 10px; grid-column: 2; }
.cart-item .product-line-grid-right .qty { display: flex; }
.cart-item .product-line-grid-right .price { font-weight: 700; font-size: 16px; }
.cart-item .product-line-grid-right .product-price { font-weight: 700; }
.cart-item .product-line-grid-right .input-group { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; }
.cart-item .product-line-grid-right input.js-cart-line-product-quantity { width: 44px; height: 40px; text-align: center; border: 0; font-weight: 700; -moz-appearance: textfield; }
.cart-item .product-line-grid-right input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-item .bootstrap-touchspin .input-group-btn-vertical { display: flex; flex-direction: row-reverse; }
.cart-item .bootstrap-touchspin .input-group-btn-vertical .btn { min-height: 40px; width: 36px; padding: 0; border: 0; border-radius: 0; background: var(--bg-soft); color: var(--ink); font-size: 18px; }
.cart-item .bootstrap-touchspin .input-group-btn-vertical .btn i { display: none; }
.cart-item .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up::after { content: "+"; }
.cart-item .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down::after { content: "−"; }
.cart-item .bootstrap-touchspin .input-group { flex-direction: row; }
.cart-item .bootstrap-touchspin .input-group input { order: 1; }
.cart-item .bootstrap-touchspin .bootstrap-touchspin-down { order: 0; }
.cart-item .bootstrap-touchspin .bootstrap-touchspin-up { order: 2; }
.cart-item .remove-from-cart { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); }
.cart-item .remove-from-cart:hover { background: #fee2e2; color: var(--red); }
.cart-item .remove-from-cart i { display: none; }
.cart-item .remove-from-cart::after { content: "×"; font-size: 22px; line-height: 1; }
.cart-item .product-line-actions { display: flex; align-items: center; gap: 10px; }
.cart-summary-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; }
.cart-summary-line .label { background: none; color: var(--ink-2); padding: 0; font-weight: 500; font-size: 14px; }
.cart-summary-line .value { font-weight: 600; }
.cart-summary-line.cart-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.cart-summary-line.cart-total .label, .cart-summary-line.cart-total .value { font-weight: 800; font-size: 18px; font-family: var(--font-display); text-transform: uppercase; }
.cart-summary-products, .cart-summary-totals, .cart-detailed-totals { padding: 14px var(--gutter); }
.cart-summary-products p { font-weight: 600; }
.cart-summary-products a { font-size: 13px; color: var(--navy); font-weight: 600; }
.cart-detailed-actions, .checkout { padding: 0 var(--gutter) 14px; }
.cart-detailed-actions .btn, .checkout .btn { width: 100%; }
.cart-continue-shopping { margin-top: 10px; }
.block-promo { padding: 0 var(--gutter) 14px; }
.block-promo .cart-summary-line { padding: 4px 0; }
.block-promo .promo-code { margin-top: 8px; }
.block-promo .promo-code .alert { margin-top: 8px; }
.block-promo .promo-code-button { font-size: 14px; font-weight: 600; color: var(--navy); }
.block-promo .promo-code-button a, .block-promo .promo-code-button .cart-summary-line { color: var(--navy); }
.block-promo .promo-input { flex: 1; }
.block-promo .promo-discounts { font-size: 14px; }
.block-promo .promo-name { font-weight: 600; }
.block-promo .promo-name .code { color: var(--navy); }
.cart-voucher .cart-summary-line { padding: 2px 0; }
.cart-empty .cart-summary { padding: 16px; }
.no-items { padding: 40px var(--gutter); text-align: center; color: var(--ink-2); font-size: 16px; }
.product-line-info.product-price, .product-line-info .current-price { font-weight: 700; }
@media (min-width: 1024px) {
  .cart-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
  .cart-grid-right { position: sticky; top: calc(var(--header-h) + 16px); }
  .cart-item .product-line-grid { grid-template-columns: 110px 1fr auto; }
  .cart-item .product-line-grid-left { grid-row: auto; }
  .cart-item .product-line-grid-right { grid-column: auto; }
}

/* Tunnel de commande */
#checkout .ra-header .ra-nav, #checkout .ra-tabbar, #checkout .ra-promo { display: none; }
#checkout body, body#checkout { padding-bottom: 0; }
.checkout-process { display: grid; gap: 12px; }
section.checkout-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; background: #fff; }
section.checkout-step .step-title { display: flex; align-items: center; gap: 12px; padding: 16px var(--gutter); font-family: var(--font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; cursor: pointer; margin: 0; }
section.checkout-step .step-title .step-number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--line); color: var(--ink-2); font-family: var(--font-body); font-size: 14px; font-weight: 700; flex: none; }
section.checkout-step .step-title .step-edit { margin-left: auto; font-family: var(--font-body); font-size: 13px; font-weight: 600; text-transform: none; color: var(--navy); display: none; }
section.checkout-step .step-title .step-edit i { display: none; }
section.checkout-step .step-title .done { display: none; }
section.checkout-step.-current .step-title .step-number { background: var(--navy); color: #fff; }
section.checkout-step.-complete .step-title .step-number { background: var(--ok); color: #fff; }
section.checkout-step.-complete .step-title .step-edit { display: inline; }
section.checkout-step.-unreachable { opacity: .55; }
section.checkout-step .content { display: none; padding: 0 var(--gutter) 18px; }
section.checkout-step.-current .content { display: block; }
section.checkout-step.-current .step-title { cursor: default; }
.checkout-step .continue { width: 100%; margin-top: 12px; }
.checkout-step .delivery-options { display: grid; gap: 10px; }
.checkout-step .delivery-option { border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px; display: flex; gap: 12px; align-items: center; }
.checkout-step .delivery-option .custom-radio { flex: none; }
.checkout-step .delivery-option .carrier-logo img { max-width: 60px; }
.checkout-step .delivery-option .carrier-name { font-weight: 700; }
.checkout-step .delivery-option .carrier-delay, .checkout-step .delivery-option .carrier-price { font-size: 14px; color: var(--ink-2); }
.checkout-step .delivery-option .carrier-price { font-weight: 700; color: var(--ink); }
.checkout-step .delivery-option label { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: 0; flex: 1; }
.checkout-step .delivery-option label .row { width: 100%; }
.checkout-step .delivery-option .col-xs-12, .checkout-step .delivery-option .col-md-4, .checkout-step .delivery-option .col-md-2 { flex: 1 1 auto; max-width: none; width: auto; }
.checkout-step .delivery-option .col-sm-2 { flex: 0 0 auto; width: auto; }
.checkout-step .payment-options { display: grid; gap: 10px; }
.checkout-step .payment-option { border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px; display: flex; gap: 12px; align-items: center; }
.checkout-step .payment-option label { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 10px; flex: 1; }
.checkout-step .payment-option .payment-option-logo, .checkout-step .payment-option img { max-height: 28px; width: auto; }
.checkout-step .additional-information, .checkout-step .js-additional-information { padding: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.checkout-step .js-payment-option-form { padding: 10px 0; }
#conditions-to-approve { margin: 14px 0; font-size: 14px; }
#conditions-to-approve li { display: flex; gap: 10px; align-items: flex-start; }
#conditions-to-approve a { color: var(--navy); text-decoration: underline; }
#payment-confirmation .btn { width: 100%; }
.address-selector { display: grid; gap: 10px; }
.address-item { border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px; }
.address-item.selected { border-color: var(--navy); background: var(--bg-navy-soft); }
.address-item label { display: flex; gap: 10px; margin: 0; font-weight: 400; font-size: 14px; }
.address-item .address-alias { font-weight: 700; display: block; }
.address-item .address-footer { justify-content: flex-end; }
.address-item .address-footer a, .address-item .address-footer span { font-size: 13px; }
.add-address, .js-add-address { margin: 10px 0; }
.add-address a, .js-add-address a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); }
.add-address i, .js-add-address i { display: none; }
#delivery-address, #invoice-address { margin-top: 10px; }
.js-address-form .form-control-label { font-weight: 600; }
.js-terms { font-size: 14px; }
.customer-form .form-control-label, .js-customer-form .form-control-label { font-weight: 600; }
.nav.nav-inline { display: flex; gap: 8px; margin-bottom: 14px; }
.nav.nav-inline .nav-link { padding: 10px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); font-weight: 600; }
.nav.nav-inline .nav-link.active { background: var(--navy); border-color: var(--navy); color: #fff; }
#checkout-personal-information-step .content > .nav { margin-bottom: 8px; }
.cart-summary.card, #js-checkout-summary { margin-top: 16px; }
.cart-summary .cart-summary-line { padding: 4px 0; }
.cart-summary .card-block { padding: 14px var(--gutter); }
.cart-summary .card-block.cart-summary-subtotals-container { padding-top: 0; }
.cart-summary .card-block .cart-summary-totals { padding: 0; }
.cart-summary .cart-detailed-totals .card-block { padding: 0; }
.cart-summary .cart-summary-totals { padding: 0 var(--gutter) 14px; }
.cart-summary-products p { margin: 0; }
.cart-summary #cart-summary-product-list { margin-top: 10px; }
.cart-summary #cart-summary-product-list .media-list { display: grid; gap: 10px; }
.cart-summary #cart-summary-product-list .media { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.cart-summary #cart-summary-product-list .media img { width: 48px; height: 48px; border-radius: 6px; object-fit: contain; background: var(--bg-soft); }
.cart-summary #cart-summary-product-list .product-name { font-weight: 600; }
.cart-summary #cart-summary-product-list .product-quantity { color: var(--muted); }
.cart-summary #cart-summary-product-list .product-price { margin-left: auto; font-weight: 700; }
.cart-summary #cart-summary-product-list .media-body { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.cart-summary #cart-summary-product-list .product-line-info { display: block; width: 100%; font-size: 12px; color: var(--muted); }
.cart-summary #cart-summary-product-list .product-line-info.product-price { width: auto; color: var(--ink); }
.cart-summary #cart-summary-product-list .product-line-info.product-price { margin-left: auto; }
.checkout-header { padding: 6px 0; }
.ra-checkout-header { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 0; }
.ra-checkout-header .ra-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ok); }
.ra-checkout-steps { display: flex; justify-content: center; gap: 6px; padding: 8px 0 12px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ra-checkout-steps span { display: inline-flex; align-items: center; gap: 4px; }
.ra-checkout-steps .ra-icon { width: 14px; height: 14px; }
@media (min-width: 1024px) {
  .checkout-process { max-width: 760px; }
  #checkout .cart-grid { grid-template-columns: minmax(0, 1fr) 380px; }
  .checkout-step .continue { width: auto; min-width: 240px; }
}
#order-confirmation .card-title, #order-confirmation h3 { font-size: 22px; }
#order-items .order-line { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
#order-items .order-line img { width: 64px; border-radius: 6px; }
#order-items .order-line .details { flex: 1; }
#order-items .order-line .qty { text-align: right; }
#order-details ul { display: grid; gap: 6px; font-size: 15px; }
#order-details ul li { padding-left: 0; }
.order-confirmation-table .table-light { font-size: 14px; }
#content-hook_order_confirmation { padding: 18px var(--gutter); }
#content-hook_order_confirmation .h1, #content-hook_order_confirmation h3 { font-size: 26px; }
.page-order-confirmation .card { margin-bottom: 14px; }

/* Contact */
.page-contact .contact-form, .contact-form { padding: 18px var(--gutter); }
.contact-form h3 { margin-bottom: 8px; }
.contact-rich { padding: 18px var(--gutter); font-size: 15px; display: grid; gap: 12px; }
.contact-rich .block { display: flex; gap: 10px; }
.contact-rich .icon { display: none; }
.contact-rich .data { color: var(--ink-2); }
.contact-rich .data.email { word-break: break-all; }

/* 404 */
.ra-404 { text-align: center; padding: 48px var(--gutter); display: grid; gap: 14px; justify-items: center; }
.ra-404 h1 { font-size: clamp(60px, 20vw, 120px); line-height: .9; color: var(--navy); }
.ra-404 p { color: var(--ink-2); max-width: 44ch; }
.ra-404 form { width: 100%; max-width: 420px; position: relative; }
.ra-404 input { width: 100%; height: 50px; border: 2px solid var(--navy); border-radius: var(--radius-pill); padding: 0 50px 0 18px; font-size: 16px; }
.ra-404 form button { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; }

/* Marques */
.ra-brands-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ra-brands-list a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 14px; text-align: center; background: #fff; }
.ra-brands-list a img { max-height: 48px; width: auto; object-fit: contain; }
.ra-brands-list a:hover { border-color: var(--navy); color: var(--navy); }
.ra-brands-list a small { color: var(--muted); font-weight: 400; font-size: 12px; }
@media (min-width: 640px) { .ra-brands-list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .ra-brands-list { grid-template-columns: repeat(6, 1fr); } }

/* Commentaires produits (module productcomments) - adoucissement */
#product-comments-list-header, .product-comments-additional-info, .product-comment-list-item { font-size: 14px; }
.product-comment-list-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 10px; }
.post-product-comment, .post-product-comment .btn-comment { min-height: 42px; }
#empty-product-comment { font-size: 14px; }
.comments-note .grade-stars, .grade-stars { display: inline-flex; }
.grade-stars .star, .grade-stars .star-on, .grade-stars .star-off { width: 16px; height: 16px; }

/* Wishlist (blockwishlist) */
.wishlist-button-add { width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); display: inline-flex; align-items: center; justify-content: center; }
.wishlist-button-add i, .wishlist-button-add .material-icons { display: none; }
.wishlist-button-add::before { content: ""; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.wishlist-button-add.is-active::before, .wishlist-button-add.wishlist-button-product.is-active::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d10000' stroke='%23d10000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E"); }
.wishlist-modal .modal-dialog { max-width: 480px; }
.wishlist-toast { position: fixed; z-index: 120; left: var(--gutter); right: var(--gutter); bottom: calc(var(--tabbar-h) + 12px + var(--safe-b)); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; box-shadow: var(--shadow-2); }
.wishlist-toast.success { background: var(--ok); }
.wishlist-toast.error { background: var(--red); }
.wishlist-toast .wishlist-toast-text { margin: 0; }
@media (min-width: 1024px) { .wishlist-toast { left: auto; right: 24px; bottom: 24px; max-width: 360px; } }

/* Utilitaires d'animation */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.ra-fade-in { animation: raFade .35s var(--ease) both; }
@keyframes raFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ra-skeleton { background: linear-gradient(90deg, var(--bg-soft) 25%, #e9edf1 37%, var(--bg-soft) 63%); background-size: 400% 100%; animation: raShimmer 1.2s infinite; border-radius: var(--radius-sm); }
@keyframes raShimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Conteneur miniature (attendu par blockwishlist) */
.ra-card .thumbnail-container { position: relative; }
.ra-card .thumbnail-container .wishlist-button-add { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; }
.ra-crumb ol { list-style: none; margin: 0; padding: 0; }
.ra-cat img { object-position: 50% 62%; }
@media (max-width: 639px) { .ra-cat { aspect-ratio: 1 / 1; } }

/* Modal panier (ps_shoppingcart v3, injecté par JS) */
.ra-cart-modal { position: fixed; inset: 0; z-index: 110; background: rgba(0, 31, 51, .55); backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s; }
.ra-cart-modal.is-open { opacity: 1; }
.ra-cart-modal__sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; display: flex; flex-direction: column; background: #fff; border-radius: 18px 18px 0 0; box-shadow: var(--shadow-3); transform: translateY(100%); transition: transform .28s var(--ease); }
.ra-cart-modal.is-open .ra-cart-modal__sheet { transform: none; }
.ra-cart-modal .ra-drawer__body { overflow-y: auto; }
@media (min-width: 1024px) {
  .ra-cart-modal__sheet { left: auto; top: 0; bottom: 0; width: 440px; max-height: none; border-radius: 0; transform: translateX(100%); }
}
/* Contenus riches des fiches produit : police du thème imposée */
.product-description, .product-description *, .ra-product__short, .ra-product__short *, .cms-content * { font-family: var(--font-body) !important; }
.product-description [style*="font-size"], .ra-product__short [style*="font-size"] { font-size: 15px !important; }
.product-description p { margin: 0 0 .8em; }
/* Modules d'informations complémentaires (partage, fidélité) */
.product-additional-info { display: grid; gap: 10px; }
.ra-share { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.ra-share a { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.ra-share a:hover { border-color: var(--navy); color: var(--navy); }
.ra-share .ra-icon { width: 16px; height: 16px; }
.product-additional-info .alert, .product-additional-info [class*="loyalty"], .product-additional-info p { font-size: 13px; color: var(--muted); margin: 0; }
.product-additional-info .alert { padding: 8px 12px; }
#product-comments-list-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.product-comments-additional-info { display: flex; align-items: center; gap: 10px; }
.ra-menu__sub a.ra-menu__row { display: flex; }

/* Ligne panier (thème) */
.ra-line { display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.ra-line__media img { border-radius: var(--radius-sm); background: var(--bg-soft); width: 84px; height: 84px; object-fit: contain; }
.ra-line__body { display: grid; gap: 6px; min-width: 0; }
.ra-line__name { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--ink); }
.ra-line__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.ra-line__meta .label { background: none; color: var(--muted); padding: 0; font-weight: 400; font-size: 13px; }
.ra-line__meta .value { color: var(--ink); font-weight: 600; }
.ra-line__unit { font-size: 14px; }
.ra-line__unit .regular-price { color: var(--muted); text-decoration: line-through; margin-right: 6px; }
.ra-line__unit .discount { font-size: 12px; font-weight: 700; color: var(--red); margin-left: 4px; }
.ra-line__actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.ra-cart-qty { border-width: 1.5px; }
.ra-cart-qty .ra-qty__btn { width: 38px; height: 40px; font-size: 20px; }
.ra-cart-qty input { width: 40px; height: 40px; }
.ra-cart-qty .bootstrap-touchspin, .ra-cart-qty .input-group-btn-vertical { display: contents; }
.ra-cart-qty .input-group-btn-vertical { display: none !important; }
.ra-line__total { margin-left: auto; font-size: 16px; }
.ra-line__remove { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); background: var(--bg-soft); }
.ra-line__remove:hover { background: #fee2e2; color: var(--red); }
.cart-item .remove-from-cart::after { content: none; }
a.label.btn-secondary, .cart-continue-shopping { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); background: none; padding: 0; margin: 10px 0; }
.card.cart-container { overflow: hidden; }
.cart-grid-body > .card + .card, .cart-grid-body .card.mt-2 { margin-top: 12px; }
@media (min-width: 1024px) { .ra-line { grid-template-columns: 110px 1fr; } .ra-line__media img { width: 110px; height: 110px; } }

.ra-cart-page .page-header h1 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cart-grid-body > .card { margin-top: 0; }
.cart-grid-body .card + .card { margin-top: 12px; }
#cart-subtotal-shipping .value, .cart-summary-line #cart-subtotal-shipping { color: var(--ok); font-weight: 700; }
a.ra-line__name.label { display: block; background: none; color: var(--ink); padding: 0; font-size: 15px; font-weight: 600; border-radius: 0; }
a.ra-line__name.label:hover { color: var(--navy); text-decoration: underline; }

/* --- Recherche dynamique ------------------------------------------------ */
.ra-search form.is-loading button svg { animation: raSpin .8s linear infinite; }
@keyframes raSpin { to { transform: rotate(360deg); } }
.ra-suggest { display: none; }
.ra-suggest.is-open { display: block; }
.ra-suggest__section { padding: 6px 0 10px; }
.ra-suggest__title { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; display: flex; justify-content: space-between; align-items: center; }
.ra-suggest__title button { font-size: 12px; font-weight: 600; color: var(--navy); text-decoration: underline; font-family: var(--font-body); letter-spacing: 0; text-transform: none; }
.ra-suggest__list { display: grid; }
.ra-suggest__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 6px; border-radius: var(--radius-sm); color: var(--ink); }
.ra-suggest__item:hover, .ra-suggest__item.is-focused { background: var(--bg-soft); color: var(--ink); }
.ra-suggest__item img { width: 56px; height: 56px; object-fit: contain; border-radius: 6px; background: var(--bg-soft); mix-blend-mode: multiply; }
.ra-suggest__name { font-weight: 600; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ra-suggest__name mark { background: #fff3c4; color: inherit; padding: 0 1px; border-radius: 2px; }
.ra-suggest__meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ra-suggest__price { text-align: right; font-weight: 700; font-size: 14px; white-space: nowrap; }
.ra-suggest__price s { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.ra-suggest__price.has-discount { color: var(--red); }
.ra-suggest__all { margin-top: 8px; }
.ra-suggest__empty { padding: 12px 6px; color: var(--ink-2); font-size: 14px; }
.ra-suggest__empty strong { color: var(--ink); }
.ra-suggest__recent { display: grid; }
.ra-suggest__recent a { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-radius: var(--radius-sm); font-size: 15px; color: var(--ink-2); }
.ra-suggest__recent a:hover { background: var(--bg-soft); color: var(--ink); }
.ra-suggest__recent .ra-icon { width: 16px; height: 16px; color: var(--muted); }
.ra-search-overlay__body .ra-suggest { display: block; }
@media (min-width: 1024px) {
  .ra-search .ra-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 80; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2); padding: 12px 14px; max-height: min(72vh, 720px); overflow-y: auto; }
  .ra-search .ra-suggest__list { grid-template-columns: repeat(2, 1fr); gap: 2px 12px; }
  .ra-suggest__item { grid-template-columns: 64px 1fr auto; }
  .ra-suggest__item img { width: 64px; height: 64px; }
}
.ra-suggest__item--skeleton { pointer-events: none; }
.ra-suggest__item--skeleton > .ra-skeleton:first-child { width: 56px; height: 56px; }
.ra-suggest__item--skeleton > span > .ra-skeleton { display: block; height: 12px; margin: 4px 0; width: 80%; }
.ra-suggest__item--skeleton > span > .ra-skeleton + .ra-skeleton { width: 45%; }
.ra-suggest__item--skeleton > .ra-skeleton:last-child { width: 48px; height: 14px; }
/* Fiche produit : neutraliser les boutons TouchSpin ajoutés par theme.js autour de #quantity_wanted */
.ra-qty .input-group, .ra-qty .bootstrap-touchspin { display: contents; }
.ra-qty .input-group-btn-vertical, .ra-qty .btn-touchspin { display: none !important; }
.ra-qty input#quantity_wanted { width: 48px; text-align: center; border: 0; }

/* --- Formulaires (compte, adresses, tunnel) ------------------------------ */
.ra-field { margin-bottom: 16px; }
.ra-field__label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.ra-field__label .ra-optional { font-weight: 400; color: var(--muted); font-size: 13px; }
.ra-req { color: var(--red); }
.ra-field .form-control-comment { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.ra-field.has-error .form-control { border-color: var(--red); }
.ra-field .help-block, .ra-field .form-errors { margin-top: 5px; font-size: 13px; color: var(--red); }
.ra-pills--radio .ra-pill span { min-height: 44px; }
.ra-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 400; font-size: 14px; line-height: 1.45; margin: 0; }
.ra-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.ra-check__box { flex: none; width: 22px; height: 22px; border: 2px solid var(--line-2); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: #fff; margin-top: 1px; transition: all .12s; }
.ra-check__box .ra-icon { width: 14px; height: 14px; color: #fff; stroke-width: 3; opacity: 0; }
.ra-check input:checked + .ra-check__box { background: var(--navy); border-color: var(--navy); }
.ra-check input:checked + .ra-check__box .ra-icon { opacity: 1; }
.ra-check input:focus-visible + .ra-check__box { outline: 3px solid var(--gold); outline-offset: 2px; }
.ra-check__label a { color: var(--navy); text-decoration: underline; }
.ra-check__label em, .ra-check__label i { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 4px; }
.ra-password { position: relative; display: flex; }
.ra-password .form-control { padding-right: 96px; border-radius: var(--radius-sm) !important; }
.ra-password .input-group-btn { position: absolute; right: 6px; top: 6px; }
.ra-password__toggle { min-height: 36px; padding: 0 12px; border-radius: 6px; background: var(--bg-soft); color: var(--navy); font-size: 12px; letter-spacing: .06em; }
.ra-birthday { display: grid; grid-template-columns: 1fr 1.4fr 1.2fr; gap: 8px; }
.ra-form-info { display: grid; gap: 2px; padding: 12px 14px; margin: 4px 0 14px; border-radius: var(--radius-sm); background: var(--bg-navy-soft); font-size: 14px; color: var(--ink-2); }
.ra-form-info strong { color: var(--navy); }
.ra-form-info strong span { font-weight: 400; color: var(--muted); }
.form-footer { display: flex; justify-content: flex-end; padding-top: 6px; }
.form-footer .btn { width: 100%; }
@media (min-width: 768px) {
  .js-customer-form > div, #login-form > div, .js-address-form > div, #customer-form > div { max-width: 640px; }
  .form-footer .btn { width: auto; min-width: 260px; }
  .ra-field--text.ra-field-firstname, .ra-field--text.ra-field-lastname { display: inline-block; width: calc(50% - 8px); vertical-align: top; }
}
/* Tunnel : onglets invité / connexion en contrôle segmenté */
.ra-segment { display: inline-flex; width: max-content; max-width: 100%; padding: 4px; border-radius: var(--radius-pill); background: var(--bg-soft); gap: 0; margin: 0 0 18px; }
.ra-segment .nav-item { display: contents; }
.ra-segment .nav-link { border: 0; border-radius: var(--radius-pill); padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ra-segment .nav-link.active { background: var(--navy); color: #fff; }
.ra-identity { display: grid; gap: 10px; font-size: 15px; }
.ra-identity a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.ra-identity__logout { margin-left: 8px; }
.ra-identity__note { font-size: 13px; color: var(--muted); }
#checkout .forgot-password { margin: -4px 0 12px; }
#checkout .forgot-password a { color: var(--navy); text-decoration: underline; }
#checkout section.checkout-step .content { padding: 4px var(--gutter) 22px; }
#checkout .checkout-process { max-width: 820px; }
/* Récapitulatif du tunnel */
.ra-summary__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; font-size: 15px; }
.ra-summary__head a { font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: underline; }
.cart-summary .card-block { padding: 16px var(--gutter) 6px; }
.cart-summary .cart-summary-subtotals-container { padding-top: 12px; }
.cart-summary .cart-summary-totals { padding: 4px var(--gutter) 16px; }
.cart-summary .cart-summary-line.cart-total { margin-top: 0; }
.cart-summary .block-promo { padding-bottom: 16px; }
.cart-summary .promo-code-button a { font-size: 14px; }
.cart-summary .promo-code form { display: flex; gap: 8px; }
.cart-summary .promo-code .promo-input { flex: 1; min-height: 44px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 0 12px; }
.cart-summary .promo-code .btn { min-height: 44px; }
.cart-summary .promo-code .js-error { display: none; margin-top: 8px; }

/* --- Tunnel de commande v2 ------------------------------------------------- */
.ra-password .input-group-btn .btn, .ra-password__toggle { min-height: 36px !important; height: 36px; border-radius: 6px !important; padding: 0 12px; }
.ra-checkout { padding-top: 6px; }
.ra-stepper { display: flex; align-items: center; justify-content: center; gap: 0; margin: 4px auto 18px; max-width: 720px; padding: 0 var(--gutter); counter-reset: none; }
.ra-stepper__item { flex: 1; display: flex; align-items: center; gap: 8px; position: relative; color: var(--muted); font-size: 12px; font-weight: 600; }
.ra-stepper__item::after { content: ""; flex: 1; height: 2px; background: var(--line); margin: 0 10px; }
.ra-stepper__item:last-child { flex: 0 0 auto; }
.ra-stepper__item:last-child::after { display: none; }
.ra-stepper__num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--line); color: var(--ink-2); font-family: var(--font-body); font-size: 13px; font-weight: 700; }
.ra-stepper__label { white-space: nowrap; }
.ra-stepper__item.is-active { color: var(--navy); }
.ra-stepper__item.is-active .ra-stepper__num { background: var(--navy); color: #fff; box-shadow: 0 0 0 4px var(--bg-navy-soft); }
.ra-stepper__item.is-done { color: var(--ink); }
.ra-stepper__item.is-done .ra-stepper__num { background: var(--ok); color: #fff; }
.ra-stepper__item.is-done::after { background: var(--ok); }
@media (max-width: 639px) { .ra-stepper__label { display: none; } .ra-stepper__item.is-active .ra-stepper__label { display: inline; } }
@media (min-width: 640px) { .ra-stepper__item { font-size: 14px; } }
.ra-checkout__grid { align-items: start; }
.ra-checkout__help { margin-top: 14px; font-size: 14px; color: var(--muted); }
.ra-checkout__help a { color: var(--navy); font-weight: 600; }
section.checkout-step .step-title { align-items: flex-start; }
section.checkout-step .step-title .step-number { position: relative; }
section.checkout-step .step-title .step-number__check { display: none; width: 16px; height: 16px; stroke-width: 3; }
section.checkout-step.-complete .step-title .step-number__n { display: none; }
section.checkout-step.-complete .step-title .step-number__check { display: block; }
.step-title__text { display: grid; gap: 2px; min-width: 0; }
.step-summary { display: none; font-family: var(--font-body); font-weight: 400; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--ink-2); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
section.checkout-step.-complete .step-summary:not(:empty) { display: block; }
section.checkout-step .step-title .step-edit { align-self: center; padding: 6px 10px; border-radius: 6px; background: var(--bg-soft); }
.ra-step-note { font-size: 15px; color: var(--ink-2); margin: 0 0 14px; }
.ra-step-sub { font-size: 18px; margin: 18px 0 10px; }
.ra-step-alt { margin: 6px 0 0; font-size: 14px; }
.ra-step-alt a, .add-address a { color: var(--navy); font-weight: 600; text-decoration: underline; display: inline-flex; align-items: center; gap: 6px; }
.add-address { margin: 12px 0 4px; }
/* Cartes sélectionnables (adresses, transporteurs, paiements) */
.ra-choice-grid { display: grid; gap: 10px; }
.ra-choice { border: 2px solid var(--line-2); border-radius: var(--radius); background: #fff; transition: border-color .12s, box-shadow .12s; }
.ra-choice.is-selected, .ra-choice.selected { border-color: var(--navy); box-shadow: 0 0 0 3px var(--bg-navy-soft); }
.ra-choice__label { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 0; cursor: pointer; font-weight: 400; width: 100%; }
.ra-choice__label input { position: absolute; opacity: 0; width: 0; height: 0; }
.ra-choice__radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; position: relative; transition: all .12s; }
.ra-choice__label input:checked + .ra-choice__radio { border-color: var(--navy); }
.ra-choice__label input:checked + .ra-choice__radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--navy); }
.ra-choice__label input:focus-visible + .ra-choice__radio { outline: 3px solid var(--gold); outline-offset: 2px; }
.ra-choice__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-navy-soft); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.ra-choice__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ra-choice__title { font-weight: 700; font-size: 15px; color: var(--ink); }
.ra-choice__text { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.ra-choice__text br { display: none; }
.ra-choice__price { flex: none; font-weight: 800; font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.ra-choice__foot { display: flex; gap: 14px; padding: 0 14px 12px 48px; font-size: 13px; }
.ra-choice__foot a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.ra-choice__foot .delete-address { color: var(--muted); }
.address-item.ra-choice { padding: 0; margin: 0; }
.address-item.ra-choice .address-footer { justify-content: flex-start; margin: 0; }
.address-item.ra-choice .ra-choice__label { display: flex; }
.address-item.ra-choice .address-alias { display: block; }
@media (min-width: 768px) { .address-selector.ra-choice-grid, .ra-choice-grid:has(.address-item) { grid-template-columns: repeat(2, 1fr); } }
.delivery-option.ra-choice { padding: 0; display: block; }
.delivery-option .ra-choice__label .row { display: contents; }
.carrier-extra-content { padding: 0 14px 14px 62px; font-size: 14px; }
.carrier-extra-content:empty { display: none; }
.checkout-step .delivery-option .ra-choice__price { color: var(--ink); }
.checkout-step .delivery-option .carrier-price:is(:empty) { display: none; }
.ra-details { margin: 16px 0 6px; }
.ra-details summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--navy); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.ra-details summary::-webkit-details-marker { display: none; }
.ra-details summary::before { content: "+"; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-navy-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.ra-details[open] summary::before { content: "−"; }
.ra-details textarea { margin-top: 10px; }
.order-options .ra-check { margin-top: 10px; }
.payment-option.ra-choice { padding: 0; display: block; }
.payment-option .payment-option-logo { max-height: 28px; width: auto; flex: none; }
.ra-payment-option .additional-information, .ra-payment-option .js-payment-option-form { padding: 8px 14px 4px; font-size: 14px; color: var(--ink-2); }
.ra-payment-option .js-payment-option-form:empty { display: none; }
#conditions-to-approve { margin: 18px 0 8px; }
#conditions-to-approve ul { display: grid; gap: 8px; }
#conditions-to-approve li { display: block; }
#conditions-to-approve .ra-check__label a { color: var(--navy); text-decoration: underline; }
#payment-confirmation { margin-top: 14px; }
.ra-pay { min-height: 56px; font-size: 19px; }
.ra-pay.disabled { opacity: .5; pointer-events: none; }
.ra-pay__note { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.js-alert-payment-conditions { display: none; }
.js-alert-payment-conditions a { text-decoration: underline; }
.address-item .ra-choice__text .address-alias { display: none; }
.js-address-form .form-footer { gap: 10px; }
.js-address-form .cancel-address { min-height: 48px; }
@media (min-width: 768px) {
  .js-address-form .ra-field-postcode { display: inline-block; width: calc(35% - 8px); vertical-align: top; margin-right: 16px; }
  .js-address-form .ra-field-city { display: inline-block; width: calc(65% - 8px); vertical-align: top; }
}
#checkout body, body#checkout { padding-bottom: 0; }
#checkout .cart-grid-right { order: 0; }
@media (max-width: 1023px) {
  #checkout .ra-checkout__grid { display: grid; }
  #checkout .cart-grid-right { order: 2; }
}
/* Récapitulatif avant paiement */
.ra-recap { margin: 20px 0 4px; display: grid; gap: 12px; }
.ra-recap__title { font-size: 18px; }
.ra-recap__grid { display: grid; gap: 10px; }
@media (min-width: 768px) { .ra-recap__grid { grid-template-columns: repeat(3, 1fr); } }
.ra-recap__box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--bg-soft); }
.ra-recap__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ra-recap__head .step-edit, .ra-recap__head a { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--navy); text-decoration: underline; cursor: pointer; }
.ra-recap__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.ra-recap__items { background: #fff; }
.ra-recap__list { display: grid; gap: 8px; }
.ra-recap__list li { display: grid; grid-template-columns: 48px 1fr auto auto; gap: 10px; align-items: center; font-size: 14px; }
.ra-recap__list img, .ra-recap__noimg { width: 48px; height: 48px; border-radius: 6px; background: var(--bg-soft); object-fit: contain; }
.ra-recap__name { font-weight: 600; line-height: 1.3; }
.ra-recap__name small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.ra-recap__qty { color: var(--muted); }
.ra-recap__price { font-weight: 700; }
.ra-recap__totals { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 14px; }
.ra-recap__totals > div { display: flex; justify-content: space-between; }
.ra-recap__total { font-family: var(--font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; margin-top: 4px; }

/* --- Clubs, nations et types de crampons (accueil) ------------------------ */
.ra-clubs__label { margin: 14px 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ra-clubs--chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-snap-type: x proximity; }
.ra-clubs--chips::-webkit-scrollbar { display: none; }
.ra-club { flex: 0 0 auto; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-width: 190px; padding: 8px 14px 8px 8px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: #fff; scroll-snap-align: start; transition: border-color .12s, box-shadow .12s; }
.ra-club:hover { border-color: var(--navy); box-shadow: var(--shadow-1); color: inherit; }
.ra-club img, .ra-club__initial { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; object-fit: contain; background: var(--bg-soft); padding: 4px; }
.ra-club__initial { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; color: var(--navy); }
.ra-club__name { font-weight: 700; font-size: 14px; line-height: 1.2; white-space: nowrap; }
.ra-club__nb { font-size: 12px; color: var(--muted); }
@media (min-width: 1024px) { .ra-clubs--chips { flex-wrap: wrap; margin: 0; padding: 0; } }
.ra-boots { display: grid; gap: 10px; }
.ra-boot { display: grid; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--navy); color: #fff; position: relative; overflow: hidden; min-height: 150px; }
.ra-boot::before { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.ra-boot:nth-child(2) { background: var(--navy-700); }
.ra-boot:nth-child(3) { background: var(--red); }
.ra-boot:hover { color: #fff; filter: brightness(1.06); }
.ra-boot__label { font-family: var(--font-display); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; }
.ra-boot__sub { font-size: 14px; color: rgba(255, 255, 255, .85); max-width: 32ch; }
.ra-boot__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--gold); }
.ra-boot:nth-child(3) .ra-boot__cta { color: #fff; }
@media (min-width: 768px) { .ra-boots { grid-template-columns: repeat(3, 1fr); gap: 14px; } .ra-boot { padding: 24px; min-height: 190px; } }
