/* Override Nixo green with AGM-TEC orange */
:root {
  --agm-orange: #ec6c2b;
}
.sp-color1,
.theme-dark .sp-color1,
.btn-bg1,
.default-btn.btn-bg1,
.get-btn,
.play-btn,
.accordion-title.active {
  color: #ffffff !important;
  border-color: #ec6c2b !important;
  background-color: #ec6c2b !important;
}
/* Pas de hover orange sur les titres (h2, h3) ni dans le footer */
.theme-dark h2:hover,
.theme-dark h2:hover a,
.theme-dark h3:hover,
.theme-dark h3:hover a,
.theme-dark h3 a:hover,
.footer-list a:hover,
.footer-list-two a:hover {
  color: #ffffff !important;
  border-color: transparent !important;
  background-color: transparent !important;
}
.get-btn:hover,
.default-btn.btn-bg1:hover,
.submit-btn.btn-bg1:hover {
  background: #d85a1f !important;
  border-color: #d85a1f !important;
}
.border-radius-5.btn-bg1 { background: linear-gradient(120deg, #ff8b49, #ec6c2b) !important; }

/* Logo AGM : effet lumineux au survol */
/* Logo : léger flash au survol (pas de soulèvement) */
.agm-logo-link {
  display: inline-block;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.agm-logo-link:hover {
  opacity: 1;
}
.agm-logo-link .agm-logo {
  transition: filter 0.25s ease;
  display: block;
}
.agm-logo-link:hover .agm-logo {
  filter: brightness(1.15);
}

/* Preloader : logo orange sur fond sombre, sans spinner vert */
.agm-preloader,
#preloader.agm-preloader {
  background-color: #1a1a1a !important;
}
.agm-preloader .into-preloader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.agm-preloader .agm-preloader-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 180px;
  width: auto;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  animation: agm-preloader-pulse 1.2s ease-in-out infinite;
}
@keyframes agm-preloader-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* Pages légales */
.legal-page h1 { color: #ffffff; }
.legal-page h2 { color: #ffffff; margin-top: 1.5rem; font-size: 1.25rem; }
.legal-page .text-muted { color: #b9b9b9 !important; }
.legal-page a:not(.default-btn) { color: #ec6c2b; text-decoration: underline; }

/* Badge Avis Google : en bas à gauche, 25px du bas, plus grand (visible après acceptation cookies) */
.google-reviews-badge {
  position: fixed;
  left: 25px;
  bottom: 25px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.google-reviews-badge.show {
  opacity: 1;
  pointer-events: auto;
}
.agmtec-google-badge {
  display: inline-block;
  transition: transform 0.25s ease;
}
.agmtec-google-badge:hover {
  transform: scale(1.08);
}
.agmtec-google-badge img {
  width: 110px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  display: block;
  transition: box-shadow 0.25s ease;
}
.agmtec-google-badge:hover img {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

/* Bandeau cookies en bas à gauche */
.cookie-banner {
  position: fixed;
  left: 0.8rem;
  bottom: 0.8rem;
  max-width: 320px;
  padding: 0.7rem 0.9rem;
  background: rgba(0, 0, 0, 0.92);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8rem;
  color: #f5f5f5;
  display: none;
  align-items: center;
  gap: 0.7rem;
  z-index: 60;
}
.cookie-banner.show {
  display: flex;
}
.cookie-banner-text { flex: 1; }
.cookie-banner-button {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #ec6c2b;
  color: #ffffff;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* Fake commandes (toast) */
.fake-order-toast {
  position: fixed;
  right: 0.8rem;
  bottom: 0.8rem;
  max-width: 260px;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  font-size: 0.8rem;
  color: #f5f5f5;
  display: none;
  z-index: 50;
}
.fake-order-toast.show {
  display: block;
  animation: agm-toast-in 0.4s ease-out;
}
.fake-order-heading { font-weight: 600; margin-bottom: 0.2rem; }
.fake-order-meta { font-size: 0.74rem; color: #b9b9b9; margin-top: 0.2rem; }
@keyframes agm-toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .fake-order-toast { left: 0.8rem; right: 0.8rem; max-width: none; }
  .cookie-banner { left: 0.6rem; right: 0.6rem; max-width: none; }
  .google-reviews-badge { left: 15px; bottom: 15px; }
  .agmtec-google-badge img { width: 90px; }
}

/* Top header : fond moins noir */
.top-header-bg {
  background-color: #1d1d1d;
}

/* Top bar mobile : uniquement mail et téléphone */
@media (max-width: 991px) {
  .top-header .header-left-card ul li:first-child {
    display: none !important;
  }
  .top-header .top-right.agm-top-right-links {
    display: none !important;
  }
  .top-header .header-left .header-left-card ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin: 0;
    padding: 0.5rem 0;
  }
  .top-header .header-left .header-left-card ul li {
    margin: 0;
  }
}

/* Cartes articles (home) : image au-dessus + effet au survol */
.agm-blog-card .agm-blog-card-img {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.agm-blog-card .agm-blog-card-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.agm-blog-card a:hover .agm-blog-card-img img {
  transform: scale(1.05);
  filter: brightness(1.08);
}
.agm-blog-card .content h3 a { color: inherit; }
.agm-blog-card .content h3 a:hover { color: #ffffff !important; }

/* Page article : texte justifié */
.blog-article .article-content,
.blog-article .article-content p,
.blog-article .article-content .blockquote p,
.blog-article .article-content ul li {
  text-align: justify;
}
.blog-article .article-content h3 {
  text-align: left;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Page article : pas de vert, blockquote orange clair */
.blog-article .article-content .blockquote {
  background-color: rgba(236, 108, 43, 0.12);
  border-left: 4px solid #ec6c2b;
}
.theme-dark .blog-article .article-content .blockquote {
  background-color: rgba(236, 108, 43, 0.15);
}
.side-bar-widget .widget-popular-post .item .thumb img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  display: block;
}

/* Dropdown Informations : visible au clic (Bootstrap 5 .show) */
.main-nav nav .navbar-nav .nav-item .dropdown-menu.show {
  transform: scaleY(1);
}

/* Liens haut droite : Catalogue + Panier */
.agm-top-right-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.agm-top-right-links a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}
.agm-top-right-links a:hover {
  color: #ffffff;
  opacity: 0.9;
}
.agm-top-right-links a i {
  margin-right: 5px;
  font-size: 14px;
}

/* Sticky header */
.sticky-nav .main-nav {
  top: 0;
  background-color: #1d1d1d;
  position: fixed;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Menu : hover blanc (pas d’orange) */
.main-nav nav .navbar-nav .nav-item a:hover,
.main-nav nav .navbar-nav .nav-item:hover a,
.main-nav nav .navbar-nav .nav-item .nav-link:hover,
.theme-dark .main-nav nav .navbar-nav .nav-item a:hover,
.theme-dark .main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover {
  color: #ffffff !important;
  opacity: 0.9;
}
.main-nav nav .navbar-nav .nav-item a:hover i,
.main-nav nav .navbar-nav .nav-item:hover a i {
  color: #ffffff !important;
}

/* Liens en blanc (sauf boutons et nav) */
.theme-dark a:not(.default-btn):not(.get-btn):not(.play-btn):not(.nav-link):not(.navbar-brand) {
  color: rgb(255 255 255);
  text-decoration: none;
}
.theme-dark a:not(.default-btn):not(.get-btn):not(.play-btn):not(.nav-link):hover {
  color: rgb(255 255 255) !important;
}

/* Section title : span avec espace et bords arrondis */
.section-title span {
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px;
  line-height: 1.2;
  font-size: 15px;
  border-radius: 8px;
  display: inline-block;
}
.section-title .sp-color1 {
  margin-bottom: 12px;
}
.section-title h2 {
  margin-top: 0;
}

/* Services : lien au hover en blanc */
.theme-dark .services-item h3 a,
.theme-dark .services-item h3 a:hover {
  color: rgb(255 255 255) !important;
  text-decoration: underline;
}

/* CTA : deux boutons côte à côte sur desktop */
.cta-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cta-buttons-ou {
  margin: 0 0.5rem;
  color: #ffffff;
}
@media (max-width: 767px) {
  .cta-buttons-row {
    flex-direction: column;
  }
  .cta-buttons-ou { margin: 0.25rem 0; }
}

/* FAQ accordion : contours orange, bords arrondis */
.faq-accordion .accordion .accordion-title {
  padding: 15px 60px 12px 20px;
  color: #444444;
  text-decoration: none;
  position: relative;
  background-color: #ffffff;
  display: block;
  font-size: 17px;
  font-weight: 600;
  border: 1px solid rgb(236 108 43);
  border-radius: 10px;
}
.theme-dark .faq-accordion .accordion .accordion-title {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #ec6c2b;
}

/* Bouton play vidéo – orange comme le logo */
.banner-area .play-btn-area .play-btn-area-into .play-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 70px;
  height: 70px;
  background-color: #ef7130;
  opacity: 0.5;
  border-radius: 50px;
}

/* Footer : fond #252525 */
.footer-top.pt-100.pb-70,
.footer-area .footer-top {
  background-color: #252525;
}

/* Blog / actualités : style du span (date, meta) dans les cartes */
.blog-item .content span {
  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
  display: block;
}

/* Fiche produit : fil d’Ariane sous le header (éviter chevauchement logo) */
/* Fil d'Ariane fiche produit : dans la section (sous le padding-top), plus de chevauchement */
.agm-breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  padding-top: 2.25rem;
}
.agm-breadcrumb a {
  color: #ec6c2b;
  text-decoration: none;
}
.agm-breadcrumb a:hover {
  text-decoration: underline;
}
.theme-dark .agm-breadcrumb a {
  color: #ec6c2b;
}
.agm-breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.85);
}
.theme-dark .agm-breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.9);
}
.agm-breadcrumb-sep {
  margin: 0 0.4rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Fiche produit : espace haut et bas sur PC */
.section-product-single.tf-main-product.section-image-zoom {
  padding-bottom: 3rem;
}
@media (min-width: 992px) {
  .section-product-single.tf-main-product.section-image-zoom {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Fiche produit : catégorie au-dessus du titre en orange */
.section-product-single .product-infor-cate,
.tf-product-info-list .product-infor-cate {
  color: #ec6c2b !important;
  padding-bottom: 15px;
}

/* Fiche produit : bloc prix avec overlay et "Prix selon options" en orange */
.tf-product-info-list .agm-price-block {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(236, 108, 43, 0.08);
  border: 1px solid rgba(236, 108, 43, 0.25);
}
.theme-dark .tf-product-info-list .agm-price-block {
  background: rgba(236, 108, 43, 0.12);
  border-color: rgba(236, 108, 43, 0.35);
}
.tf-product-info-list .agm-price-block .price-on-sale {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.tf-product-info-list .agm-price-option-label {
  margin: 0;
  font-size: 0.85rem;
  color: #ec6c2b !important;
  font-weight: 500;
}
.tf-product-info-list .tf-btn.animate-btn i.bx,
.nav-btn .default-btn i.bx {
  margin-right: 0.4rem;
  font-size: 1.1em;
}

/* Classe texte secondaire (fiche produit, etc.) */
.cl-text-2 {
  color: #babdbf !important;
}

/* 4 configurations en 2x2 (pas 3+1) */
.tf-product-volume-discount .list-volume-discount-thumbnail {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px;
  overflow: visible;
  max-width: 100%;
}
@media (max-width: 576px) {
  .tf-product-volume-discount .list-volume-discount-thumbnail {
    grid-template-columns: 1fr !important;
  }
}

/* Bouton Ajouter au panier : orange + espace au-dessus */
.tf-product-volume-discount .tf-btn.animate-btn,
.section-product-single .tf-btn.animate-btn {
  margin-top: 30px !important;
  padding-top: 12px;
  padding-bottom: 12px;
  background: linear-gradient(120deg, #ff8b49, #ec6c2b) !important;
  border-color: #ec6c2b !important;
  color: #ffffff !important;
}
.tf-product-volume-discount .tf-btn.animate-btn:hover,
.section-product-single .tf-btn.animate-btn:hover {
  opacity: 0.9;
  color: #ffffff !important;
}

/* Barre d’onglets En savoir +, Fiche, etc. : layout propre */
.agm-product-info-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.05rem;
  margin-bottom: 1.25rem;
  clear: both;
  justify-content: center;
  text-align: center;
}
.agm-product-info-tabs .agm-info-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(120deg, #ff8b49, #ec6c2b);
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
  flex: 0 1 auto;
  white-space: nowrap;
}
.agm-product-info-tabs .agm-info-tab:hover {
  opacity: 0.9;
  color: #ffffff;
}
.agm-product-info-tabs .agm-info-tab i { font-size: 1rem; }

/* Livraison / SAV : bloc dédié au-dessus du tableau, bien séparé */
.agm-delivery-block.tf-product-delivery-return {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem 0;
}

/* Bloc caractéristiques (8 specs) : grille lisible, pas de trait au-dessus */
.agm-product-specs {
  width: 100%;
  clear: both;
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-top: 0;
  overflow: visible;
}
.agm-product-specs .agm-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.5rem;
  overflow: visible;
}
@media (max-width: 991px) {
  .agm-product-specs .agm-specs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .agm-product-specs .agm-specs-grid { grid-template-columns: 1fr; }
}
.agm-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  min-height: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  box-sizing: border-box;
}
.theme-dark .agm-spec-item {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.agm-spec-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #888;
  line-height: 1.2;
}
.agm-spec-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.3;
  word-break: break-word;
}
.theme-dark .agm-spec-value { color: #e0e0e0; }
.theme-dark .agm-spec-title { color: #b0b0b0; }

/* Livraison / SAV et bandeau paiement : sous la grille, sans recouvrir */
.tf-product-info-list .tf-product-trust-seal {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
}
.theme-dark .tf-product-info-list .tf-product-trust-seal {
  background: #28c97e;
}
.tf-product-info-list .tf-product-trust-seal .text-seal {
  margin: 0;
  color: #ffffff;
  font-size: 0.9rem;
}
.tf-product-info-list .tf-product-trust-seal .agm-trust-seal-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.tf-product-info-list .tf-product-trust-seal .agm-trust-seal-link:hover {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

/* Onglets Description / Caractéristiques techniques : bordure active orange */
.tab-btn-wrap-v1 .tf-btn-tab.active {
  border-color: #ec6c2b !important;
  color: #ec6c2b !important;
}

/* Bouton fixe côté droit : Catalogue Camera Inspection (masqué sur mobile) */
.agm-side-catalogue-btn {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #ec6c2b;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 12px 0 0 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  z-index: 995;
  box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}
.agm-side-catalogue-btn:hover {
  background: #d85a1f;
  color: #ffffff;
  padding-right: 22px;
}
@media (max-width: 991px) {
  .agm-side-catalogue-btn {
    display: none;
  }
}

/* Partenaires / références : bandeau logos en bas de home */
.agm-partners-area {
  background-color: #111111;
  padding-top: 70px;
}
.agm-partners-strip {
  overflow: hidden;
  padding: 1.5rem 0 1rem;
}
.agm-partners-track {
  display: flex;
  align-items: center;
  padding-top: 25px;
  gap: 1rem 1.5rem;
  animation: agm-partners-scroll 35s linear infinite;
}
.agm-partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease;
  flex: 0 0 20%;
}
.agm-partner-logo img {
  max-height: 120px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.9;
}
.agm-partner-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  background: rgba(236, 108, 43, 0.15);
}
.agm-partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 575px) {
  .agm-partner-logo img {
    max-height: 120px;
  }
}
@keyframes agm-partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Badge paiement sécurisé sous le bouton de la fiche produit */
.agm-payment-badge-wrap {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.agm-payment-badge {
  max-width: 90%;
  padding-top: 20px;
  width: 100%;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
  transition: filter 0.25s ease, transform 0.25s ease;
}
.agm-payment-badge-wrap:hover .agm-payment-badge {
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.4));
  transform: translateY(-1px);
}

/* ---------- Comparatif gamme Tubicam® (fiche produit) ---------- */
.agm-comparison-section {
  padding: 3rem 0 4rem;
}
.agm-comparison-container {
  margin: 0;
  overflow-x: auto;
}
.agm-comparison-title {
  color: #ec6c2b;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.theme-dark .agm-comparison-title {
  color: #ec6c2b;
}
.agm-comparison-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.agm-comparison-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.9rem;
}
.theme-dark .agm-comparison-table {
  background: #252525;
}
.agm-comparison-table th,
.agm-comparison-table td {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
}
.theme-dark .agm-comparison-table th,
.theme-dark .agm-comparison-table td {
  border-color: rgba(255, 255, 255, 0.12);
  color: #e0e0e0;
}
.agm-comparison-images-row td {
  padding: 15px 10px;
  vertical-align: bottom;
  background: #fafafa;
}
.theme-dark .agm-comparison-images-row td {
  background: #2a2a2a;
}
.agm-comparison-images-row a {
  display: block;
  text-decoration: none;
}
.agm-comparison-images-row img {
  max-width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: opacity 0.3s ease;
}
.agm-comparison-images-row a:hover img {
  opacity: 0.85;
}
.agm-comparison-head-row {
  background: #ec6c2b;
  color: #ffffff;
}
.agm-comparison-head-row th {
  padding: 14px 10px;
  font-weight: 600;
  text-align: center;
  border-color: rgba(255, 255, 255, 0.2);
}
.agm-comparison-head-row th:first-child {
  text-align: left;
}
.agm-comparison-head-row a {
  color: #ffffff;
  text-decoration: none;
}
.agm-comparison-head-row a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.agm-comp-label {
  text-align: left !important;
  font-weight: 600;
  color: #333;
}
.theme-dark .agm-comp-label {
  color: #e8e8e8;
}
.agm-comparison-table tbody tr.agm-comp-alt td {
  background: rgba(0, 0, 0, 0.04);
}
.theme-dark .agm-comparison-table tbody tr.agm-comp-alt td {
  background: rgba(255, 255, 255, 0.04);
}
.agm-comp-muted {
  color: #999 !important;
}
.theme-dark .agm-comp-muted {
  color: #666 !important;
}
.agm-comp-highlight {
  color: #ec6c2b !important;
  font-weight: 600;
}
.agm-comparison-cta {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(236, 108, 43, 0.12);
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(236, 108, 43, 0.3);
}
.theme-dark .agm-comparison-cta {
  background: rgba(236, 108, 43, 0.15);
  border-color: rgba(236, 108, 43, 0.4);
}
.agm-comparison-cta p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}
.theme-dark .agm-comparison-cta p {
  color: #e8e8e8;
}
.agm-cta-highlight {
  color: #ec6c2b;
  font-weight: 700;
}
.agm-comparison-cta a {
  color: #ec6c2b;
  text-decoration: none;
  font-weight: 600;
}
.agm-comparison-cta a:hover {
  text-decoration: underline;
}
.theme-dark .agm-comparison-cta a {
  color: #ff8b49;
}

/* Badge "Livraison en 24 h" à côté de la catégorie produit */
.agm-badge-24h {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  padding: 2px 7px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: #28c97e;
  color: #0b1a10;
  white-space: nowrap;
}

/* Produits recommandés (3 blocs) en bas de fiche produit */
.agm-related-products {
  padding: 0.5rem 0 3.5rem;
}
.agm-related-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}
.agm-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 991px) {
  .agm-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .agm-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.agm-related-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.agm-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7);
  border-color: rgba(236, 108, 43, 0.7);
}
.agm-related-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111111;
}
.agm-related-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.agm-related-card:hover .agm-related-image-wrap img {
  transform: scale(1.05);
}
.agm-related-content {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.agm-related-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}
.agm-related-subtitle {
  font-size: 0.82rem;
  color: #babdbf;
  margin: 0;
}
.agm-related-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ec6c2b;
  margin: 0.15rem 0 0.3rem;
}
.agm-related-text {
  font-size: 0.8rem;
  color: #d0d2d4;
  margin: 0;
}

