.seo__txt p {
    margin: 10px 0;
}

.warning {
	position: fixed;
	bottom: 0;
	left: 0;
	display: none;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 17px;
	box-sizing: border-box;
	background-color: #f2efea;
	z-index: 999;
}

.warning--active {
	display: flex;
}

.warning__text {
	margin-right: 30px;
}

.warning__read {
	display: block;
	margin-left: 15px;
}

@media only screen and (max-width: 992px) {
    .warning--active {
        display: block;
        text-align: center;
        font-size: 11px;
    }   
    
    .warning button {
        margin-top: 10px;
        font-size: 16px;
        height: 40px;
    }
}

.text__page table {
    border-collapse: collapse;
}

.text__page table tr, td, th {
    border: 1px solid #dfdfdf;
    padding: 10px;
}

.text__page ul {
    padding-left: 40px;
}

.text__page ul li {
    list-style-type: disc;
}

.cat-sect__filter-check input {
    margin: 0 10px 0 0;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 60px 0 20px 0;
}

.page-item {
  display: inline-flex;
}

.page-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  color: #0b1220;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
}

.page-link:hover {
  background-color: #f3f4f6;
}

.page-item.active .page-link {
  background-color: #4c0b19;
  border-color: #b61034;
  color: #fff;
  cursor: default;
}

.page-item.disabled .page-link {
  color: #9ca3af;
  background-color: #f9fafb;
  border-color: #e5e7eb;
  pointer-events: none;
  cursor: not-allowed;
}
/* Стили для кнопки/иконки */
.main-header__special {
    background: none;
    border: none;
    padding: 0 0 0 15px;
    vertical-align: middle;
    cursor: pointer;
    display: inline-block;
}

/* Desktop only: показываем на экранах >= 1024px */
@media (max-width: 1023px) {
  .main-header__special {
    display: none;
  }
}
/* На экранах <= 1200px и >= 1024px */
@media (max-width: 1200px) {
  .main-header__special {
    padding-left: 5px;
  }
  .main-header__special img {
    width: 36px;
    height: 36px;
  }
}
.stand-sect__review-form {
    margin-top: 30px;
    padding: 30px;
    background-color: #f9f5f0;
    border-radius: 8px;
    max-width: 100%;
}

.stand-sect__form-title {
    font-size: 20px;
    font-weight: 600;
    color: #5a1c3c;
    margin-bottom: 25px;
}

