/* * Composants et styles spécifiques aux pages RYS.
 * Les variables sont dans variables.css et les primitives globales dans base.css. */

/* Navigation principale */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.main-nav a:hover,.main-nav a.active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-btn {
  position: relative;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn:hover {
  border-color: var(--text);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  height: 38px;
  border-radius: var(--radius-sm);
  padding: 0 11px;
  font-size: 12px;
}

.mobile-nav {
  display: none;
  padding: 8px 24px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  text-decoration: none;
  padding: 10px 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Boutons et liens d’action */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--blue);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--text);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.link:hover {
  text-decoration: underline;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-head {
  max-width: 580px;
  margin-bottom: 40px;
}

.section-head h1,.section-head h2 {
  font-size: clamp(27px,3.6vw,36px);
}

.section-head p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 15px;
}

.page-pad,section.pad {
  padding: 76px 0;
  border-bottom: 1px solid var(--border);
}

.page-pad:last-child,section.pad:last-of-type {
  border-bottom: none;
}

/* Accueil : hero et fonctionnement */
.hero {
  padding-top: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px,5vw,54px);
  max-width: 16ch;
}

.hero-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-visual picture,.hero-visual img {
  width: 100%;
  display: block;
}

.hero-meta {
  display: flex;
  gap: 42px;
  margin-top: 36px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  justify-content: center;
  text-align: center;
}

.hero-meta-item {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta-item strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.home-how {
  background: var(--surface);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 36px;
}

.how-step {
  padding-top: 18px;
  border-top: 2px solid var(--text);
}

.how-step .n {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.how-step h3 {
  font-size: 17px;
}

.how-step p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.circle-n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
}

.photo-gallery figure {
  margin: 0;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-card h2 {
  font-size: clamp(22px,3vw,28px);
  max-width: 22ch;
}

.cta-card p {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 14px;
}

/* Catalogue et cartes produit */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-card {
  background: var(--bg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--border);
  min-width: 0;
}

.product-card:last-child {
  border-right: none;
}

.product-card.highlight {
  background: var(--text);
  color: var(--bg);
  --text-muted: #9ba1ac;
}

.product-card.highlight .product-desc,.product-card.highlight .feature-list li,.product-card.highlight .price-unit {
  color: var(--text-muted);
}

.product-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 2px;
  background: #fff;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  min-height: 20px;
  display: inline-block;
}

.eyebrow-tag:not(:empty) {
  background: #eaf0fb;
  padding: 4px 10px;
  border-radius: 100px;
  align-self: flex-start;
}

.product-card.highlight .eyebrow-tag:not(:empty) {
  background: #e8a400;
  color: #2a1d00;
}

.product-name {
  font-size: 20px;
  font-weight: 700;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.feature-list li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.feature-list li svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 3px;
  color: var(--blue);
}

.product-card.highlight .feature-list li svg {
  color: #8aa0ff;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  gap: 12px;
}

.product-card.highlight .price-row {
  border-top-color: #2a2c31;
}

.price {
  font-size: 24px;
  font-weight: 800;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.price-unit {
  font-size: 12px;
  color: var(--text-muted);
}

.card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}

.add-btn:hover {
  background: var(--blue);
}

.product-card.highlight .add-btn {
  background: var(--bg);
  color: var(--text);
}

.more-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.product-card.highlight .more-link {
  color: #8aa0ff;
}

.card-network-select label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-network-select select {
  width: 100%;
  padding: 9px 11px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
}

.standalone-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.standalone-card {
  padding: 30px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.standalone-card:last-child {
  border-right: none;
}

.standalone-card h3 {
  font-size: 18px;
}

.standalone-card p,.standalone-card li {
  font-size: 13px;
  color: var(--text-muted);
}

.standalone-card ul {
  padding-left: 18px;
  margin: 0;
}

.standalone-card .price-row {
  margin-top: auto;
}

/* Fiches produit */
.pack-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pack-visual {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  overflow: hidden;
}

.pack-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-list {
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.spec-row span:first-child {
  color: var(--text-muted);
}

.spec-row span:last-child {
  font-weight: 600;
  text-align: right;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--text);
}

.product-detail-copy h1 {
  font-size: 34px;
  margin: 8px 0 12px;
}

.product-detail-copy .lead {
  color: var(--text-muted);
  font-size: 15px;
}

.detail-price {
  font-family: inherit;
  font-size: 28px;
  font-weight: 800;
  margin: 18px 0 8px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 20px 0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 65ch;
  line-height: 1.6;
}

/* Formulaires */
.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input,.field textarea,.field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
}

.field input:focus,.field textarea:focus,.field select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 2px rgba(27,63,203,.08);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-status {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: none;
  margin-top: 18px;
  font-size: 14px;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: #f5fbf8;
  border-color: #ccebdc;
}

.form-status.error {
  background: #fff7f7;
  border-color: #f2cccc;
}

.legal-body h3 {
  font-size: 16px;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-body p,.legal-body li {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-body ul {
  padding-left: 20px;
}

.legal-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Footer */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

/* Panier, drawer et modales */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,11,13,.4);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px,94vw);
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 70;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.drawer-head h2 {
  font-size: 16px;
}

.close-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.cart-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-name {
  font-weight: 600;
  font-size: 14px;
}

.cart-item-price {
  font-size: 13px;
  color: var(--text-muted);
}

.cart-config {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 7px;
  line-height: 1.55;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.remove-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: underline;
}

.empty-cart {
  padding: 50px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.drawer-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 14px;
}

.subtotal-row strong {
  font-size: 18px;
}

.shipping-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,11,13,.45);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 14px;
}

