@media (max-width: 680px) {
  .configomatic-wizard {
    padding: 0.4rem 0.1rem;
    gap: 0.7rem;
  }
  .configomatic-steps {
    flex-direction: column;
    gap: 0.2rem;
  }
  .configomatic-products {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .configomatic-product-card {
    padding: 0.7rem 0.3rem 0.5rem 0.3rem;
  }
  .configomatic-product-img {
    width: 60px;
    height: 60px;
  }
  .configomatic-actions {
    flex-direction: column;
    gap: 0.3rem;
    align-items: stretch;
  }
}
@media (max-width: 420px) {
  .configomatic-product-info {
    font-size: 0.93rem;
  }
  .configomatic-step {
    font-size: 0.97rem;
    padding: 0.4rem 0.5rem;
  }
}
/* --- CONFIGURATEUR WIZARD --- */
.configomatic-wizard {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--surface-2);
  border-radius: 14px;
  padding: 1.2rem 1.1rem;
  margin-bottom: 1.2rem;
}
.configomatic-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.configomatic-step {
  background: #f4f7ff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  color: #1d273b;
  cursor: pointer;
  transition: background 0.18s, border 0.18s;
}
.configomatic-step.active,
.configomatic-step:focus {
  background: #e6f0ff;
  border-color: var(--brand);
  color: var(--brand);
}
.configomatic-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}
.configomatic-product-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1rem 0.7rem 0.7rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 12px rgba(31,86,255,0.06);
  transition: border 0.18s, box-shadow 0.18s;
}
.configomatic-product-card.selected {
  border-color: var(--brand);
  box-shadow: 0 4px 18px rgba(31,86,255,0.13);
}
.configomatic-product-img {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.3rem;
}
.configomatic-product-img img {
  max-width: 100%;
  max-height: 90px;
  border-radius: 8px;
  background: #f7faff;
}
.configomatic-product-info {
  text-align: center;
  font-size: 1.01rem;
  color: #2f4368;
}
.select-product-btn {
  margin-top: 0.5rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.select-product-btn:hover,
.select-product-btn:focus {
  background: var(--brand-2);
}
.configomatic-actions {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
  margin-top: 0.7rem;
}
.configomatic-actions .cta {
  min-width: 120px;
}
@media (max-width: 900px) {
  .configomatic-products {
    grid-template-columns: 1fr;
  }
  .configomatic-steps {
    flex-direction: column;
    gap: 0.3rem;
  }
  .configomatic-wizard {
    padding: 0.7rem 0.3rem;
  }
}
/* --- NAVBAR DROPDOWN --- */
.navbar-dropdown {
  position: relative;
  display: inline-block;
}

.navbar-dropdown > .cta-header {
  cursor: pointer;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--brand);
  background: none;
  border: none;
  outline: none;
  transition: background 0.18s;
}
.navbar-dropdown > .cta-header:hover,
.navbar-dropdown:hover > .cta-header {
  background: #f0f4ff;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(31,86,255,0.10);
  border-radius: 0 0 12px 12px;
  border: 1px solid var(--border);
  z-index: 4000;
  padding: 0.4rem 0;
}
.navbar-dropdown:hover .dropdown-content,
.navbar-dropdown:focus-within .dropdown-content {
  display: block;
}
.dropdown-content a {
  display: block;
  padding: 0.7rem 1.1rem;
  color: #1d273b;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.04rem;
  transition: background 0.16s, color 0.16s;
}
.dropdown-content a:hover {
  background: #f0f4ff;
  color: var(--brand);
}

@media (max-width: 900px) {
  .navbar-dropdown {
    width: 100%;
  }
  .dropdown-content {
    position: static;
    min-width: 0;
    box-shadow: none;
    border-radius: 0 0 12px 12px;
    border: none;
    background: #f7faff;
    padding: 0.2rem 0 0.2rem 1.2rem;
  }
  .dropdown-content a {
    padding-left: 1.5rem;
  }
}
/* Images des cartes de problèmes PC (guide Windows) */
.builder-help-option-img {
  width: 100%;
  max-width: 220px;
  max-height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.5rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(31,86,255,0.08);
}

@media (max-width: 600px) {
  .builder-help-option-img {
    max-width: 100px;
    max-height: 60px;
  }
}
/* --- NAVBAR REWORK --- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2100;
  padding: 0 1.2rem;
  height: 78px;
}
.navbar-left {
  display: flex;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  transition: max-height 0.3s;
}
@media (max-width: 900px) {
  .navbar-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.2rem 1.2rem 1.2rem;
    box-shadow: 0 8px 32px rgba(31,86,255,0.08);
    transform: translateY(-120%);
    transition: transform 0.25s cubic-bezier(.4,1.3,.5,1);
    z-index: 3000;
    border-radius: 0 0 18px 18px;
    overflow-y: auto;
    max-height: 80vh;
  }
  .navbar-links.open {
    transform: translateY(0);
  }
  .navbar-links a {
    width: 100%;
    border-radius: 8px;
    margin: 0.12rem 0;
    font-size: 1.08rem;
    padding: 0.7rem 0.9rem;
    border: none;
    text-align: left;
  }
}
/* --- NAV MOBILE --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  z-index: 3001;
}
.nav-toggle-bar {
  width: 26px;
  height: 3px;
  background: #1f56ff;
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.2s;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.2rem 1.2rem 1.2rem;
    box-shadow: 0 8px 32px rgba(31,86,255,0.08);
    transform: translateY(-120%);
    transition: transform 0.25s cubic-bezier(.4,1.3,.5,1);
    z-index: 3000;
    border-radius: 0 0 18px 18px;
    overflow-y: auto;
    max-height: 80vh;
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav a {
    width: 100%;
    border-radius: 8px;
    margin: 0.12rem 0;
    font-size: 1.08rem;
    padding: 0.7rem 0.9rem;
    border: none;
    text-align: left;
  }
  .header {
    flex-wrap: wrap;
    gap: 0.2rem;
  }
}
/* Style pour le bouton Panier dans la nav */
.nav #navCartLink {
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 6px;
  padding: 7px 18px;
  margin-left: 12px;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 2px 8px rgba(31,86,255,0.06);
}
.nav #navCartLink:hover {
  background: var(--brand);
  color: #fff;
}
/* Style pour le bouton Connexion/Mon compte dans la nav */
.nav #navAccountLink {
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  padding: 7px 18px;
  margin-left: 12px;
  font-weight: 600;
  transition: background 0.18s;
  box-shadow: 0 2px 8px rgba(31,86,255,0.08);
}
.nav #navAccountLink:hover {
  background: var(--brand-2);
}
/* Style pour le zoom d'image produit */
.product-card img {
  cursor: zoom-in;
  transition: box-shadow 0.2s;
}
.product-card img:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8faff;
  --border: #dbe2ef;
  --text: #1d273b;
  --muted: #5f6b83;
  --brand: #1f56ff;
  --brand-2: #3d78ff;
  --accent: #00bcd4;
  --danger: #d61f2c;
  --ok: #1f9e63;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(27, 52, 112, 0.08);
}

