/* Kprice e-Shop · boutique */
:root {
  --ink: #111114;
  --paper: #FAFAF7;
  --card: #FFFFFF;
  --soft: #F5F3EE;
  --soft-2: #EFEBE3;
  --line: #ECEAE4;
  --line-strong: #D9D6CE;
  --muted: #5B5B66;
  --accent: #B83A1B;
  --accent-ink: #FFFFFF;
  --ok: #14532D;
  --ok-bg: #E9F5EE;
  --warn-bg: #FFF4E5;
  --radius: 20px;
  --shadow: 0 24px 48px -24px rgba(17, 17, 20, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Fraunces, Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* Annonce + en-tête */
.kp-announce { background: var(--ink); color: var(--paper); font-size: 13px; text-align: center; padding: 9px 16px; letter-spacing: .02em; }
.kp-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.kp-header__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 14px 0; }
.kp-logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.kp-logo img { height: 36px; width: auto; }
.kp-logo__name { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.kp-logo__name span { color: var(--accent); }
.kp-search { flex: 999 1 320px; display: flex; align-items: center; background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 4px 4px 18px; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.kp-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 8%, transparent); }
.kp-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 15px; padding: 10px 12px; }
.kp-actions { display: flex; align-items: center; gap: 6px; }
.kp-icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 0; background: transparent; cursor: pointer; position: relative; }
.kp-icon-btn:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.kp-cart-btn { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 14px; }
.kp-cart-btn:hover { color: var(--paper); filter: brightness(1.15); }
.kp-cart-btn .kp-count { min-width: 20px; height: 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; display: grid; place-items: center; padding: 0 6px; transition: transform .3s var(--ease); }
.kp-cart-btn .kp-count.bump { transform: scale(1.35); }
.kp-cats { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: none; }
.kp-cats::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; font-size: 14px; font-weight: 500; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); cursor: pointer; transition: border-color .2s, background .2s; }
.chip:hover, .chip[aria-current="true"] { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); color: var(--paper); }