.stand-sect__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.stand-sect__input,
.stand-sect__textarea {
    padding: 12px 15px;
    border: 1px solid #d4c5b9;
    border-radius: 6px;
    font-family: 'Segoe UI', Tahoma, Geneva, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.stand-sect__input:focus,
.stand-sect__textarea:focus {
    outline: none;
    border-color: #c17d7d;
    box-shadow: 0 0 0 3px rgba(193, 125, 125, 0.1);
}

.stand-sect__textarea {
    resize: vertical;
    min-height: 120px;
}

.stand-sect__rating-label {
    font-size: 14px;
    font-weight: 500;
    color: #5a1c3c;
    margin-bottom: 15px;
}

.stand-sect__stars-rating {
    display: flex;
    align-items: center;
}

.stars-container {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.star {
    font-size: 36px;
    color: #d4c5b9;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.star:hover,
.star.hover {
    color: #ffd700;
    transform: scale(1.1);
}

.star.active {
    color: #ffd700;
}

.stand-sect__submit-btn {
    align-self: flex-start;
    padding: 14px 35px;
    background-color: #5a1c3c;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.stand-sect__submit-btn:hover {
    background-color: #3d1228;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 28, 60, 0.2);
}

.stand-sect__submit-btn:active {
    transform: translateY(0);
}
/* Попап успешной отправки */
.popup-success {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-success__content {
    background: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    color: #333;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeIn 0.3s ease;
}

.popup-success__content h3 {
    color: #5a1c3c;
    margin-bottom: 10px;
}

.popup-success__close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.popup-success__close:hover {
    color: #5a1c3c;
}

@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
}
.pserv-sect__price-link {
    margin-bottom: 40px;
}

.pserv-sect__price-link-a {
    color: #4c0b19;
}

.pserv-sect__price-link-a:hover,
.pserv-sect__price-link-a:focus {
    color: #4c0b19;
    text-decoration: underline;
}
.mob-menu__bottom {
    position: sticky;           /* или fixed, если нужно прижать к самому низу */
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    z-index: 5;
}

.mob-bottom-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #1f4f4a;
    font-size: 11px;
}

.mob-bottom-item__icon {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto 4px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* сюда подставь свои svg/png */
.mob-bottom-item__icon--services     { background-image: url('/assets/templates/img/services.svg'); }
.mob-bottom-item__icon--doctors { background-image: url('/assets/templates/img/doctors.svg'); }
.mob-bottom-item__icon--sign-up  { background-image: url('/assets/templates/img/sign-up.svg'); }
.mob-bottom-item__icon--write    { background-image: url('/assets/templates/img/write.svg'); }
.mob-bottom-item__icon--whatsapp { background-image: url('/assets/templates/img/whatsapp.svg'); }
.mob-menu__bottom {
    display: none;          /* по умолчанию нигде не показываем */
}
@media (max-width: 767px) {   /* подставь тот breakpoint, что уже используется в проекте */
    .mob-menu__bottom {
        display: flex;
        position: sticky;     /* или fixed, как нужно */
        bottom: 0;
        left: 0;
        right: 0;
        justify-content: space-between;
        padding: 10px 15px;
        background: #fff;
        border-top: 1px solid #e5e5e5;
        z-index: 5;
    }
}
.body-lock {
    overflow: hidden;
    height: 100vh;
}
/* по умолчанию не показываем */
.mob-bottom-nav {
  display: none;
}

/* только мобильные, подбери breakpoint под свой макет */
@media (max-width: 767px) {
  body {
    padding-bottom: 60px; /* высота панели, чтобы контент не уходил под неё */
  }

  .mob-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    z-index: 1000;
  }

  .mob-bottom-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #1f4f4a;
    font-size: 11px;
  }

  .mob-bottom-item__icon {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 auto 3px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .mob-bottom-item__text {
    display: block;
    line-height: 1.2;
  }

  /* свои svg/png */
  .mob-bottom-item__icon--services     { background-image: url('/assets/templates/img/services.svg'); }
  .mob-bottom-item__icon--doctors { background-image: url('/assets/templates/img/doctors.svg'); }
  .mob-bottom-item__icon--sign-up  { background-image: url('/assets/templates/img/sign-up.svg'); }
  .mob-bottom-item__icon--write    { background-image: url('/assets/templates/img/write.svg'); }
  .mob-bottom-item__icon--whatsapp { background-image: url('/assets/templates/img/whatsapp.svg'); }
}
:root {
flex-wrap: wrap;
gap: 8px;
margin-bottom: 32px;
}


.tab {
padding: 8px 16px;
border-radius: 20px;
background: var(--light);
font-size: 14px;
cursor: pointer;
white-space: nowrap;
}


.accordion {
display: flex;
flex-direction: column;
gap: 16px;
}


.accordion-item {
border: 1px solid var(--border);
border-radius: 16px;
overflow: hidden;
}


.accordion-header {
padding: 20px 24px;
background: #fff;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 18px;
color: var(--main);
}


.accordion-header span {
font-size: 22px;
transition: transform 0.2s ease;
}


.accordion-item.active .accordion-header span {
transform: rotate(180deg);
}


.accordion-content {
display: none;
padding: 24px;
}


.accordion-item.active .accordion-content {
display: block;
}


.price-group {
margin-bottom: 32px;
}


.price-title {
font-weight: 500;
margin-bottom: 12px;
color: var(--main);
}


.price-row {
display: grid;
grid-template-columns: 1fr 120px;
gap: 16px;
padding: 10px 0;
border-bottom: 1px solid var(--border);
font-size: 14px;
}


.price-row:last-child {
border-bottom: none;
}


.price {
text-align: right;
white-space: nowrap;
}


@media (max-width: 640px) {
h1 { font-size: 32px; }
.price-row { grid-template-columns: 1fr; }
.price { text-align: left; }
}

.prices-sect__tabs {
  margin-bottom: 16px;
}

.prices-sect__tabs-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 4px;
}

.prices-sect__tabs-inner .pserv-sect__tag {
  cursor: default;
}

.prices-accs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prices-acc {
  border-radius: 20px;
  background-color: #f7f3ee;
}

.prices-acc__head {
  width: 100%;
  border: none;
  margin: 0;
  padding: 18px 24px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: Arsenal, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: #4c0b19;
}

.prices-acc__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d9c9c4;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  transition: transform 0.25s ease-out;
}