/* Page-level override: allow pages to opt-out of fixed navbar by adding
   `no-fixed-nav` to the <body> element (e.g. <body class="no-fixed-nav">).
   This keeps the navbar fixed site-wide by default but lets specific pages
   display it in normal flow. */
body.no-fixed-nav .navbar {
  position: static;
}
/* Ensure content doesn't get an extra top offset on pages without fixed nav */
body.no-fixed-nav main, body.no-fixed-nav .page-wrap, body.no-fixed-nav .hero {
  margin-top: 0;
  padding-top: 0;
}
* { box-sizing: border-box; }

/* Styles pour la page Mon compte */
.account-container {
  max-width: 500px;
  margin: 60px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 32px 24px;
}
.account-container h2 {
  margin-bottom: 18px;
  font-size: 2rem;
  color: #2a2a2a;
}
.account-container .info {
  margin-bottom: 18px;
  font-size: 1.1rem;
}
.account-container .actions {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.account-container button {
  background: #0078d7;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.account-container button:hover {
  background: #005fa3;
}
.account-container .danger {
  background: #e53935;
}
.account-container .danger:hover {
  background: #b71c1c;
}
.account-container .section-title {
  margin-top: 24px;
  font-weight: bold;
  color: #444;
}
.account-container input {
  margin-top: 6px;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 100%;
  font-size: 1rem;
}
/* Bandeau bleu d'information footer */
.footer-info-bar {
  background: #1f56ff;
  color: #fff;
  padding: 76px 32px;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer-info-bar .footer-info-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

html,
body {
  margin: 0;
  padding: 0;
}

html::before,
html::after,
body::before,
body::after {
  content: "";
  position: fixed;
  width: 20px;
  height: 280px;
  pointer-events: none;
  z-index: 1200;
  background: linear-gradient(90deg, #214dd6 0%, #3378ff 60%, #00acd0 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 8px 20px rgba(31, 86, 255, 0.2);
}

html::before {
  left: 14px;
  top: 14px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 78%);
  transform: rotate(-60deg);
  transform-origin: top center;
}

html::after {
  right: 14px;
  top: 14px;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  transform: rotate(60deg);
  transform-origin: top center;
}

body::before {
  left: 14px;
  bottom: -56px;
  clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%);
  transform: rotate(60deg);
  transform-origin: bottom center;
}

body::after {
  right: 14px;
  bottom: -56px;
  clip-path: polygon(0 0, 100% 22%, 100% 100%, 0 100%);
  transform: rotate(-60deg);
  transform-origin: bottom center;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%),
    linear-gradient(160deg, rgba(31, 86, 255, 0.28) 0 70%, transparent 71%),
    linear-gradient(20deg, rgba(61, 120, 255, 0.26) 0 70%, transparent 71%),
    linear-gradient(340deg, rgba(31, 86, 255, 0.24) 0 70%, transparent 71%),
    linear-gradient(200deg, rgba(61, 120, 255, 0.22) 0 70%, transparent 71%);
  background-repeat: no-repeat;
  background-position:
    center,
    left 10px top 130px,
    right 10px top 130px,
    left 10px bottom 24px,
    right 10px bottom 24px;
  background-size:
    100% 100%,
    12px 180px,
    12px 180px,
    12px 180px,
    12px 180px;
  color: var(--text);
  line-height: 1.55;
  padding-top: 92px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

section,
.footer {
  width: 100%;
  max-width: 1200px;
  margin: 1rem auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1rem;
  box-sizing: border-box;
}

h1,
h2,
h3 {
  margin: 0 0 0.55rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

p {
  margin: 0;
  color: var(--muted);
}

.top-info-bar {
  width: 100%;
  min-height: 38px;
  margin-top: -92px;
  margin-bottom: 54px;
  padding: 0.5rem 0.9rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  background: linear-gradient(90deg, #214dd6 0%, #3378ff 60%, #00acd0 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: space-between;
  backdrop-filter: blur(8px);
}

.logo {
  height: 42px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.42rem 0.74rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2c3852;
}

.nav a:hover,
.nav a.is-current {
  border-color: #b9ccff;
  background: #eef3ff;
}

.cta,
.cta-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #5f8dff;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.62rem 0.95rem;
  cursor: pointer;
}

.cta:hover,
.cta-header:hover {
  filter: brightness(1.05);
}

.page-kicker,
.catalog-badge,
.service-tag,
.product-meta,
.deal-badge {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid #bdd0ff;
  background: #edf3ff;
  color: #2a4ea7;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.hero-btns,
.diag-actions,
.product-actions {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.hero-img img,
.service-card img,
.product-card img,
.produit-img > img,
.thumb-row img {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.see-all {
  border: 1px solid #cad7f1;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: #f6f9ff;
  font-size: 0.78rem;
  font-weight: 700;
  color: #35466d;
}

.market-grid,
.services-grid,
.products-grid,
.must-have-grid,
.proof-grid,
.builder-grid,
.order-grid,
.recommended-grid,
.policy-grid,
.faq-grid {
  display: grid;
  gap: 0.75rem;
}

.market-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.products-grid,
.recommended-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.must-have-grid,
.proof-grid,
.policy-grid,
.faq-grid,
.builder-grid,
.order-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.market-tile,
.service-card,
.product-card,
.must-card,
.promo-card,
.diag-card,
.builder-card,
.order-card,
.recommended-card,
.faq-card,
.policy-card,
.pricing-card,
.compare-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.78rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card h3 {
  min-height: 2.6rem;
}

.product-card p,
.market-tile p,
.service-card p,
.policy-card p,
.faq-card p {
  overflow-wrap: anywhere;
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.service-card strong {
  margin-top: auto;
}

.service-card .cta {
  width: 100%;
  margin-top: 0.42rem;
}

.product-card .cta {
  width: 100%;
  margin-top: 0.42rem;
}

.product-card .cta + .cta {
  margin-top: 0.35rem;
}

.market-tile:hover,
.service-card:hover,
.product-card:hover,
.must-card:hover,
.diag-card:hover,
.order-card:hover {
  border-color: #b9ccff;
  box-shadow: 0 8px 18px rgba(33, 70, 154, 0.1);
}

.product-card.is-target-product {
  border-color: #8fb0ff;
  box-shadow: 0 0 0 3px rgba(31, 86, 255, 0.18), 0 12px 26px rgba(33, 70, 154, 0.18);
}

.price,
.pricing-price {
  font-weight: 800;
  color: #1d4fff;
  margin-bottom: 0.35rem;
}

.shop-utility-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.shop-utility-bar article,
.catalog-conversion span,
.product-trust span,
.shop-univers-nav a,
.quick-links a,
.shop-cat,
.brand-pill {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  padding: 0.4rem 0.55rem;
  font-size: 0.79rem;
  font-weight: 700;
  color: #33456d;
}

.shop-utility-bar article {
  display: grid;
  gap: 0.2rem;
}

.shop-utility-bar strong,
.shop-utility-bar span {
  display: block;
}

.shop-univers-nav,
.quick-links,
.shop-categories,
.brand-wall,
.product-trust,
.catalog-conversion {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.shop-univers-nav a:hover,
.quick-links a:hover,
.shop-cat:hover,
.shop-cat.is-active,
.brand-pill:hover {
  border-color: #b9ccff;
  background: #edf3ff;
}

.boutique-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0.85rem;
}

.filter-panel,
.catalog-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.85rem;
}

.boutique-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.catalog-summary {
  font-size: 0.86rem;
  margin: 0.5rem 0 0.65rem;
}

.catalog-empty {
  border: 1px dashed #c7d4ec;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.75rem;
  color: var(--muted);
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
}

.stock-pill {
  border: 1px solid #7fd2a9;
  border-radius: 999px;
  background: #e9f8ef;
  color: #1f7a4e;
  padding: 0.16rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.product-financing {
  font-size: 0.75rem;
  color: #2f477a;
  margin-top: 0.35rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0.85rem;
}

/* Optimisation Windows — UI refinements */
.optim-steps {
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
  padding-left: 1.1rem;
  color: #243254;
  line-height: 1.4;
}
.optim-steps li {
  margin: 0.32rem 0;
  font-size: 0.95rem;
}

.product-card .cta,
.service-card .cta {
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(31,86,255,0.06);
}

/* Slight elevation for cards to separate from background */
.product-card,
.service-card {
  transition: transform 0.18s, box-shadow 0.18s;
}
.product-card:hover,
.service-card:hover {
  transform: translateY(-4px);
}

@media (max-width: 900px) {
  .market-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .hero-img img {
    max-height: 240px;
    width: 100%;
    object-fit: cover;
  }
  .boutique-layout {
    grid-template-columns: 1fr;
  }
  .filter-panel {
    order: 2;
  }
  .catalog-panel {
    order: 1;
  }
}

.product-gallery-card,
.product-info-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.78rem;
}

.product-info-card {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.product-info-card h2 {
  margin-bottom: 0;
}

.product-gallery-card > img {
  width: 100%;
  min-height: 300px;
  max-height: 420px;
  object-fit: cover;
}

.product-main-image-wrap {
  position: relative;
  --case-filter: none;
  --component-glow: rgba(70, 162, 255, 0.45);
}

.product-main-image-wrap > img {
  width: 100%;
  min-height: 300px;
  max-height: 420px;
  object-fit: cover;
  filter: var(--case-filter);
  transition: filter 0.24s ease;
}

.product-main-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  background: radial-gradient(circle at 72% 24%, var(--component-glow) 0%, rgba(255, 255, 255, 0) 48%);
  mix-blend-mode: screen;
}

.product-main-image-name {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2f456d;
}

.product-image-hint,
.product-thumb-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(20, 30, 55, 0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product-main-image-wrap:hover .product-image-hint,
.product-main-image-wrap:focus-within .product-image-hint,
.product-thumb:hover .product-thumb-hint,
.product-thumb:focus-visible .product-thumb-hint {
  opacity: 1;
}

.thumb-row {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.product-thumb {
  position: relative;
  display: grid;
  gap: 0.25rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  cursor: pointer;
}

.product-thumb img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  border: 0;
  border-radius: 10px 10px 0 0;
}

.product-thumb-name {
  display: block;
  padding: 0 0.35rem 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334a74;
  text-align: center;
}

.product-thumb.is-active {
  border-color: #7ea2ff;
  box-shadow: 0 0 0 3px rgba(31, 86, 255, 0.14);
}

.product-chip {
  display: inline-flex;
  border: 1px solid #c9d8ff;
  border-radius: 999px;
  background: #f4f8ff;
  color: #2d4fae;
  padding: 0.18rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.product-intro {
  margin: 0;
  color: #32486f;
}

.product-info-card .feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-info-card .feature-badges span {
  border: 1px solid #d4def0;
  border-radius: 999px;
  background: #f8fbff;
  color: #2f466f;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.18rem 0.48rem;
}

.product-spec-list {
  margin: 0.65rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.product-spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  border: 1px solid #d4def0;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.4rem 0.55rem;
}

.product-spec-list li strong {
  font-size: 0.79rem;
  color: #2e3f63;
}

.product-spec-list li span {
  text-align: right;
  color: #22304b;
}

.stock-pill-out {
  border-color: #f1b8bf;
  background: #fff0f2;
  color: #9b3143;
}

.product-meta-note {
  margin: 0;
  border-top: 1px solid #dbe3f1;
  padding-top: 0.55rem;
  color: #3b527b;
  font-size: 0.82rem;
}

.product-color-options {
  border: 1px solid #d4def0;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.55rem;
  display: grid;
  gap: 0.45rem;
}

.product-color-options h3 {
  margin: 0;
  font-size: 0.9rem;
}

.product-color-group {
  display: grid;
  gap: 0.3rem;
}

.product-color-group p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334a74;
}

.product-color-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-color-chip {
  border: 1px solid #d4def0;
  border-radius: 999px;
  background: #fff;
  color: #2f466f;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  cursor: pointer;
}

.product-color-chip.is-selected {
  border-color: #7ea2ff;
  background: #edf3ff;
  color: #274793;
  box-shadow: 0 0 0 2px rgba(31, 86, 255, 0.14);
}

.color-config-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(19, 30, 54, 0.62);
  z-index: 3600;
}

.color-config-modal.is-open {
  display: flex;
}

.color-config-modal-panel {
  width: min(560px, 100%);
  border: 1px solid #cfd9ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(18, 38, 75, 0.3);
  padding: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.color-config-close {
  justify-self: end;
  border: 1px solid #d3ddf2;
  border-radius: 999px;
  background: #fff;
  color: #3a4f76;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.color-config-price {
  margin: 0;
  color: #3b527b;
  font-size: 0.86rem;
}

.color-config-preview {
  --component-glow: rgba(70, 162, 255, 0.45);
  position: relative;
  border: 1px solid #d4def0;
  border-radius: 12px;
  background: #f7faff;
  overflow: hidden;
}

.color-config-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 72% 24%, var(--component-glow) 0%, rgba(255, 255, 255, 0) 48%);
  mix-blend-mode: screen;
}

.color-config-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: filter 0.24s ease;
}

.color-config-groups {
  display: grid;
  gap: 0.6rem;
}

.color-config-groups p {
  margin: 0 0 0.3rem;
  font-size: 0.79rem;
  font-weight: 700;
  color: #334a74;
}

.color-config-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.color-config-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.simulator-form,
.contact-form,
.newsletter-form {
  display: grid;
  gap: 0.5rem;
}

.configo-hero {
  display: grid;
  gap: 1.1rem;
  text-align: center;
  justify-items: center;
  padding-top: 1.6rem;
  padding-bottom: 1.4rem;
}

.configo-hero h1 {
  max-width: 26ch;
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
}

.configo-subtitle {
  max-width: 58ch;
  font-size: 1.03rem;
  color: #31476f;
}

.configo-points {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  width: 100%;
}

.configo-point {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 0.85rem 0.75rem;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}

.configo-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid #c9d8ff;
  background: #edf3ff;
}

.configo-point p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2f4368;
}

.configo-main-cta {
  min-width: min(100%, 360px);
}

.configomatic-builder {
  display: grid;
  gap: 0.85rem;
}

.userdiag-mandatory {
  border: 1px solid #f2dfb3;
  border-radius: 12px;
  background: #fff9ec;
  padding: 0.8rem;
  display: grid;
  gap: 0.45rem;
}

.userdiag-mandatory h2 {
  margin: 0;
  font-size: 1.05rem;
}

.userdiag-mandatory p {
  color: #5e5136;
}

.userdiag-steps {
  border: 1px solid #d7e2f5;
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.75rem;
}

.userdiag-steps h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.userdiag-steps ol {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.28rem;
  color: #3e5177;
  font-size: 0.9rem;
}

.builder-help-row {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 3900;
}

.builder-help-row .cta {
  min-height: 52px;
  min-width: 235px;
  font-size: 0.96rem;
  border: 2px solid #fff;
  box-shadow: 0 12px 28px rgba(27, 52, 112, 0.34), 0 0 0 3px rgba(31, 86, 255, 0.28);
  transition: all 0.2s ease;
  animation: userdiag-help-pulse 1.9s ease-in-out infinite;
}

.builder-help-row.is-compact .cta {
  min-width: 200px;
  width: auto;
  border-radius: 11px;
}

@keyframes userdiag-help-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 12px 28px rgba(27, 52, 112, 0.34), 0 0 0 3px rgba(31, 86, 255, 0.28);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(27, 52, 112, 0.42), 0 0 0 6px rgba(31, 86, 255, 0.2);
  }
}