/* Boutons et formulaires */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .15s, filter .2s, background .2s; background: var(--ink); color: var(--paper); }
.btn:hover { color: var(--paper); filter: brightness(1.15); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { height: 48px; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 0 14px; background: var(--card); font-weight: 400; font-size: 15px; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field small { font-weight: 400; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

/* Mise en page principale */
.layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding: 24px 0 48px; }
.layout__main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.layout__side { flex: 1 1 300px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.panel__title { margin: 0 0 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.panel--dark .panel__title { color: #C9C7C0; }
.h-display { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; margin: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3vw, 32px); margin: 0; letter-spacing: -.01em; }

/* Bannière */
.hero { position: relative; overflow: hidden; border-radius: 28px; background: var(--ink); color: var(--paper); min-height: 380px; display: flex; align-items: center; padding: clamp(28px, 5vw, 56px); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,20,.85) 0%, rgba(17,17,20,.35) 70%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__orb { position: absolute; right: -40px; top: -20px; width: min(640px, 80%); opacity: .9; z-index: -1; }
.hero__content { max-width: 560px; display: flex; flex-direction: column; gap: 18px; animation: rise .9s var(--ease) both; }
.hero__eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #C9C7C0; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.02; }
.hero p { margin: 0; font-size: 17px; color: #D6D4CD; }
.hero .btn { background: var(--paper); color: var(--ink); }
.hero .btn--ghost { background: transparent; color: var(--paper); border-color: #4A4A52; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Grille / carrousel produits */
.seg { display: flex; background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.seg button { width: 44px; height: 38px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; display: grid; place-items: center; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.products { display: grid; gap: 20px; }
.products[data-mode="grid"] { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.products[data-mode="rail"] { grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
@media (max-width: 520px) { .products[data-mode="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); animation: rise .6s var(--ease) both; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft-2); display: block; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.card__media img + img { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media img { transform: scale(1.05); }
.card:hover .card__media img + img { opacity: 1; }
.card__badge { position: absolute; left: 12px; top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 5px 10px; border-radius: 999px; }
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card__name { font-weight: 600; font-size: 15px; line-height: 1.35; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.price s { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; }
.add-btn { width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .15s; flex: 0 0 auto; }
.add-btn:hover { background: var(--accent); }
.add-btn:active { transform: scale(.9); }
.placeholder-img { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(17,17,20,.3); }
.skeleton { background: linear-gradient(90deg, var(--soft-2) 25%, var(--soft) 50%, var(--soft-2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Barre latérale */
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a, .side-list button { display: flex; justify-content: space-between; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font-size: 15px; cursor: pointer; text-align: left; }
.best { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.best a { display: flex; gap: 12px; align-items: center; }
.best img, .best .thumb { width: 52px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--soft-2); flex: 0 0 auto; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags .chip { font-size: 13px; padding: 7px 12px; }
.services { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.services li { display: flex; gap: 10px; align-items: center; }

/* Fiche produit */
.pdp { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding: 32px 0; }
.pdp__gallery { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pdp__main { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--soft-2); cursor: zoom-in; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), opacity .3s; }
.pdp__main.zoom img { transform: scale(1.8); cursor: zoom-out; }
.pdp__thumbs { display: flex; gap: 10px; overflow-x: auto; }
.pdp__thumbs button { width: 80px; height: 100px; flex: 0 0 auto; border-radius: 14px; overflow: hidden; border: 0; padding: 0; cursor: pointer; outline: 2px solid transparent; outline-offset: 3px; background: var(--soft-2); }
.pdp__thumbs button[aria-current="true"] { outline-color: var(--ink); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.pdp__info h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.05; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-width: 52px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--card); font-weight: 600; cursor: pointer; }
.pill[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--card); }
.qty button { width: 44px; height: 48px; border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.qty output { min-width: 32px; text-align: center; font-weight: 700; font-size: 17px; }
.prose { font-size: 16px; line-height: 1.65; color: #3A3A42; white-space: pre-line; }
.prose a { color: var(--accent); text-decoration: underline; }

/* Panier / paiement */
.checkout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding: 32px 0 56px; }
.checkout__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.checkout__side { flex: 1 1 360px; position: sticky; top: 140px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .checkout__side { position: static; } }
.line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img, .line .thumb { width: 72px; height: 90px; border-radius: 12px; object-fit: cover; background: var(--soft-2); flex: 0 0 auto; }
.line__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.line__name { font-weight: 600; }
.line__meta { font-size: 13px; color: var(--muted); }
.totals { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 20px; font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); }
.method { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; text-align: left; width: 100%; }
.method[aria-pressed="true"] { border-color: var(--ink); background: #F6F4EF; }
.method__dot { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 12px; flex: 0 0 auto; }
.notice { border-radius: 16px; padding: 16px; font-size: 14px; line-height: 1.55; background: #F6F4EF; }
.notice--ok { background: var(--ok-bg); color: var(--ok); }
.notice--warn { background: var(--warn-bg); color: #7A3E00; }
.notice--error { background: #FDECEA; color: #8A1C12; }
.code { font-family: ui-monospace, Menlo, monospace; font-size: 17px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; word-break: break-all; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.steps li.done { color: var(--ok); }
.steps li.active { color: var(--ink); font-weight: 600; }
.spinner { width: 20px; height: 20px; border-radius: 999px; border: 3px solid var(--line-strong); border-top-color: var(--accent); animation: spin .9s linear infinite; flex: 0 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Compte */
.tabs { display: flex; gap: 4px; background: var(--line); padding: 4px; border-radius: 999px; width: fit-content; }
.tabs button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 600; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--card); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.order-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--line); }
.status--payee, .status--livree { background: var(--ok-bg); color: var(--ok); }
.status--en_attente_paiement { background: var(--warn-bg); color: #7A3E00; }

/* Pied de page, consentement, toasts */
.kp-footer { border-top: 1px solid var(--line); margin-top: 24px; }
.kp-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 32px 0; font-size: 13px; color: var(--muted); }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; background: var(--ink); color: var(--paper); border-radius: 20px; padding: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; box-shadow: var(--shadow); animation: rise .5s var(--ease) both; }
.consent p { margin: 0; flex: 1 1 260px; font-size: 14px; }
.consent .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.consent .btn:first-of-type { background: var(--paper); color: var(--ink); }
.consent .btn--ghost { color: var(--paper); border-color: #4A4A52; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 70; background: var(--ink); color: var(--paper); padding: 14px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: all .35s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

@media print {
  .kp-header, .kp-announce, .kp-footer, .no-print, .consent { display: none !important; }
  body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 520px) { .kp-hide-sm { display: none; } }

/* Liens et réseaux sociaux */
.socials { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0 0; }
.social { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); font-size: 14px; font-weight: 600; transition: border-color .2s, transform .2s var(--ease); }
.social:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 58px; height: 58px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: var(--paper); box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: var(--paper); }
@media print { .wa-float, .socials { display: none !important; } }
.badge-promo { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }

/* ===== En-tête : menu, profil, recherche sur téléphone ===== */
.kp-menu-btn { flex: 0 0 auto; }
.kp-search { order: 2; }
.kp-actions { order: 3; margin-left: auto; }
.kp-search__btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
@media (max-width: 760px) {
  .kp-header__row { gap: 10px; }
  .kp-search { order: 5; flex: 1 1 100%; }
  .kp-logo__name { font-size: 20px; }
}
@media (max-width: 520px) { .kp-search__btn { display: none; } }
.kp-profile { position: relative; }
.kp-profile__btn { border: 1.5px solid var(--line-strong); background: var(--card); }
.kp-profile__btn.is-in { border-color: var(--ink); }
.kp-profile__btn.is-in::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 10px; height: 10px; border-radius: 999px; background: #2BB37A; border: 2px solid var(--card); }
.kp-profile__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 70; width: 260px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); animation: rise .25s var(--ease) both; }
.kp-profile__menu[hidden] { display: none; }
.kp-profile__menu > a:not(.btn), .kp-profile__menu > button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; border: 0; background: none; font-size: 15px; cursor: pointer; }
.kp-profile__menu > a:not(.btn):hover, .kp-profile__menu > button:hover { background: var(--soft); color: var(--ink); }
.kp-profile__who { font-size: 12px; color: var(--muted); padding: 4px 12px 8px; border-bottom: 1px solid var(--line); overflow: hidden; text-overflow: ellipsis; }

/* ===== Barre latérale gauche ===== */
.kp-side { position: fixed; z-index: 80; top: 0; left: 0; bottom: 0; width: min(88vw, 360px); overflow-y: auto; background: var(--card); padding: 0; display: flex; flex-direction: column; transform: translateX(-105%); transition: transform .38s var(--ease); box-shadow: 30px 0 60px -30px rgba(0,0,0,.45); overscroll-behavior: contain; scrollbar-width: thin; }
body.side-open .kp-side { transform: none; }
body.side-open { overflow: hidden; }
.kp-scrim { position: fixed; inset: 0; z-index: 75; background: rgba(10,10,14,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; }
body.side-open .kp-scrim { opacity: 1; pointer-events: auto; }

/* En-tête du menu : salutation */
.nav-hello { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 20px 18px 20px 22px; color: #fff; text-decoration: none;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 55%, #15151A) 0%, #15151A 60%, #0B0B0E 100%); }
.nav-hello__link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: #fff; text-decoration: none; }
.nav-hello__link:hover { color: #fff; }
.nav-hello__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); flex: none; }
.nav-hello__avatar svg { width: 20px; height: 20px; }
.nav-hello__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.nav-hello small { font-size: 12px; opacity: .75; letter-spacing: .02em; }
.nav-hello strong { font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-close, .nav-fold { color: #fff; flex: none; background: rgba(255,255,255,.08); }
.nav-fold { display: none; }
.nav-close:hover { background: rgba(255,255,255,.18); }

/* Rubriques */
.nav-groups { display: flex; flex-direction: column; padding-bottom: 18px; }
.nav-home { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; font-weight: 700; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-home:hover, .nav-home[aria-current="page"] { color: var(--accent); }
.nav-group { padding: 14px 0 8px; border-bottom: 1px solid var(--line); }
.nav-group:last-child { border-bottom: 0; }
.nav-group h2 { margin: 0 0 4px; padding: 0 22px; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.nav-group ul { list-style: none; margin: 0; padding: 0; }
.nav-group li > a, .nav-group li > button, .nav-sub > summary, .nav-more > summary {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 22px; border: 0; background: none;
  font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; text-decoration: none; list-style: none; transition: background .2s, color .2s, padding .25s var(--ease); }
.nav-sub > summary::-webkit-details-marker, .nav-more > summary::-webkit-details-marker { display: none; }
.nav-group li > a::before, .nav-group li > button::before, .nav-sub > summary::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); transform: scaleY(0); transition: transform .25s var(--ease); }
.nav-group li > a:hover, .nav-group li > button:hover, .nav-sub > summary:hover, .nav-more > summary:hover { background: var(--soft); color: var(--ink); padding-left: 26px; }
.nav-group li > a:hover::before, .nav-group li > button:hover::before, .nav-sub > summary:hover::before, .nav-group li > a[aria-current="page"]::before { transform: scaleY(1); }
.nav-group li > a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-arrow { color: var(--muted); opacity: .55; flex: none; transition: transform .25s var(--ease), opacity .2s; }
.nav-group li > a:hover .nav-arrow, .nav-group li > button:hover .nav-arrow { opacity: 1; transform: translateX(3px); }
.nav-chev { color: var(--muted); flex: none; transition: transform .3s var(--ease); }
details[open] > summary .nav-chev { transform: rotate(180deg); }
.nav-sub > summary span { flex: 1; }
.nav-sub > summary small { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 2px 8px; }
.nav-sub[open] > summary { font-weight: 600; }
.nav-sub > ul { margin: 2px 22px 8px 30px !important; padding: 4px 0 !important; border-left: 2px solid color-mix(in srgb, var(--accent) 35%, var(--line)); animation: navDrop .3s var(--ease); }
.nav-sub > ul a { display: flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 14px; color: var(--muted); text-decoration: none; border-radius: 0 10px 10px 0; transition: color .2s, background .2s; }
.nav-sub > ul a:hover { color: var(--ink); background: var(--soft); }
.nav-sub > ul a.nav-all { color: var(--accent); font-weight: 600; }
.nav-more > summary { color: var(--muted); font-weight: 600; justify-content: flex-start; }
.nav-more > summary .nav-chev { margin-left: 2px; }
.nav-more > ul { animation: navDrop .3s var(--ease); }
.nav-more[open] { display: flex; flex-direction: column; }
@keyframes navDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-switch { width: 40px; height: 22px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; transition: background .25s; }
.nav-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .3s var(--ease); }
:root[data-theme="dark"] .nav-switch { background: var(--accent); }
:root[data-theme="dark"] .nav-switch::after { transform: translateX(18px); }
.nav-group .kp-install-ios { margin: 4px 22px 8px; font-size: 13px; color: var(--muted); }

@media (min-width: 1024px) {
  .layout > .kp-side { position: sticky; top: 132px; z-index: 1; order: -1; flex: 0 0 290px; width: 290px; max-height: calc(100vh - 148px); transform: none; box-shadow: 0 24px 50px -36px rgba(17,17,20,.45); border: 1px solid var(--line); border-radius: 22px; overflow: auto; transition: opacity .3s, margin .35s var(--ease); }
  .layout > .kp-side .nav-hello { border-radius: 22px 22px 0 0; position: static; }
  .layout > .kp-side .nav-close { display: none; }
  .layout > .kp-side .nav-fold { display: grid; }
  body.side-hidden .layout > .kp-side { flex-basis: 0; width: 0; opacity: 0; border-width: 0; margin-right: -24px; pointer-events: none; }
  .layout > .kp-side { transition: flex-basis .45s var(--ease), width .45s var(--ease), opacity .3s, margin .45s var(--ease); }
}

/* ===== Rayons à faire défiler (gauche ↔ droite) ===== */
.rail-section { display: flex; flex-direction: column; gap: 16px; }
.rail-tools { display: flex; align-items: center; gap: 8px; }
.rail-all { font-size: 14px; font-weight: 600; color: var(--accent); margin-right: 6px; }
.rail-arrow { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, opacity .2s; }
.rail-arrow:hover:not([disabled]) { border-color: var(--ink); }
.rail-arrow[disabled] { opacity: .35; cursor: default; }
@media (hover: none) { .rail-arrow { display: none; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 2px; padding: 10px 2px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > .card { scroll-snap-align: start; }
@media (max-width: 640px) { .rail { grid-auto-columns: 46vw; gap: 12px; } }

/* =====================================================================
   Thème blanc et animations de nouvelle génération
   ===================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
::view-transition-old(kp-prod), ::view-transition-new(kp-prod) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .9, .1, 1); }
html { scroll-behavior: smooth; }
body { animation: pageIn .6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } }

/* Bandeau d'annonce clair */
.kp-announce { background: color-mix(in srgb, var(--accent) 9%, var(--card)); color: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, var(--card)); font-weight: 500; }
.kp-header { transition: box-shadow .3s, background .3s; }
.kp-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(17, 17, 20, .35); }

/* Bannière claire, formes animées */
.hero { background: linear-gradient(120deg, var(--card) 0%, var(--soft) 55%, color-mix(in srgb, var(--accent) 10%, var(--card)) 100%); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(17, 17, 20, .35); }
.hero p { color: #4A4A55; }
.hero__eyebrow { color: var(--accent); font-weight: 700; }
.hero .btn { background: var(--ink); color: var(--paper); }
.hero .btn:hover { color: var(--paper); }
.hero__blobs { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__blobs span { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; animation: blob 18s ease-in-out infinite alternate; }
.hero__blobs span:nth-child(1) { width: 420px; height: 420px; right: -60px; top: -80px; background: color-mix(in srgb, var(--accent) 55%, #fff); }
.hero__blobs span:nth-child(2) { width: 320px; height: 320px; right: 220px; bottom: -140px; background: #F5C76A; animation-duration: 22s; animation-delay: -6s; }
.hero__blobs span:nth-child(3) { width: 260px; height: 260px; right: 40%; top: 20%; background: #9DC3E6; opacity: .35; animation-duration: 26s; animation-delay: -12s; }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.12); } 100% { transform: translate(30px, -20px) scale(.92); } }
.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__content > *:nth-child(3) { animation-delay: .16s; }
.hero__content > *:nth-child(4) { animation-delay: .24s; }
.hero--image { color: #fff; border: 0; }
.hero--image p, .hero--image .hero__eyebrow { color: #F1EEE6; }
.hero--image .btn { background: var(--card); color: var(--ink); }

/* Encadré Services clair */
.panel--dark { background: linear-gradient(160deg, var(--card), var(--soft)); color: var(--ink); border-color: var(--line); }
.panel--dark .panel__title { color: var(--muted); }
.services li svg { color: var(--accent); }

/* Consentement clair */
.consent { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.consent .btn:first-of-type { background: var(--ink); color: var(--paper); }
.consent .btn--ghost { color: var(--ink); border-color: var(--line-strong); }
.wa-float { background: #25A366; color: #fff; animation: pulse 2.6s ease-out infinite; }
.wa-float:hover { color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 163, 102, .45); } 70% { box-shadow: 0 0 0 16px rgba(37, 163, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 163, 102, 0); } }
.toast { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; transition: all .45s cubic-bezier(.2, 1.4, .3, 1); }

/* Apparition au défilement */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Cartes : relief 3D et reflet */
.card { transform-style: preserve-3d; will-change: transform; position: relative; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .45), transparent 42%); opacity: 0; transition: opacity .3s; }
.card:hover::after { opacity: 1; }
.card__media img { view-transition-name: none; }

/* Rayons : glisser à la souris */
.rail { cursor: grab; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging .card { pointer-events: none; }
.rail-progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rail-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s linear; }

/* Envol vers le panier et mini-panier */
.fly { position: fixed; z-index: 120; border-radius: 16px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow); }
.minicart { position: fixed; z-index: 110; top: 0; right: 0; bottom: 0; width: min(92vw, 400px); background: var(--card); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .35); transform: translateX(105%); transition: transform .5s cubic-bezier(.2, 1, .2, 1); display: flex; flex-direction: column; }
.minicart.open { transform: none; }
.minicart__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 22px; }
.minicart__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.minicart__foot { padding: 18px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.minicart .line { animation: rise .45s var(--ease) both; }
.mc-scrim { position: fixed; inset: 0; z-index: 105; background: rgba(17, 17, 20, .35); opacity: 0; pointer-events: none; transition: opacity .35s; backdrop-filter: blur(2px); }
.mc-scrim.open { opacity: 1; pointer-events: auto; }
.btn { position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Favoris ---------- */
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(0, 0, 0, .12); backdrop-filter: blur(6px); transition: transform .2s var(--ease); }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn svg { fill: none; stroke: var(--ink); stroke-width: 1.8; transition: fill .2s, stroke .2s; }
.fav-btn[aria-pressed="true"] svg { fill: #E0245E; stroke: #E0245E; }
.fav-btn--inline { position: static; box-shadow: none; border: 1px solid var(--line); width: 48px; height: 48px; }

/* ---------- Filtres et tri ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); position: sticky; top: 76px; z-index: 5; }
.filters select, .filters input { height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: var(--card); font: inherit; font-size: 14px; color: var(--ink); }
.filters input { width: 130px; }
.filters .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters__count { margin-left: auto; font-size: 13px; color: var(--muted); }
.filters button.chip { cursor: pointer; font: inherit; font-size: 13px; }
@media (max-width: 640px) { .filters { position: static; } .filters__count { margin-left: 0; width: 100%; } }

/* ---------- Pied de page : pages légales ---------- */
.kp-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 28px; font-size: 14px; }
.kp-footer__links a, .kp-footer__cookies { color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; opacity: .8; }
.kp-footer__links a:hover, .kp-footer__cookies:hover { opacity: 1; text-decoration: underline; }

/* ---------- Page libre (CGV, mentions…) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 0 72px; line-height: 1.75; }
.legal h1 { font-family: var(--display, inherit); font-size: clamp(30px, 5vw, 46px); line-height: 1.1; margin: 0 0 8px; }
.legal h2 { font-size: 20px; margin: 32px 0 6px; }
.legal p, .legal li { color: #333; }
.legal .muted { color: var(--muted); font-size: 13px; }

/* ---------- Suivi de commande ---------- */
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 14px 0 4px; counter-reset: st; }
.track li { list-style: none; position: relative; padding-top: 22px; font-size: 12px; color: var(--muted); text-align: center; }
.track li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--line); }
.track li::after { content: ""; position: absolute; top: 1px; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--card); border: 2px solid var(--line); }
.track li.is-done { color: var(--ink); font-weight: 600; }
.track li.is-done::before { background: var(--accent); }
.track li.is-done::after { background: var(--accent); border-color: var(--accent); }
.track li.is-now::after { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 0%, transparent); } }

/* ---------- Panneau glissant ---------- */
.kp-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(17, 17, 20, .35); backdrop-filter: blur(4px); display: flex; justify-content: flex-end; animation: fade .2s var(--ease); }
.kp-drawer__panel { width: min(520px, 100%); height: 100%; overflow: auto; background: var(--card); padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: -20px 0 60px rgba(0, 0, 0, .15); animation: slideIn .32s var(--ease); }
.kp-drawer.is-closing { opacity: 0; transition: opacity .2s; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 640px) { .kp-drawer { align-items: flex-end; } .kp-drawer__panel { height: auto; max-height: 92vh; border-radius: 24px 24px 0 0; animation-name: slideUp; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } }

/* ---------- Recherche : suggestions et voix ---------- */
.kp-search { position: relative; }
.kp-mic { border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none; }
.kp-mic:hover { color: var(--ink); background: var(--line); }
.kp-mic.is-listening { color: #fff; background: var(--accent); animation: pulse 1.4s infinite; }
.kp-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .14); padding: 8px; display: flex; flex-direction: column; animation: rise .22s var(--ease); }
.kp-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 14px; }
.kp-suggest a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kp-suggest a img, .kp-suggest .thumb { width: 40px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--soft-2); flex: none; }
.kp-suggest a:hover, .kp-suggest a.is-active { background: var(--soft); }
.kp-suggest__cat { color: var(--muted) !important; }
.kp-suggest__all { border: 0; background: none; padding: 10px; font: inherit; font-size: 13px; font-weight: 600; color: var(--accent); cursor: pointer; text-align: left; }

/* ---------- Appli installable ---------- */
.kp-install { margin-bottom: 4px; }
.kp-install svg { margin-right: 6px; }
.kp-install-ios { font-size: 13px; color: var(--muted); margin: 0 0 8px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; }

/* ---------- Étoiles et avis ---------- */
.stars { position: relative; display: inline-block; font-size: var(--s, 14px); line-height: 1; letter-spacing: 1px; vertical-align: middle; }
.stars__bg { color: #DDD8CE; }
.stars__fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #E5A100; }
.stars__n { font-size: 12px; color: var(--muted); margin-left: 6px; vertical-align: middle; }
.card__rating { display: block; margin-top: -2px; }
.pdp__rating { text-decoration: none; color: inherit; width: fit-content; }
.reviews { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 28px; align-items: start; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }
.reviews__dist { display: flex; flex-direction: column; gap: 8px; font-size: 13px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.reviews__dist div { display: grid; grid-template-columns: 34px 1fr 24px; gap: 8px; align-items: center; }
.reviews__dist .bar { height: 8px; border-radius: 99px; background: var(--soft-2); overflow: hidden; }
.reviews__dist .bar span { display: block; height: 100%; background: #E5A100; border-radius: 99px; }
.reviews__list { display: flex; flex-direction: column; gap: 12px; }
.review { padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); display: flex; flex-direction: column; gap: 8px; }
.review p { margin: 0; line-height: 1.6; }
.review__reply { background: var(--soft); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.badge-verified { font-size: 11px; font-weight: 600; color: #1e7b4a; background: #E6F4EC; padding: 3px 8px; border-radius: 99px; }
.review--form textarea { border: 1px solid var(--line); border-radius: 14px; padding: 12px; font: inherit; resize: vertical; }
.rate { display: flex; gap: 4px; }
.rate button { border: 0; background: none; font-size: 30px; line-height: 1; color: #DDD8CE; cursor: pointer; padding: 0 2px; transition: transform .15s, color .15s; }
.rate button[aria-checked="true"] { color: #E5A100; }
.rate button:hover { transform: scale(1.15); }

/* ---------- Disponibilité et alerte de stock ---------- */
.pill.is-out { opacity: .45; text-decoration: line-through; }
.stock-alert { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: var(--soft); font-size: 14px; }
.stock-alert input { height: 46px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; background: var(--card); }

/* ---------- Panier : code promo et points ---------- */
.coupon { display: flex; gap: 8px; margin-bottom: 8px; }
.coupon input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; background: var(--card); }
.points { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 10px 12px; margin: 8px 0; border-radius: 14px; background: #FFF6E5; cursor: pointer; }
.points input { width: 20px; height: 20px; }

/* ---------- Fidélité et parrainage ---------- */
.loyalty { display: flex; flex-direction: column; gap: 16px; }
.loyalty__points { font-family: var(--display, inherit); font-size: 44px; line-height: 1; background: linear-gradient(120deg, var(--accent), #E5A100); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loyalty__points small { font-size: 16px; }
.ledger { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; font-size: 14px; }
.ledger li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.referral { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #FFF6E5, #FCEDE8); }
.referral input { height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; font-size: 13px; background: var(--card); }

/* ---------- Paiement : saisie manuelle (MTN) ---------- */
.pay-manual { display: grid; gap: 10px; }
.pay-manual div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #FFF8DB; }
.pay-manual span { font-size: 13px; color: #555; flex: 1; }
.pay-manual strong { font-size: 24px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

.push-wait:not([hidden]) { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Livraison estimée, garanties, guide des tailles ---------- */
.eta { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #EEF6F0; color: #14502F; font-size: 14px; font-weight: 600; }
.eta select { border: 1px solid #CFE4D6; background: var(--card); border-radius: 999px; height: 32px; padding: 0 10px; font: inherit; font-size: 13px; }
.eta__cod { width: 100%; font-weight: 500; font-size: 13px; color: #1e7b4a; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: underline; cursor: pointer; }
.fit { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: auto; }
.md-table { overflow-x: auto; margin: 10px 0; }
.md-table table { border-collapse: collapse; width: 100%; font-size: 14px; }
.md-table th, .md-table td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.md-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- Connexion rapide ---------- */
.quick-login { display: flex; flex-direction: column; gap: 10px; }
.quick { justify-content: center; gap: 10px; min-height: 52px; font-weight: 600; }
.quick--google { background: #fff; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin-top: 4px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.otp-input { height: 64px; border: 1px solid var(--line); border-radius: 16px; text-align: center; font-size: 30px; letter-spacing: .5em; font-variant-numeric: tabular-nums; font-family: inherit; background: var(--card); }

/* ---------- WhatsApp ---------- */
.btn--wa { background: #25A366 !important; color: #fff !important; border-color: #25A366 !important; display: inline-flex; gap: 8px; align-items: center; justify-content: center; }
.btn--wa:hover { background: #1E8B56 !important; }
.wa-float { bottom: 96px !important; width: 52px !important; height: 52px !important; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 18px; }

/* ---------- Menu latéral : contact et réseaux ---------- */
.side-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.side-contact p { margin: 0; color: var(--muted); }
.side-contact > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.side-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.side-socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); background: var(--card); transition: transform .2s var(--ease), background .2s; }
.side-socials a:hover { transform: translateY(-2px); background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Campagnes (accueil) ---------- */
.campaigns { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 26px; }
.campaigns__rail { gap: 14px; }
.campaign { flex: 0 0 clamp(240px, 30vw, 340px); aspect-ratio: 1; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 34px rgba(17, 17, 20, .12); scroll-snap-align: start; transition: transform .35s var(--ease); }
.campaign:hover { transform: translateY(-4px) scale(1.01); }
.campaign img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .campaign { flex-basis: 78vw; } }

/* ---------- Assistant ---------- */
.kp-assist-btn { position: fixed; right: 18px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px 0 8px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 16px 40px rgba(17, 17, 20, .28); transition: transform .25s var(--ease); }
.kp-assist-btn:hover { transform: translateY(-2px); }
.kp-assist-btn__face { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 22px; }
.kp-assist-btn.is-hint { animation: wiggle 1.2s ease 2; }
.kp-assist-btn.is-open .kp-assist-btn__label { display: none; }
.kp-assist-btn.is-open { padding-right: 8px; }
@keyframes wiggle { 25% { transform: rotate(-4deg) } 50% { transform: rotate(4deg) } 75% { transform: rotate(-2deg) } }
@media (max-width: 640px) { .kp-assist-btn__label { display: none; } .kp-assist-btn { padding: 0 8px; } }
.kp-assist { position: fixed; right: 18px; bottom: 92px; z-index: 61; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 130px)); display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 80px rgba(17, 17, 20, .25); overflow: hidden; animation: rise .28s var(--ease); }
.kp-assist[hidden] { display: none; }
.kp-assist header { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: var(--ink); color: #fff; }
.kp-assist header div { flex: 1; display: flex; flex-direction: column; }
.kp-assist header small { color: #9FE3B9; font-size: 12px; }
.kp-assist header .kp-icon-btn { color: #fff; border-color: rgba(255, 255, 255, .25); background: transparent; }
.kp-assist__avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; font-weight: 800; color: var(--ink); flex: none; }
.kp-assist__avatar img { width: 34px; height: 34px; object-fit: contain; }
.kp-assist__log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.kp-assist .msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: rise .22s var(--ease); }
.kp-assist .msg--bot { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.kp-assist .msg--me { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.kp-assist .msg--chips { padding: 0; max-width: 100%; }
.kp-assist .msg a:not(.btn):not(.chip) { color: var(--accent); font-weight: 600; }
.kp-assist .msg .btn--wa { margin-top: 8px; min-height: 40px; font-size: 14px; }
.kp-assist .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.kp-assist .chip { font: inherit; font-size: 13px; cursor: pointer; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; color: var(--ink); text-decoration: none; }
.kp-assist .chip:hover { border-color: var(--accent); color: var(--accent); }
.assist-products { display: grid; gap: 8px; margin-top: 8px; }
.assist-products a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 6px; border-radius: 12px; background: var(--paper); }
.assist-products img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; }
.assist-products span { flex: 1; font-size: 13px; font-weight: 600; }
.assist-products strong { font-size: 13px; white-space: nowrap; }
.kp-assist__input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--card); }
.kp-assist__input input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; font-size: 14px; }
.kp-assist__input .btn { min-height: 44px; width: 44px; padding: 0; border-radius: 50%; }
@media print { .kp-assist, .kp-assist-btn { display: none !important; } }

/* Corrections d'affichage */
.kp-suggest[hidden] { display: none !important; }
.kp-logo img { height: 52px; max-width: 150px; object-fit: contain; }
@media (max-width: 640px) { .kp-logo img { height: 40px; } }
.kp-assist-btn__face svg { display: block; }

/* Chiffres clés */
.kp-stats { padding: 56px 0 48px; margin-top: 32px; background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--accent) 6%, var(--paper))); border-top: 1px solid var(--line); }
.kp-stats h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); text-align: center; margin: 0 0 28px; letter-spacing: -.01em; }
.kp-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.kp-stat { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 18px; text-align: center; box-shadow: 0 20px 40px -32px rgba(17, 17, 20, .4); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.kp-stat:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(17, 17, 20, .45); }
.kp-stat strong { display: block; font-family: var(--display); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: var(--accent); font-variant-numeric: tabular-nums; }
.kp-stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); font-weight: 500; }

/* Pied de page noir (toujours noir, quel que soit le thème) */
.kp-footer--dark { background: #0B0B0E; color: #D6D6DC; border-top: 0; margin-top: 0; padding: 56px 0 0; }
.kp-footer--dark a { color: #F2F1EC; }
.kp-footer--dark a:hover { color: var(--accent); }
.kp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
@media (max-width: 960px) { .kp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kp-footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.kp-footer--dark h3 { color: #fff; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.kp-footer--dark p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: #A9A9B3; }
.kp-footer__logo { display: inline-flex; background: #fff; border-radius: 14px; padding: 8px 12px; margin-bottom: 14px; }
.kp-footer__logo img { height: 44px; width: auto; }
.kp-footer__logo .kp-logo__name { color: var(--ink); font-family: var(--display); font-size: 22px; font-weight: 600; }
.kp-footer__socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.kp-footer__socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #1C1C22; border: 1px solid #2E2E36; transition: transform .2s var(--ease), background .2s; }
.kp-footer__socials a:hover { transform: translateY(-3px); background: var(--accent); color: #fff; }
.kp-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.kp-footer__list a, .kp-footer--dark .kp-footer__cookies { color: #D6D6DC; opacity: 1; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.kp-footer__list a:hover, .kp-footer--dark .kp-footer__cookies:hover { color: #fff; text-decoration: underline; }
.kp-news { display: flex; gap: 8px; margin-top: 4px; }
.kp-news input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 1px solid #34343C; background: #17171C; color: #fff; padding: 0 16px; }
.kp-news input::placeholder { color: #8A8A94; }
.kp-news input:focus { outline: none; border-color: var(--accent); }
.kp-news .btn { height: 46px; white-space: nowrap; }
@media (max-width: 380px) { .kp-news { flex-direction: column; } }
.kp-news__msg { min-height: 1.2em; margin-top: 8px !important; font-size: 13px !important; }
.kp-news__msg.is-ok { color: #7EE2A8 !important; }
.kp-news__msg.is-err { color: #FF9C8A !important; }
.kp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding: 20px 0 28px; border-top: 1px solid #23232A; font-size: 13px; color: #8A8A94; }

/* Bouton thème */
.kp-theme-btn { font-size: 19px; line-height: 1; color: var(--ink); transition: transform .4s var(--ease); }
.kp-theme-btn:hover { transform: rotate(-20deg); background: var(--soft); }

/* Assistant : indicateur de saisie */
.kp-assist .msg--typing { display: inline-flex; gap: 5px; padding: 13px 15px; }
.kp-assist .msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: kpTyping 1.1s infinite ease-in-out; }
.kp-assist .msg--typing span:nth-child(2) { animation-delay: .15s; }
.kp-assist .msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes kpTyping { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }

/* Mode sombre (option côté client) */
:root[data-theme="dark"] {
  --ink: #F2F1EC;
  --paper: #0F0F12;
  --card: #17171B;
  --soft: #1E1E23;
  --soft-2: #24242A;
  --line: #2A2A30;
  --line-strong: #3A3A42;
  --muted: #A6A6B0;
  --ok: #7EE2A8;
  --ok-bg: #12261B;
  --warn-bg: #2A2112;
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
:root[data-theme="dark"] .kp-logo img, :root[data-theme="dark"] .side-logo img { background: #fff; border-radius: 10px; padding: 3px 6px; }
:root[data-theme="dark"] .kp-announce { color: var(--ink); }
:root[data-theme="dark"] .hero--image .btn { background: #fff; color: #111114; }
:root[data-theme="dark"] .eta select { border-color: var(--line-strong); }
:root[data-theme="dark"] .quick--google { background: #fff; color: #111114; }
:root[data-theme="dark"] input, :root[data-theme="dark"] select, :root[data-theme="dark"] textarea { background-color: var(--card); color: var(--ink); }
:root[data-theme="dark"] .kp-stat { box-shadow: none; }
:root[data-theme="dark"] .kp-stats { border-top-color: var(--line); }


/* Pied de page plus compact sur téléphone et tablette */
@media (max-width: 960px) {
  .kp-stats { padding: 32px 0 28px; margin-top: 16px; }
  .kp-stats h2 { margin-bottom: 16px; }
  .kp-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kp-stat { padding: 16px 10px; border-radius: 16px; }
  .kp-stat strong { font-size: 28px; }
  .kp-stat span { font-size: 12.5px; margin-top: 2px; }
  .kp-footer--dark { padding-top: 32px; }
  .kp-footer__grid { gap: 22px 24px; padding-bottom: 22px; }
  .kp-footer--dark h3 { margin-bottom: 8px; font-size: 13px; }
  .kp-footer__list { gap: 6px; font-size: 13.5px; }
  .kp-footer__logo img { height: 36px; }
  .kp-footer__bottom { padding: 14px 0 90px; font-size: 12px; }
}
@media (max-width: 560px) {
  .kp-footer__grid { grid-template-columns: 1fr; gap: 18px; }
  .kp-footer__grid > div:nth-child(2) .kp-footer__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .kp-footer__grid > div:nth-child(2) .kp-footer__list li:first-child,
  .kp-footer__grid > div:nth-child(2) .kp-footer__list li:has(a[href^="mailto"]) { grid-column: 1 / -1; }
  .kp-footer__grid > div:nth-child(3) .kp-footer__list { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
  .kp-footer__grid > div:nth-child(4) p { margin-bottom: 8px; }
  .kp-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
  .kp-footer__brand .kp-footer__logo { margin: 0; }
  .kp-footer__brand p { flex: 1 1 180px; margin: 0; font-size: 13px; }
  .kp-footer__socials { margin: 0; flex-basis: 100%; }
  .kp-footer__list a { word-break: break-word; }
}
.nav-group [hidden] { display: none !important; }
@media (max-width: 560px) {
  .kp-stats { padding: 24px 0 20px; }
  .kp-stats h2 { font-size: 22px; margin-bottom: 12px; }
  .kp-stat { padding: 12px 8px; }
  .kp-stat strong { font-size: 24px; }
  .kp-news { flex-direction: row !important; }
  .kp-news input, .kp-news .btn { height: 42px; }
  .kp-news .btn { padding: 0 14px; font-size: 14px; }
  .kp-footer__bottom { flex-direction: column; gap: 4px; padding: 12px 0 76px; font-size: 11.5px; line-height: 1.45; }
}

/* Avis et étoiles */
.stars--none .stars__bg { color: color-mix(in srgb, var(--muted) 35%, transparent); }
:root[data-theme="dark"] .stars__bg { color: #45454D; }
.pdp__rating { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pdp__rating-cta { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.reviews__summary { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); position: sticky; top: 140px; }
.reviews__summary .reviews__dist { border: 0; padding: 4px 0 0; background: none; }
.reviews__avg { font-family: var(--display); font-size: 46px; line-height: 1; font-weight: 600; }
.reviews__avg small { font-size: 18px; color: var(--muted); margin-left: 2px; }
.reviews__count { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .reviews__summary { position: static; } }
.rate { align-items: center; }
.rate button.is-on { color: #E5A100; }
.rate__label { margin-left: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.review--form { border-style: dashed; border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: color-mix(in srgb, var(--accent) 3%, var(--card)); }
.review--form input { height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; background: var(--card); }

.is-listing #hero { display: none !important; }
.hero[hidden] { display: none; }

/* Fil d'Ariane et bouton Retour */
.kp-crumbs { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); }
.kp-crumbs__row { display: flex; align-items: center; gap: 14px; min-height: 48px; padding-top: 6px; padding-bottom: 6px; }
.kp-back { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; flex: none; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.kp-back:hover { border-color: var(--ink); transform: translateX(-2px); }
.kp-crumbs ol { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--muted); min-width: 0; overflow: hidden; }
.kp-crumbs li { display: flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; }
.kp-crumbs li + li::before { content: "›"; opacity: .6; }
.kp-crumbs li a { color: var(--muted); text-decoration: none; }
.kp-crumbs li a:hover { color: var(--accent); text-decoration: underline; }
.kp-crumbs li[aria-current] span { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

/* Barre d'onglets en bas de l'écran (téléphone) */
.kp-tabbar { display: none; }
@media (max-width: 760px) {
  .kp-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--card) 92%, transparent);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.35); }
  .kp-tabbar a, .kp-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 10.5px; font-weight: 600; color: var(--muted); text-decoration: none; cursor: pointer; }
  .kp-tabbar svg { width: 22px; height: 22px; }
  .kp-tabbar [aria-current="page"] { color: var(--accent); }
  .kp-tabbar a:active, .kp-tabbar button:active { transform: scale(.94); }
  .kp-tab__ico { position: relative; display: grid; }
  .kp-tab__count { position: absolute; top: -6px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 10px; line-height: 17px; text-align: center; }
  .kp-tab__count[data-n="0"] { display: none; }
  body.has-tabbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.has-tabbar .wa-float { bottom: calc(150px + env(safe-area-inset-bottom)) !important; }
  body.has-tabbar .kp-assist-btn { bottom: calc(80px + env(safe-area-inset-bottom)); }
  body.has-tabbar .kp-assist { bottom: calc(150px + env(safe-area-inset-bottom)); height: min(520px, calc(100vh - 190px)); }
  body.has-tabbar .kp-footer__bottom { padding-bottom: 16px; }
  body.has-tabbar .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body.has-tabbar .consent { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .kp-crumbs__row { min-height: 44px; gap: 10px; }
  .kp-back span { display: none; }
  .kp-back { width: 34px; padding: 0; justify-content: center; }
}
@media print { .kp-tabbar, .kp-crumbs { display: none !important; } }

/* Onglet « Menu » au bord gauche (ordinateur) : ouvre le menu au survol */
.kp-edge-tab { display: none; }
@media (hover: hover) and (pointer: fine) {
  .kp-edge-tab { position: fixed; left: 0; top: 50%; z-index: 72; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 7px 16px 6px; transform: translate(-4px, -50%);
    border: 0; border-radius: 0 14px 14px 0; background: var(--ink); color: var(--paper); cursor: pointer; box-shadow: 6px 0 24px -10px rgba(0,0,0,.45); transition: transform .3s var(--ease), background .2s; }
  .kp-edge-tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
  .kp-edge-tab svg { width: 16px; height: 16px; }
  .kp-edge-tab:hover { transform: translate(0, -50%); background: var(--accent); color: #fff; }
  body.side-open .kp-edge-tab { opacity: 0; pointer-events: none; }
}
@media (min-width: 1024px) { body:has(.layout > .kp-side):not(.side-hidden) .kp-edge-tab { display: none; } }

/* Choix de la langue */
.kp-lang-btn { height: 34px; min-width: 42px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; cursor: pointer; transition: background .2s, color .2s, border-color .2s; flex: none; }
.kp-lang-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-group li.nav-lang { display: flex; align-items: center; justify-content: space-between; padding: 8px 22px; font-size: 15px; }
.nav-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.nav-seg button { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.nav-seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.kp-footer--dark [hidden] { display: none !important; }
