/* iambymia booking widget — matches iambymia.com's live brand:
   ink #1A1816, gold #BFA264, cream #FAF5ED, text #4A4640
   headings: 'Playfair Display', body: 'DM Sans' (both should already be loaded by the
   main site; this widget doesn't @import fonts to avoid loading them twice). */

.imb-booking { font-family: 'DM Sans', Arial, sans-serif; color: #4A4640; max-width: 720px; margin: 0 auto; }

.imb-category-hero {
  display: block; width: 100%; max-height: 320px; object-fit: cover;
  border-radius: 10px; margin-bottom: 20px;
}

.imb-redeem-link {
  display: block; background: none; border: none; color: #8a8580; font-size: 13px;
  cursor: pointer; margin: 0 0 16px auto; padding: 0; text-decoration: underline;
}

.imb-service-list { display: grid; gap: 16px; }

.imb-packages-title {
  font-family: 'Playfair Display', Georgia, serif; color: #1A1816; margin: 32px 0 16px 0; font-size: 20px;
}
.imb-package-list { display: grid; gap: 16px; }
.imb-package-card {
  border: 1px solid #BFA264; border-radius: 10px; padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: #fff8ee;
}
.imb-package-info h5 { font-family: 'Playfair Display', Georgia, serif; color: #1A1816; margin: 0 0 6px 0; font-size: 16px; }
.imb-package-meta { font-size: 13px; color: #8a8580; margin-right: 8px; }
.imb-package-price { font-weight: 600; color: #1A1816; }

.imb-service-card {
  border: 1px solid #e8e0d4;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
  transition: border-color 0.15s ease;
}
.imb-service-card:hover { border-color: #BFA264; }

.imb-service-info h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1A1816;
  margin: 0 0 6px 0;
  font-size: 18px;
}
.imb-service-info p { margin: 0 0 8px 0; font-size: 14px; color: #6b665f; line-height: 1.5; }
.imb-service-meta { font-size: 13px; color: #8a8580; }
.imb-service-price { font-weight: 600; color: #1A1816; margin-left: 6px; }

.imb-book-btn {
  background: #1A1816;
  color: #BFA264;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.imb-book-btn:hover { background: #322e29; }
.imb-book-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Modal */
.imb-modal-overlay {
  position: fixed; inset: 0; background: rgba(26,24,22,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 20px;
}
.imb-modal {
  background: #FAF5ED; border-radius: 14px; max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 32px; position: relative;
}
.imb-modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  font-size: 22px; color: #8a8580; cursor: pointer; line-height: 1;
}
.imb-modal h3 {
  font-family: 'Playfair Display', Georgia, serif; color: #1A1816; margin-top: 0; font-size: 22px;
}
.imb-step { display: none; }
.imb-step.active { display: block; }

.imb-date-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.imb-date-btn, .imb-time-btn {
  background: #fff; border: 1px solid #e8e0d4; border-radius: 8px; padding: 10px 6px;
  font-size: 13px; cursor: pointer; text-align: center; color: #4A4640;
}
.imb-date-btn.selected, .imb-time-btn.selected, .imb-date-btn:hover, .imb-time-btn:hover {
  border-color: #BFA264; background: #fff8ee;
}
.imb-time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; max-height: 240px; overflow-y: auto; }

.imb-form-field { margin-bottom: 14px; }
.imb-form-field label { display: block; font-size: 13px; margin-bottom: 6px; color: #6b665f; }
.imb-form-field input {
  width: 100%; padding: 10px 12px; border: 1px solid #e8e0d4; border-radius: 6px;
  font-size: 14px; font-family: inherit; box-sizing: border-box;
}

.imb-continue-btn {
  background: #1A1816; color: #BFA264; border: none; border-radius: 6px;
  padding: 12px 24px; font-size: 15px; font-weight: 600; cursor: pointer; width: 100%; margin-top: 8px;
}
.imb-continue-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Add-on step */
.imb-addon-list { max-height: 320px; overflow-y: auto; margin: 12px 0; gap: 10px; }
.imb-addon-card { padding: 14px 18px; cursor: pointer; }
.imb-addon-card .imb-book-btn { padding: 8px 16px; font-size: 13px; }
.imb-addon-card.selected { border-color: #BFA264; background: #fff8ee; }
.imb-addon-card.selected .imb-book-btn { background: #7EC4BC; color: #1A1816; }
.imb-addon-skip {
  background: #fff; color: #1A1816; border: 1px solid #e8e0d4;
}
.imb-addon-skip:hover { border-color: #BFA264; }

.imb-waitlist-btn {
  width: 100%; background: #fff; color: #1A1816; border: 1px solid #BFA264; border-radius: 6px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer; margin-top: 10px;
}
.imb-waitlist-btn:hover { background: #fff8ee; }
.imb-back-btn {
  background: none; border: none; color: #8a8580; font-size: 13px; cursor: pointer;
  margin-bottom: 12px; padding: 0;
}

.imb-error { color: #b3453a; font-size: 13px; margin-top: 8px; }
.imb-loading { text-align: center; padding: 24px; color: #8a8580; }
.imb-empty { text-align: center; padding: 24px; color: #8a8580; font-size: 14px; }
