/* ================== NOTICE MODAL ================== */
.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  pointer-events: none;
}

.notice-modal.is-open {
  pointer-events: auto;
}

.notice-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 0;
  transition: opacity 0.22s ease;
  will-change: opacity;
  touch-action: none;
}

.notice-modal.is-open .notice-modal__backdrop {
  opacity: 1;
}

.notice-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92vw, 420px);
  transform: translate(-50%, -46%);
  opacity: 0;
transition:
  transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
  opacity 0.22s ease;
will-change: transform, opacity;

  padding: 26px 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(18, 18, 24, 0.78);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 16px 36px -18px rgba(0, 0, 0, 0.58),
    0 12px 30px rgba(0,0,0,0.24);

  text-align: center;
  overflow: hidden;
  touch-action: none;
}

.notice-modal__panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.015) 22%,
    rgba(255,255,255,0) 40%
  );
  opacity: 0.9;
}

.notice-modal.is-open .notice-modal__panel {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.notice-modal__title {
  position: relative;
  z-index: 1;
  font-size: 26px;
  font-weight: 900;
}

.notice-modal__text {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.notice-modal__phone {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
}

.notice-modal .btn--checkout {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

/* The inactive notice is also a fixed viewport-sized overlay. */
html.is-ios .notice-modal {
  visibility: hidden;
  transition: visibility 0s linear 0.3s;
}

html.is-ios .notice-modal.is-open {
  visibility: visible;
  transition-delay: 0s;
}