/* ---------- Landing camera-endoscope.com (home Scopicam / endoscopes) ---------- */
.agm-edu-section .agm-edu-text,
.agm-accessoires-intro {
  text-align: justify;
  color: #babdbf;
  line-height: 1.65;
}
.agm-edu-list {
  color: #babdbf;
  padding-left: 1.25rem;
}
.agm-edu-list li {
  margin-bottom: 0.35rem;
}
.agm-reassurance-grid .agm-reassurance-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.1rem;
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.agm-reassurance-grid .agm-reassurance-card:hover {
  border-color: rgba(236, 108, 43, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.agm-reassurance-card i {
  font-size: 2rem;
  color: #ec6c2b;
  margin-bottom: 0.75rem;
  display: block;
}
.agm-reassurance-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}
.agm-reassurance-card p {
  font-size: 0.88rem;
  color: #babdbf;
  margin: 0;
  line-height: 1.55;
}
.agm-endoscope-range-title {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.35rem;
}
.agm-endoscope-range-sub {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.agm-endoscope-range-sub a {
  color: #ec6c2b;
  text-decoration: none;
}
.agm-endoscope-range-sub a:hover {
  text-decoration: underline;
}
.agm-endoscope-range-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 991px) {
  .agm-endoscope-range-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .agm-endoscope-range-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.agm-endoscope-range-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.agm-endoscope-range-card:hover {
  transform: translateY(-3px);
  border-color: rgba(236, 108, 43, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}
.agm-endoscope-range-card--featured {
  border-color: rgba(236, 108, 43, 0.45);
  box-shadow: 0 0 0 1px rgba(236, 108, 43, 0.2);
}
.agm-endoscope-range-img {
  aspect-ratio: 1;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agm-endoscope-range-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}
.agm-endoscope-range-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  padding: 0.85rem 0.85rem 0.25rem;
  line-height: 1.35;
}
.agm-endoscope-range-price {
  font-size: 0.82rem;
  color: #ec6c2b;
  font-weight: 600;
  margin: 0;
  padding: 0 0.85rem 1rem;
}
.agm-endoscope-range-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #ec6c2b;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}
.agm-accessoires-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1199px) {
  .agm-accessoires-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .agm-accessoires-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 479px) {
  .agm-accessoires-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.agm-accessoires-card {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.agm-accessoires-card:hover {
  border-color: rgba(236, 108, 43, 0.5);
  transform: translateY(-2px);
}
.agm-accessoires-img-wrap {
  aspect-ratio: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agm-accessoires-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}
.agm-accessoires-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  padding: 0.65rem 0.65rem 0.25rem;
  line-height: 1.35;
}
.agm-accessoires-price {
  font-size: 0.78rem;
  color: #ec6c2b;
  font-weight: 600;
  margin: 0;
  padding: 0 0.65rem 0.85rem;
}
.agm-video-cards {
  max-width: 960px;
  margin: 0 auto;
}
.agm-video-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(236, 108, 43, 0.15), rgba(0, 0, 0, 0.4));
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.agm-video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 108, 43, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  color: #fff;
}
.agm-video-card-play {
  font-size: 2.5rem;
  color: #ec6c2b;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.agm-video-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}
/* Tableau 2 colonnes fiche Scopicam */
.agm-scopicam-spec-table .agm-comparison-table.agm-simple-spec-table {
  min-width: 0;
  width: 100%;
}
.agm-simple-spec-table td.agm-comp-label {
  width: 38%;
}
.agm-simple-spec-table td:last-child {
  text-align: left !important;
}

/* ---------- Pages comparatif / videos endoscopes ---------- */
.agm-endoscope-page-hero {
  padding: 7.5rem 0 2.25rem;
  background: linear-gradient(180deg, rgba(236, 108, 43, 0.2), rgba(0, 0, 0, 0));
}
.agm-endoscope-page-hero h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
}
.agm-endoscope-page-hero p {
  color: #babdbf;
  margin: 0;
  max-width: 56rem;
}
.agm-endoscope-page-section {
  padding: 0.25rem 0 2.5rem;
}
.agm-endoscope-section-title {
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
}
.agm-endoscope-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 991px) {
  .agm-endoscope-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .agm-endoscope-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.agm-endoscope-compare-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1rem 0.85rem;
}
.agm-endoscope-compare-card h2 {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.5rem;
}
.agm-endoscope-compare-card ul {
  margin: 0;
  padding-left: 1rem;
}
.agm-endoscope-compare-card li {
  color: #babdbf;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}
.agm-endoscope-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
.agm-endoscope-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}
.agm-endoscope-table th,
.agm-endoscope-table td {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px;
  font-size: 0.84rem;
}
.agm-endoscope-table thead th {
  background: #ec6c2b;
  color: #fff;
  text-align: left;
}
.agm-endoscope-table tbody td {
  color: #e4e4e4;
}
.agm-videos-model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 767px) {
  .agm-videos-model-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.agm-videos-model-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
}
.agm-videos-model-card h2 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}
.agm-videos-model-sub {
  color: #ec6c2b;
  font-size: 0.86rem;
  margin-bottom: 0.55rem;
}
.agm-videos-model-specs {
  margin: 0 0 0.75rem;
  padding-left: 1rem;
}
.agm-videos-model-specs li {
  color: #babdbf;
  font-size: 0.84rem;
  margin-bottom: 0.25rem;
}
.agm-videos-model-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.agm-videos-model-links .default-btn {
  padding: 9px 14px;
  font-size: 0.78rem;
}

/* Bloc variations de prix Scopicam */
.agm-scopicam-variants {
  margin: 0.9rem 0 1rem;
}
.agm-scopicam-variants h6 {
  color: #fff;
  font-weight: 600;
}
.agm-scopicam-variants-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
.agm-scopicam-variants-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
.agm-scopicam-variants-table th,
.agm-scopicam-variants-table td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 10px;
  font-size: 0.8rem;
}
.agm-scopicam-variants-table th {
  background: rgba(236, 108, 43, 0.2);
  color: #fff;
  text-align: left;
}
.agm-scopicam-variants-table td {
  color: #dcdcdc;
}
