/* =========================================================
   ЛИДАМЕД — ГЛОБАЛЬНАЯ ЦВЕТОВАЯ СИСТЕМА (2026)
   Premium Medical Beauty Literate
   ========================================================= */

:root{

  /* === BASE BACKGROUNDS === */
  --lm-white: #ffffff;
  --lm-bg-main: #ffffff;
  --lm-bg-soft: #f8f8f7;
  --lm-bg-warm: #f4f1ec;

  /* === TEXT === */
  --lm-text-main: #2f2f2f;
  --lm-text-secondary: #6f6a64;
  --lm-text-muted: #9a9288;

  /* === ACCENT (очень аккуратно!) === */
  --lm-accent-main: #d8c3a5;
  --lm-accent-soft: #eadfce;
  --lm-accent-deep: #b99b72;

  /* === BORDERS === */
  --lm-border-light: rgba(185, 155, 114, 0.14);
  --lm-border-main: rgba(185, 155, 114, 0.24);

  /* === SHADOWS === */
  --lm-shadow-soft: 0 12px 34px rgba(48, 42, 36, 0.08);
  --lm-shadow-card: 0 18px 45px rgba(48, 42, 36, 0.10);
  --lm-shadow-hover: 0 24px 60px rgba(48, 42, 36, 0.14);

  /* === RADIUS === */
  --lm-radius-sm: 14px;
  --lm-radius-md: 22px;
  --lm-radius-lg: 30px;

  /* === GRADIENTS === */
  --lm-gradient-soft: linear-gradient(135deg, #ffffff 0%, #faf8f5 48%, #f2eadf 100%);
  --lm-gradient-accent: linear-gradient(135deg, #eadfce 0%, #d8c3a5 100%);
}


/* =========================================================
   ЛИДАМЕД — БАЗОВАЯ ВИЗУАЛЬНАЯ КОРРЕКЦИЯ (мягкий старт)
   ========================================================= */

/* Общий фон сайта */
body{
  background-color: var(--lm-white);
  color: var(--lm-text-main);
}

/* Контентные зоны (если есть общий контейнер) */
.site,
.site-content,
main{
  background-color: transparent;
}

/* Заголовки */
h1,
h2,
h3,
h4,
h5{
  color: var(--lm-text-main);
}

/* Вторичный текст */
p,
span,
li{
  color: var(--lm-text-secondary);
}

/* =========================================================
   ЛИДАМЕД — ПРЕМИАЛЬНЫЕ КАРТОЧКИ / ГЛУБИНА (мягкий старт)
   ========================================================= */

/* Базовая логика карточек — без ломания локальных эффектов */
.lm-card,
.service-card,
.preparation-card,
.promo-card,
.news-card,
.article-card,
.faq-card,
.specialist-card,
.cabinet-card{
  background: var(--lm-white);
  border: 1px solid var(--lm-border-light);
  box-shadow: var(--lm-shadow-soft);
}

/* Мягкая глубина для крупных белых панелей */
.lm-panel,
.content-card,
.legal-content,
.price-content,
.contacts-card,
.requisites-card{
  background: var(--lm-white);
  border: 1px solid var(--lm-border-light);
  box-shadow: var(--lm-shadow-soft);
}

/* Очень лёгкая премиальная линия */
.lm-divider,
.section-divider,
hr{
  border-color: var(--lm-border-light);
}

/* Мягкий цвет вторичного текста только внутри контента */
.entry-content p,
.lm-section p,
.card p{
  color: var(--lm-text-secondary);
}

/* =========================================================
   ЛИДАМЕД — КНОПКИ СИНГЛОВ / АКЦИЙ / УСЛУГ
   Premium Medical Beauty Literate
   ========================================================= */

.lm-service-btn{
  border-radius: 999px;
  border: 1px solid rgba(185, 155, 114, 0.28);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f2 48%, #efe6d8 100%);
  color: #2f2f2f;
  box-shadow: 0 12px 28px rgba(48, 42, 36, 0.08);
}

/* Главная кнопка */
.lm-service-btn-primary,
.lm-service-btn-dark{
  background: linear-gradient(135deg, #d8c3a5 0%, #b99b72 100%);
  color: #ffffff;
  border-color: rgba(185, 155, 114, 0.42);
  box-shadow: 0 14px 32px rgba(120, 92, 58, 0.18);
}

/* Светлая / вторичная кнопка */
.lm-service-btn-light,
.lm-service-btn-second,
.lm-service-btn-secondary{
  background: #ffffff;
  color: #4a4a4a;
  border-color: rgba(185, 155, 114, 0.24);
  box-shadow: 0 10px 24px rgba(48, 42, 36, 0.06);
}




.lm-home-promotions{
    width: 100%;
    padding: 0 0 56px;
}

.lm-home-promotions .container{
    width: 100%;
}

.lm-home-promotions__card{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: 100%;
}

.lm-home-promotions__card > *{
    min-width: 0;
}

.lm-home-promotions__card-title,
.lm-home-promotions__summary,
.lm-home-promotions__badge,
.lm-home-promotions__prices,
.lm-home-promotions__benefit{
    width: 100%;
    min-width: 0;
}

.lm-home-promotions__button-wrap{
    margin-top: auto;
}

.lm-home-promotions + .lm-home-promotions{
    margin-top: -12px;
}

@media (max-width: 1199px){
    .lm-home-promotions__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px){
    .lm-home-promotions{
        padding: 0 0 40px;
    }

    .lm-home-promotions__grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lm-home-promotions + .lm-home-promotions{
        margin-top: -6px;
    }
}

.lm-home-promotions__text p{
    margin: 0;
    line-height: inherit;
}

.lm-home-promotions__text br{
    display: none;
}

/* =========================================================
   #03 — LIDAMED: Дата акции
   ========================================================= */

.lm-home-promotions__date{
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #777;
}



.lm-single-promotion__linked-block{
  margin-top:40px;
}

.lm-single-promotion__linked-title{
  margin:0 0 18px;
  font-size:28px;
  line-height:1.2;
  font-weight:700;
}

.lm-single-promotion__linked-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* --- Горизонтальная карточка --- */
.lm-linked-card{
  display:flex;
  align-items:stretch;
  gap:18px;
  width:100%;
  min-height:160px;
  padding:12px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
  text-decoration:none;
  color:inherit;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow:hidden;
}

.lm-linked-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(0,0,0,.08);
  border-color:rgba(0,0,0,.12);
}

/* --- Левая картинка --- */
.lm-linked-card__image-wrap{
  flex:0 0 180px;
  width:180px;
  border-radius:16px;
  overflow:hidden;
  align-self:stretch;
}

.lm-linked-card__image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* --- Правая текстовая часть --- */
.lm-linked-card__body{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:4px 6px 4px 0;
}

.lm-linked-card__title{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.25;
  font-weight:700;
  color:#1f1f1f;
}

.lm-linked-card__text{
  font-size:15px;
  line-height:1.6;
  color:#5d646d;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* --- Мобильная адаптация --- */
@media (max-width: 767px){
  .lm-single-promotion__linked-title{
    font-size:24px;
  }

  .lm-linked-card{
    gap:14px;
    min-height:140px;
    padding:10px;
    border-radius:18px;
  }

  .lm-linked-card__image-wrap{
    flex:0 0 120px;
    width:120px;
    border-radius:14px;
  }

  .lm-linked-card__title{
    font-size:18px;
    margin-bottom:8px;
  }

  .lm-linked-card__text{
    font-size:14px;
    line-height:1.5;
    -webkit-line-clamp:3;
  }
}



.home .lm-home-promotions__grid{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

.home .lm-home-promotions__card{
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 260px !important;
    padding: 24px !important;
    background: #fff !important;
    border: 1px solid #ececec !important;
    border-radius: 22px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.06) !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
}

.home .lm-home-promotions__card:hover{
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.10) !important;
}

.home .lm-home-promotions__card-title{
    margin: 0 0 12px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #222 !important;
    min-height: 48px !important;
    max-height: 48px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: center !important;
}

.home .lm-home-promotions__text{
    margin-bottom: 14px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #555 !important;
}

.home .lm-home-promotions__prices{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin: 12px 0 !important;
    width: 100% !important;
    text-align: center !important;
}

.home .lm-home-promotions__old-price{
    display: inline-block !important;
    font-size: 18px !important;
    color: #9a9a9a !important;
    text-decoration: line-through !important;
    white-space: nowrap !important;
}

.home .lm-home-promotions__new-price{
    display: inline-block !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #111 !important;
    white-space: nowrap !important;
}

.home .lm-home-promotions__benefit{
    margin-top: 8px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    background: #f2f3f5 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-align: center !important;
    color: #333 !important;
}

.home .lm-home-promotions__button-wrap{
    margin-top: auto !important;
    padding-top: 10px !important;
}

.home .lm-home-promotions__button{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    transition: .2s ease !important;
}

.home .lm-home-promotions__button:hover{
    opacity: .92 !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 1400px){
    .home .lm-home-promotions__grid{
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1200px){
    .home .lm-home-promotions__grid{
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px){
    .home .lm-home-promotions__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px){
    .home .lm-home-promotions__grid{
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .home .lm-home-promotions__card{
        padding: 18px !important;
        min-height: auto !important;
    }

    .home .lm-home-promotions__new-price{
        font-size: 24px !important;
    }
}



/* =========================================================
   LIDAMED — SINGLE USLUGI / SINGLE PREPARATY
   ========================================================= */

.lm-single-entry{
  max-width:1100px;
  margin:0 auto;
}

.lm-single-entry__title{
  margin:0 0 24px;
  font-size:42px;
  line-height:1.15;
  font-weight:700;
  color:#1f1f1f;
}

.lm-single-entry__image{
  margin-bottom:28px;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 14px 40px rgba(0,0,0,.08);
}

.lm-single-entry__image img{
  width:100%;
  display:block;
  object-fit:cover;
}

.lm-single-entry__summary{
  margin-bottom:24px;
  padding:24px 28px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:24px;
  background:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.05);
  font-size:18px;
  line-height:1.65;
  color:#4f5660;
}

.lm-single-entry__summary > div + div{
  margin-top:8px;
}

.lm-single-entry__content{
  font-size:18px;
  line-height:1.75;
  color:#2a2f36;
}

.lm-single-entry__content p:last-child{
  margin-bottom:0;
}

@media (max-width: 767px){
  .lm-single-entry__title{
    font-size:30px;
    margin-bottom:18px;
  }

  .lm-single-entry__image{
    margin-bottom:20px;
    border-radius:18px;
  }

  .lm-single-entry__summary{
    padding:18px 20px;
    border-radius:18px;
    font-size:16px;
    line-height:1.6;
  }

  .lm-single-entry__content{
    font-size:16px;
    line-height:1.7;
  }
}



.lm-archive-head{
  margin-bottom:34px;
}

.lm-archive-head__title{
  margin:0 0 12px;
  font-size:42px;
  line-height:1.15;
  font-weight:700;
  color:#1f1f1f;
}

.lm-archive-head__text{
  max-width:1000px;
  font-size:18px;
  line-height:1.7;
  color:#5d646d;
}

.lm-archive-empty{
  padding:28px 32px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:24px;
  background:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.05);
  font-size:18px;
  line-height:1.6;
  color:#4f5660;
}

.lm-home-promotions__card-title a{
  color:inherit;
  text-decoration:none;
}

.lm-home-promotions__card-title a:hover{
  color:inherit;
  text-decoration:none;
}

.navigation.pagination{
  margin-top:34px;
  text-align:center;
}

.navigation.pagination .nav-links{
  display:inline-flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  justify-content:center;
}

.navigation.pagination .page-numbers{
  min-width:42px;
  height:42px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  color:#1f1f1f;
  text-decoration:none;
  box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.navigation.pagination .page-numbers.current{
  border-color:rgba(0,0,0,.14);
  box-shadow:0 10px 26px rgba(0,0,0,.07);
}

@media (max-width: 767px){
  .lm-archive-head{
    margin-bottom:24px;
  }

  .lm-archive-head__title{
    font-size:30px;
    margin-bottom:10px;
  }

  .lm-archive-head__text{
    font-size:16px;
    line-height:1.6;
  }

  .lm-archive-empty{
    padding:20px 22px;
    border-radius:18px;
    font-size:16px;
  }
}

/* =========================================================
   LIDAMED — ARCHIVE USLUGI / PREPARATY
   ========================================================= */

.lm-archive-wide-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* ===== LIDAMED — preparations archive /preparations/ ===== */

.lm-preparations-archive{
    padding: 48px 0 72px;
    background: #ffffff;
}

.lm-preparations-archive__header{
    margin-bottom: 32px;
    text-align: center;
}

.lm-preparations-archive__title{
    margin: 0 0 10px;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    color: #1d2327;
}

.lm-preparations-archive__subtitle{
    font-size: 16px;
    line-height: 1.5;
    color: #646970;
}

.lm-brands-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.lm-brand-card{
    display: block;
    text-decoration: none;
    color: inherit;
}

.lm-brand-card__inner{
    min-height: 160px;
    padding: 28px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.lm-brand-card:hover .lm-brand-card__inner{
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.08);
    border-color: #d0d7de;
}

.lm-brand-card__latin{
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #1d2327;
    text-transform: uppercase;
}

.lm-brand-card__ru{
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
    color: #646970;
}

.lm-preparations-empty{
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    text-align: center;
    color: #646970;
    background: #fff;
}

@media (max-width: 1199px){
    .lm-brands-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px){
    .lm-brands-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .lm-preparations-archive__title{
        font-size: 30px;
    }
}

@media (max-width: 575px){
    .lm-preparations-archive{
        padding: 34px 0 48px;
    }

    .lm-brands-grid{
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lm-brand-card__inner{
        min-height: 120px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    .lm-brand-card__latin{
        font-size: 20px;
    }

    .lm-brand-card__ru{
        font-size: 14px;
        margin-top: 8px;
    }

    .lm-preparations-archive__title{
        font-size: 26px;
    }

    .lm-preparations-archive__subtitle{
        font-size: 14px;
    }
}

/* === LIDAMED SINGLE PREPARATION UI === */

.lm-single-entry__summary{
    background: #f7f7f7;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.lm-single-entry__content{
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

/* Блоки */

.lm-single-entry__attributes{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

/* Карточка */

.lm-attr-block{
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

/* Ховер */

.lm-attr-block:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

/* Заголовки */

.lm-attr-block strong{
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Текст */

.lm-attr-block{
    font-size: 15px;
    color: #222;
}

/* H3 (Показания / Противопоказания) */

.lm-attr-block h3{
    font-size: 16px;
    margin-bottom: 10px;
    color: #111;
}

/* Документы */

.lm-attr-block ul{
    padding-left: 18px;
}

.lm-attr-block a{
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.lm-attr-block a:hover{
    border-bottom: 1px solid #000;
}

/* Адаптив */

@media (max-width: 768px){
    .lm-single-entry__attributes{
        grid-template-columns: 1fr;
    }
}

/* ===== АКЦИЯ SINGLE ===== */

.lm-promo-single__time{
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
    margin-bottom: 14px;
    font-size: 14px;
    color: #666;
}

.lm-promo-single__prices{
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

.lm-promo-single__old{
    text-decoration: line-through;
    color: #999;
}

.lm-promo-single__new{
    font-size: 28px;
    font-weight: 700;
}

.lm-promo-single__disc{
    background: #f2f2f2;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
}

.lm-promo-single__summary{
    margin: 14px 0;
    color: #444;
}

.lm-promo-single__btn{
    display: inline-block;
    padding: 12px 20px;
    background: #111;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
}

/* ===== RELATED MINI CARDS ===== */

.lm-related-mini-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.lm-related-mini-card{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    background: #f8f8f8;
    text-decoration: none;
    color: #111;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.lm-related-mini-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    background: #f4f4f4;
}

.lm-related-mini-card__image-wrap{
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    border-radius: 14px;
    overflow: hidden;
    background: #ececec;
    display: block;
}

.lm-related-mini-card__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lm-related-mini-card__title{
    display: block;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
    color: #111;
}

@media (max-width: 767px){
    .lm-related-mini-grid{
        grid-template-columns: 1fr;
    }
}

/* ===== SERVICES ARCHIVE / CATEGORY VIEW ===== */

.lm-services-archive__header{
    text-align: center;
    margin-bottom: 32px;
}

.lm-services-archive__title{
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.lm-services-archive__text{
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.lm-services-category-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.lm-services-category-card{
    display: block;
    text-decoration: none;
    color: inherit;
}

.lm-services-category-card__inner{
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 16px;
    height: 124px;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    transition: transform .22s ease, box-shadow .22s ease;
    overflow: hidden;
}

.lm-services-category-card:hover .lm-services-category-card__inner{
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

.lm-services-category-card__media{
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    align-self: center;
}

.lm-services-category-card__image{
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 18px;
    background: #f2f2f2;
}

.lm-services-category-card__image--empty{
    background: #f2f2f2;
}

.lm-services-category-card__content{
    flex: 1 1 auto;
    min-width: 0;
    height: 96px;
    align-self: center;
    position: relative;
    padding-right: 34px;
}

.lm-services-category-card__title{
    display: block;
    margin: 0 0 4px;
    padding-right: 0;
    font-size: 22px;
    line-height: 1.16;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lm-services-category-card__text{
    margin: 0;
    font-size: 13px;
    line-height: 1.32;
    color: #666;
    overflow: hidden;
}

.lm-services-category-card__text--top{
    display: block;
}

.lm-services-category-card__text--bottom{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-height: 1.32em;
    margin-top: 1px;
    text-overflow: ellipsis;
}

/* GLASS STYLE — КРУЖОК С ЦИФРОЙ */
.lm-services-category-card__meta{
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 3;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(245, 245, 245, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.85);

    color: #444;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: center;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.10),
        inset 0 1px 0 rgba(255,255,255,0.75);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        border-color .22s ease;

    pointer-events: none;
}

.lm-services-category-card:hover .lm-services-category-card__meta{
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 8px 18px rgba(0,0,0,0.14),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

.lm-services-archive__empty{
    padding: 28px;
    border-radius: 18px;
    background: #fafafa;
    text-align: center;
    color: #666;
}

@media (max-width: 1199px){
    .lm-services-category-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px){
    .lm-services-category-grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lm-services-archive__title{
        font-size: 28px;
    }

    .lm-services-category-card__inner{
        height: 116px;
        gap: 14px;
        padding: 12px;
    }

    .lm-services-category-card__media{
        flex: 0 0 82px;
        width: 82px;
        height: 82px;
    }

    .lm-services-category-card__image{
        width: 82px;
        height: 82px;
    }

    .lm-services-category-card__content{
        height: 82px;
        padding-right: 30px;
    }

    .lm-services-category-card__title{
        margin-bottom: 3px;
        font-size: 19px;
    }

    .lm-services-category-card__text{
        font-size: 12px;
        line-height: 1.28;
    }

    .lm-services-category-card__meta{
        top: 4px;
        right: 4px;
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
}

/* =========================================================
   LIDAMED — HOME SERVICES BLOCK
   Дубль блока категорий услуг для главной страницы
   ========================================================= */

.lm-home-services{
    padding: 34px 0 10px;
}

.lm-home-services__header{
    text-align: left;
    margin: 0 0 22px;
}

.lm-home-services__title{
    margin: 0;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.lm-home-services__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.lm-home-services__card{
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ========================================
   LIDAMED — HOME TRUST
======================================== */

.lm-home-trust{
    padding: 16px 0 20px;
}

.lm-home-trust__container{
    max-width: 1080px;
    margin: 0 auto;
}

.lm-home-trust__header{
    margin-bottom: 28px;
}

.lm-home-trust__header .lm-home-trust__title{
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    color: #2f3440;
    text-align: left;
}

.lm-home-trust__header .lm-home-trust__text{
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    color: #67707f;
    text-align: left;
}

.lm-home-trust__row{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.lm-home-trust__item{
    text-align: center;
}

.lm-home-trust__item .lm-home-trust__icon{
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    color: #6c7ddc;
}

.lm-home-trust__item .lm-home-trust__icon svg{
    display: block;
    width: 100%;
    height: 100%;
}

.lm-home-trust__item .lm-home-trust__title{
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    color: #2f3440;
}

.lm-home-trust__item .lm-home-trust__text{
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #6d7482;
}

@media (max-width: 991px){
    .lm-home-trust{
        padding: 8px 0 12px;
    }

    .lm-home-trust__header{
        margin-bottom: 22px;
    }

    .lm-home-trust__header .lm-home-trust__title{
        font-size: 28px;
    }

    .lm-home-trust__header .lm-home-trust__text{
        font-size: 16px;
    }

    .lm-home-trust__row{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }
}

@media (max-width: 575px){
    .lm-home-trust__header .lm-home-trust__title{
        font-size: 24px;
    }

    .lm-home-trust__header .lm-home-trust__text{
        font-size: 15px;
    }

    .lm-home-trust__item .lm-home-trust__icon{
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .lm-home-trust__item .lm-home-trust__title{
        font-size: 16px;
    }

    .lm-home-trust__item .lm-home-trust__text{
        font-size: 13px;
    }
}

.lm-home-services__card-inner{
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 16px;
    height: 124px;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    transition: transform .22s ease, box-shadow .22s ease;
    overflow: hidden;
}

.lm-home-services__card:hover .lm-home-services__card-inner{
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

/* =========================================================
   LIDAMED — HOME TRUST FINAL
   ========================================================= */

.lm-home-trust{
    width: 100%;
    padding: 26px 0 28px;
    background: #f7f9fc;
}

.lm-home-trust__container{
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.lm-home-trust__header{
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}

.lm-home-trust__header > .lm-home-trust__title{
    margin: 0;
    font-size: clamp(30px, 2.4vw, 38px);
    line-height: 1.08;
    font-weight: 700;
    color: #2f3440;
    text-align: left;
}

.lm-home-trust__header > .lm-home-trust__text{
    margin: 0;
    font-size: clamp(16px, 1.05vw, 19px);
    line-height: 1.55;
    font-weight: 400;
    color: #667182;
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.lm-home-trust__row{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.lm-home-trust__item{
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 20px 22px;
    border-radius: 16px;
    background: #edf2fa;
    border: 1px solid rgba(108, 125, 220, 0.14);
    text-align: left;
}

.lm-home-trust__item .lm-home-trust__icon{
    width: 54px;
    height: 54px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(108, 125, 220, 0.08);
    color: #6c7ddc;
}

.lm-home-trust__item .lm-home-trust__icon svg{
    display: block;
    width: 26px;
    height: 26px;
}

.lm-home-trust__item > .lm-home-trust__title{
    grid-column: 2;
    margin: 0 0 2px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #2f3440;
}

.lm-home-trust__item > .lm-home-trust__text{
    grid-column: 2;
    margin: 0;
    font-size: clamp(11px, 0.8vw, 14px);
    line-height: 1.45;
    color: #6c7485;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1199px){
    .lm-home-trust__container{
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 28px;
    }

    .lm-home-trust__item{
        padding: 18px 18px;
    }
}

@media (max-width: 991px){
    .lm-home-trust{
        padding: 22px 0 24px;
    }

    .lm-home-trust__container{
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lm-home-trust__header{
        gap: 10px;
        padding-top: 0;
    }
}

@media (max-width: 767px){
    .lm-home-trust__row{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .lm-home-trust__item{
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 14px;
        border-radius: 14px;
    }

    .lm-home-trust__item .lm-home-trust__icon{
        width: 48px;
        height: 48px;
    }

    .lm-home-trust__item .lm-home-trust__icon svg{
        width: 23px;
        height: 23px;
    }

    .lm-home-trust__item > .lm-home-trust__title{
        font-size: 16px;
    }
}

@media (max-width: 575px){
    .lm-home-trust{
        padding: 18px 0 20px;
    }

    .lm-home-trust__row{
        grid-template-columns: 1fr;
    }

    .lm-home-trust__header > .lm-home-trust__title{
        font-size: 26px;
    }

    .lm-home-trust__header > .lm-home-trust__text{
        font-size: 15px;
    }
}

.lm-home-services__media{
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    align-self: center;
}

.lm-home-services__image{
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 18px;
    background: #f2f2f2;
}

.lm-home-services__image--empty{
    background: #f2f2f2;
}

.lm-home-services__content{
    flex: 1 1 auto;
    min-width: 0;
    height: 96px;
    align-self: center;
    position: relative;
    padding-right: 30px;
}

.lm-home-services__title-text{
    display: block;
    margin: 0 0 4px;
    font-size: 22px;
    line-height: 1.16;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lm-home-services__text{
    margin: 0;
    font-size: 13px;
    line-height: 1.32;
    color: #666;
    overflow: hidden;
}

.lm-home-services__text--top{
    display: block;
}

.lm-home-services__text--bottom{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-height: 1.32em;
    margin-top: 1px;
    text-overflow: ellipsis;
}

.lm-home-services__meta{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(245, 245, 245, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.85);

    color: #444;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: center;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.10),
        inset 0 1px 0 rgba(255,255,255,0.75);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        border-color .22s ease;

    pointer-events: none;
}

.lm-home-services__card:hover .lm-home-services__meta{
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 8px 18px rgba(0,0,0,0.14),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

.lm-home-services__empty{
    padding: 28px;
    border-radius: 18px;
    background: #fafafa;
    text-align: center;
    color: #666;
}

@media (max-width: 1199px){
    .lm-home-services__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px){
    .lm-home-services{
        padding: 28px 0 4px;
    }

    .lm-home-services__header{
        margin-bottom: 18px;
    }

    .lm-home-services__title{
        font-size: 28px;
    }

    .lm-home-services__grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lm-home-services__card-inner{
        height: 116px;
        gap: 14px;
        padding: 12px;
    }

    .lm-home-services__media{
        flex: 0 0 82px;
        width: 82px;
        height: 82px;
    }

    .lm-home-services__image{
        width: 82px;
        height: 82px;
    }

    .lm-home-services__content{
        height: 82px;
        padding-right: 26px;
    }

    .lm-home-services__title-text{
        margin-bottom: 3px;
        font-size: 19px;
    }

    .lm-home-services__text{
        font-size: 12px;
        line-height: 1.28;
    }

    .lm-home-services__meta{
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
}

/* =========================================================
   LIDAMED — CATEGORY HERO
   Верхний экран страницы категории услуг
   ========================================================= */

.lm-category-hero{
    position: relative;
    margin: 0 0 36px;
    border-radius: 28px;
    overflow: hidden;
    background: #f4f4f4;
    min-height: 260px;
    box-shadow: 0 14px 36px rgba(0,0,0,0.06);
}

.lm-category-hero--no-image{
    min-height: auto;
    padding: 34px 38px;
    background: #fafafa;
}

.lm-category-hero__bg{
    position: absolute;
    inset: 0;
}

.lm-category-hero__bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lm-category-hero__overlay{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.46) 0%, rgba(0,0,0,0.22) 45%, rgba(0,0,0,0.10) 100%);
}

.lm-category-hero__content{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    padding: 34px 38px;
}

.lm-category-hero--no-image .lm-category-hero__content{
    min-height: auto;
    padding: 0;
}

.lm-category-hero__title{
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.lm-category-hero--no-image .lm-category-hero__title{
    color: #111;
}

.lm-category-hero__text{
    max-width: 760px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.92);
}

.lm-category-hero--no-image .lm-category-hero__text{
    color: #666;
}

@media (max-width: 767px){
    .lm-category-hero{
        margin-bottom: 26px;
        min-height: 220px;
        border-radius: 22px;
    }

    .lm-category-hero__content{
        min-height: 220px;
        padding: 24px 22px;
    }

    .lm-category-hero--no-image{
        padding: 24px 22px;
    }

    .lm-category-hero__title{
        font-size: 28px;
        margin-bottom: 10px;
    }

    .lm-category-hero__text{
        font-size: 14px;
        line-height: 1.55;
    }
}
/* =========================================================
   LIDAMED — SINGLE AKTSII FAQ
   Дожим FAQ внутри акций: воздух, плюсик, аккуратная тень
   ========================================================= */

.lm-faq-block--promo{
    margin-top: 50px;
}

.lm-faq-block__title{
    margin: 0 0 22px;
}

.lm-faq-accordion{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lm-faq-item{
    border: 1px solid #ececec;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.lm-faq-question{
    width: 100%;
    padding: 22px 24px;
    background: #fff;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.5;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.lm-faq-question__text{
    flex: 1 1 auto;
    display: block;
}

.lm-faq-question__icon{
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.lm-faq-question__icon::before,
.lm-faq-question__icon::after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #8f8f8f;
    transform: translate(-50%, -50%);
    transition: opacity .25s ease, transform .25s ease;
    border-radius: 2px;
}

.lm-faq-question__icon::before{
    width: 18px;
    height: 2px;
}

.lm-faq-question__icon::after{
    width: 2px;
    height: 18px;
}

.lm-faq-item.open .lm-faq-question__icon::after,
.lm-faq-item.is-open .lm-faq-question__icon::after{
    opacity: 0;
}

.lm-faq-answer{
    display: none;
    padding: 0 24px 24px;
    border-top: 0;
}

.lm-faq-item.open .lm-faq-answer,
.lm-faq-item.is-open .lm-faq-answer{
    display: block;
}

.lm-faq-answer__inner,
.lm-faq-answer{
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}

.lm-faq-answer__inner > *:last-child,
.lm-faq-answer > *:last-child{
    margin-bottom: 0;
}

@media (max-width: 767px){
    .lm-faq-question{
        padding: 18px 18px;
        font-size: 16px;
    }

    .lm-faq-answer{
        padding: 0 18px 18px;
    }
}


/* ========================================
   #FAQ — LIDAMED: UNIFIED FAQ FINAL
   Добавлено в конец поверх базового custom.css
   ======================================== */



/* Общий блок FAQ */
.lm-faq-block{
    margin-top: 44px;
}

.lm-faq-block h2,
.lm-faq-block__title{
    margin: 0 0 18px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f1f1f;
    letter-spacing: -0.02em;
}

/* Аккордеон */
.lm-faq-accordion{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Элемент */
.lm-faq-item{
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.lm-faq-item:hover{
    border-color: #dfdfdf;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.lm-faq-item.open{
    border-color: #dddddd;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

/* Кнопка вопроса */
.lm-faq-question{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 22px 24px;
    background: transparent;
    border: 0;
    outline: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: #1f1f1f;
}

.lm-faq-question:focus-visible{
    box-shadow: inset 0 0 0 2px rgba(31, 31, 31, 0.08);
    border-radius: 20px;
}

.lm-faq-question__text{
    flex: 1 1 auto;
    display: block;
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    color: #1f1f1f;
}

/* Плюсик */
.lm-faq-question__icon{
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

.lm-faq-question__icon::before,
.lm-faq-question__icon::after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #8b8b8b;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        background 0.22s ease;
}

.lm-faq-question__icon::before{
    width: 18px;
    height: 2px;
}

.lm-faq-question__icon::after{
    width: 2px;
    height: 18px;
}

.lm-faq-item:hover .lm-faq-question__icon::before,
.lm-faq-item:hover .lm-faq-question__icon::after,
.lm-faq-item.open .lm-faq-question__icon::before,
.lm-faq-item.open .lm-faq-question__icon::after{
    background: #4b4b4b;
}

.lm-faq-item.open .lm-faq-question__icon::after{
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0.35);
}

/* Ответ */
.lm-faq-answer{
    display: none;
    padding: 0 24px 24px;
    border-top: 1px solid #efefef;
    background: #ffffff;
}

.lm-faq-item.open .lm-faq-answer{
    display: block;
}

.lm-faq-answer__inner{
    padding-top: 18px;
    color: #474747;
    font-size: 16px;
    line-height: 1.75;
}

.lm-faq-answer__inner > *:first-child{
    margin-top: 0;
}

.lm-faq-answer__inner > *:last-child{
    margin-bottom: 0;
}

.lm-faq-answer__inner p{
    margin: 0 0 14px;
}

.lm-faq-answer__inner ul,
.lm-faq-answer__inner ol{
    margin: 0 0 14px 20px;
    padding: 0;
}

.lm-faq-answer__inner li{
    margin-bottom: 6px;
}

/* Небольшое выравнивание, если FAQ стоит сразу после контента */
.lm-single-entry__content + .lm-faq-block,
.lm-single-entry__attributes + .lm-faq-block{
    margin-top: 46px;
}

/* Мобильная адаптация */
@media (max-width: 767px){
    .lm-faq-block{
        margin-top: 34px;
    }

    .lm-faq-block h2,
.lm-faq-block__title{
        margin-bottom: 16px;
        font-size: 26px;
    }

    .lm-faq-accordion{
        gap: 12px;
    }

    .lm-faq-item{
        border-radius: 16px;
    }

    .lm-faq-question{
        padding: 18px 18px;
        gap: 14px;
    }

    .lm-faq-question__text{
        font-size: 16px;
        line-height: 1.45;
    }

    .lm-faq-answer{
        padding: 0 18px 18px;
    }

    .lm-faq-answer__inner{
        padding-top: 16px;
        font-size: 15px;
        line-height: 1.7;
    }
}




.lm-promo-single__content p:last-child,
.lm-single-promotion__content p:last-child,
.single-aktsii .lm-single-entry__content p:last-child{
  margin-bottom: 0;
}

.lm-promo-single__prices,
.lm-single-promotion__prices{
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.lm-promo-single__old,
.lm-single-promotion__old-price{
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.lm-promo-single__new,
.lm-single-promotion__new-price{
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  color: #111;
}

.lm-promo-single__disc,
.lm-single-promotion__discount{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2f2f2;
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

.lm-promo-single__time,
.lm-single-promotion__time{
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #666;
}

.lm-promo-single__btn,
.lm-single-promotion__btn,
.lm-single-promotion__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: opacity .2s ease, transform .2s ease;
}

.lm-promo-single__btn:hover,
.lm-single-promotion__btn:hover,
.lm-single-promotion__button:hover{
  opacity: .92;
  transform: translateY(-1px);
}




.lm-promo-single .lm-attr-block,
.lm-single-promotion .lm-attr-block,
.single-aktsii .lm-attr-block{
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}

.lm-promo-single .lm-attr-block:hover,
.lm-single-promotion .lm-attr-block:hover,
.single-aktsii .lm-attr-block:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}


/* ===== МОБИЛКА ===== */

@media (max-width: 767px){
  .lm-promo-single__title,
.lm-single-promotion__title,
.single-aktsii h1{
    font-size: 30px;
    margin-bottom: 18px;
  }

  .lm-promo-single__image-wrap,
.lm-single-promotion__image,
.single-aktsii .lm-single-entry__image{
    margin-bottom: 20px;
    border-radius: 18px;
  }

  .lm-promo-single__summary,
.lm-single-promotion__summary,
.single-aktsii .lm-single-entry__summary{
    padding: 18px 20px;
    border-radius: 18px;
    font-size: 16px;
    line-height: 1.6;
  }

  .lm-promo-single__content,
.lm-single-promotion__content,
.single-aktsii .lm-single-entry__content{
    font-size: 16px;
    line-height: 1.7;
  }

  .lm-promo-single__new,
.lm-single-promotion__new-price{
    font-size: 26px;
  }
}

/* === HEADER FINAL LIDAMED V4 === */

.lm-container{
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 28px;
}

/* общий header */

.lm-header{
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid rgba(224, 218, 223, 0.75);
    box-shadow: 0 6px 18px rgba(79, 61, 74, 0.04);
    z-index: 50;
}

/* desktop / tablet top */

.lm-header-top{
    padding: 18px 0 12px;
    background: #ffffff;
}

.lm-header-top__inner{
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(420px, 1.15fr) minmax(320px, 0.8fr);
    gap: 18px;
    align-items: center;
}

.lm-header-left{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.lm-header-logo{
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    max-width: 100%;
}

.lm-header-logo__image{
    display: block;
    width: auto;
    max-width: 100%;
    height: 112px;
    object-fit: contain;
}

.lm-header-center{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-align: center;
}

.lm-header-center__title{
    margin: 0 0 8px;
    color: #7f787d;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.lm-header-license{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(211, 205, 209, 0.9);
    background: linear-gradient(180deg, #ffffff 0%, #f5f2f4 100%);
    color: #8f888d;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.95) inset,
        0 6px 16px rgba(84, 64, 78, 0.06);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        color .22s ease;
}

.lm-header-license::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.52) 45%, rgba(255,255,255,0) 75%);
    transform: translateX(-140%);
    transition: transform .75s ease;
    pointer-events: none;
}

.lm-header-license:hover{
    transform: translateY(-2px);
    border-color: rgba(199, 191, 196, 1);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98) inset,
        0 12px 22px rgba(84, 64, 78, 0.08);
}

.lm-header-license:hover::after{
    transform: translateX(140%);
}

.lm-header-right{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
}

.lm-header-phone{
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
    margin-bottom: 8px;
}

.lm-header-phone__prefix{
    color: #8f8a90;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
}

.lm-header-phone__main{
    color: #726d72;
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.lm-header-work-wrap{
    width: 100%;
    max-width: 235px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-left: auto;
}

.lm-header-work{
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f3f1f2 0%, #ece8ea 100%);
    color: #686268;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow:
        0 1px 0 rgba(255,255,255,.9) inset,
        0 4px 12px rgba(59, 44, 55, .04);
}

.lm-header-days{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    width: 235px;
}

.lm-header-day{
    aspect-ratio: 1 / 1;
    min-height: unset;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: linear-gradient(180deg, #f4f1f2 0%, #ece8ea 100%);
    color: #8a848a;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.lm-header-day.is-current{
    background: linear-gradient(135deg, #c8e4c7 0%, #8fbe8d 100%);
    color: #ffffff;
    box-shadow:
        0 1px 0 rgba(255,255,255,.24) inset,
        0 8px 16px rgba(93, 147, 97, .16);
}

.lm-header-day.is-sunday-current{
    background: linear-gradient(135deg, #e7bcbb 0%, #d79a98 100%);
    color: #ffffff;
    box-shadow:
        0 1px 0 rgba(255,255,255,.24) inset,
        0 8px 16px rgba(157, 73, 67, .12);
}

/* desktop / tablet menu */

.lm-header-menu{
    position: relative;
    padding: 10px 0 12px;
    background: #ffffff;
    border-top: 1px solid rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(223, 214, 220, 0.65);
    z-index: 999;
}

.lm-header-menu.is-fixed{
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 18px rgba(81, 61, 75, .06);
}

.lm-header-menu-placeholder{
    height: 0;
}

.lm-header-menu__inner{
    display: flex;
    justify-content: center;
}

.lm-nav{
    display: flex;
    justify-content: center;
    width: 100%;
}

.lm-menu{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 14px 28px 13px;
    min-height: 64px;
    border: 1px solid rgba(224, 218, 222, 0.88);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfafb 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,.98) inset,
        0 6px 16px rgba(81, 61, 75, .04);
    overflow-x: auto;
    scrollbar-width: none;
}

.lm-menu::-webkit-scrollbar{
    display: none;
}

.lm-menu li{
    list-style: none;
    flex: 0 0 auto;
}

.lm-menu a{
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    text-decoration: none;
    color: #6e696e;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color .2s ease, transform .2s ease;
}

.lm-menu a::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    margin: auto;
    width: 0;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #beb9bd 0%, #9d989d 100%);
    box-shadow: 0 0 14px rgba(124, 117, 122, .16);
    transition: width .22s ease;
}

.lm-menu a:hover{
    color: #7f797f;
    transform: translateY(-1px);
}

.lm-menu a:hover::after{
    width: 58px;
}

.lm-menu li.current-menu-item > a,
.lm-menu li.current-menu-parent > a,
.lm-menu li.current_page_item > a,
.lm-menu li.current-page-ancestor > a{
    color: #7f797f;
}

.lm-menu li.current-menu-item > a::after,
.lm-menu li.current-menu-parent > a::after,
.lm-menu li.current_page_item > a::after,
.lm-menu li.current-page-ancestor > a::after{
    width: 58px;
}

/* mobile blocks hidden by default */

.lm-header-mobile-top,
.lm-mobile-nav-wrap{
    display: none;
}

/* breadcrumbs */

.lm-breadcrumbs{
    padding: 12px 0;
    font-size: 13px;
    color: #8b858b;
    background: #ffffff;
    border-bottom: 1px solid rgba(231, 222, 227, 0.8);
}

.lm-breadcrumbs a{
    color: #8d868b;
    text-decoration: none;
}

.lm-breadcrumbs a:hover{
    text-decoration: underline;
}

.lm-breadcrumbs span{
    color: #9d969d;
}

/* desktop smaller */

@media (max-width: 1360px){
    .lm-header-top__inner{
        grid-template-columns: minmax(240px, 1fr) minmax(360px, 1.05fr) minmax(300px, 0.9fr);
    }

    .lm-header-logo__image{
        height: 98px;
    }

    .lm-header-center__title{
        font-size: 14px;
    }

    .lm-header-phone__prefix{
        font-size: 17px;
    }

    .lm-header-phone__main{
        font-size: 29px;
    }

    .lm-menu{
        gap: 22px;
    }

    .lm-menu a{
        font-size: 15px;
    }
}


/* tablet */

@media (max-width: 1180px){
    .lm-header-top__inner{
        grid-template-columns: minmax(240px, 1fr) minmax(320px, 1fr);
        justify-items: stretch;
        align-items: center;
        gap: 16px;
    }

    .lm-header-right{
        display: none;
    }

    .lm-header-left{
        justify-content: flex-start;
    }

    .lm-header-center{
        align-items: center;
        text-align: center;
    }

    .lm-header-logo__image{
        height: 82px;
    }

    .lm-header-center__title{
        font-size: 13px;
        line-height: 1.3;
        white-space: normal;
    }

    .lm-header-license{
        min-height: 34px;
        font-size: 11px;
        padding: 0 14px;
    }

    .lm-header-menu__inner{
        justify-content: center;
    }

    .lm-menu{
        width: 100%;
        max-width: 100%;
        gap: 10px;
        padding: 10px 14px;
        min-height: 54px;
        border-radius: 18px;
    }

    .lm-menu a{
        font-size: 12px;
        letter-spacing: 0.01em;
    }

    .lm-menu a::after{
        bottom: -6px;
        height: 3px;
    }

    .lm-menu a:hover::after,
.lm-menu li.current-menu-item > a::after,
.lm-menu li.current-menu-parent > a::after,
.lm-menu li.current_page_item > a::after,
.lm-menu li.current-page-ancestor > a::after{
        width: 28px;
    }
}

@media (max-width: 980px) and (min-width: 768px){
    .lm-menu{
        gap: 8px;
        padding: 10px 10px;
        min-height: 50px;
    }

    .lm-menu a{
        font-size: 11px;
        letter-spacing: 0;
    }

    .lm-menu a:hover::after,
.lm-menu li.current-menu-item > a::after,
.lm-menu li.current-menu-parent > a::after,
.lm-menu li.current_page_item > a::after,
.lm-menu li.current-page-ancestor > a::after{
        width: 22px;
    }
}


@media (max-width: 782px){
    body.admin-bar .lm-header-menu.is-fixed{
        top: 46px !important;
    }
}

/* mobile */

@media (max-width: 767px){
    .lm-container{
        padding: 0 16px;
    }

    .lm-header-top,
.lm-header-menu,
.lm-header-menu-placeholder{
        display: none;
    }

.lm-header-mobile-top{
    display: block;
    background: #ffffff;
    padding: 12px 0 4px;
    border-bottom: 0;
}

    .lm-header-mobile-top__inner{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .lm-header-mobile-logo{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .lm-header-mobile-logo__image{
        display: block;
        height: 72px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

.lm-mobile-nav-wrap{
    display: block;
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);

    border-bottom: 0;
    box-shadow: 0 8px 16px rgba(81, 61, 75, .05);

    margin-top: -6px;
}

.lm-mobile-nav-wrap.is-fixed{
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

    body.admin-bar .lm-mobile-nav-wrap{
        top: 46px;
    }

.lm-mobile-nav-shell{
    display: flex;
    justify-content: center;
    padding: 4px 0 8px;
}

  .lm-mobile-trigger{
    position: relative;
    width: 100%;
    max-width: none;
        min-height: 54px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        border: 1px solid rgba(224, 218, 222, 0.88);
        border-radius: 18px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfafb 100%);
        box-shadow:
            0 1px 0 rgba(255,255,255,.98) inset,
            0 6px 16px rgba(81, 61, 75, .04);
        cursor: pointer;
        padding: 0;
    }

    .lm-mobile-trigger__line{
        position: absolute;
        width: 24px;
        height: 2px;
        border-radius: 999px;
        background: #6e696e;
        transition: transform .22s ease, opacity .22s ease, top .22s ease;
    }

    .lm-mobile-trigger__line:nth-child(1){
        top: 20px;
    }

    .lm-mobile-trigger__line:nth-child(2){
        top: 26px;
    }

    .lm-mobile-trigger__line:nth-child(3){
        top: 32px;
    }

    .lm-mobile-trigger.is-open .lm-mobile-trigger__line:nth-child(1){
        top: 26px;
        transform: rotate(45deg);
    }

    .lm-mobile-trigger.is-open .lm-mobile-trigger__line:nth-child(2){
        opacity: 0;
    }

    .lm-mobile-trigger.is-open .lm-mobile-trigger__line:nth-child(3){
        top: 26px;
        transform: rotate(-45deg);
    }

    .lm-mobile-panel{
        display: none;
        padding: 0 0 12px;
        background: rgba(255,255,255,0.98);
    }

    .lm-mobile-panel.is-open{
        display: block;
    }

    .lm-mobile-nav{
        display: block;
    }

    .lm-mobile-menu{
        list-style: none;
        margin: 0;
        padding: 0;
        border: 1px solid rgba(224, 218, 222, 0.88);
        border-radius: 18px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfafb 100%);
        box-shadow:
            0 1px 0 rgba(255,255,255,.98) inset,
            0 6px 16px rgba(81, 61, 75, .04);
        overflow: hidden;
    }

    .lm-mobile-menu li + li{
        border-top: 1px solid rgba(233, 227, 231, 0.9);
    }

    .lm-mobile-menu a{
        display: block;
        padding: 15px 18px;
        text-decoration: none;
        color: #6e696e;
        font-size: 14px;
        line-height: 1.2;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .lm-mobile-menu li.current-menu-item > a,
.lm-mobile-menu li.current-menu-parent > a,
.lm-mobile-menu li.current_page_item > a,
.lm-mobile-menu li.current-page-ancestor > a{
        color: #7f797f;
        background: #f7f4f6;
    }

    .lm-breadcrumbs{
        padding: 10px 0;
        font-size: 12px;
    }
}

/* === Воскресенье — выходной (в цвет воскресенья) === */
.lm-header-work.is-dayoff{
    background: linear-gradient(135deg, #e7bcbb 0%, #d79a98 100%);
    color: #ffffff;
}


/* =========================================================
   ЛИДАМЕД — СТАТЬЯ (single-articles.php)
   ========================================================= */

.single-article{
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 0 40px;
}

.single-article-title{
    margin: 0 0 24px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.single-article-image{
    margin-bottom: 26px;
    border-radius: 18px;
    overflow: hidden;
}

.single-article-image img{
    display: block;
    width: 100%;
    height: auto;
}

.single-article-preview{
    margin-bottom: 24px;
    padding: 18px 22px;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    background: #fafafa;
    font-size: 17px;
    line-height: 1.65;
    color: #444;
}

.single-article-content{
    font-size: 17px;
    line-height: 1.8;
    color: #222;
}

.single-article-content p{
    margin: 0 0 18px;
}

.single-article-content h2,
.single-article-content h3,
.single-article-content h4{
    margin: 28px 0 14px;
    line-height: 1.3;
    color: #111;
}

.single-article-content ul,
.single-article-content ol{
    margin: 0 0 18px 22px;
}

@media (max-width: 767px){
    .single-article{
        padding-bottom: 28px;
    }

    .single-article-title{
        font-size: 28px;
        margin-bottom: 18px;
    }

    .single-article-image{
        margin-bottom: 18px;
        border-radius: 14px;
    }

    .single-article-preview{
        margin-bottom: 18px;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 15px;
    }

    .single-article-content{
        font-size: 15px;
        line-height: 1.75;
    }
}

/* =========================================================
   ЛИДАМЕД — SINGLE ARTICLES
   Файл: single-articles.php
   ========================================================= */

.single-article{
    max-width: 920px;
    margin: 0 auto;
    padding: 8px 0 40px;
}

.single-article-header{
    margin-bottom: 26px;
}

.single-article-title{
    margin: 0 0 22px;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 700;
    color: #111;
}

.single-article-preview{
    padding: 18px 22px;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    color: #4e4e4e;
    font-size: 17px;
    line-height: 1.65;
}

.single-article-image{
    margin-bottom: 30px;
    border-radius: 22px;
    overflow: hidden;
}

.single-article-image img{
    display: block;
    width: 100%;
    height: auto;
}

.single-article-content{
    color: #222;
    font-size: 17px;
    line-height: 1.85;
}

.single-article-content p{
    margin: 0 0 18px;
}

.single-article-content h2,
.single-article-content h3,
.single-article-content h4{
    margin: 30px 0 14px;
    color: #111;
    line-height: 1.3;
}

.single-article-content ul,
.single-article-content ol{
    margin: 0 0 18px 24px;
}

.single-article-related{
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid #ececec;
}

.single-article-related-title{
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

.single-article-related-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.single-article-related-card{
    display: block;
    padding: 18px 20px;
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.single-article-related-card:hover{
    transform: translateY(-1px);
    border-color: #d8d8d8;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.single-article-related-card-title{
    display: block;
    color: #111;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

@media (max-width: 767px){
    .single-article{
        padding-bottom: 28px;
    }

    .single-article-title{
        margin-bottom: 18px;
        font-size: 30px;
    }

    .single-article-preview{
        padding: 14px 16px;
        border-radius: 14px;
        font-size: 15px;
    }

    .single-article-image{
        margin-bottom: 22px;
        border-radius: 16px;
    }

    .single-article-content{
        font-size: 15px;
        line-height: 1.75;
    }

    .single-article-related{
        margin-top: 34px;
        padding-top: 24px;
    }

    .single-article-related-title{
        margin-bottom: 14px;
        font-size: 21px;
    }

    .single-article-related-grid{
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .single-article-related-card{
        padding: 15px 16px;
        border-radius: 14px;
    }

    .single-article-related-card-title{
        font-size: 15px;
    }
}

/* =========================================================
   ЛИДАМЕД — SINGLE ARTICLES PREMIUM FIX
   ========================================================= */

.single-article-container{
    width: 100%;
    max-width: none;
    margin: 0;
}

.single-article{
    max-width: none;
    margin: 0;
}

/* Картинка по центру и крупная */
.single-article-image{
    margin: 30px auto;
    text-align: center;
}

.single-article-image img{
    width: 100%;
    max-width: 700px;
    border-radius: 18px;
}

/* Убираем визуальный мусор справа */
.single-article aside,
.single-article .acf-fields{
    display: none !important;
}

/* Контент ровный */
.single-article-content{
    margin-top: 20px;
}

/* Связанные блоки — делаем как карточки */
.single-article-related-grid{
    grid-template-columns: 1fr;
}

/* Карточки — премиум */
.single-article-related-card{
    padding: 20px 22px;
    border-radius: 18px;
    border: 1px solid #e8e8e8;
    background: #fff;
    transition: all 0.2s ease;
}

.single-article-related-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

/* Заголовки блоков */
.single-article-related-title{
    font-size: 22px;
    margin-bottom: 14px;
}

/* =========================================================
   ЛИДАМЕД — ARCHIVE ARTICLES
   Файл: archive-articles.php
   ========================================================= */

.articles-archive{
    padding: 6px 0 30px;
}

.articles-archive-header{
    margin-bottom: 26px;
}

.articles-filter{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.articles-filter-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #dddddd;
    border-radius: 999px;
    background: #fff;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    transition: all 0.2s ease;
}

.articles-filter-link:hover{
    border-color: #cfcfcf;
    background: #f8f8f8;
}

.articles-filter-link.is-active{
    background: #111;
    border-color: #111;
    color: #fff;
}

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

.article-card{
    display: flex;
    flex-direction: column;
    border: 1px solid #e7e7e7;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
}

.article-card-image{
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.article-card-image img,
.article-card-image .no-image{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.article-card-body{
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 18px 20px;
}

.article-card-category{
    line-height: 1;
}

.article-card-category a{
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #dddddd;
    border-radius: 999px;
    background: #fafafa;
    color: #555;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.article-card-title{
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.article-card-title a{
    color: #111;
    text-decoration: none;
}

.article-card-excerpt{
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.article-card-link{
    margin-top: auto;
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.articles-pagination{
    margin-top: 30px;
}

.articles-pagination .page-numbers{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    margin-right: 8px;
    padding: 0 12px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    color: #222;
    text-decoration: none;
}

.articles-pagination .current{
    background: #111;
    border-color: #111;
    color: #fff;
}

@media (max-width: 991px){
    .articles-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px){
    .articles-filter{
        gap: 8px;
    }

    .articles-filter-link{
        min-height: 34px;
        padding: 0 12px;
        font-size: 13px;
    }

    .articles-grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-card{
        border-radius: 18px;
    }

    .article-card-body{
        padding: 16px 16px 18px;
    }

    .article-card-title{
        font-size: 20px;
    }

    .article-card-excerpt{
        font-size: 14px;
        line-height: 1.65;
    }
}

/* =========================================================
   ЛИДАМЕД — BREADCRUMBS
   ========================================================= */

.lm-breadcrumbs{
    padding: 14px 0;
    font-size: 14px;
    color: #777;
}

.lm-breadcrumbs a{
    color: #555;
    text-decoration: none;
}

.lm-breadcrumbs a:hover{
    text-decoration: underline;
}

.lm-breadcrumbs span{
    color: #999;
}

/* ================================
   ЛИДАМЕД — КОНТАКТЫ / СЕТКА
   ================================ */

.lm-contacts-page{
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 20px;
}

.lm-contacts-eq-wrap{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
    width: 100%;
}

.lm-contacts-eq-wrap > div{
    display: flex;
}

.lm-bx-safe{
    width: 100%;
}

.lm-bx-card{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lm-bx-stack{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lm-messenger-wrap,
.lm-route-btn-wrap{
    margin-top: auto;
}

@media (max-width: 991px){
    .lm-contacts-eq-wrap{
        grid-template-columns: 1fr;
    }
}


/* ================================
   ЛИДАМЕД — КОНТАКТЫ / КАРТА JS
   ================================ */

.lm-contacts-map-wrap{
    margin-top: 32px;
    width: 100%;
}

.lm-contacts-map{
    width: 100%;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
}

/* =========================================================
   LIDAMED — CONTACTS PAGE / FINAL OVERRIDE
   ========================================================= */

body.page-template-page-contacts,
body.page-template-page-contacts-php,
body.page-template-default{
}

body.page-template-page-contacts #lm-contacts-root,
body.page-template-page-contacts-php #lm-contacts-root,
body.page-template-default #lm-contacts-root{
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 28px;
    box-sizing: border-box;
    background: #ffffff;
}

body.page-template-page-contacts #lm-contacts-root .lm-contacts-eq-wrap,
body.page-template-page-contacts-php #lm-contacts-root .lm-contacts-eq-wrap,
body.page-template-default #lm-contacts-root .lm-contacts-eq-wrap{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    align-items: stretch;
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
}

body.page-template-page-contacts #lm-contacts-root .lm-contacts-eq-wrap > div,
body.page-template-page-contacts-php #lm-contacts-root .lm-contacts-eq-wrap > div,
body.page-template-default #lm-contacts-root .lm-contacts-eq-wrap > div{
    display: flex;
    min-width: 0;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-safe,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-safe,
body.page-template-default #lm-contacts-root .lm-bx-safe{
    width: 100%;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-card,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-card,
body.page-template-default #lm-contacts-root .lm-bx-card{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%) !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 28px !important;
    padding: 30px !important;
    box-sizing: border-box;
    box-shadow: 0 14px 40px rgba(16,16,16,.06) !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-card-header,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-card-header,
body.page-template-default #lm-contacts-root .lm-bx-card-header{
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-icon,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-icon,
body.page-template-default #lm-contacts-root .lm-bx-icon{
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f6f6f6 0%, #e9e9e9 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 6px 18px rgba(30,30,30,.05);
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-icon svg,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-icon svg,
body.page-template-default #lm-contacts-root .lm-bx-icon svg{
    width: 29px;
    height: 29px;
    fill: none !important;
    stroke: #545962 !important;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-icon svg path[fill],
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-icon svg path[fill],
body.page-template-default #lm-contacts-root .lm-bx-icon svg path[fill]{
    fill: #545962 !important;
    stroke: none !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-card-title,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-card-title,
body.page-template-default #lm-contacts-root .lm-bx-card-title{
    margin: 0 0 6px;
    font-size: 31px;
    line-height: 1.12;
    font-weight: 700;
    color: #23272e !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-card-note,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-card-note,
body.page-template-default #lm-contacts-root .lm-bx-card-note{
    font-size: 15px;
    line-height: 1.5;
    color: #727780 !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-stack,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-stack,
body.page-template-default #lm-contacts-root .lm-bx-stack{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-box,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-box,
body.page-template-default #lm-contacts-root .lm-bx-box{
    border: 1px solid #ebebeb !important;
    border-radius: 20px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%) !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-label,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-label,
body.page-template-default #lm-contacts-root .lm-bx-label{
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #818791 !important;
    margin-bottom: 8px;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-main,
body.page-template-page-contacts #lm-contacts-root .lm-bx-address-line,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-main,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-address-line,
body.page-template-default #lm-contacts-root .lm-bx-main,
body.page-template-default #lm-contacts-root .lm-bx-address-line{
    font-size: 21px;
    line-height: 1.35;
    font-weight: 600;
    color: #25282d !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-main a,
body.page-template-page-contacts #lm-contacts-root .lm-bx-address-line a,
body.page-template-page-contacts #lm-contacts-root .lm-bx-box a,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-main a,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-address-line a,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-box a,
body.page-template-default #lm-contacts-root .lm-bx-main a,
body.page-template-default #lm-contacts-root .lm-bx-address-line a,
body.page-template-default #lm-contacts-root .lm-bx-box a{
    color: #25282d !important;
    text-decoration: none;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-phone,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-phone,
body.page-template-default #lm-contacts-root .lm-bx-phone{
    font-size: 28px !important;
    line-height: 1.2;
    font-weight: 700;
    color: #2b2f36 !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-sub,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-sub,
body.page-template-default #lm-contacts-root .lm-bx-sub{
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: #70757d !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-quicklist,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-quicklist,
body.page-template-default #lm-contacts-root .lm-bx-quicklist{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-quickrow,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-quickrow,
body.page-template-default #lm-contacts-root .lm-bx-quickrow{
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #ebebeb !important;
    border-radius: 18px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%) !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-quickicon,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-quickicon,
body.page-template-default #lm-contacts-root .lm-bx-quickicon{
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f6f6f6 0%, #e9e9e9 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-quickicon svg,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-quickicon svg,
body.page-template-default #lm-contacts-root .lm-bx-quickicon svg{
    width: 20px;
    height: 20px;
    fill: none !important;
    stroke: #545962 !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-quickicon svg path[fill],
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-quickicon svg path[fill],
body.page-template-default #lm-contacts-root .lm-bx-quickicon svg path[fill]{
    fill: #545962 !important;
    stroke: none !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-quicktext strong,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-quicktext strong,
body.page-template-default #lm-contacts-root .lm-bx-quicktext strong{
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1.3;
    color: #262a30 !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-quicktext span,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-quicktext span,
body.page-template-default #lm-contacts-root .lm-bx-quicktext span{
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #6f747c !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-messenger-wrap,
body.page-template-page-contacts #lm-contacts-root .lm-route-btn-wrap,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-wrap,
body.page-template-page-contacts-php #lm-contacts-root .lm-route-btn-wrap,
body.page-template-default #lm-contacts-root .lm-messenger-wrap,
body.page-template-default #lm-contacts-root .lm-route-btn-wrap{
    margin-top: 18px;
}

body.page-template-page-contacts #lm-contacts-root .lm-messenger-grid,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-grid,
body.page-template-default #lm-contacts-root .lm-messenger-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body.page-template-page-contacts #lm-contacts-root .lm-route-single,
body.page-template-page-contacts-php #lm-contacts-root .lm-route-single,
body.page-template-default #lm-contacts-root .lm-route-single{
    grid-template-columns: 1fr;
}

body.page-template-page-contacts #lm-contacts-root .lm-messenger-card,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-card,
body.page-template-default #lm-contacts-root .lm-messenger-card{
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 94px;
    padding: 18px 20px;
    border-radius: 22px;
    text-decoration: none;
    color: #ffffff !important;
    box-sizing: border-box;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    box-shadow: 0 14px 28px rgba(28,31,36,.14);
}

body.page-template-page-contacts #lm-contacts-root .lm-messenger-card:hover,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-card:hover,
body.page-template-default #lm-contacts-root .lm-messenger-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(28,31,36,.18);
    opacity: .99;
}

body.page-template-page-contacts #lm-contacts-root .lm-messenger-card.max,
body.page-template-page-contacts #lm-contacts-root .lm-messenger-card.whatsapp,
body.page-template-page-contacts #lm-contacts-root .lm-messenger-card.telegram,
body.page-template-page-contacts #lm-contacts-root .lm-messenger-card.route,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-card.max,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-card.whatsapp,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-card.telegram,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-card.route,
body.page-template-default #lm-contacts-root .lm-messenger-card.max,
body.page-template-default #lm-contacts-root .lm-messenger-card.whatsapp,
body.page-template-default #lm-contacts-root .lm-messenger-card.telegram,
body.page-template-default #lm-contacts-root .lm-messenger-card.route{
    background: linear-gradient(135deg, #7a838f 0%, #4a515b 58%, #2e3339 100%) !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-messenger-icon,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-icon,
body.page-template-default #lm-contacts-root .lm-messenger-icon{
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 18px;
    background: rgba(255,255,255,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

body.page-template-page-contacts #lm-contacts-root .lm-messenger-icon svg,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-icon svg,
body.page-template-default #lm-contacts-root .lm-messenger-icon svg{
    width: 28px;
    height: 28px;
    fill: #ffffff !important;
    stroke: none !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-max-icon,
body.page-template-page-contacts-php #lm-contacts-root .lm-max-icon,
body.page-template-default #lm-contacts-root .lm-max-icon{
    width: 30px !important;
    height: 30px !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-messenger-text,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-text,
body.page-template-default #lm-contacts-root .lm-messenger-text{
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.page-template-page-contacts #lm-contacts-root .lm-messenger-title,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-title,
body.page-template-default #lm-contacts-root .lm-messenger-title{
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    color: #ffffff !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-messenger-subtitle,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-subtitle,
body.page-template-default #lm-contacts-root .lm-messenger-subtitle{
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255,255,255,.84) !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-address-top,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-address-top,
body.page-template-default #lm-contacts-root .lm-bx-address-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-badge,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-badge,
body.page-template-default #lm-contacts-root .lm-bx-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f5f5f5 0%, #ebebeb 100%) !important;
    color: #4b4f57 !important;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-badge svg,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-badge svg,
body.page-template-default #lm-contacts-root .lm-bx-badge svg{
    width: 14px;
    height: 14px;
    fill: #4b4f57 !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-hours-line,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-hours-line,
body.page-template-default #lm-contacts-root .lm-bx-hours-line{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-hours-chip,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-hours-chip,
body.page-template-default #lm-contacts-root .lm-bx-hours-chip{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-hours-chip.status,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-hours-chip.status,
body.page-template-default #lm-contacts-root .lm-bx-hours-chip.status{
    background: #f1f2f3 !important;
    color: #535861 !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-hours-chip.status.is-open,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-hours-chip.status.is-open,
body.page-template-default #lm-contacts-root .lm-bx-hours-chip.status.is-open{
    background: #eef2ef !important;
    color: #35503b !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-hours-chip.status.is-closed,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-hours-chip.status.is-closed,
body.page-template-default #lm-contacts-root .lm-bx-hours-chip.status.is-closed{
    background: #f1f2f3 !important;
    color: #535861 !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-hours-status-dot,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-hours-status-dot,
body.page-template-default #lm-contacts-root .lm-bx-hours-status-dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 10px;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-hours-divider,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-hours-divider,
body.page-template-default #lm-contacts-root .lm-bx-hours-divider{
    width: 1px;
    height: 14px;
    background: rgba(0,0,0,.14);
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-hours-chip.schedule,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-hours-chip.schedule,
body.page-template-default #lm-contacts-root .lm-bx-hours-chip.schedule{
    background: #fafafa !important;
    color: #4a4f57 !important;
    border: 1px solid #ececec !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-week,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-week,
body.page-template-default #lm-contacts-root .lm-bx-week{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 14px;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-week-day,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-week-day,
body.page-template-default #lm-contacts-root .lm-bx-week-day{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 14px;
    background: #f3f4f5 !important;
    color: #4c5058 !important;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-week-day.is-current,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-week-day.is-current,
body.page-template-default #lm-contacts-root .lm-bx-week-day.is-current{
    background: linear-gradient(135deg, #7a838f 0%, #4a515b 58%, #2e3339 100%) !important;
    color: #ffffff !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-week-day.is-off,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-week-day.is-off,
body.page-template-default #lm-contacts-root .lm-bx-week-day.is-off{
    color: #8b919a !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-link,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-link,
body.page-template-default #lm-contacts-root .lm-bx-link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-link svg,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-link svg,
body.page-template-default #lm-contacts-root .lm-bx-link svg{
    width: 22px;
    height: 22px;
    fill: none !important;
    stroke: #4b4f57 !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-route-text,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-route-text,
body.page-template-default #lm-contacts-root .lm-bx-route-text{
    font-size: 15px;
    line-height: 1.7;
    color: #525760 !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-bx-route-text strong,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-route-text strong,
body.page-template-default #lm-contacts-root .lm-bx-route-text strong{
    color: #262a30 !important;
}

body.page-template-page-contacts #lm-contacts-root .lm-contacts-map-wrap,
body.page-template-page-contacts-php #lm-contacts-root .lm-contacts-map-wrap,
body.page-template-default #lm-contacts-root .lm-contacts-map-wrap{
    margin: 34px auto 0;
    width: 100%;
    max-width: 1460px;
}

body.page-template-page-contacts #lm-contacts-root .lm-contacts-map,
body.page-template-page-contacts-php #lm-contacts-root .lm-contacts-map,
body.page-template-default #lm-contacts-root .lm-contacts-map{
    width: 100%;
    height: 440px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(16,16,16,.06);
}

@media (max-width: 1180px){
    body.page-template-page-contacts #lm-contacts-root .lm-messenger-grid,
body.page-template-page-contacts-php #lm-contacts-root .lm-messenger-grid,
body.page-template-default #lm-contacts-root .lm-messenger-grid{
        grid-template-columns: 1fr;
    }

    body.page-template-page-contacts #lm-contacts-root .lm-route-single,
body.page-template-page-contacts-php #lm-contacts-root .lm-route-single,
body.page-template-default #lm-contacts-root .lm-route-single{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px){
    body.page-template-page-contacts #lm-contacts-root,
body.page-template-page-contacts-php #lm-contacts-root,
body.page-template-default #lm-contacts-root{
        padding: 28px 16px;
    }

    body.page-template-page-contacts #lm-contacts-root .lm-contacts-eq-wrap,
body.page-template-page-contacts-php #lm-contacts-root .lm-contacts-eq-wrap,
body.page-template-default #lm-contacts-root .lm-contacts-eq-wrap{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.page-template-page-contacts #lm-contacts-root .lm-bx-card,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-card,
body.page-template-default #lm-contacts-root .lm-bx-card{
        padding: 22px 20px !important;
    }

    body.page-template-page-contacts #lm-contacts-root .lm-bx-card-title,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-card-title,
body.page-template-default #lm-contacts-root .lm-bx-card-title{
        font-size: 26px;
    }

    body.page-template-page-contacts #lm-contacts-root .lm-bx-phone,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-phone,
body.page-template-default #lm-contacts-root .lm-bx-phone{
        font-size: 24px !important;
    }

    body.page-template-page-contacts #lm-contacts-root .lm-contacts-map,
body.page-template-page-contacts-php #lm-contacts-root .lm-contacts-map,
body.page-template-default #lm-contacts-root .lm-contacts-map{
        height: 360px;
    }
}

@media (max-width: 640px){
    body.page-template-page-contacts #lm-contacts-root .lm-bx-address-top,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-address-top,
body.page-template-default #lm-contacts-root .lm-bx-address-top{
        flex-direction: column;
        align-items: flex-start;
    }

    body.page-template-page-contacts #lm-contacts-root .lm-bx-week,
body.page-template-page-contacts-php #lm-contacts-root .lm-bx-week,
body.page-template-default #lm-contacts-root .lm-bx-week{
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================================================
   LIDAMED — PRICE PAGE (FINAL CLEAN)
   Файл: /public_html/wp-content/themes/lidamed/assets/css/custom.css
   Назначение: один чистый блок стилей для прайса без дублей и конфликтов
   ========================================================= */

.lidamed-price{
    max-width: 1080px;
    margin: 40px auto 60px;
}

.lm-price-page-title{
    margin: 0 0 18px;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.lm-price-top{
    margin: 0 0 28px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.lm-price-empty-state{
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    color: #666;
}

.price-category,
.price-subcategory{
    margin-bottom: 14px;
}

.price-category-title,
.price-subcategory-title{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.price-category-title:hover,
.price-subcategory-title:hover{
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0,0,0,.06);
    border-color: #dcdcdc;
}

.price-category-icon,
.price-subcategory-icon{
    flex: 0 0 auto;
    font-weight: 700;
}

.price-category-content,
.price-subcategory-content{
    display: none;
    padding-top: 10px;
}

.price-direct-items{
    margin-top: 4px;
}

.price-row{
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 10px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.price-row:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
    border-color: #e4e4e4;
}

.price-item{
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.price-item-top{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: baseline;
    column-gap: 14px;
    min-width: 0;
    width: 100%;
}

.price-item-title,
.price-item-price{
    font-size: 16px;
    line-height: 1.28;
    font-weight: 600;
    color: #111;
}

.price-item-title{
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-item-price{
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
}

.price-item-bottom{
    display: block;
    min-width: 0;
    font-size: 14px;
    line-height: 1.32;
    font-weight: 500;
    color: #7f7f7f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-item-meta-part{
    display: inline;
    white-space: inherit;
}

.price-item-meta-part + .price-item-meta-part::before{
    content: " · ";
    color: #b6b6b6;
}

@media (max-width: 767px){
    .lidamed-price{
        margin: 24px auto 36px;
    }

    .price-category-title,
.price-subcategory-title,
.price-row{
        padding: 12px 14px;
        border-radius: 12px;
    }

    .price-item-top{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .price-item-title,
.price-item-price{
        font-size: 15px;
        line-height: 1.3;
    }

    .price-item-price{
        white-space: normal;
        text-align: left;
    }

    .price-item-bottom{
        width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        font-size: 13px;
        line-height: 1.35;
    }
}

/* LIDAMED — ARTICLE INLINE MEDIA */
.single-article-content::after{
    content: "";
    display: block;
    clear: both;
}

.single-article-content .lm-article-inline-media{
    float: right;
    width: min(42%, 360px);
    margin: 10px 0 24px 28px;
}

.single-article-content .lm-article-inline-media--left{
    float: left;
    margin: 10px 28px 24px 0;
}

.single-article-content .lm-article-inline-media__image,
.single-article-content .lm-article-inline-media img{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(53, 35, 67, 0.12);
}

@media (max-width: 767px){
    .single-article-content .lm-article-inline-media,
.single-article-content .lm-article-inline-media--left{
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 18px 0;
    }
}


/* ===== ЛИДАМЕД — РЕКВИЗИТЫ FINAL ===== */

.lm-requisites{
    background: #fff;
    padding: 52px 0 64px;
}

.lm-requisites__container{
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.lm-requisites__top{
    margin-bottom: 28px;
}

.lm-requisites__title{
    margin: 0;
    font-size: 40px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #111;
}

.lm-requisites__grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    gap: 28px;
    align-items: stretch;
}

.lm-requisites__card{
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 28px 28px 26px;
    box-shadow: 0 10px 30px rgba(17,17,17,0.04);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.lm-requisites__card-title{
    margin: 0 0 22px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    color: #111;
}

.lm-row{
    margin-bottom: 15px;
}

.lm-row:last-child{
    margin-bottom: 0;
}

.lm-label{
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.35;
    color: #8e8e8e;
    font-weight: 400;
    letter-spacing: 0.15px;
}

.lm-value{
    position: relative;
    font-size: 15px;
    line-height: 1.58;
    color: #1a1a1a;
    font-weight: 400;
    font-style: normal;
    word-break: break-word;
}

.lm-value.copy{
    padding-right: 34px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lm-value.copy:hover{
    color: #000;
}

.lm-value.copy::after{
    content: "⧉";
    position: absolute;
    top: 1px;
    right: 0;
    font-size: 18px;
    line-height: 1;
    color: #9b9b9b;
    opacity: 0.92;
    transition: all 0.2s ease;
}

.lm-value.copy:hover::after{
    color: #111;
    transform: scale(1.08);
}

.copy-hint{
    position: absolute;
    right: 28px;
    top: 2px;
    font-size: 11px;
    line-height: 1;
    color: #2fa15f;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
}

.lm-value.copy.copied .copy-hint{
    opacity: 1;
    transform: translateY(0);
}

/* Кнопки */
.lm-requisites__service-list{
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.lm-requisites__service-item{
    padding: 14px;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    background: #fcfcfc;
}

.lm-requisites__service-btn{
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid #d8d8d8;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    background: #fff;
    color: #111;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
    box-shadow: 0 1px 2px rgba(17,17,17,0.02);
}

.lm-requisites__service-btn:hover{
    transform: translateY(-2px);
    background: #ffffff;
    border-color: #cfcfcf;
    box-shadow: 0 10px 24px rgba(17,17,17,0.08);
    color: #111;
}

.lm-requisites__service-btn:active{
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(17,17,17,0.05);
}

.lm-requisites__service-btn--dark{
    background: #fff;
    border: 1px solid #d8d8d8;
    color: #111;
}

.lm-requisites__service-btn--dark:hover{
    background: #fff;
    border-color: #cfcfcf;
    color: #111;
}

.lm-requisites__service-btn--light{
    background: #fff;
    border-color: #d8d8d8;
    color: #111;
}

.lm-requisites__service-btn--light:hover{
    background: #fff;
    border-color: #cfcfcf;
    color: #111;
}

.lm-requisites__service-text{
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.45;
    color: #6c6c6c;
}

.lm-requisites__bank-block{
    margin-top: auto;
    padding-top: 2px;
}

.lm-row-bank .lm-value{
    padding-right: 0;
}

.lm-bank-line{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.lm-bank-text{
    flex: 1 1 auto;
}

.lm-bank-logo{
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
}

.lm-bank-logo img{
    display: block;
    width: 130px;
    height: auto;
    max-height: 60px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.10));
}

.lm-requisites__meta-note{
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    line-height: 1.5;
    color: #6f6f6f;
}

.lm-copy-all-btn.is-copied{
    background: #111;
    color: #fff;
    border-color: #111;
}

@media (max-width: 991px){
    .lm-requisites{
        padding: 40px 0 52px;
    }

    .lm-requisites__grid{
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 767px){
    .lm-requisites__container{
        padding: 0 16px;
    }

    .lm-requisites__title{
        font-size: 30px;
    }

    .lm-requisites__card{
        padding: 22px 18px;
        border-radius: 16px;
    }

    .lm-requisites__card-title{
        font-size: 19px;
        margin-bottom: 18px;
    }

    .lm-value{
        font-size: 14px;
    }

    .lm-bank-logo img{
        width: 100px;
        max-height: 46px;
    }
}

@media print{
    @page{
        size: A4 portrait;
        margin: 10mm;
    }

    html,
body{
        background: #fff !important;
    }

    body *{
        visibility: hidden !important;
    }

    .lm-requisites,
.lm-requisites *{
        visibility: visible !important;
    }

    .lm-requisites{
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }

    .lm-requisites__container{
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .no-print{
        display: none !important;
    }

    .lm-requisites__top{
        margin-bottom: 12px !important;
    }

    .lm-requisites__title{
        font-size: 18pt !important;
    }

    .lm-requisites__grid{
        display: block !important;
    }

    .lm-requisites__card{
        box-shadow: none !important;
        border: 1px solid #d8d8d8 !important;
        border-radius: 0 !important;
        padding: 12px 14px !important;
        margin: 0 0 12px 0 !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .lm-requisites__card-title{
        margin-bottom: 12px !important;
        font-size: 13pt !important;
    }

    .lm-row{
        margin-bottom: 8px !important;
    }

    .lm-label{
        font-size: 9pt !important;
        color: #666 !important;
        margin-bottom: 2px !important;
    }

    .lm-value{
        font-size: 10pt !important;
        line-height: 1.35 !important;
        color: #111 !important;
    }

    .lm-value.copy{
        padding-right: 0 !important;
    }

    .lm-value.copy::after,
.copy-hint{
        display: none !important;
    }

    .lm-bank-logo{
        display: none !important;
    }

    .lm-requisites__meta-note{
        margin-top: 10px !important;
        padding-top: 10px !important;
        font-size: 9pt !important;
    }
}



/* =========================================================
   ЛИДАМЕД — БЛОК "СПЕЦИАЛИСТЫ" В СТРАНИЦЕ УСЛУГ
   Вывод специалистов после описания услуги
   Логика:
   - подтягиваются по услуге
   - подтягиваются по категории услуги
   - карточки в 2 колонки (desktop)
   ========================================================= */

.lm-specialists{
    margin-top: 32px;
}

.lm-specialists-title{
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 600;
}

.lm-specialists-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.lm-specialist-card{
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.lm-specialist-card__image-wrap{
    flex: 0 0 140px;
    max-width: 140px;
}

.lm-specialist-card__image{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.lm-specialist-card__image--empty{
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    border-radius: 16px;
}

.lm-specialist-card__body{
    flex: 1 1 auto;
    min-width: 0;
}

.lm-specialist-card__title{
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.lm-specialist-card__position{
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.7;
}

.lm-specialist-card__text{
    font-size: 14px;
    line-height: 1.5;
}

/* Адаптив */

@media (max-width: 991px){
    .lm-specialists-grid{
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ЛИДАМЕД — АРХИВ СТРАНИЦЫ "СПЕЦИАЛИСТЫ"
   Общий список специалистов (/specialists/)
   ========================================================= */

.lm-specialists-archive{
    padding: 40px 0;
}

.lm-page-title{
    margin-bottom: 32px;
    font-size: 32px;
    font-weight: 600;
}

.lm-specialists-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.lm-specialist-card{
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.lm-specialist-card__image-wrap{
    flex: 0 0 140px;
    max-width: 140px;
}

.lm-specialist-card__image{
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.lm-specialist-card__image--empty{
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    border-radius: 16px;
}

.lm-specialist-card__body{
    flex: 1;
}

.lm-specialist-card__title{
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.lm-specialist-card__position{
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.7;
}

.lm-specialist-card__text{
    font-size: 14px;
    line-height: 1.5;
}

/* Адаптив */

@media (max-width: 991px){
    .lm-specialists-grid{
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ЛИДАМЕД — СТРАНИЦА СПЕЦИАЛИСТА
   single-specialists.php
   Фото, ФИО, должность, описание, опыт, достижения, дипломы
   ========================================================= */

.lm-specialist-single{
    padding: 40px 0;
}

.lm-specialist-single__top{
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 36px;
}

.lm-specialist-single__photo{
    width: 100%;
}

.lm-specialist-single__image{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.lm-specialist-single__image--empty{
    width: 100%;
    aspect-ratio: 1 / 1.15;
    background: #f5f5f5;
    border-radius: 20px;
}

.lm-specialist-single__title{
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 600;
}

.lm-specialist-single__position{
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.4;
    opacity: 0.75;
}

.lm-specialist-single__lead{
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.65;
}

.lm-specialist-single__meta{
    font-size: 16px;
    line-height: 1.5;
}

.lm-specialist-single__meta-label{
    font-weight: 600;
}

.lm-specialist-single__section{
    margin-top: 34px;
}

.lm-specialist-single__section-title{
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
}

.lm-specialist-single__content,
.lm-specialist-single__achievements{
    font-size: 16px;
    line-height: 1.75;
}

.lm-specialist-single__diplomas{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.lm-specialist-single__diploma{
    display: block;
    text-decoration: none;
}

.lm-specialist-single__diploma img{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

@media (max-width: 991px){
    .lm-specialist-single__top{
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lm-specialist-single__photo{
        max-width: 420px;
    }

    .lm-specialist-single__diplomas{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px){
    .lm-specialist-single{
        padding: 28px 0;
    }

    .lm-specialist-single__title{
        font-size: 28px;
    }

    .lm-specialist-single__position{
        font-size: 16px;
    }

    .lm-specialist-single__lead,
.lm-specialist-single__content,
.lm-specialist-single__achievements,
.lm-specialist-single__meta{
        font-size: 15px;
    }

    .lm-specialist-single__diplomas{
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ЛИДАМЕД — АРХИВ СТРАНИЦЫ "КАБИНЕТЫ"
   /kabinety/
   Вариант как на старом сайте:
   - крупное фото сверху
   - светлая плашка снизу
   - название по центру
   - без кнопки
   ========================================================= */

.lm-cabinets-archive{
    padding: 40px 0 20px;
}

.lm-cabinets-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.lm-cabinet-card{
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;

    /* тонкий кант */
    border: 1px solid #e6e6e6;

    /* более читаемая тень */
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.lm-cabinet-card__body{
    padding: 22px 22px 24px;
    background: #fafafa;

    /* лёгкое отделение от картинки */
    border-top: 1px solid #eeeeee;

    text-align: center;
}

.lm-cabinet-card__image-wrap{
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.lm-cabinet-card__image{
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.lm-cabinet-card__image--empty{
    width: 100%;
    height: 320px;
    background: #f3f3f3;
}

.lm-cabinet-card__body{
    padding: 22px 22px 24px;
    background: #f8f8f8;
    text-align: center;
}

.lm-cabinet-card__title{
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    color: #2f2f2f;
}

.lm-cabinet-card__text{
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* Адаптив */

@media (max-width: 1199px){
    .lm-cabinet-card__image{
        height: 280px;
    }

    .lm-cabinet-card__image--empty{
        height: 280px;
    }

    .lm-cabinet-card__title{
        font-size: 20px;
    }
}

@media (max-width: 991px){
    .lm-cabinets-grid{
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lm-cabinet-card__image{
        height: 300px;
    }

    .lm-cabinet-card__image--empty{
        height: 300px;
    }
}

@media (max-width: 767px){
    .lm-cabinets-archive{
        padding: 28px 0 10px;
    }

    .lm-cabinet-card{
        border-radius: 18px;
    }

    .lm-cabinet-card__image{
        height: 240px;
    }

    .lm-cabinet-card__image--empty{
        height: 240px;
    }

    .lm-cabinet-card__body{
        padding: 18px 16px 20px;
    }

    .lm-cabinet-card__title{
        font-size: 18px;
    }

    .lm-cabinet-card__text{
        font-size: 14px;
    }
}

/* =========================================================
   ЛИДАМЕД — СВЕТОВОЙ ПЕРЕЛИВ НА КАРТОЧКАХ КАБИНЕТОВ
   Эффект: мягкий диагональный блик по фото при наведении
   ========================================================= */

.lm-cabinet-card__image-wrap{
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.lm-cabinet-card__image-wrap::after{
    content: "";
    position: absolute;
    top: -20%;
    left: -60%;
    width: 28%;
    height: 160%;
    pointer-events: none;

    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 35%,
        rgba(255, 255, 255, 0.35) 48%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.35) 52%,
        rgba(255, 255, 255, 0.05) 65%,
        rgba(255, 255, 255, 0) 100%
    );

    transform: rotate(18deg);
    opacity: 0;
}

.lm-cabinet-card:hover .lm-cabinet-card__image-wrap::after{
    opacity: 1;
    animation: lmCabinetShine 1.15s ease forwards;
}

@keyframes lmCabinetShine{
    0% {
        left: -60%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}

.lm-cabinet-card__image{
    transition: transform 0.4s ease;
}

.lm-cabinet-card:hover .lm-cabinet-card__image{
    transform: scale(1.02);
}




/* =========================================================
   1. ОБЩИЙ КАРКАС СТРАНИЦЫ С ЛЕВЫМ МЕНЮ
   ========================================================= */
.lm-single-layout{
    display:flex;
    align-items:flex-start;
    gap:32px;
}

.lm-single-sidebar{
    flex:0 0 320px;
    width:320px;
    position:sticky;
    top:140px;
    z-index:5;
}

.lm-single-main{
    min-width:0;
    flex:1 1 auto;
}


/* =========================================================
   2. ОБОЛОЧКА МЕНЮ
   ========================================================= */
.lm-sidebar-box{
    background:linear-gradient(180deg,#fffdfd 0%,#f8f3f5 100%);
    border:1px solid #eadfe4;
    border-radius:24px;
    padding:18px;
    box-shadow:0 14px 34px rgba(129,101,118,.10);
    overflow:hidden;
}

.lm-sidebar-groups{
    display:flex;
    flex-direction:column;
    gap:8px;
}


/* =========================================================
   3. ВЕРХНИЕ ОСНОВНЫЕ ПУНКТЫ МЕНЮ
   ========================================================= */
.lm-sidebar-group{
    border-top:1px solid rgba(162,143,154,.16);
    padding-top:8px;
}

.lm-sidebar-group:first-child{
    border-top:0;
    padding-top:0;
}

.lm-sidebar-group__title{
    display:flex;
    align-items:center;
    min-height:46px;
    width:100%;
    padding:12px 14px;
    border-radius:16px;
    text-decoration:none;
    font-size:15px;
    line-height:1.35;
    font-weight:700;
    color:#4a4247;
    background:transparent;
    box-sizing:border-box;
    transition:
        background .22s ease,
        color .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}

.lm-sidebar-group__title:hover{
    background:linear-gradient(180deg,#faf4f6 0%,#f2e8ec 100%);
    color:#2f2a2d;
    transform:translateX(2px);
}

.lm-sidebar-group__title.is-current{
    color:#ffffff;
    background:linear-gradient(135deg,#b9a6b1 0%,#9f8b97 52%,#7f6d78 100%);
    box-shadow:0 12px 24px rgba(129,101,118,.18);
}


/* =========================================================
   4. ВЛОЖЕННЫЕ БЛОКИ / РАСКРЫТЫЕ ВЕТКИ
   ========================================================= */
.lm-sidebar-group__items{
    display:flex;
    flex-direction:column;
    gap:6px;
    margin-top:8px;
    padding-left:14px;
    position:relative;
}

.lm-sidebar-group__items::before{
    content:"";
    position:absolute;
    left:5px;
    top:4px;
    bottom:4px;
    width:1px;
    background:linear-gradient(180deg,rgba(173,159,168,.10) 0%, rgba(173,159,168,.28) 50%, rgba(173,159,168,.10) 100%);
    border-radius:999px;
}


/* =========================================================
   5. ВЛОЖЕННЫЕ ССЫЛКИ: КАТЕГОРИИ / ЭЛЕМЕНТЫ
   ========================================================= */
.lm-sidebar-link{
    display:block;
    width:100%;
    padding:9px 14px;
    border-radius:14px;
    text-decoration:none;
    font-size:14px;
    line-height:1.4;
    font-weight:500;
    color:#7f7179;
    background:transparent;
    box-sizing:border-box;
    transition:
        background .22s ease,
        color .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}

.lm-sidebar-link:hover{
    background:linear-gradient(180deg,#faf4f6 0%,#f3eaee 100%);
    color:#433b40;
    transform:translateX(2px);
}

.lm-sidebar-link--category{
    font-weight:600;
    color:#5d5258;
}

.lm-sidebar-link.is-current{
    color:#ffffff;
    font-weight:700;
    background:linear-gradient(135deg,#c7b7bf 0%,#ae99a5 52%,#917d88 100%);
    box-shadow:0 10px 22px rgba(129,101,118,.14);
    padding-left:16px;
    padding-right:14px;
}


/* =========================================================
   6. ДОПОЛНИТЕЛЬНАЯ ВИЗУАЛЬНАЯ ПОЛИРОВКА
   ========================================================= */
.lm-sidebar-group.is-open > .lm-sidebar-group__title{
    box-shadow:inset 0 0 0 1px rgba(162,143,154,.10);
}

.lm-sidebar-group.is-open > .lm-sidebar-group__title:not(.is-current){
    background:linear-gradient(180deg,#fbf6f8 0%,#f4ecef 100%);
    color:#3f373c;
}


/* =========================================================
   7. АДАПТИВ ДЛЯ ПЛАНШЕТОВ И МОБИЛЬНЫХ
   ========================================================= */
@media (max-width: 991px){
    .lm-single-layout{
        flex-direction:column;
        gap:18px;
    }

    .lm-single-sidebar{
        position:static;
        width:100%;
        flex:0 0 auto;
        top:auto;
    }

    .lm-sidebar-box{
        padding:16px;
        border-radius:22px;
    }

    .lm-sidebar-group__title{
        min-height:44px;
        padding:11px 13px;
    }

    .lm-sidebar-group__items{
        padding-left:12px;
    }
}

@media (max-width: 767px){
    .lm-sidebar-box{
        border-radius:20px;
        padding:14px;
    }

    .lm-sidebar-group__title{
        font-size:14px;
        line-height:1.35;
        border-radius:14px;
    }

    .lm-sidebar-link{
        font-size:13px;
        line-height:1.35;
        border-radius:12px;
        padding:8px 10px;
    }

    .lm-sidebar-link.is-current{
        padding-left:12px;
        padding-right:10px;
    }

    .lm-sidebar-group__items{
        gap:5px;
        margin-top:7px;
    }
}

/* =========================================================
   ЛИДАМЕД — СКРЫТЬ ЛЕВОЕ МЕНЮ НА ПЛАНШЕТЕ И МОБИЛЬНОМ
   ========================================================= */
@media (max-width: 991px){
    .lm-single-sidebar{
        display:none !important;
    }

    .lm-single-layout{
        display:block !important;
    }

    .lm-single-main{
        width:100% !important;
        max-width:100% !important;
    }
}

/* =========================================================
   ЛИДАМЕД — WIDTH FIX (ТОЛЬКО ШИРИНА, 340)
   ========================================================= */

@media (min-width: 992px){

  /* сам блок меню */
  .lm-sidebar-box{
    width:340px !important;
    min-width:340px !important;
    max-width:340px !important;
  }

  /* колонка, в которой лежит меню */
  .lm-single-sidebar{
    width:340px !important;
    min-width:340px !important;
    max-width:340px !important;
    flex:0 0 340px !important;
  }

  /* иногда тема режет через родителя */
  .lm-single-layout > aside,
.lm-single-layout > .lm-single-sidebar{
    width:340px !important;
    min-width:340px !important;
    max-width:340px !important;
    flex:0 0 340px !important;
  }
}

/* =========================================================
   ЛИДАМЕД — FONT SIZE FIX (ТОЛЬКО РАЗМЕРЫ)
   ========================================================= */

@media (min-width: 992px){

  /* === 1 уровень (верхние плашки) — 20px === */
  .lm-sidebar-box .lm-sidebar-group__title{
    font-size:20px !important;
    line-height:1.2 !important;
  }

  /* === 2 уровень (категории) — 17px === */
  .lm-sidebar-box .lm-sidebar-link.lm-sidebar-link--category{
    font-size:17px !important;
    line-height:1.25 !important;
  }

  /* === 3 уровень (элементы / страницы) — 12px === */
  .lm-sidebar-box .lm-sidebar-group__items .lm-sidebar-link{
    font-size:12px !important;
    line-height:1.3 !important;
  }
}

/* =========================================================
   ЛИДАМЕД — H1 ВЫШЕ ХЛЕБНЫХ КРОШЕК
   Премиальный порядок:
   сначала заголовок страницы, ниже хлебные крошки
   ========================================================= */

.lm-breadcrumbs .lm-page-title{
    margin: 0 0 8px;
}

.lm-breadcrumbs__nav{
    font-size: 13px;
    line-height: 1.5;
    color: #9a9a9a;
}

.lm-breadcrumbs__nav a{
    color: inherit;
    text-decoration: none;
}

.lm-breadcrumbs__nav a:hover{
    text-decoration: underline;
}

/* Скрываем H1 внутри контента */
.entry-content h1,
.lm-content h1,
.site-main h1{
    display: none;
}

/* =========================================
   ЛИДАМЕД — СТРАНИЦА РЕКВИЗИТОВ (ФИНАЛ)
   Стиль:
   - двухколоночная структура
   - QR-код в правом блоке (центр)
   - кнопки как в legal
   - выравнивание под премиум UI
========================================= */

.lm-card-grid{
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
}

.lm-row{
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.lm-bank-logo{
    text-align: right;
    margin-bottom: 10px;
}

.lm-bank-logo img{
    height: 28px;
}

.lm-qr-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.lm-qr-wrap img{
    width: 160px;
    height: 160px;
}

.lm-bottom{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 12px;
    color: #777;
}

/* =========================================
   ЛИДАМЕД — ПЕЧАТЬ РЕКВИЗИТОВ (1 ЛИСТ A4)
   финал:
   - QR не печатается
   - строка "Информация предназначена..." не печатается
   - строка "Сокращенное наименование / ООО «ЛИДАМЕД»" не печатается
   - строка "Реквизиты актуальны на дату" остается
   - весь блок ужимается под 1 лист A4
========================================= */

@page{
    size: A4;
    margin: 8mm;
}

@media print{

 @media print{

    html,
body{
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    /* скрываем строку "Сокращённое наименование" только в печати */
    .lm-requisites__col--main .lm-requisites__rows > .lm-req-row:nth-child(2),
.lm-requisites__col--main .lm-req-row:nth-child(2){
        display: none !important;
    }

}

    /* скрываем лишнее вокруг */
    header,
.lm-header,
.lm-footer,
.lm-sidebar,
.lm-breadcrumbs,
.lm-page-title,
.lm-requisites__bank-qr-area,
.lm-requisites__bank-qr,
.lm-qr-wrap,
.lm-qr,
.lm-requisites-footer-note--left,
.lm-requisites__footer-note--left{
        display: none !important;
    }

    /* базовый контейнер */
    .lm-requisites__card,
.lm-requisites-card,
.lm-card{
        box-shadow: none !important;
        border-radius: 0 !important;
        border: 0 !important;
        padding: 12px 14px !important;
        margin: 0 !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    /* сетка */
    .lm-requisites__grid,
.lm-card-grid,
.lm-requisites__cols{
        gap: 12px !important;
        margin: 0 !important;
    }

    /* строки */
    .lm-requisites__row,
.lm-requisites-row,
.lm-row{
        padding: 2px 0 !important;
        margin: 0 !important;
        min-height: auto !important;
        font-size: 12px !important;
        line-height: 1.18 !important;
    }

    /* подписи слева */
    .lm-requisites__row-label,
.lm-requisites-label,
.lm-row > div:first-child{
        font-size: 10px !important;
        line-height: 1.15 !important;
    }

    /* значения справа */
    .lm-requisites__row-value,
.lm-requisites-value,
.lm-row > div:last-child{
        font-size: 12px !important;
        line-height: 1.18 !important;
    }

    /* ВАЖНО: скрываем строку "Сокращенное наименование" */
    .lm-left > .lm-row:nth-of-type(2),
.lm-left .lm-requisites__row:nth-of-type(2),
.lm-left .lm-requisites-row:nth-of-type(2),
.lm-requisites__col--main > .lm-requisites__row:nth-of-type(2),
.lm-requisites__col--left > .lm-requisites__row:nth-of-type(2),
.lm-requisites__main > .lm-requisites__row:nth-of-type(2){
        display: none !important;
    }

    /* банк поджимаем */
    .lm-requisites__bank-logo,
.lm-bank-logo{
        margin-bottom: 2px !important;
    }

    .lm-requisites__bank-logo img,
.lm-bank-logo img,
.lm-sber-logo{
        max-height: 20px !important;
        width: auto !important;
    }

    .lm-requisites__bank .lm-requisites__row,
.lm-right .lm-row{
        padding: 1px 0 !important;
        line-height: 1.12 !important;
    }

    /* убираем лишний воздух между левым и правым блоком */
    .lm-requisites__col + .lm-requisites__col,
.lm-left + .lm-right{
        margin-top: -8px !important;
    }

    /* кнопки не печатаем */
    .lm-requisites__actions,
.lm-card-actions,
.lm-requisites__buttons{
        display: none !important;
    }

    /* низ оставляем только справа */
    .lm-requisites_footer,
.lm-requisites__footer,
.lm-bottom{
        margin-top: 4px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: flex-end !important;
        gap: 0 !important;
    }

    .lm-requisites-footer-note--right,
.lm-requisites__footer-note--right,
.lm-bottom-right{
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
        white-space: nowrap !important;
        font-size: 10px !important;
        line-height: 1.12 !important;
    }

    .lm-bottom-left{
        display: none !important;
    }
}

/* =========================================================
   LIDAMED — DESKTOP GLOBAL SCALE
   Визуально как zoom браузера 110%
   ========================================================= */

@media (min-width: 992px){
    body{
        zoom: 1.12;
    }
}

/* =========================================================
   LIDAMED — Главная страница — HERO (ФИНАЛ БЕЗ КОНФЛИКТОВ)
   ========================================================= */

.lm-home-hero{
    padding: 36px 0;
    background: #faf9f7;
    border-radius: 20px;
}

.lm-home-hero__wrap{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

/* ЛЕВАЯ КОЛОНКА */
.lm-home-hero__left-part,
.lm-home-hero__content{
    flex: 1 1 auto;
    min-width: 0;
}

.lm-home-hero__title{
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.45;
    text-align: center;
}

.lm-home-hero__badges{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.lm-home-hero__badge{
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    color: #333;
    text-align: center;
    font-size: 13px;
    line-height: 1.25;
    box-sizing: border-box;
}

/* ПРАВАЯ КОЛОНКА */
.lm-home-hero__visual{
    flex: 0 0 250px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding-top: 0;
    align-self: flex-start;
}

.lm-home-hero__image{
    width: 100%;
    height: 96px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
}

.lm-home-hero__image img{
    display: block;
    width: auto;
    max-width: 235px;
    max-height: 96px;
    height: auto;
    object-fit: contain;
    transform: translateY(2px);
}

.lm-home-hero__button{
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
}

/* =========================================================
   LIDAMED — Главная страница — HERO (АДАПТИВ)
   ========================================================= */

@media (max-width: 1200px){
    .lm-home-hero__wrap{
        flex-direction: column;
        gap: 16px;
    }

    .lm-home-hero__title{
        text-align: left;
    }

    .lm-home-hero__visual{
        width: 100%;
        flex: none;
        align-items: flex-start;
    }

    .lm-home-hero__image{
        height: auto;
        justify-content: flex-start;
    }

    .lm-home-hero__image img{
        max-width: 220px;
        max-height: none;
        transform: none;
    }

    .lm-home-hero__button{
        max-width: 280px;
    }
}

@media (max-width: 767px){
    .lm-home-hero{
        padding: 28px 0;
        border-radius: 16px;
    }

    .lm-home-hero__title{
        font-size: 18px;
        line-height: 1.45;
    }

    .lm-home-hero__badges{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .lm-home-hero__badge,
.lm-home-hero__button{
        min-height: 40px;
        font-size: 12px;
    }

    .lm-home-hero__button{
        width: 100%;
        max-width: 260px;
    }
}

/* =========================================================
   LIDAMED — УСЛУГИ: ТОЧЕЧНЫЙ PREMIUM HOVER (под реальную верстку)
   ========================================================= */

/* ВНЕШНЯЯ ССЫЛКА (контейнер) */
.lm-home-services__card{
    display: block;
    position: relative;
    text-decoration: none;
}

/* ВНУТРЕННЯЯ КАРТОЧКА */
.lm-home-services__card-inner{
    position: relative;
    overflow: hidden;
    border-radius: 18px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
    
    box-shadow: 0 8px 22px rgba(20, 28, 38, 0.04);
}

/* HOVER — ВОТ ТУТ БУДЕТ ВИДНО */
.lm-home-services__card:hover .lm-home-services__card-inner{
    transform: translateY(-10px);
    box-shadow:
        0 24px 48px rgba(20, 28, 38, 0.12),
        0 10px 20px rgba(20, 28, 38, 0.06);
}

/* -----------------------------------------
   КАРТИНКА (мягкое оживление)
----------------------------------------- */

.lm-home-services__card-inner img{
    transition: transform 0.55s ease;
}

.lm-home-services__card:hover img{
    transform: scale(1.04);
}

/* -----------------------------------------
   SHINE — теперь точно будет видно
----------------------------------------- */

.lm-home-services__card-inner::after{
    content: "";
    position: absolute;
    top: -30%;
    left: -140%;
    width: 60%;
    height: 160%;
    
    background: linear-gradient(
        115deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.00) 30%,
        rgba(255,255,255,0.25) 48%,
        rgba(255,255,255,0.45) 50%,
        rgba(255,255,255,0.15) 52%,
        rgba(255,255,255,0) 70%
    );

    transform: skewX(-18deg);
    opacity: 0;
    pointer-events: none;
}

/* АНИМАЦИЯ БЛИКА */
.lm-home-services__card:hover .lm-home-services__card-inner::after{
    opacity: 1;
    animation: lmServiceShine 0.9s ease forwards;
}

@keyframes lmServiceShine{
    0% {
        left: -140%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        left: 160%;
        opacity: 0;
    }
}

/* -----------------------------------------
   МОБИЛКА — спокойнее
----------------------------------------- */

@media (max-width: 991px){

    .lm-home-services__card:hover .lm-home-services__card-inner{
        transform: translateY(-5px);
        box-shadow: 0 14px 28px rgba(20, 28, 38, 0.08);
    }

    .lm-home-services__card:hover img{
        transform: scale(1.02);
    }
}


/* =========================================================
   LIDAMED — HOME SERVICES + HOME TRUST FIX FINAL
   Восстановление карточек услуг и финальный дожим блока доверия
   ========================================================= */

/* ------------------------------
   1. ВОССТАНОВЛЕНИЕ БЛОКА УСЛУГ
   ------------------------------ */

.lm-home-services{
    padding: 34px 0 10px;
}

.lm-home-services__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.lm-home-services__card{
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.lm-home-services__card-inner{
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 16px;
    height: 124px;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.lm-home-services__card:hover .lm-home-services__card-inner{
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(20, 28, 38, 0.10);
}

.lm-home-services__card-inner::after{
    content: "";
    position: absolute;
    top: -30%;
    left: -140%;
    width: 60%;
    height: 160%;
    background: linear-gradient(
        115deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.00) 30%,
        rgba(255,255,255,0.25) 48%,
        rgba(255,255,255,0.42) 50%,
        rgba(255,255,255,0.12) 52%,
        rgba(255,255,255,0) 70%
    );
    transform: skewX(-18deg);
    opacity: 0;
    pointer-events: none;
}

.lm-home-services__card:hover .lm-home-services__card-inner::after{
    opacity: 1;
    animation: lmServiceShine 0.9s ease forwards;
}

.lm-home-services__card:hover .lm-home-services__image{
    transform: scale(1.04);
}

.lm-home-services__media{
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    align-self: center;
}

.lm-home-services__image{
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 18px;
    background: #f2f2f2;
    transition: transform 0.55s ease;
}

.lm-home-services__image--empty{
    background: #f2f2f2;
}

.lm-home-services__content{
    flex: 1 1 auto;
    min-width: 0;
    height: 96px;
    align-self: center;
    position: relative;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lm-home-services__title-text{
    display: block;
    margin: 0 0 4px;
    font-size: 22px;
    line-height: 1.16;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lm-home-services__text{
    margin: 0;
    font-size: 13px;
    line-height: 1.32;
    color: #666;
    overflow: hidden;
    white-space: normal;
}

.lm-home-services__text--top{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lm-home-services__text--bottom{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-height: 1.32em;
    margin-top: 1px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.lm-home-services__meta{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 245, 245, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #444;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.10),
        inset 0 1px 0 rgba(255,255,255,0.75);
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
    pointer-events: none;
}

.lm-home-services__card:hover .lm-home-services__meta{
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 8px 18px rgba(0,0,0,0.14),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

/* ------------------------------
   2. ФИНАЛЬНЫЙ БЛОК ПОЧЕМУ ВЫБИРАЮТ ЛИДАМЕД
   ------------------------------ */

.lm-home-trust{
    width: 100%;
    padding: 28px 0 30px;
    background: #f7f6f3;
}

.lm-home-trust__container{
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.lm-home-trust__header{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.lm-home-trust__header > .lm-home-trust__title{
    margin: 0;
    font-size: clamp(24px, 1.8vw, 30px);
    line-height: 1.05;
    font-weight: 700;
    color: #2f312f;
    text-align: left;
}

.lm-home-trust__header > .lm-home-trust__text{
    margin: 0;
    max-width: 250px;
    font-size: clamp(13px, 0.85vw, 15px);
    line-height: 1.45;
    font-weight: 400;
    color: #6e716f;
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.lm-home-trust__row{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.lm-home-trust__item{
    min-width: 0;
    padding: 16px 16px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(46,49,48,0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lm-home-trust__item .lm-home-trust__icon{
    width: 46px;
    height: 46px;
    margin: 0 auto 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(46,49,48,0.05);
    color: #7f857a;
    flex: 0 0 46px;
}

.lm-home-trust__item .lm-home-trust__icon svg{
    display: block;
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
}

.lm-home-trust__item > .lm-home-trust__title{
    margin: 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(16px, 1vw, 18px);
    line-height: 1.18;
    font-weight: 600;
    color: #2f312f;
}

.lm-home-trust__item > .lm-home-trust__text{
    width: 100%;
    margin: 0;
    font-size: 0;
    line-height: 0;
    color: #727673;
}

.lm-home-trust__item > .lm-home-trust__text br{
    display: none;
}

.lm-home-trust__item > .lm-home-trust__text span,
.lm-home-trust__item > .lm-home-trust__text div,
.lm-home-trust__item > .lm-home-trust__text p,
.lm-home-trust__item > .lm-home-trust__text li{
    display: block;
    margin: 0 0 5px;
    padding-left: 10px;
    position: relative;
    font-size: clamp(10px, 0.58vw, 12px);
    line-height: 1.22;
    color: #727673;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    list-style: none;
}

.lm-home-trust__item > .lm-home-trust__text span:last-child,
.lm-home-trust__item > .lm-home-trust__text div:last-child,
.lm-home-trust__item > .lm-home-trust__text p:last-child,
.lm-home-trust__item > .lm-home-trust__text li:last-child{
    margin-bottom: 0;
}

.lm-home-trust__item > .lm-home-trust__text span::before,
.lm-home-trust__item > .lm-home-trust__text div::before,
.lm-home-trust__item > .lm-home-trust__text p::before,
.lm-home-trust__item > .lm-home-trust__text li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b7beb3;
    transform: translateY(-50%);
}

/* Если внутри осталась одна текстовая строка без span/div/li */
.lm-home-trust__item > .lm-home-trust__text:not(:has(span, div, p, li)){
    font-size: clamp(11px, 0.62vw, 12px);
    line-height: 1.3;
    color: #727673;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1199px){
    .lm-home-trust__container{
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 18px;
    }

    .lm-home-trust__row{
        gap: 12px;
    }

    .lm-home-services__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px){
    .lm-home-trust{
        padding: 22px 0 24px;
    }

    .lm-home-trust__container{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lm-home-trust__header > .lm-home-trust__text{
        max-width: 100%;
    }

    .lm-home-trust__row{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 767px){
    .lm-home-services{
        padding: 28px 0 4px;
    }

    .lm-home-services__header{
        margin-bottom: 18px;
    }

    .lm-home-services__title{
        font-size: 28px;
    }

    .lm-home-services__grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lm-home-services__card-inner{
        height: 116px;
        gap: 14px;
        padding: 12px;
    }

    .lm-home-services__media{
        flex: 0 0 82px;
        width: 82px;
        height: 82px;
    }

    .lm-home-services__image{
        width: 82px;
        height: 82px;
    }

    .lm-home-services__content{
        height: 82px;
        padding-right: 26px;
    }

    .lm-home-services__title-text{
        margin-bottom: 3px;
        font-size: 19px;
    }

    .lm-home-services__text{
        font-size: 12px;
        line-height: 1.28;
    }

    .lm-home-services__meta{
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .lm-home-trust__item{
        padding: 15px 14px 13px;
    }

    .lm-home-trust__item > .lm-home-trust__title{
        min-height: 34px;
        font-size: 15px;
    }
}

@media (max-width: 575px){
    .lm-home-trust__row{
        grid-template-columns: 1fr;
    }

    .lm-home-trust__header > .lm-home-trust__title{
        font-size: 24px;
    }
}


/* =========================================================
   LIDAMED — HOME TRUST FINAL TUNE
   Точечный дожим:
   — расширение блока по краям
   — 4 плашки в один ряд
   — заголовки в одну строку
   — маркеры-кружочки
   ========================================================= */

.lm-home-trust{
    background: #f7f6f3;
}

.lm-home-trust__container{
    max-width: 1440px;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.lm-home-trust__header > .lm-home-trust__title{
    font-size: clamp(22px, 1.65vw, 28px);
    line-height: 1.02;
}

.lm-home-trust__header > .lm-home-trust__text{
    max-width: 270px;
    font-size: clamp(12px, 0.8vw, 14px);
    line-height: 1.42;
}

.lm-home-trust__row{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.lm-home-trust__item{
    padding: 18px 18px 16px;
    min-height: 150px;
    gap: 10px;
}

.lm-home-trust__item .lm-home-trust__icon{
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.lm-home-trust__item .lm-home-trust__icon svg{
    width: 22px;
    height: 22px;
}

.lm-home-trust__item > .lm-home-trust__title{
    min-height: auto;
    white-space: nowrap;
    font-size: clamp(13px, 0.88vw, 15px);
    line-height: 1.12;
}

.lm-home-trust__item > .lm-home-trust__text{
    width: 100%;
}

.lm-home-trust__item > .lm-home-trust__text span,
.lm-home-trust__item > .lm-home-trust__text div,
.lm-home-trust__item > .lm-home-trust__text p,
.lm-home-trust__item > .lm-home-trust__text li{
    padding-left: 11px;
    font-size: clamp(9px, 0.54vw, 11px);
    line-height: 1.18;
}

.lm-home-trust__item > .lm-home-trust__text span::before,
.lm-home-trust__item > .lm-home-trust__text div::before,
.lm-home-trust__item > .lm-home-trust__text p::before,
.lm-home-trust__item > .lm-home-trust__text li::before{
    width: 5px;
    height: 5px;
    background: #b2b8af;
}

@media (max-width: 1399px){
    .lm-home-trust__container{
        max-width: 1320px;
        grid-template-columns: 270px minmax(0, 1fr);
    }

    .lm-home-trust__item > .lm-home-trust__title{
        font-size: 14px;
    }
}

@media (max-width: 1199px){
    .lm-home-trust__container{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lm-home-trust__header > .lm-home-trust__text{
        max-width: 100%;
    }

    .lm-home-trust__row{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 767px){
    .lm-home-trust__row{
        grid-template-columns: 1fr;
    }

    .lm-home-trust__item > .lm-home-trust__title{
        white-space: normal;
    }
}


/* =========================================================
   LIDAMED — TRUST ICONS FINAL FIX
   Только иконки. Без ломания верстки.
   ========================================================= */

.lm-home-trust__icon svg{
    display: block;
    width: 100%;
    height: 100%;

    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lm-home-trust__icon{
    color: #2f3440; /* убрали синий/фиолет */
}

/* Чуть усиливаем читаемость круга */
.lm-home-trust__item .lm-home-trust__icon{
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
}

/* Чуть аккуратнее центрирование */
.lm-home-trust__item{
    align-items: center;
}

/* =========================================================
   LIDAMED — TRUST TEXT TUNING (ФИНАЛ)
   ========================================================= */

/* Заголовок внутри плашек */
.lm-home-trust__item .lm-home-trust__title{
    font-size: 17px;
    line-height: 1.25;
}

/* Пункты (сам текст) */
.lm-home-trust__item .lm-home-trust__text span{
    font-size: 13px;
    line-height: 1.35;
}

/* ЛИДАМЕД — мягкий акцент */
.lm-home-trust__brand{
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    color: #7a858c;
}



.lm-section-badge{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.04);
    color: #2f3a40;
    margin: 0 0 20px;
}

.lm-section-badge__dot{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2f3a40;
    flex: 0 0 6px;
}



/* Каждый блок — отдельная секция */
.lm-home-promotions{
    width: 100%;
}

/* Сетка карточек — нормальная, не схлопывается */
.lm-home-promotions__grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Карточки не ужимаются */
.lm-home-promotions__card{
    width: 100%;
    min-width: 0;
}

/* ВАЖНО: убираем влияние соседнего блока */
.lm-home-promotions + .lm-home-promotions{
    margin-top: 40px; /* регулируешь как нравится */
}



.lm-home-promotions{
    width: 100%;
    padding: 0 0 56px;
}

.lm-home-promotions .container{
    width: 100%;
}

.lm-home-promotions__grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.lm-home-promotions__card{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: 100%;
}

.lm-home-promotions__card > *{
    min-width: 0;
}

.lm-home-promotions__card-title,
.lm-home-promotions__summary,
.lm-home-promotions__badge,
.lm-home-promotions__prices,
.lm-home-promotions__benefit{
    width: 100%;
    min-width: 0;
}

.lm-home-promotions__button-wrap{
    margin-top: auto;
}

.lm-home-promotions + .lm-home-promotions{
    margin-top: -12px;
}

@media (max-width: 1199px){
    .lm-home-promotions__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px){
    .lm-home-promotions{
        padding: 0 0 40px;
    }

    .lm-home-promotions__grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lm-home-promotions + .lm-home-promotions{
        margin-top: -6px;
    }
}

/* =========================================================
   LIDAMED — ОТСТУП ПЕРЕД БЕЙДЖЕМ (АКЦИИ)
   ========================================================= */

.lm-home-promotions .lm-section-badge{
    margin-top: 22px;
}

.lm-home-promotions + .lm-home-promotions{
    margin-top: -28px;
}

/* =========================================================
   LIDAMED — HOME CABINETS
   Блок кабинетов на главной
   ========================================================= */

.lm-home-cabinets{
    padding: 10px 0 38px;
}

.lm-home-cabinets .container{
    width: 100%;
}

.lm-home-cabinets .lm-section-badge{
    margin: 0 0 18px;
}

.lm-home-cabinets__intro{
    margin: 0 0 22px;
    max-width: none;
    width: 100%;
}

.lm-home-cabinets__intro p{
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #666;
    max-width: none;
    width: 100%;
}

.lm-home-cabinets__grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.lm-home-cabinets__card{
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.lm-home-cabinets__image-wrap{
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f3f3;
}

.lm-home-cabinets__image{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lm-home-cabinets__image--empty{
    width: 100%;
    height: 100%;
    background: #f3f3f3;
}

.lm-home-cabinets__title{
    padding: 14px 16px 16px;
    text-align: center;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 600;
    color: #2f3440;
    background: #fff;
}

@media (max-width: 1199px){
    .lm-home-cabinets__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px){
    .lm-home-cabinets{
        padding: 8px 0 28px;
    }

    .lm-home-cabinets__intro{
        margin-bottom: 18px;
    }

    .lm-home-cabinets__intro p{
        font-size: 14px;
        line-height: 1.7;
    }

    .lm-home-cabinets__grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lm-home-cabinets__title{
        padding: 12px 14px 14px;
        font-size: 16px;
    }
}

.lm-home-trust + .lm-home-cabinets{
    margin-top: 24px;
}

/* =========================================================
   LIDAMED — HOME CABINETS HOVER
   Лёгкий zoom + мягкий блик без эффекта ссылки
   ========================================================= */

.lm-home-cabinets__card{
    position: relative;
    transition: box-shadow .28s ease;
}

.lm-home-cabinets__card:hover{
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.lm-home-cabinets__image-wrap{
    position: relative;
    overflow: hidden;
}

.lm-home-cabinets__image{
    transition: transform .6s ease;
    transform: scale(1.01);
}

.lm-home-cabinets__card:hover .lm-home-cabinets__image{
    transform: scale(1.06);
}

/* Мягкий световой проход */
.lm-home-cabinets__image-wrap::after{
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 42%;
    height: 100%;
    background: linear-gradient(
        100deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.10) 45%,
        rgba(255,255,255,0.22) 50%,
        rgba(255,255,255,0.10) 55%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-18deg);
    transition: left .75s ease;
    pointer-events: none;
}

.lm-home-cabinets__card:hover .lm-home-cabinets__image-wrap::after{
    left: 130%;
}

/* =========================================================
   LIDAMED — CTA BLOCK (ЗАПИСЬ НА ПРИЁМ)
   ========================================================= */

.lm-home-cta{
    padding: 30px 0 60px;
}

.lm-home-cta__inner{
    background: linear-gradient(135deg, #f7f7f7, #f1f1f1);
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.lm-home-cta__title{
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2f3a40;
}

.lm-home-cta__subtitle{
    font-size: 14px;
    color: #7a868c;
    margin-bottom: 25px;
}

.lm-home-cta__buttons{
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* кнопки */

.lm-btn{
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.lm-btn--primary{
    background: #000;
    color: #fff;
}

.lm-btn--primary:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(216,154,169,0.3);
}

.lm-btn--ghost{
    background: #fff;
    color: #2f3a40;
    border: 1px solid rgba(0,0,0,0.08);
}

.lm-btn--ghost:hover{
    background: #f5f5f5;
}

.lm-btn--primary:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.lm-home-cta--service{
    padding-top: 30px;
    padding-bottom: 20px;
}

/* =========================================================
   LIDAMED — HOME FEATURES (FINAL CLEAN)
   Блок "Преимущества" — чистовая финальная версия
   ========================================================= */

.lm-home-features{
    padding: 28px 0 34px;
}

.lm-home-features .container{
    width: 100%;
}

/* Внешняя подложка */
.lm-home-features__inner{
    padding: 22px 20px 18px;
    border: 1px solid #edd9e6;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(185, 120, 158, 0.05);
}

/* Бейдж */
.lm-home-features__badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
}

/* Сетка */
.lm-home-features__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

/* Карточка */
.lm-home-features__card{
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-height: 170px;
    padding: 18px 18px 18px 16px;
    border: 1px solid #edd9e6;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(185, 120, 158, 0.04);
    overflow: hidden;
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease,
        background .28s ease;
}

.lm-home-features__card:hover{
    transform: translateY(-4px);
    border-color: #e3c7d8;
    box-shadow: 0 14px 26px rgba(185, 120, 158, 0.10);
    background: #fffdfd;
}

/* Зона иконки */
.lm-home-features__icon-wrap{
    flex: 0 0 86px;
    width: 86px;
    min-width: 86px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
}

.lm-home-features__icon-circle{
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #edd9e6;
    border-radius: 20px;
    background: #fff9fc;
    transform: rotate(0deg);
    transform-origin: center center;
    transition: transform .65s ease;
    will-change: transform;
}

.lm-home-features__card:hover .lm-home-features__icon-circle{
    transform: rotate(360deg);
}

.lm-home-features__icon{
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #bb78a2;
}

.lm-home-features__icon svg{
    width: 42px;
    height: 42px;
    display: block;
}

/* Контент */
.lm-home-features__content{
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 3px;
}

.lm-home-features__card-title{
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 700;
    color: #7d6a78;
}

.lm-home-features__text{
    margin: 0;
    font-size: 15px;
    line-height: 1.62;
    color: #8f8790;
}


/* Планшет */
@media (max-width: 1199px){
    .lm-home-features__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Мобильная версия */
@media (max-width: 767px){
    .lm-home-features{
        padding: 22px 0 28px;
    }

    .lm-home-features__inner{
        padding: 18px 14px 14px;
        border-radius: 24px;
    }

    .lm-home-features__grid{
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lm-home-features__card{
        min-height: auto;
        padding: 14px 14px 14px 13px;
        border-radius: 22px;
        gap: 14px;
    }

    .lm-home-features__icon-wrap{
        flex: 0 0 72px;
        width: 72px;
        min-width: 72px;
    }

    .lm-home-features__icon-circle{
        width: 60px;
        height: 60px;
        min-width: 60px;
        border-radius: 18px;
    }

    .lm-home-features__icon{
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .lm-home-features__icon svg{
        width: 36px;
        height: 36px;
    }

    .lm-home-features__card-title{
        margin-bottom: 7px;
        font-size: 17px;
    }

    .lm-home-features__text{
        font-size: 14px;
        line-height: 1.58;
    }
}



/* =========================================================
   LIDAMED — HOME MESSENGERS
   Блок мессенджеров на главной
   ========================================================= */

.lm-home-messengers{
    padding: 10px 0 34px;
}

.lm-home-messengers__inner{
    padding: 24px 20px 22px;
    border: 1px solid #edd9e6;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(185, 120, 158, 0.05);
}

.lm-home-messengers__title{
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    color: #7d6a78;
    text-align: center;
}

.lm-home-messengers__lead{
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.6;
    color: #8f8790;
    text-align: center;
}

.lm-messenger-wrap{
    width: 100%;
}

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

.lm-messenger-card{
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 88px;
    padding: 18px 20px;
    border-radius: 24px;
    text-decoration: none;
    overflow: hidden;
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        filter .28s ease;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.lm-messenger-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.lm-messenger-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.18) 46%,
        rgba(255, 255, 255, 0.34) 50%,
        rgba(255, 255, 255, 0.10) 54%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-140%);
    transition: transform .75s ease;
    pointer-events: none;
}

.lm-messenger-card:hover::before{
    transform: translateX(140%);
}

.lm-messenger-card.max{
    background: linear-gradient(135deg, #7b61ff 0%, #5b43de 100%);
}

.lm-messenger-card.whatsapp{
    background: linear-gradient(135deg, #29c76f 0%, #18a957 100%);
}

.lm-messenger-card.telegram{
    background: linear-gradient(135deg, #2ea5ff 0%, #1786df 100%);
}

.lm-messenger-icon{
    position: relative;
    z-index: 2;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lm-messenger-icon svg{
    display: block;
    width: 46px;
    height: 46px;
}

.lm-messenger-text{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lm-messenger-title{
    display: block;
    margin: 0 0 3px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.lm-messenger-subtitle{
    display: block;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

.lm-messenger-card:focus-visible{
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

/* ===== Планшет ===== */

@media (max-width: 1199px){
    .lm-home-messengers__title{
        font-size: 28px;
    }

    .lm-messenger-grid{
        grid-template-columns: 1fr;
    }
}

/* ===== Мобильная версия ===== */

@media (max-width: 767px){
    .lm-home-messengers{
        padding: 6px 0 28px;
    }

    .lm-home-messengers__inner{
        padding: 18px 14px 16px;
        border-radius: 24px;
    }

    .lm-home-messengers__title{
        margin-bottom: 7px;
        font-size: 24px;
    }

    .lm-home-messengers__lead{
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.55;
    }

    .lm-messenger-grid{
        gap: 12px;
    }

    .lm-messenger-card{
        min-height: 74px;
        padding: 14px 16px;
        gap: 13px;
        border-radius: 20px;
    }

    .lm-messenger-icon{
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .lm-messenger-icon svg{
        width: 40px;
        height: 40px;
    }

    .lm-messenger-title{
        margin-bottom: 2px;
        font-size: 18px;
    }

    .lm-messenger-subtitle{
        font-size: 13px;
    }
}

/* FIX: делаем SVG иконки белыми */
.lm-messenger-icon svg path{
    fill: #ffffff !important;
}

/* =========================================================
   LIDAMED — GLOBAL BADGE SYSTEM
   Единый стиль бейджей для всех модулей
   ========================================================= */

.lm-section-badge{
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 0 16px;
    min-height: 34px;

    border: 1px solid #e6dde2;
    border-radius: 999px;

    background: #ffffff;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #7f737a;

    white-space: nowrap;
}

/* Кружок как в битриксе (точка + ободок) */
.lm-section-badge__dot{
    position: relative;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;

    background: #7f737a;
}

/* Внешний ободок */
.lm-section-badge__dot::after{
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid #d9ccd3;
}

.lm-lux-intro__dot{
    position: relative;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;

    background: #7f737a;
}

.lm-lux-intro__dot::after{
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid #d9ccd3;
}

/* =========================================================
   LIDAMED — HOME INTRO (FINAL)
   Первый блок лендинга на главной
   ========================================================= */

.lm-lux-intro{
    padding: 20px 0 18px;
}

.lm-lux-intro .container{
    width: 100%;
}

.lm-lux-intro__grid{
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(360px, 1fr);
    gap: 18px;
    align-items: stretch;
}

.lm-lux-intro__main,
.lm-lux-intro__card{
    border: 1px solid #e6dde2;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.lm-lux-intro__main{
    padding: 26px 28px;
}

.lm-lux-intro__side{
    display: flex;
    min-width: 0;
}

.lm-lux-intro__card{
    width: 100%;
    min-height: 100%;
    padding: 26px 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Бейджи блока используют общую систему */
.lm-lux-intro__badge,
.lm-lux-intro__card-label{
    margin: 0 0 16px;
    align-self: flex-start;
}

/* Заголовки */
.lm-lux-intro__title{
    margin: 0 0 16px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    color: #2c2c2c;
}

.lm-lux-intro__card-title{
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    color: #2c2c2c;
}

/* Тексты */
.lm-lux-intro__lead{
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.7;
    color: #6f6f6f;
}

.lm-lux-intro__card-text{
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.65;
    color: #6f6f6f;
}

/* Внутренние мини-плашки */
.lm-lux-intro__features{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 14px;
}

.lm-lux-intro__feature{
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 14px;
    border: 1px solid #e6dde2;
    border-radius: 18px;
    background: #fafafa;
    font-size: 14px;
    line-height: 1.35;
    color: #555;
}

.lm-lux-intro__dot{
    position: relative;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7f737a;
}

.lm-lux-intro__dot::after{
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid #d9ccd3;
}

.lm-lux-intro__note{
    font-size: 14px;
    line-height: 1.65;
    color: #8a8a8a;
}

/* Кнопка записаться */
.lm-lux-intro__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 0 0 12px;
    border-radius: 999px;
    background: #2c2c2c;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-decoration: none;
    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.lm-lux-intro__btn:hover{
    transform: translateY(-2px);
    background: #1f1f1f;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

/* Заголовок над соцсетями */
.lm-lux-intro__socials-title{
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    color: #7a7a7a;
    text-align: center;
}

/* Соцкнопки */
.lm-lux-intro__socials{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.lm-social-btn{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}

.lm-social-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
    filter: brightness(1.02);
}

.lm-social-btn::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.14) 44%,
        rgba(255,255,255,0.32) 50%,
        rgba(255,255,255,0.10) 56%,
        rgba(255,255,255,0) 100%
    );
    transform: translateX(-145%);
    transition: transform .7s ease;
    pointer-events: none;
}

.lm-social-btn:hover::before{
    transform: translateX(145%);
}

.lm-social-btn__icon{
    position: relative;
    z-index: 2;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
}

.lm-social-btn__text{
    position: relative;
    z-index: 2;
}

.lm-social-btn__icon::before{
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Telegram */
.lm-social-btn--tg{
    background: linear-gradient(135deg, #78aef8, #5d92e8);
}
.lm-social-btn--tg .lm-social-btn__icon::before{
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffff' d='M21.5 4.5 18.4 19c-.2 1-1 1.3-1.8.9l-4.7-3.5-2.3 2.2c-.3.3-.5.5-1 .5l.3-4.8 8.8-8c.4-.3-.1-.5-.6-.2L6.2 13 1.6 11.6c-1-.3-1-1 .2-1.5L20 3.1c.9-.3 1.7.2 1.5 1.4Z'/></svg>");
}

/* Instagram */
.lm-social-btn--inst{
    background: linear-gradient(135deg, #f4849e, #c64fd9);
}
.lm-social-btn--inst .lm-social-btn__icon::before{
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffff' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2.2A2.8 2.8 0 0 0 4.2 7v10A2.8 2.8 0 0 0 7 19.8h10a2.8 2.8 0 0 0 2.8-2.8V7A2.8 2.8 0 0 0 17 4.2H7Zm10.2 1.4a1.2 1.2 0 1 1 0 2.4 1.2 1.2 0 0 1 0-2.4ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2.2A2.8 2.8 0 1 0 12 14.8 2.8 2.8 0 0 0 12 9.2Z'/></svg>");
}

/* VK */
.lm-social-btn--vk{
    background: linear-gradient(135deg, #6f8dd9, #5a74c7);
}
.lm-social-btn--vk .lm-social-btn__icon::before{
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffff' d='M12.79 17.46h1.18s.36-.04.55-.23c.18-.17.17-.5.17-.5s-.03-1.53.69-1.75c.71-.22 1.62 1.48 2.59 2.14.73.5 1.29.39 1.29.39l2.58-.04s1.35-.08.71-1.14c-.05-.09-.37-.79-1.91-2.22-1.61-1.49-1.39-1.25.55-3.83 1.18-1.57 1.65-2.53 1.5-2.94-.14-.39-.98-.29-.98-.29l-2.91.02s-.22-.03-.38.06c-.16.09-.26.31-.26.31s-.46 1.23-1.08 2.28c-1.31 2.21-1.84 2.32-2.05 2.18-.49-.31-.36-1.23-.36-1.88 0-2.04.31-2.89-.6-3.11-.3-.07-.53-.12-1.31-.13-1 0-1.84 0-2.32.24-.32.16-.56.5-.41.52.18.02.59.11.81.41.29.38.28 1.23.28 1.23s.17 2.4-.39 2.7c-.39.2-.92-.21-2.06-2.22-.58-1.03-1.02-2.18-1.02-2.18s-.08-.2-.23-.31a1.05 1.05 0 0 0-.44-.17l-2.77.02s-.41.01-.56.19c-.13.16-.01.49-.01.49s2.17 5.07 4.63 7.62c2.26 2.33 4.82 2.18 4.82 2.18Z'/></svg>");
}

/* Планшет */
@media (max-width: 1199px){
    .lm-lux-intro__grid{
        grid-template-columns: 1fr;
    }

    .lm-lux-intro__features{
        grid-template-columns: 1fr;
    }

    .lm-lux-intro__card{
        min-height: auto;
    }
}

/* Мобильная версия */
@media (max-width: 767px){
    .lm-lux-intro{
        padding: 16px 0 14px;
    }

    .lm-lux-intro__grid{
        gap: 14px;
    }

    .lm-lux-intro__main,
.lm-lux-intro__card{
        border-radius: 24px;
    }

    .lm-lux-intro__main{
        padding: 18px 16px;
    }

    .lm-lux-intro__card{
        padding: 18px 16px;
    }

    .lm-lux-intro__title{
        font-size: 26px;
    }

    .lm-lux-intro__card-title{
        font-size: 22px;
    }

    .lm-lux-intro__features{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lm-lux-intro__feature{
        min-height: 52px;
        padding: 12px 14px;
    }

    .lm-lux-intro__socials{
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   LIDAMED — HOME NEWS / REVIEWS
   Новости + отзывы на главной
   ========================================================= */

.lm-home-news-reviews{
    padding: 18px 0 18px;
}

.lm-home-news-reviews__grid{
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 18px;
    align-items: stretch;
    padding: 24px 22px 20px;
    border: 1px solid #e6dde2;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.lm-home-news-reviews__panel{
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    min-width: 0;
}

.lm-home-news-reviews__badge{
    display: inline-flex;
    width: auto;
    max-width: max-content;
    margin: 0 0 16px;
}

/* ---------- НОВОСТИ ---------- */

.lm-home-news-reviews__list{
    display: grid;
    gap: 12px;
}

.lm-home-news-item{
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 14px;
    border: 1px solid #ece4e8;
    border-radius: 20px;
    background: #ffffff;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.lm-home-news-item:hover{
    transform: translateY(-2px);
    border-color: #ddd2d9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.lm-home-news-item__date{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 62px;
    min-width: 62px;
    height: 62px;
    border: 1px solid #ece4e8;
    border-radius: 18px;
    background: #fafafa;
    text-align: center;
}

.lm-home-news-item__day{
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    color: #4a4a4a;
}

.lm-home-news-item__month{
    margin-top: 4px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8a8a;
}

.lm-home-news-item__content{
    min-width: 0;
}

.lm-home-news-item__title{
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.lm-home-news-item__title a{
    color: #3e3e3e;
    text-decoration: none;
}

.lm-home-news-item__title a:hover{
    color: #000000;
}

.lm-home-news-item__excerpt{
    font-size: 14px;
    line-height: 1.55;
    color: #7b7b7b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lm-home-news-item__action{
    align-self: center;
}

.lm-home-news-item__more{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid #e6dde2;
    border-radius: 999px;
    background: #ffffff;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5c5c5c;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background .22s ease;
}

.lm-home-news-item__more:hover{
    transform: translateY(-2px);
    border-color: #d7cbd2;
    background: #fafafa;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

/* ---------- ОБЩИЕ КНОПКИ НИЗА ---------- */

.lm-home-news-reviews__bottom,
.lm-home-news-reviews__reviews-actions{
    margin-top: 16px;
}

.lm-home-news-reviews__reviews-actions{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lm-home-news-reviews__all-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #2c2c2c;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    transition:
        transform .22s ease,
        background .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.lm-home-news-reviews__all-btn:hover{
    transform: translateY(-2px);
    background: #1e1e1e;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

.lm-home-news-reviews__all-btn--light{
    background: #ffffff;
    color: #3f3f3f;
    border: 1px solid #e6dde2;
}

.lm-home-news-reviews__all-btn--light:hover{
    background: #fafafa;
    border-color: #d7cbd2;
}

/* ---------- ОТЗЫВЫ ---------- */

.lm-home-news-reviews__panel--reviews{
    position: relative;
    min-width: 0;
}

.lm-home-reviews-slider{
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.lm-home-reviews-slider__quote{
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 100px;
    line-height: 1;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.06);
    pointer-events: none;
    z-index: 1;
}

.lm-home-reviews-slide{
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity .7s ease,
        transform .7s ease,
        visibility .7s ease;
    display: grid;
    gap: 12px;
}

.lm-home-reviews-slide.is-active{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    position: relative;
    z-index: 2;
}

.lm-home-review-card{
    position: relative;
    z-index: 2;
    padding: 14px 14px 12px;
    border: 1px solid #ece4e8;
    border-radius: 20px;
    background: #ffffff;
}

.lm-home-review-card__name{
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: #3e3e3e;
}

.lm-home-review-card__date{
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #9a9a9a;
}

.lm-home-review-card__stars{
    display: flex;
    gap: 2px;
    margin: 0 0 8px;
}

.lm-home-review-card__star{
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.lm-home-review-card__star svg{
    display: block;
    width: 16px;
    height: 16px;
}

.lm-home-review-card__text{
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.55;
    color: #676767;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lm-home-review-card__source{
    font-size: 12px;
    line-height: 1.4;
    color: #9a9a9a;
    text-decoration: none;
}

.lm-home-review-card__source:hover{
    color: #6a6a6a;
}

.lm-home-news-reviews__reviews-placeholder{
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #ddd2d9;
    border-radius: 24px;
    background: #fcfbfc;
    text-align: center;
    padding: 20px;
    color: #8a8a8a;
}

/* ---------- ПУСТО ---------- */

.lm-home-news-reviews__empty{
    font-size: 15px;
    line-height: 1.6;
    color: #8a8a8a;
}

/* ---------- АДАПТИВ ---------- */

@media (max-width: 1199px){
    .lm-home-news-reviews__grid{
        grid-template-columns: 1fr;
    }

    .lm-home-reviews-slider{
        min-height: 480px;
    }
}

@media (max-width: 767px){
    .lm-home-news-reviews{
        padding: 14px 0;
    }

    .lm-home-news-reviews__grid{
        gap: 14px;
        padding: 18px 14px 16px;
        border-radius: 24px;
    }

    .lm-home-news-item{
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }
    
    .lm-home-news-item__date{
        width: 54px;
        min-width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .lm-home-news-item__day{
        font-size: 18px;
    }

    .lm-home-news-item__month{
        font-size: 9px;
    }

    .lm-home-news-item__title{
        font-size: 16px;
        margin-bottom: 6px;
    }

    .lm-home-news-item__excerpt{
        font-size: 13px;
    }

    .lm-home-news-item__action{
        grid-column: 1 / -1;
    }

    .lm-home-news-item__more{
        width: 100%;
        min-height: 40px;
    }

    .lm-home-reviews-slider{
        min-height: 560px;
    }

    .lm-home-reviews-slide{
        gap: 10px;
    }

    .lm-home-review-card{
        padding: 12px 12px 10px;
        border-radius: 18px;
    }

    .lm-home-review-card__text{
        -webkit-line-clamp: 3;
        font-size: 13px;
    }

    .lm-home-reviews-slider__quote{
        top: 2px;
        right: 4px;
        font-size: 72px;
    }

    .lm-home-news-reviews__reviews-actions{
        flex-direction: column;
    }

    .lm-home-news-reviews__all-btn{
        width: 100%;
    }
}

.lm-home-news-reviews__reviews-actions{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.lm-home-news-reviews__yandex-link{
    font-size: 12px;
    color: #9a9a9a;
    text-decoration: none;
    white-space: nowrap;
}

.lm-home-news-reviews__yandex-link:hover{
    color: #6a6a6a;
}

    .lm-home-news-item{
    min-height: 112px;
}

/* =========================================================
   ЛИДАМЕД — Дата новости (как на главной + год)
========================================================= */

.lm-news-date{
    width: 60px;
    min-width: 60px;
    padding: 10px 6px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    background: #fff;
    text-align: center;
}

.lm-news-date-day{
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.lm-news-date-month{
    font-size: 11px;
    color: #777;
    margin-top: 2px;
    text-transform: lowercase;
}

.lm-news-date-year{
    font-size: 10px;
    color: #bbb;
    margin-top: 2px;
}

/* сама строка новости */

.lm-news-item{
    display: flex;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid #eee;
    border-radius: 20px;
    margin-bottom: 14px;
    background: #fff;
}

.lm-news-content{
    flex: 1;
}

.lm-news-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lm-news-title{
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.lm-news-title a{
    color: #222;
    text-decoration: none;
}

.lm-news-excerpt{
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.news-toggle{
    transition: transform .3s ease;
}

.news-item{
    transition: all .25s ease;
}

.news-item:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.news-date-badge{
    transition: transform .25s ease;
}

.news-item:hover .news-date-badge{
    transform: scale(1.05);
}

/* =========================================================
   ЛИДАМЕД — HOME NEWS / REVIEWS: ЯНДЕКС У КНОПОК
   ========================================================= */

.lm-home-news-reviews__reviews-actions{
    display: flex !important;
    align-items: center !important;
    margin-top: 16px !important;
}

.lm-home-news-reviews__reviews-buttons{
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
}

.lm-home-news-reviews__yandex-link{
    font-size: 9px !important;
    line-height: 1 !important;
    color: #a8a8a8 !important;
    opacity: 0.85;
    white-space: nowrap;

    margin-left: 12px !important;
}

/* лёгкий премиум-ховер */
.lm-home-news-reviews__yandex-link:hover{
    opacity: 1;
    color: #666 !important;
}

/* =========================================================
   LIDAMED — 404 PAGE
   Нейтральная 404 в общей системе сайта
   ========================================================= */

.lm-404-page{
    padding: 24px 0 36px;
}

.lm-404-wrap{
    position: relative;
}

.lm-404-card{
    border: 1px solid #e6dde2;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.lm-404-grid{
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    min-height: 520px;
}

.lm-404-left{
    padding: 42px 38px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lm-404-badge{
    margin: 0 0 18px;
    width: fit-content;
}

.lm-404-code{
    margin: 0 0 12px;
    font-size: clamp(72px, 10vw, 112px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #2c2c2c;
}

.lm-404-title{
    margin: 0 0 16px;
    font-size: clamp(28px, 3.3vw, 42px);
    line-height: 1.1;
    font-weight: 700;
    color: #2c2c2c;
}

.lm-404-text{
    max-width: 620px;
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #6f6f6f;
}

.lm-404-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.lm-404-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        transform .22s ease,
        background .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        color .22s ease;
}

.lm-404-btn-primary{
    background: #2c2c2c;
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

.lm-404-btn-primary:hover{
    transform: translateY(-2px);
    background: #1e1e1e;
    color: #ffffff;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.lm-404-btn-secondary{
    background: #ffffff;
    color: #4a4a4a;
    border: 1px solid #e6dde2;
}

.lm-404-btn-secondary:hover{
    transform: translateY(-2px);
    background: #fafafa;
    color: #2c2c2c;
    border-color: #d7cbd2;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.lm-404-links-title{
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: #2c2c2c;
}

.lm-404-links{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
}

.lm-404-links a{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #e6dde2;
    background: #fafafa;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    color: #5d5d5d;
    transition:
        transform .22s ease,
        background .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        color .22s ease;
}

.lm-404-links a:hover{
    transform: translateY(-2px);
    background: #ffffff;
    border-color: #d7cbd2;
    color: #2c2c2c;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.lm-404-right{
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 76% 18%, rgba(255,255,255,0.55), transparent 18%),
        radial-gradient(circle at 14% 82%, rgba(255,255,255,0.20), transparent 22%),
        linear-gradient(135deg, #f7f7f7 0%, #ececec 55%, #dddddd 100%);
    color: rgba(255,255,255,0.85);
}

.lm-404-right::before{
    content: "";
    position: absolute;
    inset: 28px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.34);
}

.lm-404-glow{
    position: absolute;
    top: -40px;
    right: -40px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 68%);
}

.lm-404-decor{
    position: absolute;
    left: 42px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lm-404-decor-number{
    font-size: clamp(112px, 16vw, 182px);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.lm-404-decor-text{
    max-width: 260px;
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255,255,255,0.96);
}

.lm-404-silhouette{
    position: absolute;
    right: 38px;
    bottom: 0;
    width: 340px;
    max-width: 78%;
    color: rgba(255,255,255,0.72);
    opacity: 0.22;
}

@media (max-width: 1199px){
    .lm-404-grid{
        grid-template-columns: 1fr;
    }

    .lm-404-right{
        min-height: 320px;
    }
}

@media (max-width: 767px){
    .lm-404-page{
        padding: 16px 0 28px;
    }

    .lm-404-card{
        border-radius: 24px;
    }

    .lm-404-left{
        padding: 24px 18px 20px;
    }

    .lm-404-actions{
        flex-direction: column;
    }

    .lm-404-btn{
        width: 100%;
    }

    .lm-404-links{
        grid-template-columns: 1fr;
    }

    .lm-404-right{
        min-height: 250px;
    }

    .lm-404-right::before{
        inset: 18px;
        border-radius: 20px;
    }

    .lm-404-decor{
        left: 22px;
    }

    .lm-404-decor-text{
        max-width: 210px;
        font-size: 14px;
    }

    .lm-404-silhouette{
        right: 18px;
        width: 230px;
    }
}

/* =========================================================
   LIDAMED — Главный баннер лендинга (FINAL FIXED)
   ========================================================= */

.lm-home-banner{
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f8f6f3;
}

.lm-home-banner__inner{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.lm-home-banner__content{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
background: linear-gradient(
    to right,
    #f4ece3 0%,
    #f5efe8 45%,
    #f6f1ea 75%,
    rgba(246,241,234,0) 100%
);
}

.lm-home-banner__content .lm-container{
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    margin-right: -20px;
    padding-left: 16px;
    padding-right: 16px;
}

/* Жёсткий сброс для темы */
.lm-home-banner h1,
.lm-home-banner__title,
.lm-home-banner__title span{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    white-space: normal !important;
    text-indent: 0 !important;
    filter: none !important;
    max-width: none !important;
    max-height: none !important;
}

/* Текст */
.lm-home-banner__label{
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a89484;
}

.lm-home-banner__title{
    margin: 0 0 18px;
    max-width: 520px;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 500;
    color: #2f2925;
}

.lm-home-banner__title span{
    display: block;
}

.lm-home-banner__subtitle{
    margin: 0 0 24px;
    max-width: 420px;
    font-size: 14px;
    line-height: 1.55;
    color: #5f5650;
}

/* Кнопка */
.lm-home-banner__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.lm-home-banner__btn:hover{
    background: #222222;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Правая часть */
.lm-home-banner__media{
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;

    background-image: url("/wp-content/themes/lidamed/assets/img/banner-doctor.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 99% center;
}

.lm-home-banner__media::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(248,246,243,0) 0%,
        rgba(248,246,243,0.05) 24%,
        rgba(248,246,243,0.12) 40%,
        rgba(248,246,243,0.22) 56%,
        rgba(248,246,243,0.38) 70%,
        rgba(248,246,243,0.58) 82%,
        rgba(248,246,243,0.76) 91%,
        rgba(248,246,243,0.90) 100%
    );
    pointer-events: none;
}

@media (max-width: 1024px){
    .lm-home-banner{
        display: none;
    }
}

/* =========================================================
   LIDAMED — Анимация текста и кнопки баннера (FINAL)
   ========================================================= */

/* Текст */
.lm-home-banner__label,
.lm-home-banner__title,
.lm-home-banner__subtitle{
    opacity: 0;
    transform: translateY(18px);
    animation: lmBannerFadeUp 0.8s ease forwards;
    will-change: opacity, transform;
}

.lm-home-banner__label{
    animation-delay: 0.15s;
}

.lm-home-banner__title{
    animation-delay: 0.3s;
}

.lm-home-banner__subtitle{
    animation-delay: 0.5s;
}

/* Кнопка — отдельно */
.lm-home-banner__btn{
    opacity: 0;
    animation: lmBannerFadeUp 0.8s ease forwards;
    animation-delay: 0.7s;
    will-change: opacity, transform;
}

/* Hover кнопки — отдельным правилом после анимации */
.lm-home-banner__btn:hover{
    background: #222222 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 28px rgba(17, 17, 17, 0.18) !important;
}

@keyframes lmBannerFadeUp{
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   LIDAMED — Footer Partners (FINAL CLEAN)
   ========================================================= */

.lm-footer-partners{
    padding: 2px 0 2px;
    margin: 0;
    overflow: hidden;
}

.lm-footer-partners .container{
    overflow: hidden;
}

.lm-footer-partners__viewport{
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.lm-footer-partners__track{
    display: flex;
    align-items: flex-start;
    width: max-content;
    margin: 0;
    animation: lmFooterPartnersMarquee 120s linear infinite;
    will-change: transform;
}

.lm-footer-partners__group{
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
}

.lm-footer-partners__item{
    flex: 0 0 auto;
    width: 200px;
    height: 200px;
    margin-right: 2px;
    padding: 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #d9d9d9;
}

.lm-footer-partners__logo{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.9;
    transform: scale(1);
    transform-origin: center center;
    transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.lm-footer-partners__item:hover .lm-footer-partners__logo{
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.02);
}

.lm-footer-partners + footer,
.lm-footer-partners + .site-footer{
    margin-top: 0;
}

@keyframes lmFooterPartnersMarquee{
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px){
    .lm-footer-partners{
        padding: 2px 0 2px;
    }

    .lm-footer-partners__item{
        width: 120px;
        height: 120px;
        margin-right: 12px;
        padding: 3px;
    }
}
/* =========================================================
   LIDAMED — FOOTER FINAL CLEAN v3
   Карусель сохранена, футер собран под новую фоновую картинку
   ========================================================= */

.lm-footer{
    position: relative;
    margin-top: 64px;
    overflow: hidden;
    color: #4f4a46;
    background-color: #f5efe8;
    background-image: url('/wp-content/themes/lidamed/assets/img/footer-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 55%;
    padding-top: 10px;
    padding-bottom: 0;
    border-top: 1px solid rgba(193, 158, 101, 0.20);
}

.lm-footer::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background: linear-gradient(
        to bottom,
        rgba(245,239,232,0.50) 0%,
        rgba(245,239,232,0.60) 40%,
        rgba(245,239,232,0.70) 100%
    );
}

.lm-footer::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        url('/wp-content/themes/lidamed/assets/img/footer-ornament-top-right.png') top right / 420px auto no-repeat,
        url('/wp-content/themes/lidamed/assets/img/footer-ornament-side-right.png') center right / 180px auto no-repeat;
    opacity: 0.18;
}

.lm-footer > *,
.lm-footer .container,
.lm-footer .lm-container{
    position: relative;
    z-index: 2;
}

.lm-footer__inner{
    display: grid;
    grid-template-columns: 270px 230px 320px 0;
    justify-content: center;
    column-gap: 54px;
    align-items: start;
    min-height: 470px;
    padding: 24px 0 14px;
    margin-left: 220px;
}

.lm-footer__left,
.lm-footer__right,
.lm-footer__col{
    align-self: start;
}

.lm-footer__left,
.lm-footer__col{
    min-width: 0;
}

.lm-footer__left{
    padding-right: 0;
}

.lm-footer__right{
    display: none;
}

.lm-footer__contacts-title,
.lm-footer__title{
    margin: 8px 0 18px;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    color: #6f6457;
    letter-spacing: 0.02em;
}

.lm-footer__title::after,
.lm-footer__contacts-title::after{
    content: "";
    display: block;

    width: 110px;
    height: 3px;

    margin-top: 14px;

    background: linear-gradient(
        90deg,
        #d8b680 0%,
        #b98d52 100%
    );

    border-radius: 999px;
}

.lm-footer__contacts{
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lm-footer__contact-item{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 26px;
    font-size: 16px;
    line-height: 1.45;
    color: #4f4a46;
}

.lm-footer__contact-lines{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.lm-footer__contact-icon{
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b98d52;
}

.lm-footer__contact-icon svg{
    display: block;
    width: 22px;
    height: 22px;
}

.lm-footer__contact-link,
.lm-footer__contact-text{
    color: #4f4a46;
    text-decoration: none;
    white-space: nowrap;
}

.lm-footer__contact-link:hover{
    color: #9f723d;
}

.lm-footer__contact-note{
    margin-left: 0;
    color: #7c746d;
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
}

.lm-footer__col{
    position: relative;
    padding-left: 0;
}

.lm-footer__col--info,
.lm-footer__col--legal{
    margin-left: 0;
    margin-right: 0;
}

.lm-footer__col::before{
    display: none;
}

.lm-footer__menu{
    list-style: none;
    margin: 0;
    padding: 0;
}

.lm-footer__menu li + li{
    margin-top: 14px;
}

.lm-footer__menu a{
    position: relative;
    display: block;
    padding-left: 18px;
    color: #4f545c;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.55;
    transition: color .2s ease, transform .2s ease;
}

.lm-footer__menu a::before{
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: #c79d60;
    font-size: 24px;
    line-height: 1;
}

.lm-footer__menu a:hover{
    color: #9f723d;
    transform: translateX(2px);
}

.lm-footer__socials,
.lm-footer__brand-bottom,
.lm-footer__flower,
.lm-footer__brand-title,
.lm-footer__brand-sub,
.lm-footer__brand,
.lm-footer__bottom-note{
    display: none;
}

.lm-footer__bottom{
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 14px 0;
    border-top: 1px solid rgba(193, 158, 101, 0.22);
    background: linear-gradient(180deg, rgba(233,221,202,0.88) 0%, rgba(220,204,180,0.94) 100%);
}

.lm-footer__bottom-inner{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 24px;
}

.lm-footer__copyright,
.lm-footer__note{
    font-size: 12px;
    line-height: 1.2;
    color: #3f362c;
    white-space: nowrap;
}

.lm-footer__copyright{
    text-align: left;
}

.lm-footer__note{
    text-align: right;
}

@media (max-width: 1280px){
    .lm-footer__inner{
        grid-template-columns: 250px 220px 290px 0;
        column-gap: 34px;
        margin-left: 80px;
    }
}

@media (max-width: 1100px){
    .lm-footer__inner{
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 24px;
        margin-left: 0;
        min-height: auto;
    }
}

@media (max-width: 767px){
    .lm-footer{
        margin-top: 46px;
        background-position: center bottom;
        padding-top: 18px;
    }

    .lm-footer::after{
        background:
            url('/wp-content/themes/lidamed/assets/img/footer-ornament-top-right.png') top right / 240px auto no-repeat;
        opacity: 0.14;
    }

    .lm-footer__inner{
        grid-template-columns: 1fr;
        row-gap: 26px;
        padding: 12px 0 16px;
        margin-left: 0;
    }

    .lm-footer__left,
.lm-footer__col{
        padding-left: 0;
        padding-right: 0;
    }

    .lm-footer__contacts-title,
.lm-footer__title{
        margin-top: 0;
    }

    .lm-footer__bottom-inner{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lm-footer__copyright,
.lm-footer__note{
        text-align: left;
        white-space: normal;
    }
}

/* =========================================================
   LIDAMED — POPUP SYSTEM
   Строгий медицинский popup: форма + мессенджеры
   ========================================================= */

body.lm-popup-open{
    overflow: hidden;
}

.lm-popup-overlay{
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(22, 27, 34, 0.46);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}

.lm-popup-overlay.is-active{
    opacity: 1;
    visibility: visible;
}

.lm-popup{
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 9999;
    width: min(680px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    transform: translate(-50%, -48%) scale(.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(20, 30, 40, 0.22);
}

.lm-popup.is-active{
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.lm-popup__close{
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f1f4f7;
    color: #2f3a43;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    z-index: 3;
}

.lm-popup__close:hover{
    background: #e8edf2;
    transform: scale(1.04);
}

.lm-popup__status{
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 72px 22px 24px;
    border-bottom: 1px solid rgba(36, 46, 56, 0.08);
    background: linear-gradient(180deg, #fbfcfd 0%, #f7f9fb 100%);
    border-radius: 28px 28px 0 0;
}

.lm-popup__status-dot{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
    flex: 0 0 12px;
    background: #28a745;
    box-shadow: 0 0 0 7px rgba(40, 167, 69, 0.10);
}

.lm-popup__status.is-closed .lm-popup__status-dot{
    background: #d96b53;
    box-shadow: 0 0 0 7px rgba(217, 107, 83, 0.10);
}

.lm-popup__status-title{
    margin: 0 0 3px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: #1f2b37;
}

.lm-popup__status-subtitle,
.lm-popup__status-meta{
    font-size: 13px;
    line-height: 1.45;
    color: #677684;
}

.lm-popup__body{
    padding: 26px 24px 26px;
}

.lm-popup__context{
    margin-bottom: 22px;
}

.lm-popup__context-label{
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8794a1;
}

.lm-popup__context-title,
.lm-popup__heading{
    margin: 0;
    font-size: 26px;
    line-height: 1.18;
    font-weight: 700;
    color: #202b35;
}

.lm-popup-form__row{
    margin-bottom: 14px;
}

.lm-popup-form__row--half{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.lm-popup-form__field label{
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    color: #41505c;
}

.lm-popup-form__field label span{
    color: #a93e3e;
}

.lm-popup-form__field input,
.lm-popup-form__field textarea{
    width: 100%;
    border: 1px solid rgba(49, 62, 74, 0.09);
    border-radius: 14px;
    background: #f7f9fb;
    color: #202b35;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.lm-popup-form__field input:focus,
.lm-popup-form__field textarea:focus{
    outline: none;
    background: #fff;
    border-color: rgba(49, 62, 74, 0.22);
    box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.09);
}

.lm-popup-form__field textarea{
    min-height: 118px;
    resize: vertical;
}

.lm-popup-form__checkbox{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #56636f;
    cursor: pointer;
}

.lm-popup-form__checkbox input{
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #29333c;
    flex: 0 0 18px;
}

.lm-popup-form__checkbox a,
.lm-popup__policy a{
    color: #26333f;
    text-decoration: underline;
}

.lm-popup-form__actions{
    margin-top: 22px;
}

.lm-popup-form__submit{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    width: 100%;
    padding: 0 22px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #313a43 0%, #232b33 100%);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    box-shadow: 0 18px 36px rgba(26, 34, 44, 0.18);
}

.lm-popup-form__submit:hover{
    transform: translateY(-1px);
    box-shadow: 0 20px 38px rgba(26, 34, 44, 0.20);
}

.lm-popup-form__submit:disabled{
    opacity: .72;
    cursor: wait;
    transform: none;
}

.lm-popup-form__message{
    display: none;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.lm-popup-form__message.is-visible{
    display: block;
}

.lm-popup-form__message.is-success{
    background: rgba(40, 167, 69, 0.08);
    color: #22603a;
}

.lm-popup-form__message.is-error{
    background: rgba(196, 69, 69, 0.08);
    color: #8f2f2f;
}

.lm-popup-form__honeypot{
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.lm-messenger-wrap--popup{
    margin-top: 22px;
}

.lm-messenger-grid--vertical{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lm-popup .lm-messenger-card{
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 78px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(36, 46, 56, 0.09);
    box-shadow: 0 10px 28px rgba(20, 30, 40, 0.06);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.lm-popup .lm-messenger-card:hover{
    transform: translateY(-1px);
    border-color: rgba(36, 46, 56, 0.14);
    box-shadow: 0 14px 32px rgba(20, 30, 40, 0.09);
}

.lm-popup .lm-messenger-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex: 0 0 48px;
    background: linear-gradient(180deg, #3b4650 0%, #29333c 100%);
}

.lm-popup .lm-messenger-icon svg{
    width: 22px;
    height: 22px;
    display: block;
    fill: #fff;
}

.lm-popup .lm-messenger-text{
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.lm-popup .lm-messenger-title{
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: #202b35;
}

.lm-popup .lm-messenger-subtitle{
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.35;
    color: #667482;
}

.lm-popup__chat-note,
.lm-popup__policy{
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.5;
    color: #697783;
}

@media (max-width: 767px){
    .lm-popup{
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
        border-radius: 22px;
    }

    .lm-popup__status{
        padding: 18px 56px 18px 18px;
        border-radius: 22px 22px 0 0;
    }

    .lm-popup__body{
        padding: 20px 16px 20px;
    }

    .lm-popup__context-title,
.lm-popup__heading{
        font-size: 22px;
    }

    .lm-popup-form__row--half{
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lm-popup-form__field input,
.lm-popup-form__field textarea{
        font-size: 16px;
    }

    .lm-popup .lm-messenger-card{
        min-height: 72px;
        padding: 14px 16px;
    }
}

/* =========================================================
   LIDAMED — КНОПКИ CTA: одинаковая ширина, овальная форма,
   центрирование и премиальные hover-эффекты
   ========================================================= */

.lm-dual-buttons{
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.lm-dual-buttons a{
    position: relative;
    overflow: hidden;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 220px;
    height: 52px;
    padding: 0 28px;

    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

/* мягкий блик */
.lm-dual-buttons a::after{
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.22) 50%,
        rgba(255,255,255,0) 100%
    );
    transition: left 0.55s ease;
    pointer-events: none;
}

/* кнопка записи */
.lm-btn-primary{
    background: #2b2b2b;
    color: #fff;
    box-shadow: 0 8px 22px rgba(43, 43, 43, 0.16);
}

/* кнопка вопроса */
.lm-btn-secondary{
    background: #f4f5f7;
    color: #2b2b2b;
    border: 1px solid rgba(43, 43, 43, 0.08);
    box-shadow: 0 8px 22px rgba(43, 43, 43, 0.06);
}

/* hover */
.lm-dual-buttons a:hover{
    transform: translateY(-2px);
}

.lm-dual-buttons a:hover::after{
    left: 135%;
}

.lm-btn-primary:hover{
    background: #353535;
    box-shadow: 0 12px 28px rgba(43, 43, 43, 0.22);
}

.lm-btn-secondary:hover{
    background: #ffffff;
    color: #111;
    border-color: rgba(43, 43, 43, 0.14);
    box-shadow: 0 12px 28px rgba(43, 43, 43, 0.10);
}

/* active */
.lm-dual-buttons a:active{
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(43, 43, 43, 0.10);
}

.lm-btn-secondary{
    background: #ffffff;
    color: #2b2b2b;
    border: 1px solid rgba(43, 43, 43, 0.10);
    box-shadow: 0 8px 22px rgba(43, 43, 43, 0.06);
}

/* =========================================================
   LIDAMED — POPUP CHAT BUTTONS
   Кнопки "Получить консультацию" с hover-эффектами
   ========================================================= */

.lm-popup-chat-btn{
    position: relative;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
    will-change: transform;
}

.lm-popup-chat-btn::after{
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.22) 50%,
        rgba(255,255,255,0) 100%
    );
    transition: left 0.55s ease;
    pointer-events: none;
}

.lm-popup-chat-btn:hover{
    transform: translateY(-2px);
}

.lm-popup-chat-btn:hover::after{
    left: 135%;
}

.lm-popup-chat-btn:active{
    transform: translateY(0);
}

/* hero button */
.lm-home-hero__button.lm-popup-chat-btn:hover{
    box-shadow: 0 14px 30px rgba(43, 43, 43, 0.16);
}

/* intro card button */
.lm-lux-intro__btn.lm-popup-chat-btn:hover{
    box-shadow: 0 14px 30px rgba(43, 43, 43, 0.14);
}


/* =========================================================
   LIDAMED — POPUP MESSENGERS FINAL
   Только для popup, не трогает главную
   ========================================================= */

.lm-popup .lm-messenger-grid{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lm-popup .lm-messenger-card{
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 14px 18px;
    border-radius: 18px;
    text-decoration: none;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(0,0,0,0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.lm-popup .lm-messenger-card::after{
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 72%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.22) 48%,
        rgba(255,255,255,0) 100%
    );
    transition: left 0.65s ease;
    pointer-events: none;
}

.lm-popup .lm-messenger-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.14);
    filter: saturate(1.03);
}

.lm-popup .lm-messenger-card:hover::after{
    left: 140%;
}

.lm-popup .lm-messenger-card:active{
    transform: translateY(0);
}

/* MAX — чистый фирменный */
.lm-popup .lm-messenger-card.max{
    background: linear-gradient(135deg, #3a4458 0%, #5f6d86 100%) !important;
}

/* WhatsApp — чистый зелёный */
.lm-popup .lm-messenger-card.whatsapp{
    background: #25D366 !important;
}

/* Telegram — чистый синий */
.lm-popup .lm-messenger-card.telegram{
    background: #229ED9 !important;
}

/* общий каркас квадрата */
.lm-popup .lm-messenger-icon{
    border-radius: 14px !important;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.22),
        inset 0 -2px 0 rgba(0,0,0,0.10),
        0 8px 18px rgba(0,0,0,0.18) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
}

/* MAX — нормальный фирменный (без грязи) */
.lm-popup .lm-messenger-card.max{
    background: linear-gradient(135deg, #3E4A63 0%, #6C7A96 100%) !important;
}

.lm-popup .lm-messenger-card.max .lm-messenger-icon{
    background: linear-gradient(180deg, #2F384A 0%, #5A6A88 100%) !important;
}

/* WhatsApp */
.lm-popup .lm-messenger-card.whatsapp .lm-messenger-icon{
    background: linear-gradient(180deg, #1fa851 0%, #25D366 100%) !important;
}

/* Telegram */
.lm-popup .lm-messenger-card.telegram .lm-messenger-icon{
    background: linear-gradient(180deg, #1d8ed0 0%, #229ED9 100%) !important;
}

.lm-popup .lm-messenger-icon svg{
    width: 22px;
    height: 22px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}

/* Текст */
.lm-popup .lm-messenger-text{
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.lm-popup .lm-messenger-title,
.lm-popup .lm-messenger-subtitle{
    color: #fff !important;
}

.lm-popup .lm-messenger-title{
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
}

.lm-popup .lm-messenger-subtitle{
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    color: rgba(255,255,255,0.85) !important;
}

@media (max-width: 767px){
    .lm-popup .lm-messenger-card{
        min-height: 66px;
        padding: 12px 14px;
        border-radius: 16px;
    }

    .lm-popup .lm-messenger-icon{
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        border-radius: 12px !important;
    }

    .lm-popup .lm-messenger-icon svg{
        width: 20px;
        height: 20px;
    }

    .lm-popup .lm-messenger-title{
        font-size: 16px;
    }

    .lm-popup .lm-messenger-subtitle{
        font-size: 12px;
    }
}

.lm-popup .lm-popup-footer,
.lm-popup .lm-popup-policy{
    font-size: 12px;
    color: #8e949c;
    line-height: 1.4;
}

.lm-popup .lm-popup-policy a{
    color: #8e949c;
    text-decoration: underline;
}

/* =========================================================
   LIDAMED — POPUP MESSENGERS FINAL REAL COLORS
   Берём реальные цвета из главной, но только для popup
   ========================================================= */

.lm-popup .lm-messenger-card{
    color: #fff !important;
}

/* реальные цвета с главной */
.lm-popup .lm-messenger-card.max{
    background: linear-gradient(135deg, #7b61ff 0%, #5b43de 100%) !important;
}

.lm-popup .lm-messenger-card.whatsapp{
    background: linear-gradient(135deg, #29c76f 0%, #18a957 100%) !important;
}

.lm-popup .lm-messenger-card.telegram{
    background: linear-gradient(135deg, #2ea5ff 0%, #1786df 100%) !important;
}

/* квадратики в цвет своих кнопок */
.lm-popup .lm-messenger-card.max .lm-messenger-icon{
    background: linear-gradient(180deg, #6d57ea 0%, #523bcf 100%) !important;
}

.lm-popup .lm-messenger-card.whatsapp .lm-messenger-icon{
    background: linear-gradient(180deg, #24bb69 0%, #169a4f 100%) !important;
}

.lm-popup .lm-messenger-card.telegram .lm-messenger-icon{
    background: linear-gradient(180deg, #299cf2 0%, #147bd1 100%) !important;
}

/* текст белый */
.lm-popup .lm-messenger-title,
.lm-popup .lm-messenger-subtitle{
    color: #fff !important;
}

/* нижняя подпись помельче и серее */
.lm-popup__policy{
    font-size: 12px !important;
    line-height: 1.45 !important;
    color: #8d939b !important;
}

.lm-popup__policy a{
    color: #8d939b !important;
}

/* =========================================================
   LIDAMED — Turnstile spacing fix
   ========================================================= */

.cf-turnstile{
    margin: 10px 0 16px;
}

/* =========================================================
   LIDAMED — Form validation UI
   ========================================================= */

input.is-valid,
textarea.is-valid{
    border-color: #27ae60 !important;
}

input.is-invalid,
textarea.is-invalid{
    border-color: #e74c3c !important;
}

/* =========================================================
   LIDAMED — Premium form feel (Apple style)
   ========================================================= */

input,
textarea{
    transition: 
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.15s ease;
}

/* ===== FOCUS (когда человек вводит) ===== */
input:focus,
textarea:focus{
    border-color: #999;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
    outline: none;
}

/* ===== VALID ===== */
input.is-valid,
textarea.is-valid{
    border-color: #27ae60 !important;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.15);
    transform: translateY(-1px);
}

/* ===== INVALID ===== */
input.is-invalid,
textarea.is-invalid{
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

/* ===== ЛЁГКАЯ АНИМАЦИЯ ПОЯВЛЕНИЯ ===== */
input.is-valid,
input.is-invalid,
textarea.is-valid,
textarea.is-invalid{
    animation: lmFieldFade 0.25s ease;
}

@keyframes lmFieldFade{
    from {
        opacity: 0.6;
        transform: translateY(1px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* =========================================================
   ЛИДАМЕД — АРХИВ АКЦИЙ — ФИНАЛ
   ========================================================= */

.post-type-archive-aktsii .lm-archive-head__text{
    max-width:1000px !important;
}

.post-type-archive-aktsii .lm-aktsii-tabs{
    display:flex;
    gap:12px;
    margin-top:18px;
    margin-bottom:6px;
}

.post-type-archive-aktsii .lm-aktsii-tab{
    min-height:42px;
    padding:0 18px;
    border:1px solid rgba(0,0,0,0.08);
    border-radius:999px;
    background:#fff;
    color:#1f1f1f;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    box-shadow:0 8px 24px rgba(0,0,0,0.04);
    transition:all .2s ease;
}

.post-type-archive-aktsii .lm-aktsii-tab:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 28px rgba(0,0,0,0.06);
}

.post-type-archive-aktsii .lm-aktsii-tab.is-active{
    background:#111;
    color:#fff;
    border-color:#111;
}

.post-type-archive-aktsii .lm-aktsii-panel{
    display:none;
}

.post-type-archive-aktsii .lm-aktsii-panel.is-active{
    display:block;
}

.post-type-archive-aktsii .lm-home-promotions__grid,
.post-type-archive-aktsii .lm-promos-grid,
.post-type-archive-aktsii .lm-aktsii-grid{
    display:flex !important;
    flex-direction:column !important;
    gap:18px !important;
}

.post-type-archive-aktsii .lm-home-promotions__card{
    display:grid !important;
    grid-template-columns:240px minmax(0, 1fr) !important;
    gap:20px !important;
    align-items:stretch !important;

    padding:18px !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:0 8px 24px rgba(0,0,0,0.05) !important;
    overflow:hidden !important;
}

.post-type-archive-aktsii .lm-home-promotions__card.is-hidden-archive-card{
    display:none !important;
}

.post-type-archive-aktsii .lm-home-promotions__image{
    width:100% !important;
    height:190px !important;
    min-height:190px !important;
    border-radius:16px !important;
    overflow:hidden !important;
    align-self:start !important;
}

.post-type-archive-aktsii .lm-home-promotions__image a,
.post-type-archive-aktsii .lm-home-promotions__image img,
.post-type-archive-aktsii .lm-home-promotions__image .wp-post-image{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
}

.post-type-archive-aktsii .lm-home-promotions__body{
    display:flex !important;
    flex-direction:column !important;
    min-width:0 !important;
    height:100% !important;
    position:relative !important;
    padding-bottom:0 !important;
}

.post-type-archive-aktsii .lm-home-promotions__top{
    display:block !important;
    margin-bottom:10px !important;
    padding-right:205px !important;
}

.post-type-archive-aktsii .lm-home-promotions__title{
    margin:0 0 6px !important;
    font-size:20px !important;
    line-height:1.22 !important;
    font-weight:700 !important;
    color:#161616 !important;
}

.post-type-archive-aktsii .lm-home-promotions__title a{
    color:inherit !important;
    text-decoration:none !important;
}

.post-type-archive-aktsii .lm-home-promotions__date{
    margin:0 !important;
    font-size:13px !important;
    line-height:1.4 !important;
    color:#7a7a7a !important;
}

.post-type-archive-aktsii .lm-home-promotions__bottom{
    display:block !important;
    margin-top:0 !important;
    flex:1 1 auto !important;
}

.post-type-archive-aktsii .lm-home-promotions__summary{
    font-size:14px !important;
    line-height:1.5 !important;
    color:#444 !important;

    display:-webkit-box !important;
    -webkit-line-clamp:6 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;

    padding-right:205px !important;
}

.post-type-archive-aktsii .lm-home-promotions__price-col{
    position:absolute !important;
    top:34px !important;
    right:0 !important;
    width:190px !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:12px !important;
}

.post-type-archive-aktsii .lm-home-promotions__archive-label{
    width:190px !important;
    min-width:190px !important;
    margin:0 0 6px 0 !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    min-height:24px !important;
    padding:0 10px !important;
    border-radius:999px !important;
    background:#f1ecef !important;
    color:#6e6169 !important;
    font-size:11px !important;
    font-weight:700 !important;
    letter-spacing:0.06em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
}

.post-type-archive-aktsii .lm-home-promotions__price-badge{
    width:190px !important;
    min-width:190px !important;
    flex:none !important;

    background:#f6f4f5 !important;
    border-radius:14px !important;
    padding:14px 14px !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:flex-end !important;
    position:relative !important;
    overflow:hidden !important;
}

.post-type-archive-aktsii .lm-home-promotions__price-row{
    display:flex !important;
    justify-content:center !important;
    align-items:baseline !important;
    gap:10px !important;
    width:100% !important;
    position:relative !important;
    z-index:2 !important;
    text-align:center !important;
}

.post-type-archive-aktsii .lm-old{
    font-size:13px !important;
    line-height:1 !important;
    color:#9b9b9b !important;
    text-decoration:line-through !important;
    white-space:nowrap !important;
}

.post-type-archive-aktsii .lm-new{
    font-size:22px !important;
    line-height:1 !important;
    font-weight:700 !important;
    color:#111 !important;
    white-space:nowrap !important;
}

.post-type-archive-aktsii .lm-benefit{
    margin-top:6px !important;
    padding-top:5px !important;
    width:100% !important;
    border-top:1px solid #e2e2e2 !important;
    text-align:center !important;
    font-size:12px !important;
    line-height:1.3 !important;
    color:#6d6d6d !important;
    white-space:nowrap !important;
    position:relative !important;
    z-index:2 !important;
}

.post-type-archive-aktsii .is-archive-badge{
    opacity:.72 !important;
}

.post-type-archive-aktsii .is-archive-badge::before,
.post-type-archive-aktsii .is-archive-badge::after{
    content:"" !important;
    position:absolute !important;
    left:14px !important;
    right:14px !important;
    top:50% !important;
    height:3px !important;
    background:rgba(120,120,120,.28) !important;
    transform-origin:center !important;
    z-index:1 !important;
    border-radius:999px !important;
}

.post-type-archive-aktsii .is-archive-badge::before{
    transform:rotate(16deg) !important;
}

.post-type-archive-aktsii .is-archive-badge::after{
    transform:rotate(-16deg) !important;
}

.post-type-archive-aktsii .lm-home-promotions__button{
    position:static !important;
    margin-top:0 !important;
    align-self:stretch !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    min-height:38px !important;
    padding:0 18px !important;
    border-radius:999px !important;
    background:#111 !important;
    color:#fff !important;
    text-decoration:none !important;
    font-size:13px !important;
    font-weight:600 !important;
    transition:opacity .2s ease, transform .2s ease !important;
}

.post-type-archive-aktsii .lm-home-promotions__button:hover{
    opacity:.92 !important;
    transform:translateY(-1px) !important;
}

.post-type-archive-aktsii .lm-aktsii-more-wrap{
    margin-top:18px;
    text-align:center;
}

.post-type-archive-aktsii .lm-aktsii-more-button{
    min-height:42px;
    padding:0 20px;
    border:1px solid rgba(0,0,0,0.08);
    border-radius:999px;
    background:#fff;
    color:#1f1f1f;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    box-shadow:0 8px 24px rgba(0,0,0,0.04);
    transition:all .2s ease;
}

.post-type-archive-aktsii .lm-aktsii-more-button:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 28px rgba(0,0,0,0.06);
}

@media (max-width:900px){
    .post-type-archive-aktsii .lm-home-promotions__card{
        grid-template-columns:1fr !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__image{
        min-height:220px !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__top{
        padding-right:0 !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__summary{
        padding-right:0 !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__price-col{
        position:static !important;
        width:100% !important;
        margin-top:12px !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__archive-label{
        width:100% !important;
        min-width:0 !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__price-badge{
        width:100% !important;
        min-width:0 !important;
        flex:none !important;
        align-items:flex-start !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__price-row{
        justify-content:flex-start !important;
    }

    .post-type-archive-aktsii .lm-benefit{
        text-align:left !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__button{
        align-self:flex-start !important;
    }

    .post-type-archive-aktsii .lm-aktsii-tabs{
        flex-wrap:wrap;
    }
}

/* =========================================================
   ЛИДАМЕД — КОРРЕКТОР АРХИВНОЙ МЕТКИ И ПРАВОЙ КОЛОНКИ
   ========================================================= */

.post-type-archive-aktsii .lm-home-promotions__card.is-hidden-archive-card{
    display:none !important;
}

.post-type-archive-aktsii .lm-home-promotions__top{
    position:relative !important;
    padding-right:205px !important;
    min-height:52px !important;
}

.post-type-archive-aktsii .lm-home-promotions__archive-label{
    position:absolute !important;
    top:0 !important;
    right:0 !important;

    width:190px !important;
    min-width:190px !important;
    margin:0 !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    min-height:24px !important;
    padding:0 10px !important;
    border-radius:999px !important;
    background:#f1ecef !important;
    color:#6e6169 !important;
    font-size:11px !important;
    font-weight:700 !important;
    letter-spacing:0.06em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
    z-index:3 !important;
}

.post-type-archive-aktsii .lm-home-promotions__price-col{
    position:absolute !important;
    top:34px !important;
    right:0 !important;
    width:190px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
}

.post-type-archive-aktsii .lm-home-promotions__price-badge{
    width:190px !important;
    min-width:190px !important;
}

.post-type-archive-aktsii .lm-home-promotions__summary{
    padding-right:205px !important;
}

.post-type-archive-aktsii .lm-home-promotions__button{
    position:relative !important;
    z-index:2 !important;
}

@media (max-width:900px){
    .post-type-archive-aktsii .lm-home-promotions__top{
        padding-right:0 !important;
        min-height:auto !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__archive-label{
        position:static !important;
        width:100% !important;
        min-width:0 !important;
        margin:0 0 8px 0 !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__price-col{
        position:static !important;
        top:auto !important;
        right:auto !important;
        width:100% !important;
        margin-top:12px !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__summary{
        padding-right:0 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — SEGMENT SWITCH АКЦИЙ
   ========================================================= */

.post-type-archive-aktsii .lm-archive-head__row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-top:10px;
}

.post-type-archive-aktsii .lm-archive-head__text{
    max-width:none !important;
    margin:0 !important;
    flex:1 1 auto;
}

.post-type-archive-aktsii .lm-aktsii-tabs{
    display:none !important;
}

/* новый переключатель */
.post-type-archive-aktsii .lm-aktsii-switch{
    position:relative;
    flex:0 0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    width:250px;
    height:42px;
    padding:4px;

    background:#f3f1f2;
    border-radius:999px;
    box-shadow:inset 0 0 0 1px rgba(0,0,0,0.04);
}

.post-type-archive-aktsii .lm-aktsii-switch__slider{
    position:absolute;
    top:4px;
    left:4px;
    width:calc(50% - 4px);
    height:34px;

    background:#111;
    border-radius:999px;
    box-shadow:0 8px 18px rgba(0,0,0,0.12);
    transition:transform .28s ease;
    z-index:1;
}

.post-type-archive-aktsii .lm-aktsii-switch__item{
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;
    justify-content:center;

    border:0;
    background:transparent;
    cursor:pointer;

    font-size:13px;
    font-weight:600;
    color:#5f5a5d;
    transition:color .2s ease;
}

.post-type-archive-aktsii .lm-aktsii-switch__item.is-active{
    color:#fff;
}

.post-type-archive-aktsii .lm-aktsii-switch__item:not(.is-active):hover{
    color:#1f1f1f;
}

@media (max-width:900px){
    .post-type-archive-aktsii .lm-archive-head__row{
        flex-direction:column;
        align-items:flex-start;
        gap:14px;
    }

    .post-type-archive-aktsii .lm-aktsii-switch{
        width:100%;
        max-width:260px;
    }
}


/* =========================================================
   LIDAMED — SINGLE AKTSII HERO LIKE USLUGI
   Сингл акции по каркасу single-uslugi
   ========================================================= */

.lm-promo-service-entry.is-archived{
    opacity: 0.96;
}

.lm-promo-hero{
    position: relative;
}

.lm-promo-hero.is-archived .lm-service-hero__media img,
.lm-promo-hero.is-archived .lm-service-hero__media-placeholder{
    filter: grayscale(18%);
    opacity: 0.88;
}

.lm-promo-hero__media{
    position: relative;
}

.lm-promo-hero__archive-badge{
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(34, 34, 34, 0.88);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.lm-promo-hero__announcement p:last-child{
    margin-bottom: 0;
}

.lm-promo-price-panel{
    padding-top: 12px;
    padding-bottom: 12px;
}

.lm-promo-price-panel__line{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lm-promo-price-panel__prices{
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
    flex-wrap: wrap;
}

.lm-promo-price-panel__old{
    font-size: 18px;
    line-height: 1.2;
    color: #9b9b9b;
    text-decoration: line-through;
    white-space: nowrap;
}

.lm-promo-price-panel__new{
    font-size: 42px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1f1f1f;
    white-space: nowrap;
}

.lm-promo-price-panel__discount{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #1f1f1f;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 0 auto;
}

.lm-promo-price-panel__status{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 1.45;
    color: #7a7a7a;
    text-align: center;
}

.lm-promo-price-panel__status-sep{
    color: #b4b4b4;
}

.lm-promo-info-card .lm-service-description > *:first-child{
    margin-top: 0;
}

.lm-promo-info-card .lm-service-description > *:last-child{
    margin-bottom: 0;
}

.lm-promo-info-card .lm-service-description ul,
.lm-promo-info-card .lm-service-description ol{
    padding-left: 22px;
}

.lm-promo-info-card .lm-service-description li + li{
    margin-top: 6px;
}

@media (max-width: 1199px){
    .lm-promo-price-panel__new{
        font-size: 36px;
    }
}

@media (max-width: 767px){
    .lm-promo-hero__archive-badge{
        top: 14px;
        left: 14px;
        min-height: 32px;
        padding: 0 12px;
        font-size: 12px;
    }

    .lm-promo-price-panel__line{
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .lm-promo-price-panel__prices{
        gap: 10px;
    }

    .lm-promo-price-panel__old{
        font-size: 16px;
    }

    .lm-promo-price-panel__new{
        font-size: 32px;
    }

    .lm-promo-price-panel__discount{
        min-height: 30px;
        font-size: 12px;
    }

    .lm-promo-price-panel__status{
        justify-content: flex-start;
        text-align: left;
        font-size: 12px;
    }
}

/* =========================================================
   LIDAMED — Hide reCAPTCHA badge
   ========================================================= */

.grecaptcha-badge{
    visibility: hidden !important;
}

/* =========================================================
   LIDAMED — reCAPTCHA footer note
   ========================================================= */

.lm-recaptcha-note{
    margin-top: 10px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

.lm-recaptcha-note a{
    color: #777;
    text-decoration: underline;
}

.lm-recaptcha-note a:hover{
    color: #444;
}

.lm-recaptcha-note{
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.2;
    color: rgba(70, 64, 58, 0.45);
    text-align: center;
}

.lm-recaptcha-note a{
    color: rgba(70, 64, 58, 0.55);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* =========================================================
   LIDAMED — reCAPTCHA footer note
   ========================================================= */

.grecaptcha-badge{
    visibility: hidden !important;
}

.lm-recaptcha-note{
    margin-top: -6px;
    margin-bottom: 2px;
    font-size: 9px;
    line-height: 1.1;
    color: rgba(70, 64, 58, 0.28);
    text-align: center;
}

.lm-recaptcha-note a{
    color: rgba(70, 64, 58, 0.35);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lm-recaptcha-note a:hover{
    color: rgba(70, 64, 58, 0.65);
}

.lm-recaptcha-note{
    margin-top: -10px;
    margin-bottom: 0;
    font-size: 8px;
    line-height: 1;
    color: rgba(70, 64, 58, 0.22);
}

/* =========================================================
   LIDAMED — POPUP FORM ADAPTIVE HEIGHT FIX
   Адаптация формы записи под ноутбуки и невысокие экраны
   ========================================================= */

@media (min-width: 768px) and (max-height: 900px){

    .lm-popup{
        width: min(620px, calc(100vw - 32px)) !important;
        max-height: calc(100vh - 12px) !important;
        overflow-y: auto !important;
        transform: translate(-50%, -50%) scale(.88) !important;
        transform-origin: center center !important;
    }

    .lm-popup.is-active{
        transform: translate(-50%, -50%) scale(.88) !important;
    }

    .lm-popup__status{
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .lm-popup__body{
        padding: 14px 22px 14px !important;
    }

    .lm-popup__context{
        margin-bottom: 8px !important;
    }

    .lm-popup__context-label{
        margin-bottom: 2px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .lm-popup__context-title,
.lm-popup__heading,
.lm-popup-form__choice-title{
        font-size: 22px !important;
        line-height: 1.08 !important;
        margin-bottom: 10px !important;
    }

    .lm-popup-form__row{
        margin-bottom: 7px !important;
    }

    .lm-popup-form__row--half{
        gap: 10px !important;
    }

    .lm-popup-form__field label{
        margin-bottom: 4px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .lm-popup-form__field input,
.lm-popup-form__field textarea{
        min-height: 38px !important;
        height: 38px !important;
        padding: 7px 13px !important;
        border-radius: 12px !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    .lm-popup-form__field textarea,
#lmPopupComment{
        height: 64px !important;
        min-height: 64px !important;
    }

    .lm-popup-form__required-note{
        margin-top: 2px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .cf-turnstile{
        margin: 4px 0 4px !important;
        transform: scale(.82) !important;
        transform-origin: left top !important;
    }
}

/* =========================================================
   LIDAMED — MOBILE WIDTH STABILIZER
   Фикс пляшущих подложек и горизонтального переполнения
   ========================================================= */

@media (max-width: 767px){

    html,
body{
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .site,
.site-main,
main,
section,
.container,
.lm-container,
.lm-home-section,
.lm-single-layout,
.lm-single-main{
        max-width: 100%;
        box-sizing: border-box;
    }

    .container,
.lm-container{
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    img,
video,
iframe,
table{
        max-width: 100%;
    }

    *{
        box-sizing: border-box;
    }
}

/* =========================================================
   LIDAMED — MOBILE SINGLE CONTAINER STANDARD
   Единые боковые поля на мобилке
   ========================================================= */

@media (max-width: 767px){

    body{
        overflow-x: hidden;
    }

    .container,
.lm-container{
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .lm-home-services,
.lm-home-promotions,
.lm-home-news,
.lm-home-reviews,
.lm-home-motivation,
.lm-home-contacts{
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .lm-home-services__grid,
.lm-home-services__card,
.lm-home-services__card-inner{
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .lm-home-services__grid{
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}


/* =========================================================
   LIDAMED — BREADCRUMBS / CONTENT GAP FIX
   Уменьшаем воздух между крошками и началом контента
   ========================================================= */

body:not(.home) .lm-breadcrumbs{
    padding-top: 8px !important;
    padding-bottom: 6px !important;
    margin-bottom: 0 !important;
}

body:not(.home) .lm-breadcrumbs + .site-main,
body:not(.home) .lm-breadcrumbs + main,
body:not(.home) .site-main,
body:not(.home) #primary{
    padding-top: 12px !important;
}

body:not(.home) .site-main > .container:first-child,
body:not(.home) #primary > .container:first-child{
    padding-top: 0 !important;
}

@media (max-width: 767px){
    body:not(.home) .lm-breadcrumbs{
        padding-top: 6px !important;
        padding-bottom: 5px !important;
    }

    body:not(.home) .site-main,
body:not(.home) #primary{
        padding-top: 12px !important;
    }
}

/* =========================================================
   LIDAMED — HEADER PREMIUM COMPACT REFINES
   Уменьшаем центр, меню и делаем активные пункты аккуратнее
   ========================================================= */

@media (min-width: 768px){

    .lm-header-center__title{
        font-size: 11px !important;
        line-height: 1.25 !important;
        font-weight: 600 !important;
        letter-spacing: .055em !important;
        color: #5f6470 !important;
    }

    .lm-header-license{
        margin-top: 4px !important;
        font-size: 10px !important;
        line-height: 1.25 !important;
        color: #8b8f98 !important;
        text-decoration: none !important;
    }

    .lm-header-license:hover{
        color: #5f6470 !important;
    }

    .lm-header-menu{
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }

    .lm-header-menu__inner{
        min-height: 34px !important;
    }

    .lm-nav{
        width: 100% !important;
    }

    .lm-menu{
        gap: 2px !important;
    }

    .lm-menu > li > a{
        position: relative !important;
        padding: 9px 11px !important;
        border-radius: 999px !important;
        font-size: 10.5px !important;
        line-height: 1.15 !important;
        font-weight: 700 !important;
        letter-spacing: .045em !important;
        text-transform: uppercase !important;
        color: #4f5562 !important;
        text-decoration: none !important;
        transition: color .18s ease, background .18s ease, box-shadow .18s ease;
    }

    .lm-menu > li > a::after{
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        bottom: 4px !important;
        width: 0 !important;
        height: 2px !important;
        border-radius: 999px !important;
        background: rgba(126, 106, 118, .42) !important;
        transform: translateX(-50%) !important;
        transition: width .18s ease, background .18s ease;
    }

    .lm-menu > li:hover > a{
        color: #1f2430 !important;
        background: rgba(126, 106, 118, .055) !important;
    }

    .lm-menu > li:hover > a::after{
        width: 18px !important;
    }

    .lm-menu > li.current-menu-item > a,
.lm-menu > li.current-menu-parent > a,
.lm-menu > li.current-menu-ancestor > a,
.lm-menu > li.current_page_item > a,
.lm-menu > li.current_page_parent > a,
.lm-menu > li.current_page_ancestor > a{
        color: #1f2430 !important;
        background: rgba(126, 106, 118, .075) !important;
        box-shadow: inset 0 0 0 1px rgba(126, 106, 118, .08) !important;
    }

    .lm-menu > li.current-menu-item > a::after,
.lm-menu > li.current-menu-parent > a::after,
.lm-menu > li.current-menu-ancestor > a::after,
.lm-menu > li.current_page_item > a::after,
.lm-menu > li.current_page_parent > a::after,
.lm-menu > li.current_page_ancestor > a::after{
        width: 20px !important;
        background: rgba(126, 106, 118, .55) !important;
    }
}

/* =========================================================
   LIDAMED — HEADER BITRIX-LIKE PREMIUM REFINES
   ========================================================= */

@media (min-width: 768px){

    .lm-header-center__title{
        font-size: 10px !important;
        line-height: 1.25 !important;
        font-weight: 600 !important;
        letter-spacing: .045em !important;
        color: #5f6570 !important;
        text-transform: uppercase !important;
    }

    .lm-header-license{
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 5px !important;
        padding: 5px 18px !important;
        min-height: 22px !important;
        border-radius: 999px !important;

        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 600 !important;
        letter-spacing: .025em !important;

        color: #9a5b82 !important;
        background: rgba(154, 91, 130, .075) !important;
        border: 1px solid rgba(154, 91, 130, .14) !important;
        box-shadow: 0 4px 14px rgba(154, 91, 130, .06) !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .lm-header-license:hover{
        color: #7c4568 !important;
        background: rgba(154, 91, 130, .11) !important;
        border-color: rgba(154, 91, 130, .22) !important;
    }

    .lm-header-menu{
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .lm-header-menu__inner{
        min-height: 28px !important;
        border-radius: 999px !important;
    }

    .lm-menu{
        gap: 1px !important;
    }

    .lm-menu > li > a{
        padding: 9px 12px !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        letter-spacing: .045em !important;
        color: #4d5360 !important;
        text-transform: uppercase !important;
        border-radius: 999px !important;
    }

    .lm-menu > li > a::after{
        display: none !important;
    }

    .lm-menu > li:hover > a{
        color: #2f3440 !important;
        background: rgba(154, 91, 130, .055) !important;
    }

    .lm-menu > li.current-menu-item > a,
.lm-menu > li.current-menu-parent > a,
.lm-menu > li.current-menu-ancestor > a,
.lm-menu > li.current_page_item > a,
.lm-menu > li.current_page_parent > a,
.lm-menu > li.current_page_ancestor > a{
        color: #ffffff !important;
        background: linear-gradient(135deg, #9b7c8e 0%, #7f6b78 100%) !important;
        box-shadow: 0 7px 18px rgba(126, 106, 118, .22) !important;
    }
}

/* =========================================================
   LIDAMED — HEADER CENTER (BITRIX STYLE)
   ========================================================= */

@media (min-width: 768px){

    .lm-header-center__title{
        font-size: 12px !important;
        line-height: 1.4 !important;
        font-weight: 400 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;

        color: #8c8f96 !important;

        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;

        white-space: nowrap !important;
    }

    /* Лицензия — как аккуратная подпись */
    .lm-header-license{
        margin-top: 4px !important;
        font-size: 11px !important;
        font-weight: 400 !important;
        color: #a2a6ad !important;

        background: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .lm-header-license:hover{
        color: #7f838a !important;
    }
}

/* =========================================================
   LIDAMED — HEADER CENTER ALIGNMENT TUNE
   ========================================================= */

@media (min-width: 768px){

    .lm-header-center{
        padding-top: 26px !important;
    }

    .lm-header-center__title{
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    .lm-header-license{
        margin-top: 5px !important;
        font-size: 11px !important;
    }
}

/* =========================================================
   LIDAMED — HEADER CENTER FINAL TUNE (ANTI-FLICKER)
   ========================================================= */

@media (min-width: 768px){

    /* Верхняя строка */
    .lm-header-center__title{
        font-size: 12.5px !important;
        line-height: 1.25 !important;
        font-weight: 500 !important;

        color: #6e6f73 !important;

        letter-spacing: .01em !important;
        text-transform: none !important;

        font-family: "Segoe UI", Roboto, Arial, sans-serif !important;

        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }

    /* Лицензия */
    .lm-header-license{
        margin-top: 2px !important;   /* было много — прижали */
        font-size: 11px !important;
        line-height: 1.2 !important;
        font-weight: 400 !important;

        color: #8a8d92 !important;

        letter-spacing: 0 !important;

        background: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}

/* =========================================================
   LIDAMED — HEADER LICENSE BADGE FINAL
   ========================================================= */

@media (min-width: 768px){

    .lm-header-license{
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin-top: 3px !important;
        padding: 4px 15px !important;
        min-height: 22px !important;

        border-radius: 999px !important;
        border: 1px solid rgba(126, 118, 126, .18) !important;
        background: rgba(126, 118, 126, .045) !important;
        box-shadow: 0 4px 12px rgba(126, 118, 126, .055) !important;

        color: #7a7d84 !important;
        font-size: 10.5px !important;
        line-height: 1 !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .lm-header-license:hover,
.lm-header-license:focus{
        color: #5f6064 !important;
        background: rgba(126, 118, 126, .075) !important;
        border-color: rgba(126, 118, 126, .26) !important;
        box-shadow: 0 6px 16px rgba(126, 118, 126, .09) !important;
    }
}

/* =========================================================
   LIDAMED — HEADER MENU PREMIUM UPGRADE
   ========================================================= */

@media (min-width: 768px){

    /* Размер меню */
    .lm-menu > li > a{
        position: relative !important;

        font-size: 11.5px !important;   /* было меньше — увеличили */
        font-weight: 600 !important;
        letter-spacing: .03em !important;

        padding: 10px 14px !important;

        color: #4d5360 !important;
        text-transform: uppercase !important;

        border-radius: 999px !important;

        transition: all .18s ease;
    }

    /* Ховер — мягкая подсветка */
    .lm-menu > li:hover > a{
        color: #2f3440 !important;
        background: rgba(0,0,0,.035) !important;
    }

    /* Подчеркивание (мягкое, не резкое) */
    .lm-menu > li > a::after{
        content: "";
        position: absolute;
        left: 50%;
        bottom: 5px;

        width: 0;
        height: 2px;

        background: #7f6b78;
        border-radius: 999px;

        transform: translateX(-50%);
        transition: width .2s ease;
    }

    .lm-menu > li:hover > a::after{
        width: 18px;
    }

    /* Активный пункт */
    .lm-menu > li.current-menu-item > a,
.lm-menu > li.current-menu-parent > a,
.lm-menu > li.current-menu-ancestor > a,
.lm-menu > li.current_page_item > a,
.lm-menu > li.current_page_parent > a,
.lm-menu > li.current_page_ancestor > a{

        color: #1f2430 !important;
        background: rgba(0,0,0,.045) !important;

        box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    }

    .lm-menu > li.current-menu-item > a::after,
.lm-menu > li.current-menu-parent > a::after,
.lm-menu > li.current-menu-ancestor > a::after,
.lm-menu > li.current_page_item > a::after,
.lm-menu > li.current_page_parent > a::after,
.lm-menu > li.current_page_ancestor > a::after{

        width: 22px;
        background: #7f6b78;
    }
}

/* =========================================================
   LIDAMED — HEADER MENU BITRIX UNDERLINE STYLE
   ========================================================= */

@media (min-width: 768px){

    .lm-menu > li > a{
        position: relative !important;
        padding: 10px 13px 12px !important;

        font-size: 11.2px !important;
        line-height: 1 !important;
        font-weight: 650 !important;
        letter-spacing: .035em !important;
        text-transform: uppercase !important;

        color: #4f5560 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;

        transform: none !important;
        transition: color .22s ease !important;
    }

    .lm-menu > li:hover > a{
        color: #1f2430 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .lm-menu > li > a::after{
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        bottom: 4px !important;

        width: 0 !important;
        height: 2px !important;
        border-radius: 999px !important;

        background: linear-gradient(
            90deg,
            rgba(126,118,126,0) 0%,
            rgba(126,118,126,.55) 18%,
            rgba(126,118,126,.95) 50%,
            rgba(126,118,126,.55) 82%,
            rgba(126,118,126,0) 100%
        ) !important;

        transform: translateX(-50%) !important;
        transition: width .28s ease !important;
    }

    .lm-menu > li:hover > a::after,
.lm-menu > li.current-menu-item > a::after,
.lm-menu > li.current-menu-parent > a::after,
.lm-menu > li.current-menu-ancestor > a::after,
.lm-menu > li.current_page_item > a::after,
.lm-menu > li.current_page_parent > a::after,
.lm-menu > li.current_page_ancestor > a::after{
        width: 72% !important;
    }

    .lm-menu > li.current-menu-item > a,
.lm-menu > li.current-menu-parent > a,
.lm-menu > li.current-menu-ancestor > a,
.lm-menu > li.current_page_item > a,
.lm-menu > li.current_page_parent > a,
.lm-menu > li.current_page_ancestor > a{
        color: #1f2430 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* =========================================================
   LIDAMED — HEADER MENU UNDERLINE (FIX + UPGRADE)
   ========================================================= */

@media (min-width: 768px){

    /* Чуть крупнее и читаемее */
    .lm-menu > li > a{
        position: relative !important;
        display: inline-block !important;   /* важно для ::after */
        padding: 10px 14px 14px !important; /* добавили низ под линию */

        font-size: 13.2px !important;       /* +2 шага */
        line-height: 1.1 !important;
        font-weight: 600 !important;
        letter-spacing: .03em !important;
        text-transform: uppercase !important;

        color: #4f5560 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;

        transition: color .22s ease, transform .12s ease !important;
    }

    /* Мягкий ховер (без плашек) */
    .lm-menu > li:hover > a{
        color: #1f2430 !important;
        transform: translateY(-1px); /* лёгкий «подъём» */
    }

    /* Линия из центра */
    .lm-menu > li > a::after{
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        bottom: 4px !important;

        width: 0 !important;
        height: 2px !important;

        background: linear-gradient(
            90deg,
            rgba(126,118,126,0) 0%,
            rgba(126,118,126,.6) 20%,
            rgba(126,118,126,1) 50%,
            rgba(126,118,126,.6) 80%,
            rgba(126,118,126,0) 100%
        ) !important;

        transform: translateX(-50%) scaleX(.6) !important;
        opacity: 0 !important;

        transition:
            width .28s cubic-bezier(.22,.61,.36,1),
            opacity .2s ease,
            transform .28s cubic-bezier(.22,.61,.36,1) !important;
        pointer-events: none;
    }

    /* Ховер и актив — раскрытие */
    .lm-menu > li:hover > a::after,
.lm-menu > li.current-menu-item > a::after,
.lm-menu > li.current-menu-parent > a::after,
.lm-menu > li.current-menu-ancestor > a::after,
.lm-menu > li.current_page_item > a::after,
.lm-menu > li.current_page_parent > a::after,
.lm-menu > li.current_page_ancestor > a::after{
        width: 70% !important;
        opacity: 1 !important;
        transform: translateX(-50%) scaleX(1) !important;
    }

    /* Активный пункт — только цвет, без фона */
    .lm-menu > li.current-menu-item > a,
.lm-menu > li.current-menu-parent > a,
.lm-menu > li.current-menu-ancestor > a,
.lm-menu > li.current_page_item > a,
.lm-menu > li.current_page_parent > a,
.lm-menu > li.current_page_ancestor > a{
        color: #1f2430 !important;
    }
}

/* =========================================================
   LIDAMED — HEADER MENU EFFECT FINAL FIX
   ========================================================= */

@media (min-width: 768px){

    .lm-menu > li > a{
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;

        font-size: 13.5px !important;
        line-height: 1.1 !important;
        font-weight: 600 !important;
        letter-spacing: .025em !important;

        padding: 7px 14px 10px !important;

        color: #4f5560 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        text-decoration: none !important;

        transition: color .22s ease, transform .18s ease !important;
    }

    .lm-menu > li > a::after{
        content: "" !important;
        display: block !important;

        position: absolute !important;
        left: 50% !important;
        bottom: 5px !important;

        width: 0 !important;
        height: 2px !important;
        border-radius: 999px !important;

        background: linear-gradient(
            90deg,
            rgba(126,118,126,0) 0%,
            rgba(126,118,126,.65) 22%,
            rgba(126,118,126,1) 50%,
            rgba(126,118,126,.65) 78%,
            rgba(126,118,126,0) 100%
        ) !important;

        opacity: 0 !important;
        transform: translateX(-50%) scaleX(.4) !important;

        transition: width .28s ease, opacity .2s ease, transform .28s ease !important;
        pointer-events: none !important;
    }

    .lm-menu > li:hover > a{
        color: #1f2430 !important;
        transform: translateY(-1px) !important;
    }

    .lm-menu > li:hover > a::after,
.lm-menu > li.current-menu-item > a::after,
.lm-menu > li.current-menu-parent > a::after,
.lm-menu > li.current-menu-ancestor > a::after,
.lm-menu > li.current_page_item > a::after,
.lm-menu > li.current_page_parent > a::after,
.lm-menu > li.current_page_ancestor > a::after{
        width: 72% !important;
        opacity: 1 !important;
        transform: translateX(-50%) scaleX(1) !important;
    }

    .lm-menu > li.current-menu-item > a,
.lm-menu > li.current-menu-parent > a,
.lm-menu > li.current-menu-ancestor > a,
.lm-menu > li.current_page_item > a,
.lm-menu > li.current_page_parent > a,
.lm-menu > li.current_page_ancestor > a{
        color: #1f2430 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

.lm-menu > li > a{
    transition:
        color .22s ease,
        transform .18s ease,
        letter-spacing .18s ease !important;
}

.lm-menu > li:hover > a{
    transform: translateY(-2px) scale(1.04) !important;
    letter-spacing: .035em !important;
}

.lm-header-logo{
    position: relative;
    overflow: hidden;
}

.lm-header-logo::after{
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.35) 50%,
        transparent 100%
    );

    transition: left .6s ease;
}

.lm-header-logo:hover::after{
    left: 120%;
}

/* =========================================================
   LIDAMED — HEADER RIGHT BLOCK INTERACTIONS
   ========================================================= */

@media (min-width: 768px){

    /* 📞 Телефон — мягкий премиум hover */
    .lm-header-phone a{
        transition: 
            color .2s ease,
            transform .18s ease,
            letter-spacing .18s ease;
    }

    .lm-header-phone a:hover{
        color: #7f6b78 !important;
        transform: translateY(-1px);
        letter-spacing: .02em;
    }

    /* 🕐 Блок "РАБОТАЕМ" — лёгкая реакция */
    .lm-header-work{
        transition: opacity .25s ease, transform .2s ease;
    }

    .lm-header-work-wrap:hover .lm-header-work{
        opacity: .75;
        transform: translateY(-1px);
    }

    /* 📅 Дни недели — микро интерактив */
    .lm-header-days span{
        transition: transform .15s ease, opacity .15s ease;
    }

    .lm-header-days span:hover{
        transform: scale(1.1);
        opacity: .85;
    }
}

/* =========================================================
   LIDAMED — LOGO SCALE BALANCE
   ========================================================= */

@media (min-width: 768px){

    .lm-header-logo img{
        height: 110px !important;   /* было ~56–58 */
        width: auto !important;

        transition: transform .25s ease;
    }

    .lm-header-logo{
        display: flex;
        align-items: center;
    }
}

/* =========================================================
   LIDAMED — HEADER TOP VERTICAL ALIGN FIX
   ========================================================= */

@media (min-width: 768px){

    /* Общий контейнер — задаём базовую линию */
    .lm-header-top__inner{
        align-items: center !important;
    }

    /* Логотип — опускаем */
    .lm-header-logo{
        margin-top: 2px !important;
    }

    /* Правый блок (телефон) — опускаем */
    .lm-header-right{
        margin-top: -28px !important;
    }

}

/* LIDAMED — HEADER HEIGHT / MENU POSITION TUNE */
@media (min-width: 768px){

    .lm-header-top{
        padding-bottom: -4px !important; /* меньше воздух под верхним рядом */
    }

    .lm-header-menu{
        margin-top: -6px !important; /* поднимает меню вверх */
    }
}

/* =========================================================
   LIDAMED — MENU CAPSULE COMPACT
   ========================================================= */

@media (min-width: 768px){

    .lm-header-menu{
        padding: 3px 12px !important;
    }

    .lm-header-menu__inner{
        min-height: 26px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .lm-header-menu li a{
        padding: 3px 10px !important;
    }

}

/* =========================================================
   LIDAMED — MOBILE HOME CLEANUP REAL CLASSES
   Чистим главную на мобильной версии
   ========================================================= */

@media (max-width: 767px){

    /* Первый большой блок */
    .home .lm-lux-intro{
        display: none !important;
    }

    /* Новости + отзывы */
    .home .lm-home-news-reviews{
        display: none !important;
    }

    /* Верхний мотивирующий блок */
    .home .lm-home-hero{
        display: none !important;
    }

    /* Блок преимуществ */
    .home .lm-home-features,
.home .lm-home-features_inner,
.home .lm-home-features-section,
.home .lm-home-features-panel{
        display: none !important;
    }

    /* Скроллинг партнёров / брендов */
    .home .lm-footer-partners_group,
.home .lm-footer-partners,
.home .lm-preparations-archive,
.home .lm-brands-grid{
        display: none !important;
    }

    
    .home .lm-home-promotions .lm-home-promotions__card:nth-of-type(n+2){
        display: none !important;
    }
}

/* =========================================================
   LIDAMED — PERFECT MOBILE SERVICES ALIGN
   ========================================================= */

@media (max-width: 767px){

    .home .lm-home-services__card-inner{
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;

        padding: 10px 12px !important; /* 🔥 ключ */
    }

    .home .lm-home-services__image{
        width: 82px !important;
        height: 82px !important;
        min-width: 82px !important;
        min-height: 82px !important;
        object-fit: cover !important;
        border-radius: 16px !important;
    }

}

@media (max-width: 767px){
    .home .lm-home-services__title-text{
        font-size: 18px !important;
        line-height: 1.18 !important;
    }

    .home .lm-home-services__text{
        font-size: 13px !important;
        line-height: 1.32 !important;
    }
}

/* =========================================================
   LIDAMED — MOBILE SERVICES TEXT CUT FIX
   ========================================================= */

@media (max-width: 767px){

    .home .lm-home-services__card,
.home .lm-home-services__card-inner{
        height: auto !important;
        min-height: unset !important;
    }

    .home .lm-home-services__content{
        height: auto !important;
        overflow: visible !important;
    }

    .home .lm-home-services__text{
        overflow: visible !important;
        display: block !important;
    }

}

/* =========================================================
   LIDAMED — MOBILE SERVICES CARD GEOMETRY + HYPHENS
   ========================================================= */

@media (max-width: 767px){

    .home .lm-home-services__card-inner{
        min-height: 106px !important;
        height: auto !important;
        padding: 12px !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }

    .home .lm-home-services__media,
.home .lm-home-services__image{
        width: 82px !important;
        height: 82px !important;
        min-width: 82px !important;
        min-height: 82px !important;
        flex: 0 0 82px !important;
    }

    .home .lm-home-services__image{
        object-fit: cover !important;
        border-radius: 16px !important;
    }

    .home .lm-home-services__content{
        height: auto !important;
        min-height: 82px !important;
        padding-right: 0 !important;
        overflow: visible !important;
    }

    .home .lm-home-services__title-text{
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        hyphens: auto !important;
        overflow-wrap: anywhere !important;
    }

    .home .lm-home-services__text{
        display: block !important;
        overflow: visible !important;
        hyphens: auto !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .home .lm-home-services__meta{
        display: none !important;
    }
}

/* LIDAMED — MOBILE SERVICES IMAGE MICRO BALANCE */
@media (max-width: 767px){
    .home .lm-home-services__image{
        width: 86px !important;
        height: 86px !important;
        min-width: 86px !important;
        min-height: 86px !important;
    }
}

/* =========================================================
   LIDAMED — MOBILE SERVICES TEXT LIMIT (4 LINES)
   ========================================================= */

@media (max-width: 767px){

    .home .lm-home-services__text{
        display: -webkit-box !important;
        -webkit-line-clamp: 4;          /* максимум 4 строки */
        -webkit-box-orient: vertical;

        overflow: hidden !important;
        text-overflow: ellipsis !important;

        line-height: 1.35 !important;
        max-height: calc(1.35em * 4);   /* контроль высоты */
    }

}




.lm-home-promotions__button-wrap--double{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
}

.lm-home-promotions__button-wrap--double .lm-home-promotions__button{
    width: 100% !important;
    min-height: 44px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.lm-home-promotions__button--secondary{
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.04) !important;
}

.lm-home-promotions__button--secondary:hover{
    background: #f7f7f7 !important;
    color: #111111 !important;
}

/* LIDAMED — HOME PROMOTIONS IMAGE RADIUS */
.lm-home-promotions__image,
.lm-home-promotions__image img,
.lm-home-promotions__image-wrap,
.lm-home-promotions__image-wrap img{
    border-radius: 18px !important;
    overflow: hidden !important;
}

/* =========================================================
   LIDAMED — BADGES FINAL PRO (HOME + HOVER CATEGORY)
   ========================================================= */

/* Родитель для позиционирования */
.lm-home-promotions__image{
    position: relative !important;
    overflow: hidden !important;
    border-radius: 18px !important;
}

/* БАЗА бейджа (чуть увеличили) */
.lm-card-badge{
    position: absolute !important;
    top: 14px !important;     /* было 12 */
    left: 14px !important;    /* было 12 */
    z-index: 20 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 30px !important;   /* было 28 */
    padding: 0 14px !important;    /* было 12 */

    border-radius: 999px !important;

    font-size: 13px !important;    /* было 12 */
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;

    background: rgba(255,255,255,.96) !important;
    color: #111 !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.12) !important;

    transition: all .25s ease !important;
}

/* =========================================================
   ГЛАВНАЯ — всегда видно
   ========================================================= */

.home .lm-card-badge{
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* =========================================================
   КАТЕГОРИИ — скрыт по умолчанию
   ========================================================= */

.post-type-archive-aktsii .lm-card-badge{
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
}

/* при наведении — появляется */
.post-type-archive-aktsii .lm-home-promotions__card:hover .lm-card-badge{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================================
   МАЛЕНЬКИЙ ЭФФЕКТ ПРИ НАВЕДЕНИИ (очень аккуратный)
   ========================================================= */

.lm-home-promotions__card:hover .lm-card-badge{
    box-shadow: 0 12px 28px rgba(0,0,0,.16) !important;
}

/* =========================================================
   LIDAMED — MOBILE CTA FINAL (2 BUTTONS VERTICAL)
   ========================================================= */

@media (max-width: 767px){

    /* отступы блока */
    .home .lm-home-cta,
.home .lm-home-cta--service{
        margin: 16px 0 20px !important;
        padding: 0 16px !important;
        background: transparent !important;
    }

    /* убираем серые подложки */
    .home .lm-home-cta__inner{
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    /* контейнер кнопок — вертикально */
    .home .lm-dual-buttons{
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* сами кнопки */
    .home .lm-dual-buttons a{
        width: 100% !important;
        height: 52px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border-radius: 12px !important;
        font-size: 15px !important;
        font-weight: 600 !important;

        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* первая — черная */
    .home .lm-dual-buttons a:first-child{
        background: #111 !important;
        color: #fff !important;
    }

    /* вторая — белая */
    .home .lm-dual-buttons a:last-child{
        background: #fff !important;
        color: #111 !important;
        border: 1px solid rgba(0,0,0,0.1) !important;
    }

    /* убираем текст только в блоке записи */
    .home .lm-home-cta .lm-home-cta__title,
.home .lm-home-cta .lm-home-cta__subtitle{
        display: none !important;
    }

}

/* =========================================================
   LIDAMED — MOBILE BLOCK CONTROL (ГЛАВНАЯ СТРАНИЦА)
   ========================================================= */

@media (max-width: 767px){

    /* ❌ СКРЫВАЕМ: Почему выбирают ЛИДАМЕД */
    .home .lm-home-trust{
        display: none !important;
    }

    /* ✅ ПОКАЗЫВАЕМ: Блок преимуществ */
    .home .lm-home-features{
        display: block !important;
    }

}

/* =========================================================
   LIDAMED — MOBILE BOOKING POPUP: HIDE MESSENGERS
   ========================================================= */

@media (max-width: 767px){
    .lm-popup--form .lm-popup-form__quick-messengers{
        display: none !important;
    }
}


/* =========================================================
   LIDAMED — MOBILE POPUP TITLE FINAL (2 LINES + SMALL FONT)
   ========================================================= */

@media (max-width: 767px){

    .lm-popup__context-title{

        /* уменьшаем размер как у "ВАШ ВЫБОР" */
        font-size: 10px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important; /* чуть жирнее */

        /* ограничение в 2 строки */
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;

        overflow: hidden !important;
        text-overflow: ellipsis !important;

        max-height: calc(1.3em * 1) !important;

        word-break: break-word;
    }

}


/* =========================================================
   LIDAMED — MOBILE BOOKING POPUP: VERTICAL FIT FINAL
   ========================================================= */

@media (max-width: 767px){

    .lm-popup--form{
        height: calc(100dvh - 12px) !important;
        max-height: calc(100dvh - 12px) !important;
        overflow: hidden !important;
        padding: 10px 14px !important;
        box-sizing: border-box !important;

        display: flex !important;
        flex-direction: column !important;
    }

    .lm-popup--form .lm-popup__status{
        margin-bottom: 5px !important;
        flex: 0 0 auto !important;
    }

    .lm-popup--form .lm-popup__body{
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .lm-popup--form .lm-popup__context{
        flex: 0 0 auto !important;
    }

    .lm-popup--form .lm-popup__title{
        margin: 0 0 5px !important;
        font-size: 18px !important;
        line-height: 1.12 !important;
    }

    .lm-popup--form .lm-popup__subtitle{
        margin: 0 0 6px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .lm-popup--form form{
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        gap: 5px !important;
    }

    .lm-popup--form .lm-form-row,
.lm-popup--form .form-row,
.lm-popup--form .form-group,
.lm-popup--form p{
        margin: 0 !important;
    }

    .lm-popup--form label{
        margin: 0 0 1px !important;
        font-size: 11px !important;
        line-height: 1.1 !important;
    }

    .lm-popup--form input,
.lm-popup--form select,
.lm-popup--form textarea{
        min-height: 32px !important;
        height: 32px !important;
        padding: 5px 9px !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        box-sizing: border-box !important;
    }

    .lm-popup--form textarea{
        min-height: 36px !important;
        height: 36px !important;
        resize: none !important;
    }

    .lm-popup--form button,
.lm-popup--form input[type="submit"]{
        min-height: 36px !important;
        height: 36px !important;
        padding: 5px 12px !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        margin-top: auto !important;
        flex: 0 0 auto !important;
    }
}


/* =========================================================
   LIDAMED — DESKTOP BOOKING POPUP: HEIGHT RESPONSIVE FINAL
   ========================================================= */

@media (min-width: 768px){

    .lm-popup.lm-popup--form{
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;

        max-height: calc(100vh - 32px) !important;
        overflow: hidden !important;

        padding: 18px 38px 18px !important;
        box-sizing: border-box !important;
    }

    .lm-popup.lm-popup--form .lm-popup__status{
        margin-bottom: 10px !important;
    }

    .lm-popup.lm-popup--form .lm-popup__context{
        margin-bottom: 10px !important;
    }

    .lm-popup.lm-popup--form .lm-popup__context-title{
        font-size: 17px !important;
        line-height: 1.2 !important;

        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form{
        display: grid !important;
        gap: 8px !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__row{
        gap: 12px !important;
        margin: 0 !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__field{
        margin: 0 !important;
    }

    .lm-popup.lm-popup--form label{
        margin-bottom: 3px !important;
        font-size: 12px !important;
        line-height: 1.15 !important;
    }

    .lm-popup.lm-popup--form input,
.lm-popup.lm-popup--form select{
        height: 38px !important;
        min-height: 38px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        box-sizing: border-box !important;
    }

    .lm-popup.lm-popup--form textarea,
.lm-popup.lm-popup--form #lmPopupComment{
        height: 52px !important;
        min-height: 52px !important;
        resize: none !important;
        box-sizing: border-box !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__required-note{
        margin: 4px 0 0 !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__checkbox{
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 6px 0 8px !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__checkbox input{
        width: 16px !important;
        height: 16px !important;
        min-height: 16px !important;
        flex: 0 0 16px !important;
        margin: 0 !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__submit,
.lm-popup.lm-popup--form button,
.lm-popup.lm-popup--form input[type="submit"]{
        height: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Если окно браузера низкое — ужимаем сильнее */
@media (min-width: 768px) and (max-height: 760px){

    .lm-popup.lm-popup--form{
        padding: 12px 34px 12px !important;
    }

    .lm-popup.lm-popup--form .lm-popup__status{
        margin-bottom: 6px !important;
    }

    .lm-popup.lm-popup--form .lm-popup__context{
        margin-bottom: 6px !important;
    }

    .lm-popup.lm-popup--form .lm-popup__context-title{
        font-size: 15px !important;
        line-height: 1.16 !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form{
        gap: 5px !important;
    }

    .lm-popup.lm-popup--form input,
.lm-popup.lm-popup--form select{
        height: 32px !important;
        min-height: 32px !important;
    }

    .lm-popup.lm-popup--form textarea,
.lm-popup.lm-popup--form #lmPopupComment{
        height: 38px !important;
        min-height: 38px !important;
    }

    .lm-popup.lm-popup--form label{
        font-size: 11px !important;
        margin-bottom: 1px !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__checkbox{
        margin: 4px 0 6px !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__submit,
.lm-popup.lm-popup--form button,
.lm-popup.lm-popup--form input[type="submit"]{
        height: 38px !important;
        min-height: 38px !important;
    }
}

/* Если окно совсем низкое — финальное сжатие */
@media (min-width: 768px) and (max-height: 680px){

    .lm-popup.lm-popup--form{
        padding: 8px 30px 8px !important;
    }

    .lm-popup.lm-popup--form .lm-popup__status{
        transform: scale(.9) !important;
        transform-origin: top left !important;
        margin-bottom: 2px !important;
    }

    .lm-popup.lm-popup--form .lm-popup__context-title{
        font-size: 14px !important;
        -webkit-line-clamp: 1 !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form{
        gap: 4px !important;
    }

    .lm-popup.lm-popup--form input,
.lm-popup.lm-popup--form select{
        height: 28px !important;
        min-height: 28px !important;
    }

    .lm-popup.lm-popup--form textarea,
.lm-popup.lm-popup--form #lmPopupComment{
        height: 32px !important;
        min-height: 32px !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__submit,
.lm-popup.lm-popup--form button,
.lm-popup.lm-popup--form input[type="submit"]{
        height: 34px !important;
        min-height: 34px !important;
    }
}

/* =========================================================
   LIDAMED — POPUP FORM QUICK MESSENGERS RESTORE FINAL
   ========================================================= */

@media (min-width: 768px){

    .lm-popup.lm-popup--form .lm-popup__status{
        position: relative !important;
        overflow: visible !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__quick-messengers{
        position: absolute !important;
        top: 50% !important;
        right: 86px !important;
        transform: translateY(-50%) !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 14px !important;

        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 999 !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__quick-icon{
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;

        border-radius: 12px !important;
        text-decoration: none !important;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;

        box-shadow:
            inset 0 2px 0 rgba(255,255,255,.20),
            inset 0 -2px 0 rgba(0,0,0,.10),
            0 8px 18px rgba(0,0,0,.16) !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__quick-icon.max{
        background: linear-gradient(135deg, #7b61ff 0%, #5b43de 100%) !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__quick-icon.whatsapp{
        background: linear-gradient(135deg, #29c76f 0%, #18a957 100%) !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__quick-icon.telegram{
        background: linear-gradient(135deg, #2ea5ff 0%, #1786df 100%) !important;
    }

    .lm-popup.lm-popup--form .lm-popup-form__quick-icon-inner,
.lm-popup.lm-popup--form .lm-popup-form__quick-icon-inner svg{
        display: block !important;
        width: 22px !important;
        height: 22px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* =========================================================
   LIDAMED — POPUP MESSENGERS HOVER
   ========================================================= */

.lm-popup-form__quick-icon{
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lm-popup-form__quick-icon:hover{
    transform: translateY(-3px);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.25),
        inset 0 -2px 0 rgba(0,0,0,.12),
        0 12px 24px rgba(0,0,0,.18);
}

/* =========================================================
   LIDAMED — POPUP TOP AIR FIX
   ========================================================= */

.lm-popup.lm-popup--form{
    margin-top: 12px !important;
}


/* =========================================================
   ЛИДАМЕД — Единая вертикальная сетка главной страницы
   Выравнивание всех блоков по одному отступу
   ========================================================= */

/* 1. Задаем единый эталонный отступ */
:root{
    --lm-section-gap: 10px; /* ← при необходимости подгони под баннер */
}

/* 2. Убираем все хаотичные отступы у секций */
.home section,
.home .wp-block-group,
.home .elementor-section,
.home .lm-section{
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 3. Применяем единый отступ ко всем блокам, кроме первого */
.home main > * + *{
    margin-top: var(--lm-section-gap) !important;
}

/* 4. Убираем отступ у самого первого блока (после баннера) */
.home main > *:first-child{
    margin-top: 0 !important;
}

/* 5. Защита от внутренних «разрывов» */
.home .container > *:first-child{
    margin-top: 0 !important;
}

/* =========================================================
   ЛИДАМЕД — Главная страница: единые вертикальные отступы
   ========================================================= */

.home main{
    display: flex;
    flex-direction: column;
    gap: 20px; /* эталонный отступ между блоками */
}

/* Обнуляем хаотичные внешние отступы у прямых блоков главной */
.home main > section,
.home main > div,
.home main > .lm-section,
.home main > .wp-block-group{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Обнуляем внутренние верхние/нижние отступы, которые раздувают расстояния */
.home main > section,
.home main > div,
.home main > .lm-section,
.home main > .wp-block-group{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Если внутри секции контейнер тоже добавляет лишний верхний отступ */
.home main > * > .container{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Первый блок после баннера не должен получать лишний отступ сверху */
.home main > *:first-child{
    margin-top: 0 !important;
}

/* =========================================================
   ЛИДАМЕД — Отключение блока партнеров (скролл логотипов) на мобилке
   ========================================================= */

@media (max-width: 768px){
    .lm-footer-partners{
        display: none !important;
    }
}


/* =========================================================
   ЛИДАМЕД — SYSTEM CONTAINER & SECTIONS
   Единая система отступов (основа всего сайта)
   ========================================================= */

.container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Единый вертикальный ритм */
.lm-section{
    padding: 60px 0;
}

/* Для архивов (услуги, препараты, акции и т.д.) */
.lm-services-archive,
.lm-preparations-archive{
    padding: 60px 0;
}

/* =========================================================
   ЛИДАМЕД — ARCHIVE USLUGI MOBILE FIX
   Страница: /uslugi/
   Исправляет мобильные отступы и геометрию карточек категорий
   ========================================================= */

@media (max-width: 767px){

    .lm-services-archive{
        padding: 36px 0 48px;
        overflow-x: hidden;
    }

    .lm-services-archive > .container{
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .lm-services-category-grid{
        width: 100%;
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 0;
    }

    .lm-services-category-card{
        width: 100%;
        min-width: 0;
    }

    .lm-services-category-card__inner{
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 112px;
        padding: 12px;
        gap: 12px;
        box-sizing: border-box;
        align-items: flex-start;
    }

    .lm-services-category-card__media{
        flex: 0 0 82px;
        width: 82px;
        height: 82px;
        min-width: 82px;
    }

    .lm-services-category-card__image{
        width: 82px;
        height: 82px;
        border-radius: 16px;
    }

    .lm-services-category-card__content{
        flex: 1 1 auto;
        min-width: 0;
        height: auto;
        min-height: 82px;
        padding-right: 0;
        overflow: visible;
    }

    .lm-services-category-card__title{
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        font-size: 19px;
        line-height: 1.18;
        margin-bottom: 4px;
    }

    .lm-services-category-card__text{
        font-size: 12px;
        line-height: 1.32;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .lm-services-category-card__text--bottom{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: calc(1.32em * 2);
    }

    .lm-services-category-card__meta{
        display: none;
    }
}

/* =========================================================
   ЛИДАМЕД — SYSTEM CONTAINER BASE
   Единые боковые поля сайта
   ========================================================= */

.container{
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

@media (max-width: 1199px){
    .container{
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 767px){
    .container{
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (max-width: 374px){
    .container{
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* =========================================================
   ЛИДАМЕД — SINGLE / CATEGORY TOP SPACING FIX
   Убираем лишний воздух сверху (категории, синглы)
   ========================================================= */

.lm-single-layout{
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.lm-single-main{
    padding-top: 0 !important;
}

/* если есть контейнер внутри */
.lm-single-layout > .container{
    padding-top: 0 !important;
}

/* отступ задаём централизованно */
.lm-single-content{
    padding-top: 24px;
}

/* =========================================================
   ЛИДАМЕД — TAXONOMY SERVICE CATEGORY CARDS
   Страница категории услуг: /uslugi/.../
   Вынесено из taxonomy-service_category.php
   ========================================================= */

.lm-taxonomy-services{
    padding: 28px 0 56px;
}

.lm-taxonomy-services .lm-single-layout{
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.lm-taxonomy-services .lm-single-main{
    min-width: 0;
    flex: 1 1 auto;
}

.lm-taxonomy-services .lm-archive-wide-list{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lm-taxonomy-services .lm-service-list-card{
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 160px;
    padding: 12px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}

.lm-taxonomy-services .lm-service-list-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,0,0,.08);
    border-color: rgba(0,0,0,.12);
}

.lm-taxonomy-services .lm-service-list-card__left{
    display: flex;
    align-items: stretch;
    gap: 18px;
    min-width: 0;
    flex: 1 1 auto;
}

.lm-taxonomy-services .lm-linked-card__image-wrap{
    flex: 0 0 180px;
    width: 180px;
    border-radius: 16px;
    overflow: hidden;
    align-self: stretch;
}

.lm-taxonomy-services .lm-linked-card__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
}

.lm-taxonomy-services .lm-linked-card__body{
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 6px 4px 0;
}

.lm-taxonomy-services .lm-linked-card__title{
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    color: #1f1f1f;
}

.lm-taxonomy-services .lm-linked-card__text{
    font-size: 15px;
    line-height: 1.6;
    color: #5d646d;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lm-taxonomy-services .lm-service-list-card__side{
    flex: 0 0 210px;
    width: 210px;
    min-height: 116px;
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid rgba(184,184,184,.35);
    border-radius: 20px;
    background: linear-gradient(135deg,#fffefe 0%,#faf7f8 45%,#f7f1f4 100%);
    box-shadow: 0 12px 30px rgba(97,66,84,.06);
    text-align: center;
}

.lm-taxonomy-services .lm-service-list-card__price{
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.lm-taxonomy-services .lm-service-list-card__price span{
    font-size: 16px;
    line-height: 1.2;
    color: #4a4146;
    font-weight: 500;
}

.lm-taxonomy-services .lm-service-list-card__price strong{
    font-size: 24px;
    line-height: 1.05;
    color: #111;
    font-weight: 700;
    letter-spacing: -.02em;
}

.lm-taxonomy-services .lm-service-list-card__divider{
    width: 100%;
    height: 1px;
    margin: 10px 0 9px;
    background: linear-gradient(90deg,rgba(0,0,0,0) 0%, rgba(191,191,191,.9) 18%, rgba(191,191,191,.9) 82%, rgba(0,0,0,0) 100%);
}

.lm-taxonomy-services .lm-service-list-card__status{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    color: #7b6672;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lm-taxonomy-services .lm-service-list-card__status::before,
.lm-taxonomy-services .lm-service-list-card__status::after{
    content: "";
    display: block;
    width: 16px;
    height: 1px;
    background: #cfc4ca;
}

@media (max-width: 991px){
    .lm-taxonomy-services .lm-single-layout{
        flex-direction: column;
    }

    .lm-taxonomy-services .lm-service-list-card{
        flex-direction: column;
    }

    .lm-taxonomy-services .lm-service-list-card__side{
        width: 100%;
        flex: 0 0 auto;
        min-height: 0;
    }
}

@media (max-width: 767px){
    .lm-taxonomy-services{
        padding: 20px 0 44px;
    }

    .lm-taxonomy-services .lm-service-list-card{
        gap: 14px;
        min-height: 140px;
        padding: 10px;
        border-radius: 18px;
    }

    .lm-taxonomy-services .lm-service-list-card__left{
        gap: 14px;
    }

    .lm-taxonomy-services .lm-linked-card__image-wrap{
        flex: 0 0 120px;
        width: 120px;
        border-radius: 14px;
    }

    .lm-taxonomy-services .lm-linked-card__title{
        font-size: 18px;
        margin-bottom: 8px;
    }

    .lm-taxonomy-services .lm-linked-card__text{
        font-size: 14px;
        line-height: 1.5;
        -webkit-line-clamp: 3;
    }

    .lm-taxonomy-services .lm-service-list-card__price strong{
        font-size: 22px;
    }
}

/* =========================================================
   ЛИДАМЕД — SINGLE USLUGI
   Вынесено из single-uslugi.php
   ========================================================= */

.lm-single-layout{display:flex;align-items:flex-start;gap:32px}
.lm-single-sidebar{flex:0 0 290px;width:290px;position:sticky;top:140px}
.lm-sidebar-box{background:#fff;border:1px solid #eee;border-radius:18px;padding:18px;box-shadow:0 8px 26px rgba(0,0,0,.04)}
.lm-sidebar-title{margin:0 0 14px;font-size:20px;line-height:1.2;font-weight:700;color:#111}
.lm-sidebar-groups{display:flex;flex-direction:column;gap:10px}
.lm-sidebar-group{border-top:1px solid #f1f1f1;padding-top:10px}
.lm-sidebar-group:first-child{border-top:0;padding-top:0}
.lm-sidebar-group__title{display:block;text-decoration:none;color:#111;font-size:15px;line-height:1.4;font-weight:700;margin-bottom:8px}
.lm-sidebar-group__items{display:flex;flex-direction:column;gap:6px;padding-left:10px}
.lm-sidebar-link{display:block;text-decoration:none;color:#666;font-size:14px;line-height:1.4}
.lm-sidebar-link.is-current{color:#111;font-weight:700}
.lm-single-main{min-width:0;flex:1 1 auto}

.lm-service-page-title{margin:0 0 18px;font-size:42px;line-height:1.08;font-weight:700;color:#111}
.lm-service-hero{position:relative;overflow:hidden;padding:18px 20px;border:1px solid #eee;border-bottom:0;border-radius:24px 24px 0 0;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.04)}
.lm-service-hero:after{content:"";display:block;clear:both}
.lm-service-hero__media{float:left;width:32%;max-width:300px;aspect-ratio:4/3;margin:0 24px 14px 0;border-radius:22px;overflow:hidden;background:#f4f4f4}
.lm-service-hero__media img,
.lm-service-hero__media-placeholder{display:block;width:100%;height:100%;object-fit:cover;background:#f4f4f4}
.lm-service-hero__top{display:flex;gap:14px;align-items:stretch;margin:0 0 14px;min-height:92px}
.lm-service-price-panel{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;min-height:96px;padding:16px 22px;border:1px solid rgba(184,184,184,.35);border-radius:24px;background:linear-gradient(135deg,#fffefe 0%,#faf7f8 45%,#f7f1f4 100%);box-shadow:0 12px 30px rgba(97,66,84,.06)}
.lm-service-price-panel.is-request{align-items:center;justify-content:center}
.lm-service-price-panel__line{display:flex;align-items:center;justify-content:center;gap:10px;min-height:30px;white-space:nowrap}
.lm-service-price-panel__label,
.lm-service-price-panel__value{font-size:28px;line-height:1.15;color:#4a4146}
.lm-service-price-panel__label{font-weight:500}
.lm-service-price-panel__value{font-weight:700}
.lm-service-price-panel__divider{width:100%;height:1px;margin:10px 0 10px;background:linear-gradient(90deg,rgba(0,0,0,0) 0%, rgba(191,191,191,.9) 18%, rgba(191,191,191,.9) 82%, rgba(0,0,0,0) 100%)}
.lm-service-price-panel__status{display:flex;align-items:center;justify-content:center;gap:10px;width:max-content;margin:0 auto;color:#7b6672;font-size:12px;line-height:1.1;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.lm-service-price-panel__status:before,
.lm-service-price-panel__status:after{content:"";display:block;width:18px;height:1px;background:#cfc4ca}
.lm-service-price-panel__request{font-size:28px;line-height:1.15;font-weight:600;color:#4a4146;text-align:center}
.lm-service-hero__actions{flex:0 0 210px;display:flex;flex-direction:column;gap:12px;justify-content:space-between}
.lm-service-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 22px;border-radius:999px;text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap;transition:all .2s ease}
.lm-service-btn--dark{background:#111;color:#fff}
.lm-service-btn--light{background:#fff;color:#444;border:1px solid #ddd}
.lm-service-hero__announcement{font-size:16px;line-height:1.7;color:#555}
.lm-service-hero__announcement:before{content:"";display:block;width:100%;height:1px;background:#ececec;margin:0 0 14px}
.lm-service-hero__announcement p{margin:0 0 12px}
.lm-service-hero__announcement p:last-child{margin-bottom:0}

.lm-service-info-card{margin-top:0;padding:22px 24px;border:1px solid #eee;border-radius:0 0 24px 24px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.04)}
.lm-service-section-title{margin:0 0 16px;font-size:24px;line-height:1.2;font-weight:700;color:#111}
.lm-service-description{font-size:17px;line-height:1.75;color:#333}
.lm-service-description--first{margin-top:0}
.lm-service-description > *:first-child{margin-top:0}
.lm-service-description > *:last-child{margin-bottom:0}
.lm-service-content-sections{margin-top:24px;border-top:1px solid #efefef;padding-top:24px}
.lm-service-content-section + .lm-service-content-section{margin-top:26px}
.lm-service-section-text{font-size:16px;line-height:1.75;color:#333}
.lm-service-section-text > *:first-child{margin-top:0}
.lm-service-section-text > *:last-child{margin-bottom:0}

.lm-service-specs{margin-top:28px;padding-top:24px;border-top:1px solid #efefef}
.lm-service-specs__table{display:flex;flex-direction:column;gap:12px}
.lm-service-specs__row{display:flex;align-items:baseline;gap:12px;font-size:16px;line-height:1.5}
.lm-service-specs__label{flex:0 0 auto;font-weight:600;color:#444}
.lm-service-specs__dots{flex:1 1 auto;border-bottom:1px dotted #ddd;transform:translateY(-3px)}
.lm-service-specs__value{flex:0 1 auto;max-width:42%;text-align:right;color:#222}

.lm-specialists{margin-top:30px;padding-top:24px;border-top:1px solid #efefef}
.lm-service-cabinets-block--inside{margin-top:30px;padding-top:24px;border-top:1px solid #efefef}

.lm-linked-card{display:flex;align-items:stretch;gap:18px;width:100%;min-height:160px;padding:12px;border:1px solid rgba(0,0,0,.08);border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.05);text-decoration:none;color:inherit;transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;overflow:hidden}
.lm-linked-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.08);border-color:rgba(0,0,0,.12)}
.lm-linked-card__image-wrap{flex:0 0 180px;width:180px;border-radius:16px;overflow:hidden;align-self:stretch}
.lm-linked-card__image{width:100%;height:100%;object-fit:cover;display:block}
.lm-linked-card__body{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;padding:4px 6px 4px 0}
.lm-linked-card__title{margin:0 0 10px;font-size:20px;line-height:1.25;font-weight:700;color:#1f1f1f}
.lm-linked-card__text{font-size:15px;line-height:1.6;color:#5d646d;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

.lm-faq-block--inside{margin-top:30px;padding-top:24px;border-top:1px solid #efefef}
.lm-faq-accordion{display:flex;flex-direction:column;gap:12px}
.lm-faq-item{border:1px solid #eee;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 26px rgba(0,0,0,.04)}
.lm-faq-question{width:100%;padding:20px 22px;background:#fff;border:0;text-align:left;cursor:pointer;font-weight:600;font-size:17px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.lm-faq-question__text{flex:1 1 auto}
.lm-faq-question__icon{position:relative;flex:0 0 18px;width:18px;height:18px}
.lm-faq-question__icon:before,
.lm-faq-question__icon:after{content:"";position:absolute;left:50%;top:50%;background:#999;transform:translate(-50%,-50%);transition:opacity .2s ease;border-radius:2px}
.lm-faq-question__icon:before{width:18px;height:2px}
.lm-faq-question__icon:after{width:2px;height:18px}
.lm-faq-item.open .lm-faq-question__icon:after{opacity:0}
.lm-faq-answer{display:none;padding:0 22px 22px;border-top:1px solid #eee}
.lm-faq-item.open .lm-faq-answer{display:block}
.lm-faq-answer__inner{padding-top:18px}

.lm-service-cabinets-block{margin:34px 0 0}
.lm-cabinets-grid--service{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
@media (max-width: 767px){
    .lm-cabinets-grid--service{grid-template-columns:1fr;gap:24px}
}

@media (max-width: 1199px){
    .lm-service-page-title{font-size:38px}
    .lm-service-hero__media{width:36%;margin-right:18px}
    .lm-service-price-panel__label,
.lm-service-price-panel__value{font-size:24px}
    .lm-service-price-panel{padding:14px 18px}
    .lm-service-hero__actions{flex-basis:190px}
}
@media (max-width: 991px){
    .lm-single-layout{flex-direction:column}
    .lm-single-sidebar{position:static;width:100%;flex:0 0 auto}
    .lm-service-page-title{font-size:32px}
}
@media (max-width: 767px){
    .lm-service-hero{padding:14px}
    .lm-service-hero__media{float:none;width:100%;max-width:none;margin:0 0 14px}
    .lm-service-hero__top{display:flex;flex-direction:column}
    .lm-service-hero__actions{justify-content:stretch;flex-direction:column;flex:0 0 auto}
    .lm-service-btn{width:100%}
    .lm-service-price-panel__line{white-space:normal;flex-wrap:wrap}
    .lm-service-price-panel__label,
.lm-service-price-panel__value{font-size:22px}
    .lm-service-price-panel__status{font-size:11px}
    .lm-service-section-title{font-size:22px}
    .lm-service-specs__row{gap:8px}
    .lm-service-specs__value{max-width:50%}
    .lm-linked-card{gap:14px;min-height:140px;padding:10px;border-radius:18px}
    .lm-linked-card__image-wrap{flex:0 0 120px;width:120px;border-radius:14px}
    .lm-linked-card__title{font-size:18px;margin-bottom:8px}
    .lm-linked-card__text{font-size:14px;line-height:1.5;-webkit-line-clamp:3}
}

.lm-linked-card__image--empty{
    background: #f5f5f5;
}

/* =========================================================
   ЛИДАМЕД — TAXONOMY PREPARATION BRAND CARDS
   Страница бренда препаратов: /preparations/.../
   Вынесено из taxonomy-preparation_brand.php
   ========================================================= */

.lm-single-layout{
    display:flex;
    align-items:flex-start;
    gap:32px;
}

.lm-single-sidebar{
    flex:0 0 290px;
    width:290px;
    position:sticky;
    top:140px;
}

.lm-sidebar-box{
    background:#fff;
    border:1px solid #eee;
    border-radius:18px;
    padding:18px;
    box-shadow:0 8px 26px rgba(0,0,0,.04);
}

.lm-sidebar-title{
    margin:0 0 14px;
    font-size:20px;
    line-height:1.2;
    font-weight:700;
    color:#111;
}

.lm-sidebar-groups{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.lm-sidebar-link{
    display:block;
    text-decoration:none;
    color:#666;
    font-size:14px;
    line-height:1.45;
    padding:6px 0;
}

.lm-sidebar-link--category{
    font-weight:600;
    color:#222;
}

.lm-sidebar-link.is-current{
    color:#111;
    font-weight:700;
}

.lm-single-main{
    min-width:0;
    flex:1 1 auto;
}

.lm-archive-wide-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.lm-linked-card{
    display:flex;
    align-items:stretch;
    gap:18px;
    width:100%;
    min-height:160px;
    padding:12px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:22px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    text-decoration:none;
    color:inherit;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow:hidden;
}

.lm-linked-card:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 34px rgba(0,0,0,.08);
    border-color:rgba(0,0,0,.12);
}

.lm-brand-prep-card{
    justify-content:space-between;
}

.lm-brand-prep-card__left{
    display:flex;
    align-items:stretch;
    gap:18px;
    min-width:0;
    flex:1 1 auto;
}

.lm-linked-card__image-wrap{
    flex:0 0 180px;
    width:180px;
    border-radius:16px;
    overflow:hidden;
    align-self:stretch;
}

.lm-linked-card__image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.lm-linked-card__body{
    min-width:0;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:4px 6px 4px 0;
}

.lm-linked-card__title{
    margin:0 0 10px;
    font-size:20px;
    line-height:1.25;
    font-weight:700;
    color:#1f1f1f;
}

.lm-linked-card__text{
    font-size:15px;
    line-height:1.6;
    color:#5d646d;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.lm-brand-prep-card__side{
    flex:0 0 210px;
    width:210px;
    min-height:116px;
    align-self:center;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:14px 18px;
    border:1px solid rgba(184,184,184,.35);
    border-radius:20px;
    background:linear-gradient(135deg,#fffefe 0%,#faf7f8 45%,#f7f1f4 100%);
    box-shadow:0 12px 30px rgba(97,66,84,.06);
    text-align:center;
}

.lm-brand-prep-card__price{
    display:flex;
    align-items:baseline;
    justify-content:center;
    gap:8px;
    white-space:nowrap;
}

.lm-brand-prep-card__price span{
    font-size:16px;
    line-height:1.2;
    color:#4a4146;
    font-weight:500;
}

.lm-brand-prep-card__price strong{
    font-size:24px;
    line-height:1.05;
    color:#111;
    font-weight:700;
    letter-spacing:-.02em;
}

.lm-brand-prep-card__divider{
    width:100%;
    height:1px;
    margin:10px 0 9px;
    background:linear-gradient(90deg,rgba(0,0,0,0) 0%, rgba(191,191,191,.9) 18%, rgba(191,191,191,.9) 82%, rgba(0,0,0,0) 100%);
}

.lm-brand-prep-card__status{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    color:#7b6672;
    font-size:12px;
    line-height:1.1;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    white-space:nowrap;
}

.lm-brand-prep-card__status:before,
.lm-brand-prep-card__status:after{
    content:"";
    display:block;
    width:16px;
    height:1px;
    background:#cfc4ca;
}

@media (max-width: 991px){
    .lm-single-layout{
        flex-direction:column;
    }

    .lm-single-sidebar{
        position:static;
        width:100%;
        flex:0 0 auto;
    }

    .lm-brand-prep-card{
        flex-direction:column;
    }

    .lm-brand-prep-card__side{
        width:100%;
        flex:0 0 auto;
        min-height:0;
    }
}

@media (max-width: 767px){
    .lm-linked-card{
        gap:14px;
        min-height:140px;
        padding:10px;
        border-radius:18px;
    }

    .lm-brand-prep-card__left{
        gap:14px;
    }

    .lm-linked-card__image-wrap{
        flex:0 0 120px;
        width:120px;
        border-radius:14px;
    }

    .lm-linked-card__title{
        font-size:18px;
        margin-bottom:8px;
    }

    .lm-linked-card__text{
        font-size:14px;
        line-height:1.5;
        -webkit-line-clamp:3;
    }

    .lm-brand-prep-card__price strong{
        font-size:22px;
    }
}

.lm-linked-card__image--empty{
    background:#f5f5f5;
}

/* =========================================================
   ЛИДАМЕД — SINGLE PREPARATIONS
   Вынесено из single-preparations.php
   ========================================================= */

.lm-prep-page-wrap{padding:60px 0}
.lm-single-layout{display:flex;align-items:flex-start;gap:32px}
.lm-single-sidebar{flex:0 0 290px;width:290px;position:sticky;top:140px}
.lm-sidebar-box{background:#fff;border:1px solid #eee;border-radius:18px;padding:18px;box-shadow:0 8px 26px rgba(0,0,0,.04)}
.lm-sidebar-title{margin:0 0 14px;font-size:20px;line-height:1.2;font-weight:700;color:#111}
.lm-sidebar-groups{display:flex;flex-direction:column;gap:10px}
.lm-sidebar-group{border-top:1px solid #f1f1f1;padding-top:10px}
.lm-sidebar-group:first-child{border-top:0;padding-top:0}
.lm-sidebar-group__title{display:block;text-decoration:none;color:#111;font-size:15px;line-height:1.4;font-weight:700;margin-bottom:8px}
.lm-sidebar-group__items{display:flex;flex-direction:column;gap:6px;padding-left:10px}
.lm-sidebar-link{display:block;text-decoration:none;color:#666;font-size:14px;line-height:1.4}
.lm-sidebar-link.is-current{color:#111;font-weight:700}
.lm-single-main{min-width:0;flex:1 1 auto}

.lm-prep-page-title{margin:0 0 18px;font-size:42px;line-height:1.08;font-weight:700;color:#111}
.lm-prep-hero{position:relative;overflow:hidden;padding:18px 20px;border:1px solid #eee;border-bottom:0;border-radius:24px 24px 0 0;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.04)}
.lm-prep-hero:after{content:"";display:block;clear:both}
.lm-prep-hero__media{float:left;width:32%;max-width:300px;aspect-ratio:4/3;margin:0 24px 14px 0;border-radius:22px;overflow:hidden;background:#f4f4f4}
.lm-prep-hero__media img{display:block;width:100%;height:100%;object-fit:cover}
.lm-prep-hero__top{display:flex;gap:14px;align-items:stretch;margin:0 0 14px;min-height:92px}
.lm-prep-price-panel{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;min-height:96px;padding:16px 22px;border:1px solid rgba(184,184,184,.35);border-radius:24px;background:linear-gradient(135deg,#fffefe 0%,#faf7f8 45%,#f7f1f4 100%);box-shadow:0 12px 30px rgba(97,66,84,.06)}
.lm-prep-price-panel__line{display:flex;align-items:center;justify-content:center;gap:10px;min-height:30px;white-space:nowrap}
.lm-prep-price-panel__label,
.lm-prep-price-panel__value{font-size:28px;line-height:1.15;color:#4a4146}
.lm-prep-price-panel__label{font-weight:500}
.lm-prep-price-panel__value{font-weight:700}
.lm-prep-price-panel__divider{width:100%;height:1px;margin:10px 0 10px;background:linear-gradient(90deg,rgba(0,0,0,0) 0%, rgba(191,191,191,.9) 18%, rgba(191,191,191,.9) 82%, rgba(0,0,0,0) 100%)}
.lm-prep-price-panel__status{display:flex;align-items:center;justify-content:center;gap:10px;width:max-content;margin:0 auto;color:#7b6672;font-size:12px;line-height:1.1;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.lm-prep-price-panel__status:before,
.lm-prep-price-panel__status:after{content:"";display:block;width:18px;height:1px;background:#cfc4ca}
.lm-prep-price-panel__status.is-empty{display:none}
.lm-prep-hero__actions{flex:0 0 210px;display:flex;flex-direction:column;gap:12px;justify-content:space-between}
.lm-prep-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 22px;border-radius:999px;text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap;transition:all .2s ease}
.lm-prep-btn--dark{background:#111;color:#fff}
.lm-prep-btn--light{background:#fff;color:#444;border:1px solid #ddd}
.lm-prep-hero__announcement{font-size:16px;line-height:1.7;color:#555}
.lm-prep-hero__announcement:before{content:"";display:block;width:100%;height:1px;background:#ececec;margin:0 0 14px}
.lm-prep-hero__announcement p{margin:0 0 12px}
.lm-prep-hero__announcement p:last-child{margin-bottom:0}

.lm-prep-info-card{margin-top:0;padding:22px 24px;border:1px solid #eee;border-radius:0 0 24px 24px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.04)}
.lm-prep-description{font-size:17px;line-height:1.75;color:#333}
.lm-prep-description--first{margin-top:0}
.lm-prep-description > *:first-child{margin-top:0}
.lm-prep-description > *:last-child{margin-bottom:0}
.lm-prep-description h2,
.lm-prep-description h3,
.lm-prep-description h4{margin-top:22px}

.lm-prep-content-sections{margin-top:24px;padding-top:24px;border-top:1px solid #efefef}
.lm-prep-content-section + .lm-prep-content-section{margin-top:26px}
.lm-prep-section-title{margin:0 0 16px;font-size:24px;line-height:1.2;font-weight:700;color:#111}
.lm-prep-section-text{font-size:16px;line-height:1.75;color:#333}
.lm-prep-section-text > *:first-child{margin-top:0}
.lm-prep-section-text > *:last-child{margin-bottom:0}

.lm-prep-attributes{margin-top:28px;padding-top:24px;border-top:1px solid #efefef}
.lm-prep-attributes__table{display:flex;flex-direction:column;gap:12px}
.lm-prep-attributes__row{display:flex;align-items:baseline;gap:12px;font-size:16px;line-height:1.5}
.lm-prep-attributes__label{flex:0 0 auto;font-weight:600;color:#444}
.lm-prep-attributes__dots{flex:1 1 auto;border-bottom:1px dotted #ddd;transform:translateY(-3px)}
.lm-prep-attributes__value{flex:0 1 auto;max-width:42%;text-align:right;color:#222}

.lm-specialists--inside{margin-top:30px;padding-top:24px;border-top:1px solid #efefef}
.lm-cabinets-linked-block--inside{margin-top:30px;padding-top:24px;border-top:1px solid #efefef}
.lm-faq-block--inside{margin-top:30px;padding-top:24px;border-top:1px solid #efefef}

.lm-linked-card{display:flex;align-items:stretch;gap:18px;width:100%;min-height:160px;padding:12px;border:1px solid rgba(0,0,0,.08);border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.05);text-decoration:none;color:inherit;transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;overflow:hidden}
.lm-linked-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.08);border-color:rgba(0,0,0,.12)}
.lm-linked-card__image-wrap{flex:0 0 180px;width:180px;border-radius:16px;overflow:hidden;align-self:stretch}
.lm-linked-card__image{width:100%;height:100%;object-fit:cover;display:block}
.lm-linked-card__body{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;padding:4px 6px 4px 0}
.lm-linked-card__title{margin:0 0 10px;font-size:20px;line-height:1.25;font-weight:700;color:#1f1f1f}
.lm-linked-card__text{font-size:15px;line-height:1.6;color:#5d646d;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

.lm-faq-accordion{display:flex;flex-direction:column;gap:12px}
.lm-faq-item{border:1px solid #eee;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 26px rgba(0,0,0,.04)}
.lm-faq-question{width:100%;padding:20px 22px;background:#fff;border:0;text-align:left;cursor:pointer;font-weight:600;font-size:17px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.lm-faq-question__text{flex:1 1 auto}
.lm-faq-question__icon{position:relative;flex:0 0 18px;width:18px;height:18px}
.lm-faq-question__icon:before,
.lm-faq-question__icon:after{content:"";position:absolute;left:50%;top:50%;background:#999;transform:translate(-50%,-50%);transition:opacity .2s ease;border-radius:2px}
.lm-faq-question__icon:before{width:18px;height:2px}
.lm-faq-question__icon:after{width:2px;height:18px}
.lm-faq-item.open .lm-faq-question__icon:after{opacity:0}
.lm-faq-answer{display:none;padding:0 22px 22px;border-top:1px solid #eee}
.lm-faq-item.open .lm-faq-answer{display:block}
.lm-faq-answer__inner{padding-top:18px}

@media (max-width: 1199px){
    .lm-prep-page-title{font-size:38px}
    .lm-prep-hero__media{width:36%;margin-right:18px}
    .lm-prep-price-panel__label,
.lm-prep-price-panel__value{font-size:24px}
    .lm-prep-price-panel{padding:14px 18px}
    .lm-prep-price-panel__status{font-size:11px}
    .lm-prep-hero__actions{flex-basis:190px}
}
@media (max-width: 991px){
    .lm-single-layout{flex-direction:column}
    .lm-single-sidebar{position:static;width:100%;flex:0 0 auto}
    .lm-prep-page-title{font-size:32px}
}
@media (max-width: 767px){
    .lm-prep-page-wrap{padding:34px 0}
    .lm-prep-hero{padding:14px}
    .lm-prep-hero__media{float:none;width:100%;max-width:none;margin:0 0 14px}
    .lm-prep-hero__top{display:flex;flex-direction:column}
    .lm-prep-hero__actions{justify-content:stretch;flex-direction:column;flex:0 0 auto}
    .lm-prep-btn{width:100%}
    .lm-prep-price-panel{min-height:0}
    .lm-prep-price-panel__line{white-space:normal;flex-wrap:wrap}
    .lm-prep-price-panel__label,
.lm-prep-price-panel__value{font-size:22px}
    .lm-prep-section-title{font-size:22px}
    .lm-prep-attributes__row{gap:8px}
    .lm-prep-attributes__value{max-width:50%}
    .lm-linked-card{gap:14px;min-height:140px;padding:10px;border-radius:18px}
    .lm-linked-card__image-wrap{flex:0 0 120px;width:120px;border-radius:14px}
    .lm-linked-card__title{font-size:18px;margin-bottom:8px}
    .lm-linked-card__text{font-size:14px;line-height:1.5;-webkit-line-clamp:3}
}

/* Placeholder images: ранее фон был inline style="background:#f5f5f5;" */
.lm-linked-card__image{
    background: #f5f5f5;
}

/* =========================================================
   ЛИДАМЕД — ARCHIVE AKTSII FINAL CLEAN
   Архив акций: поля, переключатель, карточки, текст без наложений
   ========================================================= */

.lm-aktsii-archive{
    padding: 36px 0 56px;
}

.lm-aktsii-archive > .container{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.lm-aktsii-archive .lm-single-layout{
    display: flex;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}

.lm-aktsii-archive .lm-single-main{
    flex: 1 1 auto;
    min-width: 0;
}

.lm-aktsii-archive .lm-archive-head{
    margin-bottom: 28px;
}

.lm-aktsii-archive .lm-archive-head__row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.lm-aktsii-archive .lm-archive-head__text{
    max-width: 620px;
}

/* Переключатель */
.lm-aktsii-archive .lm-aktsii-switch{
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    min-width: 250px;
    padding: 4px;
    border-radius: 999px;
    background: #f4f4f4;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}

.lm-aktsii-archive .lm-aktsii-switch__slider{
    position: absolute;
    left: 4px;
    top: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    border-radius: 999px;
    background: #111;
    box-shadow: 0 8px 20px rgba(0,0,0,.16);
    transition: transform .22s ease;
    z-index: 1;
}

.lm-aktsii-archive .lm-aktsii-switch__item{
    position: relative;
    z-index: 2;
    min-height: 38px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    transition: color .2s ease;
}

.lm-aktsii-archive .lm-aktsii-switch__item.is-active{
    color: #fff;
}

/* Панели */
.lm-aktsii-archive .lm-aktsii-panel{
    display: none;
}

.lm-aktsii-archive .lm-aktsii-panel.is-active{
    display: block;
}

.lm-aktsii-archive .is-hidden-archive-card{
    display: none !important;
}

.lm-aktsii-archive .lm-aktsii-more-wrap{
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.lm-aktsii-archive .lm-aktsii-more-button{
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    transition: transform .2s ease, opacity .2s ease;
}

.lm-aktsii-archive .lm-aktsii-more-button:hover{
    transform: translateY(-1px);
    opacity: .92;
}

/* Карточка */
.lm-aktsii-archive .lm-home-promotions__card{
    height: 230px;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 190px;
    gap: 22px;
    padding: 18px;
    overflow: hidden;
    box-sizing: border-box;
}

.lm-aktsii-archive .lm-home-promotions__image-wrap{
    width: 240px;
    height: 194px;
    border-radius: 18px;
    overflow: hidden;
}

.lm-aktsii-archive .lm-home-promotions__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Текстовая колонка */
.lm-aktsii-archive .lm-home-promotions__content{
    min-width: 0;
    height: 174px;
    max-height: 174px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Название и дата всегда сверху */
.lm-aktsii-archive .lm-home-promotions__card-title{
    flex: 0 0 auto;
    margin: 0 0 7px;
}

.lm-aktsii-archive .lm-home-promotions__date{
    flex: 0 0 auto;
    margin: 0 0 8px;
}

/* Анонс занимает остаток */
.lm-aktsii-archive .lm-home-promotions__summary{
    flex: 1 1 auto;
    min-height: 0;
    max-height: 84px;
    overflow: hidden;
    position: relative;
    display: block;
    font-size: 14px;
    line-height: 1.5;
}

.lm-aktsii-archive .lm-home-promotions__summary::after{
    content: "...";
    position: absolute;
    right: 0;
    bottom: 0;
    padding-left: 10px;
    background: #fff;
    color: #555;
}

/* Правая колонка */
.lm-aktsii-archive .lm-home-promotions__side,
.lm-aktsii-archive .lm-home-promotions__price-side,
.lm-aktsii-archive .lm-home-promotions__actions{
    align-self: center;
}

/* Планшет / мобильная */
@media (max-width: 991px){
    .lm-aktsii-archive .lm-single-layout{
        display: block;
    }

    .lm-aktsii-archive .lm-archive-head__row{
        flex-direction: column;
        align-items: flex-start;
    }

    .lm-aktsii-archive .lm-aktsii-switch{
        width: 100%;
        max-width: 360px;
    }

    .lm-aktsii-archive .lm-home-promotions__card{
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .lm-aktsii-archive .lm-home-promotions__image-wrap{
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .lm-aktsii-archive .lm-home-promotions__content{
        height: auto;
        max-height: none;
    }

    .lm-aktsii-archive .lm-home-promotions__summary::after{
        display: none;
    }
}

@media (max-width: 767px){
    .lm-aktsii-archive{
        padding: 24px 0 44px;
    }

    .lm-aktsii-archive > .container{
        padding-left: 14px;
        padding-right: 14px;
    }

    .lm-aktsii-archive .lm-aktsii-switch{
        max-width: none;
    }

    .lm-aktsii-archive .lm-aktsii-switch__item{
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }
}

/* =========================================================
   ЛИДАМЕД — AKTSII MOBILE PRICE BUTTON FINAL
   Реальная структура: price-col > price-badge + button
   ========================================================= */

@media (max-width: 900px){
    .post-type-archive-aktsii .lm-home-promotions__price-col,
.lm-aktsii-archive .lm-home-promotions__price-col{
        position: static !important;
        width: 100% !important;
        margin-top: 12px !important;

        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        align-items: stretch !important;

        flex-direction: unset !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__price-badge,
.lm-aktsii-archive .lm-home-promotions__price-badge{
        grid-column: 2 !important;
        grid-row: 1 !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 4px 6px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__button,
.lm-aktsii-archive .lm-home-promotions__button{
        grid-column: 1 !important;
        grid-row: 1 !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 46px !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 0 10px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: stretch !important;
        box-sizing: border-box !important;
    }

    .post-type-archive-aktsii .lm-home-promotions__price-row,
.lm-aktsii-archive .lm-home-promotions__price-row{
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: baseline !important;
        gap: 5px !important;
        text-align: center !important;
    }

    .post-type-archive-aktsii .lm-new,
.post-type-archive-aktsii .lm-old,
.post-type-archive-aktsii .lm-benefit,
.lm-aktsii-archive .lm-new,
.lm-aktsii-archive .lm-old,
.lm-aktsii-archive .lm-benefit{
        text-align: center !important;
        white-space: nowrap !important;
    }

    .post-type-archive-aktsii .lm-new,
.lm-aktsii-archive .lm-new{
        font-size: 17px !important;
    }

    .post-type-archive-aktsii .lm-benefit,
.lm-aktsii-archive .lm-benefit{
        width: 100% !important;
        margin-top: 3px !important;
        padding-top: 3px !important;
        font-size: 10px !important;
        line-height: 1.1 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ARCHIVE AKTSII MOBILE CARD BADGE VISIBLE
   Мобилка: бейдж "Акция" всегда виден без hover
   ========================================================= */

@media (max-width: 900px){
    .post-type-archive-aktsii .lm-card-badge,
.lm-aktsii-archive .lm-card-badge{
        display: inline-flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
    }
}

.lm-single-layout{
    display:grid;
    grid-template-columns:340px minmax(0,1fr);
    gap:34px;
    align-items:start;
}

.lm-single-sidebar{
    width:340px;
    min-width:340px;
    max-width:340px;
    position:sticky;
    top:140px;
}

.lm-single-main{
    min-width:0;
    width:100%;
    max-width:100%;
}

.lm-service-page-title{
    margin:0 0 18px;
    font-size:48px;
    line-height:1.06;
    font-weight:700;
    color:#1f1f1f;
    letter-spacing:-0.02em;
}

.lm-service-hero{
    position:relative;
    padding:20px;
    border:1px solid #ececec;
    border-bottom:0;
    border-radius:26px 26px 0 0;
    background:#fff;
    box-shadow:0 12px 34px rgba(0,0,0,.045);
    overflow:hidden;
}

.lm-service-hero::after{
    content:"";
    display:block;
    clear:both;
}

.lm-service-hero__media{
    float:left;
    width:300px;
    max-width:300px;
    aspect-ratio:4 / 3;
    border-radius:22px;
    overflow:hidden;
    background:#f5f5f5;
    margin:0 24px 16px 0;
}

.lm-service-hero__media img,
.lm-service-hero__media-placeholder{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.lm-service-hero__top{
    display:grid;
    grid-template-columns:minmax(0,1fr) 210px;
    gap:14px;
    align-items:start;
    min-width:0;
    margin-bottom:12px;
}

.lm-service-price-panel{
    min-width:0;
    min-height:90px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:14px 18px;
    border:1px solid #ececec;
    border-radius:20px;
    background:#fbfbfb;
    text-align:center;
}

.lm-service-price-panel__divider{
    width:100%;
    height:1px;
    background:#e3e3e3;
    margin:10px 0 8px;
}

.lm-service-hero__actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    width:210px;
}

.lm-service-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 18px;
    border-radius:999px;
    text-decoration:none;
    font-size:14px;
    line-height:1;
    font-weight:600;
    transition:all .2s ease;
    white-space:nowrap;
}

.lm-service-btn--dark{
    background:#111;
    color:#fff;
}

.lm-service-btn--dark:hover{
    background:#222;
}

.lm-service-btn--light{
    background:#fff;
    color:#4a4a4a;
    border:1px solid #e2e2e2;
}

.lm-service-btn--light:hover{
    background:#fafafa;
    border-color:#d8d8d8;
}

.lm-service-hero__announcement{
    margin:0;
    font-size:17px;
    line-height:1.72;
    color:#555;
    min-width:0;
}

.lm-promo-hero__announcement p{
    margin:0 0 10px;
}

.lm-promo-hero__announcement p:last-child{
    margin-bottom:0;
}

.lm-promo-service-entry.is-archived{
    opacity:.98;
}

.lm-promo-hero__media{
    position:relative;
}

.lm-promo-hero.is-archived .lm-service-hero__media img,
.lm-promo-hero.is-archived .lm-service-hero__media-placeholder{
    filter:grayscale(20%);
    opacity:.9;
}

.lm-promo-hero__archive-badge{
    position:absolute;
    top:16px;
    left:16px;
    z-index:5;
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 14px;
    border-radius:999px;
    background:rgba(24,24,24,.88);
    color:#fff;
    font-size:13px;
    font-weight:600;
    box-shadow:0 10px 24px rgba(0,0,0,.14);
}

.lm-promo-price-panel__line{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    width:100%;
}

.lm-promo-price-panel__prices{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    gap:12px;
    flex-wrap:nowrap;
    min-width:0;
}

.lm-promo-price-panel__old{
    font-size:17px;
    line-height:1.2;
    color:#9c9c9c;
    text-decoration:line-through;
    white-space:nowrap;
    flex:0 0 auto;
}

.lm-promo-price-panel__new{
    font-size:44px;
    line-height:1;
    font-weight:700;
    letter-spacing:-0.03em;
    color:#1f1f1f;
    white-space:nowrap;
    flex:0 0 auto;
}

.lm-promo-price-panel__discount{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    background:#f1f1f1;
    color:#1f1f1f;
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
    flex:0 0 auto;
    align-self:flex-start;
}

.lm-promo-price-panel__status{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex-wrap:wrap;
    width:100%;
    font-size:12px;
    line-height:1.45;
    color:#8a8a8a;
    text-align:center;
}

.lm-promo-price-panel__status-sep{
    color:#b8b8b8;
}

.lm-service-info-card{
    padding:24px 26px 28px;
    border:1px solid #ececec;
    border-top:0;
    border-radius:0 0 26px 26px;
    background:#fff;
    box-shadow:0 12px 34px rgba(0,0,0,.045);
}

.lm-service-description{
    font-size:17px;
    line-height:1.8;
    color:#333;
    margin-bottom:30px;
}

.lm-service-description > *:first-child{
    margin-top:0;
}

.lm-service-description > *:last-child{
    margin-bottom:0;
}

.lm-promo-inline-relations{
    margin:0 0 30px;
    display:flex;
    flex-direction:column;
    gap:26px;
}

.lm-promo-inline-relations__section{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.lm-service-section-title,
.lm-promo-inline-relations__title{
    margin:0 0 16px;
    font-size:28px;
    line-height:1.2;
    font-weight:700;
    color:#111;
}

.lm-single-promotion__linked-list--inside{
    gap:14px;
}

.lm-single-promotion__linked-list--inside .lm-linked-card{
    width:100%;
}

.lm-service-specs{
    margin-bottom:0;
}

.lm-service-specs__table{
    display:flex;
    flex-direction:column;
    gap:11px;
}

.lm-service-specs__row{
    display:flex;
    align-items:flex-end;
    gap:12px;
}

.lm-service-specs__label{
    font-size:16px;
    line-height:1.4;
    color:#444;
    white-space:nowrap;
}

.lm-service-specs__dots{
    flex:1 1 auto;
    border-bottom:1px dashed #d8d8d8;
    transform:translateY(-4px);
}

.lm-service-specs__value{
    font-size:16px;
    line-height:1.4;
    color:#111;
    text-align:right;
    max-width:48%;
}

.lm-faq-block--inside{
    margin-top:30px;
}

.lm-faq-accordion{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.lm-faq-item{
    border:1px solid #ececec;
    border-radius:16px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 8px 26px rgba(0,0,0,.04);
}

.lm-faq-question{
    width:100%;
    padding:20px 22px;
    background:#fff;
    border:0;
    text-align:left;
    cursor:pointer;
    font-weight:600;
    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.lm-faq-question__text{
    flex:1 1 auto;
}

.lm-faq-question__icon{
    position:relative;
    flex:0 0 18px;
    width:18px;
    height:18px;
}

.lm-faq-question__icon:before,
.lm-faq-question__icon:after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    background:#999;
    transform:translate(-50%,-50%);
    transition:opacity .2s ease;
    border-radius:2px;
}

.lm-faq-question__icon:before{
    width:18px;
    height:2px;
}

.lm-faq-question__icon:after{
    width:2px;
    height:18px;
}

.lm-faq-item.open .lm-faq-question__icon:after{
    opacity:0;
}

.lm-faq-answer{
    display:none;
    padding:0 22px 22px;
    border-top:1px solid #eee;
}

.lm-faq-item.open .lm-faq-answer{
    display:block;
}

.lm-faq-answer__inner{
    padding-top:18px;
}

.lm-single-promotion__linked-block--articles{
    margin-top:32px;
}

@media (max-width: 1260px){
    .lm-single-layout{
        grid-template-columns:320px minmax(0,1fr);
        gap:28px;
    }

    .lm-single-sidebar{
        width:320px;
        min-width:320px;
        max-width:320px;
    }
}

@media (max-width: 991px){
    .lm-single-layout{
        display:block;
    }

    .lm-single-sidebar{
        display:none;
    }

    .lm-service-page-title{
        font-size:34px;
    }

    .lm-service-hero{
        display:block;
    }

    .lm-service-hero__media{
        float:none;
        width:100%;
        max-width:none;
        aspect-ratio:16 / 10;
        margin:0 0 14px 0;
    }
}

@media (max-width: 767px){
    .lm-service-hero{
        padding:14px;
        gap:14px;
    }

    .lm-service-hero__top{
        grid-template-columns:1fr;
        gap:12px;
    }

    .lm-service-hero__actions{
        width:100%;
    }

    .lm-service-btn{
        width:100%;
    }

    .lm-service-section-title,
.lm-promo-inline-relations__title{
        font-size:24px;
    }

    .lm-service-specs__row{
        gap:8px;
    }

    .lm-service-specs__value{
        max-width:50%;
    }

    .lm-promo-hero__archive-badge{
        top:14px;
        left:14px;
        min-height:32px;
        padding:0 12px;
        font-size:12px;
    }

    .lm-promo-price-panel__line{
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
    }

    .lm-promo-price-panel__prices{
        flex-wrap:wrap;
        gap:10px;
    }

    .lm-promo-price-panel__old{
        font-size:16px;
    }

    .lm-promo-price-panel__new{
        font-size:34px;
    }

    .lm-promo-price-panel__discount{
        min-height:30px;
        font-size:12px;
    }

    .lm-promo-price-panel__status{
        justify-content:flex-start;
        text-align:left;
        font-size:12px;
    }
}

/* =========================================================
   ЛИДАМЕД — SINGLE AKTSII FINAL FIXES
   Цена, срок акции, мобильная строка цены, единая ширина контента
   ========================================================= */

.lm-single-aktsii-page{
    padding: 36px 0 56px;
}

.lm-single-aktsii-page > .container{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* Верхний блок: не даём цене и кнопкам наслаиваться */
.lm-single-aktsii-page .lm-service-hero__top{
    grid-template-columns: minmax(280px, 1fr) 210px;
    align-items: stretch;
}

.lm-single-aktsii-page .lm-promo-price-panel{
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Цена + скидка в одну строку */
.lm-single-aktsii-page .lm-promo-price-panel__line{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
}

.lm-single-aktsii-page .lm-promo-price-panel__prices{
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: nowrap;
}

.lm-single-aktsii-page .lm-promo-price-panel__old,
.lm-single-aktsii-page .lm-promo-price-panel__new,
.lm-single-aktsii-page .lm-promo-price-panel__discount{
    white-space: nowrap;
    flex: 0 0 auto;
}

.lm-single-aktsii-page .lm-promo-price-panel__new{
    font-size: clamp(34px, 3.2vw, 44px);
}

.lm-single-aktsii-page .lm-promo-price-panel__old{
    font-size: clamp(14px, 1.2vw, 17px);
}

.lm-single-aktsii-page .lm-promo-price-panel__discount{
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
}

/* Срок акции строго одной строкой и по центру */
.lm-single-aktsii-page .lm-promo-price-panel__status{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: nowrap;
    width: 100%;
    white-space: nowrap;
    text-align: center;
}

/* Контентные блоки в одной ширине с анонсом */
.lm-single-aktsii-page .lm-service-info-card{
    padding: 24px 26px 28px;
}

.lm-single-aktsii-page .lm-service-description,
.lm-single-aktsii-page .lm-promo-inline-relations,
.lm-single-aktsii-page .lm-service-specs,
.lm-single-aktsii-page .lm-faq-block--inside,
.lm-single-aktsii-page .lm-single-promotion__linked-block--articles{
    width: 100%;
    max-width: none;
}

/* Средние экраны: уменьшаем цену, а не ломаем строку */
@media (max-width: 1180px) and (min-width: 992px){
    .lm-single-aktsii-page .lm-service-hero__top{
        grid-template-columns: minmax(250px, 1fr) 190px;
        gap: 12px;
    }

    .lm-single-aktsii-page .lm-service-hero__actions{
        width: 190px;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__new{
        font-size: 36px;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__old{
        font-size: 14px;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__discount{
        padding: 0 8px;
        font-size: 11px;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__status{
        font-size: 11px;
        gap: 5px;
    }
}

/* Мобильная версия */
@media (max-width: 767px){
    .lm-single-aktsii-page{
        padding: 24px 0 44px;
    }

    .lm-single-aktsii-page > .container{
        padding-left: 14px;
        padding-right: 14px;
    }

    .lm-single-aktsii-page .lm-service-hero{
        padding: 14px;
    }

    .lm-single-aktsii-page .lm-service-hero__top{
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lm-single-aktsii-page .lm-promo-price-panel{
        padding: 12px 14px;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__line{
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__prices{
        gap: 8px;
        flex-wrap: nowrap;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__old{
        font-size: 14px;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__new{
        font-size: 30px;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__discount{
        min-height: 28px;
        padding: 0 8px;
        font-size: 11px;
        align-self: center;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__status{
        justify-content: center;
        text-align: center;
        flex-wrap: nowrap;
        white-space: nowrap;
        font-size: 11px;
        gap: 5px;
    }

    .lm-single-aktsii-page .lm-service-info-card{
        padding: 18px 14px 22px;
    }

    .lm-single-aktsii-page .lm-service-description{
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 374px){
    .lm-single-aktsii-page .lm-promo-price-panel__new{
        font-size: 27px;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__old{
        font-size: 12px;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__discount{
        font-size: 10px;
        padding: 0 7px;
    }

    .lm-single-aktsii-page .lm-promo-price-panel__status{
        font-size: 10px;
    }
}

/* =========================================================
   ЛИДАМЕД — SINGLE AKTSII PRICE + DISCOUNT BADGE REBUILD
   Процент переносим на фото, цену центрируем в плашке
   ========================================================= */

/* Фото — база для бейджа скидки */
.single-aktsii .lm-single-promotion__image,
.single-aktsii .lm-promo-single__image-wrap{
    position: relative;
    overflow: hidden;
}

/* Скидка уходит из строки цены */
.single-aktsii .lm-single-promotion__discount,
.single-aktsii .lm-promo-single__disc{
    position: absolute !important;
    top: 14px;
    left: 14px;
    z-index: 5;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-width: 58px;
    min-height: 30px;
    padding: 0 10px;

    border-radius: 999px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);

    font-size: 13px !important;
    font-weight: 700;
    line-height: 1;
    color: #111;
}

/* Плашка цены */
.single-aktsii .lm-single-promotion__prices,
.single-aktsii .lm-promo-single__prices{
    justify-content: center !important;
    align-items: baseline !important;
    gap: 10px !important;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

/* Старая цена */
.single-aktsii .lm-single-promotion__old-price,
.single-aktsii .lm-promo-single__old{
    font-size: clamp(12px, 1vw, 15px) !important;
    white-space: nowrap;
}

/* Новая цена — резиновая */
.single-aktsii .lm-single-promotion__new-price,
.single-aktsii .lm-promo-single__new{
    font-size: clamp(26px, 3vw, 40px) !important;
    line-height: 1 !important;
    white-space: nowrap;
    text-align: center;
}

/* Бейдж скидки на фото */
.single-aktsii .lm-promo-discount-badge{
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px 10px;
    border-radius: 999px;

    background: rgba(255,255,255,.95);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);

    font-size: 13px;
    font-weight: 700;
    color: #111;
}

/* Цена теперь чистая */
.single-aktsii .lm-single-promotion__prices{
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.single-aktsii .lm-single-promotion__new-price{
    font-size: clamp(26px, 3vw, 40px);
}


/* =========================================================
   ЛИДАМЕД — SINGLE AKTSII PRICE + DISCOUNT REAL FIX
   Реальные классы: lm-promo-hero__discount-badge / lm-promo-price-panel
   ========================================================= */

/* Фото — база для абсолютного бейджа */
.single-aktsii .lm-promo-hero__media{
    position: relative !important;
    overflow: hidden !important;
}

/* Процент на фото */
.single-aktsii .lm-promo-hero__discount-badge{
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 20 !important;

    width: 54px !important;
    height: 54px !important;
    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.18) !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    clip-path: polygon(
        50% 0%, 61% 18%, 82% 10%, 85% 32%,
        100% 42%, 85% 58%, 91% 80%, 67% 76%,
        58% 100%, 42% 78%, 18% 90%, 22% 65%,
        0% 55%, 18% 42%, 10% 20%, 33% 23%
    ) !important;

    transform: rotate(-8deg) !important;
}

.single-aktsii .lm-promo-hero__discount-badge span{
    display: block !important;
    transform: rotate(8deg) !important;
}

/* Цена — резиновая */
.single-aktsii .lm-promo-price-panel__prices{
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: clamp(6px, 0.8vw, 12px) !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.single-aktsii .lm-promo-price-panel__old{
    font-size: clamp(11px, 0.9vw, 15px) !important;
    white-space: nowrap !important;
}

.single-aktsii .lm-promo-price-panel__new{
    font-size: clamp(24px, 2.4vw, 40px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    letter-spacing: -0.04em !important;
}

.single-aktsii .lm-promo-price-panel__status{
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
}

@media (max-width: 767px){
    .single-aktsii .lm-promo-hero__discount-badge{
        width: 46px !important;
        height: 46px !important;
        font-size: 10px !important;
        top: 10px !important;
        left: 10px !important;
    }

    .single-aktsii .lm-promo-price-panel__new{
        font-size: clamp(25px, 8vw, 34px) !important;
    }
}

/* ЛИДАМЕД — SINGLE AKTSII PRICE ELASTIC FINAL */
.single-aktsii .lm-promo-price-panel{
    container-type: inline-size;
    min-width: 0 !important;
    overflow: hidden !important;
}

.single-aktsii .lm-promo-price-panel__prices{
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: clamp(4px, 1cqw, 10px) !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.single-aktsii .lm-promo-price-panel__old{
    flex: 0 1 auto !important;
    min-width: 0 !important;
    font-size: clamp(18px, 6.5cqw, 24px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.single-aktsii .lm-promo-price-panel__new{
    flex: 0 1 auto !important;
    min-width: 0 !important;
    font-size: clamp(22px, 13.5cqw, 46px) !important;
    line-height: 1 !important;
    letter-spacing: -0.05em !important;
    white-space: nowrap !important;
}

.single-aktsii .lm-promo-price-panel__status{
    white-space: nowrap !important;
    text-align: center !important;
    font-size: clamp(12px, 4cqw, 14px) !important;
}

.lm-single-layout{
    display:grid;
    grid-template-columns:340px minmax(0,1fr);
    gap:34px;
    align-items:start;
}

.lm-single-sidebar{
    width:340px;
    min-width:340px;
    max-width:340px;
    position:sticky;
    top:140px;
}

.lm-single-main{
    min-width:0;
    width:100%;
    max-width:100%;
}

.lm-service-page-title{
    margin:0 0 18px;
    font-size:48px;
    line-height:1.06;
    font-weight:700;
    color:#1f1f1f;
    letter-spacing:-0.02em;
}

.lm-service-hero{
    position:relative;
    padding:20px;
    border:1px solid #ececec;
    border-bottom:0;
    border-radius:26px 26px 0 0;
    background:#fff;
    box-shadow:0 12px 34px rgba(0,0,0,.045);
    overflow:hidden;
}

.lm-service-hero::after{
    content:"";
    display:block;
    clear:both;
}

.lm-service-hero__media{
    float:left;
    width:300px;
    max-width:300px;
    aspect-ratio:4 / 3;
    border-radius:22px;
    overflow:hidden;
    background:#f5f5f5;
    margin:0 24px 16px 0;
}

.lm-service-hero__media img,
.lm-service-hero__media-placeholder{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.lm-service-hero__top{
    display:grid;
    grid-template-columns:minmax(0,1fr) 210px;
    gap:14px;
    align-items:start;
    min-width:0;
    margin-bottom:12px;
}

.lm-service-price-panel{
    min-width:0;
    min-height:90px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:14px 18px;
    border:1px solid #ececec;
    border-radius:20px;
    background:#fbfbfb;
    text-align:center;
}

.lm-service-price-panel__divider{
    width:100%;
    height:1px;
    background:#e3e3e3;
    margin:10px 0 8px;
}

.lm-service-hero__actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    width:210px;
}

.lm-service-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 18px;
    border-radius:999px;
    text-decoration:none;
    font-size:14px;
    line-height:1;
    font-weight:600;
    transition:all .2s ease;
    white-space:nowrap;
}

.lm-service-btn--dark{
    background:#111;
    color:#fff;
}

.lm-service-btn--dark:hover{
    background:#222;
}

.lm-service-btn--light{
    background:#fff;
    color:#4a4a4a;
    border:1px solid #e2e2e2;
}

.lm-service-btn--light:hover{
    background:#fafafa;
    border-color:#d8d8d8;
}

.lm-service-hero__announcement{
    margin:0;
    font-size:17px;
    line-height:1.72;
    color:#555;
    min-width:0;
}

.lm-promo-hero__announcement p{
    margin:0 0 10px;
}

.lm-promo-hero__announcement p:last-child{
    margin-bottom:0;
}

.lm-promo-service-entry.is-archived{
    opacity:.98;
}

.lm-promo-hero__media{
    position:relative;
}

.lm-promo-hero.is-archived .lm-service-hero__media img,
.lm-promo-hero.is-archived .lm-service-hero__media-placeholder{
    filter:grayscale(20%);
    opacity:.9;
}

.lm-promo-hero__archive-badge{
    position:absolute;
    top:16px;
    left:16px;
    z-index:5;
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 14px;
    border-radius:999px;
    background:rgba(24,24,24,.88);
    color:#fff;
    font-size:13px;
    font-weight:600;
    box-shadow:0 10px 24px rgba(0,0,0,.14);
}

.lm-promo-price-panel__line{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    width:100%;
}

.lm-promo-price-panel__prices{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    gap:12px;
    flex-wrap:nowrap;
    min-width:0;
}

.lm-promo-price-panel__old{
    font-size:17px;
    line-height:1.2;
    color:#9c9c9c;
    text-decoration:line-through;
    white-space:nowrap;
    flex:0 0 auto;
}

.lm-promo-price-panel__new{
    font-size:44px;
    line-height:1;
    font-weight:700;
    letter-spacing:-0.03em;
    color:#1f1f1f;
    white-space:nowrap;
    flex:0 0 auto;
}

.lm-promo-price-panel__discount{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    background:#f1f1f1;
    color:#1f1f1f;
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
    flex:0 0 auto;
    align-self:flex-start;
}

.lm-promo-price-panel__status{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex-wrap:wrap;
    width:100%;
    font-size:12px;
    line-height:1.45;
    color:#8a8a8a;
    text-align:center;
}

.lm-promo-price-panel__status-sep{
    color:#b8b8b8;
}

.lm-service-info-card{
    padding:24px 26px 28px;
    border:1px solid #ececec;
    border-top:0;
    border-radius:0 0 26px 26px;
    background:#fff;
    box-shadow:0 12px 34px rgba(0,0,0,.045);
}

.lm-service-description{
    font-size:17px;
    line-height:1.8;
    color:#333;
    margin-bottom:30px;
}

.lm-service-description > *:first-child{
    margin-top:0;
}

.lm-service-description > *:last-child{
    margin-bottom:0;
}

.lm-promo-inline-relations{
    margin:0 0 30px;
    display:flex;
    flex-direction:column;
    gap:26px;
}

.lm-promo-inline-relations__section{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.lm-service-section-title,
.lm-promo-inline-relations__title{
    margin:0 0 16px;
    font-size:28px;
    line-height:1.2;
    font-weight:700;
    color:#111;
}

.lm-single-promotion__linked-list--inside{
    gap:14px;
}

.lm-single-promotion__linked-list--inside .lm-linked-card{
    width:100%;
}

.lm-service-specs{
    margin-bottom:0;
}

.lm-service-specs__table{
    display:flex;
    flex-direction:column;
    gap:11px;
}

.lm-service-specs__row{
    display:flex;
    align-items:flex-end;
    gap:12px;
}

.lm-service-specs__label{
    font-size:16px;
    line-height:1.4;
    color:#444;
    white-space:nowrap;
}

.lm-service-specs__dots{
    flex:1 1 auto;
    border-bottom:1px dashed #d8d8d8;
    transform:translateY(-4px);
}

.lm-service-specs__value{
    font-size:16px;
    line-height:1.4;
    color:#111;
    text-align:right;
    max-width:48%;
}

.lm-faq-block--inside{
    margin-top:30px;
}

.lm-faq-accordion{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.lm-faq-item{
    border:1px solid #ececec;
    border-radius:16px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 8px 26px rgba(0,0,0,.04);
}

.lm-faq-question{
    width:100%;
    padding:20px 22px;
    background:#fff;
    border:0;
    text-align:left;
    cursor:pointer;
    font-weight:600;
    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.lm-faq-question__text{
    flex:1 1 auto;
}

.lm-faq-question__icon{
    position:relative;
    flex:0 0 18px;
    width:18px;
    height:18px;
}

.lm-faq-question__icon:before,
.lm-faq-question__icon:after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    background:#999;
    transform:translate(-50%,-50%);
    transition:opacity .2s ease;
    border-radius:2px;
}

.lm-faq-question__icon:before{
    width:18px;
    height:2px;
}

.lm-faq-question__icon:after{
    width:2px;
    height:18px;
}

.lm-faq-item.open .lm-faq-question__icon:after{
    opacity:0;
}

.lm-faq-answer{
    display:none;
    padding:0 22px 22px;
    border-top:1px solid #eee;
}

.lm-faq-item.open .lm-faq-answer{
    display:block;
}

.lm-faq-answer__inner{
    padding-top:18px;
}

.lm-single-promotion__linked-block--articles{
    margin-top:32px;
}

@media (max-width: 1260px){
    .lm-single-layout{
        grid-template-columns:320px minmax(0,1fr);
        gap:28px;
    }

    .lm-single-sidebar{
        width:320px;
        min-width:320px;
        max-width:320px;
    }
}

@media (max-width: 991px){
    .lm-single-layout{
        display:block;
    }

    .lm-single-sidebar{
        display:none;
    }

    .lm-service-page-title{
        font-size:34px;
    }

    .lm-service-hero{
        display:block;
    }

    .lm-service-hero__media{
        float:none;
        width:100%;
        max-width:none;
        aspect-ratio:16 / 10;
        margin:0 0 14px 0;
    }
}

@media (max-width: 767px){
    .lm-service-hero{
        padding:14px;
        gap:14px;
    }

    .lm-service-hero__top{
        grid-template-columns:1fr;
        gap:12px;
    }

    .lm-service-hero__actions{
        width:100%;
    }

    .lm-service-btn{
        width:100%;
    }

    .lm-service-section-title,
.lm-promo-inline-relations__title{
        font-size:24px;
    }

    .lm-service-specs__row{
        gap:8px;
    }

    .lm-service-specs__value{
        max-width:50%;
    }

    .lm-promo-hero__archive-badge{
        top:14px;
        left:14px;
        min-height:32px;
        padding:0 12px;
        font-size:12px;
    }

    .lm-promo-price-panel__line{
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
    }

    .lm-promo-price-panel__prices{
        flex-wrap:wrap;
        gap:10px;
    }

    .lm-promo-price-panel__old{
        font-size:16px;
    }

    .lm-promo-price-panel__new{
        font-size:34px;
    }

    .lm-promo-price-panel__discount{
        min-height:30px;
        font-size:12px;
    }

    .lm-promo-price-panel__status{
        justify-content:flex-start;
        text-align:left;
        font-size:12px;
    }
}



.lm-promo-price-panel{
    width: 100% !important;
    overflow: hidden !important;
}

.lm-promo-price-panel__prices{
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px 10px !important;
    max-width: 100% !important;
}

.lm-promo-price-panel__old,
.lm-promo-price-panel__new{
    max-width: 100% !important;
    word-break: break-word !important;
    text-align: center !important;
}

/* адаптивный размер */
.lm-promo-price-panel__new{
    font-size: clamp(20px, 3vw, 30px) !important;
}

.lm-promo-price-panel__old{
    font-size: clamp(14px, 1.5vw, 18px) !important;
}

/* =========================================================
   ЛИДАМЕД — ARCHIVE ARTICLES FINAL
   Архив статей: категории, карточки, кнопка показать ещё
   ========================================================= */

.post-type-archive-articles .site-main > .container,
.tax-article_category .site-main > .container{
    padding-top: 60px;
    padding-bottom: 60px;
}

.articles-archive{
    padding: 6px 0 30px;
}

.articles-archive-header{
    margin-bottom: 26px;
}

/* Категории */
.articles-filter{
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 18px 0 24px !important;
    padding: 0 !important;

    overflow: visible !important;
    white-space: normal !important;
}

.articles-filter__track{
    display: contents !important;
}

.articles-filter::before,
.articles-filter::after{
    display: none !important;
}

.articles-filter-link{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;
    min-height: 36px !important;
    padding: 8px 16px !important;

    border: 1px solid rgba(0,0,0,0.07) !important;
    border-radius: 999px !important;
    background: #f3f1f2 !important;
    color: #5f5a5d !important;

    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    text-decoration: none !important;

    transition: all .2s ease !important;
}

.articles-filter-link:hover{
    background: #e9e6e8 !important;
    border-color: rgba(0,0,0,0.11) !important;
}

.articles-filter-link.is-active{
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

/* Сетка карточек */
.articles-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.article-card{
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    overflow: hidden;
}

.article-card.is-hidden-by-limit{
    display: none;
}

.article-card-image{
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #f5f5f5;
    overflow: hidden;
}

.article-card-image img,
.article-card-image .no-image{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f5f5f5;
}

.article-card-body{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 20px;
}

.article-card-category{
    margin: 0 0 12px;
    line-height: 1;
}

.article-card-category a{
    display: block;
    width: 100%;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(246,241,244,.7);
    color: #7b6672;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.article-card-title{
    margin: 0 0 12px;
    min-height: 72px;
    font-size: 20px;
    line-height: 1.22;
    font-weight: 700;
    color: #111;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-title a{
    color: inherit;
    text-decoration: none;
}

.article-card-excerpt{
    min-height: 76px;
    color: #5d646d;
    font-size: 15px;
    line-height: 1.6;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-link{
    margin-top: auto;
    padding-top: 18px;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}

/* Показать ещё */
.articles-show-more-wrap{
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.articles-show-more-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0 28px;

    border: 1px solid #dedede;
    border-radius: 999px;
    background: #fff;
    color: #111;

    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    box-shadow: 0 8px 24px rgba(0,0,0,.04);
    transition: all .2s ease;
}

.articles-show-more-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0,0,0,.07);
    border-color: #cfcfcf;
}

/* Адаптив */
@media (max-width: 991px){
    .articles-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px){
    .post-type-archive-articles .site-main > .container,
.tax-article_category .site-main > .container{
        padding-top: 36px;
        padding-bottom: 48px;
    }

    .articles-filter{
        gap: 8px !important;
        margin: 16px 0 22px !important;
    }

    .articles-filter-link{
        min-height: 34px !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    .articles-grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-card{
        border-radius: 18px;
    }

    .article-card-body{
        padding: 16px 16px 18px;
    }

    .article-card-title{
        min-height: 0;
        font-size: 20px;
    }

    .article-card-excerpt{
        min-height: 0;
        font-size: 14px;
        line-height: 1.65;
    }
}

/* =========================================================
   ЛИДАМЕД — ARTICLES ARCHIVE FINAL COMPACT STYLE
   Компактные карточки: 2 строки, Читать справа, hover
   ========================================================= */

.post-type-archive-articles .article-card,
.tax-article_category .article-card{
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.post-type-archive-articles .article-card:hover,
.tax-article_category .article-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,.08);
    border-color: rgba(0,0,0,.12);
}

.post-type-archive-articles .article-card-image img,
.tax-article_category .article-card-image img{
    transition: transform .35s ease;
}

.post-type-archive-articles .article-card:hover .article-card-image img,
.tax-article_category .article-card:hover .article-card-image img{
    transform: scale(1.035);
}

.post-type-archive-articles .article-card-body,
.tax-article_category .article-card-body{
    position: relative !important;
    padding: 15px 16px 16px !important;
}

.post-type-archive-articles .article-card-title,
.tax-article_category .article-card-title{
    min-height: 0 !important;
    margin: 0 !important;
    padding-right: 0 !important;

    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.post-type-archive-articles .article-card-excerpt,
.tax-article_category .article-card-excerpt{
    display: none !important;
}

/* Маска закрывает только конец второй строки перед "Читать" */
.post-type-archive-articles .article-card-body::after,
.tax-article_category .article-card-body::after{
    content: "" !important;
    position: absolute !important;
    right: 16px !important;
    bottom: 16px !important;
    width: 86px !important;
    height: 22px !important;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff 22%, #fff 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.post-type-archive-articles .article-card-link,
.tax-article_category .article-card-link{
    position: absolute !important;
    right: 16px !important;
    bottom: 16px !important;
    z-index: 3 !important;

    margin: 0 !important;
    padding: 0 0 0 8px !important;

    background: #fff !important;
    color: #111 !important;

    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    text-decoration: none !important;

    display: inline-block !important;
    transition: transform .18s ease, opacity .18s ease;
    transform-origin: right center;
}

.post-type-archive-articles .article-card:hover .article-card-link,
.tax-article_category .article-card:hover .article-card-link{
    transform: scale(1.08);
}

.post-type-archive-articles .article-card-link:hover,
.tax-article_category .article-card-link:hover{
    transform: scale(1.12);
}

/* =========================================================
   ЛИДАМЕД — ARTICLES READ LINK SOFT FADE FINAL
   Чистое затухание + аккуратная подложка только под "Читать"
   ========================================================= */

.post-type-archive-articles .article-card-body::after,
.tax-article_category .article-card-body::after{
    content: "" !important;
    position: absolute !important;
    right: 54px !important;
    bottom: 16px !important;
    width: 70px !important;
    height: 22px !important;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff 62%, #fff 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.post-type-archive-articles .article-card-link,
.tax-article_category .article-card-link{
    z-index: 3 !important;
    background: #fff !important;
    padding-left: 5px !important;
    box-decoration-break: clone !important;
    -webkit-box-decoration-break: clone !important;
}

/* =========================================================
   ЛИДАМЕД — SINGLE ARTICLES FINAL
   Сингл статей: layout, контент, связанные карточки, рекомендации
   ========================================================= */

.lm-single-layout{
    display:flex;
    align-items:flex-start;
    gap:32px;
}

.lm-single-sidebar{
    flex:0 0 290px;
    width:290px;
    position:sticky;
    top:140px;
}

.lm-single-main{
    min-width:0;
    flex:1 1 auto;
}

.single-article-container{
    width:100%;
    max-width:none;
    margin:0;
}

.single-article{
    width:100%;
    max-width:none;
    margin:0;
    padding:28px 32px;
    border:1px solid #eee;
    border-radius:24px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.single-article:after{
    content:"";
    display:block;
    clear:both;
}

.single-article-preview{
    margin:0 0 24px;
    width:100%;
    padding:20px 24px;
    border:1px solid #eee;
    border-radius:18px;
    background:#fff;
    color:#444;
    font-size:16px;
    line-height:1.7;
    box-shadow:0 8px 24px rgba(0,0,0,.035);
}

.single-article-image{
    float:left;
    width:48%;
    max-width:640px;
    aspect-ratio:4/3;
    margin:0 28px 18px 0;
    border-radius:22px;
    overflow:hidden;
    background:#f5f5f5;
}

.single-article-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.single-article-content{
    width:100%;
    color:#333;
    font-size:17px;
    line-height:1.8;
}

.single-article-content > *:first-child{
    margin-top:0;
}

.single-article-content > *:last-child{
    margin-bottom:0;
}

.single-article-content h2{
    margin:34px 0 16px;
    font-size:24px;
    line-height:1.25;
    color:#111;
}

.single-article-content h3{
    margin:28px 0 14px;
    font-size:21px;
    line-height:1.3;
    color:#111;
}

.single-article-content p{
    margin:0 0 18px;
}

.single-article-content ul,
.single-article-content ol{
    margin:0 0 20px;
    padding-left:24px;
}

.single-article-content li{
    margin-bottom:8px;
}

.single-article-related-inside{
    clear:both;
    margin-top:32px;
    padding-top:24px;
    border-top:1px solid #efefef;
}

.single-article-related-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.lm-linked-card{
    display:flex;
    align-items:stretch;
    gap:18px;
    width:100%;
    min-height:150px;
    padding:12px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:22px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    text-decoration:none;
    color:inherit;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow:hidden;
}

.lm-linked-card:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 34px rgba(0,0,0,.08);
    border-color:rgba(0,0,0,.12);
}

.lm-linked-card__image-wrap{
    flex:0 0 180px;
    width:180px;
    border-radius:16px;
    overflow:hidden;
    align-self:stretch;
}

.lm-linked-card__image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.lm-linked-card__body{
    min-width:0;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:4px 6px 4px 0;
}

.lm-linked-card__title{
    margin:0 0 10px;
    font-size:20px;
    line-height:1.25;
    font-weight:700;
    color:#1f1f1f;
}

.lm-linked-card__text{
    font-size:15px;
    line-height:1.6;
    color:#5d646d;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.single-article-more{
    margin-top:28px;
}

.single-article-more-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    align-items:stretch;
}

.single-article-more-card{
    min-height:100%;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.08);
    border-radius:22px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.single-article-more-card:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 34px rgba(0,0,0,.08);
    border-color:rgba(0,0,0,.12);
}

.single-article-more-card__image-wrap{
    width:100%;
    aspect-ratio:16/10;
    background:#f5f5f5;
    overflow:hidden;
}

.single-article-more-card__image{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.single-article-more-card__image--empty{
    width:100%;
    height:100%;
    background:#f5f5f5;
}

.single-article-more-card__body{
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    padding:16px 18px 18px;
}

.single-article-more-card__badge{
    width:100%;
    margin:0 0 10px;
    padding:6px 10px;
    border-radius:10px;

    background:rgba(246,241,244,0.7);
    color:#7b6672;

    font-size:11px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;

    text-align:center;
}

.single-article-more-card__title{
    margin:0;
    font-size:17px;
    line-height:1.35;
    font-weight:700;
    color:#1f1f1f;
}

@media (max-width: 991px){
    .lm-single-layout{
        flex-direction:column;
    }

    .lm-single-sidebar{
        position:static;
        width:100%;
        flex:0 0 auto;
    }

    .single-article-more-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width: 767px){
    .single-article{
        padding:20px 18px;
        border-radius:20px;
    }

    .single-article-preview{
        padding:16px 18px;
        margin-bottom:20px;
    }

    .single-article-image{
        float:none;
        width:100%;
        max-width:none;
        margin:0 0 22px;
    }

    .single-article-content{
        font-size:16px;
        line-height:1.75;
    }

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

    .lm-linked-card{
        gap:14px;
        min-height:140px;
        padding:10px;
        border-radius:18px;
    }

    .lm-linked-card__image-wrap{
        flex:0 0 120px;
        width:120px;
        border-radius:14px;
    }

    .lm-linked-card__title{
        font-size:18px;
        margin-bottom:8px;
    }

    .lm-linked-card__text{
        font-size:14px;
        line-height:1.5;
        -webkit-line-clamp:3;
    }
}

/* =========================================================
   ЛИДАМЕД — SINGLE ARTICLES MORE CARDS COMPACT
   Нижние случайные статьи: компактно + hover
   ========================================================= */

.single-articles .single-article-more-card{
    position: relative !important;
    overflow: hidden !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.single-articles .single-article-more-card:hover{
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(0,0,0,.08) !important;
    border-color: rgba(0,0,0,.12) !important;
}

.single-articles .single-article-more-card__image{
    transition: transform .35s ease !important;
}

.single-articles .single-article-more-card:hover .single-article-more-card__image{
    transform: scale(1.035) !important;
}

.single-articles .single-article-more-card__body{
    position: relative !important;
    padding: 15px 16px 16px !important;
}

.single-articles .single-article-more-card__title{
    min-height: 0 !important;
    margin: 0 !important;
    padding-right: 0 !important;

    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.single-articles .single-article-more-card__body::after{
    content: "" !important;
    position: absolute !important;
    right: 54px !important;
    bottom: 16px !important;
    width: 70px !important;
    height: 22px !important;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff 62%, #fff 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.single-articles .single-article-more-card__body::before{
    content: "Читать →" !important;
    position: absolute !important;
    right: 16px !important;
    bottom: 16px !important;
    z-index: 3 !important;

    padding-left: 5px !important;
    background: #fff !important;
    color: #111 !important;

    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;

    transition: transform .18s ease, opacity .18s ease !important;
    transform-origin: right center !important;
}

.single-articles .single-article-more-card:hover .single-article-more-card__body::before{
    transform: scale(1.08) !important;
}

/* =========================================================
   ЛИДАМЕД — FAQ (архив)
   Чистый премиальный стиль без фуксии
   ========================================================= */

.lm-faq-page__head{
    margin-bottom:28px;
}

.lm-faq-page__title{
    margin:0 0 10px;
    font-size:38px;
    line-height:1.15;
    font-weight:700;
}

.lm-faq-page__subtitle{
    max-width:900px;
    font-size:17px;
    line-height:1.65;
    color:#666;
}

/* ФИЛЬТРЫ */

.lm-faq-filters{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:26px;
}

.lm-faq-filter{
    border:1px solid #e6e6e6;
    background:#fff;
    color:#444;
    border-radius:999px;
    padding:10px 18px;
    font-size:14px;
    font-weight:500;
    cursor:pointer;
    transition:all .25s ease;
}

.lm-faq-filter:hover{
    background:#f7f7f7;
}

.lm-faq-filter.is-active{
    background:#222;
    color:#fff;
    border-color:#222;
}

/* ГРУППЫ */

.lm-faq-group{
    display:none;
}

.lm-faq-group.is-active{
    display:block;
}

.lm-faq-group__title{
    margin:0 0 20px;
    font-size:24px;
    font-weight:600;
}

/* АККОРДЕОН */

.lm-faq-accordion{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.lm-faq-item{
    border:1px solid #e9e9e9;
    border-radius:18px;
    background:#fff;
    overflow:hidden;
    transition:all .25s ease;
}

.lm-faq-item:hover{
    box-shadow:0 10px 28px rgba(0,0,0,0.05);
}

.lm-faq-question{
    width:100%;
    border:0;
    background:none;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 22px;
    cursor:pointer;
    font-size:17px;
    font-weight:600;
    color:#222;
}

.lm-faq-question__icon{
    width:16px;
    height:16px;
    position:relative;
}

.lm-faq-question__icon::before,
.lm-faq-question__icon::after{
    content:"";
    position:absolute;
    background:#888;
    transition:.25s;
}

.lm-faq-question__icon::before{
    width:16px;
    height:2px;
    top:50%;
    left:0;
    transform:translateY(-50%);
}

.lm-faq-question__icon::after{
    width:2px;
    height:16px;
    left:50%;
    top:0;
    transform:translateX(-50%);
}

.lm-faq-item.is-open .lm-faq-question__icon::after{
    opacity:0;
}

/* ОТВЕТ */

.lm-faq-answer{
    display:none;
    padding:0 22px 22px;
}

.lm-faq-item.is-open .lm-faq-answer{
    display:block;
}

.lm-faq-answer__inner{
    font-size:16px;
    line-height:1.7;
    color:#444;
}

/* МОБИЛКА */

@media (max-width:767px){

    .lm-faq-page__title{
        font-size:28px;
    }

    .lm-faq-question{
        font-size:15px;
        padding:16px;
    }

    .lm-faq-answer{
        padding:0 16px 16px;
    }

}


/* =========================================================
   ЛИДАМЕД — LICENSE PAGE + MODAL FINAL
   ========================================================= */

.license-page{
    max-width:1160px;
    margin:0 auto;
    padding:0 20px 24px;
}

.license-subtitle{
    margin:0 0 28px;
    font-size:17px;
    line-height:1.65;
    color:#6e6e6e;
}

.license-info{
    display:flex;
    justify-content:space-between;
    gap:24px;
    padding:22px 24px;
    margin:0 0 42px;
    border:1px solid #ececec;
    border-radius:18px;
    background:linear-gradient(180deg,#fcfcfc 0%,#f7f7f7 100%);
    box-shadow:0 8px 28px rgba(0,0,0,.045);
}

.license-info__content div{
    margin:0 0 10px;
    font-size:16px;
    line-height:1.55;
}

.license-info__actions{
    display:flex;
    gap:12px;
    align-items:center;
}

.license-action-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 18px;
    border:0;
    border-radius:16px;
    text-decoration:none;
    cursor:pointer;
    font-family:inherit;
    box-shadow:0 8px 18px rgba(0,0,0,.08);
    transition:transform .22s ease,box-shadow .22s ease;
}

.license-action-btn:hover{
    transform:translateY(-1px);
}

.license-action-btn__icon,
.license-action-btn__icon svg{
    width:22px;
    height:22px;
}

.license-action-btn__label{
    font-size:14px;
    font-weight:700;
}

.license-action-btn--print{
    background:linear-gradient(135deg,#f7f7f7,#ececec);
    color:#111;
}

.license-action-btn--pdf{
    background:linear-gradient(135deg,#111,#2a2a2a);
    color:#fff;
}

.license-list{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.license-item{
    display:flex;
    gap:24px;
    padding:22px 24px;
    background:#fff;
    border:1px solid #efefef;
    border-radius:20px;
    box-shadow:0 10px 28px rgba(0,0,0,.045);
}

.license-thumb{
    display:block;
    width:138px;
    flex:0 0 138px;
}

.license-thumb img{
    display:block;
    width:100%;
    height:auto;
    padding:0;
    border-radius:12px;
    border:0;
    background:transparent;
    box-shadow:none;
}

.license-text{
    display:flex;
    flex-direction:column;
    gap:14px;
    flex:1;
}

.license-text p{
    margin:0;
    font-size:18px;
    line-height:1.45;
    font-weight:600;
}

.license-desc{
    font-size:14px;
    line-height:1.68;
    color:#666;
}

.license-open-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:fit-content;
    margin-top:auto;
    align-self:flex-end;
    padding:10px 18px;
    border-radius:999px;
    background:linear-gradient(135deg,#f3f3f3,#e9e9e9);
    color:#111;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.license-note{
    margin-top:24px;
    font-size:13px;
    line-height:1.5;
    color:#8b8b8b;
}

/* MODAL */

body.license-modal-open{
    overflow:hidden;
}

.license-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:60px 40px;
    background:rgba(255,255,255,.03);
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);
}

.license-modal.is-open,
.license-modal.is-active{
    display:flex;
}

.license-modal__backdrop{
    position:absolute;
    inset:0;
    background:transparent;
    cursor:zoom-out;
}

.license-modal__dialog{
    position:relative;
    z-index:2;
    max-width:min(84vw,920px);
    max-height:78vh;
    pointer-events:none;
}

.license-modal__body{
    display:flex;
    align-items:center;
    justify-content:center;
}

.license-modal__body img{
    display:block;
    max-width:100%;
    max-height:78vh;
    border-radius:12px;
    background:#fff;
    pointer-events:auto;
    box-shadow:0 20px 60px rgba(0,0,0,.18);
}

.license-modal__close{
    position:absolute;
    top:0;
    right:-56px;
    z-index:10;
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    background:transparent;
    color:#6a6a6a;
    font-size:54px;
    font-weight:300;
    line-height:1;
    cursor:pointer;
    text-shadow:0 2px 10px rgba(0,0,0,.25);
    transition:transform .18s ease,opacity .18s ease;
}

.license-modal__close:hover{
    transform:scale(1.08);
    opacity:.85;
}

@media (max-width:767px){
    .license-page{
        padding:0 12px 18px;
    }

    .license-info{
        flex-direction:column;
        padding:18px 16px;
    }

    .license-info__actions{
        flex-wrap:wrap;
    }

    .license-item{
        gap:16px;
        padding:16px;
    }

    .license-thumb{
        width:94px;
        flex:0 0 94px;
    }

    .license-text p{
        font-size:15px;
    }

    .license-modal{
        padding:50px 12px 24px;
    }

    .license-modal__dialog{
        max-width:92vw;
        max-height:80vh;
    }

    .license-modal__body img{
        max-height:80vh;
    }

    .license-modal__close{
        top:-44px;
        right:0;
        font-size:48px;
    }
}

/* =========================================================
   ЛИДАМЕД — LICENSE PAGE EFFECTS + CLOSE FIX
   ========================================================= */

/* возвращаем hover карточек */
.license-item{
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}

.license-item:hover{
    transform: translateY(-3px) !important;
    border-color: #e5e5e5 !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.08) !important;
}

/* зум превью лицензии */
.license-thumb img{
    transition: transform .28s ease, box-shadow .28s ease !important;
}

.license-item:hover .license-thumb img{
    transform: scale(1.03) !important;
    box-shadow: none !important;
}

/* кнопка “Открыть” при наведении */
.license-open-btn{
    transition: all .25s ease !important;
}

.license-open-btn:hover{
    background: #111 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.12) !important;
}

/* крестик: рисуем его принудительно поверх */
.license-modal__close{
    position: absolute !important;
    top: 0 !important;
    right: -58px !important;
    z-index: 1000001 !important;

    width: 48px !important;
    height: 48px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    pointer-events: auto !important;
}

.license-modal__close::before{
    content: "×" !important;
    display: block !important;

    color: #6a6a6a !important;
    font-size: 56px !important;
    line-height: 1 !important;
    font-weight: 300 !important;

    text-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
    transition: transform .18s ease, opacity .18s ease !important;
}

.license-modal__close:hover::before{
    transform: scale(1.08) !important;
    opacity: .85 !important;
}

/* =========================================================
   ЛИДАМЕД — РЕКВИЗИТЫ: УБИРАЕМ ВОЗДУХ ПОСЛЕ ХЛЕБНЫХ КРОШЕК
   ========================================================= */

.page-id-447 .lm-page-header{
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
}

/* ключевое — убираем отступ у следующего блока */
.page-id-447 .lm-page-header + *{
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* если есть контейнер-обёртка */
.page-id-447 .content-area,
.page-id-447 .site-main{
    padding-top: 0 !important;
}

.page-id-447 .requisites-wrapper{
    margin-top: 0 !important;
}


/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: МОБИЛКА — УБИРАЕМ ЛЕВУЮ КОЛОНКУ
   ========================================================= */

@media (max-width: 767px){

    /* ломаем две колонки */
    .page-id-404 .license-item{
        display: block !important;
    }

    /* убираем фиксированную колонку под картинку */
    .page-id-404 .license-item > *:first-child{
        width: auto !important;
        min-width: 0 !important;
        margin-bottom: 12px;
    }

    /* текст растягиваем на всю ширину */
    .page-id-404 .license-item > *:last-child{
        width: 100% !important;
    }

}

/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: МОБИЛКА — УБРАТЬ ОБЩИЕ ЗАГОЛОВКИ
   ========================================================= */

@media (max-width: 767px){

    /* "Документы лицензирования" */
    .page-id-404 .license-page h2{
        display: none !important;
    }

    /* "Санитарно-эпидемиологическое заключение" */
    .page-id-404 .license-page h2 + .license-list{
        margin-top: 0 !important;
    }

}

/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: МОБИЛКА — СКРЫТЬ КНОПКУ ОТКРЫТЬ
   ========================================================= */

@media (max-width: 767px){

    .page-id-404 .license-open-btn{
        display: none !important;
    }

}



/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: МОБИЛКА — ПРОКЛАДКА ПЕРЕД СЭЗ
   ========================================================= */

@media (max-width: 767px){

    .page-id-404 .license-list + h2{
        display: block !important;
        height: 22px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        font-size: 0 !important;
        line-height: 0 !important;
        color: transparent !important;
    }

}


/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: ДЕСКТОП — ПОДНЯТЬ ЛЕВОЕ МЕНЮ
   ========================================================= */

@media (min-width: 992px){

    .page-id-404 .lm-license-container{
        padding-top: 18px !important;
    }

    .page-id-404 .lm-single-layout{
        align-items: flex-start !important;
    }

    .page-id-404 .lm-single-sidebar,
.page-id-404 .lm-sidebar-menu,
.page-id-404 .lm-side-menu{
        margin-top: 0 !important;
        top: 0 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — РЕКВИЗИТЫ FINAL CLEAN
   ========================================================= */

.lm-requisites-page__container{
    margin-top: 0 !important;
    padding-top: 24px !important;
}

.lm-single-layout{
    display:flex;
    align-items:flex-start;
    gap:32px;
}

.lm-single-sidebar{
    flex:0 0 290px;
    width:290px;
    position:sticky;
    top:140px;
    margin-top:42px;
}

.lm-single-main{
    min-width:0;
    flex:1 1 auto;
}

.lm-requisites,
.lm-requisites__panel{
    margin-top:0;
}

.lm-requisites__panel{
    position:relative;
    margin-top:-10px;
    background:#fff;
    border:1px solid #ece7eb;
    border-radius:22px;
    padding:16px 24px 14px;
    box-shadow:0 10px 30px rgba(32, 22, 31, .04);
    overflow:hidden;
}

.lm-requisites__actions{
    position:absolute;
    top:12px;
    right:18px;
    display:grid;
    grid-template-columns:repeat(3, 60px);
    gap:12px;
    z-index:3;
}

 .lm-requisites__action-btn{
    width:60px;
    height:60px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:1px solid #e7e2e6;
    border-radius:18px;
    background:linear-gradient(180deg, #ffffff 0%, #f4f1f3 100%);
    box-shadow:0 10px 24px rgba(32, 22, 31, .06), inset 0 1px 0 rgba(255,255,255,.95);
    cursor:pointer;
    transition:all .2s ease;
    -webkit-appearance:none;
    appearance:none;
    text-decoration:none;
    color:#928891;
}

.lm-requisites__action-btn svg{
    width:34px;
    height:34px;
    display:block;
}

.lm-requisites__action-btn img{
    width:34px;
    height:34px;
    display:block;
    object-fit:contain;
    opacity:.48;
}

.lm-requisites__action-btn:hover{
    transform:translateY(-1px);
    border-color:#d8ced4;
    box-shadow:0 14px 28px rgba(32, 22, 31, .10), inset 0 1px 0 rgba(255,255,255,.98);
    color:#6d646c;
    text-decoration:none;
}

.lm-requisites__grid{
    display:grid;
    grid-template-columns:minmax(0, 1.24fr) minmax(0, .76fr);
    gap:28px;
    align-items:stretch;
    margin-top:6px;
}

.lm-requisites__col{
    min-width:0;
    display:flex;
    flex-direction:column;
}

.lm-requisites__col--main{
    padding-top:2px;
}

.lm-requisites__col--main .lm-req-row:last-child{
    border-bottom:none;
}

.lm-requisites__col--bank{
    position:relative;
    padding-top:104px;
}

.lm-requisites__bank-logo-wrap{
    position:absolute;
    top:70px;
    left:0;
    right:0;
    display:flex;
    justify-content:center;
    pointer-events:none;
}

 .lm-requisites__bank-logo-wrap img{
    display:block;
    width:112px;
    height:auto;
    max-width:none;
}

.lm-requisites__rows{
    flex:0 0 auto;
}

.lm-requisites__bank-qr-area{
    flex:1 1 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:208px;
    padding:8px 0 10px;
}

.lm-requisites__bank-qr-wrap{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.lm-requisites__bank-qr{
    display:block;
    width:210px;
    height:210px;
    object-fit:contain;
}

.lm-req-row{
    display:grid;
    grid-template-columns:158px minmax(0, 1fr);
    gap:16px;
    align-items:start;
    padding:12px 0;
    border-bottom:1px solid #f1edf0;
}


.lm-requisites__col--bank .lm-req-row--bank-wide{
    grid-template-columns:1fr;
    gap:4px;
}

.lm-requisites__col--bank .lm-req-row--bank-wide .lm-req-row__value-wrap{
    justify-content:flex-end;
}

.lm-requisites__col--bank .lm-req-row--bank-wide .lm-req-row__value{
  text-align: left !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  white-space: nowrap !important;
}

.lm-req-row__label{
    color:#b2a7b0;
    font-size:12px;
    line-height:1.55;
    font-weight:600;
}

.lm-req-row__value-wrap{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    min-width:0;
}

.lm-req-row__value{
    min-width:0;
    color:#4f4850;
    font-size:14px;
    line-height:1.65;
    font-weight:500;
    word-break:break-word;
}

.lm-req-copy-btn{
    flex:0 0 auto;
    width:28px;
    height:28px;
    margin-top:-3px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:none;
    background:transparent;
    color:#bfb5bc;
    cursor:pointer;
    transition:color .2s ease, transform .2s ease;
}

.lm-req-copy-btn svg{
    width:18px;
    height:18px;
    display:block;
}

.lm-req-copy-btn:hover{
    color:#8b8089;
    transform:translateY(-1px);
}

.lm-requisites__footer{
    display:grid;
    grid-template-columns:minmax(0, 1.24fr) minmax(0, .76fr);
    gap:28px;
    align-items:start;
    margin-top:8px;
}

.lm-requisites__footer-note{
    padding-top:36px;
    border-top:1px solid #f1edf0;
    color:#a79ca5;
    font-size:12px;
    line-height:1.55;
}

.lm-requisites__footer-note--left{
    text-align:left;
}

.lm-requisites__footer-note--right{
    text-align:right;
}

.lm-requisites__note{
    padding-top:12px;
    color:#a79ca5;
    font-size:12px;
    line-height:1.55;
}

.lm-copy-toast{
    position:fixed;
    left:50%;
    bottom:28px;
    transform:translateX(-50%) translateY(12px);
    background:rgba(35, 31, 36, .94);
    color:#fff;
    padding:12px 16px;
    border-radius:14px;
    font-size:13px;
    line-height:1.4;
    box-shadow:0 14px 30px rgba(32,22,31,.20);
    opacity:0;
    visibility:hidden;
    transition:all .2s ease;
    z-index:9999;
}

.lm-copy-toast.is-visible{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
}

@media (max-width: 1199px){
    .lm-requisites__grid{
        grid-template-columns:minmax(0, 1.20fr) minmax(0, .80fr);
        gap:22px;
    }

    .lm-requisites__footer{
        grid-template-columns:minmax(0, 1.20fr) minmax(0, .80fr);
        gap:22px;
    }

    .lm-req-row{
        grid-template-columns:140px minmax(0, 1fr);
    }
}

@media (max-width: 991px){
    .lm-single-layout{
        flex-direction:column;
    }

    .lm-single-sidebar{
        position:static;
        width:100%;
        flex:0 0 auto;
        margin-top:0;
    }

    .lm-requisites-page__container{
    padding:12px 16px 40px;
}

    .lm-requisites__panel{
        padding:18px 18px 16px;
    }

    .lm-requisites__grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .lm-requisites__footer{
        grid-template-columns:1fr;
        gap:0;
    }

    .lm-requisites__footer-note--right{
        text-align:left;
    }

    .lm-requisites__col--bank{
        padding-top:86px;
    }
}

@media (max-width: 767px){
    .lm-requisites__actions{
        top:12px;
        right:12px;
        grid-template-columns:repeat(3, 52px);
        gap:8px;
    }

    .lm-requisites__action-btn{
        width:52px;
        height:52px;
        border-radius:16px;
    }

    .lm-requisites__action-btn svg,
.lm-requisites__action-btn img{
        width:28px;
        height:28px;
    }

    .lm-requisites__grid{
        gap:18px;
    }

    .lm-req-row{
        grid-template-columns:1fr;
        gap:6px;
        padding:10px 0;
    }

    .lm-requisites__bank-logo-wrap{
        top:66px;
        justify-content:center;
    }

    .lm-requisites__bank-logo-wrap img{
        width:104px;
    }
}

@media print{
    .no-print,
.lm-single-sidebar,
.site-header,
.site-footer,
.lm-copy-toast,
.breadcrumbs{
        display:none !important;
    }

    .container{
        max-width:none !important;
        width:100% !important;
        padding:0 !important;
    }

    .lm-single-layout,
.lm-single-main,
.lm-requisites__grid{
        display:block !important;
    }

    .lm-requisites__panel{
        border:none !important;
        box-shadow:none !important;
        padding:0 !important;
    }

    .lm-requisites__actions,
.lm-requisites__bank-logo-wrap{
        display:none !important;
    }

    .lm-requisites__col--bank{
        padding-top:18px !important;
    }

    .lm-req-row{
        break-inside:avoid;
    }
}



/* =========================================================
   ЛИДАМЕД — РЕКВИЗИТЫ CONTROL FINAL
   ========================================================= */

/* верхняя серая плашка */
.lm-requisites-topbar{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:28px !important;
    width:100% !important;
    margin:0 0 24px !important;
    padding:22px 28px !important;
    border:1px solid rgba(30,30,30,.08) !important;
    border-radius:22px !important;
    background:linear-gradient(135deg,#fbfbfb 0%,#f3f3f3 100%) !important;
    box-shadow:0 18px 44px rgba(20,20,20,.055) !important;
}

.lm-requisites-topbar__text{
    display:flex !important;
    flex-direction:column !important;
    gap:5px !important;
}

.lm-requisites-topbar__title{
    font-size:20px !important;
    line-height:1.2 !important;
    font-weight:700 !important;
    color:#222 !important;
}

.lm-requisites-topbar__date{
    font-size:16px !important;
    line-height:1.3 !important;
    color:#6f6f76 !important;
}

.lm-requisites-topbar__actions{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    margin-left:auto !important;
}

/* убираем верхний лишний воздух */
.lm-requisites-page__container{
    padding-top:24px !important;
}

.lm-requisites-page__container .lm-single-main,
.lm-requisites-page__container .lm-single-sidebar{
    margin-top:0 !important;
    padding-top:0 !important;
}

.lm-requisites-page__container .lm-single-main > .lm-requisites{
    margin-top:0 !important;
    padding-top:0 !important;
}

/* Сбер — фиксируем твоё текущее рабочее состояние */
.lm-requisites__col--bank{
    position:relative !important;
    padding-top:0 !important;
}

.lm-requisites__col--bank::before{
    content:"" !important;
    display:block !important;
    height:0 !important;
}

.lm-requisites__bank-logo-wrap{
    position:absolute !important;
    top:70px !important;
    left:0 !important;
    right:0 !important;
    display:flex !important;
    justify-content:center !important;
    pointer-events:none !important;
}

.lm-requisites__bank-logo-wrap img{
    display:block !important;
    width:112px !important;
    height:auto !important;
    max-width:none !important;
}

/* мобилка — чуть компактнее верхняя плашка */
@media (max-width:640px){
    .lm-requisites-topbar{
        padding:16px 18px !important;
        gap:12px !important;
    }

    .lm-requisites-topbar__title{
        font-size:16px !important;
        line-height:1.15 !important;
    }

    .lm-requisites-topbar__date{
        font-size:13px !important;
        line-height:1.2 !important;
    }
}

/* печать / сохранение */
@media print{
    @page{
        size:A4 portrait;
        margin:5mm 7mm 5mm 7mm;
    }

    .site-header,
.lm-header,
.lm-breadcrumbs,
.breadcrumbs,
.lm-single-sidebar,
.lm-footer,
.site-footer,
.lm-footer-partners,
.lm-copy-toast,
.lm-requisites-topbar__actions,
.lm-requisites-topbar__actions *,
.lm-req-copy-btn{
        display:none !important;
    }

    .container{
        max-width:none !important;
        width:100% !important;
        padding:0 !important;
    }

    .lm-requisites-topbar{
        display:block !important;
        margin:0 0 7mm !important;
        padding:0 !important;
        border:0 !important;
        box-shadow:none !important;
        background:transparent !important;
    }

    .lm-requisites-topbar__title{
        font-size:18px !important;
        line-height:1.2 !important;
        color:#000 !important;
    }

    .lm-requisites-topbar__date{
        margin-top:2px !important;
        font-size:10px !important;
        line-height:1.2 !important;
        color:#555 !important;
    }

    .lm-single-layout,
.lm-single-main,
.lm-requisites,
.lm-requisites__panel{
        margin:0 !important;
        padding:0 !important;
        border:0 !important;
        box-shadow:none !important;
    }

    .lm-requisites__grid{
        display:grid !important;
        grid-template-columns:58% 42% !important;
        column-gap:8mm !important;
        align-items:start !important;
        margin:0 !important;
        padding:0 !important;
    }

    .lm-requisites__col--main,
.lm-requisites__col--bank{
        width:auto !important;
        max-width:none !important;
        min-width:0 !important;
        margin:0 !important;
        padding:0 !important;
    }

    .lm-requisites__bank-logo-wrap,
.lm-requisites__bank-qr-area,
.lm-requisites__bank-qr-wrap,
.lm-requisites__bank-qr{
        display:none !important;
    }

    .lm-requisites__col--bank{
        transform:translateY(-3mm) !important;
    }

    .lm-req-row{
        padding:3px 0 !important;
        break-inside:avoid !important;
        page-break-inside:avoid !important;
    }

    .lm-req-row__label,
.lm-req-row__value{
        font-size:8.5px !important;
        line-height:1.15 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — Реквизиты: финальный фикс Сбер + печать
   ========================================================= */

/* экран: Сбер отдельно от строк банка */
@media screen{
  .lm-requisites__col--bank{
    position: relative !important;
    padding-top: 92px !important;
  }

  .lm-requisites__bank-logo-wrap{
    position: absolute !important;
    top: 36px !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    justify-content: center !important;
    pointer-events: none !important;
  }

  .lm-requisites__bank-logo-wrap img{
    width: 200px !important;
    max-width: none !important;
    height: auto !important;
  }
}

/* печать: чуть крупнее и правая колонка выше */
@media print{
 .lm-requisites__grid{
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lm-requisites__col--main,
.lm-requisites__col--bank{
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
}

.lm-requisites__col--bank{
  margin-top: 6mm !important;
}

  .lm-requisites__col--bank{
    transform: translateY(-8mm) !important;
    padding-top: 0 !important;
  }

  .lm-req-row{
    padding: 4px 0 !important;
  }

  .lm-req-row__label,
.lm-req-row__value{
    font-size: 9.5px !important;
    line-height: 1.22 !important;
  }
}

/* =========================================================
   ЛИДАМЕД — Реквизиты: финал только для печати/сохранения
   ========================================================= */

@media print{

  .lm-requisites__col--bank{
    transform: translateY(-10mm) !important;
    padding-top: 0 !important;
  }

  .lm-requisites__bank-logo-wrap{
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 0 4mm !important;
    padding: 0 !important;
  }

  .lm-requisites__bank-logo-wrap img{
    width: 120px !important;
    height: auto !important;
    max-width: none !important;
  }

  .lm-requisites__bank-qr-area{
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-height: 0 !important;
    padding-top: 5mm !important;
  }

  .lm-requisites__bank-qr-wrap{
    display: flex !important;
    justify-content: center !important;
  }

  .lm-requisites__bank-qr{
    width: 150px !important;
    height: 150px !important;
    object-fit: contain !important;
  }

  .lm-req-row{
    padding: 4px 0 !important;
  }

  .lm-req-row__label,
.lm-req-row__value{
    font-size: 16px !important;
    line-height: 1.22 !important;
  }
}

/* =========================================================
   ЛИДАМЕД — РЕКВИЗИТЫ: МОБИЛКА — TOPBAR КАК В ЛИЦЕНЗИЯХ
   ========================================================= */

@media (max-width: 767px){

    .page-id-447 .lm-requisites-topbar{
        display: block !important;
        padding: 18px !important;
    }

    .page-id-447 .lm-requisites-topbar__text{
        width: 100% !important;
        margin: 0 0 14px !important;
    }

    .page-id-447 .lm-requisites-topbar__title{
        display: block !important;
        max-width: none !important;
        width: 100% !important;
        margin: 0 0 6px !important;
        font-size: 14px !important;
        line-height: 1.15 !important;
    }

    .page-id-447 .lm-requisites-topbar__meta{
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    .page-id-447 .lm-requisites-topbar__actions{
        position: static !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    .page-id-447 .lm-requisites-topbar__actions .lm-requisites__action-btn{
        width: 100% !important;
        height: 52px !important;
        min-height: 52px !important;
        border-radius: 16px !important;
    }

}


/* =========================================================
   ЛИДАМЕД — СПЕЦИАЛИСТЫ: АРХИВ
   ========================================================= */

.lm-specialists-archive-page__container{
    padding:60px 0;
}

@media (max-width: 991px){
    .lm-specialists-archive-page__container{
        padding:36px 16px 48px;
    }
}

/* =========================================================
   ЛИДАМЕД — СПЕЦИАЛИСТ: СИНГЛ
   ========================================================= */

.lm-specialist-single{
    padding:60px 0;
}

.lm-specialist-single__grid{
    display:grid;
    grid-template-columns:320px 1fr;
    gap:40px;
}

.lm-specialist-card{
    background:#fff;
    border-radius:20px;
    padding:20px;
    box-shadow:0 20px 50px rgba(0,0,0,.06);
}

.lm-specialist-photo img{
    width:100%;
    border-radius:14px;
    display:block;
}

.lm-specialist-name{
    font-size:24px;
    font-weight:600;
    margin:16px 0 6px;
}

.lm-specialist-position{
    color:#8f8f8f;
    font-size:14px;
}

.lm-specialist-content{
    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 20px 50px rgba(0,0,0,.06);
}

/* ===== мобилка ===== */

@media (max-width: 991px){

    .lm-specialist-single{
        padding:32px 16px 40px;
    }

    .lm-specialist-single__grid{
        grid-template-columns:1fr;
        gap:24px;
    }

}

/* =========================================================
   ЛИДАМЕД — СПЕЦИАЛИСТЫ: АРХИВ — ПОДНЯТЬ МЕНЮ И БЛОК
   ========================================================= */

@media (min-width: 992px){

    .post-type-archive-specialists .lm-single-sidebar,
.post-type-archive-specialists .lm-sidebar-menu,
.post-type-archive-specialists .lm-side-menu{
        margin-top: 0 !important;
        top: 0 !important;
    }

    .post-type-archive-specialists .lm-specialists-archive{
        margin-top: 0 !important;
        padding-top: 0 !important;
        transform: none !important;
    }

}

/* =========================================================
   ЛИДАМЕД — СПЕЦИАЛИСТЫ: АРХИВ — HOVER КАРТОЧЕК
   ========================================================= */

@media (min-width: 992px){

    .post-type-archive-specialists .lm-specialist-card{
        transition: transform .22s ease, box-shadow .22s ease;
        will-change: transform;
    }

    .post-type-archive-specialists .lm-specialist-card:hover{
        transform: translateY(-4px);
        box-shadow: 0 18px 42px rgba(0,0,0,.12);
    }

}

/* =========================================================
   ЛИДАМЕД — СПЕЦИАЛИСТ: СИНГЛ — ПОДНЯТЬ МЕНЮ И БЛОК
   ========================================================= */

@media (min-width: 992px){

    .single-specialists .lm-single-sidebar,
.single-specialists .lm-sidebar-menu,
.single-specialists .lm-side-menu{
        margin-top: 0 !important;
        top: 0 !important;
    }

    .single-specialists .lm-specialist-single{
        padding-top: 0 !important;
    }

}

/* =========================================================
   ЛИДАМЕД — СПЕЦИАЛИСТЫ: ПРАВЫЙ ОТСТУП КОНТЕНТА
   ========================================================= */

@media (min-width: 992px){

    .single-specialists .lm-specialist-single,
.post-type-archive-specialists .lm-specialists-archive{
        padding-right: 24px !important;
    }

}

/* =========================================================
   ЛИДАМЕД — СПЕЦИАЛИСТЫ: АРХИВ — ТЕКСТ В КАРТОЧКАХ
   ========================================================= */

@media (min-width: 992px){

    .post-type-archive-specialists .lm-specialist-card{
        min-height: 0 !important;
        height: auto !important;
        align-items: flex-start;
    }

    .post-type-archive-specialists .lm-specialist-card h2,
.post-type-archive-specialists .lm-specialist-card h3,
.post-type-archive-specialists .lm-specialist-card .lm-specialist-name,
.post-type-archive-specialists .lm-specialist-card .lm-specialist-card__title{
        font-size: 17px !important;
        line-height: 1.12 !important;
        margin-bottom: 8px !important;
    }

    .post-type-archive-specialists .lm-specialist-card__position{
        font-size: 12px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    .post-type-archive-specialists .lm-specialist-card__text{
        font-size: 12px !important;
        line-height: 1.45 !important;
    }
}

/* РОВНАЯ ВЫСОТА ЧЕРЕЗ ОГРАНИЧЕНИЕ ТЕКСТА */

.post-type-archive-specialists .lm-specialist-card__text{
    display: -webkit-box;
    -webkit-line-clamp: 5; /* сколько строк показываем */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================================
   ЛИДАМЕД — СПЕЦИАЛИСТЫ: АРХИВ — МОБИЛКА (ЕДИНЫЙ БЛОК)
   ========================================================= */

@media (max-width: 767px){

    .post-type-archive-specialists .lm-specialists-grid{
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .post-type-archive-specialists .lm-specialist-card{
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 18px !important;
        text-align: center !important;
    }

    .post-type-archive-specialists .lm-specialist-card__image-wrap{
        flex: 0 0 auto !important;
        width: 140px !important;
        max-width: 140px !important;
        margin: 0 auto 14px !important;
    }

    .post-type-archive-specialists .lm-specialist-card__image{
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .post-type-archive-specialists .lm-specialist-card__body{
        width: 100% !important;
        min-width: 0 !important;
        text-align: center !important;
    }

    .post-type-archive-specialists .lm-specialist-card__title{
        font-size: 19px !important;
        line-height: 1.18 !important;
        margin-bottom: 6px !important;
    }

    .post-type-archive-specialists .lm-specialist-card__position{
        font-size: 13px !important;
        line-height: 1.35 !important;
        margin-bottom: 10px !important;
    }

    .post-type-archive-specialists .lm-specialist-card__text{
        font-size: 14px !important;
        line-height: 1.5 !important;
        text-align: left !important;
        -webkit-line-clamp: unset !important;
        display: block !important;
        overflow: visible !important;
    }

}

/* =========================================================
   ЛИДАМЕД — КАБИНЕТЫ: АРХИВ
   ========================================================= */

.lm-cabinets-archive-page__container{
    padding: 0 24px 60px;
}

.lm-cabinets-archive{
    min-width: 0;
}

@media (min-width: 992px){

    .post-type-archive-kabinety .lm-single-sidebar,
.post-type-archive-kabinety .lm-sidebar-menu,
.post-type-archive-kabinety .lm-side-menu{
        margin-top: 0 !important;
        top: 0 !important;
    }

}

/* =========================================================
   ЛИДАМЕД — КАБИНЕТЫ: АРХИВ
   ========================================================= */

.lm-cabinets-archive-page__container{
    padding: 0 24px 60px;
}

.lm-cabinets-archive{
    min-width: 0;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.lm-cabinets-archive .lm-cabinet-card__title,
.lm-cabinets-archive h2,
.lm-cabinets-archive h3{
    font-size: 20px !important;
    line-height: 1.15 !important;
}

@media (min-width: 992px){

    .post-type-archive-kabinety .lm-single-sidebar,
.post-type-archive-kabinety .lm-sidebar-menu,
.post-type-archive-kabinety .lm-side-menu{
        margin-top: 0 !important;
        top: 0 !important;
    }

    .post-type-archive-kabinety .lm-single-main{
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

}

/* =========================================================
   ЛИДАМЕД — ГЛАВНАЯ: НАША КЛИНИКА — НАЗВАНИЯ КАБИНЕТОВ
   ========================================================= */

.home .home-cabinet-title,
.home .home-clinic-card__title,
.home .lm-home-clinic__card-title,
.home .lm-home-cabinets__title,
.home .lm-home-cabinets-card__title,
.home .cabinet-card__title{
    font-size: 14px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
}



.home .lm-home-promotions__grid h2,
.home .lm-home-promotions__grid h3,
.home .lm-home-promotions__grid .lm-promotion-title,
.home .lm-home-promotions__grid .lm-card-title{
    font-size: 14px !important;
    line-height: 1.2 !important;
}

/* =========================================================
   ЛИДАМЕД — ЮРИДИЧЕСКИЕ СТРАНИЦЫ
   ========================================================= */

.page-template-template-legal .lm-page-heading{
    display:none;
}

.lm-legal-page{
    padding:0;
}

.lm-legal-page__container{
    padding:60px 24px 60px;
}

.lm-legal-nav{
    display:flex;
    gap:12px;
    margin:0 0 20px;
}

.lm-legal-nav__btn{
    flex:1 1 0;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:12px 16px;
    border:1px solid #ece7eb;
    border-radius:16px;
    background:#fff;
    color:#403944;
    text-align:center;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    line-height:1.35;
    box-shadow:0 10px 30px rgba(32,22,31,.04);
    transition:all .2s ease;
}

.lm-legal-nav__btn:hover{
    background:#f7f3f6;
    border-color:#ddd4da;
    color:#231f24;
}

.lm-legal-nav__btn.is-active{
    background:linear-gradient(135deg,#e7dde3 0%,#d9ccd4 100%);
    border-color:#d2c3cc;
    color:#231f24;
    box-shadow:0 12px 32px rgba(32,22,31,.08);
}

.lm-legal-article{
    background:#fff;
    border:1px solid #ece7eb;
    border-radius:22px;
    padding:26px 30px 28px;
    box-shadow:0 10px 30px rgba(32,22,31,.04);
}

.lm-legal-article::after{
    content:"";
    display:block;
    clear:both;
}

.lm-legal-doc-title{
    margin:0 0 12px;
    color:#231f24;
    font-size:28px;
    line-height:1.18;
    font-weight:700;
}

.lm-legal-doc-actions{
    float:right;
    display:grid;
    grid-template-columns:repeat(2,60px);
    gap:12px;
    margin:0 0 10px 18px;
}

.lm-legal-action-btn{
    width:60px;
    height:60px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:1px solid #e7e2e6;
    border-radius:18px;
    background:linear-gradient(180deg,#ffffff 0%,#f4f1f3 100%);
    box-shadow:0 10px 24px rgba(32,22,31,.06), inset 0 1px 0 rgba(255,255,255,.95);
    cursor:pointer;
    transition:all .2s ease;
}

.lm-legal-action-btn img{
    width:34px;
    height:34px;
    display:block;
    object-fit:contain;
    opacity:.48;
}

.lm-legal-action-btn:hover{
    transform:translateY(-1px);
    border-color:#d8ced4;
    box-shadow:0 14px 28px rgba(32,22,31,.10), inset 0 1px 0 rgba(255,255,255,.98);
}

.lm-legal-entry{
    color:#4c4750;
    font-size:15px;
    line-height:1.8;
}

.lm-legal-entry h2,
.lm-legal-entry h3,
.lm-legal-entry h4{
    color:#231f24;
    line-height:1.3;
    margin:26px 0 12px;
}

.lm-legal-entry h2{font-size:24px;}
.lm-legal-entry h3{font-size:20px;}

.lm-legal-entry p{
    margin:0 0 14px;
}

.lm-legal-entry ul,
.lm-legal-entry ol{
    margin:0 0 16px 22px;
    padding:0;
}

.lm-legal-entry li{
    margin:0 0 8px;
}

@media (min-width:992px){
    .page-template-template-legal .lm-single-sidebar,
.page-template-template-legal .lm-sidebar-menu,
.page-template-template-legal .lm-side-menu{
        margin-top:0 !important;
        top:0 !important;
    }
}

@media (max-width:767px){
    .lm-legal-page__container{
        padding:0 16px 40px;
    }

    .lm-legal-nav{
        flex-direction:column;
    }

    .lm-legal-article{
        padding:22px 18px 24px;
        border-radius:18px;
    }

    .lm-legal-doc-title{
        font-size:22px;
    }

    .lm-legal-doc-actions{
        grid-template-columns:repeat(2,48px);
        gap:8px;
        margin:0 0 8px 12px;
    }

    .lm-legal-action-btn{
        width:48px;
        height:48px;
        border-radius:14px;
    }

    .lm-legal-action-btn img{
        width:26px;
        height:26px;
    }

    .lm-legal-entry{
        font-size:14px;
        line-height:1.75;
    }
}


/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: КНОПКИ ПЕЧАТЬ / PDF ФИНАЛ
   Возврат к базовым PNG/SVG из шаблона + нормальная мобилка
   ========================================================= */

.page-id-404 .license-info__actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:12px !important;
    margin:0 !important;
}

.page-id-404 .license-action-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;

    min-height:52px !important;
    padding:0 18px !important;

    border-radius:16px !important;
    text-decoration:none !important;
    cursor:pointer !important;

    box-shadow:0 10px 26px rgba(0,0,0,.08) !important;
    transition:transform .22s ease, box-shadow .22s ease !important;
}

.page-id-404 .license-action-btn:hover{
    transform:translateY(-2px) !important;
    box-shadow:0 16px 34px rgba(0,0,0,.11) !important;
}

.page-id-404 .license-action-btn::before{
    display:none !important;
    content:none !important;
}

.page-id-404 .license-action-btn__icon,
.page-id-404 .license-action-btn__icon svg,
.page-id-404 .license-action-btn img{
    display:block !important;
    width:24px !important;
    height:24px !important;
    flex:0 0 24px !important;
}

.page-id-404 .license-action-btn__label{
    display:inline-block !important;
    font-size:14px !important;
    line-height:1 !important;
    font-weight:700 !important;
}

/* Мобилка — как в реквизитах: аккуратные прямоугольные кнопки */
@media (max-width:767px){

    .page-id-404 .license-info{
        display:block !important;
        padding:18px !important;
    }

    .page-id-404 .license-info__content{
        margin:0 0 14px !important;
    }

    .page-id-404 .license-info__actions{
        width:100% !important;
        display:grid !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:10px !important;
        margin:0 !important;
    }

    .page-id-404 .license-action-btn{
        width:100% !important;
        min-width:0 !important;
        height:52px !important;
        min-height:52px !important;
        padding:0 12px !important;
        border-radius:16px !important;
    }

    .page-id-404 .license-action-btn__label{
        font-size:13px !important;
        white-space:nowrap !important;
    }

    .page-id-404 .license-action-btn__icon,
.page-id-404 .license-action-btn__icon svg,
.page-id-404 .license-action-btn img{
        width:24px !important;
        height:24px !important;
        flex:0 0 24px !important;
    }
}


/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: МОБИЛКА — ШИРИНА КАРТОЧЕК КАК НА САЙТЕ
   ========================================================= */

@media (max-width:767px){

    .page-id-404 .license-page{
        padding-left:0 !important;
        padding-right:0 !important;
    }

    .page-id-404 .license-info,
.page-id-404 .license-list,
.page-id-404 .license-item{
        width:calc(100vw - 24px) !important;
        max-width:calc(100vw - 24px) !important;
        margin-left:calc(50% - 50vw + 12px) !important;
        margin-right:calc(50% - 50vw + 12px) !important;
        box-sizing:border-box !important;
    }

    .page-id-404 .license-item{
        padding:16px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: УЖАТЬ ОТСТУП ПОД ШАПКОЙ
   ========================================================= */

.page-id-404 .license-info{
    margin-bottom: 22px !important;
}

/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: PNG-КНОПКИ ДЕСКТОП + МОБИЛКА
   ========================================================= */

.page-id-404 .license-info__actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:12px !important;
}

.page-id-404 .license-action-btn{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 !important;
    border-radius:18px !important;
    background:#fff !important;
    border:1px solid rgba(0,0,0,.08) !important;
    box-shadow:0 14px 34px rgba(0,0,0,.08) !important;
    overflow:hidden !important;
    color:transparent !important;
    font-size:0 !important;
    transition:transform .2s ease, box-shadow .2s ease !important;
}

.page-id-404 .license-action-btn__label,
.page-id-404 .license-action-btn__icon,
.page-id-404 .license-action-btn svg{
    display:none !important;
}

.page-id-404 .license-action-btn::before{
    content:"" !important;
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:34px !important;
    height:34px !important;
    transform:translate(-50%, -50%) !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:contain !important;
    opacity:.55 !important;
    filter:grayscale(100%) brightness(.86) contrast(.9) !important;
}

/* Принтер */
.page-id-404 .license-action-btn--print::before{
    background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA5UlEQVR4nO3YTQrCMBCG4W/VS1iva+t9pO6bq7S9xoiQhZigie3kz++FWRbmoVMQAVZ3knjUag6inRASGCGRCSGBERKZEBIYIZEJIQA6AFcAW4bfVLGzAhjtzk5jAQtK5Aw+SA1vQt5m+3SXtY1T7oWahtwAnAD0AKaaIf3LfmdCkH8mi3ki3VDJGAIkcLGKfdChPCNQD8hBITAHHDnphXIXAJEI9mzy1ohZPE9PCQ8LXMQ5OJ7uLOYNQFk3glZLML7d1BIqU9LraYh5ofT+vbNSK2QuQSIRkLIv0Ik0ajVDIRBuQev23guS+lbLQAAAABJRU5ErkJggg==") !important;
}

/* PDF / Скачать */
.page-id-404 .license-action-btn--pdf::before{
    background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA60lEQVR4nO3aSw6CMBSF4TMxughcsRqW4ciZjxUpu/AYkpKQTkppy61w/uRO6/0CSQcCKKXmdADQAugA0GiuAHZIrDUEcDS3VEzoSZSOo7kD2Oc4yBrCFExtEM7FlIaEzmMuTK0QxmJqhjAGUzuE7p5ZBeS7FggFgSDRcSlIg3Idl4Q83Q+WQLyWhNQywawXpCBe1gtSEC/rBSmIV+iAR+FLsXF3VXFISUTMDR8s+YBMURCXIJmjIC5BMkdBXIJkjoKsGTJkDRnaJqT7g1frPeWAy4T303pOUz8Y6DGfChamN/1O55S/rJXaYj9WRMVmVTuhrAAAAABJRU5ErkJggg==") !important;
}

@media (min-width:768px){
    .page-id-404 .license-action-btn{
        width:64px !important;
        height:64px !important;
        min-width:64px !important;
        min-height:64px !important;
    }

    .page-id-404 .license-action-btn:hover{
        transform:translateY(-2px) !important;
        box-shadow:0 18px 40px rgba(0,0,0,.11) !important;
    }
}

@media (max-width:767px){
    .page-id-404 .license-info__actions{
        width:100% !important;
        display:grid !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:10px !important;
    }

    .page-id-404 .license-action-btn{
        width:100% !important;
        height:52px !important;
        min-height:52px !important;
        border-radius:16px !important;
    }

    .page-id-404 .license-action-btn::before{
        width:28px !important;
        height:28px !important;
    }
}


/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: ВЕРНУТЬ PNG-ИКОНКИ В КНОПКИ
   ========================================================= */

.page-id-404 .license-action-btn{
    position:relative !important;
    color:transparent !important;
    font-size:0 !important;
}

.page-id-404 .license-action-btn__label,
.page-id-404 .license-action-btn__icon,
.page-id-404 .license-action-btn svg{
    display:none !important;
}

.page-id-404 .license-action-btn::before{
    content:"" !important;
    display:block !important;
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:34px !important;
    height:34px !important;
    transform:translate(-50%, -50%) !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:contain !important;
    opacity:.72 !important;
    filter:grayscale(100%) brightness(.72) contrast(.9) !important;
    z-index:2 !important;
}

/* Принтер */
.page-id-404 .license-action-btn--print::before{
    background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA5UlEQVR4nO3YTQrCMBCG4W/VS1iva+t9pO6bq7S9xoiQhZigie3kz++FWRbmoVMQAVZ3knjUag6inRASGCGRCSGBERKZEBIYIZEJIQA6AFcAW4bfVLGzAhjtzk5jAQtK5Aw+SA1vQt5m+3SXtY1T7oWahtwAnAD0AKaaIf3LfmdCkH8mi3ki7jVDJGAIkcLGKfdChPCNQD8hBITAHHDnphXIXAJEI9mzy1ohZPE9PCQ8LXMQ5OJ7uLOYNQFk3glZLML7d1BIqU9LraYh5ofT+vbNSK2QuQSIRkLIv0Ik0ajVDIRBuQev23guS+lbLQAAAABJRU5ErkJggg==") !important;
}

/* PDF / Скачать */
.page-id-404 .license-action-btn--pdf::before{
    background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA60lEQVR4nO3aSw6CMBSF4TMxughcsRqW4ciZjxUpu/AYkpKQTkppy61w/uRO6/0CSQcCKKXmdADQAugA0GiuAHZIrDUEcDS3VEzoSZSOo7kD2Oc4yBrCFExtEM7FlIaEzmMuTK0QxmJqhjAGUzuE7p5ZBeS7FggFgSDRcSlIg3Idl4Q83Q+WQLyWhNQywawXpCBe1gtSEC/rBSmIV+iAR+FLsXF3VXFISUTMDR8s+YBMURCXIJmjIC5BMkdBXIJkjoKsGTJkDRnaJqT7g1frPeWAy4T303pOUz8Y6DGfChamN/1O55S/rJXaYj9WRMVmVTuhrAAAAABJRU5ErkJggg==") !important;
}

@media (max-width:767px){
    .page-id-404 .license-action-btn::before{
        width:28px !important;
        height:28px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: СЕРЫЕ PNG-ИКОНКИ КНОПОК
   ========================================================= */

.page-id-404 .license-action-btn::before{
    opacity:.48 !important;
    filter:grayscale(100%) brightness(1.15) contrast(.82) !important;
}


/* =========================================================
   ЛИДАМЕД — ЛИЦЕНЗИИ: ДЕСКТОП — ПОДЛОЖКИ КАК У РЕКВИЗИТОВ
   ========================================================= */

@media (min-width:992px){

    .page-id-404 .lm-license-container{
        padding-top:24px !important;
    }

    .page-id-404 .lm-single-layout{
        display:flex !important;
        align-items:flex-start !important;
        gap:32px !important;
        width:100% !important;
    }

    .page-id-404 .lm-single-sidebar{
        flex:0 0 340px !important;
        width:340px !important;
        min-width:340px !important;
        max-width:340px !important;
    }

    .page-id-404 .lm-single-main{
        flex:1 1 auto !important;
        width:auto !important;
        max-width:none !important;
        min-width:0 !important;
    }

    .page-id-404 .license-page{
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
        padding:0 !important;
    }

    .page-id-404 .license-info,
.page-id-404 .license-list,
.page-id-404 .license-item{
        width:100% !important;
        max-width:none !important;
        margin-left:0 !important;
        margin-right:0 !important;
        box-sizing:border-box !important;
    }
}


/* =========================================================
   ЛИДАМЕД — КОНТАКТЫ: ФИНАЛ ДЕСКТОП-КОЛОНОК
   ========================================================= */

@media (min-width: 992px){

    body.page-id-201 .lm-contacts-grid{
        display:flex !important;
        gap:30px !important;
        align-items:stretch !important;
    }

    body.page-id-201 .lm-contacts-col{
        flex:0 0 calc(50% - 15px) !important;
        max-width:calc(50% - 15px) !important;
        display:flex !important;
    }

    body.page-id-201 .lm-contacts-card{
        width:100% !important;
        height:860px !important;
        min-height:860px !important;
        display:flex !important;
        flex-direction:column !important;
        overflow:hidden !important;
    }

    body.page-id-201 .lm-contacts-card__body--left{
        flex:1 1 auto !important;
        display:flex !important;
        flex-direction:column !important;
        gap:14px !important;
        min-height:0 !important;
    }

    body.page-id-201 .lm-contacts-card__body--left > div:nth-child(1){
        flex:0 0 auto !important;
    }

    body.page-id-201 .lm-contacts-card__body--left > div:nth-child(2),
body.page-id-201 .lm-contacts-card__body--left > div:nth-child(3),
body.page-id-201 .lm-contacts-card__body--left > div:nth-child(4){
        flex:1 1 0 !important;
        min-height:96px !important;
        padding:12px 18px !important;
        display:flex !important;
        flex-direction:column !important;
        justify-content:center !important;
    }

    body.page-id-201 .lm-contacts-card__body--left > div:nth-child(2) a,
body.page-id-201 .lm-contacts-card__body--left > div:nth-child(3) a{
        font-size:clamp(19px, 1.35vw, 24px) !important;
        line-height:1.1 !important;
        white-space:nowrap !important;
    }

    body.page-id-201 .lm-contacts-card__body--left > div:nth-child(4) a{
        font-size:clamp(15px, 1.05vw, 19px) !important;
        line-height:1.15 !important;
        white-space:nowrap !important;
    }

    body.page-id-201 .lm-contacts-buttons{
        flex:0 0 auto !important;
        margin-top:18px !important;
        display:grid !important;
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
        gap:14px !important;
    }

    body.page-id-201 .lm-contacts-buttons a{
        height:96px !important;
        min-height:96px !important;
        padding:0 !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
    }

    body.page-id-201 .lm-contacts-card--right{
        justify-content:space-between !important;
    }

    body.page-id-201 .lm-walk-block{
        flex:1 1 auto !important;
        display:flex !important;
        flex-direction:column !important;
        justify-content:flex-start !important;
        overflow:hidden !important;
    }

    body.page-id-201 .lm-walk-block p{
    font-size: clamp(15px, 1.2vw, 18px) !important;
    line-height: 1.65 !important;
}

    body.page-id-201 .lm-contacts-route-btn{
        flex:0 0 auto !important;
        min-height:96px !important;
    }

    body.page-id-201 .lm-card h2,
body.page-id-201 .lm-contacts-card h2{
        font-size:clamp(22px, 1.45vw, 30px) !important;
        line-height:1.15 !important;
        white-space:nowrap !important;
    }

    body.page-id-201 .lm-station-badge{
        max-width:clamp(110px, 10vw, 170px) !important;
        font-size:clamp(9px, .6vw, 12px) !important;
        padding:6px 10px !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        white-space:nowrap !important;
    }
}

/* =========================================================
   ЛИДАМЕД — КОНТАКТЫ: УВЕЛИЧИТЬ ТЕКСТ "ПЕШКОМ"
   Только десктоп
   ========================================================= */

@media (min-width: 992px){

    body.page-id-201 .lm-contacts-walk-card,
body.page-id-201 .lm-contacts-walk-card p,
body.page-id-201 .lm-contacts-walk-card div{
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    body.page-id-201 .lm-contacts-walk-card p{
        margin-bottom: 12px !important;
    }

    body.page-id-201 .lm-contacts-walk-card h3,
body.page-id-201 .lm-contacts-walk-card .lm-contacts-card__label{
        font-size: 15px !important;
        line-height: 1.25 !important;
    }
}


/* =========================================================
   ЛИДАМЕД — КОНТАКТЫ: АДАПТИВ ТЕКСТА "ПЕШКОМ"
   Только десктоп
   ========================================================= */

@media (min-width: 992px){

    body.page-id-201 .lm-contacts-walk-card p,
body.page-id-201 .lm-contacts-walk-card div:not(.lm-contacts-card__label){
        font-size: clamp(11px, 0.72vw, 14px) !important;
        line-height: 1.48 !important;
        margin-bottom: 7px !important;
    }

    body.page-id-201 .lm-contacts-walk-card .lm-contacts-card__label{
        font-size: clamp(11px, 0.72vw, 14px) !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
}

/* Ноутбуки / средняя ширина */
@media (min-width: 992px) and (max-width: 1450px){

    body.page-id-201 .lm-contacts-walk-card p,
body.page-id-201 .lm-contacts-walk-card div:not(.lm-contacts-card__label){
        font-size: 12px !important;
        line-height: 1.42 !important;
        margin-bottom: 6px !important;
    }
}

/* Широкие экраны */
@media (min-width: 1451px){

    body.page-id-201 .lm-contacts-walk-card p,
body.page-id-201 .lm-contacts-walk-card div:not(.lm-contacts-card__label){
        font-size: 14px !important;
        line-height: 1.52 !important;
        margin-bottom: 8px !important;
    }
}


/* =========================================================
   ЛИДАМЕД — КОНТАКТЫ: УБРАТЬ ЛИШНЮЮ ПУСТОТУ В "ПЕШКОМ"
   Только десктоп
   ========================================================= */

@media (min-width: 992px){

    body.page-id-201 .lm-contacts-card--right .lm-contacts-walk-card{
        flex: 0 0 auto !important;
        min-height: auto !important;
        height: auto !important;
    }

    body.page-id-201 .lm-contacts-card--right .lm-contacts-route-btn{
        margin-top: auto !important;
    }
}


/* =========================================================
   ЛИДАМЕД — КОНТАКТЫ: УБИРАЕМ ВНУТРЕННИЕ ПОДЛОЖКИ
   Десктоп: секции через тонкие разделители
   ========================================================= */

@media (min-width: 992px){

    /* Общие внутренние секции без карточек */
    body.page-id-201 .lm-contacts-card__body--left > div,
body.page-id-201 .lm-contacts-card__body--right > div,
body.page-id-201 .lm-contacts-walk-card,
body.page-id-201 .lm-contacts-address-card{
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 18px 0 !important;
    }

    /* Разделители между секциями слева */
    body.page-id-201 .lm-contacts-card__body--left > div + div{
        border-top: 1px solid rgba(0,0,0,.08) !important;
    }

    /* Разделители между секциями справа */
    body.page-id-201 .lm-contacts-card__body--right > div + div{
        border-top: 1px solid rgba(0,0,0,.08) !important;
    }

    /* Часы работы — убираем внутреннюю рамку, но оставляем элементы внутри */
    body.page-id-201 .lm-contacts-hours-card{
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 18px 0 !important;
    }

    /* Блок "Пешком" теперь спокойно занимает место */
    body.page-id-201 .lm-contacts-walk-card{
        flex: 1 1 auto !important;
        overflow: visible !important;
    }

    body.page-id-201 .lm-contacts-walk-text,
body.page-id-201 .lm-contacts-walk-text p{
        font-size: clamp(13px, .85vw, 15px) !important;
        line-height: 1.58 !important;
    }

    body.page-id-201 .lm-contacts-walk-text p{
        margin-bottom: 10px !important;
    }

    body.page-id-201 .lm-contacts-walk-text p:last-child{
        margin-bottom: 0 !important;
    }

    /* Соцсети и маршрут оставляем как отдельные красивые кнопки */
    body.page-id-201 .lm-contacts-buttons,
body.page-id-201 .lm-contacts-route-btn{
        border-top: 0 !important;
        margin-top: 18px !important;
    }

    /* Основные большие карточки остаются */
    body.page-id-201 .lm-contacts-card{
        overflow: hidden !important;
    }
}

/* лёгкая премиум-линия */
body.page-id-201 .lm-contacts-card__body--left > div + div,
body.page-id-201 .lm-contacts-card__body--right > div + div{
    border-top: 1px solid rgba(0,0,0,.06) !important;
}

/* чуть воздуха */
body.page-id-201 .lm-contacts-card__body--left > div,
body.page-id-201 .lm-contacts-card__body--right > div{
    padding: 16px 0 !important;
}

/* линия сразу после заголовка */

body.page-id-201 .lm-contacts-card__body--left > div:first-child,
body.page-id-201 .lm-contacts-card__body--right > div:first-child{
    border-top: 1px solid rgba(0,0,0,.06) !important;
}


/* =========================================================
   ЛИДАМЕД — КОНТАКТЫ: ПОДНЯТЬ ЛЕВОЕ МЕНЮ ВВЕРХ
   ========================================================= */

body.page-id-201 .lm-single-sidebar{
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* =========================================================
   LIDAMED — PAGE ABOUT CLINIC
   Страница: О клинике
   ========================================================= */

.lm-about-page{
    padding: 0 0 64px;
}

.lm-about-content{
    min-width: 0;
}

.lm-about-hero{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 22px;
    margin-bottom: 24px;
}

.lm-about-hero__body,
.lm-about-hero__card,
.lm-about-section,
.lm-about-benefit,
.lm-about-stat,
.lm-about-cta,
.lm-about-wp-content{
    border: 1px solid #e6dde2;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.lm-about-hero__body{
    padding: 34px 36px;
}

.lm-about-label{
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 15px;
    border-radius: 999px;
    background: #f6f3f1;
    color: #7f737a;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lm-about-title{
    max-width: 760px;
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 700;
    color: #2c2c2c;
}

.lm-about-text{
    max-width: 760px;
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.7;
    color: #666;
}

.lm-about-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lm-about-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.lm-about-btn:hover{
    transform: translateY(-2px);
    background: #222;
    color: #fff;
    box-shadow: 0 14px 26px rgba(17, 17, 17, .16);
}

.lm-about-hero__card{
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff 0%, #f7f3f1 100%);
}

.lm-about-hero__number{
    display: block;
    margin-bottom: 10px;
    font-size: 54px;
    line-height: 1;
    font-weight: 700;
    color: #2c2c2c;
}

.lm-about-hero__caption{
    font-size: 15px;
    line-height: 1.45;
    color: #777;
}

.lm-about-stats{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.lm-about-stat{
    padding: 22px 24px;
}

.lm-about-stat strong{
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1;
    color: #2c2c2c;
}

.lm-about-stat span{
    display: block;
    font-size: 14px;
    line-height: 1.55;
    color: #6f6f6f;
}

.lm-about-section{
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 24px;
    padding: 30px 32px;
}

.lm-about-section--soft{
    background: #faf8f6;
}

.lm-about-section__head span,
.lm-about-cta span{
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8a7f86;
}

.lm-about-section__head h2,
.lm-about-cta h2{
    margin: 0;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 700;
    color: #2c2c2c;
}

.lm-about-section__text p{
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.75;
    color: #626262;
}

.lm-about-section__text p:last-child{
    margin-bottom: 0;
}

.lm-about-benefits{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.lm-about-benefit{
    padding: 24px 26px;
    transition: transform .22s ease, box-shadow .22s ease;
}

.lm-about-benefit:hover{
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .07);
}

.lm-about-benefit h3{
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
    color: #2c2c2c;
}

.lm-about-benefit p{
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #6f6f6f;
}

.lm-about-wp-content{
    margin-bottom: 24px;
    padding: 28px 32px;
    font-size: 16px;
    line-height: 1.75;
    color: #555;
}

.lm-about-wp-content > *:first-child{
    margin-top: 0;
}

.lm-about-wp-content > *:last-child{
    margin-bottom: 0;
}

/* =========================================================
   LIDAMED — CTA FINAL FIX
   ========================================================= */

.lm-about-cta{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 30px 32px;
    border-radius: 30px;

    background: #e3e3e3;

    color: #2c2c2c;
}

.lm-about-cta span{
    display: block;
    margin-bottom: 10px;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: #7a7a7a;
}

.lm-about-cta h2{
    margin: 0;

    font-size: 28px;
    line-height: 1.18;
    font-weight: 700;

    color: #2c2c2c;
}

.lm-about-cta p{
    max-width: 620px;
    margin: 12px 0 0;

    font-size: 15px;
    line-height: 1.65;

    color: #5f5f5f;
}

.lm-about-btn--light{
    flex: 0 0 auto;

    background: #2c2c2c;
    color: #ffffff;
}

.lm-about-btn--light:hover{
    background: #111111;
    color: #ffffff;
}

@media (max-width: 767px){
    .lm-about-cta{
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }

    .lm-about-btn--light{
        width: 100%;
    }
}

/* =========================================================
   LIDAMED — ABOUT HERO NUMBER UPGRADE
   ========================================================= */

.lm-about-hero__number{
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    color: #2c2c2c;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.lm-about-hero__number span{
    font-size: 54px; /* = 13+ */
    font-weight: 700;
}

.lm-about-hero__caption{
    margin-top: 10px;
    font-size: 17px; /* было ~15 → усилили */
    line-height: 1.4;
    color: #6f6f6f;
}

/* =========================================================
   LIDAMED — ABOUT EXPERIENCE CARD UPGRADE
   ========================================================= */

.lm-about-hero__card{
    position: relative;
    overflow: hidden;
    justify-content: center;
    padding: 34px 28px;
    background:
        radial-gradient(circle at 22% 22%, rgba(126, 118, 126, .10), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #faf7f5 100%);
}

.lm-about-hero__card::before{
    content: "";
    position: absolute;
    left: 28px;
    top: 34px;
    bottom: 34px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(126,118,126,0),
        rgba(126,118,126,.38),
        rgba(126,118,126,0)
    );
}

.lm-about-hero__number,
.lm-about-hero__caption,
.lm-about-hero__since{
    position: relative;
    z-index: 2;
    padding-left: 22px;
}

.lm-about-hero__number{
    margin: 0 0 8px;
    font-size: 74px;
    line-height: .92;
    font-weight: 750;
    letter-spacing: -0.06em;
    color: #252525;
}

.lm-about-hero__caption{
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #333;
}

.lm-about-hero__since{
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.35;
    color: #8a7f86;
}

/* LIDAMED — ABOUT HERO TEXT REFINES */

.lm-about-title{
    max-width: 620px;
    margin-bottom: 16px;
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.lm-about-text--lead{
    max-width: 720px;
    margin-bottom: 14px;
    font-size: 21px;
    line-height: 1.5;
    font-weight: 500;
    color: #3f3f3f;
}

.lm-about-text:not(.lm-about-text--lead){
    max-width: 760px;
    font-size: 16px;
    line-height: 1.75;
}

/* =========================================================
   LIDAMED — ABOUT STATS PREMIUM UPGRADE
   Карточки: экспертность / натуральность / безопасность
   ========================================================= */

.lm-about-stat{
    position: relative;
    overflow: hidden;
    padding: 24px 24px 22px;
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease,
        background .24s ease;
}

.lm-about-stat::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(126, 118, 126, .09), transparent 30%),
        linear-gradient(145deg, rgba(255,255,255,0) 0%, rgba(247,243,241,.72) 100%);
    opacity: 0;
    transition: opacity .24s ease;
    pointer-events: none;
}

.lm-about-stat:hover{
    transform: translateY(-4px);
    border-color: rgba(126, 118, 126, .22);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .075);
}

.lm-about-stat:hover::before{
    opacity: 1;
}

.lm-about-stat__icon{
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #f6f3f1;
    border: 1px solid rgba(126, 118, 126, .16);
    color: #7f737a;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .04em;
}

.lm-about-stat strong{
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 0 9px;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
    color: #252525;
}

.lm-about-stat span{
    position: relative;
    z-index: 2;
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* =========================================================
   LIDAMED — ABOUT ATMOSPHERE BOOST
   ========================================================= */

.lm-about-section--soft{
    background: linear-gradient(145deg, #faf8f6 0%, #f5f1ef 100%);
}

.lm-about-section__text p{
    font-size: 16px;
    line-height: 1.75;
    color: #555;
}

.lm-about-section__text p:first-child{
    font-weight: 500;
    color: #2c2c2c;
}

/* лёгкий эффект "воздуха" */
.lm-about-section{
    position: relative;
    overflow: hidden;
}

.lm-about-section::after{
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,0,0,0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* АТМОСФЕРА — заголовок аккуратнее */
.lm-about-section__head h2{
    max-width: 360px;
    line-height: 1.2;
}

/* текст блока чуть мягче */
.lm-about-section__text p{
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   LIDAMED — ABOUT ATMOSPHERE TITLE BOOST
   ========================================================= */

.lm-about-section--soft .lm-about-title{
    font-size: 38px; /* было ~28px */
    line-height: 1.15;
    letter-spacing: -0.3px;
}

/* =========================================================
   LIDAMED — ABOUT ATMOSPHERE ACCENT WORD FINAL
   ========================================================= */

.lm-about-section--soft .lm-about-section__head h2 .lm-about-accent{
    display: inline-block !important;
    margin: 0 !important;

    font-size: 1.15em !important;
    line-height: inherit !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;

    color: #8a7f86 !important;

    text-transform: none !important;
}

/* =========================================================
   LIDAMED — ABOUT ATMOSPHERE LINE RIGHT (TEXT ANCHOR)
   ========================================================= */

.lm-about-section--soft .lm-about-section__text{
    position: relative;
    padding-left: 22px;
}

.lm-about-section--soft .lm-about-section__text::before{
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    border-radius: 999px;

    background: linear-gradient(
        180deg,
        rgba(126,118,126,0),
        rgba(126,118,126,.35),
        rgba(126,118,126,0)
    );
}

/* =========================================================
   LIDAMED — CTA SOFT GRAY OVERLAY
   смягчение чёрного блока
   ========================================================= */

.lm-about-cta{
    position: relative;
    overflow: hidden;
}

/* серый мягкий слой сверху */
.lm-about-cta::after{
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.04),
        rgba(255,255,255,0.01)
    );

    pointer-events: none;
}

/* =========================================================
   LIDAMED — ABOUT PAGE BRANDS UP
   Поднимаем слайдер брендов ближе к CTA
   ========================================================= */

.page-template-page-about .lm-footer-partners{
    margin-top: -40px !important;
}


/* =========================================================
   LIDAMED — ABOUT MOBILE FINAL (ЕДИНЫЙ ЧИСТЫЙ ФИКС)
   ========================================================= */

@media (max-width: 767px){

    /* ===== HERO (О клинике) ===== */

    .lm-about-hero{
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Заголовок "О клинике ЛИДАМЕД" — в 1 строку */
    .lm-about-title{
        font-size: 24px !important;
        line-height: 1.2 !important;
        white-space: nowrap;
    }

    /* 13+ ЛЕТ — делаем жирный акцент */
    .lm-about-hero__number{
        font-size: 92px !important;
        line-height: 0.9 !important;
    }

    .lm-about-hero__caption{
        font-size: 18px !important;
    }


    /* ===== ВСЕ ПЛАШКИ В 1 КОЛОНКУ ===== */

    .lm-about-stats{
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .lm-about-benefits{
        grid-template-columns: 1fr !important;
        gap: 12px;
    }


    /* ===== СЕКЦИИ ===== */

    .lm-about-section{
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Атмосфера — аккуратный заголовок */
    .lm-about-section__head h2{
        font-size: 30px !important;
        line-height: 1.15 !important;
    }

    /* убираем лишние отступы слева */
    .lm-about-section--soft .lm-about-section__head,
.lm-about-section--soft .lm-about-section__text{
        padding-left: 0 !important;
    }

    /* ===== CTA ===== */

    .lm-about-cta{
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
        padding: 22px 20px !important;
    }

    .lm-about-cta h2{
        font-size: 20px !important;
        line-height: 1.2 !important;
    }

    .lm-about-cta p{
        font-size: 14px !important;
        line-height: 1.6 !important;
    }


    /* ===== ПОДЖИМАЕМ К ФУТЕРУ ===== */

    .lm-footer-partners{
        margin-top: -16px !important;
    }

}

/* =========================================================
   LIDAMED — ABOUT MOBILE HERO TEXT + BUTTON FINAL
   ========================================================= */

@media (max-width: 767px){

    .lm-about-text--lead{
        font-size: 16px !important;
        line-height: 1.75 !important;
        font-weight: 600 !important;
    }

    .lm-about-hero .lm-about-btn{
        width: 100% !important;
        max-width: 220px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

}

/* =========================================================
   LIDAMED — MOBILE HERO BUTTON SCALE (АККУРАТНОЕ УВЕЛИЧЕНИЕ)
   ========================================================= */

@media (max-width: 767px){

    .lm-about-hero .lm-about-btn{
        width: 100%;
        max-width: 260px;   /* было ~220 → даём больше воздуха */
        margin: 8px auto 0;

        min-height: 52px;   /* было ~46 → кнопка "дышит" */
        padding: 0 20px;

        font-size: 14px;    /* чуть крупнее */
        letter-spacing: 0.03em;
    }

}

/* =========================================================
   LIDAMED — ABOUT MOBILE FOOTER GAP FIX
   ========================================================= */

@media (max-width: 767px){

    body.page-template-page-about .lm-about-page{
        padding-bottom: 24px !important;
    }

    body.page-template-page-about .lm-footer-partners{
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

}

/* =========================================================
   LIDAMED — ABOUT DESKTOP SIDEBAR ALIGN FINAL
   ========================================================= */

@media (min-width: 1200px){
    body.page-template-page-about .lm-single-sidebar{
        margin-top: 0 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — НОВОСТИ: ARCHIVE TIMELINE + SINGLE
   Новый формат: постоянные ссылки, без аккордеона
   ========================================================= */

.lm-news-archive{
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.lm-news-card{
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 24px;
    padding: 24px 26px;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,248,248,.92) 100%);
    box-shadow:
        0 16px 38px rgba(15,23,42,.06),
        inset 0 1px 0 rgba(255,255,255,.9);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.lm-news-card::before{
    content: "";
    position: absolute;
    left: 70px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.08) 18%, rgba(0,0,0,.08) 82%, transparent 100%);
}

.lm-news-card:hover{
    transform: translateY(-3px);
    border-color: rgba(0,0,0,.11);
    box-shadow:
        0 22px 48px rgba(15,23,42,.09),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.lm-news-card__date{
    position: relative;
    z-index: 2;
    width: 74px;
    height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 22px;
    border: 1px solid rgba(210,200,207,.9);
    background:
        radial-gradient(circle at 30% 18%, rgba(255,255,255,1) 0%, rgba(255,255,255,.72) 34%, rgba(244,240,243,.92) 100%);
    box-shadow:
        0 12px 26px rgba(129,101,118,.12),
        inset 0 1px 0 rgba(255,255,255,.9);
    text-align: center;
}

.lm-news-card__day{
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #2f2f2f;
}

.lm-news-card__month{
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8a7f86;
}

.lm-news-card__year{
    font-size: 10px;
    line-height: 1;
    font-weight: 600;
    color: #b0a7ad;
}

.lm-news-card__body{
    min-width: 0;
    padding-top: 3px;
}

.lm-news-card__title{
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.22;
    font-weight: 700;
    color: #1f1f1f;
    letter-spacing: -0.02em;
}

.lm-news-card__excerpt{
    margin: 0;
    max-width: 820px;
    font-size: 16px;
    line-height: 1.65;
    color: #5d646d;
}

.lm-news-card__more{
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    color: #2f2f2f;
}

.lm-news-single__meta{
    margin: 0 0 22px;
    color: #7a7a7a;
    font-size: 14px;
    line-height: 1.5;
}

.lm-news-single__image{
    margin: 0 0 28px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.lm-news-single__image img{
    display: block;
    width: 100%;
    height: auto;
}

.lm-news-single__content{
    font-size: 17px;
    line-height: 1.78;
    color: #2a2f36;
}

.lm-news-single__content > *:first-child{
    margin-top: 0;
}

.lm-news-single__back{
    margin-top: 34px;
}

.lm-news-single__back a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, opacity .2s ease;
}

.lm-news-single__back a:hover{
    transform: translateY(-1px);
    opacity: .92;
}

@media (max-width: 767px){
    .lm-news-archive{
        gap: 16px;
    }

    .lm-news-card{
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 16px;
        padding: 18px;
        border-radius: 22px;
    }

    .lm-news-card::before{
        left: 50px;
    }

    .lm-news-card__date{
        width: 58px;
        height: 70px;
        border-radius: 18px;
    }

    .lm-news-card__day{
        font-size: 23px;
    }

    .lm-news-card__month{
        font-size: 9px;
    }

    .lm-news-card__year{
        font-size: 9px;
    }

    .lm-news-card__title{
        font-size: 19px;
        line-height: 1.25;
    }

    .lm-news-card__excerpt{
        font-size: 14px;
        line-height: 1.55;
    }

    .lm-news-single__content{
        font-size: 16px;
        line-height: 1.7;
    }
}

.lm-news-card:hover::before{
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0,0,0,.18) 18%,
        rgba(0,0,0,.18) 82%,
        transparent 100%
    );
}

.lm-news-card:hover .lm-news-card__title{
    opacity: .85;
}

.lm-news-card{
    opacity: 0;
    transform: translateY(12px);
    animation: lmNewsFade .6s ease forwards;
}

@keyframes lmNewsFade{
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   ЛИДАМЕД — НОВОСТИ: FIX TIMELINE LINK WIDTH
   ========================================================= */

.lm-news-timeline{
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.lm-news-card{
    display: block;
}

.lm-news-card__link{
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    min-height: 150px;
    padding: 24px 26px;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,248,248,.92) 100%);
    box-shadow:
        0 16px 38px rgba(15,23,42,.06),
        inset 0 1px 0 rgba(255,255,255,.9);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.lm-news-card__link::before{
    content: "";
    position: absolute;
    left: 70px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.08) 18%, rgba(0,0,0,.08) 82%, transparent 100%);
}

.lm-news-card__link:hover{
    transform: translateY(-3px);
    border-color: rgba(0,0,0,.11);
    box-shadow:
        0 22px 48px rgba(15,23,42,.09),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.lm-news-card__body{
    display: block;
    min-width: 0;
    max-width: 860px;
}

.lm-news-card__title{
    display: block;
}

.lm-news-card__excerpt{
    display: block;
}

.lm-news-card__more{
    display: inline-flex;
}

@media (max-width: 767px){
    .lm-news-card__link{
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 16px;
        min-height: 0;
        padding: 18px;
        border-radius: 22px;
    }

    .lm-news-card__link::before{
        left: 50px;
    }
}

/* =========================================================
   ЛИДАМЕД — БЛОК "ДРУГИЕ НОВОСТИ"
   ========================================================= */

.lm-news-related{
    margin-top: 60px;
}

.lm-news-related__title{
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 700;
}

.lm-news-related__grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lm-news-related__card{
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,.07);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: .2s;
}

.lm-news-related__card:hover{
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.lm-news-related__date{
    font-size: 12px;
    color: #9a9a9a;
    margin-bottom: 8px;
}

.lm-news-related__name{
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.lm-news-related__name{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}

.lm-news-related__more{
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

@media (max-width: 767px){
    .lm-news-related__grid{
        grid-template-columns: 1fr;
    }
}

.lm-news-related__more{
    margin-top: auto;
}

/* =========================================================
   ЛИДАМЕД — НОВОСТИ: подтяжка сетки вверх
   Архив + сингл
   ========================================================= */

body.post-type-archive-news main.site-main > .container,
body.single-news main.site-main > .container{
    padding-top: 28px !important;
    padding-bottom: 52px !important;
}

body.post-type-archive-news .lm-single-layout,
body.single-news .lm-single-layout{
    align-items: flex-start !important;
    gap: 32px !important;
}

body.post-type-archive-news .lm-single-sidebar,
body.single-news .lm-single-sidebar{
    margin-top: 0 !important;
    top: 120px !important;
}

body.post-type-archive-news .lm-single-main,
body.single-news .lm-single-main{
    margin-top: 0 !important;
    max-width: 100% !important;
}

/* =========================================================
   ЛИДАМЕД — НОВОСТИ: нормальная ширина контента
   ========================================================= */

body.post-type-archive-news main.site-main > .container,
body.single-news main.site-main > .container{
    max-width: 1320px !important;
    width: calc(100% - 56px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.post-type-archive-news .lm-single-main,
body.single-news .lm-single-main{
    max-width: 900px !important;
    width: 100% !important;
}

body.post-type-archive-news .lm-news-timeline,
body.post-type-archive-news .lm-news-archive,
body.single-news .lm-news-single{
    width: 100% !important;
    box-sizing: border-box !important;
}

/* =========================================================
   ЛИДАМЕД — НОВОСТИ: УБРАТЬ МАТРЁШКУ В АРХИВЕ
   Только карточки новостей, без пагинации
   ========================================================= */

.lm-news-timeline,
.lm-news-archive{
    padding: 26px 28px;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15,23,42,.055);
}

.lm-news-card{
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.lm-news-card + .lm-news-card{
    border-top: 1px solid rgba(0,0,0,.07) !important;
}

.lm-news-card__link{
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 24px 0 !important;
}

.lm-news-card__link:hover{
    transform: none !important;
    box-shadow: none !important;
}

.lm-news-card__link:hover .lm-news-card__title{
    opacity: .72;
}

@media (max-width: 767px){
    .lm-news-timeline,
.lm-news-archive{
        padding: 18px;
        border-radius: 22px;
    }

    .lm-news-card__link{
        padding: 20px 0 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — НОВОСТИ: ФИНАЛЬНАЯ ПАГИНАЦИЯ PLAIN
   ========================================================= */

body.post-type-archive-news .lm-news-pagination{
    margin-top: 28px !important;
    padding-top: 24px !important;
    border-top: 1px solid rgba(0,0,0,.07) !important;
    text-align: center !important;
}

body.post-type-archive-news .lm-news-pagination .page-numbers{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 42px !important;
    height: 42px !important;
    margin: 0 4px !important;
    padding: 0 12px !important;

    border: 1px solid rgba(0,0,0,.14) !important;
    border-radius: 8px !important;
    background: #fff !important;

    color: #222 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-decoration: none !important;

    box-shadow: none !important;
}

body.post-type-archive-news .lm-news-pagination .page-numbers.current{
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

body.post-type-archive-news .lm-news-pagination a.page-numbers:hover{
    background: #f5f5f5 !important;
    border-color: rgba(0,0,0,.25) !important;
    color: #111 !important;
}

/* =========================================================
   ЛИДАМЕД — НОВОСТИ: одна линия timeline с воздухом
   ========================================================= */

/* полностью убираем старые линии */
body.post-type-archive-news .lm-news-card::before,
body.post-type-archive-news .lm-news-card__link::before,
body.post-type-archive-news .lm-news-card__date::after{
    content: none !important;
    display: none !important;
}

/* задаём нормальную сетку: дата / линия / текст */
body.post-type-archive-news .lm-news-card__link{
    display: grid !important;
    grid-template-columns: 74px 52px minmax(0, 1fr) !important;
    gap: 0 !important;
}

/* дата */
body.post-type-archive-news .lm-news-card__date{
    grid-column: 1 !important;
    margin: 0 !important;
}

/* линия между датой и текстом */
body.post-type-archive-news .lm-news-card__link::after{
    content: "" !important;
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 1px !important;
    height: 100% !important;
    margin: 0 auto !important;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0,0,0,.08) 18%,
        rgba(0,0,0,.08) 82%,
        transparent 100%
    ) !important;
}

/* текст */
body.post-type-archive-news .lm-news-card__body{
    grid-column: 3 !important;
    min-width: 0 !important;
    padding-left: 10px !important;
}

/* =========================================================
   ЛИДАМЕД — SINGLE NEWS (как архив)
   ========================================================= */

body.single-news .lm-news-single-layout{
    display: grid;
    grid-template-columns: 74px 52px minmax(0, 1fr);
}

/* дата */
body.single-news .lm-news-single-date{
    grid-column: 1;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

/* линия */
body.single-news .lm-news-single-layout::before{
    content: "";
    grid-column: 2;
    width: 1px;
    height: 100%;
    margin: 0 auto;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0,0,0,.08) 18%,
        rgba(0,0,0,.08) 82%,
        transparent 100%
    );
}

/* контент */
body.single-news .lm-news-single-content{
    grid-column: 3;
    padding-left: 10px;
}

/* фото */
body.single-news .lm-news-single-image{
    margin-bottom: 22px;
    max-height: 420px;
    overflow: hidden;
    border-radius: 24px;
}

body.single-news .lm-news-single-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* текст */
body.single-news .lm-news-single-text{
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}


/* =========================================================
   ЛИДАМЕД — SINGLE NEWS: DATE BADGE КАК В АРХИВЕ
   ========================================================= */

body.single-news .lm-news-single-date{
    grid-column: 1 !important;
    width: 74px !important;
    height: 74px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 22px !important;
    border: 1px solid rgba(210,200,207,.9) !important;
    background: radial-gradient(circle at 30% 18%, rgba(255,255,255,1) 0%, rgba(255,255,255,.72) 34%, rgba(244,240,243,.92) 100%) !important;
    box-shadow: 0 12px 26px rgba(129,101,118,.12), inset 0 1px 0 rgba(255,255,255,.9) !important;
    text-align: center !important;
}

body.single-news .lm-news-single-date__day{
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    color: #2f2f2f !important;
}

body.single-news .lm-news-single-date__month{
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #8a7f86 !important;
}

body.single-news .lm-news-single-date__year{
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: #b0a7ad !important;
}

/* =========================================================
   ЛИДАМЕД — SINGLE NEWS: FINAL 3-COLUMN LAYOUT
   ========================================================= */

body.single-news main.site-main > .container{
    max-width: 1480px !important;
    width: calc(100% - 56px) !important;
}

body.single-news .lm-single-layout{
    display: grid !important;
    grid-template-columns: 340px minmax(0, 1030px) !important;
    gap: 32px !important;
    align-items: start !important;
}

body.single-news .lm-single-main,
body.single-news .lm-news-single{
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.single-news .lm-news-single-grid{
    display: grid !important;
    grid-template-columns: minmax(0, 700px) 280px !important;
    gap: 28px !important;
    align-items: start !important;
}

body.single-news .lm-news-single-article{
    min-width: 0 !important;
}

body.single-news .lm-news-side-articles{
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    position: sticky !important;
    top: 120px !important;
}

/* Фото новости */
body.single-news .lm-news-single-hero{
    position: relative !important;
    margin: 0 0 24px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
}

body.single-news .lm-news-single-hero__image{
    aspect-ratio: 16 / 9 !important;
    max-height: 340px !important;
    overflow: hidden !important;
}

body.single-news .lm-news-single-hero__image img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Дата поверх фото */
body.single-news .lm-news-single-date--on-image{
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    z-index: 3 !important;
}

/* Дата без фото — обтекание */
body.single-news .lm-news-single-date--float{
    float: left !important;
    margin: 0 18px 12px 0 !important;
}

/* Бейдж даты */
body.single-news .lm-news-single-date{
    width: 74px !important;
    height: 74px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(210,200,207,.9) !important;
    background: radial-gradient(circle at 30% 18%, #fff 0%, rgba(255,255,255,.72) 34%, rgba(244,240,243,.92) 100%) !important;
    box-shadow: 0 12px 26px rgba(129,101,118,.12), inset 0 1px 0 rgba(255,255,255,.9) !important;
    text-align: center !important;
}

body.single-news .lm-news-single-date__day{
    font-size: 26px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    color: #2f2f2f !important;
}

body.single-news .lm-news-single-date__month{
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #8a7f86 !important;
}

body.single-news .lm-news-single-date__year{
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: #b0a7ad !important;
}

/* Текст новости */
body.single-news .lm-news-single-text{
    font-size: 16px !important;
    line-height: 1.75 !important;
    color: #2a2f36 !important;
}

/* Правая колонка статей */
body.single-news .lm-news-side-article{
    display: block !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.07) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.05) !important;
    color: inherit !important;
    text-decoration: none !important;
}

body.single-news .lm-news-side-article__image{
    display: block !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
}

body.single-news .lm-news-side-article__image img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

body.single-news .lm-news-side-article__title{
    display: block !important;
    padding: 14px 15px 4px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #111 !important;
}

body.single-news .lm-news-side-article__more{
    display: block !important;
    padding: 0 15px 15px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #111 !important;
}

/* Мобилка */
@media (max-width: 1199px){
    body.single-news .lm-single-layout{
        grid-template-columns: 320px minmax(0, 1fr) !important;
    }

    body.single-news .lm-news-single-grid{
        display: block !important;
    }

    body.single-news .lm-news-side-articles{
        display: none !important;
    }
}

@media (max-width: 767px){
    body.single-news main.site-main > .container{
        width: calc(100% - 28px) !important;
    }

    body.single-news .lm-single-layout{
        display: block !important;
    }

    body.single-news .lm-single-sidebar{
        display: none !important;
    }
}



/* =========================================================
   ЛИДАМЕД — SINGLE NEWS: ближе к карусели брендов
   ========================================================= */

body.single-news main.site-main > .container{
    padding-bottom: 20px !important;
}

body.single-news .lm-footer-partners{
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* =========================================================
   ЛИДАМЕД — SINGLE NEWS: hover правых статей
   ========================================================= */

body.single-news .lm-news-side-article{
    transition: box-shadow .25s ease, border-color .25s ease !important;
}

body.single-news .lm-news-side-article__image img{
    transition: transform .35s ease, filter .35s ease !important;
}

body.single-news .lm-news-side-article:hover{
    border-color: rgba(0,0,0,.13) !important;
    box-shadow: 0 16px 36px rgba(0,0,0,.08) !important;
}

body.single-news .lm-news-side-article:hover .lm-news-side-article__image img{
    transform: scale(1.035) !important;
    filter: brightness(.94) !important;
}

/* =========================================================
   ЛИДАМЕД — SINGLE NEWS: шапка блока "Другие новости"
   ========================================================= */

body.single-news .lm-news-related__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

body.single-news .lm-news-related__title{
    margin: 0 !important;
}

body.single-news .lm-news-single__back{
    margin: 0 !important;
}

body.single-news .lm-news-single__back a{
    min-height: 38px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* =========================================================
   ЛИДАМЕД — SINGLE NEWS: фикс основной картинки новости
   ========================================================= */

body.single-news .lm-news-single-hero{
    width: 100% !important;
    border-radius: 26px !important;
    overflow: hidden !important;
}

body.single-news .lm-news-single-hero__image{
    width: 100% !important;
    height: 360px !important;
    border-radius: 26px !important;
    overflow: hidden !important;
}

body.single-news .lm-news-single-hero__image img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* =========================================================
   ЛИДАМЕД — SINGLE NEWS: другие новости / 2 карточки в ряд
   ========================================================= */

body.single-news .lm-news-related__grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
}

body.single-news .lm-news-related__grid > .lm-news-related__card{
    position: relative !important;
    display: block !important;
    min-height: 138px !important;
    padding: 20px 20px 46px !important;
    box-sizing: border-box !important;
}

body.single-news .lm-news-related__grid > .lm-news-related__card[style*="display: none"]{
    display: none !important;
}

body.single-news .lm-news-related__more{
    position: absolute !important;
    right: 20px !important;
    bottom: 18px !important;
    margin: 0 !important;
}


/* =========================================================
   ЛИДАМЕД — SINGLE NEWS: правая колонка статей / финальный компакт
   ========================================================= */

body.single-news .lm-news-side-article{
    position: relative !important;
    display: block !important;
    height: 225px !important;
    padding-bottom: 34px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body.single-news .lm-news-side-article__image{
    display: block !important;
    width: 100% !important;
    height: 135px !important;
    overflow: hidden !important;
}

body.single-news .lm-news-side-article__image img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Название — строго 2 строки + затухание справа во второй строке */
body.single-news .lm-news-side-article__title{
    position: relative !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;

    height: 48px !important;
    margin: 0 !important;
    padding: 10px 15px 0 !important;

    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #111 !important;
}

body.single-news .lm-news-side-article__title::after{
    content: "" !important;
    position: absolute !important;
    right: 15px !important;
    bottom: 0 !important;
    width: 70px !important;
    height: 1.35em !important;
    background: linear-gradient(to right, rgba(255,255,255,0), #fff 72%) !important;
    pointer-events: none !important;
}

/* Читать — справа снизу */
body.single-news .lm-news-side-article__more{
    position: absolute !important;
    right: 15px !important;
    bottom: 13px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #111 !important;

    transition: transform .2s ease, opacity .2s ease !important;
}

body.single-news .lm-news-side-article:hover .lm-news-side-article__more{
    transform: translateY(-2px) scale(1.04) !important;
    opacity: .86 !important;
}

/* =========================================================
   ЛИДАМЕД — GLOBAL IMAGE STANDARD 16:9
   Единый стандарт контентных изображений 1200×675
   ========================================================= */

.lm-single-entry__image,
.lm-promo-single__image,
.lm-news-single-hero__image,
.lm-news-side-article__image,
.article-card-image,
.article-card__image,
.lm-home-promotions__image-wrap,
.lm-services-category-card__media,
.lm-home-services__media,
.lm-linked-card__image-wrap{
    aspect-ratio: 16 / 9 !important;
    background: #fff !important;
    overflow: hidden !important;
}

/* Картинка внутри контейнера */
.lm-single-entry__image img,
.lm-promo-single__image img,
.lm-news-single-hero__image img,
.lm-news-side-article__image img,
.article-card-image img,
.article-card__image img,
.lm-home-promotions__image-wrap img,
.lm-services-category-card__image,
.lm-home-services__image,
.lm-linked-card__image{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}


/* =========================================================
   ЛИДАМЕД — НОВОСТИ: мобильный архив FINAL v2
   Горизонтальная дата + ровные карточки
   ========================================================= */

@media (max-width: 767px){

    body.post-type-archive-news main.site-main > .container{
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 12px 28px !important;
        box-sizing: border-box !important;
    }

    body.post-type-archive-news .lm-news-timeline,
body.post-type-archive-news .lm-news-archive{
        width: 100% !important;
        padding: 15px !important;
        border-radius: 22px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body.post-type-archive-news .lm-news-card__link{
        display: block !important;
        padding: 10px 0 4px !important;
        overflow: hidden !important;
    }

    body.post-type-archive-news .lm-news-card:first-child .lm-news-card__link{
        padding-top: 0 !important;
    }

    body.post-type-archive-news .lm-news-card__link::before,
body.post-type-archive-news .lm-news-card__link::after{
        display: none !important;
        content: none !important;
    }

    body.post-type-archive-news .lm-news-card__date{
        float: none !important;
        width: fit-content !important;
        height: auto !important;
        min-width: 0 !important;
        margin: 0 0 10px !important;
        padding: 7px 13px !important;

        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;

        border-radius: 999px !important;
        border: 1px solid rgba(210,200,207,.9) !important;
        background: radial-gradient(circle at 30% 18%, #fff 0%, rgba(255,255,255,.78) 38%, rgba(244,240,243,.94) 100%) !important;
        box-shadow: 0 8px 20px rgba(129,101,118,.10), inset 0 1px 0 rgba(255,255,255,.9) !important;
    }

    body.post-type-archive-news .lm-news-card__day,
body.post-type-archive-news .lm-news-card__month,
body.post-type-archive-news .lm-news-card__year{
        font-size: 12px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        color: #6f666d !important;
    }

    body.post-type-archive-news .lm-news-card__day::after,
body.post-type-archive-news .lm-news-card__month::after{
        content: "." !important;
    }

    body.post-type-archive-news .lm-news-card__body{
        display: block !important;
        padding: 0 !important;
        min-width: 0 !important;
    }

    body.post-type-archive-news .lm-news-card__title{
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;

        margin: 0 0 8px !important;
        font-size: 18px !important;
        line-height: 1.25 !important;

        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    body.post-type-archive-news .lm-news-card__excerpt{
        display: -webkit-box !important;
        -webkit-line-clamp: 4 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;

        font-size: 14px !important;
        line-height: 1.55 !important;

        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

   body.post-type-archive-news .lm-news-card__more{
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

    body.post-type-archive-news .lm-news-card + .lm-news-card{
        border-top: 1px solid rgba(0,0,0,.07) !important;
    }

    body.post-type-archive-news .lm-news-pagination .page-numbers,
body.post-type-archive-news .navigation.pagination .page-numbers{
        min-width: 34px !important;
        height: 34px !important;
        padding: 0 10px !important;
        margin: 0 2px !important;
        font-size: 13px !important;
    }
}

body.post-type-archive-news .lm-news-card__day::after,
body.post-type-archive-news .lm-news-card__month::after{
    content: none !important;
}


/* =========================================================
   ЛИДАМЕД — SINGLE NEWS: мобильная версия FINAL
   ========================================================= */

@media (max-width: 767px){

    body.single-news main.site-main > .container{
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 12px 28px !important;
        box-sizing: border-box !important;
    }

    body.single-news .lm-single-layout{
        display: block !important;
    }

    body.single-news .lm-single-sidebar,
body.single-news .lm-news-side-articles{
        display: none !important;
    }

    body.single-news .lm-single-main,
body.single-news .lm-news-single,
body.single-news .lm-news-single-grid,
body.single-news .lm-news-single-article{
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* основная картинка новости — 16:9 */
    body.single-news .lm-news-single-hero{
        width: 100% !important;
        margin: 0 0 22px !important;
        border-radius: 24px !important;
        overflow: hidden !important;
    }

    body.single-news .lm-news-single-hero__image{
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        border-radius: 24px !important;
        overflow: hidden !important;
    }

    body.single-news .lm-news-single-hero__image img{
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    body.single-news .lm-news-single-date--on-image{
        top: 14px !important;
        left: 14px !important;
    }

    /* текст */
    body.single-news .lm-news-single-text{
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    /* шапка "Другие новости" */
    body.single-news .lm-news-related__head{
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin-bottom: 16px !important;
    }

    body.single-news .lm-news-related__title{
        margin: 0 !important;
        font-size: 22px !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
    }

    body.single-news .lm-news-single__back a{
        min-width: 132px !important;
        min-height: 36px !important;
        padding: 0 14px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    /* другие новости — одной колонкой */
    body.single-news .lm-news-related__grid{
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body.single-news .lm-news-related__grid > .lm-news-related__card{
        display: block !important;
        width: 100% !important;
        min-height: 126px !important;
        padding: 18px 18px 42px !important;
        box-sizing: border-box !important;
    }

    body.single-news .lm-news-related__more{
        right: 18px !important;
        bottom: 16px !important;
    }
}


/* =========================================================
   ЛИДАМЕД — SINGLE NEWS: мобильные "Другие новости" компактно
   ========================================================= */

@media (max-width: 767px){

    body.single-news .lm-news-related__grid{
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    body.single-news .lm-news-related__grid > .lm-news-related__card{
        min-height: 0 !important;
        height: auto !important;
        padding: 14px 16px !important;
        border-radius: 18px !important;
    }

    body.single-news .lm-news-related__date{
        margin: 0 0 6px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        color: #9a9a9a !important;
    }

    body.single-news .lm-news-related__name{
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;

        margin: 0 !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
    }

    body.single-news .lm-news-related__more{
        display: none !important;
    }
}

/* =========================================================
   ЛИДАМЕД — SINGLE NEWS: плоская дата на фото
   ========================================================= */

body.single-news .lm-news-single-date--on-image{
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;

    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    padding: 7px 13px !important;

    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;

    border-radius: 999px !important;
    border: 1px solid rgba(210,200,207,.9) !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 8px 20px rgba(129,101,118,.10), inset 0 1px 0 rgba(255,255,255,.9) !important;

    white-space: nowrap !important;
}

body.single-news .lm-news-single-date__day,
body.single-news .lm-news-single-date__month,
body.single-news .lm-news-single-date__year{
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    color: #6f666d !important;
}

/* ← ВОТ ЭТО ГЛАВНОЕ ИСПРАВЛЕНИЕ */
body.single-news .lm-news-single-date__day::after,
body.single-news .lm-news-single-date__month::after{
    content: none !important;
}


/* =========================================================
   ЛИДАМЕД — FINAL PREMIUM PAINT SYSTEM
   Усиленная финальная покраска по реальным видимым поверхностям
   Только фон, цвет, контур, тень и микродетали. Без изменения сеток.
   ========================================================= */

/* ---------------------------------------------------------
   0. Premium tokens внутри финального слоя
   --------------------------------------------------------- */
body{
    --lm-premium-ink: #30332f;
    --lm-premium-ink-soft: #42463f;
    --lm-premium-muted: #6c726a;
    --lm-premium-muted-2: #858a82;
    --lm-premium-white: #ffffff;
    --lm-premium-glass: rgba(255,255,255,0.88);
    --lm-premium-cream: #fffdf8;
    --lm-premium-champagne-soft: #f7f1e6;
    --lm-premium-champagne: #c8ad78;
    --lm-premium-champagne-deep: #a98d57;
    --lm-premium-graphite: #3d403a;
    --lm-premium-graphite-deep: #2f332e;
    --lm-premium-line: rgba(194, 174, 136, 0.46);
    --lm-premium-line-strong: rgba(169, 141, 87, 0.62);
    --lm-premium-shadow: 0 18px 48px rgba(43, 47, 42, 0.11);
    --lm-premium-shadow-strong: 0 26px 68px rgba(43, 47, 42, 0.17);
    --lm-premium-inset: inset 0 1px 0 rgba(255,255,255,0.78);
}

/* ---------------------------------------------------------
   1. Чистая база страниц с лёгким медицинским теплом
   --------------------------------------------------------- */
body.home,
body.post-type-archive-news,
body.post-type-archive-aktsii,
body.post-type-archive-uslugi,
body.post-type-archive-preparations,
body.tax-service_category,
body.tax-preparation_brand{
    background: #ffffff !important;
    color: var(--lm-premium-ink) !important;
}

body.home main.site-main,
body.post-type-archive-news main.site-main,
body.post-type-archive-aktsii main.site-main,
body.post-type-archive-uslugi main.site-main,
body.post-type-archive-preparations main.site-main,
body.tax-service_category main.site-main,
body.tax-preparation_brand main.site-main{
    background:
        radial-gradient(circle at 50% 0%, rgba(200, 173, 120, 0.15), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fffdf8 42%, #ffffff 100%) !important;
}

/* ---------------------------------------------------------
   2. CTA-блоки: premium white / glass white
   --------------------------------------------------------- */
body.home .lm-home-cta,
.lm-home-cta{
    background: transparent !important;
    color: var(--lm-premium-ink) !important;
}

body.home .lm-home-cta .lm-home-cta__inner,
.lm-home-cta .lm-home-cta__inner{
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(255,253,248,0.92) 58%, rgba(247,241,230,0.82) 100%) !important;
    border: 1px solid var(--lm-premium-line) !important;
    box-shadow: var(--lm-premium-shadow), var(--lm-premium-inset) !important;
    color: var(--lm-premium-ink) !important;
}

body.home .lm-home-cta .lm-home-cta__inner:hover,
.lm-home-cta .lm-home-cta__inner:hover{
    border-color: var(--lm-premium-line-strong) !important;
    box-shadow: var(--lm-premium-shadow-strong), var(--lm-premium-inset) !important;
}

body.home .lm-home-cta .lm-home-cta__title,
body.home .lm-home-cta .lm-home-cta__text,
.lm-home-cta .lm-home-cta__title,
.lm-home-cta .lm-home-cta__text{
    color: var(--lm-premium-ink) !important;
}

body.home .lm-dual-buttons,
.lm-dual-buttons{
    background: transparent !important;
}

/* ---------------------------------------------------------
   3. Главная: реальные поверхности карточек
   --------------------------------------------------------- */
body.home .lm-home-services .lm-home-services__card-inner,
body.home .lm-home-promotions .lm-home-promotions__card,
body.home .lm-home-news-reviews .lm-home-news-reviews__grid,
body.home .lm-home-news-reviews .lm-home-news-item{
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(255,253,248,0.96) 100%) !important;
    border: 1px solid var(--lm-premium-line) !important;
    box-shadow: var(--lm-premium-shadow), var(--lm-premium-inset) !important;
    color: var(--lm-premium-ink) !important;
}

body.home .lm-home-services .lm-home-services__card-inner:hover,
body.home .lm-home-promotions .lm-home-promotions__card:hover,
body.home .lm-home-news-reviews .lm-home-news-item:hover{
    border-color: var(--lm-premium-line-strong) !important;
    box-shadow: var(--lm-premium-shadow-strong), var(--lm-premium-inset) !important;
}

body.home .lm-home-services .lm-home-services__card-title,
body.home .lm-home-promotions .lm-home-promotions__title,
body.home .lm-home-news-reviews .lm-home-news-item__title,
body.home .lm-home-news-reviews .lm-home-review__title{
    color: var(--lm-premium-ink) !important;
}

body.home .lm-home-services .lm-home-services__card-text,
body.home .lm-home-promotions .lm-home-promotions__text,
body.home .lm-home-news-reviews .lm-home-news-item__text,
body.home .lm-home-news-reviews .lm-home-review__text{
    color: var(--lm-premium-muted) !important;
}


body.home .lm-home-promotions .lm-home-promotions__card,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__card{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border: 1px solid var(--lm-premium-line-strong) !important;
    box-shadow: 0 20px 54px rgba(43, 47, 42, 0.13), var(--lm-premium-inset) !important;
    color: var(--lm-premium-ink) !important;
}

body.home .lm-home-promotions .lm-home-promotions__card:hover,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__card:hover{
    border-color: rgba(169, 141, 87, 0.74) !important;
    box-shadow: 0 28px 74px rgba(43, 47, 42, 0.18), var(--lm-premium-inset) !important;
}

body.home .lm-home-promotions .lm-home-promotions__title,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__title{
    color: var(--lm-premium-ink) !important;
}

body.home .lm-home-promotions .lm-home-promotions__text,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__text{
    color: var(--lm-premium-muted) !important;
}

/* ---------------------------------------------------------
   5. Архивы и таксономии: реальные карточки
   --------------------------------------------------------- */
body.post-type-archive-uslugi .lm-services-archive .lm-services-category-card__inner,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card,
body.post-type-archive-preparations .lm-preparations-archive .lm-brand-card__inner,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__card{
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(255,253,248,0.96) 100%) !important;
    border: 1px solid var(--lm-premium-line) !important;
    box-shadow: var(--lm-premium-shadow), var(--lm-premium-inset) !important;
    color: var(--lm-premium-ink) !important;
}

body.post-type-archive-uslugi .lm-services-archive .lm-services-category-card__inner:hover,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card:hover,
body.post-type-archive-preparations .lm-preparations-archive .lm-brand-card__inner:hover,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card:hover,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__card:hover{
    border-color: var(--lm-premium-line-strong) !important;
    box-shadow: var(--lm-premium-shadow-strong), var(--lm-premium-inset) !important;
}

body.post-type-archive-uslugi .lm-services-archive .lm-services-category-card__title,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card .lm-linked-card__title,
body.post-type-archive-preparations .lm-preparations-archive .lm-brand-card__title,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card .lm-linked-card__title,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__title{
    color: var(--lm-premium-ink) !important;
}

body.post-type-archive-uslugi .lm-services-archive .lm-services-category-card__text,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card .lm-linked-card__text,
body.post-type-archive-preparations .lm-preparations-archive .lm-brand-card__text,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card .lm-linked-card__text,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__text{
    color: var(--lm-premium-muted) !important;
}

/* ---------------------------------------------------------
   6. Новости: один слой, без дополнительных прямоугольников
   --------------------------------------------------------- */
body.post-type-archive-news .lm-news-timeline{
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(255,253,248,0.96) 100%) !important;
    border: 1px solid var(--lm-premium-line) !important;
    box-shadow: var(--lm-premium-shadow), var(--lm-premium-inset) !important;
}

body.post-type-archive-news .lm-news-card__link{
    background: transparent !important;
    border-color: rgba(194, 174, 136, 0.34) !important;
    box-shadow: none !important;
    color: var(--lm-premium-ink) !important;
}

body.post-type-archive-news .lm-news-card__link:hover{
    background: rgba(255, 253, 248, 0.62) !important;
    border-color: var(--lm-premium-line-strong) !important;
}

body.post-type-archive-news .lm-news-card__date,
body.home .lm-home-news-reviews .lm-home-news-item__date,
body.home .lm-home-promotions .lm-home-promotions__date,
body.home .lm-home-promotions .lm-offer-date-badge{
    background: linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    border: 1px solid var(--lm-premium-line-strong) !important;
    color: var(--lm-premium-graphite) !important;
    box-shadow: 0 9px 24px rgba(75, 69, 56, 0.12), var(--lm-premium-inset) !important;
}

body.post-type-archive-news .lm-news-card__title{
    color: var(--lm-premium-ink) !important;
}

body.post-type-archive-news .lm-news-card__excerpt,
body.post-type-archive-news .lm-news-card__meta{
    color: var(--lm-premium-muted) !important;
}

/* ---------------------------------------------------------
   7. Кнопки: premium graphite / champagne white
   --------------------------------------------------------- */
body.home .lm-dual-buttons a.lm-btn-primary,
.lm-dual-buttons a.lm-btn-primary,
.lm-btn-primary,
body.home .lm-home-promotions .lm-home-promotions__button,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__button,
.lm-service-btn-primary,
body.home .lm-home-news-reviews .lm-home-news-item__more,
body.home .lm-home-news-reviews .lm-home-news-reviews__all-btn{
    background: linear-gradient(180deg, #fffdf8 0%, #eadbc5 100%) !important;
color: #4a4032 !important;
border: 1px solid rgba(169, 141, 87, 0.55) !important;

box-shadow:
    0 10px 26px rgba(75, 69, 56, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

body.home .lm-dual-buttons a.lm-btn-primary:hover,
.lm-dual-buttons a.lm-btn-primary:hover,
.lm-btn-primary:hover,
body.home .lm-home-promotions .lm-home-promotions__button:hover,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__button:hover,
.lm-service-btn-primary:hover,
body.home .lm-home-news-reviews .lm-home-news-item__more:hover,
body.home .lm-home-news-reviews .lm-home-news-reviews__all-btn:hover{
   background: linear-gradient(180deg, #ffffff 0%, #e4d1b2 100%) !important;
color: #3f3528 !important;

box-shadow:
    0 16px 38px rgba(75, 69, 56, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.95) !important;
}

body.home .lm-dual-buttons a.lm-btn-secondary,
.lm-dual-buttons a.lm-btn-secondary,
.lm-btn-secondary,
body.home .lm-home-promotions .lm-home-promotions__button--secondary,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__button--secondary,
.lm-service-btn-secondary,
body.post-type-archive-news .lm-news-pagination .page-numbers,
body.post-type-archive-news .lm-news-card__more{
    background: linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    color: var(--lm-premium-ink) !important;
    border: 1px solid var(--lm-premium-line-strong) !important;
    box-shadow: 0 10px 26px rgba(75, 69, 56, 0.12), var(--lm-premium-inset) !important;
    text-decoration: none !important;
}

body.home .lm-dual-buttons a.lm-btn-secondary:hover,
.lm-dual-buttons a.lm-btn-secondary:hover,
.lm-btn-secondary:hover,
body.home .lm-home-promotions .lm-home-promotions__button--secondary:hover,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__button--secondary:hover,
.lm-service-btn-secondary:hover,
body.post-type-archive-news .lm-news-pagination .page-numbers:hover,
body.post-type-archive-news .lm-news-card__more:hover{
    background: linear-gradient(180deg, #fffefa 0%, #efe3cc 100%) !important;
    color: #272a26 !important;
    border-color: rgba(169, 141, 87, 0.82) !important;
    box-shadow: 0 15px 36px rgba(75, 69, 56, 0.17), var(--lm-premium-inset) !important;
}

/* ---------------------------------------------------------
   8. Левое меню: активная ветка без старой пудровой заливки
   --------------------------------------------------------- */
.lm-single-sidebar .lm-sidebar-box,
.lm-single-sidebar .lm-sidebar-menu{
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,253,248,0.94) 100%) !important;
    border-color: var(--lm-premium-line) !important;
    box-shadow: 0 14px 38px rgba(43, 47, 42, 0.08), var(--lm-premium-inset) !important;
}

.lm-single-sidebar .lm-sidebar-title{
    color: var(--lm-premium-ink) !important;
}

.lm-single-sidebar .lm-sidebar-link,
.lm-single-sidebar .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group__items a,
.lm-sidebar-menu a{
    color: var(--lm-premium-muted) !important;
    background: transparent !important;
}

.lm-single-sidebar .lm-sidebar-link:hover,
.lm-single-sidebar .lm-sidebar-group__title:hover,
.lm-single-sidebar .lm-sidebar-group__items a:hover,
.lm-sidebar-menu a:hover{
    color: var(--lm-premium-ink) !important;
    background: rgba(247, 241, 230, 0.54) !important;
}

.lm-single-sidebar .lm-sidebar-link.is-active,
.lm-single-sidebar .lm-sidebar-link.active,
.lm-single-sidebar .lm-sidebar-link.current,
.lm-single-sidebar .lm-sidebar-link[aria-current="page"],
.lm-single-sidebar .lm-sidebar-group.is-active > .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group.active > .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group.current > .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group__title.is-active,
.lm-single-sidebar .lm-sidebar-group__title.active,
.lm-single-sidebar .lm-sidebar-group__items a.is-active,
.lm-single-sidebar .lm-sidebar-group__items a.active,
.lm-single-sidebar .lm-sidebar-group__items a.current,
.lm-single-sidebar .lm-sidebar-group__items a[aria-current="page"],
.lm-sidebar-menu .current-menu-item > a,
.lm-sidebar-menu .current_page_item > a,
.lm-sidebar-menu .active > a,
.lm-sidebar-menu a[aria-current="page"]{
    background: linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    color: var(--lm-premium-graphite) !important;
    border-color: var(--lm-premium-line-strong) !important;
    box-shadow: 0 8px 22px rgba(75, 69, 56, 0.11), var(--lm-premium-inset) !important;
}

/* ---------------------------------------------------------
   9. Бейджи / даты / выгода: champagne-white pills
   --------------------------------------------------------- */
.lm-card-badge,
body.home .lm-home-section-badge,
body.home .lm-home-promotions__badge,
.lm-home-promotions__badge,
.lm-home-promotions__benefit,
body.home .lm-home-news-reviews .lm-home-news-reviews__badge,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__badge,
body.post-type-archive-uslugi .lm-services-archive .lm-section-badge,
body.post-type-archive-preparations .lm-preparations-archive .lm-section-badge,
body.post-type-archive-news .lm-section-badge{
    background: linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    border: 1px solid var(--lm-premium-line-strong) !important;
    color: var(--lm-premium-graphite) !important;
    box-shadow: 0 9px 24px rgba(75, 69, 56, 0.11), var(--lm-premium-inset) !important;
}

.lm-card-badge::before,
body.home .lm-home-section-badge::before,
body.home .lm-home-promotions__badge::before,
.lm-home-promotions__badge::before,
body.home .lm-home-news-reviews .lm-home-news-reviews__badge::before,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__badge::before,
body.post-type-archive-uslugi .lm-services-archive .lm-section-badge::before,
body.post-type-archive-preparations .lm-preparations-archive .lm-section-badge::before,
body.post-type-archive-news .lm-section-badge::before{
    background: var(--lm-premium-champagne) !important;
    box-shadow: 0 0 0 4px rgba(200, 173, 120, 0.16) !important;
}

/* ---------------------------------------------------------
   10. Изображения: чистый дорогой контур
   --------------------------------------------------------- */
body.home .lm-home-services .lm-home-services__card-image,
body.home .lm-home-promotions .lm-home-promotions__image,
body.post-type-archive-uslugi .lm-services-archive .lm-services-category-card__image,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card img,
body.post-type-archive-preparations .lm-preparations-archive .lm-brand-card__image,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card img,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__image{
    border: 1px solid rgba(194, 174, 136, 0.34) !important;
    box-shadow: 0 10px 28px rgba(43, 47, 42, 0.09) !important;
}

/* ---------------------------------------------------------
   11. Мобилка: только смягчаем визуальный вес
   --------------------------------------------------------- */
@media (max-width: 767px){
    body.home .lm-home-services .lm-home-services__card-inner,
body.home .lm-home-promotions .lm-home-promotions__card,
body.home .lm-home-news-reviews .lm-home-news-reviews__grid,
body.home .lm-home-news-reviews .lm-home-news-item,
body.home .lm-home-cta .lm-home-cta__inner,
body.post-type-archive-uslugi .lm-services-archive .lm-services-category-card__inner,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card,
body.post-type-archive-preparations .lm-preparations-archive .lm-brand-card__inner,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__card,
body.post-type-archive-news .lm-news-timeline{
        box-shadow: 0 12px 32px rgba(43, 47, 42, 0.10), var(--lm-premium-inset) !important;
    }
}

/* =========================================================
   ЛИДАМЕД — SERVICE HERO (КАК В ПРЕПАРАТАХ)
   ========================================================= */

body.single-uslugi .lm-service-hero__top{
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

body.single-uslugi .lm-service-hero__media{
  flex: 0 0 38%;
  max-width: 38%;
}

body.single-uslugi .lm-service-hero__right{
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 🔥 ВАЖНО: теперь всё сжимается как один блок */
@media (max-width: 1199px){

  body.single-uslugi .lm-service-hero__right{
    flex: 0 0 220px;
  }

  body.single-uslugi .lm-service-price-panel__value{
    font-size: clamp(20px, 2vw, 28px);
  }

}

/* =========================================================
   ЛИДАМЕД — SPECIALISTS INSIDE SINGLES / MOBILE CLEAN
   Услуги + препараты: без внутренней белой подложки
   ========================================================= */

@media (max-width: 767px){

  body.single-uslugi .lm-specialists .lm-specialists-grid,
body.single-preparations .lm-specialists .lm-specialists-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.single-uslugi .lm-specialists .lm-specialist-card,
body.single-preparations .lm-specialists .lm-specialist-card{
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.single-uslugi .lm-specialists .lm-specialist-card__image-wrap,
body.single-preparations .lm-specialists .lm-specialist-card__image-wrap{
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  body.single-uslugi .lm-specialists .lm-specialist-card__image,
body.single-preparations .lm-specialists .lm-specialist-card__image{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 22px !important;
  }

  body.single-uslugi .lm-specialists .lm-specialist-card__body,
body.single-preparations .lm-specialists .lm-specialist-card__body{
    width: 100% !important;
    min-width: 0 !important;
    padding: 16px 0 0 !important;
    background: transparent !important;
    text-align: left !important;
  }

  body.single-uslugi .lm-specialists .lm-specialist-card__title,
body.single-preparations .lm-specialists .lm-specialist-card__title{
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }

  body.single-uslugi .lm-specialists .lm-specialist-card__position,
body.single-preparations .lm-specialists .lm-specialist-card__position{
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
  }

  body.single-uslugi .lm-specialists .lm-specialist-card__text,
body.single-preparations .lm-specialists .lm-specialist-card__text{
    font-size: 14px !important;
    line-height: 1.55 !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }
}


/* =========================================================
   ЛИДАМЕД — PREMIUM BUTTON SYSTEM (FINAL)
   ========================================================= */

/* PRIMARY — мягкий медицинский */
body .lm-btn-primary,
body .lm-service-btn-primary,
body .lm-home-promotions__button{

  background: linear-gradient(180deg, #c7b79f 0%, #a99172 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.25) !important;

  box-shadow:
    0 10px 26px rgba(50, 45, 40, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.35) !important;

  transition: all .25s ease !important;
}

/* hover — углубление */
body .lm-btn-primary:hover,
body .lm-service-btn-primary:hover,
body .lm-home-promotions__button:hover{

  background: linear-gradient(180deg, #b9a587 0%, #967b58 100%) !important;

  box-shadow:
    0 14px 34px rgba(40, 36, 32, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.25) !important;

  transform: translateY(-1px);
}

/* SECONDARY — премиальный outline */
body .lm-btn-secondary,
body .lm-service-btn-secondary{

  background: rgba(255,255,255,0.65) !important;
  backdrop-filter: blur(6px);

  color: #4a463f !important;

  border: 1px solid rgba(190,174,145,0.45) !important;

  box-shadow:
    0 6px 18px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.6) !important;
}

/* hover */
body .lm-btn-secondary:hover,
body .lm-service-btn-secondary:hover{

  background: rgba(255,255,255,0.85) !important;

  border-color: rgba(160,145,115,0.65) !important;

  box-shadow:
    0 10px 24px rgba(0,0,0,0.10) !important;

  transform: translateY(-1px);
}


/* =========================================================
   ЛИДАМЕД — PREMIUM CARDS SYSTEM
   Убираем серость, даём глубину
   ========================================================= */

/* БАЗА КАРТОЧЕК */
body .lm-card,
body .lm-linked-card,
body .lm-news-card,
body .lm-home-promotions__card{

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.96) 0%,
    rgba(247,243,236,0.92) 100%
  ) !important;

  border: 1px solid rgba(210,195,165,0.35) !important;

  box-shadow:
    0 12px 32px rgba(30, 28, 25, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.65) !important;

  backdrop-filter: blur(6px);
}

/* HOVER */
body .lm-card:hover,
body .lm-linked-card:hover,
body .lm-news-card:hover,
body .lm-home-promotions__card:hover{

  box-shadow:
    0 18px 42px rgba(25, 22, 20, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.75) !important;

  transform: translateY(-2px);
}

/* УБИРАЕМ СЕРЫЕ ВНУТРЕННИЕ ПЛАШКИ */
body .lm-card *[style*="background:#"],
body .lm-card *[class*="badge"],
body .lm-home-promotions__card *[class*="badge"]{

  background: rgba(255,255,255,0.75) !important;
  border: 1px solid rgba(210,195,165,0.35) !important;
}


/* =========================================================
   ЛИДАМЕД — PRICE + BENEFIT BUBBLE FINAL (ЦЕЛИКОВЫЙ)
   ========================================================= */

/* контейнер цен */
.home .lm-home-promotions__prices{
  position: relative !important;
  width: 100% !important;
  min-height: 60px !important;
  margin: 4px 0 6px !important;
  padding: 0 !important;
}

/* актуальная цена — строго центр */
.home .lm-home-promotions__new-price{
  position: absolute !important;
  left: 50% !important;
  top: 32px !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  white-space: nowrap !important;
  z-index: 3 !important;
}

/* старая цена — слева */
.home .lm-home-promotions__old-price{
  position: absolute !important;
  right: calc(50% + 56px) !important;
  top: 35px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  z-index: 2 !important;
}

/* === BUBBLE === */
.home .lm-home-promotions__benefit{

  position: absolute !important;
  left: calc(50% + 45px) !important;
  top: 0 !important;

  width: 82px !important;
  height: 42px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  margin: 0 !important;

  border-radius: 999px !important;
  background: #fffdf8 !important;
  border: 1px solid rgba(190,174,145,0.55) !important;

  box-shadow: 0 6px 16px rgba(80,70,58,0.08) !important;

  color: #6f5f4a !important;
  text-align: center !important;
  line-height: 1 !important;

  pointer-events: none !important;
  z-index: 4 !important;
}

/* текст */
.home .lm-home-promotions__benefit span{
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.home .lm-home-promotions__benefit span:first-child{
  font-size: 12px !important;
  opacity: 0.6 !important;
  margin-bottom: 2px !important;
}

.home .lm-home-promotions__benefit span:last-child{
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* === ХВОСТ (левый нижний угол) === */

/* обводка */
.home .lm-home-promotions__benefit::before{
  content: "" !important;
  position: absolute !important;

  left: 10px !important;
  bottom: -9px !important;

  width: 0 !important;
  height: 0 !important;

  border-left: 7px solid transparent !important;
  border-right: 7px solid transparent !important;
  border-top: 9px solid rgba(190,174,145,0.55) !important;

  z-index: 1 !important;
}

/* заливка */
.home .lm-home-promotions__benefit::after{
  content: "" !important;
  position: absolute !important;

  left: 11px !important;
  bottom: -7px !important;

  width: 0 !important;
  height: 0 !important;

  border-left: 6px solid transparent !important;
  border-right: 6px solid transparent !important;
  border-top: 8px solid #fffdf8 !important;

  z-index: 2 !important;
}

/* мобилка */
@media (max-width: 767px){
  .home .lm-home-promotions__prices{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: auto !important;
  }

  .home .lm-home-promotions__old-price,
.home .lm-home-promotions__new-price,
.home .lm-home-promotions__benefit{
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 auto !important;
  }

  .home .lm-home-promotions__benefit::before,
.home .lm-home-promotions__benefit::after{
    display: none !important;
  }
}

/* УБИРАЕМ ВОЗДУХ НАД БЕЙДЖЕМ */
.home .lm-home-promotions__prices{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home .lm-home-promotions__benefit{
  top: -8px !important; /* было 0 — поднимаем */
}

.home .lm-home-promotions__new-price{
  top: 30px !important; /* было 32 */
}

.home .lm-home-promotions__old-price{
  top: 33px !important; /* было 35 */
}


.lm-home-promotions__benefit span:first-child{
  font-size: 11.5px !important;
  opacity: 0.8; /* было 0.7 — станет читаемее */
  letter-spacing: 0.2px;
}

.home .lm-home-promotions__benefit{
  top: -5px !important;
}

.lm-home-promotions__benefit span:first-child{
  font-size: 11.5px !important;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

.lm-home-promotions__benefit span:last-child{
  font-size: 14px !important;
  font-weight: 700;
}


/* =========================================================
   ЛИДАМЕД — DEADLINE LUXE FIX (ПЕРЕЗАТИРАЕМ ВСЁ)
   ========================================================= */


/* НОВЫЙ ЛАКШЕРИ БЛОК */
.home .lm-home-promotions__badge{

  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;

  margin: 10px 0 14px !important;
  padding: 10px 14px !important;

  border-radius: 14px !important;

  background: linear-gradient(180deg, #fffdf9 0%, #f7efe3 100%) !important;

  border: 1px solid rgba(190,174,145,0.35) !important;

  box-shadow:
    0 10px 22px rgba(80,70,58,0.06),
    inset 0 1px 0 rgba(255,255,255,0.85) !important;

  text-align: center !important;
  color: #6f5f4a !important;
}


/* ПЕРВАЯ СТРОКА */
.home .lm-home-promotions__badge > div:first-child{
  font-size: 12px !important;
  opacity: 0.75 !important;
}


/* ВТОРАЯ СТРОКА */
.home .lm-home-promotions__badge > div:last-child{
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #5a4c38 !important;
}


/* =========================================================
   ЛИДАМЕД — DEADLINE SILK BADGE FINAL
   Статичный шелковистый баннер сроков
   ========================================================= */

.home .lm-home-promotions__badge{
  position: relative !important;
  overflow: hidden !important;

  margin: 10px 0 14px !important;
  padding: 10px 14px !important;

  border-radius: 16px !important;

 background:
  radial-gradient(circle at 20% 0%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 40%),
  linear-gradient(135deg, #ffffff 0%, #fbf7f1 55%, #ffffff 100%) !important;

  border: 1px solid rgba(190,174,145,0.18) !important;

  box-shadow:
  0 6px 14px rgba(80,70,58,0.05),
  inset 0 1px 0 rgba(255,255,255,0.85) !important;

  color: #6f5f4a !important;
  text-align: center !important;
}

/* мягкий шелковый блик, статичный */
.home .lm-home-promotions__badge::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;

  background:
    linear-gradient(
      115deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.55) 38%,
      rgba(255,255,255,0) 68%
    ) !important;

  opacity: .42 !important;
  pointer-events: none !important;
}

/* внутренний текст поверх блика */
.home .lm-home-promotions__badge > *{
  position: relative !important;
  z-index: 1 !important;
}

/* первая строка */
.home .lm-home-promotions__badge > *:first-child{
  font-size: 14px !important;
  font-weight: 500 !important;
  opacity: .76 !important;
}

/* вторая строка */
.home .lm-home-promotions__badge > *:last-child{
  margin-top: 4px !important;
  font-size: 12.8px !important;
  font-weight: 700 !important;
  color: #554833 !important;
}



body.home .lm-home-promotions .lm-home-promotions__card .lm-home-promotions__badge{
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin: 10px 0 14px !important;
  padding: 10px 14px !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 42%),
    linear-gradient(135deg, #ffffff 0%, #fbf8f2 55%, #ffffff 100%) !important;
  border: 1px solid rgba(190,174,145,0.20) !important;
  box-shadow:
    0 6px 14px rgba(80,70,58,0.045),
    inset 0 1px 0 rgba(255,255,255,0.88) !important;
  color: #6f5f4a !important;
  text-align: center !important;
  overflow: hidden !important;
}

body.home .lm-home-promotions .lm-home-promotions__card .lm-home-promotions__badge > *,
body.home .lm-home-promotions .lm-home-promotions__card .lm-home-promotions__badge-line{
  all: unset !important;
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  color: #6f5f4a !important;
  line-height: 1.28 !important;
}

body.home .lm-home-promotions .lm-home-promotions__card .lm-home-promotions__badge > *:first-child,
body.home .lm-home-promotions .lm-home-promotions__card .lm-home-promotions__badge-line:first-child{
  font-size: 14px !important;
  font-weight: 500 !important;
  opacity: .82 !important;
}

body.home .lm-home-promotions .lm-home-promotions__card .lm-home-promotions__badge > *:last-child,
body.home .lm-home-promotions .lm-home-promotions__card .lm-home-promotions__badge-line--bottom{
  margin-top: 3px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #554833 !important;
}

body.home .lm-home-promotions .lm-home-promotions__card .lm-home-promotions__badge::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.42) 38%, transparent 68%) !important;
  opacity: .45 !important;
  pointer-events: none !important;
}

/* =========================================================
   ЛИДАМЕД — FIX РАЗМЕРА ТЕКСТА В СРОКАХ
   ========================================================= */

.home .lm-home-promotions__badge .lm-home-promotions__badge-line{
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.home .lm-home-promotions__badge .lm-home-promotions__badge-line--bottom{
  font-size: 13.5px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

/* ЛИДАМЕД — мягкий премиум-эффект для блока сроков */

.home .lm-home-promotions__badge{
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 8px 20px rgba(60, 50, 40, 0.06);
}

.home .lm-home-promotions__badge-line:first-child{
  font-size: 15px !important;
  letter-spacing: 0.2px;
}




body.home .lm-home-promotions .lm-home-promotions__card-title,
body.home .lm-home-promotions .lm-home-promotions__card-title a{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;

  min-height: 0 !important;
  height: auto !important;
  max-height: 1.25em !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;

  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;

  line-height: 1.25 !important;
}

/* =========================================================
   LIDAMED — HEADER MENU TEXT PREMIUM TONE
   ОТКЛЮЧЕНО: перекрывал новую финальную полировку меню.
   Старый код сохранён для ручной проверки.
   =========================================================

.lm-menu > li > a{
  color: #3E3A37 !important;
}

.lm-menu > li > a:hover{
  color: #1F1D1B !important;
}

.lm-menu > li.current-menu-item > a,
.lm-menu > li.current_page_item > a,
.lm-menu > li.current-menu-ancestor > a{
  color: #22201E !important;
}
*/

/* =========================================================
   LIDAMED — HOME PREMIUM POLISH: HEADER MENU
   ========================================================= */
body.home .lm-header-menu .lm-header-menu__inner{
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(196, 174, 135, 0.34) !important;
    box-shadow:
        0 12px 34px rgba(44, 48, 43, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

body.home .lm-header-menu .lm-menu > li > a{
    color: #50564f !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home .lm-header-menu .lm-menu > li > a::after{
    background: linear-gradient(
        90deg,
        rgba(196, 174, 135, 0) 0%,
        rgba(196, 174, 135, 0.52) 18%,
        rgba(166, 136, 82, 0.92) 50%,
        rgba(196, 174, 135, 0.52) 82%,
        rgba(196, 174, 135, 0) 100%
    ) !important;
}

body.home .lm-header-menu .lm-menu > li:hover > a,
body.home .lm-header-menu .lm-menu > li.current-menu-item > a,
body.home .lm-header-menu .lm-menu > li.current-menu-parent > a,
body.home .lm-header-menu .lm-menu > li.current-menu-ancestor > a,
body.home .lm-header-menu .lm-menu > li.current_page_item > a,
body.home .lm-header-menu .lm-menu > li.current_page_parent > a,
body.home .lm-header-menu .lm-menu > li.current_page_ancestor > a{
    color: #2f332e !important;
    background: rgba(247, 241, 230, 0.42) !important;
    box-shadow: inset 0 0 0 1px rgba(196, 174, 135, 0.20) !important;
}

@media (max-width: 767px){
    body.home .lm-header-menu .lm-header-menu__inner,
body.home .lm-header-menu .lm-menu > li > a{
        background: inherit;
    }
}

/* =========================================================
   LIDAMED — HOME PREMIUM POLISH: HERO BANNER
   ========================================================= */
body.home .lm-home-banner__label{
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 8px 15px !important;
    border-radius: 999px !important;
    color: #4c514b !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(247,241,230,0.84) 100%) !important;
    border: 1px solid rgba(196, 174, 135, 0.42) !important;
    box-shadow: 0 10px 26px rgba(44, 48, 43, 0.10) !important;
}

body.home .lm-home-banner__title,
body.home .lm-home-banner__title span{
    color: #2f332e !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.68) !important;
}

body.home .lm-home-banner__subtitle{
    color: #5f665e !important;
}

body.home .lm-home-banner__btn{
    color: #30342f !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    border: 1px solid rgba(166, 136, 82, 0.58) !important;
    box-shadow:
        0 14px 34px rgba(60, 56, 47, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

body.home .lm-home-banner__btn:hover{
    color: #252924 !important;
    background: linear-gradient(180deg, #fffefa 0%, #efe2c9 100%) !important;
    border-color: rgba(166, 136, 82, 0.78) !important;
    box-shadow:
        0 18px 42px rgba(60, 56, 47, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

/* =========================================================
   LIDAMED — HOME PREMIUM POLISH: SECTION BADGES
   ========================================================= */
body.home .lm-section-badge,
body.home .lm-lux-intro__badge,
body.home .lm-lux-intro__card-label,
body.home .lm-home-features__badge{
    color: #42483f !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    border: 1px solid rgba(196, 174, 135, 0.52) !important;
    box-shadow:
        0 9px 24px rgba(75, 69, 56, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

body.home .lm-section-badge__dot,
body.home .lm-lux-intro__dot{
    background: #c8ad78 !important;
    box-shadow: 0 0 0 4px rgba(200, 173, 120, 0.16) !important;
}

/* =========================================================
   LIDAMED — HOME PREMIUM POLISH: LUX INTRO
   ========================================================= */
body.home .lm-lux-intro__main,
body.home .lm-lux-intro__card{
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,253,248,0.94) 62%, rgba(247,241,230,0.72) 100%) !important;
    border: 1px solid rgba(196, 174, 135, 0.38) !important;
    box-shadow:
        0 22px 58px rgba(44, 48, 43, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.84) !important;
}

body.home .lm-lux-intro__title,
body.home .lm-lux-intro__card-title{
    color: #30342f !important;
}

body.home .lm-lux-intro__lead,
body.home .lm-lux-intro__card-text,
body.home .lm-lux-intro__note{
    color: #666d64 !important;
}

body.home .lm-lux-intro__feature{
    color: #444a42 !important;
    background: rgba(255,255,255,0.74) !important;
    border-color: rgba(196, 174, 135, 0.30) !important;
    box-shadow: 0 8px 22px rgba(44, 48, 43, 0.06) !important;
}

body.home .lm-lux-intro__btn{
    color: #30342f !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    border: 1px solid rgba(166, 136, 82, 0.60) !important;
    box-shadow:
        0 14px 32px rgba(75, 69, 56, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.84) !important;
}

body.home .lm-lux-intro__btn:hover,
body.home .lm-lux-intro__btn.lm-popup-chat-btn:hover{
    color: #252924 !important;
    background: linear-gradient(180deg, #fffefa 0%, #efe2c9 100%) !important;
    border-color: rgba(166, 136, 82, 0.80) !important;
    box-shadow:
        0 18px 40px rgba(75, 69, 56, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

body.home .lm-lux-intro__socials .lm-social-btn{
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.30) !important;
    box-shadow:
        0 10px 22px rgba(44, 48, 43, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.24) !important;
}

body.home .lm-lux-intro__socials .lm-social-btn__icon{
    width: 19px !important;
    height: 19px !important;
    flex-basis: 19px !important;
}

body.home .lm-lux-intro__socials .lm-social-btn__text{
    color: #ffffff !important;
}

body.home .lm-lux-intro__socials .lm-social-btn--tg{
    background: linear-gradient(135deg, #32a8e8 0%, #1f86d5 100%) !important;
}

body.home .lm-lux-intro__socials .lm-social-btn--inst{
    background: linear-gradient(135deg, #f7a24f 0%, #dc4e7c 48%, #7b54d9 100%) !important;
}

body.home .lm-lux-intro__socials .lm-social-btn--vk{
    background: linear-gradient(135deg, #4f8fe8 0%, #2f6fca 100%) !important;
}

/* =========================================================
   LIDAMED — HOME PREMIUM POLISH: SERVICES TEXT
   ========================================================= */
body.home .lm-home-services .lm-home-services__card-title,
body.home .lm-home-services .lm-home-services__card-title a{
    color: #3f463e !important;
}

body.home .lm-home-services .lm-home-services__card-title:hover,
body.home .lm-home-services .lm-home-services__card-title a:hover{
    color: #2d332d !important;
}

/* =========================================================
   LIDAMED — HOME PREMIUM POLISH: FEATURES
   ========================================================= */
body.home .lm-home-features__inner{
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,253,248,0.94) 100%) !important;
    border-color: rgba(196, 174, 135, 0.38) !important;
    box-shadow:
        0 20px 54px rgba(44, 48, 43, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.84) !important;
}

body.home .lm-home-features__card{
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border-color: rgba(196, 174, 135, 0.36) !important;
    box-shadow:
        0 14px 34px rgba(44, 48, 43, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

body.home .lm-home-features__card:hover{
    border-color: rgba(166, 136, 82, 0.58) !important;
    box-shadow:
        0 22px 48px rgba(44, 48, 43, 0.13),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

body.home .lm-home-features__icon-circle{
    color: #8d7650 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    border-color: rgba(196, 174, 135, 0.48) !important;
    box-shadow: 0 10px 24px rgba(75, 69, 56, 0.10) !important;
}

body.home .lm-home-features__icon,
body.home .lm-home-features__icon svg{
    color: #8d7650 !important;
}

body.home .lm-home-features__card-title{
    color: #3f463e !important;
}

body.home .lm-home-features__text{
    color: #697067 !important;
}

/* =========================================================
   LIDAMED — HOME PREMIUM POLISH: CTA BLOCKS
   ========================================================= */
body.home .lm-home-cta,
body.home .lm-home-cta--service{
    background: transparent !important;
}

body.home .lm-home-cta .lm-home-cta__inner{
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,253,248,0.94) 62%, rgba(247,241,230,0.74) 100%) !important;
    border: 1px solid rgba(196, 174, 135, 0.42) !important;
    box-shadow:
        0 20px 54px rgba(44, 48, 43, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.84) !important;
}

body.home .lm-home-cta .lm-home-cta__title{
    color: #30342f !important;
}

body.home .lm-home-cta .lm-home-cta__subtitle{
    color: #6a7068 !important;
}

body.home .lm-dual-buttons a.lm-btn-primary,
body.home .lm-dual-buttons a:first-child.lm-btn-primary,
body.home .lm-btn-primary{
    color: #ffffff !important;
    background: linear-gradient(180deg, #4b5149 0%, #30342f 100%) !important;
    border-color: rgba(255,255,255,0.28) !important;
    box-shadow:
        0 14px 34px rgba(44, 48, 43, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.22) !important;
}

body.home .lm-dual-buttons a.lm-btn-primary:hover,
body.home .lm-btn-primary:hover{
    color: #ffffff !important;
    background: linear-gradient(180deg, #586055 0%, #3a4038 100%) !important;
    border-color: rgba(200, 173, 120, 0.58) !important;
    box-shadow:
        0 18px 42px rgba(44, 48, 43, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

body.home .lm-dual-buttons a.lm-btn-secondary,
body.home .lm-dual-buttons a:last-child.lm-btn-secondary,
body.home .lm-btn-secondary{
    color: #30342f !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    border: 1px solid rgba(166, 136, 82, 0.58) !important;
    box-shadow:
        0 10px 26px rgba(75, 69, 56, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.84) !important;
}

body.home .lm-dual-buttons a.lm-btn-secondary:hover,
body.home .lm-btn-secondary:hover{
    color: #252924 !important;
    background: linear-gradient(180deg, #fffefa 0%, #efe2c9 100%) !important;
    border-color: rgba(166, 136, 82, 0.80) !important;
    box-shadow:
        0 15px 36px rgba(75, 69, 56, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

/* =========================================================
   LIDAMED — HOME PREMIUM POLISH: MESSENGERS PANEL
   ========================================================= */
body.home .lm-home-messengers__inner{
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,253,248,0.94) 64%, rgba(247,241,230,0.72) 100%) !important;
    border-color: rgba(196, 174, 135, 0.42) !important;
    box-shadow:
        0 20px 54px rgba(44, 48, 43, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.84) !important;
}

body.home .lm-home-messengers__title{
    color: #30342f !important;
}

body.home .lm-home-messengers__lead{
    color: #6a7068 !important;
}

/* =========================================================
   LIDAMED — HOME PREMIUM POLISH: HERO CTA REFINE
   ========================================================= */
body.home .lm-home-banner__btn{
    color: #4a4031 !important;
    background: linear-gradient(180deg, #fffdf8 0%, #ecdcc1 100%) !important;
    border: 1px solid rgba(170, 141, 90, 0.68) !important;
    box-shadow:
        0 16px 36px rgba(82, 72, 55, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.home .lm-home-banner__btn:hover{
    color: #3f3528 !important;
    background: linear-gradient(180deg, #fffefb 0%, #e6d2b2 100%) !important;
    border-color: rgba(170, 141, 90, 0.82) !important;
    box-shadow:
        0 20px 42px rgba(82, 72, 55, 0.19),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

/* =========================================================
   LIDAMED — HOME PREMIUM POLISH: CTA CARDS REFINE
   ========================================================= */
body.home .lm-home-cta.lm-home-cta--service .lm-home-cta__inner{
    background:
        linear-gradient(145deg, rgba(255,255,255,0.99) 0%, rgba(255,252,246,0.96) 56%, rgba(243,233,216,0.84) 100%) !important;
    border: 1px solid rgba(197, 172, 132, 0.44) !important;
    box-shadow:
        0 24px 56px rgba(55, 50, 42, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

body.home .lm-home-cta .lm-home-cta__inner{
    background:
        linear-gradient(145deg, rgba(255,255,255,0.985) 0%, rgba(255,251,245,0.95) 60%, rgba(244,235,220,0.78) 100%) !important;
    border-color: rgba(197, 172, 132, 0.40) !important;
    box-shadow:
        0 22px 52px rgba(55, 50, 42, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

body.home .lm-home-cta .lm-home-cta__title{
    color: #37332d !important;
}

body.home .lm-home-cta .lm-home-cta__subtitle{
    color: #6f685f !important;
}

body.home .lm-home-cta .lm-dual-buttons a.lm-btn-primary,
body.home .lm-home-cta .lm-dual-buttons a:first-child.lm-btn-primary,
body.home .lm-home-cta .lm-btn-primary,
body.home .lm-lux-intro__btn{
    color: #4a4032 !important;
    background: linear-gradient(180deg, #fffdf8 0%, #ead9bf 100%) !important;
    border: 1px solid rgba(169, 141, 87, 0.60) !important;
    box-shadow:
        0 12px 30px rgba(75, 69, 56, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.home .lm-home-cta .lm-dual-buttons a.lm-btn-primary:hover,
body.home .lm-home-cta .lm-btn-primary:hover,
body.home .lm-lux-intro__btn:hover,
body.home .lm-lux-intro__btn.lm-popup-chat-btn:hover{
    color: #3f3528 !important;
    background: linear-gradient(180deg, #ffffff 0%, #e3cfad 100%) !important;
    border-color: rgba(169, 141, 87, 0.80) !important;
    box-shadow:
        0 16px 38px rgba(75, 69, 56, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

body.home .lm-home-cta .lm-dual-buttons a.lm-btn-secondary,
body.home .lm-home-cta .lm-dual-buttons a:last-child.lm-btn-secondary,
body.home .lm-home-cta .lm-btn-secondary{
    color: #5a5147 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    border: 1px solid rgba(196, 174, 135, 0.56) !important;
    box-shadow:
        0 10px 24px rgba(75, 69, 56, 0.11),
        inset 0 1px 0 rgba(255,255,255,0.90) !important;
}

body.home .lm-home-cta .lm-dual-buttons a.lm-btn-secondary:hover,
body.home .lm-home-cta .lm-btn-secondary:hover{
    color: #463d33 !important;
    background: linear-gradient(180deg, #fffefb 0%, #efe1c8 100%) !important;
    border-color: rgba(169, 141, 87, 0.74) !important;
    box-shadow:
        0 14px 32px rgba(75, 69, 56, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;
}

body.home .lm-lux-intro__card-label{
    color: #4d453d !important;
    background: linear-gradient(180deg, #fffdf8 0%, #f3e6cf 100%) !important;
    border-color: rgba(169, 141, 87, 0.48) !important;
    box-shadow:
        0 10px 24px rgba(75, 69, 56, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

body.home .lm-lux-intro__card-label .lm-section-badge__dot,
body.home .lm-lux-intro__card-label .lm-lux-intro__dot{
    background: #b79a67 !important;
    box-shadow: 0 0 0 4px rgba(183, 154, 103, 0.14) !important;
}

/* =========================================================
   LIDAMED — PARTNERS FRAME GLOBAL (ALL PAGES)
   ========================================================= */
.lm-footer-partners__item{
    background: #fffdfa !important;
    border-color: rgba(202, 181, 145, 0.48) !important;
    box-shadow:
        0 10px 26px rgba(68, 62, 51, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.84) !important;
}


/* =========================================================
   LIDAMED — HOME CTA / HERO CHAMPAGNE REPAINT
   Реальный блок: .lm-home-hero
   ========================================================= */
body.home .lm-home-hero{
    background:
        linear-gradient(145deg, rgba(255,255,255,0.985) 0%, rgba(255,251,245,0.95) 58%, rgba(241,232,217,0.80) 100%) !important;
    border: 1px solid rgba(196, 174, 135, 0.34) !important;
    box-shadow:
        0 22px 52px rgba(69, 61, 48, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

body.home .lm-home-hero__title{
    color: #4d443a !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.72) !important;
}

body.home .lm-home-hero__badge{
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(247,240,229,0.92) 100%) !important;
    border: 1px solid rgba(196, 174, 135, 0.34) !important;
    color: #5e564d !important;
    box-shadow:
        0 8px 20px rgba(70, 62, 49, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

body.home .lm-home-hero__image img{
    filter: sepia(0.10) saturate(0.88) hue-rotate(-6deg) brightness(1.02) !important;
}

body.home .lm-home-hero__button{
    color: #4a4032 !important;
    background: linear-gradient(180deg, #fffdf8 0%, #ead9bf 100%) !important;
    border: 1px solid rgba(169, 141, 87, 0.60) !important;
    box-shadow:
        0 12px 30px rgba(75, 69, 56, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.home .lm-home-hero__button:hover,
body.home .lm-home-hero__button.lm-popup-chat-btn:hover{
    color: #3f3528 !important;
    background: linear-gradient(180deg, #ffffff 0%, #e3cfad 100%) !important;
    border-color: rgba(169, 141, 87, 0.80) !important;
    box-shadow:
        0 16px 38px rgba(75, 69, 56, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
}


/* =========================================================
   LIDAMED — HOME HERO CTA WIDTH / HEIGHT FIX
   ========================================================= */

body.home .lm-home-hero{
  width: min(100% - 48px, 1248px) !important;
  margin: 18px auto 24px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  min-height: 168px !important;
}

body.home .lm-home-hero__wrap{
  min-height: 168px !important;
  padding-top: 18px !important;
  padding-bottom: 20px !important;
  align-items: center !important;
}

body.home .lm-home-hero__image,
body.home .lm-home-hero__button{
  transform: translateY(10px) !important;
}

body.home .lm-home-hero__badges,
body.home .lm-home-hero__features{
  margin-bottom: 6px !important;
}

@media (max-width: 768px){
  body.home .lm-home-hero{
    width: calc(100% - 24px) !important;
    min-height: auto !important;
    border-radius: 22px !important;
  }

  body.home .lm-home-hero__wrap{
    min-height: auto !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  body.home .lm-home-hero__image,
body.home .lm-home-hero__button{
    transform: none !important;
  }
}

/* =========================================================
   LIDAMED — HOME HERO BADGES 3x2 FIX
   ========================================================= */

/* Сетка бейджей */
body.home .lm-home-hero__badges,
body.home .lm-home-hero__features{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px 12px !important;
  max-width: 820px !important;
}

/* Бейджи — норм ширина и перенос */
body.home .lm-home-hero__badges > *,
body.home .lm-home-hero__features > *{
  white-space: normal !important;
  text-align: center !important;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  line-height: 1.25 !important;
}

/* Убираем 2 лишних бейджа (последние) */
body.home .lm-home-hero__badges > *:nth-child(n+7),
body.home .lm-home-hero__features > *:nth-child(n+7){
  display: none !important;
}

/* Заголовок чуть компактнее */
body.home .lm-home-hero__title{
  font-size: 18px !important;
  line-height: 1.25 !important;
  max-width: 900px !important;
  margin: 0 auto 10px !important;
}

/* Мобилка */
@media (max-width: 768px){
  body.home .lm-home-hero__badges,
body.home .lm-home-hero__features{
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: none !important;
  }
}

/* =========================================================
   LIDAMED — HOME HERO FINAL ALIGNMENT
   ========================================================= */

/* растягиваем бейджи шире */
body.home .lm-home-hero__badges,
body.home .lm-home-hero__features{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px 16px !important;
  max-width: 960px !important; /* было 820px */
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .lm-home-hero__image,
body.home .lm-home-hero__button{
  transform: translateY(-2px) !important;
}

@media (max-width: 768px){
  body.home .lm-home-hero__badges,
body.home .lm-home-hero__features,
body.home .lm-home-hero__image,
body.home .lm-home-hero__button{
    transform: none !important;
  }
}

/* =========================================================
   LIDAMED — HOME HERO WIDTH EXACT FIX
   ========================================================= */

body.home .lm-home-hero{
  max-width: 1248px !important;
  margin: 22px auto 28px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
}

/* =========================================================
   LIDAMED — HOME SERVICES TITLES FORCE FIX
   ========================================================= */

/* все заголовки карточек услуг на главной */
body.home .lm-home-services a,
body.home .lm-home-services h3,
body.home .lm-home-services h2,
body.home .lm-home-services .title,
body.home .lm-home-services [class*="title"]{
  font-size: 20px !important; /* уменьшаем примерно на 2px */
  line-height: 1.25 !important;
}

/* если где-то стоит жёсткое ограничение в одну строку */
body.home .lm-home-services a,
body.home .lm-home-services [class*="title"]{
  white-space: nowrap !important;
}

/* =========================================================
   LIDAMED — HEADER MENU ACTIVE BACKGROUND REMOVE
   ========================================================= */

body.home .lm-header-menu .lm-menu > li.current-menu-item > a,
body.home .lm-header-menu .lm-menu > li.current_page_item > a,
body.home .lm-header-menu .lm-menu > li.current-menu-parent > a,
body.home .lm-header-menu .lm-menu > li.current-menu-ancestor > a{
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* hover тоже без квадратной подложки */
body.home .lm-header-menu .lm-menu > li:hover > a{
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================================================
   LIDAMED — HEADER MENU BACKGROUND REMOVE (INNER WRAP)
   ========================================================= */

body.home .lm-header-menu,
body.home .lm-header-menu_inner,
body.home .lm-header-menu .lm-container{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* если вдруг осталась “капсула” у nav */
body.home .lm-header-menu nav,
body.home .lm-header-menu .lm-nav{
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================================================
   LIDAMED — HEADER PHONE FINAL FIX
   ========================================================= */

/* основной номер */
.lm-header-phone__main{
  color: #6f5436 !important; /* тёплый шампань-графит */
}

/* код города */
.lm-header-phone__prefix{
  color: #9a8266 !important;
}

.lm-header-phone__main{
  background: linear-gradient(180deg, #7a5c3a 0%, #5a4630 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   LIDAMED — HEADER PHONE ACCENT ONLY
   ========================================================= */

/* телефон оставляем тёплым акцентом */
.lm-header-phone__main{
  color: #6f5436 !important;
}

.lm-header-phone__prefix{
  color: #9a8266 !important;
}

/* рабочие часы и дни — обратно в спокойный серый */
.lm-header-work{
  background: linear-gradient(180deg, #f7f7f7 0%, #ededed 100%) !important;
  color: #606060 !important;
  border: none !important;
  box-shadow: none !important;
}

.lm-header-day:not(.is-current){
  background: linear-gradient(180deg, #f4f4f4 0%, #ececec 100%) !important;
  color: #8a8a8a !important;
  border: none !important;
}

/* лёгкий живой hover только на телефоне */
.lm-header-phone{
  transition: transform .22s ease, filter .22s ease !important;
}

.lm-header-phone:hover{
  transform: translateY(-2px) scale(1.015) !important;
  filter: brightness(1.04) !important;
}


/* =========================================================
   LIDAMED — HEADER OUTLINE STYLE (PREMIUM CLEAN)
   ========================================================= */

/* РАБОТАЕМ — без заливки */
.lm-header-work{
  background: transparent !important;
  color: #5f5144 !important;
  border: 1px solid rgba(120, 100, 70, 0.25) !important;
  box-shadow: none !important;
}

/* дни недели — тоже без заливки */
.lm-header-day:not(.is-current){
  background: transparent !important;
  color: #8a847a !important;
  border: 1px solid rgba(120, 100, 70, 0.18) !important;
}

/* активный день НЕ трогаем */
.lm-header-day.is-current{
  border: none !important;
}

.lm-header-center{
    opacity: 0.75;
}

.lm-header-license{
    opacity: 0.6;
    font-size: 12px;
}

.lm-header-work{
    opacity: 0.7;
    font-weight: 500;
}

/* =========================================================
   ЛИДАМЕД — HEADER LICENSE FIX (FORCE)
   ========================================================= */

.lm-header-center .lm-header-license{
    display: inline-block !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;

    background: rgba(201, 168, 120, 0.12) !important;
    border: 1px solid rgba(201, 168, 120, 0.35) !important;

    color: #6e6255 !important;
    font-size: 12px !important;
    font-weight: 500 !important;

    backdrop-filter: blur(4px) !important;
}

/* =========================================================
   LIDAMED — HEADER FINAL PREMIUM BALANCE
   ========================================================= */

/* Верхнее меню — тёплый графит вместо жёсткого чёрного */
.lm-header-menu .lm-menu > li > a{
  color: #4f4840 !important;
  font-weight: 700 !important;
  letter-spacing: .035em !important;
}

/* Hover — чуть темнее, но без чёрного */
.lm-header-menu .lm-menu > li > a:hover{
  color: #2f2b27 !important;
}

/* Активный пункт — графит + champagne-линия */
.lm-header-menu .lm-menu > li.current-menu-item > a,
.lm-header-menu .lm-menu > li.current_page_item > a,
.lm-header-menu .lm-menu > li.current-menu-parent > a,
.lm-header-menu .lm-menu > li.current-menu-ancestor > a{
  color: #302b26 !important;
}

/* Центральный текст — чуть спокойнее */
.lm-header-center{
  opacity: .86 !important;
}

/* Лицензия — оставить читаемой, но не главной */
.lm-header-center .lm-header-license{
  opacity: .82 !important;
}

/* Плашка работы — вторичный элемент */
.lm-header-work{
  opacity: .82 !important;
}

/* Телефон — главный акцент справа */
.lm-header-phone__main{
  color: #6f5436 !important;
}

.lm-header-phone__prefix{
  color: #9a8266 !important;
}

/* =========================================================
   LIDAMED — HEADER RIGHT VERTICAL POSITION FIX
   ========================================================= */

@media (min-width: 768px){
  .lm-header-right{
    margin-top: 0 !important;
  }
}


/* =========================================================
   LIDAMED — FOOTER PARTNERS VIEWPORT WIDTH FIX
   ========================================================= */

section.lm-footer-partners{
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden !important;
}

section.lm-footer-partners > *{
  max-width: none !important;
  width: 100% !important;
}

/* =========================================================
   LIDAMED — SERVICES CATEGORY CARD TITLE FIX
   ========================================================= */

.lm-services-category-card__title{
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
}

/* =========================================================
   LIDAMED — SERVICES CATEGORY CARD TEXT WIDTH FIX
   ========================================================= */

.lm-services-category-card__content{
  padding-right: 34px !important;
}

.lm-services-category-card__text{
  max-width: none !important;
  width: 100% !important;
  font-size: 12.5px !important;
  line-height: 1.28 !important;
}

.lm-services-category-card__meta{
  right: 14px !important;
}



/* =========================================================
   LIDAMED — MOBILE PROMO PRICE ROW FINAL
   ========================================================= */

@media (max-width: 767px){

  body.home .lm-home-promotions__card{
    display: grid !important;
    grid-template-columns: 1fr auto auto auto 1fr !important;
    column-gap: 8px !important;
  }

  body.home .lm-home-promotions__card > h3,
body.home .lm-home-promotions__image,
body.home .lm-home-promotions__badge,
body.home .lm-home-promotions__summary,
body.home .lm-home-promotions__button-wrap{
    grid-column: 1 / -1 !important;
  }

  body.home .lm-home-promotions__prices{
    display: contents !important;
  }

  body.home .lm-home-promotions__old-price{
    grid-column: 2 !important;
    align-self: center !important;
    justify-self: end !important;
    position: static !important;
    transform: none !important;
    margin: 16px 0 !important;
    font-size: 14px !important;
    opacity: .5 !important;
  }

  body.home .lm-home-promotions__new-price{
    grid-column: 3 !important;
    align-self: center !important;
    justify-self: center !important;
    position: static !important;
    transform: none !important;
    margin: 16px 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  body.home .lm-home-promotions__benefit{
    grid-column: 4 !important;
    align-self: center !important;
    justify-self: start !important;
    position: relative !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 16px 0 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: #fffdfa !important;
    border: 1px solid rgba(202,181,145,.45) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.08) !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  body.home .lm-home-promotions__benefit::before{
    content: "" !important;
    position: absolute !important;
    left: -5px !important;
    top: 50% !important;
    width: 10px !important;
    height: 10px !important;
    background: #fffdfa !important;
    border-left: 1px solid rgba(202,181,145,.45) !important;
    border-bottom: 1px solid rgba(202,181,145,.45) !important;
    transform: translateY(-50%) rotate(45deg) !important;
  }
}

/* =========================================================
   LIDAMED — MOBILE PRICE BUBBLE FINAL TOUCH
   ========================================================= */

@media (max-width: 767px){

  body.home .lm-home-promotions__benefit{

    /* поднимаем */
    transform: translateY(-6px) !important;

    /* делаем красивый bubble */
    padding: 6px 10px !important;
    border-radius: 999px !important;

    background: #fffdfa !important;
    border: 1px solid rgba(202,181,145,.45) !important;

    box-shadow:
      0 6px 14px rgba(0,0,0,.08),
      inset 0 1px 0 rgba(255,255,255,.7) !important;

    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;

    position: relative !important;
  }

  /* хвостик */
  body.home .lm-home-promotions__benefit::after{
    content: "";
    position: absolute;
    left: 10px;
    bottom: -4px;

    width: 8px;
    height: 8px;

    background: #fffdfa;
    border-left: 1px solid rgba(202,181,145,.45);
    border-bottom: 1px solid rgba(202,181,145,.45);

    transform: rotate(45deg);
  }

}

/* =========================================================
   LIDAMED — MOBILE PROMO PRICE COMPACT FINAL
   ========================================================= */

@media (max-width: 767px){

  body.home .lm-home-promotions__old-price,
body.home .lm-home-promotions__new-price,
body.home .lm-home-promotions__benefit{
    margin-top: 4px !important;
    margin-bottom: -12px !important;
  }

  body.home .lm-home-promotions__summary{
    margin-bottom: 4px !important;
  }

  body.home .lm-home-promotions__button-wrap{
    margin-top: -4px !important;
    padding-top: 0 !important;
  }

  body.home .lm-home-promotions__card{
    row-gap: 4px !important;
  }
}

body.home .lm-home-promotions__old-price,
body.home .lm-home-promotions__new-price,
body.home .lm-home-promotions__benefit{
  margin-top: -14px !important;
  margin-bottom: 4px !important;
}

/* =========================================================
   LIDAMED — INLINE SPECIALIST CARDS COMPACT
   ========================================================= */

.lm-specialist-card__text{
  display: none !important;
}

.lm-specialist-card__more{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(202, 181, 145, .45);
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e6 100%);
  color: #5f5144;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================================================
   LIDAMED — INLINE SPECIALIST BUTTON DESKTOP ALIGN
   ========================================================= */

@media (min-width: 768px){
  .single-uslugi .lm-specialist-card,
.single-preparations .lm-specialist-card{
    position: relative !important;
    min-height: 138px !important;
  }

  .single-uslugi .lm-specialist-card__more,
.single-preparations .lm-specialist-card__more{
    position: absolute !important;
    right: 18px !important;
    bottom: 18px !important;
    margin-top: 0 !important;
    white-space: nowrap !important;
  }
}

/* =========================================================
   LIDAMED — INLINE SPECIALIST BUTTON MOBILE HIDE
   ========================================================= */

@media (max-width: 767px){
  .single-uslugi .lm-specialist-card__more,
.single-preparations .lm-specialist-card__more{
    display: none !important;
  }
}

/* =========================================================
   LIDAMED — SIDEBAR MENU GLOBAL TOP POSITION FIX
   ========================================================= */

@media (min-width: 1024px){

  .lm-single-layout{
    align-items: flex-start !important;
  }

  .lm-single-sidebar{
    padding-top: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
  }

  .lm-single-sidebar .lm-sidebar-box{
    margin-top: 0 !important;
    top: 0 !important;
    transform: none !important;
  }
}

/* =========================================================
   LIDAMED — NEWS BUTTON FINAL FIX (без подложки)
   ========================================================= */

body.post-type-archive-news .lm-news-card{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.post-type-archive-news .lm-news-card__link{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* КНОПКА — чистая, как была */
body.post-type-archive-news .lm-news-card__more{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: fit-content !important;
  margin-top: 12px !important;
  padding: 6px 14px !important;

  border-radius: 999px !important;
  border: 1px solid rgba(202, 181, 145, .35) !important;
  background: transparent !important; /* 🔥 ключ — убрали подложку */

  color: #5f5144 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;

  transition: all .2s ease !important;
}

/* ХОВЕР — аккуратный, без грязи */
body.post-type-archive-news .lm-news-card__more:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(68, 62, 51, .08) !important;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e6 100%) !important;
}


/* =========================================================
   LIDAMED — GLOBAL WIDE SITE LAYOUT FINAL
   Контент тянется почти на всю ширину экрана
   ========================================================= */

@media (min-width: 1024px){

  /* базовые контейнеры */
  .container,
.lm-container,
main.site-main > .container,
.site-main > .container{
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }

  /* внутренние страницы с левым меню */
  .lm-single-layout{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .lm-single-main{
    flex: 1 1 auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .lm-single-sidebar{
    flex: 0 0 340px !important;
  }

  
  .lm-services-archive,
.lm-preparations-archive,
.lm-news-archive,
.lm-articles-archive,
.lm-faq-archive,
.lm-aktsii-archive,
.lm-price-page,
.lm-legal-page{
    width: 100% !important;
    max-width: 100% !important;
  }

  .lm-services-category-grid,
.lm-brands-grid,
.lm-news-list,
.lm-news-grid,
.lm-articles-grid,
.lm-faq-groups,
.lm-price-content{
    width: 100% !important;
    max-width: 100% !important;
  }

  /* главная — пока осторожно, только контейнеры секций */
  body.home .lm-home-banner,
body.home .lm-lux-intro,
body.home .lm-home-news-reviews,
body.home .lm-home-services,
body.home .lm-home-promotions,
body.home .lm-home-cta,
body.home .lm-home-cabinets,
body.home .lm-home-features,
body.home .lm-home-messengers,
body.home .lm-why{
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   LIDAMED — NEWS ARCHIVE WIDE FIX
   ========================================================= */

@media (min-width: 1024px){

  body.post-type-archive-news main.site-main > .container,
body.post-type-archive-news .site-main > .container{
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  body.post-type-archive-news .lm-news-archive,
body.post-type-archive-news .lm-news-layout,
body.post-type-archive-news .lm-news-list,
body.post-type-archive-news .lm-news-timeline,
body.post-type-archive-news .lm-news-content{
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   ЛИДАМЕД — ФИКС ШИРИНЫ НОВОСТЕЙ (ФИНАЛ)
   ========================================================= */

body.post-type-archive-news .lm-single-layout{
    display: flex !important;
    gap: 32px;
}

body.post-type-archive-news .lm-single-sidebar{
    flex: 0 0 320px !important;
}

body.post-type-archive-news .lm-single-main{
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* добиваем внутренности */
body.post-type-archive-news .lm-single-main > *{
    max-width: 100% !important;
}

/* =========================================================
   ЛИДАМЕД — NEWS ARCHIVE RIGHT ARTICLES PANEL
   ========================================================= */

body.post-type-archive-news .lm-news-single-grid{
  grid-template-columns: minmax(0, 1fr) 340px !important;
}

body.post-type-archive-news .lm-news-side-articles{
  width: 340px !important;
  max-width: 340px !important;

  padding: 18px !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8f6f2 100%) !important;
  border: 1px solid rgba(202, 181, 145, .32) !important;
  box-shadow: 0 14px 34px rgba(48, 42, 36, .08) !important;

  gap: 16px !important;
  box-sizing: border-box !important;
}

body.post-type-archive-news .lm-news-side-article{
  height: 225px !important;
  border-radius: 18px !important;
}

/* =========================================================
   ЛИДАМЕД — NEWS ARCHIVE MOBILE FIX (убираем правую колонку)
   ========================================================= */

@media (max-width: 768px){

  /* Убираем правую колонку полностью */
  body.post-type-archive-news .lm-news-side-articles{
    display: none !important;
  }

  /* Делаем одну колонку */
  body.post-type-archive-news .lm-news-single-grid{
    grid-template-columns: 1fr !important;
  }

}

/* =========================================================
   ЛИДАМЕД — SINGLE NEWS RIGHT COLUMN WIDTH
   ========================================================= */

body.single-news .lm-news-single-grid{
  grid-template-columns: minmax(0, 1fr) 340px !important;
}

body.single-news .lm-news-side-articles{
  width: 340px !important;
  max-width: 340px !important;
}

.container--wide{
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  box-sizing: border-box;
}

@media (max-width: 768px){
  .container--wide{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* =========================================================
   LIDAMED — MOBILE FOOTER ACCORDION (FINAL)
   ========================================================= */

.lm-footer-mobile{
  display: none;
}

@media (max-width: 767px){

  .lm-footer__inner{
    display: none !important;
  }

  .lm-footer-mobile{
    display: block;
    padding: 22px 8px 10px; /* было 14 → расширили */
  }

  .lm-footer-mobile__section{
    margin: 0 0 12px;
    padding: 14px 10px; /* было 14 → расширили */
    border-radius: 18px;

    background:
      linear-gradient(180deg, rgba(255,253,248,.88) 0%, rgba(247,241,230,.82) 100%);

    border: 1px solid rgba(202,181,145,.42);

    box-shadow:
      0 10px 24px rgba(48,42,36,.08),
      inset 0 1px 0 rgba(255,255,255,.75);
  }

  .lm-footer-mobile__title,
.lm-footer-mobile__summary{
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6b5a47;
  }

  .lm-footer-mobile__summary{
    list-style: none;
    cursor: pointer;
  }

  .lm-footer-mobile__summary::-webkit-details-marker{
    display: none;
  }

  .lm-footer-mobile__summary::after{
    content: "☰";
    margin-left: 10px;
    font-size: 14px;
    opacity: .7;
  }

  .lm-footer-mobile__details[open] .lm-footer-mobile__summary::after{
    content: "×";
  }

  .lm-footer-mobile__contacts,
.lm-footer-mobile__menu{
    margin-top: 14px;
  }

  .lm-footer-mobile__contact-item{
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0 0 12px;
  }

  .lm-footer-mobile__contact-icon{
    color: #b99b72;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lm-footer-mobile__contact-icon svg{
    width: 18px;
    height: 18px;
  }

  .lm-footer-mobile__contact-lines{
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 14px;
    line-height: 1.35;
  }

  .lm-footer-mobile__contact-link,
.lm-footer-mobile__contact-text,
.lm-footer-mobile__contact-note{
    color: #4f463d;
    text-decoration: none;
  }

  .lm-footer-mobile__menu{
    padding: 0;
    list-style: none;
    text-align: center;
  }

  .lm-footer-mobile__menu li + li{
    margin-top: 9px;
  }

  .lm-footer-mobile__menu a{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #4f463d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
  }

  .lm-footer-mobile__menu a::before{
    content: "›";
    color: #b99b72;
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
  }

  .lm-footer__bottom-inner,
.lm-footer__copyright,
.lm-footer__note,
.lm-recaptcha-note{
    text-align: center !important;
    justify-content: center !important;
  }
}

/* =========================================================
   LIDAMED — LEGAL LINE (PREMIUM FINAL)
   ========================================================= */

.lm-legal-line{
  position: relative;
  width: 100%;
  padding: 1px 0;
  margin: 0;

  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border-top: 1px solid rgba(202,181,145,0.26);
  border-bottom: 1px solid rgba(202,181,145,0.26);
}

.lm-legal-line__inner{
  display: block;
  width: 100%;
  max-width: none;

  text-align: center;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;

  font-size: clamp(16px, 1.52vw, 62px);
  line-height: 0.95;
  font-weight: 700;
  text-transform: uppercase;

  letter-spacing: clamp(0.01em, 0.01vw, 0.3em);

  transform: translateX(-3%) scaleX(0.91);
  transform-origin: center;
  

  color: rgba(255,255,255,0.35);
  text-shadow:
    0 1px 2px rgba(0,0,0,0.10),
    0 0 10px rgba(255,255,255,0.30);
}

@media (max-width: 767px){
  .lm-legal-line{
    padding: 1px 0;
  }

  .lm-legal-line__inner{
    font-size: 9px;
    letter-spacing: 0.04em;
  }
}

/* =========================================================
   LIDAMED — ABOUT PAGE: WIDE TEXT + YANDEX BADGE
   ========================================================= */

.lm-about-hero__body{
  min-width: 0;
}

.lm-about-text,
.lm-about-benefit p,
.lm-about-section__text,
.lm-about-cta p{
  max-width: none !important;
}

.lm-about-actions{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
}

.lm-about-yandex-badge{
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.lm-about-yandex-badge iframe{
  display: block;
  width: 150px;
  height: 50px;
}

@media (max-width: 767px){
  .lm-about-actions{
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .lm-about-yandex-badge{
    justify-content: center;
  }
}

/* =========================================================
   LIDAMED — FIX: ПЛАШКИ 01 / 02 / 03 (УБРАТЬ РАННИЙ ПЕРЕНОС)
   ========================================================= */

/* ключевой фикс — разрешаем сжатие внутри карточки */
.lm-about-feature,
.lm-about-feature *{
  min-width: 0 !important;
}

/* текст внутри карточек */
.lm-about-feature p{
  display: block;
  width: 100%;
  max-width: none !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* если есть отдельный класс под описание */
.lm-about-feature__text,
.lm-about-feature__desc{
  display: block;
  width: 100%;
  max-width: none !important;

  white-space: normal !important;
}

/* иногда заголовок тоже душит ширину */
.lm-about-feature h3{
  max-width: none !important;
}



/* =========================================================
   ЛИДАМЕД — ОТЗЫВЫ (ФИНАЛ ЖЁСТКАЯ СЕТКА)
   ========================================================= */

/* контейнер */
.lm-reviews-page__container{
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

/* убираем лишний воздух сверху */
.lm-reviews-page{
  padding-top: 20px;
}

/* =========================================================
   СЕТКА (3 КОЛОНКИ)
   ========================================================= */

.lm-reviews-page__grid{
  display: grid;
  grid-template-columns:
    640px   /* iframe (сужен) */
    320px   /* мотивация */
    320px;  /* правая */

  gap: 24px;
  align-items: stretch;
}

/* =========================================================
   iframe (ЖЁСТКИЙ, НЕ ТЯНЕТСЯ)
   ========================================================= */

.lm-reviews-page__widget-box{
  width: 640px;
  height: 820px;
  overflow: hidden;
}

.lm-reviews-page__widget{
  width: 640px !important;
  height: 820px;
  border: 0;
}

/* =========================================================
   МОТИВАЦИОННЫЙ БЛОК
   ========================================================= */

.lm-reviews-why{
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 820px;

  background: #fff;
  border: 1px solid rgba(202,181,145,.28);
  border-radius: 22px;
  padding: 22px;

  box-shadow: 0 12px 30px rgba(48,42,36,.05);
}

.lm-reviews-why__item{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lm-reviews-why__item + .lm-reviews-why__item{
  border-top: 1px solid rgba(202,181,145,.25);
  padding-top: 14px;
  margin-top: 14px;
}

.lm-reviews-why__item h3{
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.lm-reviews-why__item li{
  font-size: 15px;
  line-height: 1.55;
}

/* =========================================================
   ПРАВАЯ КОЛОНКА — ВСЕГДА ВНУТРИ ЭКРАНА
   ========================================================= */

.lm-reviews-page__card--info{
  width: 320px;
  min-width: 320px;
}

/* =========================================================
   🔥 КЛЮЧ: ЛОГИКА СКРЫТИЯ (раньше, чем ломается)
   ========================================================= */

/* если не влазит мотивация — убираем её */
@media (max-width: 1320px){

  .lm-reviews-page__grid{
    grid-template-columns:
      1fr
      320px;
  }

  .lm-reviews-why{
    display: none;
  }

  .lm-reviews-page__widget-box{
    width: 100%;
  }

  .lm-reviews-page__widget{
    width: 100% !important;
  }
}

/* если не влазит даже правая колонка */
@media (max-width: 980px){

  .lm-reviews-page__grid{
    grid-template-columns: 1fr;
  }

  .lm-reviews-page__card--info{
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   УБИРАЕМ ЛЮБОЙ ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ
   ========================================================= */

html,
body{
  overflow-x: hidden;
}


/* =========================================================
   ЛИДАМЕД — ОТЗЫВЫ: УБРАТЬ ОТСТУП СВЕРХУ
   ========================================================= */

.page-template-page-reviews .container{
    padding-top: 0 !important;
}

.page-template-page-reviews .lm-single-main{
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-template-page-reviews .lm-reviews-page__top{
    margin-top: 0 !important;
    margin-bottom: 16px;
}

/* =========================================================
   ЛИДАМЕД — ОТЗЫВЫ: ЦЕНТР БЕЙДЖА
   ========================================================= */

.lm-reviews-page__badge-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
}

.lm-reviews-page__badge{
    display: block;
    margin: 0 auto;
}

/* =========================================================
   ЛИДАМЕД — ОТЗЫВЫ: ФИНАЛЬНОЕ СКЛАДЫВАНИЕ СПРАВА НАЛЕВО
   ========================================================= */

/* фиксируем левую точку сетки — iframe больше не уезжает под меню */
.page-template-page-reviews .lm-reviews-page__grid{
  justify-content: start !important;
  align-items: stretch !important;
  margin-top: -12px !important;
}

/* iframe держим статично */
.page-template-page-reviews .lm-reviews-page__card--widget{
  flex-shrink: 0 !important;
}

/* средняя и правая колонки тоже фиксированной ширины */
.page-template-page-reviews .lm-reviews-why,
.page-template-page-reviews .lm-reviews-page__card--info{
  flex-shrink: 0 !important;
}

/* бейдж по центру */
.page-template-page-reviews .lm-reviews-page__badge-wrap{
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
}

.page-template-page-reviews .lm-reviews-page__badge{
  display: block !important;
  width: 180px !important;
  height: 64px !important;
  margin: 0 auto !important;
  transform: translateX(12px);
}

/* когда места не хватает — убираем только мотивационный блок */
@media (max-width: 1480px){
  .page-template-page-reviews .lm-reviews-page__grid{
    grid-template-columns: 640px 320px !important;
  }

  .page-template-page-reviews .lm-reviews-why{
    display: none !important;
  }
}

/* когда совсем узко — правая колонка уходит вниз */
@media (max-width: 1240px){
  .page-template-page-reviews .lm-reviews-page__grid{
    grid-template-columns: 640px !important;
  }

  .page-template-page-reviews .lm-reviews-page__card--info{
    width: 640px !important;
    min-width: 0 !important;
    max-width: 640px !important;
  }
}

/* мобилка */
@media (max-width: 767px){
  .page-template-page-reviews .lm-reviews-page__grid{
    grid-template-columns: 1fr !important;
  }

  .page-template-page-reviews .lm-reviews-page__card--widget,
.page-template-page-reviews .lm-reviews-page__widget-box,
.page-template-page-reviews .lm-reviews-page__card--info{
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   LIDAMED — HOME WHY / Почему выбирают ЛИДАМЕД — FINAL CLEAN
   ========================================================= */

.home .lm-why{
    width: 100% !important;
    max-width: 100% !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
}

.home .lm-why > .container{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

.home .lm-why__title{
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: clamp(34px, 3.2vw, 62px) !important;
    line-height: 0.95 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: clamp(0.12em, 0.55vw, 0.32em) !important;
    color: rgba(48, 51, 47, 0.09) !important;
    white-space: nowrap !important;
    transition: none !important;
}

.home .lm-why__grid{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    box-sizing: border-box !important;
}

.home .lm-why__card{
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 150px !important;
    padding: 22px 24px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(190, 165, 120, 0.35) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 10px 28px rgba(80, 60, 35, 0.06) !important;
}

.home .lm-why__card h3{
    margin: 0 0 10px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: #30332f !important;
    white-space: normal !important;
}

.home .lm-why__card ul{
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.home .lm-why__card li{
    margin: 0 0 6px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: rgba(48, 51, 47, 0.82) !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

.home .lm-why__card li::before{
    content: "• " !important;
    color: #a88952 !important;
}

@media (max-width: 1180px){
    .home .lm-why__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .home .lm-why__title{
        white-space: normal !important;
    }
}

@media (max-width: 640px){
    .home .lm-why > .container{
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .home .lm-why__grid{
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .home .lm-why__card{
        min-height: auto !important;
        padding: 20px !important;
    }
}


/* =========================================================
   LIDAMED — HOME WHY: финальная типографика XL
   ========================================================= */

.home .lm-why__title{
    width: 100%;
    max-width: none;
    margin: 0 0 22px;
    padding: 0;

    font-size: clamp(38px, 5.2vw, 104px);
    line-height: 0.9;
    font-weight: 600;
    letter-spacing: clamp(8px, 1vw, 24px);
    text-align: center;
    white-space: nowrap;
}

.home .lm-why__card{
    min-height: clamp(160px, 13vw, 280px);
    padding: clamp(22px, 2.2vw, 46px) clamp(22px, 2.6vw, 52px);
}

.home .lm-why__card h3{
    font-size: clamp(16px, 1.25vw, 26px);
    line-height: 1.22;
    margin-bottom: clamp(10px, 1vw, 22px);
}

.home .lm-why__card li{
    font-size: clamp(14px, 1.05vw, 22px);
    line-height: 1.55;
    margin-bottom: clamp(6px, 0.65vw, 14px);
}

@media (max-width: 1180px){
    .home .lm-why__title{
        font-size: clamp(30px, 5vw, 48px);
        letter-spacing: clamp(4px, 0.7vw, 8px);
        white-space: normal;
    }

    .home .lm-why__card{
        min-height: auto;
    }
}

/* =========================================================
   LIDAMED — HOME WHY: заголовок без вылета вправо
   ========================================================= */

body.home .lm-why .lm-why__title{
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    margin: 0 0 22px !important;

    padding-left: 35px !important;
    padding-right: 35px !important;
    box-sizing: border-box !important;

    font-size: clamp(34px, 4.5vw, 90px) !important;
    line-height: 0.95 !important;
    font-weight: 600 !important;

    letter-spacing: clamp(5px, 0.52vw, 13px) !important;
    text-align: center !important;
    text-indent: -18px !important;
    white-space: nowrap !important;

    transform: none !important;
}

/* Отступ перед юридической строкой */
.lm-legal-line{
    margin-top: 20px;
}

/* =========================================================
   LIDAMED — HOME WHY: мобильная адаптация заголовка
   ========================================================= */

@media (max-width: 640px){
    body.home .lm-why .lm-why__title{

        display: block !important;
        width: 100% !important;

        font-size: clamp(18px, 5vw, 28px) !important;
        letter-spacing: 0 !important;

        white-space: nowrap !important;
        line-height: 1.1 !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        text-align: center !important;
        text-align-last: center;

        text-indent: 0 !important;
        transform: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        
        color: rgba(48, 51, 47, 0.20) !important;
    }
}

body.home .lm-why__card ul{
    max-width: 85%;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* =========================================================
   LIDAMED — FIX: отступ первого блока от хедера (мобилка)
   ========================================================= */

@media (max-width: 768px){
    body.home .lm-home-services{
        margin-top: 20px !important;
    }
}

/* =========================================================
   LIDAMED — HOME HERO: ширина как у верхних блоков
   ========================================================= */

body.home .lm-home-hero{
    width: calc(100% - 48px) !important;
    max-width: none !important;
    margin: 22px auto 28px !important;
    box-sizing: border-box !important;
}

body.home .lm-home-hero > .container{
    width: 100% !important;
    max-width: none !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
}

body.home .lm-home-hero__wrap{
    width: 100% !important;
    max-width: none !important;
}

/* =========================================================
   ЛИДАМЕД — PAINT SYSTEM 2026 / LUXURY MEDICAL
   Единый финальный слой покраски. Без изменения сеток и размеров.
   Этап 1: услуги как эталон.
   ========================================================= */

/* ---------------------------------------------------------
   01. Design tokens — soft luxury medical
   --------------------------------------------------------- */
:root{
  --lm-lux-page: #fbfaf7;
  --lm-lux-page-warm: #f8f3ef;
  --lm-lux-surface: #ffffff;
  --lm-lux-surface-milk: #fffdf9;
  --lm-lux-surface-powder: #fbf6f2;
  --lm-lux-surface-pearl: #f7f0eb;

  --lm-lux-text: #252826;
  --lm-lux-text-soft: #3d403a;
  --lm-lux-muted: #68635c;
  --lm-lux-muted-light: #8a8178;

  --lm-lux-accent: #d8c3a3;
  --lm-lux-accent-soft: #ead8cc;
  --lm-lux-accent-powder: #f3e8df;

  --lm-lux-line: rgba(205, 184, 154, 0.32);
  --lm-lux-line-soft: rgba(205, 184, 154, 0.20);
  --lm-lux-line-strong: rgba(181, 151, 106, 0.50);

  --lm-lux-shadow-soft: 0 14px 34px rgba(43, 47, 42, 0.055);
  --lm-lux-shadow-card: 0 18px 46px rgba(43, 47, 42, 0.075);
  --lm-lux-shadow-hover: 0 24px 58px rgba(43, 47, 42, 0.105);
  --lm-lux-inset: inset 0 1px 0 rgba(255, 255, 255, 0.92);

  /* Подменяем старые переменные, чтобы новые блоки постепенно цеплялись к одной системе */
  --lm-bg-main: var(--lm-lux-page);
  --lm-bg-soft: var(--lm-lux-surface-powder);
  --lm-bg-warm: var(--lm-lux-surface-pearl);
  --lm-text-main: var(--lm-lux-text);
  --lm-text-secondary: var(--lm-lux-muted);
  --lm-accent-main: var(--lm-lux-accent);
  --lm-accent-soft: var(--lm-lux-accent-powder);
  --lm-border-light: var(--lm-lux-line-soft);
  --lm-border-main: var(--lm-lux-line);
  --lm-shadow-soft: var(--lm-lux-shadow-soft);
  --lm-shadow-card: var(--lm-lux-shadow-card);
  --lm-shadow-hover: var(--lm-lux-shadow-hover);
}

/* ---------------------------------------------------------
   02. Services pages — базовая сцена без грязного серого
   --------------------------------------------------------- */
body.post-type-archive-uslugi,
body.tax-service_category,
body.single-uslugi{
  background: var(--lm-lux-page) !important;
  color: var(--lm-lux-text) !important;
}

body.post-type-archive-uslugi main.site-main,
body.tax-service_category main.site-main,
body.single-uslugi main.site-main{
  background:
    radial-gradient(circle at 50% 0%, rgba(243, 232, 223, 0.42), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--lm-lux-page) 42%, #ffffff 100%) !important;
}

body.post-type-archive-uslugi .site-content,
body.tax-service_category .site-content,
body.single-uslugi .site-content,
body.post-type-archive-uslugi .content-area,
body.tax-service_category .content-area,
body.single-uslugi .content-area,
body.post-type-archive-uslugi .lm-single-main,
body.tax-service_category .lm-single-main,
body.single-uslugi .lm-single-main{
  background: transparent !important;
}

/* ---------------------------------------------------------
   03. Services archive + category cards
   --------------------------------------------------------- */
body.post-type-archive-uslugi .lm-services-archive,
body.tax-service_category .lm-taxonomy-services{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.post-type-archive-uslugi .lm-services-category-card__inner,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card{
  background:
    linear-gradient(180deg, var(--lm-lux-surface) 0%, var(--lm-lux-surface-milk) 100%) !important;
  border: 1px solid var(--lm-lux-line) !important;
  box-shadow: var(--lm-lux-shadow-card), var(--lm-lux-inset) !important;
  color: var(--lm-lux-text) !important;
}

body.post-type-archive-uslugi .lm-services-category-card:hover .lm-services-category-card__inner,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card:hover{
  border-color: var(--lm-lux-line-strong) !important;
  box-shadow: var(--lm-lux-shadow-hover), var(--lm-lux-inset) !important;
}

body.post-type-archive-uslugi .lm-services-category-card__title,
body.tax-service_category .lm-taxonomy-services .lm-linked-card__title{
  color: var(--lm-lux-text) !important;
}

body.post-type-archive-uslugi .lm-services-category-card__text,
body.tax-service_category .lm-taxonomy-services .lm-linked-card__text{
  color: var(--lm-lux-muted) !important;
}

body.post-type-archive-uslugi .lm-services-category-card__image,
body.post-type-archive-uslugi .lm-services-category-card__image--empty,
body.tax-service_category .lm-taxonomy-services .lm-linked-card__image-wrap,
body.tax-service_category .lm-taxonomy-services .lm-linked-card__image,
body.tax-service_category .lm-taxonomy-services .lm-linked-card__image--empty{
  background:
    linear-gradient(180deg, var(--lm-lux-surface-milk) 0%, var(--lm-lux-surface-powder) 100%) !important;
  border: 1px solid var(--lm-lux-line-soft) !important;
}

/* Правая ценовая плашка в списке услуг */
body.tax-service_category .lm-taxonomy-services .lm-service-list-card__side,
body.tax-service_category .lm-taxonomy-services .lm-brand-prep-card__side{
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-lux-surface-milk) 100%) !important;
  border: 1px solid var(--lm-lux-line) !important;
  box-shadow: var(--lm-lux-shadow-soft), var(--lm-lux-inset) !important;
  color: var(--lm-lux-text) !important;
}

body.tax-service_category .lm-taxonomy-services .lm-service-list-card__price,
body.tax-service_category .lm-taxonomy-services .lm-service-list-card__price span,
body.tax-service_category .lm-taxonomy-services .lm-service-list-card__price strong{
  color: var(--lm-lux-text) !important;
}

body.tax-service_category .lm-taxonomy-services .lm-service-list-card__status{
  color: var(--lm-lux-muted) !important;
}

body.tax-service_category .lm-taxonomy-services .lm-service-list-card__divider{
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(205, 184, 154, 0.72) 18%,
      rgba(205, 184, 154, 0.72) 82%,
      transparent 100%
    ) !important;
}

/* ---------------------------------------------------------
   04. Single service — hero, price, main content
   --------------------------------------------------------- */
body.single-uslugi .lm-service-page-title,
body.single-uslugi .lm-single-entry__title,
body.single-uslugi .lm-page-title{
  color: var(--lm-lux-text) !important;
}

body.single-uslugi .lm-prep-hero,
body.single-uslugi .lm-uslugi-prep-hero,
body.single-uslugi .lm-service-hero{
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-lux-surface-milk) 100%) !important;
  border: 1px solid var(--lm-lux-line) !important;
  border-bottom: 0 !important;
  box-shadow: var(--lm-lux-shadow-card), var(--lm-lux-inset) !important;
}

body.single-uslugi .lm-prep-hero__top,
body.single-uslugi .lm-uslugi-prep-hero__top,
body.single-uslugi .lm-service-hero__top{
  background: transparent !important;
}

body.single-uslugi .lm-prep-price-panel,
body.single-uslugi .lm-uslugi-price-panel,
body.single-uslugi .lm-service-price-panel{
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-lux-surface-milk) 100%) !important;
  border: 1px solid var(--lm-lux-line) !important;
  box-shadow: var(--lm-lux-shadow-soft), var(--lm-lux-inset) !important;
}

body.single-uslugi .lm-prep-price-panel__label,
body.single-uslugi .lm-uslugi-price-panel__label,
body.single-uslugi .lm-service-price-panel__label,
body.single-uslugi .lm-prep-price-panel__status,
body.single-uslugi .lm-uslugi-price-panel__status,
body.single-uslugi .lm-service-price-panel__status{
  color: var(--lm-lux-muted) !important;
}

body.single-uslugi .lm-prep-price-panel__value,
body.single-uslugi .lm-uslugi-price-panel__value,
body.single-uslugi .lm-service-price-panel__value,
body.single-uslugi .lm-prep-price-panel strong,
body.single-uslugi .lm-uslugi-price-panel strong,
body.single-uslugi .lm-service-price-panel strong{
  color: var(--lm-lux-text) !important;
}

body.single-uslugi .lm-prep-price-panel__divider,
body.single-uslugi .lm-service-price-panel__divider{
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(205, 184, 154, 0.66) 18%,
      rgba(205, 184, 154, 0.66) 82%,
      transparent 100%
    ) !important;
}

body.single-uslugi .lm-prep-price-panel__status::before,
body.single-uslugi .lm-prep-price-panel__status::after,
body.single-uslugi .lm-uslugi-price-panel__status::before,
body.single-uslugi .lm-uslugi-price-panel__status::after,
body.single-uslugi .lm-service-price-panel__status::before,
body.single-uslugi .lm-service-price-panel__status::after{
  background: rgba(205, 184, 154, 0.72) !important;
}

/* Основной молочный холст под описанием */
body.single-uslugi .lm-service-info-card{
  background:
    linear-gradient(180deg, #fffefd 0%, var(--lm-lux-surface-powder) 100%) !important;
  border: 1px solid var(--lm-lux-line) !important;
  border-top: 0 !important;
  box-shadow: var(--lm-lux-shadow-card), var(--lm-lux-inset) !important;
  color: var(--lm-lux-text-soft) !important;
}

body.single-uslugi .lm-service-description,
body.single-uslugi .lm-service-description--first,
body.single-uslugi .lm-service-content-sections,
body.single-uslugi .lm-single-entry,
body.single-uslugi .lm-single-entry__summary,
body.single-uslugi .lm-single-entry__content{
  background: transparent !important;
  color: var(--lm-lux-text-soft) !important;
  box-shadow: none !important;
}

body.single-uslugi .lm-service-description p,
body.single-uslugi .lm-service-content-sections p,
body.single-uslugi .lm-single-entry__summary p,
body.single-uslugi .lm-single-entry__content p,
body.single-uslugi .lm-service-description li,
body.single-uslugi .lm-service-content-sections li{
  color: var(--lm-lux-muted) !important;
}

body.single-uslugi .lm-service-content-sections,
body.single-uslugi .lm-service-specs,
body.single-uslugi .lm-service-info-card hr,
body.single-uslugi .lm-divider{
  border-color: var(--lm-lux-line-soft) !important;
}

body.single-uslugi .lm-service-content-sections h2,
body.single-uslugi .lm-service-content-sections h3,
body.single-uslugi .lm-service-section-title,
body.single-uslugi .lm-single-promotion__linked-title,
body.single-uslugi .lm-faq-block__title{
  color: var(--lm-lux-text) !important;
}

/* ---------------------------------------------------------
   05. Single service — FAQ and related blocks
   --------------------------------------------------------- */
body.single-uslugi .lm-faq-block,
body.single-uslugi .lm-faq-block--inside{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-uslugi .lm-faq-item,
body.single-uslugi .lm-faq-question,
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card,
body.single-uslugi .lm-linked-card,
body.single-uslugi .lm-related-mini-card,
body.single-uslugi .lm-specialist-card,
body.single-uslugi .lm-specialists .lm-specialist-card,
body.single-uslugi .lm-cabinet-card{
  background:
    linear-gradient(180deg, var(--lm-lux-surface) 0%, var(--lm-lux-surface-milk) 100%) !important;
  border: 1px solid var(--lm-lux-line-soft) !important;
  box-shadow: var(--lm-lux-shadow-soft), var(--lm-lux-inset) !important;
  color: var(--lm-lux-text) !important;
}

body.single-uslugi .lm-faq-item:hover,
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card:hover,
body.single-uslugi .lm-linked-card:hover,
body.single-uslugi .lm-related-mini-card:hover,
body.single-uslugi .lm-specialist-card:hover,
body.single-uslugi .lm-cabinet-card:hover{
  border-color: var(--lm-lux-line) !important;
  box-shadow: var(--lm-lux-shadow-card), var(--lm-lux-inset) !important;
}

body.single-uslugi .lm-faq-question__text,
body.single-uslugi .lm-linked-card__title,
body.single-uslugi .lm-related-mini-card__title,
body.single-uslugi .lm-specialist-card__title,
body.single-uslugi .lm-cabinet-card__title{
  color: var(--lm-lux-text) !important;
}

body.single-uslugi .lm-faq-answer,
body.single-uslugi .lm-linked-card__text,
body.single-uslugi .lm-related-mini-card__text,
body.single-uslugi .lm-specialist-card__text,
body.single-uslugi .lm-cabinet-card__text{
  color: var(--lm-lux-muted) !important;
}

body.single-uslugi .lm-linked-card__image-wrap,
body.single-uslugi .lm-linked-card__image--empty,
body.single-uslugi .lm-related-mini-card__image-wrap,
body.single-uslugi .lm-related-mini-card__image,
body.single-uslugi .lm-related-mini-card__image--empty,
body.single-uslugi .lm-cabinet-card__image-wrap{
  background:
    linear-gradient(180deg, var(--lm-lux-surface-milk) 0%, var(--lm-lux-surface-pearl) 100%) !important;
  border-color: var(--lm-lux-line-soft) !important;
}

/* ---------------------------------------------------------
   06. Sidebar — визуал без старой пудры и без каши active/current
   --------------------------------------------------------- */
.lm-single-sidebar .lm-sidebar-box{
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-lux-surface-milk) 100%) !important;
  border: 1px solid var(--lm-lux-line) !important;
  box-shadow: var(--lm-lux-shadow-card), var(--lm-lux-inset) !important;
}

.lm-single-sidebar .lm-sidebar-title,
.lm-single-sidebar .lm-sidebar-group__title{
  color: var(--lm-lux-text) !important;
}

.lm-single-sidebar .lm-sidebar-link,
.lm-single-sidebar .lm-sidebar-group__items a{
  color: var(--lm-lux-muted) !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Открытая ветка — видна, но не выглядит как конечная активная страница */
.lm-single-sidebar .lm-sidebar-group.is-open > .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group.is-active > .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group.active > .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group.current > .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group__title.is-current,
.lm-single-sidebar .lm-sidebar-group__title.is-active,
.lm-single-sidebar .lm-sidebar-group__title.active,
.lm-single-sidebar .lm-sidebar-group__title.current{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(251,246,242,0.72) 100%) !important;
  color: var(--lm-lux-text-soft) !important;
  box-shadow: none !important;
}

/* Категории внутри меню — НЕ финальная активная подсветка */
.lm-single-sidebar .lm-sidebar-link--category,
.lm-single-sidebar .lm-sidebar-link--category.is-current,
.lm-single-sidebar .lm-sidebar-link--category.is-active,
.lm-single-sidebar .lm-sidebar-link--category.active,
.lm-single-sidebar .lm-sidebar-link--category.current,
.lm-single-sidebar .lm-sidebar-link--category[aria-current="page"]{
  color: var(--lm-lux-text-soft) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(251,246,242,0.55) 100%) !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.lm-single-sidebar .lm-sidebar-link:hover,
.lm-single-sidebar .lm-sidebar-group__items a:hover{
  color: var(--lm-lux-text) !important;
  background: rgba(243, 232, 223, 0.54) !important;
}

/* Только конечный пункт — настоящая активная подсветка */
.lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category).is-current,
.lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category).is-active,
.lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category).active,
.lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category).current,
.lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category)[aria-current="page"]{
  color: var(--lm-lux-text) !important;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-lux-accent-powder) 100%) !important;
  border-color: var(--lm-lux-line) !important;
  box-shadow:
    0 8px 22px rgba(43, 47, 42, 0.075),
    var(--lm-lux-inset) !important;
  font-weight: 700 !important;
}

.lm-single-sidebar .lm-sidebar-group__items::before{
  background:
    linear-gradient(
      180deg,
      rgba(205, 184, 154, 0.04) 0%,
      rgba(205, 184, 154, 0.28) 50%,
      rgba(205, 184, 154, 0.04) 100%
    ) !important;
}

/* ---------------------------------------------------------
   07. Sidebar sticky restore — функционал отдельно от покраски
   --------------------------------------------------------- */
@media (min-width: 992px){
  /* Fallback для всех страниц с левым меню: если :has() не сработает, sticky всё равно останется */
  .lm-single-layout{
    overflow: visible !important;
    align-items: flex-start !important;
  }

  .lm-single-sidebar{
    position: sticky !important;
    top: 122px !important;
    align-self: flex-start !important;
    z-index: 20 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
  }

  .lm-sidebar-box{
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }

  body:has(.lm-single-sidebar) .site,
body:has(.lm-single-sidebar) .site-content,
body:has(.lm-single-sidebar) .site-main,
body:has(.lm-single-sidebar) main,
body:has(.lm-single-sidebar) main.site-main,
body:has(.lm-single-sidebar) .container,
body:has(.lm-single-sidebar) .lm-container,
body:has(.lm-single-sidebar) .lm-single-layout{
    overflow: visible !important;
  }

  body:has(.lm-single-sidebar) .lm-single-layout{
    align-items: flex-start !important;
  }

  body:has(.lm-single-sidebar) .lm-single-sidebar{
    position: sticky !important;
    top: 122px !important;
    align-self: flex-start !important;
    z-index: 20 !important;

    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
  }

  body:has(.lm-single-sidebar) .lm-sidebar-box{
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }
}

/* =========================================================
   ЛИДАМЕД — LUXURY MEDICAL STEP 3
   Дожим single-услуг: светлый холст, поля related-блоков, sidebar restore
   ========================================================= */

/* ---------------------------------------------------------
   01. Более чистые токены: меньше бежевого, больше milk/ivory
   --------------------------------------------------------- */
body{
  --lm-lux-page: #fcfbf8;
  --lm-lux-page-warm: #fbf8f4;
  --lm-lux-surface: #ffffff;
  --lm-lux-surface-milk: #fffefb;
  --lm-lux-surface-pearl: #fbf7f1;
  --lm-lux-surface-powder: #fffdf8;
  --lm-lux-accent-powder: #f7eee7;
  --lm-lux-line-soft: rgba(216, 195, 163, 0.22);
  --lm-lux-line: rgba(216, 195, 163, 0.34);
  --lm-lux-line-strong: rgba(197, 169, 120, 0.50);
  --lm-lux-shadow-soft: 0 10px 28px rgba(43, 47, 42, 0.040);
  --lm-lux-shadow-card: 0 18px 46px rgba(43, 47, 42, 0.060);
  --lm-lux-shadow-hover: 0 24px 60px rgba(43, 47, 42, 0.090);
}

/* ---------------------------------------------------------
   02. Общий фон single-услуг: теплее главной, но без грязного бежа
   --------------------------------------------------------- */
body.single-uslugi,
body.tax-service_category,
body.post-type-archive-uslugi{
  background: #ffffff !important;
}

body.single-uslugi main.site-main,
body.tax-service_category main.site-main,
body.post-type-archive-uslugi main.site-main{
  background:
    radial-gradient(circle at 50% 0%, rgba(243, 232, 223, 0.22), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fcfbf8 44%, #ffffff 100%) !important;
}

/* ---------------------------------------------------------
   03. Single-uslugi: главный правый холст светлый, без обрезки sticky
   --------------------------------------------------------- */
body.single-uslugi .lm-single-main{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 54%, #ffffff 100%) !important;
  border: 1px solid var(--lm-lux-line-soft) !important;
  border-radius: 28px !important;
  box-shadow:
    0 22px 58px rgba(43, 47, 42, 0.050),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  overflow: visible !important;
}

/* Верхний hero внутри холста */
body.single-uslugi .lm-prep-hero,
body.single-uslugi .lm-uslugi-prep-hero,
body.single-uslugi .lm-service-hero{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--lm-lux-line-soft) !important;
  border-radius: 28px 28px 0 0 !important;
  box-shadow: none !important;
}

body.single-uslugi .lm-prep-price-panel,
body.single-uslugi .lm-uslugi-price-panel,
body.single-uslugi .lm-service-price-panel{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf9 100%) !important;
  border: 1px solid var(--lm-lux-line) !important;
  box-shadow:
    0 14px 34px rgba(43, 47, 42, 0.050),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

/* Основной текстовый блок — молочный, но не жёлтый */
body.single-uslugi .lm-service-info-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,253,249,0.74) 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #4d473f !important;
}

body.single-uslugi .lm-service-description,
body.single-uslugi .lm-service-description--first,
body.single-uslugi .lm-service-content-sections,
body.single-uslugi .lm-single-entry,
body.single-uslugi .lm-single-entry__summary,
body.single-uslugi .lm-single-entry__content{
  background: transparent !important;
  color: #4f493f !important;
  box-shadow: none !important;
}

body.single-uslugi .lm-service-description p,
body.single-uslugi .lm-service-content-sections p,
body.single-uslugi .lm-single-entry__content p,
body.single-uslugi .lm-service-description li,
body.single-uslugi .lm-service-content-sections li{
  color: #565047 !important;
}

body.single-uslugi .lm-service-content-sections h2,
body.single-uslugi .lm-service-content-sections h3,
body.single-uslugi .lm-service-section-title,
body.single-uslugi .lm-service-info-card h2,
body.single-uslugi .lm-service-info-card h3{
  color: #232722 !important;
}

body.single-uslugi .lm-service-content-sections,
body.single-uslugi .lm-service-specs,
body.single-uslugi .lm-service-info-card hr,
body.single-uslugi .lm-divider{
  border-color: var(--lm-lux-line-soft) !important;
}

/* ---------------------------------------------------------
   04. Related-блоки: больше не висят зеброй и не липнут к краям
   --------------------------------------------------------- */
body.single-uslugi .lm-single-promotion__linked-block,
body.single-uslugi .lm-service-related,
body.single-uslugi .lm-service-recommended,
body.single-uslugi .lm-related-section{
  margin: 0 !important;
  padding: 4px 34px 30px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.single-uslugi .lm-single-promotion__linked-title,
body.single-uslugi .lm-related-title,
body.single-uslugi .lm-service-related__title,
body.single-uslugi .lm-service-recommended__title,
body.single-uslugi .lm-faq-block__title{
  margin: 24px 0 16px !important;
  color: #232722 !important;
}

body.single-uslugi .lm-single-promotion__linked-list,
body.single-uslugi .lm-related-mini-grid,
body.single-uslugi .lm-service-related__grid,
body.single-uslugi .lm-service-recommended__grid{
  width: 100% !important;
  box-sizing: border-box !important;
}

body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card,
body.single-uslugi .lm-linked-card,
body.single-uslugi .lm-related-mini-card{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  border: 1px solid var(--lm-lux-line) !important;
  box-shadow:
    0 14px 36px rgba(43, 47, 42, 0.050),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  color: #232722 !important;
}

body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card:hover,
body.single-uslugi .lm-linked-card:hover,
body.single-uslugi .lm-related-mini-card:hover{
  border-color: var(--lm-lux-line-strong) !important;
  box-shadow:
    0 18px 48px rgba(43, 47, 42, 0.080),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-linked-card__image-wrap,
body.single-uslugi .lm-linked-card__image--empty,
body.single-uslugi .lm-related-mini-card__image-wrap,
body.single-uslugi .lm-related-mini-card__image,
body.single-uslugi .lm-related-mini-card__image--empty{
  background:
    linear-gradient(180deg, #fffefb 0%, #faf5ef 100%) !important;
  border-color: var(--lm-lux-line-soft) !important;
}

/* ---------------------------------------------------------
   05. FAQ: отдельная аккуратная вставка с полями, без тяжёлой зебры
   --------------------------------------------------------- */
body.single-uslugi .lm-faq-block,
body.single-uslugi .lm-faq-block--inside{
  margin: 28px 34px 34px !important;
  padding: 24px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,253,249,0.58) 100%) !important;
  border: 1px solid var(--lm-lux-line-soft) !important;
  border-radius: 24px !important;
  box-shadow:
    0 14px 36px rgba(43, 47, 42, 0.040),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  box-sizing: border-box !important;
}

body.single-uslugi .lm-faq-item,
body.single-uslugi .lm-faq-question{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  border: 1px solid var(--lm-lux-line-soft) !important;
  box-shadow:
    0 10px 24px rgba(43, 47, 42, 0.040),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  color: #232722 !important;
}

/* ---------------------------------------------------------
   06. Специалисты и кабинеты: выделяем чуть сильнее, чем общий холст
   --------------------------------------------------------- */
body.single-uslugi .lm-specialist-card,
body.single-uslugi .lm-specialists .lm-specialist-card,
body.single-uslugi .lm-cabinet-card{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  border: 1px solid var(--lm-lux-line) !important;
  box-shadow:
    0 14px 36px rgba(43, 47, 42, 0.050),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-cabinet-card__body,
body.single-uslugi .lm-cabinet-card__title{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  color: #232722 !important;
}

/* ---------------------------------------------------------
   07. Sidebar: возвращаем старую рабочую sticky-логику и чистим визуал
   --------------------------------------------------------- */
.lm-single-sidebar .lm-sidebar-box{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  border: 1px solid var(--lm-lux-line-soft) !important;
  box-shadow:
    0 16px 42px rgba(43, 47, 42, 0.050),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

.lm-single-sidebar .lm-sidebar-title,
.lm-single-sidebar .lm-sidebar-group__title{
  color: #31342f !important;
}

.lm-single-sidebar .lm-sidebar-link,
.lm-single-sidebar .lm-sidebar-group__items a{
  color: #625b52 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.lm-single-sidebar .lm-sidebar-group.is-open > .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group.is-active > .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group.active > .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group.current > .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group__title.is-current,
.lm-single-sidebar .lm-sidebar-group__title.is-active,
.lm-single-sidebar .lm-sidebar-group__title.active,
.lm-single-sidebar .lm-sidebar-group__title.current,
.lm-single-sidebar .lm-sidebar-link--category,
.lm-single-sidebar .lm-sidebar-link--category.is-current,
.lm-single-sidebar .lm-sidebar-link--category.is-active,
.lm-single-sidebar .lm-sidebar-link--category.active,
.lm-single-sidebar .lm-sidebar-link--category.current,
.lm-single-sidebar .lm-sidebar-link--category[aria-current="page"]{
  color: #4d463e !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(247,238,231,0.42) 100%) !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.lm-single-sidebar .lm-sidebar-link:hover,
.lm-single-sidebar .lm-sidebar-group__items a:hover{
  color: #29231f !important;
  background: rgba(247, 238, 231, 0.58) !important;
}

.lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category).is-current,
.lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category).is-active,
.lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category).active,
.lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category).current,
.lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category)[aria-current="page"]{
  color: #26231f !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7eee7 100%) !important;
  border-color: var(--lm-lux-line) !important;
  box-shadow:
    0 8px 20px rgba(43, 47, 42, 0.060),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  font-weight: 700 !important;
}

@media (min-width: 992px){
  .lm-single-layout{
    display: flex !important;
    align-items: flex-start !important;
    gap: 32px !important;
    overflow: visible !important;
  }

  .lm-single-main{
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: visible !important;
  }

  .lm-single-sidebar{
    flex: 0 0 320px !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 140px !important;
    z-index: 20 !important;
    align-self: flex-start !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }

  .lm-single-sidebar .lm-sidebar-box{
    position: relative !important;
    top: auto !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }
}



/* =========================================================
   ЛИДАМЕД — LUXURY MEDICAL STEP 4
   Контраст молочного холста, FAQ без матрёшки, sidebar sticky на внутренней коробке
   ========================================================= */

/* ---------------------------------------------------------
   01. Чуть чище общая сцена услуг: молочный фон без серой грязи
   --------------------------------------------------------- */
body.single-uslugi,
body.tax-service_category,
body.post-type-archive-uslugi{
  background: #ffffff !important;
}

body.single-uslugi main.site-main,
body.tax-service_category main.site-main,
body.post-type-archive-uslugi main.site-main{
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 236, 226, 0.18), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 46%, #ffffff 100%) !important;
}

/* ---------------------------------------------------------
   02. Single-uslugi: основной холст делаем молочным, не бежевым
   --------------------------------------------------------- */
body.single-uslugi .lm-single-main{
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfbf8 52%, #ffffff 100%) !important;
  border-color: rgba(216, 195, 163, 0.20) !important;
  box-shadow:
    0 24px 62px rgba(43, 47, 42, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-service-info-card{
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(252, 250, 247, 0.86) 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Текст — чуть темнее и чище, чтобы не растворялся в молочном фоне */
body.single-uslugi .lm-service-description,
body.single-uslugi .lm-service-description--first,
body.single-uslugi .lm-service-content-sections,
body.single-uslugi .lm-single-entry,
body.single-uslugi .lm-single-entry__summary,
body.single-uslugi .lm-single-entry__content{
  color: #46423c !important;
}

body.single-uslugi .lm-service-description p,
body.single-uslugi .lm-service-content-sections p,
body.single-uslugi .lm-single-entry__content p,
body.single-uslugi .lm-service-description li,
body.single-uslugi .lm-service-content-sections li{
  color: #524c45 !important;
}

/* ---------------------------------------------------------
   03. Price panels: цена должна читаться отдельной премиальной плашкой
   --------------------------------------------------------- */
body.single-uslugi .lm-prep-price-panel,
body.single-uslugi .lm-uslugi-price-panel,
body.single-uslugi .lm-service-price-panel,
body.tax-service_category .lm-taxonomy-services .lm-service-list-card__side,
body.tax-service_category .lm-taxonomy-services .lm-brand-prep-card__side{
  background:
    linear-gradient(180deg, #ffffff 0%, #fbf5eb 100%) !important;
  border: 1px solid rgba(197, 169, 120, 0.48) !important;
  box-shadow:
    0 16px 38px rgba(43, 47, 42, 0.070),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-prep-price-panel__value,
body.single-uslugi .lm-uslugi-price-panel__value,
body.single-uslugi .lm-service-price-panel__value,
body.single-uslugi .lm-prep-price-panel strong,
body.single-uslugi .lm-uslugi-price-panel strong,
body.single-uslugi .lm-service-price-panel strong,
body.tax-service_category .lm-taxonomy-services .lm-service-list-card__price strong{
  color: #242823 !important;
}

/* ---------------------------------------------------------
   04. Архив/категория услуг: плашки не должны сливаться с фоном
   --------------------------------------------------------- */
body.post-type-archive-uslugi .lm-services-category-card__inner,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf9 100%) !important;
  border: 1px solid rgba(197, 169, 120, 0.40) !important;
  box-shadow:
    0 16px 42px rgba(43, 47, 42, 0.070),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.post-type-archive-uslugi .lm-services-category-card:hover .lm-services-category-card__inner,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card:hover{
  border-color: rgba(181, 151, 106, 0.58) !important;
  box-shadow:
    0 22px 56px rgba(43, 47, 42, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

/* ---------------------------------------------------------
   05. FAQ: убираем лишнюю внешнюю матрёшку, оставляем только строки-аккордеоны
   --------------------------------------------------------- */
body.single-uslugi .lm-faq-block,
body.single-uslugi .lm-faq-block--inside{
  margin: 30px 34px 36px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-uslugi .lm-faq-accordion{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-uslugi .lm-faq-item{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf9 100%) !important;
  border: 1px solid rgba(216, 195, 163, 0.26) !important;
  box-shadow:
    0 10px 26px rgba(43, 47, 42, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-faq-question{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #232722 !important;
}

/* ---------------------------------------------------------
   06. Related cards: сильнее отделяем карточки от молочного холста
   --------------------------------------------------------- */
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card,
body.single-uslugi .lm-linked-card,
body.single-uslugi .lm-related-mini-card{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf9 100%) !important;
  border: 1px solid rgba(197, 169, 120, 0.38) !important;
  box-shadow:
    0 16px 42px rgba(43, 47, 42, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-linked-card__image-wrap,
body.single-uslugi .lm-linked-card__image--empty,
body.single-uslugi .lm-related-mini-card__image-wrap,
body.single-uslugi .lm-related-mini-card__image,
body.single-uslugi .lm-related-mini-card__image--empty{
  background:
    linear-gradient(180deg, #fcfaf6 0%, #f4eadf 100%) !important;
  border: 1px solid rgba(216, 195, 163, 0.24) !important;
}

/* ---------------------------------------------------------
   07. Specialists / cabinets: сохраняем видимость карточек на молочном фоне
   --------------------------------------------------------- */
body.single-uslugi .lm-specialist-card,
body.single-uslugi .lm-specialists .lm-specialist-card,
body.single-uslugi .lm-cabinet-card{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf9 100%) !important;
  border: 1px solid rgba(216, 195, 163, 0.30) !important;
  box-shadow:
    0 16px 38px rgba(43, 47, 42, 0.060),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

/* ---------------------------------------------------------
   08. Sidebar sticky: пробуем старую логику через sticky на внутренней коробке
   Если sticky на aside игнорируется, держаться будет сама .lm-sidebar-box
   --------------------------------------------------------- */
@media (min-width: 992px){
  body:has(.lm-single-sidebar) .site,
body:has(.lm-single-sidebar) .site-content,
body:has(.lm-single-sidebar) .site-main,
body:has(.lm-single-sidebar) main,
body:has(.lm-single-sidebar) main.site-main,
body:has(.lm-single-sidebar) .container,
body:has(.lm-single-sidebar) .lm-container,
body:has(.lm-single-sidebar) .lm-single-layout,
body.single-uslugi .site,
body.single-uslugi .site-content,
body.single-uslugi .site-main,
body.single-uslugi main,
body.single-uslugi main.site-main,
body.single-uslugi .container,
body.single-uslugi .lm-container,
body.single-uslugi .lm-single-layout,
body.tax-service_category .site,
body.tax-service_category .site-content,
body.tax-service_category .site-main,
body.tax-service_category main,
body.tax-service_category main.site-main,
body.tax-service_category .container,
body.tax-service_category .lm-container,
body.tax-service_category .lm-single-layout{
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    transform: none !important;
    contain: none !important;
  }

  .lm-single-layout{
    display: flex !important;
    align-items: flex-start !important;
    gap: 32px !important;
  }

  .lm-single-sidebar{
    flex: 0 0 320px !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    position: relative !important;
    top: auto !important;
    align-self: stretch !important;
    z-index: 20 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }

  .lm-single-sidebar .lm-sidebar-box{
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 140px !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }
}


/* =========================================================
   ЛИДАМЕД — LUXURY MEDICAL STEP 5
   Жемчужно-перламутровый дожим single-uslugi + возврат sticky-sidebar
   ========================================================= */

/* ---------------------------------------------------------
   01. Основной холст single-услуги: меньше бежевого, больше milk/pearl
   --------------------------------------------------------- */
body.single-uslugi .lm-single-main{
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.00) 32%),
    radial-gradient(circle at 82% 18%, rgba(246, 240, 232, 0.34) 0%, rgba(246, 240, 232, 0.00) 36%),
    linear-gradient(180deg, #ffffff 0%, #fdfcf9 48%, #ffffff 100%) !important;
  border-color: rgba(216, 195, 163, 0.16) !important;
  box-shadow:
    0 24px 62px rgba(43, 47, 42, 0.040),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-service-info-card{
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 252, 249, 0.90) 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ---------------------------------------------------------
   02. Related-блоки: деликатный жемчужный перелив, не баннер и не колхоз
   --------------------------------------------------------- */
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card,
body.single-uslugi .lm-linked-card,
body.single-uslugi .lm-related-mini-card{
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.00) 28%),
    radial-gradient(circle at 92% 78%, rgba(239, 228, 214, 0.30) 0%, rgba(239, 228, 214, 0.00) 34%),
    linear-gradient(135deg, #ffffff 0%, #fffefa 46%, #fbf7f0 100%) !important;
  border: 1px solid rgba(197, 169, 120, 0.42) !important;
  box-shadow:
    0 18px 46px rgba(43, 47, 42, 0.070),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card:hover,
body.single-uslugi .lm-linked-card:hover,
body.single-uslugi .lm-related-mini-card:hover{
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.00) 28%),
    radial-gradient(circle at 92% 78%, rgba(232, 216, 196, 0.40) 0%, rgba(232, 216, 196, 0.00) 34%),
    linear-gradient(135deg, #ffffff 0%, #fffdf8 42%, #f8efe3 100%) !important;
  border-color: rgba(181, 151, 106, 0.58) !important;
  box-shadow:
    0 22px 56px rgba(43, 47, 42, 0.095),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-linked-card__title,
body.single-uslugi .lm-related-mini-card__title,
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card__title{
  color: #242823 !important;
}

body.single-uslugi .lm-linked-card__text,
body.single-uslugi .lm-related-mini-card__text,
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card__text{
  color: #5f5850 !important;
}

/* Плейсхолдеры внутри related-карточек — жемчужные, но чуть отделённые */
body.single-uslugi .lm-linked-card__image-wrap,
body.single-uslugi .lm-linked-card__image--empty,
body.single-uslugi .lm-related-mini-card__image-wrap,
body.single-uslugi .lm-related-mini-card__image,
body.single-uslugi .lm-related-mini-card__image--empty{
  background:
    linear-gradient(180deg, #fffdfa 0%, #f6efe6 100%) !important;
  border: 1px solid rgba(197, 169, 120, 0.26) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

/* ---------------------------------------------------------
   03. FAQ оставляем спокойным, но чуть более воздушным
   --------------------------------------------------------- */
body.single-uslugi .lm-faq-item{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefa 100%) !important;
  border-color: rgba(216, 195, 163, 0.24) !important;
  box-shadow:
    0 10px 24px rgba(43, 47, 42, 0.040),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

/* ---------------------------------------------------------
   04. Price panel: отделяем от молочного холста чуть благороднее
   --------------------------------------------------------- */
body.single-uslugi .lm-prep-price-panel,
body.single-uslugi .lm-uslugi-price-panel,
body.single-uslugi .lm-service-price-panel,
body.tax-service_category .lm-taxonomy-services .lm-service-list-card__side,
body.tax-service_category .lm-taxonomy-services .lm-brand-prep-card__side{
  background:
    linear-gradient(180deg, #ffffff 0%, #faf2e6 100%) !important;
  border-color: rgba(181, 151, 106, 0.54) !important;
  box-shadow:
    0 16px 38px rgba(43, 47, 42, 0.080),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

/* ---------------------------------------------------------
   05. Sidebar sticky restore: возвращаем старую рабочую схему на aside
   --------------------------------------------------------- */
@media (min-width: 992px){
  body:has(.lm-single-sidebar) .site,
body:has(.lm-single-sidebar) .site-content,
body:has(.lm-single-sidebar) .site-main,
body:has(.lm-single-sidebar) main,
body:has(.lm-single-sidebar) main.site-main,
body:has(.lm-single-sidebar) .container,
body:has(.lm-single-sidebar) .lm-container,
body:has(.lm-single-sidebar) .lm-single-layout{
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    transform: none !important;
    contain: none !important;
  }

  body:has(.lm-single-sidebar) .lm-single-layout{
    align-items: flex-start !important;
  }

  body:has(.lm-single-sidebar) .lm-single-sidebar{
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 140px !important;
    align-self: flex-start !important;
    flex: 0 0 320px !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    z-index: 20 !important;
  }

  body:has(.lm-single-sidebar) .lm-single-sidebar .lm-sidebar-box{
    position: static !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }
}

/* =========================================================
   ЛИДАМЕД — LUXURY MEDICAL STEP 6
   Правки по итогам теста:
   1) убран перламутровый перелив у related-карточек;
   2) related приведены к спокойному FAQ / category-стилю;
   3) цвет текста цены переведен в теплый фирменный тон;
   4) краткий анонс в hero тоже переведен в тот же тон.
   ========================================================= */

:root{
  --lm-lux-warm-brown: #7b674a;
  --lm-lux-warm-brown-soft: #8a7558;
}

/* ---------------------------------------------------------
   01. Single service — price panel typography in phone tone
   --------------------------------------------------------- */
body.single-uslugi .lm-prep-price-panel__label,
body.single-uslugi .lm-uslugi-price-panel__label,
body.single-uslugi .lm-service-price-panel__label,
body.single-uslugi .lm-prep-price-panel__value,
body.single-uslugi .lm-uslugi-price-panel__value,
body.single-uslugi .lm-service-price-panel__value,
body.single-uslugi .lm-prep-price-panel strong,
body.single-uslugi .lm-uslugi-price-panel strong,
body.single-uslugi .lm-service-price-panel strong,
body.single-uslugi .lm-prep-price-panel__status,
body.single-uslugi .lm-uslugi-price-panel__status,
body.single-uslugi .lm-service-price-panel__status,
body.single-uslugi .lm-prep-price-panel__request,
body.single-uslugi .lm-service-price-panel__request{
  color: var(--lm-lux-warm-brown) !important;
}

body.single-uslugi .lm-prep-price-panel__status::before,
body.single-uslugi .lm-prep-price-panel__status::after,
body.single-uslugi .lm-uslugi-price-panel__status::before,
body.single-uslugi .lm-uslugi-price-panel__status::after,
body.single-uslugi .lm-service-price-panel__status::before,
body.single-uslugi .lm-service-price-panel__status::after{
  background: rgba(123, 103, 74, 0.34) !important;
}

body.single-uslugi .lm-prep-price-panel__divider,
body.single-uslugi .lm-service-price-panel__divider{
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(123, 103, 74, 0.30) 18%,
    rgba(123, 103, 74, 0.30) 82%,
    transparent 100%
  ) !important;
}

/* Краткий анонс под hero — в тот же теплый тон */
body.single-uslugi .lm-service-hero__announcement,
body.single-uslugi .lm-service-hero__announcement p{
  color: var(--lm-lux-warm-brown) !important;
}

body.single-uslugi .lm-service-hero__announcement::before{
  background: rgba(205, 184, 154, 0.26) !important;
}

/* ---------------------------------------------------------
   02. Related cards — убираем перламутровый перелив,
   делаем спокойный кремовый стиль как у FAQ / category cards
   --------------------------------------------------------- */
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card,
body.single-uslugi .lm-linked-card,
body.single-uslugi .lm-related-mini-card{
  background: linear-gradient(180deg, #ffffff 0%, #fffefa 100%) !important;
  border: 1px solid rgba(216, 195, 163, 0.24) !important;
  box-shadow:
    0 10px 24px rgba(43, 47, 42, 0.040),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card:hover,
body.single-uslugi .lm-linked-card:hover,
body.single-uslugi .lm-related-mini-card:hover{
  background: linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  border-color: rgba(216, 195, 163, 0.34) !important;
  box-shadow:
    0 14px 30px rgba(43, 47, 42, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-linked-card__title,
body.single-uslugi .lm-related-mini-card__title,
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card__title{
  color: #262924 !important;
}

body.single-uslugi .lm-linked-card__text,
body.single-uslugi .lm-related-mini-card__text,
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card__text{
  color: #6b645c !important;
}

body.single-uslugi .lm-linked-card__image-wrap,
body.single-uslugi .lm-linked-card__image--empty,
body.single-uslugi .lm-related-mini-card__image-wrap,
body.single-uslugi .lm-related-mini-card__image,
body.single-uslugi .lm-related-mini-card__image--empty{
  background: linear-gradient(180deg, #fdfaf5 0%, #f6efe6 100%) !important;
  border: 1px solid rgba(216, 195, 163, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
}

/* ---------------------------------------------------------
   03. FAQ оставляем как эталон спокойного кремового блока
   --------------------------------------------------------- */
body.single-uslugi .lm-faq-item{
  background: linear-gradient(180deg, #ffffff 0%, #fffefa 100%) !important;
  border-color: rgba(216, 195, 163, 0.24) !important;
  box-shadow:
    0 10px 24px rgba(43, 47, 42, 0.040),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

/* =========================================================
   ЛИДАМЕД — STICKY SIDE PANELS RESTORE / DESKTOP FINAL
   Восстановление sticky для левого меню и правой колонки новостей.
   Причина: глобальный overflow-x:hidden на html/body ломал sticky-поведение.
   Только десктоп. Мобилку не трогаем.
   ========================================================= */

@media (min-width: 992px){

  /* 01. Возвращаем нормальный scroll context для sticky на десктопе */
  html,
body{
    overflow-x: visible !important;
    overflow-y: visible !important;
  }

  /* 02. Родители sticky-колонок не должны создавать внутренний scroll/clip */
  body.single-uslugi .site,
body.single-uslugi .site-content,
body.single-uslugi .site-main,
body.single-uslugi main,
body.single-uslugi main.site-main,
body.single-uslugi main.site-main > .container,
body.single-uslugi .container,
body.single-uslugi .lm-container,
body.single-uslugi .lm-single-layout,
body.single-preparations .site,
body.single-preparations .site-content,
body.single-preparations .site-main,
body.single-preparations main,
body.single-preparations main.site-main,
body.single-preparations main.site-main > .container,
body.single-preparations .container,
body.single-preparations .lm-container,
body.single-preparations .lm-single-layout,
body.tax-service_category .site,
body.tax-service_category .site-content,
body.tax-service_category .site-main,
body.tax-service_category main,
body.tax-service_category main.site-main,
body.tax-service_category main.site-main > .container,
body.tax-service_category .container,
body.tax-service_category .lm-container,
body.tax-service_category .lm-single-layout,
body.tax-preparation_brand .site,
body.tax-preparation_brand .site-content,
body.tax-preparation_brand .site-main,
body.tax-preparation_brand main,
body.tax-preparation_brand main.site-main,
body.tax-preparation_brand main.site-main > .container,
body.tax-preparation_brand .container,
body.tax-preparation_brand .lm-container,
body.tax-preparation_brand .lm-single-layout,
body.single-news .site,
body.single-news .site-content,
body.single-news .site-main,
body.single-news main,
body.single-news main.site-main,
body.single-news main.site-main > .container,
body.single-news .container,
body.single-news .lm-container,
body.single-news .lm-single-layout,
body.single-news .lm-news-single,
body.single-news .lm-news-single-grid,
body.post-type-archive-news .site,
body.post-type-archive-news .site-content,
body.post-type-archive-news .site-main,
body.post-type-archive-news main,
body.post-type-archive-news main.site-main,
body.post-type-archive-news main.site-main > .container,
body.post-type-archive-news .container,
body.post-type-archive-news .lm-container,
body.post-type-archive-news .lm-single-layout,
body.post-type-archive-news .lm-news-single-grid{
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    transform: none !important;
    contain: none !important;
    perspective: none !important;
  }

  /* 03. Левая колонка: возвращаем старую рабочую схему — sticky на aside */
  body.single-uslugi .lm-single-layout,
body.single-preparations .lm-single-layout,
body.tax-service_category .lm-single-layout,
body.tax-preparation_brand .lm-single-layout{
    display: flex !important;
    align-items: flex-start !important;
    gap: 32px !important;
  }

  body.single-uslugi .lm-single-sidebar,
body.single-preparations .lm-single-sidebar,
body.tax-service_category .lm-single-sidebar,
body.tax-preparation_brand .lm-single-sidebar{
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 140px !important;
    align-self: flex-start !important;
    z-index: 30 !important;

    flex: 0 0 320px !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    transform: none !important;
    contain: none !important;
  }

  body.single-uslugi .lm-single-sidebar .lm-sidebar-box,
body.single-preparations .lm-single-sidebar .lm-sidebar-box,
body.tax-service_category .lm-single-sidebar .lm-sidebar-box,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-box{
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    transform: none !important;
    contain: none !important;
  }

  /* 04. Правая колонка новостей: sticky на самой колонке */
  body.single-news .lm-news-side-articles,
body.post-type-archive-news .lm-news-side-articles{
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 120px !important;
    align-self: flex-start !important;
    z-index: 20 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    transform: none !important;
    contain: none !important;
  }

  body.single-news .lm-news-single-grid,
body.post-type-archive-news .lm-news-single-grid{
    align-items: start !important;
    overflow: visible !important;
  }
}

/* Мобильную защиту от горизонтального скролла оставляем */
@media (max-width: 991px){
  html,
body{
    overflow-x: hidden !important;
  }
}

/* =========================================================
   ЛИДАМЕД — STICKY SIDE PANELS / CATEGORY ARCHIVE HOTFIX
   Дожим sticky для архивов/категорий услуг, где меню стоит
   внутри .lm-taxonomy-services / .lm-services-archive.
   Только десктоп. Визуал не меняем.
   ========================================================= */

@media (min-width: 992px){

  /* 01. Убираем возможный clip/scroll-context именно у архивов и таксономий услуг */
  body.post-type-archive-uslugi,
body.tax-service_category,
body.post-type-archive-uslugi .site,
body.tax-service_category .site,
body.post-type-archive-uslugi .site-content,
body.tax-service_category .site-content,
body.post-type-archive-uslugi .site-main,
body.tax-service_category .site-main,
body.post-type-archive-uslugi main,
body.tax-service_category main,
body.post-type-archive-uslugi main.site-main,
body.tax-service_category main.site-main,
body.post-type-archive-uslugi main.site-main > .container,
body.tax-service_category main.site-main > .container,
body.post-type-archive-uslugi .container,
body.tax-service_category .container,
body.post-type-archive-uslugi .lm-container,
body.tax-service_category .lm-container,
body.post-type-archive-uslugi .lm-services-archive,
body.tax-service_category .lm-taxonomy-services,
body.post-type-archive-uslugi .lm-services-archive .container,
body.tax-service_category .lm-taxonomy-services .container,
body.post-type-archive-uslugi .lm-single-layout,
body.tax-service_category .lm-single-layout,
body.post-type-archive-uslugi .lm-services-archive .lm-single-layout,
body.tax-service_category .lm-taxonomy-services .lm-single-layout{
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    transform: none !important;
    contain: none !important;
    perspective: none !important;
  }

  /* 02. Сам layout в архивах/категориях обязан быть flex и не растягивать sidebar */
  body.post-type-archive-uslugi .lm-single-layout,
body.tax-service_category .lm-single-layout,
body.post-type-archive-uslugi .lm-services-archive .lm-single-layout,
body.tax-service_category .lm-taxonomy-services .lm-single-layout{
    display: flex !important;
    align-items: flex-start !important;
    gap: 32px !important;
    min-height: 100vh !important;
  }

  /* 03. Sticky на колонку меню в архивах и категориях */
  body.post-type-archive-uslugi .lm-single-layout > .lm-single-sidebar,
body.tax-service_category .lm-single-layout > .lm-single-sidebar,
body.post-type-archive-uslugi .lm-services-archive .lm-single-sidebar,
body.tax-service_category .lm-taxonomy-services .lm-single-sidebar,
body.post-type-archive-uslugi .lm-services-archive .lm-single-layout > aside,
body.tax-service_category .lm-taxonomy-services .lm-single-layout > aside{
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 140px !important;
    align-self: flex-start !important;
    z-index: 40 !important;

    flex: 0 0 320px !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    transform: none !important;
    contain: none !important;
  }

  /* 04. Внутренняя коробка меню не должна создавать свой sticky/scroll */
  body.post-type-archive-uslugi .lm-services-archive .lm-sidebar-box,
body.tax-service_category .lm-taxonomy-services .lm-sidebar-box,
body.post-type-archive-uslugi .lm-single-sidebar .lm-sidebar-box,
body.tax-service_category .lm-single-sidebar .lm-sidebar-box{
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    transform: none !important;
    contain: none !important;
  }

  /* 05. Правая часть архива/категории не должна тянуть sidebar по высоте */
  body.post-type-archive-uslugi .lm-single-main,
body.tax-service_category .lm-single-main,
body.post-type-archive-uslugi .lm-services-archive .lm-single-main,
body.tax-service_category .lm-taxonomy-services .lm-single-main{
    min-width: 0 !important;
    flex: 1 1 auto !important;
    align-self: stretch !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    transform: none !important;
    contain: none !important;
  }
}

/* =========================================================
   ЛИДАМЕД — TAXONOMY PAGINATION CLEANUP
   Убираем пагинацию в категориях услуг и брендах препаратов.
   Причина: переходы /page/2/ на taxonomy-страницах дают 404,
   а для этих разделов удобнее показывать список без переключателя страниц.
   ========================================================= */

body.tax-service_category .navigation.pagination,
body.tax-service_category nav.pagination,
body.tax-service_category .pagination,
body.tax-service_category .nav-links,
body.tax-service_category .page-numbers,
body.tax-service_category .lm-pagination,
body.tax-service_category .lm-news-pagination,
body.tax-preparation_brand .navigation.pagination,
body.tax-preparation_brand nav.pagination,
body.tax-preparation_brand .pagination,
body.tax-preparation_brand .nav-links,
body.tax-preparation_brand .page-numbers,
body.tax-preparation_brand .lm-pagination,
body.tax-preparation_brand .lm-news-pagination{
  display: none !important;
}

/* =========================================================
   ЛИДАМЕД — SINGLE USLUGI RELATED SECTIONS FINAL
   Заголовки связанных блоков + статьи карточками 3 в ряд
   ========================================================= */

body.single-uslugi .lm-single-promotion__linked-block{
  margin-top: 34px !important;
}

body.single-uslugi .lm-single-promotion__linked-title{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;

  margin: 0 0 14px !important;
  padding: 0 !important;

  color: #3d3a34 !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
}

body.single-uslugi .lm-single-promotion__linked-title::before{
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 9px !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #c5a978 !important;
  box-shadow: 0 0 0 5px rgba(197, 169, 120, 0.13) !important;
}

/* Статьи в single услуги — карточки как в архиве статей, но в luxury-системе */
body.single-uslugi .lm-single-related-articles__grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

body.single-uslugi .lm-single-related-article-card{
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;

  overflow: hidden !important;
  border-radius: 22px !important;
  border: 1px solid rgba(216, 195, 163, 0.28) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fffefa 100%) !important;
  box-shadow:
    0 12px 28px rgba(43, 47, 42, 0.052),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  color: #262924 !important;
  text-decoration: none !important;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    background .22s ease !important;
}

body.single-uslugi .lm-single-related-article-card:hover{
  transform: translateY(-3px) !important;
  border-color: rgba(197, 169, 120, 0.42) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
  box-shadow:
    0 18px 42px rgba(43, 47, 42, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-uslugi .lm-single-related-article-card__image-wrap{
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #fdfaf5 0%, #f6efe6 100%) !important;
}

body.single-uslugi .lm-single-related-article-card__image-wrap img,
body.single-uslugi .lm-single-related-article-card__image-wrap .no-image{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background: linear-gradient(180deg, #fdfaf5 0%, #f6efe6 100%) !important;
  transition: transform .35s ease !important;
}

body.single-uslugi .lm-single-related-article-card:hover .lm-single-related-article-card__image-wrap img{
  transform: scale(1.035) !important;
}

body.single-uslugi .lm-single-related-article-card__body{
  position: relative !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 14px 15px 16px !important;
  background: transparent !important;
}

body.single-uslugi .lm-single-related-article-card__category{
  margin: 0 0 10px !important;
  line-height: 1 !important;
}

body.single-uslugi .lm-single-related-article-card__category span{
  display: block !important;
  width: 100% !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  background: rgba(246, 240, 230, 0.86) !important;
  color: #7b674a !important;
  text-align: center !important;
  text-decoration: none !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: .045em !important;
  text-transform: uppercase !important;
}

body.single-uslugi .lm-single-related-article-card__title{
  margin: 0 !important;
  padding-right: 76px !important;
  min-height: 42px !important;

  color: #252826 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.single-uslugi .lm-single-related-article-card__link{
  position: absolute !important;
  right: 15px !important;
  bottom: 16px !important;
  z-index: 3 !important;

  display: inline-block !important;
  margin: 0 !important;
  padding: 0 0 0 6px !important;

  background: linear-gradient(90deg, rgba(255, 254, 250, 0), #fffefa 18%, #fffefa 100%) !important;
  color: #7b674a !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: transform .18s ease, color .18s ease !important;
  transform-origin: right center !important;
}

body.single-uslugi .lm-single-related-article-card:hover .lm-single-related-article-card__link{
  color: #5f4c32 !important;
  transform: scale(1.06) !important;
}

@media (max-width: 1199px){
  body.single-uslugi .lm-single-related-articles__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px){
  body.single-uslugi .lm-single-promotion__linked-title{
    font-size: 19px !important;
  }

  body.single-uslugi .lm-single-related-articles__grid{
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.single-uslugi .lm-single-related-article-card{
    border-radius: 18px !important;
  }

  body.single-uslugi .lm-single-related-article-card__title{
    min-height: 0 !important;
    padding-right: 72px !important;
  }
}

/* =========================================================
   ЛИДАМЕД — SINGLE USLUGI STEP 11
   Финальная полировка заголовков секций + карточек полезных материалов
   ========================================================= */

/* ---------------------------------------------------------
   01. Все заголовки внутренних секций single-услуги
   Показания / Противопоказания / Этапы / Результат / Характеристики /
   Специалисты / Кабинеты — в единой спокойной стилистике.
   --------------------------------------------------------- */
body.single-uslugi .lm-service-section-title,
body.single-uslugi .lm-service-content-sections > h2,
body.single-uslugi .lm-service-content-sections > h3,
body.single-uslugi .lm-single-promotion__linked-title{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;

  margin: 34px 0 16px !important;
  padding: 0 !important;

  color: #3d3a34 !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
}

body.single-uslugi .lm-service-section-title:first-child,
body.single-uslugi .lm-service-content-sections > h2:first-child,
body.single-uslugi .lm-service-content-sections > h3:first-child{
  margin-top: 0 !important;
}

body.single-uslugi .lm-service-section-title::before,
body.single-uslugi .lm-service-content-sections > h2::before,
body.single-uslugi .lm-service-content-sections > h3::before,
body.single-uslugi .lm-single-promotion__linked-title::before{
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 9px !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #c5a978 !important;
  box-shadow: 0 0 0 5px rgba(197, 169, 120, 0.13) !important;
}

/* Текст сразу после таких заголовков — чуть спокойнее, чтобы заголовок не давил */
body.single-uslugi .lm-service-section-title + p,
body.single-uslugi .lm-service-content-sections > h2 + p,
body.single-uslugi .lm-service-content-sections > h3 + p{
  margin-top: 0 !important;
}

/* ---------------------------------------------------------
   02. Полезные материалы: убираем конфликт title + "Читать →"
   Теперь название занимает нормальную ширину, а ссылка стоит отдельной строкой справа.
   --------------------------------------------------------- */
body.single-uslugi .lm-single-related-article-card__body{
  min-height: 142px !important;
}

body.single-uslugi .lm-single-related-article-card__title{
  padding-right: 0 !important;
  min-height: 0 !important;
  margin: 0 0 14px !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;

  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: auto !important;
  -webkit-hyphens: auto !important;
}

body.single-uslugi .lm-single-related-article-card__link{
  position: static !important;
  right: auto !important;
  bottom: auto !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: flex-end !important;

  margin-top: auto !important;
  padding: 0 !important;
  background: transparent !important;

  color: #7b674a !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.single-uslugi .lm-single-related-article-card:hover .lm-single-related-article-card__link{
  color: #5f4c32 !important;
  transform: translateX(2px) !important;
}

@media (max-width: 767px){
  body.single-uslugi .lm-service-section-title,
body.single-uslugi .lm-service-content-sections > h2,
body.single-uslugi .lm-service-content-sections > h3,
body.single-uslugi .lm-single-promotion__linked-title{
    font-size: 19px !important;
    margin-top: 28px !important;
  }

  body.single-uslugi .lm-single-related-article-card__body{
    min-height: 0 !important;
  }
}

/* =========================================================
   ЛИДАМЕД — SINGLE USLUGI STEP 12
   Компактнее вертикальный ритм связанных блоков
   ========================================================= */

/* Немного убираем лишний воздух между внутренними разделами */
body.single-uslugi .lm-service-section-title,
body.single-uslugi .lm-service-content-sections > h2,
body.single-uslugi .lm-service-content-sections > h3,
body.single-uslugi .lm-single-promotion__linked-title{
  margin-top: 26px !important;
  margin-bottom: 12px !important;
}

body.single-uslugi .lm-service-section-title:first-child,
body.single-uslugi .lm-service-content-sections > h2:first-child,
body.single-uslugi .lm-service-content-sections > h3:first-child{
  margin-top: 0 !important;
}

/* FAQ не отталкивает следующий блок слишком далеко */
body.single-uslugi .lm-faq-block,
body.single-uslugi .lm-faq-block--inside{
  margin-bottom: 22px !important;
}


body.single-uslugi .lm-single-promotion__linked-block,
body.single-uslugi .lm-service-related,
body.single-uslugi .lm-service-recommended,
body.single-uslugi .lm-related-section{
  margin-top: 20px !important;
  padding-top: 0 !important;
  padding-bottom: 20px !important;
}

body.single-uslugi .lm-single-promotion__linked-block + .lm-single-promotion__linked-block{
  margin-top: 18px !important;
}

body.single-uslugi .lm-single-promotion__linked-title,
body.single-uslugi .lm-related-title,
body.single-uslugi .lm-service-related__title,
body.single-uslugi .lm-service-recommended__title{
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

/* Карточки внутри связанных блоков чуть плотнее по вертикали, без изменения ширин */
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card,
body.single-uslugi .lm-linked-card,
body.single-uslugi .lm-related-mini-card{
  min-height: 132px !important;
}

body.single-uslugi .lm-single-related-articles__grid{
  gap: 16px !important;
}

body.single-uslugi .lm-single-related-article-card__body{
  min-height: 128px !important;
  padding-top: 12px !important;
  padding-bottom: 14px !important;
}

@media (max-width: 767px){
  body.single-uslugi .lm-service-section-title,
body.single-uslugi .lm-service-content-sections > h2,
body.single-uslugi .lm-service-content-sections > h3,
body.single-uslugi .lm-single-promotion__linked-title{
    margin-top: 22px !important;
    margin-bottom: 10px !important;
  }

  body.single-uslugi .lm-single-promotion__linked-block,
body.single-uslugi .lm-service-related,
body.single-uslugi .lm-service-recommended,
body.single-uslugi .lm-related-section{
    margin-top: 16px !important;
    padding-bottom: 16px !important;
  }
}

/* =========================================================
   ЛИДАМЕД — PREPARATIONS LUXURY FINAL SYSTEM
   Препараты: архив / бренд / single. Эталон услуг без пудры.
   ========================================================= */

body{
  --lm-prep-luxe-ink: #2f332e;
  --lm-prep-luxe-ink-soft: #3d3a34;
  --lm-prep-luxe-muted: #6f6a61;
  --lm-prep-luxe-phone: #7b674a;
  --lm-prep-luxe-phone-deep: #5f4c32;
  --lm-prep-luxe-line: rgba(197, 169, 120, 0.42);
  --lm-prep-luxe-line-strong: rgba(177, 145, 91, 0.62);
  --lm-prep-luxe-ivory: #fffefa;
  --lm-prep-luxe-milk: #fffaf4;
  --lm-prep-luxe-pearl: #f8f4ec;
  --lm-prep-luxe-card: linear-gradient(180deg, #ffffff 0%, #fffefa 54%, #fff8ef 100%);
  --lm-prep-luxe-shell: linear-gradient(180deg, #ffffff 0%, #fffdf8 44%, #fffaf3 100%);
  --lm-prep-luxe-shadow: 0 18px 48px rgba(60, 50, 36, 0.08), inset 0 1px 0 rgba(255,255,255,0.82);
  --lm-prep-luxe-shadow-soft: 0 12px 32px rgba(60, 50, 36, 0.06), inset 0 1px 0 rgba(255,255,255,0.78);
}

/* ---------------------------------------------------------
   01. Общий фон препаратов: без серой грязи и пудры
   --------------------------------------------------------- */
body.post-type-archive-preparations,
body.tax-preparation_brand,
body.single-preparations{
  background: #ffffff !important;
  color: var(--lm-prep-luxe-ink) !important;
}

body.post-type-archive-preparations main.site-main,
body.tax-preparation_brand main.site-main,
body.single-preparations main.site-main{
  background:
    radial-gradient(circle at 50% 0%, rgba(197, 169, 120, 0.11), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fffdf8 46%, #ffffff 100%) !important;
}

/* ---------------------------------------------------------
   02. Архив препаратов /preparations/
   --------------------------------------------------------- */
body.post-type-archive-preparations .lm-preparations-archive{
  background: transparent !important;
}

body.post-type-archive-preparations .lm-brand-card__inner{
  background: var(--lm-prep-luxe-card) !important;
  border: 1px solid var(--lm-prep-luxe-line) !important;
  box-shadow: var(--lm-prep-luxe-shadow-soft) !important;
  color: var(--lm-prep-luxe-ink) !important;
}

body.post-type-archive-preparations .lm-brand-card:hover .lm-brand-card__inner{
  border-color: var(--lm-prep-luxe-line-strong) !important;
  box-shadow: 0 20px 54px rgba(60, 50, 36, 0.11), inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

body.post-type-archive-preparations .lm-brand-card__latin{
  color: var(--lm-prep-luxe-ink) !important;
}

body.post-type-archive-preparations .lm-brand-card__ru{
  color: var(--lm-prep-luxe-muted) !important;
}

/* ---------------------------------------------------------
   03. Таксономия бренда /preparations/{brand}/
   --------------------------------------------------------- */
body.tax-preparation_brand .lm-taxonomy-services{
  background: rgba(255,255,255,0.34) !important;
}

body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card{
  background: var(--lm-prep-luxe-card) !important;
  border: 1px solid var(--lm-prep-luxe-line) !important;
  box-shadow: var(--lm-prep-luxe-shadow-soft) !important;
  color: var(--lm-prep-luxe-ink) !important;
}

body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card:hover,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card:hover{
  border-color: var(--lm-prep-luxe-line-strong) !important;
  box-shadow: 0 20px 54px rgba(60, 50, 36, 0.11), inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

body.tax-preparation_brand .lm-brand-prep-card__side,
body.tax-preparation_brand .lm-service-list-card__side{
  background: linear-gradient(180deg, #ffffff 0%, #fffefa 52%, #fff8ef 100%) !important;
  border: 1px solid var(--lm-prep-luxe-line) !important;
  box-shadow: 0 10px 28px rgba(75, 69, 56, 0.07), inset 0 1px 0 rgba(255,255,255,0.84) !important;
}

body.tax-preparation_brand .lm-brand-prep-card__price,
body.tax-preparation_brand .lm-brand-prep-card__price span,
body.tax-preparation_brand .lm-brand-prep-card__price strong,
body.tax-preparation_brand .lm-service-list-card__price,
body.tax-preparation_brand .lm-service-list-card__price span,
body.tax-preparation_brand .lm-service-list-card__price strong{
  color: var(--lm-prep-luxe-phone) !important;
}

body.tax-preparation_brand .lm-brand-prep-card__status,
body.tax-preparation_brand .lm-service-list-card__status{
  color: var(--lm-prep-luxe-phone) !important;
}

body.tax-preparation_brand .lm-brand-prep-card__divider,
body.tax-preparation_brand .lm-service-list-card__divider{
  background: linear-gradient(90deg, transparent 0%, rgba(123,103,74,.28) 22%, rgba(123,103,74,.28) 78%, transparent 100%) !important;
}

body.tax-preparation_brand .lm-linked-card__title,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__title{
  color: var(--lm-prep-luxe-ink) !important;
}

body.tax-preparation_brand .lm-linked-card__text,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__text{
  color: var(--lm-prep-luxe-muted) !important;
}

/* ---------------------------------------------------------
   04. Single препарата: hero + price panel
   --------------------------------------------------------- */
body.single-preparations .lm-prep-page-title{
  color: var(--lm-prep-luxe-ink) !important;
}

body.single-preparations .lm-prep-single-entry{
  color: var(--lm-prep-luxe-ink) !important;
}

body.single-preparations .lm-prep-hero{
  background: var(--lm-prep-luxe-shell) !important;
  border: 1px solid var(--lm-prep-luxe-line) !important;
  border-radius: 28px 28px 0 0 !important;
  box-shadow: var(--lm-prep-luxe-shadow) !important;
  color: var(--lm-prep-luxe-ink) !important;
  overflow: hidden !important;
}

body.single-preparations .lm-prep-hero__media img{
  border: 1px solid rgba(197, 169, 120, 0.26) !important;
  box-shadow: 0 12px 30px rgba(60, 50, 36, 0.07) !important;
}

body.single-preparations .lm-prep-price-panel,
body.single-preparation .lm-prep-price-panel{
  background-color: #fffefa !important;
  background-image: linear-gradient(180deg, #ffffff 0%, #fffefa 52%, #fff8ef 100%) !important;
  border: 1px solid var(--lm-prep-luxe-line-strong) !important;
  box-shadow: 0 13px 34px rgba(75, 69, 56, 0.09), inset 0 1px 0 rgba(255,255,255,0.88) !important;
  color: var(--lm-prep-luxe-phone) !important;
}

body.single-preparations .lm-prep-price-panel::before,
body.single-preparations .lm-prep-price-panel::after,
body.single-preparation .lm-prep-price-panel::before,
body.single-preparation .lm-prep-price-panel::after{
  content: none !important;
  display: none !important;
  background: none !important;
}

body.single-preparations .lm-prep-price-panel__label,
body.single-preparations .lm-prep-price-panel__value,
body.single-preparations .lm-prep-price-panel__status,
body.single-preparations .lm-prep-price-panel__request,
body.single-preparation .lm-prep-price-panel__label,
body.single-preparation .lm-prep-price-panel__value,
body.single-preparation .lm-prep-price-panel__status,
body.single-preparation .lm-prep-price-panel__request{
  color: var(--lm-prep-luxe-phone) !important;
}

body.single-preparations .lm-prep-price-panel__value,
body.single-preparation .lm-prep-price-panel__value{
  color: var(--lm-prep-luxe-phone-deep) !important;
}

body.single-preparations .lm-prep-price-panel__divider,
body.single-preparation .lm-prep-price-panel__divider{
  background: linear-gradient(90deg, transparent 0%, rgba(123,103,74,.28) 22%, rgba(123,103,74,.28) 78%, transparent 100%) !important;
}

body.single-preparations .lm-prep-price-panel__status::before,
body.single-preparations .lm-prep-price-panel__status::after,
body.single-preparation .lm-prep-price-panel__status::before,
body.single-preparation .lm-prep-price-panel__status::after{
  background: rgba(123,103,74,.30) !important;
}

body.single-preparations .lm-prep-hero__announcement,
body.single-preparations .lm-prep-hero__announcement p{
  color: var(--lm-prep-luxe-phone) !important;
}

body.single-preparations .lm-prep-btn--dark,
body.single-preparations .lm-prep-btn.lm-btn-primary{
  background: linear-gradient(180deg, #c7b79f 0%, #a99172 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  box-shadow: 0 10px 26px rgba(50, 45, 40, 0.18), inset 0 1px 0 rgba(255,255,255,0.35) !important;
}

body.single-preparations .lm-prep-btn--dark:hover,
body.single-preparations .lm-prep-btn.lm-btn-primary:hover{
  background: linear-gradient(180deg, #b9a587 0%, #967b58 100%) !important;
}

body.single-preparations .lm-prep-btn--light,
body.single-preparations .lm-prep-btn.lm-btn-secondary{
  background: rgba(255,255,255,0.74) !important;
  color: #4a463f !important;
  border: 1px solid rgba(190,174,145,0.48) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.65) !important;
}

/* ---------------------------------------------------------
   05. Single препарата: единая внутренняя подложка до низа
   --------------------------------------------------------- */
body.single-preparations .lm-prep-info-card{
  margin-top: 0 !important;
  padding: 28px 32px 34px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fffefa 52%, #fffaf3 100%) !important;
  border: 1px solid var(--lm-prep-luxe-line) !important;
  border-top: 0 !important;
  border-radius: 0 0 28px 28px !important;
  box-shadow: var(--lm-prep-luxe-shadow) !important;
  color: var(--lm-prep-luxe-ink) !important;
  overflow: hidden !important;
}

body.single-preparations .lm-prep-description,
body.single-preparations .lm-prep-content-sections,
body.single-preparations .lm-prep-section-text,
body.single-preparations .lm-prep-section-text p,
body.single-preparations .lm-prep-description p{
  color: var(--lm-prep-luxe-muted) !important;
}

body.single-preparations .lm-prep-description{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-preparations .lm-prep-content-sections,
body.single-preparations .lm-prep-attributes{
  border-top-color: rgba(197,169,120,0.18) !important;
}

body.single-preparations .lm-prep-attributes__row{
  color: var(--lm-prep-luxe-ink) !important;
}

body.single-preparations .lm-prep-attributes__label{
  color: var(--lm-prep-luxe-ink-soft) !important;
}

body.single-preparations .lm-prep-attributes__dots{
  border-bottom-color: rgba(123,103,74,.18) !important;
}

body.single-preparations .lm-prep-attributes__value{
  color: var(--lm-prep-luxe-ink) !important;
}

/* ---------------------------------------------------------
   06. Заголовки секций: точка + premium heading
   --------------------------------------------------------- */
body.single-preparations .lm-prep-section-title,
body.single-preparations .lm-prep-description h2,
body.single-preparations .lm-prep-description h3,
body.single-preparations .lm-prep-content-sections > h2,
body.single-preparations .lm-prep-content-sections > h3,
body.single-preparations .lm-single-promotion__linked-title{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 26px 0 12px !important;
  padding: 0 !important;
  color: var(--lm-prep-luxe-ink-soft) !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
}

body.single-preparations .lm-prep-section-title:first-child,
body.single-preparations .lm-prep-description h2:first-child,
body.single-preparations .lm-prep-description h3:first-child,
body.single-preparations .lm-prep-content-sections > h2:first-child,
body.single-preparations .lm-prep-content-sections > h3:first-child{
  margin-top: 0 !important;
}

body.single-preparations .lm-prep-section-title::before,
body.single-preparations .lm-prep-description h2::before,
body.single-preparations .lm-prep-description h3::before,
body.single-preparations .lm-prep-content-sections > h2::before,
body.single-preparations .lm-prep-content-sections > h3::before,
body.single-preparations .lm-single-promotion__linked-title::before{
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 9px !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #c5a978 !important;
  box-shadow: 0 0 0 5px rgba(197, 169, 120, 0.13) !important;
}

/* ---------------------------------------------------------
   07. Специалисты / кабинеты / FAQ внутри single-preparation
   --------------------------------------------------------- */
body.single-preparations .lm-specialists--inside,
body.single-preparations .lm-cabinets-linked-block--inside,
body.single-preparations .lm-faq-block--inside{
  margin-top: 22px !important;
}

body.single-preparations .lm-specialist-card,
body.single-preparations .lm-cabinet-card,
body.single-preparations .lm-faq-item,
body.single-preparations .lm-single-promotion__linked-list .lm-linked-card{
  background: linear-gradient(180deg, #ffffff 0%, #fffefa 100%) !important;
  border: 1px solid rgba(197, 169, 120, 0.28) !important;
  box-shadow: 0 12px 30px rgba(60, 50, 36, 0.055), inset 0 1px 0 rgba(255,255,255,.82) !important;
  color: var(--lm-prep-luxe-ink) !important;
}

body.single-preparations .lm-faq-block--inside{
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-preparations .lm-faq-question__text,
body.single-preparations .lm-specialist-card__title,
body.single-preparations .lm-cabinet-card__title,
body.single-preparations .lm-linked-card__title{
  color: var(--lm-prep-luxe-ink) !important;
}

body.single-preparations .lm-specialist-card__position,
body.single-preparations .lm-cabinet-card__text,
body.single-preparations .lm-linked-card__text,
body.single-preparations .lm-faq-answer,
body.single-preparations .lm-faq-answer p{
  color: var(--lm-prep-luxe-muted) !important;
}

/* ---------------------------------------------------------
   08. Связанные блоки внутри общей подложки
   --------------------------------------------------------- */
body.single-preparations .lm-prep-info-card > .lm-single-promotion__linked-block{
  margin-top: 20px !important;
  padding-top: 0 !important;
  padding-bottom: 18px !important;
}

body.single-preparations .lm-prep-info-card > .lm-single-promotion__linked-block + .lm-single-promotion__linked-block{
  margin-top: 18px !important;
}

body.single-preparations .lm-single-promotion__linked-list{
  gap: 14px !important;
}

body.single-preparations .lm-single-promotion__linked-list .lm-linked-card{
  min-height: 132px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fffefa 100%) !important;
}

body.single-preparations .lm-linked-card__image-wrap,
body.single-preparations .lm-single-related-article-card__image-wrap{
  background: linear-gradient(180deg, #fffefa 0%, #f7f1e8 100%) !important;
  border: 1px solid rgba(197, 169, 120, 0.22) !important;
}

/* ---------------------------------------------------------
   09. Полезные материалы: 3 карточки как в статьях
   --------------------------------------------------------- */
body.single-preparations .lm-single-related-articles__grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.single-preparations .lm-single-related-article-card{
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fffefa 100%) !important;
  border: 1px solid rgba(197, 169, 120, 0.32) !important;
  box-shadow: 0 12px 30px rgba(60, 50, 36, 0.07), inset 0 1px 0 rgba(255,255,255,.82) !important;
  color: var(--lm-prep-luxe-ink) !important;
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

body.single-preparations .lm-single-related-article-card:hover{
  transform: translateY(-3px) !important;
  border-color: var(--lm-prep-luxe-line-strong) !important;
  box-shadow: 0 18px 42px rgba(60, 50, 36, 0.11), inset 0 1px 0 rgba(255,255,255,.86) !important;
}

body.single-preparations .lm-single-related-article-card__image-wrap{
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
}

body.single-preparations .lm-single-related-article-card__image-wrap img,
body.single-preparations .lm-single-related-article-card__image-wrap .no-image{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .35s ease !important;
}

body.single-preparations .lm-single-related-article-card:hover .lm-single-related-article-card__image-wrap img{
  transform: scale(1.035) !important;
}

body.single-preparations .lm-single-related-article-card__body{
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 128px !important;
  padding: 12px 15px 14px !important;
}

body.single-preparations .lm-single-related-article-card__category{
  margin: 0 0 12px !important;
}

body.single-preparations .lm-single-related-article-card__category span{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 28px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(247, 241, 230, 0.84) !important;
  border: 1px solid rgba(197, 169, 120, 0.20) !important;
  color: var(--lm-prep-luxe-phone) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

body.single-preparations .lm-single-related-article-card__title{
  margin: 0 0 14px !important;
  padding-right: 0 !important;
  min-height: 0 !important;
  color: var(--lm-prep-luxe-ink) !important;
  font-size: 18px !important;
  line-height: 1.22 !important;
  font-weight: 700 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: auto !important;
  -webkit-hyphens: auto !important;
}

body.single-preparations .lm-single-related-article-card__link{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: flex-end !important;
  margin-top: auto !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--lm-prep-luxe-phone) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.single-preparations .lm-single-related-article-card:hover .lm-single-related-article-card__link{
  color: var(--lm-prep-luxe-phone-deep) !important;
  transform: translateX(2px) !important;
}

/* ---------------------------------------------------------
   10. Левый sidebar препаратов: только цвет, без sticky-логики
   --------------------------------------------------------- */
body.single-preparations .lm-single-sidebar .lm-sidebar-box,
body.single-preparations .lm-single-sidebar .lm-sidebar-menu,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-box,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-menu{
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,253,248,0.94) 100%) !important;
  border-color: var(--lm-prep-luxe-line) !important;
  box-shadow: 0 14px 38px rgba(60, 50, 36, 0.06), inset 0 1px 0 rgba(255,255,255,0.78) !important;
}

body.single-preparations .lm-single-sidebar .lm-sidebar-link,
body.single-preparations .lm-single-sidebar .lm-sidebar-group__title,
body.single-preparations .lm-single-sidebar .lm-sidebar-group__items a,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-link,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-group__title,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-group__items a{
  color: var(--lm-prep-luxe-muted) !important;
}

body.single-preparations .lm-single-sidebar .lm-sidebar-link.is-active,
body.single-preparations .lm-single-sidebar .lm-sidebar-link.active,
body.single-preparations .lm-single-sidebar .lm-sidebar-link.current,
body.single-preparations .lm-single-sidebar .lm-sidebar-link[aria-current="page"],
body.single-preparations .lm-single-sidebar .lm-sidebar-group__items a.is-active,
body.single-preparations .lm-single-sidebar .lm-sidebar-group__items a.active,
body.single-preparations .lm-single-sidebar .lm-sidebar-group__items a.current,
body.single-preparations .lm-single-sidebar .lm-sidebar-group__items a[aria-current="page"],
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-link.is-active,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-link.active,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-link.current,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-link[aria-current="page"],
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-group__items a.is-active,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-group__items a.active,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-group__items a.current,
body.tax-preparation_brand .lm-single-sidebar .lm-sidebar-group__items a[aria-current="page"]{
  background: linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
  color: var(--lm-prep-luxe-phone-deep) !important;
  border-color: var(--lm-prep-luxe-line) !important;
  box-shadow: 0 8px 22px rgba(75, 69, 56, 0.08), inset 0 1px 0 rgba(255,255,255,0.78) !important;
}

@media (max-width: 1199px){
  body.single-preparations .lm-single-related-articles__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px){
  body.single-preparations .lm-prep-info-card{
    padding: 22px 18px 26px !important;
    border-radius: 0 0 22px 22px !important;
  }

  body.single-preparations .lm-prep-section-title,
body.single-preparations .lm-prep-description h2,
body.single-preparations .lm-prep-description h3,
body.single-preparations .lm-prep-content-sections > h2,
body.single-preparations .lm-prep-content-sections > h3,
body.single-preparations .lm-single-promotion__linked-title{
    font-size: 19px !important;
    margin-top: 22px !important;
    margin-bottom: 10px !important;
  }

  body.single-preparations .lm-single-related-articles__grid{
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.single-preparations .lm-single-related-article-card__body{
    min-height: 0 !important;
  }
}


/* =========================================================
   ЛИДАМЕД — PREPARATIONS CLEAN POLISH + ЧЕСТНЫЙ ЗНАК
   Точечный дожим после сравнения с услугами.
   Только препараты: архив / бренд / single.
   ========================================================= */

/* 01. Общие поверхности препаратов: убираем грязь и розово-серую пудру */
body.post-type-archive-preparations main.site-main,
body.tax-preparation_brand main.site-main,
body.single-preparations main.site-main{
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 195, 163, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fdfcf9 48%, #ffffff 100%) !important;
}

body.post-type-archive-preparations .lm-brand-card__inner,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card{
  background: linear-gradient(180deg, #ffffff 0%, #fffefa 100%) !important;
  border: 1px solid rgba(216, 195, 163, 0.28) !important;
  box-shadow:
    0 10px 24px rgba(43, 47, 42, 0.040),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.post-type-archive-preparations .lm-brand-card:hover .lm-brand-card__inner,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card:hover,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card:hover{
  background: linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  border-color: rgba(216, 195, 163, 0.38) !important;
  box-shadow:
    0 14px 30px rgba(43, 47, 42, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

/* 02. Taxonomy brand price panel: как в услугах, без розовой плашки */
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card .lm-brand-prep-card__side,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card .lm-brand-prep-card__side,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card .lm-service-list-card__side,
body.tax-preparation_brand .lm-single-main .lm-linked-card.lm-brand-prep-card .lm-service-list-card__side,
body.tax-preparation_brand .lm-brand-prep-card__side,
body.tax-preparation_brand .lm-service-list-card__side{
  background-color: #faf2e6 !important;
  background-image: linear-gradient(180deg, #ffffff 0%, #faf2e6 100%) !important;
  border-color: rgba(181, 151, 106, 0.54) !important;
  box-shadow:
    0 16px 38px rgba(43, 47, 42, 0.080),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.tax-preparation_brand .lm-brand-prep-card__price,
body.tax-preparation_brand .lm-brand-prep-card__price span,
body.tax-preparation_brand .lm-brand-prep-card__price strong,
body.tax-preparation_brand .lm-service-list-card__price,
body.tax-preparation_brand .lm-service-list-card__price span,
body.tax-preparation_brand .lm-service-list-card__price strong,
body.tax-preparation_brand .lm-brand-prep-card__status,
body.tax-preparation_brand .lm-service-list-card__status{
  color: #7b674a !important;
}

body.tax-preparation_brand .lm-brand-prep-card__divider,
body.tax-preparation_brand .lm-service-list-card__divider{
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(123, 103, 74, 0.30) 18%,
    rgba(123, 103, 74, 0.30) 82%,
    transparent 100%
  ) !important;
}

/* 03. Single препарата: hero и тело как единая чистая молочная поверхность */
body.single-preparations .lm-prep-hero{
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.00) 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 252, 249, 0.92) 100%) !important;
  border-color: rgba(216, 195, 163, 0.22) !important;
  box-shadow:
    0 18px 48px rgba(43, 47, 42, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-preparations .lm-prep-info-card{
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 252, 249, 0.90) 100%) !important;
  border: 0 !important;
  border-radius: 0 0 28px 28px !important;
  box-shadow: none !important;
}

body.single-preparations .lm-prep-description,
body.single-preparations .lm-prep-content-sections,
body.single-preparations .lm-prep-section-text,
body.single-preparations .lm-prep-description p,
body.single-preparations .lm-prep-section-text p{
  color: #5f5850 !important;
}

/* 04. Фото препарата: убираем лишнюю рамку/контур, чтобы картинка растворялась в кремовой зоне */
body.single-preparations .lm-prep-hero__media{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-preparations .lm-prep-hero__media img{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* 05. Price panel single-preparations: один в один по тону с услугами */
body.single-preparations .lm-prep-price-panel,
body.single-preparation .lm-prep-price-panel{
  background-color: #faf2e6 !important;
  background-image: linear-gradient(180deg, #ffffff 0%, #faf2e6 100%) !important;
  border-color: rgba(181, 151, 106, 0.54) !important;
  box-shadow:
    0 16px 38px rgba(43, 47, 42, 0.080),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.single-preparations .lm-prep-price-panel__label,
body.single-preparations .lm-prep-price-panel__value,
body.single-preparations .lm-prep-price-panel__status,
body.single-preparations .lm-prep-price-panel__request,
body.single-preparations .lm-prep-price-panel strong,
body.single-preparation .lm-prep-price-panel__label,
body.single-preparation .lm-prep-price-panel__value,
body.single-preparation .lm-prep-price-panel__status,
body.single-preparation .lm-prep-price-panel__request,
body.single-preparation .lm-prep-price-panel strong{
  color: #7b674a !important;
}

body.single-preparations .lm-prep-price-panel__value,
body.single-preparation .lm-prep-price-panel__value{
  color: #6b5739 !important;
}

body.single-preparations .lm-prep-price-panel__divider,
body.single-preparation .lm-prep-price-panel__divider{
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(123, 103, 74, 0.30) 18%,
    rgba(123, 103, 74, 0.30) 82%,
    transparent 100%
  ) !important;
}

body.single-preparations .lm-prep-price-panel__status::before,
body.single-preparations .lm-prep-price-panel__status::after,
body.single-preparation .lm-prep-price-panel__status::before,
body.single-preparation .lm-prep-price-panel__status::after{
  background: rgba(123, 103, 74, 0.34) !important;
}

/* 06. Кнопки single-preparations: возвращаем светлый champagne, как в услугах */
body.single-preparations .lm-prep-btn--dark,
body.single-preparations .lm-prep-btn.lm-btn-primary{
  background: linear-gradient(180deg, #fffdf8 0%, #eadbc5 100%) !important;
  color: #4a4032 !important;
  border: 1px solid rgba(169, 141, 87, 0.55) !important;
  box-shadow:
    0 10px 26px rgba(75, 69, 56, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

body.single-preparations .lm-prep-btn--dark:hover,
body.single-preparations .lm-prep-btn.lm-btn-primary:hover{
  background: linear-gradient(180deg, #ffffff 0%, #e4d1b2 100%) !important;
  color: #3f3528 !important;
  box-shadow:
    0 16px 38px rgba(75, 69, 56, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.95) !important;
}

body.single-preparations .lm-prep-btn--light,
body.single-preparations .lm-prep-btn.lm-btn-secondary{
  background: linear-gradient(180deg, #ffffff 0%, #fffefa 100%) !important;
  color: #4a463f !important;
  border: 1px solid rgba(190,174,145,0.48) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.045), inset 0 1px 0 rgba(255,255,255,0.78) !important;
}

/* 07. Честный знак в анонсе препарата: справа, шириной как колонка кнопок, текст обтекает */
body.single-preparations .lm-prep-hero__announcement{
  color: #7b674a !important;
}

body.single-preparations .lm-prep-hero__announcement::after{
  content: "" !important;
  display: block !important;
  clear: both !important;
}

body.single-preparations .lm-prep-chestny-sign{
  float: right !important;
  width: 210px !important;
  max-width: 38% !important;
  margin: 2px 0 12px 24px !important;
  color: #7b674a !important;
  opacity: 0.72 !important;
}

body.single-preparations .lm-prep-chestny-sign svg{
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

body.single-preparations .lm-prep-chestny-sign path{
  fill: currentColor !important;
}

@media (max-width: 767px){
  body.single-preparations .lm-prep-chestny-sign{
    float: none !important;
    width: min(210px, 78vw) !important;
    max-width: 100% !important;
    margin: 0 auto 14px !important;
  }
}

/* =========================================================
   ЛИДАМЕД — PREPARATIONS FINAL MICRO POLISH STEP 2
   Подложка single-препарата, кабинеты и знак маркировки.
   Только визуал single-preparations. Без услуг, sticky и логики.
   ========================================================= */

/* 01. Общая внутренняя подложка препарата — как в услугах: видимая молочная карта, не сливается с фоном */
body.single-preparations .lm-prep-info-card{
  background:
    linear-gradient(180deg, #fffefd 0%, var(--lm-lux-surface-powder, #fbf6f2) 100%) !important;
  border: 1px solid var(--lm-lux-line, rgba(205, 184, 154, 0.32)) !important;
  border-top: 0 !important;
  border-radius: 0 0 28px 28px !important;
  box-shadow:
    var(--lm-lux-shadow-card, 0 18px 46px rgba(43, 47, 42, 0.075)),
    var(--lm-lux-inset, inset 0 1px 0 rgba(255, 255, 255, 0.92)) !important;
  color: var(--lm-lux-text-soft, #3d403a) !important;
}

body.single-preparations .lm-prep-description,
body.single-preparations .lm-prep-content-sections,
body.single-preparations .lm-prep-content-section,
body.single-preparations .lm-prep-section-text,
body.single-preparations .lm-prep-attributes,
body.single-preparations .lm-faq-block,
body.single-preparations .lm-faq-block--inside,
body.single-preparations .lm-cabinets-linked-block--inside,
body.single-preparations .lm-specialists-linked-block--inside,
body.single-preparations .lm-single-promotion__linked-block{
  background: transparent !important;
  box-shadow: none !important;
}

body.single-preparations .lm-prep-description p,
body.single-preparations .lm-prep-content-sections p,
body.single-preparations .lm-prep-content-section p,
body.single-preparations .lm-prep-section-text p,
body.single-preparations .lm-prep-description li,
body.single-preparations .lm-prep-content-sections li,
body.single-preparations .lm-prep-section-text li{
  color: var(--lm-lux-muted, #68635c) !important;
}

/* 02. Кабинеты внутри препарата — убираем серый низ, делаем как в услугах */
body.single-preparations .lm-cabinets-linked-block--inside .lm-cabinet-card,
body.single-preparations .lm-cabinets-grid .lm-cabinet-card{
  background:
    linear-gradient(180deg, var(--lm-lux-surface, #ffffff) 0%, var(--lm-lux-surface-milk, #fffdf9) 100%) !important;
  border: 1px solid var(--lm-lux-line-soft, rgba(205, 184, 154, 0.20)) !important;
  box-shadow:
    var(--lm-lux-shadow-soft, 0 14px 34px rgba(43, 47, 42, 0.055)),
    var(--lm-lux-inset, inset 0 1px 0 rgba(255, 255, 255, 0.92)) !important;
  color: var(--lm-lux-text, #252826) !important;
  overflow: hidden !important;
}

body.single-preparations .lm-cabinets-linked-block--inside .lm-cabinet-card:hover,
body.single-preparations .lm-cabinets-grid .lm-cabinet-card:hover{
  border-color: var(--lm-lux-line, rgba(205, 184, 154, 0.32)) !important;
  box-shadow:
    var(--lm-lux-shadow-card, 0 18px 46px rgba(43, 47, 42, 0.075)),
    var(--lm-lux-inset, inset 0 1px 0 rgba(255, 255, 255, 0.92)) !important;
}

body.single-preparations .lm-cabinet-card__body{
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-lux-surface-milk, #fffdf9) 100%) !important;
  border-top: 1px solid var(--lm-lux-line-soft, rgba(205, 184, 154, 0.20)) !important;
  box-shadow: none !important;
}

body.single-preparations .lm-cabinet-card__title{
  color: var(--lm-lux-text, #252826) !important;
  background: transparent !important;
}

body.single-preparations .lm-cabinet-card__text{
  color: var(--lm-lux-muted, #68635c) !important;
}

body.single-preparations .lm-cabinet-card__image-wrap,
body.single-preparations .lm-cabinet-card__image--empty{
  background:
    linear-gradient(180deg, var(--lm-lux-surface-milk, #fffdf9) 0%, var(--lm-lux-surface-pearl, #f7f0eb) 100%) !important;
  border-color: var(--lm-lux-line-soft, rgba(205, 184, 154, 0.20)) !important;
}

/* 03. Честный знак — в тон кнопки “Записаться”, мягче и без лишнего акцента */
body.single-preparations .lm-prep-chestny-sign{
  color: #a99172 !important;
  opacity: 0.54 !important;
  filter: none !important;
}

body.single-preparations .lm-prep-chestny-sign svg,
body.single-preparations .lm-prep-chestny-sign path{
  fill: currentColor !important;
}

body.single-preparations .lm-prep-chestny-sign:hover{
  opacity: 0.64 !important;
}

/* =========================================================
   ЛИДАМЕД — PEARL MILK UNIFIED POLISH
   Единая молочно-жемчужная тональность: услуги + препараты + левое меню
   Только визуал: фон, цвет, контур, тень, микротипографика меню.
   ========================================================= */

:root{
  --lm-pearl-page: #fbfaf6;
  --lm-pearl-page-soft: #fdfbf7;
  --lm-pearl-shell: #fffdf8;
  --lm-pearl-shell-2: #fffaf3;
  --lm-pearl-card: #ffffff;
  --lm-pearl-card-soft: #fffefa;
  --lm-pearl-hover: #f6eddd;
  --lm-pearl-hover-soft: #fbf4e8;
  --lm-pearl-line: rgba(197, 169, 120, 0.34);
  --lm-pearl-line-soft: rgba(197, 169, 120, 0.20);
  --lm-pearl-line-strong: rgba(181, 151, 106, 0.52);
  --lm-pearl-ink: #252826;
  --lm-pearl-ink-soft: #464039;
  --lm-pearl-muted: #665f55;
  --lm-pearl-phone: #7b674a;
  --lm-pearl-phone-soft: #927d5e;
  --lm-pearl-shadow: 0 22px 58px rgba(43, 47, 42, 0.060);
  --lm-pearl-shadow-soft: 0 14px 34px rgba(43, 47, 42, 0.045);
  --lm-pearl-inset: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

/* 01. Единая сцена услуг и препаратов: без серости и без бежевой ванили */
body.single-uslugi,
body.single-preparations,
body.tax-service_category,
body.tax-preparation_brand,
body.post-type-archive-uslugi,
body.post-type-archive-preparations{
  background: #ffffff !important;
  color: var(--lm-pearl-ink) !important;
}

body.single-uslugi main.site-main,
body.single-preparations main.site-main,
body.tax-service_category main.site-main,
body.tax-preparation_brand main.site-main,
body.post-type-archive-uslugi main.site-main,
body.post-type-archive-preparations main.site-main{
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 236, 226, 0.22), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, var(--lm-pearl-page-soft) 48%, #ffffff 100%) !important;
}

/* 02. Основной холст single: молочно-жемчужный стандарт */
body.single-uslugi .lm-single-main,
body.single-preparations .lm-single-main{
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 86% 16%, rgba(248, 242, 232, 0.34) 0%, rgba(248, 242, 232, 0) 38%),
    linear-gradient(180deg, #ffffff 0%, var(--lm-pearl-page-soft) 52%, #ffffff 100%) !important;
  border-color: var(--lm-pearl-line-soft) !important;
  box-shadow: var(--lm-pearl-shadow), var(--lm-pearl-inset) !important;
}

body.single-uslugi .lm-service-info-card,
body.single-preparations .lm-prep-info-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(253,251,247,0.92) 52%, rgba(255,250,243,0.88) 100%) !important;
  border-color: var(--lm-pearl-line-soft) !important;
  box-shadow: none !important;
  color: var(--lm-pearl-ink-soft) !important;
}

body.single-uslugi .lm-service-description,
body.single-uslugi .lm-service-description--first,
body.single-uslugi .lm-service-content-sections,
body.single-uslugi .lm-single-entry,
body.single-uslugi .lm-single-entry__summary,
body.single-uslugi .lm-single-entry__content,
body.single-preparations .lm-prep-description,
body.single-preparations .lm-prep-content-sections,
body.single-preparations .lm-prep-content-section,
body.single-preparations .lm-prep-section-text,
body.single-preparations .lm-prep-attributes{
  background: transparent !important;
  color: var(--lm-pearl-ink-soft) !important;
  box-shadow: none !important;
}

body.single-uslugi .lm-service-description p,
body.single-uslugi .lm-service-content-sections p,
body.single-uslugi .lm-single-entry__content p,
body.single-uslugi .lm-service-description li,
body.single-uslugi .lm-service-content-sections li,
body.single-preparations .lm-prep-description p,
body.single-preparations .lm-prep-content-sections p,
body.single-preparations .lm-prep-section-text p,
body.single-preparations .lm-prep-description li,
body.single-preparations .lm-prep-content-sections li,
body.single-preparations .lm-prep-section-text li{
  color: var(--lm-pearl-muted) !important;
}

/* 03. Hero и price panel: одна тональность в услугах и препаратах */
body.single-uslugi .lm-prep-hero,
body.single-uslugi .lm-uslugi-prep-hero,
body.single-uslugi .lm-service-hero,
body.single-preparations .lm-prep-hero{
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-pearl-shell) 62%, var(--lm-pearl-shell-2) 100%) !important;
  border-color: var(--lm-pearl-line-soft) !important;
  color: var(--lm-pearl-ink) !important;
}

body.single-uslugi .lm-prep-price-panel,
body.single-uslugi .lm-uslugi-price-panel,
body.single-uslugi .lm-service-price-panel,
body.single-preparations .lm-prep-price-panel,
body.tax-service_category .lm-taxonomy-services .lm-service-list-card__side,
body.tax-preparation_brand .lm-brand-prep-card__side,
body.tax-preparation_brand .lm-service-list-card__side{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf8 48%, #fbf3e6 100%) !important;
  border: 1px solid var(--lm-pearl-line-strong) !important;
  box-shadow:
    0 16px 38px rgba(43, 47, 42, 0.065),
    var(--lm-pearl-inset) !important;
  color: var(--lm-pearl-phone) !important;
}

body.single-uslugi .lm-prep-price-panel__label,
body.single-uslugi .lm-uslugi-price-panel__label,
body.single-uslugi .lm-service-price-panel__label,
body.single-uslugi .lm-prep-price-panel__status,
body.single-uslugi .lm-uslugi-price-panel__status,
body.single-uslugi .lm-service-price-panel__status,
body.single-preparations .lm-prep-price-panel__label,
body.single-preparations .lm-prep-price-panel__status,
body.single-preparations .lm-prep-price-panel__request,
body.tax-service_category .lm-service-list-card__status,
body.tax-preparation_brand .lm-brand-prep-card__status,
body.tax-preparation_brand .lm-service-list-card__status{
  color: var(--lm-pearl-phone) !important;
}

body.single-uslugi .lm-prep-price-panel__value,
body.single-uslugi .lm-uslugi-price-panel__value,
body.single-uslugi .lm-service-price-panel__value,
body.single-uslugi .lm-prep-price-panel strong,
body.single-uslugi .lm-uslugi-price-panel strong,
body.single-uslugi .lm-service-price-panel strong,
body.single-preparations .lm-prep-price-panel__value,
body.single-preparations .lm-prep-price-panel strong,
body.tax-service_category .lm-service-list-card__price,
body.tax-service_category .lm-service-list-card__price span,
body.tax-service_category .lm-service-list-card__price strong,
body.tax-preparation_brand .lm-brand-prep-card__price,
body.tax-preparation_brand .lm-brand-prep-card__price span,
body.tax-preparation_brand .lm-brand-prep-card__price strong{
  color: var(--lm-pearl-phone) !important;
}

body.single-uslugi .lm-prep-price-panel__divider,
body.single-uslugi .lm-service-price-panel__divider,
body.single-preparations .lm-prep-price-panel__divider,
body.tax-service_category .lm-service-list-card__divider,
body.tax-preparation_brand .lm-brand-prep-card__divider,
body.tax-preparation_brand .lm-service-list-card__divider{
  background:
    linear-gradient(90deg, transparent 0%, rgba(123, 103, 74, 0.28) 22%, rgba(123, 103, 74, 0.28) 78%, transparent 100%) !important;
}

/* 04. Карточки внутри холста: белее подложки, чтобы не сливались */
body.single-uslugi .lm-faq-question,
body.single-uslugi .lm-faq-item,
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card,
body.single-uslugi .lm-linked-card,
body.single-uslugi .lm-specialist-card,
body.single-uslugi .lm-cabinet-card,
body.single-uslugi .lm-single-related-article-card,
body.single-preparations .lm-faq-question,
body.single-preparations .lm-faq-item,
body.single-preparations .lm-single-promotion__linked-list .lm-linked-card,
body.single-preparations .lm-linked-card,
body.single-preparations .lm-specialist-card,
body.single-preparations .lm-cabinet-card,
body.single-preparations .lm-single-related-article-card,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card,
body.post-type-archive-uslugi .lm-services-category-card__inner,
body.post-type-archive-preparations .lm-brand-card__inner{
  background:
    linear-gradient(180deg, var(--lm-pearl-card) 0%, var(--lm-pearl-card-soft) 100%) !important;
  border-color: var(--lm-pearl-line) !important;
  box-shadow: var(--lm-pearl-shadow-soft), var(--lm-pearl-inset) !important;
  color: var(--lm-pearl-ink) !important;
}

/* 05. Левое меню: тот же молочно-жемчужный стандарт */
.lm-single-sidebar .lm-sidebar-box,
.lm-single-sidebar .lm-sidebar-menu{
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-pearl-shell) 52%, var(--lm-pearl-shell-2) 100%) !important;
  border: 1px solid var(--lm-pearl-line-soft) !important;
  box-shadow:
    0 18px 46px rgba(43, 47, 42, 0.055),
    var(--lm-pearl-inset) !important;
  color: var(--lm-pearl-ink) !important;
}

.lm-single-sidebar .lm-sidebar-title{
  color: var(--lm-pearl-ink) !important;
}

.lm-single-sidebar .lm-sidebar-link,
.lm-single-sidebar .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-group__items a,
.lm-sidebar-menu a{
  color: var(--lm-pearl-muted) !important;
}

/* Увеличиваем второй уровень: категории услуг и бренды препаратов */
.lm-single-sidebar .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-link--category{
  font-size: 17px !important;
  line-height: 1.34 !important;
  font-weight: 700 !important;
}

/* Обычные вложенные услуги/препараты оставляем аккуратными, но чуть читабельнее */
.lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category),
.lm-single-sidebar .lm-sidebar-group__items a:not(.lm-sidebar-link--category){
  font-size: 14px !important;
  line-height: 1.42 !important;
}

.lm-single-sidebar .lm-sidebar-link:hover,
.lm-single-sidebar .lm-sidebar-group__title:hover,
.lm-single-sidebar .lm-sidebar-group__items a:hover,
.lm-sidebar-menu a:hover{
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-pearl-hover-soft) 45%, var(--lm-pearl-hover) 100%) !important;
  color: #5c4f3b !important;
  border-color: var(--lm-pearl-line) !important;
  box-shadow:
    0 8px 20px rgba(75, 69, 56, 0.08),
    var(--lm-pearl-inset) !important;
}

.lm-single-sidebar .lm-sidebar-link.is-current,
.lm-single-sidebar .lm-sidebar-link.is-active,
.lm-single-sidebar .lm-sidebar-link.active,
.lm-single-sidebar .lm-sidebar-link.current,
.lm-single-sidebar .lm-sidebar-link[aria-current="page"],
.lm-single-sidebar .lm-sidebar-group__items a.is-current,
.lm-single-sidebar .lm-sidebar-group__items a.is-active,
.lm-single-sidebar .lm-sidebar-group__items a.active,
.lm-single-sidebar .lm-sidebar-group__items a.current,
.lm-single-sidebar .lm-sidebar-group__items a[aria-current="page"],
.lm-sidebar-menu .current-menu-item > a,
.lm-sidebar-menu .current_page_item > a,
.lm-sidebar-menu .active > a,
.lm-sidebar-menu a[aria-current="page"]{
  background:
    linear-gradient(180deg, #ffffff 0%, #fbf4e8 42%, #f2e5d1 100%) !important;
  color: #4f402b !important;
  border-color: rgba(181, 151, 106, 0.48) !important;
  box-shadow:
    0 10px 24px rgba(75, 69, 56, 0.11),
    var(--lm-pearl-inset) !important;
  font-weight: 700 !important;
}

/* 06. Честный знак: ещё спокойнее, в тон кнопки, без перетягивания внимания */
body.single-preparations .lm-prep-chestny-sign{
  color: #b8aa98 !important;
  opacity: 0.40 !important;
  filter: none !important;
}

body.single-preparations .lm-prep-chestny-sign svg,
body.single-preparations .lm-prep-chestny-sign path{
  fill: currentColor !important;
}

body.single-preparations .lm-prep-chestny-sign:hover{
  opacity: 0.50 !important;
}

@media (max-width: 767px){
  .lm-single-sidebar .lm-sidebar-group__title,
.lm-single-sidebar .lm-sidebar-link--category{
    font-size: 16px !important;
  }

  .lm-single-sidebar .lm-sidebar-group__items .lm-sidebar-link:not(.lm-sidebar-link--category),
.lm-single-sidebar .lm-sidebar-group__items a:not(.lm-sidebar-link--category){
    font-size: 14px !important;
  }
}

/* =========================================================
   ЛИДАМЕД — PEARL MILK FINAL FIX STEP 2
   Дожим: единая молочно-жемчужная подложка, низ холста,
   hover второй кнопки препарата, спокойный «Честный знак».
   Только визуал. Без PHP, sticky, сеток и логики.
   ========================================================= */

:root{
  --lm-pearl-page: #fbfaf6;
  --lm-pearl-page-soft: #fdfbf8;
  --lm-pearl-shell: #fffdf9;
  --lm-pearl-shell-2: #fffaf4;
  --lm-pearl-surface: #fffefa;
  --lm-pearl-surface-warm: #fffaf1;
  --lm-pearl-card: #ffffff;
  --lm-pearl-card-soft: #fffefa;
  --lm-pearl-hover: #f5ead8;
  --lm-pearl-hover-soft: #fbf3e6;
  --lm-pearl-line: rgba(197, 169, 120, 0.34);
  --lm-pearl-line-soft: rgba(197, 169, 120, 0.20);
  --lm-pearl-line-strong: rgba(181, 151, 106, 0.52);
  --lm-pearl-ink: #252826;
  --lm-pearl-ink-soft: #464039;
  --lm-pearl-muted: #665f55;
  --lm-pearl-phone: #7b674a;
  --lm-pearl-phone-soft: #927d5e;
  --lm-pearl-shadow: 0 22px 58px rgba(43, 47, 42, 0.060);
  --lm-pearl-shadow-soft: 0 14px 34px rgba(43, 47, 42, 0.045);
  --lm-pearl-inset: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

/* 01. Единый внешний фон услуг и препаратов: без холодной серости */
body.single-uslugi main.site-main,
body.single-preparations main.site-main,
body.tax-service_category main.site-main,
body.tax-preparation_brand main.site-main,
body.post-type-archive-uslugi main.site-main,
body.post-type-archive-preparations main.site-main{
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 236, 226, 0.18), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, var(--lm-pearl-page-soft) 52%, #ffffff 100%) !important;
}

/* 02. Главный холст single: общий молочно-жемчужный стандарт до самого низа */
body.single-uslugi .lm-single-main,
body.single-preparations .lm-single-main{
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 86% 12%, rgba(248, 242, 232, 0.24) 0%, rgba(248, 242, 232, 0) 40%),
    linear-gradient(180deg, #ffffff 0%, var(--lm-pearl-surface) 48%, var(--lm-pearl-surface-warm) 100%) !important;
  border-color: var(--lm-pearl-line-soft) !important;
  box-shadow: var(--lm-pearl-shadow), var(--lm-pearl-inset) !important;
  background-clip: padding-box !important;
}

/* Убираем пиксельные белые углы на нижнем скруглении в препаратах */
body.single-preparations .lm-prep-info-card,
body.single-preparations .lm-single-main,
body.single-uslugi .lm-service-info-card,
body.single-uslugi .lm-single-main{
  background-clip: padding-box !important;
}

body.single-preparations .lm-prep-info-card{
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,253,249,0.94) 52%, rgba(255,250,244,0.90) 100%) !important;
  border-color: var(--lm-pearl-line-soft) !important;
}

body.single-uslugi .lm-service-info-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,253,249,0.94) 52%, rgba(255,250,244,0.90) 100%) !important;
  border-color: var(--lm-pearl-line-soft) !important;
}

/* 03. Верхний анонс препарата: убираем излишний беж, делаем ближе к верхней hero-зоне */
body.single-preparations .lm-prep-hero,
body.single-uslugi .lm-prep-hero,
body.single-uslugi .lm-uslugi-prep-hero,
body.single-uslugi .lm-service-hero{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefa 58%, #fffaf4 100%) !important;
  border-color: var(--lm-pearl-line-soft) !important;
}

body.single-preparations .lm-prep-hero__announcement{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.74) 0%, rgba(255,253,249,0.56) 100%) !important;
  color: var(--lm-pearl-muted) !important;
}

body.single-preparations .lm-prep-hero__announcement p,
body.single-preparations .lm-prep-hero__announcement li{
  color: var(--lm-pearl-muted) !important;
}

/* 04. Price panel оставляем тёплой, но не уводим в тяжёлый беж */
body.single-uslugi .lm-prep-price-panel,
body.single-uslugi .lm-uslugi-price-panel,
body.single-uslugi .lm-service-price-panel,
body.single-preparations .lm-prep-price-panel,
body.tax-service_category .lm-taxonomy-services .lm-service-list-card__side,
body.tax-preparation_brand .lm-brand-prep-card__side,
body.tax-preparation_brand .lm-service-list-card__side{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf8 52%, #fbf4e8 100%) !important;
  border-color: var(--lm-pearl-line-strong) !important;
  color: var(--lm-pearl-phone) !important;
}

/* 05. Кнопки препарата: нижняя кнопка получает такой же выразительный hover, как в услугах */
body.single-preparations .lm-prep-btn--light,
body.single-preparations .lm-prep-btn.lm-btn-secondary{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefa 55%, #f8efe0 100%) !important;
  color: #4f4639 !important;
  border: 1px solid rgba(181, 151, 106, 0.46) !important;
  box-shadow:
    0 8px 22px rgba(75, 69, 56, 0.08),
    var(--lm-pearl-inset) !important;
}

body.single-preparations .lm-prep-btn--light:hover,
body.single-preparations .lm-prep-btn.lm-btn-secondary:hover,
body.single-preparations .lm-prep-hero__actions .lm-btn-secondary:hover{
  background:
    linear-gradient(180deg, #fffefa 0%, #f0e2cb 100%) !important;
  color: #3f3528 !important;
  border-color: rgba(169, 141, 87, 0.72) !important;
  box-shadow:
    0 15px 36px rgba(75, 69, 56, 0.16),
    var(--lm-pearl-inset) !important;
}

/* 06. Внутренние карточки и блоки: белее холста, без серых низов */
body.single-uslugi .lm-faq-question,
body.single-uslugi .lm-faq-item,
body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card,
body.single-uslugi .lm-linked-card,
body.single-uslugi .lm-specialist-card,
body.single-uslugi .lm-cabinet-card,
body.single-uslugi .lm-single-related-article-card,
body.single-preparations .lm-faq-question,
body.single-preparations .lm-faq-item,
body.single-preparations .lm-single-promotion__linked-list .lm-linked-card,
body.single-preparations .lm-linked-card,
body.single-preparations .lm-specialist-card,
body.single-preparations .lm-cabinet-card,
body.single-preparations .lm-single-related-article-card,
body.single-preparations .lm-cabinets-linked-block--inside .lm-cabinet-card,
body.single-preparations .lm-cabinets-grid .lm-cabinet-card,
body.single-uslugi .lm-cabinets-linked-block--inside .lm-cabinet-card,
body.single-uslugi .lm-cabinets-grid .lm-cabinet-card{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefa 100%) !important;
  border-color: var(--lm-pearl-line) !important;
  box-shadow: var(--lm-pearl-shadow-soft), var(--lm-pearl-inset) !important;
  color: var(--lm-pearl-ink) !important;
}

body.single-preparations .lm-cabinet-card__body,
body.single-uslugi .lm-cabinet-card__body{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefa 100%) !important;
  border-top: 1px solid rgba(197, 169, 120, 0.20) !important;
  color: var(--lm-pearl-ink) !important;
}

/* 07. Нижние связанные блоки услуг и препаратов: убираем холодный серый фон после FAQ */
body.single-uslugi .lm-single-promotion__linked-block,
body.single-preparations .lm-single-promotion__linked-block,
body.single-uslugi .lm-single-related-articles,
body.single-preparations .lm-single-related-articles,
body.single-uslugi .lm-faq-block--inside,
body.single-preparations .lm-faq-block--inside,
body.single-uslugi .lm-specialists-linked-block--inside,
body.single-preparations .lm-specialists-linked-block--inside,
body.single-uslugi .lm-cabinets-linked-block--inside,
body.single-preparations .lm-cabinets-linked-block--inside{
  background: transparent !important;
  box-shadow: none !important;
}

/* 08. Левое меню: единая молочно-жемчужная матовая панель */
.lm-single-sidebar .lm-sidebar-box,
.lm-single-sidebar .lm-sidebar-menu{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf9 54%, #fffaf4 100%) !important;
  border-color: var(--lm-pearl-line-soft) !important;
  color: var(--lm-pearl-ink) !important;
}

.lm-single-sidebar .lm-sidebar-link:hover,
.lm-single-sidebar .lm-sidebar-group__title:hover,
.lm-single-sidebar .lm-sidebar-group__items a:hover,
.lm-sidebar-menu a:hover{
  background:
    linear-gradient(180deg, #ffffff 0%, #fbf3e6 45%, #f5ead8 100%) !important;
  color: #5c4f3b !important;
  border-color: rgba(181, 151, 106, 0.42) !important;
}

/* 09. Честный знак: ещё на полтона спокойнее */
body.single-preparations .lm-prep-chestny-sign{
  color: #c6baa8 !important;
  opacity: 0.32 !important;
  filter: none !important;
}

body.single-preparations .lm-prep-chestny-sign svg,
body.single-preparations .lm-prep-chestny-sign path{
  fill: currentColor !important;
}

body.single-preparations .lm-prep-chestny-sign:hover{
  opacity: 0.42 !important;
}


/* =========================================================
   ЛИДАМЕД — PREPARATIONS BOTTOM RADIUS FINAL FIX
   Убирает пиксельные острые углы внизу single-препарата.
   Только single-preparations. Без услуг, меню, sticky, PHP/JS.
   ========================================================= */

body.single-preparations .lm-single-main{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-preparations .lm-prep-single-entry{
  position: relative !important;
  z-index: 1 !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 86% 12%, rgba(248, 242, 232, 0.22) 0%, rgba(248, 242, 232, 0) 40%),
    linear-gradient(180deg, #ffffff 0%, var(--lm-pearl-surface, #fffdf8) 48%, var(--lm-pearl-surface-warm, #fffaf4) 100%) !important;
  border: 1px solid var(--lm-pearl-line-soft, rgba(197, 169, 120, 0.24)) !important;
  box-shadow:
    var(--lm-pearl-shadow, 0 18px 48px rgba(43, 47, 42, 0.075)),
    var(--lm-pearl-inset, inset 0 1px 0 rgba(255, 255, 255, 0.82)) !important;
  background-clip: padding-box !important;
}

body.single-preparations .lm-prep-hero{
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--lm-pearl-line-soft, rgba(197, 169, 120, 0.24)) !important;
  box-shadow: none !important;
}

body.single-preparations .lm-prep-info-card{
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,253,249,0.90) 52%, rgba(255,250,244,0.86) 100%) !important;
  background-clip: padding-box !important;
}

body.single-preparations .lm-prep-single-entry::before,
body.single-preparations .lm-prep-single-entry::after,
body.single-preparations .lm-prep-info-card::before,
body.single-preparations .lm-prep-info-card::after{
  content: none !important;
  display: none !important;
}

@media (max-width: 767px){
  body.single-preparations .lm-prep-single-entry{
    border-radius: 22px !important;
  }
}
/* =========================================================
   ЛИДАМЕД — MOBILE SINGLE PEARL POLISH
   Мобилка услуг и препаратов: единые поля, переносы, карточки
   связанных блоков в одну колонку, аккуратный «Честный знак».
   Только mobile <= 767px. Без PHP/JS/sticky/header/footer.
   ========================================================= */

@media (max-width: 767px){

  /* 01. Единая рабочая ширина внутренних single-страниц */
  body.single-uslugi .lm-single-main,
body.single-preparations .lm-single-main,
body.single-preparations .lm-prep-single-entry{
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-uslugi .lm-prep-hero,
body.single-uslugi .lm-uslugi-prep-hero,
body.single-uslugi .lm-service-hero,
body.single-preparations .lm-prep-hero{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.single-uslugi .lm-service-info-card,
body.single-preparations .lm-prep-info-card{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.single-uslugi .lm-service-content-sections,
body.single-uslugi .lm-service-description,
body.single-preparations .lm-prep-content-sections,
body.single-preparations .lm-prep-description{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 02. Русские переносы и нормальное заполнение узкой строки */
  body.single-uslugi .lm-service-description,
body.single-uslugi .lm-service-description p,
body.single-uslugi .lm-service-section-text,
body.single-uslugi .lm-service-section-text p,
body.single-uslugi .lm-service-section-text li,
body.single-preparations .lm-prep-description,
body.single-preparations .lm-prep-description p,
body.single-preparations .lm-prep-section-text,
body.single-preparations .lm-prep-section-text p,
body.single-preparations .lm-prep-section-text li,
body.single-preparations .lm-prep-hero__announcement,
body.single-preparations .lm-prep-hero__announcement p,
body.single-uslugi .lm-linked-card__title,
body.single-uslugi .lm-linked-card__text,
body.single-uslugi .lm-related-mini-card__title,
body.single-uslugi .lm-related-mini-card__text,
body.single-uslugi .lm-single-related-article-card__title,
body.single-preparations .lm-linked-card__title,
body.single-preparations .lm-linked-card__text,
body.single-preparations .lm-related-mini-card__title,
body.single-preparations .lm-related-mini-card__text,
body.single-preparations .lm-single-related-article-card__title{
    -webkit-hyphens: auto !important;
    hyphens: auto !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    text-wrap: pretty;
  }

  /* 03. Специалисты: шире и аккуратно по центру на мобилке */
  body.single-uslugi .lm-specialists,
body.single-preparations .lm-specialists,
body.single-uslugi .lm-specialists-linked-block--inside,
body.single-preparations .lm-specialists-linked-block--inside{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.single-uslugi .lm-specialists .lm-specialist-card,
body.single-preparations .lm-specialists .lm-specialist-card,
body.single-uslugi .lm-specialist-card,
body.single-preparations .lm-specialist-card{
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-uslugi .lm-specialists .lm-specialist-card__body,
body.single-preparations .lm-specialists .lm-specialist-card__body,
body.single-uslugi .lm-specialist-card__body,
body.single-preparations .lm-specialist-card__body{
    text-align: center !important;
  }

  body.single-uslugi .lm-specialists .lm-specialist-card__title,
body.single-uslugi .lm-specialists .lm-specialist-card__position,
body.single-preparations .lm-specialists .lm-specialist-card__title,
body.single-preparations .lm-specialists .lm-specialist-card__position,
body.single-uslugi .lm-specialist-card__title,
body.single-uslugi .lm-specialist-card__position,
body.single-preparations .lm-specialist-card__title,
body.single-preparations .lm-specialist-card__position{
    text-align: center !important;
  }

  /* 04. FAQ: та же рабочая ширина, без излишнего сжатия */
  body.single-uslugi .lm-faq-block--inside,
body.single-preparations .lm-faq-block--inside{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.single-uslugi .lm-faq-item,
body.single-preparations .lm-faq-item,
body.single-uslugi .lm-faq-question,
body.single-preparations .lm-faq-question{
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-uslugi .lm-faq-question,
body.single-preparations .lm-faq-question{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* 05. Нижние связанные блоки: на мобилке фото сверху, текст снизу */
  body.single-uslugi .lm-single-promotion__linked-block,
body.single-preparations .lm-single-promotion__linked-block,
body.single-uslugi .lm-related-section,
body.single-preparations .lm-related-section,
body.single-uslugi .lm-service-related,
body.single-preparations .lm-prep-related{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.single-uslugi .lm-single-promotion__linked-list,
body.single-preparations .lm-single-promotion__linked-list,
body.single-uslugi .lm-related-mini-grid,
body.single-preparations .lm-related-mini-grid,
body.single-uslugi .lm-service-related__grid,
body.single-preparations .lm-prep-related__grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card,
body.single-preparations .lm-single-promotion__linked-list .lm-linked-card,
body.single-uslugi .lm-related-mini-card,
body.single-preparations .lm-related-mini-card{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 12px !important;
    gap: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card__image-wrap,
body.single-preparations .lm-single-promotion__linked-list .lm-linked-card__image-wrap,
body.single-uslugi .lm-related-mini-card__image-wrap,
body.single-preparations .lm-related-mini-card__image-wrap,
body.single-uslugi .lm-linked-card__image-wrap,
body.single-preparations .lm-linked-card__image-wrap{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 0 12px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card__image-wrap img,
body.single-preparations .lm-single-promotion__linked-list .lm-linked-card__image-wrap img,
body.single-uslugi .lm-related-mini-card__image,
body.single-preparations .lm-related-mini-card__image,
body.single-uslugi .lm-linked-card__image,
body.single-preparations .lm-linked-card__image{
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card__body,
body.single-preparations .lm-single-promotion__linked-list .lm-linked-card__body,
body.single-uslugi .lm-related-mini-card__body,
body.single-preparations .lm-related-mini-card__body{
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card__title,
body.single-preparations .lm-single-promotion__linked-list .lm-linked-card__title,
body.single-uslugi .lm-related-mini-card__title,
body.single-preparations .lm-related-mini-card__title{
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.28 !important;
  }

  /* 06. Полезные материалы: гарантированно одна колонка на телефоне */
  body.single-uslugi .lm-single-related-articles__grid,
body.single-preparations .lm-single-related-articles__grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-uslugi .lm-single-related-article-card,
body.single-preparations .lm-single-related-article-card{
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 07. «Честный знак» на мобилке — как тихий водяной знак под текстом */
  body.single-preparations .lm-prep-hero__announcement{
    position: relative !important;
    overflow: hidden !important;
    padding: 16px 14px !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(255,253,249,0.64) 100%) !important;
  }

  body.single-preparations .lm-prep-chestny-sign{
    position: absolute !important;
    z-index: 0 !important;
    right: 8px !important;
    top: 50% !important;
    width: min(82%, 270px) !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    color: #cfc6b8 !important;
    opacity: 0.13 !important;
    pointer-events: none !important;
  }

  body.single-preparations .lm-prep-chestny-sign svg{
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  body.single-preparations .lm-prep-hero__announcement > p,
body.single-preparations .lm-prep-hero__announcement > ul,
body.single-preparations .lm-prep-hero__announcement > ol,
body.single-preparations .lm-prep-hero__announcement > div:not(.lm-prep-chestny-sign){
    position: relative !important;
    z-index: 1 !important;
  }
}


/* =========================================================
   ЛИДАМЕД — MOBILE SINGLE POLISH STEP 2
   Дожим мобилки: ширина связанных блоков в услугах,
   «Честный знак» водяным знаком в препаратах,
   убираем белую полосу под мобильным бургером.
   Только mobile <= 767px. Без PHP/JS/sticky-логики.
   ========================================================= */

@media (max-width: 767px){

  /* 01. Услуги: связанные блоки после FAQ — та же рабочая ширина, что FAQ/специалисты/кабинеты */
  body.single-uslugi .lm-single-promotion__linked-block,
body.single-uslugi .lm-service-related,
body.single-uslugi .lm-service-recommended,
body.single-uslugi .lm-related-section,
body.single-uslugi .lm-single-related-articles{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-uslugi .lm-single-promotion__linked-list,
body.single-uslugi .lm-related-mini-grid,
body.single-uslugi .lm-service-related__grid,
body.single-uslugi .lm-service-recommended__grid,
body.single-uslugi .lm-single-related-articles__grid{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card,
body.single-uslugi .lm-related-mini-card,
body.single-uslugi .lm-single-related-article-card{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* 02. Препараты: «Честный знак» возвращаем как тихий силуэт под анонсом */
  body.single-preparations .lm-prep-hero,
body.single-preparations .lm-prep-hero__top,
body.single-preparations .lm-prep-hero__announcement{
    position: relative !important;
  }

  body.single-preparations .lm-prep-hero__announcement{
    overflow: hidden !important;
    isolation: isolate !important;
  }

  body.single-preparations .lm-prep-chestny-sign{
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    z-index: 0 !important;
    right: 10px !important;
    top: 50% !important;
    bottom: auto !important;
    width: min(78vw, 250px) !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    color: #aa9b88 !important;
    opacity: 0.20 !important;
    filter: none !important;
    pointer-events: none !important;
  }

  body.single-preparations .lm-prep-chestny-sign svg,
body.single-preparations .lm-prep-chestny-sign path{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    fill: currentColor !important;
  }

  body.single-preparations .lm-prep-hero__announcement > *:not(.lm-prep-chestny-sign),
body.single-preparations .lm-prep-hero__text,
body.single-preparations .lm-prep-description,
body.single-preparations .lm-prep-hero p,
body.single-preparations .lm-prep-hero ul,
body.single-preparations .lm-prep-hero ol{
    position: relative !important;
    z-index: 1 !important;
  }

  /* 03. Мобильный бургер: убираем белую полосу-подложку под овальной кнопкой */
  .lm-mobile-nav-wrap,
.lm-mobile-nav-wrap.is-fixed{
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  .lm-mobile-nav-shell{
    background: transparent !important;
  }

  .lm-mobile-panel,
.lm-mobile-panel.is-open{
    background: rgba(255, 255, 255, 0.98) !important;
  }
}


/* =========================================================
   ЛИДАМЕД — MOBILE SINGLE POLISH STEP 3
   1) Услуги: возвращаем нормальные внутренние поля у связанных блоков.
   2) Препараты: мобильный «Честный знак» отдельной строкой перед анонсом.
   Только mobile <= 767px. Без PHP/JS/sticky/header/footer.
   ========================================================= */

@media (max-width: 767px){

  /* 01. Услуги: нижние связанные блоки не до краёв подложки, а как FAQ/кабинеты */
  body.single-uslugi .lm-single-promotion__linked-block,
body.single-uslugi .lm-service-related,
body.single-uslugi .lm-service-recommended,
body.single-uslugi .lm-related-section,
body.single-uslugi .lm-single-related-articles{
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-uslugi .lm-single-promotion__linked-list,
body.single-uslugi .lm-related-mini-grid,
body.single-uslugi .lm-service-related__grid,
body.single-uslugi .lm-service-recommended__grid,
body.single-uslugi .lm-single-related-articles__grid{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-uslugi .lm-single-promotion__linked-list .lm-linked-card,
body.single-uslugi .lm-related-mini-card,
body.single-uslugi .lm-single-related-article-card{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* 02. Препараты: честный знак НЕ водяным знаком, а отдельной строкой перед анонсом */
  body.single-preparations .lm-prep-hero__announcement{
    position: relative !important;
    overflow: visible !important;
    isolation: auto !important;
    padding: 16px 14px !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(255,253,249,0.70) 100%) !important;
  }

  body.single-preparations .lm-prep-chestny-sign{
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1 !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 0 1em !important;
    padding: 0 !important;
    transform: none !important;
    color: #aa9b88 !important;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: none !important;
  }

  body.single-preparations .lm-prep-chestny-sign svg{
    display: none !important;
  }

  body.single-preparations .lm-prep-chestny-sign::before{
    content: "" !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 5 / 1 !important;
    background: #aa9b88 !important;
    opacity: 0.44 !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20id=%22Layer_1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20version=%221.1%22%20viewBox=%220%200%20400%2080%22%3E%3Cdefs%3E%3Cstyle%3E%0A%20%20%20%20%20%20.st0%20%7B%0A%20%20%20%20%20%20%20%20fill:%20%2363666a;%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%3C/style%3E%3C/defs%3E%3Cpath%20class=%22st0%22%20d=%22M15,70h12v10h-12c-8.3,0-15-6.7-15-15v-12h10v12c0,2.8,2.2,5,5,5ZM10,15c0-2.8,2.2-5,5-5h12V0h-12C6.7,0,0,6.7,0,15v12h10v-12ZM135.2,27.3c3.6,1.9,9,1.3,11.5-2.1l-3.3-3c-2.3,3.2-7.3,2-7.1-2.1-.2-4.1,4.8-5.3,7.1-2.1l3.3-3c-3.4-4.5-11.8-4.1-14.7.8-2.3,3.8-1,9.5,3.1,11.4ZM104.1,23.4c.9,0,1.8-.2,2.9-.5v5h5.2v-15.7h-5.2v6.6c-2.1.8-4.9.6-4.7-2.4,0,0,0-4.2,0-4.2h-5.2v4.7c0,4.4,2.7,6.4,7.1,6.4ZM128.9,24h-7.9v-2.1h6.6v-3.8h-6.6v-1.8h7.6v-4h-12.8v15.7h13.1v-4ZM113.7,50.7l6.3-6.8v-5.4h-22v6.7h12l-5.4,5.9v5.4c3,0,8.4-.7,8.3,3-.4,5.4-10.4,2.9-13.3.7l-3.1,6.5c6.7,3.9,18.9,4.9,23.6-2.1,3.6-5.6.4-12.7-6.4-13.8ZM70,65c0,2.8-2.2,5-5,5h-12v10h12c8.3,0,15-6.7,15-15v-12h-10v12ZM65,0h-12v10h12c2.8,0,5,2.2,5,5v12h10v-12c0-8.3-6.7-15-15-15ZM59.9,23.7l-25.8,25.8-14.3-14.3-7.1,7.1,21.4,21.4,32.9-32.9-7.1-7.1ZM146.7,50h-11.7v-11.4h-8.6v30.5h8.6v-11.9h11.7v11.9h8.6v-30.5h-8.6v11.4ZM170.7,22.2h4.9v5.8h5.3v-15.7h-5.3v5.6h-4.9v-5.6h-5.3v15.7h5.3v-5.8ZM220,19.8v8.2h5.2v-15.7h-5l-5.4,8.2v-8.2h-5.2v15.7h5l5.4-8.2ZM205.9,12.3h-5.2v15.7h5.2v-15.7ZM217.3,11.4c3,0,4.9-.9,4.9-3.9h-3.5c0,1-.4,1.4-1.4,1.4-1,0-1.4-.4-1.4-1.4h-3.5c0,3,1.8,3.8,4.9,3.9ZM163,12.3h-14.4v4.1h4.6v11.6h5.2v-11.6h4.6v-4.1ZM225.7,38.5h-10.3l-10.7,14.4h-.2v-14.4h-8.6v30.5h8.6v-14.5l10.3,14.5h11.2l-12.1-15.8,11.7-14.7ZM188.4,44.6c1.2,2.2,1.8,4.8,1.8,7.9v16.5h-8.6v-6.7h-11.9v6.7h-8.5v-16.5c0-3.1.6-5.7,1.8-7.9,4.8-9,20.6-9,25.4,0ZM181.6,51.8c0-4.1-2-6.7-5.9-6.7-4,0-6,2.7-6,6.7,0,0,0,3.8,0,3.8h11.9v-3.8ZM197.4,26.5c-1.2,1-2.9,1.5-5,1.5h-7.8v-15.7h5.2v4.8c2.3,0,6.2-.2,7.8,1.3,2.3,1.7,2.1,6.5-.2,8.1ZM193.9,22.4c0-1.1-.6-1.6-1.8-1.6h-2.2v3.5h2.2c1.1,0,1.9-.8,1.8-1.9Z%22/%3E%3Cg%3E%3Cg%3E%3Cpath%20class=%22st0%22%20d=%22M327,48.4h-1.9v-2.2h-6.9v-11.2h2.2v9.2h3.1v-9.2h2.2v9.2h1.3v4.1Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M334.6,40.3v-1.5c.1,0,0,0,0,0l-.7,1.5-3.2,5.9h-2v-11.2h2.2v5.8l-.2,1.5h0l.7-1.6,3.2-5.8h2v11.2h-2.2v-5.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M342.3,34.7h2.1v1.2c2.5,0,3.8,2.1,3.7,4.5.1,2.4-1.1,4.7-3.7,4.7v1.4h-2.1v-1.4c-2.5,0-3.8-2.3-3.7-4.7-.1-2.4,1.2-4.5,3.7-4.5v-1.2ZM342.4,37.7c-1.5.2-1.6,1.3-1.6,2.8,0,1.3.2,2.8,1.6,3v-5.8ZM344.3,43.5c1.5-.1,1.6-1.6,1.6-3,0-1.6-.2-2.6-1.6-2.8v5.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M350.3,35.1c2.4-.3,5.9-.9,7.4,1.5,1.6,3.8-1.4,6.3-5.2,5.7v3.9h-2.2v-11.1ZM353.5,36.8c-.3,0-.8,0-1.1,0v3.6c1.1.1,2.5.2,3.1-.9.7-1.6-.3-2.9-2-2.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M360.2,40.6c-.1-2.8,1-5.9,4.2-5.8,3.2-.1,4.3,3.1,4.2,5.8,0,3.1-1,5.8-4.2,5.8-3.2.1-4.3-3.1-4.2-5.8ZM362.5,40.6c0,1.5,0,3.8,1.9,3.9,2,0,1.9-2.3,1.9-3.9,0-1.5,0-3.9-1.9-3.9-2,.1-1.8,2-1.9,3.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M378.7,37.6c0,1.2-.7,2.3-2,2.6h0c2.1.3,2.9,2.7,2,4.3-1.6,2.4-5,1.9-7.5,1.6v-11c2.5-.2,7.4-1.1,7.5,2.5ZM373.9,39.7c.3,0,.8,0,1,0,1.3-.3,2.2-1.8.9-2.7-.8-.4-1.9-.3-2.7-.2v3h.7ZM374.6,44.6c.7,0,1.5-.2,1.9-.9.4-.7.2-1.7-.6-2-.8-.4-1.9-.2-2.8-.3v3.1c.4.1,1,0,1.4,0Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M381.2,40.6c-.1-2.8,1-5.9,4.2-5.8,3.2-.1,4.3,3.1,4.2,5.8,0,3.1-1,5.8-4.2,5.8-3.2.1-4.3-3.1-4.2-5.8ZM383.6,40.6c0,1.5,0,3.8,1.9,3.9,2,0,1.9-2.3,1.9-3.9,0-1.5,0-3.9-1.9-3.9-2,.1-1.8,2-1.9,3.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M397.8,40.3v-1.5c.1,0,0,0,0,0l-.7,1.5-3.2,5.9h-2v-11.2h2.2v5.8l-.2,1.5h0l.7-1.6,3.2-5.8h2v11.2h-2.2v-5.9ZM395,32.1c0,1.3,2.3,1.3,2.4,0l1.8.3c-.3,1.5-1.4,1.9-3,1.9-1.4,0-3-.3-3.2-1.9l2-.3Z%22/%3E%3C/g%3E%3Cg%3E%3Cpath%20class=%22st0%22%20d=%22M240.2,21.5h1.5v-7.3h-1.5v-2h8.2v3.6h-1.8v-1.7h-2.8v7.3h2.4v2h-6v-2Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M250.4,17.9c-.1-2.8,1-5.9,4.2-5.8,3.2-.1,4.3,3.1,4.2,5.8,0,3.1-1,5.8-4.2,5.8-3.2.1-4.3-3.1-4.2-5.8ZM252.7,17.9c0,1.5,0,3.8,1.9,3.9,2,0,1.9-2.3,1.9-3.9,0-1.5,0-3.9-1.9-3.9-2,.1-1.8,2-1.9,3.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M267.5,19.7h1.8v3.2c-2.6,1.6-6.7.8-7.8-2.3-1.9-5.4,2-10.2,7.6-8v3.3h-1.8v-1.8c-2.5-.6-4.1,1.3-4,3.8-.1,2.5,1.6,4.4,4.1,3.8v-1.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M275.6,18.2h.8l1.6-5.9h2.3l-2.6,8.3c-.4,1.2-.8,2.4-2,2.8-.9.3-2.1.3-2.9-.2l.6-1.8c1.3.6,2.2.1,2.4-1.3h-1.6l-3.1-7.8h2.4l2.3,5.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M290.9,25.6h-1.9v-2.2h-5.6v2.2h-1.9v-4.1h.9c1.2-2.7,1.2-5.6,1.2-8.8v-.5h6.1v9.2h1.2v4.1ZM287.5,21.5v-7.3h-1.9c0,2.6-.2,5-1,7.3h2.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M298.3,21h-3.3l-.8,2.5h-2.2l3.6-11.2h2.2l3.6,11.2h-2.3l-.8-2.5ZM295.5,19.2h2.4l-1.1-3.7h-.1l-1.1,3.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M303.6,12.4c2.4-.3,5.9-.9,7.4,1.5,1.6,3.8-1.4,6.3-5.2,5.7v3.9h-2.2v-11.1ZM306.9,14c-.3,0-.8,0-1.1,0v3.6c1.1.1,2.5.2,3.1-.9.7-1.6-.3-2.9-2-2.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M320.1,19.7h1.8v3.2c-2.6,1.6-6.7.8-7.8-2.3-1.9-5.4,2-10.2,7.6-8v3.3h-1.8v-1.8c-2.5-.6-4.1,1.3-4,3.8-.1,2.5,1.6,4.4,4.1,3.8v-1.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M325.4,21.7h1.8v-7.7h-1.5v1.9h-1.8v-3.7h8.8v3.7h-1.8v-1.9h-1.5v7.7h1.8v1.8h-5.8v-1.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M342.6,14.9c0,1.2-.7,2.3-2,2.6h0c2.1.3,2.9,2.7,2,4.3-1.6,2.4-5,1.9-7.5,1.6v-11c2.5-.2,7.4-1.1,7.5,2.5ZM337.8,17c.3,0,.8,0,1,0,1.3-.3,2.2-1.8.9-2.7-.8-.4-1.9-.3-2.7-.2v3h.7ZM338.6,21.8c.7,0,1.5-.2,1.9-.9.4-.7.2-1.7-.6-2-.8-.4-1.9-.2-2.8-.3v3.1c.4.1,1,0,1.4,0Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M345.7,12.3h7.3v2h-5.2v2.6h4.8v2h-4.8v2.7h5.2v2h-7.4v-11.2Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M361.7,18.8h-3.6v4.7h-2.2v-11.2h2.2v4.6h3.6v-4.6h2.2v11.2h-2.2v-4.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M372.2,18.8h-3.6v4.7h-2.2v-11.2h2.2v4.6h3.6v-4.6h2.2v11.2h-2.2v-4.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M382.6,21h-3.3l-.8,2.5h-2.2l3.6-11.2h2.2l3.6,11.2h-2.3l-.8-2.5ZM379.7,19.2h2.4l-1.1-3.7h-.1l-1.1,3.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M395.6,23.5h-2.2v-4.2h-1.1l-2.4,4.2h-2.6l2.8-4.6c-1.9-.6-2.6-3.4-1.5-5,1.5-2.3,4.6-1.9,6.9-1.5v11.1ZM393.4,14.1c-.7-.1-1.6-.2-2.2.3-1.1.8-.8,2.8.7,3,.5.1,1.1.1,1.6.1v-3.5Z%22/%3E%3C/g%3E%3Cg%3E%3Cpath%20class=%22st0%22%20d=%22M246.1,63v-1.7c0,0,0,0,0,0l-1.8,2.9h-.4l-1.9-2.9h0v1.6c0,0,0,6.1,0,6.1h-2.1v-11.2h2.2l1.9,3.1h0l1.9-3.1h2.2v11.2h-2.2v-6Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M256.4,66.5h-3.3l-.8,2.5h-2.2l3.6-11.2h2.2l3.6,11.2h-2.3l-.8-2.5ZM253.6,64.8h2.4l-1.1-3.7h-.1l-1.1,3.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M261.9,57.9c2.4-.3,5.9-.9,7.4,1.5,1.6,3.8-1.4,6.3-5.2,5.7v3.9h-2.2v-11.1ZM265.2,59.5c-.3,0-.8,0-1.1,0v3.6c1.1.1,2.5.2,3.1-.9.7-1.6-.3-2.9-2-2.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M275.6,64.3h-1.1v4.7h-2.2v-11.2h2.2v4.6h1.1l2.6-4.6h2.5l-3.2,5.4,3.6,5.8h-2.7l-2.8-4.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M288.8,63.1v-1.5c.1,0,0,0,0,0l-.7,1.5-3.2,5.9h-2v-11.2h2.2v5.8l-.2,1.5h0l.7-1.6,3.2-5.8h2v11.2h-2.2v-5.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M294.1,57.9c2.4-.3,5.9-.9,7.4,1.5,1.6,3.8-1.4,6.3-5.2,5.7v3.9h-2.2v-11.1ZM297.3,59.5c-.3,0-.8,0-1.1,0v3.6c1.1.1,2.5.2,3.1-.9.7-1.6-.3-2.9-2-2.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M304.2,63.4c-.1-2.8,1-5.9,4.2-5.8,3.2-.1,4.3,3.1,4.2,5.8,0,3.1-1,5.8-4.2,5.8-3.2.1-4.3-3.1-4.2-5.8ZM306.5,63.4c0,1.5,0,3.8,1.9,3.9,2,0,1.9-2.3,1.9-3.9,0-1.5,0-3.9-1.9-3.9-2,.1-1.8,2-1.9,3.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M322.9,60.4c0,1.2-.7,2.3-2,2.6h0c2.1.3,2.9,2.7,2,4.3-1.6,2.4-5,1.9-7.5,1.6v-11c2.5-.2,7.4-1.1,7.5,2.5ZM318.1,62.5c.3,0,.8,0,1,0,1.3-.3,2.2-1.8.9-2.7-.8-.4-1.9-.3-2.7-.2v3h.7ZM318.8,67.3c.7,0,1.5-.2,1.9-.9.4-.7.2-1.7-.6-2-.8-.4-1.9-.2-2.8-.3v3.1c.4.1,1,0,1.4,0Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M329.2,64.3h-1.1v4.7h-2.2v-11.2h2.2v4.6h1.1l2.6-4.6h2.5l-3.2,5.4,3.6,5.8h-2.7l-2.8-4.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M342.4,63.1v-1.5c.1,0,0,0,0,0l-.7,1.5-3.2,5.9h-2v-11.2h2.2v5.8l-.2,1.5h0l.7-1.6,3.2-5.8h2v11.2h-2.2v-5.9Z%22/%3E%3C/g%3E%3Cg%3E%3Cpath%20class=%22st0%22%20d=%22M246.4,42.5h1.8v3.2c-2.6,1.6-6.7.8-7.8-2.3-1.9-5.4,2-10.2,7.6-8v3.3h-1.8v-1.8c-2.5-.6-4.1,1.3-4,3.8-.1,2.5,1.6,4.4,4.1,3.8v-1.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M256.4,40.3v-1.5c.1,0,0,0,0,0l-.7,1.5-3.2,5.9h-2v-11.2h2.2v5.8l-.2,1.5h0l.7-1.6,3.2-5.8h2v11.2h-2.2v-5.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M267.5,42.5h1.8v3.2c-2.6,1.6-6.7.8-7.8-2.3-1.9-5.4,2-10.2,7.6-8v3.3h-1.8v-1.8c-2.5-.6-4.1,1.3-4,3.8-.1,2.5,1.6,4.4,4.1,3.8v-1.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M272.8,44.5h1.8v-7.7h-1.5v1.9h-1.8v-3.7h8.8v3.7h-1.8v-1.9h-1.5v7.7h1.8v1.8h-5.8v-1.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M282.5,35h7.3v2h-5.2v2.6h4.8v2h-4.8v2.7h5.2v2h-7.4v-11.2Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M298.7,40.3v-1.7c0,0,0,0,0,0l-1.8,2.9h-.4l-1.9-2.9h0v1.6c0,0,0,6.1,0,6.1h-2.1v-11.2h2.2l1.9,3.1h0l1.9-3.1h2.2v11.2h-2.2v-6Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M308.9,43.8h-3.3l-.8,2.5h-2.2l3.6-11.2h2.2l3.6,11.2h-2.3l-.8-2.5ZM306,42h2.4l-1.1-3.7h-.1l-1.1,3.7Z%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg%20id=%22Layer_1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20version=%221.1%22%20viewBox=%220%200%20400%2080%22%3E%3Cdefs%3E%3Cstyle%3E%0A%20%20%20%20%20%20.st0%20%7B%0A%20%20%20%20%20%20%20%20fill:%20%2363666a;%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%3C/style%3E%3C/defs%3E%3Cpath%20class=%22st0%22%20d=%22M15,70h12v10h-12c-8.3,0-15-6.7-15-15v-12h10v12c0,2.8,2.2,5,5,5ZM10,15c0-2.8,2.2-5,5-5h12V0h-12C6.7,0,0,6.7,0,15v12h10v-12ZM135.2,27.3c3.6,1.9,9,1.3,11.5-2.1l-3.3-3c-2.3,3.2-7.3,2-7.1-2.1-.2-4.1,4.8-5.3,7.1-2.1l3.3-3c-3.4-4.5-11.8-4.1-14.7.8-2.3,3.8-1,9.5,3.1,11.4ZM104.1,23.4c.9,0,1.8-.2,2.9-.5v5h5.2v-15.7h-5.2v6.6c-2.1.8-4.9.6-4.7-2.4,0,0,0-4.2,0-4.2h-5.2v4.7c0,4.4,2.7,6.4,7.1,6.4ZM128.9,24h-7.9v-2.1h6.6v-3.8h-6.6v-1.8h7.6v-4h-12.8v15.7h13.1v-4ZM113.7,50.7l6.3-6.8v-5.4h-22v6.7h12l-5.4,5.9v5.4c3,0,8.4-.7,8.3,3-.4,5.4-10.4,2.9-13.3.7l-3.1,6.5c6.7,3.9,18.9,4.9,23.6-2.1,3.6-5.6.4-12.7-6.4-13.8ZM70,65c0,2.8-2.2,5-5,5h-12v10h12c8.3,0,15-6.7,15-15v-12h-10v12ZM65,0h-12v10h12c2.8,0,5,2.2,5,5v12h10v-12c0-8.3-6.7-15-15-15ZM59.9,23.7l-25.8,25.8-14.3-14.3-7.1,7.1,21.4,21.4,32.9-32.9-7.1-7.1ZM146.7,50h-11.7v-11.4h-8.6v30.5h8.6v-11.9h11.7v11.9h8.6v-30.5h-8.6v11.4ZM170.7,22.2h4.9v5.8h5.3v-15.7h-5.3v5.6h-4.9v-5.6h-5.3v15.7h5.3v-5.8ZM220,19.8v8.2h5.2v-15.7h-5l-5.4,8.2v-8.2h-5.2v15.7h5l5.4-8.2ZM205.9,12.3h-5.2v15.7h5.2v-15.7ZM217.3,11.4c3,0,4.9-.9,4.9-3.9h-3.5c0,1-.4,1.4-1.4,1.4-1,0-1.4-.4-1.4-1.4h-3.5c0,3,1.8,3.8,4.9,3.9ZM163,12.3h-14.4v4.1h4.6v11.6h5.2v-11.6h4.6v-4.1ZM225.7,38.5h-10.3l-10.7,14.4h-.2v-14.4h-8.6v30.5h8.6v-14.5l10.3,14.5h11.2l-12.1-15.8,11.7-14.7ZM188.4,44.6c1.2,2.2,1.8,4.8,1.8,7.9v16.5h-8.6v-6.7h-11.9v6.7h-8.5v-16.5c0-3.1.6-5.7,1.8-7.9,4.8-9,20.6-9,25.4,0ZM181.6,51.8c0-4.1-2-6.7-5.9-6.7-4,0-6,2.7-6,6.7,0,0,0,3.8,0,3.8h11.9v-3.8ZM197.4,26.5c-1.2,1-2.9,1.5-5,1.5h-7.8v-15.7h5.2v4.8c2.3,0,6.2-.2,7.8,1.3,2.3,1.7,2.1,6.5-.2,8.1ZM193.9,22.4c0-1.1-.6-1.6-1.8-1.6h-2.2v3.5h2.2c1.1,0,1.9-.8,1.8-1.9Z%22/%3E%3Cg%3E%3Cg%3E%3Cpath%20class=%22st0%22%20d=%22M327,48.4h-1.9v-2.2h-6.9v-11.2h2.2v9.2h3.1v-9.2h2.2v9.2h1.3v4.1Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M334.6,40.3v-1.5c.1,0,0,0,0,0l-.7,1.5-3.2,5.9h-2v-11.2h2.2v5.8l-.2,1.5h0l.7-1.6,3.2-5.8h2v11.2h-2.2v-5.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M342.3,34.7h2.1v1.2c2.5,0,3.8,2.1,3.7,4.5.1,2.4-1.1,4.7-3.7,4.7v1.4h-2.1v-1.4c-2.5,0-3.8-2.3-3.7-4.7-.1-2.4,1.2-4.5,3.7-4.5v-1.2ZM342.4,37.7c-1.5.2-1.6,1.3-1.6,2.8,0,1.3.2,2.8,1.6,3v-5.8ZM344.3,43.5c1.5-.1,1.6-1.6,1.6-3,0-1.6-.2-2.6-1.6-2.8v5.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M350.3,35.1c2.4-.3,5.9-.9,7.4,1.5,1.6,3.8-1.4,6.3-5.2,5.7v3.9h-2.2v-11.1ZM353.5,36.8c-.3,0-.8,0-1.1,0v3.6c1.1.1,2.5.2,3.1-.9.7-1.6-.3-2.9-2-2.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M360.2,40.6c-.1-2.8,1-5.9,4.2-5.8,3.2-.1,4.3,3.1,4.2,5.8,0,3.1-1,5.8-4.2,5.8-3.2.1-4.3-3.1-4.2-5.8ZM362.5,40.6c0,1.5,0,3.8,1.9,3.9,2,0,1.9-2.3,1.9-3.9,0-1.5,0-3.9-1.9-3.9-2,.1-1.8,2-1.9,3.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M378.7,37.6c0,1.2-.7,2.3-2,2.6h0c2.1.3,2.9,2.7,2,4.3-1.6,2.4-5,1.9-7.5,1.6v-11c2.5-.2,7.4-1.1,7.5,2.5ZM373.9,39.7c.3,0,.8,0,1,0,1.3-.3,2.2-1.8.9-2.7-.8-.4-1.9-.3-2.7-.2v3h.7ZM374.6,44.6c.7,0,1.5-.2,1.9-.9.4-.7.2-1.7-.6-2-.8-.4-1.9-.2-2.8-.3v3.1c.4.1,1,0,1.4,0Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M381.2,40.6c-.1-2.8,1-5.9,4.2-5.8,3.2-.1,4.3,3.1,4.2,5.8,0,3.1-1,5.8-4.2,5.8-3.2.1-4.3-3.1-4.2-5.8ZM383.6,40.6c0,1.5,0,3.8,1.9,3.9,2,0,1.9-2.3,1.9-3.9,0-1.5,0-3.9-1.9-3.9-2,.1-1.8,2-1.9,3.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M397.8,40.3v-1.5c.1,0,0,0,0,0l-.7,1.5-3.2,5.9h-2v-11.2h2.2v5.8l-.2,1.5h0l.7-1.6,3.2-5.8h2v11.2h-2.2v-5.9ZM395,32.1c0,1.3,2.3,1.3,2.4,0l1.8.3c-.3,1.5-1.4,1.9-3,1.9-1.4,0-3-.3-3.2-1.9l2-.3Z%22/%3E%3C/g%3E%3Cg%3E%3Cpath%20class=%22st0%22%20d=%22M240.2,21.5h1.5v-7.3h-1.5v-2h8.2v3.6h-1.8v-1.7h-2.8v7.3h2.4v2h-6v-2Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M250.4,17.9c-.1-2.8,1-5.9,4.2-5.8,3.2-.1,4.3,3.1,4.2,5.8,0,3.1-1,5.8-4.2,5.8-3.2.1-4.3-3.1-4.2-5.8ZM252.7,17.9c0,1.5,0,3.8,1.9,3.9,2,0,1.9-2.3,1.9-3.9,0-1.5,0-3.9-1.9-3.9-2,.1-1.8,2-1.9,3.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M267.5,19.7h1.8v3.2c-2.6,1.6-6.7.8-7.8-2.3-1.9-5.4,2-10.2,7.6-8v3.3h-1.8v-1.8c-2.5-.6-4.1,1.3-4,3.8-.1,2.5,1.6,4.4,4.1,3.8v-1.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M275.6,18.2h.8l1.6-5.9h2.3l-2.6,8.3c-.4,1.2-.8,2.4-2,2.8-.9.3-2.1.3-2.9-.2l.6-1.8c1.3.6,2.2.1,2.4-1.3h-1.6l-3.1-7.8h2.4l2.3,5.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M290.9,25.6h-1.9v-2.2h-5.6v2.2h-1.9v-4.1h.9c1.2-2.7,1.2-5.6,1.2-8.8v-.5h6.1v9.2h1.2v4.1ZM287.5,21.5v-7.3h-1.9c0,2.6-.2,5-1,7.3h2.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M298.3,21h-3.3l-.8,2.5h-2.2l3.6-11.2h2.2l3.6,11.2h-2.3l-.8-2.5ZM295.5,19.2h2.4l-1.1-3.7h-.1l-1.1,3.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M303.6,12.4c2.4-.3,5.9-.9,7.4,1.5,1.6,3.8-1.4,6.3-5.2,5.7v3.9h-2.2v-11.1ZM306.9,14c-.3,0-.8,0-1.1,0v3.6c1.1.1,2.5.2,3.1-.9.7-1.6-.3-2.9-2-2.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M320.1,19.7h1.8v3.2c-2.6,1.6-6.7.8-7.8-2.3-1.9-5.4,2-10.2,7.6-8v3.3h-1.8v-1.8c-2.5-.6-4.1,1.3-4,3.8-.1,2.5,1.6,4.4,4.1,3.8v-1.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M325.4,21.7h1.8v-7.7h-1.5v1.9h-1.8v-3.7h8.8v3.7h-1.8v-1.9h-1.5v7.7h1.8v1.8h-5.8v-1.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M342.6,14.9c0,1.2-.7,2.3-2,2.6h0c2.1.3,2.9,2.7,2,4.3-1.6,2.4-5,1.9-7.5,1.6v-11c2.5-.2,7.4-1.1,7.5,2.5ZM337.8,17c.3,0,.8,0,1,0,1.3-.3,2.2-1.8.9-2.7-.8-.4-1.9-.3-2.7-.2v3h.7ZM338.6,21.8c.7,0,1.5-.2,1.9-.9.4-.7.2-1.7-.6-2-.8-.4-1.9-.2-2.8-.3v3.1c.4.1,1,0,1.4,0Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M345.7,12.3h7.3v2h-5.2v2.6h4.8v2h-4.8v2.7h5.2v2h-7.4v-11.2Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M361.7,18.8h-3.6v4.7h-2.2v-11.2h2.2v4.6h3.6v-4.6h2.2v11.2h-2.2v-4.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M372.2,18.8h-3.6v4.7h-2.2v-11.2h2.2v4.6h3.6v-4.6h2.2v11.2h-2.2v-4.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M382.6,21h-3.3l-.8,2.5h-2.2l3.6-11.2h2.2l3.6,11.2h-2.3l-.8-2.5ZM379.7,19.2h2.4l-1.1-3.7h-.1l-1.1,3.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M395.6,23.5h-2.2v-4.2h-1.1l-2.4,4.2h-2.6l2.8-4.6c-1.9-.6-2.6-3.4-1.5-5,1.5-2.3,4.6-1.9,6.9-1.5v11.1ZM393.4,14.1c-.7-.1-1.6-.2-2.2.3-1.1.8-.8,2.8.7,3,.5.1,1.1.1,1.6.1v-3.5Z%22/%3E%3C/g%3E%3Cg%3E%3Cpath%20class=%22st0%22%20d=%22M246.1,63v-1.7c0,0,0,0,0,0l-1.8,2.9h-.4l-1.9-2.9h0v1.6c0,0,0,6.1,0,6.1h-2.1v-11.2h2.2l1.9,3.1h0l1.9-3.1h2.2v11.2h-2.2v-6Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M256.4,66.5h-3.3l-.8,2.5h-2.2l3.6-11.2h2.2l3.6,11.2h-2.3l-.8-2.5ZM253.6,64.8h2.4l-1.1-3.7h-.1l-1.1,3.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M261.9,57.9c2.4-.3,5.9-.9,7.4,1.5,1.6,3.8-1.4,6.3-5.2,5.7v3.9h-2.2v-11.1ZM265.2,59.5c-.3,0-.8,0-1.1,0v3.6c1.1.1,2.5.2,3.1-.9.7-1.6-.3-2.9-2-2.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M275.6,64.3h-1.1v4.7h-2.2v-11.2h2.2v4.6h1.1l2.6-4.6h2.5l-3.2,5.4,3.6,5.8h-2.7l-2.8-4.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M288.8,63.1v-1.5c.1,0,0,0,0,0l-.7,1.5-3.2,5.9h-2v-11.2h2.2v5.8l-.2,1.5h0l.7-1.6,3.2-5.8h2v11.2h-2.2v-5.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M294.1,57.9c2.4-.3,5.9-.9,7.4,1.5,1.6,3.8-1.4,6.3-5.2,5.7v3.9h-2.2v-11.1ZM297.3,59.5c-.3,0-.8,0-1.1,0v3.6c1.1.1,2.5.2,3.1-.9.7-1.6-.3-2.9-2-2.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M304.2,63.4c-.1-2.8,1-5.9,4.2-5.8,3.2-.1,4.3,3.1,4.2,5.8,0,3.1-1,5.8-4.2,5.8-3.2.1-4.3-3.1-4.2-5.8ZM306.5,63.4c0,1.5,0,3.8,1.9,3.9,2,0,1.9-2.3,1.9-3.9,0-1.5,0-3.9-1.9-3.9-2,.1-1.8,2-1.9,3.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M322.9,60.4c0,1.2-.7,2.3-2,2.6h0c2.1.3,2.9,2.7,2,4.3-1.6,2.4-5,1.9-7.5,1.6v-11c2.5-.2,7.4-1.1,7.5,2.5ZM318.1,62.5c.3,0,.8,0,1,0,1.3-.3,2.2-1.8.9-2.7-.8-.4-1.9-.3-2.7-.2v3h.7ZM318.8,67.3c.7,0,1.5-.2,1.9-.9.4-.7.2-1.7-.6-2-.8-.4-1.9-.2-2.8-.3v3.1c.4.1,1,0,1.4,0Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M329.2,64.3h-1.1v4.7h-2.2v-11.2h2.2v4.6h1.1l2.6-4.6h2.5l-3.2,5.4,3.6,5.8h-2.7l-2.8-4.7Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M342.4,63.1v-1.5c.1,0,0,0,0,0l-.7,1.5-3.2,5.9h-2v-11.2h2.2v5.8l-.2,1.5h0l.7-1.6,3.2-5.8h2v11.2h-2.2v-5.9Z%22/%3E%3C/g%3E%3Cg%3E%3Cpath%20class=%22st0%22%20d=%22M246.4,42.5h1.8v3.2c-2.6,1.6-6.7.8-7.8-2.3-1.9-5.4,2-10.2,7.6-8v3.3h-1.8v-1.8c-2.5-.6-4.1,1.3-4,3.8-.1,2.5,1.6,4.4,4.1,3.8v-1.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M256.4,40.3v-1.5c.1,0,0,0,0,0l-.7,1.5-3.2,5.9h-2v-11.2h2.2v5.8l-.2,1.5h0l.7-1.6,3.2-5.8h2v11.2h-2.2v-5.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M267.5,42.5h1.8v3.2c-2.6,1.6-6.7.8-7.8-2.3-1.9-5.4,2-10.2,7.6-8v3.3h-1.8v-1.8c-2.5-.6-4.1,1.3-4,3.8-.1,2.5,1.6,4.4,4.1,3.8v-1.9Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M272.8,44.5h1.8v-7.7h-1.5v1.9h-1.8v-3.7h8.8v3.7h-1.8v-1.9h-1.5v7.7h1.8v1.8h-5.8v-1.8Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M282.5,35h7.3v2h-5.2v2.6h4.8v2h-4.8v2.7h5.2v2h-7.4v-11.2Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M298.7,40.3v-1.7c0,0,0,0,0,0l-1.8,2.9h-.4l-1.9-2.9h0v1.6c0,0,0,6.1,0,6.1h-2.1v-11.2h2.2l1.9,3.1h0l1.9-3.1h2.2v11.2h-2.2v-6Z%22/%3E%3Cpath%20class=%22st0%22%20d=%22M308.9,43.8h-3.3l-.8,2.5h-2.2l3.6-11.2h2.2l3.6,11.2h-2.3l-.8-2.5ZM306,42h2.4l-1.1-3.7h-.1l-1.1,3.7Z%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: left center !important;
    mask-position: left center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
  }

  body.single-preparations .lm-prep-hero__announcement > p,
body.single-preparations .lm-prep-hero__announcement > ul,
body.single-preparations .lm-prep-hero__announcement > ol,
body.single-preparations .lm-prep-hero__announcement > div:not(.lm-prep-chestny-sign){
    position: relative !important;
    z-index: 1 !important;
  }
}



/* ---------------------------------------------------------
   01. Общая сцена архивов и single
   --------------------------------------------------------- */
body.post-type-archive-aktsii,
body.single-aktsii{
  background: #ffffff !important;
  color: var(--lm-lux-text, #252826) !important;
}

body.post-type-archive-aktsii main.site-main,
body.single-aktsii main.site-main{
  background:
    radial-gradient(circle at 50% 0%, rgba(243, 232, 223, 0.20), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fcfbf8 44%, #ffffff 100%) !important;
}

body.post-type-archive-aktsii .site-content,
body.single-aktsii .site-content,
body.post-type-archive-aktsii .content-area,
body.single-aktsii .content-area,
body.post-type-archive-aktsii .lm-single-main,
body.single-aktsii .lm-single-main{
  background: transparent !important;
}

body.post-type-archive-aktsii .lm-aktsii-archive{
  background: transparent !important;
}

/* ---------------------------------------------------------
   02. Архив акций — карточки, price panel, кнопки
   --------------------------------------------------------- */
body.post-type-archive-aktsii .lm-home-promotions__card,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__card{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  border: 1px solid var(--lm-lux-line, rgba(216, 195, 163, 0.34)) !important;
  box-shadow:
    0 18px 46px rgba(43, 47, 42, 0.060),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  color: var(--lm-lux-text, #252826) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__card:hover,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__card:hover{
  border-color: var(--lm-lux-line-strong, rgba(197, 169, 120, 0.50)) !important;
  box-shadow:
    0 24px 60px rgba(43, 47, 42, 0.090),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__card-title,
body.post-type-archive-aktsii .lm-home-promotions__title,
body.post-type-archive-aktsii .lm-home-promotions__card-title a,
body.post-type-archive-aktsii .lm-home-promotions__title a{
  color: var(--lm-lux-text, #252826) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__summary,
body.post-type-archive-aktsii .lm-home-promotions__date,
body.post-type-archive-aktsii .lm-home-promotions__text{
  color: var(--lm-lux-muted, #68635c) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__summary::after{
  background: #fffefb !important;
  color: var(--lm-lux-muted, #68635c) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__image-wrap,
body.post-type-archive-aktsii .lm-home-promotions__image,
body.post-type-archive-aktsii .lm-home-promotions__image img,
body.post-type-archive-aktsii .lm-home-promotions__image .wp-post-image{
  background:
    linear-gradient(180deg, #fffefb 0%, #faf5ef 100%) !important;
  border-color: var(--lm-lux-line-soft, rgba(216, 195, 163, 0.22)) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-col,
body.post-type-archive-aktsii .lm-home-promotions__price-side,
body.post-type-archive-aktsii .lm-home-promotions__side,
body.post-type-archive-aktsii .lm-home-promotions__actions,
body.post-type-archive-aktsii .lm-home-promotions__price-badge{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf9 100%) !important;
  border: 1px solid var(--lm-lux-line, rgba(216, 195, 163, 0.34)) !important;
  box-shadow:
    0 12px 30px rgba(43, 47, 42, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  color: var(--lm-lux-text, #252826) !important;
}

body.post-type-archive-aktsii .lm-old,
body.post-type-archive-aktsii .lm-home-promotions__old-price{
  color: rgba(104, 99, 92, 0.62) !important;
}

body.post-type-archive-aktsii .lm-new,
body.post-type-archive-aktsii .lm-home-promotions__new-price{
  color: #76684f !important;
}

body.post-type-archive-aktsii .lm-benefit,
body.post-type-archive-aktsii .lm-home-promotions__benefit{
  color: #7b674a !important;
  border-color: var(--lm-lux-line-soft, rgba(216, 195, 163, 0.22)) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button,
body.post-type-archive-aktsii .lm-aktsii-more-button{
  background:
    linear-gradient(180deg, #ffffff 0%, #f7eee7 100%) !important;
  border: 1px solid var(--lm-lux-line-strong, rgba(197, 169, 120, 0.50)) !important;
  color: #5f523f !important;
  box-shadow:
    0 12px 28px rgba(43, 47, 42, 0.050),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button:hover,
body.post-type-archive-aktsii .lm-aktsii-more-button:hover{
  background:
    linear-gradient(180deg, #f3e8df 0%, #ead8cc 100%) !important;
  border-color: rgba(181, 151, 106, 0.58) !important;
  color: #3d3427 !important;
}

/* Переключатель актуальные / архивные */
body.post-type-archive-aktsii .lm-aktsii-switch,
body.post-type-archive-aktsii .lm-aktsii-tabs{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  border: 1px solid var(--lm-lux-line-soft, rgba(216, 195, 163, 0.22)) !important;
  box-shadow:
    0 10px 28px rgba(43, 47, 42, 0.040),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__slider,
body.post-type-archive-aktsii .lm-aktsii-tab.is-active{
  background:
    linear-gradient(180deg, #f3e8df 0%, #d8c3a3 100%) !important;
  box-shadow: 0 10px 24px rgba(123, 103, 74, 0.16) !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item,
body.post-type-archive-aktsii .lm-aktsii-tab{
  color: #675f55 !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item.is-active,
body.post-type-archive-aktsii .lm-aktsii-tab.is-active{
  color: #4c3f2f !important;
}


body.single-aktsii .lm-single-main{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 54%, #ffffff 100%) !important;
  border: 1px solid var(--lm-lux-line-soft, rgba(216, 195, 163, 0.22)) !important;
  border-radius: 28px !important;
  box-shadow:
    0 22px 58px rgba(43, 47, 42, 0.050),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  overflow: visible !important;
}

body.single-aktsii .lm-service-hero,
body.single-aktsii .lm-promo-hero{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--lm-lux-line-soft, rgba(216, 195, 163, 0.22)) !important;
  border-radius: 28px 28px 0 0 !important;
  box-shadow: none !important;
}

body.single-aktsii .lm-service-info-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,253,249,0.74) 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #4d473f !important;
}

body.single-aktsii .lm-service-description,
body.single-aktsii .lm-service-content-sections,
body.single-aktsii .lm-single-entry,
body.single-aktsii .lm-single-entry__summary,
body.single-aktsii .lm-single-entry__content{
  background: transparent !important;
  color: #4f493f !important;
  box-shadow: none !important;
}

body.single-aktsii .lm-service-description p,
body.single-aktsii .lm-single-entry__content p,
body.single-aktsii .lm-service-description li,
body.single-aktsii .lm-single-entry__content li{
  color: #565047 !important;
}

body.single-aktsii .lm-service-content-sections h2,
body.single-aktsii .lm-service-content-sections h3,
body.single-aktsii .lm-service-section-title,
body.single-aktsii .lm-service-info-card h2,
body.single-aktsii .lm-service-info-card h3{
  color: #232722 !important;
}

body.single-aktsii .lm-promo-price-panel,
body.single-aktsii .lm-single-promotion__prices{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf9 100%) !important;
  border: 1px solid var(--lm-lux-line, rgba(216, 195, 163, 0.34)) !important;
  box-shadow:
    0 14px 34px rgba(43, 47, 42, 0.050),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  color: var(--lm-lux-text, #252826) !important;
}

body.single-aktsii .lm-promo-price-panel__new,
body.single-aktsii .lm-single-promotion__new-price{
  color: #76684f !important;
}

body.single-aktsii .lm-promo-price-panel__old,
body.single-aktsii .lm-single-promotion__old-price{
  color: rgba(104, 99, 92, 0.62) !important;
}

body.single-aktsii .lm-promo-price-panel__status,
body.single-aktsii .lm-promo-price-panel__status-sep{
  color: #7b674a !important;
}

body.single-aktsii .lm-promo-price-panel__status::before,
body.single-aktsii .lm-promo-price-panel__status::after{
  background: rgba(205, 184, 154, 0.72) !important;
}

/* Кнопки single — как в услугах/препаратах */
body.single-aktsii .lm-service-btn,
body.single-aktsii .lm-service-btn-primary,
body.single-aktsii .lm-service-btn-secondary,
body.single-aktsii .lm-promo-single__btn,
body.single-aktsii .lm-single-promotion__btn,
body.single-aktsii .lm-single-promotion__button{
  background:
    linear-gradient(180deg, #ffffff 0%, #f7eee7 100%) !important;
  border: 1px solid var(--lm-lux-line-strong, rgba(197, 169, 120, 0.50)) !important;
  color: #5f523f !important;
  box-shadow:
    0 12px 28px rgba(43, 47, 42, 0.050),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

body.single-aktsii .lm-service-btn:hover,
body.single-aktsii .lm-service-btn-primary:hover,
body.single-aktsii .lm-service-btn-secondary:hover,
body.single-aktsii .lm-promo-single__btn:hover,
body.single-aktsii .lm-single-promotion__btn:hover,
body.single-aktsii .lm-single-promotion__button:hover{
  background:
    linear-gradient(180deg, #f3e8df 0%, #ead8cc 100%) !important;
  border-color: rgba(181, 151, 106, 0.58) !important;
  color: #3d3427 !important;
}

/* ---------------------------------------------------------
   05. Звёздочки / бейджи выгоды — светлый champagne вместо чёрного
   --------------------------------------------------------- */
body.single-aktsii .lm-promo-hero__discount-badge,
body.single-aktsii .lm-promo-discount-badge,
body.single-aktsii .lm-single-promotion__discount,
body.single-aktsii .lm-promo-single__disc,
body.post-type-archive-aktsii .lm-card-badge{
  background:
    linear-gradient(180deg, #fffdf9 0%, #f3e8df 100%) !important;
  color: #6f5d44 !important;
  border: 1px solid rgba(197, 169, 120, 0.46) !important;
  box-shadow:
    0 12px 26px rgba(43, 47, 42, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

body.single-aktsii .lm-promo-hero__discount-badge span{
  color: #6f5d44 !important;
}

body.single-aktsii .lm-promo-hero__archive-badge{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(247,238,231,0.92) 100%) !important;
  color: #7b674a !important;
  border: 1px solid rgba(197, 169, 120, 0.34) !important;
  box-shadow: 0 10px 24px rgba(43, 47, 42, 0.08) !important;
}


body.single-aktsii .lm-service-specs,
body.single-aktsii .lm-attr-block,
body.single-aktsii .lm-single-promotion__linked-block,
body.single-aktsii .lm-single-promotion__linked-list .lm-linked-card{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffefb 100%) !important;
  border: 1px solid var(--lm-lux-line, rgba(216, 195, 163, 0.34)) !important;
  box-shadow:
    0 14px 36px rgba(43, 47, 42, 0.050),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  color: #232722 !important;
}

body.single-aktsii .lm-service-specs__dots{
  border-bottom-color: rgba(205, 184, 154, 0.42) !important;
}

body.single-aktsii .lm-service-specs__label,
body.single-aktsii .lm-service-specs__value{
  color: #565047 !important;
}

/* ---------------------------------------------------------
   07. Мобильная версия — только визуал, без ломания сетки
   --------------------------------------------------------- */
@media (max-width: 767px){
  body.post-type-archive-aktsii .lm-home-promotions__card,
body.single-aktsii .lm-service-info-card{
    border-radius: 22px !important;
  }

  body.single-aktsii .lm-service-description,
body.single-aktsii .lm-single-entry__content{
    hyphens: auto !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}




body.post-type-archive-aktsii,
body.single-aktsii{
  --lm-aa-page: #fbfaf6;
  --lm-aa-shell: #fffdf8;
  --lm-aa-shell-2: #fffaf3;
  --lm-aa-card: #ffffff;
  --lm-aa-card-soft: #fffefa;
  --lm-aa-hover: #f6eddd;
  --lm-aa-hover-soft: #fbf4e8;
  --lm-aa-line: rgba(197, 169, 120, 0.34);
  --lm-aa-line-soft: rgba(197, 169, 120, 0.20);
  --lm-aa-line-strong: rgba(181, 151, 106, 0.52);
  --lm-aa-ink: #252826;
  --lm-aa-ink-soft: #464039;
  --lm-aa-muted: #665f55;
  --lm-aa-phone: #7b674a;
  --lm-aa-phone-soft: #927d5e;
  --lm-aa-shadow: 0 22px 58px rgba(43, 47, 42, 0.060);
  --lm-aa-shadow-soft: 0 14px 34px rgba(43, 47, 42, 0.045);
  --lm-aa-inset: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.post-type-archive-aktsii main.site-main,
body.single-aktsii main.site-main{
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(180deg, #ffffff 0%, var(--lm-aa-page) 44%, #ffffff 100%) !important;
}

body.post-type-archive-aktsii .lm-single-main,
body.single-aktsii .lm-single-main,
body.single-aktsii .lm-single-aktsii-page{
  background:
    radial-gradient(circle at 12% 4%, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, #ffffff 0%, var(--lm-aa-shell) 52%, var(--lm-aa-shell-2) 100%) !important;
  border: 1px solid var(--lm-aa-line-soft) !important;
  border-radius: 28px !important;
  box-shadow: var(--lm-aa-shadow), var(--lm-aa-inset) !important;
  color: var(--lm-aa-ink) !important;
  overflow: hidden !important;
  background-clip: padding-box !important;
}

/* ---------------------------------------------------------
   01. Архив АКЦИЙ — price-блок справа без квадратной огранки
   --------------------------------------------------------- */
body.post-type-archive-aktsii .lm-home-promotions__card{
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-aa-card-soft) 100%) !important;
  border: 1px solid var(--lm-aa-line) !important;
  border-radius: 24px !important;
  box-shadow: var(--lm-aa-shadow-soft), var(--lm-aa-inset) !important;
  overflow: hidden !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-col{
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 200px !important;
  min-height: 190px !important;
  height: 100% !important;
  justify-content: center !important;
  gap: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-col::before,
body.post-type-archive-aktsii .lm-home-promotions__price-col::after{
  content: none !important;
  display: none !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-badge{
  width: 200px !important;
  min-width: 200px !important;
  min-height: 86px !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 16px 16px !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-aa-shell) 48%, var(--lm-aa-shell-2) 100%) !important;
  border: 1px solid var(--lm-aa-line) !important;
  box-shadow: 0 12px 30px rgba(43, 47, 42, 0.050), var(--lm-aa-inset) !important;
  outline: 0 !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-row{
  justify-content: center !important;
  align-items: baseline !important;
  text-align: center !important;
}

body.post-type-archive-aktsii .lm-old{
  color: rgba(102, 95, 85, 0.58) !important;
  font-size: 14px !important;
}

body.post-type-archive-aktsii .lm-new{
  color: var(--lm-aa-phone) !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

body.post-type-archive-aktsii .lm-benefit{
  color: var(--lm-aa-phone) !important;
  border-top: 1px solid rgba(197, 169, 120, 0.30) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button,
body.post-type-archive-aktsii .lm-aktsii-more-button{
  width: 200px !important;
  min-height: 48px !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #c7b79f 0%, #a99172 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  box-shadow:
    0 10px 26px rgba(50, 45, 40, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.35) !important;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button:hover,
body.post-type-archive-aktsii .lm-aktsii-more-button:hover{
  background: linear-gradient(180deg, #b9a587 0%, #967b58 100%) !important;
  box-shadow:
    0 14px 34px rgba(40, 36, 32, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.25) !important;
  transform: translateY(-1px) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__top,
body.post-type-archive-aktsii .lm-home-promotions__summary{
  padding-right: 230px !important;
}

/* Переключатели актуальные/архивные — как две мягкие CTA-кнопки */
body.post-type-archive-aktsii .lm-aktsii-switch{
  background: rgba(255,255,255,0.68) !important;
  border: 1px solid var(--lm-aa-line-soft) !important;
  box-shadow: 0 10px 28px rgba(43,47,42,0.045), var(--lm-aa-inset) !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__slider{
  background: linear-gradient(180deg, #c7b79f 0%, #a99172 100%) !important;
  box-shadow: 0 10px 24px rgba(123,103,74,0.18) !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item.is-active{
  color: #ffffff !important;
}


body.single-aktsii .lm-promo-price-panel,
body.single-aktsii .lm-single-promotion__prices{
  min-height: 112px !important;
  padding: 18px 24px !important;
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lm-aa-shell) 48%, var(--lm-aa-shell-2) 100%) !important;
  border: 1px solid var(--lm-aa-line) !important;
  box-shadow: 0 14px 34px rgba(43,47,42,0.050), var(--lm-aa-inset) !important;
  color: var(--lm-aa-phone) !important;
}

body.single-aktsii .lm-promo-price-panel__new,
body.single-aktsii .lm-single-promotion__new-price{
  color: var(--lm-aa-phone) !important;
  font-weight: 800 !important;
}

body.single-aktsii .lm-promo-price-panel__old,
body.single-aktsii .lm-single-promotion__old-price{
  color: rgba(102,95,85,0.58) !important;
}

body.single-aktsii .lm-promo-price-panel__status,
body.single-aktsii .lm-promo-price-panel__status-sep{
  color: var(--lm-aa-phone) !important;
}

body.single-aktsii .lm-promo-price-panel__status::before,
body.single-aktsii .lm-promo-price-panel__status::after{
  background: rgba(197,169,120,0.46) !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn-primary,
body.single-aktsii .lm-service-hero__actions .lm-service-btn,
body.single-aktsii .lm-service-btn-primary,
body.single-aktsii .lm-promo-single__btn,
body.single-aktsii .lm-single-promotion__btn,
body.single-aktsii .lm-single-promotion__button{
  background: linear-gradient(180deg, #c7b79f 0%, #a99172 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  box-shadow:
    0 10px 26px rgba(50,45,40,0.18),
    inset 0 1px 0 rgba(255,255,255,0.35) !important;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn-primary:hover,
body.single-aktsii .lm-service-hero__actions .lm-service-btn:hover,
body.single-aktsii .lm-service-btn-primary:hover,
body.single-aktsii .lm-promo-single__btn:hover,
body.single-aktsii .lm-single-promotion__btn:hover,
body.single-aktsii .lm-single-promotion__button:hover{
  background: linear-gradient(180deg, #b9a587 0%, #967b58 100%) !important;
  box-shadow:
    0 14px 34px rgba(40,36,32,0.24),
    inset 0 1px 0 rgba(255,255,255,0.25) !important;
  transform: translateY(-1px) !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn-secondary,
body.single-aktsii .lm-service-btn-secondary{
  background: rgba(255,255,255,0.70) !important;
  color: #4a463f !important;
  border: 1px solid rgba(190,174,145,0.45) !important;
  box-shadow:
    0 6px 18px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.65) !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn-secondary:hover,
body.single-aktsii .lm-service-btn-secondary:hover{
  background: rgba(255,255,255,0.88) !important;
  border-color: rgba(160,145,115,0.65) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10) !important;
  transform: translateY(-1px) !important;
}

/* Звёздочка скидки на фото — светлая, но читаемая */
body.single-aktsii .lm-promo-hero__discount-badge,
body.single-aktsii .lm-promo-discount-badge,
body.single-aktsii .lm-single-promotion__discount,
body.single-aktsii .lm-promo-single__disc,
body.post-type-archive-aktsii .lm-card-badge{
  background: linear-gradient(180deg, #fffefa 0%, #ead8cc 100%) !important;
  color: #6f5d44 !important;
  border: 1px solid rgba(197,169,120,0.44) !important;
  box-shadow:
    0 12px 26px rgba(43,47,42,0.12),
    inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

body.single-aktsii .lm-promo-hero__discount-badge span{
  color: #6f5d44 !important;
}

/* ---------------------------------------------------------
   04. Характеристики — убрать инородную матрёшку
   --------------------------------------------------------- */
body.single-aktsii .lm-service-specs,
body.single-aktsii .lm-attr-block{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single-aktsii .lm-service-specs::before,
body.single-aktsii .lm-service-specs::after,
body.single-aktsii .lm-attr-block::before,
body.single-aktsii .lm-attr-block::after{
  content: none !important;
  display: none !important;
}

body.single-aktsii .lm-service-specs__dots,
body.single-aktsii .lm-attr-row::after{
  border-bottom-color: rgba(197,169,120,0.32) !important;
}


body.single-aktsii .lm-promo-inline-relations,
body.single-aktsii .lm-single-promotion__linked-block{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single-aktsii .lm-single-promotion__linked-list .lm-linked-card,
body.single-aktsii .lm-promo-inline-relations .lm-linked-card{
  background: linear-gradient(180deg, #ffffff 0%, var(--lm-aa-card-soft) 100%) !important;
  border: 1px solid var(--lm-aa-line) !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 36px rgba(43,47,42,0.040), var(--lm-aa-inset) !important;
}

/* ---------------------------------------------------------
   06. Полезные материалы — визуально как в услугах/препаратах
   Важно: максимум/рандом 3 статьи — это уже PHP, не CSS.
   --------------------------------------------------------- */
body.single-aktsii .lm-single-related-articles,
body.single-aktsii .lm-single-promotion__linked-block--articles{
  width: 100% !important;
  max-width: 100% !important;
  margin: 26px 0 0 !important;
  padding: 24px 28px 30px !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0) 32%),
    linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,253,248,0.62) 100%) !important;
  border: 1px solid var(--lm-aa-line-soft) !important;
  box-shadow: 0 18px 46px rgba(43,47,42,0.045), var(--lm-aa-inset) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.single-aktsii .lm-single-related-articles__grid,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-single-promotion__linked-list{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.single-aktsii .lm-single-related-article-card,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card{
  min-width: 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, var(--lm-aa-card-soft) 100%) !important;
  border: 1px solid var(--lm-aa-line) !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 36px rgba(43,47,42,0.045), var(--lm-aa-inset) !important;
  overflow: hidden !important;
}

body.single-aktsii .lm-single-related-article-card__image-wrap,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__image-wrap{
  border-radius: 18px 18px 0 0 !important;
  overflow: hidden !important;
}

body.single-aktsii .lm-single-related-article-card__title,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__title{
  color: var(--lm-aa-ink) !important;
  font-weight: 800 !important;
  line-height: 1.20 !important;
}

body.single-aktsii .lm-single-related-article-card__link,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__link{
  color: var(--lm-aa-phone) !important;
}

/* ---------------------------------------------------------
   07. Мобильная версия — карточки связанных блоков в одну колонку
   --------------------------------------------------------- */
@media (max-width: 767px){
  body.post-type-archive-aktsii .lm-home-promotions__price-col{
    position: static !important;
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    margin-top: 14px !important;
  }

  body.post-type-archive-aktsii .lm-home-promotions__price-badge,
body.post-type-archive-aktsii .lm-home-promotions__button,
body.post-type-archive-aktsii .lm-aktsii-more-button{
    width: 100% !important;
    min-width: 0 !important;
  }

  body.post-type-archive-aktsii .lm-home-promotions__top,
body.post-type-archive-aktsii .lm-home-promotions__summary{
    padding-right: 0 !important;
  }

  body.single-aktsii .lm-promo-price-panel,
body.single-aktsii .lm-single-promotion__prices{
    min-height: auto !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
  }

  body.single-aktsii .lm-single-related-articles,
body.single-aktsii .lm-single-promotion__linked-block--articles{
    padding: 18px 14px 22px !important;
    border-radius: 22px !important;
  }

  body.single-aktsii .lm-single-related-articles__grid,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-single-promotion__linked-list{
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}



body.post-type-archive-aktsii,
body.single-aktsii{
  --lm-aa-pearl: #fffdf8;
  --lm-aa-pearl-2: #fbf7ee;
  --lm-aa-champagne: #eee3cf;
  --lm-aa-champagne-2: #dccaa9;
  --lm-aa-phone: #7b674a;
  --lm-aa-phone-soft: #948267;
  --lm-aa-line: rgba(197, 169, 120, 0.34);
  --lm-aa-line-soft: rgba(197, 169, 120, 0.20);
  --lm-aa-ink: #252826;
  --lm-aa-muted: #665f55;
}


body.single-aktsii .lm-service-hero__actions .lm-service-btn,
body.single-aktsii .lm-service-hero__actions a,
body.single-aktsii .lm-service-hero__actions button,
body.single-aktsii .lm-promo-hero__actions .lm-service-btn,
body.single-aktsii .lm-promo-hero__actions a,
body.single-aktsii .lm-promo-hero__actions button,
body.single-aktsii .lm-single-promotion__actions .lm-service-btn,
body.single-aktsii .lm-single-promotion__actions a,
body.single-aktsii .lm-single-promotion__actions button{
  min-height: 48px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn-primary,
body.single-aktsii .lm-service-hero__actions a:first-child,
body.single-aktsii .lm-promo-hero__actions .lm-service-btn-primary,
body.single-aktsii .lm-promo-hero__actions a:first-child,
body.single-aktsii .lm-single-promotion__actions a:first-child{
  background: linear-gradient(180deg, var(--lm-aa-champagne) 0%, var(--lm-aa-champagne-2) 100%) !important;
  color: #4c4235 !important;
  border: 1px solid rgba(181,151,106,0.52) !important;
  box-shadow:
    0 12px 28px rgba(123,103,74,0.16),
    inset 0 1px 0 rgba(255,255,255,0.55) !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn-primary:hover,
body.single-aktsii .lm-service-hero__actions a:first-child:hover,
body.single-aktsii .lm-promo-hero__actions .lm-service-btn-primary:hover,
body.single-aktsii .lm-promo-hero__actions a:first-child:hover,
body.single-aktsii .lm-single-promotion__actions a:first-child:hover{
  background: linear-gradient(180deg, #f3e9d7 0%, #d5bf99 100%) !important;
  color: #3f3529 !important;
  border-color: rgba(157,132,91,0.66) !important;
  box-shadow:
    0 16px 36px rgba(123,103,74,0.22),
    inset 0 1px 0 rgba(255,255,255,0.46) !important;
  transform: translateY(-1px) !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn-secondary,
body.single-aktsii .lm-service-hero__actions a:nth-child(2),
body.single-aktsii .lm-promo-hero__actions .lm-service-btn-secondary,
body.single-aktsii .lm-promo-hero__actions a:nth-child(2),
body.single-aktsii .lm-single-promotion__actions a:nth-child(2){
  background: rgba(255,255,255,0.76) !important;
  color: #4c463d !important;
  border: 1px solid rgba(181,151,106,0.44) !important;
  box-shadow:
    0 8px 20px rgba(43,47,42,0.060),
    inset 0 1px 0 rgba(255,255,255,0.72) !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn-secondary:hover,
body.single-aktsii .lm-service-hero__actions a:nth-child(2):hover,
body.single-aktsii .lm-promo-hero__actions .lm-service-btn-secondary:hover,
body.single-aktsii .lm-promo-hero__actions a:nth-child(2):hover,
body.single-aktsii .lm-single-promotion__actions a:nth-child(2):hover{
  background: linear-gradient(180deg, #ffffff 0%, #f8f1e5 100%) !important;
  color: #3f382f !important;
  border-color: rgba(157,132,91,0.58) !important;
  box-shadow: 0 12px 26px rgba(43,47,42,0.090) !important;
  transform: translateY(-1px) !important;
}

/* ---------------------------------------------------------
   02. Архивы — правый price/action блок без серой подложки
   --------------------------------------------------------- */
body.post-type-archive-aktsii .lm-home-promotions__price-col,
body.post-type-archive-aktsii .lm-home-promotions__price-side,
body.post-type-archive-aktsii .lm-home-promotions__actions{
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-col::before,
body.post-type-archive-aktsii .lm-home-promotions__price-col::after,
body.post-type-archive-aktsii .lm-home-promotions__actions::before,
body.post-type-archive-aktsii .lm-home-promotions__actions::after{
  content: none !important;
  display: none !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-badge{
  background: linear-gradient(180deg, #ffffff 0%, var(--lm-aa-pearl) 48%, var(--lm-aa-pearl-2) 100%) !important;
  border: 1px solid var(--lm-aa-line) !important;
  color: var(--lm-aa-phone) !important;
  border-radius: 18px !important;
  box-shadow:
    0 12px 30px rgba(43,47,42,0.050),
    inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button,
body.post-type-archive-aktsii .lm-aktsii-more-button{
  background: linear-gradient(180deg, var(--lm-aa-champagne) 0%, var(--lm-aa-champagne-2) 100%) !important;
  color: #4c4235 !important;
  border: 1px solid rgba(181,151,106,0.52) !important;
  box-shadow:
    0 12px 28px rgba(123,103,74,0.14),
    inset 0 1px 0 rgba(255,255,255,0.52) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button:hover,
body.post-type-archive-aktsii .lm-aktsii-more-button:hover{
  background: linear-gradient(180deg, #f3e9d7 0%, #d5bf99 100%) !important;
  color: #3f3529 !important;
  border-color: rgba(157,132,91,0.66) !important;
  box-shadow:
    0 16px 36px rgba(123,103,74,0.20),
    inset 0 1px 0 rgba(255,255,255,0.45) !important;
  transform: translateY(-1px) !important;
}

/* ---------------------------------------------------------
   03. Переключатели актуальные / архивные — крупнее, не к стенке
   --------------------------------------------------------- */
body.post-type-archive-aktsii .lm-aktsii-switch,
body.post-type-archive-aktsii .lm-aktsii-tabs{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 46px !important;
  padding: 6px !important;
  margin-right: 28px !important;
  margin-bottom: 18px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.78) !important;
  border: 1px solid var(--lm-aa-line-soft) !important;
  box-shadow:
    0 12px 30px rgba(43,47,42,0.050),
    inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item,
body.post-type-archive-aktsii .lm-aktsii-tab{
  min-height: 34px !important;
  min-width: 118px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #6d6459 !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__slider,
body.post-type-archive-aktsii .lm-aktsii-tab.is-active,
body.post-type-archive-aktsii .lm-aktsii-switch__item.is-active{
  background: linear-gradient(180deg, var(--lm-aa-champagne) 0%, var(--lm-aa-champagne-2) 100%) !important;
  color: #4c4235 !important;
  box-shadow:
    0 10px 24px rgba(123,103,74,0.16),
    inset 0 1px 0 rgba(255,255,255,0.48) !important;
}

/* Архивные метки над ценой — без розовой пудры, по центру price-блока */
body.post-type-archive-aktsii .lm-home-promotions__archive-label,
body.post-type-archive-aktsii .lm-home-promotions__archive-badge,
body.post-type-archive-aktsii .lm-aktsii-archive-label,
body.post-type-archive-aktsii .lm-archive-label,
body.post-type-archive-aktsii .lm-card-archive-label{
  width: 200px !important;
  max-width: 200px !important;
  margin: 0 auto 12px !important;
  padding: 6px 14px !important;
  text-align: center !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8f1e5 100%) !important;
  color: var(--lm-aa-phone) !important;
  border: 1px solid var(--lm-aa-line-soft) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88) !important;
  letter-spacing: .08em !important;
}

/* ---------------------------------------------------------
   04. Полезные материалы — убрать матрёшку и сделать карточки как в услугах/препаратах
   --------------------------------------------------------- */
body.single-aktsii .lm-single-related-articles,
body.single-aktsii .lm-single-promotion__linked-block--articles,
body.single-aktsii .lm-single-promotion__linked-block:has(a[href*="/articles/"]){
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 26px 0 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.single-aktsii .lm-single-related-articles__grid,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-single-promotion__linked-list,
body.single-aktsii .lm-single-promotion__linked-list:has(a[href*="/articles/"]){
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
  width: 100% !important;
}

body.single-aktsii .lm-single-related-article-card,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card,
body.single-aktsii .lm-linked-card:has(a[href*="/articles/"]){
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, var(--lm-aa-pearl) 100%) !important;
  border: 1px solid var(--lm-aa-line) !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 36px rgba(43,47,42,0.050), inset 0 1px 0 rgba(255,255,255,0.90) !important;
  overflow: hidden !important;
}

body.single-aktsii .lm-single-related-article-card__image-wrap,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__image-wrap,
body.single-aktsii .lm-linked-card:has(a[href*="/articles/"]) .lm-linked-card__image-wrap{
  width: 100% !important;
  height: 190px !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #f8f4ec !important;
}

body.single-aktsii .lm-single-related-article-card__image,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__image,
body.single-aktsii .lm-linked-card:has(a[href*="/articles/"]) .lm-linked-card__image,
body.single-aktsii .lm-linked-card:has(a[href*="/articles/"]) img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

body.single-aktsii .lm-single-related-article-card__body,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__body,
body.single-aktsii .lm-linked-card:has(a[href*="/articles/"]) .lm-linked-card__body{
  padding: 14px 16px 16px !important;
}

body.single-aktsii .lm-single-related-article-card__category,
body.single-aktsii .lm-linked-card:has(a[href*="/articles/"]) .lm-linked-card__meta{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  margin: 0 0 12px !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: rgba(238,227,207,0.56) !important;
  color: var(--lm-aa-phone) !important;
  border: 1px solid var(--lm-aa-line-soft) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

/* ---------------------------------------------------------
   05. Мобильный дубль — чтобы правки не ломались на телефоне
   --------------------------------------------------------- */
@media (max-width: 767px){
  body.post-type-archive-aktsii .lm-aktsii-switch,
body.post-type-archive-aktsii .lm-aktsii-tabs{
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    justify-content: center !important;
  }

  body.post-type-archive-aktsii .lm-aktsii-switch__item,
body.post-type-archive-aktsii .lm-aktsii-tab{
    min-width: 0 !important;
    flex: 1 1 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.single-aktsii .lm-single-related-articles__grid,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-single-promotion__linked-list,
body.single-aktsii .lm-single-promotion__linked-list:has(a[href*="/articles/"]){
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.single-aktsii .lm-single-related-article-card__image-wrap,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__image-wrap,
body.single-aktsii .lm-linked-card:has(a[href*="/articles/"]) .lm-linked-card__image-wrap{
    height: 210px !important;
  }
}



body.post-type-archive-aktsii,
body.single-aktsii{
  --lm-aa-pearl-main: #fffdf8;
  --lm-aa-pearl-soft: #fbf7ee;
  --lm-aa-card: #fffefb;
  --lm-aa-champagne-top: #eee3cf;
  --lm-aa-champagne-bottom: #dccaa9;
  --lm-aa-brown: #7b674a;
  --lm-aa-brown-dark: #4c4235;
  --lm-aa-line: rgba(197, 169, 120, 0.36);
  --lm-aa-line-soft: rgba(197, 169, 120, 0.22);
  --lm-aa-shadow: 0 18px 46px rgba(43, 47, 42, 0.060);
}

/* ---------------------------------------------------------
   01. Архивы — вернуть внутренний воздух, но не делать огромный разрыв
   --------------------------------------------------------- */
body.post-type-archive-aktsii .lm-aktsii-panel{
  padding: 0 22px 24px !important;
  box-sizing: border-box !important;
}

body.post-type-archive-aktsii .lm-aktsii-grid,
body.post-type-archive-aktsii .lm-home-promotions__grid,
body.post-type-archive-aktsii .lm-promos-grid{
  width: 100% !important;
  box-sizing: border-box !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch,
body.post-type-archive-aktsii .lm-aktsii-tabs{
  min-height: 42px !important;
  padding: 5px !important;
  margin-top: 0 !important;
  margin-right: 22px !important;
  margin-bottom: 8px !important;
  transform: translateY(0) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid var(--lm-aa-line-soft) !important;
  box-shadow:
    0 10px 26px rgba(43, 47, 42, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item,
body.post-type-archive-aktsii .lm-aktsii-tab{
  min-height: 32px !important;
  min-width: 112px !important;
  padding: 0 20px !important;
  color: #675f55 !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__slider,
body.post-type-archive-aktsii .lm-aktsii-tab.is-active,
body.post-type-archive-aktsii .lm-aktsii-switch__item.is-active{
  background: linear-gradient(180deg, var(--lm-aa-champagne-top) 0%, var(--lm-aa-champagne-bottom) 100%) !important;
  color: var(--lm-aa-brown-dark) !important;
  box-shadow:
    0 9px 22px rgba(123, 103, 74, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.48) !important;
}

/* ---------------------------------------------------------
   02. Архивные карточки — правый блок цены/кнопки без серой подложки
   --------------------------------------------------------- */
body.post-type-archive-aktsii .lm-home-promotions__card{
  background: linear-gradient(180deg, #ffffff 0%, var(--lm-aa-card) 100%) !important;
  border: 1px solid var(--lm-aa-line) !important;
  border-radius: 24px !important;
  box-shadow: var(--lm-aa-shadow), inset 0 1px 0 rgba(255,255,255,0.96) !important;
  overflow: hidden !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-col,
body.post-type-archive-aktsii .lm-home-promotions__price-side,
body.post-type-archive-aktsii .lm-home-promotions__actions{
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-col::before,
body.post-type-archive-aktsii .lm-home-promotions__price-col::after,
body.post-type-archive-aktsii .lm-home-promotions__actions::before,
body.post-type-archive-aktsii .lm-home-promotions__actions::after{
  content: none !important;
  display: none !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-badge{
  background: linear-gradient(180deg, #ffffff 0%, var(--lm-aa-pearl-main) 52%, var(--lm-aa-pearl-soft) 100%) !important;
  border: 1px solid var(--lm-aa-line) !important;
  color: var(--lm-aa-brown) !important;
  border-radius: 18px !important;
  box-shadow:
    0 12px 30px rgba(43, 47, 42, 0.050),
    inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button,
body.post-type-archive-aktsii .lm-aktsii-more-button{
  background: linear-gradient(180deg, var(--lm-aa-champagne-top) 0%, var(--lm-aa-champagne-bottom) 100%) !important;
  color: var(--lm-aa-brown-dark) !important;
  border: 1px solid rgba(181,151,106,0.54) !important;
  box-shadow:
    0 12px 28px rgba(123,103,74,0.14),
    inset 0 1px 0 rgba(255,255,255,0.54) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button:hover,
body.post-type-archive-aktsii .lm-aktsii-more-button:hover{
  background: linear-gradient(180deg, #f3e9d7 0%, #d5bf99 100%) !important;
  color: #3f3529 !important;
  border-color: rgba(157,132,91,0.66) !important;
  transform: translateY(-1px) !important;
}

/* Архивная метка: не пудровая, по центру и с воздухом до цены */
body.post-type-archive-aktsii .lm-home-promotions__archive-label,
body.post-type-archive-aktsii .lm-home-promotions__archive-badge,
body.post-type-archive-aktsii .lm-aktsii-archive-label,
body.post-type-archive-aktsii .lm-archive-label,
body.post-type-archive-aktsii .lm-card-archive-label{
  background: linear-gradient(180deg, #ffffff 0%, #f8f1e5 100%) !important;
  color: var(--lm-aa-brown) !important;
  border: 1px solid var(--lm-aa-line-soft) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88) !important;
  text-align: center !important;
  letter-spacing: .08em !important;
}

body.post-type-archive-aktsii .lm-home-promotions__archive-label{
  top: 0 !important;
  margin-bottom: 10px !important;
}

body.post-type-archive-aktsii .lm-home-promotions__card.is-hidden-archive-card .lm-home-promotions__price-col{
  gap: 16px !important;
}


body.single-aktsii .lm-service-hero__actions,
body.single-aktsii .lm-promo-hero__actions,
body.single-aktsii .lm-single-promotion__actions{
  width: 220px !important;
  max-width: 220px !important;
  flex: 0 0 220px !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn,
body.single-aktsii .lm-promo-hero__actions .lm-service-btn,
body.single-aktsii .lm-single-promotion__actions .lm-service-btn{
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn--dark,
body.single-aktsii .lm-service-hero__actions .lm-btn-primary,
body.single-aktsii .lm-promo-hero__actions .lm-service-btn--dark,
body.single-aktsii .lm-promo-hero__actions .lm-btn-primary{
  background: linear-gradient(180deg, var(--lm-aa-champagne-top) 0%, var(--lm-aa-champagne-bottom) 100%) !important;
  color: var(--lm-aa-brown-dark) !important;
  border: 1px solid rgba(181,151,106,0.54) !important;
  box-shadow:
    0 12px 28px rgba(123,103,74,0.16),
    inset 0 1px 0 rgba(255,255,255,0.54) !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn--dark:hover,
body.single-aktsii .lm-service-hero__actions .lm-btn-primary:hover,
body.single-aktsii .lm-promo-hero__actions .lm-service-btn--dark:hover,
body.single-aktsii .lm-promo-hero__actions .lm-btn-primary:hover{
  background: linear-gradient(180deg, #f3e9d7 0%, #d5bf99 100%) !important;
  color: #3f3529 !important;
  border-color: rgba(157,132,91,0.66) !important;
  transform: translateY(-1px) !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn--light,
body.single-aktsii .lm-service-hero__actions .lm-btn-secondary,
body.single-aktsii .lm-promo-hero__actions .lm-service-btn--light,
body.single-aktsii .lm-promo-hero__actions .lm-btn-secondary{
  background: rgba(255,255,255,0.78) !important;
  color: #4c463d !important;
  border: 1px solid rgba(181,151,106,0.44) !important;
  box-shadow:
    0 8px 20px rgba(43,47,42,0.060),
    inset 0 1px 0 rgba(255,255,255,0.72) !important;
}

body.single-aktsii .lm-service-hero__actions .lm-service-btn--light:hover,
body.single-aktsii .lm-service-hero__actions .lm-btn-secondary:hover,
body.single-aktsii .lm-promo-hero__actions .lm-service-btn--light:hover,
body.single-aktsii .lm-promo-hero__actions .lm-btn-secondary:hover{
  background: linear-gradient(180deg, #ffffff 0%, #f8f1e5 100%) !important;
  color: #3f382f !important;
  border-color: rgba(157,132,91,0.58) !important;
  box-shadow: 0 12px 26px rgba(43,47,42,0.090) !important;
  transform: translateY(-1px) !important;
}

/* Характеристики без лишней матрёшки */
body.single-aktsii .lm-service-specs,
body.single-aktsii .lm-attr-block{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---------------------------------------------------------
   04. Полезные материалы — 3 карточки, нормальные поля, без прилипания к краям
   --------------------------------------------------------- */
body.single-aktsii .lm-single-related-articles,
body.single-aktsii .lm-single-promotion__linked-block--articles{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  margin: 30px 0 0 !important;
  padding: 0 24px 34px !important;
  box-sizing: border-box !important;
}

body.single-aktsii .lm-single-promotion__linked-title{
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
  color: var(--lm-aa-ink, #252826) !important;
  font-size: 24px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
}

body.single-aktsii .lm-single-promotion__linked-title::before{
  content: "" !important;
  width: 13px !important;
  height: 13px !important;
  flex: 0 0 13px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, #cbb681 0 34%, rgba(203,182,129,0.38) 38% 100%) !important;
  box-shadow: 0 0 0 4px rgba(203,182,129,0.12) !important;
}

body.single-aktsii .lm-single-related-articles__grid,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-single-promotion__linked-list{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
  width: 100% !important;
}

body.single-aktsii .lm-single-related-article-card,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card{
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 0 !important;
  min-width: 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, var(--lm-aa-card) 100%) !important;
  border: 1px solid var(--lm-aa-line) !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 36px rgba(43,47,42,0.050), inset 0 1px 0 rgba(255,255,255,0.90) !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

body.single-aktsii .lm-single-related-article-card__image-wrap,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__image-wrap{
  width: 100% !important;
  height: 190px !important;
  flex: 0 0 190px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #f8f4ec !important;
}

body.single-aktsii .lm-single-related-article-card__image-wrap img,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__image,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__image-wrap img{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

body.single-aktsii .lm-single-related-article-card__body,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__body{
  padding: 14px 16px 16px !important;
}

body.single-aktsii .lm-single-related-article-card__category{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 26px !important;
  margin: 0 0 12px !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: rgba(238,227,207,0.56) !important;
  color: var(--lm-aa-brown) !important;
  border: 1px solid var(--lm-aa-line-soft) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body.single-aktsii .lm-single-related-article-card__title{
  margin: 0 0 14px !important;
  color: var(--lm-aa-ink, #252826) !important;
  font-size: 18px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
}

body.single-aktsii .lm-single-related-article-card__link{
  display: block !important;
  margin-top: auto !important;
  color: var(--lm-aa-brown) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: right !important;
}

/* ---------------------------------------------------------
   05. Mobile safety
   --------------------------------------------------------- */
@media (max-width: 900px){
  body.post-type-archive-aktsii .lm-aktsii-panel{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.single-aktsii .lm-service-hero__actions,
body.single-aktsii .lm-promo-hero__actions,
body.single-aktsii .lm-single-promotion__actions{
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: auto !important;
  }

  body.single-aktsii .lm-single-related-articles,
body.single-aktsii .lm-single-promotion__linked-block--articles{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.single-aktsii .lm-single-related-articles__grid,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-single-promotion__linked-list{
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.single-aktsii .lm-single-related-article-card__image-wrap,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card__image-wrap{
    height: 210px !important;
    flex-basis: 210px !important;
  }
}



body.post-type-archive-aktsii,
body.single-aktsii{
  --lm-aa-champagne-top: #f3eadb;
  --lm-aa-champagne-bottom: #ddcaa7;
  --lm-aa-champagne-hover-top: #f8f1e5;
  --lm-aa-champagne-hover-bottom: #d7c19b;
  --lm-aa-brown: #7b674a;
  --lm-aa-brown-dark: #4b4032;
  --lm-aa-line: rgba(197, 169, 120, 0.34);
  --lm-aa-line-soft: rgba(197, 169, 120, 0.20);
}

/* 1) Архивы: убрать лишний воздух между шапкой/переключателем и первой карточкой */
body.post-type-archive-aktsii .lm-archive-head,
body.post-type-archive-aktsii .lm-aktsii-archive .lm-archive-head{
  margin-bottom: 14px !important;
}

body.post-type-archive-aktsii .lm-archive-head__row{
  align-items: center !important;
  gap: 18px !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

body.post-type-archive-aktsii .lm-aktsii-panel,
body.post-type-archive-aktsii .lm-aktsii-panel.is-active{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 2) Переключатель Актуальные / Архивные — тот же champagne-стандарт, без серости */
body.post-type-archive-aktsii .lm-aktsii-switch,
body.post-type-archive-aktsii .lm-aktsii-tabs{
  min-height: 42px !important;
  height: 42px !important;
  width: 276px !important;
  min-width: 276px !important;
  padding: 4px !important;
  margin: 0 22px 0 auto !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid var(--lm-aa-line-soft) !important;
  border-radius: 999px !important;
  box-shadow:
    0 10px 26px rgba(43, 47, 42, 0.045),
    inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__slider{
  top: 4px !important;
  left: 4px !important;
  width: calc(50% - 4px) !important;
  height: 34px !important;
  background: linear-gradient(180deg, var(--lm-aa-champagne-top) 0%, var(--lm-aa-champagne-bottom) 100%) !important;
  border-radius: 999px !important;
  box-shadow:
    0 9px 20px rgba(123,103,74,0.14),
    inset 0 1px 0 rgba(255,255,255,0.55) !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item,
body.post-type-archive-aktsii .lm-aktsii-tab{
  min-height: 34px !important;
  padding: 0 18px !important;
  color: #5e5549 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item.is-active,
body.post-type-archive-aktsii .lm-aktsii-tab.is-active{
  color: var(--lm-aa-brown-dark) !important;
}

/* 3) Архивные метки: не липнут к цене и сидят строго над ценовым блоком */
body.post-type-archive-aktsii .lm-home-promotions__archive-label,
body.post-type-archive-aktsii .lm-home-promotions__archive-badge,
body.post-type-archive-aktsii .lm-aktsii-archive-label,
body.post-type-archive-aktsii .lm-archive-label,
body.post-type-archive-aktsii .lm-card-archive-label{
  background: linear-gradient(180deg, #ffffff 0%, #f8f1e5 100%) !important;
  color: var(--lm-aa-brown) !important;
  border: 1px solid var(--lm-aa-line-soft) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.90) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__archive-label,
body.post-type-archive-aktsii .lm-home-promotions__archive-badge{
  margin-bottom: 0 !important;
}

body.post-type-archive-aktsii .lm-home-promotions__card:has(.lm-home-promotions__archive-label) .lm-home-promotions__price-col,
body.post-type-archive-aktsii .lm-home-promotions__card:has(.lm-home-promotions__archive-badge) .lm-home-promotions__price-col{
  top: 44px !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-badge.is-archive-badge,
body.post-type-archive-aktsii .lm-home-promotions__price-badge.is-archived{
  margin-top: 8px !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-col{
  gap: 12px !important;
}

/* 4) Правые кнопки в архивах — единый champagne, без серой подложки */
body.post-type-archive-aktsii .lm-home-promotions__actions,
body.post-type-archive-aktsii .lm-home-promotions__price-col{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button,
body.post-type-archive-aktsii .lm-aktsii-more-button{
  background: linear-gradient(180deg, var(--lm-aa-champagne-top) 0%, var(--lm-aa-champagne-bottom) 100%) !important;
  color: var(--lm-aa-brown-dark) !important;
  border: 1px solid rgba(181,151,106,0.56) !important;
  box-shadow:
    0 12px 28px rgba(123,103,74,0.13),
    inset 0 1px 0 rgba(255,255,255,0.58) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button:hover,
body.post-type-archive-aktsii .lm-aktsii-more-button:hover{
  background: linear-gradient(180deg, var(--lm-aa-champagne-hover-top) 0%, var(--lm-aa-champagne-hover-bottom) 100%) !important;
  color: #3f3529 !important;
  transform: translateY(-1px) !important;
}

/* 5) Single: кнопочная колонка не вылетает вправо, цвета как в услугах/препаратах */
body.single-aktsii .lm-promo-hero .lm-service-hero__top{
  grid-template-columns: minmax(0, 1fr) 200px !important;
  gap: 16px !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

body.single-aktsii .lm-service-hero__actions,
body.single-aktsii .lm-promo-hero__actions,
body.single-aktsii .lm-single-promotion__actions{
  width: 200px !important;
  max-width: 200px !important;
  flex: 0 0 200px !important;
  gap: 12px !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

body.single-aktsii .lm-service-hero__actions > a,
body.single-aktsii .lm-promo-hero__actions > a,
body.single-aktsii .lm-single-promotion__actions > a{
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.single-aktsii .lm-service-hero__actions > a:first-child,
body.single-aktsii .lm-promo-hero__actions > a:first-child,
body.single-aktsii .lm-single-promotion__actions > a:first-child,
body.single-aktsii .lm-service-btn--dark{
  background: linear-gradient(180deg, var(--lm-aa-champagne-top) 0%, var(--lm-aa-champagne-bottom) 100%) !important;
  color: var(--lm-aa-brown-dark) !important;
  border: 1px solid rgba(181,151,106,0.56) !important;
  box-shadow:
    0 12px 28px rgba(123,103,74,0.14),
    inset 0 1px 0 rgba(255,255,255,0.58) !important;
}

body.single-aktsii .lm-service-hero__actions > a:last-child,
body.single-aktsii .lm-promo-hero__actions > a:last-child,
body.single-aktsii .lm-single-promotion__actions > a:last-child,
body.single-aktsii .lm-service-btn--light{
  background: rgba(255,255,255,0.82) !important;
  color: #4c463d !important;
  border: 1px solid rgba(181,151,106,0.44) !important;
  box-shadow:
    0 8px 20px rgba(43,47,42,0.060),
    inset 0 1px 0 rgba(255,255,255,0.74) !important;
}

body.single-aktsii .lm-service-hero__actions > a:hover,
body.single-aktsii .lm-promo-hero__actions > a:hover,
body.single-aktsii .lm-single-promotion__actions > a:hover{
  background: linear-gradient(180deg, var(--lm-aa-champagne-hover-top) 0%, var(--lm-aa-champagne-hover-bottom) 100%) !important;
  color: #3f3529 !important;
  transform: translateY(-1px) !important;
}

/* 6) Полезные материалы теперь лежат внутри основной подложки, без отдельной матрёшки */
body.single-aktsii .lm-promo-info-card .lm-single-related-articles,
body.single-aktsii .lm-service-info-card .lm-single-related-articles{
  width: 100% !important;
  margin: 30px 0 0 !important;
  padding: 26px 0 4px !important;
  border-top: 1px solid var(--lm-aa-line-soft) !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.single-aktsii .lm-promo-info-card .lm-single-related-articles__grid,
body.single-aktsii .lm-service-info-card .lm-single-related-articles__grid{
  padding: 0 !important;
  margin: 0 !important;
}

body.single-aktsii .lm-promo-info-card .lm-single-promotion__linked-title,
body.single-aktsii .lm-service-info-card .lm-single-promotion__linked-title{
  margin: 0 0 16px !important;
}

/* Страховка, если старый PHP оставит материалы снаружи основной подложки */
body.single-aktsii article > .lm-single-related-articles{
  margin: 28px 0 0 !important;
  padding: 0 24px 34px !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px){
  body.post-type-archive-aktsii .lm-archive-head__row{
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  body.post-type-archive-aktsii .lm-aktsii-switch,
body.post-type-archive-aktsii .lm-aktsii-tabs{
    width: 100% !important;
    min-width: 0 !important;
    max-width: 280px !important;
    margin: 0 !important;
  }

  body.single-aktsii .lm-promo-hero .lm-service-hero__top{
    display: flex !important;
    flex-direction: column !important;
  }

  body.single-aktsii .lm-service-hero__actions,
body.single-aktsii .lm-promo-hero__actions,
body.single-aktsii .lm-single-promotion__actions{
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: auto !important;
  }
}



body.post-type-archive-aktsii,
body.single-aktsii{
  --lm-aa-primary-top: #c7b79f;
  --lm-aa-primary-bottom: #a99172;
  --lm-aa-primary-hover-top: #b9a587;
  --lm-aa-primary-hover-bottom: #967b58;
  --lm-aa-secondary-top: #ffffff;
  --lm-aa-secondary-bottom: #f8f1e5;
  --lm-aa-text-brown: #5f513e;
}

/* 01. Архивы: вводная строка и переключатель не липнут к краям */
body.post-type-archive-aktsii .lm-archive-head__row{
  padding: 12px 22px 0 28px !important;
  margin: 0 0 14px !important;
  align-items: flex-start !important;
  box-sizing: border-box !important;
}

body.post-type-archive-aktsii .lm-archive-head__text{
  margin: 0 !important;
  padding: 0 !important;
  color: #5f5a52 !important;
}

body.post-type-archive-aktsii .lm-aktsii-panel,
body.post-type-archive-aktsii .lm-aktsii-panel.is-active{
  padding-top: 0 !important;
}

/* 02. Переключатель: убираем визуальное двоение, активная половина рисуется самой кнопкой */
body.post-type-archive-aktsii .lm-aktsii-switch,
body.post-type-archive-aktsii .lm-aktsii-tabs{
  width: 284px !important;
  min-width: 284px !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 4px !important;
  margin: 0 0 0 auto !important;
  background: rgba(255,255,255,0.88) !important;
  border: 1px solid rgba(197,169,120,0.22) !important;
  border-radius: 999px !important;
  box-shadow:
    0 12px 30px rgba(43,47,42,0.045),
    inset 0 1px 0 rgba(255,255,255,0.94) !important;
  overflow: hidden !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__slider{
  display: none !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item,
body.post-type-archive-aktsii .lm-aktsii-tab{
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #5f5549 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item.is-active,
body.post-type-archive-aktsii .lm-aktsii-tab.is-active{
  background: linear-gradient(180deg, #f2e8d6 0%, #d9c49f 100%) !important;
  color: #4b4032 !important;
  box-shadow:
    0 8px 18px rgba(123,103,74,0.15),
    inset 0 1px 0 rgba(255,255,255,0.62) !important;
}

/* 03. Архивные метки над ценой: меньше воздуха, без прилипания */
body.post-type-archive-aktsii .lm-home-promotions__price-col{
  gap: 10px !important;
  align-items: stretch !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.post-type-archive-aktsii .lm-home-promotions__card:has(.lm-home-promotions__archive-label) .lm-home-promotions__price-col,
body.post-type-archive-aktsii .lm-home-promotions__card:has(.lm-home-promotions__archive-badge) .lm-home-promotions__price-col{
  top: auto !important;
}

body.post-type-archive-aktsii .lm-home-promotions__archive-label,
body.post-type-archive-aktsii .lm-home-promotions__archive-badge,
body.post-type-archive-aktsii .lm-aktsii-archive-label,
body.post-type-archive-aktsii .lm-archive-label,
body.post-type-archive-aktsii .lm-card-archive-label{
  margin: 0 0 8px !important;
  min-height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fffdf8 0%, #f3eadb 100%) !important;
  color: #7b674a !important;
  border: 1px solid rgba(197,169,120,0.24) !important;
  letter-spacing: .08em !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-badge.is-archive-badge,
body.post-type-archive-aktsii .lm-home-promotions__price-badge.is-archived{
  margin-top: 0 !important;
}

/* 04. Архивные кнопки и price-бейджи: один champagne-стандарт */
body.post-type-archive-aktsii .lm-home-promotions__button,
body.post-type-archive-aktsii .lm-aktsii-more-button{
  background: linear-gradient(180deg, #f3eadb 0%, #ddcaa7 100%) !important;
  color: #4b4032 !important;
  border: 1px solid rgba(181,151,106,0.56) !important;
  box-shadow:
    0 12px 28px rgba(123,103,74,0.13),
    inset 0 1px 0 rgba(255,255,255,0.58) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button:hover,
body.post-type-archive-aktsii .lm-aktsii-more-button:hover{
  background: linear-gradient(180deg, #f8f1e5 0%, #d7c19b 100%) !important;
  color: #3f3529 !important;
  transform: translateY(-1px) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-badge{
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 52%, #fbf3e6 100%) !important;
  border: 1px solid rgba(197,169,120,0.34) !important;
  color: #7b674a !important;
}


body.single-aktsii .lm-promo-hero .lm-service-hero__top{
  grid-template-columns: minmax(0, 1fr) 210px !important;
  gap: 18px !important;
  padding-right: 18px !important;
  box-sizing: border-box !important;
}

body.single-aktsii .lm-service-hero__actions,
body.single-aktsii .lm-promo-hero__actions,
body.single-aktsii .lm-single-promotion__actions{
  width: 210px !important;
  max-width: 210px !important;
  flex: 0 0 210px !important;
  gap: 12px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.single-aktsii .lm-service-hero__actions > a,
body.single-aktsii .lm-promo-hero__actions > a,
body.single-aktsii .lm-single-promotion__actions > a{
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  font-weight: 700 !important;
}

body.single-aktsii .lm-service-hero__actions > a:first-child,
body.single-aktsii .lm-promo-hero__actions > a:first-child,
body.single-aktsii .lm-single-promotion__actions > a:first-child,
body.single-aktsii .lm-service-btn-primary{
  background: linear-gradient(180deg, var(--lm-aa-primary-top) 0%, var(--lm-aa-primary-bottom) 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  box-shadow:
    0 10px 26px rgba(50,45,40,0.18),
    inset 0 1px 0 rgba(255,255,255,0.35) !important;
}

body.single-aktsii .lm-service-hero__actions > a:last-child,
body.single-aktsii .lm-promo-hero__actions > a:last-child,
body.single-aktsii .lm-single-promotion__actions > a:last-child,
body.single-aktsii .lm-service-btn-secondary{
  background: rgba(255,255,255,0.72) !important;
  color: #4a463f !important;
  border: 1px solid rgba(190,174,145,0.45) !important;
  box-shadow:
    0 6px 18px rgba(0,0,0,0.055),
    inset 0 1px 0 rgba(255,255,255,0.68) !important;
}

body.single-aktsii .lm-service-hero__actions > a:hover,
body.single-aktsii .lm-promo-hero__actions > a:hover,
body.single-aktsii .lm-single-promotion__actions > a:hover{
  background: linear-gradient(180deg, var(--lm-aa-primary-hover-top) 0%, var(--lm-aa-primary-hover-bottom) 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.25) !important;
  box-shadow:
    0 14px 34px rgba(40,36,32,0.24),
    inset 0 1px 0 rgba(255,255,255,0.25) !important;
  transform: translateY(-1px) !important;
}

/* 06. Скидочная звёздочка в single — вправо, чтобы не наезжала на “Завершена” */
body.single-aktsii .lm-promo-hero__discount-badge{
  left: auto !important;
  right: 16px !important;
  top: 16px !important;
  z-index: 3 !important;
}

body.single-aktsii .lm-promo-hero__archive-badge{
  left: 16px !important;
  right: auto !important;
  top: 16px !important;
  z-index: 4 !important;
}

/* 07. Полезные материалы внутри single: поля как в услугах/препаратах, без прилипания */
body.single-aktsii .lm-promo-info-card .lm-single-related-articles,
body.single-aktsii .lm-service-info-card .lm-single-related-articles{
  margin: 30px 0 0 !important;
  padding: 26px 24px 30px !important;
  border-top: 1px solid rgba(197,169,120,0.20) !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.single-aktsii .lm-promo-info-card .lm-single-related-articles__grid,
body.single-aktsii .lm-service-info-card .lm-single-related-articles__grid{
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 22px !important;
  box-sizing: border-box !important;
}

body.single-aktsii article > .lm-single-related-articles{
  padding: 0 24px 34px !important;
  margin: 28px 0 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px){
  body.post-type-archive-aktsii .lm-archive-head__row{
    padding: 10px 16px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.post-type-archive-aktsii .lm-aktsii-switch,
body.post-type-archive-aktsii .lm-aktsii-tabs{
    width: 100% !important;
    min-width: 0 !important;
    max-width: 290px !important;
    margin: 0 !important;
  }

  body.single-aktsii .lm-promo-hero .lm-service-hero__top{
    display: flex !important;
    flex-direction: column !important;
    padding-right: 0 !important;
  }

  body.single-aktsii .lm-service-hero__actions,
body.single-aktsii .lm-promo-hero__actions,
body.single-aktsii .lm-single-promotion__actions{
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }

  body.single-aktsii .lm-promo-info-card .lm-single-related-articles,
body.single-aktsii .lm-service-info-card .lm-single-related-articles{
    padding: 22px 14px 24px !important;
  }
}




body.post-type-archive-aktsii,
body.single-aktsii{
  --lm-aa-final-primary-top: #c7b79f;
  --lm-aa-final-primary-bottom: #a99172;
  --lm-aa-final-primary-hover-top: #b9a587;
  --lm-aa-final-primary-hover-bottom: #967b58;
  --lm-aa-final-champagne-top: #fffdf8;
  --lm-aa-final-champagne-bottom: #eadbc5;
  --lm-aa-final-brown: #7b674a;
  --lm-aa-final-brown-dark: #4b4032;
  --lm-aa-final-line: rgba(197, 169, 120, 0.34);
  --lm-aa-final-line-soft: rgba(197, 169, 120, 0.20);
}

/* 01. Архивы: шапка архива и вводный текст — аккуратнее, без прилипания */
body.post-type-archive-aktsii .lm-archive-head__row{
  align-items: flex-start !important;
  gap: 16px !important;
  margin: 0 0 14px !important;
  padding-top: 8px !important;
}

body.post-type-archive-aktsii .lm-archive-head__text{
  padding-left: 24px !important;
  padding-top: 6px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* 02. Переключатель “Актуальные / Архивные”: убираем старый slider и двоение */
body.post-type-archive-aktsii .lm-aktsii-switch,
body.post-type-archive-aktsii .lm-aktsii-tabs{
  width: 286px !important;
  min-width: 286px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 4px !important;
  margin: 6px 18px 10px auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: stretch !important;
  gap: 4px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.88) !important;
  border: 1px solid var(--lm-aa-final-line-soft) !important;
  box-shadow:
    0 10px 26px rgba(43,47,42,0.045),
    inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__slider{
  display: none !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item,
body.post-type-archive-aktsii .lm-aktsii-tab,
body.post-type-archive-aktsii .lm-aktsii-switch button{
  flex: 1 1 0 !important;
  min-width: 0 !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #5e5549 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  position: relative !important;
  z-index: 2 !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item::before,
body.post-type-archive-aktsii .lm-aktsii-switch__item::after,
body.post-type-archive-aktsii .lm-aktsii-tab::before,
body.post-type-archive-aktsii .lm-aktsii-tab::after{
  display: none !important;
  content: none !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item.is-active,
body.post-type-archive-aktsii .lm-aktsii-tab.is-active,
body.post-type-archive-aktsii .lm-aktsii-switch button.is-active{
  background: linear-gradient(180deg, var(--lm-aa-final-primary-top) 0%, var(--lm-aa-final-primary-bottom) 100%) !important;
  color: #ffffff !important;
  box-shadow:
    0 8px 18px rgba(123,103,74,0.18),
    inset 0 1px 0 rgba(255,255,255,0.32) !important;
}

/* 03. Архивная метка над ценой: чуть больше воздуха до ценового блока */
body.post-type-archive-aktsii .lm-home-promotions__archive-label,
body.post-type-archive-aktsii .lm-home-promotions__archive-badge,
body.post-type-archive-aktsii .lm-aktsii-archive-label,
body.post-type-archive-aktsii .lm-archive-label,
body.post-type-archive-aktsii .lm-card-archive-label{
  margin: 0 0 12px !important;
  min-height: 24px !important;
  line-height: 24px !important;
  background: linear-gradient(180deg, #fffdf8 0%, #f3eadb 100%) !important;
  color: var(--lm-aa-final-brown) !important;
  border: 1px solid rgba(197,169,120,0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-col{
  gap: 10px !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-badge.is-archive-badge,
body.post-type-archive-aktsii .lm-home-promotions__price-badge.is-archived{
  margin-top: 0 !important;
}

/* 04. Single: CTA-кнопки ближе друг к другу и без разброса по вертикали */
body.single-aktsii .lm-service-hero__actions,
body.single-aktsii .lm-promo-hero__actions,
body.single-aktsii .lm-single-promotion__actions{
  gap: 8px !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  align-self: flex-start !important;
}

body.single-aktsii .lm-service-hero__actions > a,
body.single-aktsii .lm-promo-hero__actions > a,
body.single-aktsii .lm-single-promotion__actions > a{
  margin: 0 !important;
}

body.single-aktsii .lm-service-hero__actions > a:first-child,
body.single-aktsii .lm-promo-hero__actions > a:first-child,
body.single-aktsii .lm-single-promotion__actions > a:first-child,
body.single-aktsii .lm-service-btn-primary{
  background: linear-gradient(180deg, var(--lm-aa-final-primary-top) 0%, var(--lm-aa-final-primary-bottom) 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  box-shadow:
    0 10px 26px rgba(50,45,40,0.18),
    inset 0 1px 0 rgba(255,255,255,0.35) !important;
}

body.single-aktsii .lm-service-hero__actions > a:last-child,
body.single-aktsii .lm-promo-hero__actions > a:last-child,
body.single-aktsii .lm-single-promotion__actions > a:last-child,
body.single-aktsii .lm-service-btn-secondary{
  background: rgba(255,255,255,0.72) !important;
  color: #4a463f !important;
  border: 1px solid rgba(190,174,145,0.45) !important;
  box-shadow:
    0 6px 18px rgba(0,0,0,0.055),
    inset 0 1px 0 rgba(255,255,255,0.68) !important;
}

body.single-aktsii .lm-service-hero__actions > a:hover,
body.single-aktsii .lm-promo-hero__actions > a:hover,
body.single-aktsii .lm-single-promotion__actions > a:hover{
  background: linear-gradient(180deg, var(--lm-aa-final-primary-hover-top) 0%, var(--lm-aa-final-primary-hover-bottom) 100%) !important;
  color: #ffffff !important;
}

/* 05. На мобильных не давим переключатель в узкую колонку */
@media (max-width: 900px){
  body.post-type-archive-aktsii .lm-aktsii-switch,
body.post-type-archive-aktsii .lm-aktsii-tabs{
    width: min(286px, 100%) !important;
    min-width: 0 !important;
    margin: 8px 0 12px !important;
  }

  body.post-type-archive-aktsii .lm-archive-head__text{
    padding-left: 0 !important;
  }
}



body.post-type-archive-aktsii,
body.single-aktsii{
  --lm-aa-step8-btn-top: #fffdf8;
  --lm-aa-step8-btn-bottom: #eadbc5;
  --lm-aa-step8-btn-hover-top: #ffffff;
  --lm-aa-step8-btn-hover-bottom: #e4d1b2;
  --lm-aa-step8-text: #4a4032;
  --lm-aa-step8-text-hover: #3f3528;
  --lm-aa-step8-line: rgba(169, 141, 87, 0.55);
  --lm-aa-step8-line-hover: rgba(169, 141, 87, 0.82);
  --lm-aa-step8-shadow: rgba(75, 69, 56, 0.12);
  --lm-aa-step8-shadow-hover: rgba(75, 69, 56, 0.18);
}


body.post-type-archive-aktsii .lm-home-promotions__price-col,
body.post-type-archive-aktsii .lm-home-promotions__side,
body.post-type-archive-aktsii .lm-home-promotions__bottom{
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

body.post-type-archive-aktsii .lm-home-promotions__archive-label,
body.post-type-archive-aktsii .lm-home-promotions__active-label,
body.post-type-archive-aktsii .lm-home-promotions__archive-badge,
body.post-type-archive-aktsii .lm-aktsii-archive-label,
body.post-type-archive-aktsii .lm-aktsii-active-label,
body.post-type-archive-aktsii .lm-archive-label,
body.post-type-archive-aktsii .lm-active-label,
body.post-type-archive-aktsii .lm-card-archive-label,
body.post-type-archive-aktsii .lm-card-active-label{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 190px !important;
  min-height: 24px !important;
  line-height: 1 !important;
  margin: 0 0 14px 0 !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fffdf8 0%, #f3eadb 100%) !important;
  color: #7b674a !important;
  border: 1px solid rgba(197,169,120,0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92) !important;
  white-space: nowrap !important;
  position: static !important;
  transform: none !important;
}

body.post-type-archive-aktsii .lm-home-promotions__price-badge,
body.post-type-archive-aktsii .lm-home-promotions__price{
  margin-top: 0 !important;
}


body.single-aktsii .lm-service-hero__actions,
body.single-aktsii .lm-promo-hero__actions,
body.single-aktsii .lm-single-promotion__actions,
body.single-aktsii .lm-dual-buttons{
  gap: 8px !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  align-self: flex-start !important;
}

body.single-aktsii .lm-service-hero__actions a,
body.single-aktsii .lm-promo-hero__actions a,
body.single-aktsii .lm-single-promotion__actions a,
body.single-aktsii .lm-dual-buttons a{
  margin: 0 !important;
  transition: all .25s ease !important;
}

body.single-aktsii .lm-service-hero__actions a:first-child,
body.single-aktsii .lm-promo-hero__actions a:first-child,
body.single-aktsii .lm-single-promotion__actions a:first-child,
body.single-aktsii .lm-dual-buttons a:first-child,
body.single-aktsii .lm-service-btn-primary,
body.single-aktsii .lm-service-btn--dark,
body.single-aktsii .lm-btn-primary{
  background: linear-gradient(180deg, var(--lm-aa-step8-btn-top) 0%, var(--lm-aa-step8-btn-bottom) 100%) !important;
  color: var(--lm-aa-step8-text) !important;
  border: 1px solid var(--lm-aa-step8-line) !important;
  box-shadow:
    0 10px 26px var(--lm-aa-step8-shadow),
    inset 0 1px 0 rgba(255,255,255,0.9) !important;
  text-decoration: none !important;
}

body.single-aktsii .lm-service-hero__actions a:first-child:hover,
body.single-aktsii .lm-promo-hero__actions a:first-child:hover,
body.single-aktsii .lm-single-promotion__actions a:first-child:hover,
body.single-aktsii .lm-dual-buttons a:first-child:hover,
body.single-aktsii .lm-service-btn-primary:hover,
body.single-aktsii .lm-service-btn--dark:hover,
body.single-aktsii .lm-btn-primary:hover{
  background: linear-gradient(180deg, var(--lm-aa-step8-btn-hover-top) 0%, var(--lm-aa-step8-btn-hover-bottom) 100%) !important;
  color: var(--lm-aa-step8-text-hover) !important;
  border-color: var(--lm-aa-step8-line-hover) !important;
  box-shadow:
    0 16px 38px var(--lm-aa-step8-shadow-hover),
    inset 0 1px 0 rgba(255,255,255,0.95) !important;
  transform: translateY(-1px) !important;
}

body.single-aktsii .lm-service-hero__actions a:last-child,
body.single-aktsii .lm-promo-hero__actions a:last-child,
body.single-aktsii .lm-single-promotion__actions a:last-child,
body.single-aktsii .lm-dual-buttons a:last-child,
body.single-aktsii .lm-service-btn-secondary,
body.single-aktsii .lm-service-btn--light,
body.single-aktsii .lm-btn-secondary{
  background: linear-gradient(180deg, #ffffff 0%, #fffefa 55%, #f8efe0 100%) !important;
  color: #4f4639 !important;
  border: 1px solid rgba(181,151,106,0.46) !important;
  box-shadow:
    0 8px 22px rgba(75,69,56,0.08),
    inset 0 1px 0 rgba(255,255,255,0.88) !important;
  text-decoration: none !important;
}

body.single-aktsii .lm-service-hero__actions a:last-child:hover,
body.single-aktsii .lm-promo-hero__actions a:last-child:hover,
body.single-aktsii .lm-single-promotion__actions a:last-child:hover,
body.single-aktsii .lm-dual-buttons a:last-child:hover,
body.single-aktsii .lm-service-btn-secondary:hover,
body.single-aktsii .lm-service-btn--light:hover,
body.single-aktsii .lm-btn-secondary:hover{
  background: linear-gradient(180deg, #fffefa 0%, #f0e2cb 100%) !important;
  color: #3f3528 !important;
  border-color: rgba(169,141,87,0.72) !important;
  box-shadow:
    0 15px 36px rgba(75,69,56,0.16),
    inset 0 1px 0 rgba(255,255,255,0.92) !important;
  transform: translateY(-1px) !important;
}

/* 03. На мобильной версии сохраняем нормальные отступы и без налезаний */
@media (max-width: 900px){
  body.post-type-archive-aktsii .lm-home-promotions__archive-label,
body.post-type-archive-aktsii .lm-home-promotions__active-label,
body.post-type-archive-aktsii .lm-home-promotions__archive-badge{
    max-width: 100% !important;
    margin-bottom: 10px !important;
  }
}



body.post-type-archive-aktsii,
body.single-aktsii{
  --lm-aa-cherry-btn-top: #f3eadb;
  --lm-aa-cherry-btn-bottom: #ddcaa7;
  --lm-aa-cherry-btn-hover-top: #f8f1e5;
  --lm-aa-cherry-btn-hover-bottom: #d7c19b;
  --lm-aa-cherry-text: #4b4032;
  --lm-aa-cherry-text-hover: #3f3529;
  --lm-aa-cherry-border: rgba(181,151,106,0.56);
  --lm-aa-cherry-border-hover: rgba(157,132,91,0.66);
  --lm-aa-cherry-shadow: rgba(123,103,74,0.14);
}

/* 01. Архивы: “Актуальные / Архивные” — активная кнопка тем же цветом, что и “Подробнее” под ценой */
body.post-type-archive-aktsii .lm-aktsii-switch__item.is-active,
body.post-type-archive-aktsii .lm-aktsii-tab.is-active,
body.post-type-archive-aktsii .lm-aktsii-switch button.is-active,
body.post-type-archive-aktsii .lm-aktsii-tabs .is-active{
  background: linear-gradient(180deg, var(--lm-aa-cherry-btn-top) 0%, var(--lm-aa-cherry-btn-bottom) 100%) !important;
  color: var(--lm-aa-cherry-text) !important;
  border: 1px solid var(--lm-aa-cherry-border) !important;
  box-shadow:
    0 10px 24px rgba(123,103,74,0.15),
    inset 0 1px 0 rgba(255,255,255,0.62) !important;
}

body.post-type-archive-aktsii .lm-aktsii-switch__item.is-active:hover,
body.post-type-archive-aktsii .lm-aktsii-tab.is-active:hover,
body.post-type-archive-aktsii .lm-aktsii-switch button.is-active:hover{
  background: linear-gradient(180deg, var(--lm-aa-cherry-btn-hover-top) 0%, var(--lm-aa-cherry-btn-hover-bottom) 100%) !important;
  color: var(--lm-aa-cherry-text-hover) !important;
  border-color: var(--lm-aa-cherry-border-hover) !important;
}


body.post-type-archive-aktsii .lm-home-promotions__button,
body.post-type-archive-aktsii .lm-aktsii-more-button{
  background: linear-gradient(180deg, var(--lm-aa-cherry-btn-top) 0%, var(--lm-aa-cherry-btn-bottom) 100%) !important;
  color: var(--lm-aa-cherry-text) !important;
  border: 1px solid var(--lm-aa-cherry-border) !important;
  box-shadow:
    0 12px 28px var(--lm-aa-cherry-shadow),
    inset 0 1px 0 rgba(255,255,255,0.58) !important;
}

body.post-type-archive-aktsii .lm-home-promotions__button:hover,
body.post-type-archive-aktsii .lm-aktsii-more-button:hover{
  background: linear-gradient(180deg, var(--lm-aa-cherry-btn-hover-top) 0%, var(--lm-aa-cherry-btn-hover-bottom) 100%) !important;
  color: var(--lm-aa-cherry-text-hover) !important;
  border-color: var(--lm-aa-cherry-border-hover) !important;
  transform: translateY(-1px) !important;
}


body.post-type-archive-aktsii .lm-home-promotions__top{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  column-gap: 8px !important;
  row-gap: 4px !important;
}

body.post-type-archive-aktsii .lm-home-promotions__title,
body.post-type-archive-aktsii .lm-home-promotions__top h2{
  order: 1 !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}

body.post-type-archive-aktsii .lm-home-promotions__archive-label,
body.post-type-archive-aktsii .lm-home-promotions__active-label,
body.post-type-archive-aktsii .lm-home-promotions__archive-badge,
body.post-type-archive-aktsii .lm-aktsii-archive-label,
body.post-type-archive-aktsii .lm-aktsii-active-label{
  order: 2 !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 22px !important;
  height: 22px !important;
  line-height: 20px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

body.post-type-archive-aktsii .lm-home-promotions__date,
body.post-type-archive-aktsii .lm-home-promotions__meta{
  order: 3 !important;
  flex: 1 1 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  line-height: 1.25 !important;
}

/* 04. Если метка всё ещё находится в правой ценовой колонке — не даём ей липнуть к бейджу */
body.post-type-archive-aktsii .lm-home-promotions__price-col > .lm-home-promotions__archive-label,
body.post-type-archive-aktsii .lm-home-promotions__price-col > .lm-home-promotions__active-label{
  margin: 0 0 8px !important;
}

/* 05. Мобилка: метка и срок могут переноситься, но порядок остаётся правильным */
@media (max-width: 900px){
  body.post-type-archive-aktsii .lm-home-promotions__archive-label,
body.post-type-archive-aktsii .lm-home-promotions__active-label,
body.post-type-archive-aktsii .lm-home-promotions__archive-badge{
    max-width: 100% !important;
    margin: 0 !important;
  }
}



body.single-aktsii .lm-promo-inline-relations__title,
body.single-aktsii .lm-single-entry h2.lm-promo-inline-relations__title,
body.single-aktsii .lm-single-main h2.lm-promo-inline-relations__title{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;

  margin: 26px 0 14px !important;
  padding: 0 !important;

  color: #3d3a34 !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
}

body.single-aktsii .lm-promo-inline-relations__title::before,
body.single-aktsii .lm-single-entry h2.lm-promo-inline-relations__title::before,
body.single-aktsii .lm-single-main h2.lm-promo-inline-relations__title::before{
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 9px !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #c5a978 !important;
  box-shadow: 0 0 0 5px rgba(197, 169, 120, 0.13) !important;
}

body.single-aktsii .lm-promo-inline-relations__title:first-child{
  margin-top: 0 !important;
}

@media (max-width: 767px){
  body.single-aktsii .lm-promo-inline-relations__title,
body.single-aktsii .lm-single-entry h2.lm-promo-inline-relations__title,
body.single-aktsii .lm-single-main h2.lm-promo-inline-relations__title{
    margin: 22px 0 12px !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
  }
}


@media (max-width: 767px){
  body.single-aktsii{
    --lm-aa-mobile-edge: 12px;
    --lm-aa-mobile-inner: 14px;
    --lm-aa-mobile-radius: 22px;
  }

  /* 01. Основная контентная подложка: не трогаем десктоп, на мобилке даём больше полезной ширины */
  body.single-aktsii .lm-single-main{
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  /* 02. Начиная с главного текста: уменьшаем внутренние поля, чтобы текст и блоки не были зажаты */
  body.single-aktsii .lm-service-info-card,
body.single-aktsii .lm-service-description,
body.single-aktsii .lm-service-content-sections,
body.single-aktsii .lm-single-entry__content,
body.single-aktsii .lm-single-entry__summary{
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--lm-aa-mobile-inner) !important;
    padding-right: var(--lm-aa-mobile-inner) !important;
    box-sizing: border-box !important;
  }

  body.single-aktsii .lm-service-description,
body.single-aktsii .lm-single-entry__content{
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  /* 03. Характеристики: ширина как у текста, без лишних боковых полей */
  body.single-aktsii .lm-service-specs,
body.single-aktsii .lm-attr-block{
    width: calc(100% - (var(--lm-aa-mobile-edge) * 2)) !important;
    max-width: calc(100% - (var(--lm-aa-mobile-edge) * 2)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* 04. FAQ: расширяем до общей мобильной ширины, как у специалистов/кабинетов/описания */
  body.single-aktsii .lm-faq-block--inside,
body.single-aktsii .lm-faq-block,
body.single-aktsii .lm-service-faq{
    width: calc(100% - (var(--lm-aa-mobile-edge) * 2)) !important;
    max-width: calc(100% - (var(--lm-aa-mobile-edge) * 2)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-aktsii .lm-faq-accordion{
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-aktsii .lm-faq-item{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  
  body.single-aktsii .lm-promo-inline-relations,
body.single-aktsii .lm-single-promotion__linked-block,
body.single-aktsii .lm-single-promotion__linked-list{
    width: calc(100% - (var(--lm-aa-mobile-edge) * 2)) !important;
    max-width: calc(100% - (var(--lm-aa-mobile-edge) * 2)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-aktsii .lm-promo-inline-relations__section{
    gap: 12px !important;
  }

  /* 06. Связанные карточки: фото сверху, ниже название и анонс */
  body.single-aktsii .lm-promo-inline-relations .lm-linked-card,
body.single-aktsii .lm-single-promotion__linked-list .lm-linked-card{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 10px !important;
    gap: 0 !important;
    border-radius: var(--lm-aa-mobile-radius) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.single-aktsii .lm-promo-inline-relations .lm-linked-card__image-wrap,
body.single-aktsii .lm-single-promotion__linked-list .lm-linked-card__image-wrap{
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 0 12px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    align-self: stretch !important;
    background: linear-gradient(180deg, #fffefb 0%, #f7f1e7 100%) !important;
  }

  body.single-aktsii .lm-promo-inline-relations .lm-linked-card__image,
body.single-aktsii .lm-single-promotion__linked-list .lm-linked-card__image{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  body.single-aktsii .lm-promo-inline-relations .lm-linked-card__body,
body.single-aktsii .lm-single-promotion__linked-list .lm-linked-card__body{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 4px 4px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
  }

  body.single-aktsii .lm-promo-inline-relations .lm-linked-card__title,
body.single-aktsii .lm-single-promotion__linked-list .lm-linked-card__title{
    margin: 0 0 8px !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    overflow-wrap: anywhere !important;
  }

  body.single-aktsii .lm-promo-inline-relations .lm-linked-card__text,
body.single-aktsii .lm-single-promotion__linked-list .lm-linked-card__text{
    font-size: 14px !important;
    line-height: 1.55 !important;
    -webkit-line-clamp: 4 !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    overflow-wrap: anywhere !important;
  }

  /* 07. Полезные материалы: те же поля и одна колонка, без прилипания к краям */
  body.single-aktsii .lm-single-related-articles,
body.single-aktsii .lm-single-promotion__linked-block--articles{
    width: calc(100% - (var(--lm-aa-mobile-edge) * 2)) !important;
    max-width: calc(100% - (var(--lm-aa-mobile-edge) * 2)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 16px 12px 18px !important;
    border-radius: 22px !important;
    box-sizing: border-box !important;
  }

  body.single-aktsii .lm-single-related-articles__grid,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-single-promotion__linked-list{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-aktsii .lm-single-related-article-card,
body.single-aktsii .lm-single-promotion__linked-block--articles .lm-linked-card{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}



@media (max-width: 767px){

  body.single-aktsii .lm-promo-info-card,
body.single-aktsii .lm-service-info-card.lm-promo-info-card{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px 12px 18px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Все внутренние секции кладём в одну рабочую ширину подложки */
  body.single-aktsii .lm-promo-info-card .lm-service-description,
body.single-aktsii .lm-promo-info-card .lm-promo-inline-relations,
body.single-aktsii .lm-promo-info-card .lm-promo-inline-relations__section,
body.single-aktsii .lm-promo-info-card .lm-single-promotion__linked-block,
body.single-aktsii .lm-promo-info-card .lm-single-promotion__linked-list,
body.single-aktsii .lm-promo-info-card .lm-service-specs,
body.single-aktsii .lm-promo-info-card .lm-faq-block,
body.single-aktsii .lm-promo-info-card .lm-faq-block--inside,
body.single-aktsii .lm-promo-info-card .lm-single-related-articles{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Подробное описание: убираем лишний внутренний зажим */
  body.single-aktsii .lm-promo-info-card .lm-service-description{
    padding-top: 0 !important;
    padding-bottom: 2px !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  
  body.single-aktsii .lm-promo-info-card .lm-linked-card{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Характеристики и FAQ — по той же ширине, что и текст */
  body.single-aktsii .lm-promo-info-card .lm-service-specs__table,
body.single-aktsii .lm-promo-info-card .lm-faq-accordion,
body.single-aktsii .lm-promo-info-card .lm-faq-item{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Полезные материалы: убираем смещение влево/сжатие, оставляем сетку в одну колонку */
  body.single-aktsii .lm-promo-info-card .lm-single-related-articles,
body.single-aktsii .lm-service-info-card .lm-single-related-articles{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 0 0 2px !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-aktsii .lm-promo-info-card .lm-single-related-articles__grid,
body.single-aktsii .lm-service-info-card .lm-single-related-articles__grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-aktsii .lm-single-related-article-card{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}
/* =========================================================
   ЛИДАМЕД — PRICE PAGE / ПРАЙС: МОЛОЧНО-ЖЕМЧУЖНАЯ ПОКРАСКА
   Только цвет, фон, рамки, тени. Без изменения логики и структуры.
   ========================================================= */

.lidamed-price{
    background: linear-gradient(135deg, #fffdf8 0%, #faf6ee 48%, #f3eadc 100%);
    border: 1px solid rgba(202, 181, 145, 0.24);
    border-radius: 28px;
    box-shadow: 0 18px 46px rgba(48, 42, 36, 0.08);
}

.lidamed-price,
.lidamed-price *{
    color: #4f4840;
}

.lm-price-page-title{
    color: #302b26;
}

.lm-price-top{
    background: linear-gradient(135deg, #ffffff 0%, #fffdf8 52%, #f8f1e6 100%);
    border-color: rgba(202, 181, 145, 0.34);
    box-shadow: 0 12px 30px rgba(48, 42, 36, 0.07);
    color: #5f564c;
}

.lm-price-top p,
.lm-price-top span,
.lm-price-top li{
    color: #6f675d;
}

.lm-price-empty-state{
    background: linear-gradient(135deg, #ffffff 0%, #fffdf8 56%, #f8f1e6 100%);
    border-color: rgba(202, 181, 145, 0.32);
    box-shadow: 0 10px 26px rgba(48, 42, 36, 0.06);
    color: #6f675d;
}

.price-category-title{
    background: linear-gradient(135deg, #ffffff 0%, #fffaf2 48%, #f3e6d3 100%);
    border-color: rgba(202, 181, 145, 0.44);
    box-shadow: 0 12px 28px rgba(48, 42, 36, 0.075);
    color: #3b342d;
}

.price-subcategory-title{
    background: linear-gradient(135deg, #ffffff 0%, #fffdf8 58%, #f8f1e6 100%);
    border-color: rgba(202, 181, 145, 0.30);
    box-shadow: 0 10px 24px rgba(48, 42, 36, 0.055);
    color: #4f4840;
}

.price-category-title:hover,
.price-subcategory-title:hover{
    background: linear-gradient(135deg, #ffffff 0%, #fff7ea 48%, #eedbc0 100%);
    border-color: rgba(185, 155, 114, 0.46);
    box-shadow: 0 14px 34px rgba(120, 92, 58, 0.12);
}

.price-category.open > .price-category-title,
.price-category.is-open > .price-category-title,
.price-category.active > .price-category-title,
.price-category-title.active,
.price-category-title[aria-expanded="true"]{
    background: linear-gradient(135deg, #fffaf2 0%, #f4eadc 52%, #ead7bb 100%);
    border-color: rgba(185, 155, 114, 0.54);
    box-shadow: 0 16px 36px rgba(120, 92, 58, 0.14);
    color: #302b26;
}

.price-subcategory.open > .price-subcategory-title,
.price-subcategory.is-open > .price-subcategory-title,
.price-subcategory.active > .price-subcategory-title,
.price-subcategory-title.active,
.price-subcategory-title[aria-expanded="true"]{
    background: linear-gradient(135deg, #ffffff 0%, #fff7eb 56%, #f2e3cc 100%);
    border-color: rgba(185, 155, 114, 0.42);
    box-shadow: 0 12px 28px rgba(120, 92, 58, 0.10);
    color: #3b342d;
}

.price-category-icon,
.price-subcategory-icon{
    color: #b99b72;
}

.price-row{
    background: linear-gradient(135deg, #ffffff 0%, #fffdf8 62%, #fbf4ea 100%);
    border-color: rgba(202, 181, 145, 0.26);
    box-shadow: 0 8px 22px rgba(48, 42, 36, 0.045);
    color: #4f4840;
}

.price-row:hover{
    background: linear-gradient(135deg, #ffffff 0%, #fff9ef 54%, #f4e7d5 100%);
    border-color: rgba(185, 155, 114, 0.42);
    box-shadow: 0 12px 28px rgba(120, 92, 58, 0.10);
}

.price-item-title{
    color: #302b26;
}

.price-item-price{
    color: #6f5436;
}

.price-item-bottom,
.price-item-meta-part{
    color: #8a8074;
}

.price-item-meta-part + .price-item-meta-part::before{
    color: #c7ad86;
}


/* =========================================================
   ЛИДАМЕД — PRICE PAGE POLISH STEP 2
   Подложка с внутренними полями + выравнивание с левым меню.
   Только визуал и безопасные размеры. Без PHP/HTML/JS и без логики аккордеона.
   ========================================================= */

.lidamed-price{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 60px 0 !important;
  padding: 18px 18px 20px !important;
  box-sizing: border-box !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(180deg, #fffdf8 0%, #fbf6ee 52%, #f5ecdf 100%) !important;
  border: 1px solid rgba(202, 181, 145, 0.26) !important;
  border-radius: 28px !important;
  box-shadow:
    0 18px 46px rgba(48, 42, 36, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

.price-category:last-child,
.price-subcategory:last-child,
.price-row:last-child{
  margin-bottom: 0 !important;
}

.price-category-title,
.price-subcategory-title{
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf8 54%, #fbf4e9 100%) !important;
  border-color: rgba(202, 181, 145, 0.38) !important;
  box-shadow:
    0 10px 26px rgba(48, 42, 36, 0.060),
    inset 0 1px 0 rgba(255, 255, 255, 0.90) !important;
}

.price-category-title:hover,
.price-subcategory-title:hover{
  background:
    linear-gradient(180deg, #ffffff 0%, #fff8ee 50%, #f3e4cf 100%) !important;
  border-color: rgba(185, 155, 114, 0.48) !important;
  box-shadow:
    0 14px 32px rgba(120, 92, 58, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

@media (max-width: 767px){
  .lidamed-price{
    margin: 18px 0 42px 0 !important;
    padding: 12px 12px 14px !important;
    border-radius: 22px !important;
  }
}

/* =========================================================
   ЛИДАМЕД — PRICE PAGE ACTUAL DATE
   Строка актуальности цен внутри молочно-жемчужной подложки прайса.
   ========================================================= */

.lm-price-actual-date{
  margin: 2px 0 16px !important;
  padding: 2px 10px 12px !important;
  text-align: center !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
  letter-spacing: -0.01em !important;
  color: #8c7352 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

@media (max-width: 767px){
  .lm-price-actual-date{
    margin: 0 0 12px !important;
    padding: 0 6px 8px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 650 !important;
  }
}

/* =========================================================
   ЛИДАМЕД — НОВОСТИ: МОЛОЧНО-ЖЕМЧУЖНАЯ ПОКРАСКА
   Архив + сингл. Только цвет, фон, рамки, тени.
   Без изменения PHP/HTML/JS и без перестройки логики.
   ========================================================= */

/* ---------------------------------------------------------
   01. Архив новостей — общая подложка
   --------------------------------------------------------- */

body.post-type-archive-news .lm-news-timeline,
body.post-type-archive-news .lm-news-archive{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 56%, #f7f1e6 100%) !important;
    border-color: rgba(194, 174, 136, 0.46) !important;
    box-shadow:
        0 20px 54px rgba(43, 47, 42, 0.11),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

body.post-type-archive-news .lm-news-card + .lm-news-card{
    border-top-color: rgba(194, 174, 136, 0.30) !important;
}

body.post-type-archive-news .lm-news-card,
body.post-type-archive-news .lm-news-card__link{
    color: #30332f !important;
}

body.post-type-archive-news .lm-news-card__link{
    background: transparent !important;
    border-color: rgba(194, 174, 136, 0.22) !important;
    box-shadow: none !important;
}

body.post-type-archive-news .lm-news-card__link:hover{
    background:
        linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(247,241,230,0.50) 100%) !important;
    border-color: rgba(169, 141, 87, 0.56) !important;
}

body.post-type-archive-news .lm-news-card::before,
body.post-type-archive-news .lm-news-card__link::before,
body.post-type-archive-news .lm-news-card__link::after{
    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(194, 174, 136, 0.34) 18%,
            rgba(169, 141, 87, 0.42) 50%,
            rgba(194, 174, 136, 0.34) 82%,
            transparent 100%
        ) !important;
}

body.post-type-archive-news .lm-news-card:hover::before,
body.post-type-archive-news .lm-news-card__link:hover::before,
body.post-type-archive-news .lm-news-card__link:hover::after{
    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(169, 141, 87, 0.50) 18%,
            rgba(169, 141, 87, 0.56) 50%,
            rgba(169, 141, 87, 0.50) 82%,
            transparent 100%
        ) !important;
}

/* ---------------------------------------------------------
   02. Архив новостей — дата / бейдж
   --------------------------------------------------------- */

body.post-type-archive-news .lm-news-card__date,
body.post-type-archive-news .lm-news-date,
body.post-type-archive-news .news-date-badge{
    background:
        linear-gradient(180deg, #ffffff 0%, #fbf7ef 48%, #efe3cc 100%) !important;
    border-color: rgba(169, 141, 87, 0.54) !important;
    color: #3d403a !important;
    box-shadow:
        0 10px 26px rgba(75, 69, 56, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;
}

body.post-type-archive-news .lm-news-card__day,
body.post-type-archive-news .lm-news-date-day{
    color: #3d403a !important;
}

body.post-type-archive-news .lm-news-card__month,
body.post-type-archive-news .lm-news-date-month{
    color: #a98d57 !important;
}

body.post-type-archive-news .lm-news-card__year,
body.post-type-archive-news .lm-news-date-year{
    color: #8b8276 !important;
}

/* ---------------------------------------------------------
   03. Архив новостей — текст и кнопки
   --------------------------------------------------------- */

body.post-type-archive-news .lm-news-card__title,
body.post-type-archive-news .lm-news-title,
body.post-type-archive-news .lm-news-title a{
    color: #30332f !important;
}

body.post-type-archive-news .lm-news-card__link:hover .lm-news-card__title,
body.post-type-archive-news .lm-news-card:hover .lm-news-card__title,
body.post-type-archive-news .lm-news-title a:hover{
    color: #4a4032 !important;
    opacity: 1 !important;
}

body.post-type-archive-news .lm-news-card__excerpt,
body.post-type-archive-news .lm-news-card__meta,
body.post-type-archive-news .lm-news-excerpt{
    color: #6c726a !important;
}

body.post-type-archive-news .lm-news-card__more,
body.post-type-archive-news .lm-news-more{
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    border-color: rgba(169, 141, 87, 0.52) !important;
    color: #4a4032 !important;
    box-shadow:
        0 8px 20px rgba(75, 69, 56, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.post-type-archive-news .lm-news-card__more:hover,
body.post-type-archive-news .lm-news-more:hover{
    background:
        linear-gradient(180deg, #fffefa 0%, #eadbc5 100%) !important;
    border-color: rgba(169, 141, 87, 0.78) !important;
    color: #3f3528 !important;
    box-shadow:
        0 12px 28px rgba(75, 69, 56, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

/* ---------------------------------------------------------
   04. Архив новостей — пагинация
   --------------------------------------------------------- */

body.post-type-archive-news .lm-news-pagination{
    border-top-color: rgba(194, 174, 136, 0.34) !important;
}

body.post-type-archive-news .lm-news-pagination .page-numbers,
body.post-type-archive-news .navigation.pagination .page-numbers{
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f1e6 100%) !important;
    border-color: rgba(194, 174, 136, 0.52) !important;
    color: #4a4032 !important;
    box-shadow:
        0 8px 20px rgba(75, 69, 56, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.90) !important;
}

body.post-type-archive-news .lm-news-pagination .page-numbers.current,
body.post-type-archive-news .navigation.pagination .page-numbers.current{
    background:
        linear-gradient(180deg, #eadbc5 0%, #c8ad78 100%) !important;
    border-color: rgba(169, 141, 87, 0.82) !important;
    color: #ffffff !important;
    box-shadow:
        0 12px 28px rgba(75, 69, 56, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.42) !important;
}

body.post-type-archive-news .lm-news-pagination a.page-numbers:hover,
body.post-type-archive-news .navigation.pagination a.page-numbers:hover{
    background:
        linear-gradient(180deg, #fffefa 0%, #efe3cc 100%) !important;
    border-color: rgba(169, 141, 87, 0.76) !important;
    color: #30332f !important;
}

/* ---------------------------------------------------------
   05. Сингл новости — основная зона
   --------------------------------------------------------- */

body.single-news .lm-news-single,
body.single-news .lm-news-single-article,
body.single-news .lm-news-single-content,
body.single-news .lm-news-single__content,
body.single-news .lm-news-single-text{
    color: #30332f !important;
}

body.single-news .lm-news-single-text p,
body.single-news .lm-news-single__content p,
body.single-news .lm-news-single-content p{
    color: #4f554d !important;
}

body.single-news .lm-news-single-layout::before{
    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(194, 174, 136, 0.36) 18%,
            rgba(169, 141, 87, 0.46) 50%,
            rgba(194, 174, 136, 0.36) 82%,
            transparent 100%
        ) !important;
}

body.single-news .lm-news-single-hero,
body.single-news .lm-news-single-hero__image,
body.single-news .lm-news-single-image,
body.single-news .lm-news-single__image{
    border-color: rgba(194, 174, 136, 0.38) !important;
    box-shadow:
        0 18px 48px rgba(43, 47, 42, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.78) !important;
}

body.single-news .lm-news-single-date,
body.single-news .lm-news-single-date--on-image,
body.single-news .lm-news-single-date--float{
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,241,230,0.94) 100%) !important;
    border-color: rgba(169, 141, 87, 0.56) !important;
    color: #3d403a !important;
    box-shadow:
        0 10px 26px rgba(75, 69, 56, 0.13),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.single-news .lm-news-single-date__day,
body.single-news .lm-news-single-date .lm-news-card__day{
    color: #3d403a !important;
}

body.single-news .lm-news-single-date__month,
body.single-news .lm-news-single-date .lm-news-card__month{
    color: #a98d57 !important;
}

body.single-news .lm-news-single-date__year,
body.single-news .lm-news-single-date .lm-news-card__year{
    color: #8b8276 !important;
}

body.single-news .lm-news-single__back a{
    background:
        linear-gradient(180deg, #ffffff 0%, #eadbc5 100%) !important;
    color: #4a4032 !important;
    border: 1px solid rgba(169, 141, 87, 0.56) !important;
    box-shadow:
        0 10px 26px rgba(75, 69, 56, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

body.single-news .lm-news-single__back a:hover{
    background:
        linear-gradient(180deg, #fffefa 0%, #e4d1b2 100%) !important;
    color: #3f3528 !important;
    border-color: rgba(169, 141, 87, 0.78) !important;
    box-shadow:
        0 14px 34px rgba(75, 69, 56, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

/* ---------------------------------------------------------
   06. Сингл новости — правая колонка и связанные новости
   --------------------------------------------------------- */

body.single-news .lm-news-side-articles,
body.single-news .lm-news-related{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 58%, #f7f1e6 100%) !important;
    border-color: rgba(194, 174, 136, 0.44) !important;
    box-shadow:
        0 18px 46px rgba(43, 47, 42, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.84) !important;
}

body.single-news .lm-news-side-article,
body.single-news .lm-news-related__card{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border-color: rgba(194, 174, 136, 0.40) !important;
    box-shadow:
        0 12px 30px rgba(43, 47, 42, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

body.single-news .lm-news-side-article:hover,
body.single-news .lm-news-related__card:hover{
    border-color: rgba(169, 141, 87, 0.68) !important;
    box-shadow:
        0 18px 42px rgba(43, 47, 42, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.90) !important;
}

body.single-news .lm-news-side-article__image,
body.single-news .lm-news-related__image{
    background: #f7f1e6 !important;
}

body.single-news .lm-news-side-article__title,
body.single-news .lm-news-related__title,
body.single-news .lm-news-related__name{
    color: #30332f !important;
}

body.single-news .lm-news-side-article__title::after{
    background:
        linear-gradient(to right, rgba(255,255,255,0), #fffdf8 72%) !important;
}

body.single-news .lm-news-side-article__more,
body.single-news .lm-news-related__more,
body.single-news .lm-news-related__date{
    color: #a98d57 !important;
}

body.single-news .lm-news-side-article:hover .lm-news-side-article__more,
body.single-news .lm-news-related__card:hover .lm-news-related__more{
    color: #4a4032 !important;
    opacity: 1 !important;
}

/* ---------------------------------------------------------
   07. Мобильная версия — только смягчение визуального веса
   --------------------------------------------------------- */

@media (max-width: 767px){
    body.post-type-archive-news .lm-news-timeline,
body.post-type-archive-news .lm-news-archive,
body.single-news .lm-news-side-articles,
body.single-news .lm-news-related,
body.single-news .lm-news-related__card{
        box-shadow:
            0 12px 32px rgba(43, 47, 42, 0.10),
            inset 0 1px 0 rgba(255,255,255,0.84) !important;
    }

    body.post-type-archive-news .lm-news-card__date,
body.single-news .lm-news-single-date,
body.single-news .lm-news-single-date--on-image{
        box-shadow:
            0 8px 20px rgba(75, 69, 56, 0.11),
            inset 0 1px 0 rgba(255,255,255,0.92) !important;
    }
}
/* =========================================================
   ЛИДАМЕД — NEWS POLISH STEP 3
   Единый жемчужный тон подложек + снятие лишних «матрёшек»
   ========================================================= */

/* ---------------------------------------------------------
   01. Архив новостей — кнопка, дата, заголовки, без квадратного hover
   --------------------------------------------------------- */

body.post-type-archive-news .lm-news-card__more,
body.post-type-archive-news .lm-news-more{
    padding-left: 18px !important;
    padding-right: 18px !important;
}

body.post-type-archive-news .lm-news-card:hover::before,
body.post-type-archive-news .lm-news-card__link:hover::before,
body.post-type-archive-news .lm-news-card__link:hover::after{
    background: transparent !important;
    opacity: 0 !important;
}

body.post-type-archive-news .lm-news-card__link:hover,
body.post-type-archive-news .lm-news-card:hover .lm-news-card__link{
    background: transparent !important;
    box-shadow: none !important;
    border-color: rgba(194, 174, 136, 0.22) !important;
}

body.post-type-archive-news .lm-news-card__day,
body.post-type-archive-news .lm-news-card__month,
body.post-type-archive-news .lm-news-card__year,
body.post-type-archive-news .lm-news-date-day,
body.post-type-archive-news .lm-news-date-month,
body.post-type-archive-news .lm-news-date-year{
    color: #a98d57 !important;
}

body.post-type-archive-news .lm-news-card__title,
body.post-type-archive-news .lm-news-title,
body.post-type-archive-news .lm-news-title a{
    color: #a98d57 !important;
}

body.post-type-archive-news .lm-news-card__link:hover .lm-news-card__title,
body.post-type-archive-news .lm-news-card:hover .lm-news-card__title,
body.post-type-archive-news .lm-news-title a:hover{
    color: #9a7f4f !important;
    opacity: 1 !important;
}

/* ---------------------------------------------------------
   02. Архив новостей — правая колонка в том же жемчужном тоне
   --------------------------------------------------------- */

body.post-type-archive-news .lm-news-side-articles{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 64%, #faf7f0 100%) !important;
    border: 1px solid rgba(194, 174, 136, 0.34) !important;
    border-radius: 28px !important;
    box-shadow:
        0 18px 46px rgba(43, 47, 42, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
    padding: 16px !important;
}

body.post-type-archive-news .lm-news-side-article{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border-color: rgba(194, 174, 136, 0.34) !important;
    box-shadow:
        0 12px 30px rgba(43, 47, 42, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

body.post-type-archive-news .lm-news-side-article__title,
body.post-type-archive-news .lm-news-side-article__body,
body.post-type-archive-news .lm-news-side-article__content{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
}

body.post-type-archive-news .lm-news-side-article__title::after{
    display: none !important;
}

/* ---------------------------------------------------------
   03. Сингл новости — расстояние от левого меню как в архиве
   --------------------------------------------------------- */

body.single-news .lm-news-single-grid{
    gap: 24px !important;
}

/* ---------------------------------------------------------
   04. Сингл новости — основная статья на чистой жемчужной подложке
   --------------------------------------------------------- */

body.single-news .lm-news-single-article{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 64%, #faf7f0 100%) !important;
    border: 1px solid rgba(194, 174, 136, 0.34) !important;
    border-radius: 28px !important;
    box-shadow:
        0 18px 46px rgba(43, 47, 42, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
    padding: 16px 16px 22px !important;
}

body.single-news .lm-news-single-hero{
    margin-bottom: 22px !important;
}

body.single-news .lm-news-single-hero,
body.single-news .lm-news-single-hero__image,
body.single-news .lm-news-single-image,
body.single-news .lm-news-single__image{
    border-radius: 24px !important;
}

body.single-news .lm-news-single-text,
body.single-news .lm-news-single__content,
body.single-news .lm-news-single-content{
    background: transparent !important;
}

/* ---------------------------------------------------------
   05. Сингл новости — дата на фото крупнее, но без тяжести
   --------------------------------------------------------- */

body.single-news .lm-news-single-date,
body.single-news .lm-news-single-date--on-image,
body.single-news .lm-news-single-date--float{
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 42px !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,253,248,0.94) 100%) !important;
}

body.single-news .lm-news-single-date__day,
body.single-news .lm-news-single-date__month,
body.single-news .lm-news-single-date__year,
body.single-news .lm-news-single-date .lm-news-card__day,
body.single-news .lm-news-single-date .lm-news-card__month,
body.single-news .lm-news-single-date .lm-news-card__year{
    display: inline !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #a98d57 !important;
}

/* ---------------------------------------------------------
   06. Сингл новости — убираем лишнюю подложку-матрёшку у «Других новостей»
   --------------------------------------------------------- */

body.single-news .lm-news-related{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 26px !important;
}

body.single-news .lm-news-related__title{
    color: #30332f !important;
}

body.single-news .lm-news-related__card{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 42%, #f7f1e6 100%) !important;
    border-color: rgba(194, 174, 136, 0.42) !important;
    box-shadow:
        0 12px 30px rgba(43, 47, 42, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

/* ---------------------------------------------------------
   07. Сингл новости — правая колонка в едином тоне, карточки внутри с отступами
   --------------------------------------------------------- */

body.single-news .lm-news-side-articles{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 64%, #faf7f0 100%) !important;
    border: 1px solid rgba(194, 174, 136, 0.34) !important;
    border-radius: 28px !important;
    box-shadow:
        0 18px 46px rgba(43, 47, 42, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
    padding: 16px !important;
}

body.single-news .lm-news-side-article{
    width: 100% !important;
    margin: 0 !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border-color: rgba(194, 174, 136, 0.34) !important;
}

body.single-news .lm-news-side-article__title,
body.single-news .lm-news-side-article__body,
body.single-news .lm-news-side-article__content{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
}

body.single-news .lm-news-side-article__title::after{
    display: none !important;
}

body.single-news .lm-news-side-article__more,
body.post-type-archive-news .lm-news-side-article__more{
    background: transparent !important;
}

/* ---------------------------------------------------------
   08. Мобильная коррекция
   --------------------------------------------------------- */

@media (max-width: 767px){
    body.single-news .lm-news-single-grid{
        gap: 18px !important;
    }

    body.single-news .lm-news-single-article,
body.single-news .lm-news-side-articles,
body.post-type-archive-news .lm-news-side-articles{
        padding: 12px !important;
        border-radius: 22px !important;
    }

    body.single-news .lm-news-single-date,
body.single-news .lm-news-single-date--on-image,
body.single-news .lm-news-single-date--float{
        min-height: 38px !important;
        padding: 7px 14px !important;
    }

    body.single-news .lm-news-single-date__day,
body.single-news .lm-news-single-date__month,
body.single-news .lm-news-single-date__year,
body.single-news .lm-news-single-date .lm-news-card__day,
body.single-news .lm-news-single-date .lm-news-card__month,
body.single-news .lm-news-single-date .lm-news-card__year{
        font-size: 14px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ARTICLES / NEWS FINAL TYPOGRAPHY + BUTTONS
   Архивы + синглы. Кнопки в тон услуг, переносы слов, мобильные H1.
   Без изменения PHP/HTML/JS и без изменения сеток.
   ========================================================= */

/* ---------------------------------------------------------
   01. Архив статей — верхние фильтры как кнопки в услугах
   Активная = верхняя CTA, неактивные = нижняя светлая
   --------------------------------------------------------- */

.post-type-archive-articles .articles-filter-link,
.tax-article_category .articles-filter-link{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border-color: rgba(185, 155, 114, 0.48) !important;
    color: #4a4032 !important;
    text-shadow: none !important;
    box-shadow:
        0 8px 20px rgba(48, 42, 36, 0.045),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

.post-type-archive-articles .articles-filter-link:hover,
.tax-article_category .articles-filter-link:hover{
    background:
        linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%) !important;
    border-color: rgba(185, 155, 114, 0.62) !important;
    color: #3f3528 !important;
    box-shadow:
        0 10px 24px rgba(48, 42, 36, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.98) !important;
}

/* Активная "Все статьи" — тон как верхняя кнопка "Записаться на прием" */
.post-type-archive-articles .articles-filter-link.is-active,
.tax-article_category .articles-filter-link.is-active{
    background:
        linear-gradient(180deg, #fffdf8 0%, #f4ecdc 48%, #eadbc5 100%) !important;
    border-color: rgba(185, 155, 114, 0.66) !important;
    color: #4a4032 !important;
    text-shadow: none !important;
    box-shadow:
        0 12px 28px rgba(120, 92, 58, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

.post-type-archive-articles .articles-filter-link.is-active:hover,
.tax-article_category .articles-filter-link.is-active:hover{
    background:
        linear-gradient(180deg, #ffffff 0%, #f1e6d4 48%, #e5d2b4 100%) !important;
    border-color: rgba(185, 155, 114, 0.74) !important;
    color: #3f3528 !important;
}

/* ---------------------------------------------------------
   02. Архив статей — карточки в цвет левого меню
   --------------------------------------------------------- */

.post-type-archive-articles .article-card,
.tax-article_category .article-card{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 58%, #faf7f0 100%) !important;
    border-color: rgba(194, 174, 136, 0.30) !important;
    box-shadow:
        0 14px 34px rgba(43, 47, 42, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

.post-type-archive-articles .article-card:hover,
.tax-article_category .article-card:hover{
    border-color: rgba(169, 141, 87, 0.52) !important;
    box-shadow:
        0 18px 42px rgba(43, 47, 42, 0.11),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.post-type-archive-articles .article-card-body,
.tax-article_category .article-card-body{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 70%, #faf7f0 100%) !important;
}

/* Категории внутри карточек — аккуратный champagne-бейдж */
.post-type-archive-articles .article-card-category a,
.tax-article_category .article-card-category a{
    background:
        linear-gradient(180deg, #fffefa 0%, #f7f1e6 46%, #eadfce 100%) !important;
    border: 1px solid rgba(185, 155, 114, 0.46) !important;
    color: #a98d57 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.94),
        0 8px 18px rgba(75, 69, 56, 0.07) !important;
}

.post-type-archive-articles .article-card:hover .article-card-category a,
.tax-article_category .article-card:hover .article-card-category a{
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f1e6 42%, #e6d7bf 100%) !important;
    border-color: rgba(185, 155, 114, 0.58) !important;
    color: #9a7f4f !important;
}

.post-type-archive-articles .article-card-title,
.post-type-archive-articles .article-card-title a,
.tax-article_category .article-card-title,
.tax-article_category .article-card-title a{
    color: #252825 !important;
}

.post-type-archive-articles .article-card:hover .article-card-title,
.post-type-archive-articles .article-card:hover .article-card-title a,
.tax-article_category .article-card:hover .article-card-title,
.tax-article_category .article-card:hover .article-card-title a{
    color: #3f3528 !important;
}

.post-type-archive-articles .article-card-excerpt,
.tax-article_category .article-card-excerpt{
    color: #6c726a !important;
}

.post-type-archive-articles .article-card-link,
.tax-article_category .article-card-link{
    background: transparent !important;
    color: #4a4032 !important;
}

.post-type-archive-articles .article-card-body::after,
.tax-article_category .article-card-body::after{
    background:
        linear-gradient(90deg, rgba(255,253,248,0), #fffdf8 62%, #fffdf8 100%) !important;
}

/* ---------------------------------------------------------
   03. Архив статей — кнопка "Показать ещё" / пагинация
   --------------------------------------------------------- */

.post-type-archive-articles .articles-show-more-btn,
.tax-article_category .articles-show-more-btn,
.post-type-archive-articles .articles-pagination .page-numbers,
.tax-article_category .articles-pagination .page-numbers{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border-color: rgba(185, 155, 114, 0.48) !important;
    color: #4a4032 !important;
    box-shadow:
        0 8px 20px rgba(48, 42, 36, 0.045),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

.post-type-archive-articles .articles-show-more-btn:hover,
.tax-article_category .articles-show-more-btn:hover,
.post-type-archive-articles .articles-pagination a.page-numbers:hover,
.tax-article_category .articles-pagination a.page-numbers:hover{
    background:
        linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%) !important;
    border-color: rgba(185, 155, 114, 0.62) !important;
    color: #3f3528 !important;
}

.post-type-archive-articles .articles-pagination .current,
.tax-article_category .articles-pagination .current{
    background:
        linear-gradient(180deg, #fffdf8 0%, #f4ecdc 48%, #eadbc5 100%) !important;
    border-color: rgba(185, 155, 114, 0.66) !important;
    color: #4a4032 !important;
}

/* ---------------------------------------------------------
   04. Сингл статьи — основная подложка в цвет левого меню
   --------------------------------------------------------- */

.single-articles .single-article{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 62%, #faf7f0 100%) !important;
    border-color: rgba(194, 174, 136, 0.30) !important;
    box-shadow:
        0 18px 46px rgba(43, 47, 42, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.90) !important;
}

.single-articles .single-article-preview{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border-color: rgba(194, 174, 136, 0.28) !important;
    color: #4f554d !important;
    box-shadow:
        0 10px 26px rgba(43, 47, 42, 0.05),
        inset 0 1px 0 rgba(255,255,255,0.90) !important;
}

.single-articles .single-article-content{
    color: #3d403a !important;
}

.single-articles .single-article-content p,
.single-articles .single-article-content li{
    color: #4f554d !important;
}

.single-articles .single-article-content h2,
.single-articles .single-article-content h3,
.single-articles .single-article-content h4{
    color: #252825 !important;
}

.single-articles .single-article-image{
    background: #f7f1e6 !important;
    box-shadow: 0 16px 38px rgba(43, 47, 42, 0.09) !important;
}

/* ---------------------------------------------------------
   05. Сингл статьи — связанные карточки и нижние статьи
   --------------------------------------------------------- */

.single-articles .lm-linked-card,
.single-articles .single-article-more-card,
.single-articles .single-article-related-card{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border-color: rgba(194, 174, 136, 0.32) !important;
    box-shadow:
        0 12px 30px rgba(43, 47, 42, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

.single-articles .lm-linked-card:hover,
.single-articles .single-article-more-card:hover,
.single-articles .single-article-related-card:hover{
    border-color: rgba(169, 141, 87, 0.52) !important;
    box-shadow:
        0 18px 42px rgba(43, 47, 42, 0.11),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.single-articles .single-article-more-card__badge{
    background:
        linear-gradient(180deg, #fffefa 0%, #f7f1e6 46%, #eadfce 100%) !important;
    border: 1px solid rgba(185, 155, 114, 0.46) !important;
    color: #a98d57 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.94),
        0 8px 18px rgba(75, 69, 56, 0.07) !important;
}

.single-articles .lm-linked-card__title,
.single-articles .single-article-more-card__title,
.single-articles .single-article-related-title{
    color: #252825 !important;
}

.single-articles .lm-linked-card__text{
    color: #6c726a !important;
}

.single-articles .single-article-more-card__body::before{
    background: transparent !important;
    color: #4a4032 !important;
}

.single-articles .single-article-more-card__body::after{
    background:
        linear-gradient(90deg, rgba(255,253,248,0), #fffdf8 62%, #fffdf8 100%) !important;
}

/* ---------------------------------------------------------
   06. Русские переносы слов — статьи и новости
   --------------------------------------------------------- */

.post-type-archive-articles .article-card-title,
.post-type-archive-articles .article-card-title a,
.tax-article_category .article-card-title,
.tax-article_category .article-card-title a,
.single-articles .single-article-content,
.single-articles .single-article-content p,
.single-articles .single-article-content li,
.single-articles .single-article-content h2,
.single-articles .single-article-content h3,
.single-articles .single-article-content h4,
.single-articles .single-article-more-card__title,
.single-articles .single-article-related-title,
.post-type-archive-news .lm-news-card__title,
.post-type-archive-news .lm-news-card__excerpt,
.single-news .lm-news-single-text,
.single-news .lm-news-single-text p,
.single-news .lm-news-single__content,
.single-news .lm-news-single__content p,
.single-news .lm-news-single-content,
.single-news .lm-news-single-content p,
.single-news .lm-news-related__name,
.single-news .lm-news-side-article__title{
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

/* ---------------------------------------------------------
   07. Мобильная версия — H1 синглов статей и новостей меньше
   --------------------------------------------------------- */

@media (max-width: 767px){
    body.single-articles h1,
body.single-news h1,
body.single-articles .entry-title,
body.single-news .entry-title,
body.single-articles .page-title,
body.single-news .page-title,
body.single-articles .lm-page-title,
body.single-news .lm-page-title{
        font-size: 24px !important;
        line-height: 1.18 !important;
        letter-spacing: -0.015em !important;
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    .post-type-archive-articles .articles-filter-link,
.tax-article_category .articles-filter-link{
        box-shadow:
            0 6px 16px rgba(48, 42, 36, 0.04),
            inset 0 1px 0 rgba(255,255,255,0.96) !important;
    }

    .single-articles .single-article,
.single-articles .single-article-preview{
        border-radius: 20px !important;
    }
}

@media (max-width: 390px){
    body.single-articles h1,
body.single-news h1,
body.single-articles .entry-title,
body.single-news .entry-title,
body.single-articles .page-title,
body.single-news .page-title,
body.single-articles .lm-page-title,
body.single-news .lm-page-title{
        font-size: 22px !important;
        line-height: 1.18 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — FAQ PAGE / ВОПРОСЫ-ОТВЕТЫ: МОЛОЧНО-ЖЕМЧУЖНАЯ ПОКРАСКА
   Только внешний вид: фон, кнопки, плашки, типографика.
   Без изменения PHP/HTML/JS и без изменения логики аккордеона.
   ========================================================= */

/* ---------------------------------------------------------
   01. FAQ: общий фон страницы не трогаем, подложка только у правого контента
   --------------------------------------------------------- */

.lm-faq-page{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Если .lm-faq-page оборачивает всю страницу с левым меню */
.lm-faq-page .lm-single-main,
/* Если .lm-faq-page лежит уже внутри правой колонки */
.lm-single-main .lm-faq-page{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 62%, #faf7f0 100%) !important;
    border: 1px solid rgba(194, 174, 136, 0.34) !important;
    border-radius: 28px !important;
    box-shadow:
        0 18px 46px rgba(43, 47, 42, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
    padding: 24px 24px 28px !important;
}

/* Верхняя фраза — по центру, без лишней тяжести */
.lm-faq-page__head{
    margin: 0 0 22px !important;
}

.lm-faq-page__subtitle{
    max-width: none !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
    color: #9a7f4f !important;
}

/* ---------------------------------------------------------
   02. Кнопки фильтров как в статьях/услугах
   Активная = верхняя CTA, неактивные = нижняя светлая
   --------------------------------------------------------- */

.lm-faq-filters{
    margin-bottom: 14px !important;
    padding-right: clamp(180px, 24vw, 280px) !important;
    min-height: 42px !important;
}

.lm-faq-filter{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border-color: rgba(185, 155, 114, 0.48) !important;
    color: #4a4032 !important;
    text-shadow: none !important;
    box-shadow:
        0 8px 20px rgba(48, 42, 36, 0.045),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

.lm-faq-filter:hover{
    background:
        linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%) !important;
    border-color: rgba(185, 155, 114, 0.62) !important;
    color: #3f3528 !important;
    box-shadow:
        0 10px 24px rgba(48, 42, 36, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.98) !important;
}

.lm-faq-filter.is-active{
    background:
        linear-gradient(180deg, #fffdf8 0%, #f4ecdc 48%, #eadbc5 100%) !important;
    border-color: rgba(185, 155, 114, 0.66) !important;
    color: #4a4032 !important;
    text-shadow: none !important;
    box-shadow:
        0 12px 28px rgba(120, 92, 58, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

.lm-faq-filter.is-active:hover{
    background:
        linear-gradient(180deg, #ffffff 0%, #f1e6d4 48%, #e5d2b4 100%) !important;
    border-color: rgba(185, 155, 114, 0.74) !important;
    color: #3f3528 !important;
}

/* ---------------------------------------------------------
   03. Активная группа — на уровне кнопок, справа, без залезания
   --------------------------------------------------------- */

.lm-faq-group__title{
    width: max-content !important;
    max-width: clamp(160px, 24vw, 280px) !important;
    margin: -56px 2px 22px auto !important;
    text-align: right !important;
    font-size: 28px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    color: #a98d57 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
}

/* ---------------------------------------------------------
   04. Вопросы-ответы внутри общей подложки
   --------------------------------------------------------- */

.lm-faq-accordion{
    gap: 14px !important;
}

.lm-faq-item{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border-color: rgba(194, 174, 136, 0.34) !important;
    border-radius: 20px !important;
    box-shadow:
        0 10px 26px rgba(43, 47, 42, 0.055),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

.lm-faq-item:hover{
    border-color: rgba(169, 141, 87, 0.52) !important;
    box-shadow:
        0 14px 34px rgba(43, 47, 42, 0.085),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.lm-faq-item.is-open,
.lm-faq-item.open{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 64%, #faf7f0 100%) !important;
    border-color: rgba(169, 141, 87, 0.58) !important;
    box-shadow:
        0 16px 38px rgba(43, 47, 42, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.lm-faq-question,
.lm-faq-question__text{
    color: #252825 !important;
}

.lm-faq-question__icon::before,
.lm-faq-question__icon::after{
    background: #a98d57 !important;
}

.lm-faq-item:hover .lm-faq-question__icon::before,
.lm-faq-item:hover .lm-faq-question__icon::after,
.lm-faq-item.is-open .lm-faq-question__icon::before,
.lm-faq-item.is-open .lm-faq-question__icon::after,
.lm-faq-item.open .lm-faq-question__icon::before,
.lm-faq-item.open .lm-faq-question__icon::after{
    background: #8f7447 !important;
}

.lm-faq-answer,
.lm-faq-answer__inner,
.lm-faq-answer p,
.lm-faq-answer li{
    color: #4f554d !important;
}

/* Русские переносы в вопросах и ответах */
.lm-faq-question,
.lm-faq-question__text,
.lm-faq-answer,
.lm-faq-answer__inner,
.lm-faq-answer p,
.lm-faq-answer li{
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

/* ---------------------------------------------------------
   05. Планшеты и небольшие экраны: заголовок группы не налезает на кнопки
   --------------------------------------------------------- */

@media (max-width: 991px){
    .lm-faq-filters{
        padding-right: 0 !important;
        margin-bottom: 12px !important;
    }

    .lm-faq-group__title{
        max-width: 100% !important;
        margin: 4px 2px 16px auto !important;
        font-size: 24px !important;
    }
}

/* ---------------------------------------------------------
   06. Мобильная версия
   --------------------------------------------------------- */

@media (max-width: 767px){
    .lm-faq-page .lm-single-main,
.lm-single-main .lm-faq-page{
        padding: 14px 14px 18px !important;
        border-radius: 22px !important;
    }

    .lm-faq-page__head{
        margin-bottom: 18px !important;
    }

    .lm-faq-page__subtitle{
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .lm-faq-filters{
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    .lm-faq-filter{
        padding: 9px 14px !important;
        font-size: 13px !important;
        box-shadow:
            0 6px 16px rgba(48, 42, 36, 0.04),
            inset 0 1px 0 rgba(255,255,255,0.96) !important;
    }

    .lm-faq-group__title{
        margin: 2px 2px 14px auto !important;
        font-size: 22px !important;
        line-height: 1.2 !important;
    }

    .lm-faq-item{
        border-radius: 18px !important;
    }

    .lm-faq-question{
        font-size: 15px !important;
        line-height: 1.45 !important;
        padding: 16px !important;
    }

    .lm-faq-answer{
        padding: 0 16px 16px !important;
    }

    .lm-faq-answer__inner{
        font-size: 15px !important;
        line-height: 1.65 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — FAQ MOBILE BURGER STEP 4
   Мобильный фильтр FAQ: открытие классом .is-open и закрытие после выбора.
   Требует маленький JS ниже в /assets/js/custom.js.
   ========================================================= */

@media (max-width: 767px){

    /* Верхняя фраза на мобилке — коротко, в одну строку */
    .lm-faq-page__subtitle{
        font-size: 0 !important;
        line-height: 0 !important;
    }

    .lm-faq-page__subtitle::before{
        content: "Ответы на самые частые вопросы";
        display: block;
        font-size: 15px;
        line-height: 1.35;
        font-weight: 600;
        color: #9a7f4f;
        text-align: center;
        white-space: nowrap;
    }

    .lm-faq-page__head{
        margin-bottom: 14px !important;
    }

    /* Дублирующий заголовок группы на мобилке убираем */
    .lm-faq-group__title{
        display: none !important;
    }

    /* Контейнер фильтров превращаем в компактный select/burger */
    .lm-faq-filters{
        position: relative !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-height: 48px !important;
        max-height: 48px !important;

        margin: 0 0 18px !important;
        padding: 0 !important;

        overflow: hidden !important;
        z-index: 20 !important;

        border: 1px solid rgba(185, 155, 114, 0.48) !important;
        border-radius: 999px !important;

        background:
            linear-gradient(180deg, #ffffff 0%, #fffdf8 58%, #faf7f0 100%) !important;

        box-shadow:
            0 8px 20px rgba(48, 42, 36, 0.045),
            inset 0 1px 0 rgba(255,255,255,0.96) !important;

        transition:
            max-height .24s ease,
            border-radius .24s ease,
            box-shadow .24s ease,
            background .24s ease,
            padding .24s ease !important;
    }

    /* Иконка бургера справа */
    .lm-faq-filters::after{
        content: "☰";
        position: absolute;
        right: 18px;
        top: 24px;
        z-index: 4;

        transform: translateY(-50%);

        font-size: 18px;
        line-height: 1;
        font-weight: 700;
        color: #8f7447;

        pointer-events: none;
    }

    /* Открытие меню — только через класс, без :focus-within, чтобы не зависало */
    .lm-faq-filters.is-open{
        max-height: 360px !important;
        overflow: visible !important;

        padding: 6px !important;
        border-radius: 22px !important;

        background:
            linear-gradient(180deg, #ffffff 0%, #fffdf8 62%, #faf7f0 100%) !important;

        box-shadow:
            0 16px 36px rgba(43, 47, 42, 0.12),
            inset 0 1px 0 rgba(255,255,255,0.94) !important;
    }

    .lm-faq-filters.is-open::after{
        top: 27px;
        content: "×";
        font-size: 22px;
        font-weight: 500;
    }

    /* Все кнопки по умолчанию скрыты */
    .lm-faq-filter{
        display: none !important;
        order: 2 !important;

        width: 100% !important;
        min-height: 42px !important;

        align-items: center !important;
        justify-content: flex-start !important;

        margin: 0 !important;
        padding: 0 14px !important;

        border: 0 !important;
        border-radius: 16px !important;

        background: transparent !important;
        box-shadow: none !important;

        color: #4a4032 !important;
        text-align: left !important;
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    /* В закрытом состоянии показываем только активную категорию */
    .lm-faq-filter.is-active{
        display: flex !important;
        order: 1 !important;

        min-height: 48px !important;
        padding: 0 52px 0 18px !important;

        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;

        color: #4a4032 !important;
        font-weight: 700 !important;
    }

    /* В открытом состоянии показываем все категории */
    .lm-faq-filters.is-open .lm-faq-filter{
        display: flex !important;
        min-height: 42px !important;
        padding: 0 14px !important;
    }

    .lm-faq-filters.is-open .lm-faq-filter.is-active{
        min-height: 42px !important;

        background:
            linear-gradient(180deg, #fffdf8 0%, #f4ecdc 48%, #eadbc5 100%) !important;

        border: 1px solid rgba(185, 155, 114, 0.46) !important;

        box-shadow:
            0 8px 18px rgba(75, 69, 56, 0.07),
            inset 0 1px 0 rgba(255,255,255,0.90) !important;
    }

    .lm-faq-filters.is-open .lm-faq-filter:not(.is-active){
        background: transparent !important;
    }

    .lm-faq-filters.is-open .lm-faq-filter:not(.is-active):hover{
        background:
            linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    }
}

@media (max-width: 390px){
    .lm-faq-page__subtitle::before{
        font-size: 14px;
    }

    .lm-faq-filter{
        font-size: 13px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — GLOBAL SITE BACKGROUND SAFE
   Единый общий фон сайта. Только фон, без карточек и сеток.
   ========================================================= */

html,
body{
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 28%, rgba(250,247,240,0.78) 62%, rgba(247,241,230,0.68) 100%) !important;
}

body,
.site,
.site-content,
.site-main,
#page,
#content,
main{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 48%, #faf7f0 100%) !important;
}

.lm-single-content,
.lm-page-content,
.lm-single-main,
.content-area{
    background: transparent !important;
}

/* =========================================================
   ЛИДАМЕД — GLOBAL PEARL BACKGROUND FINAL
   Единый тёплый молочно-жемчужный фон сайта.
   Только общий фон и базовые внешние обёртки.
   Карточки, кнопки, сетки, аккордеоны и модули не трогаем.
   ========================================================= */

:root{
    --lm-global-bg-top: #fffefa;
    --lm-global-bg-mid: #fbf6ec;
    --lm-global-bg-bottom: #f5ead8;
    --lm-global-line: rgba(194, 174, 136, 0.28);
}

/* База всей страницы */
html{
    min-height: 100%;
    background: #fbf6ec !important;
}

body{
    min-height: 100%;
    background:
        radial-gradient(circle at 50% -120px, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.90) 28%, rgba(251,246,236,0.92) 58%, rgba(245,234,216,0.92) 100%),
        linear-gradient(180deg, var(--lm-global-bg-top) 0%, var(--lm-global-bg-mid) 46%, var(--lm-global-bg-bottom) 100%) !important;
    background-attachment: fixed !important;
}

/* Внешние WP-обёртки больше не дают грязно-серый фон */
#page,
.site,
#content,
.site-content,
.site-main,
main,
.content-area,
.entry-content,
.lm-content,
.lm-page-content,
.lm-single-layout,
.lm-single-main,
.lm-archive-head,
.lm-page-heading{
    background: transparent !important;
}

/* Верхняя зона H1/хлебных крошек — тоже в общей тёплой базе, не серая */
.lm-page-header,
.lm-page-title,
.lm-breadcrumbs{
    background: transparent !important;
}

/* Если где-то старая тема даёт серую подложку большим секциям */
.lm-section,
.lm-home-section,
.lm-services-archive,
.lm-preparations-archive,
.lm-aktsii-archive,
.lm-news-archive,
.lm-articles-archive,
.lm-faq-archive,
.lm-price-page,
.lm-contacts-page,
.lm-reviews-page,
.lm-legal-page,
.lm-requisites,
.lm-specialists-archive,
.lm-cabinets-archive{
    background-color: transparent !important;
}

/* Мобильная версия: чуть теплее, чтобы сайт не выглядел бело-серым */
@media (max-width: 767px){
    body{
        background:
            radial-gradient(circle at 50% -80px, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 24%, rgba(251,246,236,0.95) 56%, rgba(245,234,216,0.96) 100%),
            linear-gradient(180deg, #fffefa 0%, #fbf5ea 44%, #f3e7d3 100%) !important;
        background-attachment: scroll !important;
    }
}

/* =========================================================
   ЛИДАМЕД — GLOBAL BACKGROUND MASTER OVERRIDE
   Единый фон всего сайта через одну переменную.
   Менять фон дальше здесь: --lm-site-bg / --lm-site-bg-mobile.
   Карточки, кнопки, сетки, аккордеоны и внутренние модули не трогаем.
   ========================================================= */

:root{
    --lm-site-bg:
        radial-gradient(circle at 50% -240px, rgba(255,255,255,1) 0%, rgba(255,255,255,0.98) 30%, rgba(254,250,244,0.92) 62%, rgba(247,238,222,0.88) 100%),
        linear-gradient(180deg, #ffffff 0%, #fffdf8 30%, #faf3e6 72%, #f2e3ca 100%);

    --lm-site-bg-mobile:
        radial-gradient(circle at 50% -95px, rgba(255,255,255,0.98) 0%, rgba(255,252,246,0.94) 20%, rgba(249,239,222,0.96) 58%, rgba(239,220,191,0.98) 100%),
        linear-gradient(180deg, #fffdf8 0%, #f8ecda 54%, #ecd4af 100%);
}

/* ---------------------------------------------------------
   01. База сайта
   --------------------------------------------------------- */

html,
body{
    background: var(--lm-site-bg) !important;
    background-attachment: fixed !important;
}

/* ---------------------------------------------------------
   02. Страницы, где старые блоки перебивали фон по body/main
   --------------------------------------------------------- */

body.home,
body.front-page,
body.post-type-archive-uslugi,
body.tax-service_category,
body.single-uslugi,
body.post-type-archive-preparations,
body.tax-preparation_brand,
body.single-preparations,
body.post-type-archive-aktsii,
body.single-aktsii,
body.post-type-archive-news,
body.single-news,
body.post-type-archive-articles,
body.single-articles,
body.page,
body.archive,
body.single{
    background: var(--lm-site-bg) !important;
    background-attachment: fixed !important;
}

/* Высокая специфичность против старых page-specific main.site-main */
body.home main.site-main,
body.front-page main.site-main,
body.post-type-archive-uslugi main.site-main,
body.tax-service_category main.site-main,
body.single-uslugi main.site-main,
body.post-type-archive-preparations main.site-main,
body.tax-preparation_brand main.site-main,
body.single-preparations main.site-main,
body.post-type-archive-aktsii main.site-main,
body.single-aktsii main.site-main,
body.post-type-archive-news main.site-main,
body.single-news main.site-main,
body.post-type-archive-articles main.site-main,
body.single-articles main.site-main,
body.page main.site-main,
body.archive main.site-main,
body.single main.site-main{
    background: var(--lm-site-bg) !important;
    background-attachment: fixed !important;
}

/* ---------------------------------------------------------
   03. Внешние обёртки: прозрачные, чтобы был виден единый фон
   --------------------------------------------------------- */

body.home #page,
body.home .site,
body.home #content,
body.home .site-content,
body.home .content-area,
body.home main.site-main > .container,
body.home .lm-container,
body.post-type-archive-uslugi #page,
body.post-type-archive-uslugi .site,
body.post-type-archive-uslugi #content,
body.post-type-archive-uslugi .site-content,
body.post-type-archive-uslugi .content-area,
body.post-type-archive-uslugi main.site-main > .container,
body.post-type-archive-uslugi .container,
body.post-type-archive-uslugi .lm-container,
body.post-type-archive-uslugi .lm-services-archive,
body.tax-service_category #page,
body.tax-service_category .site,
body.tax-service_category #content,
body.tax-service_category .site-content,
body.tax-service_category .content-area,
body.tax-service_category main.site-main > .container,
body.tax-service_category .container,
body.tax-service_category .lm-container,
body.tax-service_category .lm-taxonomy-services,
body.single-uslugi #page,
body.single-uslugi .site,
body.single-uslugi #content,
body.single-uslugi .site-content,
body.single-uslugi .content-area,
body.single-uslugi main.site-main > .container,
body.single-uslugi .container,
body.single-uslugi .lm-container,
body.post-type-archive-preparations #page,
body.post-type-archive-preparations .site,
body.post-type-archive-preparations #content,
body.post-type-archive-preparations .site-content,
body.post-type-archive-preparations .content-area,
body.post-type-archive-preparations main.site-main > .container,
body.post-type-archive-preparations .container,
body.post-type-archive-preparations .lm-container,
body.post-type-archive-preparations .lm-preparations-archive,
body.tax-preparation_brand #page,
body.tax-preparation_brand .site,
body.tax-preparation_brand #content,
body.tax-preparation_brand .site-content,
body.tax-preparation_brand .content-area,
body.tax-preparation_brand main.site-main > .container,
body.tax-preparation_brand .container,
body.tax-preparation_brand .lm-container,
body.tax-preparation_brand .lm-taxonomy-services,
body.single-preparations #page,
body.single-preparations .site,
body.single-preparations #content,
body.single-preparations .site-content,
body.single-preparations .content-area,
body.single-preparations main.site-main > .container,
body.single-preparations .container,
body.single-preparations .lm-container,
body.post-type-archive-aktsii #page,
body.post-type-archive-aktsii .site,
body.post-type-archive-aktsii #content,
body.post-type-archive-aktsii .site-content,
body.post-type-archive-aktsii .content-area,
body.post-type-archive-aktsii main.site-main > .container,
body.post-type-archive-aktsii .container,
body.post-type-archive-aktsii .lm-container,
body.post-type-archive-aktsii .lm-aktsii-archive,
body.single-aktsii #page,
body.single-aktsii .site,
body.single-aktsii #content,
body.single-aktsii .site-content,
body.single-aktsii .content-area,
body.single-aktsii main.site-main > .container,
body.single-aktsii .container,
body.single-aktsii .lm-container,
body.post-type-archive-news #page,
body.post-type-archive-news .site,
body.post-type-archive-news #content,
body.post-type-archive-news .site-content,
body.post-type-archive-news .content-area,
body.post-type-archive-news main.site-main > .container,
body.post-type-archive-news .container,
body.post-type-archive-news .lm-container,
body.post-type-archive-news .lm-single-layout,
body.post-type-archive-news .lm-news-layout,
body.single-news #page,
body.single-news .site,
body.single-news #content,
body.single-news .site-content,
body.single-news .content-area,
body.single-news main.site-main > .container,
body.single-news .container,
body.single-news .lm-container,
body.single-news .lm-single-layout,
body.single-news .lm-news-single-layout,
body.post-type-archive-articles #page,
body.post-type-archive-articles .site,
body.post-type-archive-articles #content,
body.post-type-archive-articles .site-content,
body.post-type-archive-articles .content-area,
body.post-type-archive-articles main.site-main > .container,
body.post-type-archive-articles .container,
body.post-type-archive-articles .lm-container,
body.post-type-archive-articles .articles-archive,
body.post-type-archive-articles .lm-articles-archive,
body.single-articles #page,
body.single-articles .site,
body.single-articles #content,
body.single-articles .site-content,
body.single-articles .content-area,
body.single-articles main.site-main > .container,
body.single-articles .container,
body.single-articles .lm-container,
body.page #page,
body.page .site,
body.page #content,
body.page .site-content,
body.page .content-area,
body.page main.site-main > .container,
body.page .container,
body.page .lm-container{
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* ---------------------------------------------------------
   04. Шапка и меню остаются белыми, чтобы не пачкать навигацию
   --------------------------------------------------------- */

.site-header,
.lm-header,
.lm-main-header,
header{
    background: #ffffff !important;
}

/* ---------------------------------------------------------
   05. Мобильный фон — теплее, без бело-серого ощущения
   --------------------------------------------------------- */

@media (max-width: 767px){
    html,
body,
body.home,
body.front-page,
body.post-type-archive-uslugi,
body.tax-service_category,
body.single-uslugi,
body.post-type-archive-preparations,
body.tax-preparation_brand,
body.single-preparations,
body.post-type-archive-aktsii,
body.single-aktsii,
body.post-type-archive-news,
body.single-news,
body.post-type-archive-articles,
body.single-articles,
body.page,
body.archive,
body.single,
body.home main.site-main,
body.front-page main.site-main,
body.post-type-archive-uslugi main.site-main,
body.tax-service_category main.site-main,
body.single-uslugi main.site-main,
body.post-type-archive-preparations main.site-main,
body.tax-preparation_brand main.site-main,
body.single-preparations main.site-main,
body.post-type-archive-aktsii main.site-main,
body.single-aktsii main.site-main,
body.post-type-archive-news main.site-main,
body.single-news main.site-main,
body.post-type-archive-articles main.site-main,
body.single-articles main.site-main,
body.page main.site-main,
body.archive main.site-main,
body.single main.site-main{
        background: var(--lm-site-bg-mobile) !important;
        background-attachment: scroll !important;
    }
}

/* =========================================================
   ЛИДАМЕД — AUXILIARY PAGES FINAL COLOR SYSTEM
   Лицензии, реквизиты, специалисты, кабинеты, юридические страницы, отзывы.
   Только покраска: фон, карточки, кнопки, границы, тени.
   Глобальный фон сайта не меняем.
   ========================================================= */

/* ---------------------------------------------------------
   00. Общие переменные вспомогательных страниц
   --------------------------------------------------------- */

:root{
    --lm-aux-card-bg: linear-gradient(180deg, #ffffff 0%, #fffdf8 64%, #faf7f0 100%);
    --lm-aux-warm-bg: linear-gradient(180deg, #fffefa 0%, #f7f1e6 46%, #eadfce 100%);
    --lm-aux-button-bg: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    --lm-aux-button-active-bg: linear-gradient(180deg, #fffdf8 0%, #f4ecdc 48%, #eadbc5 100%);
    --lm-aux-border: rgba(194, 174, 136, 0.34);
    --lm-aux-border-strong: rgba(185, 155, 114, 0.52);
    --lm-aux-text: #3d403a;
    --lm-aux-muted: #6f6a64;
    --lm-aux-champagne: #a98d57;
    --lm-aux-shadow: 0 16px 38px rgba(43, 47, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.88);
}

/* =========================================================
   01. ЛИЦЕНЗИИ
   ========================================================= */

/* Верхняя информационная плашка */
.license-info{
    background: var(--lm-aux-warm-bg) !important;
    border-color: var(--lm-aux-border-strong) !important;
    box-shadow:
        0 14px 34px rgba(75, 69, 56, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.license-info__content,
.license-info__content div{
    color: var(--lm-aux-text) !important;
}

/* Кнопки печати/PDF на лицензиях */
.license-action-btn,
.license-action-btn--print,
.license-action-btn--pdf{
    background: var(--lm-aux-button-active-bg) !important;
    border: 1px solid rgba(185, 155, 114, 0.44) !important;
    color: #4a4032 !important;
    box-shadow:
        0 10px 24px rgba(75, 69, 56, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.license-action-btn:hover,
.license-action-btn--print:hover,
.license-action-btn--pdf:hover{
    background: linear-gradient(180deg, #ffffff 0%, #f1e6d4 48%, #e5d2b4 100%) !important;
    border-color: rgba(185, 155, 114, 0.62) !important;
    color: #3f3528 !important;
}

/* Плашки лицензий */
.license-item{
    background: var(--lm-aux-card-bg) !important;
    border-color: var(--lm-aux-border) !important;
    box-shadow: var(--lm-aux-shadow) !important;
}

.license-thumb img{
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.license-text p{
    color: var(--lm-aux-text) !important;
}

.license-desc,
.license-note{
    color: var(--lm-aux-muted) !important;
}

/* Кнопка "Открыть" */
.license-open-btn{
    background: var(--lm-aux-button-active-bg) !important;
    border: 1px solid rgba(185, 155, 114, 0.44) !important;
    color: #4a4032 !important;
    box-shadow:
        0 8px 20px rgba(75, 69, 56, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.license-open-btn:hover{
    background: linear-gradient(180deg, #ffffff 0%, #f1e6d4 48%, #e5d2b4 100%) !important;
    border-color: rgba(185, 155, 114, 0.62) !important;
    color: #3f3528 !important;
}

/* =========================================================
   02. РЕКВИЗИТЫ
   ========================================================= */

.lm-requisites{
    background: transparent !important;
}

.lm-requisites__container,
.lm-requisites__panel,
.lm-requisites__main,
.lm-requisites__card,
.requisites-card,
.lm-requisites-card{
    background: var(--lm-aux-card-bg) !important;
    border-color: var(--lm-aux-border) !important;
    box-shadow: var(--lm-aux-shadow) !important;
}

/* Верхняя плашка/шапка реквизитов */
.lm-requisites__top,
.lm-requisites-topbar,
.lm-requisites__bank-block,
.lm-requisites__bank-qr-area{
    background: var(--lm-aux-warm-bg) !important;
    border: 1px solid var(--lm-aux-border-strong) !important;
    border-radius: 22px !important;
    box-shadow:
        0 14px 34px rgba(75, 69, 56, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.lm-requisites__title,
.lm-requisites__card-title,
.lm-requisites-topbar__title,
.lm-requisites-value,
.lm-value{
    color: var(--lm-aux-text) !important;
}

.lm-requisites-label,
.lm-requisites__row-label,
.lm-label,
.lm-requisites-topbar__meta,
.lm-requisites-topbar__date,
.lm-requisites__meta-note,
.lm-requisites__note{
    color: var(--lm-aux-muted) !important;
}

.lm-requisites__action-btn,
.lm-requisites__service-btn,
.lm-requisites__service-btn--dark,
.lm-requisites__service-btn--light{
    background: var(--lm-aux-button-active-bg) !important;
    border: 1px solid rgba(185, 155, 114, 0.44) !important;
    color: #4a4032 !important;
    box-shadow:
        0 10px 24px rgba(75, 69, 56, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.lm-requisites__action-btn:hover,
.lm-requisites__service-btn:hover,
.lm-requisites__service-btn--dark:hover,
.lm-requisites__service-btn--light:hover{
    background: linear-gradient(180deg, #ffffff 0%, #f1e6d4 48%, #e5d2b4 100%) !important;
    border-color: rgba(185, 155, 114, 0.62) !important;
    color: #3f3528 !important;
}

/* =========================================================
   03. СПЕЦИАЛИСТЫ
   ========================================================= */

/* Архив специалистов — карточки в цвет левого меню */
.post-type-archive-specialists .lm-specialist-card,
.lm-specialists-archive .lm-specialist-card,
.lm-specialists .lm-specialist-card{
    background: var(--lm-aux-card-bg) !important;
    border: 1px solid var(--lm-aux-border) !important;
    border-radius: 24px !important;
    box-shadow: var(--lm-aux-shadow) !important;
    overflow: hidden !important;
}

.post-type-archive-specialists .lm-specialist-card__body,
.lm-specialists-archive .lm-specialist-card__body,
.lm-specialists .lm-specialist-card__body{
    background: transparent !important;
}

.post-type-archive-specialists .lm-specialist-card__title,
.lm-specialists-archive .lm-specialist-card__title,
.lm-specialists .lm-specialist-card__title{
    color: var(--lm-aux-text) !important;
}

.post-type-archive-specialists .lm-specialist-card__position,
.post-type-archive-specialists .lm-specialist-card__text,
.lm-specialists-archive .lm-specialist-card__position,
.lm-specialists-archive .lm-specialist-card__text,
.lm-specialists .lm-specialist-card__position,
.lm-specialists .lm-specialist-card__text{
    color: var(--lm-aux-muted) !important;
}

/* Сингл специалиста — кладём контент на подложку */
.single-specialists .lm-specialist-single,
.single-specialists .lm-specialist-single__content,
.single-specialists .lm-specialist-content,
.single-specialists .lm-single-main > article,
.single-specialists .lm-single-main .entry-content{
    background: var(--lm-aux-card-bg) !important;
    border: 1px solid var(--lm-aux-border) !important;
    border-radius: 28px !important;
    box-shadow: var(--lm-aux-shadow) !important;
}

.single-specialists .lm-specialist-single__section,
.single-specialists .lm-specialist-single__section-title{
    color: var(--lm-aux-text) !important;
}

/* =========================================================
   04. КАБИНЕТЫ
   ========================================================= */

.post-type-archive-kabinety .lm-cabinet-card,
.lm-cabinets-archive .lm-cabinet-card{
    background: var(--lm-aux-card-bg) !important;
    border-color: var(--lm-aux-border) !important;
    box-shadow: var(--lm-aux-shadow) !important;
}

.post-type-archive-kabinety .lm-cabinet-card__body,
.lm-cabinets-archive .lm-cabinet-card__body{
    background: var(--lm-aux-card-bg) !important;
    border-top-color: rgba(194, 174, 136, 0.30) !important;
}

.post-type-archive-kabinety .lm-cabinet-card__title,
.lm-cabinets-archive .lm-cabinet-card__title{
    color: var(--lm-aux-text) !important;
}

.post-type-archive-kabinety .lm-cabinet-card__text,
.lm-cabinets-archive .lm-cabinet-card__text{
    color: var(--lm-aux-muted) !important;
}

/* Синглы кабинетов — на случай если есть отдельная внутренняя подложка */
.single-kabinety .lm-single-main > article,
.single-kabinety .lm-single-entry__content,
.single-kabinety .lm-cabinet-content{
    background: var(--lm-aux-card-bg) !important;
    border: 1px solid var(--lm-aux-border) !important;
    border-radius: 28px !important;
    box-shadow: var(--lm-aux-shadow) !important;
}

/* =========================================================
   05. ЮРИДИЧЕСКИЕ СТРАНИЦЫ
   Политика / Согласие / Пользовательское соглашение
   ========================================================= */

.page-template-template-legal .lm-legal-page{
    background: transparent !important;
}

/* Основная подложка текста */
.page-template-template-legal .lm-legal-article{
    background: var(--lm-aux-card-bg) !important;
    border-color: var(--lm-aux-border) !important;
    box-shadow: var(--lm-aux-shadow) !important;
}

.page-template-template-legal .lm-legal-doc-title,
.page-template-template-legal .lm-legal-entry h2,
.page-template-template-legal .lm-legal-entry h3,
.page-template-template-legal .lm-legal-entry h4{
    color: var(--lm-aux-text) !important;
}

.page-template-template-legal .lm-legal-entry,
.page-template-template-legal .lm-legal-entry p,
.page-template-template-legal .lm-legal-entry li{
    color: #4f554d !important;
}

/* Верхние юридические кнопки: активная выраженнее, остальные светлые */
.page-template-template-legal .lm-legal-nav__btn{
    background: var(--lm-aux-button-bg) !important;
    border-color: rgba(185, 155, 114, 0.36) !important;
    color: #4a4032 !important;
    box-shadow:
        0 8px 20px rgba(48, 42, 36, 0.045),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

.page-template-template-legal .lm-legal-nav__btn:hover{
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%) !important;
    border-color: rgba(185, 155, 114, 0.52) !important;
    color: #3f3528 !important;
}

.page-template-template-legal .lm-legal-nav__btn.is-active{
    background: var(--lm-aux-button-active-bg) !important;
    border-color: rgba(185, 155, 114, 0.62) !important;
    color: #4a4032 !important;
    box-shadow:
        0 12px 28px rgba(120, 92, 58, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

/* PDF / печать */
.page-template-template-legal .lm-legal-action-btn{
    background: var(--lm-aux-button-active-bg) !important;
    border-color: rgba(185, 155, 114, 0.44) !important;
    box-shadow:
        0 10px 24px rgba(75, 69, 56, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.page-template-template-legal .lm-legal-action-btn:hover{
    background: linear-gradient(180deg, #ffffff 0%, #f1e6d4 48%, #e5d2b4 100%) !important;
    border-color: rgba(185, 155, 114, 0.62) !important;
}

.page-template-template-legal .lm-legal-action-btn img{
    opacity: .60 !important;
}

/* =========================================================
   06. ОТЗЫВЫ
   Не красим подложки iframe/колонок, только кнопки отзывов.
   ========================================================= */

.page-template-page-reviews .lm-reviews-page__card--info a,
.page-template-page-reviews .lm-reviews-page__card--info .lm-reviews-page__btn,
.page-template-page-reviews .lm-reviews-page__card--info .lm-reviews-btn,
.page-template-page-reviews .lm-reviews-page__card--info button,
.page-template-page-reviews .lm-reviews-page__card--info [class*="button"],
.page-template-page-reviews .lm-reviews-page__card--info [class*="btn"]{
    background: var(--lm-aux-button-active-bg) !important;
    border: 1px solid rgba(185, 155, 114, 0.44) !important;
    color: #4a4032 !important;
    box-shadow:
        0 10px 24px rgba(75, 69, 56, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.page-template-page-reviews .lm-reviews-page__card--info a:hover,
.page-template-page-reviews .lm-reviews-page__card--info .lm-reviews-page__btn:hover,
.page-template-page-reviews .lm-reviews-page__card--info .lm-reviews-btn:hover,
.page-template-page-reviews .lm-reviews-page__card--info button:hover,
.page-template-page-reviews .lm-reviews-page__card--info [class*="button"]:hover,
.page-template-page-reviews .lm-reviews-page__card--info [class*="btn"]:hover{
    background: linear-gradient(180deg, #ffffff 0%, #f1e6d4 48%, #e5d2b4 100%) !important;
    border-color: rgba(185, 155, 114, 0.62) !important;
    color: #3f3528 !important;
}

/* ---------------------------------------------------------
   07. Мобильная коррекция
   --------------------------------------------------------- */

@media (max-width: 767px){
    .license-info,
.license-item,
.lm-requisites__top,
.lm-requisites-topbar,
.lm-requisites__card,
.single-specialists .lm-specialist-single,
.single-specialists .lm-specialist-single__content,
.single-specialists .lm-specialist-content,
.single-kabinety .lm-single-main > article,
.page-template-template-legal .lm-legal-article{
        border-radius: 22px !important;
    }

    .license-action-btn,
.license-open-btn,
.page-template-template-legal .lm-legal-nav__btn,
.page-template-template-legal .lm-legal-action-btn{
        box-shadow:
            0 8px 18px rgba(75, 69, 56, 0.07),
            inset 0 1px 0 rgba(255,255,255,0.92) !important;
    }

    .page-template-template-legal .lm-legal-nav{
        gap: 8px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — AUXILIARY PAGES CORRECTION STEP 2
   Дожим вспомогательных страниц:
   - сингл специалистов без матрёшки, с нормальными отступами;
   - реквизиты: кнопки выразительнее, QR белый, основной блок чуть длиннее;
   - лицензии: кнопки в едином champagne-стиле;
   - отзывы: вернуть фирменные цвета MAX / WhatsApp / Telegram.
   ========================================================= */

/* ---------------------------------------------------------
   01. Сингл специалиста — одна внешняя подложка, без матрёшки
   --------------------------------------------------------- */

.single-specialists .lm-single-main{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 64%, #faf7f0 100%) !important;
    border: 1px solid rgba(194, 174, 136, 0.34) !important;
    border-radius: 28px !important;
    box-shadow:
        0 18px 46px rgba(43, 47, 42, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
    padding: 28px 28px 34px !important;
    overflow: hidden !important;
}

/* Снимаем вложенные подложки, которые дали эффект матрёшки */
.single-specialists .lm-specialist-single,
.single-specialists .lm-specialist-single__content,
.single-specialists .lm-specialist-content,
.single-specialists .lm-single-main > article,
.single-specialists .lm-single-main .entry-content,
.single-specialists .lm-specialist-single__section{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Возвращаем воздух внутри контента */
.single-specialists .lm-specialist-single,
.single-specialists .lm-specialist-single__content,
.single-specialists .lm-specialist-content,
.single-specialists .lm-single-main > article,
.single-specialists .lm-single-main .entry-content{
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Фото не прижимается к левому верхнему углу */
.single-specialists .lm-specialist-single__photo,
.single-specialists .lm-specialist-single__image,
.single-specialists .lm-specialist-card__image,
.single-specialists .lm-specialist-card__image-wrap,
.single-specialists .lm-specialist-single img{
    margin-top: 0 !important;
}

.single-specialists .lm-specialist-single__top,
.single-specialists .lm-specialist-hero,
.single-specialists .lm-specialist-header{
    padding: 0 0 24px !important;
    margin: 0 0 24px !important;
    border-bottom: 1px solid rgba(194, 174, 136, 0.26) !important;
}

.single-specialists .lm-specialist-single__section{
    padding: 22px 0 !important;
    border-bottom: 1px solid rgba(194, 174, 136, 0.24) !important;
}

.single-specialists .lm-specialist-single__section:last-child{
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.single-specialists .lm-specialist-single__section-title,
.single-specialists .lm-specialist-content h2,
.single-specialists .lm-specialist-content h3,
.single-specialists .entry-content h2,
.single-specialists .entry-content h3{
    color: #252825 !important;
}

.single-specialists .lm-specialist-content,
.single-specialists .lm-specialist-content p,
.single-specialists .entry-content,
.single-specialists .entry-content p,
.single-specialists .entry-content li{
    color: #4f554d !important;
}

/* ---------------------------------------------------------
   02. Реквизиты — кнопки выразительнее, QR белый, блок чуть длиннее
   --------------------------------------------------------- */

/* Кнопки в верхней плашке — чуть выразительнее самой плашки */
.lm-requisites__action-btn,
.lm-requisites-topbar__actions a,
.lm-requisites-topbar__actions button,
.lm-requisites__actions a,
.lm-requisites__actions button,
.lm-requisites__service-btn,
.lm-requisites__service-btn--dark,
.lm-requisites__service-btn--light{
    background:
        linear-gradient(180deg, #fffdf8 0%, #f4ecdc 48%, #eadbc5 100%) !important;
    border: 1px solid rgba(185, 155, 114, 0.62) !important;
    color: #4a4032 !important;
    box-shadow:
        0 12px 28px rgba(120, 92, 58, 0.13),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

.lm-requisites__action-btn:hover,
.lm-requisites-topbar__actions a:hover,
.lm-requisites-topbar__actions button:hover,
.lm-requisites__actions a:hover,
.lm-requisites__actions button:hover,
.lm-requisites__service-btn:hover,
.lm-requisites__service-btn--dark:hover,
.lm-requisites__service-btn--light:hover{
    background:
        linear-gradient(180deg, #ffffff 0%, #f1e6d4 48%, #e5d2b4 100%) !important;
    border-color: rgba(185, 155, 114, 0.72) !important;
    color: #3f3528 !important;
    box-shadow:
        0 15px 32px rgba(120, 92, 58, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

/* QR — белая квадратная зона без champagne-заливки */
.lm-requisites__bank-qr-area,
.lm-requisites__bank-qr-wrap,
.lm-requisites__bank-qr,
.lm-requisites__bank-qr-area > div,
.lm-requisites__bank-qr-wrap > div{
    background: #ffffff !important;
    background-image: none !important;
    border-color: rgba(194, 174, 136, 0.38) !important;
    box-shadow:
        0 10px 24px rgba(43, 47, 42, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;
}

.lm-requisites__bank-qr-area,
.lm-requisites__bank-qr-wrap{
    border-radius: 22px !important;
    padding: 16px !important;
}

.lm-requisites__bank-qr img,
.lm-requisites__bank-qr-area img,
.lm-requisites__bank-qr-wrap img{
    display: block !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 0 !important;
}

/* Чуть вытягиваем основную область реквизитов на десктопе */
@media (min-width: 992px){
    .lm-requisites__container,
.lm-requisites__panel,
.lm-requisites__main,
.lm-requisites-card,
.requisites-card{
        min-height: 680px !important;
    }
}

/* ---------------------------------------------------------
   03. Лицензии — кнопки в едином champagne-стиле
   --------------------------------------------------------- */

.license-page a[class*="btn"],
.license-page button[class*="btn"],
.license-page a[class*="button"],
.license-page button[class*="button"],
.license-page a[class*="print"],
.license-page button[class*="print"],
.license-page a[class*="pdf"],
.license-page button[class*="pdf"],
.license-page a[class*="open"],
.license-page button[class*="open"],
.license-info a,
.license-info button,
.license-open-btn,
.license-action-btn,
.license-action-btn--print,
.license-action-btn--pdf{
    background:
        linear-gradient(180deg, #fffdf8 0%, #f4ecdc 48%, #eadbc5 100%) !important;
    border: 1px solid rgba(185, 155, 114, 0.52) !important;
    color: #4a4032 !important;
    box-shadow:
        0 10px 24px rgba(75, 69, 56, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

.license-page a[class*="btn"]:hover,
.license-page button[class*="btn"]:hover,
.license-page a[class*="button"]:hover,
.license-page button[class*="button"]:hover,
.license-page a[class*="print"]:hover,
.license-page button[class*="print"]:hover,
.license-page a[class*="pdf"]:hover,
.license-page button[class*="pdf"]:hover,
.license-page a[class*="open"]:hover,
.license-page button[class*="open"]:hover,
.license-info a:hover,
.license-info button:hover,
.license-open-btn:hover,
.license-action-btn:hover,
.license-action-btn--print:hover,
.license-action-btn--pdf:hover{
    background:
        linear-gradient(180deg, #ffffff 0%, #f1e6d4 48%, #e5d2b4 100%) !important;
    border-color: rgba(185, 155, 114, 0.68) !important;
    color: #3f3528 !important;
}

/* ---------------------------------------------------------
   04. Отзывы — возвращаем оригинальные цвета мессенджеров
   --------------------------------------------------------- */

/* MAX */
.page-template-page-reviews .lm-reviews-page__card--info a[href*="max"],
.page-template-page-reviews .lm-reviews-page__card--info a[class*="max"],
.page-template-page-reviews .lm-reviews-page__card--info [class*="max"] a{
    background:
        linear-gradient(135deg, #4b3df0 0%, #6d54ff 48%, #8c6dff 100%) !important;
    border-color: rgba(109, 84, 255, 0.42) !important;
    color: #ffffff !important;
    box-shadow:
        0 14px 30px rgba(93, 68, 240, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.26) !important;
}

/* WhatsApp */
.page-template-page-reviews .lm-reviews-page__card--info a[href*="wa.me"],
.page-template-page-reviews .lm-reviews-page__card--info a[href*="whatsapp"],
.page-template-page-reviews .lm-reviews-page__card--info a[class*="whatsapp"],
.page-template-page-reviews .lm-reviews-page__card--info [class*="whatsapp"] a{
    background:
        linear-gradient(135deg, #62d978 0%, #25d366 50%, #128c7e 100%) !important;
    border-color: rgba(37, 211, 102, 0.42) !important;
    color: #ffffff !important;
    box-shadow:
        0 14px 30px rgba(37, 211, 102, 0.20),
        inset 0 1px 0 rgba(255,255,255,0.26) !important;
}

/* Telegram */
.page-template-page-reviews .lm-reviews-page__card--info a[href*="t.me"],
.page-template-page-reviews .lm-reviews-page__card--info a[href*="telegram"],
.page-template-page-reviews .lm-reviews-page__card--info a[class*="telegram"],
.page-template-page-reviews .lm-reviews-page__card--info [class*="telegram"] a{
    background:
        linear-gradient(135deg, #63c8ff 0%, #229ed9 50%, #168ac0 100%) !important;
    border-color: rgba(34, 158, 217, 0.42) !important;
    color: #ffffff !important;
    box-shadow:
        0 14px 30px rgba(34, 158, 217, 0.20),
        inset 0 1px 0 rgba(255,255,255,0.26) !important;
}

/* Иконки внутри мессенджеров — белые */
.page-template-page-reviews .lm-reviews-page__card--info a[href*="max"] svg,
.page-template-page-reviews .lm-reviews-page__card--info a[href*="wa.me"] svg,
.page-template-page-reviews .lm-reviews-page__card--info a[href*="whatsapp"] svg,
.page-template-page-reviews .lm-reviews-page__card--info a[href*="t.me"] svg,
.page-template-page-reviews .lm-reviews-page__card--info a[href*="telegram"] svg,
.page-template-page-reviews .lm-reviews-page__card--info a[class*="max"] svg,
.page-template-page-reviews .lm-reviews-page__card--info a[class*="whatsapp"] svg,
.page-template-page-reviews .lm-reviews-page__card--info a[class*="telegram"] svg{
    color: #ffffff !important;
    fill: currentColor !important;
}

/* ---------------------------------------------------------
   05. Мобильная коррекция
   --------------------------------------------------------- */

@media (max-width: 767px){
    .single-specialists .lm-single-main{
        padding: 18px 16px 22px !important;
        border-radius: 22px !important;
    }

    .single-specialists .lm-specialist-single__top,
.single-specialists .lm-specialist-hero,
.single-specialists .lm-specialist-header{
        padding-bottom: 18px !important;
        margin-bottom: 18px !important;
    }

    .lm-requisites__bank-qr-area,
.lm-requisites__bank-qr-wrap{
        padding: 12px !important;
        border-radius: 18px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — AUXILIARY PAGES CORRECTION STEP 3
   Реквизиты: QR без матрёшки, квадратная белая посадка.
   Специалист: аккуратная champagne-окантовка фотографии.
   ========================================================= */

/* ---------------------------------------------------------
   01. Реквизиты — QR-код: квадратная белая посадочная зона
   --------------------------------------------------------- */

/* Внешняя посадка QR — квадрат, белая, без серой/градиентной матрёшки */
.lm-requisites__bank-qr-area,
.lm-requisites__bank-qr-wrap{
    width: 320px !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;

    margin: 18px 0 0 auto !important;
    padding: 14px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #ffffff !important;
    background-image: none !important;

    border: 1px solid rgba(194, 174, 136, 0.34) !important;
    border-radius: 22px !important;

    box-shadow:
        0 10px 24px rgba(43, 47, 42, 0.055),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Снимаем внутренние серые/бежевые вложенные подложки вокруг QR */
.lm-requisites__bank-qr,
.lm-requisites__bank-qr-area > div,
.lm-requisites__bank-qr-wrap > div,
.lm-requisites__bank-qr-area > figure,
.lm-requisites__bank-qr-wrap > figure{
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #ffffff !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 16px !important;

    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* Сам QR аккуратно вписываем внутрь белого квадрата */
.lm-requisites__bank-qr img,
.lm-requisites__bank-qr-area img,
.lm-requisites__bank-qr-wrap img{
    display: block !important;

    width: 100% !important;
    max-width: 268px !important;
    height: auto !important;
    max-height: 268px !important;

    object-fit: contain !important;

    margin: 0 auto !important;
    padding: 0 !important;

    background: #ffffff !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

/* Убираем лишнюю высоту, которую раньше создавал прямоугольный QR-блок */
@media (min-width: 992px){
    .lm-requisites__bank-qr-area,
.lm-requisites__bank-qr-wrap{
        width: 310px !important;
        padding: 12px !important;
    }

    .lm-requisites__bank-qr img,
.lm-requisites__bank-qr-area img,
.lm-requisites__bank-qr-wrap img{
        max-width: 262px !important;
        max-height: 262px !important;
    }
}

/* ---------------------------------------------------------
   02. Сингл специалиста — окантовка фотографии
   --------------------------------------------------------- */

.single-specialists .lm-specialist-single__photo,
.single-specialists .lm-specialist-single__image,
.single-specialists .lm-specialist-card__image-wrap,
.single-specialists .lm-specialist-single figure,
.single-specialists .lm-specialist-single img{
    border-color: rgba(185, 155, 114, 0.38) !important;
}

.single-specialists .lm-specialist-single__photo,
.single-specialists .lm-specialist-single__image,
.single-specialists .lm-specialist-card__image-wrap,
.single-specialists .lm-specialist-single figure{
    background: #ffffff !important;
    border: 1px solid rgba(185, 155, 114, 0.38) !important;
    border-radius: 24px !important;
    box-shadow:
        0 14px 30px rgba(43, 47, 42, 0.075),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
    overflow: hidden !important;
}

/* Если в шаблоне картинка идёт напрямую без figure/wrap */
.single-specialists .lm-specialist-single img{
    border: 1px solid rgba(185, 155, 114, 0.36) !important;
    border-radius: 24px !important;
    box-shadow:
        0 12px 28px rgba(43, 47, 42, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

/* ---------------------------------------------------------
   03. Мобильная коррекция
   --------------------------------------------------------- */

@media (max-width: 767px){
    .lm-requisites__bank-qr-area,
.lm-requisites__bank-qr-wrap{
        width: 100% !important;
        max-width: 300px !important;
        margin: 16px auto 0 !important;
        padding: 12px !important;
        border-radius: 20px !important;
    }

    .lm-requisites__bank-qr img,
.lm-requisites__bank-qr-area img,
.lm-requisites__bank-qr-wrap img{
        max-width: 250px !important;
        max-height: 250px !important;
    }

    .single-specialists .lm-specialist-single__photo,
.single-specialists .lm-specialist-single__image,
.single-specialists .lm-specialist-card__image-wrap,
.single-specialists .lm-specialist-single figure,
.single-specialists .lm-specialist-single img{
        border-radius: 20px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — REQUISITES QR FINAL STEP
   Финальный штрих реквизитов: QR меньше, по центру правой колонки,
   нижний край блока ближе к нижнему краю левого меню.
   ========================================================= */

/* QR-посадка: уменьшаем примерно до 2/3 и центрируем под логотипом Сбера */
.lm-requisites__bank-qr-area,
.lm-requisites__bank-qr-wrap{
    width: 220px !important;
    max-width: 220px !important;
    aspect-ratio: 1 / 1 !important;

    margin: 18px auto 0 !important;
    padding: 10px !important;

    background: #ffffff !important;
    background-image: none !important;

    border: 1px solid rgba(194, 174, 136, 0.34) !important;
    border-radius: 20px !important;

    box-shadow:
        0 10px 24px rgba(43, 47, 42, 0.055),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;
}

/* Внутренние обёртки QR без дополнительных серых/бежевых матрёшек */
.lm-requisites__bank-qr,
.lm-requisites__bank-qr-area > div,
.lm-requisites__bank-qr-wrap > div,
.lm-requisites__bank-qr-area > figure,
.lm-requisites__bank-qr-wrap > figure{
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    background-image: none !important;

    border: 0 !important;
    box-shadow: none !important;
}

/* Сам QR меньше, аккуратно внутри белого квадрата */
.lm-requisites__bank-qr img,
.lm-requisites__bank-qr-area img,
.lm-requisites__bank-qr-wrap img{
    width: 100% !important;
    max-width: 188px !important;
    height: auto !important;
    max-height: 188px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    object-fit: contain !important;
}

/* Убираем прежнее искусственное вытягивание, из-за которого низ уходил ниже меню */
@media (min-width: 992px){
    .lm-requisites__container,
.lm-requisites__panel,
.lm-requisites__main,
.lm-requisites-card,
.requisites-card{
        min-height: 0 !important;
    }

    .lm-requisites__bank-qr-area,
.lm-requisites__bank-qr-wrap{
        width: 220px !important;
        max-width: 220px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .lm-requisites__bank-qr img,
.lm-requisites__bank-qr-area img,
.lm-requisites__bank-qr-wrap img{
        max-width: 188px !important;
        max-height: 188px !important;
    }
}

@media (max-width: 767px){
    .lm-requisites__bank-qr-area,
.lm-requisites__bank-qr-wrap{
        width: 210px !important;
        max-width: 210px !important;
        margin: 16px auto 0 !important;
        padding: 10px !important;
        border-radius: 18px !important;
    }

    .lm-requisites__bank-qr img,
.lm-requisites__bank-qr-area img,
.lm-requisites__bank-qr-wrap img{
        max-width: 178px !important;
        max-height: 178px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — REQUISITES HEIGHT + FOOTER GAP FINAL
   1) Реквизиты: чуть вытягиваем основную белую подложку вниз.
   2) Весь сайт: единый отступ до полосы "Имеются противопоказания" / футера.
   ========================================================= */

/* ---------------------------------------------------------
   01. Реквизиты — белую основную подложку дотягиваем до уровня левого меню
   --------------------------------------------------------- */

@media (min-width: 992px){
    .page-id-447 .lm-requisites__card,
.page-id-447 .lm-requisites-card,
.page-id-447 .requisites-card,
.page-id-447 .lm-requisites__main,
.lm-requisites-page__container .lm-requisites__card,
.lm-requisites-page__container .lm-requisites-card,
.lm-requisites-page__container .requisites-card,
.lm-requisites-page__container .lm-requisites__main,
.lm-requisites__container .lm-requisites__card,
.lm-requisites__container .lm-requisites-card,
.lm-requisites__container .requisites-card,
.lm-requisites__container .lm-requisites__main{
        min-height: 548px !important;
    }
}

/* ---------------------------------------------------------
   02. Единый зазор перед футером / полосой противопоказаний
   --------------------------------------------------------- */

/* Нормируем низ основного контента перед футерной зоной */
main.site-main,
.site-main,
#primary,
.content-area{
    padding-bottom: 22px !important;
    margin-bottom: 0 !important;
}

/* Последний прямой контейнер внутри main не добавляет случайный нижний хвост */
main.site-main > .container:last-child,
main.site-main > .lm-container:last-child,
main.site-main > .lm-single-layout:last-child,
main.site-main > .lm-page-content:last-child,
main.site-main > .lm-single-main:last-child,
main.site-main > .lm-requisites__container:last-child,
main.site-main > .lm-requisites-page__container:last-child,
main.site-main > .lm-contacts-page:last-child,
main.site-main > .lm-reviews-page:last-child,
main.site-main > .lm-legal-page:last-child,
main.site-main > .license-page:last-child,
main.site-main > .lm-specialists-archive-page__container:last-child,
main.site-main > .lm-cabinets-archive-page__container:last-child{
    margin-bottom: 0 !important;
}

/* Футерная карусель/полоса не должна добавлять свой пляшущий верхний отступ */
.lm-footer-partners{
    margin-top: 0 !important;
}

/* Сам футер идёт сразу после карусели, без старого 64px разрыва */
.lm-footer-partners + footer,
.lm-footer-partners + .site-footer,
.lm-footer{
    margin-top: 0 !important;
}

/* На мобильной тот же стандарт, только чуть компактнее */
@media (max-width: 767px){
    main.site-main,
.site-main,
#primary,
.content-area{
        padding-bottom: 20px !important;
        margin-bottom: 0 !important;
    }

    .lm-footer-partners{
        margin-top: 0 !important;
    }

    .lm-footer{
        margin-top: 0 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — FOOTER GAP STANDARD + REQUISITES PANEL STEP 6
   Финальный стандарт:
   - реквизиты: дотянуть белую подложку вниз без увеличения QR;
   - весь сайт: единый зазор до строки "Имеются противопоказания".
   ========================================================= */

:root{
    --lm-before-legal-line-gap: 20px;
    --lm-before-legal-line-gap-mobile: 18px;
}

/* ---------------------------------------------------------
   01. Реквизиты — дотягиваем именно section.lm-requisites__panel
   По фактической разметке: body.page-template-page-requisites section.lm-requisites__panel
   --------------------------------------------------------- */

@media (min-width: 992px){
    body.page-template-page-requisites .lm-requisites__panel{
        padding-bottom: 38px !important;
        min-height: 0 !important;
    }

    body.page-template-page-requisites .lm-requisites__panel .lm-requisites__grid{
        align-items: start !important;
    }

    /* QR уже маленький — больше не участвует в вытягивании блока */
    body.page-template-page-requisites .lm-requisites__bank-qr-area,
body.page-template-page-requisites .lm-requisites__bank-qr-wrap{
        width: 220px !important;
        max-width: 220px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ---------------------------------------------------------
   02. Единая дистанция от последнего блока страницы до legal-line
   --------------------------------------------------------- */

/* Сама строка "Имеются противопоказания..." всегда получает один стандартный отступ */
.lm-legal-line{
    margin-top: var(--lm-before-legal-line-gap) !important;
}

/* Карусель партнёров сразу после legal-line, без собственного скачущего отступа */
.lm-legal-line + .lm-footer-partners,
section.lm-footer-partners{
    margin-top: 0 !important;
}

/* Футер после карусели тоже без верхнего разрыва */
.lm-footer-partners + footer,
.lm-footer-partners + .site-footer,
.lm-footer{
    margin-top: 0 !important;
}

/* Убираем лишние нижние хвосты у main на страницах, где отступ прыгал */
body.post-type-archive-uslugi main.site-main,
body.tax-service_category main.site-main,
body.single-uslugi main.site-main,
body.post-type-archive-preparations main.site-main,
body.tax-preparation_brand main.site-main,
body.single-preparations main.site-main,
body.post-type-archive-aktsii main.site-main,
body.single-aktsii main.site-main,
body.post-type-archive-news main.site-main,
body.single-news main.site-main,
body.post-type-archive-articles main.site-main,
body.single-articles main.site-main,
body.post-type-archive-specialists main.site-main,
body.single-specialists main.site-main,
body.post-type-archive-kabinety main.site-main,
body.single-kabinety main.site-main,
body.page-template-template-legal main.site-main,
body.page-template-page-contacts main.site-main,
body.page-template-page-reviews main.site-main,
body.page-template-page-requisites main.site-main,
body.page main.site-main{
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Последние крупные контейнеры не добавляют второй отступ */
body.post-type-archive-uslugi main.site-main > *:last-child,
body.tax-service_category main.site-main > *:last-child,
body.single-uslugi main.site-main > *:last-child,
body.post-type-archive-preparations main.site-main > *:last-child,
body.tax-preparation_brand main.site-main > *:last-child,
body.single-preparations main.site-main > *:last-child,
body.post-type-archive-aktsii main.site-main > *:last-child,
body.single-aktsii main.site-main > *:last-child,
body.post-type-archive-news main.site-main > *:last-child,
body.single-news main.site-main > *:last-child,
body.post-type-archive-articles main.site-main > *:last-child,
body.single-articles main.site-main > *:last-child,
body.post-type-archive-specialists main.site-main > *:last-child,
body.single-specialists main.site-main > *:last-child,
body.post-type-archive-kabinety main.site-main > *:last-child,
body.single-kabinety main.site-main > *:last-child,
body.page-template-template-legal main.site-main > *:last-child,
body.page-template-page-contacts main.site-main > *:last-child,
body.page-template-page-reviews main.site-main > *:last-child,
body.page-template-page-requisites main.site-main > *:last-child,
body.page main.site-main > *:last-child{
    margin-bottom: 0 !important;
}

/* Частые внутренние обёртки, которые давали лишний нижний воздух */
body.post-type-archive-uslugi .lm-services-archive,
body.tax-service_category .lm-taxonomy-services,
body.single-uslugi .lm-single-layout,
body.post-type-archive-preparations .lm-preparations-archive,
body.tax-preparation_brand .lm-taxonomy-services,
body.single-preparations .lm-single-layout,
body.post-type-archive-aktsii .lm-aktsii-archive,
body.single-aktsii .lm-single-layout,
body.post-type-archive-news .lm-news-layout,
body.single-news .lm-news-single-layout,
body.post-type-archive-articles .lm-articles-archive,
body.single-articles .lm-single-layout,
body.post-type-archive-specialists .lm-specialists-archive,
body.single-specialists .lm-single-layout,
body.post-type-archive-kabinety .lm-cabinets-archive,
body.single-kabinety .lm-single-layout,
body.page-template-template-legal .lm-legal-page,
body.page-template-page-contacts .lm-contacts-page,
body.page-template-page-reviews .lm-reviews-page,
body.page-template-page-requisites .lm-requisites-page__container{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Страницы, где раньше был слишком большой нижний зазор из-за контейнера */
body.post-type-archive-news main.site-main > .container,
body.post-type-archive-articles main.site-main > .container,
body.post-type-archive-specialists main.site-main > .container,
body.post-type-archive-kabinety main.site-main > .container,
body.page-template-template-legal main.site-main > .container,
body.page-template-page-contacts main.site-main > .container{
    padding-bottom: 0 !important;
}

/* ---------------------------------------------------------
   03. Мобильная версия — тот же стандарт, чуть компактнее
   --------------------------------------------------------- */

@media (max-width: 767px){
    .lm-legal-line{
        margin-top: var(--lm-before-legal-line-gap-mobile) !important;
    }

    body.post-type-archive-uslugi main.site-main,
body.tax-service_category main.site-main,
body.single-uslugi main.site-main,
body.post-type-archive-preparations main.site-main,
body.tax-preparation_brand main.site-main,
body.single-preparations main.site-main,
body.post-type-archive-aktsii main.site-main,
body.single-aktsii main.site-main,
body.post-type-archive-news main.site-main,
body.single-news main.site-main,
body.post-type-archive-articles main.site-main,
body.single-articles main.site-main,
body.post-type-archive-specialists main.site-main,
body.single-specialists main.site-main,
body.post-type-archive-kabinety main.site-main,
body.single-kabinety main.site-main,
body.page-template-template-legal main.site-main,
body.page-template-page-contacts main.site-main,
body.page-template-page-reviews main.site-main,
body.page-template-page-requisites main.site-main,
body.page main.site-main{
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    body.page-template-page-requisites .lm-requisites__panel{
        padding-bottom: 22px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — REQUISITES PANEL + LEGAL GAP STEP 7
   Реквизиты:
   - убираем зелёный/пустой нижний хвост у .lm-requisites;
   - вытягиваем именно белую плашку .lm-requisites__panel;
   - QR не трогаем по размеру.
   Футерная зона:
   - единый зазор до строки "Имеются противопоказания..." через .lm-legal-line.
   ========================================================= */

/* ---------------------------------------------------------
   01. Реквизиты — убираем нижний пустой хвост контейнера
   --------------------------------------------------------- */

body.page-template-page-requisites .lm-requisites{
    padding-bottom: 0 !important;
}

/* Верхний отступ реквизитов оставляем, низ переводим в саму белую плашку */
@media (min-width: 992px){
    body.page-template-page-requisites .lm-requisites__panel{
        min-height: 748px !important;
        padding-bottom: 46px !important;
        box-sizing: border-box !important;
    }

    /* Подстраховка: последняя строка внутри белой плашки не создаёт лишний внешний хвост */
    body.page-template-page-requisites .lm-requisites__panel > *:last-child,
body.page-template-page-requisites .lm-requisites__grid > *:last-child,
body.page-template-page-requisites .lm-requisites__col--main > *:last-child,
body.page-template-page-requisites .lm-requisites__col--bank > *:last-child{
        margin-bottom: 0 !important;
    }
}

/* На мобильной не вытягиваем искусственно */
@media (max-width: 991px){
    body.page-template-page-requisites .lm-requisites{
        padding-bottom: 0 !important;
    }

    body.page-template-page-requisites .lm-requisites__panel{
        min-height: 0 !important;
        padding-bottom: 22px !important;
    }
}

/* ---------------------------------------------------------
   02. Единый стандартный зазор до юридической строки / футерной зоны
   --------------------------------------------------------- */

:root{
    --lm-footer-gap-desktop: 20px;
    --lm-footer-gap-mobile: 18px;
}

/* Главный стандарт: от последнего блока до полосы */
.lm-legal-line{
    margin-top: var(--lm-footer-gap-desktop) !important;
}

/* Убираем скачущие нижние отступы у основных контейнеров перед legal-line */
main.site-main,
.site-main,
#primary,
.content-area,
main.site-main > .container:last-child,
main.site-main > .lm-container:last-child,
main.site-main > .lm-single-layout:last-child,
main.site-main > .lm-page-content:last-child,
main.site-main > .lm-single-main:last-child,
main.site-main > .lm-requisites-page__container:last-child,
main.site-main > .lm-contacts-page:last-child,
main.site-main > .lm-reviews-page:last-child,
main.site-main > .lm-legal-page:last-child,
main.site-main > .license-page:last-child{
    margin-bottom: 0 !important;
}

/* Не даём main добавлять второй отступ снизу */
body.post-type-archive-uslugi main.site-main,
body.tax-service_category main.site-main,
body.single-uslugi main.site-main,
body.post-type-archive-preparations main.site-main,
body.tax-preparation_brand main.site-main,
body.single-preparations main.site-main,
body.post-type-archive-aktsii main.site-main,
body.single-aktsii main.site-main,
body.post-type-archive-news main.site-main,
body.single-news main.site-main,
body.post-type-archive-articles main.site-main,
body.single-articles main.site-main,
body.post-type-archive-specialists main.site-main,
body.single-specialists main.site-main,
body.post-type-archive-kabinety main.site-main,
body.single-kabinety main.site-main,
body.page-template-template-legal main.site-main,
body.page-template-page-contacts main.site-main,
body.page-template-page-reviews main.site-main,
body.page-template-page-requisites main.site-main,
body.page main.site-main{
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Карусель брендов и футер идут после legal-line без своих скачущих верхних отступов */
.lm-legal-line + .lm-footer-partners,
section.lm-footer-partners,
.lm-footer-partners{
    margin-top: 0 !important;
}

.lm-footer-partners + footer,
.lm-footer-partners + .site-footer,
.lm-footer{
    margin-top: 0 !important;
}

@media (max-width: 767px){
    .lm-legal-line{
        margin-top: var(--lm-footer-gap-mobile) !important;
    }

    main.site-main,
.site-main,
#primary,
.content-area{
        margin-bottom: 0 !important;
    }

    body.post-type-archive-uslugi main.site-main,
body.tax-service_category main.site-main,
body.single-uslugi main.site-main,
body.post-type-archive-preparations main.site-main,
body.tax-preparation_brand main.site-main,
body.single-preparations main.site-main,
body.post-type-archive-aktsii main.site-main,
body.single-aktsii main.site-main,
body.post-type-archive-news main.site-main,
body.single-news main.site-main,
body.post-type-archive-articles main.site-main,
body.single-articles main.site-main,
body.post-type-archive-specialists main.site-main,
body.single-specialists main.site-main,
body.post-type-archive-kabinety main.site-main,
body.single-kabinety main.site-main,
body.page-template-template-legal main.site-main,
body.page-template-page-contacts main.site-main,
body.page-template-page-reviews main.site-main,
body.page-template-page-requisites main.site-main,
body.page main.site-main{
        padding-bottom: 0 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — REQUISITES PANEL HEIGHT FINAL STEP 8
   Реквизиты: убираем лишний воздух снизу белой плашки
   и выравниваем её нижний край по левому меню.
   ========================================================= */

@media (min-width: 992px){
    body.page-template-page-requisites .lm-requisites__panel{
        min-height: 575px !important;
        padding-bottom: 24px !important;
        box-sizing: border-box !important;
    }

    body.page-template-page-requisites .lm-requisites__grid{
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    body.page-template-page-requisites .lm-requisites__col--main,
body.page-template-page-requisites .lm-requisites__col--bank{
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    body.page-template-page-requisites .lm-requisites__bank-qr-area,
body.page-template-page-requisites .lm-requisites__bank-qr-wrap{
        margin-bottom: 0 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — REQUISITES INVISIBLE LINE FINAL STEP 9
   Реквизиты: добавляем внутри белой плашки одну невидимую строку
   после последней строки "Медицинская лицензия", чтобы низ попал в левое меню.
   ========================================================= */

@media (min-width: 992px){
    body.page-template-page-requisites .lm-requisites__panel{
        min-height: 0 !important;
        padding-bottom: 24px !important;
    }

    body.page-template-page-requisites .lm-requisites__panel::after{
        content: "" !important;
        display: block !important;
        width: 100% !important;
        height: 22px !important;
        flex: 0 0 22px !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
}

@media (max-width: 991px){
    body.page-template-page-requisites .lm-requisites__panel::after{
        content: none !important;
        display: none !important;
    }
}

/* =========================================================
   ЛИДАМЕД — LEGAL LINE CHAMPAGNE FINAL STEP 10
   Полоса "Имеются противопоказания..." — убираем серость,
   переводим в мягкий champagne под текущий фон сайта.
   ========================================================= */

.lm-legal-line{
    background:
        linear-gradient(180deg, rgba(255,253,248,0.72) 0%, rgba(244,236,220,0.62) 48%, rgba(234,219,197,0.58) 100%) !important;
    border-top: 1px solid rgba(185, 155, 114, 0.22) !important;
    border-bottom: 1px solid rgba(185, 155, 114, 0.22) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        0 -6px 18px rgba(120, 92, 58, 0.035) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.lm-legal-line__inner{
    color: rgba(150, 125, 80, 0.24) !important;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.58) !important;
    filter: none !important;
    opacity: 1 !important;
}

/* На мобильной делаем чуть читаемее, но без серой грязи */
@media (max-width: 767px){
    .lm-legal-line{
        background:
            linear-gradient(180deg, rgba(255,253,248,0.78) 0%, rgba(244,236,220,0.66) 52%, rgba(234,219,197,0.60) 100%) !important;
        border-top-color: rgba(185, 155, 114, 0.20) !important;
        border-bottom-color: rgba(185, 155, 114, 0.20) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.70) !important;
    }

    .lm-legal-line__inner{
        color: rgba(150, 125, 80, 0.30) !important;
        text-shadow:
            0 1px 0 rgba(255,255,255,0.56) !important;
        filter: none !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE LEGAL LINE SHORT FINAL STEP 11
   Мобильная версия:
   - строку противопоказаний сокращаем до "Имеются противопоказания. 18+";
   - делаем адаптивный размер через clamp();
   - убираем лишнюю светлую полоску над строкой.
   ========================================================= */

@media (max-width: 767px){
    /* Убираем лишнюю тонкую светлую полосу над legal-line */
    .lm-legal-line{
        margin-top: 18px !important;
        padding: 0 !important;

        background:
            linear-gradient(180deg, rgba(255,253,248,0.78) 0%, rgba(244,236,220,0.66) 52%, rgba(234,219,197,0.60) 100%) !important;

        border-top: 0 !important;
        border-bottom: 1px solid rgba(185, 155, 114, 0.20) !important;

        box-shadow: none !important;
        outline: 0 !important;

        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .lm-legal-line::before,
.lm-legal-line::after{
        content: none !important;
        display: none !important;
    }

    /* На всякий случай убираем верхние линии у соседней футерной карусели */
    .lm-legal-line + .lm-footer-partners,
section.lm-footer-partners,
.lm-footer-partners{
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
        box-shadow: none !important;
    }

    /* Скрываем длинный текст, но оставляем короткий мобильный вариант */
    .lm-legal-line__inner{
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: none !important;
        min-height: 18px !important;
        margin: 0 !important;
        padding: 1px 0 !important;

        overflow: hidden !important;
        white-space: nowrap !important;

        font-size: 0 !important;
        line-height: 0 !important;
        letter-spacing: 0 !important;
        color: transparent !important;
        text-shadow: none !important;
        filter: none !important;
        transform: none !important;
        text-indent: 0 !important;
    }

    .lm-legal-line__inner::before{
        content: "ИМЕЮТСЯ ПРОТИВОПОКАЗАНИЯ. 18+" !important;

        display: block !important;
        width: 100% !important;
        max-width: 100vw !important;

        text-align: center !important;
        white-space: nowrap !important;

        font-size: clamp(10px, 3.15vw, 15px) !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        letter-spacing: clamp(0.02em, 0.35vw, 0.08em) !important;
        text-transform: uppercase !important;

        color: rgba(150, 125, 80, 0.34) !important;
        text-shadow: 0 1px 0 rgba(255,255,255,0.54) !important;
        opacity: 1 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE LEGAL LINE FULL WIDTH STEP 12
   Мобильная версия:
   - строка противопоказаний во всю ширину экрана;
   - текст крупнее и адаптивный;
   - убираем бежевую полосу над строкой.
   ========================================================= */

@media (max-width: 767px){
    /* Убираем зазор/бежевую полосу перед legal-line */
    main.site-main,
.site-main,
#primary,
.content-area{
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    main.site-main > *:last-child,
.site-main > *:last-child,
#primary > *:last-child,
.content-area > *:last-child{
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Сама полоса — во всю ширину viewport, без боковых ограничений контейнера */
    .lm-legal-line{
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding: 2px 0 !important;

        background:
            linear-gradient(180deg, rgba(255,253,248,0.80) 0%, rgba(244,236,220,0.70) 52%, rgba(234,219,197,0.64) 100%) !important;

        border-top: 0 !important;
        border-bottom: 1px solid rgba(185, 155, 114, 0.20) !important;

        box-shadow: none !important;
        outline: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;

        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .lm-legal-line::before,
.lm-legal-line::after{
        content: none !important;
        display: none !important;
    }

    /* Убираем верхние полосы/отступы у карусели брендов сразу после legal-line */
    .lm-legal-line + .lm-footer-partners,
.lm-legal-line + section.lm-footer-partners,
section.lm-footer-partners,
.lm-footer-partners{
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
        box-shadow: none !important;
    }

    .lm-footer-partners::before,
.lm-footer-partners::after,
section.lm-footer-partners::before,
section.lm-footer-partners::after{
        content: none !important;
        display: none !important;
    }

    /* Текст: короткий, крупнее, почти от края до края */
    .lm-legal-line__inner{
        position: relative !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;

        min-height: 22px !important;
        margin: 0 !important;
        padding: 0 4px !important;

        overflow: hidden !important;
        white-space: nowrap !important;

        font-size: 0 !important;
        line-height: 0 !important;
        letter-spacing: 0 !important;
        color: transparent !important;
        text-shadow: none !important;
        filter: none !important;
        transform: none !important;
        text-indent: 0 !important;
        box-sizing: border-box !important;
    }

    .lm-legal-line__inner::before{
        content: "ИМЕЮТСЯ ПРОТИВОПОКАЗАНИЯ. 18+" !important;

        display: block !important;
        width: 100% !important;
        max-width: none !important;

        text-align: center !important;
        white-space: nowrap !important;

        font-size: clamp(13px, 3.75vw, 17px) !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        letter-spacing: clamp(0.005em, 0.12vw, 0.035em) !important;
        text-transform: uppercase !important;

        color: rgba(150, 125, 80, 0.38) !important;
        text-shadow: 0 1px 0 rgba(255,255,255,0.56) !important;
        opacity: 1 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE LEGAL LINE WIDTH + GAP STEP 13
   Мобильная версия:
   - строка противопоказаний шире, с полями как у карточек;
   - сверху возвращаем единый отступ 18px до последнего блока;
   - на главной даём воздуху первой плашке футера "Контакты".
   ========================================================= */

@media (max-width: 767px){
    /* Полоса не во всю viewport-математику, а как карточки: с одинаковыми боковыми полями */
    .lm-legal-line{
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;

        margin-top: 18px !important;
        margin-bottom: 0 !important;
        margin-left: 14px !important;
        margin-right: 14px !important;

        padding: 2px 0 !important;

        border-top: 0 !important;
        border-bottom: 1px solid rgba(185, 155, 114, 0.20) !important;
        box-shadow: none !important;
        outline: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;

        background:
            linear-gradient(180deg, rgba(255,253,248,0.80) 0%, rgba(244,236,220,0.70) 52%, rgba(234,219,197,0.64) 100%) !important;

        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .lm-legal-line__inner{
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 24px !important;
        margin: 0 !important;
        padding: 0 2px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: hidden !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;

        font-size: 0 !important;
        line-height: 0 !important;
        letter-spacing: 0 !important;
        color: transparent !important;
        text-shadow: none !important;
        filter: none !important;
        transform: none !important;
        text-indent: 0 !important;
    }

    .lm-legal-line__inner::before{
        content: "ИМЕЮТСЯ ПРОТИВОПОКАЗАНИЯ. 18+" !important;

        display: block !important;
        width: 100% !important;
        max-width: 100% !important;

        text-align: center !important;
        white-space: nowrap !important;

        font-size: clamp(18px, 5.25vw, 23px) !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        letter-spacing: 0.005em !important;
        text-transform: uppercase !important;

        color: rgba(150, 125, 80, 0.38) !important;
        text-shadow: 0 1px 0 rgba(255,255,255,0.56) !important;
        opacity: 1 !important;
    }

    /* Футер после полосы не прилипает, но и не создаёт случайных дополнительных полос */
    .lm-legal-line + .lm-footer-partners,
.lm-legal-line + section.lm-footer-partners,
section.lm-footer-partners,
.lm-footer-partners{
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
        box-shadow: none !important;
    }

    /* Главная: первая мобильная плашка футера "Контакты" не держится за верх */
    body.home .lm-footer-mobile{
        padding-top: 24px !important;
    }

    body.home .lm-footer-mobile__section:first-child{
        padding-top: 20px !important;
        padding-bottom: 16px !important;
    }

    body.home .lm-footer-mobile__section:first-child .lm-footer-mobile__title,
body.home .lm-footer-mobile__section:first-child .lm-footer-mobile__summary{
        line-height: 1.35 !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE FINAL POLISH STEP 14
   1) Legal-line: фон во всю ширину, текст с полями.
   2) Главная: кабинеты — нижняя часть карточек в champagne.
   3) Главная: CTA-кнопки — убираем мобильную подложку/склейку.
   4) Мобильный бургер — лёгкий champagne вместо белого.
   ========================================================= */

@media (max-width: 767px){
    /* -----------------------------------------------------
       01. Строка противопоказаний:
       плашка во всю ширину, текст с нормальными полями
       ----------------------------------------------------- */

    .lm-legal-line{
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;

        margin-top: 18px !important;
        margin-bottom: 0 !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding: 2px 14px !important;

        background:
            linear-gradient(180deg, rgba(255,253,248,0.80) 0%, rgba(244,236,220,0.70) 52%, rgba(234,219,197,0.64) 100%) !important;

        border-top: 0 !important;
        border-bottom: 1px solid rgba(185, 155, 114, 0.20) !important;
        box-shadow: none !important;
        outline: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;

        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .lm-legal-line__inner{
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 24px !important;
        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: hidden !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;

        font-size: 0 !important;
        line-height: 0 !important;
        letter-spacing: 0 !important;
        color: transparent !important;
        text-shadow: none !important;
        filter: none !important;
        transform: none !important;
        text-indent: 0 !important;
    }

    .lm-legal-line__inner::before{
        content: "ИМЕЮТСЯ ПРОТИВОПОКАЗАНИЯ. 18+" !important;

        display: block !important;
        width: 100% !important;
        max-width: 100% !important;

        text-align: center !important;
        white-space: nowrap !important;

        font-size: clamp(18px, 5.25vw, 23px) !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        letter-spacing: 0.005em !important;
        text-transform: uppercase !important;

        color: rgba(150, 125, 80, 0.38) !important;
        text-shadow: 0 1px 0 rgba(255,255,255,0.56) !important;
        opacity: 1 !important;
    }

    /* -----------------------------------------------------
       02. Главная: кабинеты — нижняя часть карточек не белая
       ----------------------------------------------------- */

    body.home .lm-home-cabinets__title,
body.home .lm-home-cabinets-card__title,
body.home .home-cabinet-title,
body.home .home-clinic-card__title,
body.home .cabinet-card__title{
        background:
            linear-gradient(180deg, #fffdf8 0%, #f7f1e6 56%, #efe2cb 100%) !important;
        border-top: 1px solid rgba(194, 174, 136, 0.30) !important;
        color: #30332f !important;
    }

    body.home .lm-home-cabinets__card,
body.home .home-clinic-card,
body.home .cabinet-card{
        background:
            linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
        border: 1px solid rgba(194, 174, 136, 0.34) !important;
        box-shadow:
            0 14px 34px rgba(43,47,42,0.09),
            inset 0 1px 0 rgba(255,255,255,0.88) !important;
    }

    /* -----------------------------------------------------
       03. Главная: CTA-кнопки — убираем подложку/склейку
       ----------------------------------------------------- */

    body.home .lm-dual-buttons{
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        overflow: visible !important;
    }

    body.home .lm-home-cta .lm-dual-buttons,
body.home .lm-home-hero .lm-dual-buttons{
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        gap: 10px !important;
    }

    body.home .lm-dual-buttons a{
        width: 100% !important;
        margin: 0 !important;
        border-radius: 14px !important;
    }

    /* -----------------------------------------------------
       04. Мобильный бургер — лёгкий champagne вместо белого
       ----------------------------------------------------- */

    .lm-mobile-nav-shell{
        background: transparent !important;
    }

    .lm-mobile-trigger{
        background:
            linear-gradient(180deg, #ffffff 0%, #fbf7ef 52%, #f4ead9 100%) !important;
        border: 1px solid rgba(196, 174, 135, 0.54) !important;
        box-shadow:
            0 10px 24px rgba(75, 69, 56, 0.09),
            inset 0 1px 0 rgba(255,255,255,0.92) !important;
    }

    .lm-mobile-trigger__line{
        background: #6b5a47 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — HOME CABINETS + MOBILE CTA FINAL STEP 15
   1) Главная: нижняя часть карточек кабинетов — champagne на всех экранах.
   2) Мобильная главная: полностью убираем подложку под CTA-кнопками.
   ========================================================= */

/* ---------------------------------------------------------
   01. Главная — кабинеты: нижняя часть карточек в едином champagne
   --------------------------------------------------------- */

body.home .lm-home-cabinets__title,
body.home .lm-home-cabinets-card__title,
body.home .home-cabinet-title,
body.home .home-clinic-card__title,
body.home .cabinet-card__title{
    background:
        linear-gradient(180deg, #fffdf8 0%, #f7f1e6 56%, #efe2cb 100%) !important;
    border-top: 1px solid rgba(194, 174, 136, 0.30) !important;
    color: #30332f !important;
}

body.home .lm-home-cabinets__card,
body.home .home-clinic-card,
body.home .cabinet-card{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    border: 1px solid rgba(194, 174, 136, 0.34) !important;
    box-shadow:
        0 14px 34px rgba(43,47,42,0.09),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

/* ---------------------------------------------------------
   02. Мобильная главная — CTA-кнопки без общей подложки
   --------------------------------------------------------- */

@media (max-width: 767px){
    body.home .lm-home-cta,
body.home .lm-home-cta--service,
body.home .lm-home-cta .container,
body.home .lm-home-cta--service .container,
body.home .lm-home-cta__inner,
body.home .lm-home-cta--service .lm-home-cta__inner{
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.home .lm-home-cta__inner,
body.home .lm-home-cta--service .lm-home-cta__inner{
        padding: 0 !important;
    }

    body.home .lm-home-cta .lm-dual-buttons,
body.home .lm-home-cta--service .lm-dual-buttons,
body.home .lm-home-hero .lm-dual-buttons,
body.home .lm-dual-buttons{
        position: relative !important;

        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;

        padding: 0 !important;
        margin: 0 !important;

        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    body.home .lm-home-cta .lm-dual-buttons::before,
body.home .lm-home-cta .lm-dual-buttons::after,
body.home .lm-home-cta--service .lm-dual-buttons::before,
body.home .lm-home-cta--service .lm-dual-buttons::after,
body.home .lm-home-hero .lm-dual-buttons::before,
body.home .lm-home-hero .lm-dual-buttons::after,
body.home .lm-dual-buttons::before,
body.home .lm-dual-buttons::after{
        content: none !important;
        display: none !important;
    }

    body.home .lm-home-cta .lm-dual-buttons a,
body.home .lm-home-cta--service .lm-dual-buttons a,
body.home .lm-home-hero .lm-dual-buttons a,
body.home .lm-dual-buttons a{
        width: 100% !important;
        margin: 0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    body.home .lm-home-cta .lm-dual-buttons a + a,
body.home .lm-home-cta--service .lm-dual-buttons a + a,
body.home .lm-home-hero .lm-dual-buttons a + a,
body.home .lm-dual-buttons a + a{
        margin-top: 0 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE CTA BUTTONS UNSTICK FINAL STEP 16
   Главная / мобильная версия:
   окончательно разлепляем CTA-кнопки, убирая общий фон и
   принудительно переводя блок из flex-gap в обычные отдельные кнопки.
   ========================================================= */

@media (max-width: 767px){
    /* Контейнеры CTA полностью прозрачные */
    body.home .lm-home-cta,
body.home .lm-home-cta--service,
body.home .lm-home-cta .container,
body.home .lm-home-cta--service .container,
body.home .lm-home-cta__inner,
body.home .lm-home-cta--service .lm-home-cta__inner{
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.home .lm-home-cta__inner,
body.home .lm-home-cta--service .lm-home-cta__inner{
        padding: 0 !important;
    }

    /* Сам блок кнопок: не flex, а обычный блок — так gap/склейка больше не конфликтуют */
    body.home .lm-home-cta .lm-dual-buttons,
body.home .lm-home-cta--service .lm-dual-buttons,
body.home .lm-home-hero .lm-dual-buttons,
body.home .lm-dual-buttons{
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        padding: 0 !important;
        margin: 0 !important;

        background: transparent !important;
        background-image: none !important;

        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        overflow: visible !important;
    }

    body.home .lm-home-cta .lm-dual-buttons::before,
body.home .lm-home-cta .lm-dual-buttons::after,
body.home .lm-home-cta--service .lm-dual-buttons::before,
body.home .lm-home-cta--service .lm-dual-buttons::after,
body.home .lm-home-hero .lm-dual-buttons::before,
body.home .lm-home-hero .lm-dual-buttons::after,
body.home .lm-dual-buttons::before,
body.home .lm-dual-buttons::after{
        content: none !important;
        display: none !important;
    }

    /* Каждая кнопка — отдельная самостоятельная плашка */
    body.home .lm-home-cta .lm-dual-buttons > a,
body.home .lm-home-cta--service .lm-dual-buttons > a,
body.home .lm-home-hero .lm-dual-buttons > a,
body.home .lm-dual-buttons > a{
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: none !important;

        height: 50px !important;
        min-height: 50px !important;

        margin: 0 !important;
        padding: 0 18px !important;

        border-radius: 14px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Вот реальный разрыв между кнопками — не gap, а margin */
    body.home .lm-home-cta .lm-dual-buttons > a + a,
body.home .lm-home-cta--service .lm-dual-buttons > a + a,
body.home .lm-home-hero .lm-dual-buttons > a + a,
body.home .lm-dual-buttons > a + a{
        margin-top: 10px !important;
    }

    /* Если старые правила где-то скругляли только верх/низ — возвращаем полные углы */
    body.home .lm-home-cta .lm-dual-buttons > a:first-child,
body.home .lm-home-cta--service .lm-dual-buttons > a:first-child,
body.home .lm-home-hero .lm-dual-buttons > a:first-child,
body.home .lm-dual-buttons > a:first-child,
body.home .lm-home-cta .lm-dual-buttons > a:last-child,
body.home .lm-home-cta--service .lm-dual-buttons > a:last-child,
body.home .lm-home-hero .lm-dual-buttons > a:last-child,
body.home .lm-dual-buttons > a:last-child{
        border-radius: 14px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE CTA + LEGAL PLUS HARD FIX STEP 17
   1) Главная / мобильная: разлепляем CTA-кнопки уже по самим ссылкам.
   2) Мобильная legal-line: гарантируем видимость "18+" целиком.
   ========================================================= */

@media (max-width: 767px){
    /* -----------------------------------------------------
       01. Главная — CTA-кнопки: убираем группу и делаем 2 отдельные кнопки
       Фактическая разметка:
       section.lm-home-cta > .container > .lm-home-cta__inner > .lm-dual-buttons > a
       ----------------------------------------------------- */

    body.home section.lm-home-cta,
body.home section.lm-home-cta--service,
body.home section.lm-home-hero,
body.home section.lm-home-cta > .container,
body.home section.lm-home-cta--service > .container,
body.home section.lm-home-hero > .container,
body.home section.lm-home-cta .lm-home-cta__inner,
body.home section.lm-home-cta--service .lm-home-cta__inner,
body.home section.lm-home-hero .lm-home-cta__inner{
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.home section.lm-home-cta .lm-home-cta__inner,
body.home section.lm-home-cta--service .lm-home-cta__inner,
body.home section.lm-home-hero .lm-home-cta__inner{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons,
body.home section.lm-home-cta--service .lm-dual-buttons,
body.home section.lm-home-hero .lm-dual-buttons,
body.home div.lm-dual-buttons{
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-flow: row !important;
        grid-auto-rows: minmax(50px, auto) !important;
        row-gap: 10px !important;
        column-gap: 0 !important;
        gap: 10px 0 !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        background-image: none !important;

        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        overflow: visible !important;
        isolation: isolate !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons::before,
body.home section.lm-home-cta .lm-dual-buttons::after,
body.home section.lm-home-cta--service .lm-dual-buttons::before,
body.home section.lm-home-cta--service .lm-dual-buttons::after,
body.home section.lm-home-hero .lm-dual-buttons::before,
body.home section.lm-home-hero .lm-dual-buttons::after,
body.home div.lm-dual-buttons::before,
body.home div.lm-dual-buttons::after{
        content: none !important;
        display: none !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a,
body.home section.lm-home-cta--service .lm-dual-buttons > a,
body.home section.lm-home-hero .lm-dual-buttons > a,
body.home div.lm-dual-buttons > a{
        grid-column: 1 / -1 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: 50px !important;
        min-height: 50px !important;

        margin: 0 !important;
        padding: 0 18px !important;

        flex: none !important;
        float: none !important;
        clear: both !important;

        border-radius: 14px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;

        position: relative !important;
        z-index: 1 !important;
    }

    /* Подстраховка: если grid-gap по какой-то причине перебивается, разрыв даём ещё и margin */
    body.home section.lm-home-cta .lm-dual-buttons > a:not(:last-child),
body.home section.lm-home-cta--service .lm-dual-buttons > a:not(:last-child),
body.home section.lm-home-hero .lm-dual-buttons > a:not(:last-child),
body.home div.lm-dual-buttons > a:not(:last-child){
        margin-bottom: 10px !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a + a,
body.home section.lm-home-cta--service .lm-dual-buttons > a + a,
body.home section.lm-home-hero .lm-dual-buttons > a + a,
body.home div.lm-dual-buttons > a + a{
        margin-top: 0 !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a:first-child,
body.home section.lm-home-cta--service .lm-dual-buttons > a:first-child,
body.home section.lm-home-hero .lm-dual-buttons > a:first-child,
body.home div.lm-dual-buttons > a:first-child,
body.home section.lm-home-cta .lm-dual-buttons > a:last-child,
body.home section.lm-home-cta--service .lm-dual-buttons > a:last-child,
body.home section.lm-home-hero .lm-dual-buttons > a:last-child,
body.home div.lm-dual-buttons > a:last-child{
        border-radius: 14px !important;
    }

    /* -----------------------------------------------------
       02. Мобильная строка противопоказаний — "18+" целиком
       ----------------------------------------------------- */

    .lm-legal-line{
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        margin-top: 18px !important;
        margin-bottom: 0 !important;

        padding: 2px 0 !important;

        background:
            linear-gradient(180deg, rgba(255,253,248,0.80) 0%, rgba(244,236,220,0.70) 52%, rgba(234,219,197,0.64) 100%) !important;

        border-top: 0 !important;
        border-bottom: 1px solid rgba(185, 155, 114, 0.20) !important;
        box-shadow: none !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .lm-legal-line__inner{
        position: relative !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 24px !important;
        margin: 0 !important;
        padding: 0 8px !important;

        overflow: visible !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;

        font-size: 0 !important;
        line-height: 0 !important;
        letter-spacing: 0 !important;
        color: transparent !important;
        text-shadow: none !important;
        filter: none !important;
        transform: none !important;
        text-indent: 0 !important;
    }

    .lm-legal-line__inner::before{
        content: "ИМЕЮТСЯ ПРОТИВОПОКАЗАНИЯ. 18+\00a0" !important;

        display: block !important;
        width: auto !important;
        max-width: calc(100vw - 16px) !important;

        text-align: center !important;
        white-space: nowrap !important;

        font-size: clamp(16px, 4.62vw, 21px) !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        text-transform: uppercase !important;

        color: rgba(150, 125, 80, 0.38) !important;
        text-shadow: 0 1px 0 rgba(255,255,255,0.56) !important;
        opacity: 1 !important;

        transform: scaleX(0.97) !important;
        transform-origin: center center !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE CTA SHADOW KILL + LEGAL WIDTH STEP 18
   Главная / мобильная:
   - кнопки уже раздельные, теперь убираем именно остаточную "подложку":
     тени, hover-тени, блики и псевдоэлементы самих ссылок.
   - legal-line возвращаем по ширине контентных границ, но сохраняем видимый 18+.
   ========================================================= */

@media (max-width: 767px){
    /* -----------------------------------------------------
       01. Home CTA service + Home CTA main:
       контейнеры абсолютно прозрачные
       ----------------------------------------------------- */

    body.home section.lm-home-cta,
body.home section.lm-home-cta.lm-home-cta--service,
body.home section.lm-home-cta > .container,
body.home section.lm-home-cta.lm-home-cta--service > .container,
body.home section.lm-home-cta .lm-home-cta__inner,
body.home section.lm-home-cta.lm-home-cta--service .lm-home-cta__inner,
body.home section.lm-home-cta .lm-dual-buttons,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons{
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
        filter: none !important;
        outline: 0 !important;
    }

    body.home section.lm-home-cta .lm-home-cta__inner,
body.home section.lm-home-cta.lm-home-cta--service .lm-home-cta__inner{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons{
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
        border-radius: 0 !important;
        isolation: isolate !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons::before,
body.home section.lm-home-cta .lm-dual-buttons::after,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons::before,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons::after{
        content: none !important;
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        filter: none !important;
    }

    /* -----------------------------------------------------
       02. Самое важное: убираем остаточную "полосу" не с контейнера,
       а с самих кнопок: box-shadow/hover-shadow/блики/псевдоэлементы.
       ----------------------------------------------------- */

    body.home section.lm-home-cta .lm-dual-buttons > a,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a,
body.home section.lm-home-cta .lm-dual-buttons > a.lm-btn-primary,
body.home section.lm-home-cta .lm-dual-buttons > a.lm-btn-secondary,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a.lm-btn-primary,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a.lm-btn-secondary{
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: 50px !important;
        min-height: 50px !important;

        margin: 0 !important;
        padding: 0 18px !important;

        float: none !important;
        clear: both !important;
        flex: none !important;

        border-radius: 14px !important;
        background-clip: padding-box !important;
        box-sizing: border-box !important;

        overflow: hidden !important;
        position: relative !important;

        box-shadow: none !important;
        filter: none !important;
        outline: 0 !important;

        transform: none !important;
        transition:
            background-color .22s ease,
            border-color .22s ease,
            color .22s ease !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a::before,
body.home section.lm-home-cta .lm-dual-buttons > a::after,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a::before,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a::after{
        content: none !important;
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        filter: none !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a:hover,
body.home section.lm-home-cta .lm-dual-buttons > a:focus,
body.home section.lm-home-cta .lm-dual-buttons > a:active,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a:hover,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a:focus,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a:active{
        box-shadow: none !important;
        filter: none !important;
        outline: 0 !important;
        transform: none !important;
    }

    /* Разрыв задаём только между самими отдельными кнопками */
    body.home section.lm-home-cta .lm-dual-buttons > a + a,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a + a{
        margin-top: 10px !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a:first-child,
body.home section.lm-home-cta .lm-dual-buttons > a:last-child,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a:first-child,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a:last-child{
        border-radius: 14px !important;
    }

    /* -----------------------------------------------------
       03. Legal-line: обратно по ширине контентных границ,
       не во весь экран телефона, но 18+ помещается полностью.
       ----------------------------------------------------- */

    .lm-legal-line{
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;

        margin-top: 18px !important;
        margin-bottom: 0 !important;
        margin-left: 14px !important;
        margin-right: 14px !important;

        padding: 2px 0 !important;

        background:
            linear-gradient(180deg, rgba(255,253,248,0.80) 0%, rgba(244,236,220,0.70) 52%, rgba(234,219,197,0.64) 100%) !important;

        border-top: 0 !important;
        border-bottom: 1px solid rgba(185, 155, 114, 0.20) !important;
        box-shadow: none !important;
        outline: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .lm-legal-line__inner{
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 24px !important;
        margin: 0 !important;
        padding: 0 2px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: visible !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;

        font-size: 0 !important;
        line-height: 0 !important;
        letter-spacing: 0 !important;
        color: transparent !important;
        text-shadow: none !important;
        filter: none !important;
        transform: none !important;
        text-indent: 0 !important;
    }

    .lm-legal-line__inner::before{
        content: "ИМЕЮТСЯ ПРОТИВОПОКАЗАНИЯ. 18+\00a0" !important;

        display: block !important;
        width: auto !important;
        max-width: 100% !important;

        text-align: center !important;
        white-space: nowrap !important;

        font-size: clamp(16px, 4.55vw, 21px) !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        text-transform: uppercase !important;

        color: rgba(150, 125, 80, 0.38) !important;
        text-shadow: 0 1px 0 rgba(255,255,255,0.56) !important;
        opacity: 1 !important;

        transform: scaleX(0.95) !important;
        transform-origin: center center !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE LEGAL EDGE + CTA GAP FINAL STEP 19
   Финальная мобильная правка:
   - champagne-подложка противопоказаний от края до края экрана;
   - текст внутри остаётся в контентных полях и 18+ виден полностью;
   - CTA-кнопки на главной окончательно разлеплены зазором.
   ========================================================= */

@media (max-width: 767px){
    /* -----------------------------------------------------
       01. Полоса противопоказаний:
       фон во всю ширину экрана, текст — в рабочих полях сайта
       ----------------------------------------------------- */

    .lm-legal-line{
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;

        margin-top: 18px !important;
        margin-bottom: 0 !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding: 2px 14px !important;

        background:
            linear-gradient(180deg, rgba(255,253,248,0.80) 0%, rgba(244,236,220,0.70) 52%, rgba(234,219,197,0.64) 100%) !important;

        border-top: 0 !important;
        border-bottom: 1px solid rgba(185, 155, 114, 0.20) !important;
        box-shadow: none !important;
        outline: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;

        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .lm-legal-line__inner{
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 24px !important;
        margin: 0 auto !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: visible !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;

        font-size: 0 !important;
        line-height: 0 !important;
        letter-spacing: 0 !important;
        color: transparent !important;
        text-shadow: none !important;
        filter: none !important;
        transform: none !important;
        text-indent: 0 !important;
    }

    .lm-legal-line__inner::before{
        content: "ИМЕЮТСЯ ПРОТИВОПОКАЗАНИЯ. 18+\00a0" !important;

        display: block !important;
        width: auto !important;
        max-width: 100% !important;

        text-align: center !important;
        white-space: nowrap !important;

        font-size: clamp(15px, 4.35vw, 20px) !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        text-transform: uppercase !important;

        color: rgba(150, 125, 80, 0.38) !important;
        text-shadow: 0 1px 0 rgba(255,255,255,0.56) !important;
        opacity: 1 !important;

        transform: scaleX(0.96) !important;
        transform-origin: center center !important;
    }

    /* -----------------------------------------------------
       02. Главная: CTA-кнопки — даём реальный воздух между кнопками
       ----------------------------------------------------- */

    body.home section.lm-home-cta .lm-dual-buttons,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons{
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;

        gap: 12px !important;
        row-gap: 12px !important;
        column-gap: 0 !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a{
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;

        height: 50px !important;
        min-height: 50px !important;

        margin: 0 !important;
        padding: 0 18px !important;

        border-radius: 14px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;

        box-shadow: none !important;
        filter: none !important;
        transform: none !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a + a,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a + a{
        margin-top: 0 !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a:first-child,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a:first-child{
        margin-bottom: 0 !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a:first-child,
body.home section.lm-home-cta .lm-dual-buttons > a:last-child,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a:first-child,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a:last-child{
        border-radius: 14px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE LEGAL TEXT WIDE + CTA HOVER CLEAN STEP 20
   Финальный дожим:
   - legal-line: подложка от края до края, текст визуально шире по полям;
   - home CTA: убираем остаточный hover-фон/тени у второго CTA-блока.
   ========================================================= */

@media (max-width: 767px){
    /* -----------------------------------------------------
       01. Legal-line: фон во всю ширину, текст шире внутри полей
       ----------------------------------------------------- */

    .lm-legal-line{
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;

        margin-top: 18px !important;
        margin-bottom: 0 !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding: 2px 14px !important;

        background:
            linear-gradient(180deg, rgba(255,253,248,0.80) 0%, rgba(244,236,220,0.70) 52%, rgba(234,219,197,0.64) 100%) !important;

        border-top: 0 !important;
        border-bottom: 1px solid rgba(185, 155, 114, 0.20) !important;
        box-shadow: none !important;
        outline: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;

        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .lm-legal-line__inner{
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 25px !important;
        margin: 0 auto !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: visible !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;

        font-size: 0 !important;
        line-height: 0 !important;
        letter-spacing: 0 !important;
        color: transparent !important;
        text-shadow: none !important;
        filter: none !important;
        transform: none !important;
        text-indent: 0 !important;
    }

    .lm-legal-line__inner::before{
        content: "ИМЕЮТСЯ ПРОТИВОПОКАЗАНИЯ. 18+\00a0" !important;

        display: block !important;
        width: auto !important;
        max-width: calc(100vw - 28px) !important;

        text-align: center !important;
        white-space: nowrap !important;

        font-size: clamp(18px, 5.05vw, 22px) !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        text-transform: uppercase !important;

        color: rgba(150, 125, 80, 0.38) !important;
        text-shadow: 0 1px 0 rgba(255,255,255,0.56) !important;
        opacity: 1 !important;

        transform: scaleX(1.015) !important;
        transform-origin: center center !important;
    }

    /* -----------------------------------------------------
       02. Home CTA: добиваем остаточный hover-фон/подложку
       ----------------------------------------------------- */

    body.home section.lm-home-cta,
body.home section.lm-home-cta:hover,
body.home section.lm-home-cta:focus-within,
body.home section.lm-home-cta.lm-home-cta--service,
body.home section.lm-home-cta.lm-home-cta--service:hover,
body.home section.lm-home-cta.lm-home-cta--service:focus-within,
body.home section.lm-home-cta > .container,
body.home section.lm-home-cta > .container:hover,
body.home section.lm-home-cta.lm-home-cta--service > .container,
body.home section.lm-home-cta.lm-home-cta--service > .container:hover,
body.home section.lm-home-cta .lm-home-cta__inner,
body.home section.lm-home-cta .lm-home-cta__inner:hover,
body.home section.lm-home-cta.lm-home-cta--service .lm-home-cta__inner,
body.home section.lm-home-cta.lm-home-cta--service .lm-home-cta__inner:hover,
body.home section.lm-home-cta .lm-dual-buttons,
body.home section.lm-home-cta .lm-dual-buttons:hover,
body.home section.lm-home-cta .lm-dual-buttons:focus-within,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons:hover,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons:focus-within{
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
        filter: none !important;
        outline: 0 !important;
    }

    body.home section.lm-home-cta::before,
body.home section.lm-home-cta::after,
body.home section.lm-home-cta > .container::before,
body.home section.lm-home-cta > .container::after,
body.home section.lm-home-cta .lm-home-cta__inner::before,
body.home section.lm-home-cta .lm-home-cta__inner::after,
body.home section.lm-home-cta .lm-dual-buttons::before,
body.home section.lm-home-cta .lm-dual-buttons::after,
body.home section.lm-home-cta.lm-home-cta--service::before,
body.home section.lm-home-cta.lm-home-cta--service::after,
body.home section.lm-home-cta.lm-home-cta--service > .container::before,
body.home section.lm-home-cta.lm-home-cta--service > .container::after,
body.home section.lm-home-cta.lm-home-cta--service .lm-home-cta__inner::before,
body.home section.lm-home-cta.lm-home-cta--service .lm-home-cta__inner::after,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons::before,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons::after{
        content: none !important;
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
        filter: none !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons{
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 12px !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        border-radius: 0 !important;
        overflow: visible !important;
        isolation: auto !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a,
body.home section.lm-home-cta .lm-dual-buttons > a:hover,
body.home section.lm-home-cta .lm-dual-buttons > a:focus,
body.home section.lm-home-cta .lm-dual-buttons > a:active,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a:hover,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a:focus,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a:active{
        margin: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        filter: none !important;
        outline: 0 !important;
    }

    body.home section.lm-home-cta .lm-dual-buttons > a + a,
body.home section.lm-home-cta.lm-home-cta--service .lm-dual-buttons > a + a{
        margin-top: 0 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE TAXONOMY CARDS STACK STEP 21
   Мобильная версия подкатегорий:
   - Услуги: taxonomy service_category, карточки услуг с ценовой плашкой;
   - Препараты: taxonomy preparation_brand, карточки препаратов с ценовой плашкой.
   Архивы /uslugi/ и /preparations/ не трогаем.
   Схема карточки на мобилке:
   фото сверху → название/описание → цена/актуальность снизу.
   ========================================================= */

@media (max-width: 767px){
    /* -----------------------------------------------------
       01. Общая карточка в подкатегориях услуг и препаратов
       ----------------------------------------------------- */

    body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card{
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;

        width: 100% !important;
        min-height: 0 !important;

        padding: 12px !important;
        border-radius: 22px !important;

        overflow: hidden !important;
    }

    /* -----------------------------------------------------
       02. Препараты: внутренняя левая часть была row,
       переводим её в column, чтобы фото стало сверху
       ----------------------------------------------------- */

    body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card__left{
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;

        width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }

    /* -----------------------------------------------------
       03. Фото сверху — крупно, во всю ширину карточки
       ----------------------------------------------------- */

    body.tax-service_category .lm-taxonomy-services .lm-service-list-card .lm-linked-card__image-wrap,
body.tax-service_category .lm-taxonomy-services .lm-service-list-card .lm-linked-card__image--empty,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card .lm-linked-card__image-wrap,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card .lm-linked-card__image--empty{
        order: 1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        flex: 0 0 auto !important;
        align-self: stretch !important;

        aspect-ratio: 16 / 10 !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;

        border-radius: 18px !important;
        overflow: hidden !important;

        background: #fffdf8 !important;
    }

    body.tax-service_category .lm-taxonomy-services .lm-service-list-card .lm-linked-card__image,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card .lm-linked-card__image{
        display: block !important;

        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: center center !important;
    }

    /* -----------------------------------------------------
       04. Текст под фото — без узкой правой колонки
       ----------------------------------------------------- */

    body.tax-service_category .lm-taxonomy-services .lm-service-list-card .lm-linked-card__body,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card .lm-linked-card__body{
        order: 2 !important;

        width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;

        padding: 0 2px !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;

        text-align: left !important;
    }

    body.tax-service_category .lm-taxonomy-services .lm-service-list-card .lm-linked-card__title,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card .lm-linked-card__title{
        margin: 0 0 7px !important;

        font-size: 20px !important;
        line-height: 1.18 !important;
        font-weight: 700 !important;

        color: #252826 !important;

        overflow-wrap: anywhere !important;
        hyphens: auto !important;
    }

    body.tax-service_category .lm-taxonomy-services .lm-service-list-card .lm-linked-card__text,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card .lm-linked-card__text{
        margin: 0 !important;

        font-size: 14px !important;
        line-height: 1.45 !important;

        color: #5d5a53 !important;

        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;

        overflow-wrap: anywhere !important;
        hyphens: auto !important;
    }

    /* -----------------------------------------------------
       05. Цена / актуальная цена — отдельной плашкой снизу
       ----------------------------------------------------- */

    body.tax-service_category .lm-taxonomy-services .lm-service-list-card__side,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card__side,
body.tax-preparation_brand .lm-taxonomy-services .lm-service-list-card__side{
        order: 3 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        flex: 0 0 auto !important;
        align-self: stretch !important;

        min-height: 0 !important;

        margin: 0 !important;
        padding: 12px 14px !important;

        border-radius: 18px !important;
        text-align: center !important;
    }

    body.tax-service_category .lm-taxonomy-services .lm-service-list-card__price,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card__price,
body.tax-preparation_brand .lm-taxonomy-services .lm-service-list-card__price{
        display: flex !important;
        align-items: baseline !important;
        justify-content: center !important;
        gap: 7px !important;

        width: 100% !important;

        white-space: nowrap !important;
    }

    body.tax-service_category .lm-taxonomy-services .lm-service-list-card__price span,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card__price span,
body.tax-preparation_brand .lm-taxonomy-services .lm-service-list-card__price span{
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    body.tax-service_category .lm-taxonomy-services .lm-service-list-card__price strong,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card__price strong,
body.tax-preparation_brand .lm-taxonomy-services .lm-service-list-card__price strong{
        font-size: 22px !important;
        line-height: 1.05 !important;
    }

    body.tax-service_category .lm-taxonomy-services .lm-service-list-card__divider,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card__divider,
body.tax-preparation_brand .lm-taxonomy-services .lm-service-list-card__divider{
        margin: 9px 0 8px !important;
    }

    body.tax-service_category .lm-taxonomy-services .lm-service-list-card__status,
body.tax-preparation_brand .lm-taxonomy-services .lm-brand-prep-card__status,
body.tax-preparation_brand .lm-taxonomy-services .lm-service-list-card__status{
        font-size: 11px !important;
        line-height: 1.15 !important;
        letter-spacing: 0.07em !important;

        white-space: normal !important;
        text-align: center !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE TAXONOMY CARDS FINAL STEP 22
   Мобильная версия подкатегорий услуг и препаратов:
   фото сверху → цена → название.
   Анонсы в этих карточках скрываем.
   Архивы /uslugi/ и /preparations/ не трогаем.
   ========================================================= */

@media (max-width: 767px){
    /* -----------------------------------------------------
       01. Общая карточка подкатегории услуг и бренда препаратов
       ----------------------------------------------------- */

    body.tax-service_category .lm-linked-card.lm-service-list-card,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card,
body.tax-preparation_brand .lm-brand-prep-card{
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;

        width: 100% !important;
        min-height: 0 !important;

        padding: 12px !important;
        border-radius: 22px !important;

        overflow: hidden !important;
    }

    /* У препаратов левая внутренняя обёртка мешала переставить цену перед названием.
       display: contents отдаёт картинку и текст в общий поток карточки. */
    body.tax-preparation_brand .lm-brand-prep-card__left{
        display: contents !important;
    }

    /* -----------------------------------------------------
       02. Фото сверху
       ----------------------------------------------------- */

    body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap,
body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image--empty,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image--empty,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image-wrap,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image--empty{
        order: 1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        flex: 0 0 auto !important;
        align-self: stretch !important;

        aspect-ratio: 16 / 10 !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;

        border-radius: 18px !important;
        overflow: hidden !important;

        background: #fffdf8 !important;
    }

    body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image,
body.tax-service_category .lm-linked-card.lm-service-list-card img,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card img,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image,
body.tax-preparation_brand .lm-brand-prep-card img{
        display: block !important;

        width: 100% !important;
        height: 100% !important;

        object-position: center center !important;
    }

    /* Услуги — фото процедур красиво заполняют карточку */
    body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image,
body.tax-service_category .lm-linked-card.lm-service-list-card img{
        object-fit: cover !important;
    }

    /* Препараты — упаковки не обрезаем */
    body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card img,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image,
body.tax-preparation_brand .lm-brand-prep-card img{
        object-fit: contain !important;
        padding: 10px !important;
        background: #fffdf8 !important;
        box-sizing: border-box !important;
    }

    /* -----------------------------------------------------
       03. Цена сразу после фото
       ----------------------------------------------------- */

    body.tax-service_category .lm-service-list-card__side,
body.tax-preparation_brand .lm-brand-prep-card__side,
body.tax-preparation_brand .lm-service-list-card__side{
        order: 2 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        flex: 0 0 auto !important;
        align-self: stretch !important;

        min-height: 0 !important;

        margin: 0 !important;
        padding: 12px 14px !important;

        border-radius: 18px !important;
        text-align: center !important;
    }

    body.tax-service_category .lm-service-list-card__price,
body.tax-preparation_brand .lm-brand-prep-card__price,
body.tax-preparation_brand .lm-service-list-card__price{
        display: flex !important;
        align-items: baseline !important;
        justify-content: center !important;
        gap: 7px !important;

        width: 100% !important;

        white-space: nowrap !important;
    }

    body.tax-service_category .lm-service-list-card__price span,
body.tax-preparation_brand .lm-brand-prep-card__price span,
body.tax-preparation_brand .lm-service-list-card__price span{
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    body.tax-service_category .lm-service-list-card__price strong,
body.tax-preparation_brand .lm-brand-prep-card__price strong,
body.tax-preparation_brand .lm-service-list-card__price strong{
        font-size: 22px !important;
        line-height: 1.05 !important;
    }

    body.tax-service_category .lm-service-list-card__divider,
body.tax-preparation_brand .lm-brand-prep-card__divider,
body.tax-preparation_brand .lm-service-list-card__divider{
        margin: 9px 0 8px !important;
    }

    body.tax-service_category .lm-service-list-card__status,
body.tax-preparation_brand .lm-brand-prep-card__status,
body.tax-preparation_brand .lm-service-list-card__status{
        font-size: 11px !important;
        line-height: 1.15 !important;
        letter-spacing: 0.07em !important;

        white-space: normal !important;
        text-align: center !important;
    }

    /* -----------------------------------------------------
       04. Название под ценовой плашкой
       ----------------------------------------------------- */

    body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__body,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__body,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__body{
        order: 3 !important;

        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        flex: 0 0 auto !important;

        margin: 0 !important;
        padding: 0 4px 2px !important;

        text-align: center !important;
        position: static !important;
        transform: none !important;
    }

    body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__title,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__title,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__title{
        display: -webkit-box !important;
        visibility: visible !important;
        opacity: 1 !important;

        margin: 0 !important;

        font-size: 17px !important;
        line-height: 1.22 !important;
        font-weight: 700 !important;

        color: #252826 !important;
        text-align: center !important;

        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;

        overflow-wrap: anywhere !important;
        hyphens: auto !important;
    }

    /* -----------------------------------------------------
       05. Анонсы в этих мобильных карточках скрываем
       ----------------------------------------------------- */

    body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__text,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__text,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__text{
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;

        height: 0 !important;
        max-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE SERVICE TAXONOMY TITLE FIX STEP 23
   Мобильная версия подкатегорий услуг:
   возвращаем название услуги под ценовой плашкой.
   Препараты не трогаем.
   ========================================================= */

@media (max-width: 767px){
    /* Карточка услуги: гарантируем порядок фото → цена → название */
    body.tax-service_category .lm-service-list-card{
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    body.tax-service_category .lm-service-list-card .lm-linked-card__image-wrap,
body.tax-service_category .lm-service-list-card .lm-linked-card__image--empty{
        order: 1 !important;
    }

    body.tax-service_category .lm-service-list-card .lm-service-list-card__side{
        order: 2 !important;
    }

    /* Текстовая зона после цены */
    body.tax-service_category .lm-service-list-card .lm-linked-card__body,
body.tax-service_category .lm-service-list-card .lm-service-list-card__body{
        order: 3 !important;

        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: auto !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 4px 2px !important;

        text-align: center !important;
        overflow: visible !important;

        position: static !important;
        transform: none !important;
    }

    /* Название услуги: добавлены реальные варианты классов, которые могли отличаться от linked-card__title */
    body.tax-service_category .lm-service-list-card .lm-linked-card__title,
body.tax-service_category .lm-service-list-card .lm-service-list-card__title,
body.tax-service_category .lm-service-list-card .lm-card__title,
body.tax-service_category .lm-service-list-card .lm-card-title,
body.tax-service_category .lm-service-list-card h2,
body.tax-service_category .lm-service-list-card h3,
body.tax-service_category .lm-service-list-card h4{
        display: -webkit-box !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 17px !important;
        line-height: 1.22 !important;
        font-weight: 700 !important;

        color: #252826 !important;
        text-align: center !important;
        text-decoration: none !important;

        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;

        overflow: hidden !important;
        overflow-wrap: anywhere !important;
        hyphens: auto !important;

        position: static !important;
        transform: none !important;
    }

    /* Если название является ссылкой внутри h2/h3 — тоже показываем и красим */
    body.tax-service_category .lm-service-list-card .lm-linked-card__title a,
body.tax-service_category .lm-service-list-card .lm-service-list-card__title a,
body.tax-service_category .lm-service-list-card h2 a,
body.tax-service_category .lm-service-list-card h3 a,
body.tax-service_category .lm-service-list-card h4 a{
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;

        color: #252826 !important;
        text-decoration: none !important;
    }

    /* Анонс по-прежнему скрыт */
    body.tax-service_category .lm-service-list-card .lm-linked-card__text,
body.tax-service_category .lm-service-list-card .lm-service-list-card__text,
body.tax-service_category .lm-service-list-card .lm-card__text,
body.tax-service_category .lm-service-list-card .lm-card-text,
body.tax-service_category .lm-service-list-card p:not(.lm-service-list-card__status){
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;

        height: 0 !important;
        max-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE SERVICE TAXONOMY TITLE FIX STEP 24
   Подкатегории услуг / мобильная версия:
   у карточки услуг была внутренняя обёртка .lm-service-list-card__left,
   из-за неё название не попадало под ценовую плашку.
   Делаем её "прозрачной" для потока: фото → цена → название.
   ========================================================= */

@media (max-width: 767px){
    /* Ключевая правка: внутренняя левая обёртка услуг больше не держит фото+текст вместе */
    body.tax-service_category .lm-service-list-card__left,
body.tax-service_category .lm-linked-card.lm-service-list-card .lm-service-list-card__left{
        display: contents !important;
    }

    body.tax-service_category .lm-linked-card.lm-service-list-card,
body.tax-service_category .lm-service-list-card{
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    /* 1. Фото */
    body.tax-service_category .lm-service-list-card .lm-linked-card__image-wrap,
body.tax-service_category .lm-service-list-card .lm-linked-card__image--empty{
        order: 1 !important;
    }

    /* 2. Цена */
    body.tax-service_category .lm-service-list-card .lm-service-list-card__side{
        order: 2 !important;
    }

    /* 3. Название */
    body.tax-service_category .lm-service-list-card .lm-linked-card__body,
body.tax-service_category .lm-service-list-card .lm-service-list-card__body{
        order: 3 !important;

        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: auto !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 4px 2px !important;

        text-align: center !important;
        overflow: visible !important;

        position: static !important;
        transform: none !important;
    }

    body.tax-service_category .lm-service-list-card .lm-linked-card__title,
body.tax-service_category .lm-service-list-card .lm-service-list-card__title,
body.tax-service_category .lm-service-list-card .lm-card__title,
body.tax-service_category .lm-service-list-card .lm-card-title,
body.tax-service_category .lm-service-list-card h2,
body.tax-service_category .lm-service-list-card h3,
body.tax-service_category .lm-service-list-card h4{
        display: -webkit-box !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 17px !important;
        line-height: 1.22 !important;
        font-weight: 700 !important;

        color: #252826 !important;
        text-align: center !important;
        text-decoration: none !important;

        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;

        overflow: hidden !important;
        overflow-wrap: anywhere !important;
        hyphens: auto !important;

        position: static !important;
        transform: none !important;
    }

    body.tax-service_category .lm-service-list-card .lm-linked-card__title a,
body.tax-service_category .lm-service-list-card .lm-service-list-card__title a,
body.tax-service_category .lm-service-list-card h2 a,
body.tax-service_category .lm-service-list-card h3 a,
body.tax-service_category .lm-service-list-card h4 a{
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;

        color: #252826 !important;
        text-decoration: none !important;
    }

    /* Анонс скрываем точечно, без общего p:not(...), чтобы случайно не прибить название */
    body.tax-service_category .lm-service-list-card .lm-linked-card__text,
body.tax-service_category .lm-service-list-card .lm-service-list-card__text,
body.tax-service_category .lm-service-list-card .lm-card__text,
body.tax-service_category .lm-service-list-card .lm-card-text,
body.tax-service_category .lm-service-list-card .entry-summary,
body.tax-service_category .lm-service-list-card .excerpt,
body.tax-service_category .lm-service-list-card .post-excerpt{
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;

        height: 0 !important;
        max-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MOBILE PREPARATION H1 COLOR FIX STEP 25
   Мобильная версия single-preparations:
   JS раскладывает H1 препарата в 2 строки, а цвет мог наследоваться
   приглушённым. Возвращаем тёплый графит без пелены.
   ========================================================= */

@media (max-width: 767px){
    body.single-preparations h1.lm-mobile-h1-prep,
body.single-preparations h1.lm-mobile-h1-prep .lm-mobile-h1-prep-line{
        color: #252826 !important;
        -webkit-text-fill-color: #252826 !important;

        opacity: 1 !important;
        filter: none !important;
        text-shadow: none !important;

        background: transparent !important;
        background-image: none !important;

        font-weight: 700 !important;
    }

    body.single-preparations h1.lm-mobile-h1-prep .lm-mobile-h1-prep-line--en,
body.single-preparations h1.lm-mobile-h1-prep .lm-mobile-h1-prep-line--ru{
        color: #252826 !important;
        -webkit-text-fill-color: #252826 !important;

        opacity: 1 !important;
        filter: none !important;
        text-shadow: none !important;
    }
}

/* =========================================================
   ЛИДАМЕД — HEADER CHAMPAGNE NAV + SUNDAY FIX STEP 26
   Десктоп / планшет:
   - верхнюю nav-капсулу переводим в лёгкий champagne,
     как мобильный бургер, но спокойнее;
   - воскресенье в верхнем правом блоке возвращаем в мягкий красный.
   ========================================================= */

/* ---------------------------------------------------------
   01. Верхнее меню — лёгкий champagne, без тяжёлой заливки
   --------------------------------------------------------- */

@media (min-width: 768px){
    .lm-header-menu{
        background:
            linear-gradient(180deg, #ffffff 0%, #fffdf8 58%, #fbf4e9 100%) !important;
        border-top: 1px solid rgba(255,255,255,0.88) !important;
        border-bottom: 1px solid rgba(203, 184, 149, 0.24) !important;
    }

    .lm-header-menu.is-fixed{
        background:
            linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,253,248,0.94) 58%, rgba(251,244,233,0.92) 100%) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow:
            0 10px 22px rgba(72, 60, 43, 0.07),
            inset 0 1px 0 rgba(255,255,255,0.86) !important;
    }

    .lm-header-menu .lm-menu{
        background:
            linear-gradient(180deg, #ffffff 0%, #fbf7ef 52%, #f4ead9 100%) !important;
        border: 1px solid rgba(196, 174, 135, 0.48) !important;
        box-shadow:
            0 12px 26px rgba(75, 69, 56, 0.08),
            inset 0 1px 0 rgba(255,255,255,0.94) !important;
    }

    .lm-header-menu .lm-menu > li > a{
        color: #4f4840 !important;
        text-shadow: 0 1px 0 rgba(255,255,255,0.52) !important;
    }

    .lm-header-menu .lm-menu > li > a:hover{
        color: #2f2b27 !important;
        background: rgba(255, 255, 255, 0.34) !important;
        box-shadow: inset 0 0 0 1px rgba(190, 166, 123, 0.16) !important;
    }

    .lm-header-menu .lm-menu > li.current-menu-item > a,
.lm-header-menu .lm-menu > li.current-menu-parent > a,
.lm-header-menu .lm-menu > li.current-menu-ancestor > a,
.lm-header-menu .lm-menu > li.current_page_item > a,
.lm-header-menu .lm-menu > li.current_page_parent > a,
.lm-header-menu .lm-menu > li.current_page_ancestor > a{
        color: #2f2b27 !important;
        background: rgba(255, 255, 255, 0.28) !important;
        box-shadow: inset 0 0 0 1px rgba(190, 166, 123, 0.13) !important;
    }

    .lm-header-menu .lm-menu > li > a::after{
        background: rgba(154, 126, 82, 0.52) !important;
    }

    .lm-header-menu .lm-menu > li.current-menu-item > a::after,
.lm-header-menu .lm-menu > li.current-menu-parent > a::after,
.lm-header-menu .lm-menu > li.current-menu-ancestor > a::after,
.lm-header-menu .lm-menu > li.current_page_item > a::after,
.lm-header-menu .lm-menu > li.current_page_parent > a::after,
.lm-header-menu .lm-menu > li.current_page_ancestor > a::after{
        background: rgba(91, 71, 48, 0.68) !important;
    }
}

/* ---------------------------------------------------------
   02. Верхний правый блок — воскресенье снова мягко-красное
   --------------------------------------------------------- */

.lm-header-day.is-sunday-current,
.lm-header-day.is-current.is-sunday-current{
    background:
        linear-gradient(180deg, #f7e2df 0%, #ecc5bf 100%) !important;
    color: #8d4e46 !important;
    border: 1px solid rgba(190, 112, 104, 0.30) !important;
    box-shadow:
        0 8px 18px rgba(173, 91, 82, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.74) !important;
}

/* Сегодня в будний день — зелёный оставляем отдельным правилом */
.lm-header-days .lm-header-day.is-current:not(:last-child):not(.is-sunday-current){
    background:
        linear-gradient(180deg, #e2f0df 0%, #b8d8af 100%) !important;
    color: #3f6f39 !important;
    border: 1px solid rgba(92, 148, 83, 0.24) !important;
    box-shadow:
        0 8px 18px rgba(93, 147, 97, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.72) !important;
}

/* =========================================================
   ЛИДАМЕД — ABOUT CLINIC FINAL COLOR STEP 27
   Страница "О клинике":
   - приводим к общей champagne / pearl-системе сайта;
   - убираем серые и жёстко-чёрные акценты;
   - убираем дубль строки противопоказаний только на этой странице.
   ========================================================= */

/* ---------------------------------------------------------
   00. "О клинике" — убираем дубль legal-line внутри main,
   оставляем общую системную строку перед футером
   --------------------------------------------------------- */

body.page-template-page-about main.site-main .lm-legal-line,
body.page-template-page-about .site-main .lm-legal-line,
body:has(.lm-about-page) main.site-main .lm-legal-line,
body:has(.lm-about-page) .site-main .lm-legal-line{
    display: none !important;
}

/* ---------------------------------------------------------
   01. Общие поверхности страницы
   --------------------------------------------------------- */

.lm-about-page,
.lm-about-content{
    background: transparent !important;
}

.lm-about-hero__body,
.lm-about-hero__card,
.lm-about-section,
.lm-about-benefit,
.lm-about-stat,
.lm-about-wp-content{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 54%, #fbf4e9 100%) !important;
    border: 1px solid rgba(194, 174, 136, 0.34) !important;
    box-shadow:
        0 18px 44px rgba(60, 50, 36, 0.055),
        inset 0 1px 0 rgba(255,255,255,0.90) !important;
    color: #30332f !important;
}

/* Главный hero — чуть крупнее и теплее, но без "бежевого пятна" */
.lm-about-hero__body{
    background:
        radial-gradient(circle at 92% 92%, rgba(214, 190, 145, 0.16) 0%, transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fffdf9 56%, #fbf5ea 100%) !important;
}

/* Правая карточка 13+ */
.lm-about-hero__card{
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.92) 0%, transparent 58%),
        linear-gradient(180deg, #fffdf8 0%, #f6ecdc 100%) !important;
    border-color: rgba(194, 174, 136, 0.42) !important;
}

/* ---------------------------------------------------------
   02. Тексты и бейджи
   --------------------------------------------------------- */

.lm-about-label,
.lm-about-section__head span,
.lm-about-cta span{
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;

    padding: 7px 14px !important;
    border-radius: 999px !important;

    background:
        linear-gradient(180deg, #fffdf8 0%, #f3e7d4 100%) !important;
    border: 1px solid rgba(194, 174, 136, 0.42) !important;

    color: #8a6f47 !important;
    box-shadow:
        0 8px 18px rgba(120, 92, 58, 0.055),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

.lm-about-title,
.lm-about-section__head h2,
.lm-about-benefit h3,
.lm-about-cta h2{
    color: #252826 !important;
}

.lm-about-text,
.lm-about-text--lead,
.lm-about-section__text p,
.lm-about-benefit p,
.lm-about-wp-content,
.lm-about-cta p{
    color: #4f534d !important;
}

.lm-about-hero__number{
    color: #252826 !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.56) !important;
}

.lm-about-hero__caption,
.lm-about-hero__since{
    color: #6f6559 !important;
}

/* ---------------------------------------------------------
   03. Три верхние карточки 01/02/03
   --------------------------------------------------------- */

.lm-about-stat{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 54%, #f7f0e4 100%) !important;
}

.lm-about-stat::before{
    background:
        radial-gradient(circle at 14% 16%, rgba(214, 190, 145, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,0) 0%, rgba(247,240,228,0.72) 100%) !important;
}

.lm-about-stat__icon{
    background:
        linear-gradient(180deg, #fffdf8 0%, #f0e1ca 100%) !important;
    border: 1px solid rgba(194, 174, 136, 0.48) !important;
    color: #8a6f47 !important;
    box-shadow:
        0 8px 18px rgba(120, 92, 58, 0.055),
        inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

.lm-about-stat strong{
    color: #252826 !important;
}

.lm-about-stat span{
    color: #60645e !important;
}

.lm-about-stat:hover{
    border-color: rgba(180, 150, 105, 0.48) !important;
    box-shadow:
        0 20px 46px rgba(60, 50, 36, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;
}

/* ---------------------------------------------------------
   04. Большой блок "Спокойное пространство..."
   --------------------------------------------------------- */

.lm-about-section--soft{
    background:
        radial-gradient(circle at 8% 20%, rgba(214, 190, 145, 0.20) 0%, transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fffdf8 54%, #f4ead9 100%) !important;
    border-color: rgba(194, 174, 136, 0.38) !important;
}

.lm-about-section::after{
    background:
        radial-gradient(circle, rgba(194,174,136,0.13) 0%, transparent 70%) !important;
    opacity: 0.76 !important;
}

.lm-about-section--soft .lm-about-section__head h2 .lm-about-accent{
    color: #9a8266 !important;
}

/* ---------------------------------------------------------
   05. CTA-низ — вместо серого блока делаем champagne-панель
   --------------------------------------------------------- */

.lm-about-cta{
    background:
        linear-gradient(180deg, #fffdf8 0%, #f2e4cd 48%, #e7d2b2 100%) !important;
    border: 1px solid rgba(185, 155, 114, 0.48) !important;
    box-shadow:
        0 18px 44px rgba(60, 50, 36, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.78) !important;
    color: #30332f !important;
}

.lm-about-btn,
.lm-about-btn--light{
    background:
        linear-gradient(180deg, #fffdf8 0%, #f0e1ca 54%, #dfc59d 100%) !important;
    border: 1px solid rgba(172, 139, 92, 0.58) !important;
    color: #3a3127 !important;
    box-shadow:
        0 12px 26px rgba(120, 92, 58, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.76) !important;
}

.lm-about-btn:hover,
.lm-about-btn--light:hover{
    background:
        linear-gradient(180deg, #ffffff 0%, #f1e6d4 48%, #e5d2b4 100%) !important;
    color: #2f281f !important;
    border-color: rgba(172, 139, 92, 0.72) !important;
    transform: translateY(-2px) !important;
    box-shadow:
        0 16px 32px rgba(120, 92, 58, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

/* ---------------------------------------------------------
   06. Мобильная версия "О клинике"
   --------------------------------------------------------- */

@media (max-width: 767px){
    .lm-about-hero__body,
.lm-about-hero__card,
.lm-about-section,
.lm-about-benefit,
.lm-about-stat,
.lm-about-wp-content,
.lm-about-cta{
        border-radius: 18px !important;
        background:
            linear-gradient(180deg, #ffffff 0%, #fffdf8 56%, #fbf4e9 100%) !important;
        border: 1px solid rgba(194, 174, 136, 0.34) !important;
        box-shadow:
            0 12px 28px rgba(60, 50, 36, 0.055),
            inset 0 1px 0 rgba(255,255,255,0.90) !important;
    }

    .lm-about-cta{
        background:
            linear-gradient(180deg, #fffdf8 0%, #f2e4cd 52%, #e7d2b2 100%) !important;
    }

    .lm-about-label,
.lm-about-section__head span,
.lm-about-cta span{
        padding: 6px 12px !important;
    }

    .lm-about-btn,
.lm-about-btn--light{
        width: 100% !important;
        max-width: none !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ABOUT CLINIC MICRO FIX STEP 28
   Страница "О клинике":
   1) убираем вид кнопки у слова "пространство";
   2) скрываем второй дубль строки противопоказаний только здесь;
   3) окультуриваем бейдж Яндекса "Хорошее место".
   ========================================================= */

/* ---------------------------------------------------------
   01. Слово "пространство" — не кнопка, а просто цветовой акцент
   --------------------------------------------------------- */

.lm-about-section__head h2 .lm-about-accent,
.lm-about-section--soft .lm-about-section__head h2 .lm-about-accent{
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #9a8266 !important;
    text-shadow: none !important;

    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: none !important;
}

/* Чтобы общая стилистика маленьких бейджей не цепляла span внутри H2 */
.lm-about-section__head h2 span,
.lm-about-section__head h2 .lm-about-accent{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* ---------------------------------------------------------
   02. Дубль legal-line — скрываем только второй подряд и только на "О клинике"
   --------------------------------------------------------- */

body.page-template-page-about .lm-legal-line + .lm-legal-line,
body:has(.lm-about-page) .lm-legal-line + .lm-legal-line{
    display: none !important;
}

/* Если второй дубль стоит прямо перед партнёрами — тоже не показываем именно его */
body.page-template-page-about .lm-legal-line + .lm-legal-line + .lm-footer-partners,
body:has(.lm-about-page) .lm-legal-line + .lm-legal-line + .lm-footer-partners{
    margin-top: 0 !important;
}

/* ---------------------------------------------------------
   03. Яндекс "Хорошее место" — аккуратная капсула в стиле страницы
   --------------------------------------------------------- */

.lm-about-yandex-badge{
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 7px 9px !important;
    border-radius: 18px !important;

    background:
        linear-gradient(180deg, #fffdf8 0%, #f1e5d2 52%, #e7d2b2 100%) !important;
    border: 1px solid rgba(185, 155, 114, 0.42) !important;

    box-shadow:
        0 12px 26px rgba(120, 92, 58, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.82) !important;

    overflow: hidden !important;
    isolation: isolate !important;
}

.lm-about-yandex-badge::before{
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    background:
        radial-gradient(circle at 12% 10%, rgba(255,255,255,0.70) 0%, transparent 42%),
        linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.24) 44%, transparent 72%) !important;
    pointer-events: none !important;
    opacity: .72 !important;
    z-index: 1 !important;
}

.lm-about-yandex-badge iframe{
    position: relative !important;
    z-index: 2 !important;

    display: block !important;
    width: 150px !important;
    height: 50px !important;

    border: 0 !important;
    border-radius: 12px !important;
    background: #f4f1ea !important;

    overflow: hidden !important;

    filter: grayscale(0.08) sepia(0.08) saturate(0.92) contrast(0.96) brightness(1.02) !important;
}

.lm-about-yandex-badge:hover{
    border-color: rgba(172, 139, 92, 0.58) !important;
    box-shadow:
        0 15px 30px rgba(120, 92, 58, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

@media (max-width: 767px){
    .lm-about-yandex-badge{
        align-self: center !important;
        padding: 7px 9px !important;
        border-radius: 16px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ABOUT YANDEX BADGE SIZE FIX STEP 29
   Страница "О клинике":
   бейдж Яндекса "Хорошее место" увеличиваем примерно в 1.5 раза
   и убираем внутреннюю затемняющую/глянцевую окантовку.
   ========================================================= */

.lm-about-yandex-badge{
    width: 245px !important;
    height: 94px !important;

    padding: 9px 10px !important;
    border-radius: 20px !important;

    background:
        linear-gradient(180deg, #fffdf8 0%, #f1e5d2 52%, #e7d2b2 100%) !important;
    border: 1px solid rgba(185, 155, 114, 0.42) !important;

    box-shadow:
        0 14px 30px rgba(120, 92, 58, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.84) !important;

    overflow: hidden !important;
}

/* Убираем внутреннюю "плёнку"/блик, который создавал лишнюю окантовку */
.lm-about-yandex-badge::before,
.lm-about-yandex-badge::after{
    display: none !important;
    content: none !important;
}

/* Сам iframe увеличиваем визуально в 1.5 раза */
.lm-about-yandex-badge iframe{
    width: 150px !important;
    height: 50px !important;

    transform: scale(1.5) !important;
    transform-origin: center center !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

/* На мобильной не раздуваем слишком сильно */
@media (max-width: 767px){
    .lm-about-yandex-badge{
        width: 220px !important;
        height: 86px !important;
        padding: 8px 10px !important;
        border-radius: 18px !important;
    }

    .lm-about-yandex-badge iframe{
        transform: scale(1.35) !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ABOUT CLINIC FINAL TUNING STEP 30
   Страница "О клинике":
   - бейдж Яндекса "Хорошее место" делаем теплее, в champagne;
   - цифру 13+ переводим из чёрного пятна в тёплый luxury-акцент;
   - на мобильной версии уменьшаем внутренние поля hero-блока,
     чтобы текст не зажимался.
   ========================================================= */

/* ---------------------------------------------------------
   01. Яндекс "Хорошее место" — тёплая champagne-подложка
   --------------------------------------------------------- */

.lm-about-yandex-badge{
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 34%, #fbf4e9 68%, #f1e3cc 100%) !important;
    border: 1px solid rgba(190, 166, 123, 0.48) !important;

    box-shadow:
        0 16px 34px rgba(120, 92, 58, 0.13),
        inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

/* Сам iframe Яндекса нельзя перекрасить изнутри, поэтому мягко утепляем его фильтром */
.lm-about-yandex-badge iframe{
    background: transparent !important;
    filter:
        sepia(0.16)
        saturate(0.94)
        brightness(1.045)
        contrast(0.98) !important;
}

/* ---------------------------------------------------------
   02. 13+ — вместо чёрного пятна тёплый champagne-графит
   --------------------------------------------------------- */

.lm-about-hero__number{
    color: #9a8266 !important;
    -webkit-text-fill-color: #9a8266 !important;

    text-shadow:
        0 1px 0 rgba(255,255,255,0.72),
        0 10px 24px rgba(120, 92, 58, 0.08) !important;
}

.lm-about-hero__caption{
    color: #6f6559 !important;
}

.lm-about-hero__since{
    color: #8a8073 !important;
}

/* ---------------------------------------------------------
   03. Мобилка "О клинике" — расширяем полезную ширину текста
   --------------------------------------------------------- */

@media (max-width: 767px){
    body.page-template-page-about .lm-about-hero__body,
body:has(.lm-about-page) .lm-about-hero__body{
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.page-template-page-about .lm-about-hero__content,
body.page-template-page-about .lm-about-hero__text,
body:has(.lm-about-page) .lm-about-hero__content,
body:has(.lm-about-page) .lm-about-hero__text{
        width: 100% !important;
        max-width: 100% !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.page-template-page-about .lm-about-title,
body.page-template-page-about .lm-about-text,
body.page-template-page-about .lm-about-text--lead,
body:has(.lm-about-page) .lm-about-title,
body:has(.lm-about-page) .lm-about-text,
body:has(.lm-about-page) .lm-about-text--lead{
        max-width: 100% !important;
    }

    .lm-about-yandex-badge{
        background:
            linear-gradient(180deg, #ffffff 0%, #fffdf8 34%, #fbf4e9 68%, #f1e3cc 100%) !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ABOUT YANDEX BADGE WARMER STEP 31
   Страница "О клинике":
   дополнительно утепляем подложку Яндекс-бейджа "Хорошее место",
   чтобы убрать холодный бело-серый тон внутри.
   ========================================================= */

.lm-about-yandex-badge{
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.70) 0%, transparent 38%),
        linear-gradient(180deg, #fff8ec 0%, #f4e3c7 48%, #e4c99f 100%) !important;
    border-color: rgba(176, 139, 87, 0.52) !important;

    box-shadow:
        0 16px 34px rgba(120, 92, 58, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.76) !important;
}

/* Сам iframe остаётся Яндексом, но визуально теплее и мягче */
.lm-about-yandex-badge iframe{
    background: #f2dfbf !important;
    filter:
        sepia(0.28)
        saturate(0.92)
        brightness(1.035)
        contrast(0.96) !important;
}

/* Лёгкий champagne-слой поверх iframe: убирает холодную белизну, но не перекрывает текст */
.lm-about-yandex-badge::after{
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 9px 10px !important;
    border-radius: 12px !important;

    background:
        linear-gradient(180deg, rgba(246, 224, 189, 0.34) 0%, rgba(226, 197, 151, 0.28) 100%) !important;

    pointer-events: none !important;
    z-index: 3 !important;
    mix-blend-mode: multiply !important;
    opacity: 0.52 !important;
}

.lm-about-yandex-badge iframe{
    position: relative !important;
    z-index: 2 !important;
}

@media (max-width: 767px){
    .lm-about-yandex-badge{
        background:
            radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.68) 0%, transparent 38%),
            linear-gradient(180deg, #fff8ec 0%, #f4e3c7 48%, #e4c99f 100%) !important;
    }

    .lm-about-yandex-badge::after{
        inset: 8px 10px !important;
        opacity: 0.48 !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ABOUT YANDEX BADGE INNER RADIUS STEP 32
   Страница "О клинике":
   скругляем внутреннюю champagne-заливку Яндекс-бейджа,
   чтобы не было прямых углов внутри капсулы.
   ========================================================= */

.lm-about-yandex-badge{
    overflow: hidden !important;
    border-radius: 20px !important;
}

/* Внутренний iframe и тёплый слой — с одинаковым скруглением */
.lm-about-yandex-badge iframe{
    border-radius: 16px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 16px) !important;
}

.lm-about-yandex-badge::after{
    inset: 9px 10px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* Подстраховка: если браузер рисует iframe поверх радиуса */
.lm-about-yandex-badge::before{
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 9px 10px !important;
    border-radius: 16px !important;
    pointer-events: none !important;
    z-index: 4 !important;
    box-shadow: inset 0 0 0 1px rgba(176, 139, 87, 0.12) !important;
}

@media (max-width: 767px){
    .lm-about-yandex-badge{
        border-radius: 18px !important;
    }

    .lm-about-yandex-badge iframe,
.lm-about-yandex-badge::after,
.lm-about-yandex-badge::before{
        border-radius: 14px !important;
    }

    .lm-about-yandex-badge::after,
.lm-about-yandex-badge::before{
        inset: 8px 10px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ABOUT YANDEX BADGE SIDE STRIPS FIX STEP 33
   Страница "О клинике":
   убираем тонкие боковые полоски у внутренней части Яндекс-бейджа.
   Чуть расширяем iframe и внутренний тёплый слой по горизонтали.
   ========================================================= */

.lm-about-yandex-badge iframe{
    width: 153px !important;
    height: 50px !important;
    transform: scale(1.5) !important;
    transform-origin: center center !important;
    border-radius: 16px !important;
    clip-path: inset(0 round 16px) !important;
}

/* Тёплый слой и страховочная внутренняя рамка шире на пару пикселей */
.lm-about-yandex-badge::after,
.lm-about-yandex-badge::before{
    inset: 9px 7px !important;
    border-radius: 16px !important;
}

/* На мобильной — то же самое, но мягче */
@media (max-width: 767px){
    .lm-about-yandex-badge iframe{
        width: 153px !important;
        height: 50px !important;
        transform: scale(1.35) !important;
        border-radius: 14px !important;
        clip-path: inset(0 round 14px) !important;
    }

    .lm-about-yandex-badge::after,
.lm-about-yandex-badge::before{
        inset: 8px 7px !important;
        border-radius: 14px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ABOUT YANDEX BADGE RIGHT EDGE FIX STEP 34
   Страница "О клинике":
   убираем правое наслоение у внутренней части Яндекс-бейджа.
   Причина — страховочный внутренний слой ::before давал лишнюю
   "матрёшку" по правому краю. Оставляем один аккуратный тёплый слой.
   ========================================================= */

.lm-about-yandex-badge{
    overflow: hidden !important;
    border-radius: 20px !important;
}

/* Убираем лишнюю внутреннюю рамку, которая давала правый наплыв */
.lm-about-yandex-badge::before{
    display: none !important;
    content: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Внутренний тёплый слой — ровно внутри капсулы, без вылезания справа */
.lm-about-yandex-badge::after{
    content: "" !important;
    display: block !important;
    position: absolute !important;

    inset: 9px 9px !important;
    border-radius: 16px !important;

    background:
        linear-gradient(180deg, rgba(246, 224, 189, 0.34) 0%, rgba(226, 197, 151, 0.28) 100%) !important;

    pointer-events: none !important;
    z-index: 3 !important;
    mix-blend-mode: multiply !important;
    opacity: 0.50 !important;

    overflow: hidden !important;
}

/* Чуть смещаем iframe влево на 1px, чтобы правый край не давал серую полоску */
.lm-about-yandex-badge iframe{
    width: 152px !important;
    height: 50px !important;

    transform: translateX(-1px) scale(1.5) !important;
    transform-origin: center center !important;

    border: 0 !important;
    border-radius: 16px !important;

    background: #f2dfbf !important;
    box-shadow: none !important;

    overflow: hidden !important;
    clip-path: inset(0 round 16px) !important;

    position: relative !important;
    z-index: 2 !important;
}

@media (max-width: 767px){
    .lm-about-yandex-badge{
        border-radius: 18px !important;
    }

    .lm-about-yandex-badge::after{
        inset: 8px 9px !important;
        border-radius: 14px !important;
        opacity: 0.48 !important;
    }

    .lm-about-yandex-badge iframe{
        width: 152px !important;
        height: 50px !important;

        transform: translateX(-1px) scale(1.35) !important;
        border-radius: 14px !important;
        clip-path: inset(0 round 14px) !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ABOUT YANDEX BADGE INNER COVER STEP 35
   Страница "О клинике":
   iframe Яндекса даёт тонкие боковые артефакты.
   Решение: не двигаем iframe, а расширяем внутренний champagne-слой
   на 2–3px по кругу, чтобы он перекрыл боковые "писюлины".
   ========================================================= */

.lm-about-yandex-badge{
    overflow: hidden !important;
    border-radius: 20px !important;
}

/* Лишнюю страховочную рамку оставляем выключенной */
.lm-about-yandex-badge::before{
    display: none !important;
    content: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Внутренний тёплый слой делаем шире: он перекрывает артефакты iframe справа/слева */
.lm-about-yandex-badge::after{
    content: "" !important;
    display: block !important;
    position: absolute !important;

    /* было уже, теперь слой заходит глубже к краям */
    inset: 7px 6px !important;
    border-radius: 18px !important;

    background:
        linear-gradient(180deg, rgba(246, 224, 189, 0.38) 0%, rgba(226, 197, 151, 0.32) 100%) !important;

    pointer-events: none !important;
    z-index: 3 !important;
    mix-blend-mode: multiply !important;
    opacity: 0.54 !important;

    overflow: hidden !important;
}

/* iframe больше не смещаем: центр возвращаем на место */
.lm-about-yandex-badge iframe{
    width: 152px !important;
    height: 50px !important;

    transform: scale(1.5) !important;
    transform-origin: center center !important;

    border: 0 !important;
    border-radius: 16px !important;

    background: #f2dfbf !important;
    box-shadow: none !important;

    overflow: hidden !important;
    clip-path: inset(0 round 16px) !important;

    position: relative !important;
    z-index: 2 !important;
}

@media (max-width: 767px){
    .lm-about-yandex-badge{
        border-radius: 18px !important;
    }

    .lm-about-yandex-badge::after{
        inset: 6px 6px !important;
        border-radius: 16px !important;
        opacity: 0.52 !important;
    }

    .lm-about-yandex-badge iframe{
        width: 152px !important;
        height: 50px !important;

        transform: scale(1.35) !important;
        border-radius: 14px !important;
        clip-path: inset(0 round 14px) !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ABOUT YANDEX BADGE COMPACT COVER STEP 36
   Страница "О клинике":
   - немного уменьшаем бейдж, чтобы он вставал рядом с кнопкой на ноутбуках;
   - добавляем внутренний champagne-кант/маску шире по бокам,
     чтобы перекрыть посторонний цвет iframe справа и слева.
   ========================================================= */

.lm-about-yandex-badge{
    width: 218px !important;
    height: 82px !important;

    padding: 8px 9px !important;
    border-radius: 20px !important;

    background:
        radial-gradient(circle at 18% 14%, rgba(255,255,255,0.68) 0%, transparent 38%),
        linear-gradient(180deg, #fff8ec 0%, #f3dfbd 48%, #dfc08d 100%) !important;

    border: 1px solid rgba(176, 139, 87, 0.54) !important;

    box-shadow:
        0 15px 30px rgba(120, 92, 58, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.76) !important;

    overflow: hidden !important;
    isolation: isolate !important;
}

/* Сам iframe чуть меньше, но ещё хорошо читаемый */
.lm-about-yandex-badge iframe{
    width: 150px !important;
    height: 50px !important;

    transform: scale(1.32) !important;
    transform-origin: center center !important;

    border: 0 !important;
    border-radius: 16px !important;

    background: #f2dfbf !important;
    box-shadow: none !important;

    overflow: hidden !important;
    clip-path: inset(0 round 16px) !important;

    position: relative !important;
    z-index: 2 !important;

    filter:
        sepia(0.28)
        saturate(0.92)
        brightness(1.035)
        contrast(0.96) !important;
}

/* Общий тёплый слой поверх iframe */
.lm-about-yandex-badge::after{
    content: "" !important;
    display: block !important;
    position: absolute !important;

    inset: 7px 6px !important;
    border-radius: 18px !important;

    background:
        linear-gradient(180deg, rgba(246, 224, 189, 0.36) 0%, rgba(226, 197, 151, 0.30) 100%) !important;

    pointer-events: none !important;
    z-index: 3 !important;
    mix-blend-mode: multiply !important;
    opacity: 0.52 !important;

    overflow: hidden !important;
}

/* Внутренний champagne-кант: закрывает боковые артефакты iframe */
.lm-about-yandex-badge::before{
    content: "" !important;
    display: block !important;
    position: absolute !important;

    inset: 7px 6px !important;
    border-radius: 18px !important;

    pointer-events: none !important;
    z-index: 4 !important;

    background: transparent !important;

    box-shadow:
        inset 8px 0 0 rgba(232, 206, 165, 0.78),
        inset -8px 0 0 rgba(232, 206, 165, 0.78),
        inset 0 7px 0 rgba(249, 237, 217, 0.52),
        inset 0 -7px 0 rgba(218, 187, 138, 0.34) !important;
}

/* На мобильной — ещё компактнее, чтобы не раздувать hero */
@media (max-width: 767px){
    .lm-about-yandex-badge{
        width: 204px !important;
        height: 78px !important;
        padding: 8px 9px !important;
        border-radius: 18px !important;
    }

    .lm-about-yandex-badge iframe{
        transform: scale(1.24) !important;
        border-radius: 14px !important;
        clip-path: inset(0 round 14px) !important;
    }

    .lm-about-yandex-badge::after,
.lm-about-yandex-badge::before{
        inset: 6px 6px !important;
        border-radius: 16px !important;
    }

    .lm-about-yandex-badge::before{
        box-shadow:
            inset 7px 0 0 rgba(232, 206, 165, 0.78),
            inset -7px 0 0 rgba(232, 206, 165, 0.78),
            inset 0 6px 0 rgba(249, 237, 217, 0.52),
            inset 0 -6px 0 rgba(218, 187, 138, 0.34) !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ABOUT YANDEX BADGE CLEAN INNER PANEL STEP 37
   Страница "О клинике":
   - убираем внутренний champagne-кант из STEP 36 (::before),
   - делаем внутреннюю тёплую подложку шире,
   - слегка уменьшаем/успокаиваем iframe, чтобы убрать боковые артефакты.
   ========================================================= */

.lm-about-yandex-badge{
    width: 218px !important;
    height: 82px !important;
    padding: 8px 9px !important;
    border-radius: 20px !important;
}

/* Убираем последний внутренний кант со "скобками" */
.lm-about-yandex-badge::before{
    content: none !important;
    display: none !important;
}

/* Оставляем только одну тёплую внутреннюю подложку и делаем её шире */
.lm-about-yandex-badge::after{
    content: "" !important;
    display: block !important;
    position: absolute !important;

    inset: 5px 5px !important;
    border-radius: 18px !important;

    background:
        linear-gradient(180deg, #f9eed9 0%, #f4e5ca 100%) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        inset 0 -1px 0 rgba(216,184,133,0.22) !important;

    pointer-events: none !important;
    z-index: 1 !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    overflow: hidden !important;
}

.lm-about-yandex-badge iframe{
    width: 148px !important;
    height: 48px !important;

    transform: scale(1.26) !important;
    transform-origin: center center !important;

    border: 0 !important;
    border-radius: 14px !important;
    clip-path: inset(0 round 14px) !important;

    background: #f7ead0 !important;
    box-shadow: none !important;

    position: relative !important;
    z-index: 2 !important;

    filter:
        sepia(0.22)
        saturate(0.94)
        brightness(1.03)
        contrast(0.97) !important;
}

@media (max-width: 767px){
    .lm-about-yandex-badge{
        width: 204px !important;
        height: 78px !important;
        border-radius: 18px !important;
    }

    .lm-about-yandex-badge::after{
        inset: 5px !important;
        border-radius: 16px !important;
    }

    .lm-about-yandex-badge iframe{
        transform: scale(1.20) !important;
        border-radius: 13px !important;
        clip-path: inset(0 round 13px) !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ABOUT YANDEX BADGE SIMPLE CHAMPAGNE STEP 38
   Страница "О клинике":
   убираем лишнюю "матрёшку" у бейджа Яндекса и оставляем
   простой тёплый champagne-фон в тон верхнему меню.
   ========================================================= */

.lm-about-yandex-badge{
    width: 218px !important;
    height: 82px !important;
    padding: 8px 9px !important;
    border-radius: 20px !important;

    background:
        linear-gradient(180deg, #fffdf8 0%, #f2e7d4 54%, #e4cfaa 100%) !important;

    border: 1px solid rgba(176, 139, 87, 0.48) !important;

    box-shadow:
        0 14px 30px rgba(120, 92, 58, 0.13),
        inset 0 1px 0 rgba(255,255,255,0.78) !important;

    overflow: hidden !important;
    isolation: isolate !important;
}

/* Убираем внутренние слои, которые давали эффект "кнопка в кнопке" */
.lm-about-yandex-badge::before,
.lm-about-yandex-badge::after{
    content: none !important;
    display: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Сам iframe не двигаем и не оборачиваем, только утепляем его цвет фильтром */
.lm-about-yandex-badge iframe{
    width: 150px !important;
    height: 50px !important;

    transform: scale(1.30) !important;
    transform-origin: center center !important;

    border: 0 !important;
    border-radius: 14px !important;
    clip-path: inset(0 round 14px) !important;

    background: #f2e7d4 !important;
    box-shadow: none !important;

    position: relative !important;
    z-index: 2 !important;

    filter:
        sepia(0.34)
        saturate(0.88)
        brightness(1.02)
        contrast(0.96) !important;
}

@media (max-width: 767px){
    .lm-about-yandex-badge{
        width: 204px !important;
        height: 78px !important;
        border-radius: 18px !important;
        background:
            linear-gradient(180deg, #fffdf8 0%, #f2e7d4 54%, #e4cfaa 100%) !important;
    }

    .lm-about-yandex-badge iframe{
        transform: scale(1.22) !important;
        border-radius: 13px !important;
        clip-path: inset(0 round 13px) !important;
    }
}


/* =========================================================
   ЛИДАМЕД — HEADER: лицензия + телефон
   Только мягкая доводка, без вмешательства в дни недели
   ========================================================= */

/* ---------------------------------
   Медицинская лицензия — в тон меню
---------------------------------- */
.lm-header-license{
    border: 1px solid rgba(185, 155, 114, 0.32) !important;
    background: linear-gradient(180deg, #fbf8f2 0%, #f2eadf 100%) !important;
    color: #8d7a61 !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.96) inset,
        0 8px 18px rgba(120, 92, 58, 0.08) !important;
}

.lm-header-license:hover,
.lm-header-license:focus{
    border-color: rgba(185, 155, 114, 0.42) !important;
    background: linear-gradient(180deg, #fdfbf7 0%, #efe5d7 100%) !important;
    color: #7f6c55 !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98) inset,
        0 12px 24px rgba(120, 92, 58, 0.10) !important;
}

/* ---------------------------------
   Телефон — мягкий графит / металл
---------------------------------- */
.lm-header-phone{
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 10px rgba(98, 84, 66, 0.08));
    transition:
        transform .22s ease,
        filter .22s ease;
}

.lm-header-phone:hover,
.lm-header-phone:focus{
    transform: translateY(-1px);
    filter: drop-shadow(0 8px 16px rgba(98, 84, 66, 0.12));
}

/* Префикс 8 (495) */
.lm-header-phone__prefix{
    color: #8f8478 !important;
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.01em;

    background: linear-gradient(
        180deg,
        #d9d3cd 0%,
        #b7afa6 28%,
        #8f8478 62%,
        #766c63 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 0 rgba(255,255,255,0.45);
}

/* Основной номер */
.lm-header-phone__main{
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.01em;

    background: linear-gradient(
        180deg,
        #ece8e4 0%,
        #c9c1b8 20%,
        #a89b8b 45%,
        #7f7469 72%,
        #655c55 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.55),
        0 6px 14px rgba(88, 74, 58, 0.08);
}

/* Чуть мягче на средних экранах */
@media (max-width: 1199px){
    .lm-header-phone__prefix{
        font-size: 17px;
    }

    .lm-header-phone__main{
        font-size: 30px;
    }
}

/* =========================================================
   ЛИДАМЕД — HEADER PHONE CONTRAST FIX
   Телефон: мягкий металлический графит, но читаемый
   Дни недели и плашку "Сегодня выходной" не трогаем
   ========================================================= */

.lm-header-phone{
    filter: drop-shadow(0 5px 12px rgba(70, 60, 50, 0.10)) !important;
}

.lm-header-phone:hover,
.lm-header-phone:focus{
    transform: translateY(-1px);
    filter: drop-shadow(0 8px 18px rgba(70, 60, 50, 0.14)) !important;
}

.lm-header-phone__prefix{
    background: linear-gradient(
        180deg,
        #cfc8bf 0%,
        #a99d8f 35%,
        #7f7468 72%,
        #625950 100%
    ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;

    text-shadow:
        0 1px 0 rgba(255,255,255,0.42),
        0 4px 10px rgba(80, 66, 50, 0.08) !important;
}

.lm-header-phone__main{
    background: linear-gradient(
        180deg,
        #ddd7cf 0%,
        #b8ac9d 18%,
        #8b7f72 42%,
        #655b52 72%,
        #4d4741 100%
    ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;

    text-shadow:
        0 1px 0 rgba(255,255,255,0.50),
        0 7px 16px rgba(80, 66, 50, 0.10) !important;
}

/* =========================================================
   ЛИДАМЕД — LICENSE THUMBNAIL FINAL CROP FIX
   Страница "Лицензия":
   - возвращаем белую мягкую посадку миниатюры;
   - убираем тонкий квадратный контур/уголки за счёт лёгкой обрезки краёв изображения;
   - hover zoom оставляем.
   ========================================================= */

body.page-template-page-license .license-thumb,
body.page-template-page-license-php .license-thumb,
body.page-id-447 .license-thumb,
.license-page .license-thumb{
    display: block !important;
    width: 138px !important;
    flex: 0 0 138px !important;
    box-sizing: border-box !important;

    padding: 8px !important;
    border-radius: 15px !important;
    background: #ffffff !important;
    border: 1px solid rgba(218, 206, 181, 0.42) !important;
    box-shadow: 0 8px 18px rgba(75, 69, 56, 0.055) !important;

    overflow: hidden !important;
    line-height: 0 !important;
}

body.page-template-page-license .license-thumb::before,
body.page-template-page-license .license-thumb::after,
body.page-template-page-license-php .license-thumb::before,
body.page-template-page-license-php .license-thumb::after,
body.page-id-447 .license-thumb::before,
body.page-id-447 .license-thumb::after,
.license-page .license-thumb::before,
.license-page .license-thumb::after{
    content: none !important;
    display: none !important;
}

body.page-template-page-license .license-thumb img,
body.page-template-page-license-php .license-thumb img,
body.page-id-447 .license-thumb img,
.license-page .license-thumb img{
    display: block !important;

    /* Лёгкая обрезка краёв скана: скрывает тонкую квадратную линию и нижние уголки */
    width: calc(100% + 10px) !important;
    max-width: none !important;
    height: auto !important;
    margin: -5px !important;

    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;

    transform: scale(1) !important;
    transform-origin: center center !important;
    transition: transform .28s ease !important;
}

body.page-template-page-license .license-item:hover .license-thumb img,
body.page-template-page-license-php .license-item:hover .license-thumb img,
body.page-id-447 .license-item:hover .license-thumb img,
.license-page .license-item:hover .license-thumb img{
    transform: scale(1.035) !important;
    box-shadow: none !important;
}

@media (max-width: 767px){
    body.page-template-page-license .license-thumb,
body.page-template-page-license-php .license-thumb,
body.page-id-447 .license-thumb,
.license-page .license-thumb{
        width: 94px !important;
        flex: 0 0 94px !important;
        padding: 6px !important;
        border-radius: 13px !important;
    }

    body.page-template-page-license .license-thumb img,
body.page-template-page-license-php .license-thumb img,
body.page-id-447 .license-thumb img,
.license-page .license-thumb img{
        width: calc(100% + 8px) !important;
        margin: -4px !important;
        border-radius: 9px !important;
    }
}


/* =========================================================
   ЛИДАМЕД — УСЛУГИ / CLEAN PREMIUM V5
   Ручные строки описания через | или Enter. Без justify.
   ========================================================= */

.lm-services-archive--clean-premium{
    padding-top: 0;
}

.lm-services-clean-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    margin-bottom: 44px;
}

.lm-services-clean-card{
    display: block;
    text-decoration: none;
    color: inherit;
}

.lm-services-clean-card__inner{
    position: relative;
    min-height: 285px;
    padding: 30px 32px 30px;
    border-radius: 30px;
    overflow: hidden;

    background:
        radial-gradient(circle at 85% 15%, rgba(244, 234, 217, 0.70) 0%, rgba(244, 234, 217, 0.00) 34%),
        linear-gradient(180deg, #fffefc 0%, #fbf7ef 58%, #f4ead9 100%);

    border: 1px solid rgba(185, 155, 114, 0.18);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.95),
        inset 0 -1px 0 rgba(185,155,114,0.11),
        0 18px 44px rgba(48,42,36,0.08);

    display: grid;
    grid-template-rows: 1fr auto 1fr;
    align-items: center;

    transition:
        transform .32s ease,
        box-shadow .32s ease,
        border-color .32s ease,
        background .32s ease;
}

.lm-services-clean-card__inner::before{
    content: "";
    position: absolute;
    inset: 17px;
    border-radius: 24px;
    border: 1px solid rgba(185,155,114,0.10);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.76),
        inset 0 -12px 26px rgba(185,155,114,0.035);
    pointer-events: none;
}

.lm-services-clean-card__number{
    position: absolute;
    top: 20px;
    right: 25px;

    font-size: 64px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: -0.075em;

    color: rgba(185,155,114,0.105);

    text-shadow:
        1px 1px 0 rgba(255,255,255,0.86),
        -1px -1px 0 rgba(122,96,62,0.075),
        0 8px 20px rgba(255,255,255,0.20);

    mix-blend-mode: multiply;
    pointer-events: none;

    transition:
        color .32s ease,
        text-shadow .32s ease,
        transform .32s ease;
}

.lm-services-clean-card__top{
    position: relative;
    z-index: 1;
    align-self: end;
    padding: 0 10px 22px;
    text-align: center;
}

.lm-services-clean-card__title{
    margin: 0 auto;
    max-width: 380px;

    font-size: 24px;
    line-height: 1.22;
    font-weight: 650;
    letter-spacing: -0.025em;

    color: #3b332b;
    text-shadow: 0 1px 0 rgba(255,255,255,0.62);
}

.lm-services-clean-card__line{
    position: relative;
    z-index: 1;

    width: 62%;
    max-width: 260px;
    height: 1px;
    margin: 0 auto;

    background: linear-gradient(
        90deg,
        rgba(185,155,114,0.00) 0%,
        rgba(185,155,114,0.22) 18%,
        rgba(185,155,114,0.56) 50%,
        rgba(185,155,114,0.22) 82%,
        rgba(185,155,114,0.00) 100%
    );

    box-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.lm-services-clean-card__bottom{
    position: relative;
    z-index: 1;
    align-self: start;
    padding: 22px 8px 0;
    text-align: center;
}

.lm-services-clean-card__desc{
    max-width: 410px;
    margin: 0 auto;

    font-size: 14px;
    line-height: 1.66;
    font-weight: 400;

    color: #756d65;

    text-align: center !important;
    text-align-last: auto !important;
    text-wrap: normal !important;
}

.lm-services-clean-card__desc span{
    display: block;
    white-space: nowrap;
}

.lm-services-clean-card:hover .lm-services-clean-card__inner{
    transform: translateY(-5px);
    border-color: rgba(185,155,114,0.32);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.97),
        inset 0 -1px 0 rgba(185,155,114,0.16),
        0 28px 64px rgba(48,42,36,0.13);
}

.lm-services-clean-card:hover .lm-services-clean-card__number{
    color: rgba(185,155,114,0.18);
    text-shadow:
        1px 1px 0 rgba(255,255,255,0.92),
        -1px -1px 0 rgba(122,96,62,0.12),
        0 10px 26px rgba(255,255,255,0.26);
    transform: translateY(-1px);
}

/* Страховка: выключаем старые картинки/счётчики/эмблемы, если где-то остались старые классы */
.lm-services-category-card__meta,
.lm-services-category-card__media,
.lm-services-category-card__image,
.lm-services-category-card__image--empty,
.lm-services-showcase-card__emblem,
.lm-services-showcase-card__icon{
    display: none !important;
}

@media (max-width: 1199px){
    .lm-services-clean-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lm-services-clean-card__inner{
        min-height: 275px;
    }
}

@media (max-width: 767px){
    .lm-services-clean-grid{
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 34px;
    }

    .lm-services-clean-card__inner{
        min-height: 245px;
        padding: 26px 22px;
        border-radius: 24px;
    }

    .lm-services-clean-card__number{
        top: 17px;
        right: 20px;
        font-size: 50px;
    }

    .lm-services-clean-card__title{
        font-size: 21px;
    }

    .lm-services-clean-card__desc{
        font-size: 14px;
        line-height: 1.55;
    }

    .lm-services-clean-card__desc span{
        white-space: normal;
    }

    .lm-services-clean-card__line{
        width: 70%;
    }
}

/* =========================================================
   ЛИДАМЕД — ПОДКАТЕГОРИИ УСЛУГ / CLEAN CARDS
   ========================================================= */

.lm-subcategory-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.lm-subcategory-card{
    display: block;
    text-decoration: none;
    color: inherit;
}

.lm-subcategory-card__inner{
    display: flex;
    align-items: stretch;
    gap: 18px;
    height: 100%;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffefc 0%, #fbf7ef 60%, #f6efe4 100%);
    border: 1px solid rgba(185,155,114,.16);
    box-shadow: 0 14px 32px rgba(51,44,37,.07), inset 0 1px 0 rgba(255,255,255,.9);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.lm-subcategory-card:hover .lm-subcategory-card__inner{
    transform: translateY(-3px);
    border-color: rgba(185,155,114,.28);
    box-shadow: 0 18px 38px rgba(51,44,37,.11), inset 0 1px 0 rgba(255,255,255,.95);
}

.lm-subcategory-card__media{
    flex: 0 0 118px;
}

.lm-subcategory-card__image{
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    background: linear-gradient(180deg, #faf7f0 0%, #f4ead9 100%);
}

.lm-subcategory-card__image--empty{
    background: linear-gradient(180deg, #faf7f0 0%, #f4ead9 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.lm-subcategory-card__body{
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lm-subcategory-card__title{
    margin: 0;
    font-size: 24px;
    line-height: 1.28;
    color: #2f2a26;
}

.lm-subcategory-card__text{
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: #756d65;
}

@media (max-width: 1199px){
    .lm-subcategory-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px){
    .lm-subcategory-card__inner{
        flex-direction: column;
    }

    .lm-subcategory-card__media,
.lm-subcategory-card__image{
        width: 100%;
        flex-basis: auto;
        height: 190px;
    }
}


/* =========================================================
   ЛИДАМЕД — УСЛУГИ / CLEAN PREMIUM V6
   Фикс строк описания: строки не переносятся, текст равномерно уменьшается
   по брейкпоинтам, карточки сохраняют единую сетку и высоту.
   ========================================================= */

/* Единая стабильная сетка */
.lm-services-clean-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(20px, 1.55vw, 28px) !important;
    align-items: stretch !important;
}

/* Одинаковая высота карточек на десктопе */
.lm-services-clean-card,
.lm-services-clean-card__inner{
    height: 100% !important;
}

.lm-services-clean-card__inner{
    min-height: clamp(260px, 15.2vw, 285px) !important;
    padding:
        clamp(24px, 1.65vw, 30px)
        clamp(22px, 1.8vw, 32px)
        clamp(24px, 1.65vw, 30px) !important;
}

/* Название тоже держим единообразно */
.lm-services-clean-card__title{
    font-size: clamp(20px, 1.28vw, 24px) !important;
}

/* Описание: не переносим вручную заданные строки */
.lm-services-clean-card__desc{
    max-width: 100% !important;
    font-size: clamp(12px, 0.74vw, 14px) !important;
    line-height: 1.66 !important;
    text-align: center !important;
    text-wrap: normal !important;
    overflow: visible !important;
}

/* Каждая строка после | — отдельная строка, без переноса */
.lm-services-clean-card__desc span{
    display: block !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* Номер — единый масштаб и вдавленность */
.lm-services-clean-card__number{
    font-size: clamp(50px, 3.4vw, 64px) !important;
}

/* Десктоп поменьше: оставляем 3 колонки, но чуть уменьшаем текст */
@media (max-width: 1350px){
    .lm-services-clean-card__desc{
        font-size: 12.5px !important;
    }

    .lm-services-clean-card__inner{
        min-height: 268px !important;
    }
}

/* Планшет: 2 колонки, все карточки одинаковые */
@media (max-width: 1199px){
    .lm-services-clean-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .lm-services-clean-card__inner{
        min-height: 265px !important;
    }

    .lm-services-clean-card__desc{
        font-size: 13px !important;
    }
}

/* Узкие планшеты: текст чуть компактнее, строки всё ещё не переносятся */
@media (max-width: 900px){
    .lm-services-clean-card__desc{
        font-size: 12px !important;
        line-height: 1.62 !important;
    }

    .lm-services-clean-card__title{
        font-size: 21px !important;
    }
}

/* Мобильная версия: одна колонка. Здесь запрещать перенос опасно,
   поэтому строки остаются отдельными, но могут переноситься при очень узкой ширине. */
@media (max-width: 767px){
    .lm-services-clean-grid{
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .lm-services-clean-card__inner{
        min-height: 245px !important;
    }

    .lm-services-clean-card__desc{
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .lm-services-clean-card__desc span{
        white-space: normal !important;
    }
}

/* Очень узкие телефоны */
@media (max-width: 420px){
    .lm-services-clean-card__desc{
        font-size: 13px !important;
    }

    .lm-services-clean-card__title{
        font-size: 20px !important;
    }
}


/* =========================================================
   ЛИДАМЕД — УСЛУГИ / CLEAN PREMIUM V7
   Резина десктоп/планшет + нормальная мобильная раскладка
   Только CSS. PHP и taxonomy больше не трогаем.
   ========================================================= */

/* --- Десктоп: 3 ровные колонки, но без упора текста в рамку --- */

.lm-services-clean-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(22px, 1.45vw, 28px) !important;
    align-items: stretch !important;
    margin-bottom: 44px !important;
}

.lm-services-clean-card,
.lm-services-clean-card__inner{
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.lm-services-clean-card__inner{
    min-height: clamp(264px, 15vw, 285px) !important;
    padding:
        clamp(24px, 1.55vw, 30px)
        clamp(20px, 1.55vw, 30px)
        clamp(24px, 1.55vw, 30px) !important;
}

/* Внутреннюю рамку чуть ближе к краю, чтобы дать тексту воздух */
.lm-services-clean-card__inner::before{
    inset: 14px !important;
}

/* Заголовок: держим в одной строке там, где возможно */
.lm-services-clean-card__title{
    max-width: 96% !important;
    font-size: clamp(20px, 1.22vw, 24px) !important;
    white-space: nowrap !important;
}

/* Линия — чуть шире, но не давит */
.lm-services-clean-card__line{
    width: min(70%, 290px) !important;
}

/* Описание: 95% ширины блока, меньше шрифт, строки не переносятся на десктопе */
.lm-services-clean-card__bottom{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.lm-services-clean-card__desc{
    width: 95% !important;
    max-width: 95% !important;
    font-size: clamp(11.6px, 0.68vw, 13.4px) !important;
    line-height: 1.68 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
    text-wrap: normal !important;
    overflow: visible !important;
}

.lm-services-clean-card__desc span{
    display: block !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* На широком, но не огромном десктопе ещё чуть поджимаем текст */
@media (max-width: 1560px){
    .lm-services-clean-card__desc{
        font-size: 12.2px !important;
        line-height: 1.66 !important;
        width: 96% !important;
        max-width: 96% !important;
    }

    .lm-services-clean-card__title{
        font-size: 22px !important;
    }
}

@media (max-width: 1400px){
    .lm-services-clean-card__desc{
        font-size: 11.6px !important;
        letter-spacing: -0.015em !important;
    }

    .lm-services-clean-card__inner{
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Раньше уходим в 2 колонки, чтобы не было зажатого десктопного вида */
@media (max-width: 1280px){
    .lm-services-clean-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .lm-services-clean-card__inner{
        min-height: 270px !important;
    }

    .lm-services-clean-card__desc{
        font-size: 13px !important;
        width: 94% !important;
        max-width: 94% !important;
        letter-spacing: 0 !important;
    }
}

/* Узкие планшеты */
@media (max-width: 900px){
    .lm-services-clean-card__title{
        font-size: 21px !important;
    }

    .lm-services-clean-card__desc{
        font-size: 12.5px !important;
    }
}

/* --- Мобильная версия: убираем десктопные ручные строки --- */

@media (max-width: 767px){
    .lm-services-clean-grid{
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        margin-bottom: 34px !important;
    }

    .lm-services-clean-card__inner{
        min-height: 235px !important;
        padding: 24px 16px !important;
        border-radius: 24px !important;
    }

    .lm-services-clean-card__inner::before{
        inset: 12px !important;
        border-radius: 20px !important;
    }

    .lm-services-clean-card__number{
        top: 16px !important;
        right: 18px !important;
        font-size: 48px !important;
    }

    .lm-services-clean-card__top{
        padding-bottom: 18px !important;
    }

    .lm-services-clean-card__title{
        max-width: 100% !important;
        font-size: clamp(18px, 5vw, 21px) !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        letter-spacing: -0.035em !important;
    }

    .lm-services-clean-card__line{
        width: 78% !important;
        max-width: none !important;
    }

    .lm-services-clean-card__bottom{
        padding: 18px 2px 0 !important;
    }

    .lm-services-clean-card__desc{
        width: 95% !important;
        max-width: 95% !important;
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* На мобилке ручные десктопные строки превращаем обратно в обычный текст */
    .lm-services-clean-card__desc span{
        display: inline !important;
        white-space: normal !important;
    }

    .lm-services-clean-card__desc span:not(:last-child)::after{
        content: " " !important;
    }
}

/* Очень узкие телефоны: если длинный заголовок всё же давит, поджимаем только шрифт */
@media (max-width: 420px){
    .lm-services-clean-card__title{
        font-size: clamp(17px, 4.8vw, 19px) !important;
    }

    .lm-services-clean-card__desc{
        font-size: 13px !important;
    }
}


/* =========================================================
   ЛИДАМЕД — УСЛУГИ / MOBILE PREMIUM COMPACT V8
   Мобилка: не копируем десктопную витрину, а делаем компактную навигацию.
   Только CSS. PHP и taxonomy не трогаем.
   ========================================================= */

@media (max-width: 767px){
    .lm-services-clean-grid{
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-bottom: 28px !important;
    }

    .lm-services-clean-card__inner{
        min-height: 152px !important;
        padding: 22px 18px 20px !important;
        border-radius: 22px !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;

        background:
            radial-gradient(circle at 92% 12%, rgba(244, 234, 217, 0.72) 0%, rgba(244, 234, 217, 0.00) 36%),
            linear-gradient(180deg, #fffefc 0%, #fbf7ef 60%, #f4ead9 100%) !important;
    }

    .lm-services-clean-card__inner::before{
        inset: 10px !important;
        border-radius: 18px !important;
    }

    .lm-services-clean-card__number{
        top: 14px !important;
        right: 18px !important;
        font-size: 38px !important;
        opacity: .82 !important;
    }

    .lm-services-clean-card__top{
        padding: 0 !important;
        align-self: auto !important;
        width: 100% !important;
    }

    .lm-services-clean-card__title{
        max-width: 100% !important;
        font-size: clamp(18px, 4.85vw, 20px) !important;
        line-height: 1.18 !important;
        white-space: nowrap !important;
        letter-spacing: -0.045em !important;
        text-align: center !important;
    }

    .lm-services-clean-card__line{
        width: min(68%, 260px) !important;
        margin: 14px auto 13px !important;
    }

    .lm-services-clean-card__bottom{
        padding: 0 !important;
        align-self: auto !important;
        width: 100% !important;
    }

    .lm-services-clean-card__desc{
        width: 94% !important;
        max-width: 94% !important;
        margin: 0 auto !important;

        font-size: 13px !important;
        line-height: 1.45 !important;
        letter-spacing: -0.005em !important;
        text-align: center !important;

        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .lm-services-clean-card__desc span{
        display: inline !important;
        white-space: normal !important;
    }

    .lm-services-clean-card__desc span:not(:last-child)::after{
        content: " " !important;
    }
}

/* Очень узкие телефоны */
@media (max-width: 390px){
    .lm-services-clean-card__inner{
        min-height: 146px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .lm-services-clean-card__title{
        font-size: clamp(17px, 4.6vw, 18.5px) !important;
        letter-spacing: -0.055em !important;
    }

    .lm-services-clean-card__desc{
        font-size: 12.5px !important;
        line-height: 1.42 !important;
    }
}


/* =========================================================
   ЛИДАМЕД — УСЛУГИ / MOBILE BUTTONS V9
   Мобилка: карточки как premium-кнопки.
   Описание на мобилке убираем, заголовок ставим по центру.
   Только CSS.
   ========================================================= */

@media (max-width: 767px){
    .lm-services-clean-grid{
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-bottom: 30px !important;
    }

    .lm-services-clean-card__inner{
        min-height: 128px !important;
        padding: 18px 18px !important;
        border-radius: 22px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        background:
            radial-gradient(circle at 93% 13%, rgba(244, 234, 217, 0.68) 0%, rgba(244, 234, 217, 0.00) 36%),
            linear-gradient(180deg, #fffefc 0%, #fbf7ef 60%, #f4ead9 100%) !important;
    }

    .lm-services-clean-card__inner::before{
        inset: 10px !important;
        border-radius: 18px !important;
    }

    .lm-services-clean-card__number{
        top: 13px !important;
        right: 18px !important;
        font-size: 42px !important;
        opacity: .72 !important;
    }

    .lm-services-clean-card__top{
        width: 100% !important;
        padding: 0 !important;
        align-self: auto !important;
        text-align: center !important;
    }

    .lm-services-clean-card__title{
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        max-width: 100% !important;
        margin: 0 auto !important;

        font-size: clamp(20px, 5.3vw, 23px) !important;
        line-height: 1.18 !important;
        font-weight: 650 !important;
        letter-spacing: -0.052em !important;

        white-space: nowrap !important;
        text-align: center !important;
    }

    .lm-services-clean-card__title::before,
.lm-services-clean-card__title::after{
        content: "" !important;
        display: block !important;
        width: min(210px, 62vw) !important;
        height: 1px !important;
        margin-left: auto !important;
        margin-right: auto !important;

        background: linear-gradient(
            90deg,
            rgba(185,155,114,0.00) 0%,
            rgba(185,155,114,0.22) 22%,
            rgba(185,155,114,0.50) 50%,
            rgba(185,155,114,0.22) 78%,
            rgba(185,155,114,0.00) 100%
        ) !important;
        box-shadow: 0 1px 0 rgba(255,255,255,0.78) !important;
    }

    .lm-services-clean-card__title::before{
        margin-bottom: 13px !important;
        opacity: .78 !important;
    }

    .lm-services-clean-card__title::after{
        margin-top: 13px !important;
        opacity: .48 !important;
    }

    /* Старую центральную линию и описание на мобилке выключаем */
    .lm-services-clean-card__line,
.lm-services-clean-card__bottom,
.lm-services-clean-card__desc{
        display: none !important;
    }
}

@media (max-width: 390px){
    .lm-services-clean-card__inner{
        min-height: 122px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .lm-services-clean-card__title{
        font-size: clamp(18px, 5vw, 20px) !important;
        letter-spacing: -0.06em !important;
    }

    .lm-services-clean-card__title::before,
.lm-services-clean-card__title::after{
        width: min(190px, 58vw) !important;
    }
}

/* =========================================================
   ЛИДАМЕД — HOME SERVICES / PIPE FIX
   CSS не может удалить только символ | внутри текста.
   Безопасный CSS-вариант: скрываем описание в карточках услуг на главной,
   чтобы разделители | не светились.
   Если нужно оставить текст без | — нужен PHP str_replace в шаблоне главной.
   ========================================================= */

body.home .lm-home-services__text,
body.home .lm-home-services__text--top,
body.home .lm-home-services__text--bottom{
    display: none !important;
}

body.home .lm-home-services__content{
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

body.home .lm-home-services__title-text{
    margin-bottom: 0 !important;
}


/* =========================================================
   ЛИДАМЕД — УСЛУГИ / MOBILE PREMIUM TILES V10
   Мобилка: возвращаем описание, усиливаем отделение карточек от фона.
   Только CSS. PHP и taxonomy не трогаем.
   ========================================================= */

@media (max-width: 767px){
    .lm-services-clean-grid{
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-bottom: 34px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .lm-services-clean-card__inner{
        min-height: 178px !important;
        padding: 20px 16px 18px !important;
        border-radius: 24px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        background:
            radial-gradient(circle at 92% 12%, rgba(244, 234, 217, 0.82) 0%, rgba(244, 234, 217, 0.00) 38%),
            linear-gradient(180deg, #fffdf9 0%, #fbf5ec 58%, #f2e5d2 100%) !important;

        border: 1px solid rgba(185,155,114,0.30) !important;

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.96),
            inset 0 -1px 0 rgba(185,155,114,0.15),
            0 12px 28px rgba(54,45,34,0.12) !important;
    }

    .lm-services-clean-card__inner::before{
        inset: 10px !important;
        border-radius: 20px !important;
        border-color: rgba(185,155,114,0.18) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.78),
            inset 0 -10px 22px rgba(185,155,114,0.055) !important;
    }

    .lm-services-clean-card__number{
        top: 13px !important;
        right: 18px !important;
        font-size: 44px !important;
        opacity: .62 !important;
        z-index: 0 !important;
    }

    .lm-services-clean-card__top{
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        padding: 0 !important;
        align-self: auto !important;
        text-align: center !important;
    }

    .lm-services-clean-card__title{
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        max-width: 100% !important;
        margin: 0 auto !important;

        font-size: clamp(19px, 5.05vw, 22px) !important;
        line-height: 1.18 !important;
        font-weight: 650 !important;
        letter-spacing: -0.052em !important;

        white-space: nowrap !important;
        text-align: center !important;
        color: #342d27 !important;
    }

    .lm-services-clean-card__title::before,
.lm-services-clean-card__title::after{
        content: "" !important;
        display: block !important;
        width: min(235px, 70vw) !important;
        height: 1px !important;
        margin-left: auto !important;
        margin-right: auto !important;

        background: linear-gradient(
            90deg,
            rgba(185,155,114,0.00) 0%,
            rgba(185,155,114,0.24) 20%,
            rgba(185,155,114,0.58) 50%,
            rgba(185,155,114,0.24) 80%,
            rgba(185,155,114,0.00) 100%
        ) !important;
        box-shadow: 0 1px 0 rgba(255,255,255,0.78) !important;
    }

    .lm-services-clean-card__title::before{
        margin-bottom: 12px !important;
        opacity: .82 !important;
    }

    .lm-services-clean-card__title::after{
        margin-top: 12px !important;
        opacity: .62 !important;
    }

    /* Возвращаем описание на мобилке */
    .lm-services-clean-card__line{
        display: none !important;
    }

    .lm-services-clean-card__bottom{
        display: block !important;
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        padding: 13px 0 0 !important;
        align-self: auto !important;
        text-align: center !important;
    }

    .lm-services-clean-card__desc{
        display: block !important;
        width: 98% !important;
        max-width: 98% !important;
        margin: 0 auto !important;

        font-size: clamp(11px, 3.1vw, 12.4px) !important;
        line-height: 1.48 !important;
        letter-spacing: -0.012em !important;
        color: #756d65 !important;
        text-align: center !important;

        overflow: visible !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: unset !important;
    }

    .lm-services-clean-card__desc span{
        display: block !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .lm-services-clean-card__desc span:not(:last-child)::after{
        content: "" !important;
    }
}

@media (max-width: 390px){
    .lm-services-clean-card__inner{
        min-height: 172px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .lm-services-clean-card__title{
        font-size: clamp(18px, 4.85vw, 20px) !important;
        letter-spacing: -0.06em !important;
    }

    .lm-services-clean-card__desc{
        font-size: clamp(10.4px, 2.95vw, 11.4px) !important;
        line-height: 1.45 !important;
        letter-spacing: -0.018em !important;
    }

    .lm-services-clean-card__title::before,
.lm-services-clean-card__title::after{
        width: min(215px, 66vw) !important;
    }
}


/* =========================================================
   ЛИДАМЕД — HOME SERVICES PHOTO + MOBILE FOOTER v12
   Основа: v10. Без правки высоты плашек на главной.
   Только:
   1) главная — уменьшаем фото, плашки не трогаем;
   2) футер мобилки — зазор 18px.
   ========================================================= */


/* ---------------------------------------------------------
   01. Главная — услуги: плашки НЕ трогаем, уменьшаем только фото
   --------------------------------------------------------- */

/* Описания на главной скрываем, чтобы символы | не выводились */
body.home .lm-services-category-card__text,
body.home .lm-services-category-card__text--top,
body.home .lm-services-category-card__text--bottom,
body.home .lm-home-services__text,
body.home .lm-home-services__text--top,
body.home .lm-home-services__text--bottom{
    display: none !important;
}

/* Фото меньше, но без изменения высоты/ширины самих карточек */
body.home .lm-services-category-card__media,
body.home .lm-home-services .lm-services-category-card__media,
body.home .lm-home-services__media,
body.home .lm-home-service-card__media{
    flex: 0 0 clamp(82px, 5.9vw, 104px) !important;
    width: clamp(82px, 5.9vw, 104px) !important;
    height: clamp(82px, 5.9vw, 104px) !important;
    max-width: clamp(82px, 5.9vw, 104px) !important;
    max-height: clamp(82px, 5.9vw, 104px) !important;
}

body.home .lm-services-category-card__image,
body.home .lm-services-category-card__media img,
body.home .lm-home-services__image,
body.home .lm-home-service-card__image{
    width: clamp(82px, 5.9vw, 104px) !important;
    height: clamp(82px, 5.9vw, 104px) !important;
    max-width: clamp(82px, 5.9vw, 104px) !important;
    max-height: clamp(82px, 5.9vw, 104px) !important;
    object-fit: cover !important;
}

/* Убираем троеточия, но НЕ меняем размеры самих плашек */
body.home .lm-services-category-card__title,
body.home .lm-home-services .lm-services-category-card__title,
body.home .lm-home-services__title,
body.home .lm-home-services__title-text,
body.home .lm-home-service-card__title{
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: clamp(17px, 1.18vw, 24px) !important;
    letter-spacing: -0.055em !important;
    line-height: 1.12 !important;
}

body.home .lm-services-category-card__title *,
body.home .lm-home-services__title *,
body.home .lm-home-services__title-text *,
body.home .lm-home-service-card__title *{
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* Средний десктоп: ещё чуть меньше фото и текст */
@media (max-width: 1440px){
    body.home .lm-services-category-card__media,
body.home .lm-home-services .lm-services-category-card__media,
body.home .lm-home-services__media,
body.home .lm-home-service-card__media,
body.home .lm-services-category-card__image,
body.home .lm-services-category-card__media img,
body.home .lm-home-services__image,
body.home .lm-home-service-card__image{
        width: 88px !important;
        height: 88px !important;
        max-width: 88px !important;
        max-height: 88px !important;
        flex-basis: 88px !important;
    }

    body.home .lm-services-category-card__title,
body.home .lm-home-services .lm-services-category-card__title,
body.home .lm-home-services__title,
body.home .lm-home-services__title-text,
body.home .lm-home-service-card__title{
        font-size: clamp(16px, 1.08vw, 22px) !important;
    }
}


/* ---------------------------------------------------------
   02. Мобилка — футер: нормальный зазор 18px после legal-line/партнёров
   --------------------------------------------------------- */

@media (max-width: 767px){
    :root{
        --lm-before-legal-line-gap-mobile: 18px;
    }

    .lm-legal-line{
        margin-top: 18px !important;
        margin-bottom: 0 !important;
    }

    .lm-legal-line + .lm-footer-partners,
section.lm-footer-partners{
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .lm-footer-partners + footer,
.lm-footer-partners + .site-footer,
.lm-footer{
        margin-top: 0 !important;
        padding-top: 18px !important;
    }

    .lm-footer .container,
.lm-footer__inner,
.lm-footer__grid{
        margin-top: 0 !important;
    }
}


/* =========================================================
   ЛИДАМЕД — MOBILE FOOTER GAP FINAL v13
   Правка только мобильного футера.
   Цель: расстояние от строки 18+ до блока "Контакты" = 18px.
   ========================================================= */

@media (max-width: 767px){

    /* Строка 18+ сама не должна создавать нижний хвост */
    .lm-legal-line{
        margin-bottom: 0 !important;
        padding-top: 1px !important;
        padding-bottom: 1px !important;
    }

    /* Карусель партнёров между 18+ и футером на мобилке не должна давать воздух */
    .lm-legal-line + .lm-footer-partners,
section.lm-footer-partners{
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .lm-footer-partners .container,
.lm-footer-partners__viewport,
.lm-footer-partners__track,
.lm-footer-partners__group,
.lm-footer-partners__item{
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Главный зазор: ровно 18px между строкой 18+ и футером */
    .lm-footer{
        margin-top: 18px !important;
        padding-top: 0 !important;
    }

    .lm-footer .container,
.lm-footer .lm-container,
.lm-footer__inner{
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Мобильный аккордеон футера: убираем верхний внутренний хвост */
    .lm-footer-mobile{
        display: block !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .lm-footer-mobile__section:first-child,
.lm-footer-mobile__section--contacts,
.lm-footer-mobile__contacts{
        margin-top: 0 !important;
    }

    /* На случай, если первая карточка контактов имеет внешний отступ */
    .lm-footer-mobile > *:first-child{
        margin-top: 0 !important;
    }
}


/* =========================================================
   ЛИДАМЕД — ВНУТРЕННИЕ КАТЕГОРИИ УСЛУГ / WIDE CARDS v14
   Универсально для всех service_category.
   Дочерние категории: крупные горизонтальные карточки в одну колонку.
   Прямые услуги ниже идут обычными карточками услуг.
   ========================================================= */

.lm-subcategory-wide-list{
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0 0 30px;
}

.lm-subcategory-wide-card{
    display: block;
    text-decoration: none;
    color: inherit;
}

.lm-subcategory-wide-card__inner{
    display: grid;
    grid-template-columns: clamp(180px, 18vw, 225px) minmax(0, 1fr);
    gap: 0;
    min-height: 190px;
    padding: 16px;
    border-radius: 26px;

    background:
        radial-gradient(circle at 92% 18%, rgba(244,234,217,.55) 0%, rgba(244,234,217,0) 34%),
        linear-gradient(180deg, #fffefc 0%, #fbf7ef 58%, #f4ead9 100%);

    border: 1px solid rgba(185,155,114,.19);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.94),
        0 16px 38px rgba(48,42,36,.075);

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease,
        background .28s ease;
}

.lm-subcategory-wide-card:hover .lm-subcategory-wide-card__inner{
    transform: translateY(-3px);
    border-color: rgba(185,155,114,.32);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.97),
        0 24px 54px rgba(48,42,36,.12);
}

.lm-subcategory-wide-card__media{
    min-width: 0;
}

.lm-subcategory-wide-card__image{
    display: block;
    width: 100%;
    height: 100%;
    min-height: 158px;
    object-fit: cover;
    border-radius: 20px;

    background:
        linear-gradient(180deg, #fffdf9 0%, #f3eadc 100%);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.84),
        0 10px 26px rgba(48,42,36,.07);
}

.lm-subcategory-wide-card__image--empty{
    position: relative;
}

.lm-subcategory-wide-card__image--empty::before{
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 16px;
    border: 1px solid rgba(185,155,114,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.lm-subcategory-wide-card__content{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .58fr);
    gap: 24px;
    align-items: center;

    min-width: 0;
    padding: 12px 12px 12px 26px;
    margin-left: 18px;

    border-left: 1px solid rgba(185,155,114,.22);
}

.lm-subcategory-wide-card.no-features .lm-subcategory-wide-card__content{
    grid-template-columns: minmax(0, 1fr);
}

.lm-subcategory-wide-card__main{
    min-width: 0;
}

.lm-subcategory-wide-card__title{
    margin: 0;
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1.14;
    font-weight: 650;
    letter-spacing: -0.035em;
    color: #332d28;
    text-shadow: 0 1px 0 rgba(255,255,255,.62);
}

.lm-subcategory-wide-card__text{
    margin-top: 12px;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.66;
    color: #756d65;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lm-subcategory-wide-card__features{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    gap: 8px;
    min-width: 0;
}

.lm-subcategory-wide-card__features span{
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;

    border-radius: 999px;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(185,155,114,.18);

    color: #6f6257;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;

    box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.lm-archive-wide-list--after-subcategories{
    margin-top: 26px;
}

/* Мобилка: карточка становится вертикальной, фото сверху, затем текст/акценты */
@media (max-width: 767px){
    .lm-subcategory-wide-list{
        gap: 18px;
        margin-bottom: 26px;
    }

    .lm-subcategory-wide-card__inner{
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 14px;
        border-radius: 24px;
    }

    .lm-subcategory-wide-card__image{
        height: 190px;
        min-height: 190px;
        border-radius: 18px;
    }

    .lm-subcategory-wide-card__content{
        display: block;
        padding: 18px 4px 6px;
        margin-left: 0;
        border-left: 0;
    }

    .lm-subcategory-wide-card__title{
        font-size: 24px;
        line-height: 1.18;
        letter-spacing: -0.04em;
        text-align: center;
    }

    .lm-subcategory-wide-card__text{
        margin: 10px auto 0;
        max-width: 95%;
        font-size: 14px;
        line-height: 1.55;
        text-align: center;
        -webkit-line-clamp: 4;
    }

    .lm-subcategory-wide-card__features{
        justify-content: center;
        margin-top: 14px;
        gap: 7px;
    }

    .lm-subcategory-wide-card__features span{
        min-height: 28px;
        padding: 5px 10px;
        font-size: 12.5px;
    }
}


/* =========================================================
   ЛИДАМЕД — ВНУТРЕННИЕ КАТЕГОРИИ УСЛУГ / FEATURES LIST v15
   Правка правой зоны карточки:
   - вместо "кнопочек" делаем спокойный список в 2 колонки;
   - добавляем вертикальный разделитель между описанием и списком;
   - текст не растягивается, не увеличивает высоту, аккуратно ужимается.
   ========================================================= */

/* Правая зона: теперь не chips, а аккуратный контентный список */
.lm-subcategory-wide-card__features{
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: clamp(14px, 1.4vw, 24px) !important;
    row-gap: 9px !important;

    align-content: center !important;
    justify-content: start !important;

    min-width: 0 !important;
    padding-left: clamp(20px, 1.7vw, 30px) !important;
    margin-left: 2px !important;

    border-left: 1px solid rgba(185,155,114,.22) !important;
}

/* Убираем ощущение кнопок */
.lm-subcategory-wide-card__features span{
    position: relative !important;
    display: block !important;

    min-height: 0 !important;
    padding: 0 0 0 14px !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #6f6257 !important;
    font-size: clamp(12px, .82vw, 14px) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    font-weight: 500 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
}

/* Тихий маркер вместо плашки */
.lm-subcategory-wide-card__features span::before{
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: .62em !important;

    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;

    background: rgba(185,155,114,.62) !important;
    box-shadow: 0 0 0 3px rgba(185,155,114,.08) !important;
    transform: translateY(-50%) !important;
}

/* Чуть больше воздуха у центрального текста, чтобы не спорил со списком */
.lm-subcategory-wide-card.has-features .lm-subcategory-wide-card__content{
    grid-template-columns: minmax(0, 1fr) minmax(210px, .52fr) !important;
    gap: clamp(20px, 1.7vw, 30px) !important;
}

/* Название и описание остаются основной зоной */
.lm-subcategory-wide-card__title{
    max-width: 100% !important;
}

.lm-subcategory-wide-card__text{
    max-width: 680px !important;
}

/* На средних экранах держим одну строку элементов списка и немного ужимаем */
@media (max-width: 1400px){
    .lm-subcategory-wide-card.has-features .lm-subcategory-wide-card__content{
        grid-template-columns: minmax(0, 1fr) minmax(190px, .5fr) !important;
        gap: 20px !important;
    }

    .lm-subcategory-wide-card__features{
        column-gap: 14px !important;
        padding-left: 20px !important;
    }

    .lm-subcategory-wide-card__features span{
        font-size: 12.5px !important;
        letter-spacing: -0.02em !important;
    }
}

/* Планшет: если места мало, список остаётся справа, но мягче */
@media (max-width: 1100px) and (min-width: 768px){
    .lm-subcategory-wide-card__inner{
        grid-template-columns: 160px minmax(0, 1fr) !important;
    }

    .lm-subcategory-wide-card.has-features .lm-subcategory-wide-card__content{
        grid-template-columns: minmax(0, 1fr) minmax(170px, .48fr) !important;
        padding-left: 20px !important;
        margin-left: 14px !important;
        gap: 16px !important;
    }

    .lm-subcategory-wide-card__features{
        grid-template-columns: 1fr !important;
        row-gap: 7px !important;
        padding-left: 16px !important;
    }

    .lm-subcategory-wide-card__features span{
        font-size: 12px !important;
    }
}

/* Мобилка: фото сверху, затем заголовок/описание, список ниже без вертикальной линии */
@media (max-width: 767px){
    .lm-subcategory-wide-card__features{
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 14px !important;
        row-gap: 8px !important;

        width: min(94%, 330px) !important;
        margin: 14px auto 0 !important;
        padding: 13px 0 0 !important;

        border-left: 0 !important;
        border-top: 1px solid rgba(185,155,114,.20) !important;
    }

    .lm-subcategory-wide-card__features span{
        font-size: 12.2px !important;
        line-height: 1.25 !important;
        text-align: left !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: clip !important;
    }
}

/* Очень узкие телефоны: список в одну колонку, чтобы не крошился */
@media (max-width: 390px){
    .lm-subcategory-wide-card__features{
        grid-template-columns: 1fr !important;
        width: min(90%, 280px) !important;
        row-gap: 7px !important;
    }

    .lm-subcategory-wide-card__features span{
        font-size: 12px !important;
    }
}


/* =========================================================
   ЛИДАМЕД — ВНУТРЕННИЕ КАТЕГОРИИ УСЛУГ / MOBILE FEATURES v16
   Мобилка: правый список подкатегории всегда в 2 колонки,
   чтобы 6 пунктов складывались как 3 + 3, а не вытягивались в 6 строк.
   ========================================================= */

@media (max-width: 767px){
    .lm-subcategory-wide-card__features{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: min(92%, 320px) !important;
        column-gap: 22px !important;
        row-gap: 8px !important;
        justify-content: center !important;
        align-content: center !important;
        justify-items: start !important;
    }

    .lm-subcategory-wide-card__features span{
        width: 100% !important;
        font-size: clamp(11.6px, 3.15vw, 12.4px) !important;
        line-height: 1.22 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: clip !important;
    }
}

/* Даже на очень узких телефонах оставляем 2 колонки */
@media (max-width: 390px){
    .lm-subcategory-wide-card__features{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: min(94%, 310px) !important;
        column-gap: 18px !important;
        row-gap: 8px !important;
    }

    .lm-subcategory-wide-card__features span{
        font-size: clamp(11px, 3vw, 11.8px) !important;
        padding-left: 12px !important;
    }

    .lm-subcategory-wide-card__features span::before{
        width: 4px !important;
        height: 4px !important;
        box-shadow: 0 0 0 2px rgba(185,155,114,.08) !important;
    }
}


/* =========================================================
   ЛИДАМЕД — ВНУТРЕННИЕ КАТЕГОРИИ УСЛУГ / MOBILE TEXT LEFT v17
   Мобилка: краткое описание подкатегории по левому краю,
   чтобы оно совпадало по логике с нижним списком.
   ========================================================= */

@media (max-width: 767px){
    .lm-subcategory-wide-card__text{
        width: min(92%, 320px) !important;
        max-width: min(92%, 320px) !important;
        margin: 10px auto 0 !important;
        text-align: left !important;
    }
}

@media (max-width: 390px){
    .lm-subcategory-wide-card__text{
        width: min(94%, 310px) !important;
        max-width: min(94%, 310px) !important;
    }
}


/* =========================================================
   ЛИДАМЕД — GLOBAL FRESH PEARL + HEADER NAV RESTORE v18
   1) Возвращаем молочно-жемчужный фон без грязного бежа.
   2) Убираем прямоугольники у активного пункта верхнего меню.
   3) Возвращаем только мягкое premium-подчёркивание.
   ========================================================= */


/* ---------------------------------------------------------
   01. Единый фон сайта — светлее, свежее, меньше бежевого
   --------------------------------------------------------- */

:root{
    --lm-site-bg:
        radial-gradient(circle at 50% -260px,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,0.99) 34%,
            rgba(253,251,247,0.96) 64%,
            rgba(248,244,237,0.90) 100%
        ),
        linear-gradient(180deg,
            #ffffff 0%,
            #fffefd 28%,
            #fbfaf6 64%,
            #f6f1e8 100%
        );

    --lm-site-bg-mobile:
        radial-gradient(circle at 50% -120px,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,0.98) 32%,
            rgba(253,250,245,0.94) 66%,
            rgba(247,241,231,0.92) 100%
        ),
        linear-gradient(180deg,
            #ffffff 0%,
            #fffdf9 46%,
            #f7f1e8 100%
        );
}

html,
body{
    background: var(--lm-site-bg) !important;
    background-attachment: fixed !important;
}

body.home,
body.front-page,
body.post-type-archive-uslugi,
body.tax-service_category,
body.single-uslugi,
body.post-type-archive-preparations,
body.tax-preparation_brand,
body.single-preparations,
body.post-type-archive-aktsii,
body.single-aktsii,
body.post-type-archive-news,
body.single-news,
body.post-type-archive-articles,
body.single-articles,
body.page,
body.archive,
body.single{
    background: var(--lm-site-bg) !important;
    background-attachment: fixed !important;
}

/* Архивы и внутренние страницы: единая молочно-жемчужная база */
body.post-type-archive-uslugi main.site-main,
body.tax-service_category main.site-main,
body.single-uslugi main.site-main,
body.post-type-archive-preparations main.site-main,
body.tax-preparation_brand main.site-main,
body.single-preparations main.site-main,
body.post-type-archive-aktsii main.site-main,
body.single-aktsii main.site-main,
body.post-type-archive-news main.site-main,
body.single-news main.site-main,
body.post-type-archive-articles main.site-main,
body.single-articles main.site-main,
body.page main.site-main,
body.archive main.site-main,
body.single main.site-main{
    background: var(--lm-site-bg) !important;
    background-attachment: fixed !important;
}

/* Мобилка — без fixed, чтобы фон не дёргался */
@media (max-width: 767px){
    html,
body,
body.home,
body.front-page,
body.post-type-archive-uslugi,
body.tax-service_category,
body.single-uslugi,
body.post-type-archive-preparations,
body.tax-preparation_brand,
body.single-preparations,
body.post-type-archive-aktsii,
body.single-aktsii,
body.post-type-archive-news,
body.single-news,
body.post-type-archive-articles,
body.single-articles,
body.page,
body.archive,
body.single{
        background: var(--lm-site-bg-mobile) !important;
        background-attachment: scroll !important;
    }

    body.post-type-archive-uslugi main.site-main,
body.tax-service_category main.site-main,
body.single-uslugi main.site-main,
body.post-type-archive-preparations main.site-main,
body.tax-preparation_brand main.site-main,
body.single-preparations main.site-main,
body.post-type-archive-aktsii main.site-main,
body.single-aktsii main.site-main,
body.post-type-archive-news main.site-main,
body.single-news main.site-main,
body.post-type-archive-articles main.site-main,
body.single-articles main.site-main,
body.page main.site-main,
body.archive main.site-main,
body.single main.site-main{
        background: var(--lm-site-bg-mobile) !important;
        background-attachment: scroll !important;
    }
}


/* ---------------------------------------------------------
   02. Верхнее меню — убрать прямоугольники, оставить подчёркивание
   --------------------------------------------------------- */

@media (min-width: 768px){
    .lm-header-menu .lm-menu > li > a,
.lm-header-menu .lm-menu > li > a:hover,
.lm-header-menu .lm-menu > li.current-menu-item > a,
.lm-header-menu .lm-menu > li.current-menu-parent > a,
.lm-header-menu .lm-menu > li.current-menu-ancestor > a,
.lm-header-menu .lm-menu > li.current_page_item > a,
.lm-header-menu .lm-menu > li.current_page_parent > a,
.lm-header-menu .lm-menu > li.current_page_ancestor > a{
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .lm-header-menu .lm-menu > li > a{
        position: relative !important;
        color: #4f4840 !important;
        text-decoration: none !important;
    }

    .lm-header-menu .lm-menu > li > a:hover,
.lm-header-menu .lm-menu > li.current-menu-item > a,
.lm-header-menu .lm-menu > li.current-menu-parent > a,
.lm-header-menu .lm-menu > li.current-menu-ancestor > a,
.lm-header-menu .lm-menu > li.current_page_item > a,
.lm-header-menu .lm-menu > li.current_page_parent > a,
.lm-header-menu .lm-menu > li.current_page_ancestor > a{
        color: #2f2b27 !important;
    }

    .lm-header-menu .lm-menu > li > a::after{
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        bottom: -7px !important;

        width: 0 !important;
        height: 2px !important;
        border-radius: 999px !important;

        transform: translateX(-50%) !important;
        margin: 0 !important;

        background:
            linear-gradient(90deg,
                rgba(185,155,114,0.00) 0%,
                rgba(185,155,114,0.46) 22%,
                rgba(91,71,48,0.68) 50%,
                rgba(185,155,114,0.46) 78%,
                rgba(185,155,114,0.00) 100%
            ) !important;

        box-shadow: 0 2px 8px rgba(91,71,48,0.10) !important;
        opacity: 0 !important;
        transition: width .22s ease, opacity .22s ease !important;
    }

    .lm-header-menu .lm-menu > li > a:hover::after,
.lm-header-menu .lm-menu > li.current-menu-item > a::after,
.lm-header-menu .lm-menu > li.current-menu-parent > a::after,
.lm-header-menu .lm-menu > li.current-menu-ancestor > a::after,
.lm-header-menu .lm-menu > li.current_page_item > a::after,
.lm-header-menu .lm-menu > li.current_page_parent > a::after,
.lm-header-menu .lm-menu > li.current_page_ancestor > a::after{
        width: 62px !important;
        opacity: 1 !important;
    }
}


/* =========================================================
   ЛИДАМЕД — ПРАЙС / GROUP TITLES + QUICK NAV v19
   Секции "Услуги" / "Препараты" крупнее, жирнее и с воздухом.
   Под датой — две premium-кнопки быстрой навигации.
   ========================================================= */

.lidamed-price .lm-price-actual-date{
    margin-bottom: 18px !important;
}

.lidamed-price .lm-price-quick-nav{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;

    max-width: 520px !important;
    margin: 0 auto 28px !important;
}

.lidamed-price .lm-price-quick-nav__button{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 46px !important;
    padding: 12px 22px !important;

    border-radius: 999px !important;
    border: 1px solid rgba(185,155,114,.34) !important;

    background:
        linear-gradient(180deg, #fffefb 0%, #fbf5ea 56%, #f1e2ca 100%) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.92),
        0 12px 28px rgba(65,52,38,.08) !important;

    color: #5f503f !important;
    font-size: 15px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        color .22s ease !important;
}

.lidamed-price .lm-price-quick-nav__button:hover{
    transform: translateY(-2px) !important;
    border-color: rgba(155,125,78,.52) !important;
    color: #332b24 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.96),
        0 18px 38px rgba(65,52,38,.12) !important;
}

/* Отступ при переходе по якорю, чтобы секцию не прятало под шапку */
.lidamed-price .lm-price-group{
    scroll-margin-top: 150px !important;
}

.lidamed-price .lm-price-group + .lm-price-group{
    margin-top: 34px !important;
}

.lidamed-price .lm-price-group-title{
    display: block !important;
    margin: 0 0 14px !important;
    padding: 0 6px !important;

    color: #a98a57 !important;
    font-size: clamp(23px, 1.65vw, 30px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: .01em !important;
    font-style: normal !important;
}

.lidamed-price .lm-price-group-title::after{
    content: "" !important;
    display: block !important;

    width: 120px !important;
    height: 1px !important;
    margin-top: 10px !important;

    background: linear-gradient(
        90deg,
        rgba(185,155,114,.58) 0%,
        rgba(185,155,114,.22) 58%,
        rgba(185,155,114,0) 100%
    ) !important;
}

.lidamed-price .lm-price-group .price-category:first-of-type,
.lidamed-price .lm-price-group .price-subcategory:first-of-type{
    margin-top: 0 !important;
}

.lidamed-price .lm-price-group .price-category,
.lidamed-price .lm-price-group .price-subcategory{
    margin-bottom: 14px !important;
}

@media (max-width: 767px){
    .lidamed-price .lm-price-actual-date{
        margin-bottom: 14px !important;
    }

    .lidamed-price .lm-price-quick-nav{
        gap: 10px !important;
        max-width: 100% !important;
        margin-bottom: 22px !important;
    }

    .lidamed-price .lm-price-quick-nav__button{
        min-height: 42px !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
        letter-spacing: .035em !important;
    }

    .lidamed-price .lm-price-group{
        scroll-margin-top: 96px !important;
    }

    .lidamed-price .lm-price-group + .lm-price-group{
        margin-top: 28px !important;
    }

    .lidamed-price .lm-price-group-title{
        margin-bottom: 12px !important;
        font-size: 24px !important;
        padding-left: 2px !important;
    }

    .lidamed-price .lm-price-group-title::after{
        width: 92px !important;
        margin-top: 8px !important;
    }
}


/* =========================================================
   ЛИДАМЕД — ПРАЙС / COLOR MATCH v20
   Цвет заголовков и кнопок прайса в тон строке "Цены актуальны..."
   ========================================================= */

.lidamed-price .lm-price-group-title{
    color: #8c7352 !important;
}

.lidamed-price .lm-price-group-title::after{
    background: linear-gradient(
        90deg,
        rgba(140,115,82,.58) 0%,
        rgba(140,115,82,.24) 58%,
        rgba(140,115,82,0) 100%
    ) !important;
}

.lidamed-price .lm-price-quick-nav__button{
    color: #8c7352 !important;
    border-color: rgba(140,115,82,.32) !important;
}

.lidamed-price .lm-price-quick-nav__button:hover{
    color: #5f503f !important;
    border-color: rgba(140,115,82,.48) !important;
}


/* =========================================================
   ЛИДАМЕД — ПРАЙС / SOFT GROUP TITLES v21
   Заголовки "Услуги" / "Препараты" делаем тише:
   ближе к премиальному телефону в шапке, без тяжёлого коричневого пятна.
   ========================================================= */

.lidamed-price .lm-price-group-title{
    color: #8f8678 !important;
    font-size: clamp(22px, 1.45vw, 27px) !important;
    line-height: 1.15 !important;
    font-weight: 750 !important;
    letter-spacing: .015em !important;
    font-style: normal !important;

    text-shadow:
        0 1px 0 rgba(255,255,255,.92),
        0 8px 22px rgba(90,74,54,.10) !important;
}

.lidamed-price .lm-price-group-title::after{
    width: 104px !important;
    height: 1px !important;
    margin-top: 9px !important;

    background: linear-gradient(
        90deg,
        rgba(143,134,120,.42) 0%,
        rgba(185,155,114,.22) 54%,
        rgba(185,155,114,0) 100%
    ) !important;
}

/* Чуть больше воздуха перед секциями, чтобы заголовок не давил на аккордеон */
.lidamed-price .lm-price-group-title + .price-category,
.lidamed-price .lm-price-group-title + .price-subcategory{
    margin-top: 2px !important;
}

/* Кнопки оставляем champagne, но тоже чуть тише */
.lidamed-price .lm-price-quick-nav__button{
    color: #7f7468 !important;
    border-color: rgba(143,134,120,.28) !important;
}

.lidamed-price .lm-price-quick-nav__button:hover{
    color: #5f554b !important;
    border-color: rgba(143,134,120,.44) !important;
}

@media (max-width: 767px){
    .lidamed-price .lm-price-group-title{
        font-size: 23px !important;
        font-weight: 750 !important;
        letter-spacing: .01em !important;
    }

    .lidamed-price .lm-price-group-title::after{
        width: 88px !important;
        margin-top: 8px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — MULTI PRICE SERVICE SYSTEM
   Множественные цены услуг + детализация в прайсе
   ========================================================= */

.lm-service-prices-block{
    margin: 28px 0 30px;
}

.lm-service-prices-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lm-service-prices-list__row{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(32px, 1fr) auto;
    gap: 12px;
    align-items: baseline;
    padding: 14px 16px;
    border: 1px solid rgba(185, 155, 114, 0.16);
    border-radius: 16px;
    background: rgba(255,255,255,0.72);
}

.lm-service-prices-list__title{
    min-width: 0;
    font-size: 15px;
    line-height: 1.45;
    color: #3f3b36;
}

.lm-service-prices-list__dots{
    min-width: 24px;
    height: 1px;
    border-bottom: 1px dotted rgba(137, 122, 104, 0.34);
}

.lm-service-prices-list__price{
    white-space: nowrap;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: #2f2f2f;
}

.lm-price-row-has-details{
    display: block;
    text-decoration: none;
}

.lm-price-row-toggle{
    width: 100%;
    border: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.lm-price-row-toggle .price-item-top{
    width: 100%;
}

.lm-price-row-toggle__icon{
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: #a28d70;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
}

.lm-price-row-details{
    margin: -2px 0 10px;
    padding: 8px 14px 12px;
    border-radius: 0 0 18px 18px;
    background: rgba(255,255,255,0.58);
}

.lm-price-row-detail{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(28px, 1fr) auto;
    gap: 10px;
    align-items: baseline;
    padding: 9px 4px;
    color: inherit;
    text-decoration: none;
}

.lm-price-row-detail + .lm-price-row-detail{
    border-top: 1px solid rgba(185, 155, 114, 0.11);
}

.lm-price-row-detail__title{
    min-width: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #5d554c;
}

.lm-price-row-detail__dots{
    height: 1px;
    border-bottom: 1px dotted rgba(137, 122, 104, 0.3);
}

.lm-price-row-detail__price{
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    color: #3a352f;
}

@media (max-width: 767px){
    .lm-service-prices-list__row,
.lm-price-row-detail{
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
    }

    .lm-service-prices-list__dots,
.lm-price-row-detail__dots{
        display: none;
    }

    .lm-service-prices-list__row{
        padding: 13px 14px;
    }

    .lm-price-row-details{
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* =========================================================
   ЛИДАМЕД — MULTI PRICE SERVICE SYSTEM / FINAL ADMIN + PRICE REFINES
   Финальная логика множественных цен услуг
   ========================================================= */

.lm-service-prices-list__meta,
.lm-price-row-detail__meta{
    display: block;
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 400;
    color: #8a8176;
}

.lm-price-row-toggle{
    background: transparent;
    padding: 0;
}

.lm-price-row-toggle[aria-expanded="true"] .lm-price-row-toggle__icon{
    transform: rotate(180deg);
}

.lm-price-row-detail__title{
    display: block;
}


/* =========================================================
   ЛИДАМЕД — SINGLE USLUGI / INNER SECTIONS FIELD FIX
   Возвращаем поля после перестановки блоков single-услуги.
   Только CSS. Без PHP/JS и без изменения логики.
   ========================================================= */

body.single-uslugi .lm-service-specs,
body.single-uslugi .lm-service-prices-block,
body.single-uslugi .lm-specialists,
body.single-uslugi .lm-specialists--inside,
body.single-uslugi .lm-specialists-linked-block--inside,
body.single-uslugi .lm-service-cabinets-block,
body.single-uslugi .lm-service-cabinets-block--inside,
body.single-uslugi .lm-cabinets-linked-block--inside{
  margin-left: 24px !important;
  margin-right: 24px !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px){
  body.single-uslugi .lm-service-specs,
body.single-uslugi .lm-service-prices-block,
body.single-uslugi .lm-specialists,
body.single-uslugi .lm-specialists--inside,
body.single-uslugi .lm-specialists-linked-block--inside,
body.single-uslugi .lm-service-cabinets-block,
body.single-uslugi .lm-service-cabinets-block--inside,
body.single-uslugi .lm-cabinets-linked-block--inside{
    margin-left: 14px !important;
    margin-right: 14px !important;
  }
}


/* =========================================================
   ЛИДАМЕД — SINGLE PREPARATIONS / PRICE TITLE MARKER
   Заголовок блока стоимости в препаратах приводим к стилю секций.
   Только CSS. Без изменения строк стоимости и логики цен.
   ========================================================= */

body.single-preparations .lm-service-prices-block .lm-service-section-title{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 26px 0 12px !important;
  padding: 0 !important;
  color: var(--lm-prep-luxe-ink-soft) !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
}

body.single-preparations .lm-service-prices-block .lm-service-section-title::before{
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 9px !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #c5a978 !important;
  box-shadow: 0 0 0 5px rgba(197, 169, 120, 0.13) !important;
}

/* =========================================================
   ЛИДАМЕД — PRICE PAGE / DETAIL ROWS SAME STANDARD
   Раскрытые строки прайса приводим к виду верхних строк:
   название слева, мета справа перед ценой, без центральных точек.
   Только CSS. Без PHP, без логики цен, без админки.
   ========================================================= */

.lidamed-price .lm-price-row-detail{
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) auto auto !important;
  column-gap: 14px !important;
  align-items: baseline !important;
}

.lidamed-price .lm-price-row-detail__title{
  display: flex !important;
  align-items: baseline !important;
  min-width: 0 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #5d554c !important;
}

.lidamed-price .lm-price-row-detail .lm-price-row-detail__meta,
.lidamed-price .lm-price-row-detail .lm-service-prices-list__meta{
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin: 0 0 0 auto !important;
  padding-left: 22px !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  color: #8a8074 !important;
  text-align: right !important;
}

.lidamed-price .lm-price-row-detail__dots{
  display: none !important;
}

.lidamed-price .lm-price-row-detail__price{
  min-width: 58px !important;
  white-space: nowrap !important;
  text-align: right !important;
}

@media (max-width: 767px){
  .lidamed-price .lm-price-row-detail{
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px 12px !important;
  }

  .lidamed-price .lm-price-row-detail__title{
    display: block !important;
  }

  .lidamed-price .lm-price-row-detail .lm-price-row-detail__meta,
.lidamed-price .lm-price-row-detail .lm-service-prices-list__meta{
    display: block !important;
    margin: 3px 0 0 !important;
    padding-left: 0 !important;
    white-space: normal !important;
    text-align: left !important;
  }
}

/* =========================================================
   ЛИДАМЕД — 404 PREMIUM PAINT FINAL
   Только визуальная покраска страницы ошибки 404
   ========================================================= */

.lm-404-page{
    padding: 30px 0 56px !important;
    background:
        radial-gradient(circle at 10% 0%, rgba(244,234,217,.34), transparent 30%),
        radial-gradient(circle at 96% 18%, rgba(255,255,255,.88), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fdfbf8 48%, #fbf7ef 100%) !important;
}

.lm-404-wrap{
    position: relative !important;
}

.lm-404-card{
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(216,195,165,.38) !important;
    border-radius: 34px !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 48%, rgba(251,247,239,.92) 100%) !important;
    box-shadow:
        0 26px 70px rgba(48,42,36,.10),
        0 8px 22px rgba(48,42,36,.06),
        inset 0 1px 0 rgba(255,255,255,.92) !important;
}

.lm-404-card::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,.22) 0%, transparent 38%, rgba(244,234,217,.28) 100%);
    z-index: 1;
}

.lm-404-grid{
    position: relative !important;
    z-index: 2 !important;
    min-height: 520px !important;
}

.lm-404-left{
    background:
        radial-gradient(circle at 8% 12%, rgba(244,234,217,.42), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.90) 100%) !important;
}

.lm-404-badge{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 34px !important;
    padding: 0 15px !important;
    border: 1px solid rgba(216,195,165,.42) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 62%, #f4ead9 100%) !important;
    box-shadow:
        0 10px 22px rgba(48,42,36,.06),
        inset 0 1px 0 rgba(255,255,255,.92) !important;
    color: #6d6255 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

.lm-404-badge::before{
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d8c3a5 0%, #b99b72 100%);
    box-shadow: 0 0 0 4px rgba(216,195,165,.18);
}

.lm-404-code{
    color: #202020 !important;
    text-shadow: 0 12px 34px rgba(48,42,36,.08) !important;
}

.lm-404-title{
    color: #242424 !important;
    letter-spacing: -.02em !important;
}

.lm-404-text{
    color: #6f6a64 !important;
}

.lm-404-btn{
    min-height: 50px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    letter-spacing: .045em !important;
}

.lm-404-btn-primary{
    border: 1px solid rgba(255,255,255,.18) !important;
    background: linear-gradient(135deg, #343434 0%, #1f1f1f 52%, #111111 100%) !important;
    color: #ffffff !important;
    box-shadow:
        0 16px 34px rgba(24,24,24,.22),
        inset 0 1px 0 rgba(255,255,255,.16) !important;
}

.lm-404-btn-primary:hover{
    transform: translateY(-2px) !important;
    background: linear-gradient(135deg, #242424 0%, #151515 100%) !important;
    box-shadow:
        0 20px 42px rgba(24,24,24,.28),
        inset 0 1px 0 rgba(255,255,255,.14) !important;
}

.lm-404-btn-secondary{
    border: 1px solid rgba(216,195,165,.36) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 58%, #f4ead9 100%) !important;
    color: #3f3b36 !important;
    box-shadow:
        0 12px 26px rgba(48,42,36,.07),
        inset 0 1px 0 rgba(255,255,255,.92) !important;
}

.lm-404-btn-secondary:hover{
    transform: translateY(-2px) !important;
    border-color: rgba(185,155,114,.44) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8f1e6 100%) !important;
    color: #242424 !important;
    box-shadow:
        0 16px 34px rgba(48,42,36,.10),
        inset 0 1px 0 rgba(255,255,255,.96) !important;
}

.lm-404-links-title{
    color: #2f2f2f !important;
}

.lm-404-links a{
    min-height: 50px !important;
    border: 1px solid rgba(216,195,165,.34) !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 56%, #f4ead9 100%) !important;
    box-shadow:
        0 10px 24px rgba(48,42,36,.055),
        inset 0 1px 0 rgba(255,255,255,.92) !important;
    color: #4b4640 !important;
}

.lm-404-links a:hover{
    transform: translateY(-2px) !important;
    border-color: rgba(185,155,114,.44) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8f1e6 100%) !important;
    color: #1f1f1f !important;
    box-shadow:
        0 16px 34px rgba(48,42,36,.09),
        inset 0 1px 0 rgba(255,255,255,.96) !important;
}

.lm-404-right{
    background:
        radial-gradient(circle at 78% 14%, rgba(255,255,255,.78), transparent 23%),
        radial-gradient(circle at 20% 90%, rgba(255,255,255,.30), transparent 24%),
        linear-gradient(135deg, #fbf7ef 0%, #f4ead9 45%, #dcc7a7 100%) !important;
    color: rgba(255,255,255,.88) !important;
}

.lm-404-right::before{
    border-color: rgba(255,255,255,.48) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.34),
        0 18px 70px rgba(185,155,114,.12) !important;
}

.lm-404-glow{
    background: radial-gradient(circle, rgba(255,255,255,.66) 0%, rgba(255,255,255,0) 68%) !important;
}

.lm-404-decor-number{
    color: rgba(255,255,255,.90) !important;
    text-shadow: 0 14px 44px rgba(120,92,58,.16) !important;
}

.lm-404-decor-text{
    color: rgba(255,255,255,.96) !important;
    text-shadow: 0 8px 24px rgba(120,92,58,.12) !important;
}

.lm-404-silhouette{
    color: rgba(255,255,255,.72) !important;
    opacity: .20 !important;
}

@media (max-width: 1199px){
    .lm-404-grid{
        min-height: 0 !important;
    }
}

@media (max-width: 767px){
    .lm-404-page{
        padding: 18px 0 34px !important;
    }

    .lm-404-card{
        border-radius: 24px !important;
    }

    .lm-404-badge{
        min-height: 32px !important;
        padding: 0 13px !important;
        font-size: 11px !important;
    }

    .lm-404-btn{
        width: 100% !important;
    }

    .lm-404-links a{
        min-height: 48px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — 404 PREMIUM MICRO REFINES
   Правка: тёплая 404, одна точка в бейдже, primary в тон синглов
   ========================================================= */

.lm-404-badge::before{
    content: none !important;
    display: none !important;
}

.lm-404-badge :where(.lm-404-badge__dot, .lm-404-badge-dot, .lm-badge-dot, .badge-dot),
.lm-404-badge > span:first-child:empty,
.lm-404-badge > i:first-child:empty{
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    display: inline-flex !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #d8c3a5 0%, #b99b72 100%) !important;
    box-shadow: 0 0 0 4px rgba(216,195,165,.20) !important;
    border: 0 !important;
}

.lm-404-code{
    color: #b99b72 !important;
    background: linear-gradient(135deg, #cdb48d 0%, #b99b72 48%, #8f7658 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
}

.lm-404-btn-primary{
    border: 1px solid rgba(185,155,114,.42) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f4ead9 45%, #d8c3a5 100%) !important;
    color: #3d352b !important;
    box-shadow:
        0 16px 34px rgba(120,92,58,.18),
        inset 0 1px 0 rgba(255,255,255,.94) !important;
}

.lm-404-btn-primary:hover{
    transform: translateY(-2px) !important;
    border-color: rgba(185,155,114,.54) !important;
    background: linear-gradient(180deg, #fbf7ef 0%, #eadcc4 46%, #cdb48d 100%) !important;
    color: #28231d !important;
    box-shadow:
        0 20px 42px rgba(120,92,58,.22),
        inset 0 1px 0 rgba(255,255,255,.92) !important;
}

.lm-404-btn-primary:focus-visible,
.lm-404-btn-secondary:focus-visible,
.lm-404-links a:focus-visible{
    outline: 2px solid rgba(185,155,114,.48) !important;
    outline-offset: 3px !important;
}

/* =========================================================
   ЛИДАМЕД — ARCHIVE ARTICLES CATEGORY DROPDOWN
   Единый выпадающий выбор раздела вместо россыпи кнопок
   ========================================================= */

body.post-type-archive-articles .articles-archive-header,
body.tax-article_category .articles-archive-header{
    position: relative !important;
    z-index: 30 !important;
    margin-bottom: 28px !important;
}

body.post-type-archive-articles .articles-category-select,
body.tax-article_category .articles-category-select{
    position: relative !important;
    z-index: 40 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 18px 0 28px !important;
    box-sizing: border-box !important;
}

body.post-type-archive-articles .articles-category-select__dropdown,
body.tax-article_category .articles-category-select__dropdown{
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.post-type-archive-articles .articles-category-select__summary,
body.tax-article_category .articles-category-select__summary{
    position: relative !important;
    min-height: 52px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 64px 0 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 1px solid rgba(216, 195, 165, 0.62) !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbf7ef 52%, #f4ead9 100%) !important;
    color: #403a32 !important;
    box-shadow:
        0 12px 28px rgba(48, 42, 36, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
    cursor: pointer !important;
    list-style: none !important;
    user-select: none !important;
    overflow: hidden !important;
    transition: border-color .22s ease, box-shadow .22s ease, background .22s ease, transform .22s ease !important;
}

body.post-type-archive-articles .articles-category-select__summary::-webkit-details-marker,
body.tax-article_category .articles-category-select__summary::-webkit-details-marker{
    display: none !important;
}

body.post-type-archive-articles .articles-category-select__summary:hover,
body.tax-article_category .articles-category-select__summary:hover,
body.post-type-archive-articles .articles-category-select__dropdown[open] .articles-category-select__summary,
body.tax-article_category .articles-category-select__dropdown[open] .articles-category-select__summary{
    background:
        linear-gradient(180deg, #ffffff 0%, #fbf7ef 48%, #f4ead9 100%) !important;
    border-color: rgba(216, 195, 165, 0.76) !important;
    box-shadow:
        0 16px 34px rgba(48, 42, 36, 0.11),
        inset 0 1px 0 rgba(255,255,255,0.95) !important;
}

body.post-type-archive-articles .articles-category-select__label,
body.tax-article_category .articles-category-select__label{
    min-width: 0 !important;
    color: inherit !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.post-type-archive-articles .articles-category-select__arrow,
body.tax-article_category .articles-category-select__arrow{
    position: absolute !important;
    right: 26px !important;
    top: 50% !important;
    width: 10px !important;
    height: 10px !important;
    border-right: 2px solid rgba(64, 58, 50, 0.70) !important;
    border-bottom: 2px solid rgba(64, 58, 50, 0.70) !important;
    transform: translateY(-65%) rotate(45deg) !important;
    transition: transform .22s ease !important;
}

body.post-type-archive-articles .articles-category-select__dropdown[open] .articles-category-select__arrow,
body.tax-article_category .articles-category-select__dropdown[open] .articles-category-select__arrow{
    transform: translateY(-35%) rotate(-135deg) !important;
}

body.post-type-archive-articles .articles-category-select__list,
body.tax-article_category .articles-category-select__list{
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 10px) !important;
    z-index: 100 !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(216, 195, 165, 0.42) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(251,247,239,0.99) 52%, rgba(244,234,217,0.99) 100%) !important;
    box-shadow:
        0 24px 56px rgba(48, 42, 36, 0.13),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
}

body.post-type-archive-articles .articles-category-select__link,
body.tax-article_category .articles-category-select__link{
    min-height: 42px !important;
    padding: 10px 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
    border: 1px solid rgba(216, 195, 165, 0.28) !important;
    background: rgba(255, 255, 255, 0.68) !important;
    color: #4f473d !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

body.post-type-archive-articles .articles-category-select__link:hover,
body.tax-article_category .articles-category-select__link:hover{
    transform: translateY(-1px) !important;
    background: #ffffff !important;
    border-color: rgba(216, 195, 165, 0.52) !important;
    box-shadow: 0 10px 22px rgba(48, 42, 36, 0.07) !important;
    color: #3f3528 !important;
}

body.post-type-archive-articles .articles-category-select__link.is-active,
body.tax-article_category .articles-category-select__link.is-active{
    background:
        linear-gradient(180deg, #ffffff 0%, #fbf7ef 52%, #f4ead9 100%) !important;
    border-color: rgba(216, 195, 165, 0.62) !important;
    color: #403a32 !important;
    box-shadow:
        0 8px 18px rgba(120, 92, 58, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

body.post-type-archive-articles .articles-grid,
body.tax-article_category .articles-grid{
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 767px){
    body.post-type-archive-articles .articles-category-select,
    body.tax-article_category .articles-category-select{
        margin: 16px 0 22px !important;
    }

    body.post-type-archive-articles .articles-category-select__summary,
    body.tax-article_category .articles-category-select__summary{
        min-height: 50px !important;
        padding: 0 52px 0 18px !important;
        border-radius: 18px !important;
    }

    body.post-type-archive-articles .articles-category-select__label,
    body.tax-article_category .articles-category-select__label{
        font-size: 12px !important;
        letter-spacing: .04em !important;
    }

    body.post-type-archive-articles .articles-category-select__arrow,
    body.tax-article_category .articles-category-select__arrow{
        right: 20px !important;
    }

    body.post-type-archive-articles .articles-category-select__list,
    body.tax-article_category .articles-category-select__list{
        grid-template-columns: 1fr !important;
        top: calc(100% + 8px) !important;
        border-radius: 20px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — FAQ: РОВНЫЕ КНОПКИ КАТЕГОРИЙ
   Единая ширина табов без JS, аккуратная champagne-гамма
   ========================================================= */

.lm-faq-filters{
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px 12px !important;
    margin: 0 0 28px !important;
}

.lm-faq-filter{
    box-sizing: border-box !important;
    flex: 0 0 104px !important;
    width: 104px !important;
    min-width: 104px !important;
    min-height: 42px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(216, 195, 165, 0.42) !important;
    background: #ffffff !important;

    color: #4b4741 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    text-align: center !important;
    white-space: nowrap !important;

    box-shadow: 0 8px 20px rgba(48, 42, 36, 0.035) !important;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease,
        transform .2s ease !important;
}

.lm-faq-filter:hover{
    transform: translateY(-1px) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 56%, #f4ead9 100%) !important;
    border-color: rgba(216, 195, 165, 0.62) !important;
    color: #3f3830 !important;
    box-shadow: 0 12px 26px rgba(48, 42, 36, 0.07) !important;
}

.lm-faq-filter.is-active{
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 52%, #f4ead9 100%) !important;
    color: #3f3830 !important;
    border-color: rgba(216, 195, 165, 0.70) !important;
    box-shadow:
        0 12px 28px rgba(120, 92, 58, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

@media (max-width: 767px){
    .lm-faq-filters{
        gap: 8px !important;
        margin-bottom: 22px !important;
    }

    .lm-faq-filter{
        flex: 0 0 calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
        min-width: 0 !important;
        min-height: 42px !important;
        padding: 0 10px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 420px){
    .lm-faq-filter{
        flex-basis: 100% !important;
        width: 100% !important;
    }
}


/* =========================================================
   ЛИДАМЕД — FAQ: КАТЕГОРИИ ВО ВСЮ ШИРИНУ
   Ровная адаптивная сетка без дублирующего заголовка группы.
   ========================================================= */

.lm-faq-filters{
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.lm-faq-filter{
    box-sizing: border-box !important;
    flex: 1 1 132px !important;
    width: auto !important;
    min-width: 112px !important;
    max-width: none !important;
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(216, 195, 165, 0.46) !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #fffdf8 56%, #fbf7ef 100%) !important;
    color: #4b4741 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 650 !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-shadow:
        0 8px 20px rgba(48, 42, 36, 0.035),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease,
        transform .2s ease !important;
}

.lm-faq-filter:hover{
    transform: translateY(-1px) !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbf7ef 52%, #f4ead9 100%) !important;
    border-color: rgba(216, 195, 165, 0.66) !important;
    color: #3f3830 !important;
    box-shadow:
        0 12px 26px rgba(48, 42, 36, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;
}

.lm-faq-filter.is-active{
    background:
        linear-gradient(180deg, #ffffff 0%, #fbf7ef 52%, #f4ead9 100%) !important;
    color: #3f3830 !important;
    border-color: rgba(216, 195, 165, 0.72) !important;
    box-shadow:
        0 12px 28px rgba(120, 92, 58, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.90) !important;
}

.lm-faq-filter.is-active:hover{
    background:
        linear-gradient(180deg, #ffffff 0%, #f8f1e4 48%, #ead8bd 100%) !important;
}

.lm-faq-group__title{
    display: none !important;
}

.lm-faq-filters + .lm-faq-groups{
    margin-top: 2px !important;
}

@media (max-width: 991px){
    .lm-faq-filter{
        flex-basis: 124px !important;
        min-width: 108px !important;
        min-height: 44px !important;
        padding: 0 14px !important;
    }
}

@media (max-width: 767px){
    .lm-faq-filters{
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        max-height: none !important;
        margin: 0 0 18px !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .lm-faq-filters::after{
        content: none !important;
        display: none !important;
    }

    .lm-faq-filters.is-open{
        max-height: none !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .lm-faq-filter,
    .lm-faq-filter.is-active,
    .lm-faq-filters.is-open .lm-faq-filter,
    .lm-faq-filters.is-open .lm-faq-filter.is-active{
        display: inline-flex !important;
        order: initial !important;
        flex: 1 1 calc(50% - 4px) !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 42px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        border-radius: 16px !important;
        border: 1px solid rgba(216, 195, 165, 0.46) !important;
        text-align: center !important;
        justify-content: center !important;
        font-size: 13px !important;
    }

    .lm-faq-filter.is-active,
    .lm-faq-filters.is-open .lm-faq-filter.is-active{
        background:
            linear-gradient(180deg, #ffffff 0%, #fbf7ef 52%, #f4ead9 100%) !important;
        box-shadow:
            0 10px 22px rgba(120, 92, 58, 0.08),
            inset 0 1px 0 rgba(255,255,255,0.90) !important;
    }
}

@media (max-width: 420px){
    .lm-faq-filter,
    .lm-faq-filter.is-active,
    .lm-faq-filters.is-open .lm-faq-filter,
    .lm-faq-filters.is-open .lm-faq-filter.is-active{
        flex-basis: 100% !important;
        width: 100% !important;
    }
}

/* =========================================================
   ЛИДАМЕД — АКЦИИ: скидочная звёздочка в архиве
   Дублирует логику single-aktsii, но без hover-эффектов
   ========================================================= */
body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__image,
.lm-aktsii-archive .lm-home-promotions__image{
  position: relative !important;
  overflow: hidden !important;
}

body.post-type-archive-aktsii .lm-aktsii-archive .lm-archive-promo-discount-badge,
.lm-aktsii-archive .lm-archive-promo-discount-badge{
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  z-index: 24 !important;

  width: 52px !important;
  height: 52px !important;
  padding: 0 !important;
  margin: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: 1px solid rgba(197, 169, 120, 0.44) !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #fffefa 0%, #ead8cc 100%) !important;
  color: #6f5d44 !important;
  box-shadow:
    0 12px 26px rgba(43, 47, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;

  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;

  clip-path: polygon(
    50% 0%, 61% 18%, 82% 10%, 85% 32%,
    100% 42%, 85% 58%, 91% 80%, 67% 76%,
    58% 100%, 42% 78%, 18% 90%, 22% 65%,
    0% 55%, 18% 42%, 10% 20%, 33% 23%
  ) !important;

  transform: rotate(-8deg) !important;
  pointer-events: none !important;
}

body.post-type-archive-aktsii .lm-aktsii-archive .lm-archive-promo-discount-badge span,
.lm-aktsii-archive .lm-archive-promo-discount-badge span{
  display: block !important;
  color: #6f5d44 !important;
  transform: rotate(8deg) !important;
}

@media (max-width: 767px){
  body.post-type-archive-aktsii .lm-aktsii-archive .lm-archive-promo-discount-badge,
  .lm-aktsii-archive .lm-archive-promo-discount-badge{
    width: 46px !important;
    height: 46px !important;
    top: 10px !important;
    right: 10px !important;
    font-size: 10px !important;
  }
}

/* =========================================================
   ЛИДАМЕД — FINAL MOBILE SERVICES TITLES + FAQ MOBILE BURGER
   07.05.2026
   Задачи:
   1) Главная / услуги: на мобилке длинные названия не вылезают за плашку.
   2) FAQ / мобилка: категории собираются в компактный burger-select.
   Только CSS. JS не трогаем: используется уже существующий .is-open для FAQ.
   ========================================================= */

/* ---------------------------------------------------------
   01. Главная — услуги: страхуем длинные названия категорий
   --------------------------------------------------------- */

body.home .lm-home-services .lm-services-category-card__content,
body.home .lm-home-services .lm-home-services__content,
body.home .lm-home-services .lm-home-service-card__content{
    min-width: 0 !important;
}

body.home .lm-home-services .lm-services-category-card__title,
body.home .lm-home-services .lm-services-category-card__title *,
body.home .lm-home-services .lm-home-services__card-title,
body.home .lm-home-services .lm-home-services__card-title *,
body.home .lm-home-services .lm-home-services__title-text,
body.home .lm-home-services .lm-home-services__title-text *,
body.home .lm-home-services .lm-home-service-card__title,
body.home .lm-home-services .lm-home-service-card__title *{
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
}

/* Десктоп и широкие экраны не сжимаем ниже текущей логики.
   На промежуточных ширинах чуть подстраховываем, если карточки сжались. */
@media (min-width: 768px) and (max-width: 1180px){
    body.home .lm-home-services .lm-services-category-card__title,
    body.home .lm-home-services .lm-home-services__card-title,
    body.home .lm-home-services .lm-home-services__title-text,
    body.home .lm-home-services .lm-home-service-card__title{
        font-size: clamp(15.5px, 1.55vw, 20px) !important;
        letter-spacing: -0.058em !important;
        line-height: 1.08 !important;
    }
}

/* Мобилка: все названия уменьшаются единообразно, фото остаётся. */
@media (max-width: 767px){
    body.home .lm-home-services .lm-services-category-card__inner,
    body.home .lm-home-services .lm-home-services__card-inner,
    body.home .lm-home-services .lm-home-service-card__inner{
        gap: 10px !important;
    }

    body.home .lm-home-services .lm-services-category-card__content,
    body.home .lm-home-services .lm-home-services__content,
    body.home .lm-home-services .lm-home-service-card__content{
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        padding-right: 2px !important;
    }

    body.home .lm-home-services .lm-services-category-card__title,
    body.home .lm-home-services .lm-home-services__card-title,
    body.home .lm-home-services .lm-home-services__title-text,
    body.home .lm-home-services .lm-home-service-card__title{
        font-size: clamp(12.2px, 3.45vw, 15.2px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.07em !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }

    body.home .lm-home-services .lm-services-category-card__title *,
    body.home .lm-home-services .lm-home-services__card-title *,
    body.home .lm-home-services .lm-home-services__title-text *,
    body.home .lm-home-services .lm-home-service-card__title *{
        font-size: inherit !important;
        line-height: inherit !important;
        letter-spacing: inherit !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 390px){
    body.home .lm-home-services .lm-services-category-card__inner,
    body.home .lm-home-services .lm-home-services__card-inner,
    body.home .lm-home-services .lm-home-service-card__inner{
        gap: 8px !important;
    }

    body.home .lm-home-services .lm-services-category-card__media,
    body.home .lm-home-services .lm-home-services__media,
    body.home .lm-home-services .lm-home-service-card__media,
    body.home .lm-home-services .lm-services-category-card__image,
    body.home .lm-home-services .lm-services-category-card__media img,
    body.home .lm-home-services .lm-home-services__image,
    body.home .lm-home-services .lm-home-service-card__image{
        flex-basis: 74px !important;
        width: 74px !important;
        height: 74px !important;
        max-width: 74px !important;
        max-height: 74px !important;
    }

    body.home .lm-home-services .lm-services-category-card__title,
    body.home .lm-home-services .lm-home-services__card-title,
    body.home .lm-home-services .lm-home-services__title-text,
    body.home .lm-home-services .lm-home-service-card__title{
        font-size: clamp(11.6px, 3.25vw, 13.2px) !important;
        letter-spacing: -0.075em !important;
    }
}

/* ---------------------------------------------------------
   02. FAQ — десктопная сетка остаётся, мобильная версия = burger-select
   --------------------------------------------------------- */

@media (min-width: 768px){
    body.post-type-archive-faq .lm-faq-filters,
    body.archive.post-type-archive-faq .lm-faq-filters,
    .lm-faq-page .lm-faq-filters{
        width: 100% !important;
    }
}

@media (max-width: 767px){
    body.post-type-archive-faq .lm-faq-page__head,
    body.archive.post-type-archive-faq .lm-faq-page__head,
    .lm-faq-page .lm-faq-page__head{
        margin-bottom: 12px !important;
    }

    body.post-type-archive-faq .lm-faq-group__title,
    body.archive.post-type-archive-faq .lm-faq-group__title,
    .lm-faq-page .lm-faq-group__title{
        display: none !important;
    }

    body.post-type-archive-faq .lm-faq-filters,
    body.archive.post-type-archive-faq .lm-faq-filters,
    .lm-faq-page .lm-faq-filters{
        position: relative !important;
        z-index: 30 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-height: 48px !important;
        max-height: 48px !important;

        margin: 0 0 16px !important;
        padding: 0 !important;
        overflow: hidden !important;

        border: 1px solid rgba(185, 155, 114, 0.46) !important;
        border-radius: 16px !important;
        background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 52%, #f4ead9 100%) !important;
        box-shadow:
            0 10px 26px rgba(43, 47, 42, 0.07),
            inset 0 1px 0 rgba(255,255,255,0.90) !important;

        transition:
            max-height .24s ease,
            border-radius .24s ease,
            box-shadow .24s ease !important;
    }

    body.post-type-archive-faq .lm-faq-filters.is-open,
    body.archive.post-type-archive-faq .lm-faq-filters.is-open,
    .lm-faq-page .lm-faq-filters.is-open{
        max-height: 420px !important;
        border-radius: 18px !important;
        box-shadow:
            0 18px 42px rgba(43, 47, 42, 0.13),
            inset 0 1px 0 rgba(255,255,255,0.92) !important;
    }

    /* Бургер: три линии справа */
    body.post-type-archive-faq .lm-faq-filters::before,
    body.archive.post-type-archive-faq .lm-faq-filters::before,
    .lm-faq-page .lm-faq-filters::before{
        content: "" !important;
        position: absolute !important;
        right: 18px !important;
        top: 16px !important;
        z-index: 5 !important;
        width: 18px !important;
        height: 2px !important;
        border-radius: 999px !important;
        background: #8f7447 !important;
        box-shadow:
            0 6px 0 #8f7447,
            0 12px 0 #8f7447 !important;
        pointer-events: none !important;
        transition: transform .22s ease, top .22s ease, box-shadow .18s ease !important;
    }

    /* Крестик: вторая линия */
    body.post-type-archive-faq .lm-faq-filters::after,
    body.archive.post-type-archive-faq .lm-faq-filters::after,
    .lm-faq-page .lm-faq-filters::after{
        content: "" !important;
        position: absolute !important;
        right: 18px !important;
        top: 23px !important;
        z-index: 5 !important;
        width: 18px !important;
        height: 2px !important;
        border-radius: 999px !important;
        background: #8f7447 !important;
        opacity: 0 !important;
        transform: rotate(-45deg) !important;
        pointer-events: none !important;
        transition: opacity .18s ease !important;
    }

    body.post-type-archive-faq .lm-faq-filters.is-open::before,
    body.archive.post-type-archive-faq .lm-faq-filters.is-open::before,
    .lm-faq-page .lm-faq-filters.is-open::before{
        top: 23px !important;
        transform: rotate(45deg) !important;
        box-shadow: none !important;
    }

    body.post-type-archive-faq .lm-faq-filters.is-open::after,
    body.archive.post-type-archive-faq .lm-faq-filters.is-open::after,
    .lm-faq-page .lm-faq-filters.is-open::after{
        opacity: 1 !important;
    }

    body.post-type-archive-faq .lm-faq-filter,
    body.archive.post-type-archive-faq .lm-faq-filter,
    .lm-faq-page .lm-faq-filter{
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 48px !important;
        height: 48px !important;
        flex: 0 0 48px !important;

        margin: 0 !important;
        padding: 0 56px 0 18px !important;

        border: 0 !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(185, 155, 114, 0.20) !important;
        background: transparent !important;
        box-shadow: none !important;

        color: #4a4032 !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    body.post-type-archive-faq .lm-faq-filter.is-active,
    body.archive.post-type-archive-faq .lm-faq-filter.is-active,
    .lm-faq-page .lm-faq-filter.is-active{
        order: 1 !important;
        background: transparent !important;
        border-bottom-color: rgba(185, 155, 114, 0.24) !important;
        box-shadow: none !important;
    }

    body.post-type-archive-faq .lm-faq-filters:not(.is-open) .lm-faq-filter:not(.is-active),
    body.archive.post-type-archive-faq .lm-faq-filters:not(.is-open) .lm-faq-filter:not(.is-active),
    .lm-faq-page .lm-faq-filters:not(.is-open) .lm-faq-filter:not(.is-active){
        pointer-events: none !important;
    }

    body.post-type-archive-faq .lm-faq-filters.is-open .lm-faq-filter:hover,
    body.archive.post-type-archive-faq .lm-faq-filters.is-open .lm-faq-filter:hover,
    .lm-faq-page .lm-faq-filters.is-open .lm-faq-filter:hover{
        background: rgba(255,255,255,0.42) !important;
        color: #312a20 !important;
    }

    body.post-type-archive-faq .lm-faq-filter:last-child,
    body.archive.post-type-archive-faq .lm-faq-filter:last-child,
    .lm-faq-page .lm-faq-filter:last-child{
        border-bottom: 0 !important;
    }

    body.post-type-archive-faq .lm-faq-filters + .lm-faq-groups,
    body.archive.post-type-archive-faq .lm-faq-filters + .lm-faq-groups,
    .lm-faq-page .lm-faq-filters + .lm-faq-groups{
        margin-top: 0 !important;
    }
}



/* =========================================================
   ЛИДАМЕД — HOME SERVICES + FAQ MOBILE FINAL REFINE
   07.05.2026
   1) Главная: названия категорий услуг не вылезают на десктопе и не мельчат на мобилке.
   2) FAQ: полноценный крестик в мобильном burger-select.
   Только CSS, без изменения структуры и JS.
   ========================================================= */

/* --- Главная / услуги: резиновый размер заголовков на промежуточном десктопе --- */
@media (min-width: 768px) and (max-width: 1480px){
    body.home .lm-home-services .lm-services-category-card__inner,
    body.home .lm-home-services .lm-home-services__card-inner,
    body.home .lm-home-services .lm-home-service-card__inner{
        gap: clamp(12px, 1.05vw, 16px) !important;
    }

    body.home .lm-home-services .lm-services-category-card__content,
    body.home .lm-home-services .lm-home-services__content,
    body.home .lm-home-services .lm-home-service-card__content{
        min-width: 0 !important;
        overflow: visible !important;
        padding-right: 0 !important;
    }

    body.home .lm-home-services .lm-services-category-card__title,
    body.home .lm-home-services .lm-home-services__card-title,
    body.home .lm-home-services .lm-home-services__title-text,
    body.home .lm-home-services .lm-home-service-card__title{
        font-size: clamp(18px, 1.36vw, 22px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.055em !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    body.home .lm-home-services .lm-services-category-card__title *,
    body.home .lm-home-services .lm-home-services__card-title *,
    body.home .lm-home-services .lm-home-services__title-text *,
    body.home .lm-home-services .lm-home-service-card__title *{
        font-size: inherit !important;
        line-height: inherit !important;
        letter-spacing: inherit !important;
        white-space: nowrap !important;
    }
}

@media (min-width: 768px) and (max-width: 1260px){
    body.home .lm-home-services .lm-services-category-card__media,
    body.home .lm-home-services .lm-home-services__media,
    body.home .lm-home-services .lm-home-service-card__media,
    body.home .lm-home-services .lm-services-category-card__image,
    body.home .lm-home-services .lm-services-category-card__media img,
    body.home .lm-home-services .lm-home-services__image,
    body.home .lm-home-services .lm-home-service-card__image{
        flex-basis: 88px !important;
        width: 88px !important;
        height: 88px !important;
        max-width: 88px !important;
        max-height: 88px !important;
    }

    body.home .lm-home-services .lm-services-category-card__title,
    body.home .lm-home-services .lm-home-services__card-title,
    body.home .lm-home-services .lm-home-services__title-text,
    body.home .lm-home-services .lm-home-service-card__title{
        font-size: clamp(17.2px, 1.34vw, 19.5px) !important;
        letter-spacing: -0.07em !important;
    }
}

/* --- Главная / услуги: мобилка — крупнее, но без выхода за плашку --- */
@media (max-width: 767px){
    body.home .lm-home-services .lm-services-category-card__inner,
    body.home .lm-home-services .lm-home-services__card-inner,
    body.home .lm-home-services .lm-home-service-card__inner{
        gap: 10px !important;
    }

    body.home .lm-home-services .lm-services-category-card__content,
    body.home .lm-home-services .lm-home-services__content,
    body.home .lm-home-services .lm-home-service-card__content{
        min-width: 0 !important;
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        overflow: visible !important;
        padding-right: 0 !important;
    }

    body.home .lm-home-services .lm-services-category-card__title,
    body.home .lm-home-services .lm-home-services__card-title,
    body.home .lm-home-services .lm-home-services__title-text,
    body.home .lm-home-services .lm-home-service-card__title{
        font-size: clamp(14px, 4.15vw, 16.8px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.068em !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    body.home .lm-home-services .lm-services-category-card__title *,
    body.home .lm-home-services .lm-home-services__card-title *,
    body.home .lm-home-services .lm-home-services__title-text *,
    body.home .lm-home-services .lm-home-service-card__title *{
        font-size: inherit !important;
        line-height: inherit !important;
        letter-spacing: inherit !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 390px){
    body.home .lm-home-services .lm-services-category-card__inner,
    body.home .lm-home-services .lm-home-services__card-inner,
    body.home .lm-home-services .lm-home-service-card__inner{
        gap: 8px !important;
    }

    body.home .lm-home-services .lm-services-category-card__title,
    body.home .lm-home-services .lm-home-services__card-title,
    body.home .lm-home-services .lm-home-services__title-text,
    body.home .lm-home-services .lm-home-service-card__title{
        font-size: clamp(13.8px, 4vw, 15.4px) !important;
        letter-spacing: -0.075em !important;
    }
}

@media (max-width: 350px){
    body.home .lm-home-services .lm-services-category-card__title,
    body.home .lm-home-services .lm-home-services__card-title,
    body.home .lm-home-services .lm-home-services__title-text,
    body.home .lm-home-services .lm-home-service-card__title{
        font-size: 13.2px !important;
        letter-spacing: -0.08em !important;
    }
}

/* --- FAQ / мобилка: фикс полноценного крестика вместо одной диагонали --- */
@media (max-width: 767px){
    body.post-type-archive-faq .lm-faq-filters::before,
    body.archive.post-type-archive-faq .lm-faq-filters::before,
    .lm-faq-page .lm-faq-filters::before,
    body.post-type-archive-faq .lm-faq-filters::after,
    body.archive.post-type-archive-faq .lm-faq-filters::after,
    .lm-faq-page .lm-faq-filters::after{
        content: "" !important;
        display: block !important;
        position: absolute !important;
        right: 18px !important;
        z-index: 12 !important;
        width: 18px !important;
        height: 2px !important;
        border-radius: 999px !important;
        background: #8f7447 !important;
        transform-origin: 50% 50% !important;
        pointer-events: none !important;
    }

    body.post-type-archive-faq .lm-faq-filters::before,
    body.archive.post-type-archive-faq .lm-faq-filters::before,
    .lm-faq-page .lm-faq-filters::before{
        top: 16px !important;
        transform: none !important;
        box-shadow: 0 6px 0 #8f7447, 0 12px 0 #8f7447 !important;
        opacity: 1 !important;
    }

    body.post-type-archive-faq .lm-faq-filters::after,
    body.archive.post-type-archive-faq .lm-faq-filters::after,
    .lm-faq-page .lm-faq-filters::after{
        top: 23px !important;
        transform: rotate(-45deg) !important;
        box-shadow: none !important;
        opacity: 0 !important;
        visibility: visible !important;
    }

    body.post-type-archive-faq .lm-faq-filters.is-open::before,
    body.archive.post-type-archive-faq .lm-faq-filters.is-open::before,
    .lm-faq-page .lm-faq-filters.is-open::before{
        top: 23px !important;
        transform: rotate(45deg) !important;
        box-shadow: none !important;
        opacity: 1 !important;
    }

    body.post-type-archive-faq .lm-faq-filters.is-open::after,
    body.archive.post-type-archive-faq .lm-faq-filters.is-open::after,
    .lm-faq-page .lm-faq-filters.is-open::after{
        top: 23px !important;
        transform: rotate(-45deg) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* =========================================================
   ЛИДАМЕД — TAXONOMY IMAGE FRAME FIX v2
   Убираем остаточные рамки/тени/угловые артефакты у фото
   на страницах категорий услуг и брендов препаратов.
   Только визуал изображений, без изменения сетки и логики.
   ========================================================= */

body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card .lm-linked-card__image--empty,
body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap,
body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image--empty,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card .lm-linked-card__image--empty,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image--empty,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image-wrap,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image--empty{
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    background-clip: padding-box !important;
    -webkit-background-clip: padding-box !important;
    overflow: hidden !important;
}

body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap,
body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap{
    background: transparent !important;
}

body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image-wrap{
    background: #fffdf8 !important;
}

body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap::before,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap::after,
body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap::before,
body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap::after,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap::before,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap::after,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap::before,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap::after,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image-wrap::before,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image-wrap::after{
    content: none !important;
    display: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: none !important;
}

body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card .lm-linked-card__image,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap img,
body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image,
body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap img,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card .lm-linked-card__image,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap img,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap img,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image-wrap img{
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    clip-path: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card .lm-linked-card__image,
body.tax-service_category .lm-taxonomy-services .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap img,
body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image,
body.tax-service_category .lm-linked-card.lm-service-list-card .lm-linked-card__image-wrap img{
    padding: 0 !important;
    background: transparent !important;
    object-fit: cover !important;
}

body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card .lm-linked-card__image,
body.tax-preparation_brand .lm-taxonomy-services .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap img,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image,
body.tax-preparation_brand .lm-linked-card.lm-brand-prep-card .lm-linked-card__image-wrap img,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image,
body.tax-preparation_brand .lm-brand-prep-card .lm-linked-card__image-wrap img{
    object-fit: contain !important;
    background: #fffdf8 !important;
    box-sizing: border-box !important;
}


/* =========================================================
   ЛИДАМЕД — нормальная рамка фото в taxonomy-архивах
   Услуги / Препараты: без угловых артефактов, но с мягкой границей
   ========================================================= */

/* Контейнер изображения в карточках категорий услуг и брендов препаратов */
body.tax-service_category .lm-main-area .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap,
body.tax-preparation_brand .lm-main-area .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap,
body.tax-service_category .lm-single-main .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap,
body.tax-preparation_brand .lm-single-main .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap {
    background: #ffffff !important;
    border: 1px solid rgba(194, 174, 136, 0.42) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow:
        0 8px 20px rgba(42, 38, 30, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.85) !important;
}

/* Само изображение — без отдельной рамки и без старых эффектов */
body.tax-service_category .lm-main-area .lm-archive-wide-list .lm-linked-card .lm-linked-card__image,
body.tax-preparation_brand .lm-main-area .lm-archive-wide-list .lm-linked-card .lm-linked-card__image,
body.tax-service_category .lm-single-main .lm-archive-wide-list .lm-linked-card .lm-linked-card__image,
body.tax-preparation_brand .lm-single-main .lm-archive-wide-list .lm-linked-card .lm-linked-card__image {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* На случай если старые уголки были сделаны через псевдоэлементы */
body.tax-service_category .lm-main-area .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap::before,
body.tax-service_category .lm-main-area .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap::after,
body.tax-preparation_brand .lm-main-area .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap::before,
body.tax-preparation_brand .lm-main-area .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap::after,
body.tax-service_category .lm-single-main .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap::before,
body.tax-service_category .lm-single-main .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap::after,
body.tax-preparation_brand .lm-single-main .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap::before,
body.tax-preparation_brand .lm-single-main .lm-archive-wide-list .lm-linked-card .lm-linked-card__image-wrap::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   ЛИДАМЕД — NEWS DATE BADGES FINAL v2
   Архив: компактный бейдж.
   Single без фото: такой же квадратный бейдж.
   Single с фото: overlay-дату на изображении не трогаем.
   ========================================================= */

/* Архив новостей — оставляем красивый компактный бейдж */
body.post-type-archive-news .lm-news-card,
body.post-type-archive-news .lm-news-card__link {
    overflow: visible !important;
}

body.post-type-archive-news .lm-news-card__date {
    grid-column: 1 !important;
    width: 74px !important;
    min-width: 74px !important;
    height: 74px !important;
    min-height: 74px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 22px !important;
    border: 1px solid rgba(194, 174, 136, 0.46) !important;
    background: linear-gradient(180deg, #fffdf8 0%, #f7f0e4 100%) !important;

    box-shadow:
        0 7px 18px rgba(75, 69, 56, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;

    overflow: hidden !important;
    text-align: center !important;
}

body.post-type-archive-news .lm-news-card__date::before,
body.post-type-archive-news .lm-news-card__date::after {
    content: none !important;
    display: none !important;
}

/* Single новости БЕЗ фото:
   ловим и обычную дату, и вариант --float, но НЕ трогаем --on-image */
body.single-news .lm-news-single-date:not(.lm-news-single-date--on-image),
body.single-news .lm-news-single-date--float:not(.lm-news-single-date--on-image) {
    grid-column: 1 !important;
    width: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;
    height: 74px !important;
    min-height: 74px !important;
    max-height: 74px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 22px !important;
    border: 1px solid rgba(194, 174, 136, 0.46) !important;
    background: linear-gradient(180deg, #fffdf8 0%, #f7f0e4 100%) !important;

    box-shadow:
        0 7px 18px rgba(75, 69, 56, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;

    text-align: center !important;
    overflow: hidden !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
}

/* Число / месяц / год — единый вид для архива и single без фото */
body.post-type-archive-news .lm-news-card__date span,
body.single-news .lm-news-single-date:not(.lm-news-single-date--on-image) span,
body.single-news .lm-news-single-date--float:not(.lm-news-single-date--on-image) span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.post-type-archive-news .lm-news-card__date__day,
body.post-type-archive-news .lm-news-card__date .day,
body.post-type-archive-news .lm-news-card__date-day,
body.single-news .lm-news-single-date:not(.lm-news-single-date--on-image) .lm-news-single-date__day,
body.single-news .lm-news-single-date--float:not(.lm-news-single-date--on-image) .lm-news-single-date__day {
    font-size: 25px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
    color: #9b855f !important;
}

body.post-type-archive-news .lm-news-card__date__month,
body.post-type-archive-news .lm-news-card__date .month,
body.post-type-archive-news .lm-news-card__date-month,
body.single-news .lm-news-single-date:not(.lm-news-single-date--on-image) .lm-news-single-date__month,
body.single-news .lm-news-single-date--float:not(.lm-news-single-date--on-image) .lm-news-single-date__month {
    margin-top: 3px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    color: #9b855f !important;
}

body.post-type-archive-news .lm-news-card__date__year,
body.post-type-archive-news .lm-news-card__date .year,
body.post-type-archive-news .lm-news-card__date-year,
body.single-news .lm-news-single-date:not(.lm-news-single-date--on-image) .lm-news-single-date__year,
body.single-news .lm-news-single-date--float:not(.lm-news-single-date--on-image) .lm-news-single-date__year {
    margin-top: 3px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #b19a72 !important;
}

/* Single с фото — дату поверх изображения оставляем текущей красивой плашкой */
body.single-news .lm-news-single-date--on-image {
    border-radius: 999px !important;
}

/* =========================================================
   ЛИДАМЕД — MOBILE SCROLL PROGRESS
   Тонкая luxury-линия прогресса чтения только на мобильной версии
   ========================================================= */

.lm-mobile-scroll-progress {
    display: none;
}

@media (max-width: 767px) {
    .lm-mobile-scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 4px;
        z-index: 2147483000;
        pointer-events: none;
        opacity: 0;
        transform: translateZ(0);
        transition: opacity .24s ease;
        background: rgba(244, 234, 217, 0.10);
        overflow: hidden;
    }

    body.admin-bar .lm-mobile-scroll-progress {
        top: 46px;
    }

    .lm-mobile-scroll-progress.is-visible {
        display: block;
        opacity: 1;
    }

    .lm-mobile-scroll-progress__bar {
        width: 100%;
        height: 100%;
        transform: scaleX(0);
        transform-origin: left center;
        background:
            linear-gradient(
                90deg,
                rgba(255, 253, 248, 0.96) 0%,
                rgba(244, 234, 217, 0.98) 34%,
                rgba(234, 215, 184, 0.98) 68%,
                rgba(201, 170, 120, 0.96) 100%
            );
        box-shadow:
            0 0 10px rgba(244, 234, 217, 0.58),
            0 0 18px rgba(201, 170, 120, 0.28);
        will-change: transform;
    }

    body.lm-popup-open .lm-mobile-scroll-progress {
        opacity: 0;
    }
}


/* =========================================================
   ЛИДАМЕД — single-aktsii: H2 секций условий и характеристик
   Вставить в самый низ custom.css
   ========================================================= */

body.single-aktsii .lm-promo-section-title{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 30px 0 14px !important;
  padding: 0 !important;
  color: #3d3a34 !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
}

body.single-aktsii .lm-promo-section-title::before{
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 9px !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #c5a978 !important;
  box-shadow: 0 0 0 5px rgba(197, 169, 120, 0.13) !important;
}

body.single-aktsii .lm-promo-conditions-text{
  margin-top: 0 !important;
}

@media (max-width: 767px){
  body.single-aktsii .lm-promo-section-title{
    font-size: 20px !important;
    line-height: 1.28 !important;
    margin: 26px 0 12px !important;
  }
}

/* =========================================================
   ЛИДАМЕД — АКЦИИ: корректная высота анонса в архиве
   Общая логика: название + срок + метка + анонс ≈ 8 строк.
   Ставить в самый конец custom.css, чтобы перебить старые правила.
   ========================================================= */

body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__summary,
body.post-type-archive-aktsii .lm-home-promotions__summary{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-height: none !important;
    -webkit-line-clamp: var(--lm-aktsii-summary-lines, 6) !important;
    line-clamp: var(--lm-aktsii-summary-lines, 6) !important;
}

body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__summary::after,
body.post-type-archive-aktsii .lm-home-promotions__summary::after{
    display: none !important;
    content: none !important;
}

body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__title,
body.post-type-archive-aktsii .lm-home-promotions__title{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    overflow: hidden !important;
}

body.post-type-archive-aktsii .lm-aktsii-archive .lm-home-promotions__date,
body.post-type-archive-aktsii .lm-home-promotions__date{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    line-clamp: 1 !important;
    overflow: hidden !important;
}

/* =========================================================
   ЛИДАМЕД — SINGLE PREPARATIONS: ХАРАКТЕРИСТИКИ + СТОИМОСТЬ FINAL SAFE
   Вставлено в самый конец custom.css.
   Логика:
   1) характеристики — нижние точки, значение справа;
   2) стоимость — LANTOX слева, мета справа перед ценой, линия/точки не от середины;
   3) правка максимально широкая по селекторам, чтобы перебить старые блоки.
   ========================================================= */

/* ---------- Текстовые списки внутри H2-блоков препарата ---------- */
body.single-preparations .lm-prep-section-text ul,
body.single-preparations .lm-prep-section-text ol{
  margin: 0 0 16px 20px !important;
  padding: 0 !important;
}

body.single-preparations .lm-prep-section-text li{
  margin-bottom: 7px !important;
}

/* ---------- Характеристики: label — точки — value ---------- */
body.single-preparations .lm-prep-attributes__row{
  display: flex !important;
  align-items: flex-start !important;
  width: 100% !important;
  gap: 0 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body.single-preparations .lm-prep-attributes__label{
  flex: 0 0 auto !important;
  max-width: 45% !important;
  padding-right: 12px !important;
  white-space: nowrap !important;
  font-weight: 600 !important;
  color: #2f2f2f !important;
}

body.single-preparations .lm-prep-attributes__dots{
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 5ch !important;
  height: 1.5em !important;
  margin: 0 12px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  transform: none !important;
  background-image: radial-gradient(circle, rgba(123, 103, 74, 0.36) 1.05px, transparent 1.35px) !important;
  background-size: 7px 2px !important;
  background-repeat: repeat-x !important;
  background-position: left calc(100% - 4px) !important;
}

body.single-preparations .lm-prep-attributes__value{
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  text-align: right !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  color: #222 !important;
  line-height: 1.5 !important;
}

/* ---------- Стоимость: безопасная схема без зависимости от старой central dots-колонки ---------- */
body.single-preparations .lm-service-prices-block .lm-price-row-detail,
body.single-preparations .lm-price-row-detail{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 5ch auto !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
  align-items: baseline !important;
  width: 100% !important;
  min-height: 42px !important;
  padding: 9px 4px !important;
  color: inherit !important;
  text-decoration: none !important;
}

/*
  Первый дочерний элемент строки цены — это левая часть с названием и метой.
  Делаем его широкой строкой до цены, а линию рисуем фоном внутри него.
  Так линия больше не стартует с середины карточки.
*/
body.single-preparations .lm-service-prices-block .lm-price-row-detail > :first-child,
body.single-preparations .lm-price-row-detail > :first-child{
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: baseline !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #5d554c !important;
  background-image: radial-gradient(circle, rgba(123, 103, 74, 0.30) 1.05px, transparent 1.35px) !important;
  background-size: 7px 2px !important;
  background-repeat: repeat-x !important;
  background-position: left calc(100% - 4px) !important;
}

/* Если внутри первого элемента есть старые псевдо-линии — отключаем */
body.single-preparations .lm-service-prices-block .lm-price-row-detail > :first-child::after,
body.single-preparations .lm-price-row-detail > :first-child::after{
  content: none !important;
  display: none !important;
}

/* Название визуально перекрывает точки под буквами */
body.single-preparations .lm-service-prices-block .lm-price-row-detail > :first-child,
body.single-preparations .lm-price-row-detail > :first-child{
  text-shadow:
    -2px 0 #fffdf9,
     2px 0 #fffdf9,
     0 -1px #fffdf9,
     0  1px #fffdf9 !important;
}

/* Мета внутри title уходит вправо, рядом с ценой, а не падает под LANTOX */
body.single-preparations .lm-service-prices-block .lm-price-row-detail > :first-child .lm-price-row-detail__meta,
body.single-preparations .lm-service-prices-block .lm-price-row-detail > :first-child .lm-service-prices-list__meta,
body.single-preparations .lm-price-row-detail > :first-child .lm-price-row-detail__meta,
body.single-preparations .lm-price-row-detail > :first-child .lm-service-prices-list__meta{
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: baseline !important;
  margin: 0 0 0 auto !important;
  padding: 0 0 0 18px !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  color: #8a8176 !important;
  text-align: right !important;
  background: #fffdf9 !important;
  box-shadow: -14px 0 0 #fffdf9 !important;
  text-shadow: none !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Если meta вдруг является прямым дочерним элементом строки, тоже ставим её справа */
body.single-preparations .lm-service-prices-block .lm-price-row-detail > .lm-price-row-detail__meta,
body.single-preparations .lm-service-prices-block .lm-price-row-detail > .lm-service-prices-list__meta,
body.single-preparations .lm-price-row-detail > .lm-price-row-detail__meta,
body.single-preparations .lm-price-row-detail > .lm-service-prices-list__meta{
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: baseline !important;
  margin: 0 !important;
  padding-left: 18px !important;
  white-space: nowrap !important;
  background: #fffdf9 !important;
  box-shadow: -14px 0 0 #fffdf9 !important;
  z-index: 3 !important;
}

/* Старую отдельную линию/точки выключаем: теперь линия рисуется фоном левой части */
body.single-preparations .lm-service-prices-block .lm-price-row-detail__dots,
body.single-preparations .lm-price-row-detail__dots{
  display: none !important;
}

/* Цена — справа, после фиксированного зазора 5ch */
body.single-preparations .lm-service-prices-block .lm-price-row-detail__price,
body.single-preparations .lm-price-row-detail__price{
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: baseline !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  text-align: right !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  color: #3a352f !important;
}

/* ---------- Мобильная версия ---------- */
@media (max-width: 767px){
  body.single-preparations .lm-prep-attributes__row{
    display: block !important;
  }

  body.single-preparations .lm-prep-attributes__label{
    display: block !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    margin-bottom: 6px !important;
    white-space: normal !important;
  }

  body.single-preparations .lm-prep-attributes__dots{
    display: none !important;
  }

  body.single-preparations .lm-prep-attributes__value{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  body.single-preparations .lm-service-prices-block .lm-price-row-detail,
  body.single-preparations .lm-price-row-detail{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 4px 12px !important;
    align-items: center !important;
    min-height: 0 !important;
  }

  body.single-preparations .lm-service-prices-block .lm-price-row-detail > :first-child,
  body.single-preparations .lm-price-row-detail > :first-child{
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    display: block !important;
    width: auto !important;
    white-space: normal !important;
    background-image: none !important;
    text-shadow: none !important;
  }

  body.single-preparations .lm-service-prices-block .lm-price-row-detail > :first-child .lm-price-row-detail__meta,
  body.single-preparations .lm-service-prices-block .lm-price-row-detail > :first-child .lm-service-prices-list__meta,
  body.single-preparations .lm-price-row-detail > :first-child .lm-price-row-detail__meta,
  body.single-preparations .lm-price-row-detail > :first-child .lm-service-prices-list__meta{
    display: block !important;
    margin: 3px 0 0 !important;
    padding-left: 0 !important;
    white-space: normal !important;
    text-align: left !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.single-preparations .lm-service-prices-block .lm-price-row-detail__dots,
  body.single-preparations .lm-price-row-detail__dots{
    display: none !important;
  }

  body.single-preparations .lm-service-prices-block .lm-price-row-detail__price,
  body.single-preparations .lm-price-row-detail__price{
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
  }
}


/* =========================================================
   ЛИДАМЕД — SINGLE PREPARATIONS: характеристики + стоимость
   Финал после правки HTML цены в single-preparations.php
   ========================================================= */

/* Списки внутри текстовых H2-блоков препарата */
body.single-preparations .lm-prep-section-text ul,
body.single-preparations .lm-prep-section-text ol{
  margin: 0 0 16px 20px !important;
  padding: 0 !important;
}

body.single-preparations .lm-prep-section-text li{
  margin-bottom: 7px !important;
}

/* ===== Характеристики ===== */
body.single-preparations .lm-prep-attributes__row{
  display: flex !important;
  align-items: flex-start !important;
  width: 100% !important;
  gap: 0 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body.single-preparations .lm-prep-attributes__label{
  flex: 0 0 auto !important;
  max-width: 45% !important;
  padding-right: 12px !important;
  white-space: nowrap !important;
  font-weight: 600 !important;
}

body.single-preparations .lm-prep-attributes__dots{
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 5ch !important;
  height: 1.5em !important;
  margin: 0 12px 0 0 !important;
  border-bottom: 0 !important;
  transform: none !important;
  background-image: radial-gradient(circle, rgba(123, 103, 74, 0.38) 1.1px, transparent 1.35px) !important;
  background-size: 7px 2px !important;
  background-repeat: repeat-x !important;
  background-position: left calc(100% - 4px) !important;
}

body.single-preparations .lm-prep-attributes__value{
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  text-align: right !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  color: #222 !important;
  line-height: 1.5 !important;
}

/* ===== Стоимость после HTML-правки: название — линия/точки — мета — отступ — цена ===== */
body.single-preparations .lm-service-prices-block .lm-price-row-detail,
body.single-preparations .lm-price-row-detail{
  display: grid !important;
  grid-template-columns: max-content minmax(5ch, 1fr) max-content 5ch auto !important;
  column-gap: 0 !important;
  align-items: baseline !important;
  width: 100% !important;
  padding: 9px 4px !important;
  color: inherit !important;
  text-decoration: none !important;
}

body.single-preparations .lm-service-prices-block .lm-price-row-detail__title,
body.single-preparations .lm-price-row-detail__title{
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: block !important;
  min-width: 0 !important;
  max-width: none !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #5d554c !important;
}

body.single-preparations .lm-service-prices-block .lm-price-row-detail__name,
body.single-preparations .lm-price-row-detail__name{
  display: inline !important;
  white-space: nowrap !important;
}

body.single-preparations .lm-service-prices-block .lm-price-row-detail__dots,
body.single-preparations .lm-price-row-detail__dots{
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  min-width: 5ch !important;
  height: 1.45em !important;
  margin: 0 12px !important;
  border-bottom: 0 !important;
  background-image: radial-gradient(circle, rgba(123, 103, 74, 0.30) 1.1px, transparent 1.35px) !important;
  background-size: 7px 2px !important;
  background-repeat: repeat-x !important;
  background-position: left calc(100% - 4px) !important;
}

body.single-preparations .lm-service-prices-block .lm-price-row-detail__meta,
body.single-preparations .lm-service-prices-block .lm-service-prices-list__meta,
body.single-preparations .lm-price-row-detail__meta,
body.single-preparations .lm-service-prices-list__meta{
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  text-align: right !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  color: #8a8176 !important;
}

body.single-preparations .lm-service-prices-block .lm-price-row-detail__price,
body.single-preparations .lm-price-row-detail__price{
  grid-column: 5 !important;
  grid-row: 1 !important;
  display: block !important;
  min-width: 58px !important;
  white-space: nowrap !important;
  text-align: right !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  color: #3a352f !important;
}

/* Мобильная версия */
@media (max-width: 767px){
  body.single-preparations .lm-prep-attributes__row{
    display: block !important;
  }

  body.single-preparations .lm-prep-attributes__label{
    display: block !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    margin-bottom: 6px !important;
    white-space: normal !important;
  }

  body.single-preparations .lm-prep-attributes__dots{
    display: none !important;
  }

  body.single-preparations .lm-prep-attributes__value{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  body.single-preparations .lm-service-prices-block .lm-price-row-detail,
  body.single-preparations .lm-price-row-detail{
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 4px 12px !important;
  }

  body.single-preparations .lm-service-prices-block .lm-price-row-detail__title,
  body.single-preparations .lm-price-row-detail__title{
    grid-column: 1 !important;
    grid-row: 1 !important;
    white-space: normal !important;
  }

  body.single-preparations .lm-service-prices-block .lm-price-row-detail__dots,
  body.single-preparations .lm-price-row-detail__dots{
    display: none !important;
  }

  body.single-preparations .lm-service-prices-block .lm-price-row-detail__meta,
  body.single-preparations .lm-service-prices-block .lm-service-prices-list__meta,
  body.single-preparations .lm-price-row-detail__meta,
  body.single-preparations .lm-service-prices-list__meta{
    grid-column: 1 !important;
    grid-row: 2 !important;
    white-space: normal !important;
    text-align: left !important;
    margin-top: 2px !important;
  }

  body.single-preparations .lm-service-prices-block .lm-price-row-detail__price,
  body.single-preparations .lm-price-row-detail__price{
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
  }
}

/* =========================================================
   ЛИДАМЕД — SINGLE PREPARATIONS: характеристики + чистая стоимость
   Финальная версия: цена выводится новой PHP-разметкой lm-prep-price-clean-*
   ========================================================= */

/* Списки внутри текстовых H2-блоков препарата */
body.single-preparations .lm-prep-section-text ul,
body.single-preparations .lm-prep-section-text ol{
  margin: 0 0 16px 20px !important;
  padding: 0 !important;
}

body.single-preparations .lm-prep-section-text li{
  margin-bottom: 7px !important;
}

/* ===== ХАРАКТЕРИСТИКИ: название — нижние точки — значение справа ===== */
body.single-preparations .lm-prep-attributes__row{
  display: flex !important;
  align-items: flex-start !important;
  width: 100% !important;
  gap: 0 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body.single-preparations .lm-prep-attributes__label{
  flex: 0 0 auto !important;
  max-width: 45% !important;
  padding-right: 12px !important;
  white-space: nowrap !important;
  font-weight: 600 !important;
}

body.single-preparations .lm-prep-attributes__dots{
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 5ch !important;
  height: 1.5em !important;
  margin: 0 12px 0 0 !important;
  border-bottom: 0 !important;
  transform: none !important;
  background-image: radial-gradient(circle, rgba(123, 103, 74, 0.38) 1.1px, transparent 1.35px) !important;
  background-size: 7px 2px !important;
  background-repeat: repeat-x !important;
  background-position: left calc(100% - 4px) !important;
}

body.single-preparations .lm-prep-attributes__value{
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  text-align: right !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  color: #222 !important;
  line-height: 1.5 !important;
}

/* ===== СТОИМОСТЬ: новая независимая разметка, без конфликтов старой lm-price-row-detail ===== */
body.single-preparations .lm-prep-price-clean-block{
  margin-top: 22px !important;
}

body.single-preparations .lm-prep-price-clean-list{
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 1px solid rgba(185, 155, 114, 0.16) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 8px 24px rgba(48, 42, 36, 0.045) !important;
}

body.single-preparations .lm-prep-price-clean-row{
  display: grid !important;
  grid-template-columns: max-content minmax(5ch, 1fr) max-content 5ch auto !important;
  column-gap: 0 !important;
  align-items: baseline !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 4px 0 !important;
}

body.single-preparations .lm-prep-price-clean-name{
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding-right: 12px !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  color: #3a352f !important;
}

/* Линия/точки начинаются сразу после LANTOX */
body.single-preparations .lm-prep-price-clean-dots{
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  min-width: 5ch !important;
  height: 1.45em !important;
  margin: 0 12px 0 0 !important;
  border-bottom: 0 !important;
  background-image: radial-gradient(circle, rgba(123, 103, 74, 0.30) 1.1px, transparent 1.35px) !important;
  background-size: 7px 2px !important;
  background-repeat: repeat-x !important;
  background-position: left calc(100% - 4px) !important;
}

/* Мета прижата к цене, но до цены оставлен фиксированный отступ 5ch */
body.single-preparations .lm-prep-price-clean-meta{
  grid-column: 3 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  text-align: right !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  color: #8a8176 !important;
}

body.single-preparations .lm-prep-price-clean-meta.is-empty{
  display: block !important;
  width: 0 !important;
  overflow: hidden !important;
}

body.single-preparations .lm-prep-price-clean-price{
  grid-column: 5 !important;
  grid-row: 1 !important;
  min-width: 58px !important;
  white-space: nowrap !important;
  text-align: right !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  color: #3a352f !important;
}

@media (max-width: 767px){
  body.single-preparations .lm-prep-attributes__row{
    display: block !important;
  }

  body.single-preparations .lm-prep-attributes__label{
    display: block !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    margin-bottom: 6px !important;
    white-space: normal !important;
  }

  body.single-preparations .lm-prep-attributes__dots{
    display: none !important;
  }

  body.single-preparations .lm-prep-attributes__value{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  body.single-preparations .lm-prep-price-clean-list{
    padding: 12px 14px !important;
    border-radius: 16px !important;
  }

  body.single-preparations .lm-prep-price-clean-row{
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 3px 12px !important;
  }

  body.single-preparations .lm-prep-price-clean-name{
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding-right: 0 !important;
    white-space: normal !important;
  }

  body.single-preparations .lm-prep-price-clean-dots{
    display: none !important;
  }

  body.single-preparations .lm-prep-price-clean-meta{
    grid-column: 1 !important;
    grid-row: 2 !important;
    white-space: normal !important;
    text-align: left !important;
  }

  body.single-preparations .lm-prep-price-clean-price{
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
  }
}

/* =========================================================
   ЛИДАМЕД — SINGLE USLUGI / SINGLE PREPARATIONS: фото без обрезки
   Финальная правка: изображения 16:9 показываются целиком
   ========================================================= */

body.single-preparations .lm-prep-hero__media,
body.single-uslugi .lm-service-hero__media{
  width: 36% !important;
  max-width: 380px !important;
  aspect-ratio: 16 / 9 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 22px !important;
  overflow: hidden !important;
}

body.single-preparations .lm-prep-hero__media img,
body.single-uslugi .lm-service-hero__media img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 1199px){
  body.single-preparations .lm-prep-hero__media,
  body.single-uslugi .lm-service-hero__media{
    width: 38% !important;
    max-width: 380px !important;
    aspect-ratio: 16 / 9 !important;
  }
}

@media (max-width: 767px){
  body.single-preparations .lm-prep-hero__media,
  body.single-uslugi .lm-service-hero__media{
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 0 16px 0 !important;
    border-radius: 18px !important;
  }

  body.single-preparations .lm-prep-hero__media img,
  body.single-uslugi .lm-service-hero__media img{
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* =========================================================
   ЛИДАМЕД — ДОБАВЛЕНО ПОСЛЕ ОТКАТА CUSTOM.CSS
   Только 2 правки: архивное меню услуг + строка цены single услуг
   ========================================================= */

/* =========================================================
   ЛИДАМЕД — УСЛУГИ: верхнее меню подкатегорий в архивах
   Файл: taxonomy-service_category.php
   ========================================================= */

body.tax-service_category .lm-service-section-nav{
    position: sticky !important;
    top: 14px !important;
    z-index: 20 !important;
    margin: 0 0 26px !important;
    padding: 0 !important;
}

body.admin-bar.tax-service_category .lm-service-section-nav{
    top: 46px !important;
}

body.tax-service_category .lm-service-section-nav__title{
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    margin: 0 0 8px !important;
    padding: 0 46px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(185, 155, 114, 0.36) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 52%, #f4ead9 100%) !important;
    box-shadow:
        0 10px 24px rgba(48, 42, 36, 0.055),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;
    text-align: center !important;
}

body.tax-service_category .lm-service-section-nav__title span{
    color: #2f2f2f !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
}

body.tax-service_category .lm-service-section-nav__grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 8px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(185, 155, 114, 0.18) !important;
    background: rgba(255, 253, 248, 0.92) !important;
    box-shadow:
        0 14px 34px rgba(48, 42, 36, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

body.tax-service_category .lm-service-section-nav--odd .lm-service-section-nav__link--all{
    grid-column: 1 / -1 !important;
}

body.tax-service_category .lm-service-section-nav__link{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(185, 155, 114, 0.36) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
    color: #4a4032 !important;
    text-decoration: none !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.22 !important;
    font-weight: 600 !important;
    box-shadow:
        0 8px 20px rgba(48, 42, 36, 0.045),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease,
        transform .2s ease !important;
}

body.tax-service_category .lm-service-section-nav__link:hover{
    transform: translateY(-1px) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%) !important;
    border-color: rgba(185, 155, 114, 0.58) !important;
    color: #3f3528 !important;
    box-shadow:
        0 10px 24px rgba(48, 42, 36, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.98) !important;
}

body.tax-service_category .lm-service-section-nav__link.is-active{
    background: linear-gradient(180deg, #fffdf8 0%, #f4ecdc 48%, #eadbc5 100%) !important;
    border-color: rgba(185, 155, 114, 0.66) !important;
    color: #4a4032 !important;
    box-shadow:
        0 12px 28px rgba(120, 92, 58, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

body.tax-service_category .lm-service-section-nav__mobile-toggle{
    display: none !important;
}

body.tax-service_category .lm-service-section-group{
    margin: 0 0 34px !important;
    scroll-margin-top: 150px !important;
}

body.tax-service_category .lm-service-section-group:last-child{
    margin-bottom: 0 !important;
}

body.tax-service_category .lm-service-section-group__head{
    margin: 0 0 14px !important;
    padding: 0 !important;
}

body.tax-service_category .lm-service-section-group__title{
    margin: 0 !important;
    padding: 0 2px !important;
    color: #2f2f2f !important;
    font-size: 25px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
}

@media (max-width: 1024px){
    body.tax-service_category .lm-service-section-nav{
        top: 10px !important;
    }

    body.admin-bar.tax-service_category .lm-service-section-nav{
        top: 56px !important;
    }
}

@media (max-width: 767px){
    body.tax-service_category .lm-service-section-nav{
        top: 8px !important;
        z-index: 25 !important;
        margin-bottom: 20px !important;
    }

    body.admin-bar.tax-service_category .lm-service-section-nav{
        top: 54px !important;
    }

    body.tax-service_category .lm-service-section-nav__title{
        display: none !important;
    }

    body.tax-service_category .lm-service-section-nav__mobile-toggle{
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 46px !important;
        padding: 0 18px !important;
        border-radius: 999px !important;
        border: 1px solid rgba(185, 155, 114, 0.46) !important;
        background: linear-gradient(180deg, #fffdf8 0%, #f4ecdc 48%, #eadbc5 100%) !important;
        color: #4a4032 !important;
        box-shadow:
            0 12px 28px rgba(120, 92, 58, 0.12),
            inset 0 1px 0 rgba(255,255,255,0.86) !important;
        cursor: pointer !important;
        text-align: left !important;
    }

    body.tax-service_category .lm-service-section-nav__mobile-label{
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        color: #4a4032 !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }

    body.tax-service_category .lm-service-section-nav__mobile-icon{
        flex: 0 0 auto !important;
        width: 9px !important;
        height: 9px !important;
        margin-left: 14px !important;
        border-right: 2px solid currentColor !important;
        border-bottom: 2px solid currentColor !important;
        transform: rotate(45deg) translateY(-2px) !important;
        transition: transform .2s ease !important;
    }

    body.tax-service_category .lm-service-section-nav.is-open .lm-service-section-nav__mobile-icon{
        transform: rotate(225deg) translateY(-2px) !important;
    }

    body.tax-service_category .lm-service-section-nav__grid{
        display: none !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-top: 8px !important;
        padding: 8px !important;
        border-radius: 20px !important;
    }

    body.tax-service_category .lm-service-section-nav.is-open .lm-service-section-nav__grid{
        display: grid !important;
    }

    body.tax-service_category .lm-service-section-nav--odd .lm-service-section-nav__link--all{
        grid-column: auto !important;
    }

    body.tax-service_category .lm-service-section-nav__link{
        justify-content: flex-start !important;
        min-height: 42px !important;
        padding: 10px 16px !important;
        font-size: 14px !important;
        text-align: left !important;
    }

    body.tax-service_category .lm-service-section-group{
        margin-bottom: 28px !important;
        scroll-margin-top: 116px !important;
    }

    body.tax-service_category .lm-service-section-group__title{
        font-size: 22px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — SINGLE USLUGI: стоимость процедуры в одну строку
   Название — точки — мета — отступ — цена
   ========================================================= */

body.single-uslugi .lm-service-prices-block{
  margin-top: 22px !important;
}

body.single-uslugi .lm-service-prices-list{
  margin: 0 !important;
  padding: 0 !important;
  gap: 10px !important;
}

body.single-uslugi .lm-service-prices-list__row{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 5ch auto !important;
  column-gap: 0 !important;
  row-gap: 6px !important;
  align-items: baseline !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(185, 155, 114, 0.16) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 8px 24px rgba(48, 42, 36, 0.045) !important;
}

/* Левая часть: название + мета в одной строке, точки рисуем фоном */
body.single-uslugi .lm-service-prices-list__title{
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: baseline !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  color: #3a352f !important;
  background-image: radial-gradient(circle, rgba(123, 103, 74, 0.30) 1.1px, transparent 1.35px) !important;
  background-size: 7px 2px !important;
  background-repeat: repeat-x !important;
  background-position: left calc(100% - 4px) !important;
  text-shadow:
    -2px 0 #fffdf9,
     2px 0 #fffdf9,
     0 -1px #fffdf9,
     0  1px #fffdf9 !important;
}

/* Старую отдельную линию отключаем: линия теперь внутри title */
body.single-uslugi .lm-service-prices-list__dots{
  display: none !important;
}

/* Мета: услуга · 1 процедура · 30–60 минут — справа перед ценой */
body.single-uslugi .lm-service-prices-list__meta{
  flex: 0 0 auto !important;
  display: block !important;
  margin: 0 0 0 auto !important;
  padding: 0 0 0 24px !important;
  max-width: 48% !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: right !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  color: #8a8176 !important;
  text-shadow:
    -2px 0 #fffdf9,
     2px 0 #fffdf9,
     0 -1px #fffdf9,
     0  1px #fffdf9 !important;
}

/* Фиксированный отступ между метой и ценой */
body.single-uslugi .lm-service-prices-list__price{
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: block !important;
  min-width: 86px !important;
  white-space: nowrap !important;
  text-align: right !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  color: #3a352f !important;
}

/* Комментарий к цене — отдельной строкой под ценой */
body.single-uslugi .lm-service-prices-list__note{
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-style: italic !important;
  color: #7f786f !important;
}

@media (max-width: 991px){
  body.single-uslugi .lm-service-prices-list__row{
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 3px 12px !important;
  }

  body.single-uslugi .lm-service-prices-list__title{
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    background-image: none !important;
    text-shadow: none !important;
  }

  body.single-uslugi .lm-service-prices-list__meta{
    display: block !important;
    margin: 3px 0 0 0 !important;
    padding: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    white-space: normal !important;
    text-align: left !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-shadow: none !important;
  }

  body.single-uslugi .lm-service-prices-list__price{
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    min-width: 78px !important;
  }

  body.single-uslugi .lm-service-prices-list__note{
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin-top: 4px !important;
  }
}

/* =========================================================
   ЛИДАМЕД — УСЛУГИ: компактное меню категорий при малой высоте
   Десктоп/ноутбук: одна активная плашка + выпадающее меню в 2 колонки
   ========================================================= */

@media (min-width: 768px) and (max-height: 860px){

    body.tax-service_category .lm-service-section-nav{
        position: sticky !important;
        top: 72px !important;
        z-index: 260 !important;
        margin: 0 0 22px !important;
        padding: 8px !important;
        border-radius: 24px !important;
        border: 1px solid rgba(185, 155, 114, 0.20) !important;
        background: rgba(255, 253, 248, 0.96) !important;
        box-shadow:
            0 16px 38px rgba(48, 42, 36, 0.08),
            inset 0 1px 0 rgba(255,255,255,0.92) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        isolation: isolate !important;
    }

    body.admin-bar.tax-service_category .lm-service-section-nav{
        top: 104px !important;
    }

    body.tax-service_category .lm-service-section-nav__title{
        display: none !important;
    }

    body.tax-service_category .lm-service-section-nav__mobile-toggle{
        position: relative !important;
        z-index: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 46px !important;
        padding: 0 18px !important;
        border-radius: 999px !important;
        border: 1px solid rgba(185, 155, 114, 0.46) !important;
        background: linear-gradient(180deg, #fffdf8 0%, #f4ecdc 48%, #eadbc5 100%) !important;
        color: #4a4032 !important;
        box-shadow:
            0 12px 28px rgba(120, 92, 58, 0.12),
            inset 0 1px 0 rgba(255,255,255,0.86) !important;
        cursor: pointer !important;
        text-align: left !important;
    }

    body.tax-service_category .lm-service-section-nav__mobile-label{
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        color: #4a4032 !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }

    body.tax-service_category .lm-service-section-nav__mobile-icon{
        flex: 0 0 auto !important;
        width: 9px !important;
        height: 9px !important;
        margin-left: 14px !important;
        border-right: 2px solid currentColor !important;
        border-bottom: 2px solid currentColor !important;
        transform: rotate(45deg) translateY(-2px) !important;
        transition: transform .2s ease !important;
    }

    body.tax-service_category .lm-service-section-nav.is-open .lm-service-section-nav__mobile-icon{
        transform: rotate(225deg) translateY(-2px) !important;
    }

    body.tax-service_category .lm-service-section-nav__grid{
        display: none !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 8px !important;
        padding: 8px !important;
        border-radius: 20px !important;
        border: 1px solid rgba(185, 155, 114, 0.16) !important;
        background: rgba(255, 255, 255, 0.86) !important;
        box-shadow:
            0 12px 28px rgba(48, 42, 36, 0.055),
            inset 0 1px 0 rgba(255,255,255,0.92) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    body.tax-service_category .lm-service-section-nav.is-open .lm-service-section-nav__grid{
        display: grid !important;
    }

    /* Верхняя плашка уже показывает текущий раздел — в выпадающем списке его не дублируем */
    body.tax-service_category .lm-service-section-nav__grid .lm-service-section-nav__link.is-active{
        display: none !important;
    }

    body.tax-service_category .lm-service-section-nav--odd .lm-service-section-nav__link--all{
        grid-column: auto !important;
    }

    body.tax-service_category .lm-service-section-nav__link{
        justify-content: center !important;
        min-height: 40px !important;
        padding: 9px 14px !important;
        font-size: 13px !important;
        line-height: 1.22 !important;
        text-align: center !important;
    }

    body.tax-service_category .lm-service-section-group{
        scroll-margin-top: 148px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — FOOTER PARTNERS FULL BLEED WITHOUT HORIZONTAL SCROLL
   2026-05-17
   Карусель брендов снова тянем от края до края, но горизонтальный
   скролл гасим через overflow-x: clip, чтобы 100vw не давал лишние
   пиксели из-за системного скроллбара браузера.
   ========================================================= */

@media (min-width: 768px){

    html,
    body{
        max-width: 100% !important;
        overflow-x: clip !important;
    }

    @supports not (overflow-x: clip){
        html,
        body{
            overflow-x: hidden !important;
        }
    }

    .lm-legal-line + section.lm-footer-partners,
    .lm-legal-line + .lm-footer-partners,
    section.lm-footer-partners,
    .lm-footer-partners{
        position: relative !important;
        left: 50% !important;
        right: auto !important;

        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;

        margin-left: -50vw !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    section.lm-footer-partners > *,
    .lm-footer-partners > *,
    .lm-footer-partners .container,
    .lm-footer-partners .lm-container,
    .lm-footer-partners__viewport{
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;

        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .lm-footer-partners__track{
        max-width: none !important;
        width: max-content !important;
    }

    .lm-footer-partners__group{
        min-width: 0 !important;
    }

    .lm-legal-line{
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
}

/* Legal pages navigation: safe adaptive layout */
.lm-legal-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px !important;
}

.lm-legal-nav__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;

    min-height: 48px !important;
    padding: 12px 14px !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;

    font-size: clamp(12px, 0.82vw, 15px) !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

/* Только на очень широких экранах пробуем 4 кнопки в ряд */
@media (min-width: 1780px) {
    .lm-legal-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .lm-legal-nav__btn {
        font-size: 12px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* На мобильной версии — одна колонка, чтобы ничего не ломалось */
@media (max-width: 640px) {
    .lm-legal-nav {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .lm-legal-nav__btn {
        font-size: 14px !important;
        white-space: normal !important;
        min-height: 46px !important;
        padding: 12px 14px !important;
    }
}

/* =========================================================
   ЛИДАМЕД — ПРАЙС / MOBILE TITLE SPLIT FINAL
   Задача: мобильный прайс 360–451 px.
   Латиница + вертикальная палочка остаются первой строкой,
   русское название уходит второй строкой, цена держится справа сверху.
   Только страница прайса. Без изменения логики аккордеонов.
   ========================================================= */

.lidamed-price .lm-price-title__line,
.lidamed-price .lm-price-title__main,
.lidamed-price .lm-price-title__sep,
.lidamed-price .lm-price-title__ru{
  display: inline;
}

.lidamed-price .lm-price-title__sep{
  margin-left: .32em;
}

.lidamed-price .lm-price-title__ru{
  margin-left: .32em;
}

.lidamed-price .lm-price-row-detail__name{
  min-width: 0;
}

@media (max-width: 520px){
  .lidamed-price,
  .lidamed-price *{
    box-sizing: border-box !important;
  }

  .lidamed-price{
    overflow: hidden !important;
  }

  .lidamed-price .price-row,
  .lidamed-price .price-category-title,
  .lidamed-price .price-subcategory-title{
    max-width: 100% !important;
  }

  .lidamed-price .price-row{
    padding: 12px 12px !important;
  }

  .lidamed-price .price-item-top{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    grid-template-rows: auto auto !important;
    align-items: start !important;
    gap: 4px 10px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .lidamed-price .price-item-title{
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 14px !important;
    line-height: 1.28 !important;
    font-weight: 650 !important;
    color: #302b26 !important;
  }

  .lidamed-price .price-item-price{
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    text-align: right !important;
    font-size: 14px !important;
    line-height: 1.28 !important;
    font-weight: 750 !important;
    color: #6f5436 !important;
  }

  .lidamed-price .lm-price-row-toggle__icon{
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: start !important;
    margin: -1px 0 0 0 !important;
  }

  .lidamed-price .price-item-bottom{
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: auto !important;
    min-width: 0 !important;
    margin-top: 1px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    color: #8a8074 !important;
  }

  .lidamed-price .lm-price-title--split .lm-price-title__line{
    display: inline-flex !important;
    align-items: baseline !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: .32em !important;
    vertical-align: baseline !important;
  }

  .lidamed-price .lm-price-title--split .lm-price-title__main{
    display: inline !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .lidamed-price .lm-price-title--split .lm-price-title__sep{
    display: inline !important;
    flex: 0 0 auto !important;
    margin-left: 0 !important;
  }

  .lidamed-price .lm-price-title--split .lm-price-title__ru{
    display: block !important;
    margin: 1px 0 0 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
    font-weight: 500 !important;
    color: #6f675d !important;
  }

  .lidamed-price .lm-price-row-details{
    max-width: 100% !important;
    padding: 8px 10px 10px !important;
  }

  .lidamed-price .lm-price-row-detail{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: start !important;
    gap: 4px 10px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 8px 2px !important;
  }

  .lidamed-price .lm-price-row-detail__title{
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .lidamed-price .lm-price-row-detail__name{
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: break-word !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    font-weight: 560 !important;
    color: #5d554c !important;
  }

  .lidamed-price .lm-price-row-detail__name.lm-price-title--split .lm-price-title__ru{
    font-size: 13.5px !important;
    line-height: 1.35 !important;
  }

  .lidamed-price .lm-price-row-detail .lm-price-row-detail__meta,
  .lidamed-price .lm-price-row-detail .lm-service-prices-list__meta{
    display: block !important;
    margin: 2px 0 0 0 !important;
    padding-left: 0 !important;
    white-space: normal !important;
    text-align: left !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #8a8074 !important;
  }

  .lidamed-price .lm-price-row-detail__dots{
    display: none !important;
  }

  .lidamed-price .lm-price-row-detail__price{
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    text-align: right !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    font-weight: 750 !important;
    color: #3a352f !important;
  }
}