.builder-help-modal {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 61, 0.72);
  z-index: 4100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.builder-help-modal.is-open {
  display: flex;
}

.builder-help-dialog {
  width: min(620px, 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1rem;
  position: relative;
  display: grid;
  gap: 0.65rem;
}

.builder-help-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.1rem;
}

.builder-help-back {
  justify-self: start;
  border: 1px solid #cad7f1;
  border-radius: 999px;
  background: #fff;
  color: #33456d;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.62rem;
  cursor: pointer;
}

.builder-help-back:hover {
  border-color: #9db8ff;
  background: #edf3ff;
}

.builder-help-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #4f6ea8;
}

.builder-help-section {
  border: 1px solid #d8e1f4;
  border-radius: 11px;
  background: #fbfcff;
  padding: 0.58rem;
  display: grid;
  gap: 0.45rem;
}

.builder-help-section-head {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: #2e4673;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.builder-help-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: #33456d;
}

.builder-help-actions {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.builder-help-options {
  display: none;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.builder-help-options.is-visible {
  display: grid;
}

.builder-help-option-card {
  border: 1px solid #d2dcf2;
  border-radius: 11px;
  background: #fff;
  padding: 0.62rem;
  display: grid;
  gap: 0.3rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.builder-help-option-card:hover {
  border-color: #9db8ff;
  box-shadow: 0 6px 14px rgba(39, 71, 147, 0.12);
  transform: translateY(-1px);
}

.builder-help-option-card h4 {
  margin: 0;
  font-size: 0.9rem;
  color: #2c3d62;
}

.builder-help-option-card strong {
  font-size: 0.78rem;
  color: #274793;
}

.builder-help-option-card p {
  font-size: 0.78rem;
  color: #4f6288;
  margin: 0;
}

.builder-help-actions .cta[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.builder-help-choice-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.builder-help-choice-card {
  border: 1px solid #cad7f1;
  border-radius: 11px;
  background: #fff;
  color: #33456d;
  text-align: left;
  padding: 0.7rem;
  display: grid;
  gap: 0.3rem;
  cursor: pointer;
}

.builder-help-choice-card:hover {
  border-color: #9db8ff;
  background: #edf3ff;
}

.builder-help-choice-card strong {
  font-size: 0.9rem;
  color: #274793;
}

.builder-help-choice-card span {
  font-size: 0.8rem;
  color: #4f6288;
}

.builder-help-tips {
  border: 1px dashed #c8d6f1;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.55rem;
  display: grid;
  gap: 0.28rem;
}

.builder-help-tip {
  font-size: 0.8rem;
  color: #3e5177;
}

.builder-help-search-row {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.builder-help-search-row input {
  border: 1px solid #cad7f1;
  border-radius: 10px;
  background: #fff;
  padding: 0.58rem 0.62rem;
  font-size: 0.84rem;
}

.builder-help-search-reset {
  border: 1px solid #cad7f1;
  border-radius: 10px;
  background: #fff;
  color: #33456d;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.52rem 0.7rem;
  cursor: pointer;
}

.builder-help-search-reset:hover {
  border-color: #9db8ff;
  background: #edf3ff;
}

.builder-help-option-card.is-match {
  border-color: #9db8ff;
  box-shadow: 0 0 0 2px rgba(51, 120, 255, 0.18);
}

.builder-help-option-card.is-selected {
  border-color: #2a5dff;
  background: #edf3ff;
  box-shadow: 0 0 0 2px rgba(42, 93, 255, 0.22);
}

.builder-help-option-select {
  border: 1px solid #cad7f1;
  border-radius: 999px;
  background: #fff;
  color: #274793;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.48rem;
  width: fit-content;
}

.builder-help-option-select.is-selected {
  border-color: #2a5dff;
  background: #2a5dff;
  color: #fff;
}

.builder-help-solution {
  border: 1px solid #bfd0fb;
  border-radius: 10px;
  background: #f3f7ff;
  padding: 0.6rem;
  display: grid;
  gap: 0.35rem;
}

.builder-help-solution h4 {
  margin: 0;
  color: #274793;
  font-size: 0.9rem;
}

.builder-help-solution p {
  margin: 0;
  color: #3d5179;
  font-size: 0.8rem;
}

.builder-help-solution ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.2rem;
}

.builder-help-solution li {
  color: #3d5179;
  font-size: 0.8rem;
}

.builder-help-solution-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.28rem;
}

.builder-help-solution-list li {
  color: #3d5179;
  font-size: 0.82rem;
}

.builder-help-step-panel {
  border: 1px solid #bfd0fb;
  border-radius: 10px;
  background: #f3f7ff;
  padding: 0.72rem;
  display: grid;
  gap: 0.35rem;
}

.builder-help-step-panel h4 {
  margin: 0;
  font-size: 0.94rem;
  color: #274793;
}

.builder-help-step-panel p {
  margin: 0;
  font-size: 0.84rem;
  color: #3d5179;
  line-height: 1.42;
}

.configomatic-controls {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 0.75rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: end;
}

.builder-inline-note {
  font-size: 0.8rem;
  color: #4f6288;
  margin-top: 0.25rem;
}

.builder-presets,
.builder-services {
  display: grid;
  gap: 0.4rem;
}

.builder-preset-btn {
  border: 1px solid #cad7f1;
  border-radius: 10px;
  background: #fff;
  color: #33456d;
  padding: 0.48rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.builder-preset-btn:hover {
  border-color: #9db8ff;
  background: #edf3ff;
}

.builder-services label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
}

.builder-progress-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.7rem;
}

.builder-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.builder-progress-track {
  margin-top: 0.5rem;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e8efff;
  overflow: hidden;
}

.builder-progress-track span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #214dd6 0%, #3378ff 60%, #00acd0 100%);
  transition: width 0.2s ease;
}

.configomatic-toolbar {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.builder-tab {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  padding: 0.5rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #33456d;
  cursor: pointer;
}

.builder-tab.is-active {
  border-color: #9db8ff;
  background: #edf3ff;
  color: #274793;
}

.builder-tab.is-disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.configomatic-layout {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: start;
}

.builder-compatibility {
  border: 1px solid #d4def0;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.65rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #2f4368;
}

.builder-compatibility.is-ok {
  border-color: #b7e4cd;
  background: #f0fbf4;
  color: #1f7a4e;
}

.builder-compatibility.is-warning {
  border-color: #f1b8bf;
  background: #fff4f5;
  color: #9a2431;
}

.builder-products {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.builder-step-actions {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.builder-step-actions .cta[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.builder-step-actions .builder-inline-note {
  grid-column: 1 / -1;
}

.builder-product-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.78rem;
  display: grid;
  gap: 0.45rem;
}

.builder-product-card h3 {
  margin: 0;
  font-size: 0.98rem;
}

.builder-product-meta {
  font-size: 0.8rem;
  color: #4f6288;
}

.builder-product-price {
  font-weight: 800;
  color: #1d4fff;
}

.builder-summary {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 0.78rem;
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.6rem;
}

.builder-summary-list {
  display: grid;
  gap: 0.45rem;
}

.builder-summary-item {
  border: 1px solid #d5def0;
  border-radius: 10px;
  background: #fff;
  padding: 0.5rem;
  display: grid;
  gap: 0.2rem;
}

.builder-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}

.builder-summary-item strong {
  font-size: 0.82rem;
  color: #30466f;
}

.builder-summary-item span {
  font-size: 0.82rem;
}

.builder-remove-btn {
  border: 1px solid #f1b8bf;
  border-radius: 999px;
  background: #fff4f5;
  color: #9a2431;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.48rem;
  cursor: pointer;
}

.builder-remove-btn:hover {
  filter: brightness(0.98);
}

.builder-summary-total {
  border-top: 1px solid #d3ddf1;
  padding-top: 0.55rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.builder-summary-total strong {
  color: #1d4fff;
  font-size: 1.14rem;
}

.builder-service-summary {
  border: 1px dashed #c8d6f1;
  border-radius: 10px;
  background: #fff;
  padding: 0.5rem;
  font-size: 0.82rem;
  color: #3b4f74;
}

.builder-summary-actions {
  display: grid;
  gap: 0.45rem;
}

.builder-summary-actions .cta {
  width: 100%;
}

.field-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #33456d;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd7ec;
  border-radius: 10px;
  background: #fff;
  color: #24324f;
  font: inherit;
  padding: 0.58rem 0.62rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #7ea2ff;
  box-shadow: 0 0 0 3px rgba(31, 86, 255, 0.14);
}

.sim-result,
.bottleneck-result,
.diag-result,
.delivery-note,
.voice-log,
.contact-note {
  border: 1px solid #d4def0;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.55rem;
}

.benchmark-progress {
  margin-top: 0.65rem;
  height: 10px;
  border-radius: 999px;
  background: #dfe9fb;
  overflow: hidden;
  border: 1px solid #c9d8f4;
}

.benchmark-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #1f56ff 0%, #4aa3ff 100%);
  transition: width 0.25s ease;
}

.benchmark-result strong {
  color: #14213d;
}

.benchmark-suite-results {
  display: grid;
  gap: 0.65rem;
}

.benchmark-score-card {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
  border: 1px solid #cddcf7;
}

.benchmark-score-card span {
  font-size: 0.92rem;
  color: #51627f;
}

.benchmark-score-card strong {
  font-size: 1.7rem;
  line-height: 1;
}

.benchmark-subscores {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.benchmark-subscores li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #dbe6f8;
}

.benchmark-subscores li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.benchmark-note {
  margin: 0;
  font-size: 0.86rem;
  color: #51627f;
}

.diag-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.diag-result-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #d4def0;
  border-radius: 10px;
  background: #f8fbff;
  color: #30425f;
}

.diag-result-list li strong {
  text-align: right;
  color: #162847;
}

.network-score-card {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid #cddcf7;
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
}

.network-score-card span {
  display: block;
  font-size: 0.86rem;
  color: #51627f;
}

.network-score-card strong {
  font-size: 1.6rem;
  line-height: 1;
}

.network-breakdown {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.network-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #dbe6f8;
}

.network-breakdown li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1rem;
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.82fr);
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid #d3def2;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(76, 145, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f5f9ff 55%, #eef5ff 100%);
  box-shadow: 0 20px 44px rgba(25, 63, 132, 0.08);
}

