/*
 * MEDESTETIC PERFORMANCE + CONVERSION V5
 * Isolated selectors; no third-party dependencies.
 */
.intro__image {
  overflow: hidden;
  background: #f4f1f5;
}

.intro__image .medestetic-lcp-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.img_before img,
.licenses__items img {
  max-width: 100%;
  height: auto;
}

.medestetic-mobile-actions {
  display: none;
}

@media (max-width: 767px) {
  body.medestetic-mobile-actions-enabled {
    padding-bottom: 72px !important;
  }

  .medestetic-mobile-actions {
    position: fixed;
    z-index: 2147483000;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 8px;
    padding: 9px max(10px, env(safe-area-inset-right))
      calc(9px + env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid rgba(80, 45, 91, 0.14);
    box-shadow: 0 -8px 24px rgba(44, 24, 51, 0.12);
    backdrop-filter: blur(10px);
  }

  .medestetic-mobile-actions__call,
  .medestetic-mobile-actions__book {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
  }

  .medestetic-mobile-actions__call {
    color: #5c3467;
    background: #f3edf5;
    border: 1px solid rgba(92, 52, 103, 0.2);
  }

  .medestetic-mobile-actions__book {
    color: #fff;
    background: #744781;
  }
}

@media (prefers-reduced-motion: reduce) {
  .medestetic-mobile-actions * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
