:root {
  --navy: #0f014c;
  --navy-2: #1c0b6e;
  --accent: #0b9b93;
  --cyan: #00e5dc;
  --accent-dark: #087f78;
  --green: #16a34a;
  --red: #dc2626;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
main { min-height: 60vh; outline: none; }
.hide-sm { display: inline; }

/* ---------- Top bar & header ---------- */
.topbar { background: #08002e; color: #c7d2fe; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding: 7px 16px; }
.header { position: sticky; top: 0; z-index: 40; background: var(--navy); }
.header-inner { display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--navy); white-space: nowrap; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: var(--accent); display: grid; place-items: center; font-size: 15px; letter-spacing: .5px; }
.logo span.accent { color: var(--accent); }
.search { flex: 1; display: flex; max-width: 620px; margin: 0 auto; border: 2px solid transparent; border-radius: 999px; overflow: hidden; background: #fff; }
.search input { flex: 1; border: 0; padding: 10px 16px; outline: none; min-width: 0; background: transparent; }
.search button { border: 0; background: var(--accent); color: #fff; padding: 0 18px; }
.header-actions { display: flex; gap: 6px; }
.icon-btn { position: relative; border: 0; background: transparent; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; }
.header .icon-btn { color: #fff; }
.icon-btn:hover { background: rgba(127,127,160,.15); }
.count { position: absolute; top: 2px; right: 0; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }
.count.zero { display: none; }
.menu-btn { display: none; }
.catnav { background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.catnav::-webkit-scrollbar { display: none; }
.catnav-inner { display: flex; gap: 4px; padding: 6px 16px; max-width: 1240px; margin: 0 auto; }
.catnav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #334155; }
.catnav a:hover, .catnav a.active { background: #e3faf8; color: var(--accent-dark); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 600; transition: background .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { background: #fff; border: 1.5px solid var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--navy); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { color: var(--accent-dark); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(0,229,220,.28), transparent 60%), linear-gradient(135deg, var(--navy), #241080); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: 56px 16px; }
.hero h1 { font-size: clamp(30px, 4.5vw, 50px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero p { color: #cbd5e1; font-size: 18px; margin: 0 0 24px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-visual .tile { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 16px; backdrop-filter: blur(4px); }
.hero-visual .tile:nth-child(2) { transform: translateY(24px); }
.hero-visual .tile:nth-child(3) { transform: translateY(-8px); }
.hero-visual .tile span { display: block; font-size: 13px; color: #cbd5e1; margin-top: 8px; }
.hero-visual .tile strong { color: #fff; font-size: 15px; }

/* ---------- Trust bar ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: -28px auto 0; position: relative; }
.trust-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: flex; gap: 12px; align-items: center; }
.trust-item .ic { font-size: 26px; }
.trust-item strong { display: block; font-size: 14px; }
.trust-item small { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 40px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: -.01em; }
.section-head p { margin: 4px 0 0; color: var(--muted); }

.cats { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }
.cat-card { background: #fff; border-radius: var(--radius); padding: 16px 8px; text-align: center; box-shadow: var(--shadow); transition: transform .15s; }
.cat-card:hover { transform: translateY(-3px); }
.cat-card .cat-ic { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 14px; background: #e3faf8; display: grid; place-items: center; }
.cat-card span { font-size: 13px; font-weight: 600; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(15,23,42,.12); }
.card-media { aspect-ratio: 1 / 1; display: grid; place-items: center; background: linear-gradient(180deg, #f8fafc, #eef2f7); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.card-media > svg { width: 62%; height: 62%; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .03em; }
.badge.off { background: var(--red); top: 38px; }
.badge.out { background: #64748b; }
.wish { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 999px; border: 0; background: #fff; box-shadow: var(--shadow); font-size: 16px; }
.wish.on { color: var(--red); }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-brand { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.card-title { font-weight: 600; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.stars { color: #f59e0b; font-size: 13px; }
.stars small { color: var(--muted); margin-left: 4px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-size: 18px; color: var(--navy); }
.price s { color: var(--muted); font-size: 13px; }
.card .btn { margin-top: auto; padding: 10px; font-size: 14px; }

/* ---------- Promo banner ---------- */
.banner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.banner > div { border-radius: 18px; padding: 28px; color: #fff; min-height: 170px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.banner .b1 { background: linear-gradient(135deg, #0b9b93, #065f5b); }
.banner .b2 { background: linear-gradient(135deg, #2a1590, #0f014c); }
.banner h3 { margin: 0; font-size: 22px; }
.banner p { margin: 0 0 8px; opacity: .9; }
.banner .btn { align-self: flex-start; background: #fff; color: var(--navy); }

/* ---------- Shop page ---------- */
.page-head { padding-top: 28px; padding-bottom: 8px; }
.page-head h1 { margin: 0; font-size: 28px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.crumbs a:hover { color: var(--accent-dark); }
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding-top: 16px; padding-bottom: 48px; }
.filters { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; align-self: start; position: sticky; top: 130px; }
.filters h4 { margin: 16px 0 8px; font-size: 14px; }
.filters h4:first-child { margin-top: 0; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 4px 0; cursor: pointer; }
.filters input[type=number] { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.price-row { display: flex; gap: 8px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar select { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.filter-toggle { display: none; }
.empty { text-align: center; padding: 60px 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.empty .big { font-size: 48px; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 16px; padding-bottom: 40px; }
.product-media { background: #fff; border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 1 / 1; display: grid; place-items: center; position: relative; }
.product-media > svg { width: 60%; height: 60%; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.product-info h1 { margin: 4px 0 8px; font-size: 28px; line-height: 1.2; }
.product-info .price strong { font-size: 30px; }
.saving { background: #fee2e2; color: var(--red); font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: 6px; }
.stock { font-size: 14px; font-weight: 600; margin: 12px 0; }
.stock.ok { color: var(--green); }
.stock.low { color: #d97706; }
.stock.no { color: var(--red); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { width: 38px; height: 42px; border: 0; background: transparent; font-size: 18px; }
.qty input { width: 46px; text-align: center; border: 0; outline: none; height: 42px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 30px; height: 32px; }
.qty.sm input { width: 34px; height: 32px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.buy-row .btn { flex: 1; min-width: 160px; }
.perks { display: grid; gap: 8px; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); font-size: 14px; }
.specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs th { width: 40%; color: var(--muted); font-weight: 500; background: #f8fafc; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; padding-top: 16px; padding-bottom: 48px; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.panel h3 { margin: 0 0 14px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .thumb { width: 72px; height: 72px; border-radius: 10px; background: #f1f5f9; display: grid; place-items: center; overflow: hidden; }
.line .thumb svg { width: 70%; height: 70%; }
.line .thumb img { width: 100%; height: 100%; object-fit: contain; }
.line-title { font-weight: 600; font-size: 14px; }
.line-meta { display: flex; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.remove { border: 0; background: none; color: var(--red); font-size: 13px; padding: 0; }
.line-price { font-weight: 700; white-space: nowrap; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.sum-row.total { font-size: 19px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.sum-row .green { color: var(--green); }
.promo { display: flex; gap: 8px; margin: 12px 0; }
.promo input { flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; text-transform: uppercase; min-width: 0; }
.progress { height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; margin: 6px 0 4px; }
.progress div { height: 100%; background: var(--green); border-radius: 99px; }
.hint { font-size: 13px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field .err { color: var(--red); font-size: 12px; min-height: 0; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.options { display: grid; gap: 10px; }
.option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; }
.option:has(input:checked) { border-color: var(--accent); background: #effcfb; }
.option input { margin-top: 4px; accent-color: var(--accent); }
.option strong { display: block; font-size: 15px; }
.option small { color: var(--muted); }
.steps-title { display: flex; align-items: center; gap: 10px; margin: 24px 0 12px; font-size: 17px; }
.steps-title:first-child { margin-top: 0; }
.steps-title b { width: 28px; height: 28px; border-radius: 99px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 14px; }

.success { text-align: center; max-width: 620px; margin: 40px auto; }
.success .check { width: 72px; height: 72px; border-radius: 99px; background: #dcfce7; color: var(--green); display: grid; place-items: center; font-size: 36px; margin: 0 auto 16px; }
.order-box { text-align: left; background: #f8fafc; border-radius: 12px; padding: 16px; margin: 18px 0; font-size: 14px; }

.orders .order { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.orders .order-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-weight: 600; }
.pill { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 99px; background: #fef3c7; color: #92400e; font-weight: 600; }

/* ---------- Content pages ---------- */
.prose { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin: 16px 0 48px; }
.prose h2 { margin-top: 28px; font-size: 20px; }
.prose h2:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: #334155; margin: 10px 0 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-list { display: grid; gap: 14px; }
.info-list div { display: flex; gap: 12px; }
.info-list .ic { font-size: 22px; }
.zones { width: 100%; border-collapse: collapse; }
.zones th, .zones td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }

/* ---------- Drawers ---------- */
.overlay { position: fixed; inset: 0; background: rgba(15,23,42,.5); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(380px, 90vw); background: #fff; z-index: 60; transform: translateX(-100%); transition: transform .25s; display: flex; flex-direction: column; }
.drawer-right { left: auto; right: 0; transform: translateX(100%); width: min(420px, 94vw); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 17px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 16px 16px; display: flex; flex-direction: column; }
.drawer-body .mm-link { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.drawer-foot { border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; display: grid; gap: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #cbd5e1; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 44px 16px 28px; }
.footer h4 { color: #fff; margin: 0 0 12px; }
.footer a { display: block; padding: 4px 0; color: #cbd5e1; font-size: 14px; }
.footer a:hover { color: var(--cyan); }
.footer p { font-size: 14px; margin: 0 0 8px; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pay-badges span { background: rgba(255,255,255,.1); border-radius: 6px; padding: 4px 8px; font-size: 12px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 99px; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 45; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 500; box-shadow: var(--shadow); z-index: 70; transition: transform .25s; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(5, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 16px 56px; }
  .hero-visual { display: none; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .product, .cart-layout, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hide-sm { display: none; }
  .menu-btn { display: grid; }
  .header-inner { flex-wrap: wrap; gap: 8px; }
  .logo { flex: 1; font-size: 18px; }
  .search { order: 3; flex-basis: 100%; }
  .catnav { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .card-body { padding: 10px; }
  .card-title { font-size: 14px; }
  .price strong { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 28px 0; }
  .prose { padding: 20px; }
  .line { grid-template-columns: 60px 1fr; }
  .line .thumb { width: 60px; height: 60px; }
  .line-price { grid-column: 2; }
}

/* ---------- Logo Venips ---------- */
.logo-img { height: 46px; width: auto; display: block; }
.footer .logo-img { height: 54px; }
@media (max-width: 720px) { .logo-img { height: 38px; } }

/* ---------- Compte client ---------- */
.account-btn .dot { position: absolute; top: 8px; right: 7px; width: 9px; height: 9px; border-radius: 99px; background: var(--cyan); border: 2px solid var(--navy); }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 48px; }
.account-grid .panel h3 { margin-top: 0; }
.account-grid form { display: grid; gap: 14px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.status-pill.nouvelle { background: #dbeafe; color: #1e40af; }
.status-pill.confirmee { background: #e0e7ff; color: #3730a3; }
.status-pill.en_livraison { background: #fef3c7; color: #92400e; }
.status-pill.livree { background: #dcfce7; color: #166534; }
.status-pill.annulee { background: #f1f5f9; color: #64748b; }
.account-note { background: #effcfb; border: 1px solid #b6efe9; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }

/* ---------- Galerie produit (façon Amazon) ---------- */
.gallery { display: flex; gap: 12px; align-items: flex-start; }
.gallery .product-media { flex: 1; min-width: 0; overflow: hidden; }
.thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 560px; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.thumbs .thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 10px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.thumbs .thumb:hover { border-color: #94a3b8; }
.thumbs .thumb.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11,155,147,.2); }
.thumbs .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-media.zoomable { cursor: zoom-in; }
.product-media.zoomable img { transition: transform .2s ease-out; }
.product-media.zooming img { transform: scale(2.2); transition: none; }
.zoom-hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: rgba(15,1,76,.75); color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 99px; pointer-events: none; white-space: nowrap; transition: opacity .2s; }
.product-media.zooming .zoom-hint { opacity: 0; }
@media (max-width: 720px) {
  .gallery { flex-direction: column-reverse; align-items: stretch; }
  .gallery .product-media { flex: none; width: 100%; }
  .thumbs { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; width: 100%; }
  .thumbs .thumb { width: 60px; height: 60px; }
}

/* ---------- Visionneuse plein écran ---------- */
.viewer { position: fixed; inset: 0; z-index: 90; background: rgba(8,0,46,.95); display: none; flex-direction: column; align-items: center; padding: 60px 16px 16px; }
.viewer.open { display: flex; }
.viewer-stage { flex: 1; width: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.viewer-stage img { max-width: min(1100px, 100%); max-height: 100%; object-fit: contain; background: #fff; border-radius: 12px; padding: 12px; }
.viewer-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 99px; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 20px; }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 99px; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 32px; line-height: 1; z-index: 1; }
.viewer-nav.prev { left: 12px; }
.viewer-nav.next { right: 12px; }
.viewer-close:hover, .viewer-nav:hover { background: rgba(255,255,255,.3); }
.viewer-thumbs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; max-width: 100%; padding: 2px; }
.viewer-thumbs button { width: 60px; height: 60px; flex-shrink: 0; border-radius: 8px; border: 2px solid transparent; background: #fff; padding: 3px; opacity: .55; }
.viewer-thumbs button.on { border-color: var(--cyan); opacity: 1; }
.viewer-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.viewer-count { color: #c7d2fe; font-size: 13px; margin-top: 8px; min-height: 18px; }
@media (max-width: 720px) { .viewer-nav { width: 40px; height: 40px; font-size: 26px; } }

/* ---------- Accès administrateur ---------- */
.admin-link { display: inline-flex; align-items: center; gap: 4px; align-self: center; padding: 7px 12px; margin-right: 4px; border-radius: 999px; background: var(--cyan); color: var(--navy); font-weight: 700; font-size: 13px; white-space: nowrap; }
.admin-link[hidden] { display: none; }
.admin-link:hover { background: #fff; }
.admin-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; }
.admin-banner strong { display: block; font-size: 17px; }
.admin-banner span { color: #c7d2fe; font-size: 14px; }

/* ---------- Chargement professionnel ---------- */
.skel { background: linear-gradient(90deg, #e9edf4 0%, #f6f8fb 40%, #e9edf4 80%); background-size: 300% 100%; border-radius: 8px; animation: skel-shine 1.3s ease-in-out infinite; }
.hero .skel { background: linear-gradient(90deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.28) 40%, rgba(255,255,255,.12) 80%); background-size: 300% 100%; }
.skel-card { pointer-events: none; }
.skel-card .card-body { gap: 10px; }
@keyframes skel-shine { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
#app > * { animation: page-in .25s ease-out; }
@keyframes page-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.card-media img, .product-media img, .thumbs img { animation: img-in .35s ease-out; }
@keyframes img-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .skel, #app > *, .card-media img, .product-media img, .thumbs img { animation: none; } }

/* =========================================================
   Finitions « site professionnel »
   ========================================================= */
/* ---------- Typographie ---------- */
body { font-size: 15px; letter-spacing: -0.005em; }
h1, h2, h3 { letter-spacing: -0.02em; }
.section-head h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.section-head p { font-size: 15px; }
.section-head .link, .link { display: inline-flex; align-items: center; gap: 6px; }
.hint { color: #5b6478; }

/* ---------- Icônes ---------- */
.ui-ic { flex-shrink: 0; vertical-align: -0.18em; }
.btn .ui-ic { margin-right: 2px; }
.icon-btn svg { display: block; }
.topbar .ui-ic, .tb-msg svg { vertical-align: -3px; opacity: .85; }
.topbar .sep { opacity: .45; margin: 0 6px; }
.catnav a { display: inline-flex; align-items: center; gap: 6px; }
.empty .big { color: #94a3b8; display: flex; justify-content: center; margin-bottom: 6px; }
.success .check { color: var(--green); }
.info-list .ic { color: var(--accent); }
.stock { display: flex; align-items: center; gap: 8px; }
.perks div { display: flex; align-items: center; gap: 10px; }
.perks .ui-ic { color: var(--accent); }
.account-note .ui-ic, .order-box .ui-ic { color: var(--accent); vertical-align: -3px; }
.admin-banner strong .ui-ic { color: var(--cyan); vertical-align: -3px; }

/* ---------- Favoris ---------- */
.wish { display: grid; place-items: center; color: #475569; }
.wish.on, .wish-btn.on { color: var(--red); }
.wish.on svg, .wish-btn.on svg { fill: currentColor; }
.wish:hover { color: var(--red); }

/* ---------- Cartes produit ---------- */
.card { border: 1px solid #eef1f6; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.card:hover { box-shadow: 0 14px 34px rgba(15,23,42,.10); border-color: #e2e8f0; }
.card-media { background: #fff; border-bottom: 1px solid #f1f4f8; }
.card-media img { padding: 16px; transition: transform .35s ease, opacity .35s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-brand { font-size: 11px; letter-spacing: .08em; color: #7c8699; }
.card-title { font-size: 15px; font-weight: 700; color: var(--text); min-height: 0; -webkit-line-clamp: 2; }
.card-title:hover { color: var(--accent-dark); }
.price strong { font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #334155; background: #f1f5f9; border-radius: 6px; padding: 3px 8px; }
.chip .ui-ic { color: var(--accent); }
.product-info .chips { margin: 4px 0 12px; }
.product-info .chip { font-size: 13px; padding: 5px 10px; }
.badge { border-radius: 6px; font-size: 10.5px; padding: 4px 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* ---------- Photos : silhouette tant que l'image n'est pas chargée ---------- */
.img-wait { position: relative; }
.img-wait:not(.ready)::before { content: ""; position: absolute; inset: 14%; border-radius: 12px; background: linear-gradient(90deg, #eef1f6 0%, #f8fafc 40%, #eef1f6 80%); background-size: 300% 100%; animation: skel-shine 1.3s ease-in-out infinite; }
.img-wait:not(.ready) img { opacity: 0; }
.img-wait.broken img { visibility: hidden; }
.product-media { background: #fff; border: 1px solid #eef1f6; }

/* ---------- Bannière d'accueil ---------- */
.hero { background: radial-gradient(900px 420px at 90% -20%, rgba(0,229,220,.30), transparent 60%), radial-gradient(700px 400px at -10% 120%, rgba(124,58,237,.25), transparent 60%), linear-gradient(135deg, var(--navy), #1d0d73); }
.hero-inner { grid-template-columns: 1fr 1.05fr; gap: 40px; padding: 56px 16px 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--cyan); background: rgba(0,229,220,.12); border: 1px solid rgba(0,229,220,.25); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.eyebrow.dark { color: var(--accent-dark); background: #e3faf8; border-color: #b6efe9; }
.hero h1 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 22px; color: #fff; font-weight: 800; }
.hero-stats span { font-size: 13px; color: #b9c2f0; }
.hero-show { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.show-side { display: grid; gap: 14px; }
.show-card { background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,.25); transition: transform .2s; }
.show-card:hover { transform: translateY(-4px); }
.show-img { flex: 1; display: grid; place-items: center; min-height: 120px; background: #fff; }
.show-img img { width: 100%; height: 100%; max-height: 300px; object-fit: contain; padding: 14px; }
.show-card.big .show-img img { max-height: 340px; }
.show-img svg { width: 60%; height: 60%; }
.show-txt { padding: 12px 16px 16px; border-top: 1px solid #f1f4f8; display: grid; gap: 2px; }
.show-txt span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #7c8699; font-weight: 600; }
.show-txt strong { color: var(--text); font-size: 15px; line-height: 1.3; }
.show-txt em { font-style: normal; color: var(--accent-dark); font-weight: 800; }
.show-card:not(.big) .show-txt strong { font-size: 13px; }

/* ---------- Avantages ---------- */
.trust { margin-top: -36px; }
.trust-item { border: 1px solid #eef1f6; box-shadow: 0 8px 24px rgba(15,23,42,.07); }
.trust-item .ic { width: 44px; height: 44px; border-radius: 12px; background: #e3faf8; color: var(--accent-dark); display: grid; place-items: center; font-size: 0; }

/* ---------- Rayons ---------- */
.cat-banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.cat-banner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 200px; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #f3f0ff, #e3faf8); border: 1px solid #e8ecf5; transition: transform .2s, box-shadow .2s; }
.cat-banner:nth-child(2n) { background: linear-gradient(135deg, #0f014c, #241080); color: #fff; }
.cat-banner:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15,23,42,.12); }
.cat-banner-txt { padding: 26px; display: grid; gap: 6px; }
.cat-banner h3 { margin: 0; font-size: 24px; font-weight: 800; }
.cat-count { font-size: 13px; font-weight: 600; opacity: .7; }
.cat-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-dark); margin-top: 8px; }
.cat-banner:nth-child(2n) .cat-link { color: var(--cyan); }
.cat-banner-img { height: 100%; min-height: 200px; display: grid; place-items: center; background: rgba(255,255,255,.55); }
.cat-banner:nth-child(2n) .cat-banner-img { background: rgba(255,255,255,.95); }
.cat-banner-img img { width: 100%; height: 100%; max-height: 220px; object-fit: contain; padding: 18px; }
.cat-banner-img svg { width: 55%; }

/* ---------- Pourquoi Venips + marques ---------- */
.why { background: #fff; border-top: 1px solid #eef1f6; border-bottom: 1px solid #eef1f6; padding: 56px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.why-copy h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 12px; font-weight: 800; }
.why-copy p { color: #475569; margin: 0 0 14px; }
.why-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-points > div { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 14px; background: #f8fafc; border: 1px solid #eef1f6; }
.why-points .ui-ic { color: var(--accent); margin-top: 2px; }
.why-points strong { display: block; font-size: 15px; }
.why-points span { font-size: 13.5px; color: #5b6478; }
.brands { margin-top: 36px; padding-top: 26px; border-top: 1px dashed #e2e8f0; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.brands > span { font-size: 13px; color: #7c8699; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.brands > div { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; }
.brands b { font-size: 24px; font-weight: 800; color: #94a3b8; letter-spacing: -0.02em; }

/* ---------- Menu mobile ---------- */
.drawer-body .mm-link { display: flex; align-items: center; gap: 12px; }
.drawer-body .mm-link .ui-ic { color: var(--accent); }
.drawer-body .mm-link.sub { padding-left: 34px; font-size: 14px; color: #475569; }

/* ---------- Pied de page ---------- */
.footer { margin-top: 0; }
.footer-grid { padding: 56px 16px 36px; gap: 40px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer a { padding: 5px 0; }
.footer p { color: #b9c2f0; line-height: 1.6; }
.footer .f-line { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer .f-line .ui-ic { color: var(--cyan); }
.footer-bottom { color: #9aa3d6; }
.footer-bottom .f-links { display: flex; gap: 18px; }
.footer-bottom .f-links a { display: inline; padding: 0; font-size: 13px; color: #9aa3d6; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 32px 16px 48px; }
  .hero-show { display: none; }
  .hero-stats { gap: 18px; margin-top: 22px; padding-top: 16px; }
  .hero-stats strong { font-size: 18px; }
}
@media (max-width: 720px) {
  .topbar .tb-msg { font-size: 12px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; margin-bottom: 18px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-actions .btn { flex: 1; padding: 11px 12px; font-size: 14px; }
  .hero-stats > div { flex: 1; min-width: 90px; }
  /* Avantages sur une seule ligne défilante */
  .trust { display: flex; overflow-x: auto; gap: 10px; margin: -24px -16px 0; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .trust::-webkit-scrollbar { display: none; }
  .trust-item { flex: 0 0 72%; scroll-snap-align: start; padding: 12px; }
  .trust-item .ic { width: 38px; height: 38px; }
  .section { padding: 24px 0; }
  .cat-banners { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-banner { grid-template-columns: 1fr; min-height: 0; }
  .cat-banner-txt { padding: 14px; order: 2; gap: 2px; }
  .cat-banner h3 { font-size: 16px; }
  .cat-banner-img { min-height: 110px; order: 1; }
  .cat-banner-img img { max-height: 120px; padding: 10px; }
  .cat-link { font-size: 13px; margin-top: 4px; }
  .why { padding: 32px 0; }
  .why-points { grid-template-columns: 1fr; gap: 10px; }
  .brands b { font-size: 18px; }
  .brands > div { gap: 20px; }
  .chip { font-size: 11px; padding: 2px 6px; }
  .card-media img { padding: 10px; }
  .card .btn { font-size: 13px; padding: 10px 6px; white-space: nowrap; }
  .card .btn .ui-ic { display: none; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .footer-grid { padding: 36px 16px 24px; gap: 28px; }
}
.zoom-hint { display: inline-flex; align-items: center; gap: 6px; }
.zoom-hint svg { width: 14px; height: 14px; }

/* ---------- Offre de lancement ---------- */
.launch-bar { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; padding: 9px 16px; background: linear-gradient(90deg, #00c8be, #00e5dc); color: var(--navy); font-size: 14px; text-align: center; }
.launch-bar[hidden] { display: none; }
.launch-bar .code { background: var(--navy); color: #fff; padding: 2px 8px; border-radius: 6px; letter-spacing: .04em; }
.launch-bar .go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.launch-hero { background: radial-gradient(800px 400px at 85% 0%, rgba(0,229,220,.30), transparent 60%), linear-gradient(135deg, var(--navy), #1d0d73); color: #fff; }
.launch-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 56px 16px; }
.launch-hero h1 { font-size: clamp(28px, 4vw, 46px); line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
.launch-hero h1 em { font-style: normal; color: var(--cyan); }
.launch-hero p { color: #c7d2fe; font-size: 17px; margin: 0 0 24px; max-width: 560px; }
.code-card { background: #fff; color: var(--text); border-radius: 20px; padding: 28px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.3); display: grid; gap: 6px; }
.code-card > span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #7c8699; font-weight: 600; }
.code-card strong { font-size: 40px; letter-spacing: .06em; color: var(--navy); border: 2px dashed var(--accent); border-radius: 14px; padding: 10px; background: #effcfb; }
.code-card em { font-style: normal; color: var(--accent-dark); font-weight: 700; }
.code-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.code-actions .btn { padding: 11px 10px; font-size: 14px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps3 > div { background: #fff; border: 1px solid #eef1f6; border-radius: 16px; padding: 20px; display: grid; gap: 4px; }
.steps3 b { width: 34px; height: 34px; border-radius: 99px; background: var(--navy); color: var(--cyan); display: grid; place-items: center; margin-bottom: 6px; }
.steps3 span { color: #5b6478; font-size: 14px; }
@media (max-width: 900px) { .launch-inner { grid-template-columns: 1fr; padding: 36px 16px; } }
@media (max-width: 720px) {
  .launch-bar { font-size: 12.5px; gap: 6px; padding: 8px 12px; }
  .steps3 { grid-template-columns: 1fr; gap: 10px; }
  .code-card strong { font-size: 30px; }
  .code-actions { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .launch-bar .lb-long { display: none; }
  .launch-bar { flex-wrap: nowrap; }
  .topbar { display: none; }
}

/* ---------- Installer l'application ---------- */
.install-btn { display: inline-flex; align-items: center; gap: 6px; align-self: center; border: 1.5px solid rgba(0,229,220,.55); background: rgba(0,229,220,.1); color: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 700; margin-right: 4px; white-space: nowrap; }
.install-btn:hover { background: rgba(0,229,220,.22); }
.install-btn svg { color: var(--cyan); }
.install-btn[hidden], .mm-install[hidden], .f-app[hidden] { display: none; }
.mm-install { border: 0; background: #e3faf8; color: var(--accent-dark); font-weight: 700; border-radius: 10px; margin-top: 10px; text-align: left; width: 100%; padding: 12px 10px !important; }
.f-app { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); cursor: pointer; }
.f-app:hover { background: rgba(255,255,255,.12); }
.f-app img { width: 44px; height: 44px; border-radius: 10px; }
.f-app strong { display: block; color: #fff; font-size: 14px; }
.f-app span { font-size: 12.5px; color: #b9c2f0; }
.f-app-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; background: var(--cyan); color: var(--navy) !important; font-weight: 800; padding: 6px 10px; border-radius: 8px; font-size: 12.5px !important; white-space: nowrap; }
.install-modal { position: fixed; inset: 0; z-index: 95; background: rgba(8,0,46,.6); display: grid; place-items: center; padding: 16px; animation: page-in .2s ease-out; }
.install-card { position: relative; background: #fff; border-radius: 20px; padding: 26px 22px 20px; width: 100%; max-width: 420px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.install-card h3 { margin: 10px 0 4px; font-size: 20px; }
.install-card .hint { margin: 0 0 14px; font-size: 14px; }
.install-icon { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto; box-shadow: 0 8px 20px rgba(15,1,76,.3); }
.install-x { position: absolute; top: 10px; right: 10px; border: 0; background: #f1f5f9; width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center; color: #475569; }
.install-note { background: #fef3c7; color: #92400e; font-size: 13px; border-radius: 10px; padding: 8px 10px; margin: 0 0 12px; }
.install-card ol { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; text-align: left; }
.install-card li { display: flex; align-items: center; gap: 10px; background: #f8fafc; border: 1px solid #eef1f6; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.install-card li .n { width: 24px; height: 24px; flex-shrink: 0; border-radius: 99px; background: var(--navy); color: var(--cyan); display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.install-card li .ui-ic { color: var(--accent); }
@media (max-width: 720px) {
  .install-btn span { display: none; }
  .install-btn { padding: 7px 9px; margin-right: 0; }
}

/* =========================================================
   Assistant Venips
   ========================================================= */
.as-launcher { position: fixed; right: 18px; bottom: 18px; z-index: 46; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 0 20px 0 16px; height: 58px; background: linear-gradient(135deg, var(--navy), #2a1590); color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 12px 30px rgba(15,1,76,.35); transition: transform .15s; }
.as-launcher svg { color: var(--cyan); }
.as-launcher:hover { transform: translateY(-2px); }
.as-launcher::after { content: ""; position: absolute; top: 6px; left: 38px; width: 10px; height: 10px; border-radius: 99px; background: #22c55e; border: 2px solid var(--navy); }
.as-launcher.open .as-launch-txt { display: none; }
.as-launcher.open { padding: 0; width: 58px; justify-content: center; }
.as-launcher.open::after { display: none; }
.as-panel { position: fixed; right: 18px; bottom: 88px; z-index: 47; width: 380px; height: min(620px, calc(100vh - 120px)); background: #fff; border-radius: 20px; box-shadow: 0 24px 70px rgba(15,1,76,.30); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e6e9f2; animation: page-in .2s ease-out; }
.as-panel[hidden] { display: none; }
.as-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, var(--navy), #241080); color: #fff; }
.as-head img { width: 40px; height: 40px; border-radius: 12px; }
.as-head strong { display: block; font-size: 15px; }
.as-head span { font-size: 12.5px; color: #c7d2fe; display: inline-flex; align-items: center; gap: 6px; }
.as-dot { width: 8px; height: 8px; border-radius: 99px; background: #22c55e; display: inline-block; }
.as-head-wa, .as-close { margin-left: auto; width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center; border: 0; background: rgba(255,255,255,.1); color: #fff; }
.as-close { margin-left: 0; }
.as-head-wa:hover, .as-close:hover { background: rgba(255,255,255,.2); }
.as-body { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: #f6f7fb; }
.as-msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.as-msg p { margin: 0 0 6px; }
.as-msg p:last-child { margin-bottom: 0; }
.as-msg a { color: var(--accent-dark); font-weight: 600; }
.as-msg.in { animation: page-in .2s ease-out; }
.as-msg.bot { background: #fff; border: 1px solid #e9ecf3; border-bottom-left-radius: 6px; align-self: flex-start; }
.as-msg.user { background: var(--navy); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.as-msg.typing { display: flex; gap: 4px; padding: 14px; }
.as-msg.typing span { width: 7px; height: 7px; border-radius: 99px; background: #94a3b8; animation: as-blink 1s infinite; }
.as-msg.typing span:nth-child(2) { animation-delay: .15s; }
.as-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes as-blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.as-list { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 4px; }
.as-list li { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 6px 8px; background: #f8fafc; border-radius: 8px; font-size: 13px; }
.as-list li em { grid-column: 1 / -1; font-style: normal; color: #7c8699; font-size: 12px; }
.as-bullets, .as-steps { margin: 6px 0; padding-left: 18px; display: grid; gap: 4px; }
.as-bullets .ui-ic { color: var(--accent); vertical-align: -3px; }
.as-bullets:has(.ui-ic) { list-style: none; padding-left: 0; }
.as-code { background: var(--navy); color: #fff; padding: 1px 7px; border-radius: 6px; letter-spacing: .04em; }
.as-small { font-size: 12.5px; color: #64748b; }
.as-wa, .as-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 13.5px; }
.as-msg .as-wa { background: #25d366; color: #fff; }
.as-msg .as-link { background: #e3faf8; color: var(--accent-dark); }
.as-cards { display: grid; gap: 8px; margin-top: 6px; }
.as-card { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; background: #f8fafc; border: 1px solid #eef1f6; border-radius: 12px; padding: 6px 8px 6px 6px; }
.as-img { width: 56px; height: 56px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; position: relative; }
.as-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.as-img > svg { width: 70%; height: 70%; }
.as-info { display: grid; min-width: 0; }
.as-msg .as-name { color: var(--text); font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-price { color: var(--accent-dark); font-weight: 800; font-size: 13.5px; }
.as-stock { font-size: 11.5px; color: #64748b; }
.as-add { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; }
.as-add:hover { background: var(--accent); }
.as-msg .as-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13px; }
.as-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; background: #fff; border-top: 1px solid #eef1f6; scrollbar-width: none; }
.as-chips::-webkit-scrollbar { display: none; }
.as-chips button { flex-shrink: 0; border: 1px solid #d7f3f0; background: #effcfb; color: var(--accent-dark); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.as-chips button:hover { background: #d8f7f3; }
.as-form { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; }
.as-form input { flex: 1; min-width: 0; border: 1.5px solid #e2e8f0; border-radius: 999px; padding: 11px 16px; outline: none; font-size: 14.5px; }
.as-form input:focus { border-color: var(--accent); }
.as-form button { width: 44px; height: 44px; border-radius: 99px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
@media (max-width: 720px) {
  .as-launcher { right: 14px; bottom: 14px; height: 54px; padding: 0 16px 0 14px; font-size: 14px; }
  .as-launcher .as-launch-txt { display: none; }
  .as-launcher { width: 54px; padding: 0; justify-content: center; }
  .as-launcher::after { left: 34px; }
  .as-panel { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; }
  body.as-open { overflow: hidden; }
  body.as-open .as-launcher { display: none; }
  .as-form input { font-size: 16px; }
}

/* ---------- Connexion Google ---------- */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 12px 16px; border-radius: 10px; border: 1.5px solid #dadce0; background: #fff; color: #3c4043; font-weight: 600; font-size: 15px; font-family: inherit; transition: background .15s, box-shadow .15s; }
.btn-google:hover { background: #f8fafd; box-shadow: 0 1px 3px rgba(60,64,67,.2); }
.google-box { max-width: 520px; margin: 0 auto 4px; text-align: center; }
.google-box .hint { margin: 10px 0 0; font-size: 13.5px; }
.or-sep { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; color: #94a3b8; font-size: 13px; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: #e2e8f0; }

/* Retour de connexion Google */
.login-wait { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; border: 4px solid #e3faf8; border-top-color: var(--accent); animation: login-spin .8s linear infinite; }
@keyframes login-spin { to { transform: rotate(360deg); } }

/* ---------- Refus de commande ---------- */
.checkout-error { display: flex; gap: 12px; align-items: flex-start; background: #fff7ed; border: 1.5px solid #fdba74; color: #7c2d12; border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.checkout-error .ui-ic { color: #ea580c; margin-top: 2px; }
.checkout-error b { display: block; font-size: 15px; }
.checkout-error p { margin: 4px 0 10px; font-size: 14px; }
.checkout-error .btn { padding: 8px 12px; font-size: 13.5px; }

/* ======================= Nouvelles fonctionnalités ======================= */
.btn-sm { padding: 8px 12px; font-size: 13.5px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-dark); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; font-size: 14px; }
.link-btn:hover { text-decoration: underline; }
.order-links { display: inline-flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Accessoires proposés */
.upsell { border-top: 1px solid var(--line); padding: 14px 16px; background: #f8fafc; }
.panel .upsell { margin: 18px -4px 0; border: 1px solid var(--line); border-radius: 12px; }
.upsell h4 { margin: 0 0 10px; font-size: 14px; display: flex; gap: 6px; align-items: center; color: var(--navy); }
.upsell-row { display: grid; grid-template-columns: 48px 1fr 34px; gap: 10px; align-items: center; padding: 6px 0; }
.upsell-img { width: 48px; height: 48px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.upsell-img img { width: 100%; height: 100%; object-fit: contain; }
.upsell-img svg { width: 26px; height: 26px; }
.upsell-name { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.upsell-row span { font-size: 13px; color: var(--accent-dark); font-weight: 700; }
.upsell-add { width: 34px; height: 34px; border-radius: 999px; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; }
.upsell-add:hover { background: var(--accent); }

/* Comparateur */
.cmp { position: absolute; top: 48px; right: 8px; width: 34px; height: 34px; border-radius: 999px; border: 0; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: #475569; z-index: 2; }
.cmp:hover, .cmp.on { color: #fff; background: var(--accent); }
.cmp-btn.on { border-color: var(--accent); color: var(--accent-dark); background: #effcfb; }
.compare-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 8px; background: var(--navy); padding: 8px 8px 8px 12px; border-radius: 999px; box-shadow: 0 12px 30px rgba(15,1,76,.35); }
.compare-bar[hidden] { display: none; }
.cb-item { width: 38px; height: 38px; border-radius: 999px; background: #fff; overflow: hidden; display: grid; place-items: center; }
.cb-item img { width: 100%; height: 100%; object-fit: contain; }
.cb-item svg { width: 22px; height: 22px; }
.cb-clear { width: 34px; height: 34px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.compare-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
table.compare { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14px; }
table.compare th { text-align: left; width: 150px; color: var(--muted); font-weight: 600; font-size: 13px; padding: 12px 14px; background: #f8fafc; position: sticky; left: 0; z-index: 1; }
table.compare td { padding: 12px 14px; border-left: 1px solid var(--line); vertical-align: top; }
table.compare tr + tr td, table.compare tr + tr th { border-top: 1px solid var(--line); }
table.compare b.best { color: var(--green); }
.cmp-head { position: relative; text-align: center; }
.cmp-head .btn { margin-top: 8px; }
.cmp-img { display: grid; place-items: center; height: 120px; margin: 4px auto 8px; }
.cmp-img img { max-height: 120px; object-fit: contain; }
.cmp-img svg { width: 60px; height: 60px; }
.cmp-name { display: block; font-weight: 700; line-height: 1.3; }
.cmp-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--muted); }
.cmp-more a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 200px; color: var(--muted); border: 2px dashed var(--line); border-radius: 12px; font-weight: 600; }
.cmp-more a:hover { color: var(--accent-dark); border-color: var(--accent); }

/* Avis clients */
.reviews { padding: 8px 16px 40px; }
.reviews h2 { margin: 0 0 14px; }
.reviews-body { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.rv-summary { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.rv-summary strong { font-size: 38px; color: var(--navy); line-height: 1; }
.rv-summary .stars { font-size: 18px; display: block; }
.rv-summary small { color: var(--muted); }
.rv { padding: 14px 0; border-bottom: 1px solid var(--line); }
.rv-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.rv-head small { color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
.rv-head small .ui-ic { color: var(--green); }
.rv p { margin: 6px 0 0; font-size: 14.5px; }
.rv-form { margin-top: 18px; display: grid; gap: 10px; }
.rv-form h3 { margin: 0; }
.rv-form textarea { padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; resize: vertical; }
.rv-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rv-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rv-stars span { font-size: 30px; color: #cbd5e1; cursor: pointer; line-height: 1; }
.rv-stars label:hover span, .rv-stars label:hover ~ label span, .rv-stars input:checked + span, .rv-stars label:has(input:checked) ~ label span { color: #f59e0b; }
a.stars[data-scroll-reviews] { display: inline-block; }

/* Produit épuisé */
.soldout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.soldout-media { background: #f8fafc; border-radius: 12px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; filter: grayscale(.4); }
.soldout-media img { width: 100%; height: 100%; object-fit: contain; }
.soldout-media svg { width: 90px; height: 90px; }
.soldout h1 { margin: 10px 0 6px; font-size: 24px; }
.pill-out { display: inline-block; padding: 4px 12px; border-radius: 99px; background: #fef3c7; color: #92400e; font-weight: 700; font-size: 12.5px; }

/* Demandes : devis, réparation, reprise */
.request-intro { display: flex; gap: 12px; align-items: flex-start; background: #effcfb; border: 1px solid #b6efe9; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; }
.request-intro .ui-ic { color: var(--accent-dark); flex: none; margin-top: 2px; }
.field.full { grid-column: 1 / -1; }
.field textarea { resize: vertical; }
.svc-link { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.svc-link span { flex: 1; }
.svc-link .ui-ic:first-child { color: var(--accent-dark); }
.svc-link:hover { color: var(--accent-dark); }
.request-ok { text-align: center; padding: 26px 8px; }
.request-ok .check { width: 64px; height: 64px; border-radius: 999px; background: #dcfce7; color: var(--green); display: grid; place-items: center; margin: 0 auto 12px; }
.request-ok h2 { margin: 0 0 6px; }

/* Guide d'achat */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 14px 0 24px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.guide-card > .ui-ic { color: var(--accent-dark); }
.guide-card h3 { margin: 8px 0 4px; font-size: 17px; }
.guide-card p { margin: 6px 0; font-size: 14.5px; }

/* Menu catégories : liens de services */
.catnav a .ui-ic { vertical-align: -3px; margin-right: 4px; }

@media (max-width: 760px) {
  .soldout { grid-template-columns: 1fr; }
  .soldout-media { max-width: 240px; margin: 0 auto; }
  .guide-grid { grid-template-columns: 1fr; }
  .compare-bar { bottom: 84px; }
  table.compare th { width: 110px; }
  .order-links { gap: 10px; }
}
.compare-bar .btn { white-space: nowrap; }
@media (max-width: 400px) { .cb-item { width: 32px; height: 32px; } .compare-bar { gap: 6px; } }

/* ---------- État et batterie ---------- */
.cond { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; font-size: 12px; font-weight: 600; }
.cond span { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; background: #eef2ff; color: #3730a3; }
.cond .b.hi { background: #dcfce7; color: #166534; }
.cond .b.mid { background: #fef3c7; color: #92400e; }
.cond .b.lo { background: #fee2e2; color: #991b1b; }
.cond-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 6px 0 14px; background: #fbfcff; }
.cond-box h3 { margin: 0 0 6px; font-size: 15px; display: flex; gap: 6px; align-items: center; color: var(--navy); }
.cond-box h3 .ui-ic { color: var(--green); }
.cond-box p { margin: 0; font-size: 14px; }
.batt { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 14px; }
.batt span { display: inline-flex; gap: 6px; align-items: center; }
.batt-bar { height: 8px; border-radius: 99px; background: #e2e8f0; overflow: hidden; margin-top: 6px; }
.batt-bar i { display: block; height: 100%; border-radius: 99px; }
.batt-bar i.hi { background: var(--green); }
.batt-bar i.mid { background: #f59e0b; }
.batt-bar i.lo { background: var(--red); }

/* ---------- Vente flash ---------- */
.flash-section { background: linear-gradient(135deg, #0f014c 0%, #2a1590 60%, #0b9b93 140%); padding: 28px 0 32px; margin-bottom: 8px; }
.flash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; color: #fff; }
.flash-head h2 { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 26px; }
.flash-head h2 .ui-ic { color: #facc15; fill: #facc15; }
.flash-head p { margin: 4px 0 0; color: #c7d2fe; }
.flash-timer { text-align: right; }
.flash-timer small { display: block; color: #c7d2fe; font-size: 12px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.countdown { font-variant-numeric: tabular-nums; white-space: nowrap; }
.countdown.big { font-size: 18px; color: #fff; }
.countdown.big b { display: inline-block; min-width: 40px; text-align: center; background: rgba(255,255,255,.14); border-radius: 8px; padding: 4px 6px; font-size: 22px; margin-left: 4px; }
.card-flash { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #b45309; margin: -2px 0 8px; }
.card-flash .ui-ic { fill: currentColor; }
.flash-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; border-radius: 12px; padding: 10px 12px; margin: 10px 0 4px; font-weight: 600; font-size: 14px; }
.flash-strip .ui-ic { fill: currentColor; }
.flash-strip .countdown { font-weight: 800; }
@media (max-width: 760px) { .flash-timer { text-align: left; } .flash-head h2 { font-size: 22px; } .countdown.big b { min-width: 34px; font-size: 18px; } }
