/* ==========================================================================
   Quinqline 2.0 — design system
   Chargé après style.css / skin.css : remplace l'apparence du thème Molla.
   Unités en px (le thème fixe html { font-size: 62.5% }).
   ========================================================================== */

:root {
  --ql-accent: #000000;
  --ql-accent-deep: #3A3F3B;
  --ql-accent-text: #000000;
  /* Orange réservé aux alertes (stock faible) */
  --ql-warn: #F28C0F;
  --ql-warn-text: #A35A00;
  --ql-warn-tint: #FFF4E5;
  --ql-green: #1E7A3C;
  --ql-green-deep: #155C2C;
  --ql-green-soft: #E7F3EA;
  --ql-ink: #1B1F1C;
  --ql-concrete: #EEF0EC;
  --ql-paper: #FFFFFF;
  --ql-line: #D5D9D3;
  --ql-muted: #5E665F;
  --ql-tint: #F1F2F0;
  --ql-red: #B3261E;
  --ql-red-soft: #FBE7E5;

  --ql-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --ql-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ql-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --ql-radius: 8px;
  --ql-gutter: 24px;
  --ql-max: 1320px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--ql-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ql-ink);
  background: var(--ql-concrete);
}
.page-wrapper { background: var(--ql-concrete); }
h1, h2, h3, h4, h5, h6,
.title, .page-title, .product-title, .widget-title, .summary-title, .checkout-title, .card-title {
  font-family: var(--ql-display);
  color: var(--ql-ink);
  letter-spacing: .01em;
}
a { color: var(--ql-ink); }
a:hover, a:focus { color: var(--ql-accent-deep); }
:focus-visible { outline: 3px solid var(--ql-accent); outline-offset: 2px; }
.text-primary { color: var(--ql-accent-text) !important; }
.main { padding-bottom: 8px; }
.main > .mb-lg-2:first-child { display: none; }