.services-hero-copy h1 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.services-hero-lead {
  max-width: 62ch;
  font-size: 1rem;
  color: #405376;
}

.services-hero-points,
.diagnostic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.services-hero-panel {
  display: grid;
  gap: 0.75rem;
}

.services-hero-stat,
.services-cta-band,
.diagnostic-shell,
.service-process article {
  border: 1px solid #d4def0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(25, 63, 132, 0.06);
}

.services-hero-stat {
  padding: 0.95rem;
}

.services-hero-stat span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5670a1;
}

.services-hero-stat strong {
  display: block;
  font-size: 1.1rem;
  color: #102142;
}

.services-hero-stat p {
  margin: 0.35rem 0 0;
  color: #4d6187;
}

.services-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card-featured {
  padding: 0.95rem;
  border-radius: 18px;
}

.service-card-featured h3 {
  margin-bottom: 0.45rem;
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.service-process article {
  padding: 0.95rem;
}

.service-process-step {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1f56ff 0%, #57a4ff 100%);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.diagnostic-hub {
  padding: 1.15rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 14%, rgba(77, 145, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #f6f9ff 0%, #eef5ff 100%);
  border: 1px solid #d3def2;
}

.diagnostic-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 0.9rem;
  padding: 1rem;
  margin-bottom: 0.95rem;
}

.diagnostic-shell-copy,
.diagnostic-shell-aside {
  min-width: 0;
}

.diagnostic-shell-aside {
  padding: 0.1rem 0.1rem 0.1rem 0;
}

.diagnostic-shell-aside h3 {
  margin-top: 0;
}

.diagnostic-tips {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.45rem;
  color: #405376;
}

.diagnostic-pills span {
  border: 1px solid #c9d9f7;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.32rem 0.58rem;
  font-size: 0.79rem;
  font-weight: 700;
  color: #345080;
}

.diag-card-accent {
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  border-color: #c7d7f6;
}

.services-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
}