.modal-head h2 {
  font-size: 20px;
}

.modal p.lead {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 12px 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  transform: translate(-50%,20px);
  background: var(--text);
  color: var(--bg);
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width:860px) {
  .main-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .product-grid,.standalone-grid {
    grid-template-columns: 1fr;
  }

  .product-card,.standalone-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .product-card:last-child,.standalone-card:last-child {
    border-bottom: none;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .photo-gallery {
    grid-template-columns: repeat(2,1fr);
  }

  .pack-detail {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width:540px) {
  .wrap,.wrap-narrow {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .page-pad,section.pad {
    padding: 58px 0;
  }

  .hero-meta {
    gap: 24px;
  }

  .photo-gallery {
    gap: 7px;
  }

  .product-card,.standalone-card {
    padding: 22px;
  }

  .price-row {
    align-items: flex-end;
  }

  .card-actions {
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .cta-card {
    padding: 32px 24px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .modal {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* V6 — navigation, image fidelity and editorial SEO */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-visual picture {
  width: min(100%,430px);
  margin: 0 auto;
  display: block;
}

.hero-visual img {
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

.product-image-wrap img,.pack-visual img {
  object-fit: contain;
  background: #fff;
}

.section-more {
  margin-top: 22px;
}

.nav-dropdown {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-dropdown>a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown>a span {
  font-size: 12px;
  transition: transform .15s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: 54px;
  left: -18px;
  width: 250px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 16px 38px rgba(10,11,13,.09);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .15s ease;
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover>a span,.nav-dropdown:focus-within>a span {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: grid !important;
  gap: 0 !important;
  padding: 10px 11px;
  border-radius: 7px;
  color: var(--text) !important;
}

.nav-dropdown-menu a:hover {
  background: var(--surface);
}

.nav-dropdown-menu strong {
  font-size: 13px;
}

.nav-dropdown-menu span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-dropdown-menu .nav-all {
  display: block !important;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding-top: 12px;
  color: var(--blue) !important;
  font-size: 12px;
}

.mobile-pack-links {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 6px;
  padding: 0 0 8px;
}

.mobile-pack-links a {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px !important;
  text-align: center;
  font-size: 12px !important;
  color: var(--text) !important;
}

/* Blog */
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 54px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 34px;
}

.blog-featured h2 {
  font-size: clamp(25px,3.3vw,36px);
  margin: 10px 0 14px;
}

.blog-featured p {
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: 18px;
}

.blog-featured-visual {
  display: flex;
  justify-content: center;
  max-height: 390px;
  overflow: hidden;
}

.blog-featured-visual img {
  width: auto;
  height: 390px;
  object-fit: contain;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  background: var(--bg);
}

.blog-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.blog-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
}

.blog-card h2,.blog-card h3 {
  font-size: 19px;
  line-height: 1.28;
  margin-bottom: 12px;
}

.blog-card h2 a,.blog-card h3 a {
  text-decoration: none;
}

.blog-card h2 a:hover,.blog-card h3 a:hover {
  color: var(--blue);
}

.blog-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.blog-card .more-link {
  margin-top: auto;
}

.article-hero {
  padding: 66px 0 44px;
  border-bottom: 1px solid var(--border);
}

.article-hero h1 {
  font-size: clamp(34px,5vw,52px);
  max-width: 18ch;
}

.article-intro {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 66ch;
}

.article-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 22px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.article-section {
  padding: 54px 0 78px;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #24262a;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body h2 {
  font-size: 25px;
  margin: 44px 0 14px;
  color: var(--text);
}

.article-body h3 {
  font-size: 19px;
  margin: 30px 0 10px;
  color: var(--text);
}

.article-body ul,.article-body ol {
  padding-left: 22px;
  margin: 0 0 22px;
}

.article-body li {
  margin: 7px 0;
}

.article-body a {
  color: var(--blue);
  font-weight: 600;
  text-underline-offset: 2px;
}

.article-cta {
  margin-top: 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.article-cta strong {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size: 19px;
}

.article-cta p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 5px;
}

.article-back {
  margin-top: 28px;
}

@media (max-width:980px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 13px;
  }
}

@media (max-width:860px) {
  .hero-visual picture {
    width: min(88vw,430px);
  }

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured-visual {
    order: -1;
    max-height: 330px;
  }

  .blog-featured-visual img {
    height: 330px;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-dropdown {
    display: none;
  }
}

@media (max-width:620px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    min-height: auto;
  }

  .article-hero {
    padding: 48px 0 34px;
  }

  .article-section {
    padding: 38px 0 58px;
  }

  .article-body {
    font-size: 15.5px;
  }

  .article-body h2 {
    font-size: 22px;
  }

  .article-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-cta .btn {
    width: 100%;
  }

  .mobile-pack-links {
    grid-template-columns: repeat(3,1fr);
  }
}

/* V7 — product pages: situations, conversion and internal SEO */

/* Pages produit enrichies */
.product-main {
  padding-bottom: 72px;
}

.product-feature-list {
  margin-top: 24px;
}

.product-network-select {
  margin-top: 22px;
  max-width: 300px;
}

.product-main-cta {
  margin-top: 24px;
}

.product-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.product-reassurance span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.product-reassurance span:not(:first-child)::before {
  content: "·";
  color: var(--border-strong);
}

.compact-head {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.compact-head h2 {
  max-width: 22ch;
  margin-top: 7px;
}

.product-situation-section {
  background: var(--surface);
}

.product-situation-grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr);
  gap: 54px;
  align-items: center;
}

.product-situation-media {
  margin: 0;
  min-width: 0;
}

.product-situation-media picture,.product-situation-media img {
  display: block;
  width: 100%;
}

.product-situation-media img {
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
}

.product-situation-media figcaption {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 75ch;
}

.product-situation-copy h2 {
  font-size: clamp(25px,3.3vw,34px);
  margin: 8px 0 14px;
  max-width: 16ch;
}

.product-situation-copy>p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 54ch;
}

.benefit-list {
  border-top: 1px solid var(--border);
  margin: 24px 0 26px;
}

.benefit-list>div {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.benefit-list span {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  padding-top: 1px;
}

.benefit-list p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}

.product-how-section {
  border-top: 1px solid var(--border);
}

.product-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-steps article {
  padding: 28px;
  min-height: 205px;
}

.product-steps article+article {
  border-left: 1px solid var(--border);
}

.product-steps .step-number {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .08em;
}

.product-steps h3 {
  font-size: 18px;
  margin: 30px 0 9px;
}

.product-steps p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}

.product-faq-section {
  background: var(--surface);
}

.product-faq-list {
  border-top: 1px solid var(--border);
}

.product-guides-section {
  border-top: 1px solid var(--border);
}

.product-guide-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}

.product-guide-card {
  min-height: 170px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transition: border-color .15s ease,transform .15s ease;
}

.product-guide-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.product-guide-card>span {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--blue);
  font-weight: 800;
}

.product-guide-card strong {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size: 18px;
  line-height: 1.3;
  margin: 14px 0 18px;
  max-width: 24ch;
}

.product-guide-card em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
}

.related-products-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.related-product-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.related-product-grid .product-card {
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
}

.related-product-grid .product-card:last-child {
  border-right: 0;
}

.related-product-grid:has(.product-card:nth-child(2):last-child) {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.product-final-cta {
  padding: 72px 0;
}

.product-cta-card .kicker {
  display: block;
  margin-bottom: 8px;
}

.mobile-product-bar {
  display: none;
}

@media (max-width:860px) {
  .product-main {
    padding-bottom: 58px;
  }

  .compact-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
    gap: 14px;
  }

  .product-situation-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-situation-copy h2 {
    max-width: 22ch;
  }

  .product-steps {
    grid-template-columns: 1fr;
  }

  .product-steps article {
    min-height: auto;
  }

  .product-steps article+article {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .product-steps h3 {
    margin-top: 18px;
  }

  .product-guide-grid {
    grid-template-columns: 1fr;
  }

  .product-guide-card {
    min-height: auto;
  }

  .related-product-grid,.related-product-grid:has(.product-card:nth-child(2):last-child) {
    grid-template-columns: 1fr;
  }

  .related-product-grid .product-card {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .related-product-grid .product-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width:620px) {
  body[data-page="product"] {
    padding-bottom: 76px;
  }

  .product-reassurance {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }

  .product-reassurance span:not(:first-child)::before {
    content: none;
  }

  .product-situation-media figcaption {
    font-size: 11px;
  }

  .product-steps article {
    padding: 24px 20px;
  }

  .product-final-cta {
    padding: 48px 0;
  }

  .mobile-product-bar {
    position: fixed;
    display: flex;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .mobile-product-bar>div {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .mobile-product-bar strong {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 44vw;
  }

  .mobile-product-bar span {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
  }

  .mobile-product-bar .btn {
    padding: 11px 16px;
    flex: none;
  }
}

.product-situation-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width:620px) {
  .product-situation-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .product-situation-actions .btn {
    width: 100%;
  }
}

/* V8 — avis clients */

/* Avis clients */
.reviews-section {
  background: var(--surface);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}

.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
  min-height: 190px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  font-size: 17px;
  line-height: 1;
  color: #e8a400;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.review-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  font-style: normal;
}

.review-author {
  margin-top: auto;
  padding-top: 22px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.reviews-grid-all {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.reviews-page .section-head {
  max-width: 650px;
}

.reviews-proof {
  background: var(--surface);
}

.product-reviews-section {
  background: var(--bg);
}

.product-reviews-section .section-head p {
  max-width: 55ch;
}

@media (max-width:860px) {
  .reviews-grid,.reviews-grid-all {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:620px) {
  .reviews-grid,.reviews-grid-all {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: auto;
  }
}

/* V8 — paiement Stripe */

.payment-result-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 42px;
  background: var(--bg);
  text-align: center;
}

.payment-result-card h1 {
  font-size: clamp(28px,4vw,38px);
  margin: 8px 0 14px;
}

.payment-result-card>p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 58ch;
  margin: 0 auto;
}

.payment-result-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f7f0;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 18px;
}

.payment-order-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  margin: 26px auto 0;
  max-width: 360px;
  font-size: 14px;
}

.payment-result-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media (max-width:620px) {
  .payment-result-card {
    padding: 30px 20px;
  }

  .payment-result-actions {
    flex-direction: column;
  }

  .payment-result-actions .btn {
    width: 100%;
  }
}

.field input.is-invalid,.field textarea.is-invalid,.field select.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 2px rgba(180,35,24,.08);
}

.field-error {
  display: none;
  color: #b42318;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 6px;
}

.field-error.show {
  display: block;
}

/* V12 — checkout, panier et confirmation */

body.overlay-open {
  overflow: hidden;
}

.cart-item-price small {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.cart-item-actions .qty-row {
  margin-top: 0;
}

.cart-edit {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 0;
}

.cart-edit:hover {
  text-decoration: underline;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin: -4px 0 14px;
}

.modal {
  max-width: 590px;
}

.modal-kicker {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 4px;
}

.payment-trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f7f9ff;
  border: 1px solid #dfe6fb;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  margin: 0 0 16px;
  color: #35415f;
}

.payment-trust>span {
  font-size: 16px;
  line-height: 1.3;
}

.payment-trust p {
  font-size: 12.5px;
  line-height: 1.45;
  margin: 0 !important;
  color: #35415f !important;
}

.payment-trust small {
  display: block;
  margin-top: 4px;
  color: #68738b;
}

#backCheckout {
  margin-top: 8px;
}

