/* Compact hero delivery checker and balanced three-item benefit strip. */
.hero .deliveryChecker {
  top: 38px;
  right: max(28px, calc((100vw - var(--max)) / 2 + 12px));
  width: min(318px, calc(100% - 56px));
  padding: 14px;
  grid-template-columns: 24px minmax(0, 1fr) 76px;
  gap: 7px 9px;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
}

.hero .deliveryChecker > .material-symbols-outlined {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  font-size: 24px;
}

.hero .deliveryChecker > div {
  grid-column: 2 / -1;
  grid-row: 1;
  min-width: 0;
}

.hero .deliveryChecker small {
  font-size: 8px;
  letter-spacing: .14em;
}

.hero .deliveryChecker b {
  font-size: 18px;
  line-height: 1.05;
}

.hero .deliveryChecker input {
  grid-column: 1 / 3;
  min-width: 0;
  height: 38px;
  font-size: 13px;
}

.hero .deliveryChecker button {
  grid-column: 3;
  height: 38px;
  padding: 0 12px;
}

.hero .deliveryChecker p {
  grid-column: 1 / -1;
  min-height: 0;
  line-height: 1.35;
}

.hero .deliveryChecker p:empty {
  display: none;
}

.benefits {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 760px) {
  .hero {
    overflow: visible;
    margin-bottom: 142px;
  }

  .hero .deliveryChecker {
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    left: 20px;
    width: auto;
    margin: 0;
    padding: 12px;
    grid-template-columns: 22px minmax(0, 1fr) 70px;
    gap: 6px 8px;
  }

  .hero .deliveryChecker > .material-symbols-outlined {
    font-size: 22px;
  }

  .hero .deliveryChecker b {
    font-size: 16px;
  }

  .hero .deliveryChecker input,
  .hero .deliveryChecker button {
    height: 36px;
  }

  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits article {
    min-width: 0;
    padding: 11px 7px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }

  .benefits article:nth-child(2) {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 430px) {
  .hero .deliveryChecker {
    right: 14px;
    left: 14px;
  }

  .benefits b {
    font-size: 10px;
  }

  .benefits small {
    font-size: 8px;
  }
}
