/* =========================================================
   OVALIX — Design system boutique (hors espace membres)
   Couleurs du blason : bleu #214e78, orange #f0401f, blanc
   ========================================================= */
:root {
    --ink:      #07182a;
    --ink-2:    #0e2a45;
    --blue:     #214e78;
    --blue-2:   #2f6ca3;
    --blue-3:   #9cc3e6;
    --orange:   #f0401f;
    --orange-2: #ff6a45;
    --hot:      #ff7a57;
    --paper:    #f2f6fa;
    --card:     #ffffff;
    --text:     #0f2338;
    --muted:    #4a6179;
    --line:     #dbe5ee;
    --ok:       #12805c;
    --ok-bg:    #e3f6ee;
    --err:      #b4231b;
    --err-bg:   #fde8e6;
    --info-bg:  #e6f0fa;
    --radius:   18px;
    --ease:     cubic-bezier(.22, 1, .36, 1);
    --display:  'Bebas Neue', 'Oswald', Impact, sans-serif;
    --body:     'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ovx-page {
    margin: 0; background: var(--paper); color: var(--text);
    font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
    min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
.ovx-page img { max-width: 100%; }
.ovx-page a { color: var(--blue); }
.ovx-page :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.ovx-skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.ovx-skip:focus { left: 8px; }

/* ---------- Barre de navigation ---------- */
.ovx-bar { position: sticky; top: 0; z-index: 60; background: var(--ink); transition: box-shadow .3s; }
.ovx-bar.is-stuck { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .55); }
.ovx-bar__in { width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.ovx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ovx-page .ovx-brand { color: #fff; }
.ovx-brand img { width: 40px; height: 46px; object-fit: contain; }
.ovx-brand span { font-family: var(--display); font-size: 1.9rem; letter-spacing: .06em; line-height: 1; }
.ovx-brand small { display: block; font-family: var(--body); font-size: .62rem; letter-spacing: .24em; color: var(--hot); font-weight: 700; margin-top: 2px; }
.ovx-menu { display: flex; align-items: center; gap: 4px; }
.ovx-page .ovx-menu a { color: #e8f0f8; text-decoration: none; font-weight: 600; font-size: .96rem; padding: 10px 14px; border-radius: 999px; transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 8px; }
.ovx-page .ovx-menu a:hover { background: rgba(255, 255, 255, .09); }
.ovx-page .ovx-menu a[aria-current="page"] { background: rgba(240, 64, 31, .18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 122, 87, .5); }
.ovx-page .ovx-menu a.ovx-cart { background: var(--orange); color: var(--ink); margin-left: 6px; }
.ovx-page .ovx-menu a.ovx-cart:hover { background: var(--orange-2); }
.ovx-cart svg { width: 20px; height: 20px; }
.ovx-cart__n { background: var(--ink); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; font-size: .78rem; }
.ovx-page .ovx-menu a.ovx-out { color: var(--blue-3); font-weight: 500; font-size: .88rem; }
.ovx-burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); cursor: pointer; padding: 0; position: relative; }
.ovx-burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.ovx-burger i:nth-child(1) { top: 16px; } .ovx-burger i:nth-child(2) { top: 22px; } .ovx-burger i:nth-child(3) { top: 28px; }
.ovx-bar.is-open .ovx-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ovx-bar.is-open .ovx-burger i:nth-child(2) { opacity: 0; }
.ovx-bar.is-open .ovx-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Bandeau de page ---------- */
.ovx-hero-page { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(700px 320px at 85% 0%, rgba(47, 108, 163, .55), transparent 65%), radial-gradient(500px 260px at 0% 100%, rgba(240, 64, 31, .18), transparent 60%), linear-gradient(180deg, var(--ink), var(--ink-2)); color: #fff; padding: clamp(40px, 6vw, 76px) 0 clamp(44px, 6vw, 84px); }
.ovx-hero-page::after { content: ""; position: absolute; right: -40px; bottom: -90px; width: 260px; height: 380px; border-radius: 50%; border: 2px solid rgba(156, 195, 230, .22); transform: rotate(35deg); z-index: -1; }
.ovx-wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.ovx-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--hot); }
.ovx-hero-page h1 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: .95; font-size: clamp(2.8rem, 7vw, 5.4rem); margin: 14px 0 12px; color: #fff; }
.ovx-hero-page h1 em { font-style: normal; color: var(--hot); }
/* Vidéo de fond (boutique) : voile bleu nuit pour garder le texte lisible */
.ovx-hero-page__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
.ovx-hero-page--video { box-sizing: border-box; width: 100%; align-self: stretch; aspect-ratio: 8 / 3; min-height: 340px; max-height: 640px; display: flex; align-items: center; padding: clamp(40px, 5vw, 80px) 0; }
.ovx-hero-page--video .ovx-wrap { width: min(1240px, 100% - 32px); }
.ovx-hero-page--video h1, .ovx-hero-page--video p { text-shadow: 0 2px 18px rgba(7, 24, 42, .55); }
.ovx-hero-page--video::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 24, 42, .68) 0%, rgba(7, 24, 42, .42) 45%, rgba(7, 24, 42, .12) 100%), linear-gradient(180deg, rgba(7, 24, 42, .1), rgba(7, 24, 42, .4)); }
@media (prefers-reduced-motion: reduce) {
    .ovx-hero-page__video { display: none; }
    .ovx-hero-page--video::before { display: none; }
}
.ovx-hero-page p { margin: 0; max-width: 620px; color: #b9cde0; font-size: 1.1rem; }
.ovx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--blue-3); margin-bottom: 18px; }
.ovx-page .ovx-crumbs a { color: var(--blue-3); text-decoration: none; }
.ovx-page .ovx-crumbs a:hover { color: #fff; text-decoration: underline; }
.ovx-crumbs span[aria-hidden] { opacity: .5; }

main.ovx-main { flex: 1 0 auto; width: min(1240px, 100% - 32px); margin: 0 auto; padding: clamp(28px, 4vw, 56px) 0 clamp(60px, 8vw, 110px); }
main.ovx-main--pull { margin-top: -34px; position: relative; z-index: 2; }

/* ---------- Boutons ---------- */
.ovx-btn, .ovx-page .ovx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 700 .98rem/1 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .25s; width: auto; text-align: center; }
.ovx-btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.ovx-btn:hover svg { transform: translateX(3px); }
.ovx-btn--orange, .ovx-page .ovx-btn--orange { background: var(--orange); color: var(--ink); box-shadow: 0 10px 26px -10px rgba(240, 64, 31, .7); }
.ovx-btn--orange:hover { background: var(--orange-2); transform: translateY(-2px); }
.ovx-btn--blue, .ovx-page .ovx-btn--blue { background: var(--blue); color: #fff; }
.ovx-btn--blue:hover { background: var(--blue-2); transform: translateY(-2px); }
.ovx-btn--line, .ovx-page .ovx-btn--line { background: transparent; border-color: var(--blue); color: var(--blue); }
.ovx-btn--line:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.ovx-btn--full, .ovx-page .ovx-btn--full { width: 100%; }
.ovx-btn[disabled], .ovx-btn:disabled { background: #cdd8e3; color: #6b7f93; box-shadow: none; cursor: not-allowed; transform: none; }
.ovx-link-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.ovx-link-back:hover { text-decoration: underline; }

/* ---------- Alertes ---------- */
.ovx-alert { padding: 16px 20px; border-radius: 14px; font-weight: 600; margin: 0 0 26px; border: 1px solid transparent; display: flex; gap: 12px; align-items: flex-start; }
.ovx-alert::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ovx-alert--success { background: var(--ok-bg); color: var(--ok); border-color: #b9e5d3; --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='m8 12 3 3 5-6'/></svg>"); }
.ovx-alert--error { background: var(--err-bg); color: var(--err); border-color: #f5c3be; --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 7v6M12 17h.01'/></svg>"); }
.ovx-alert--info { background: var(--info-bg); color: var(--blue); border-color: #c4dbef; --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 11v6M12 7h.01'/></svg>"); }

/* ---------- Formulaires ---------- */
.ovx-field { display: grid; gap: 6px; margin-bottom: 16px; }
.ovx-field label, .ovx-label { font-weight: 700; font-size: .92rem; color: var(--text); }
.ovx-input, .ovx-select, .ovx-field input:not([type=checkbox]):not([type=radio]), .ovx-field select, .ovx-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font: 500 1rem var(--body); transition: border-color .2s, box-shadow .2s; }
.ovx-field textarea { min-height: 110px; resize: vertical; }
.ovx-input:focus, .ovx-select:focus, .ovx-field input:focus, .ovx-field select:focus, .ovx-field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 108, 163, .18); }
.ovx-select:disabled, .ovx-field input:disabled { background: #eef2f6; color: #7a8da0; cursor: not-allowed; }
.ovx-hint { font-size: .86rem; color: var(--muted); }

/* ---------- Carte générique ---------- */
.ovx-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(7, 24, 42, .35); padding: clamp(20px, 3vw, 34px); }

/* ---------- Catalogue ---------- */
.ovx-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; color: var(--muted); font-weight: 600; }
.ovx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.ovx-prod { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.ovx-prod:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -32px rgba(7, 24, 42, .55); border-color: #b9cfe3; }
.ovx-prod__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.05; background: radial-gradient(circle at 50% 38%, #fff 0, #e6eef6 100%); padding: 22px; text-decoration: none; }
.ovx-prod__media { overflow: hidden; }
.ovx-prod__media img { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; transition: transform .6s var(--ease); }
.ovx-prod:hover .ovx-prod__media img { transform: scale(1.06); }
.ovx-tag { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ovx-tag--soon { background: var(--blue); }
.ovx-prod__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; flex: 1; }
.ovx-prod__name { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: .03em; font-size: 1.55rem; line-height: 1.05; color: var(--ink); }
.ovx-prod__name a { color: inherit; text-decoration: none; }
.ovx-prod__name a:hover { color: var(--blue-2); }
.ovx-prod__price { font-family: var(--display); font-size: 1.9rem; letter-spacing: .03em; color: var(--orange); line-height: 1; }
.ovx-swatches { display: flex; gap: 8px; flex-wrap: wrap; min-height: 26px; }
.ovx-swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; transition: transform .2s, box-shadow .2s; }
.ovx-swatch:hover { transform: scale(1.15); box-shadow: 0 0 0 2px var(--blue-2); }
.ovx-prod__form { margin-top: auto; display: grid; gap: 10px; }
.ovx-sizebar { display: flex; align-items: center; gap: 10px; }
.ovx-sizebar label { font-weight: 700; font-size: .9rem; }
.ovx-sizebar select { flex: 1; min-height: 44px; border: 2px solid var(--line); border-radius: 12px; padding: 0 12px; font: 600 .96rem var(--body); background: #fff; color: var(--text); }
.ovx-sizebar select:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 108, 163, .18); }
.ovx-sizebar .ovx-unique { font-weight: 700; color: var(--blue); }
.ovx-empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); }
.ovx-empty h2 { font-family: var(--display); font-weight: 400; font-size: 2.6rem; margin: 0 0 8px; color: var(--ink); }
.ovx-empty p { margin: 0; color: var(--muted); }

