.checkout-member-notice,
.checkout-guest-note {
  margin: 12px 0 12px;
  padding: 13px 15px;
  border: 1px solid rgba(39, 112, 150, .2);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(236, 248, 251, .9), rgba(224, 241, 247, .82));
  color: #24485c;
  font-size: 13px;
  line-height: 1.5;
}
.checkout-member-notice {
  display: grid;
  gap: 11px;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.checkout-member-notice[data-state="checking"] {
  border-color: rgba(20, 119, 155, .32);
  background: linear-gradient(145deg, rgba(239, 249, 253, .96), rgba(230, 244, 249, .9));
}
.checkout-member-notice[data-state="verified"] {
  border-color: rgba(28, 153, 120, .26);
}
.checkout-member-notice[data-state="error"] {
  border-color: rgba(189, 120, 26, .34);
  background: linear-gradient(145deg, rgba(255, 249, 236, .96), rgba(250, 241, 223, .92));
}
.checkout-member-notice[hidden],
#emailFieldGroup[hidden],
.checkout-guest-note[hidden] { display: none !important; }
.checkout-member-notice p { margin: 0; color: #52657d; }
.checkout-member-notice a,
.checkout-guest-note a { color: #145c80; font-weight: 800; text-underline-offset: 3px; }
.checkout-member-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(39, 112, 150, .14);
}
.checkout-member-actions a { margin-right: auto; }
.checkout-member-notice button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(36, 72, 92, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
  color: #24485c;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.checkout-form-actions {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.checkout-form-actions .btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.theme-site .checkout-form-actions .checkout-primary {
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
  box-shadow: 0 8px 20px rgba(22, 80, 113, .2), inset 0 1px 0 rgba(255,255,255,.28);
}
.theme-site .checkout-form-actions .checkout-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 11px 24px rgba(22, 80, 113, .24), inset 0 1px 0 rgba(255,255,255,.32);
}
.theme-site .checkout-form-actions .checkout-cancel {
  min-height: 44px;
  border: 1px solid rgba(47, 91, 128, .18);
  color: #52657d;
  background: rgba(255,255,255,.48);
  box-shadow: none;
}
.theme-site .checkout-form-actions .checkout-cancel:hover {
  color: var(--brand-deep);
  background: rgba(255,255,255,.76);
}
#buyFormSection > .modal-note { margin: 12px 0 0; line-height: 1.5; text-align: center; }
#buyFormSection label span { color: #6a7d8d; font-size: .86em; font-weight: 500; }
@media (max-width: 480px) {
  .checkout-member-notice, .checkout-guest-note { font-size: 12px; }
  .checkout-member-actions { flex-direction: column; align-items: stretch; gap: 9px; }
  .checkout-member-actions a { margin: 0; text-align: center; }
  .checkout-member-actions button { width: 100%; }
}
