.elementor-widget-expertcn-single-product .single-product-media {
  min-width: 0;
  padding: 0;
}
.elementor-widget-expertcn-single-product .expertcn-product-gallery {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}
.elementor-widget-expertcn-single-product .expertcn-product-gallery-main {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
}
.elementor-widget-expertcn-single-product .expertcn-product-thumbnails {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 13px;
  background: rgba(247,251,251,.88);
  box-shadow: 0 12px 32px rgba(16,45,71,.16);
  backdrop-filter: blur(10px);
  scrollbar-width: thin;
}
.elementor-widget-expertcn-single-product .expertcn-product-thumbnail {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  color: inherit;
  background: #e7eff1;
  box-shadow: none;
  cursor: pointer;
}
.elementor-widget-expertcn-single-product .expertcn-product-thumbnail:hover,
.elementor-widget-expertcn-single-product .expertcn-product-thumbnail[aria-pressed="true"] {
  border-color: #177c77;
  background: #e7eff1;
}
.elementor-widget-expertcn-single-product .expertcn-product-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}
/* The quote workflow uses a single requested configuration: no reset or quantity UI. */
.elementor-widget-expertcn-single-product .single-product-purchase .reset_variations,
.elementor-widget-expertcn-single-product .single-product-purchase .quantity {
  display: none !important;
}

/* Complementary products — shared by the Fiche produit and standalone widget. */
.related-products {
  width: min(1328px, calc(100% - 48px));
  margin: clamp(56px, 7vw, 96px) auto 0;
}
.related-heading { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.related-heading h2 { max-width: 630px; margin: 0; color: #102d47; font-size: clamp(2rem, 3.5vw, 3.45rem); line-height: 1.06; letter-spacing: -.038em; font-weight: 700; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.related-card { min-width: 0; overflow: hidden; border: 1px solid #cfe0e5; border-radius: 16px; background: #fff; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.related-card:hover { transform: translateY(-3px); border-color: #afc8cc; box-shadow: 0 16px 36px rgba(16,45,71,.08); }
.related-card-image { height: 220px; min-height: 0; padding: 14px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid #dfe9ec; background: #edf3f4; }
.related-card-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; transform: scale(1.06); transition: transform .25s ease; }
.related-card-image.is-cover { padding: 0; }
.related-card-image.is-cover img { object-fit: cover; mix-blend-mode: normal; transform: none; }
.related-card:hover .related-card-image img { transform: scale(1.1); }
.related-card:hover .related-card-image.is-cover img { transform: scale(1.035); }
.related-card-copy { min-height: 162px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.related-card-copy small { color: #087d79; font-size: .8rem; font-weight: 600; line-height: 1.3; }
.related-card-copy strong { margin-top: 8px; color: #102d47; font-size: 1.12rem; line-height: 1.22; font-weight: 700; }
.related-card-copy strong a { color: inherit; text-decoration: none; }
.related-card-link { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: #087d79; font-size: .82rem; font-weight: 700; text-decoration: none; }
.related-card-link span { font-size: 1.1em; transition: transform .2s ease; }
.related-card:hover .related-card-link span { transform: translateX(3px); }
@media (max-width: 680px) {
  .elementor-widget-expertcn-single-product .expertcn-product-thumbnails {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
  .elementor-widget-expertcn-single-product .expertcn-product-thumbnail {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  .related-products { width: calc(100% - 32px); }
  .related-heading { align-items: flex-start; flex-direction: column; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card-image { height: 250px; }
}
@media (min-width: 681px) and (max-width: 1100px) {
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .elementor-widget-expertcn-single-product .expertcn-product-gallery * { transition: none !important; }
}
