/* ---- Shipping step: method intro ---- */
.bbd-method-intro { margin: 0 0 10px; }
.bbd-method-intro .bbd-method-title { font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.bbd-method-intro .bbd-method-error { color: #b00020; font-weight: 600; margin: 0 0 6px; }

/* ---- Calendar widget ---- */
.bbd-widget { margin: 10px 0 15px; font-size: 14px; max-width: 520px; }
.bbd-widget [hidden] { display: none !important; }
.bbd-widget .bbd-location { margin: 0 0 8px; color: #555; }
.bbd-widget .bbd-messages { background: #fff7e0; border: 1px solid #f0d58c; border-radius: 6px; padding: 8px 10px; margin-bottom: 8px; }
.bbd-widget .bbd-messages p { margin: 0; }
.bbd-widget .bbd-step { font-weight: 700; margin: 12px 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bbd-widget .bbd-num { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: #222; color: #fff; font-size: 13px; align-items: center; justify-content: center; flex: 0 0 auto; }
.bbd-widget .bbd-time-day { font-weight: 400; color: #555; }
.bbd-widget .bbd-cal { border: 1px solid #ddd; border-radius: 10px; padding: 8px; background: #fff; }
.bbd-widget .bbd-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.bbd-widget .bbd-cal-title { font-weight: 700; }
.bbd-widget .bbd-cal-prev, .bbd-widget .bbd-cal-next {
  width: 40px; height: 40px; border: 1px solid #ccc; border-radius: 8px; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: #222;
}
.bbd-widget .bbd-cal-prev:disabled, .bbd-widget .bbd-cal-next:disabled { opacity: .3; cursor: default; }
.bbd-widget .bbd-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.bbd-widget .bbd-cal-dow { text-align: center; font-size: 12px; color: #777; padding: 2px 0; }
.bbd-widget .bbd-cal-day {
  min-height: 40px; border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: 15px; color: #222; cursor: pointer; padding: 0;
}
.bbd-widget .bbd-cal-day.is-available { font-weight: 700; background: #f3f7f3; border-color: #cfe3cf; }
.bbd-widget .bbd-cal-day.is-available:hover { border-color: #222; }
.bbd-widget .bbd-cal-day.is-unavailable { color: #bbb; cursor: not-allowed; }
.bbd-widget .bbd-cal-day.is-full { text-decoration: line-through; }
.bbd-widget .bbd-cal-day.is-blank { visibility: hidden; }
.bbd-widget .bbd-cal-day.is-active { background: #222; border-color: #222; color: #fff; }
.bbd-widget .bbd-legend { margin: 8px 0 0; font-size: 12px; color: #666; }
.bbd-widget .bbd-legend span { display: inline-block; min-width: 26px; text-align: center; border-radius: 6px; padding: 1px 4px; }
.bbd-widget .bbd-legend-ok { font-weight: 700; background: #f3f7f3; border: 1px solid #cfe3cf; }
.bbd-widget .bbd-legend-no { color: #bbb; }
.bbd-widget .bbd-loading { margin: 6px 0; color: #777; }
.bbd-widget .bbd-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.bbd-widget .bbd-slot { min-height: 44px; padding: 8px 10px; border: 1px solid #ccc; border-radius: 8px; background: #fff; cursor: pointer; color: #222; font-size: 14px; }
.bbd-widget .bbd-slot:disabled { opacity: .45; cursor: not-allowed; }
.bbd-widget .bbd-slot.is-full { text-decoration: line-through; }
.bbd-widget .bbd-slot .bbd-full { margin-left: 6px; font-size: 11px; text-transform: uppercase; text-decoration: none; display: inline-block; }
.bbd-widget .bbd-slot.is-active { background: #222; border-color: #222; color: #fff; }
.bbd-widget .bbd-slot.is-busy { opacity: .6; }
.bbd-widget button:focus-visible { outline: 2px solid #2a7ae2; outline-offset: 2px; }
.bbd-widget .bbd-summary { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: #eaf6ec; color: #1d7a35; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bbd-widget .bbd-summary-text { flex: 1 1 180px; }
.bbd-widget .bbd-change { min-height: 40px; padding: 6px 14px; border: 1px solid #1d7a35; border-radius: 8px; background: #fff; color: #1d7a35; font-weight: 600; cursor: pointer; }
.bbd-widget .bbd-error { margin: 8px 0 0; color: #b00020; font-weight: 600; }
@media (max-width: 400px) {
  .bbd-widget .bbd-cal { padding: 6px 4px; }
  .bbd-widget .bbd-cal-grid { gap: 2px; }
  .bbd-widget .bbd-slots { grid-template-columns: 1fr 1fr; }
}
.bbd-order-info { margin: 15px 0; }
.bbd-order-info dt { font-weight: 600; }
.bbd-product-info { margin: 12px 0; font-size: 14px; }
.bbd-product-info .bbd-pi-line { margin: 0 0 4px; }
.bbd-product-info .bbd-pi-local { color: #8a5a00; }
.bbd-mixed-cart { margin: 10px 0; }
