.delivery-panel {
  min-width: 0;
  color: var(--ink);
  background: #fffefa;
  border: 1px solid var(--border);
  border-radius: 15px;
}

.delivery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px clamp(16px, 2vw, 26px);
  background: #f2f4eb;
  border-radius: 14px 14px 0 0;
}

.delivery-panel .delivery-destination,
.delivery-dialog h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 680;
  line-height: 1.4;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.delivery-destination span {font-weight: 510}

.delivery-change, .delivery-reset, .delivery-body a {
  color: var(--green);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .19em;
}

.delivery-change, .delivery-reset {
  padding: 5px 0;
  background: transparent;
  border: 0;
  font-size: 13px;
  line-height: 1.4;
}

.delivery-change {white-space: nowrap; min-height: 44px}
.delivery-row {margin: 0 clamp(16px, 2vw, 26px)}
.delivery-row + .delivery-row {border-top: 1px solid var(--border)}

.delivery-row summary {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 10px;
  align-items: center;
  column-gap: 11px;
  min-height: 48px;
  padding: 13px 2px 13px 0;
  cursor: pointer;
  list-style: none;
}
.delivery-row summary::-webkit-details-marker {display: none}
.delivery-row summary:focus-visible {outline: 3px solid #7965a5; outline-offset: 0}
.delivery-row summary::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-right: 1.6px solid #626c5b;
  border-bottom: 1.6px solid #626c5b;
  transform: rotate(-45deg);
}
.delivery-row[open] summary::after {transform: rotate(45deg)}
.delivery-symbol {align-self: start; color: var(--green); line-height: 0}
.delivery-symbol svg {width: 22px; height: 22px}
.delivery-labels {display: grid; gap: 3px}
.delivery-labels strong {font-size: 14px; line-height: 1.5; font-weight: 650}
.delivery-arrival {font-size: 13px; line-height: 1.5; color: var(--green)}
.delivery-body {
  padding: 0 14px 15px 33px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.5;
}
.delivery-body p {margin: 0}
.delivery-body p + p, .delivery-body a {margin-top: 5px}
.delivery-body p:empty {display: none}
.delivery-body a {display: inline-block}

.delivery-dialog {
  width: min(400px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fffefa;
  color: var(--ink);
  box-shadow: 0 16px 70px #22271f29;
}
.delivery-dialog::backdrop {background: #1e241d85}
.delivery-form {display: grid; gap: 16px; padding: clamp(18px, 4vw, 28px)}
.delivery-dialog h2 {font-size: 22px}
.delivery-field {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}
.delivery-field select, .delivery-field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #b9bfac;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}
.delivery-error {margin: 0; color: #963d30; font-size: 13px; line-height: 1.5}
.delivery-error:empty {display: none}
.delivery-actions {display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px}
.delivery-actions button {min-height: 42px}
.delivery-reset {justify-self: start}
