/* MySmile in.ua: UX-блоки (2026-12-02): мобільні липкі панелі, телефони клінік, ціни, форма, рейтинг */
:where(img[width][height]){height:auto}
.ms-only-m{display:none}
@media (max-width:991px){.ms-only-m{display:flex}body{padding-bottom:64px}}
/* верхня липка панель (з'являється після прокрутки) */
.ms-topbar{position:fixed;left:0;right:0;top:0;z-index:999;background:#fff;box-shadow:0 2px 12px rgba(0,23,60,.12);align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;transform:translateY(-110%);transition:transform .2s}
.ms-topbar.is-on{transform:none}
.ms-topbar__logo img{height:30px;width:auto;display:block}
.ms-topbar__acts{display:flex;align-items:center;gap:8px}
.ms-topbar__call{position:relative}
.ms-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 16px;border-radius:24px;font-weight:700;font-size:15px;text-decoration:none;border:0;cursor:pointer;line-height:1.1}
.ms-btn--y{background:#ffc300;color:#00173c}.ms-btn--y:hover{color:#00173c;background:#ffcf33}
.ms-btn--d{background:#00173c;color:#fff}.ms-btn--d:hover{color:#fff;background:#0a2a5c}
.ms-btn--o{background:#fff;color:#00173c;border:2px solid #00173c}
.ms-icon-btn{width:44px;height:44px;border-radius:50%;padding:0;font-size:18px}
.ms-phones{position:absolute;right:0;top:52px;background:#fff;border-radius:12px;box-shadow:0 10px 30px rgba(0,23,60,.2);padding:8px;min-width:250px;display:none}
.ms-phones.is-open{display:block}
.ms-phones a{display:block;padding:10px 12px;border-radius:8px;color:#00173c;text-decoration:none;font-weight:600}
.ms-phones a small{display:block;font-weight:400;color:#5b6b85;font-size:12px}
.ms-phones a.is-cur{background:#fff6d6}
/* нижня липка панель */
.ms-bottombar{position:fixed;left:0;right:0;bottom:0;z-index:999;background:#00173c;padding:6px;gap:6px;box-shadow:0 -2px 12px rgba(0,0,0,.2)}
.ms-bottombar a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#fff;text-decoration:none;font-size:12px;min-height:52px;border-radius:10px}
.ms-bottombar a i{font-size:20px}
.ms-bottombar a.is-main{background:#ffc300;color:#00173c;font-weight:700}
/* телефони обох клінік у шапці: поточна підсвічена, друга видима */
.ms-clinic-phones{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.ms-clinic-phones a{color:#fff;text-decoration:none;opacity:.75;font-size:14px}
.ms-clinic-phones a.is-cur{opacity:1;font-weight:700;color:#ffc300}
.ms-clinic-phones span{opacity:.6;font-size:12px}
/* рядок адреси під формою першого екрану */
.ms-hero-addr{margin-top:14px;font-size:15px;color:#46566f;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.ms-hero-addr a{color:#0e264f;font-weight:700;text-decoration:underline}
.ms-hero-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
/* ціни */
.ms-prices{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin:10px 0 0}
.ms-price{background:#fff;border:1px solid #e3e8f1;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:6px;box-shadow:0 6px 20px rgba(0,23,60,.06)}
.ms-price h3{font-size:18px;margin:0;color:#0e264f;line-height:1.3}
.ms-price__val{font-size:22px;font-weight:800;color:#00173c}
.ms-price__val small{font-size:14px;font-weight:600;color:#5b6b85}
.ms-price__acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:8px}
.ms-price__acts .ms-btn{min-height:40px;font-size:14px;padding:0 14px}
.ms-price__more{color:#0e264f;font-weight:600;font-size:14px;align-self:center}
.ms-prices-note{font-size:14px;color:#5b6b85;margin-top:12px;text-align:center}
/* повідомлення форми */
.ms-form-msg{margin-top:10px;font-size:15px;font-weight:600;padding:10px 12px;border-radius:8px}
.ms-form-msg.is-err{background:#fde8e8;color:#9b1c1c}
.ms-form-msg.is-ok{background:#e6f6ea;color:#14532d}
.ms-consent{font-size:12px;color:#7a879c;margin-top:8px}
/* рейтинг */
.ms-rating-wrap{background:#00173c;padding:18px 0 6px;text-align:center}
.ms-rating{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 14px;color:#fff;font-size:16px}
.ms-rating__stars{display:inline-flex;gap:2px}
.ms-rating__star{background:none;border:0;padding:4px;font-size:28px;line-height:1;color:rgba(255,255,255,.35);cursor:pointer;min-width:40px;min-height:40px;transition:color .15s,transform .15s}
.ms-rating__star.is-on,.ms-rating__star.is-hover{color:#ffc300}
.ms-rating__star:hover{transform:scale(1.12)}
.ms-rating__star:disabled{cursor:default;transform:none}
.ms-rating__meta{opacity:.85;font-size:15px}
.ms-rating__label{font-weight:600}
@media (prefers-reduced-motion:reduce){.ms-topbar{transition:none}}
.ms-clinic-phones a{margin-left:6px}.ms-clinic-phones span{margin-left:10px}
.subricbe form{flex-wrap:wrap}.subricbe .ms-form-msg{flex-basis:100%}.subricbe .ms-consent{display:none}
