/* Live eBay listing-specific delivery estimates — product pages only.
   v136: presentation refresh. Compact service rows with hairline dividers,
   a slim postcode check, and messages placed beside the field they concern.
   Uses the existing black, white and grey palette only. */
.has-product .delivery-live [hidden]{display:none!important}
.has-product .delivery-live h2{margin-bottom:2px}

/* Loading, unavailable and "no estimate" messages (visible only when there is no service list). */
.has-product .delivery-live .ebay-delivery-status{font-size:14px;line-height:1.55;color:#656565;margin:3px 0 0}

/* Services: one compact row per eBay service. */
.has-product .ebay-delivery-list{list-style:none;margin:10px 0 0;padding:0;transition:opacity .2s ease}
.has-product .ebay-delivery-option{display:flex;flex-direction:column;gap:2px;padding:12px 0;border-top:1px solid #ededed;min-width:0}
.has-product .ebay-delivery-option:first-child{border-top:0;padding-top:0}
.has-product .ebay-delivery-option__service{font-size:15px;line-height:1.35;font-weight:600;color:#111;letter-spacing:-.1px;overflow-wrap:break-word}
.has-product .ebay-delivery-option__cost{font-size:14px;line-height:1.45;font-weight:500;color:#222;font-variant-numeric:tabular-nums}
.has-product .ebay-delivery-option__eta{font-size:13.5px;line-height:1.45;color:#656565}
.has-product .ebay-delivery-option__date{color:#222;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}
.has-product .delivery-live .ebay-delivery-note{font-size:12px;line-height:1.5;color:#6b6b6b;margin:4px 0 0}
.has-product .is-checking-delivery .ebay-delivery-list,.has-product .is-checking-delivery .ebay-delivery-note{opacity:.45}

/* Postcode check: one slim row (field + black button) at every width. */
.has-product .ebay-postcode{margin-top:14px;padding-top:14px;border-top:1px solid #ededed}
.has-product .ebay-postcode label{display:block;font-size:14px;line-height:1.4;font-weight:600;color:#111;margin-bottom:8px}
.has-product .ebay-postcode__controls{display:flex;gap:8px;align-items:stretch;max-width:400px}
.has-product .ebay-postcode input{flex:1 1 auto;min-width:0;width:100%;height:44px;margin:0;border:1px solid #cfcfcf;border-radius:10px;padding:0 13px;font-family:inherit;font-size:16px;line-height:normal;letter-spacing:.02em;text-transform:uppercase;background:#fff;color:#111;-webkit-appearance:none;appearance:none}
.has-product .ebay-postcode input::placeholder{color:#767676;text-transform:none;letter-spacing:0;opacity:1}
.has-product .ebay-postcode input:hover{border-color:#a8a8a8}
.has-product .ebay-postcode input[aria-invalid=true]{border-color:#111;box-shadow:inset 0 0 0 1px #111}
.has-product .ebay-postcode button{flex:0 0 auto;height:44px;min-width:88px;margin:0;padding:0 20px;border:1px solid #111;border-radius:10px;background:#111;color:#fff;font-family:inherit;font-size:14px;font-weight:600;letter-spacing:.01em;cursor:pointer}
.has-product .ebay-postcode button:hover{background:#333;border-color:#333}
.has-product .ebay-postcode button:disabled{opacity:.7;cursor:progress}
.has-product .ebay-postcode input:focus{outline:2px solid #111;outline-offset:2px}
.has-product .ebay-postcode button:focus-visible{outline:2px solid #111;outline-offset:3px}
.has-product .delivery-live .ebay-postcode__message{font-size:13px;line-height:1.45;font-weight:500;color:#111;margin:8px 0 0}
.has-product .delivery-live #ebay-postcode-help{font-size:12px;line-height:1.5;color:#6b6b6b;margin:6px 0 0}

/* Wider cards (tablet and desktop): the price sits on the service line, right-aligned,
   saving a line per service. Narrow cards keep the stacked layout above. */
.has-product .delivery-live{container-type:inline-size}
@container (min-width:420px){
  .has-product .ebay-delivery-option{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;row-gap:2px;align-items:baseline}
  .has-product .ebay-delivery-option>*{grid-column:1}
  .has-product .ebay-delivery-option>.ebay-delivery-option__service+.ebay-delivery-option__cost{grid-column:2;grid-row:1;text-align:right;white-space:nowrap}
}

@media(max-width:640px){
  .has-product .ebay-delivery-option{padding:11px 0}
  .has-product .ebay-delivery-option__eta{font-size:13px}
  .has-product .ebay-postcode{margin-top:12px;padding-top:13px}
}
