/* Плашка демо-версии и окно «это демо» поверх шаблона. Свои классы wmd-, не пересекаются с Тильдой. */
.wmd-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2147483000; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 24px); padding: 6px 6px 6px 8px; background: rgba(22, 22, 20, .94); color: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); font: 500 14px/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.wmd-bar a, .wmd-bar button { font: inherit; color: inherit; text-decoration: none; }
.wmd-bar__back { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); white-space: nowrap; }
.wmd-bar__back:hover { background: rgba(255, 255, 255, .2); }
.wmd-bar__txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c9c9cf; }
.wmd-bar__txt b { color: #fff; font-weight: 600; }
.wmd-bar__buy { flex: none; height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: #f4ff77; color: #161614 !important; font-weight: 700; white-space: nowrap; }
.wmd-bar__buy:hover { background: #ecfa52; }
.wmd-bar__x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 22px; line-height: 1; color: #a6a7ad; }
.wmd-bar__x:hover { color: #fff; background: rgba(255, 255, 255, .1); }
@media (max-width: 640px) {
  .wmd-bar { bottom: 10px; gap: 6px; font-size: 13px; }
  .wmd-bar__txt { display: none; }
  .wmd-bar__back span { display: none; }
  .wmd-bar__back { padding: 0 8px; }
}
.wmd-modal { position: fixed; inset: 0; z-index: 2147483001; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(22, 22, 20, .6); font: 400 16px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; color: #3b3b3b; }
.wmd-modal.is-open { display: flex; }
.wmd-modal__box { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 20px; padding: 32px 28px 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); text-align: left; }
.wmd-modal__box h2 { margin: 10px 0 12px; font-size: 22px; line-height: 1.25; color: #161614; font-weight: 700; }
.wmd-modal__box p { margin: 0 0 10px; font-size: 15.5px; }
.wmd-modal__tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #f4ff77; color: #161614; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.wmd-modal__x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f2f3f7; cursor: pointer; font-size: 22px; line-height: 1; color: #161614; }
.wmd-modal__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.wmd-btn { flex: 1 1 160px; display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 18px; border-radius: 12px; border: 1.5px solid #e6e6ec; background: #fff; color: #161614; font: 600 15px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; text-decoration: none; cursor: pointer; }
.wmd-btn--main { background: #3946c6; border-color: #3946c6; color: #fff !important; }
.wmd-btn--main:hover { background: #2c37a8; }
/* Зелёная кнопка «купить шаблон сайта» (общий фиксированный блок старого магазина) на телефоне закрывала
   текст первого экрана — её заменяет плашка выше */
#rec843380238 { display: none !important; }
/* Элементы шаблона, вылезающие за правый край, давали горизонтальную прокрутку на телефоне (/ceramics, /sushilki).
   clip, а не hidden: не создаёт контейнер прокрутки, фиксированные и «липкие» элементы Тильды работают как раньше */
html, body { overflow-x: clip; }
