/* Delivery is an operational fact, not a second promotion beside the quote CTA. */
.hc-delivery {
  --delivery-ink: var(--c-ink, #10161a);
  --delivery-muted: var(--c-ink-2, #48555e);
  min-width: 0;
  margin-block: 12px 16px;
  color: var(--delivery-ink);
}
.hc-delivery-main { display: inline-grid; grid-template-columns: 24px minmax(0, 1fr); width: max-content; max-width: 100%; gap: 8px; align-items: start; }
.hc-delivery-icon { width: 24px; height: 24px; margin-block-start: 12px; color: var(--delivery-muted); }
/* Card columns can be narrow on wide screens: use available space, not a
   viewport-only override. Relative bases may reflow for accessibility text. */
.hc-delivery-line { display: flex; align-items: flex-start; flex-wrap: wrap; column-gap: 8px; min-width: 0; font-size: 14px; line-height: 20px; }
.hc-delivery-city {
  display: inline-flex;
  flex: 1 1 6em;
  min-width: 0;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  max-width: 100%;
  padding-block: 4px;
  color: var(--delivery-muted);
  font: inherit;
  font-weight: 500;
  border-radius: var(--r-sm, 6px);
  text-decoration: none;
  touch-action: manipulation;
  transition: color 140ms ease-out;
}
.hc-delivery-city [data-delivery-city-copy] { min-width: 0; overflow-wrap: anywhere; text-decoration: none; text-underline-offset: 4px; }
.hc-delivery-city > svg { flex: 0 0 12px; margin-block-start: 0; transition: transform 140ms ease-out; }
.hc-delivery-city:hover { color: var(--c-accent, #e30613); }
.hc-delivery-city:hover [data-delivery-city-copy] { text-decoration: underline; }
.hc-delivery-city:active { color: var(--c-accent-hover, #9e0c24); }
.hc-delivery-city[aria-expanded="true"] > svg { transform: rotate(180deg); }
.hc-delivery-date { box-sizing: border-box; flex: 0 1 7.5em; min-width: 0; min-height: 48px; max-width: 100%; margin: 0; padding: 6px 4px; border: 0; border-radius: 0; background: transparent; text-align: start; color: var(--delivery-muted); font-family: inherit; font-size: 14px; line-height: 18px; font-weight: 400; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; cursor: pointer; touch-action: manipulation; transition: color 140ms ease-out; }
.hc-delivery-date .hc-delivery-value { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hc-delivery-date-number { color: inherit; font-size: 13px; line-height: 18px; font-weight: 400; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--c-line, #d8dfe2); text-underline-offset: 3px; }
.hc-delivery-date-number:first-child { font-size: 14px; line-height: 20px; font-weight: 500; }
.hc-delivery-relative { color: inherit; font-size: 14px; line-height: 18px; font-weight: 500; white-space: nowrap; }
.hc-delivery-date:not(:disabled):hover, .hc-delivery-date[aria-expanded="true"] { color: var(--c-accent, #e30613); }
.hc-delivery-date:not(:disabled):hover .hc-delivery-date-number { text-decoration-color: currentColor; }
.hc-delivery-date:not(:disabled):active { color: var(--c-accent-hover, #9e0c24); }
.hc-delivery-date:disabled { cursor: wait; }
.hc-delivery-date:focus-visible { outline: 2px solid var(--c-focus, #1f6feb); outline-offset: 3px; }
.hc-delivery-date::before { content: none; display: none; }
.hc-delivery-date--status { display: inline-grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hc-delivery-date--status > span { grid-area: 1 / 1; min-width: 0; }
.hc-delivery-value { opacity: 1; transform: translateY(0); transition: opacity 180ms ease-out, transform 180ms ease-out; }
.hc-delivery-loading { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; white-space: normal; text-align: start; visibility: hidden; color: var(--delivery-muted); font-size: 12px; line-height: 18px; font-weight: 400; }
.hc-delivery-loading::before { content: ''; box-sizing: border-box; flex: 0 0 12px; width: 12px; height: 12px; border: 1.5px solid var(--c-line, #d8dfe2); border-block-start-color: var(--delivery-muted); border-radius: 50%; }
.hc-delivery-date--status.is-loading .hc-delivery-value { visibility: hidden; opacity: 0; transform: translateY(2px); }
.hc-delivery-date--status.is-loading .hc-delivery-loading { visibility: visible; }
.hc-delivery-date--status.is-loading .hc-delivery-loading::before { animation: hc-delivery-spin 700ms linear infinite; }
@keyframes hc-delivery-spin { to { transform: rotate(360deg); } }
.hc-delivery-note { margin: -4px 0 0 32px; color: var(--delivery-muted); font-size: 12px; line-height: 18px; letter-spacing: .01em; }
.hc-freight { margin: 6px 0 0 32px; border-block: 1px solid var(--c-line, #d8dfe2); }
.hc-freight-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 16px; min-height: 44px; padding-block: 6px; list-style: none; cursor: pointer; touch-action: manipulation; }
.hc-freight-summary::-webkit-details-marker { display: none; }
.hc-freight-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-width: 0; color: var(--delivery-muted); font-size: 12px; line-height: 18px; }
.hc-freight-total strong { color: var(--delivery-ink); font-size: 16px; line-height: 22px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-freight-edit { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--delivery-muted); font-size: 12px; line-height: 18px; text-decoration: underline dotted; text-underline-offset: 4px; }
.hc-freight-edit svg { flex: 0 0 12px; transition: transform 180ms ease-out; }
.hc-freight[open] .hc-freight-edit svg { transform: rotate(180deg); }
.hc-freight-summary:hover .hc-freight-edit, .hc-freight-city:hover { color: var(--delivery-ink); text-decoration-style: solid; }
.hc-freight-summary:focus-visible, .hc-freight-city:focus-visible { outline: 2px solid var(--c-focus, #1f6feb); outline-offset: 3px; border-radius: 3px; }
.hc-freight-body { padding-block: 4px 12px; border-block-start: 1px solid var(--c-line, #d8dfe2); }
.hc-freight-destination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; color: var(--delivery-muted); font-size: 12px; line-height: 18px; }
.hc-freight-city { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 8px 0; border: 0; background: transparent; color: var(--delivery-ink); font: inherit; font-size: 14px; line-height: 20px; text-align: start; text-decoration: underline dotted; text-underline-offset: 4px; overflow-wrap: anywhere; cursor: pointer; touch-action: manipulation; }
.hc-freight-methods { min-width: 0; margin: 0; padding: 0; border: 0; }
.hc-freight-methods legend { padding: 0 0 6px; color: var(--delivery-muted); font-size: 12px; line-height: 18px; }
.hc-freight-method { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 60px; padding: 8px 6px; border-block-start: 1px solid var(--c-line, #d8dfe2); cursor: pointer; touch-action: manipulation; }
.hc-freight-method:has(input:checked) { background: var(--c-bg-soft, #f4f6f7); }
.hc-freight-method input { box-sizing: border-box; width: 18px; height: 18px; margin: 0; accent-color: var(--delivery-ink); }
.hc-freight-method input:focus-visible { outline: 2px solid var(--c-focus, #1f6feb); outline-offset: 3px; }
.hc-freight-method > span { min-width: 0; color: var(--delivery-ink); font-size: 14px; line-height: 20px; font-weight: 500; }
.hc-freight-method small { display: block; margin-block-start: 2px; color: var(--delivery-muted); font-size: 12px; line-height: 18px; font-weight: 400; }
.hc-freight-method > strong { color: var(--delivery-ink); font-size: 14px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-freight-note { margin: 10px 0 0; color: var(--delivery-muted); font-size: 12px; line-height: 18px; text-wrap: pretty; }
.hc-delivery [hidden], .hc-delivery-dialog [hidden] { display: none; }
.hc-delivery-city:focus-visible,
.hc-delivery-city-result:focus-visible,
.hc-delivery-results-viewport:focus-visible,
.hc-delivery-dialog a:focus-visible { outline: 2px solid var(--c-focus, #1f6feb); outline-offset: 3px; border-radius: 3px; }
.hc-delivery-dialog { box-sizing: border-box; width: min(560px, calc(100% - 32px)); max-width: 560px; max-height: min(660px, calc(100dvh - 32px)); padding: 0; overflow: hidden; }
.hc-delivery-dialog-card { display: flex; flex-direction: column; box-sizing: border-box; max-height: min(660px, calc(100dvh - 32px)); padding: 28px; overflow: hidden; }
.hc-delivery-dialog .hc-modal-head { flex: 0 0 auto; align-items: center; gap: 16px; }
.hc-delivery-dialog .hc-modal-head h2 { margin: 0; font-size: 26px; line-height: 32px; font-weight: 650; letter-spacing: -.01em; text-wrap: balance; }
.hc-delivery-dialog-description { flex: 0 0 auto; margin: 12px 0 20px; color: var(--c-ink-2, #48555e); font-size: 14px; line-height: 21px; text-wrap: pretty; }
.hc-delivery-search { flex: 0 0 auto; display: grid; gap: 8px; }
.hc-delivery-search label { color: var(--c-ink, #10161a); font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: .01em; }
.hc-delivery-search-control { display: flex; align-items: center; gap: 10px; min-width: 0; padding-inline: 12px; border: 1px solid var(--c-line, #d8dfe2); border-radius: var(--r-sm, 6px); background: var(--c-bg-soft, #f4f6f7); }
.hc-delivery-search-control > svg { flex: 0 0 20px; color: var(--c-ink-2, #48555e); }
.hc-delivery-dialog .hc-delivery-search-control input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 11px 0; border: 0; border-radius: 0; background: transparent; color: var(--c-ink, #10161a); font: inherit; font-size: 16px; line-height: 24px; }
.hc-delivery-dialog .hc-delivery-search-control input:focus { border: 0; outline: none; box-shadow: none; }
.hc-delivery-search-control:focus-within { outline: 2px solid var(--c-focus, #1f6feb); outline-offset: 2px; }
.hc-delivery-city-status { flex: 0 0 auto; min-height: 18px; margin: 16px 0 8px; color: var(--c-ink-2, #48555e); font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .01em; }
.hc-delivery-results-viewport { flex: 1 1 320px; min-height: 0; max-height: 320px; margin-inline: -4px; padding: 4px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--c-line, #d8dfe2) transparent; }
.hc-delivery-city-results { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hc-delivery-dialog[data-delivery-query="popular"] .hc-delivery-city-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hc-delivery-city-results li { min-width: 0; margin: 0; padding: 0; }
.hc-delivery-city-result { display: flex; box-sizing: border-box; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 56px; padding: 10px; border: 0; border-radius: var(--r-sm, 6px); background: transparent; color: var(--c-ink, #10161a); font: inherit; text-align: start; cursor: pointer; touch-action: manipulation; transition: background-color 150ms; }
.hc-delivery-city-result:hover,
.hc-delivery-city-result[aria-pressed="true"] { background: var(--c-bg-soft, #f4f6f7); }
.hc-delivery-city-result-copy { display: grid; min-width: 0; gap: 2px; }
.hc-delivery-city-result-name { font-size: 14px; line-height: 20px; font-weight: 600; overflow-wrap: anywhere; }
.hc-delivery-city-result-region { color: var(--c-ink-2, #48555e); font-size: 12px; line-height: 18px; letter-spacing: .01em; overflow-wrap: anywhere; }
.hc-delivery-city-result-selected { flex: 0 0 auto; color: var(--c-ink-2, #48555e); font-size: 12px; line-height: 18px; font-weight: 500; }
.hc-delivery-city-result-selected::before { content: '✓'; margin-inline-end: 4px; }
.hc-delivery-city-empty { margin: 12px 10px; color: var(--c-ink-2, #48555e); font-size: 14px; line-height: 21px; }
.hc-delivery-city-empty a { color: var(--c-accent, #e30613); text-underline-offset: 3px; }
.hc-delivery-dialog-footnote { flex: 0 0 auto; margin: 16px 0 0; padding-block-start: 14px; border-block-start: 1px solid var(--c-line, #d8dfe2); color: var(--c-ink-2, #48555e); font-size: 12px; line-height: 18px; letter-spacing: .01em; text-wrap: pretty; }
.hc-delivery-attribution { margin-block: 16px; color: var(--c-ink-2, #48555e); font-size: 12px; line-height: 18px; text-wrap: pretty; }
.hc-delivery-attribution a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hc-delivery-attribution a:hover { color: var(--c-ink, #10161a); }
.hc-delivery-attribution a:focus-visible { outline: 2px solid var(--c-focus, #1f6feb); outline-offset: 3px; }
@media (max-width: 1100px) {
  .hc-freight-summary { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hc-freight-total { justify-content: space-between; }
  .hc-freight-edit { justify-self: start; }
}
@media (max-width: 767px) {
  /* Existing price=1, choice=2, actions=3. Source order keeps delivery before CTA. */
  .hc-page-product .hc-pdp-buy > .hc-delivery { order: 3; }
}
@media (max-width: 479px) {
  .hc-delivery-dialog { width: calc(100% - 16px); max-height: min(660px, calc(100dvh - 16px)); }
  .hc-delivery-dialog .hc-modal-card { max-height: min(660px, calc(100dvh - 16px)); padding: 20px 16px; }
  .hc-delivery-dialog .hc-modal-head h2 { font-size: 24px; line-height: 30px; }
  .hc-delivery-dialog-description { margin-block: 10px 16px; }
  .hc-delivery-dialog[data-delivery-query="popular"] .hc-delivery-city-results { grid-template-columns: minmax(0, 1fr); }
  .hc-delivery-results-viewport { flex-basis: 280px; max-height: 40dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-delivery *, .hc-delivery-dialog * { scroll-behavior: auto; transition: none; }
  .hc-delivery-value, .hc-delivery-date--status.is-loading .hc-delivery-value { transform: none; }
  .hc-delivery-date--status.is-loading .hc-delivery-loading::before { animation: none; }
}
@media print { .hc-delivery, .hc-delivery-dialog, .hc-delivery-attribution { display: none; } }
