/* ============================================================
   shared.css — шапка и подвал, сквозные для всех страниц
   ============================================================ */

/* SEO-блок: виден ботам, скрыт для пользователей */
.seo-index-block { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.seo-index-block__nav a, .seo-index-block__cities a { display: inline; font-size: 1px; color: transparent; }

/* ── TOP BAR ── */
.topbar { background: #1a1a2e; color: #ccc; height: 42px; display: flex; align-items: center; }
.topbar__inner { max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.topbar__left { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.topbar__left .sep { color: #555; margin: 0 12px; }
.topbar__left .nav-link { color: #ccc; font-size: 12px; }
.topbar__left .nav-link:hover { color: #fff; }
.topbar__right { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.topbar__right .phone { color: #fff; font-weight: 600; font-size: 16px; letter-spacing: 0.5px; }
.topbar__right a { color: #ccc; }
.topbar__right a:hover { color: #fff; }

/* Город */
.city-drop { position: relative; display: flex; align-items: center; gap: 8px; }
.city-drop__btn { display: flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; color: #fff; font-family: inherit; font-size: 14px; font-weight: 500; padding: 4px 8px; border-radius: 6px; transition: background 0.15s; }
.city-drop__btn:hover { background: rgba(255,255,255,0.1); }
.city-drop__btn svg { flex-shrink: 0; }
.city-drop__menu { visibility: hidden; pointer-events: none; position: absolute; top: calc(100% + 10px); left: 0; background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); z-index: 600; width: 300px; overflow: hidden; }
.city-drop__search { width: 100%; padding: 12px 16px; border: none; border-bottom: 1px solid #eee; font-family: inherit; font-size: 14px; outline: none; color: #333; }
.city-drop__list { max-height: 280px; overflow-y: auto; }
.city-drop__item { padding: 10px 16px; cursor: pointer; font-size: 14px; color: #333; border-bottom: 1px solid #f5f5f5; transition: background 0.1s; display: flex; align-items: center; justify-content: space-between; }
.city-drop__item:hover { background: #f0fbee; }
.city-drop__item.active { color: #50B848; font-weight: 600; }
.city-drop__item .city-drop__region { color: #aaa; font-size: 12px; font-weight: 400; }
.city-drop__terminals-link { color: #50B848; font-size: 13px; text-decoration: none; }
.city-drop__terminals-link:hover { text-decoration: underline; }

/* Topbar dropdown */
.tb-drop { position: relative; display: flex; align-items: center; }
.tb-drop__trigger { display: flex !important; align-items: center; gap: 4px; }
.tb-drop__chevron { transition: transform 0.2s; flex-shrink: 0; pointer-events: none; }
.tb-drop:hover .tb-drop__chevron { transform: rotate(180deg); }
.tb-drop__menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); z-index: 600; min-width: 190px; overflow: visible; border: 1px solid #e8e8e8; padding: 4px 0; }
.tb-drop:hover .tb-drop__menu { display: block; }
.tb-drop__menu a { display: block; padding: 9px 16px; color: #333; font-size: 13px; white-space: nowrap; transition: background 0.1s, color 0.1s; }
.tb-drop__menu a:hover { background: #f0fbee; color: #50B848; }

/* Вложенный дроп 3-го уровня */
.tb-drop-sub { position: relative; }
.tb-drop-sub__trigger { display: flex !important; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 16px; color: #333; font-size: 13px; white-space: nowrap; cursor: pointer; transition: background 0.1s, color 0.1s; }
.tb-drop-sub__trigger:hover { background: #f0fbee; color: #50B848; }
.tb-drop-sub__trigger svg { flex-shrink: 0; transition: color 0.15s; }
.tb-drop-sub__menu { display: none; position: absolute; top: 0; left: 100%; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); z-index: 700; min-width: 160px; border: 1px solid #e8e8e8; padding: 4px 0; }
.tb-drop-sub:hover .tb-drop-sub__menu { display: block; }
.tb-drop-sub__menu a { display: block; padding: 9px 16px; color: #333; font-size: 13px; white-space: nowrap; transition: background 0.1s, color 0.1s; }
.tb-drop-sub__menu a:hover { background: #f0fbee; color: #50B848; }

/* Код страницы */
.page-code { background: rgba(255,255,255,0.07); color: #666; font-size: 11px; font-family: monospace; letter-spacing: 0.5px; padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1); }

/* ── HEADER ── */
.header { background: #fff; border-bottom: 1px solid #e8e8e8; height: 80px; display: flex; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.07); position: relative; }
.header__inner { max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 32px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.logo__img { height: 52px; width: auto; display: block; }
.logo__text { line-height: 1.25; }
.logo__text .brand { font-size: 24px; font-weight: 700; color: #1a1a2e; }
.logo__text .brand span { color: #50B848; }
.logo__text .tagline { font-size: 11px; color: #888; }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a { padding: 8px 14px; color: #333; font-size: 15px; white-space: nowrap; border-radius: 6px; transition: color 0.15s, background 0.15s; }
.nav a:hover, .nav a.active { color: #50B848; background: #f0fbee; }
.nav a.active { font-weight: 600; }

/* Nav dropdown */
.nav__item { position: relative; }
.nav__drop-trigger { display: flex; align-items: center; gap: 4px; }
.nav__drop-chevron { transition: transform 0.2s; flex-shrink: 0; pointer-events: none; }
.nav__item--drop:hover .nav__drop-chevron,
.nav__item--drop.open .nav__drop-chevron { transform: rotate(180deg); }
.nav__drop-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,0.14); z-index: 500; min-width: 150px; overflow: visible; border: 1px solid #e8e8e8; }
.nav__item--drop:hover .nav__drop-menu,
.nav__item--drop.open .nav__drop-menu { display: block; }
.nav__drop-menu a { display: block; padding: 10px 18px; color: #333; font-size: 14px; border-radius: 0; border-bottom: 1px solid #f5f5f5; background: none; white-space: nowrap; }
.nav__drop-menu a.nav__drop-overview { font-size: 13px; color: #999; }
.nav__drop-menu a:last-of-type { border-bottom: none; }
.nav__drop-menu a:hover { background: #f0fbee; color: #50B848; }
.nav__drop-menu a.active { color: #50B848; font-weight: 600; background: #f0fbee; }
.nav__drop-menu a.nav__drop-sublevel { padding-left: 30px !important; font-size: 12px !important; color: #aaa !important; border-top: none !important; }
.nav__drop-menu a.nav__drop-sublevel::before { content: '↳ '; color: #ccc; }
.nav__drop-menu a.nav__drop-sublevel:hover { color: #50B848 !important; background: #f0fbee !important; }
.nav__drop-sub { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 18px 10px; border-bottom: 1px solid #f5f5f5; }
.nav__drop-sub span { font-size: 11px; color: #aaa; background: #f5f5f5; border-radius: 4px; padding: 2px 7px; cursor: default; }

/* ── Третий уровень внутри nav-дропдауна ── */
.nav__drop-menu .tb-drop-sub { position: relative; }
.nav__drop-menu .tb-drop-sub__trigger { font-size: 14px !important; padding: 10px 18px !important; border-bottom: 1px solid #f5f5f5; color: #333; }
.nav__drop-menu .tb-drop-sub__menu { top: 0; left: 100%; min-width: 180px; z-index: 600; }

/* Mobile dropdown toggle button (hidden on desktop) */
.nav__drop-toggle-btn { display: none; }

/* Mobile-only CTA block in burger — hidden on desktop */
.nav__mobile-cta { display: none; }

/* Icon buttons */
.header__icons { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.icon-btn { width: 44px; height: 44px; border: 1px solid #ddd; border-radius: 8px; display: grid; place-items: center; cursor: pointer; color: #555; background: none; transition: border-color 0.15s, color 0.15s; }
.icon-btn:hover { border-color: #50B848; color: #50B848; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn--search.active { border-color: #50B848; color: #50B848; }

/* Header search bar */
.header__search {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border-top: 2px solid #50B848;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  padding: 14px 24px;
  display: none;
  z-index: 200;
}
.header__search.open { display: block; }
.header__search-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.header__search-form:focus-within { border-color: #50B848; }
.header__search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #222;
  background: #fff;
}
.header__search-submit {
  border: none;
  background: #50B848;
  color: #fff;
  width: 46px;
  height: 46px;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.header__search-submit:hover { background: #3da033; }

.header__search-wrap { max-width: 700px; margin: 0 auto; position: relative; }
.header__search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  overflow: hidden;
  z-index: 300;
}
.header__search-result {
  display: flex;
  flex-direction: column;
  padding: 11px 16px;
  text-decoration: none;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.12s;
}
.header__search-result:last-child { border-bottom: none; }
.header__search-result:hover { background: #f4fcf3; }
.header__search-result strong { font-size: 14px; font-weight: 600; color: #1a1a2e; }
.header__search-result span { font-size: 12px; color: #888; margin-top: 2px; }
.header__search-noresult { padding: 14px 16px; font-size: 14px; color: #888; }

/* CTA */
.btn-cabinet { display: flex; align-items: center; gap: 10px; background: #50B848; color: #fff; padding: 0 24px; height: 46px; border-radius: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: box-shadow 0.2s; flex-shrink: 0; }
.btn-cabinet:hover { box-shadow: 0 6px 20px rgba(80,184,72,0.4); }
.btn-cabinet svg { width: 18px; height: 18px; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; flex-shrink: 0; }
.nav-toggle span { display: block; height: 2px; background: #1a1a2e; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FOOTER ── */
.footer { background: #0f0f1a; color: #fff; font-family: 'Montserrat', sans-serif; }
.footer__payments { background: #161625; border-bottom: 1px solid #2a2a3d; padding: 14px 0; }
.footer__payments-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__payments-label { font-size: 12px; color: #8888aa; margin-right: 8px; }
.pay-badge { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 6px; padding: 4px 10px; height: 28px; font-size: 11px; font-weight: 700; color: #1a1a2e; white-space: nowrap; }
.pay-badge--visa { font-style: italic; }
.pay-badge--mc { background: #eb001b; color: #fff; }
.pay-badge--mc span { color: #ff5f00; }
.pay-badge--mir { background: #009a44; color: #fff; }
.pay-badge--gpay { background: #fff; color: #3c4043; }
.pay-badge--sbp { background: #1d1d1b; color: #fff; }
.pay-badge--bill { background: #eef4ff; color: #1a1a2e; }
.footer__main { max-width: 1200px; margin: 0 auto; padding: 52px 24px 40px; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.1fr 1fr 1fr; gap: 32px; }
.footer__col-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #50B848; margin-bottom: 18px; }
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__logo img { height: 44px; width: auto; }
.footer__logo-text { font-size: 19px; font-weight: 800; color: #fff; line-height: 1.2; }
.footer__logo-text span { color: #50B848; }
.footer__desc { font-size: 13px; line-height: 1.65; color: #9999bb; margin-bottom: 20px; }
.footer__legal { font-size: 11px; color: #666688; line-height: 1.5; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__links li a { font-size: 13px; color: #ccccdd; text-decoration: none; transition: color 0.2s; }
.footer__links li a:hover { color: #50B848; }
.footer__link-placeholder { display: block; height: 14px; border-radius: 4px; background: #2a2a3d; width: 80%; }
.footer__contacts-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 12px; }
.footer__contacts-list li { display: flex; align-items: flex-start; gap: 10px; }
.footer__contacts-list li svg { flex-shrink: 0; margin-top: 1px; }
.footer__contacts-list a { font-size: 13px; color: #ccccdd; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.footer__contacts-list a:hover { color: #50B848; }
.footer__regions-btn { display: inline-block; background: #50B848; color: #fff; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 8px; text-decoration: none; transition: background 0.2s; }
.footer__regions-btn:hover { background: #3d9437; }
.footer__cities { border-top: 1px solid #2a2a3d; padding: 16px 24px; }
.footer__cities-inner { max-width: 1200px; margin: 0 auto; }
.footer__cities-label { display: block; font-size: 11px; color: #555577; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer__cities-list { font-size: 12px; line-height: 1.8; color: #444466; }
.footer__cities-list a { color: #555577; text-decoration: none; }
.footer__cities-list a:hover { color: #50B848; }
.footer__bottom { border-top: 1px solid #2a2a3d; padding: 18px 24px; }
.footer__bottom-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #555577; }

/* ── TABLET ≤900px ── */
@media (max-width: 900px) {
  .footer__main { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ── MOBILE ≤768px ── */
@media (max-width: 768px) {
  .breadcrumb__inner { font-size: 7px !important; gap: 2px !important; padding: 0 10px !important; flex-wrap: wrap; overflow: hidden; }
  .breadcrumb__sep { font-size: 7px !important; }
  .topbar { height: 36px; padding: 0; }
  .topbar__inner { padding: 0 12px; flex-wrap: nowrap; gap: 0; align-items: center; }
  .topbar__left { font-size: 11px; gap: 4px; }
  .city-drop__btn { font-size: 11px; padding: 2px 4px; gap: 3px; }
  .city-drop__btn svg { width: 11px; height: 11px; }
  .city-drop__terminals-link { font-size: 11px; }
  .topbar__right .phone { font-size: 12px; letter-spacing: 0; }
  .topbar__left .sep { display: none; }
  .topbar__left .nav-link { display: none; }
  .tb-drop { display: none; }
  .page-code { display: none; }
  .topbar__right a:not(.phone) { display: none; }
  .topbar__right { gap: 0; }

  .header { height: auto; min-height: 58px; align-items: flex-start; }
  .header__inner { padding: 0 16px; flex-wrap: wrap; gap: 0; align-items: center; }
  .logo__img { height: 38px; }
  .logo__text .brand { font-size: 18px; }
  .logo__text .tagline { font-size: 10px; }
  .header__icons { display: none; }
  .btn-cabinet { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .logo { flex: 1; min-width: 0; }

  .nav { display: none; flex-direction: column; width: 100%; flex-basis: 100%; background: #fff; border-top: 1px solid #eee; padding: 8px 0 16px; gap: 0; order: 10; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 20px; font-size: 16px; border-radius: 0; border-bottom: 1px solid #f5f5f5; white-space: normal; }

  /* Mobile CTA block inside burger */
  .nav__mobile-cta { display: block; padding: 12px 16px 12px; border-top: 1px solid #eee; margin-top: 2px; }
  .nav__mobile-phone { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: #1a1a2e; padding: 0 0 10px; border-bottom: 1px solid #eee; margin-bottom: 10px; text-decoration: none; }
  .nav__mobile-phone svg { color: #50B848; flex-shrink: 0; width: 16px; height: 16px; }
  .nav__mobile-phone:hover { color: #50B848; }
  .nav__mobile-btns { display: flex; gap: 8px; }
  .nav__mobile-btn { flex: 1; display: flex; align-items: center; justify-content: center; padding: 10px 8px; border-radius: 8px; font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; transition: all .15s; }
  .nav__mobile-btn--outline { border: 1.5px solid #1a1a2e; color: #1a1a2e; background: #fff; }
  .nav__mobile-btn--outline:hover { background: #1a1a2e; color: #fff; }
  .nav__mobile-btn--green { background: #50B848; color: #fff; border: 1.5px solid #50B848; box-shadow: 0 3px 10px rgba(80,184,72,.3); }
  .nav__mobile-btn--green:hover { background: #43a03c; border-color: #43a03c; }

  /* Mobile dropdown — hover не работает на тач, управляем только через .open */
  .nav__item--drop:hover .nav__drop-menu { display: none; }
  .nav__item { width: 100%; }
  .nav__item--drop { display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid #f5f5f5; }
  .nav__item--drop > .nav__drop-trigger { flex: 1; width: auto; border-bottom: none; justify-content: flex-start; }
  .nav__drop-chevron { display: none; }
  .nav__drop-toggle-btn { display: flex; align-items: center; justify-content: center; width: 52px; min-height: 50px; background: #f8f9fb; border: none; border-left: 1px solid #eee; cursor: pointer; color: #555; flex-shrink: 0; }
  .nav__drop-toggle-btn svg { transition: transform .25s; }
  .nav__item--drop.open > .nav__drop-toggle-btn svg { transform: rotate(180deg); }
  .nav__drop-menu { display: none; position: static; box-shadow: none; border: none; border-radius: 0; background: #f8f9fb; padding-top: 0; flex-basis: 100%; }
  .nav__item--drop.open .nav__drop-menu { display: block; }
  .nav__drop-menu a { padding: 11px 32px; font-size: 15px; border-bottom: 1px solid #ebebeb; }
  .nav__drop-menu a.nav__drop-overview { font-size: 15px; color: #666; }
  .nav__drop-menu .tb-drop-sub__menu { display: block; position: static; box-shadow: none; border: none; border-radius: 0; padding: 0; }
  .nav__drop-menu .tb-drop-sub__menu a { padding-left: 52px; font-size: 13px; color: #aaa; border-bottom: 1px solid #ebebeb; }
  .nav__drop-menu .tb-drop-sub__trigger svg { display: none; }

  .footer__main { grid-template-columns: 1fr 1fr; gap: 20px; padding: 28px 16px; }
  .footer__payments-inner { padding: 0 16px; gap: 8px; }
  .footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; padding: 0 16px; }
}

/* ── SMALL MOBILE ≤480px ── */
@media (max-width: 480px) {
  .topbar__right .phone { font-size: 14px; }
  .footer__main { grid-template-columns: 1fr; }
}


/* ── MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 1000; align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.open { display: flex; animation: fade-in 0.2s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 440px; box-shadow: 0 24px 64px rgba(0,0,0,0.25); animation: slide-up 0.25s ease; overflow: hidden; }
@keyframes slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.modal__head { background: linear-gradient(135deg, #1a1a2e 0%, #0f2d1e 100%); padding: 24px 28px 20px; display: flex; align-items: flex-start; justify-content: space-between; }
.modal__head-text {}
.modal__title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.modal__subtitle { font-size: 13px; color: rgba(255,255,255,0.6); }
.modal__close { background: rgba(255,255,255,0.1); border: none; border-radius: 8px; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: background 0.15s; margin-left: 12px; }
.modal__close:hover { background: rgba(255,255,255,0.2); }
.modal__close svg { stroke: #fff; }
.modal__body { padding: 24px 28px; }
.mfield { margin-bottom: 16px; }
.mfield label { display: block; font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.mfield input, .mfield textarea, .mfield select { width: 100%; border: 1.5px solid #e0e0e0; border-radius: 9px; padding: 12px 14px; font-family: inherit; font-size: 14px; color: #222; outline: none; transition: border-color 0.15s, box-shadow 0.15s; background: #fafafa; }
.mfield input:focus, .mfield textarea:focus, .mfield select:focus { border-color: #50B848; box-shadow: 0 0 0 3px rgba(80,184,72,0.12); background: #fff; }
.mfield textarea { resize: vertical; min-height: 80px; }
.modal__foot { padding: 0 28px 24px; }
.modal__submit { width: 100%; background: #50B848; color: #fff; border: none; border-radius: 10px; padding: 15px; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: box-shadow 0.2s, opacity 0.2s; }
.modal__submit:hover { box-shadow: 0 6px 20px rgba(80,184,72,0.4); }
.modal__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.modal__agree { font-size: 11px; color: #aaa; text-align: center; margin-top: 10px; line-height: 1.5; }
.modal__success { display: none; padding: 32px 28px; text-align: center; }
.modal__success.show { display: block; }
.modal__success-icon { width: 64px; height: 64px; border-radius: 50%; background: #f0fbee; display: grid; place-items: center; margin: 0 auto 16px; }
.modal__success h3 { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.modal__success p { font-size: 14px; color: #666; line-height: 1.6; }
.modal__error { display: none; background: #fff2f2; border: 1px solid #ffcccc; border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #cc0000; margin-bottom: 12px; }
.modal__error.show { display: block; }

@media (max-width: 480px) {
  .modal__head { padding: 20px 20px 16px; }
  .modal__body { padding: 20px 20px; }
  .modal__foot { padding: 0 20px 20px; }
}