/* ---------- Fiche produit ---------- */
.ovx-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.ovx-gallery { position: sticky; top: 92px; display: grid; gap: 14px; }
.ovx-gallery__main { background: radial-gradient(circle at 50% 40%, #fff 0, #e3ecf5 100%); border: 1px solid var(--line); border-radius: 26px; display: grid; place-items: center; aspect-ratio: 1 / 1.08; padding: clamp(18px, 3vw, 40px); }
.ovx-gallery__main { position: relative; overflow: hidden; }
.ovx-gallery__main img { position: absolute; inset: clamp(18px, 3vw, 40px); width: calc(100% - 2 * clamp(18px, 3vw, 40px)); height: calc(100% - 2 * clamp(18px, 3vw, 40px)); object-fit: contain; transition: opacity .2s; }
.thumbnail-container { display: flex; gap: 12px; flex-wrap: wrap; }
.thumbnail { width: 84px; height: 84px; border-radius: 16px; background: #fff; border: 2px solid var(--line); padding: 6px; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, transform .2s; }
.thumbnail:hover { transform: translateY(-3px); border-color: var(--blue-3); }
.thumbnail.active { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240, 64, 31, .18); }
.thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.ovx-buy { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3.2vw, 40px); box-shadow: 0 30px 60px -44px rgba(7, 24, 42, .5); }
.ovx-buy h1 { margin: 6px 0 10px; font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: .98; font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--ink); }
.ovx-buy__price { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--orange); letter-spacing: .03em; }
.ovx-buy__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 20px; }
.stock-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: 6px 14px; border-radius: 999px; }
.stock-status:empty { display: none; }
.stock-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.stock-status.in-stock { background: var(--ok-bg); color: var(--ok); }
.stock-status.out-of-stock { background: var(--err-bg); color: var(--err); }
.ovx-desc { color: var(--muted); font-size: 1.05rem; margin: 0 0 22px; }
.ovx-block { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.ovx-block__title { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 0 0 10px; }
.ovx-swatches--lg .ovx-swatch { width: 36px; height: 36px; }
.ovx-qty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ovx-qty input { width: 92px; min-height: 48px; border: 2px solid var(--line); border-radius: 12px; text-align: center; font: 700 1.05rem var(--body); }
.ovx-qty input:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 108, 163, .18); }
.ovx-actions { display: grid; gap: 12px; margin-top: 22px; }
.ovx-reassure { display: grid; gap: 10px; margin-top: 24px; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.ovx-reassure li { display: flex; gap: 10px; align-items: center; }
.ovx-reassure svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* ---------- Pied de page ---------- */
.ovx-foot { background: var(--ink); color: #b9cde0; margin-top: auto; padding: clamp(40px, 6vw, 72px) 0 24px; }
.ovx-foot__in { width: min(1240px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.ovx-foot__brand img { width: 64px; height: auto; margin-bottom: 14px; }
.ovx-foot__brand p { margin: 0; max-width: 340px; font-size: .96rem; }
.ovx-foot__col { display: grid; gap: 8px; align-content: start; }
.ovx-foot__col h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; letter-spacing: .08em; font-size: 1.4rem; color: #fff; }
.ovx-page .ovx-foot a { color: #b9cde0; text-decoration: none; }
.ovx-page .ovx-foot a:hover { color: #fff; text-decoration: underline; }
.ovx-foot__copy { width: min(1240px, 100% - 32px); margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(156, 195, 230, .2); font-size: .85rem; }

/* ---------- Apparition ---------- */
@keyframes ovx-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.ovx-grid > *, .ovx-detail > * { animation: ovx-up .7s var(--ease) both; }
.ovx-grid > *:nth-child(2) { animation-delay: .06s; } .ovx-grid > *:nth-child(3) { animation-delay: .12s; }
.ovx-grid > *:nth-child(4) { animation-delay: .18s; } .ovx-grid > *:nth-child(n+5) { animation-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .ovx-detail { grid-template-columns: 1fr; }
    .ovx-gallery { position: static; }
    .ovx-foot__in { grid-template-columns: 1fr 1fr; }
    .ovx-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .ovx-burger { display: block; }
    .ovx-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px 16px 20px; gap: 4px; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .4s var(--ease), visibility .4s; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6); }
    .ovx-bar.is-open .ovx-menu { max-height: 460px; visibility: visible; }
    .ovx-page .ovx-menu a { padding: 14px 16px; border-radius: 14px; }
    .ovx-page .ovx-menu a.ovx-cart { margin: 6px 0 0; justify-content: center; }
}
@media (max-width: 560px) {
    body.ovx-page { font-size: 16px; }
    .ovx-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ovx-prod__media img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
    .ovx-prod__body { padding: 12px 12px 16px; gap: 8px; }
    .ovx-prod__name { font-size: 1.2rem; }
    .ovx-prod__price { font-size: 1.5rem; }
    .ovx-sizebar { flex-direction: column; align-items: stretch; gap: 4px; }
    .ovx-btn { padding: 0 16px; min-height: 46px; font-size: .9rem; }
    .ovx-foot__in { grid-template-columns: 1fr; }
    .thumbnail { width: 68px; height: 68px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ovx-grid > *, .ovx-detail > * { animation: none; }
    .ovx-prod, .ovx-prod__media img, .ovx-btn, .thumbnail { transition: none; }
}

@media (max-width: 560px) {
    main.ovx-main--pull { margin-top: 0; }
}

/* =========================================================
   PANIER
   ========================================================= */
.ovx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ovx-alert > div { flex: 1; }
.ovx-alert a { color: inherit; text-decoration: underline; }

.ovx-cart-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, .9fr); gap: clamp(22px, 3.5vw, 48px); align-items: start; }
.ovx-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ovx-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto; gap: 8px 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 18px 14px 14px; box-shadow: 0 16px 36px -30px rgba(7, 24, 42, .5); }
.ovx-line__img { width: 96px; height: 96px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #fff, #e3ecf5); display: grid; place-items: center; padding: 6px; }
.ovx-line__img { position: relative; overflow: hidden; }
.ovx-line__img img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }
.ovx-line__info h2 { margin: 0 0 2px; font-family: var(--display); font-weight: 400; letter-spacing: .03em; font-size: 1.5rem; line-height: 1.05; color: var(--ink); }
.ovx-line__meta { margin: 0; color: var(--muted); font-size: .94rem; }
.ovx-line__qty { display: grid; gap: 4px; justify-items: start; }
.ovx-line__qty label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ovx-line__qty input { width: 78px; min-height: 44px; border: 2px solid var(--line); border-radius: 12px; text-align: center; font: 700 1rem var(--body); color: var(--text); }
.ovx-line__qty input:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 108, 163, .18); }
.ovx-line__total { font-family: var(--display); font-size: 1.8rem; letter-spacing: .03em; color: var(--ink); min-width: 96px; text-align: right; }
.ovx-iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.ovx-iconbtn svg { width: 20px; height: 20px; }
.ovx-iconbtn:hover { color: var(--err); border-color: #f0b3ad; background: var(--err-bg); }

.ovx-summary { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 2.6vw, 32px); box-shadow: 0 30px 60px -44px rgba(7, 24, 42, .55); }
.ovx-summary h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 2.2rem; letter-spacing: .03em; color: var(--ink); line-height: 1; }
.ovx-summary__block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.ovx-summary__block h3 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ovx-promo { display: flex; gap: 8px; }
.ovx-promo input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px; font: 500 1rem var(--body); }
.ovx-promo input:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 108, 163, .18); }
.ovx-promo .ovx-btn { min-height: 48px; padding: 0 18px; }
.ovx-promo__ok { margin: 10px 0 0; color: var(--ok); font-weight: 700; font-size: .95rem; }
.ovx-deliv { display: grid; gap: 10px; }
.ovx-deliv__opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.ovx-deliv__opt:hover { border-color: var(--blue-3); }
.ovx-deliv__opt:has(input:checked) { border-color: var(--blue); background: #eef5fb; }
.ovx-deliv__opt:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.ovx-deliv__opt input { width: 20px; height: 20px; accent-color: var(--blue); margin: 0; }
.ovx-deliv__txt { display: grid; line-height: 1.3; }
.ovx-deliv__txt strong { font-size: 1rem; color: var(--ink); }
.ovx-deliv__txt small { color: var(--muted); font-size: .85rem; }
.ovx-deliv__cost { font-weight: 700; color: var(--ink); white-space: nowrap; }
.ovx-totals { margin: 18px 0 20px; display: grid; gap: 8px; }
.ovx-totals > div { display: flex; justify-content: space-between; gap: 14px; }
.ovx-totals dt { color: var(--muted); }
.ovx-totals dd { margin: 0; font-weight: 700; }
.ovx-totals__promo dd { color: var(--ok); }
.ovx-totals__due { padding-top: 14px; margin-top: 6px; border-top: 2px solid var(--ink); align-items: baseline; }
.ovx-totals__due dt { color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.ovx-totals__due dd { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; letter-spacing: .03em; color: var(--orange); }
.ovx-summary__safe { margin: 14px 0 0; display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: .88rem; }

@media (max-width: 980px) {
    .ovx-cart-grid { grid-template-columns: 1fr; }
    .ovx-summary { position: static; }
}
@media (max-width: 640px) {
    .ovx-line { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px 14px; padding: 12px; }
    .ovx-line__img { width: 72px; height: 72px; grid-row: span 2; }
    .ovx-line__info { grid-column: 2 / 3; }
    .ovx-line__rm { grid-column: 3; grid-row: 1; }
    .ovx-line__qty { grid-column: 2; }
    .ovx-line__total { grid-column: 3; text-align: right; min-width: 0; font-size: 1.5rem; align-self: end; }
    .ovx-promo { flex-direction: column; }
}

/* =========================================================
   PAIEMENT / FORMULAIRES DE COMMANDE
   ========================================================= */
.ovx-stack { display: grid; gap: 20px; align-content: start; }
.ovx-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ovx-card h2, .ovx-fieldset legend h2 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: .03em; font-size: 2rem; line-height: 1; color: var(--ink); }
.ovx-infos { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.ovx-infos dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.ovx-infos dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.ovx-infos__wide { grid-column: 1 / -1; }
.ovx-fieldset { border: 1px solid var(--line); margin: 0; min-width: 0; display: grid; gap: 12px; }
.ovx-fieldset legend { padding: 0 10px; margin-left: -10px; float: left; width: 100%; margin-bottom: 4px; }
.ovx-fieldset legend + * { clear: both; }
.ovx-paycard { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.ovx-paycard:hover { border-color: var(--blue-3); }
.ovx-paycard:has(input:checked) { border-color: var(--blue); background: #eef5fb; }
.ovx-paycard:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.ovx-paycard input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blue); }
.ovx-paycard__body { display: grid; gap: 4px; }
.ovx-paycard__body strong { font-size: 1.08rem; color: var(--ink); }
.ovx-paycard__body small { color: var(--muted); font-size: .92rem; }
.ovx-paycard__more { display: none; margin-top: 8px; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.ovx-paycard:has(input:checked) .ovx-paycard__more { display: block; }
.ovx-paycard__more img { display: block; margin-top: 12px; border-radius: 8px; max-width: 220px; height: auto; }
@supports not selector(:has(*)) { .ovx-paycard__more { display: block; } }
.ovx-sumlist { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 12px; }
.ovx-sumlist li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.ovx-sumlist img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #e9f0f7; padding: 3px; }
.ovx-sumlist__name { font-weight: 600; line-height: 1.25; }
.ovx-sumlist__name small { display: block; color: var(--muted); font-weight: 400; font-size: .86rem; }
.ovx-sumlist__price { font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) { .ovx-infos { grid-template-columns: 1fr; } }

/* =========================================================
   CONFIRMATION
   ========================================================= */
main.ovx-main--narrow { width: min(720px, 100% - 32px); padding-top: clamp(40px, 7vw, 90px); }
.ovx-done { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 60px) clamp(20px, 4vw, 56px); box-shadow: 0 40px 70px -48px rgba(7, 24, 42, .6); }
.ovx-done__badge { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); box-shadow: 0 0 0 10px rgba(18, 128, 92, .08); animation: ovx-pop .7s var(--ease) both; }
.ovx-done__badge svg { width: 42px; height: 42px; }
.ovx-done--error .ovx-done__badge { background: var(--err-bg); color: var(--err); box-shadow: 0 0 0 10px rgba(180, 35, 27, .08); }
.ovx-done h1 { margin: 0 0 12px; font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: .98; font-size: clamp(2.6rem, 7vw, 4.4rem); color: var(--ink); }
.ovx-done h1 em { font-style: normal; color: var(--orange); }
.ovx-done__ref { margin: 0 0 18px; display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.ovx-done__ref strong { color: var(--ink); }
.ovx-done .ovx-alert { text-align: left; margin: 14px 0 18px; }
.ovx-done__text { margin: 0 0 6px; color: var(--muted); font-size: 1.08rem; }
.ovx-done__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
@keyframes ovx-pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ovx-done__badge { animation: none; } }
@media (max-width: 560px) { .ovx-done__actions .ovx-btn { width: 100%; } }

/* =========================================================
   COMPTE CLIENT
   ========================================================= */
.ovx-account { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.4fr); gap: clamp(22px, 3.5vw, 48px); align-items: start; }
.ovx-account > .ovx-card { position: sticky; top: 92px; }
.ovx-infos--one { grid-template-columns: 1fr 1fr; }
.ovx-orders { display: grid; gap: 16px; }
.ovx-order { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 16px 36px -30px rgba(7, 24, 42, .5); }
.ovx-order__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
.ovx-order__head h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: .03em; color: var(--ink); line-height: 1.05; }
.ovx-order__head small { color: var(--muted); }
.ovx-status { padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; background: #e6edf4; color: var(--blue); }
.ovx-status.is-ok { background: var(--ok-bg); color: var(--ok); }
.ovx-status.is-wait { background: #fff0d9; color: #8a5200; }
.ovx-status.is-bad { background: var(--err-bg); color: var(--err); }
.ovx-order__items { list-style: none; margin: 0; padding: 8px 22px; }
.ovx-order__items li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ovx-order__items li:last-child { border-bottom: 0; }
.ovx-order__items .q { color: var(--muted); }
.ovx-order__items .p { font-weight: 700; min-width: 80px; text-align: right; }
.ovx-order__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 22px; border-top: 2px solid var(--ink); }
.ovx-order__total span { font-weight: 700; color: var(--ink); }
.ovx-order__total strong { font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--orange); letter-spacing: .03em; line-height: 1; }
@media (max-width: 980px) {
    .ovx-account { grid-template-columns: 1fr; }
    .ovx-account > .ovx-card { position: static; }
}
@media (max-width: 560px) {
    .ovx-order__head { flex-direction: column; }
    .ovx-order__items li { grid-template-columns: 1fr auto; }
    .ovx-order__items .q { grid-column: 1; grid-row: 2; }
    .ovx-order__items .p { grid-column: 2; grid-row: 1 / 3; align-self: center; }
    .ovx-infos--one { grid-template-columns: 1fr; }
}

