/* SuperCoolShop — styles par page : accueil, boutique, fiche produit, panier, commande, compte, contact, pages légales */

/* =================================================================== ACCUEIL */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-top: 22px; }
.carousel { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #EEF3FA; min-height: 400px; box-shadow: var(--sh-1); isolation: isolate; }
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; z-index: 1; }
.slide-bg { position: absolute; inset: 0; z-index: -1; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transform: scale(1.04); transition: transform 6.5s ease-out; }
.slide.is-active .slide-bg img { transform: scale(1); }
.slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 252, 255, .8) 0%, rgba(250, 252, 255, .45) 40%, rgba(250, 252, 255, 0) 60%); }
.slide-bg.is-missing { background: radial-gradient(circle at 85% 20%, rgba(21, 183, 230, .45), transparent 45%), linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 55%, #1153C4 100%); }
.slide-bg.is-missing::after { display: none; }
.slide-deco { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 34%; max-width: 300px; aspect-ratio: 1; border-radius: 50%; display: none; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .9); }
.slide-deco .ic { width: 46%; height: 46%; stroke-width: 1.2; }
.slide-bg.is-missing + .slide-deco { display: grid; }
.slide-body { position: relative; max-width: 560px; padding: 40px 0 64px 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--navy); color: #fff; font: italic 700 12px/1 var(--ff-title); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow .ic { width: 15px; height: 15px; }
.slide h2 { margin: 16px 0 12px; font: italic 800 clamp(28px, 3.6vw, 46px)/1.05 var(--ff-title); color: var(--navy-900); letter-spacing: -.02em; }
.slide h2 span { color: var(--orange); }
.slide p { font-size: 16.5px; color: var(--text-2); max-width: 440px; margin-bottom: 24px; }
.slide-bg.is-missing ~ .slide-body h2 { color: #fff; }
.slide-bg.is-missing ~ .slide-body h2 span { color: var(--cyan); }
.slide-bg.is-missing ~ .slide-body p { color: rgba(255, 255, 255, .85); }
.slide-bg.is-missing ~ .slide-body .eyebrow { background: var(--orange); }
.slide-stat { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: -10px 0 22px; font: 600 13px/1.2 var(--ff-title); color: var(--navy-800); min-height: 16px; }
.slide-stat span { display: inline-flex; align-items: center; gap: 6px; }
.slide-stat .ic { width: 16px; height: 16px; color: var(--orange); }
.slide-bg.is-missing ~ .slide-body .slide-stat { color: #fff; }
.slide-bg.is-missing ~ .slide-body .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.slide-bg.is-missing ~ .slide-body .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.slide-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.car-arrows { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: flex; gap: 8px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: var(--sh-2); transition: background .15s, transform .15s; }
.car-btn:hover { background: #fff; transform: scale(1.06); }
.car-dots { position: absolute; left: 56px; bottom: 26px; z-index: 3; display: flex; gap: 6px; }
.car-dot { width: 28px; height: 28px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.car-dot::before { content: ''; width: 10px; height: 10px; border-radius: 999px; background: rgba(12, 58, 140, .28); transition: width .3s var(--ease), background .3s; }
.car-dot[aria-current="true"]::before { width: 28px; background: var(--orange); }
.carousel.is-dark .car-dot::before { background: rgba(255, 255, 255, .45); }
.carousel.is-dark .car-dot[aria-current="true"]::before { background: var(--orange); }
.car-progress { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--orange); width: 0; z-index: 3; }
.car-progress.is-run { animation: carprog var(--dur, 6s) linear forwards; }
.carousel:hover .car-progress, .carousel:focus-within .car-progress { animation-play-state: paused; }
@keyframes carprog { from { width: 0; } to { width: 100%; } }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.side-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border-radius: var(--r-xl); overflow: hidden; color: #fff; min-height: 190px; isolation: isolate; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 100%); }
.side-card:hover { color: #fff; }
.side-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.side-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 29, 77, .05) 20%, rgba(6, 29, 77, .86) 100%); }
.side-card:hover img { transform: scale(1.05); }
.side-card.alt { background: linear-gradient(135deg, #0B7FB0 0%, var(--navy) 100%); }
.side-ic { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: #fff; }
.side-card.alt .side-ic { background: var(--cyan); }
.side-card strong { font: italic 800 21px/1.15 var(--ff-title); }
.side-card span.s { font-size: 13.5px; color: rgba(255, 255, 255, .86); margin-top: 4px; }
.side-card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font: 600 13.5px/1 var(--ff-title); }
.side-card .go .ic { width: 16px; height: 16px; transition: transform .2s; }
.side-card:hover .go .ic { transform: translateX(3px); }

.assure { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.assure li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.assure li + li { border-left: 1px solid var(--line-2); }
.assure .a-ic { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.assure li:nth-child(2) .a-ic { background: var(--cyan-50); color: #0B8EB8; }
.assure li:nth-child(3) .a-ic { background: var(--orange-50); color: var(--orange-600); }
.assure li:nth-child(4) .a-ic { background: #E8F7EE; color: var(--wa-600); }
.assure .ic { width: 24px; height: 24px; }
.assure strong { display: block; font: 600 14.5px/1.3 var(--ff-title); }
.assure span { font-size: 13px; color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cat-tile { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--text); transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s; }
.cat-tile:hover { color: var(--text); box-shadow: var(--sh-3); transform: translateY(-3px); border-color: transparent; }
.cat-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, #1153C4 100%); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile:hover .cat-media img { transform: scale(1.06); }
.cat-media.is-missing { display: grid; place-items: center; color: rgba(255, 255, 255, .9); }
.cat-media.is-missing::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .12) 1px, transparent 0) 0 0 / 16px 16px; }
.cat-media .big-ic { width: 64px; height: 64px; stroke-width: 1.3; }
.cat-badge { position: absolute; left: 16px; bottom: -22px; z-index: 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); color: var(--navy); box-shadow: 0 8px 20px -8px rgba(8, 39, 102, .5); transition: background .2s, color .2s; }
.cat-tile:hover .cat-badge { background: var(--orange); color: #fff; }
.cat-badge .ic { width: 24px; height: 24px; }
.cat-info { padding: 30px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat-info strong { font: 700 16px/1.3 var(--ff-title); }
.cat-info .n { font-size: 13px; color: var(--muted); }
.cat-info .from { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--text-2); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cat-info .from b { font: 700 15px/1 var(--ff-title); color: var(--navy); }
.cat-tile.all-tile { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; border-color: transparent; justify-content: center; padding: 26px; }
.cat-tile.all-tile:hover { color: #fff; }
.all-tile .ic.big { width: 44px; height: 44px; color: var(--cyan); margin-bottom: 14px; }
.all-tile strong { font: italic 800 22px/1.15 var(--ff-title); }
.all-tile span { color: rgba(255, 255, 255, .8); font-size: 14px; margin-top: 6px; }
.all-tile .btn { margin-top: 18px; align-self: flex-start; }

.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--text-2); font: 600 14px/1 var(--ff-title); transition: all .15s;
}
.tab .ic { width: 17px; height: 17px; color: var(--navy); }
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab[aria-selected="true"] .ic { color: #fff; }
.rail-wrap { position: relative; margin-top: 18px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; margin: -4px -2px 0; scrollbar-width: thin; scrollbar-color: #CBD5E3 transparent; }
.rail > * { scroll-snap-align: start; }
.rail.is-fading { opacity: 0; transform: translateY(6px); }
.rail { transition: opacity .25s, transform .25s; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--navy); display: grid; place-items: center; transition: all .15s; }
.rail-btn:hover:not([disabled]) { background: var(--navy); border-color: var(--navy); color: #fff; }
.rail-btn[disabled] { opacity: .4; cursor: default; }
.tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tabs-row .tabs { min-width: 0; }

.promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.promo { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 250px; border-radius: var(--r-xl); overflow: hidden; color: #fff; background: linear-gradient(130deg, var(--navy-900) 0%, var(--navy) 100%); isolation: isolate; }
.promo:hover { color: #fff; }
.promo.p2 { background: linear-gradient(130deg, #0A6E9A 0%, #0C3A8C 100%); }
.promo-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.promo-body .eyebrow { align-self: flex-start; background: var(--orange); }
.promo.p2 .promo-body .eyebrow { background: var(--cyan); color: var(--navy-900); }
.promo-body strong { font: italic 800 26px/1.1 var(--ff-title); margin-top: 6px; }
.promo-body p { color: rgba(255, 255, 255, .82); font-size: 14px; }
.promo-body .chips { margin-top: 4px; }
.promo-body .chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; min-height: 28px; font-size: 11.5px; }
.promo-body .btn { align-self: flex-start; margin-top: 10px; }
.promo-media { position: relative; overflow: hidden; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.promo:hover .promo-media img { transform: scale(1.05); }
.promo-media::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: 1; background: linear-gradient(90deg, var(--navy) 0%, rgba(12, 58, 140, 0) 100%); }
.promo.p2 .promo-media::before { background: linear-gradient(90deg, #0B4FA0 0%, rgba(12, 58, 140, 0) 100%); }
.promo-media.is-missing { display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.promo-media.is-missing::before { display: none; }
.promo-media .big-ic { width: 96px; height: 96px; stroke-width: 1.2; }

.brands { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.brand {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 116px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg); color: #42526B; font: italic 800 16px/1 var(--ff-title); letter-spacing: .04em; transition: all .18s var(--ease);
}
.brand small { font: 500 11px/1 var(--ff-text); font-style: normal; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.brand:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }
.brand:hover small { color: rgba(255, 255, 255, .75); }

.helpbox { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 36px 40px; border-radius: var(--r-xl); overflow: hidden; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(21, 183, 230, .35), transparent 40%), linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 100%); }
.helpbox::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(243, 108, 33, .14); }
.helpbox h2 { color: #fff; font: italic 800 28px/1.15 var(--ff-title); }
.helpbox p { color: rgba(255, 255, 255, .82); margin-top: 8px; max-width: 620px; }
.helpbox ol { display: flex; gap: 18px; flex-wrap: wrap; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: s; }
.helpbox li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .9); counter-increment: s; }
.helpbox li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--ff-title); }
.help-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; min-width: 250px; }

/* =================================================================== BOUTIQUE */
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 6px 0 18px; }
.shop-head h1 { font-size: 30px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.shop-head h1 .h-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; flex: none; }
.shop-head h1 .h-ic .ic { width: 24px; height: 24px; }
.shop-head .count { color: var(--muted); margin-top: 6px; font-size: 14px; }
.shop-layout { display: grid; grid-template-columns: 286px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { position: sticky; top: 156px; max-height: calc(100vh - 172px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); scrollbar-width: thin; scrollbar-color: #CBD5E3 transparent; }
.filters-head { display: none; }
.fgroup { padding: 18px 18px 16px; border-bottom: 1px solid var(--line-2); }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup h2 { font: 700 13px/1 var(--ff-title); text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.fgroup h2 button { font: 600 12px/1 var(--ff-text); text-transform: none; letter-spacing: 0; color: var(--navy); background: none; border: 0; min-height: 32px; }
.flist { display: flex; flex-direction: column; gap: 1px; max-height: 300px; overflow-y: auto; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; }
.fopt { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 8px; border-radius: 8px; cursor: pointer; color: var(--text-2); font-size: 14px; transition: background .12s; }
.fopt:hover { background: var(--bg); }
.fopt input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); flex: none; }
.fopt .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fopt .n { font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 2px 8px; }
.fopt.is-on { color: var(--navy); font-weight: 600; }
.fopt.is-on .n { background: var(--navy-50); color: var(--navy); }
.fopt.is-zero { opacity: .45; }
.fcat { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 10px; color: var(--text-2); font-size: 14px; }
.fcat .ic { width: 18px; height: 18px; color: var(--navy); }
.fcat .lbl { flex: 1; }
.fcat .n { font-size: 12px; color: var(--muted); }
.fcat:hover { background: var(--bg); color: var(--navy); }
.fcat.is-on { background: var(--navy); color: #fff; font-weight: 600; }
.fcat.is-on .ic, .fcat.is-on .n { color: #fff; }
.fsearch { position: relative; margin-bottom: 8px; }
.fsearch .input { min-height: 40px; padding-left: 36px; font-size: 14px; }
.fsearch .ic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; font-size: 14.5px; font-weight: 500; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .tg { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #CBD5E3; transition: background .2s; flex: none; }
.switch .tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.switch input:checked + .tg { background: var(--green); }
.switch input:checked + .tg::after { transform: translateX(18px); }
.switch input:focus-visible + .tg { outline: 3px solid var(--cyan); outline-offset: 2px; }
.range { position: relative; height: 32px; margin: 4px 4px 10px; }
.range-track { position: absolute; left: 0; right: 0; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 999px; background: var(--line); }
.range-fill { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--navy); }
.range input[type=range] { position: absolute; left: -4px; right: -4px; width: calc(100% + 8px); top: 0; height: 32px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: 0 2px 6px rgba(12, 58, 140, .3); cursor: grab; }
.range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: 0 2px 6px rgba(12, 58, 140, .3); cursor: grab; }
.range input[type=range]::-webkit-slider-runnable-track { background: none; }
.range input[type=range]::-moz-range-track { background: none; }
.range input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--cyan); outline-offset: 2px; }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.price-inputs .input { min-height: 40px; font-size: 14px; padding: 0 10px; }
.price-inputs span { color: var(--muted); }
.filters-foot { display: none; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-filters { display: none; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort .select { min-height: 44px; width: auto; min-width: 200px; font-size: 14px; font-weight: 500; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.achip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 6px 0 12px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-size: 13px; font-weight: 600; border: 0; }
.achip .ic { width: 15px; height: 15px; }
.achip:hover { background: var(--navy); color: #fff; }
.achip.clear { background: none; color: var(--muted); text-decoration: underline; padding: 0 8px; }
.achip.clear:hover { color: var(--red); background: none; }
.results.is-loading { opacity: .5; transition: opacity .15s; }

.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pager button, .pager span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text-2); font: 600 14px/1 var(--ff-title); display: inline-grid; place-items: center; }
.pager span { border-color: transparent; background: none; }
.pager button:hover:not([disabled]) { border-color: var(--navy); color: var(--navy); }
.pager button[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager button[disabled] { opacity: .4; cursor: default; }
.pager .ic { width: 18px; height: 18px; }
.pager-info { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }

/* =================================================================== FICHE PRODUIT */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: start; margin-top: 8px; }
.gallery { position: sticky; top: 156px; }
.zoom {
  position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; cursor: zoom-in;
}
.zoom img { width: 100%; height: 100%; object-fit: contain; padding: 28px; transition: transform .25s ease; transform-origin: center; }
.zoom.is-zoomed img { transform: scale(2.1); }
.zoom.is-zoomed { cursor: zoom-out; }
.zoom.is-missing { cursor: default; }
.zoom .ph-ic { width: 110px; height: 110px; border-radius: 30px; }
.zoom .ph-ic .ic { width: 52px; height: 52px; }
.zoom .ph-label { font-size: 14px; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgba(15, 23, 42, .72); color: #fff; font-size: 12px; pointer-events: none; transition: opacity .2s; }
.zoom-hint .ic { width: 15px; height: 15px; }
.zoom.is-zoomed .zoom-hint { opacity: 0; }
.zoom.is-missing .zoom-hint { display: none; }
.zoom > .badge { position: absolute; top: 16px; left: 16px; z-index: 2; height: 28px; font-size: 12.5px; padding: 0 12px; }
.ph-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.ph-note .ic { width: 15px; height: 15px; }

.pinfo { display: flex; flex-direction: column; gap: 16px; }
.pinfo-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pinfo-tags a { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font: 600 12.5px/1 var(--ff-title); }
.pinfo-tags a .ic { width: 15px; height: 15px; }
.pinfo-tags a:hover { background: var(--navy); color: #fff; }
.pinfo-tags a.brand-tag { background: var(--cyan-50); color: #0A7FA6; letter-spacing: .04em; }
.pinfo h1 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.22; overflow-wrap: anywhere; }
.pmeta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; font-size: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.pmeta dt { color: var(--muted); }
.pmeta dd { margin: 0; color: var(--text); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.copy-ref { display: inline-flex; align-items: center; gap: 8px; border: 1px dashed #B7C3D6; background: var(--bg); border-radius: 8px; padding: 3px 6px 3px 10px; font: 600 13.5px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--text); min-height: 32px; }
.copy-ref .ic { width: 16px; height: 16px; color: var(--navy); }
.copy-ref:hover { border-color: var(--navy); background: var(--navy-50); }
.copy-ref.is-done .ic { color: var(--green); }
.buybox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--sh-1); }
.buy-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 30px; }
.buy-price .ttc { font-size: 12px; }
.avail { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.avail .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex: none; background: var(--green); box-shadow: 0 0 0 4px var(--green-50); }
.avail.order .dot { background: #E59A1B; box-shadow: 0 0 0 4px var(--amber-50); }
.avail strong { font-family: var(--ff-title); }
.avail span { color: var(--muted); display: block; font-size: 13px; }
.buy-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.buy-row .qty { height: 54px; }
.buy-row .qty-btn { width: 46px; }
.buy-row .qty-in { width: 44px; font-size: 16px; }
.buy-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wa-q { display: inline-flex; align-items: center; gap: 8px; color: var(--wa-600); font-weight: 600; font-size: 14px; min-height: 44px; }
.wa-q .ic { width: 22px; height: 22px; }
.wa-q:hover { color: var(--wa); text-decoration: underline; text-underline-offset: 3px; }
.mini-assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-assure li { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.mini-assure .ic { width: 22px; height: 22px; color: var(--navy); }
.mini-assure strong { font: 600 13px/1.3 var(--ff-title); color: var(--text); }

.ptabs { margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ptabs [role=tablist] { display: flex; gap: 4px; padding: 8px 10px 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ptab { position: relative; flex: none; min-height: 50px; padding: 0 18px; border: 0; background: none; color: var(--muted); font: 600 15px/1 var(--ff-title); }
.ptab[aria-selected=true] { color: var(--navy); }
.ptab[aria-selected=true]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--orange); }
.ptab:hover { color: var(--navy); }
.ppanel { padding: 24px 26px 28px; font-size: 15px; color: var(--text-2); line-height: 1.7; }
.ppanel p + p { margin-top: 10px; }
.ppanel h3 { font-size: 16px; margin: 18px 0 8px; color: var(--text); }
.spec { width: 100%; max-width: 640px; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-2); }
.spec th { width: 38%; color: var(--muted); font-weight: 500; background: var(--bg); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--line-2); }
.ticks { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { width: 20px; height: 20px; color: var(--green); margin-top: 2px; }

.nf { max-width: 640px; margin: 40px auto 0; }
.nf .code { font: italic 800 72px/1 var(--ff-title); color: var(--navy); letter-spacing: -.03em; }
.nf .code span { color: var(--orange); }
.nf form { display: flex; gap: 8px; width: 100%; max-width: 460px; margin-top: 6px; }

.pdp-sk .sk-media { aspect-ratio: 1; border-radius: var(--r-xl); }

/* =================================================================== PANIER */
.page-title { font-size: 30px; font-weight: 700; margin: 6px 0 20px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.page-title small { font: 500 15px var(--ff-text); color: var(--muted); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.cart-box { padding: 6px 24px 10px; }
.cart-cols { display: grid; grid-template-columns: 88px minmax(0, 1fr) 140px 130px 44px; column-gap: 18px; padding: 16px 0 12px; border-bottom: 1px solid var(--line); font: 600 12px/1 var(--ff-title); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cart-cols span:first-child { grid-column: 1 / 3; }
.cart-cols span:nth-child(3) { text-align: right; }
.cart-page .cline { grid-template-columns: 88px minmax(0, 1fr) 140px 130px 44px; grid-template-areas: 'media info qty sub del'; column-gap: 18px; padding: 20px 0; }
.cart-page .cline:last-child { border-bottom: 0; }
.cart-page .cline-media { width: 88px; height: 88px; }
.cart-page .cline-name { font-size: 15px; }
.cart-page .cline-qty .qty { height: 44px; }
.cart-page .cline-sub { font-size: 16px; }
.cart-page .cline-del { align-self: center; margin: 0; }
.cart-actions { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.summary { position: sticky; top: 156px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.summary h2 { font-size: 19px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--text-2); }
.sum-row b { font-family: var(--ff-title); color: var(--text); font-weight: 600; text-align: right; }
.sum-row .muted { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); font: 600 16px/1 var(--ff-title); }
.sum-total .price { font-size: 24px; }
.sum-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--navy-50); color: var(--navy-800); font-size: 13.5px; line-height: 1.45; }
.sum-note .ic { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.sum-ticks { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; font-size: 13.5px; color: var(--muted); }
.sum-ticks li { display: flex; gap: 8px; align-items: center; }
.sum-ticks .ic { width: 18px; height: 18px; color: var(--green); }
.mobile-bar { display: none; }

/* =================================================================== COMMANDE */
.stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 4px 0 22px; counter-reset: st; }
.stepper li { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font: 600 14px/1.2 var(--ff-title); color: var(--muted); }
.stepper .n { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--line); font-size: 13px; color: var(--muted); transition: all .2s; }
.stepper .n .ic { width: 16px; height: 16px; }
.stepper li.is-current { border-color: var(--navy); color: var(--navy); box-shadow: 0 0 0 3px rgba(12, 58, 140, .08); }
.stepper li.is-current .n { background: var(--navy); border-color: var(--navy); color: #fff; }
.stepper li.is-done { color: var(--text); }
.stepper li.is-done .n { background: var(--green); border-color: var(--green); color: #fff; }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.step.is-current { border-color: #BFD0EC; box-shadow: var(--sh-2); }
.step-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.step-head h2 { font-size: 18px; flex: 1; }
.step-head .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--line); font: 700 14px/1 var(--ff-title); color: var(--muted); flex: none; }
.step.is-current .step-head .n { background: var(--navy); border-color: var(--navy); color: #fff; }
.step.is-done .step-head .n { background: var(--green); border-color: var(--green); color: #fff; }
.step-head .n .ic { width: 16px; height: 16px; }
.step-edit { font: 600 13.5px/1 var(--ff-title); color: var(--navy); background: none; border: 0; min-height: 40px; padding: 0 8px; border-radius: 8px; }
.step-edit:hover { background: var(--navy-50); }
.step-sum { padding: 0 22px 18px 68px; margin-top: -6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.step-body { padding: 4px 22px 22px; }
.step:not(.is-current) .step-body { display: none; }
.step.is-current .step-sum, .step:not(.is-done) .step-sum { display: none; }
.step:not(.is-done) .step-edit { display: none; }
.step.is-current .step-edit { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.options { display: grid; gap: 12px; }
.opt { position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.opt:hover { border-color: #AFC1DE; }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.opt .o-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.opt .o-ic .ic { width: 24px; height: 24px; }
.opt strong { display: block; font: 600 15px/1.3 var(--ff-title); }
.opt span.d { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.opt:has(input:checked) { border-color: var(--navy); background: #F7FAFF; box-shadow: 0 0 0 3px rgba(12, 58, 140, .08); }
.opt.is-checked { border-color: var(--navy); background: #F7FAFF; box-shadow: 0 0 0 3px rgba(12, 58, 140, .08); }
.recap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.recap > div { padding: 14px 16px; border-radius: var(--r); background: var(--bg); font-size: 14px; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.recap h3 { font: 700 12px/1 var(--ff-title); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.wa-explain { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: #EAF8F0; color: #0F5132; font-size: 14px; line-height: 1.5; }
.wa-explain .ic { width: 24px; height: 24px; color: var(--wa-600); flex: none; }
.co-sum-lines { display: flex; flex-direction: column; gap: 12px; max-height: 340px; overflow-y: auto; padding-right: 4px; }
.co-line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; }
.co-line .m { position: relative; width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; }
.co-line .m img { width: 100%; height: 100%; object-fit: contain; padding: 3px; border-radius: 10px; }
.co-line .m .ph { border-radius: 10px; }
.co-line .m .ph-label { display: none; }
.co-line .m .ph-ic { width: 30px; height: 30px; border-radius: 8px; box-shadow: none; }
.co-line .m .ph-ic .ic { width: 16px; height: 16px; }
.co-line .q { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--navy); color: #fff; font: 700 11px/22px var(--ff-title); text-align: center; }
.co-line .nm { font-weight: 600; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-line .rf { font-size: 12px; color: var(--muted); }
.co-line .pr { font: 600 13.5px/1 var(--ff-title); white-space: nowrap; }

.done { max-width: 860px; margin: 10px auto 0; }
.done-hero { text-align: center; padding: 40px 24px 30px; }
.done-check { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 0 0 10px var(--green-50); animation: popin .5s var(--ease); }
.done-check .ic { width: 42px; height: 42px; stroke-width: 2.4; }
@keyframes popin { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.done-hero h1 { font-size: 28px; }
.done-no { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 16px; border-radius: 12px; background: var(--navy-50); color: var(--navy); font: 700 18px/1 var(--ff-title); letter-spacing: .04em; }
.done-hero p { color: var(--muted); max-width: 560px; margin: 14px auto 0; }
.done-alert { display: flex; gap: 12px; margin: 0 24px; padding: 14px 16px; border-radius: var(--r); background: var(--amber-50); color: #7A4505; font-size: 14px; line-height: 1.5; }
.done-alert .ic { width: 22px; height: 22px; flex: none; }
.done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 22px 24px; }
.receipt { margin: 0 24px 24px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.receipt table { width: 100%; border-collapse: collapse; font-size: 14px; }
.receipt th, .receipt td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.receipt th { background: var(--bg); font: 600 12px/1.2 var(--ff-title); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.receipt td.r, .receipt th.r { text-align: right; white-space: nowrap; }
.receipt tfoot td { font: 700 16px/1.2 var(--ff-title); color: var(--navy); border-bottom: 0; }
.receipt-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; font-size: 13.5px; line-height: 1.5; background: var(--bg); }
.receipt-meta h3 { font: 700 11.5px/1 var(--ff-title); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.print-head { display: none; }

/* =================================================================== COMPTE */
.acc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.panel { padding: 22px 24px; }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.panel h2 .ic { color: var(--navy); }
.panel > p.sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.info-banner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 20px 22px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--navy-900), var(--navy)); color: rgba(255, 255, 255, .86); margin-bottom: 18px; }
.info-banner .ic { width: 28px; height: 28px; color: var(--cyan); }
.info-banner strong { color: #fff; font: 600 16px/1.3 var(--ff-title); display: block; margin-bottom: 4px; }
.info-banner .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.order { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.order + .order { margin-top: 12px; }
.order summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; min-height: 60px; }
.order summary::-webkit-details-marker { display: none; }
.order summary:hover { background: var(--bg); }
.order .o-no { font: 700 15px/1.2 var(--ff-title); color: var(--navy); }
.order .o-date { font-size: 13px; color: var(--muted); }
.order .o-total { font: 700 15px/1 var(--ff-title); white-space: nowrap; }
.order .chev { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.order[open] .chev { transform: rotate(180deg); }
.order-body { padding: 4px 16px 16px; border-top: 1px solid var(--line-2); }
.order-body table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 8px; }
.order-body td { padding: 8px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.order-body td.r { text-align: right; white-space: nowrap; padding-left: 10px; }
.order-body .meta { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.order-body .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* =================================================================== CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ccard { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.ccard .c-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: 8px; }
.ccard.wa .c-ic { background: #E8F7EE; color: var(--wa-600); }
.ccard .c-ic .ic { width: 24px; height: 24px; }
.ccard h2 { font-size: 17px; }
.ccard a, .ccard p { font-size: 15px; color: var(--text-2); }
.ccard a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 600; color: var(--navy); }
.ccard .btn { margin-top: 8px; align-self: flex-start; color: #fff; }
.contact-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; align-items: stretch; }
.map { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #EAF0F9, #DCE6F5); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--navy); text-align: center; padding: 20px; }
.map-ph .ic { width: 40px; height: 40px; }

/* =================================================================== PAGES LÉGALES */
.legal { max-width: 860px; margin: 0 auto; }
.legal .card { padding: 34px 40px; }
.legal h1 { font-size: 30px; margin-bottom: 6px; }
.legal .upd { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
.legal h2 { font-size: 19px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--text-2); line-height: 1.7; }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.legal li + li { margin-top: 4px; }
.legal .todo { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--amber-50); color: var(--amber); font-weight: 600; font-size: 13px; }

/* =================================================================== RÉACTIF */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .side-card { min-height: 170px; padding-top: 72px; }
  .assure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assure li:nth-child(3) { border-left: 0; }
  .assure li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .rail { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .shop-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .cart-layout, .co-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .cart-cols, .cart-page .cline { grid-template-columns: 76px minmax(0, 1fr) 130px 110px 44px; column-gap: 14px; }
  .cart-page .cline-media { width: 76px; height: 76px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .carousel { min-height: 360px; }
  .slide-body { padding: 28px 24px 70px 28px; max-width: 520px; }
  .car-dots { left: 22px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .promos { grid-template-columns: 1fr; }
  .helpbox { grid-template-columns: 1fr; padding: 28px 24px; }
  .help-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }

  .shop-layout { grid-template-columns: 1fr; }
  .shop-head h1 { font-size: 24px; }
  .btn-filters { display: inline-flex; }
  .filters {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 95; width: min(360px, 90vw); max-height: none; border-radius: 0; border: 0;
    display: flex; flex-direction: column; overflow: hidden; transform: translateX(-104%); visibility: hidden;
    transition: transform .3s var(--ease), visibility 0s linear .3s; box-shadow: 20px 0 50px -20px rgba(6, 18, 45, .4);
  }
  .filters.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  .filters-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 12px 18px; border-bottom: 1px solid var(--line); }
  .filters-head h2 { font-size: 18px; }
  .filters-body { flex: 1; overflow-y: auto; }
  .filters-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); background: var(--bg); }

  .pdp { grid-template-columns: 1fr; gap: 22px; }
  .gallery { position: static; max-width: 560px; width: 100%; margin: 0 auto; }
  .ptabs { margin-top: 28px; }
  .ppanel { padding: 20px 18px 22px; }

  .cart-layout, .co-layout, .acc-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-box { padding: 4px 16px 6px; }
  .cart-cols { display: none; }
  .cart-page .cline { grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: 'media info del' 'media qty sub'; column-gap: 14px; padding: 16px 0; }
  .cart-page .cline-del { align-self: start; margin: -6px -8px 0 0; }
  .mobile-bar { display: flex; position: sticky; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; margin: 18px calc(var(--gutter) * -1) 0; padding: 12px var(--gutter); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(8, 39, 102, .35); }
  .mobile-bar .t { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
  .mobile-bar .price { font-size: 17px; }
  .stepper li span.l { display: none; }
  .stepper li { justify-content: center; padding: 10px; }
  .page-title { font-size: 24px; }
  .contact-main { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .legal .card { padding: 24px 20px; }
}
@media (max-width: 760px) {
  .hero { margin-top: 14px; gap: 12px; }
  .carousel { min-height: 0; aspect-ratio: auto; height: 420px; border-radius: var(--r-lg); }
  .slide { align-items: flex-end; }
  .slide-bg img { object-position: 72% center; }
  .slide-bg::after { background: linear-gradient(0deg, rgba(250, 252, 255, .97) 0%, rgba(250, 252, 255, .9) 48%, rgba(250, 252, 255, .1) 78%); }
  .slide-deco { top: 26%; right: 50%; transform: translate(50%, -50%); width: 46%; }
  .slide-body { padding: 0 20px 70px; }
  .slide h2 { font-size: 27px; margin: 12px 0 8px; }
  .slide p { font-size: 14.5px; margin-bottom: 16px; }
  .car-arrows { right: 12px; bottom: 12px; }
  .car-btn { width: 40px; height: 40px; }
  .car-dots { left: 12px; bottom: 18px; }
  .hero-side { grid-template-columns: 1fr; gap: 12px; }
  .side-card { min-height: 150px; border-radius: var(--r-lg); padding-top: 72px; }
  .assure { grid-template-columns: 1fr; }
  .assure li + li { border-left: 0; border-top: 1px solid var(--line-2); }
  .assure li { padding: 14px 16px; }
  .cat-grid { gap: 12px; }
  .cat-info { padding: 28px 12px 14px; }
  .cat-info strong { font-size: 14.5px; }
  .cat-badge { width: 42px; height: 42px; left: 12px; bottom: -19px; }
  .cat-tile.all-tile { padding: 18px; }
  .all-tile strong { font-size: 18px; }
  .rail { grid-auto-columns: 72%; gap: 12px; }
  .rail-nav { display: none; }
  .promo { grid-template-columns: 1fr; min-height: 0; }
  .promo-media { height: 180px; order: -1; }
  .promo-media::before { inset: auto 0 0 0; width: auto; height: 50%; background: linear-gradient(0deg, var(--navy-900) 0%, rgba(12, 58, 140, 0) 100%); }
  .promo.p2 .promo-media::before { background: linear-gradient(0deg, #0A6E9A 0%, rgba(12, 58, 140, 0) 100%); }
  .promo-body { padding: 18px 20px 24px; }
  .promo-body strong { font-size: 22px; }
  .brands { padding: 16px; gap: 8px; }
  .brand { min-width: 0; min-height: 46px; font-size: 14px; padding: 0 14px; }
  .helpbox h2 { font-size: 23px; }
  .helpbox ol { flex-direction: column; gap: 8px; }
  .help-actions .btn { flex: 1 1 100%; }

  .toolbar { gap: 10px; }
  .toolbar .left { width: 100%; }
  .sort { width: 100%; justify-content: space-between; }
  .sort .select { flex: 1; min-width: 0; }
  .btn-filters { flex: none; }

  .mini-assure { grid-template-columns: 1fr; }
  .mini-assure li { flex-direction: row; align-items: center; gap: 12px; }
  .buy-price { font-size: 26px; }
  .buy-alt { grid-template-columns: 1fr; }
  .spec th { width: 42%; }

  .form-grid { grid-template-columns: 1fr; }
  .recap, .receipt-meta { grid-template-columns: 1fr; }
  .step-head { padding: 16px; }
  .step-body { padding: 4px 16px 18px; }
  .step-sum { padding: 0 16px 16px 62px; }
  .step-actions .btn { flex: 1; }
  .done-alert, .receipt { margin-left: 14px; margin-right: 14px; }
  .receipt th:nth-child(2), .receipt td:nth-child(2) { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .nf .code { font-size: 56px; }
  .nf form { flex-direction: column; }
}
@media (max-width: 420px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-info .from b { font-size: 13.5px; }
  .opt { grid-template-columns: auto minmax(0, 1fr); }
  .opt .o-ic { display: none; }
  .cart-page .cline { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .cart-page .cline-media { width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide-bg img { transform: none !important; }
}

/* écrans tactiles : toutes les cibles à 44 px minimum (feuille chargée après shop.css sur toutes les pages) */
@media (pointer: coarse) {
  .chip, .achip, .sg-chip, .copy-ref, .step-edit, .toast-act, .crumbs a, .f-col a, .mega-list a, .pinfo-tags a, .acc-list a, .fopt, .fcat, .sg-item { min-height: 44px; }
  .car-dot { width: 44px; height: 44px; }
  .cline-qty .qty, .cart-page .cline-qty .qty { height: 44px; }
  .cline-qty .qty-btn { width: 44px; }
  .toast-x { width: 44px; height: 44px; }
}

@media print {
  body { font-size: 12px; }
  .crumbs, .done-actions, .done-alert, .page-title, .stepper, .mobile-bar { display: none !important; }
  .print-head { display: flex; justify-content: space-between; align-items: center; padding: 0 0 14px; border-bottom: 2px solid #0C3A8C; margin-bottom: 14px; }
  .print-head img { width: 200px; }
  .done-hero { padding: 0 0 12px; text-align: left; }
  .done-check { display: none; }
  .done-hero p { margin: 6px 0 0; }
  .receipt { margin: 0; border-color: #999; }
  .card { border: 0; }
}

/* lisibilité du texte des diapositives : voile clair plus large sur bureau, photo en arrière-plan atténuée sur mobile */
.slide-bg::after { background: linear-gradient(90deg, rgba(250, 252, 255, .97) 0%, rgba(250, 252, 255, .92) 38%, rgba(250, 252, 255, .35) 62%, rgba(250, 252, 255, 0) 78%); }
@media (max-width: 760px) {
  .slide-bg img { object-position: 78% center; }
  .slide-bg::after { background: linear-gradient(180deg, rgba(250, 252, 255, .9) 0%, rgba(250, 252, 255, .86) 60%, rgba(250, 252, 255, .7) 100%); }
}