.services-cta-band h2 {
  margin: 0.35rem 0 0.5rem;
}

.services-cta-band p {
  margin: 0;
  color: #465a7f;
  max-width: 60ch;
}

.benchmark-overlay {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  width: min(430px, calc(100vw - 2rem));
  pointer-events: none;
}

.benchmark-overlay-backdrop {
  display: none;
}

.benchmark-overlay-panel {
  position: relative;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(143, 178, 255, 0.18);
  background: linear-gradient(180deg, rgba(12, 20, 39, 0.94), rgba(8, 15, 31, 0.92));
  color: #eef4ff;
  box-shadow: 0 18px 40px rgba(5, 10, 20, 0.28);
  overflow: hidden;
  pointer-events: auto;
}

.benchmark-overlay-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.8rem 0.55rem;
}

.benchmark-overlay-head h3 {
  margin: 0.18rem 0 0.22rem;
  color: #f7fbff;
  font-size: 1rem;
}

.benchmark-overlay-head p {
  margin: 0;
  color: rgba(220, 232, 255, 0.76);
  font-size: 0.82rem;
}

.benchmark-overlay-status {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
}

.benchmark-overlay-status strong {
  font-size: 1.35rem;
  line-height: 1;
  color: #ffffff;
}

.benchmark-temp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(118, 170, 255, 0.34);
  background: rgba(20, 32, 63, 0.78);
  color: #eaf2ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.benchmark-live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0 0.8rem 0.8rem;
}