/* =========================================================
   FORMULAIRES (compte, connexion)
   ========================================================= */
main.ovx-main--form { width: min(860px, 100% - 32px); }
.ovx-form { display: grid; gap: 20px; }
.ovx-formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.ovx-field--wide { grid-column: 1 / -1; }
.ovx-formgrid .ovx-field { margin-bottom: 18px; }
.ovx-fieldset { padding-top: clamp(16px, 2vw, 22px); }
.ovx-fieldset > legend + .ovx-formgrid, .ovx-fieldset > legend + p { margin-top: 6px; }
.ovx-pw { position: relative; }
.ovx-pw input { padding-right: 56px !important; }
.ovx-pw__btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.ovx-pw__btn:hover { background: #eef2f6; color: var(--ink); }
.ovx-pw__btn svg { width: 22px; height: 22px; grid-area: 1 / 1; }
.ovx-pw__btn .eye-off { display: none; }
.ovx-pw__btn.is-on .eye-on { display: none; }
.ovx-pw__btn.is-on .eye-off { display: block; }
.ovx-form__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
    .ovx-formgrid { grid-template-columns: 1fr; }
    .ovx-form__actions .ovx-btn { width: 100%; }
}

/* Liste des commandes (page dédiée) */
.ovx-orders--list { max-width: 980px; }
.ovx-order--row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 14px 24px; align-items: center; padding: 18px 22px; }
.ovx-order__ref h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: .03em; color: var(--ink); line-height: 1.05; }
.ovx-order__ref small { color: var(--muted); }
.ovx-order__amount { font-family: var(--display); font-size: 1.9rem; letter-spacing: .03em; color: var(--orange); line-height: 1; min-width: 110px; text-align: right; }
.ovx-order__more { padding: 0 22px 18px; }
@media (max-width: 760px) {
    .ovx-order--row { grid-template-columns: 1fr auto; }
    .ovx-order__amount { text-align: left; }
    .ovx-order--row .ovx-order__actions { grid-column: 1 / -1; justify-content: stretch; }
    .ovx-order--row .ovx-order__actions .ovx-btn { flex: 1; }
}

