.time-price {

}

.time-block,
.price-block {
  display: flex;
  align-items: center;
  min-width: 0;                      /* важно для сжатия содержимого */
  flex: 0 0 50%;                     /* ровно 50% ширины */
  max-width: 50%;
}

.d-flex.align-items-start.time-right {
  margin-right: 10px;
  margin-top: 7px;

  display: flex;
  align-items: flex-start;
  min-width: 0;
}

img.razmer { width: 40px; }

.procedure-notification {
  text-transform: uppercase;
  white-space: normal;               /* было nowrap — ломало сетку */
  overflow-wrap: break-word;         /* перенос по словам */
  word-break: normal;                /* не дробим по буквам */
  min-width: 0;
}
.procedure-notification b { white-space: nowrap; } /* короткие ярлыки — в одну строку */


/* ===== Тултипы без JS: hover + tap (:focus-within) ===== */

.tooltip-container {
  position: relative;
  display: inline-flex;              /* предсказуемо внутри flex-строк */
  flex: 0 0 auto;
  outline: none;
  margin-left: 8px;                  /* отступ от текста */
  line-height: 0;                    /* убираем лишние пробелы вокруг svg */
}

.tooltip-icon {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.tooltip-container:hover .tooltip-icon,
.tooltip-container:focus-within .tooltip-icon {
  transform: scale(1.1);
}

/* Общие стили тултипа */
.tooltip-text {
  position: absolute;
  bottom: 125%;                      /* сверху от иконки */
  /* НЕ центрируем! Привязку по краям задаём ниже для левого/правого блока */

  display: block;
  width: auto;
      min-width: 180px;
  max-width: clamp(180px, 90vw, 320px); /* влезает в экран и не узкая */
  padding: 8px 12px;

  background: #464646;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 7px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);        /* лёгкий сдвиг при появлении */
  transition: opacity .2s ease, transform .2s ease;

  /* Переносы текста — НОРМАЛЬНЫЕ */
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Показ: hover + tap (focus-within) */
.tooltip-container:hover .tooltip-text,
.tooltip-container:focus-within .tooltip-text {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Стрелочка */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 0; height: 0;
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #464646 transparent transparent transparent;
}

/* --- НИЖЕ — самое важное: привязка к краям, чтобы не вылезти за экран --- */

/* ЛЕВЫЙ блок (Время): прилипание к ЛЕВОМУ краю */
.time-block .tooltip-text {
  left: 0;                 /* выезжает влево относительно иконки */
  right: auto;
}
.time-block .tooltip-text::after {
  left: 12px;              /* стрелочка смещена под иконку */
}

/* ПРАВЫЙ блок (Цена): прилипание к ПРАВОМУ краю */
.price-block .tooltip-text {
  right: 0;                /* выезжает вправо относительно иконки */
  left: auto;
}
.price-block .tooltip-text::after {
  right: 12px;             /* стрелочка смещена под иконку */
}

/* Вариант «вниз», если добавишь класс .bottom */
.tooltip-text.bottom {
  top: 125%;
  bottom: auto;
}
.tooltip-text.bottom::after {
  top: auto;
  bottom: 100%;
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #464646 transparent;
}

/* ===== Адаптив ===== */

@media (max-width: 576px) {
  /* Жёстко удерживаем 50/50 даже на очень узких — по требованию */
  .time-price { flex-wrap: nowrap; }
  .time-block, .price-block { flex: 0 0 50%; max-width: 50%; justify-content: center; }
  .tooltip-text { font-size: 13px; line-height: 1.3; }
}

/* (Опционально) если на сверхузких ширинах хочется чуть ужать тултип */
@media (max-width: 360px) {
  .tooltip-text { max-width: 92vw; }
}


/* --- ПОЧЕМУ МЫ --- */
.why-us__item {
  display: flex;
  align-items: center;
  padding: 0px 10px 0px 10px;
  border-radius: 14px;
  height: 60px;
  margin: 0 0 0 20px;
  background: #fff;
  transition: background 0.2s ease;
  margin-bottom: 15px; 
}
.procedure-notification {
  white-space: nowrap;
  text-transform: uppercase;
}


.why-us__item:hover { background: #fafafa; }
.why-us__icon {
  margin-left: 7px !important; 
  width: 40px !important;
  height: auto;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}
.why-us__text {
  font-size: 13px;
    font-weight: 600;
    margin: 0;
    padding: 0px 20px 0px 20px;
    text-transform: uppercase;
    text-align: center;
    flex: 1;
}
.owl-carousel .owl-stage-outer,
.owl-carousel .owl-stage,
.owl-carousel .owl-item {
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}


.why-us__text::after {
    content: attr(data-step);
    position: absolute;
    top: 15%;
    left: 10px;
    font-size: 25px;
    font-weight: bold;
    color: #e60680;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

    


@media (max-width: 768px) {
    .container_dl, .container_dl .row, .container_dl .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