.prices-acc__icon::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #4c0b19;
  border-bottom: 2px solid #4c0b19;
  transform: rotate(45deg);
}

.prices-acc.open .prices-acc__icon {
  transform: rotate(180deg);
}

.prices-acc__body {
  display: none;
  padding: 0 24px 22px 24px;
}

.prices-acc.open .prices-acc__body {
  display: block;
}

.prices-acc__inner {
  border-radius: 16px;
  background-color: #fff;
  padding: 22px 22px 24px 22px;
  box-shadow: 0 1px 3px rgba(54, 45, 86, 0.25),
    0 4px 15px rgba(54, 45, 86, 0.1);
}

.prices-acc__subtitle {
  margin-bottom: 16px;
  font-weight: 500;
}

/* Таблица цен в стиле макета */
.prices-table {
  font-size: 15px;
  line-height: 1.5;
  color: #4c0b19;
}

.prices-table__head,
.prices-table__row {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr minmax(120px, 160px);
  column-gap: 24px;
}

.prices-table__head {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e3d5cf;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c6a9a3;
}

.prices-table__row {
  padding: 6px 0;
  border-bottom: 1px solid #f0e3e0;
}

.prices-table__row:last-child {
  border-bottom: none;
}

.prices-table__row--single {
  margin: 12px 0 4px;
}

.prices-table__cell--code {
  font-size: 13px;
  color: #b5a7a3;
}

.prices-table__cell--name {
  white-space: normal;
}

.prices-table__cell--price {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

.prices-table__head .prices-table__cell--price {
  font-weight: 400;
}

.prices-table__group {
  margin-top: 12px;
}

.prices-table__group-title {
  margin: 10px 0 6px;
  font-weight: 600;
}

@media only screen and (max-width: 768px) {
  .prices-acc__head {
    padding: 14px 16px;
    font-size: 18px;
  }

  .prices-acc__body {
    padding: 0 16px 18px 16px;
  }

  .prices-acc__inner {
    padding: 18px 14px 18px 14px;
  }

  .prices-table__head,
  .prices-table__row {
    grid-template-columns: minmax(170px, 230px) 1fr minmax(100px, 130px);
    column-gap: 12px;
  }

  .prices-table {
    font-size: 14px;
  }
}
/* Контейнер со списком врачей, если есть */
.pserv-sect__doctors {
  position: relative;
}

/* Карточка врача */
.doctors-sect__slide {
  position: relative;
  z-index: 1;
}

/* Ховер по всей карточке */
.doctors-sect__slide:hover {
  z-index: 100;
}
/* БАЗОВЫЕ СТИЛИ БЛОКА */
.doctor-gallery {
  margin: 40px 0;
}

.doctor-gallery__title {
  font-size: 24px;
  margin-bottom: 20px;
}

/* КАРУСЕЛЬ */
.doctor-gallery__carousel {
  position: relative;
  overflow: hidden;
}

.doctor-gallery__track {
  display: flex;
  transition: transform 0.4s ease;
}

.doctor-gallery__slide {
  min-width: 33.3333%;
  box-sizing: border-box;
  padding: 0 5px;
}

.doctor-gallery__slide img {
  width: 100%;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  object-fit: cover;
}

/* КНОПКИ НАВИГАЦИИ */
.doctor-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.doctor-gallery__nav--prev {
  left: 10px;
}

.doctor-gallery__nav--next {
  right: 10px;
}

/* ТОЧКИ ПАГИНАЦИИ */
.doctor-gallery__dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 8px;
}