.benchmark-stage-canvas {
  width: 100%;
  min-height: 150px;
  max-height: 170px;
  border-radius: 14px;
  border: 1px solid rgba(123, 159, 229, 0.22);
  background: #07111f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.benchmark-live-sidebar {
  display: grid;
  gap: 0.65rem;
}

.benchmark-live-metrics,
.benchmark-image-wall {
  border-radius: 14px;
  border: 1px solid rgba(123, 159, 229, 0.22);
  background: rgba(13, 23, 43, 0.92);
  padding: 0.65rem;
}

.benchmark-live-metrics {
  display: grid;
  gap: 0.6rem;
}

.benchmark-live-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(199, 217, 255, 0.12);
}

.benchmark-live-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.benchmark-live-row span {
  color: rgba(214, 227, 255, 0.76);
  font-size: 0.9rem;
}

.benchmark-live-row strong {
  color: #ffffff;
}

.benchmark-image-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  align-content: start;
}

.benchmark-image-tile {
  position: relative;
  min-height: 58px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(17, 35, 69, 0.95), rgba(9, 17, 34, 0.98));
  border: 1px solid rgba(152, 184, 255, 0.16);
}

.benchmark-image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.05);
}

.benchmark-image-tile.is-active {
  border-color: rgba(88, 153, 255, 0.62);
  box-shadow: 0 0 0 1px rgba(88, 153, 255, 0.24), 0 12px 24px rgba(16, 52, 118, 0.35);
}

