/* ============================================================
   nur-bot — блоки для islamnamaz.ru
   Стили наследуют переменные темы nur-theme, поэтому
   тёмная тема (.nur-theme-dark / prefers-color-scheme)
   подхватывается автоматически, без отдельных правил.

   Подключение: добавить в тему после core.css
   или вставить содержимое в Дополнительные стили WordPress.
   ============================================================ */

/* ------------------------------------------------------------
   1. БАННЕР НА ГЛАВНОЙ
   Занимает всю ширину контейнера, ставится между секциями.
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   0. ПЕРЕМЕННЫЕ — на :root, а не внутри баннера
   ------------------------------------------------------------
   Здесь была ошибка: переменные объявлялись внутри .nur-bot-banner,
   поэтому работали только внутри баннера. Кнопки на странице /bot/
   лежат ВНЕ баннера, --nb-emerald для них не существовал,
   linear-gradient() получался невалидным — фон не рисовался,
   оставался только белый текст. Отсюда «невидимые» кнопки.
   ------------------------------------------------------------ */

:root {
  --nb-emerald: var(--nur-emerald, #0B6E4F);
  --nb-emerald-dark: var(--nur-emerald-dark, #064E3B);
  --nb-gold: var(--nur-gold, #c8a45c);
  --nb-gold-soft: var(--nur-gold-soft, #e7cd92);
  --nb-ink: var(--nur-text, #1f2a26);
  --nb-soft: var(--nur-text-soft, #5c6b65);
  --nb-line: var(--nur-line, #e6e3da);
  --nb-card: var(--nur-card, #fff);
  --nb-radius: var(--nur-radius, 16px);
}

.nur-bot-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;

  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--nb-radius);
  border: 1px solid var(--nb-line);
  background:
    radial-gradient(620px 240px at 8% -50px, rgba(200, 164, 92, .16), transparent 65%),
    radial-gradient(620px 240px at 92% -30px, rgba(20, 133, 95, .18), transparent 65%),
    var(--nb-card);
  box-shadow: var(--nur-shadow, 0 4px 24px rgba(14, 107, 79, .08));
}

/* Тонкая золотая линия сверху — как ритм у секций темы */
.nur-bot-banner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent, var(--nb-gold) 22%, var(--nb-gold-soft) 50%, var(--nb-gold) 78%, transparent);
  opacity: .85;
}

.nur-bot-banner__body { min-width: 0; }

.nur-bot-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11, 110, 79, .09);
  border: 1px solid rgba(11, 110, 79, .16);
  color: var(--nb-emerald);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nur-theme-dark .nur-bot-banner__eyebrow {
  background: rgba(29, 180, 131, .14);
  border-color: rgba(29, 180, 131, .28);
  color: var(--nur-green-light, #1db483);
}
@media (prefers-color-scheme: dark) {
  :root:not(.nur-theme-light) .nur-bot-banner__eyebrow {
    background: rgba(29, 180, 131, .14);
    border-color: rgba(29, 180, 131, .28);
    color: #1db483;
  }
}

.nur-bot-banner__title {
  margin: 0 0 .35em;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.22;
  font-weight: 800;
  color: var(--nb-ink);
  text-wrap: balance;
}
.nur-bot-banner__title em {
  font-style: normal;
  color: var(--nb-emerald);
}
.nur-theme-dark .nur-bot-banner__title em { color: var(--nur-green-light, #1db483); }

.nur-bot-banner__lead {
  margin: 0 0 18px;
  max-width: 46ch;
  color: var(--nb-soft);
  font-size: clamp(.92rem, 1.5vw, 1rem);
  line-height: 1.55;
}

/* --- список преимуществ --- */
.nur-bot-feats {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.nur-bot-feats li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--nb-ink);
  font-size: .935rem;
  line-height: 1.45;
}
.nur-bot-feats svg {
  width: 26px;
  height: 26px;
  flex: none;
  padding: 4px;
  border-radius: 8px;
  background: rgba(11, 110, 79, .09);
  fill: none;
  stroke: var(--nb-emerald);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nur-theme-dark .nur-bot-feats svg {
  background: rgba(29, 180, 131, .13);
  stroke: var(--nur-green-light, #1db483);
}
.nur-bot-feats b { font-weight: 700; }

/* --- кнопки --- */
.nur-bot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nur-bot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: .78rem 1.55rem;
  border: 0;
  border-radius: 50px;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--nur-ease, ease), box-shadow .18s, background .18s, color .18s;
}
.nur-bot-btn svg {
  width: 19px; height: 19px; flex: none;
  fill: currentColor; stroke: none;
}

/* основная — как .nur-btn в теме */
.nur-bot-btn--primary {
  /* fallback прямо в var(): если --nb-emerald почему-то не определён,
     берём --nur-emerald, затем жёсткий цвет. Без этого при отсутствии
     переменной gradient становится невалидным и фон ИСЧЕЗАЕТ,
     а белый текст остаётся — кнопка выглядит пустой. */
  background: var(--nb-emerald, #0B6E4F);
  background-image: linear-gradient(
    135deg,
    var(--nb-emerald, var(--nur-emerald, #0B6E4F)) 0%,
    var(--nb-emerald-dark, var(--nur-emerald-dark, #064E3B)) 100%
  );
  color: #fff !important;
  box-shadow: 0 8px 20px -8px rgba(11, 110, 79, .55);
}
.nur-bot-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(11, 110, 79, .62);
  color: #fff !important;
}

/* вторичная — контурная */
.nur-bot-btn--ghost {
  background: transparent;
  color: var(--nb-emerald);
  border: 1.5px solid rgba(11, 110, 79, .3);
}
.nur-bot-btn--ghost:hover {
  border-color: var(--nb-emerald);
  background: rgba(11, 110, 79, .06);
  transform: translateY(-2px);
}
.nur-theme-dark .nur-bot-btn--ghost {
  color: var(--nur-green-light, #1db483);
  border-color: rgba(29, 180, 131, .35);
}
.nur-theme-dark .nur-bot-btn--ghost:hover {
  background: rgba(29, 180, 131, .1);
  border-color: var(--nur-green-light, #1db483);
}

.nur-bot-btn:focus-visible {
  outline: 3px solid var(--nb-gold);
  outline-offset: 3px;
}

.nur-bot-actions__note {
  margin: 12px 0 0;
  font-size: .8rem;
  color: var(--nb-soft);
  line-height: 1.45;
}

/* --- правая часть: макет телефона --- */
.nur-bot-banner__aside {
  justify-self: center;
  width: 100%;
  max-width: 250px;
}

.nur-bot-phone {
  position: relative;
  aspect-ratio: 9 / 18;
  border-radius: 26px;
  padding: 8px;
  background: linear-gradient(160deg, var(--nb-emerald) 0%, var(--nb-emerald-dark) 100%);
  box-shadow:
    0 22px 44px -18px rgba(6, 78, 59, .5),
    inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.nur-bot-phone__screen {
  height: 100%;
  border-radius: 19px;
  background: #f4f1e8;
  padding: 14px 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.nur-theme-dark .nur-bot-phone__screen { background: #101814; }

.nur-bot-phone__bar {
  display: flex; align-items: center; gap: 7px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}
.nur-theme-dark .nur-bot-phone__bar { border-bottom-color: rgba(255, 255, 255, .09); }

.nur-bot-phone__ava {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nb-emerald), var(--nb-gold));
  display: grid; place-items: center;
  color: #fff; font-size: 11px; font-weight: 700;
}
.nur-bot-phone__name {
  font-size: 9.5px; font-weight: 700; color: #1c2b25; line-height: 1.2;
}
.nur-theme-dark .nur-bot-phone__name { color: #d8e4de; }
.nur-bot-phone__sub {
  font-size: 7.5px; color: #6b7d75; line-height: 1.2;
}

.nur-bot-phone__msg {
  max-width: 96%;
  padding: 9px 10px;
  border-radius: 12px 12px 12px 4px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
  font-size: 9px;
  line-height: 1.45;
  color: #26332e;
}
.nur-theme-dark .nur-bot-phone__msg {
  background: #1b2621; color: #cdd9d3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .28);
}
.nur-bot-phone__msg strong { color: var(--nb-emerald); font-weight: 700; }
.nur-theme-dark .nur-bot-phone__msg strong { color: #2fbe8b; }

.nur-bot-phone__msg--muted { opacity: .55; }

.nur-bot-phone__time {
  font-size: 7px;
  color: #8b9a93;
  margin-top: 3px;
  text-align: right;
}

/* ------------------------------------------------------------
   2. ТАРИФЫ
   ------------------------------------------------------------ */

.nur-bot-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 14px;
  margin: 0 0 18px;
  align-items: stretch;
}

.nur-bot-price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  border-radius: var(--nur-radius-sm, 10px);
  border: 1.5px solid var(--nur-line, #e6e3da);
  background: var(--nur-bg, #f7f6f2);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.nur-bot-price:hover {
  transform: translateY(-2px);
  box-shadow: var(--nur-shadow-soft, 0 2px 10px rgba(14, 107, 79, .06));
}

/* выделенный тариф */
.nur-bot-price--best {
  border-color: var(--nur-gold, #c8a45c);
  background: var(--nur-card, #fff);
  box-shadow: 0 6px 24px -12px rgba(200, 164, 92, .55);
}
.nur-bot-price--best::after {
  content: "Выгоднее на 28%";
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nur-gold, #c8a45c), var(--nur-gold-dark, #a8843e));
  color: #1f1605;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}

.nur-bot-price__name {
  margin: 0 0 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--nur-text-soft, #5c6b65);
}

.nur-bot-price__amount {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--nur-text, #1f2a26);
  font-variant-numeric: tabular-nums;
}
.nur-bot-price__amount small {
  font-size: .48em;
  font-weight: 600;
  color: var(--nur-text-soft, #5c6b65);
  margin-left: 3px;
}

.nur-bot-price__hint {
  margin: 6px 0 0;
  font-size: .8rem;
  color: var(--nur-text-soft, #5c6b65);
  line-height: 1.4;
}

.nur-bot-price__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--nur-line, #e6e3da);
  display: grid;
  gap: 7px;
  font-size: .855rem;
  color: var(--nur-text, #1f2a26);
  line-height: 1.4;
}
.nur-bot-price__list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
}
.nur-bot-price__list svg {
  width: 15px; height: 15px; margin-top: 1px;
  fill: none; stroke: var(--nur-emerald, #0B6E4F);
  stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ------------------------------------------------------------
   3. БЛОК ДОВЕРИЯ / ЧЕСТНАЯ ПРИПИСКА
   На сайте уже есть push-уведомления. Прятать это нельзя —
   человек увидит сам и не поверит остальному.
   ------------------------------------------------------------ */

.nur-bot-honest {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--nur-radius-sm, 10px);
  border: 1px dashed var(--nur-border, #E8DFC9);
  background: rgba(200, 164, 92, .06);
  font-size: .86rem;
  line-height: 1.5;
  color: var(--nur-text-soft, #5c6b65);
}
.nur-bot-honest svg {
  width: 20px; height: 20px; flex: none; margin-top: 1px;
  fill: none; stroke: var(--nur-gold-dark, #a8843e);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.nur-bot-honest b { color: var(--nur-text, #1f2a26); }

/* ------------------------------------------------------------
   4. СЕКЦИЯ ДЛЯ СТРАНИЦЫ /bot/
   ------------------------------------------------------------ */

.nur-bot-section { margin-block: clamp(28px, 4vw, 52px); }

.nur-bot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nur-bot-card {
  padding: 20px 18px;
  border-radius: var(--nur-radius-sm, 10px);
  border: 1px solid var(--nur-line, #e6e3da);
  background: var(--nur-card, #fff);
  box-shadow: var(--nur-shadow-soft, 0 2px 10px rgba(14, 107, 79, .06));
}
.nur-bot-card__ico {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 12px;
  border-radius: 11px;
  background: rgba(11, 110, 79, .09);
}
.nur-bot-card__ico svg {
  width: 21px; height: 21px;
  fill: none; stroke: var(--nur-emerald, #0B6E4F);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.nur-theme-dark .nur-bot-card__ico { background: rgba(29, 180, 131, .13); }
.nur-theme-dark .nur-bot-card__ico svg { stroke: var(--nur-green-light, #1db483); }

.nur-bot-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--nur-text, #1f2a26);
  line-height: 1.3;
}
.nur-bot-card p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--nur-text-soft, #5c6b65);
}

/* ------------------------------------------------------------
   5. ДОКУМЕНТЫ: оферта, политика, реквизиты
   ------------------------------------------------------------ */

.nur-doc {
  max-width: 78ch;
  margin-inline: auto;
  color: var(--nur-text, #1f2a26);
  font-size: .95rem;
  line-height: 1.68;
}
.nur-doc h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.25;
  margin: 0 0 .3em;
  color: var(--nur-text, #1f2a26);
}
.nur-doc h2 {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin: 2em 0 .6em;
  padding-bottom: .35em;
  border-bottom: 1px solid var(--nur-line, #e6e3da);
  color: var(--nur-text, #1f2a26);
}
.nur-doc h3 {
  font-size: 1rem;
  margin: 1.4em 0 .4em;
  color: var(--nur-text, #1f2a26);
}
.nur-doc p, .nur-doc li { color: var(--nur-text-soft, #5c6b65); }
.nur-doc strong { color: var(--nur-text, #1f2a26); }
.nur-doc ul, .nur-doc ol { padding-left: 1.3em; margin: .6em 0; }
.nur-doc li { margin: .3em 0; }

.nur-doc__meta {
  margin: 0 0 2em;
  padding: 12px 16px;
  border-radius: var(--nur-radius-sm, 10px);
  background: var(--nur-bg, #f7f6f2);
  border: 1px solid var(--nur-line, #e6e3da);
  font-size: .84rem;
  color: var(--nur-text-soft, #5c6b65);
}

.nur-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: .9rem;
}
.nur-doc th, .nur-doc td {
  padding: 10px 12px;
  border: 1px solid var(--nur-line, #e6e3da);
  text-align: left;
  vertical-align: top;
}
.nur-doc th {
  background: var(--nur-bg, #f7f6f2);
  font-weight: 700;
  color: var(--nur-text, #1f2a26);
  white-space: nowrap;
}
.nur-doc td { color: var(--nur-text-soft, #5c6b65); }

/* Подсветка полей, которые нужно заполнить перед публикацией */
.nur-doc .fill {
  background: #fff3cd;
  border-bottom: 2px solid #e0a800;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 600;
  color: #664d03;
}
.nur-theme-dark .nur-doc .fill {
  background: #4a3a00; border-bottom-color: #b08a00; color: #ffe9a8;
}

.nur-doc__warn {
  margin: 1.5em 0;
  padding: 14px 16px;
  border-radius: var(--nur-radius-sm, 10px);
  border-left: 4px solid #e0a800;
  background: rgba(224, 168, 0, .08);
  font-size: .875rem;
  line-height: 1.55;
  color: var(--nur-text-soft, #5c6b65);
}
.nur-doc__warn strong { color: var(--nur-text, #1f2a26); }

/* ------------------------------------------------------------
   6. АДАПТИВ
   ------------------------------------------------------------ */

@media (max-width: 860px) {
  .nur-bot-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .nur-bot-banner__aside {
    order: -1;
    max-width: 190px;
  }
  .nur-bot-phone { aspect-ratio: 9 / 16; }
}

@media (max-width: 560px) {
  .nur-bot-banner {
    padding: 18px 16px;
    gap: 18px;
  }
  .nur-bot-actions { flex-direction: column; align-items: stretch; }
  .nur-bot-btn { width: 100%; }
  .nur-bot-prices { grid-template-columns: 1fr; }
  .nur-bot-price--best::after { right: 10px; font-size: .64rem; }
  .nur-doc table { display: block; overflow-x: auto; white-space: nowrap; }
  .nur-doc th { white-space: normal; }
}

/* Уважаем настройку «меньше движения» */
@media (prefers-reduced-motion: reduce) {
  .nur-bot-btn,
  .nur-bot-price { transition: none; }
  .nur-bot-btn:hover,
  .nur-bot-price:hover { transform: none; }
}

/* Печать: документы должны читаться на бумаге */
@media print {
  .nur-bot-banner__aside,
  .nur-bot-actions { display: none !important; }
  .nur-doc { max-width: none; font-size: 11pt; }
  .nur-doc .fill { background: none; border-bottom: 1px solid #000; }
}


/* ============================================================
   БАННЕР-ПОЛОСА + ПЛАВАЮЩАЯ КНОПКА
   Добавляется в конец nur-bot.css
   ============================================================ */


/* ------------------------------------------------------------
   7. ПОЛОСА ВО ВСЮ ШИРИНУ — под счётчиком намаза
   Невысокая, не спорит с карточками ниже.
   ------------------------------------------------------------ */

.nur-bot-strip {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 26px);
  flex-wrap: wrap;

  /* Отступы выровнены с ряд-сеткой карточек ниже */
  margin-block: clamp(16px, 2.5vw, 24px);
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.5vw, 26px);

  border-radius: var(--nb-radius, 16px);
  border: 1px solid var(--nb-line, #e6e3da);
  background:
    radial-gradient(520px 180px at 100% 50%, rgba(200, 164, 92, .14), transparent 70%),
    linear-gradient(100deg, rgba(11, 110, 79, .055), rgba(11, 110, 79, .015) 55%, transparent),
    var(--nb-card, #fff);
  box-shadow: var(--nur-shadow-soft, 0 2px 10px rgba(14, 107, 79, .06));
}

/* Тонкая золотая полоса слева — маркер акцента, не отвлекает */
.nur-bot-strip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--nb-gold, #c8a45c), var(--nb-gold-soft, #e7cd92));
}

.nur-bot-strip__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nb-emerald, #0B6E4F), var(--nb-emerald-dark, #064E3B));
  box-shadow: 0 6px 16px -6px rgba(11, 110, 79, .55);
}
.nur-bot-strip__ico svg {
  width: 23px; height: 23px;
  fill: #fff; stroke: none;
}

.nur-bot-strip__body {
  flex: 1 1 280px;
  min-width: 0;
}

.nur-bot-strip__title {
  margin: 0 0 3px;
  font-size: clamp(.95rem, 1.6vw, 1.06rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--nb-ink, #1f2a26);
}

.nur-bot-strip__text {
  margin: 0;
  font-size: clamp(.8rem, 1.4vw, .865rem);
  line-height: 1.45;
  color: var(--nb-soft, #5c6b65);
}
.nur-bot-strip__text b {
  color: var(--nb-ink, #1f2a26);
  font-weight: 600;
}

.nur-bot-strip__action {
  flex: none;
  margin-left: auto;
}

/* Кнопка внутри полосы — компактнее основной */
.nur-bot-strip .nur-bot-btn {
  min-height: 42px;
  padding: .68rem 1.35rem;
  font-size: .88rem;
  white-space: nowrap;
}


/* ------------------------------------------------------------
   8. ПЛАВАЮЩАЯ КНОПКА — правый нижний угол
   Встаёт на место прежней кнопки push (#nur-push-btn),
   которая отключена на Уровне 2. Позиция совпадает,
   чтобы не перекрывать стрелку «наверх».
   ------------------------------------------------------------ */

.nur-bot-fab {
  position: fixed;
  right: 16px;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 999;

  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
  padding: 12px 18px 12px 16px;

  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nb-emerald, #0B6E4F), var(--nb-emerald-dark, #064E3B));
  color: #fff !important;
  font: 600 14px/1.15 Inter, -apple-system, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;

  box-shadow: 0 6px 20px rgba(11, 110, 79, .34), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .18s var(--nur-ease, ease), box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}

.nur-bot-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(11, 110, 79, .42), 0 2px 6px rgba(0, 0, 0, .14);
  color: #fff !important;
}
.nur-bot-fab:active { transform: scale(.975); }
.nur-bot-fab:focus-visible {
  outline: 3px solid var(--nb-gold, #c8a45c);
  outline-offset: 3px;
}

.nur-bot-fab svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
  stroke: none;
}

/* Крестик закрытия */
.nur-bot-fab__close {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #5c6b65;
  font: 700 13px/1 Inter, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  transition: color .15s, transform .15s;
}
.nur-bot-fab__close:hover { color: #1f2a26; transform: scale(1.08); }

.nur-bot-fab[hidden] { display: none !important; }

/* На узких экранах — только иконка и короткий текст */
@media (max-width: 560px) {
  .nur-bot-fab {
    padding: 11px 15px;
    font-size: 13px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  .nur-bot-fab__label-full { display: none; }
}
@media (min-width: 561px) {
  .nur-bot-fab__label-short { display: none; }
}

/* Не мешаем печати */
@media print {
  .nur-bot-fab { display: none !important; }
}

/* Уважаем «меньше движения» */
@media (prefers-reduced-motion: reduce) {
  .nur-bot-fab { transition: none; }
  .nur-bot-fab:hover { transform: none; }
}


/* ------------------------------------------------------------
   9. АДАПТИВ ПОЛОСЫ
   ------------------------------------------------------------ */

@media (max-width: 760px) {
  .nur-bot-strip {
    flex-wrap: wrap;
    gap: 12px;
  }
  .nur-bot-strip__body {
    flex: 1 1 100%;
    order: 1;
  }
  .nur-bot-strip__ico { order: 0; }
  .nur-bot-strip__action {
    order: 2;
    flex: 1 1 100%;
    margin-left: 0;
  }
  .nur-bot-strip .nur-bot-btn {
    width: 100%;
  }
}
/* Мобильное меню шапки */
@media (max-width:900px){.nur-nav{display:flex !important;position:fixed;top:0;right:0;left:auto;width:min(82vw,320px);height:100dvh;transform:translateX(100%);visibility:hidden;transition:transform .3s cubic-bezier(.4,0,.2,1),visibility .3s;z-index:9999;overflow-y:auto}body.nur-menu-open .nur-nav,body.menu-open .nur-nav,.nur-nav.is-open{transform:translateX(0) !important;visibility:visible !important}}
/* Мобильное меню: панель поверх всего */
@media (max-width:900px){html body .nur-nav{z-index:10000 !important}body.nur-menu-open .nur-header{z-index:auto !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important}body.nur-menu-open::after,body.menu-open::after{display:none !important}}
/* Поиск города: список поверх блока бота */
.nur-home-hero,.nur-home-hero .nur-container,.nur-home-hero__inner,.nur-main.nur-home,.nur-main.nur-umma{overflow:visible !important}
.nur-home-hero{z-index:500 !important}
.nur-cs__list{z-index:1000 !important}
