/* Maps (Leaflet + OpenStreetMap): the kitchen's pin editor and the customer's pickup card. */
.oml-map { background: var(--oml-color-app-bg); border: 1px solid var(--oml-color-line, #e6e1ee); border-radius: var(--oml-radius-medium); height: 260px; isolation: isolate; overflow: hidden; width: 100%; }
.oml-map--edit { height: 300px; }
.oml-map-pin { background: none; border: 0; }
.oml-map-pin svg { display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); }
.oml-map .leaflet-container { font: inherit; }

.oml-pin-editor { display: grid; gap: 8px; margin-top: 12px; }
.oml-pin-editor[hidden] { display: none; }
.oml-pin-editor__label { font-weight: 600; margin: 0; }
.oml-pin-editor__hint { color: var(--oml-color-muted); font-size: 14px; margin: 0; }

.oml-pickup { background: #fff; border-radius: var(--oml-radius-large); box-shadow: 0 1px 3px rgba(45, 27, 54, 0.12); display: grid; gap: 12px; margin-bottom: 16px; padding: 16px; }
.oml-pickup[hidden] { display: none; }
.oml-pickup__heading { color: var(--oml-color-muted); font-size: 14px; font-weight: 600; margin: 0; }
.oml-pickup__address { font-family: var(--oml-font-display); font-size: 18px; font-weight: 600; line-height: 1.3; margin: 0; }
.oml-pickup__open { justify-self: stretch; text-align: center; text-decoration: none; }
.oml-pickup .oml-map { height: 220px; }

@media (min-width: 720px) {
	.oml-map--edit { height: 360px; }
	.oml-pickup .oml-map { height: 280px; }
	.oml-pickup__open { justify-self: start; }
}
.oml-pin-editor__reset { justify-self: center; margin-inline: auto; }

/* On an order: where to collect it. */
.oml-order-pickup { background: var(--oml-color-surface-warm, #fbfaff); border: 1px solid var(--oml-color-line); border-radius: var(--oml-radius-medium); display: grid; gap: 10px; margin: 12px 0; padding: 14px; }
.oml-order-pickup--ready { background: var(--oml-color-lime-tint); border-color: var(--oml-color-lime); }
.oml-order-pickup__heading { color: var(--oml-color-muted); font-size: 14px; font-weight: 700; margin: 0; }
.oml-order-pickup--ready .oml-order-pickup__heading { color: var(--oml-color-lime-ink); font-size: 16px; }
.oml-order-pickup__address { color: var(--oml-color-ink); font-family: var(--oml-font-display); font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0; }
.oml-order-pickup .oml-map { height: 200px; }
.oml-order-pickup__open { justify-self: stretch; text-align: center; text-decoration: none; }
@media (min-width: 700px) { .oml-order-pickup__open { justify-self: start; } .oml-order-pickup .oml-map { height: 240px; } }