.benchmark-image-label {
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  bottom: 0.28rem;
  padding: 0.18rem 0.3rem;
  border-radius: 999px;
  background: rgba(8, 14, 26, 0.72);
  color: #f4f8ff;
  font-size: 0.62rem;
  font-weight: 700;
}

@media (max-width: 940px) {
  .benchmark-overlay {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }

  .benchmark-live-grid {
    grid-template-columns: 1fr;
  }

  .benchmark-stage-canvas {
    min-height: 135px;
  }

  .benchmark-image-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.location-map {
  border: 1px solid #d4def0;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.55rem;
  margin-bottom: 0.65rem;
}

.location-map iframe {
  width: 100%;
  min-height: 230px;
  border: 0;
  border-radius: 8px;
}

.montage-price-table .pricing-price {
  margin-top: 0.45rem;
}

.montage-invoice-result h3 {
  margin-bottom: 0.45rem;
}

.montage-invoice-result p {
  margin-bottom: 0.55rem;
}

.bottleneck-result.is-low { border-color: #b7e4cd; }
.bottleneck-result.is-medium { border-color: #f2dfb3; }
.bottleneck-result.is-high { border-color: #f1b8bf; }

.diag-grid,
.pricing-grid,
.type-table,
.compare-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.voice-assistant {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 3200;
  width: min(360px, calc(100vw - 2rem));
  border: 1px solid #ccd9f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.voice-assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.55rem;
  border-bottom: 1px solid #dbe3f1;
}

.voice-assistant-header-controls {
  display: flex;
  gap: 0.35rem;
}

.voice-assistant-body {
  display: grid;
  gap: 0.4rem;
  padding: 0.6rem;
}

.voice-status,
.voice-tips {
  font-size: 0.79rem;
  color: #435b86;
}

.voice-assistant-launcher {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 3201;
  border-radius: 999px;
}

.voice-assistant.is-collapsed {
  display: none;
}

.skip-link {
  position: fixed;
  top: -48px;
  left: 0.8rem;
  z-index: 5000;
  background: #1f56ff;
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
}

.skip-link:focus {
  top: 0.8rem;
}

.easy-access-mode {
  font-size: 1.05rem;
}

.easy-access-mode .cta,
.easy-access-mode .cta-header,
.easy-access-mode .shop-cat,
.easy-access-mode .nav a {
  min-height: 44px;
}

.footer {
  padding: 0.95rem;
}

.footer-top {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-links {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #5d6b85;
}

@media (max-width: 1050px) {
  body {
    padding-top: 90px;
  }

  .top-info-bar {
    margin-top: -90px;
  }

  .boutique-layout,
  .product-layout,
  .hero,
  .services-hero,
  .diagnostic-shell,
  .service-process-grid,
  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .shop-utility-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-header {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    background-size:
      100% 100%,
      8px 130px,
      8px 130px,
      8px 130px,
      8px 130px;
    background-position:
      center,
      left 6px top 110px,
      right 6px top 110px,
      left 6px bottom 18px,
      right 6px bottom 18px;
  }

  html::before,
  html::after,
  body::before,
  body::after {
    width: 12px;
    height: 170px;
  }

  html::before,
  body::before {
    left: 10px;
  }

  html::after,
  body::after {
    right: 10px;
  }

  html::before,
  html::after {
    top: 8px;
  }

  body::before,
  body::after {
    bottom: -34px;
  }

  /* section/.footer handled globally near top of file to ensure consistent sizing */

  .header {
    height: auto;
    min-height: 78px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 0.2rem;
  }

  .nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .hero-btns .cta,
  .diag-actions .cta,
  .product-actions .cta {
    width: 100%;
  }

  .services-cta-band {
    flex-direction: column;
    align-items: stretch;
  }

  .services-hero,
  .diagnostic-hub {
    padding: 0.85rem;
    border-radius: 18px;
  }

  .diagnostic-shell {
    padding: 0.8rem;
  }

  .shop-utility-bar,
  .promo-strip,
  .market-grid,
  .services-grid,
  .products-grid,
  .thumb-row,
  .field-grid,
  .diag-grid,
  .pricing-grid,
  .type-table,
  .compare-grid,
  .faq-grid,
  .policy-grid,
  .proof-grid,
  .must-have-grid,
  .order-grid,
  .builder-grid,
  .recommended-grid {
    grid-template-columns: 1fr;
  }

  .voice-assistant {
    left: 0.6rem;
    right: 0.6rem;
  }

  /* Configurateur — style inspiré TopAchat */
  .product-layout.configomatic-builder {
    grid-template-columns: 1fr 360px;
    gap: 1rem;
    align-items: start;
  }

  .configomatic-steps {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .configomatic-step {
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
  }

  .configomatic-step.active {
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    border-color: transparent;
  }

  .configomatic-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 0.6rem;
  }

  /* Prevent white band from overlaying product actions: add top spacing and stacking */
  .product-layout.configomatic-builder {
    padding-top: 0;
  }

  /* Ensure page content is pushed below the fixed header/top-info-bar on configurator page.
     JS will compute exact header height at runtime and override this value when needed. */
  body.page-configurator {
    padding-top: var(--page-header-offset, 92px);
  }

  .configomatic-products {
    position: relative;
    z-index: 1;
  }

  .configomatic-product-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    padding: 0.6rem;
    border: 1px solid var(--border);
    background: var(--surface);
    min-height: 260px;
    box-shadow: 0 6px 18px rgba(11,42,102,0.04);
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    position: relative;
    overflow: hidden;
  }

  .configomatic-product-card:hover { transform: translateY(-8px); box-shadow: 0 18px 48px rgba(11,42,102,0.12); }

  .configomatic-product-img { width:100%; height:160px; display:block; border-radius:8px; overflow:hidden; }
  .configomatic-product-img img { width:100%; height:100%; object-fit:cover; display:block; }

  .configomatic-product-info { padding:0.6rem 0 0.4rem 0; text-align:left; }
  .configomatic-product-info strong { display:block; font-size:1.02rem; color:#12203a; margin-bottom:6px }
  .configomatic-product-info .meta { color:var(--muted); font-size:0.92rem }

  .configomatic-product-card .price-badge {
    position: absolute; right: 12px; top: 12px;
    background: linear-gradient(90deg,var(--brand),var(--brand-2));
    color: #fff; padding: 6px 10px; border-radius:10px; font-weight:800; font-size:0.95rem;
    box-shadow: 0 10px 30px rgba(31,86,255,0.12);
  }

  /* Show a pill badge when a product is selected */
  .configomatic-product-card.selected::after{
    content: "✓ Sélectionné";
    position: absolute; left: 12px; top: 12px;
    background: rgba(17,122,87,0.95); color: #fff; padding:6px 10px; border-radius:10px; font-size:0.85rem; font-weight:700;
    box-shadow: 0 6px 16px rgba(11,42,102,0.12);
  }

  /* compatibility badge */
  .compat-badge {
    position: absolute; left: 12px; bottom: 12px; display:inline-flex; gap:6px; align-items:center;
    background: #fff; color: var(--brand); border:1px solid var(--border); padding:6px 8px; border-radius:10px; font-weight:700; font-size:0.85rem;
  }

  /* small SVG icon in compatibility badge */
  .compat-badge::before {
    content: '';
    display: inline-block;
    width: 14px; height: 14px;
    margin-right: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f56ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 14px 14px;
    background-repeat: no-repeat;
  }

  .select-product-btn[aria-pressed="true"] { background: #0b2a66; box-shadow: 0 8px 22px rgba(11,42,102,0.12); }

  /* small highlight animation when selecting */
  .configomatic-product-card.recently-selected { animation: selflash 700ms ease; }
  @keyframes selflash { 0% { box-shadow: 0 0 0 rgba(31,86,255,0.22); } 50% { box-shadow: 0 18px 46px rgba(31,86,255,0.18); } 100% { box-shadow: 0 6px 18px rgba(11,42,102,0.04); } }

  /* Accessibility: visible focus states */
  .select-product-btn:focus-visible,
  .configomatic-step:focus-visible,
  .configomatic-prevbtn:focus-visible,
  .configomatic-nextbtn:focus-visible {
    outline: 3px solid rgba(31,86,255,0.18);
    outline-offset: 3px;
  }

  /* Responsive tweaks for mobile */
  @media (max-width: 900px) {
    .configomatic-product-img { height: 120px; }
    .configomatic-product-card { min-height: 200px; }
    .configomatic-product-card .price-badge { font-size: 0.9rem; padding: 5px 8px; }
    .configurator-page { grid-template-columns: 1fr; padding: 12px; }
    .builder-summary { position: static; }
  }

  @media (max-width: 420px) {
    .configomatic-product-img { height: 100px; }
    .configomatic-product-info strong { font-size: 0.98rem }
    .configomatic-product-card .price-badge { font-size: 0.85rem; padding: 4px 6px }
  }

  .configomatic-product-info {
    padding: 0.6rem 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
  }

  .select-product-btn {
    margin-top: 0.5rem;
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 0.6rem;
    border-radius: 8px;
    cursor: pointer;
  }

  .filter-panel.builder-summary {
    position: sticky;
    top: 140px;
    align-self: start;
  }

  /* If header or info bars overlap, ensure summary and controls remain visible */
  @media (max-width: 900px) {
    .filter-panel.builder-summary { top: 78px; }
  }

  .builder-summary-list .recap-item {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed #eef6ff;
    font-size: 0.95rem;
  }

  /* Recap item with thumbnail */
  .builder-summary-list .recap-item { align-items: center; }
  .builder-summary-list .recap-item .recap-thumb { width:48px;height:48px;flex:0 0 48px;border-radius:8px;object-fit:cover;margin-right:0.6rem;border:1px solid var(--border); }
  .builder-summary-list .recap-item .recap-desc { flex:1; display:flex;flex-direction:column; }
  .builder-summary-list .recap-item .recap-price { font-weight:800;color:var(--brand); }

  /* Performance preview in summary */
  .performance-preview { background: #f8fbff; border: 1px solid #e6eefc; padding: 0.6rem; border-radius:8px; margin-bottom:0.8rem; }
  .performance-preview h3 { margin:0 0 0.4rem 0; font-size:0.98rem; color:#12305a }
  .performance-preview .perf-row { display:flex; justify-content:space-between; padding:0.18rem 0; font-weight:600 }
  .performance-preview .perf-note { display:block; margin-top:0.45rem; color:var(--muted); font-size:0.85rem }

  /* Global catalog modal */
  .modal-backdrop { position:fixed; inset:0;background:rgba(0,0,0,0.45);display:none;align-items:center;justify-content:center;z-index:4000 }
  .modal-backdrop.open { display:flex }
  .modal { background:#fff;border-radius:12px;max-width:980px;width:94%;max-height:85vh;overflow:auto;padding:16px;border:1px solid var(--border);box-shadow:var(--shadow) }
  .modal .modal-head { display:flex;justify-content:space-between;align-items:center;margin-bottom:8px }
  .modal .modal-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px }
  .modal .modal-card { border:1px solid var(--border);padding:8px;border-radius:10px;background:var(--surface);display:flex;flex-direction:column;gap:6px }
  .modal .modal-card img { width:100%;height:110px;object-fit:cover;border-radius:6px }
  .modal .modal-card .modal-actions { margin-top:auto; display:flex; gap:6px }

  .builder-summary-actions .cta,
  .builder-summary-actions .see-all {
    width: 100%;
    display: block;
    text-align: center;
  }

  @media (max-width: 900px) {
    .product-layout.configomatic-builder { grid-template-columns: 1fr; }
    .filter-panel.builder-summary { position: static; }
    .configomatic-steps { flex-direction: row; overflow-x: auto; }
    .configomatic-products { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  }
  

  .builder-help-row {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 4.1rem;
  }

  .builder-help-row .cta {
    width: 100%;
    min-width: 0;
    animation: none;
  }

  .configomatic-layout {
    grid-template-columns: 1fr;
  }

  .builder-summary {
    position: static;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.builder-help-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.builder-help-mode-btn {
  border: 1px solid #cad7f1;
  border-radius: 10px;
  background: #fff;
  color: #33456d;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.5rem;
  cursor: pointer;
}

.builder-help-mode-btn.is-active {
  border-color: #9db8ff;
  background: #edf3ff;
  color: #274793;
}

/* Masquer les 4 fleches decoratives sur telephone (haut et bas) */
@media (max-width: 768px) {
  html::before,
  html::after,
  body::before,
  body::after {
    display: none !important;
    content: none !important;
  }
}

.builder-help-footer {
  display: grid;
  gap: 0.45rem;
}
}