.ql-container { width: 100%; max-width: var(--ql-max); margin: 0 auto; padding-inline: var(--ql-gutter); }
.ql-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.ql-btn, .btn.btn-primary, .btn.btn-outline-primary-2, .btn-order, .swal2-styled.swal2-confirm {
  font-family: var(--ql-display) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
}
.ql-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border: 2px solid transparent; line-height: 1.2;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.ql-btn--primary, .btn.btn-primary, .swal2-styled.swal2-confirm {
  background: var(--ql-accent) !important; border-color: var(--ql-accent) !important; color: #fff !important;
}
.ql-btn--primary:hover, .btn.btn-primary:hover { background: var(--ql-accent-deep) !important; border-color: var(--ql-accent-deep) !important; color: #fff !important; }
.ql-btn--green { background: var(--ql-green); border-color: var(--ql-green); color: #fff; }
.ql-btn--green:hover { background: var(--ql-green-deep); border-color: var(--ql-green-deep); color: #fff; }
.ql-btn--ghost, .btn.btn-outline-primary-2 { background: transparent !important; border: 2px solid var(--ql-ink) !important; color: var(--ql-ink) !important; }
.ql-btn--ghost:hover, .btn.btn-outline-primary-2:hover { background: var(--ql-ink) !important; color: #fff !important; }
.ql-btn--light { border-color: #fff; color: #fff; background: transparent; }
.ql-btn--light:hover { background: #fff; color: var(--ql-ink); }
.ql-btn--wa { background: var(--ql-paper); border-color: var(--ql-green); color: var(--ql-green); }
.ql-btn--wa:hover { background: var(--ql-green); color: #fff; }
.ql-btn--block { width: 100%; }
.ql-btn[disabled], .ql-btn.is-disabled { opacity: .55; cursor: not-allowed; }
.btn-order.btn-outline-primary-2 { background: var(--ql-accent) !important; border-color: var(--ql-accent) !important; color: #fff !important; }
.btn-order.btn-outline-primary-2:hover { background: var(--ql-accent-deep) !important; color: #fff !important; }

/* ---------- Badges, prix, stock ---------- */
.ql-badge {
  display: inline-block; font-family: var(--ql-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; line-height: 1.3;
}
.ql-badge--promo { background: var(--ql-accent); color: #fff; }
.ql-badge--new { background: var(--ql-ink); color: #fff; }
.ql-badge--star { background: var(--ql-red); color: #fff; }
.ql-badge--out { background: var(--ql-muted); color: #fff; }

.ql-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ql-green); }
.ql-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.ql-stock--low { color: var(--ql-warn-text); }
.ql-stock--out { color: var(--ql-red); }

.ql-price { font-family: var(--ql-display); font-weight: 700; font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ql-ink); white-space: nowrap; }
.ql-price small { font-family: var(--ql-body); font-size: 12px; font-weight: 500; color: var(--ql-muted); }
.ql-price-old { font-size: 13px; color: var(--ql-muted); text-decoration: line-through; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ql-ref { font-family: var(--ql-mono); font-size: 11px; color: var(--ql-muted); }

/* ---------- Barre haute ---------- */
.ql-topbar { background: #4A4A4A; color: #fff; font-size: 13px; }
.ql-topbar .ql-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; flex-wrap: wrap; }
.ql-topbar a { color: #fff; text-decoration: none; }
.ql-topbar a:hover { color: #fff; text-decoration: underline; }
.ql-topbar__links { display: flex; gap: 18px; flex-wrap: wrap; }
.ql-topbar strong { font-weight: 600; }

/* ---------- En-tête ---------- */
.ql-header { position: sticky; top: 0; z-index: 1030; background: var(--ql-paper); box-shadow: 0 1px 0 var(--ql-line); }
.ql-header__main .ql-container { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-block: 12px; }
.ql-header__brand { display: flex; align-items: center; gap: 6px; }
.ql-logo { display: inline-flex; align-items: center; }
.ql-logo img { height: 44px; width: auto; display: block; }
.ql-burger { display: none; background: none; border: 0; padding: 6px; color: var(--ql-ink); }
.ql-burger i { font-size: 26px; }

.ql-search { display: flex; height: 46px; border: 2px solid var(--ql-ink); border-radius: var(--ql-radius); overflow: hidden; background: var(--ql-paper); position: relative; }
.ql-search select {
  border: 0; border-right: 1px solid var(--ql-line); background: var(--ql-concrete); font-weight: 600; font-size: 13px;
  padding: 0 28px 0 12px; max-width: 190px; height: 100%; color: var(--ql-ink); appearance: auto;
}
.ql-search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; font-size: 15px; color: var(--ql-ink); background: transparent; }
.ql-search input::placeholder { color: var(--ql-muted); }
.ql-search input:focus, .ql-search select:focus { outline: none; }
.ql-search:focus-within { box-shadow: 0 0 0 3px rgba(0, 0, 0, .2); }
.ql-search button { width: 56px; border: 0; background: var(--ql-accent); color: #fff; font-size: 20px; display: grid; place-items: center; }
.ql-search button:hover { background: var(--ql-accent-deep); }

.ql-actions { display: flex; gap: 6px; align-items: center; }
.ql-action {
  position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 600; color: var(--ql-ink); text-decoration: none !important; background: none; border: 0;
}
.ql-action i { font-size: 22px; line-height: 1; }
.ql-action:hover { background: var(--ql-concrete); color: var(--ql-ink); }
.ql-action .ql-count, .ql-action .cart-count, .ql-action .wishlist-count {
  position: absolute; top: 0; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--ql-accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.ql-account { position: relative; }
.ql-account .dropdown-menu {
  border: 1px solid var(--ql-line); border-radius: var(--ql-radius); box-shadow: 0 12px 30px -12px rgba(0,0,0,.25);
  padding: 8px; min-width: 230px; margin-top: 6px;
}
.ql-account .dropdown-menu .ql-account__hello { padding: 8px 10px 10px; border-bottom: 1px solid var(--ql-line); margin-bottom: 6px; font-size: 13px; color: var(--ql-muted); }
.ql-account .dropdown-menu .ql-account__hello strong { display: block; color: var(--ql-ink); font-size: 15px; }
.ql-account .dropdown-item { border-radius: 6px; padding: 8px 10px; font-size: 14px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.ql-account .dropdown-item i { width: 18px; text-align: center; color: var(--ql-muted); }
.ql-account .dropdown-item:hover { background: var(--ql-concrete); color: var(--ql-ink); }

.ql-nav { border-top: 1px solid var(--ql-line); background: var(--ql-paper); }
.ql-nav .ql-container { display: flex; align-items: center; gap: 4px; }
.ql-nav__rayons { position: relative; }
.ql-nav__toggle {
  display: flex; align-items: center; gap: 10px; background: var(--ql-ink); color: #fff; border: 0;
  font-family: var(--ql-display); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  padding: 11px 18px; margin-right: 10px;
}
.ql-nav__toggle:hover, .ql-nav__rayons.is-open .ql-nav__toggle { background: var(--ql-green); }
.ql-nav__panel {
  position: absolute; left: 0; top: 100%; z-index: 1040; width: min(760px, calc(100vw - 48px)); background: var(--ql-paper);
  border: 1px solid var(--ql-line); border-radius: 0 0 var(--ql-radius) var(--ql-radius); box-shadow: 0 20px 40px -20px rgba(0,0,0,.35);
  padding: 14px; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px;
}
.ql-nav__rayons.is-open .ql-nav__panel { display: grid; }
.ql-nav__panel a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; }
.ql-nav__panel a:hover { background: var(--ql-tint); color: var(--ql-ink); }
.ql-nav__panel a i { width: 22px; text-align: center; color: var(--ql-green); }
.ql-nav__panel a span { margin-left: auto; font-family: var(--ql-mono); font-size: 11px; color: var(--ql-muted); font-weight: 400; }
.ql-nav__links { display: flex; gap: 2px; flex-wrap: wrap; }
.ql-nav__links a { padding: 12px 12px; font-weight: 600; font-size: 14px; text-decoration: none; box-shadow: inset 0 -3px 0 transparent; }
.ql-nav__links a:hover { color: var(--ql-ink); box-shadow: inset 0 -3px 0 var(--ql-line); }
.ql-nav__links a.is-active { box-shadow: inset 0 -3px 0 var(--ql-accent); }
.ql-nav__wa { margin-left: auto; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ql-green); text-decoration: none; }
.ql-nav__wa i { font-size: 20px; }

/* ---------- Sections de page ---------- */
.ql-section { padding-top: 32px; }
.ql-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.ql-section__head h2 { font-size: 30px; font-weight: 700; text-transform: uppercase; margin: 0; line-height: 1; text-wrap: balance; }
.ql-section__head p { color: var(--ql-muted); font-size: 14px; margin: 4px 0 0; }
.ql-section__head a.ql-more { font-weight: 700; font-size: 14px; color: #4A4A4A; text-decoration: none; white-space: nowrap; }
.ql-section__head a.ql-more:hover { text-decoration: underline; }
.ql-eyebrow { font-family: var(--ql-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ql-accent-text); }

/* ---------- Hero ---------- */
.ql-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; padding-top: 20px; }
.ql-hero__main {
  position: relative; overflow: hidden; border-radius: 12px; background: var(--ql-ink); color: #fff; min-height: 340px;
}
.ql-hero__main .owl-carousel, .ql-hero__main .owl-stage-outer, .ql-hero__main .owl-stage, .ql-hero__main .owl-item { height: 100%; }
.ql-slide { position: relative; min-height: 340px; height: 100%; display: grid; align-items: end; }
.ql-slide picture, .ql-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ql-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,31,28,.88) 0%, rgba(27,31,28,.55) 50%, rgba(27,31,28,.1) 100%); }
.ql-slide__body { position: relative; z-index: 2; padding: 36px 40px; max-width: 560px; display: grid; gap: 12px; }
.ql-slide__body .ql-eyebrow { color: #fff; }
.ql-slide__body h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); font-weight: 800; text-transform: uppercase; line-height: .95; margin: 0; }
.ql-slide__body p { color: #D3D8D3; font-size: 15px; margin: 0; }
.ql-slide__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.ql-hero__brand { position: relative; min-height: 340px; padding: 36px 40px; display: grid; align-content: end; gap: 12px; }
.ql-hero__brand::after { content: ""; position: absolute; right: -70px; top: -70px; width: 320px; height: 320px; border-radius: 50%; border: 46px solid #fff; }
.ql-hero__brand::before { content: ""; position: absolute; right: 50px; top: 80px; width: 70px; height: 200px; border-radius: 40px; background: var(--ql-green); transform: rotate(-42deg); z-index: 1; }
.ql-hero__brand > * { position: relative; z-index: 2; max-width: 460px; }
.ql-hero__main .owl-dots { position: absolute; bottom: 14px; right: 20px; z-index: 3; margin: 0 !important; }
.ql-hero__main .owl-dot span { background: rgba(255,255,255,.5) !important; }
.ql-hero__main .owl-dot.active span { background: #fff !important; }
/* Sur fond sombre, le bouton principal noir passe en blanc */
.ql-hero__main .ql-btn--primary { background: #fff !important; border-color: #fff !important; color: var(--ql-ink) !important; }
.ql-hero__main .ql-btn--primary:hover { background: var(--ql-concrete) !important; border-color: var(--ql-concrete) !important; color: var(--ql-ink) !important; }

.ql-flash { background: var(--ql-paper); border: 2px solid var(--ql-accent); border-radius: 12px; padding: 18px; display: grid; gap: 12px; align-content: start; }
.ql-flash__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ql-flash__top h2 { font-size: 24px; text-transform: uppercase; margin: 0; }
.ql-flash__prod { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none !important; }
.ql-flash__prod img { width: 120px; height: 120px; object-fit: contain; background: var(--ql-concrete); border-radius: var(--ql-radius); }
.ql-flash__prod b { display: block; font-size: 15px; line-height: 1.25; margin: 4px 0 6px; }
.ql-flash .product-countdown { margin: 0; }
.ql-flash .countdown-section { background: var(--ql-ink); color: #fff; border-radius: 4px; }
.ql-flash .countdown-amount { color: #fff; font-family: var(--ql-mono); }
.ql-flash .countdown-period { color: #C9CEC9; }
.ql-flash__more { display: grid; gap: 8px; border-top: 1px dashed var(--ql-line); padding-top: 10px; }
.ql-flash__mini { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; text-decoration: none !important; }
.ql-flash__mini span:first-child { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ---------- Rayons ---------- */
.ql-rayons { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.ql-rayon {
  background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: var(--ql-radius); padding: 16px 10px 14px;
  display: grid; justify-items: center; gap: 6px; text-align: center; text-decoration: none !important; transition: border-color .15s, transform .15s;
}
.ql-rayon i { font-size: 28px; color: var(--ql-ink); }
.ql-rayon b { font-size: 14px; line-height: 1.2; }
.ql-rayon span { font-family: var(--ql-mono); font-size: 11px; color: var(--ql-muted); }
.ql-rayon:hover { border-color: var(--ql-accent); transform: translateY(-2px); }
.ql-rayon:hover i { color: var(--ql-accent-deep); }

/* ---------- Réassurance ---------- */
.ql-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: var(--ql-radius); margin-top: 32px; }
.ql-trust > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 16px 18px; border-right: 1px solid var(--ql-line); }
.ql-trust > div:last-child { border-right: 0; }
.ql-trust i { font-size: 26px; color: #4A4A4A; text-align: center; }
.ql-trust b { display: block; font-size: 14px; }
.ql-trust span { font-size: 13px; color: var(--ql-muted); }

/* ---------- Grilles et cartes produit ---------- */
.ql-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ql-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ql-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ql-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.ql-rail > * { scroll-snap-align: start; }

.ql-card {
  position: relative; background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: var(--ql-radius);
  padding: 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; transition: box-shadow .15s, border-color .15s;
}
.ql-card:hover { border-color: #BFC5BD; box-shadow: 0 12px 24px -16px rgba(0,0,0,.35); }
.ql-card__media { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: var(--ql-concrete); }
.ql-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.ql-card:hover .ql-card__media img { transform: scale(1.04); }
.ql-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 1; }
.ql-card__fav {
  position: absolute; top: 8px; right: 8px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--ql-ink); font-size: 16px; cursor: pointer;
}
.ql-card__fav:hover { background: var(--ql-accent); color: #fff; }
.ql-card__cat { font-family: var(--ql-mono); font-size: 11px; color: var(--ql-muted); text-transform: uppercase; letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ql-card__title { font-family: var(--ql-body); font-weight: 600; font-size: 14px; line-height: 1.3; margin: 0; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ql-card__title a { text-decoration: none; color: var(--ql-ink); }
.ql-card__rating { font-size: 12px; color: var(--ql-muted); display: flex; gap: 4px; align-items: center; }
.ql-card__rating .ql-stars { color: var(--ql-accent); letter-spacing: 1px; }
.ql-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding-top: 2px; }
.ql-card__prices { display: grid; gap: 2px; min-width: 0; }
.ql-card__go {
  flex: none; width: 40px; height: 40px; border-radius: 6px; background: var(--ql-accent); color: #fff;
  display: grid; place-items: center; font-size: 17px; text-decoration: none !important;
}
.ql-card__go:hover { background: var(--ql-accent-deep); color: #fff; }
.ql-card.is-out .ql-card__media img { opacity: .55; }
.ql-card.is-out .ql-card__go { background: var(--ql-concrete); color: var(--ql-muted); }
.ql-card__sold { font-size: 12px; color: var(--ql-green); font-weight: 600; }

/* ---------- Bandeau devis / pros ---------- */
.ql-band {
  margin-top: 32px; border-radius: 12px; background: #4A4A4A; color: #fff; padding: 28px 32px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 24px; align-items: center;
}
.ql-band h2 { color: #fff; font-size: 34px; text-transform: uppercase; margin: 0; line-height: 1; }
.ql-band p { color: #DADADA; margin: 8px 0 0; font-size: 15px; max-width: 60ch; }
.ql-band__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Partenaires ---------- */
.ql-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.ql-partners > div, .ql-partners > a { background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: var(--ql-radius); display: grid; place-items: center; padding: 14px; height: 80px; }
.ql-partners > a:hover { border-color: var(--ql-accent); }
.ql-partners img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.ql-partners > div:hover img, .ql-partners > a:hover img { filter: none; opacity: 1; }

/* ---------- Pied de page ---------- */
.ql-footer { margin-top: 48px; background: var(--ql-ink); color: #C9CEC9; font-size: 14px; }
.ql-footer a { color: #C9CEC9; text-decoration: none; }
.ql-footer a:hover { color: #fff; text-decoration: underline; }
.ql-footer__news { background: var(--ql-accent); color: #fff; border-bottom: 1px solid #2E3430; }
.ql-footer__news .ql-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding-block: 22px; }
.ql-footer__news h2 { font-size: 26px; text-transform: uppercase; margin: 0; }
.ql-footer__news p { margin: 4px 0 0; font-size: 14px; }
.ql-footer__news form { display: flex; background: var(--ql-paper); border-radius: var(--ql-radius); overflow: hidden; border: 2px solid var(--ql-ink); }
.ql-footer__news input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font-size: 15px; }
.ql-footer__news input:focus { outline: none; }
.ql-footer__news button { border: 0; background: var(--ql-ink); color: #fff; font-family: var(--ql-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 0 18px; font-size: 15px; }
.ql-footer__cols .ql-container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 36px; }
.ql-footer h3 { color: #fff; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 12px; }
.ql-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ql-footer__brand img { height: 40px; width: auto; background: #fff; border-radius: 6px; padding: 4px 8px; margin-bottom: 12px; }
.ql-footer__brand p { max-width: 36ch; margin: 0 0 14px; }
.ql-pays { display: flex; flex-wrap: wrap; gap: 6px; }
.ql-pays span { background: #2B302C; border-radius: 4px; padding: 4px 8px; font-family: var(--ql-mono); font-size: 11px; color: #E7EAE5; }
.ql-contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.ql-contact i { color: #fff; padding-top: 3px; }
.ql-social { display: flex; gap: 8px; margin-top: 14px; }
.ql-social a { width: 36px; height: 36px; border-radius: 50%; background: #2B302C; display: grid; place-items: center; color: #fff; }
.ql-social a:hover { background: #fff; color: var(--ql-ink); text-decoration: none; }
.ql-footer__bottom { border-top: 1px solid #2E3430; }
.ql-footer__bottom .ql-container { display: flex; justify-content: space-between; gap: 12px; padding-block: 14px; font-size: 13px; flex-wrap: wrap; }

/* ---------- Navigation mobile basse + WhatsApp ---------- */
.ql-tabbar { display: none; }
.ql-wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 1020; width: 54px; height: 54px; border-radius: 50%;
  background: #25A244; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
}
.ql-wa-float:hover { background: var(--ql-green); color: #fff; }
#scroll-top { display: none !important; }

/* ---------- Fenêtre d'annonce ---------- */
.ql-annonce .modal-dialog { max-width: 620px; }
.ql-annonce .modal-content { border: 0; border-radius: 14px; overflow: hidden; }
.ql-annonce__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; background: var(--ql-concrete); }
.ql-annonce__head { background: var(--ql-ink); color: #fff; padding: 22px 26px 18px; position: relative; overflow: hidden; }
.ql-annonce__head::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 24px solid #fff; }
.ql-annonce--info .ql-annonce__head::after { border-color: var(--ql-green); }
.ql-annonce--alerte .ql-annonce__head { background: var(--ql-red); }
.ql-annonce--alerte .ql-annonce__head::after { border-color: rgba(255,255,255,.3); }
.ql-annonce__head .ql-eyebrow { color: #fff; position: relative; z-index: 1; }
.ql-annonce--alerte .ql-annonce__head .ql-eyebrow { color: #FFE2B8; }
.ql-annonce__head h2 { color: #fff; font-size: 32px; text-transform: uppercase; line-height: 1; margin: 6px 0 0; position: relative; z-index: 1; max-width: 90%; }
.ql-annonce__body { padding: 20px 26px 24px; display: grid; gap: 16px; }
.ql-annonce__body p { margin: 0; font-size: 16px; color: var(--ql-ink); white-space: pre-line; }
.ql-coupon { display: flex; align-items: center; gap: 10px; border: 2px dashed var(--ql-accent); background: var(--ql-tint); border-radius: var(--ql-radius); padding: 10px 12px; }
.ql-coupon code { font-family: var(--ql-mono); font-size: 20px; font-weight: 500; color: var(--ql-ink); background: none; letter-spacing: .06em; flex: 1; }
.ql-coupon button { border: 0; background: var(--ql-ink); color: #fff; border-radius: 6px; padding: 8px 12px; font-weight: 600; font-size: 13px; }
.ql-annonce__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ql-annonce__close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.95); color: var(--ql-ink); font-size: 22px; line-height: 1; display: grid; place-items: center;
}

/* ---------- Fiche produit ---------- */
.ql-crumbs { padding-top: 16px; font-size: 13px; color: var(--ql-muted); }
.ql-crumbs a { color: var(--ql-muted); text-decoration: none; }
.ql-crumbs a:hover { color: var(--ql-ink); text-decoration: underline; }
.ql-crumbs span { margin-inline: 6px; }
.ql-pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; padding-top: 14px; }
.ql-pdp__gallery { background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: 12px; padding: 14px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-self: start; }
.ql-pdp__thumbs { display: grid; gap: 8px; align-content: start; }
.ql-pdp__thumbs button { border: 2px solid var(--ql-line); border-radius: 6px; padding: 0; background: var(--ql-concrete); aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.ql-pdp__thumbs button.is-active { border-color: var(--ql-accent); }
.ql-pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ql-pdp__main { position: relative; aspect-ratio: 1; background: var(--ql-concrete); border-radius: var(--ql-radius); overflow: hidden; display: grid; place-items: center; }
.ql-pdp__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ql-pdp__main .ql-card__badges { top: 12px; left: 12px; }
.ql-pdp__buy { display: grid; gap: 16px; align-content: start; }
.ql-pdp__buy h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; text-transform: uppercase; line-height: 1; margin: 0; text-wrap: balance; }
.ql-pdp__meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--ql-muted); }
.ql-pdp__meta a { color: var(--ql-muted); }
.ql-pdp__price { background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: var(--ql-radius); padding: 16px; display: grid; gap: 6px; }
.ql-pdp__price .ql-price { font-size: 42px; }
.ql-pdp__price .ql-saving { font-size: 13px; color: var(--ql-green); font-weight: 600; }

.ql-stockbox { border-radius: var(--ql-radius); padding: 14px 16px; display: grid; gap: 8px; border: 1px solid; }
.ql-stockbox--ok { background: var(--ql-green-soft); border-color: #BFDDC8; }
.ql-stockbox--low { background: var(--ql-warn-tint); border-color: #F5C98E; }
.ql-stockbox--out { background: var(--ql-red-soft); border-color: #EDB7B2; }
.ql-stockbox__line { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ql-stockbox__label { font-family: var(--ql-display); font-size: 20px; font-weight: 700; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.ql-stockbox--ok .ql-stockbox__label { color: var(--ql-green-deep); }
.ql-stockbox--low .ql-stockbox__label { color: var(--ql-warn-text); }
.ql-stockbox--out .ql-stockbox__label { color: var(--ql-red); }
.ql-stockbox__qty { font-family: var(--ql-mono); font-size: 13px; font-weight: 500; }
.ql-stockbox__meter { height: 8px; border-radius: 4px; background: rgba(27,31,28,.1); overflow: hidden; }
.ql-stockbox__meter i { display: block; height: 100%; border-radius: 4px; }
.ql-stockbox--ok .ql-stockbox__meter i { background: var(--ql-green); }
.ql-stockbox--low .ql-stockbox__meter i { background: var(--ql-warn); }
.ql-stockbox p { margin: 0; font-size: 13.5px; color: var(--ql-ink); }

.ql-pdp__qty { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
.ql-qty { display: inline-flex; border: 2px solid var(--ql-line); border-radius: 6px; overflow: hidden; background: var(--ql-paper); height: 48px; }
.ql-qty button { width: 40px; border: 0; background: var(--ql-paper); font-size: 20px; font-weight: 700; color: var(--ql-ink); }
.ql-qty button:hover { background: var(--ql-concrete); }
.ql-qty input { width: 64px; border: 0; border-inline: 2px solid var(--ql-line); text-align: center; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.ql-qty input::-webkit-outer-spin-button, .ql-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ql-pdp__qty .ql-btn { height: 48px; }
.ql-pdp__second { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ql-pdp__services { background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: var(--ql-radius); }
.ql-pdp__services div { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--ql-line); font-size: 14px; }
.ql-pdp__services div:last-child { border-bottom: 0; }
.ql-pdp__services i { font-size: 22px; color: #4A4A4A; text-align: center; }
.ql-pdp__services em { font-style: normal; display: block; color: var(--ql-muted); font-size: 13px; }
.ql-pdp__tabs { margin-top: 32px; background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: 12px; overflow: hidden; }
.ql-pdp__tabs .nav { border-bottom: 1px solid var(--ql-line); padding: 0 12px; gap: 4px; }
.ql-pdp__tabs .nav-link {
  border: 0 !important; font-family: var(--ql-display); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: .03em;
  color: var(--ql-muted) !important; padding: 14px 14px !important; background: none !important; box-shadow: inset 0 -3px 0 transparent;
}
.ql-pdp__tabs .nav-link.active { color: var(--ql-ink) !important; box-shadow: inset 0 -3px 0 var(--ql-accent); }
.ql-pdp__tabs .tab-content { padding: 22px 24px; font-size: 15px; }
.ql-pdp__tabs .tab-content p { max-width: 75ch; }
.ql-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; max-width: 900px; }
.ql-specs div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--ql-line); padding: 9px 0; font-size: 14px; }
.ql-specs div span:first-child { color: var(--ql-muted); }
.ql-specs div span:last-child { font-weight: 600; text-align: right; }
.ql-review { border-bottom: 1px solid var(--ql-line); padding: 14px 0; display: grid; gap: 4px; }
.ql-review:last-child { border-bottom: 0; }
.ql-review header { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ql-review .ql-stars { color: var(--ql-accent); }
.ql-review p { margin: 0; }
.ql-sticky-buy { display: none; }

/* ---------- Pages internes (thème existant) ---------- */
.page-header {
  background: var(--ql-ink) !important; padding: 34px 0 30px !important; text-align: left !important; position: relative; overflow: hidden;
}
.page-header::after { content: ""; position: absolute; right: -60px; top: -90px; width: 240px; height: 240px; border-radius: 50%; border: 38px solid #fff; opacity: .9; }
.page-header .container { width: 100%; max-width: var(--ql-max); padding-inline: var(--ql-gutter); position: relative; z-index: 1; }
.page-header .page-title {
  color: #fff !important; font-size: clamp(32px, 4vw, 46px) !important; font-weight: 800 !important; text-transform: uppercase; line-height: 1 !important; margin: 0;
}
.page-header .page-title span { display: block; font-family: var(--ql-mono); font-size: 13px !important; letter-spacing: .08em; color: #C9CEC9 !important; margin-top: 10px !important; text-transform: uppercase; }
.breadcrumb-nav { background: var(--ql-paper); border-bottom: 1px solid var(--ql-line) !important; margin-bottom: 24px !important; }
.breadcrumb-nav .container { width: 100%; max-width: var(--ql-max); padding-inline: var(--ql-gutter); }
.breadcrumb { padding: 12px 0 !important; font-size: 13px; }
.breadcrumb-item, .breadcrumb-item a { color: var(--ql-muted) !important; }
.breadcrumb-item.active { color: var(--ql-ink) !important; font-weight: 600; }
.page-content { padding-bottom: 24px; }
.page-content > .container, .main > .container { width: 100%; max-width: var(--ql-max); }

.form-control, .custom-select, .select-custom select, .select-custom .form-control {
  border: 1.5px solid var(--ql-line) !important; border-radius: 6px !important; font-size: 15px !important; color: var(--ql-ink) !important;
  background-color: var(--ql-paper) !important; min-height: 44px; padding: 8px 12px !important; height: auto;
}
.form-control:focus { border-color: var(--ql-accent) !important; box-shadow: 0 0 0 3px rgba(0,0,0,.15) !important; }
label { font-size: 14px; font-weight: 600; color: var(--ql-ink); }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--ql-ink) !important; border-color: var(--ql-ink) !important; }

/* Panier, paiement */
.table.table-cart, .table.table-summary, .table.table-wishlist { background: var(--ql-paper); border-radius: var(--ql-radius); font-size: 15px; }
.table-cart thead th, .table-wishlist thead th { font-family: var(--ql-mono); font-size: 11px !important; text-transform: uppercase; letter-spacing: .06em; color: var(--ql-muted) !important; font-weight: 500 !important; }
.table-cart .product-title, .table-wishlist .product-title { font-family: var(--ql-body); font-size: 15px; font-weight: 600; }
.table-cart .price-col, .table-cart .total-col { font-family: var(--ql-display); font-weight: 700; font-size: 18px !important; font-variant-numeric: tabular-nums; color: var(--ql-ink) !important; }
.summary { background: var(--ql-paper) !important; border: 1px solid var(--ql-line) !important; border-radius: 12px !important; padding: 22px !important; }
.summary-title { font-size: 22px !important; text-transform: uppercase; border-bottom: 2px solid var(--ql-ink) !important; }
.summary-total td { font-family: var(--ql-display); font-size: 24px !important; font-weight: 700; color: var(--ql-ink) !important; }
.checkout-title { font-size: 22px !important; text-transform: uppercase; }
.accordion-summary .card { border: 2px solid var(--ql-line) !important; border-radius: var(--ql-radius) !important; margin-bottom: 8px; background: var(--ql-paper); }
.accordion-summary .card-title a { font-family: var(--ql-body); font-size: 15px !important; font-weight: 700; color: var(--ql-ink) !important; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; }
.accordion-summary .card-title a img { max-height: 26px; width: auto; }
.accordion-summary .card-title a:not(.collapsed) { background: var(--ql-tint); }
.accordion-summary .card-body { padding: 0 14px 14px !important; font-size: 14px; color: var(--ql-muted); }
.checkout-discount label span, .checkout-discount label { color: var(--ql-ink) !important; }

/* Compte */
.nav-dashboard .nav-link { border-radius: 6px; padding: 10px 12px !important; font-weight: 600; color: var(--ql-ink) !important; border: 0 !important; }
.nav-dashboard .nav-link.active, .nav-dashboard .nav-link:hover { background: var(--ql-ink) !important; color: #fff !important; }
.nav-dashboard { background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: var(--ql-radius); padding: 8px; }

/* Listes : barre d'outils, filtres, pagination */
.toolbox { background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: var(--ql-radius); padding: 10px 14px; }
.ql-filters { background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: var(--ql-radius); padding: 4px 16px; }
.ql-filter { border-bottom: 1px solid var(--ql-line); padding: 14px 0; }
.ql-filter:last-child { border-bottom: 0; }
.ql-filter > h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 10px; }
.ql-check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; padding: 4px 0; cursor: pointer; margin: 0; }
.ql-check input { width: 17px; height: 17px; accent-color: var(--ql-ink); flex: none; }
.ql-check span { margin-left: auto; font-family: var(--ql-mono); font-size: 11px; color: var(--ql-muted); font-weight: 400; }
.ql-price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ql-price-inputs input { min-height: 40px !important; font-size: 14px !important; }
.ql-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ql-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--ql-tint); border: 1.5px solid var(--ql-accent); border-radius: 99px; padding: 4px 10px; font-size: 13px; font-weight: 600; text-decoration: none !important; color: var(--ql-ink); }
.ql-chip:hover { background: var(--ql-accent); color: #fff; }
.ql-chip i { font-size: 11px; }
.ql-plp { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding-top: 10px; }
.ql-plp__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ql-plp__bar select { min-height: 40px !important; width: auto !important; font-weight: 600; }
.ql-plp__count { color: var(--ql-muted); font-size: 14px; }
.ql-filters-toggle { display: none; }
.ql-empty { background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: 12px; padding: 40px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.ql-empty i { font-size: 40px; color: var(--ql-muted); }
.ql-empty h2 { font-size: 26px; text-transform: uppercase; margin: 0; }
.ql-empty p { color: var(--ql-muted); margin: 0; max-width: 50ch; }
.pagination { gap: 6px; margin-top: 22px; }
.pagination .page-link { border-radius: 6px !important; border: 1px solid var(--ql-line) !important; color: var(--ql-ink) !important; font-weight: 600; min-width: 38px; text-align: center; background: var(--ql-paper); }
.pagination .page-item.active .page-link { background: var(--ql-ink) !important; border-color: var(--ql-ink) !important; color: #fff !important; }
.pagination .page-item.disabled .page-link { opacity: .5; }

/* Modales Bootstrap et SweetAlert */
.modal-content { border-radius: 12px; border: 0; }
.swal2-popup { border-radius: 14px !important; font-family: var(--ql-body) !important; }
.swal2-title { font-family: var(--ql-display) !important; text-transform: uppercase; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .ql-rayons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ql-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ql-rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .ql-footer__cols .ql-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  :root { --ql-gutter: 16px; }
  /* Mobile : menu à gauche, logo centré, compte + panier à droite, recherche en dessous */
  .ql-header__main .ql-container { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px 10px; padding-block: 8px 10px; }
  .ql-header__brand { display: contents; }
  .ql-burger { display: inline-flex; grid-column: 1; grid-row: 1; justify-self: start; margin-left: -6px; }
  .ql-logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .ql-logo img { height: 34px; }
  .ql-actions { grid-column: 3; grid-row: 1; justify-self: end; gap: 2px; margin-right: -6px; }
  .ql-action { padding: 6px 8px; }
  .ql-header__search { grid-column: 1 / -1; grid-row: 2; }
  .ql-topbar__more { display: none; }
  .ql-search { height: 42px; }
  .ql-search select { display: none; }
  .ql-actions .ql-action--hide-sm, .ql-action__txt { display: none; }
  .ql-nav { display: none; }
  .ql-topbar__links { display: none; }
  .ql-hero { grid-template-columns: minmax(0, 1fr); }
  .ql-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ql-trust > div:nth-child(2) { border-right: 0; }
  .ql-trust > div:nth-child(-n+2) { border-bottom: 1px solid var(--ql-line); }
  .ql-grid, .ql-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ql-rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .ql-band { grid-template-columns: minmax(0, 1fr); }
  .ql-pdp { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ql-plp { grid-template-columns: minmax(0, 1fr); }
  .ql-filters-toggle { display: inline-flex; }
  .ql-plp__aside { display: none; }
  .ql-plp__aside.is-open { display: block; }
  .ql-footer__news .ql-container { grid-template-columns: minmax(0, 1fr); }

  /* barre d'onglets basse */
  .ql-tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    background: var(--ql-paper); border-top: 1px solid var(--ql-line); padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .ql-tabbar a { position: relative; display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--ql-muted); text-decoration: none; }
  .ql-tabbar a i { font-size: 20px; }
  .ql-tabbar a.is-active { color: var(--ql-ink); }
  .ql-tabbar a.is-active i { color: var(--ql-accent-deep); }
  .ql-tabbar .cart-count, .ql-tabbar .ql-count { position: absolute; top: -4px; left: calc(50% + 4px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--ql-accent); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .ql-wa-float { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); width: 50px; height: 50px; }
  .ql-sticky-buy {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; position: fixed; left: 0; right: 0;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px)); z-index: 1025; background: var(--ql-paper); border-top: 1px solid var(--ql-line); padding: 10px 16px;
    box-shadow: 0 -10px 20px -16px rgba(0,0,0,.4);
  }
  .ql-sticky-buy .ql-price { font-size: 22px; }
  body.has-sticky-buy .ql-wa-float { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 575px) {
  .ql-rayons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ql-rayon { padding: 12px 6px; }
  .ql-rayon b { font-size: 12px; }
  .ql-grid, .ql-grid--4, .ql-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ql-rail { grid-auto-columns: 46%; gap: 10px; }
  .ql-slide, .ql-hero__main, .ql-hero__brand { min-height: 280px; }
  .ql-slide__body, .ql-hero__brand { padding: 24px 20px; }
  .ql-section__head h2 { font-size: 24px; }
  .ql-trust { grid-template-columns: minmax(0, 1fr); }
  .ql-trust > div { border-right: 0 !important; border-bottom: 1px solid var(--ql-line); }
  .ql-trust > div:last-child { border-bottom: 0; }
  .ql-footer__cols .ql-container { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ql-pdp__gallery { grid-template-columns: minmax(0, 1fr); }
  .ql-pdp__thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; }
  .ql-pdp__second { grid-template-columns: minmax(0, 1fr); }
  .ql-specs { grid-template-columns: minmax(0, 1fr); }
  .ql-card__go { width: 36px; height: 36px; }
  .ql-price { font-size: 19px; }
  .ql-band { padding: 22px 20px; }
  .ql-band h2 { font-size: 26px; }
  .ql-annonce__head h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .ql-card, .ql-card__media img, .ql-rayon { transition: none; }
}

/* Correctifs après relecture visuelle */
.ql-footer__news p, .ql-footer__news h2 { color: #fff; }
.ql-action i, .ql-tabbar a i { font-size: 20px; }
.ql-wa-float i { font-size: 28px; }
.ql-trust i { font-size: 24px; }
.ql-btn.btn-cart::before, .ql-btn.btn-cart::after { content: none !important; display: none !important; }
/* Les grilles à une colonne ne doivent jamais s'élargir selon leur contenu */
.ql-flash, .ql-pdp__buy, .ql-flash__more, .ql-annonce__body { grid-template-columns: minmax(0, 1fr); }
.ql-flash > *, .ql-pdp__buy > *, .ql-hero > * { min-width: 0; }
html, body { overflow-x: hidden; }

/* ---------- Connexion Google / Facebook ---------- */
.ql-social-login { display: grid; gap: 10px; margin-bottom: 6px; }
.ql-social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 8px;
  font-family: var(--ql-body); font-weight: 600; font-size: 15px; text-decoration: none !important; border: 1.5px solid var(--ql-line);
  transition: background-color .15s, border-color .15s;
}
.ql-social-btn--google { background: #fff; color: #1F1F1F !important; }
.ql-social-btn--google:hover { background: #F6F7F5; border-color: #9AA19B; }
.ql-social-btn--facebook { background: #1877F2; border-color: #1877F2; color: #fff !important; }
.ql-social-btn--facebook:hover { background: #0F63CF; border-color: #0F63CF; }
.ql-social-btn--facebook i { font-size: 20px; }
.ql-social-note { margin: 0; font-size: 12.5px; color: var(--ql-muted); text-align: center; }
.ql-divider { display: flex; align-items: center; gap: 12px; color: var(--ql-muted); font-size: 13px; margin: 6px 0 4px; }
.ql-divider::before, .ql-divider::after { content: ""; flex: 1; height: 1px; background: var(--ql-line); }

/* ---------- Compléter le profil ---------- */
.ql-complete { max-width: 520px; margin: 36px auto 0; background: var(--ql-paper); border: 1px solid var(--ql-line); border-radius: 12px; padding: 28px; display: grid; gap: 14px; }
.ql-complete h1 { font-size: 34px; text-transform: uppercase; margin: 0; line-height: 1; }
.ql-complete > p { margin: 0; color: var(--ql-muted); }
.ql-complete form { display: grid; gap: 16px; }
.ql-field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.ql-field legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.ql-radios { display: flex; gap: 18px; flex-wrap: wrap; }
.ql-error { margin: 0; color: var(--ql-red); font-size: 13px; font-weight: 600; }
