.marapp-cookie-notice{
  position: fixed;
  left: 16px;
  right: 16px;

  /* Safari 13 safe (no inset shorthand) */
  bottom: 16px;

  /* Optional: safe-area for iPhone notch/home bar */
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));

  z-index: 9999;
  display: flex;
  justify-content: center;
}

/* hidden state (Safari-safe) */
.marapp-cookie-notice.is-hidden{
  display: none;
}

.marapp-cookie-notice__panel{
  max-width: 760px;
  width: 100%;
  background: rgba(0,0,0,.75);
  color: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);

  /* Layout: text + button */
  display: flex;
  align-items: center;
  gap: 12px;
}

.marapp-cookie-notice__text{
  margin: 0;
  font-size: .95rem;
  line-height: 1.45;
  flex: 1 1 auto;
}

.marapp-cookie-notice__text a{
  color: #fff;
  text-decoration: underline;
}

/* Button (don't depend on Bootstrap/theme) */
.marapp-cookie-notice__btn{
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;

  background: var(--marapp-accent, #E67E33);
  color: #fff;
  white-space: nowrap;
}

.marapp-cookie-notice__btn:hover{
  filter: brightness(1.05);
}

@media (max-width: 576px){
  .marapp-cookie-notice__panel{
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .marapp-cookie-notice__btn{
    width: 100%;
  }
}
