.ceyhanda-pwa-banner {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  min-height: 74px;
  padding: calc(10px + env(safe-area-inset-top)) max(48px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
  background: linear-gradient(110deg, #090d42, #242078 62%, #84127c);
  color: #fff;
  box-shadow: 0 8px 24px rgba(8, 11, 58, .18);
}
.ceyhanda-pwa-banner__content { display: flex; align-items: center; gap: 13px; min-width: 0; }
.ceyhanda-pwa-banner__content img { flex: 0 0 48px; border-radius: 13px; box-shadow: 0 6px 16px rgba(0,0,0,.22); }
.ceyhanda-pwa-banner__text { display: grid; gap: 2px; line-height: 1.35; }
.ceyhanda-pwa-banner__text strong { color: #fff; font-size: 16px; font-weight: 850; }
.ceyhanda-pwa-banner__text span { color: rgba(255,255,255,.82); font-size: 12px; }
.ceyhanda-pwa-banner__actions { flex: 0 0 auto; }
.ceyhanda-pwa-banner__primary { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 11px 17px; background: #fff; color: #17145f; font: 800 13px Inter,system-ui,sans-serif; box-shadow: 0 7px 18px rgba(0,0,0,.16); cursor: pointer; white-space: nowrap; }
.ceyhanda-pwa-banner__primary:disabled { opacity: .75; cursor: default; }
.ceyhanda-pwa-banner__close { position: absolute; top: calc(8px + env(safe-area-inset-top)); right: max(9px, env(safe-area-inset-right)); display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 700px) {
  .ceyhanda-pwa-banner { justify-content: space-between; gap: 10px; min-height: 82px; padding-right: max(42px, env(safe-area-inset-right)); }
  .ceyhanda-pwa-banner__content img { width: 42px; height: 42px; flex-basis: 42px; }
  .ceyhanda-pwa-banner__text strong { font-size: 14px; }
  .ceyhanda-pwa-banner__text span { display: none; }
  .ceyhanda-pwa-banner__primary { padding: 10px 13px; font-size: 11px; }
}

/* iOS/Android PWA: keep the mobile navigation attached to the real viewport. */
@media (max-width: 991.98px) {
  html body .bottom-nav {
    position: fixed !important;
    top: auto !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--ceyhanda-visual-bottom, 0px)) !important;
    left: max(10px, env(safe-area-inset-left)) !important;
    width: auto !important;
    max-width: 520px !important;
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 auto !important;
    padding: 7px 8px !important;
    transform: none !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
    align-items: center !important;
    overflow: visible !important;
    z-index: 9990 !important;
  }
  html body {
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
  }
  html body .bottom-nav .nav-btn {
    min-height: 50px !important;
    padding: 5px 3px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  html body .bottom-nav .nav-center {
    position: relative !important;
    top: 0 !important;
    align-self: center !important;
  }
  html body .bottom-nav .nav-center > a {
    min-height: 52px !important;
    justify-content: center !important;
  }
  html body .bottom-nav .center-circle {
    width: 42px !important;
    height: 42px !important;
    margin: 0 auto !important;
    border: 0 !important;
    border-radius: 15px !important;
  }
  html body .back-to-top {
    bottom: calc(96px + env(safe-area-inset-bottom) + var(--ceyhanda-visual-bottom, 0px)) !important;
  }
}
