/* Единые контролы формы; текст контактов и поиска не увеличивает страницу iOS. */
.print-request input:not([type=hidden]), .print-request select,
.pickup button { font-family: inherit; font-size: 1rem; line-height: 1.5; }
.print-request input:not([type=hidden]), .print-request select {
  min-height: 48px; width: 100%; border: 1.5px solid #d6d3d1;
  border-radius: 10px; padding: 10px 14px; background: white; color: #292524;
}
.print-request [aria-invalid="true"]:is(input:not([type=hidden]), select) {
  border-color: #dc2626;
}
.print-request :is(input, select, button):focus-visible {
  outline: 3px solid #7cb5db; outline-offset: 2px;
}
.pickup { min-width: 0; margin: 0; padding: 4px 0 0; border-top: 1px solid #e8e6e3; }
.pickup legend { width: 100%; padding: 0 0 12px; }
.pickup label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.pickup p { margin: 0; overflow-wrap: anywhere; }
.pickup .pickup-meta { color: #78716c; font-size: 14px; line-height: 1.5; margin: 8px 0; }
.pickup .pickup-help { margin: 0 0 12px; }
.pickup-address { font-size: 16px; line-height: 1.6; font-weight: 500; }
.pickup-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.pickup-city-row { justify-content: flex-start; gap: 4px 12px; }
.pickup-actions { margin-top: 4px; justify-content: flex-start; column-gap: 16px; }
.pickup button { min-height: 44px; border-radius: 10px; padding: 10px 14px; cursor: pointer; }
.pickup-secondary { background: white; border: 1.5px solid #d6d3d1; color: #292524; }
.pickup-secondary:hover { background: #fafaf9; border-color: #78716c; }
.pickup-cities { margin-top: 8px; }
.pickup-city { display: block; width: 100%; text-align: left; background: #f0f6fc; color: #1c1917; margin-top: 4px; overflow-wrap: anywhere; }
.pickup details { margin-top: 8px; }
.pickup summary { cursor: pointer; min-height: 44px; padding: 10px 0; color: #2c5280; }
.pickup-points {
  max-height: min(55vh, 400px);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-top: 12px;
  padding: 4px;
}
.pickup-points:empty { display: none; }
.pickup .pickup-point-row {
  display: block;
  position: relative;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  padding: 8px 32px 8px 12px;
  border: 1px solid transparent;
  color: #292524;
  overflow-wrap: anywhere;
}
.pickup-point-row:hover { background: #fafaf9; }
.pickup .pickup-list-point {
  padding: 10px 12px;
  padding-inline-end: 42px;
  border: 1px solid #e8e6e3;
  margin-bottom: 6px;
  font-weight: 500;
}
.pickup-list-point::after {
  content: "";
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  transform: translateY(-50%);
  border: 1.5px solid #78716c;
  border-radius: 50%;
  pointer-events: none;
}
.pickup .pickup-list-point:last-child { margin-bottom: 0; }
.pickup-nearby {
  position: absolute;
  z-index: 2;
  inset: 12px 70px auto 12px;
  max-width: 420px;
}
.pickup-address-suggestions {
  max-height: min(150px, 28vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  margin: 4px 0 0;
  padding: 4px;
  border: 1px solid #e8e6e3;
  border-radius: 10px;
  background: white;
}
.pickup-address-suggestions [role="option"] {
  padding: 10px 12px;
  border-radius: 8px;
  color: #292524;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.pickup-address-suggestions [role="option"]:hover,
.pickup-address-suggestions [aria-selected="true"] { background: #f0f6fc; }
.pickup .pickup-address-status { margin: 0; }
.pickup .pickup-address-status:not(:empty) {
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 8px;
  background: white;
  overflow-wrap: anywhere;
}
.pickup-near-origin {
  display: block;
  transform: translate(-50%, -110%);
  padding: 2px 8px;
  border-radius: 8px;
  background: var(--accent-600, #2c5280);
  color: white;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
}
.pickup .pickup-point-row[aria-pressed="true"] {
  border-color: #b0d1eb;
  background: #f0f6fc;
  font-weight: 500;
}
.pickup-point-row[aria-pressed="true"]::after {
  content: "✓";
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #2c5280;
}
.pickup-choice:not([hidden]) {
  position: absolute;
  z-index: 1;
  inset: auto 12px 76px;
  max-inline-size: 420px;
  max-block-size: max(64px, 32%);
  margin-inline: auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--accent-200, #b0d1eb);
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 16px #29252426;
}
.pickup-choice > .pickup-point-row { grid-column: 1 / -1; }
.pickup-choice-details { min-width: 0; }
.pickup .pickup-choice .pickup-meta { margin: 2px 0 0; }
.pickup .pickup-map-confirm {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--accent-600, #2c5280);
  color: white;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.pickup .pickup-map-confirm:hover { background: var(--accent-700, #244769); }
[data-pickup-summary]:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 12px;
  border: 1px solid #b0d1eb;
  border-radius: 10px;
  background: #f0f6fc;
}
.pickup [data-pickup-summary] .pickup-meta { margin: 2px 0 0; }
[data-pickup-error] { margin-bottom: 12px; padding: 12px; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 10px; }
.pickup-city-row { margin-bottom: 4px; }
.pickup-suggestions {
  margin-top: 4px;
  padding: 2px 4px;
  border: 1px solid #e8e6e3;
  border-radius: 10px;
  background: #fff;
}
.pickup-suggestions-empty {
  align-items: center;
  gap: 0 12px;
  flex-wrap: wrap;
  padding-inline: 8px;
}
.pickup-suggestions-empty:not([hidden]) { display: flex; }
.pickup [data-pickup-status]:empty, .pickup .pickup-results-count:empty { display: none; }
.print-request { font-family: Rubik, system-ui, sans-serif; }
.pickup legend { font-family: Nunito, system-ui, sans-serif; }

.pickup .pickup-deferred {
  padding: 10px 0; background: transparent; border: 0; color: #78716c;
  font-size: 14px; font-weight: 400; text-decoration: underline;
  text-underline-offset: 3px;
}
.pickup .pickup-deferred:hover { color: #292524; }
.pickup .pickup-inline-action {
  padding: 0 2px;
  background: transparent;
  border: 0;
  color: var(--accent-600, #2c5280);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pickup .pickup-inline-action:hover { color: var(--accent-700, #244769); }
.pickup-view-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 8px 0;
}

.pickup-modes {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid #e8e6e3;
  border-radius: 12px;
  background: #fafaf9;
}

.pickup .pickup-modes button { background: transparent; border: 1px solid transparent; }
.pickup .pickup-modes [aria-pressed="true"] {
  background: #fff;
  border-color: #d6d3d1;
  font-weight: 500;
}

.pickup-map-area {
  position: relative;
  isolation: isolate;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f6fc;
}

.pickup-map {
  height: clamp(300px, 58vh, 560px);
}

[data-pickup-map-status]:empty { display: none; }

@media (max-width: 479px) {
  .pickup-map { height: clamp(260px, 50vh, 440px); }
}

.pickup-map-controls {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
}
.pickup-map-controls button + button { margin-top: 4px; }

.pickup-map-controls button,
.pickup-map-marker {
  display: block;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--accent-600, #2c5280);
  border-radius: 10px;
  background: white;
  color: var(--accent-600, #2c5280);
  font-weight: 600;
}

.pickup .pickup-map-marker {
  position: relative;
  min-width: 28px;
  min-height: 28px;
  padding: 0 6px;
  border: 1px solid #b0d1eb;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #f0f6fc;
  box-shadow: 0 1px 3px #29252433;
  font-size: .75rem;
}
.pickup-map-marker::after {
  position: absolute;
  content: "";
  inset: 50% auto auto 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.pickup .pickup-map-marker[aria-pressed="true"] {
  background: var(--brand-100, #ffedd5);
  border: 2px solid var(--brand-700, #d34f0f);
}

.pickup-results-map :is(.pickup-points, .pickup-results-count) {
  display: none;
}

@media (max-height: 480px) {
  .pickup-map { height: max(160px, 48vh); }
  .pickup-choice:not([hidden]) {
    position: relative;
    inset: auto;
    max-block-size: 144px;
    margin: 8px auto;
    inline-size: min(420px, calc(100% - 16px));
  }
}
