.co-screen {
  --co-ink: #232323;
  --co-muted: #545d68;
  --co-blue: #0047bb;
  --co-deep: #1a3471;
  --co-tint: #ebf2fe;
  --co-line: #e1e5eb;
  --co-surface: #f5f5f5;
  box-sizing: border-box;
  min-width: 0;
  color: var(--co-ink);
  overflow-wrap: anywhere;
  font-family: 'Onest', Arial, sans-serif;
}

.co-screen *, .co-screen *::before, .co-screen *::after { box-sizing: border-box; }
.co-screen h1, .co-screen p, .co-screen form { margin: 0; }
.co-screen [hidden] { display: none; }
.co-review { padding-top: 31px; }
.co-heading h1 {
  font: 700 34px/39px 'Geologica', Arial, sans-serif;
  color: var(--co-ink);
}
.co-heading p {
  margin-top: 9px;
  font-size: 16px;
  line-height: 22px;
  color: var(--co-muted);
}

.co-delivery { padding: 20px 0 32px; }
.co-delivery > h1 { font: 700 34px/41px Geologica, Arial, sans-serif; }
.co-screen .co-pickup-label { margin: 15px 1px 8px; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--co-muted); }
.co-location-button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 66px;
  padding: 10px 15px;
  border: 0;
  border-radius: 16px;
  background: var(--co-tint);
  text-align: left;
}
.co-location-button > img { display: block; flex: none; }
.co-location-button > img:last-child { margin-left: auto; }
.co-location-copy { display: grid; gap: 3px; min-width: 0; }
.co-location-copy strong { font-size: 16px; line-height: 20px; font-weight: 600; }
.co-location-copy small { font-size: 12px; line-height: 15px; color: var(--co-muted); }
.co-screen .co-delivery-form { display: grid; gap: 8px; margin-top: 21px; }
.co-delivery-form h2 { font-size: 20px; line-height: 25px; }
.co-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 8px 16px;
  min-height: 62px;
  background: #fff;
  border: 1px solid var(--co-line);
  border-radius: 16px;
  cursor: text;
}
.co-field:focus-within, .co-city-search:focus-within { border-color: var(--co-blue); box-shadow: 0 0 0 1px var(--co-blue); }
.co-field span { color: var(--co-muted); font-size: 12px; font-weight: 500; line-height: 15px; }
.co-field input, .co-city-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--co-ink);
  font: 400 16px/20px Onest, Arial, sans-serif;
}
.co-field input::placeholder { color: var(--co-muted); opacity: 1; }
.co-field-invalid { border-color: #b42e34; }
.co-error { display: block; margin: 4px 10px 0; color: #a62028; font-size: 13px; line-height: 17px; }
.co-comment { display: grid; gap: 5px; margin-top: 2px; font: 700 19px/23px Geologica, Arial, sans-serif; }
.co-comment textarea {
  width: 100%; min-height: 76px; resize: vertical; padding: 12px 14px;
  border: 1px solid var(--co-line); border-radius: 16px; color: var(--co-ink);
  font: 400 16px/20px Onest, Arial, sans-serif;
}
.co-comment textarea::placeholder, .co-city-search input::placeholder { color: var(--co-muted); opacity: 1; }
#screen[data-screen="delivery"] + #actions button:disabled,
.co-picker .primary-action:disabled { background: var(--co-tint, #ebf2fe); color: var(--co-muted, #545d68); filter: none; cursor: default; }
.co-picker {
  inset: 0; margin: 0 auto; width: 100%; max-width: 480px; height: 100%; max-height: none;
  padding: 0; border: 0; background: #fff; color: var(--co-ink); overflow: hidden;
}
.co-picker[open] { display: flex; flex-direction: column; }
.co-picker::backdrop { background: transparent; }
.co-picker > .topbar { flex: none; }
.co-picker-body {
  --pickup-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  --pickup-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  min-height: 0; flex: 1; padding: 15px var(--pickup-right) 24px var(--pickup-left);
  overflow-y: auto;
}
.co-picker-title { font-size: 31px; line-height: 38px; outline: none; }

.co-city-search {
  display: flex; align-items: center; flex: none; gap: 10px; margin-top: 21px;
  width: 100%; min-height: 52px; padding: 8px 13px; border: 1px solid var(--co-line);
  border-radius: 16px; background: #fff;
}
.co-city-search > img:last-child { margin-left: auto; }
.co-city-label { margin: 32px 0 16px; font: 600 18px/23px Onest, Arial, sans-serif; }
.co-city-list { display: grid; gap: 13px; }
.co-city-list .co-location-button { background: var(--co-surface); min-height: 67px; padding-inline: 12px; gap: 15px; }
.co-city-list .co-location-copy strong { font-size: 17px; line-height: 22px; }
.co-city-list .co-location-copy small, .co-city-empty { color: var(--co-muted); font-size: 13px; line-height: 17px; }
.co-picker-message { margin: 6px 0; font-size: 14px; line-height: 19px; color: var(--co-muted); }
.co-picker-message:empty { display: none; }
.co-picker-map { display: flex; flex-direction: column; padding-bottom: 0; }
.co-map-stage {
  position: relative; isolation: isolate; flex: 1 0 215px; min-height: 0;
  margin: 6px calc(0px - var(--pickup-right)) 0 calc(0px - var(--pickup-left));
  background: #eef1f1;
}
.co-map-canvas { position: absolute; inset: 0; z-index: 0; }
.co-address-search { position: absolute; z-index: 1; top: 29px; left: var(--pickup-left); right: var(--pickup-right); pointer-events: none; }
.co-address-search > * { pointer-events: auto; }
.co-address-search .co-city-search { margin: 0; min-height: 42px; box-shadow: 0 2px 8px #18233622; }
.co-address-results {
  overflow: auto; overscroll-behavior: contain; max-height: min(225px, 26dvh); background: #fff;
  border-radius: 14px; margin: 4px 0 0; box-shadow: 0 4px 16px #18233626; padding: 4px 12px;
}
.co-address-row { display: grid; gap: 2px; width: 100%; padding: 9px 4px; min-height: 44px; border: 0; border-bottom: 1px solid var(--co-line); text-align: left; background: #fff; }
.co-address-row strong { font-weight: 600; font-size: 15px; }
.co-address-row small { font-weight: 400; color: var(--co-muted); font-size: 12px; }
.co-map-canvas .leaflet-control-attribution { font-size: 10px; }
.co-map-canvas .leaflet-bottom .leaflet-control { margin-bottom: 26px; }
.co-map-canvas img.co-pickup-marker { box-sizing: border-box; border-radius: 50%; border: 2px solid #fff; background: var(--co-blue); padding: 4px; }
.co-map-canvas img.co-pickup-marker[aria-pressed="true"], .co-map-canvas img.co-pickup-marker:focus-visible { outline: 3px solid #163e9b; outline-offset: 2px; }
.co-point-sheet {
  position: relative; flex: none; display: grid; gap: 8px;
  margin: -16px calc(0px - var(--pickup-right)) 0 calc(0px - var(--pickup-left));
  padding: 19px var(--pickup-right) calc(23px + env(safe-area-inset-bottom, 0px)) var(--pickup-left);
  background: #fff; box-shadow: 0 -5px 16px #1221381f; border-radius: 24px 24px 0 0;
}
.co-point-summary { min-height: 78px; }
.co-point-summary h2 { font: 700 23px/28px Geologica, Arial, sans-serif; }
.co-point-summary p { max-width: 320px; margin-top: 10px; color: var(--co-muted); font-size: 15px; line-height: 20px; }
.co-point-summary small { color: var(--co-muted); font-size: 13px; font-weight: 600; line-height: 16px; }
.co-point-summary small + h2 { margin-top: 4px; font-size: 20px; line-height: 24px; }
.co-point-summary small ~ p { margin-top: 4px; }

.co-gift {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 100px;
  padding: 12px;
  border-radius: 24px;
  background: var(--co-surface);
}
.co-gift-photo { display: block; width: 76px; height: 76px; flex: none; border-radius: 12px; object-fit: cover; }
.co-gift-placeholder { background: var(--co-tint); padding: 25px; object-fit: contain; }
.co-gift-text { display: grid; min-width: 0; gap: 3px; }
.co-gift-text strong { font-size: 17px; font-weight: 600; line-height: 22px; }
.co-gift-text span, .co-time { font-size: 13px; line-height: 17px; color: var(--co-muted); }
.co-gift-text .co-gift-badge {
  justify-self: start; padding: 3px 7px; border-radius: 9px; background: var(--co-tint);
  color: var(--co-deep); font-size: 10px; line-height: 12px; font-weight: 600;
}
.co-review .co-gift { margin-top: 21px; }
.co-costs {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 17px 20px;
  border-radius: 24px;
  background: var(--co-surface);
}
.co-destination { font-size: 15px; font-weight: 600; line-height: 19px; }
.co-costs hr { width: 100%; height: 1px; border: 0; margin: 0; background: var(--co-line); }
.co-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; }
.co-price span { font-size: 15px; line-height: 19px; color: var(--co-muted); }
.co-price strong { font-size: 16px; font-weight: 600; line-height: 20px; }
.co-total { min-height: 34px; }
.co-total span { font-size: 16px; font-weight: 600; line-height: 20px; color: var(--co-ink); }
.co-total strong { color: var(--co-blue); font: 700 24px/31px 'Geologica', Arial, sans-serif; }
.co-review .co-receipt { margin: 39px 0 24px; cursor: default; }

.co-pending { padding-top: 134px; text-align: center; }
.co-indicator {
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  margin: 0 auto 50px;
  background: var(--co-tint);
  border-radius: 50%;
}
.co-pending h1 { font-size: 32px; line-height: 41px; }
.co-pending .co-heading p { margin-top: 19px; line-height: 20px; }
.co-complete { padding-top: 26px; }
.co-illustration { display: block; width: 100%; height: auto; border-radius: 24px; }
.co-complete .co-heading { margin-top: 40px; }
.co-complete h1 { font-size: 41px; line-height: 45px; }
.co-complete .co-heading p { margin-top: 15px; line-height: 20px; }
.co-complete .co-gift { margin-top: 25px; }
.co-confirmed-delivery {
  display: grid;
  gap: 4px;
  background: var(--co-tint);
  border-radius: 16px;
  padding: 14px 17px;
  margin-top: 19px;
}
.co-confirmed-delivery strong { font-size: 16px; font-weight: 600; line-height: 20px; color: var(--co-deep); }
.co-confirmed-delivery span { font-size: 14px; line-height: 18px; color: var(--co-muted); }
.co-screen .co-receipt-note { margin: 23px 1px 0; color: var(--co-muted); font-size: 13px; line-height: 18px; }
