/* Chaudron & Sortilèges — violet brumeux */
@font-face { font-family: "Cinzel Decorative"; src: url("../fonts/cinzel-decorative-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --night: #1c0a33; --deep: #2e1257; --plum: #4c1d95; --violet: #6d28d9; --violet-2: #7c3aed;
  --lilac: #c4b5fd; --lilac-2: #ddd6fe; --mist: #ede9fe; --cream: #faf7ff; --gold: #e9b949; --rose: #f0abfc; --ember: #f59e0b; --aubergine: #1a0f24;
  --text: #2b1d3f; --muted: #67587f; --ok: #15803d; --err: #b91c1c;
  --radius: 18px; --shadow: 0 10px 40px rgba(76, 29, 149, .12); --shadow-lg: 0 20px 60px rgba(46, 18, 87, .22);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; --deco: "Cinzel Decorative", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text); line-height: 1.6; font-size: 16px;
  background: radial-gradient(1200px 600px at 10% -10%, #e4d9ff 0%, transparent 60%),
              radial-gradient(900px 500px at 100% 20%, #f3e8ff 0%, transparent 55%),
              linear-gradient(180deg, #f6f1ff 0%, var(--cream) 40%, #f3eefb 100%);
  min-height: 100vh; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum); }
h1, h2, h3 { line-height: 1.2; color: var(--deep); }
h1 { font-family: var(--deco); font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: .2em 0 .5em; letter-spacing: .01em; }
h2 { font-size: 1.35rem; }
.wrap { width: min(1200px, 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding-block: 2.2rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
code { background: var(--mist); padding: .1em .4em; border-radius: 6px; font-size: .92em; }

/* Brume animée */
.mist { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.mist span { position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(80px); opacity: .35; animation: drift 38s ease-in-out infinite alternate; }
.mist span:nth-child(1) { background: #c4b5fd; top: -20vw; left: -15vw; }
.mist span:nth-child(2) { background: #f5d0fe; top: 30vh; right: -25vw; animation-duration: 46s; }
.mist span:nth-child(3) { background: #ddd6fe; bottom: -30vw; left: 20vw; animation-duration: 52s; }
@keyframes drift { to { transform: translate(8vw, -6vh) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .mist span, .hero-mascot, .sparkle, .bounce { animation: none !important; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; cursor: pointer; font: inherit; font-weight: 800;
  padding: .8em 1.5em; border-radius: 999px; color: #fff; text-decoration: none; background: linear-gradient(135deg, var(--violet-2), var(--plum));
  box-shadow: 0 8px 22px rgba(124, 58, 237, .35); transition: transform .15s, box-shadow .15s; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(124, 58, 237, .45); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--plum); box-shadow: inset 0 0 0 2px var(--lilac); }
.btn-ghost:hover { color: var(--deep); background: #fff; }
.btn-small { padding: .5em 1.1em; font-size: .92rem; }
.btn-big { padding: 1em 2em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn.disabled { opacity: .5; pointer-events: none; }
.link-more { font-weight: 700; text-decoration: none; }

/* En-tête */
.announce { background: var(--aubergine); color: #f3e8d2; text-align: center; font-size: .9rem; padding: .45rem 1rem; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250, 247, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(196, 181, 253, .45); }
.header-inner { display: flex; align-items: center; gap: 1rem; padding-block: .55rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--deep); flex-shrink: 0; }
.brand img { width: 50px; height: 50px; }
.brand-name { font-family: var(--deco); font-size: 1.2rem; white-space: nowrap; line-height: 1.1; }
.brand-name em { color: var(--violet-2); font-style: normal; }
.search { position: relative; flex: 1; max-width: 440px; margin-left: auto; }
.search .ico { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; border-radius: 999px; padding: .65em 1.1em .65em 2.6em; background: #fff; }
.header-actions { display: flex; gap: .25rem; align-items: center; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 44px; min-height: 44px; padding: 0 .7rem;
  border: 0; border-radius: 999px; background: none; color: var(--deep); text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; }
.icon-btn:hover { background: var(--mist); color: var(--plum); }
.ico-wrap { position: relative; display: inline-flex; }
.cart-count { position: absolute; top: -7px; right: -10px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--violet-2); color: #fff; font-size: .7rem; font-weight: 800;
  display: grid; place-items: center; padding: 0 5px; box-shadow: 0 0 0 2px #faf7ff; }
.cart-count.is-empty { display: none; }
.cart-count.pop { animation: pop .4s; }
@keyframes pop { 50% { transform: scale(1.4); } }
.main-nav ul { display: flex; justify-content: center; gap: .2rem; list-style: none; padding: 0 0 .55rem; margin-block: 0; overflow-x: auto; scrollbar-width: none; }
.main-nav a { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem; border-radius: 999px; text-decoration: none; color: var(--plum); font-weight: 700; white-space: nowrap; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--mist); color: var(--deep); }
.nav-gift { background: linear-gradient(135deg, #fde68a, #f5c451); color: var(--deep) !important; }
.burger { display: none; }

/* Tiroir de navigation (mobile) */
.drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(28, 10, 51, .45); backdrop-filter: blur(2px); }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 71; width: min(340px, 88vw); background: #fff; overflow-y: auto; padding: 0 0 2rem;
  box-shadow: 20px 0 60px rgba(28, 10, 51, .3); transform: translateX(-100%); transition: transform .25s ease; }
.drawer.open { transform: none; }
.drawer[hidden], .drawer-backdrop[hidden] { display: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: .7rem .7rem .7rem 1.2rem; border-bottom: 1px solid var(--mist); color: var(--deep); }
.drawer .search-drawer { margin: 1rem 1.2rem .5rem; max-width: none; }
.drawer nav a { display: flex; align-items: center; gap: .7rem; padding: .8rem 1.2rem; color: var(--deep); text-decoration: none; font-weight: 700; border-bottom: 1px solid #f4f0fb; }
.drawer nav a small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: .78rem; text-align: right; }
.drawer nav a:active, .drawer nav a:hover { background: var(--mist); }
.drawer nav a .ico { color: var(--violet-2); flex-shrink: 0; }
.drawer-title { margin: 1.3rem 1.2rem .3rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--violet); }
.drawer .drawer-gift { margin: .8rem 1.2rem; border: 0; border-radius: 14px; background: linear-gradient(135deg, #fef3c7, #fde68a); }
body.no-scroll { overflow: hidden; }

/* Alertes */
.alert { padding: .8rem 1.1rem; border-radius: 12px; margin: 1rem 0; font-weight: 600; }
.alert-success { background: #ecfdf5; color: var(--ok); border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: var(--err); border: 1px solid #fecaca; }
.callout { background: var(--mist); border-radius: 14px; padding: 1rem 1.2rem; margin: 1rem 0; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* Hero */
.hero { position: relative; color: #fff; background: radial-gradient(520px 380px at 8% 85%, rgba(245, 158, 11, .28), transparent 70%), radial-gradient(800px 480px at 78% 45%, rgba(139, 92, 246, .45), transparent 65%), radial-gradient(400px 300px at 95% 0%, rgba(240, 171, 252, .18), transparent 70%),
  linear-gradient(140deg, var(--night) 0%, var(--deep) 45%, #5b21b6 100%); overflow: hidden; }
.hero::after { content: none; }
/* Brume qui monte du chaudron, très diffuse, dans la partie haute uniquement */
.hero::before { content: ""; position: absolute; inset: 0 0 35% 0; background: radial-gradient(60% 70% at 72% 35%, rgba(196, 181, 253, .16), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 2.5rem; padding-block: 3.5rem 3.5rem; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.glow { color: var(--lilac); text-shadow: 0 0 30px rgba(196, 181, 253, .8); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--gold); font-weight: 800; }
.lead { font-size: 1.12rem; color: inherit; opacity: .92; max-width: 60ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: min(500px, 96%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(233, 185, 73, .35), rgba(139, 92, 246, .25) 55%, transparent 72%); filter: blur(18px); }
.hero-mascot { position: relative; width: min(460px, 92%); border-radius: 50%; box-shadow: 0 0 0 6px rgba(233, 185, 73, .55), 0 0 0 14px rgba(233, 185, 73, .12), 0 30px 70px rgba(10, 4, 20, .55); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.sparkle { position: absolute; width: 10px; height: 10px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 20px 6px rgba(245, 196, 81, .6); animation: twinkle 3s infinite; }
.s1 { top: 8%; left: 10%; } .s2 { top: 22%; right: 4%; animation-delay: 1s; } .s3 { bottom: 12%; left: 6%; animation-delay: 2s; background: var(--rose); }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.5); } }

/* Titres de section */
.section-title { font-family: var(--deco); font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 0 0 1.2rem; }
.section-title::before { content: "✦ "; color: var(--gold); font-family: var(--font); font-size: .75em; vertical-align: .12em; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.page-head { margin-bottom: 1.2rem; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: .6rem; }
.breadcrumb a { color: var(--muted); }

/* Catégories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem; min-height: 130px; padding: 1.1rem; border-radius: var(--radius);
  color: #fff; text-decoration: none; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.cat-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .16), transparent 55%); }
.cat-tile strong, .cat-tile span { text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.cat-tile:hover { transform: translateY(-4px) rotate(-.5deg); color: #fff; }
.cat-tile strong { font-size: 1.1rem; position: relative; }
.cat-tile span { font-size: .82rem; opacity: .9; position: relative; }
.cat-0 { background: linear-gradient(135deg, #15803d, #14532d); } .cat-1 { background: linear-gradient(135deg, #be185d, #831843); }
.cat-2 { background: linear-gradient(135deg, #3f3f46, #18181b); } .cat-3 { background: linear-gradient(135deg, #a21caf, #701a75); }
.cat-4 { background: linear-gradient(135deg, #c2410c, #7c2d12); } .cat-5 { background: linear-gradient(135deg, #6d28d9, #3b0764); }

/* Cartes produit */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.3rem; }
.card { background: rgba(255, 255, 255, .85); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--mist); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .6s; }
.card-media .img-hover { position: absolute; inset: 0; opacity: 0; }
.card-media.has-hover:hover .img-hover, .card-media.has-hover:focus .img-hover { opacity: 1; }
.card-media:hover .img-main { transform: scale(1.04); }
.card.is-out .img-main { filter: grayscale(.5); opacity: .8; }
.tag { position: absolute; top: .7rem; left: .7rem; background: #fff; color: var(--plum); font-weight: 800; font-size: .74rem; padding: .25rem .65rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); }
.tag-promo { background: var(--rose); color: var(--deep); } .tag-out { background: var(--deep); color: #fff; }
.card-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.card-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); font-weight: 800; text-decoration: none; }
.card-title { margin: 0; font-size: 1.05rem; }
.card-title a { color: var(--deep); text-decoration: none; }
.card-price { margin-top: auto; display: flex; gap: .5rem; align-items: baseline; }
.card-price strong { font-size: 1.1rem; color: var(--plum); }
s { color: var(--muted); }

.stars { position: relative; display: inline-block; font-size: .95rem; letter-spacing: 1px; line-height: 1; vertical-align: middle; }
.stars-bg { color: #e5ddf5; }
.stars-fg { position: absolute; inset: 0; overflow: hidden; color: #f5b301; white-space: nowrap; }
.stars-count { font-size: .82rem; color: var(--muted); }

/* Filtres */
.filters { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.4rem; padding: .8rem 1rem; background: rgba(255, 255, 255, .6); border-radius: 14px; }
.filters label { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.filters .muted { margin-left: auto; }

/* Formulaires */
input, select, textarea { font: inherit; color: var(--text); border: 1.5px solid #ddd3f0; background: #fff; border-radius: 12px; padding: .65em .9em; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(124, 58, 237, .15); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--violet-2); }
label { display: block; font-weight: 700; font-size: .92rem; }
label > input, label > select, label > textarea { margin-top: .3rem; font-weight: 400; }
label small { font-weight: 400; color: var(--muted); }
.check { display: flex; gap: .5rem; align-items: center; font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend { font-weight: 800; font-size: 1.1rem; color: var(--deep); margin-bottom: .7rem; }
.form-stack { display: flex; flex-direction: column; gap: 1rem; }
.form-stack fieldset { margin: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkout-form label { margin-bottom: .9rem; }
.inline-form { display: flex; gap: .5rem; }
.inline-form input { flex: 1; }
.panel { background: rgba(255, 255, 255, .88); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); margin-bottom: 1.4rem; }
.radio-card { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1.5px solid #e4dbf5; border-radius: 14px; margin-bottom: .6rem; cursor: pointer; background: #fff; }
.radio-card:has(input:checked) { border-color: var(--violet-2); background: #faf7ff; box-shadow: 0 0 0 3px rgba(124, 58, 237, .12); }
.radio-card span { display: flex; flex-direction: column; flex: 1; }
.radio-card small { font-weight: 400; color: var(--muted); }
.radio-card em { font-style: normal; font-weight: 800; color: var(--plum); }

/* Fiche produit */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--mist); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .8rem; }
.gallery-thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; }
.gallery-thumbs button.active { border-color: var(--violet-2); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { margin-top: .2rem; }
.rating-link { text-decoration: none; color: var(--muted); font-size: .9rem; }
.variants { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant input { position: absolute; opacity: 0; }
.variant span { display: flex; flex-direction: column; align-items: center; padding: .55rem 1rem; border: 1.5px solid #ddd3f0; border-radius: 14px; cursor: pointer; background: #fff; font-weight: 700; }
.variant small { font-weight: 400; color: var(--muted); }
.variant input:checked + span { border-color: var(--violet-2); background: var(--mist); box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
.variant input:focus-visible + span { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.variant.is-out span { opacity: .55; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .3); }
.price-line { display: flex; gap: .8rem; align-items: baseline; margin: 1rem 0; flex-wrap: wrap; }
.price { font-size: 1.9rem; font-weight: 800; color: var(--plum); }
.stock-info { font-size: .88rem; font-weight: 700; color: var(--ok); }
.stock-info.low { color: #c2410c; } .stock-info.out { color: var(--err); }
.buy-row { display: flex; gap: .8rem; }
.qty input { width: 80px; text-align: center; height: 100%; }
.restock { margin-top: 1rem; padding: 1rem; background: var(--mist); border-radius: 14px; }
.restock-msg { margin: .5rem 0 0; font-weight: 700; color: var(--ok); }
.perks { padding-left: 0; list-style: none; margin: 1.3rem 0; }
.perks li { padding-left: 1.6rem; position: relative; margin: .35rem 0; }
.perks li::before { content: "✦"; position: absolute; left: 0; color: var(--violet-2); }
.tabs [role=tablist] { display: flex; gap: .3rem; border-bottom: 2px solid var(--mist); margin-top: 1.5rem; overflow-x: auto; }
.tabs [role=tab] { background: none; border: 0; font: inherit; font-weight: 700; padding: .6rem .9rem; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tabs [role=tab][aria-selected=true] { color: var(--plum); border-color: var(--violet-2); }
.tabs [role=tabpanel] { padding: 1rem 0; }
.reviews .review { background: rgba(255, 255, 255, .8); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: .9rem; box-shadow: var(--shadow); }
.review header { display: flex; gap: .6rem; align-items: center; }
.review footer { font-size: .84rem; color: var(--muted); }
.verified { color: var(--ok); font-weight: 700; }
.review-reply { margin-top: .7rem; padding: .7rem 1rem; background: var(--mist); border-left: 3px solid var(--violet-2); border-radius: 8px; font-size: .92rem; }
.review-reply p { margin: .2rem 0 0; }

/* Panier & commande */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 2rem; align-items: start; }
.gc-thumb { display: grid; place-items: center; background: linear-gradient(135deg, var(--deep), var(--violet-2)); color: var(--gold); font-weight: 800; }
.cart-summary { position: sticky; top: 140px; background: rgba(255, 255, 255, .92); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 1rem; }
.cart-summary h2 { margin: 0; }
.bar { height: 8px; background: #fff; border-radius: 99px; margin-top: .5rem; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--lilac), var(--violet-2)); border-radius: 99px; transition: width .5s; }
.totals { margin: 0; }
.totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.totals dt small { display: block; color: var(--muted); font-size: .8rem; }
.totals dd { margin: 0; font-weight: 700; white-space: nowrap; }
.totals .neg dd { color: var(--ok); }
.totals .grand { border-top: 2px solid var(--mist); margin-top: .4rem; padding-top: .7rem; font-size: 1.2rem; }
.totals .grand dd { color: var(--plum); font-weight: 800; }
.note { font-size: .88rem; color: var(--violet); margin: .4rem 0 0; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }
.chip { border: 0; background: var(--mist); color: var(--plum); font: inherit; font-weight: 700; font-size: .82rem; border-radius: 999px; padding: .3rem .8rem; cursor: pointer; }
.loyalty-use { margin-top: .7rem; }
.mini-lines { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.mini-lines li { display: flex; justify-content: space-between; gap: .5rem; padding: .3rem 0; border-bottom: 1px dashed #e7dff6; }
.mini-lines small { color: var(--muted); }
.empty-cart, .empty { text-align: center; padding: 3rem 1rem; }
.mascot-small { width: 200px; margin: 0 auto 1.2rem; }
.mascot-small img { border-radius: 50%; box-shadow: 0 0 0 5px rgba(233, 185, 73, .5), 0 18px 40px rgba(46, 18, 87, .25); }

/* Suivi */
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.track-head h2 { margin: 0; }
.timeline { display: flex; list-style: none; padding: 0; margin: 1.6rem 0; counter-reset: s; }
.timeline li { flex: 1; text-align: center; position: relative; font-size: .88rem; font-weight: 700; color: var(--muted); }
.timeline li span { display: block; width: 18px; height: 18px; border-radius: 50%; background: #e7dff6; margin: 0 auto .4rem; position: relative; z-index: 1; }
.timeline li::before { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 3px; background: #e7dff6; }
.timeline li:first-child::before { display: none; }
.timeline li.done { color: var(--plum); }
.timeline li.done span, .timeline li.done::before { background: var(--violet-2); }
.timeline li.current span { box-shadow: 0 0 0 6px rgba(124, 58, 237, .2); }
.table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.table td, .table th { padding: .55rem .4rem; border-bottom: 1px solid #eee7f8; text-align: left; }
.table .right, .right { text-align: right; }
.table .grand td { font-weight: 800; font-size: 1.05rem; }
.events { list-style: none; padding: 0; font-size: .9rem; }
.events li { padding: .3rem 0; border-bottom: 1px dashed #eee7f8; }
.events time { color: var(--muted); margin-right: .5rem; }
.badge { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 800; background: #eee; white-space: nowrap; }
.badge-pending { background: #f3f4f6; color: #4b5563; } .badge-paid { background: #ede9fe; color: #5b21b6; }
.badge-preparing { background: #fef3c7; color: #92400e; } .badge-shipped { background: #dbeafe; color: #1e40af; }
.badge-delivered { background: #dcfce7; color: #166534; } .badge-cancelled, .badge-refunded { background: #fee2e2; color: #991b1b; }

/* Carte cadeau */
.gift-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.gc-preview { position: relative; aspect-ratio: 1.6; border-radius: 22px; padding: 1.4rem; color: #fff; overflow: hidden; margin: 1.5rem 0;
  background: radial-gradient(circle at 80% 30%, rgba(196, 181, 253, .5), transparent 50%), linear-gradient(135deg, var(--night), var(--deep) 50%, #6d28d9); box-shadow: var(--shadow-lg); }
.gc-preview::after { content: ""; position: absolute; inset: auto -10% -30% -10%; height: 60%; background: radial-gradient(ellipse, rgba(237, 233, 254, .45), transparent 70%); filter: blur(14px); }
.gc-preview img { position: absolute; right: 1.2rem; top: 1rem; z-index: 1; }
.gc-brand { font-family: var(--deco); font-size: 1.1rem; display: block; }
.gc-amount { display: block; font-family: var(--deco); font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--gold); margin-top: .6rem; text-shadow: 0 0 24px rgba(245, 196, 81, .5); }
.gc-to { display: block; font-weight: 700; min-height: 1.5em; }
.gc-code { position: absolute; bottom: 1.1rem; left: 1.4rem; font-family: monospace; letter-spacing: .12em; opacity: .85; z-index: 1; }
.amounts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid #ddd3f0; background: #fff; cursor: pointer; }
.pill input:checked + span { background: var(--violet-2); border-color: var(--violet-2); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.gc-result { text-align: center; margin-bottom: 1.5rem; }
.gc-result img { margin: 0 auto 1rem; border-radius: 16px; box-shadow: var(--shadow); }

/* Avis — saisie étoiles */
.review-item { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.review-item img { border-radius: 12px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .1rem; }
.star-input legend { width: 100%; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 2.2rem; color: #e5ddf5; cursor: pointer; transition: transform .1s; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f5b301; }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--violet-2); border-radius: 4px; }
.review-form label { margin-bottom: .8rem; }

/* Divers */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.split-card { padding: 2rem; border-radius: var(--radius); background: linear-gradient(135deg, #fff, var(--mist)); box-shadow: var(--shadow); }
.split-card.gift { background: linear-gradient(135deg, var(--deep), var(--violet)); color: #fff; }
.split-card.gift h2 { color: #fff; }
.split-card h2 { font-family: var(--deco); margin-top: 0; }
.review-quote { margin: 0; background: rgba(255, 255, 255, .85); padding: 1.3rem; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .4rem; }
.review-quote blockquote { margin: 0; font-style: italic; color: #4b3a66; }
.review-quote figcaption { font-size: .88rem; color: var(--muted); }
.step { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--violet-2); color: #fff; font-weight: 800; }
.steps h2 { margin: .6rem 0 .3rem; }
.faq details { background: rgba(255, 255, 255, .88); border-radius: 14px; margin-bottom: .7rem; box-shadow: var(--shadow); }
.faq summary { padding: 1rem 1.2rem; font-weight: 800; cursor: pointer; color: var(--deep); list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--violet-2); font-size: 1.3rem; }
.faq details[open] summary::after { content: "−"; }
.faq .prose { padding: 0 1.2rem 1rem; }
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.3rem; align-items: start; }
.loyalty-card { background: linear-gradient(135deg, var(--deep), var(--violet)); color: #fff; }
.loyalty-card h2 { color: #fff; } .loyalty-card .muted { color: var(--lilac-2); }
.loyalty-card .events li { border-color: rgba(255, 255, 255, .2); } .loyalty-card .events time { color: var(--lilac); }
.points strong { font-size: 2.6rem; font-family: var(--deco); color: var(--gold); }
.order-row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid #eee7f8; flex-wrap: wrap; }
.order-actions { display: flex; gap: .8rem; align-items: center; }
.bounce { margin: 0 auto; animation: float 3s ease-in-out infinite; }

/* Réassurance & pied de page */

/* Barre d'action collante (mobile) */
.sticky-bar { display: none; }
.prose table { font-size: .92rem; }

/* Assistant */
.assistant-fab { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 50; display: flex; align-items: center; gap: .5rem; border: 0; cursor: pointer; font: inherit; font-weight: 800;
  padding: .85rem 1.3rem; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--violet-2), var(--deep)); box-shadow: 0 12px 34px rgba(46, 18, 87, .45); }
.assistant-fab:hover { transform: translateY(-2px); }
.assistant { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 380px; height: min(600px, calc(100vh - 2.4rem)); display: flex; flex-direction: column;
  background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(28, 10, 51, .35); overflow: hidden; }
.assistant[hidden] { display: none; }
.assistant-head { display: flex; gap: .7rem; align-items: center; padding: .9rem 1rem; color: #fff; background: linear-gradient(135deg, var(--deep), var(--violet)); }
.assistant-head div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.assistant-head span { font-size: .78rem; color: var(--lilac-2); }
.assistant-close { background: rgba(255, 255, 255, .15); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.assistant-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: linear-gradient(180deg, #faf7ff, #fff); }
.msg { max-width: 88%; padding: .65rem .9rem; border-radius: 16px; font-size: .93rem; line-height: 1.45; }
.msg ul { margin: .3rem 0; padding-left: 1.1rem; }
.msg-bot { background: var(--mist); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-user { background: var(--violet-2); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-typing { opacity: .7; font-style: italic; }
.bot-products { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; align-self: stretch; }
.bot-product { display: flex; flex-direction: column; background: #fff; border: 1px solid #ece5f9; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text); font-size: .82rem; }
.bot-product img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.bot-product span { padding: .35rem .5rem; } .bot-product strong { color: var(--deep); }
.bot-quick { display: flex; flex-wrap: wrap; gap: .35rem; }
.bot-quick button { border: 1.5px solid var(--lilac); background: #fff; color: var(--plum); border-radius: 999px; padding: .3rem .75rem; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.bot-quick button:hover { background: var(--mist); }
.assistant-form { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid #eee7f8; }

/* Ajustements communs */
.assistant-close { display: grid; place-items: center; }
.mobile-recap { display: none; }
.checkout-form fieldset { background: rgba(255, 255, 255, .9); border-radius: var(--radius); padding: 1.3rem 1.4rem .6rem; box-shadow: var(--shadow); margin-bottom: 1.2rem; }
.checkout-form legend { float: left; width: 100%; padding: 0; margin-bottom: 1rem; }
.checkout-form legend + * { clear: both; }
.cart-summary .link-more { text-align: center; }
:focus-visible { outline: 3px solid rgba(124, 58, 237, .55); outline-offset: 2px; }

/* Tablette */
@media (max-width: 1000px) {
  .main-nav ul { justify-content: flex-start; }
}

/* Mobile & petite tablette : menu tiroir, barres d'action collantes */
@media (max-width: 860px) {
  .burger { display: inline-flex; margin-left: -.5rem; }
  .main-nav, .header-inner > .search, .icon-label { display: none; }
  .header-actions { margin-left: auto; }
  .brand-name { font-size: .95rem; }
  .brand-name > span { display: block; }
  .brand img { width: 38px; height: 38px; }
  .hero-inner, .product, .cart-layout, .checkout-layout, .gift-layout, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; }
  .hero-mascot { width: 230px; box-shadow: 0 0 0 4px rgba(233, 185, 73, .55), 0 20px 40px rgba(10, 4, 20, .5); }
  .hero-visual::before { width: 280px; }
  .hero-text { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-inner { padding-block: 1.8rem 2.5rem; gap: 1.4rem; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-cta .btn { flex: 1 1 100%; }
  .cart-summary { position: static; }
  .product { gap: 1.4rem; }
  .gallery-thumbs button { width: 64px; height: 64px; }

  /* Catégories en carrousel horizontal */
  .cat-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .7rem; margin-inline: -1rem; padding: 0 1rem .6rem; scrollbar-width: none; }
  .cat-tile { flex: 0 0 44%; min-height: 104px; scroll-snap-align: start; padding: .9rem; }

  .sticky-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; gap: .8rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -8px 30px rgba(46, 18, 87, .14); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-bar.show { transform: none; }
  .sticky-bar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .sticky-bar-info strong { color: var(--deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-bar-info > span { font-size: .85rem; color: var(--muted); }
  body.has-sticky .assistant-fab { bottom: 5.4rem; }

  .mobile-recap { display: block; background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 1.2rem; padding: 0 1rem; }
  .mobile-recap summary { display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; cursor: pointer; font-weight: 700; color: var(--plum); list-style: none; }
  .mobile-recap summary::after { content: "▾"; margin-left: .5rem; }
  .mobile-recap[open] summary::after { content: "▴"; }
  .mobile-recap > a { display: block; padding: .6rem 0 1rem; }
  .checkout-layout > .cart-summary > h2, .checkout-layout > .cart-summary > .mini-lines { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding-block: 1.6rem; }
  .announce { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .grid-products { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .card-body { padding: .7rem .75rem .85rem; }
  .card-title { font-size: .95rem; }
  .card-cat { font-size: .68rem; }
  .stars-count { display: block; }
  .filters { gap: .6rem; padding: .7rem; }
  .filters label { flex: 1 1 45%; flex-direction: column; align-items: stretch; gap: .2rem; }
  .filters label.check { flex-direction: row; align-items: center; }
  .filters .muted { margin-left: 0; }
  .row { grid-template-columns: 1fr; }
  .panel { padding: 1.2rem; }
  .checkout-form fieldset { padding: 1.1rem 1rem .4rem; }
  .buy-row .btn { flex: 1; }
  .variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .tabs [role=tab] { padding: .6rem .6rem; font-size: .9rem; }
  .site-footer { padding-top: 2.2rem; padding-bottom: 5rem; }
  .timeline li { font-size: .72rem; }
  .track-head { flex-wrap: wrap; }
  .gift-layout .gc-preview { margin: 1rem 0; }
  .assistant { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }  /* plein écran sur téléphone */
  .assistant-fab { right: .9rem; bottom: .9rem; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .fab-label { display: none; }
  .assistant-form input { font-size: 16px; } /* évite le zoom auto sur iPhone */
  input, select, textarea { font-size: 16px; }
}
/* Illustration & assistant */
/* Hero : dégradé multi-étapes + fondu masqué à courbe adoucie (pas de raccord avec le fond de page) */
.hero {
  background-color: #1d1029;
  background-image:
    radial-gradient(45% 55% at 6% 38%, rgba(245, 158, 11, .16), rgba(245, 158, 11, .06) 45%, transparent 75%),
    radial-gradient(55% 75% at 76% 42%, rgba(139, 92, 246, .42), rgba(124, 58, 237, .18) 45%, transparent 75%),
    linear-gradient(160deg, #1a0f24 0%, #211331 22%, #2b1544 42%, #37195a 60%, #44207a 78%, #522597 100%);
  padding-bottom: 12rem;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 240px), rgba(0,0,0,.94) calc(100% - 205px), rgba(0,0,0,.82) calc(100% - 170px), rgba(0,0,0,.64) calc(100% - 135px), rgba(0,0,0,.44) calc(100% - 100px), rgba(0,0,0,.25) calc(100% - 66px), rgba(0,0,0,.1) calc(100% - 34px), transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 240px), rgba(0,0,0,.94) calc(100% - 205px), rgba(0,0,0,.82) calc(100% - 170px), rgba(0,0,0,.64) calc(100% - 135px), rgba(0,0,0,.44) calc(100% - 100px), rgba(0,0,0,.25) calc(100% - 66px), rgba(0,0,0,.1) calc(100% - 34px), transparent 100%);
}
.hero + .section { margin-top: -6.5rem; position: relative; }
.about-mascot { float: right; width: 280px; margin: 0 0 1rem 1.5rem; }
.about-mascot img { border-radius: 50%; box-shadow: 0 0 0 5px rgba(233, 185, 73, .5), 0 18px 40px rgba(46, 18, 87, .25); }
.about::after { content: ""; display: block; clear: both; }
.fab-avatar { width: 40px; height: 40px; border-radius: 50%; margin: -.4rem .1rem -.4rem -.7rem; box-shadow: 0 0 0 2px var(--gold); }
.assistant-avatar { border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); }
.assistant-head { background: linear-gradient(135deg, var(--aubergine), var(--plum)); }

/* Solde carte cadeau */
.balance-box { margin-top: 1.8rem; padding: 1.4rem; border-radius: var(--radius); background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); border: 1px solid rgba(233, 185, 73, .35); }
.balance-box h2 { margin: 0 0 .2rem; font-size: 1.15rem; }
.balance-box > p.muted { margin: 0 0 .9rem; font-size: .92rem; }
.code-input { text-transform: uppercase; font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; }
.code-input::placeholder { text-transform: none; letter-spacing: .06em; }
.balance-error { margin: .9rem 0 0; color: var(--err); font-weight: 700; }
.balance-result { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 14px; background: linear-gradient(135deg, var(--aubergine), var(--plum)); color: #f3e8ff; }
.balance-result .balance-amount { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.balance-result .balance-amount span { width: 100%; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--lilac); }
.balance-result strong { font-family: var(--deco); font-size: 2rem; color: var(--gold); line-height: 1.1; }
.balance-result small { color: var(--lilac-2); }
.balance-result .bar { background: rgba(255, 255, 255, .15); margin: .7rem 0; }
.balance-result .bar span { background: linear-gradient(90deg, #fde68a, var(--gold)); }
.balance-result p { margin: 0; font-size: .9rem; }
.balance-result p strong { font-family: var(--font); font-size: inherit; color: #fff; }
.balance-result.is-off { background: #f3f0f7; color: var(--muted); }
.balance-result.is-off strong { color: var(--muted); }

@media (max-width: 640px) {
  .about-mascot { float: none; width: 70%; margin: 0 auto 1.2rem; }
  .fab-avatar { width: 100%; height: 100%; margin: 0; box-shadow: none; }
  .assistant-fab { overflow: hidden; box-shadow: 0 0 0 3px var(--gold), 0 12px 30px rgba(46, 18, 87, .45); }
}.hero .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 2px rgba(233, 185, 73, .75); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* Sous-catégories */
.subcats { display: flex; gap: .5rem; flex-wrap: wrap; margin: -.4rem 0 1.2rem; }
.subcats a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; min-height: 40px; border-radius: 999px; background: #fff; color: var(--plum);
  text-decoration: none; font-weight: 700; font-size: .92rem; box-shadow: inset 0 0 0 1.5px #e4dbf5; }
.subcats a:hover { box-shadow: inset 0 0 0 1.5px var(--violet-2); }
.subcats a[aria-current] { background: var(--plum); color: #fff; box-shadow: none; }
.subcats a span { font-size: .75rem; font-weight: 800; background: var(--mist); color: var(--plum); border-radius: 999px; padding: 0 .45rem; }
.subcats a[aria-current] span { background: rgba(255, 255, 255, .2); color: #fff; }
.drawer nav a.drawer-sub { padding: .55rem 1.2rem .55rem 2.4rem; font-weight: 600; font-size: .92rem; color: var(--plum); }
.drawer nav a.drawer-sub::before { content: "↳"; color: var(--lilac); margin-right: .2rem; }
@media (max-width: 640px) {
  .subcats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1rem; padding: 0 1rem .3rem; scrollbar-width: none; }
  .subcats a { white-space: nowrap; }
}

/* Lignes du panier */
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "t d x" "t b b"; gap: .3rem 1rem; align-items: start;
  padding: 1rem; background: #fff; border-radius: 16px; margin-bottom: .8rem; box-shadow: var(--shadow); }
.cart-thumb { grid-area: t; }
.cart-thumb img, .gc-thumb { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; display: block; }
.gc-thumb { display: grid; place-items: center; background: linear-gradient(135deg, var(--aubergine), var(--violet)); color: var(--gold); font-weight: 800; font-size: 1.05rem; }
.cart-desc { grid-area: d; display: flex; flex-direction: column; gap: .15rem; padding-top: .15rem; min-width: 0; }
.cart-name { font-weight: 800; color: var(--deep); text-decoration: none; line-height: 1.3; }
a.cart-name:hover { color: var(--violet); }
.cart-meta { font-size: .88rem; color: var(--muted); }
.cart-remove { grid-area: x; display: grid; place-items: center; width: 38px; height: 38px; margin: -.3rem -.3rem 0 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.cart-remove:hover { background: #fef2f2; color: var(--err); }
.cart-bottom { grid-area: b; display: flex; align-items: center; justify-content: space-between; gap: 1rem; align-self: end; }
.cart-total { font-size: 1.1rem; color: var(--plum); white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #e4dbf5; border-radius: 999px; background: #fff; overflow: hidden; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; color: var(--plum); font: inherit; font-size: 1.2rem; font-weight: 800; cursor: pointer; display: grid; place-items: center; }
.stepper button:hover:not([disabled]) { background: var(--mist); }
.stepper button[disabled] { opacity: .3; cursor: default; }
.stepper input { width: 44px; height: 40px; border: 0; border-radius: 0; padding: 0; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { box-shadow: none; background: var(--mist); }
.cart-summary .codes .inline-form input { min-width: 0; }
@media (max-width: 640px) {
  .cart-line { grid-template-columns: 72px minmax(0, 1fr) auto; gap: .25rem .75rem; padding: .8rem; }
  .cart-thumb img, .gc-thumb { width: 72px; height: 72px; }
  .gc-thumb { font-size: .85rem; }
  .cart-bottom { margin-top: .4rem; }
  .stepper button { width: 38px; height: 38px; }
  .icon-btn.cart-link { margin-right: .2rem; }
}.icon-btn.cart-link { gap: .85rem; }
.code-input:placeholder-shown { font-family: var(--font); letter-spacing: normal; text-transform: none; }
.split-card.gift .btn { background: var(--gold); color: var(--aubergine); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.split-card.gift .btn:hover { background: #f2c96a; color: var(--aubergine); }
.btn.disabled, .btn[disabled] { opacity: .55; }


/* ---------- Pied de page (DA de l'illustration) ---------- */
.site-footer { position: relative; margin-top: 6rem; color: #e9e2f7; padding: 0 0 1.4rem;
  background: radial-gradient(520px 320px at 4% 92%, rgba(245, 158, 11, .14), transparent 70%),
              radial-gradient(700px 380px at 92% 20%, rgba(139, 92, 246, .28), transparent 70%),
              linear-gradient(180deg, #1d1029 0%, #1a0f24 100%); }
.footer-wave { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: 80px; display: block; }
.site-footer a { color: #e9e2f7; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { color: var(--gold); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer nav li a { display: inline-block; padding: .28rem 0; transition: color .15s, transform .15s; }
.site-footer nav li a:hover { color: var(--gold); transform: translateX(3px); }

.site-footer .footer-promises { margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 1.2rem 0 2.2rem; border-bottom: 1px solid rgba(233, 185, 73, .18); }
.footer-promises li { display: flex; align-items: center; gap: .85rem; }
.promise-ico { flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: var(--gold);
  background: radial-gradient(circle at 35% 30%, rgba(233, 185, 73, .22), rgba(233, 185, 73, .06)); box-shadow: inset 0 0 0 1.5px rgba(233, 185, 73, .55); }
.footer-promises li > span:last-child { display: flex; flex-direction: column; font-size: .86rem; color: #c9bde3; line-height: 1.35; }
.footer-promises strong { color: #fff; font-size: .98rem; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.4rem; padding: 2.6rem 0 2.2rem; }
.footer-brand { display: flex; gap: 1.1rem; align-items: flex-start; }
.footer-mascot { flex-shrink: 0; width: 96px; }
.footer-mascot img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(233, 185, 73, .7), 0 10px 30px rgba(0, 0, 0, .4); }
.footer-name { display: inline-block; color: #fff; font-size: 1.15rem; margin-bottom: .4rem; }
.footer-name em { color: var(--lilac); font-style: normal; }
.footer-brand p { margin: 0 0 1rem; color: #c9bde3; line-height: 1.55; font-size: .93rem; }
.footer-ask { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1.5px rgba(233, 185, 73, .75); }
.footer-ask:hover { background: rgba(233, 185, 73, .12); color: #fff; box-shadow: inset 0 0 0 1.5px var(--gold); }
.footer-mail { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: #fff !important; word-break: break-all; }
.footer-mail .ico { color: var(--gold); flex-shrink: 0; }
.footer-small { font-size: .85rem; color: #b6a8d1; margin: .5rem 0 1rem; line-height: 1.5; }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(233, 185, 73, .5); color: var(--gold); }
.socials a:hover { background: rgba(233, 185, 73, .15); color: #fff; }

.footer-legal { display: flex; align-items: center; gap: 1rem 1.6rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.2rem; font-size: .82rem; color: #a99bc4; }
.footer-links { display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; }
.footer-links a { color: #c9bde3; }
.pay-badges { margin-left: auto; display: flex; gap: .35rem; flex-wrap: wrap; }
.pay-badges span { padding: .2rem .55rem; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #e9e2f7; font-weight: 700; font-size: .72rem; letter-spacing: .02em; }

@media (max-width: 1000px) {
  .site-footer .footer-promises { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer { margin-top: 4.5rem; padding-bottom: 5.5rem; }
  .footer-wave { height: 46px; }
  .footer-promises li { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .promise-ico { width: 42px; height: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem 1.2rem; padding-top: 2rem; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-mascot, .footer-mascot img { width: 72px; height: 72px; }
  .pay-badges { margin-left: 0; }
}

/* Paiement */
.pay-option .pay-logos { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.pay-logos img { display: block; border-radius: 4px; }
.pay-badges { display: flex; gap: .35rem; flex-wrap: wrap; }
.pay-badges img { display: block; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.bank-box { text-align: left; background: var(--mist); border-radius: 16px; padding: 1.2rem 1.4rem; margin: 1.2rem 0; }
.bank-box dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; margin: 0 0 .8rem; align-items: center; }
.bank-box dt { color: var(--muted); font-weight: 600; }
.bank-box dd { margin: 0; font-weight: 700; word-break: break-all; }
.bank-box code { font-size: 1rem; background: #fff; }
@media (max-width: 640px) { .pay-option { flex-wrap: wrap; } .pay-option .pay-logos { width: 100%; justify-content: flex-start; padding-left: 1.8rem; } .bank-box dl { grid-template-columns: 1fr; gap: .1rem; } .bank-box dd { margin-bottom: .5rem; } }
/* Quantité au poids */
.stepper-weight input { width: 58px; }
.stepper-unit { font-weight: 700; color: var(--muted); margin: 0 .2rem 0 -.25rem; }
.card-price small { color: var(--muted); font-weight: 600; }.weight-pick { margin: .4rem 0 0; }
.weight-pick legend { font-weight: 800; font-size: 1rem; margin-bottom: .6rem; }
.weight-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .9rem; }
.pill-btn { border: 1.5px solid #ddd3f0; background: #fff; color: var(--plum); border-radius: 999px; padding: .55rem 1.1rem; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; }
.pill-btn:hover:not([disabled]) { border-color: var(--violet-2); }
.pill-btn.active { background: var(--violet-2); border-color: var(--violet-2); color: #fff; }
.pill-btn[disabled] { opacity: .45; cursor: not-allowed; }
.weight-input { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .6rem; font-weight: 600; }
.weight-field { display: inline-flex; align-items: center; border: 1.5px solid #ddd3f0; border-radius: 12px; background: #fff; padding-right: .8rem; }
.weight-field input { width: 6.5rem; border: 0; margin: 0; font-weight: 800; font-size: 1.05rem; }
.weight-field input:focus { box-shadow: none; }
.weight-field:focus-within { border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(124, 58, 237, .15); }
.weight-field span { font-weight: 800; color: var(--muted); }
.weight-total { font-size: 1.15rem; margin: .3rem 0 1rem; }
.weight-total strong { color: var(--plum); font-size: 1.4rem; }
[data-weight-error] { color: var(--err); font-weight: 700; }
.withdraw-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .8rem; border: 1.5px solid #ece4fb; border-radius: 12px; margin-bottom: .5rem; background: #fff; }
.withdraw-item select { width: auto; }
.login-panel { text-align: center; }
.login-panel .form-stack { text-align: left; max-width: 420px; margin: 0 auto; }
.login-panel .perks { text-align: left; max-width: 460px; margin: 1.4rem auto; }
.danger-details { margin-top: 1rem; }
.danger-details summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.btn-danger-front { background: #b91c1c; box-shadow: none; }
.btn-danger-front:hover { background: #991b1b; }
.pay-option .pay-logos { flex-wrap: nowrap; flex-shrink: 0; align-items: center; }
.pay-option .pay-logos img { height: 22px; width: auto; }
@media (max-width: 640px) { .pay-option .pay-logos { flex-wrap: wrap; } }

/* =========================================================================
   Bandeau cookies (CNIL : « Tout refuser » aussi visible que « Tout accepter »)
   ========================================================================= */
.cookie-banner { position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 70; width: min(520px, calc(100vw - 2.4rem)); display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem;
  padding: 1.2rem 1.3rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(124, 58, 237, .12); animation: ckIn .35s ease-out; }
.cookie-banner[hidden] { display: none; }
@keyframes ckIn { from { opacity: 0; transform: translateY(16px); } }
.cookie-banner-ico { font-size: 2rem; line-height: 1; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); }
.cookie-banner-text strong { display: block; color: var(--deep); font-size: 1.05rem; margin-bottom: .2rem; }
.cookie-banner-text p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.cookie-banner-text a { font-weight: 700; }
.cookie-banner-actions, .cookie-prefs-actions { grid-column: 1 / -1; display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.cookie-banner-actions .btn, .cookie-prefs-actions .btn { flex: 1 1 auto; }
/* Refuser et accepter : exactement le même style ; personnaliser en retrait */
.btn-outline { background: #fff; color: var(--plum); box-shadow: inset 0 0 0 2px var(--violet-2); }
.btn-outline:hover { background: var(--mist); color: var(--deep); box-shadow: inset 0 0 0 2px var(--violet-2); }
[data-cookie-all].btn-outline { background: linear-gradient(135deg, var(--violet-2), var(--plum)); color: #fff; box-shadow: none; }
[data-cookie-all].btn-outline:hover { color: #fff; filter: brightness(1.08); }
body.has-cookie-banner .assistant-fab { display: none; }

.cookie-prefs { width: min(560px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); color: var(--text); }
.cookie-prefs::backdrop { background: rgba(28, 10, 51, .55); }
.cookie-prefs form { padding: 1.4rem 1.5rem 1.2rem; }
.cookie-prefs-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cookie-prefs-head h2 { margin: 0; font-size: 1.3rem; color: var(--deep); }
.cookie-x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--mist); color: var(--plum); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.cookie-prefs-intro { color: var(--muted); font-size: .93rem; margin: .4rem 0 1rem; }
.cookie-cat { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border-radius: 14px; background: var(--cream); border: 1.5px solid var(--lilac-2); margin-bottom: .6rem; cursor: pointer; }
.cookie-cat strong { display: block; color: var(--deep); }
.cookie-cat small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; margin-top: .15rem; }
.cookie-always { font-size: .8rem; font-weight: 800; color: var(--ok); white-space: nowrap; }
.switch { position: relative; flex-shrink: 0; width: 50px; height: 28px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #cfc6de; transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch input:checked + i { background: var(--violet-2); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:focus-visible + i { outline: 3px solid var(--gold); outline-offset: 2px; }
.cookie-prefs-foot { margin: .8rem 0 0; font-size: .85rem; text-align: center; }
.footer-cookie-btn { background: none; border: 0; padding: 0; font: inherit; color: #c9bde3; text-decoration: underline; cursor: pointer; }
.footer-cookie-btn:hover { color: #fff; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: .4rem 0 1.2rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--lilac-2); vertical-align: top; }
.cookie-table th { color: var(--plum); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 600px) {
  .cookie-banner { left: .6rem; right: .6rem; bottom: .6rem; width: auto; padding: 1rem; grid-template-columns: 1fr; }
  .cookie-banner-ico { display: none; }
  .cookie-banner-actions .btn { flex: 1 1 100%; }
  .cookie-cat { align-items: flex-start; }
}

/* Texte de présentation en bas des catégories (référencement) */
.cat-text { margin: 3rem auto 0; max-width: 75ch; padding-top: 2rem; border-top: 1px solid rgba(124, 58, 237, .15); }
.cat-text h2 { font-size: 1.35rem; margin: 0 0 .8rem; }
.cat-text p { margin: 0 0 .9rem; line-height: 1.7; }

/* ---------- Bandeaux d'environnement (site de test, aperçu) ---------- */
.env-ribbon { position: relative; z-index: 60; background: #b45309; color: #fff; text-align: center; font-size: .9rem; padding: .45rem 1rem; line-height: 1.4; }
.env-ribbon a { color: #fff; font-weight: 700; }
.env-ribbon-preview { background: var(--deep); }

/* ---------- Page « La boutique arrive bientôt » ---------- */
.soon-page { min-height: 100vh; display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(520px 380px at 8% 90%, rgba(245, 158, 11, .25), transparent 70%), radial-gradient(800px 520px at 78% 45%, rgba(139, 92, 246, .45), transparent 65%), radial-gradient(400px 300px at 95% 0%, rgba(240, 171, 252, .18), transparent 70%), linear-gradient(140deg, var(--night) 0%, var(--deep) 45%, #5b21b6 100%); }
.soon-admin { background: rgba(255, 255, 255, .12); text-align: center; font-size: .9rem; padding: .45rem 1rem; }
.soon-admin a { color: var(--gold); font-weight: 700; }
.soon-head { width: min(1150px, 100% - 2rem); margin: 0 auto; padding-top: 2rem; }
.soon { flex: 1; display: grid; place-items: center; padding: 1.5rem 1rem 2.5rem; }
.soon-inner { width: min(1150px, 100%); display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.soon-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-family: var(--deco); font-size: 1.15rem; }
.soon-brand:hover { color: var(--lilac-2); }
.soon h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .3em 0 .5em; }
.soon-msg p { font-size: 1.15rem; line-height: 1.7; opacity: .93; max-width: 52ch; margin: 0 0 .8rem; }
.soon-teasers { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .6rem; }
.soon-teasers li { display: flex; gap: .7rem; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: .65rem 1rem; max-width: 520px; }
.soon-teasers span { font-size: 1.25rem; }
.soon-contact { margin-top: 1.8rem; }
.soon-contact > p:first-child { margin: 0 0 .7rem; color: var(--lilac-2); }
.soon-socials { margin-top: 1.2rem; color: var(--lilac-2); }
.soon-socials a { color: var(--gold); font-weight: 700; margin-left: .6rem; }
.soon-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; padding: 1.2rem 1rem 1.6rem; font-size: .88rem; color: var(--lilac-2); border-top: 1px solid rgba(255, 255, 255, .1); }
.soon-foot a { color: var(--lilac-2); }
@media (max-width: 860px) {
  .soon-inner { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .soon-visual { order: -1; }
  .soon-head { text-align: center; padding-top: 1.4rem; }
  .soon-msg p, .soon-teasers li { margin-inline: auto; }
  .soon-teasers li { width: 100%; }
  .soon-teasers li { text-align: left; }
}
