.delivery-filters { align-items: end; }
.delivery-filters > input { flex: 2; min-width: 220px; }
.delivery-filters label, .delivery-dialog label { display: grid; gap: 8px; }
.delivery-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  color: var(--text);
  background: white;
}
.delivery-dialog::backdrop { background: rgb(20 15 45 / 40%); }
.delivery-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.delivery-dialog h2 { margin: 0; font-size: 22px; }
.delivery-dialog form { display: grid; gap: 16px; }
.delivery-dialog [role="alert"] { color: #b42318; margin: 0; }
.delivery-dialog .domain-action, .delivery-demo-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.delivery-dialog .domain-action .primary-button, .domain-action [data-dispatch].primary-button {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.delivery-order-summary { margin-top: 16px; }
.delivery-order-summary h3 { margin-top: 0; }
.delivery-booking-heading { margin-top: 28px; }
@media (max-width: 860px) {
  .delivery-filters { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .delivery-dialog { padding: 16px; }
  .delivery-filters > *, .delivery-filters label { width: 100%; min-width: 0; }
}
.shipping-navigation {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.shipping-navigation [data-shipping-tab] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-shrink: 0;
  padding: 14px 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
  text-decoration: none;
}
.shipping-navigation [data-shipping-tab] svg { width: 21px; height: 21px; flex-shrink: 0; }
.shipping-navigation [data-shipping-tab]:hover { background: var(--brand-pale); }
.shipping-navigation [data-shipping-tab][aria-current="page"] {
  background: var(--brand-soft);
  border-bottom-color: var(--brand);
  color: var(--brand);
  font-weight: 700;
}
.shipping-navigation [data-shipping-tab]:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; }
.shipping-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.shipping-header .shipping-navigation { flex: 1; min-width: 0; margin-bottom: 0; border-bottom: 0; }
.delivery-slot-date-tools { flex: 0 0 224px; margin-bottom: 10px; }
.delivery-slot-date-tools label { display: grid; gap: 6px; }
.delivery-slot-date-tools input { width: 100%; }
#shipping-tabpanel:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
@media (max-width: 560px) {
  .shipping-navigation { gap: 0; margin-bottom: 18px; }
  .shipping-navigation [data-shipping-tab] { padding: 12px; }
  .shipping-header { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 18px; }
  .shipping-header .shipping-navigation { flex: auto; }
  .delivery-slot-date-tools { flex: auto; }
}