.doctor-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
}

.doctor-gallery__dot--active {
  background: #333;
}

/* МОДАЛКА ПОЛНОЭКРАННОГО ПРОСМОТРА */
.doctor-gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.doctor-gallery-modal--open {
  display: flex;
}

.doctor-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.doctor-gallery-modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
}

.doctor-gallery-modal__image {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 8px;
}

.doctor-gallery-modal__close {
  position: absolute;
  top: -32px;
  right: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* АДАПТИВНОСТЬ */

/* Планшеты */
@media (max-width: 992px) {
  .doctor-gallery__title {
    font-size: 20px;
  }

  .doctor-gallery__nav {
    width: 32px;
    height: 32px;
  }
}

/* Мобильные */
@media (max-width: 576px) {
  .doctor-gallery {
    margin: 24px 0;
  }

  .doctor-gallery__title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .doctor-gallery__slide {
    min-width: 100%; /* или 50%, если хотите по два */
    padding: 0;
  }

  .doctor-gallery__nav {
    width: 28px;
    height: 28px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.5);
  }

  .doctor-gallery-modal__close {
    top: -28px;
    font-size: 24px;
  }
}
.doctor-gallery__track {
  display: flex;
  gap: 20px;
}

.doctor-gallery__slide {
  flex: 0 0 calc((100% - 40px) / 3);
}

.doctor-gallery__slide img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
}
.doctor-gallery__track:has(.doctor-gallery__slide:nth-child(1):last-child) .doctor-gallery__slide,
.doctor-gallery__track:has(.doctor-gallery__slide:nth-child(2):last-child) .doctor-gallery__slide {
  flex: 0 0 100%;
}

.stand-sect__main--row {
    width: 100%;
}
.doctor-gallery__dots {
    display: none !important;
}
.why-sect{
  padding: 50px 0;
}

@media only screen and (max-width: 992px){
  .why-sect{ padding: 25px 0; }
}

.why-sect__title{
  margin-bottom: 20px;
}

@media only screen and (max-width: 992px){
  .why-sect__title{ margin-bottom: 15px; }
}

.why-sect__items{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media only screen and (max-width: 768px){
  .why-sect__items{ grid-template-columns: 1fr; }
}

.why-sect__item{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(54,45,86,.25), 0 4px 15px rgba(54,45,86,.1);
}

@media only screen and (max-width: 576px){
  .why-sect__item{
    padding: 16px;
    border-radius: 16px;
  }
}

.why-sect__icon{
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #4c0b19;
  background: #f2efea; /* как бейджи/подложки в текущих стилях */
}

.why-sect__item-title{
  font-size: 26px;
  line-height: 1.35em;
  color: #4c0b19;
  margin-bottom: 6px;
  font-family: Arsenal, Arial, sans-serif;
  font-weight: 400;
}

@media only screen and (max-width: 576px){
  .why-sect__item-title{ font-size: 18px; }
}

.why-sect__item{
  display:flex;
  gap:16px;
  align-items:flex-start; /* важно */
}

.why-sect__icon{
  flex: 0 0 103px;
  width: 103px;
  height: 103px;
  display: block;
  line-height: 0;
  background: transparent;

  margin-top: -18px; /* подстрой: -12…-26px чтобы стало как на макете */
}

.why-sect__icon img{
  width: 103px;
  height: 103px;
  display: block;
}
@media only screen and (max-width: 576px){
  .why-sect__item{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 18px 16px;
  }

  .why-sect__icon{
    width: 94px;
    height: 94px;
    flex: 0 0 94px;
    margin-top: 0; /* убираем “приклейку” если делал отрицательный margin */
  }

  .why-sect__item-title{
    margin-bottom: 8px;
  }
}
@media only screen and (max-width: 576px){
  .why-sect__item-title{
    font-size: 18px;
    line-height: 1.3;
    color: #4c0b19;
    font-family: Arsenal, Arial, sans-serif;
  }

  .why-sect__item-text{
    font-size: 16px;
    line-height: 1.55;
  }
}
@media only screen and (max-width: 576px){
  .why-sect__item-title{ font-size: 24px !important; }
}