/* Moon Daughter Blooms — Route C checkout addon styles.
   Palette and type mirror the main site: white ground, maroon #5C1E2E,
   plum #3B1B2B, blush line #F0DCE4, gold #B8935A, Cormorant Garamond
   headings over DM Sans. Site CSS variables are used when present, with
   the same values as fallbacks so the module looks right standalone. */

.mdb-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(59, 27, 43, .45);
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 28px 16px 48px;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink, #1C1216);
}
.mdb-card {
  position: relative; width: 100%; max-width: 620px;
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--line, #F0DCE4);
  border-radius: var(--radius, 20px);
  box-shadow: var(--shadow, 0 16px 40px rgba(92, 30, 46, .10));
  padding: 30px 30px 26px;
}
.mdb-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--ink-soft, #5A4A52);
  padding: 6px;
}
.mdb-close:hover { color: var(--maroon, #5C1E2E); }
.mdb-eyebrow {
  margin: 0 0 4px; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold, #B8935A);
}
.mdb-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.05; font-weight: 700;
  color: var(--plum, #3B1B2B); margin: 0 0 6px;
}
.mdb-price { margin: 0 0 18px; font-weight: 700; color: var(--maroon, #5C1E2E); }

.mdb-form { display: grid; gap: 16px; }
.mdb-group { border: 1px solid var(--line, #F0DCE4); border-radius: 14px; padding: 12px 14px 8px; margin: 0; }
.mdb-legend { font-weight: 700; color: var(--plum, #3B1B2B); padding: 0 6px; font-size: .95rem; }
.mdb-choice {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 6px; border-radius: 10px; cursor: pointer; font-size: .97rem;
}
.mdb-choice:hover { background: var(--bg-soft, #FAFAFA); }
.mdb-choice input { accent-color: var(--maroon, #5C1E2E); width: 17px; height: 17px; flex: 0 0 auto; }
.mdb-choice-label { flex: 1 1 auto; }
.mdb-choice-price { font-weight: 700; color: var(--maroon, #5C1E2E); white-space: nowrap; }

.mdb-field { display: grid; gap: 6px; }
.mdb-label { font-weight: 700; color: var(--plum, #3B1B2B); font-size: .95rem; }
.mdb-input {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px; border: 1px solid var(--line, #F0DCE4); border-radius: 12px;
  font: inherit; color: inherit; background: #fff;
}
.mdb-input:focus { outline: 2px solid var(--gold-soft, #F7EBD6); border-color: var(--gold, #B8935A); }
.mdb-input:disabled { background: var(--bg-soft, #FAFAFA); color: var(--ink-soft, #5A4A52); }
.mdb-hint { margin: 0; font-size: .86rem; color: var(--ink-soft, #5A4A52); line-height: 1.45; }
.mdb-date-warning {
  margin: 0; padding: 10px 12px; border-radius: 10px;
  background: #FDF0F3; border: 1px solid var(--line, #F0DCE4);
  color: var(--maroon-deep, #431526); font-size: .92rem;
}
.mdb-free-note {
  margin: 0; padding: 10px 12px; border-radius: 10px;
  background: var(--gold-soft, #F7EBD6); color: var(--plum, #3B1B2B);
  font-size: .9rem; font-weight: 600;
}
.mdb-free-note-soft { background: var(--bg-soft, #FAFAFA); font-weight: 500; color: var(--ink-soft, #5A4A52); }

.mdb-msgbox { border-radius: 10px; }
.mdb-msg { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft, #FAFAFA); font-size: .94rem; }
.mdb-msg-error { background: #FDF0F3; color: var(--maroon-deep, #431526); font-weight: 600; }

.mdb-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--maroon, #5C1E2E); color: #fff; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem;
  box-shadow: 0 10px 24px rgba(92, 30, 46, .22);
}
.mdb-submit:hover { background: var(--maroon-deep, #431526); }
.mdb-submit:disabled { opacity: .55; cursor: wait; box-shadow: none; }

.mdb-stripe-mount { margin-top: 20px; }
.mdb-thanks-body { margin: 0; line-height: 1.6; color: var(--ink-soft, #5A4A52); }

@media (max-width: 560px) {
  .mdb-card { padding: 24px 18px 20px; }
  .mdb-overlay { padding: 14px 8px 32px; }
}

.mdb-pickup{margin-top:10px}
.mdb-pickup p{margin:2px 0}
.mdb-pickup-intro{font-weight:600}
.mdb-pickup-note{color:#5C1E2E}
