/* ===== Variables ===== */
:root {
  --violet: #c98b5e;
  --pink: #e2b48c;
  --orange: #8ccfc9;
  --yellow: #c98b5e;
  --teal: #7cc7c1;
  --ink: #17110c;
  --on-accent: #17110c;
  --text: #f3eee7;
  --ink-2: #c9c3bb;
  --muted: #8f8982;
  --bg: #0a0a0b;
  --soft: #111113;
  --card: #141416;
  --card-2: #1d1d20;
  --line: #29292d;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 60px -20px rgba(201, 139, 94, .28);
  --grad: linear-gradient(100deg, #c98b5e, #dcbc9a 48%, #8ccfc9);
  --copper: linear-gradient(100deg, #8a5a3a, #d6a27a 35%, #b57850 65%, #7a4e33);
  --font-title: "Bricolage Grotesque", system-ui, sans-serif;
  --font: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font); color: var(--text); background: var(--bg) radial-gradient(1000px 500px at 85% -10%, rgba(124,199,193,.08), transparent 60%); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.08; letter-spacing: -.02em; }
.hidden { display: none; }
.muted { color: var(--muted); margin-bottom: 18px; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.container--narrow { width: min(760px, 92%); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

/* ===== Boutons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.btn--primary { background: var(--violet); color: var(--on-accent); box-shadow: 0 6px 0 -2px #8a5a3a, 0 0 30px -8px rgba(201,139,94,.6); }
.btn--primary:hover { transform: translateY(-2px); background: var(--pink); box-shadow: 0 8px 0 -2px #8a5a3a, 0 0 40px -6px rgba(201,139,94,.7); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 3px 0 -2px #8a5a3a; }
.btn--primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--ghost { border: 2px solid var(--violet); color: var(--text); }
.btn--ghost:hover { background: var(--violet); color: var(--on-accent); }
.btn--full { width: 100%; }

/* ===== Bandeau + header ===== */
.topbar { background: #0e0e10; color: var(--pink); border-bottom: 1px solid var(--line); text-align: center; font-size: .85rem; padding: 8px 12px; font-weight: 500; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 11, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 800; font-size: 1.45rem; }
.logo__cube { position: relative; width: 30px; height: 30px; transform: rotate(-12deg); }
.logo__cube i { position: absolute; border-radius: 6px; }
.logo__cube i:nth-child(1) { inset: 0 8px 8px 0; background: var(--violet); }
.logo__cube i:nth-child(2) { inset: 8px 0 0 8px; background: var(--teal); mix-blend-mode: multiply; }
.logo__cube i:nth-child(3) { inset: 10px 10px 10px 10px; background: #f3e3d0; border-radius: 50%; }
.logo--light { color: var(--on-accent); }
.nav { display: flex; gap: 30px; font-weight: 500; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0; border-radius: 3px; background: var(--grad); transition: width .25s; }
.nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s; }
.cart-btn:hover { transform: rotate(-8deg) scale(1.05); }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--violet); color: var(--on-accent); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.cart-btn.bump { animation: bump .45s; }
@keyframes bump { 30% { transform: scale(1.25) rotate(-10deg); } 60% { transform: scale(.95); } }
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; }
.burger span { height: 2.5px; background: var(--text); border-radius: 2px; transition: transform .25s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; }
.hero__side { position: absolute; top: 0; bottom: 40px; width: 46%; z-index: 0; }
.hero__side img { width: 100%; height: 100%; object-fit: cover; }
.hero__side--left { left: 0; -webkit-mask-image: linear-gradient(to right, #000 35%, transparent 95%); mask-image: linear-gradient(to right, #000 35%, transparent 95%); }
.hero__side--left img { object-position: 35% center; }
.hero__side--right { right: 0; -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 95%); mask-image: linear-gradient(to left, #000 35%, transparent 95%); }
.hero__side--right img { object-position: 62% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 38% 70% at 50% 45%, rgba(10,10,11,.92), rgba(10,10,11,.55) 60%, transparent 100%); z-index: 1; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; display: flex; justify-content: center; text-align: center; padding: 110px 0 120px; }
.hero__text { max-width: 640px; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 500; font-size: .9rem; box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); margin: 22px 0 18px; font-weight: 800; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero__sub { font-size: 1.15rem; color: var(--ink-2); max-width: 30em; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 30px 0 34px; }
.hero__proofs { list-style: none; display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; color: var(--ink-2); }
.hero__proofs b { display: block; font-family: var(--font-title); font-size: 1.6rem; color: var(--text); }
.marquee { position: relative; z-index: 3; }
.marquee { background: var(--copper); color: var(--on-accent); border-block: 1px solid #e2b48c; box-shadow: 0 0 40px -10px rgba(201,139,94,.5); overflow: hidden; transform: rotate(-1.2deg); margin: 0 -2%; }
.marquee__track { display: flex; gap: 28px; width: max-content; padding: 12px 0; font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; animation: scroll 28s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: #0f0f11; color: #fff; border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section__head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section__head--light p { color: var(--ink-2); }

/* ===== Boutique ===== */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 10px 18px; border-radius: 999px; background: var(--card); color: var(--text); border: 1.5px solid var(--line); font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--violet); }
.chip.is-active { background: var(--violet); color: var(--on-accent); border-color: var(--violet); box-shadow: 0 0 20px -6px rgba(201,139,94,.8); }
.sort { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: inherit; color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.product { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; animation: pop .5s both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }
.product:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lg); border-color: rgba(201,139,94,.55); }
.product__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--soft); cursor: pointer; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .product__img img { transform: scale(1.06); }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .75rem; font-weight: 700; }
.badge:empty { display: none; }
.product__img .badge { position: absolute; top: 14px; left: 14px; }
.soldout { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(10,10,11,.8); border: 1px solid var(--line); color: var(--teal); font-weight: 700; font-size: .8rem; backdrop-filter: blur(4px); }
.product__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__body h3 { font-size: 1.2rem; cursor: pointer; }
.product__body p { color: var(--muted); font-size: .93rem; flex: 1; }
.product__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.price { font-family: var(--font-title); font-weight: 800; font-size: 1.35rem; color: var(--violet); }
.add-btn { width: 46px; height: 46px; border-radius: 50%; background: var(--violet); color: var(--on-accent); font-size: 1.5rem; display: grid; place-items: center; transition: transform .2s, background .2s; }
.add-btn:hover { background: var(--teal); transform: rotate(90deg); }
.add-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }

/* ===== Étapes ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s, background .3s; }
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.step__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: var(--on-accent); font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; margin-bottom: 18px; }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .95rem; }

/* ===== Sur mesure + formulaires ===== */
.custom { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.custom h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 18px; }
.custom p { color: var(--ink-2); font-size: 1.08rem; }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--teal); color: var(--on-accent); font-size: .8rem; font-weight: 700; }
.card { background: var(--card); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
.form input, .form textarea, .form select { width: 100%; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft); font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(201,139,94,.18); }
.form__msg { font-weight: 500; text-align: center; min-height: 1.2em; }
.form__msg.ok { color: #4ade80; } .form__msg.err { color: #ff6b8b; }

/* ===== Avis ===== */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.review { background: var(--card); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.review--empty { text-align: center; font-weight: 500; color: var(--muted); border-style: dashed; }

/* ===== FAQ ===== */
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; overflow: hidden; }
.faq summary { padding: 20px 24px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--violet); transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 24px 20px; color: var(--ink-2); }

/* ===== Footer ===== */
.footer { background: var(--copper); color: var(--on-accent); border-top: 1px solid #e2b48c; color: #fff; padding: 60px 0 26px; }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__tag { color: #3a2617; margin-top: 12px; max-width: 26em; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a:hover { color: #fff; }
.footer__copy { text-align: center; color: #3a2617; font-size: .85rem; margin-top: 40px; }

/* ===== Modale produit ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(4,2,10,.75); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.is-open .modal__backdrop, .is-open .drawer__backdrop { opacity: 1; }
.modal__box { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 28px; width: min(900px, 100%); max-height: 92vh; overflow: auto; padding: 30px; transform: translateY(30px) scale(.97); opacity: 0; transition: all .3s; }
.modal__box--sm { width: min(520px, 100%); }
.modal__box h3 { font-size: 1.7rem; margin-bottom: 8px; }
.is-open .modal__box { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; background: var(--card-2); color: var(--text); z-index: 2; }
.modal__close:hover { background: var(--line); }
.pm { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pm > * { min-width: 0; }
.pm__img > img { border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; width: 100%; background: #000; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs:empty { display: none; }
.thumb { width: 62px; height: 62px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: .6; transition: all .2s; padding: 0; }
.thumb img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; }
.thumb.is-active, .thumb:hover { border-color: var(--violet); opacity: 1; }
.pm__info { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pm__info h3 { font-size: 2rem; margin: 0; }
.pm__price { font-family: var(--font-title); font-size: 1.8rem; font-weight: 800; color: var(--violet); }
.pm__info > p { color: var(--ink-2); }
.label { font-weight: 700; font-size: .9rem; display: block; margin-bottom: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { color: var(--text); padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 500; transition: all .2s; }
.swatch.is-active { border-color: var(--violet); background: var(--violet); color: var(--on-accent); }
.pm__row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 44px; font-size: 1.2rem; }
.qty button:hover { background: var(--soft); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.pm__note { font-size: .85rem; color: var(--muted); }

/* ===== Panier ===== */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(430px, 100%); background: var(--card); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); position: relative; }
.drawer__head h3 { font-size: 1.5rem; }
.drawer__head .modal__close { position: static; }
.ship-bar { padding: 14px 24px; background: var(--soft); font-size: .9rem; font-weight: 500; }
.ship-bar__track { height: 8px; background: var(--line); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.ship-bar__fill { height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .4s; }
.drawer__items { flex: 1; overflow: auto; padding: 10px 24px; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty b { display: block; font-size: 3rem; }
.citem { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.citem img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 74px; height: 74px; }
.citem h4 { font-size: 1rem; }
.citem small { color: var(--muted); display: block; }
.citem .qty { margin-top: 6px; width: max-content; }
.citem .qty button { width: 32px; height: 32px; }
.citem__right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.citem__remove { color: var(--muted); font-size: .8rem; text-decoration: underline; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.line { display: flex; justify-content: space-between; color: var(--ink-2); }
.line--total { font-size: 1.2rem; color: var(--text); margin: 6px 0 10px; }
.secure { text-align: center; font-size: .82rem; color: var(--muted); }

/* ===== Toast ===== */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--violet); color: var(--on-accent); padding: 14px 22px; border-radius: 999px; font-weight: 500; z-index: 200; transition: transform .35s; box-shadow: var(--shadow-lg); }
.toast.show { transform: translate(-50%, 0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .custom, .pm { grid-template-columns: 1fr; }
  .hero__side { width: 60%; opacity: .55; }
  .hero::after { background: rgba(10,10,11,.45); }
  .hero__inner { padding: 80px 0 90px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav { position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 4%; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s; box-shadow: var(--shadow); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .burger { display: flex; }
}
@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product__body { padding: 12px 14px 14px; }
  .product__body p { display: none; }
  .product__body h3 { font-size: 1rem; }
  .price { font-size: 1.1rem; }
  .add-btn { width: 38px; height: 38px; font-size: 1.2rem; }
  .modal__box { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Thème sombre : détails ===== */
::selection { background: var(--violet); color: var(--on-accent); }
.product { background: linear-gradient(180deg, var(--card), #0f0f11); }
.section__head h2, .custom h2 { text-shadow: 0 0 40px rgba(201,139,94,.2); }
.form select option { background: var(--card); color: var(--text); }
.citem .qty, .qty { border-color: var(--line); }
.qty button:hover, .modal__close:hover { background: var(--line); }
.faq summary::after { color: var(--violet); }
.logo__cube i:nth-child(2) { mix-blend-mode: screen; }
.cart-btn__count { box-shadow: 0 0 12px rgba(201,139,94,.8); }
@keyframes float { 50% { translate: 0 -14px; } }

/* ===== Optimisation mobile ===== */
html { -webkit-text-size-adjust: 100%; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.form input, .form textarea, .form select, .sort { font-size: 16px; } /* évite le zoom auto sur iPhone */
.modal__box h3 { padding-right: 48px; }
.footer__links a { color: var(--on-accent); font-weight: 500; padding: 6px 0; }
.footer__links a:hover { color: #000; text-decoration: underline; }
.drawer__foot { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.toast { bottom: max(24px, env(safe-area-inset-bottom)); }

@media (max-width: 760px) {
  /* Fiche produit en "bottom sheet" : infos visibles sans scroller */
  .modal { padding: 0; align-items: end; }
  .modal__box { width: 100%; max-height: 92dvh; border-radius: 24px 24px 0 0; padding: 18px 18px max(22px, env(safe-area-inset-bottom)); }
  .pm { gap: 16px; }
  .pm__img > img { aspect-ratio: auto; height: 34dvh; max-height: 320px; }
  .pm__info { gap: 8px; }
  .pm__info > p#pmDesc { font-size: .92rem; order: 5; }
  .pm__note { order: 6; }
  .pm__row { position: sticky; bottom: calc(-1 * max(22px, env(safe-area-inset-bottom))); background: var(--card); padding: 10px 0 12px; z-index: 2; }
  .thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: 0 0 52px; width: 52px; height: 52px; }
  .pm__info h3 { font-size: 1.5rem; }
  .pm__price { font-size: 1.5rem; }
  .pm__row { width: 100%; }
  .pm__row .btn { flex: 1; }
  .modal__close { top: 10px; right: 10px; }
  .add-btn { width: 44px !important; height: 44px !important; }
  .topbar { font-size: .78rem; }
  .cart-btn { width: 44px; height: 44px; }
}
@media (max-width: 760px) {
  .pm__row .btn { white-space: nowrap; padding: 14px 18px; }
}
@media (max-width: 380px), (max-height: 700px) {
  .pm__img > img { height: 26dvh; }
  .thumb { flex-basis: 44px; width: 44px; height: 44px; }
  .pm__info h3 { font-size: 1.3rem; }
}

/* Devis de création 3D (module Réparatek) */
.devis3d { min-height: 380px; }
.devis3d iframe { border-radius: 16px; box-shadow: var(--shadow-lg); }

/* ===== Vente flash & offres groupées ===== */
.flash { margin: 0 0 22px; border-radius: var(--radius); padding: 18px; background: linear-gradient(120deg, #4a0f12, #2a0c10 55%, #1a0d0e); border: 1px solid #7a2328; box-shadow: 0 20px 50px -25px rgba(255, 60, 50, .55); }
.flash__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.flash__title { font-family: var(--font-title); font-size: 1.5rem; color: #fff; letter-spacing: -.01em; }
.flash__title span { background: linear-gradient(90deg, #ffb347, #ff4d4d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flash__timer { display: flex; align-items: center; gap: 10px; color: #ffd2c8; font-size: .9rem; }
.flash__count { display: inline-flex; align-items: baseline; gap: 3px; }
.flash__count b { display: inline-block; min-width: 2.1em; padding: 4px 6px; border-radius: 8px; background: #ff3b30; color: #fff; text-align: center; font-family: var(--font-title); font-variant-numeric: tabular-nums; }
.flash__count small { margin: 0 4px 0 1px; color: #ffb3a6; }
.flash__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.fcard { display: flex; flex-direction: column; gap: 6px; text-align: left; background: rgba(0,0,0,.35); border: 1px solid rgba(255,90,80,.25); border-radius: 14px; padding: 8px; color: var(--text); scroll-snap-align: start; transition: transform .2s, border-color .2s; cursor: pointer; }
.fcard:hover { transform: translateY(-3px); border-color: #ff5a4f; }
.fcard__img { position: relative; display: block; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcard__off { position: absolute; top: 6px; left: 6px; padding: 3px 8px; border-radius: 6px; background: #ff3b30; color: #fff; font-weight: 800; font-size: .85rem; }
.fcard__name { font-size: .9rem; line-height: 1.3; min-height: 2.6em; }
.fcard__price { font-family: var(--font-title); font-weight: 800; color: #ff6a5c; font-size: 1.15rem; }
.fcard__price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 4px; }
.bundles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 26px; padding: 12px 16px; border-radius: 14px; background: rgba(124,199,193,.08); border: 1px dashed rgba(124,199,193,.5); }
.bundles__title { font-weight: 700; color: var(--teal); margin-right: 4px; }
.bundles__tier { padding: 4px 12px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); font-size: .9rem; }
.bundles__tier b { color: var(--text); }
.bundles__hint { flex-basis: 100%; color: var(--muted); font-size: .82rem; }
.off-tag { position: absolute; top: 14px; right: 14px; padding: 5px 10px; border-radius: 8px; background: #ff3b30; color: #fff; font-weight: 800; font-size: .8rem; }
.off-tag--inline { position: static; display: inline-block; vertical-align: middle; font-size: .8rem; font-family: var(--font); }
.prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.price--promo, .pm__now.price--promo { color: #ff6a5c; }
.price-old { color: var(--muted); font-size: .9rem; }
.pm__bundle { color: var(--teal); font-size: .92rem; }
.bundle-msg { margin: 10px 24px 0; padding: 10px 12px; border-radius: 12px; background: rgba(124,199,193,.1); color: var(--ink-2); font-size: .9rem; }
.bundle-msg b { color: var(--teal); }
.citem__right s { color: var(--muted); font-size: .8rem; }
.line--save b { color: #ff6a5c; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .flash { padding: 14px; margin-left: -4px; margin-right: -4px; }
  .flash__title { font-size: 1.25rem; }
  .flash__row { grid-auto-columns: 46%; }
  .flash__count b { min-width: 1.9em; padding: 3px 4px; }
}

/* ===== Page fauteuil roulant ===== */
.hero--fr { background: radial-gradient(900px 420px at 50% 0%, rgba(124,199,193,.18), transparent 70%); }
.hero--fr .hero__inner { padding: 90px 0 60px; }
.hero--fr .hero__text { max-width: 820px; margin: 0 auto; }
.toolbar--locked { justify-content: space-between; }
.nav a[aria-current="page"] { color: var(--teal); }
.section--tight { padding-top: 10px; padding-bottom: 10px; }
.fr-banner { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: var(--radius); background: linear-gradient(110deg, rgba(124,199,193,.16), rgba(201,139,94,.12)); border: 1px solid rgba(124,199,193,.35); color: var(--text); text-decoration: none; transition: transform .2s, border-color .2s; }
.fr-banner:hover { transform: translateY(-2px); border-color: var(--teal); }
.fr-banner__icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(124,199,193,.18); font-size: 1.7rem; }
.fr-banner__text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.fr-banner__text b { font-family: var(--font-title); font-size: 1.2rem; }
.fr-banner__text small { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) {
  .fr-banner { flex-wrap: wrap; padding: 16px; }
  .fr-banner .btn { width: 100%; text-align: center; }
  .hero--fr .hero__inner { padding: 60px 0 40px; }
}

/* ---------- Vue 3D ---------- */
.pm__img { position: relative; }
.pm3d model-viewer { display: block; width: 100%; height: auto; aspect-ratio: 4/3; border-radius: 20px; background: radial-gradient(circle at 50% 35%, #f4f4f7, #b9bac4); --poster-color: transparent; }
.pm3d__aide { font-size: .78rem; opacity: .65; text-align: center; margin: 6px 0 0; }
.pm3d__ar { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .85rem; background: #fff; color: #111; cursor: pointer; }
.pm3d-btn { position: absolute; top: 12px; right: 12px; z-index: 2; border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; font-size: .85rem; background: rgba(255,255,255,.92); color: #111; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.pm3d-btn:hover { background: #fff; }
.tag3d { position: absolute; bottom: 10px; right: 10px; background: rgba(255,255,255,.92); color: #111; border-radius: 999px; padding: 3px 9px; font-size: .75rem; font-weight: 700; }
@media (max-width: 760px) { .pm3d model-viewer { aspect-ratio: auto; height: 34dvh; max-height: 320px; } }
.pm__sizes { margin-top: 14px; } .pm__sizes .label { display: block; margin-bottom: 8px; }

/* ===================== Décoration du mois (js/saisons.js, réglable dans Mon atelier) ===================== */
html[data-saison="janvier"] { --violet: #9cc7e8; --pink: #e3f1fb; --yellow: #9cc7e8; --orange: #e3f1fb; --teal: #e3f1fb; --bg: #0a0e13; --soft: #111820; --card: #111820; --card-2: #18212b; --line: #25323f; --text: #eef5fb; --ink-2: #c3d0dc; --muted: #8494a4; --grad: linear-gradient(100deg, #9cc7e8, #e3f1fb); --copper: linear-gradient(100deg, #9cc7e8, #e3f1fb 50%, #9cc7e8); --shadow-lg: 0 30px 60px -20px rgba(156,199,232, .3); --glow: 156,199,232; --bg-rgb: 10,14,19; }
html[data-saison="fevrier"] { --violet: #e58aa3; --pink: #f5c3cf; --yellow: #e58aa3; --orange: #f5c3cf; --teal: #f5c3cf; --bg: #12080b; --soft: #1c0f14; --card: #1c0f14; --card-2: #26141b; --line: #3c2029; --text: #fbeef1; --ink-2: #dcc3ca; --muted: #a1838b; --grad: linear-gradient(100deg, #e58aa3, #f5c3cf); --copper: linear-gradient(100deg, #e58aa3, #f5c3cf 50%, #e58aa3); --shadow-lg: 0 30px 60px -20px rgba(229,138,163, .3); --glow: 229,138,163; --bg-rgb: 18,8,11; }
html[data-saison="mars"] { --violet: #8fcf8a; --pink: #dfe9a8; --yellow: #8fcf8a; --orange: #dfe9a8; --teal: #dfe9a8; --bg: #09110b; --soft: #101a12; --card: #101a12; --card-2: #16231a; --line: #24362a; --text: #eef6ec; --ink-2: #c5d3c4; --muted: #869884; --grad: linear-gradient(100deg, #8fcf8a, #dfe9a8); --copper: linear-gradient(100deg, #8fcf8a, #dfe9a8 50%, #8fcf8a); --shadow-lg: 0 30px 60px -20px rgba(143,207,138, .3); --glow: 143,207,138; --bg-rgb: 9,17,11; }
html[data-saison="avril"] { --violet: #f3a9c1; --pink: #a8d9a0; --yellow: #f3a9c1; --orange: #a8d9a0; --teal: #a8d9a0; --bg: #0a120e; --soft: #111c16; --card: #111c16; --card-2: #17261e; --line: #26392e; --text: #f3f8f2; --ink-2: #cbd8cd; --muted: #8a9b8d; --grad: linear-gradient(100deg, #f3a9c1, #a8d9a0); --copper: linear-gradient(100deg, #f3a9c1, #a8d9a0 50%, #f3a9c1); --shadow-lg: 0 30px 60px -20px rgba(243,169,193, .3); --glow: 243,169,193; --bg-rgb: 10,18,14; }
html[data-saison="mai"] { --violet: #ebc66c; --pink: #f6e6b6; --yellow: #ebc66c; --orange: #f6e6b6; --teal: #f6e6b6; --bg: #0f0e09; --soft: #18170f; --card: #18170f; --card-2: #211f14; --line: #363222; --text: #f8f3e6; --ink-2: #d6cfbb; --muted: #9b937f; --grad: linear-gradient(100deg, #ebc66c, #f6e6b6); --copper: linear-gradient(100deg, #ebc66c, #f6e6b6 50%, #ebc66c); --shadow-lg: 0 30px 60px -20px rgba(235,198,108, .3); --glow: 235,198,108; --bg-rgb: 15,14,9; }
html[data-saison="juin"] { --violet: #a3d47f; --pink: #cdbcec; --yellow: #a3d47f; --orange: #cdbcec; --teal: #cdbcec; --bg: #0a110b; --soft: #121b13; --card: #121b13; --card-2: #19251a; --line: #28382a; --text: #f0f6ec; --ink-2: #c9d5c3; --muted: #899a85; --grad: linear-gradient(100deg, #a3d47f, #cdbcec); --copper: linear-gradient(100deg, #a3d47f, #cdbcec 50%, #a3d47f); --shadow-lg: 0 30px 60px -20px rgba(163,212,127, .3); --glow: 163,212,127; --bg-rgb: 10,17,11; }
html[data-saison="aout"] { --violet: #e6a65a; --pink: #f3d3a3; --yellow: #e6a65a; --orange: #f3d3a3; --teal: #f3d3a3; --bg: #110b07; --soft: #1b130d; --card: #1b130d; --card-2: #251a11; --line: #3b2a1c; --text: #f8efe5; --ink-2: #d8c9b8; --muted: #a08e7b; --grad: linear-gradient(100deg, #e6a65a, #f3d3a3); --copper: linear-gradient(100deg, #e6a65a, #f3d3a3 50%, #e6a65a); --shadow-lg: 0 30px 60px -20px rgba(230,166,90, .3); --glow: 230,166,90; --bg-rgb: 17,11,7; }
html[data-saison="septembre"] { --violet: #e8b54b; --pink: #f2d9a0; --yellow: #e8b54b; --orange: #f2d9a0; --teal: #f2d9a0; --bg: #100c06; --soft: #1a140b; --card: #1a140b; --card-2: #241b0f; --line: #3a2d18; --text: #f8f1e3; --ink-2: #d7cbb3; --muted: #9f927a; --grad: linear-gradient(100deg, #e8b54b, #f2d9a0); --copper: linear-gradient(100deg, #e8b54b, #f2d9a0 50%, #e8b54b); --shadow-lg: 0 30px 60px -20px rgba(232,181,75, .3); --glow: 232,181,75; --bg-rgb: 16,12,6; }
html[data-saison="octobre"] { --violet: #ef8d3f; --pink: #f6c08d; --yellow: #ef8d3f; --orange: #f6c08d; --teal: #f6c08d; --bg: #110904; --soft: #1b1009; --card: #1b1009; --card-2: #26160c; --line: #3d2416; --text: #faefe6; --ink-2: #dcc7b7; --muted: #a38a78; --grad: linear-gradient(100deg, #ef8d3f, #f6c08d); --copper: linear-gradient(100deg, #ef8d3f, #f6c08d 50%, #ef8d3f); --shadow-lg: 0 30px 60px -20px rgba(239,141,63, .3); --glow: 239,141,63; --bg-rgb: 17,9,4; }
html[data-saison="novembre"] { --violet: #cf9364; --pink: #e9c29e; --yellow: #cf9364; --orange: #e9c29e; --teal: #e9c29e; --bg: #0e0907; --soft: #18110d; --card: #18110d; --card-2: #211812; --line: #36271d; --text: #f6eee8; --ink-2: #d4c6bb; --muted: #9b8b7f; --grad: linear-gradient(100deg, #cf9364, #e9c29e); --copper: linear-gradient(100deg, #cf9364, #e9c29e 50%, #cf9364); --shadow-lg: 0 30px 60px -20px rgba(207,147,100, .3); --glow: 207,147,100; --bg-rgb: 14,9,7; }
html[data-saison="decembre"] { --violet: #dcb56a; --pink: #e2525c; --yellow: #dcb56a; --orange: #e2525c; --teal: #e2525c; --bg: #0b0806; --soft: #15100c; --card: #15100c; --card-2: #1e1711; --line: #33271c; --text: #f7f0e4; --ink-2: #d6cab8; --muted: #9d907e; --grad: linear-gradient(100deg, #dcb56a, #e2525c); --copper: linear-gradient(100deg, #dcb56a, #e2525c 50%, #dcb56a); --shadow-lg: 0 30px 60px -20px rgba(220,181,106, .3); --glow: 220,181,106; --bg-rgb: 11,8,6; }
html[data-saison] body { background: var(--bg) radial-gradient(1000px 500px at 85% -10%, rgba(var(--glow), .10), transparent 60%); }
html[data-saison] .header { background: rgba(var(--bg-rgb), .84); }
html[data-saison] .hero::after { background: radial-gradient(ellipse 38% 70% at 50% 45%, rgba(var(--bg-rgb), .9), rgba(var(--bg-rgb), .5) 60%, transparent 100%); }
html[data-saison] .section--dark { background: var(--soft); }
html[data-saison] .product { background: linear-gradient(180deg, var(--card), var(--bg)); }
html[data-saison] .marquee { border-block-color: var(--pink); box-shadow: 0 0 40px -10px rgba(var(--glow), .5); }
@media (max-width: 900px) { html[data-saison] .hero::after { background: rgba(var(--bg-rgb), .5); } }
/* Juillet : version claire et ensoleillée */
html[data-saison="juillet"] { --violet: #d9733a; --pink: #2f9fae; --yellow: #d9733a; --orange: #2f9fae; --teal: #2f9fae; --bg: #f5ede1; --soft: #efe4d4; --card: #fffaf3; --card-2: #f4eadc; --line: #e2d3bf; --text: #2b2018; --ink-2: #5a4a3c; --muted: #85725f; --on-accent: #fff; --grad: linear-gradient(100deg, #d9733a, #e9a34a 50%, #2f9fae); --copper: linear-gradient(100deg, #e9a34a, #f3c98a 50%, #e9a34a); --shadow: 0 10px 30px -14px rgba(90,60,30,.35); --shadow-lg: 0 30px 60px -24px rgba(217,115,58,.35); --glow: 233,163,74; --bg-rgb: 245,237,225; }
html[data-saison="juillet"] .hero h1 { text-shadow: 0 2px 24px rgba(255,250,240,.8); }
html[data-saison="juillet"] .marquee { color: #2b2018; }
/* Décor animé dans le haut de page */
.saison-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.saison-deco span { position: absolute; top: -40px; color: var(--pink); opacity: .55; text-shadow: 0 0 12px rgba(var(--glow), .6); animation: saison-chute linear infinite; will-change: transform; }
.saison-deco span:nth-child(3n) { color: var(--violet); }
html[data-saison="janvier"] .saison-deco span, html[data-saison="decembre"] .saison-deco span:nth-child(2n) { color: #fff; }
@keyframes saison-chute { 0% { transform: translate3d(0, -5vh, 0) rotate(0); } 50% { transform: translate3d(30px, 45vh, 0) rotate(160deg); } 100% { transform: translate3d(-10px, 95vh, 0) rotate(340deg); } }
html[data-saison="juillet"] .saison-deco span, html[data-saison="aout"] .saison-deco span { animation-name: saison-scintille; top: auto; }
@keyframes saison-scintille { 0%, 100% { transform: translateY(0) scale(.6); opacity: 0; } 50% { transform: translateY(-40px) scale(1.1); opacity: .7; } }
html[data-saison="juillet"] .saison-deco span:nth-child(odd), html[data-saison="aout"] .saison-deco span:nth-child(odd) { bottom: 20%; } html[data-saison="juillet"] .saison-deco span:nth-child(even), html[data-saison="aout"] .saison-deco span:nth-child(even) { bottom: 55%; }
@media (prefers-reduced-motion: reduce) { .saison-deco { display: none; } }

.hero__side { background-size: cover; background-repeat: no-repeat; }
.hero__side--left { background-position: 30% center; } .hero__side--right { background-position: 70% center; }
html[data-saison="janvier"] .hero__side--left { background-image: url(/img/saisons/janvier-g.webp); } html[data-saison="janvier"] .hero__side--right { background-image: url(/img/saisons/janvier-d.webp); }
html[data-saison="fevrier"] .hero__side--left { background-image: url(/img/saisons/fevrier-g.webp); } html[data-saison="fevrier"] .hero__side--right { background-image: url(/img/saisons/fevrier-d.webp); }
html[data-saison="mars"] .hero__side--left { background-image: url(/img/saisons/mars-g.webp); } html[data-saison="mars"] .hero__side--right { background-image: url(/img/saisons/mars-d.webp); }
html[data-saison="avril"] .hero__side--left { background-image: url(/img/saisons/avril-g.webp); } html[data-saison="avril"] .hero__side--right { background-image: url(/img/saisons/avril-d.webp); }
html[data-saison="mai"] .hero__side--left { background-image: url(/img/saisons/mai-g.webp); } html[data-saison="mai"] .hero__side--right { background-image: url(/img/saisons/mai-d.webp); }
html[data-saison="juin"] .hero__side--left { background-image: url(/img/saisons/juin-g.webp); } html[data-saison="juin"] .hero__side--right { background-image: url(/img/saisons/juin-d.webp); }
html[data-saison="juillet"] .hero__side--left { background-image: url(/img/saisons/juillet-g.webp); } html[data-saison="juillet"] .hero__side--right { background-image: url(/img/saisons/juillet-d.webp); }
html[data-saison="aout"] .hero__side--left { background-image: url(/img/saisons/aout-g.webp); } html[data-saison="aout"] .hero__side--right { background-image: url(/img/saisons/aout-d.webp); }
html[data-saison="septembre"] .hero__side--left { background-image: url(/img/saisons/septembre-g.webp); } html[data-saison="septembre"] .hero__side--right { background-image: url(/img/saisons/septembre-d.webp); }
html[data-saison="octobre"] .hero__side--left { background-image: url(/img/saisons/octobre-g.webp); } html[data-saison="octobre"] .hero__side--right { background-image: url(/img/saisons/octobre-d.webp); }
html[data-saison="novembre"] .hero__side--left { background-image: url(/img/saisons/novembre-g.webp); } html[data-saison="novembre"] .hero__side--right { background-image: url(/img/saisons/novembre-d.webp); }
html[data-saison="decembre"] .hero__side--left { background-image: url(/img/saisons/decembre-g.webp); } html[data-saison="decembre"] .hero__side--right { background-image: url(/img/saisons/decembre-d.webp); }
.swatch__dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 0 0 1px rgba(0,0,0,.25); }

/* ---------- Catalogue rangé par handicap, puis par matière ---------- */
.filters--mat { width: 100%; order: 3; }
.toolbar .filters:not(.filters--mat) { flex: 1; }
.chip--mat { padding: 7px 14px; font-size: .9rem; }
.chip--resine.is-active { background: #8b5cf6; border-color: #8b5cf6; color: #fff; box-shadow: 0 0 20px -6px rgba(139,92,246,.8); }
.chip--filament.is-active { background: #0ea5b7; border-color: #0ea5b7; color: #fff; box-shadow: 0 0 20px -6px rgba(14,165,183,.8); }
.catalog { display: flex; flex-direction: column; gap: 56px; }
.catblock__head { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.catblock__head h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 4px; }
.catblock__head p { color: var(--muted); margin: 0; }
.matgroup { margin-top: 22px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); border-left-width: 5px; background: rgba(255,255,255,.015); }
.matgroup--resine { border-left-color: #8b5cf6; }
.matgroup--filament { border-left-color: #0ea5b7; }
.matgroup__title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 16px; font-size: 1rem; }
.matgroup__title small { color: var(--muted); font-weight: 400; flex: 1; min-width: 220px; }
.matgroup__title em { font-style: normal; color: var(--muted); font-size: .85rem; }
.mat { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: #fff; white-space: nowrap; }
.mat--resine { background: #8b5cf6; }
.mat--filament { background: #0ea5b7; }
.product__img .mat { position: absolute; top: 14px; right: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.product--resine { border-color: rgba(139,92,246,.35); }
.product--filament { border-color: rgba(14,165,183,.35); }
.pm__mat { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin: 4px 0 10px; }
@media (max-width: 640px) { .matgroup { padding: 12px; } .matgroup__title small { min-width: 0; flex-basis: 100%; order: 3; } .matgroup__title em { margin-left: auto; } }
@media (max-width: 640px) {
  .toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .toolbar { min-width: 0; max-width: 100%; }
  .toolbar .filters { min-width: 0; max-width: calc(100% + 32px); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .toolbar .filters::-webkit-scrollbar { display: none; }
  .toolbar .chip { white-space: nowrap; flex: none; }
  .toolbar .sort { width: 100%; order: 4; }
}

/* ---------- Liseré animé autour de chaque objet ---------- */
@property --la { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.product { position: relative; isolation: isolate; border-color: hsl(var(--h, 30) 70% 55% / .28); }
.product::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--la),
    transparent 0 55%,
    hsl(var(--h, 30) 95% 58%) 72%,
    hsl(calc(var(--h, 30) + 35) 100% 72%) 82%,
    hsl(var(--h, 30) 95% 58%) 90%,
    transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 6px hsl(var(--h, 30) 95% 60% / .55));
  animation: liseré var(--ld, 6s) linear var(--ldel, 0s) infinite var(--ldir, normal);
}
@keyframes liseré { to { --la: 360deg; } }
.product:hover::after { padding: 3px; }
@media (prefers-reduced-motion: reduce) {
  .product::after { animation: none; background: hsl(var(--h, 30) 90% 60% / .7); }
}
