/* Boutik Nout Péi — styles partagés */
@font-face { font-family: "Sora"; src: url(../fonts/Sora_400Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sora"; src: url(../fonts/Sora_600SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sora"; src: url(../fonts/Sora_700Bold.ttf) format("truetype"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/Fraunces_700Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #140f0b;
  --ink-2: #2a211a;
  --cream: #fff6ea;
  --paper: #fbf1e2;
  --sun: #ffd21f;
  --hibiscus: #ff3d5a;
  --lagon: #00b8d9;
  --vert: #1fbf6a;
  --lave: #ff5a1f;
  --accent: #ff3d5a;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.serif { font-family: var(--serif); font-weight: 700; }

/* ---------- En-tête ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px 0; transition: background .35s, box-shadow .35s, padding .35s; }
.top.scrolled { background: rgb(255 246 234 / .86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgb(0 0 0 / .06); padding: 8px 0; }
.top.dark:not(.scrolled) { color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.logo img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 18px rgb(0 0 0 / .18); }
.logo small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; opacity: .7; margin-top: -3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 99px; transition: background .2s; }
.nav a:hover { background: rgb(0 0 0 / .07); }
.top.dark:not(.scrolled) .nav a:hover { background: rgb(255 255 255 / .14); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 700; font-size: 14px; transition: transform .25s var(--spring); }
.top.dark:not(.scrolled) .cart-btn { background: #fff; color: var(--ink); }
.cart-btn:hover { transform: scale(1.05); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-btn .count { min-width: 22px; height: 22px; border-radius: 99px; background: var(--sun); color: var(--ink); display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }
.cart-btn.bump { animation: bump .6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.22) rotate(-6deg); } 60% { transform: scale(.94); } }
@media (max-width: 860px) { .nav { display: none; } .cart-btn { margin-left: auto; } }

.pill { color: var(--ink); display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 6px 16px -8px rgb(0 0 0 / .25); text-decoration: none; font-weight: 700; font-size: 13.5px; transition: transform .3s var(--spring); }
.pill:hover { transform: translateY(-1px); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hibiscus); box-shadow: 0 0 0 3px rgb(255 61 90 / .18); }
.top-center .wrap { justify-content: space-between; position: relative; }
.top-center .logo-center { position: absolute; left: 50%; transform: translateX(-50%); flex-direction: column; gap: 4px; text-align: center; font-size: 15px; }
.top-center .logo-center img { width: 44px; height: 44px; border-radius: 13px; }
.top-center .logo-center small { margin-top: 0; }
.top-center.scrolled .logo-center { flex-direction: row; gap: 10px; text-align: left; }
.top-center.scrolled .logo-center img { width: 34px; height: 34px; border-radius: 10px; }
.top-center .cart-btn { margin-left: 0; }
@media (max-width: 600px) {
  .top-center .cart-btn .lbl { display: none; }
  .top-center .cart-btn { padding: 10px 13px; }
  .top-center .logo-center span { display: none; }
  .top-center.scrolled .logo-center span { display: none; }
}
.cursor-pill { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 10px 30px rgb(0 0 0 / .2); opacity: 0; transform: translate(-50%, -150%) scale(.7); transition: opacity .2s, transform .25s var(--spring); white-space: nowrap; }
.cursor-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--hibiscus); }
.cursor-pill.on { opacity: 1; transform: translate(-50%, -150%) scale(1); }
@media (hover: none) { .cursor-pill { display: none; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 99px; padding: 16px 26px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .3s var(--spring), box-shadow .3s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgb(0 0 0 / .25); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 12px 30px rgb(255 190 0 / .35); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 12px 30px rgb(0 0 0 / .18); }
.btn-ghost { background: rgb(255 255 255 / .16); color: inherit; border: 1.5px solid currentColor; }
.btn .arrow { transition: transform .3s var(--spring); }
.btn:hover .arrow { transform: translateX(5px); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .45) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }

.chip.chip-sun { background: var(--sun); color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; background: rgb(0 0 0 / .07); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; }

/* ---------- Téléphone (coque) ---------- */
.ph { --w: 240px; width: var(--w); aspect-ratio: 1 / 2; position: relative; transform-style: preserve-3d; }
.ph-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.ph-face, .ph-layer { position: absolute; inset: 0; border-radius: calc(var(--w) * .15) / calc(var(--w) * .15); }
.ph-back { background: #222 center / cover no-repeat; backface-visibility: hidden; transform: translateZ(calc(var(--w) * .022)); overflow: hidden;
  box-shadow: inset 0 0 0 calc(var(--w) * .008) rgb(255 255 255 / .25), inset 0 0 calc(var(--w) * .05) rgb(0 0 0 / .35); }
.ph-back::before { /* bloc caméra */ content: ""; position: absolute; left: 5.5%; top: 2.8%; width: 39%; aspect-ratio: 1; border-radius: 22%;
  background:
    radial-gradient(circle at 30% 28%, #0d0f1d 0 13%, #3a3f55 13.5% 16%, transparent 16.5%),
    radial-gradient(circle at 30% 72%, #0d0f1d 0 13%, #3a3f55 13.5% 16%, transparent 16.5%),
    radial-gradient(circle at 72% 50%, #0d0f1d 0 13%, #3a3f55 13.5% 16%, transparent 16.5%),
    radial-gradient(circle at 74% 20%, #fff7d6 0 4%, transparent 5%),
    linear-gradient(145deg, #2b2b30, #0d0d10);
  box-shadow: 0 4px 10px rgb(0 0 0 / .45), inset 0 1px 1px rgb(255 255 255 / .25); }
.ph-back::after { /* reflet */ content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgb(255 255 255 / .28) 0%, rgb(255 255 255 / 0) 32%, rgb(255 255 255 / 0) 62%, rgb(255 255 255 / .12) 78%, rgb(255 255 255 / 0) 90%); pointer-events: none; mix-blend-mode: screen; }
.ph-front { background: linear-gradient(160deg, #1d1d22, #050507); transform: rotateY(180deg) translateZ(calc(var(--w) * .022)); backface-visibility: hidden;
  box-shadow: inset 0 0 0 calc(var(--w) * .03) #0a0a0c, inset 0 0 0 calc(var(--w) * .034) #333; }
.ph-front::before { content: ""; position: absolute; top: 2.6%; left: 50%; width: 30%; height: 3.2%; transform: translateX(-50%); background: #000; border-radius: 99px; }
.ph-front::after { content: "NOUT PÉI"; position: absolute; inset: 0; display: grid; place-items: center; color: rgb(255 255 255 / .22); font-weight: 800; letter-spacing: .3em; font-size: calc(var(--w) * .06); }
.ph-layer { background: #1b1b1f; }
.ph-shadow { position: absolute; left: 10%; right: 10%; bottom: -9%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .45), transparent); filter: blur(6px); transform: translateZ(-40px); }

/* ---------- Cartes produit ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 22px; }
.card { --a: #ff3d5a; position: relative; border-radius: 28px; background: #fff; padding: 22px 18px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 14px; overflow: hidden; isolation: isolate;
  box-shadow: 0 1px 0 rgb(0 0 0 / .04), 0 18px 40px -22px rgb(40 20 0 / .35); transition: transform .5s var(--spring), box-shadow .5s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 50% 10%, color-mix(in srgb, var(--a) 28%, transparent), transparent 70%); opacity: .55; transition: opacity .5s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--a) 70%, transparent); }
.card:hover::before { opacity: 1; }
.card .stage { perspective: 900px; display: grid; place-items: center; padding: 8px 0 14px; }
.card .ph { --w: min(150px, 46vw); transition: transform .6s var(--ease); }
.card:hover .ph { transform: rotateY(-14deg) rotateX(6deg) translateY(-6px) scale(1.04); }
.card h3 { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.card p { margin: 0; font-size: 13.5px; color: #6b5d52; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.card .price { font-weight: 800; font-size: 17px; }
.card .add { border: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .35s var(--spring), background .3s; }
.card:hover .add { transform: translateX(3px) scale(1.08); background: var(--a); }
.card .tag { position: absolute; z-index: 2; top: 14px; right: 14px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--sun); padding: 5px 10px; border-radius: 99px; transform: rotate(-4deg); }

@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 14px 12px 12px; border-radius: 22px; gap: 10px; }
  .card .ph { --w: min(118px, 30vw); }
  .card h3 { font-size: 18px; }
  .card p { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card .price { font-size: 15px; }
  .card .add { width: 36px; height: 36px; }
  .card .tag { font-size: 9px; top: 10px; right: 10px; padding: 4px 8px; }
}

/* ---------- Panier (tiroir) ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgb(10 6 3 / .5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); z-index: 100; transform: translateX(105%); transition: transform .5s var(--ease); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgb(0 0 0 / .2); }
.drawer.open { transform: none; }
.drawer.open ~ .drawer-bg, .drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 12px; }
.drawer h2 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.drawer .x { border: 0; background: rgb(0 0 0 / .07); width: 40px; height: 40px; border-radius: 50%; font-size: 20px; }
.drawer .items { flex: 1; overflow: auto; padding: 6px 22px; }
.drawer .empty { text-align: center; padding: 60px 10px; color: #7d6e62; }
.drawer .empty .ph { --w: 90px; margin: 0 auto 18px; transform: rotate(-8deg); opacity: .9; }
.line { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed rgb(0 0 0 / .12); animation: slideIn .45s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } }
.line .ph { --w: 52px; }
.line b { display: block; font-family: var(--serif); font-size: 17px; }
.line small { display: block; color: #7d6e62; font-size: 12.5px; }
.qty { display: inline-flex; align-items: center; gap: 2px; background: #fff; border-radius: 99px; padding: 3px; margin-top: 6px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.qty button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; font-weight: 700; }
.qty button:hover { background: rgb(0 0 0 / .07); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.line .lp { text-align: right; font-weight: 800; }
.line .rm { display: block; border: 0; background: none; color: #a0907f; font-size: 12px; text-decoration: underline; margin-top: 6px; padding: 0; }
.drawer footer { padding: 18px 22px 22px; border-top: 1px solid rgb(0 0 0 / .08); background: #fff; }
.drawer .sum { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.drawer .sum.big { font-size: 22px; font-weight: 800; margin: 10px 0 14px; }
.drawer .save { color: #0f9a52; font-weight: 700; }
.drawer .hint { font-size: 13px; background: color-mix(in srgb, var(--sun) 40%, #fff); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; }
.drawer .btn { width: 100%; }
.drawer .secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: #7d6e62; margin-top: 10px; }
.drawer .err { color: #c62828; font-size: 13px; margin-top: 8px; text-align: center; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px 12px 12px; border-radius: 99px; display: flex; align-items: center; gap: 12px; z-index: 120; transition: transform .5s var(--spring); font-weight: 600; font-size: 14px; box-shadow: 0 20px 40px rgb(0 0 0 / .3); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast .ph { --w: 26px; }
.toast button { border: 0; background: var(--sun); color: var(--ink); border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 13px; }

/* Vol vers le panier */
.fly { position: fixed; z-index: 130; pointer-events: none; transition: transform .8s cubic-bezier(.5, -0.3, .3, 1), opacity .8s; }

/* ---------- Pied de page ---------- */
.foot { background: var(--ink); color: #f3e7d8; padding: 70px 0 30px; overflow: hidden; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.foot h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--sun); }
.foot .about { opacity: .7; max-width: 22em; font-size: 14px; }
.foot .logo { display: flex; opacity: 1; }
.foot a { display: block; text-decoration: none; opacity: .8; padding: 4px 0; font-size: 14px; }
.foot a:hover { opacity: 1; color: var(--sun); }
.foot .giant { font-weight: 800; font-size: clamp(64px, 17vw, 250px); line-height: 1; padding-top: .08em; letter-spacing: -.06em; margin: 50px 0 16px; background: linear-gradient(90deg, var(--hibiscus), var(--sun), var(--lagon), var(--vert)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12.5px; opacity: .6; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }

/* ---------- Apparitions au défilement ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .16em; margin: 0 -.04em -.16em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
}

/* ---------- Verrou de défilement (panier, tiroir modèle) ---------- */
html.lock, html.lock body { overflow: hidden; }

/* ---------- Panier : lignes, modèle modifiable, vente en plus ---------- */
.line { grid-template-columns: 58px minmax(0, 1fr) auto; }
.line > a { display: block; border-radius: 10px; }
.line .li { min-width: 0; }
.sel { display: block; margin-top: 4px; }
.sel select { width: 100%; max-width: 200px; font: inherit; font-size: 13px; font-weight: 600; color: #5e5047; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235e5047' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; border: 1px solid rgb(0 0 0 / .12); border-radius: 10px; padding: 6px 28px 6px 10px; -webkit-appearance: none; appearance: none; }
.upsell { margin: 16px 0 6px; padding: 14px; border-radius: 18px; background: color-mix(in srgb, var(--sun) 32%, #fff); }
.upsell p { margin: 0 0 10px; font-size: 14px; line-height: 1.35; }
.upsell small { color: #6b5d52; font-size: 12px; }
.up-rail { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 4px 14px 4px; scroll-snap-type: x mandatory; }
.up-rail::-webkit-scrollbar { display: none; }
.up { position: relative; flex: 0 0 82px; scroll-snap-align: start; border: 0; background: #fff; border-radius: 14px; padding: 10px 6px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: 0 4px 12px -6px rgb(0 0 0 / .3); transition: transform .3s var(--spring); }
.up:hover { transform: translateY(-3px); }
.up .ph { --w: 40px; }
.up span { font-family: var(--serif); font-size: 12px; line-height: 1.1; text-align: center; }
.up i { position: absolute; top: -6px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-size: 14px; font-weight: 800; display: grid; place-items: center; }
.drawer .cgv { font-size: 12px; color: #7d6e62; text-align: center; margin: 8px 0 0; }
.drawer .cgv a { color: inherit; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cartes compactes (ventes en plus) ---------- */
.card.mini { padding: 14px 12px 12px; gap: 8px; border-radius: 22px; }
.card.mini .stage { padding: 4px 0 6px; }
.card.mini .ph { --w: min(96px, 24vw); }
.card.mini h3 { font-size: 17px; }
.card.mini .price { font-size: 14px; }
.card.mini .add { width: 32px; height: 32px; font-size: 14px; }

/* ---------- Tiroir « Ton téléphone » ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 140; background: rgb(10 6 3 / .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.sheet-bg.open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 150; left: 50%; bottom: 0; width: min(560px, 100%); max-height: min(86svh, 720px); display: flex; flex-direction: column; background: var(--cream); color: var(--ink); border-radius: 26px 26px 0 0; padding: 8px 18px max(18px, env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px rgb(0 0 0 / .25); transform: translate(-50%, 105%); transition: transform .45s var(--ease); }
.sheet.open { transform: translate(-50%, 0); }
.grip { width: 44px; height: 5px; border-radius: 9px; background: rgb(0 0 0 / .18); margin: 4px auto 8px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.sheet .x { border: 0; background: rgb(0 0 0 / .07); width: 40px; height: 40px; border-radius: 50%; font-size: 18px; }
.search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 0 14px; margin: 12px 0 10px; box-shadow: 0 0 0 1px rgb(0 0 0 / .1); }
.search svg { width: 18px; height: 18px; fill: none; stroke: #7d6e62; stroke-width: 2.4; flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; padding: 13px 0; }
.sheet-seg { display: flex; background: rgb(0 0 0 / .06); border-radius: 99px; padding: 4px; margin-bottom: 8px; }
.sheet-seg button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 99px; font-weight: 700; font-size: 14px; }
.sheet-seg button[aria-selected="true"] { background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / .1); }
.sheet-list { list-style: none; margin: 0 -18px; padding: 0 18px; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.sheet-list button { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid rgb(0 0 0 / .07); background: none; padding: 15px 4px; font-size: 16px; font-weight: 600; text-align: left; }
.sheet-list button:hover { background: rgb(0 0 0 / .03); }
.sheet-list button[aria-selected="true"] { color: #0f9a52; font-weight: 800; }
.sheet-list i { font-style: normal; font-weight: 800; }
.sheet-list .none { padding: 20px 4px; color: #7d6e62; }
.sheet-help { font-size: 13px; color: #7d6e62; margin: 10px 0 0; text-align: center; }
.sheet-help a { color: inherit; }

/* Le toast passe au-dessus de la barre d'achat */
.toast { z-index: 160; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 84px); }
@media (min-width: 901px) { .toast { bottom: 24px; } }

/* ---------- Pages de texte (légal, aide, qui on est) ---------- */
.doc { padding: 140px 0 90px; }
.doc .wrap { max-width: 780px; }
.doc .eyebrow { color: var(--hibiscus); }
.doc h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.045em; line-height: .95; margin: 14px 0 12px; }
.doc .maj { color: #7d6e62; font-size: 14px; margin: 0 0 34px; }
.doc h2 { font-size: 22px; letter-spacing: -.02em; margin: 38px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.7; color: #3f342c; }
.doc ul { padding-left: 20px; }
.doc a { color: #c4223f; }
.doc .box { background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: 0 14px 30px -24px rgb(40 20 0 / .4); margin: 18px 0; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.doc .toc a { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--ink); background: #fff; padding: 8px 14px; border-radius: 99px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.top.light .pill, .top.light .cart-btn { box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }

.drawer.open ~ .toast { display: none; }
.doc a.btn, .about a.btn { text-decoration: none; }
.doc a.btn-ink { color: #fff; }
.doc a.btn-white, .doc a.btn-sun { color: var(--ink); }
.doc a.btn-ghost-ink { color: var(--ink); }

/* En-tête centré : plus d'air au-dessus du logo (et sous l'encoche des iPhone) */
.top-center { padding-top: calc(env(safe-area-inset-top, 0px) + 24px); }
.top-center .wrap { align-items: flex-start; min-height: 44px; }
.top-center .pill, .top-center .cart-btn { margin-top: 2px; }
.top-center.scrolled { padding-top: calc(env(safe-area-inset-top, 0px) + 10px); padding-bottom: 10px; }
.top-center.scrolled .wrap { align-items: center; }
.top-center.scrolled .pill, .top-center.scrolled .cart-btn { margin-top: 0; }
@media (max-width: 600px) { .top-center { padding-top: calc(env(safe-area-inset-top, 0px) + 20px); } }
