/* Anahata v2 — delivery-times sheet body. Figma 1638:3319 panel 1638:3844. */

.delivery-sheet {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.delivery-sheet__head {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.delivery-sheet__title {
  margin: 0;
  font-family: var(--a-font-body);
  font-weight: 700;
  font-size: var(--a-fs-rating-l);
  line-height: normal;
  color: var(--a-ink);
}

.delivery-sheet__subtitle {
  margin: 0;
  font-family: var(--a-font-body);
  font-weight: 500;
  font-size: var(--a-fs-body-s);
  line-height: normal;
  color: var(--a-text-muted);
}

.delivery-sheet__options {
  display: flex;
  flex-direction: column;
  gap: var(--a-space-5);
}

/* unselected: 8% black tile, 51px, name + 14px ETA */
.delivery-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  min-height: 51px;
  padding: var(--a-space-3);
  background: var(--a-fill-tint);
  border: 1px solid transparent;
  border-radius: var(--a-radius);
  cursor: pointer;
}

.delivery-option__pin,
.delivery-option__note {
  display: none;
}

.delivery-option__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--a-space-2);
}

.delivery-option__name {
  font-family: var(--a-font-body);
  font-weight: 600;
  font-size: var(--a-fs-body);
  line-height: normal;
  color: var(--a-ink);
}

.delivery-option__eta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--a-font-body);
  font-weight: 600;
  font-size: var(--a-fs-body-s);
  line-height: normal;
  color: var(--a-ink);
  white-space: nowrap;
}

/* selected: white, tan border, pin + note, 16px ETA */
.delivery-sheet__input:checked + .delivery-option {
  background: var(--a-surface);
  border-color: var(--a-tan);
}

.delivery-sheet__input:checked + .delivery-option .delivery-option__pin {
  display: flex;
  flex: 0 0 auto;
  color: var(--a-ink-pure);
}

.delivery-sheet__input:checked + .delivery-option .delivery-option__note {
  display: block;
  font-family: var(--a-font-body);
  font-weight: 500;
  font-size: var(--a-fs-body-s);
  line-height: normal;
  color: var(--a-label-secondary);
}

.delivery-sheet__input:checked + .delivery-option .delivery-option__eta {
  font-size: var(--a-fs-body);
}

.delivery-sheet__input:focus-visible + .delivery-option {
  outline: 2px solid var(--a-ink-pure);
  outline-offset: 2px;
}

/* "Free" / "Included" under the time */
.delivery-option__price {
  font-weight: 600;
  font-size: var(--a-fs-label);
  color: var(--a-brand-deep);
}

/* the delivery promise, set apart above the regions (owner 2026-09-29) */
.delivery-sheet__highlight {
  margin: 0;
  padding: var(--a-space-3) var(--a-space-4);
  border-radius: var(--a-radius);
  background: var(--a-brand-tint);
  font-family: var(--a-font-body);
  font-weight: 600;
  font-size: var(--a-fs-body-s);
  line-height: normal;
  color: var(--a-brand-deep);
}

.delivery-sheet__foot {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  margin: 0;
  font-family: var(--a-font-body);
  font-size: var(--a-fs-body-s);
  line-height: normal;
  color: var(--a-text-muted);
}

.delivery-sheet__foot-icon {
  flex: 0 0 auto;
  display: flex;
  color: var(--a-text-muted);
}
