/* CashHub -> стиль Smartycash (десктоп + мобільна версія)
   Селектори взято з реальної вітрини: .modal, .notify, .instruction, .offer, .header.
   Telegram-іконку не чіпаємо. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --sc-navy: #0E1B3D;
  --sc-green: #22C55E;
  --sc-green-dark: #16A34A;
  --sc-green-soft: #E8F8EE;
  --sc-border: #E3E8F0;
  --sc-shadow-btn: 0 8px 20px rgba(34, 197, 94, .35);
  --sc-shadow-card: 0 6px 24px rgba(14, 27, 61, .10);
}

/* ---------- Сторінка ---------- */
body, button, input {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
}
body { color: var(--sc-navy) !important; background: #fff !important; }
h1, h2, h3 { color: var(--sc-navy) !important; font-weight: 800 !important; }
.header { box-shadow: 0 4px 16px rgba(14, 27, 61, .08) !important; }

/* ---------- Картки пропозицій ---------- */
.offer {
  background: var(--sc-green-soft) !important;
  border-radius: 16px !important;
}
.offer__icon { color: var(--sc-green-dark) !important; font-weight: 800 !important; }

/* ---------- Кнопки «Перейти на сайт» / «Перейти» ---------- */
.offer__button,
.notify__action.apply {
  background: var(--sc-green) !important;
  color: var(--sc-navy) !important;
  font-weight: 700 !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: var(--sc-shadow-btn) !important;
  text-decoration: none !important;
  transition: transform .15s ease, background .15s ease;
}
.offer__button:hover,
.notify__action.apply:hover {
  background: var(--sc-green-dark) !important;
  transform: translateY(-1px);
}
.offer__button { padding: 10px 22px !important; }
.notify__action.apply { padding: 8px 18px !important; }

/* ---------- Поп-ап «Сьогоднішній рейтинг компаній» ---------- */
.modal { background: rgba(14, 27, 61, .55) !important; backdrop-filter: blur(3px); }
.modal__body {
  background: #fff !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 60px rgba(14, 27, 61, .35) !important;
}
.modal__title {
  color: var(--sc-navy) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}
.modal__close {
  background: var(--sc-green-soft) !important;
  color: var(--sc-navy) !important;
  border-radius: 50% !important;
}
.modal .offer { background: var(--sc-green-soft) !important; border-radius: 16px !important; }

/* ---------- Пуш-сповіщення «Pango має для вас пропозицію» ---------- */
.notify {
  background: rgba(255, 255, 255, .96) !important;
  color: var(--sc-navy) !important;
  border: 1px solid var(--sc-border) !important;
  border-radius: 20px !important;
  box-shadow: var(--sc-shadow-card) !important;
}
.notify__body a { color: var(--sc-green-dark) !important; font-weight: 700 !important; }
.notify__action.hide {
  color: var(--sc-navy) !important;
  background: transparent !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
}

/* ---------- Підказка PWA «Встанови додаток» ---------- */
.instruction {
  background: var(--sc-navy) !important;
  border: 1px solid rgba(34, 197, 94, .5) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 32px rgba(14, 27, 61, .4) !important;
}
.instruction__content { color: #fff !important; font-weight: 700 !important; }
.instruction__steps .steps-item,
.instruction__steps .steps-item span { color: #fff !important; }
.instruction__steps svg { color: var(--sc-green) !important; fill: var(--sc-green) !important; }
.instruction__close {
  color: #fff !important;
  background: rgba(255, 255, 255, .12) !important;
  border-radius: 50% !important;
}

/* ---------- ВІТРИНА: список пропозицій ---------- */
.page-subtitle { font-weight: 800 !important; color: var(--sc-navy) !important; }

li.offers-list__item {
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: var(--sc-shadow-card) !important;
  margin-bottom: 12px;
}
li.offers-list__item .item-content {
  border: 1px solid var(--sc-border) !important;
  box-shadow: none !important;
  background: #fff !important;
}
/* виділені (ТОП / з акцією) — зелена рамка замість синьої */
li.offers-list__item.highlighted .item-content,
li.offers-list__item.labeled .item-content,
li.offers-list__item.highlighted .item-high-top {
  border-color: var(--sc-green) !important;
}
li.offers-list__item.highlighted .item-high-top { background: var(--sc-green-soft) !important; }
.item-high-top .text { color: var(--sc-navy) !important; font-weight: 800 !important; }

/* плашка «АКЦІЯ» */
.item-label {
  background: var(--sc-navy) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  padding: 2px 8px !important;
}

/* кнопка «Перейти на сайт» */
.item-action {
  background: var(--sc-green) !important;
  color: var(--sc-navy) !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  box-shadow: var(--sc-shadow-btn) !important;
  padding: 10px 14px !important;
}
.item-action .item-action-text { color: var(--sc-navy) !important; }
.item-action svg { fill: var(--sc-navy) !important; }
.item-action-emoji { background: transparent !important; }

/* стрічка «АКЦІЯ · ТОП ·» під карткою */
.item-shadow { background: var(--sc-green) !important; }
.item-ticker, .item-ticker span {
  color: var(--sc-navy) !important;
  font-weight: 800 !important;
}

/* кнопки в шапці/меню */
a.action-link, a.dropdown-link {
  background: var(--sc-green) !important;
  color: var(--sc-navy) !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  box-shadow: var(--sc-shadow-btn) !important;
}
.header__dropdown { background: var(--sc-green-soft) !important; color: var(--sc-navy) !important; }

/* ---------- Десктоп ---------- */
@media (min-width: 768px) {
  .modal__body { max-width: 560px !important; padding: 28px 24px !important; }
  .modal__title { font-size: 24px !important; }
  .notify, .instruction { max-width: 420px !important; }
  .offer__button { padding: 12px 28px !important; }
}

/* ---------- Мобільна версія ---------- */
@media (max-width: 767px) {
  .modal__body { border-radius: 20px !important; padding: 20px 16px !important; }
  .modal__title { font-size: 18px !important; }
  .offer__button { padding: 10px 16px !important; }
  .notify, .instruction { border-radius: 16px !important; }
}
