/* ============================================
   1. BLUR : flou + bouclier anti-clic
   ============================================ */
.class_blur {
  user-select: none;
  position: relative;
}

/* Bouclier transparent par dessus tout élément flouté */
.class_blur::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  cursor: default;
}

/* ============================================
   2. WRAPPER
   ============================================ */
.lvd-gm-blur-wrapper {
  position: relative;
  cursor: pointer;
  width: auto;
  max-width: 100%;
  overflow: visible;
  display: block;
  box-sizing: border-box;
}

/* Bouclier anti-clic couvrant tout */
.lvd-gm-blur-wrapper::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  z-index: 9;
  cursor: pointer;
  min-width: 100px;
  /*background: #FB00007a;*/
}

/* ============================================
   3. OVERLAY MESSAGE
   ============================================ */
.lvd-gm-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: inline-flex;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  border: 1px solid #d9d9d9;
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  box-sizing: border-box;
}

.lvd-gm-overlay i {
  display: flex;
  width: 24px;
  height: 24px;
  padding: 4px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

button.btn-primary .lvd-gm-blur-wrapper .lvd-gm-overlay span,
.btn-primary .lvd-gm-blur-wrapper .lvd-gm-overlay span,
.lvd-gm-blur-wrapper .lvd-gm-overlay span {
  color: #200b3e !important;
  font-family: Sarabun !important;
  font-size: 13px !important;
  font-style: normal !important;
  line-height: normal !important;
  font-weight: 400;
}

/* Responsive : taille de texte réduite sur mobile */
@media (max-width: 768px) {
  button.btn-primary .lvd-gm-blur-wrapper .lvd-gm-overlay span,
  .btn-primary .lvd-gm-blur-wrapper .lvd-gm-overlay span,
  .lvd-gm-blur-wrapper .lvd-gm-overlay span {
    font-size: 11px !important;
  }
}

.lvd-gm-overlay span:nth-of-type(2) {
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

/* ============================================
   4. HEADER OVERLAY (avis vérifiés, etc.)
   ============================================ */
.lvd-gm-header-overlay {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: inline-flex;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  border: 1px solid #d9d9d9;
  background: #fff;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  cursor: pointer;
  margin-top: 4px;
}

.lvd-gm-header-overlay i {
  display: flex;
  width: 20px;
  height: 20px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-right: 4px;
  color: #200b3e;
}

.lvd-gm-header-overlay span {
  color: #200b3e;
  font-family: Sarabun, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}

.lvd-gm-header-overlay span:last-of-type {
  font-weight: 600;
  text-decoration: underline;
}

/* ============================================
   5. PAGE OVERLAY (CMS / Blog / Calculators)
   ============================================ */
.lvd-gm-page-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  margin-top: 0;
  padding: 14px 24px;
  font-size: 15px;
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.15);
}

.lvd-gm-page-overlay i {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}

.lvd-gm-page-overlay span {
  font-size: 15px;
}

@media (max-width: 600px) {
  .lvd-gm-page-overlay {
    padding: 10px 16px;
    font-size: 13px;
  }

  .lvd-gm-page-overlay span {
    font-size: 13px;
  }
}
