/* Next Delivery + shipping — product detail (desktop + mobile match) */
.hf-next-delivery-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  gap: 8px;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.hf-next-delivery-pill {
  --hf-nd-cream: #fff9f2;
  --hf-nd-border: #e8d9c4;
  --hf-nd-brown: #3c2a21;
  --hf-nd-gold: #c59d5f;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-wrap: wrap;
  gap: 0.35em 0.45em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid var(--hf-nd-border);
  border-radius: 0;
  background: var(--hf-nd-cream);
  color: var(--hf-nd-brown);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(12px, 1.35vw, 14px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
}

.hf-next-delivery-pill[hidden] {
  display: none !important;
}

.hf-next-delivery-pill--closed .hf-next-delivery-pill__time {
  font-weight: 700;
}

.hf-next-delivery-pill__label {
  color: var(--hf-nd-brown);
  white-space: nowrap;
}

.hf-next-delivery-pill__time {
  color: var(--hf-nd-brown);
  font-weight: 700;
  white-space: nowrap;
}

.hf-next-delivery-pill__sep {
  color: var(--hf-nd-brown);
  font-weight: 400;
  opacity: 0.85;
}

.hf-next-delivery-pill__countdown {
  color: var(--hf-nd-gold);
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hf-next-delivery-shipping {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #3c2a21;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: center;
  text-transform: none;
  width: 100%;
  max-width: 100%;
}

/* Thin light-gray rule between delivery block and Calculate your fees */
.hf-next-delivery-divider {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 0;
  margin: 14px 0 4px;
  padding: 0;
  border: 0;
  border-top: 1px solid #d1d1d1;
  background: none;
  align-self: stretch;
}

@media (max-width: 767px) {
  .hf-next-delivery-pill {
    padding: 12px 14px;
    font-size: 12px;
    gap: 0.25em 0.35em;
  }

  .hf-next-delivery-shipping {
    font-size: 9px;
  }
}