/* Annulation de commande */
.ovx-btn--danger, .ovx-page .ovx-btn--danger { background: #c62828; border-color: #c62828; color: #fff; }
.ovx-btn--danger:hover { background: #a31f1f; border-color: #a31f1f; transform: translateY(-2px); }
.ovx-cancel-btn { color: #c62828 !important; border-color: #c62828 !important; }
.ovx-cancel-btn:hover { background: #c62828 !important; color: #fff !important; }
.ovx-dialog { border: 0; border-radius: 18px; padding: 0; width: min(92vw, 480px); box-shadow: 0 30px 80px rgba(7,24,42,.35); color: var(--ink); font-family: inherit; }
.ovx-dialog::backdrop { background: rgba(7,24,42,.6); backdrop-filter: blur(3px); }
.ovx-dialog form { padding: 28px 26px 24px; }
.ovx-dialog h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; letter-spacing: .03em; margin: 0 0 10px; line-height: 1; }
.ovx-dialog p { margin: 0 0 22px; line-height: 1.55; color: #3b4d5f; }
.ovx-dialog__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ovx-order__more { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.ovx-order__more .ovx-cancel-btn { padding: 9px 16px; font-size: .9rem; }
.ovx-order--row .ovx-cancel-btn { padding: 11px 18px; }
.ovx-order__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.ovx-order--row > * { min-width: 0; }
@media (max-width: 760px) {
    .ovx-order--row .ovx-status { white-space: normal; text-align: center; }
    .ovx-order--row .ovx-order__actions .ovx-btn { flex: 1 1 140px; padding-left: 12px; padding-right: 12px; }
}
.ovx-order__amount{white-space:nowrap}@media(max-width:760px){.ovx-order--row .ovx-order__amount{min-width:0}}

/* Identification / inscription */
main.ovx-main--auth { width: min(760px, 100% - 32px); }
.ovx-auth { padding: clamp(18px, 3vw, 32px); }
.ovx-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--paper); border-radius: 999px; margin-bottom: 26px; }
.ovx-tab { min-height: 46px; border: 0; border-radius: 999px; background: transparent; color: var(--blue); font: 700 1rem var(--body); cursor: pointer; transition: background .2s, color .2s; }
.ovx-tab:hover:not(.is-active) { background: #e4ecf4; }
.ovx-tab.is-active { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(33,78,120,.8); }
.ovx-tab:focus-visible, .ovx-linkbtn:focus-visible { outline: 3px solid var(--hot); outline-offset: 2px; }
.ovx-panel[hidden] { display: none; }
.ovx-panel h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; letter-spacing: .03em; font-size: 2.1rem; line-height: 1; color: var(--ink); }
.ovx-panel__intro { margin: 0 0 22px; color: var(--muted); }
.ovx-panel form .ovx-btn--full { margin-top: 8px; }
.ovx-panel__switch { margin: 20px 0 0; text-align: center; color: var(--muted); }
.ovx-linkbtn { border: 0; background: none; padding: 0; font: 700 1rem var(--body); color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ovx-linkbtn:hover { color: var(--orange); }
@media (max-width: 560px) { .ovx-tab { font-size: .95rem; } }

/* Facture */
main.ovx-main--invoice { width: min(900px, 100% - 32px); }
.ovx-invoice { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -30px rgba(7,24,42,.35); padding: clamp(22px, 4vw, 48px); color: var(--text); }
.ovx-invoice__head { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 3px solid var(--ink); }
.ovx-invoice__brand { display: flex; gap: 16px; align-items: center; }
.ovx-invoice__brand img { height: 74px; width: auto; }
.ovx-invoice__brand strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.7rem; letter-spacing: .04em; color: var(--ink); line-height: 1.1; }
.ovx-invoice__brand span { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.ovx-invoice__id { text-align: right; }
.ovx-invoice__id h2 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 3rem; letter-spacing: .06em; line-height: 1; color: var(--orange); }
.ovx-invoice dl { margin: 0; }
.ovx-invoice__id dl div { display: flex; justify-content: flex-end; gap: 12px; align-items: center; padding: 2px 0; }
.ovx-invoice__id dt { color: var(--muted); }
.ovx-invoice__id dd { margin: 0; font-weight: 700; color: var(--ink); }
.ovx-invoice__notice { margin: 22px 0 0; padding: 12px 16px; background: #fff0d9; border-radius: 10px; color: #6b4200; font-weight: 600; }
.ovx-invoice__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 26px 0; }
.ovx-invoice__cols h3 { margin: 0 0 6px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ovx-invoice__cols p { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.ovx-invoice__table { width: 100%; border-collapse: collapse; }
.ovx-invoice__table th { text-align: left; padding: 12px 10px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.ovx-invoice__table td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ovx-invoice__table .r { text-align: right; white-space: nowrap; }
.ovx-invoice__totals { margin: 22px 0 0 auto; width: min(100%, 340px); }
.ovx-invoice__totals div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; }
.ovx-invoice__totals dd { margin: 0; font-weight: 700; }
.ovx-invoice__totals .grand { margin-top: 8px; padding-top: 14px; border-top: 3px solid var(--ink); align-items: baseline; }
.ovx-invoice__totals .grand dt { font-family: var(--display); font-size: 1.6rem; letter-spacing: .05em; color: var(--ink); }
.ovx-invoice__totals .grand dd { font-family: var(--display); font-weight: 400; font-size: 2.2rem; letter-spacing: .03em; color: var(--orange); }
.ovx-invoice__foot { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .95rem; }
.ovx-invoice__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
@media (max-width: 720px) {
    .ovx-invoice__id { text-align: left; }
    .ovx-invoice__id dl div { justify-content: flex-start; }
    .ovx-invoice__cols { grid-template-columns: 1fr; gap: 18px; }
    .ovx-invoice__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .ovx-invoice__table, .ovx-invoice__table tbody, .ovx-invoice__table tr, .ovx-invoice__table td { display: block; }
    .ovx-invoice__table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .ovx-invoice__table td { display: flex; justify-content: space-between; gap: 16px; border: 0; padding: 4px 0; white-space: normal; text-align: right; }
    .ovx-invoice__table td::before { content: attr(data-label); color: var(--muted); text-align: left; }
}
@media print {
    @page { size: A4; margin: 14mm; }
    .ovx-bar, .ovx-foot, .ovx-skip, .ovx-noprint { display: none !important; }
    body.ovx-page { background: #fff !important; }
    main.ovx-main--invoice { width: 100%; margin: 0; padding: 0; }
    .ovx-invoice { border: 0; box-shadow: none; padding: 0; border-radius: 0; }
    .ovx-invoice__head, .ovx-invoice__table tr, .ovx-invoice__totals { break-inside: avoid; }
    * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.ovx-invoice dl.ovx-invoice__totals { margin: 22px 0 0 auto; }

/* Mentions légales */
.ovx-legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; max-width: 1040px; margin: 0 auto; }
.ovx-legal__toc { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px; }
.ovx-legal__toc strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: .04em; color: var(--ink); margin-bottom: 8px; }
.ovx-legal__toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 2px; }
.ovx-legal__toc a { display: block; padding: 5px 0; color: var(--blue); text-decoration: none; font-weight: 600; font-size: .95rem; }
.ovx-legal__toc a:hover { color: var(--orange); }
.ovx-legal__body section { padding: 6px 0 26px; scroll-margin-top: 96px; }
.ovx-legal__body section + section { padding-top: 26px; border-top: 1px solid var(--line); }
.ovx-legal__body h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: 1.9rem; letter-spacing: .03em; line-height: 1.1; color: var(--ink); }
.ovx-legal__body h2 span { color: var(--orange); }
.ovx-legal__body h3 { margin: 20px 0 6px; font-size: 1.05rem; color: var(--blue); }
.ovx-legal__body p, .ovx-legal__body li { line-height: 1.7; color: var(--text); max-width: 68ch; }
.ovx-legal__body p { margin: 0 0 12px; }
.ovx-legal__body ul { margin: 0 0 12px; padding-left: 1.2em; }
.ovx-legal__people { list-style: none; padding: 0 !important; display: grid; gap: 4px; }
.ovx-legal__body a { color: var(--blue); text-underline-offset: 3px; }
.ovx-legal__body a:hover { color: var(--orange); }
@media (max-width: 860px) {
    .ovx-legal { grid-template-columns: 1fr; gap: 18px; }
    .ovx-legal__toc { position: static; }
    .ovx-legal__toc ol { grid-template-columns: 1fr 1fr; column-gap: 18px; }
}
@media (max-width: 520px) { .ovx-legal__toc ol { grid-template-columns: 1fr; } }

.ovx-paycard.is-disabled { opacity: .6; cursor: not-allowed; }
.ovx-paycard.is-disabled:hover { border-color: var(--line); }
.ovx-paycard__note { display: block; margin-top: 6px; font-size: .9rem; font-weight: 600; color: #8a5200; }

/* Espace membres */
.ovx-fielderr { color: var(--err); font-weight: 600; font-size: .88rem; }
.ovx-hint { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.ovx-field input[aria-invalid="true"] { border-color: #d9534f; }
.ovx-page--membres .ovx-brand small { letter-spacing: .2em; }

/* Description produit (HTML de l'éditeur) */
.ovx-rich > :first-child { margin-top: 0; }
.ovx-rich > :last-child { margin-bottom: 0; }
.ovx-rich p { margin: 0 0 .8em; }
.ovx-rich ul, .ovx-rich ol { margin: 0 0 .9em; padding-left: 1.25em; }
.ovx-rich li { margin: 0 0 .25em; }
.ovx-rich strong { color: var(--ink); }
