.rb-order-notice {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.rb-order-notice[hidden] {
  display: none !important;
}

.rb-order-notice__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  animation: rb-notice-fade 0.28s ease-out;
}

.rb-order-notice__dialog {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  color: #111;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  padding: 28px 28px 24px;
  border-top: 5px solid #e5097f;
  animation: rb-notice-pop 0.32s ease-out;
}

.rb-order-notice__brand {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e5097f;
}

.rb-order-notice__title {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  color: #e5097f;
}

.rb-order-notice__copy {
  font-size: 16px;
  line-height: 1.55;
  color: #222;
}

.rb-order-notice__copy p {
  margin: 0 0 12px;
}

.rb-order-notice__copy p:last-child {
  margin-bottom: 0;
}

.rb-order-notice__form {
  margin-top: 22px;
}

.rb-order-notice__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}

.rb-order-notice__check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #e5097f;
  flex-shrink: 0;
}

.rb-order-notice__button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: #e5097f;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.rb-order-notice__button:hover,
.rb-order-notice__button:focus-visible {
  background: #c4076c;
  color: #fff;
}

.rb-order-notice__button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.rb-order-notice__error {
  margin: 0 0 12px;
  color: #b20000;
  font-size: 14px;
}

body.rb-notice-locked {
  overflow: hidden;
}

@keyframes rb-notice-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rb-notice-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rb-order-notice__overlay,
  .rb-order-notice__dialog {
    animation: none;
  }
}