.checkout-local-success {
  text-align: center;
  padding: 14px 0 2px;
}

.checkout-local-success h2 {
  margin: 6px 0 8px;
}

.checkout-local-success>p {
  color: var(--text-muted);
  font-size: 14px;
}

.payment-result-card {
  max-width: 720px;
  margin: 0 auto;
}

.payment-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0 0;
  text-align: left;
}

.payment-detail-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  background: var(--surface);
}

.payment-detail-box h2 {
  font-size: 13px;
  margin: 0 0 8px;
  letter-spacing: 0;
}

.payment-detail-box p,.payment-detail-box li {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.payment-detail-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.payment-detail-box li+li {
  margin-top: 5px;
}

.payment-next {
  margin: 22px 0 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  text-align: left;
}

.payment-next h2 {
  font-size: 15px;
  margin-bottom: 11px;
}

.payment-next ol {
  margin: 0;
  padding-left: 21px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.payment-next li+li {
  margin-top: 4px;
}

.payment-mail-state {
  margin: 16px auto 0;
  max-width: 520px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.payment-mail-state.ok {
  color: #0f766e;
}

.payment-reference {
  font-family: ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width:620px) {
  .drawer {
    width: 100vw;
  }

  .drawer-head,.drawer-body,.drawer-foot {
    padding-left: 18px;
    padding-right: 18px;
  }

  .payment-detail-grid {
    grid-template-columns: 1fr;
  }

  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal {
    max-height: 94vh;
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }
}

/* V13 — confidentialité, accessibilité et performance */

.footer-cookie-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
}

.footer-cookie-link:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Confidentialité et cookies */
.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner-inner {
  pointer-events: auto;
  width: min(920px,100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 18px 60px rgba(10,11,13,.16);
}

.cookie-copy {
  max-width: 650px;
}

.cookie-copy strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.cookie-copy p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.cookie-copy a {
  display: inline-block;
  margin-top: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex: none;
}

.cookie-actions .btn {
  min-width: 92px;
  padding: 10px 14px;
}

.legal-body h1 {
  font-size: clamp(28px,4vw,38px);
  margin-bottom: 18px;
}

.legal-body h2 {
  font-size: 20px;
  margin: 34px 0 10px;
}

.legal-body a {
  color: var(--blue);
  text-underline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 12px;
  z-index: 200;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

@media (max-width:700px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-banner-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}

/* V14 — parcours de commande raccourci */

/* Checkout rapide */
.fast-checkout-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 12px 14px;
  margin: 14px 0 18px;
}

.fast-checkout-lines {
  display: grid;
  gap: 7px;
}

.fast-checkout-lines>div,.fast-checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.45;
}

.fast-checkout-lines span {
  color: var(--text-muted);
}

.fast-checkout-total {
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 11px;
  font-size: 14px;
}

.fast-checkout-total strong {
  font-size: 15px;
}

.checkout-optional {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 4px 0 16px;
  background: var(--bg);
}

.checkout-optional summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.checkout-optional summary::-webkit-details-marker {
  display: none;
}

.checkout-optional summary::after {
  content: "+";
  float: right;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
}

.checkout-optional[open] summary::after {
  content: "−";
}

.checkout-optional summary span {
  font-weight: 500;
  color: var(--text-muted);
}

.checkout-optional-fields {
  padding: 2px 14px 14px;
}

.checkout-optional-fields .field:last-child {
  margin-bottom: 0;
}

.fast-payment-trust {
  margin-top: 4px;
  margin-bottom: 12px;
}

.fast-pay-btn {
  font-size: 15px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.fast-checkout-note {
  text-align: center;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 8px 8px 0;
}

@media (max-width:620px) {
  .fast-checkout-summary {
    margin-top: 10px;
  }

  .fast-checkout-lines>div,.fast-checkout-total {
    font-size: 12px;
  }

  .fast-pay-btn {
    position: sticky;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 -8px 18px rgba(255,255,255,.92);
  }
}

/* Google Places — sélection d'établissement côté checkout */

.is-hidden {
  display: none !important;
}

/* Google Places */
.places-search-wrap {
  position: relative;
}

.places-results {
  position: absolute;
  z-index: 12;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(15,23,42,.13);
  overflow: hidden;
  max-height: 280px;
  overflow-y: auto;
}

.places-option {
  width: 100%;
  display: block;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 12px 13px;
}

.places-option:first-child {
  border-top: 0;
}

.places-option:hover,.places-option:focus {
  background: var(--surface);
  outline: none;
}

.places-option strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.places-option span {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.places-loading,.places-empty {
  padding: 13px;
  color: var(--text-muted);
  font-size: 12px;
}

.places-help {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 7px;
}

.places-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #bdd7c8;
  background: #f3faf6;
  border-radius: 9px;
}

.places-selected strong {
  display: block;
  font-size: 13px;
}

.places-selected span {
  display: block;
  color: #56645d;
  font-size: 12px;
  margin-top: 3px;
  line-height: 1.4;
}

.places-change,.places-manual-toggle {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 0;
}

.places-change {
  flex: none;
}

.places-manual-toggle {
  margin-top: 8px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.places-manual {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 9px;
}

.places-manual label {
  font-size: 12px;
}

.places-attribution {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.places-attribution span {
  font-size: 12px;
  font-weight: 400;
  color: #5e5e5e;
  line-height: 1;
  white-space: nowrap;
}

.places-field .field-error {
  margin-top: 8px;
}

@media (max-width:560px) {
  .places-results {
    max-height: 235px;
  }

  .places-selected {
    align-items: flex-start;
  }

  .places-change {
    padding-top: 1px;
  }
}

/* V16 — gestion de stock */

/* Stock et ruptures */
.stock-out-tag {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

.product-stock-note {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  background: #fff7f7;
  border-radius: 8px;
  color: #991b1b;
  font-size: 12px;
  line-height: 1.45;
}

.cart-stock-warning {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  background: #fff7f7;
  border-radius: 8px;
  color: #991b1b;
  font-size: 12px;
  line-height: 1.45;
}

.cart-item.is-stock-short {
  background: linear-gradient(90deg,#fff7f7 0,transparent 72%);
}

.cart-item-stock {
  font-size: 11px;
  color: #991b1b;
  font-weight: 700;
  margin-top: 5px;
}

/* Utilitaires de rendu extraits des anciens styles inline */

.legal-page-title {
  font-size: 32px;
  margin-bottom: 20px;
}

.error-page-title {
  font-size: clamp(32px,5vw,44px);
}

.error-page-copy {
  color: var(--text-muted);
  margin: 14px 0 24px;
  max-width: 55ch;
}

.about-page-title {
  font-size: clamp(30px,4vw,42px);
  margin-bottom: 22px;
}

.how-page-cta {
  margin-top: 64px;
}

.hero-meta-blue {
  color: var(--blue);
}

.hero-meta-green {
  color: var(--green);
}

.hero-meta-gold {
  color: var(--gold);
}

.how-step-clean {
  border-top: none;
  padding-top: 0;
}

.circle-n-green {
  background: var(--green);
}

.circle-n-gold {
  background: var(--gold);
}

/* V21 — Legal pages */
.legal-updated{margin:0 0 28px;color:var(--text-muted);font-size:13px}
.legal-body code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em;background:var(--surface-2);padding:2px 5px;border-radius:4px}

/* RYS : suppression des séparateurs décoratifs */
.site-header {
  border-bottom: none;
}

.page-pad,
section.pad {
  border-bottom: none;
}

.hero-meta {
  border-top: none;
}

.how-step {
  border-top: none;
  padding-top: 0;
}

.product-card {
  border-right: none;
}

.price-row,
.product-card.highlight .price-row {
  border-top: none;
}

.standalone-card {
  border-right: none;
}

footer {
  border-top: none;
}

/* RYS : catalogue à une seule offre Google. */
.product-grid.product-grid-single {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 480px);
  margin-inline: auto;
}
