/* ==========================================================================
   Delivery & pickup, and the quote list — redesigned 1 October 2026 at JBM's
   request. Loaded only by delivery.php and quote.php; everything is scoped
   to .info-page inside <main>. Same tokens and banner language as the shop,
   category and become-a-supplier pages.
   ========================================================================== */

#main .info-page { padding-bottom: 64px; }

/* --- Banner --------------------------------------------------------------- */
#main .pg-hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr);
  padding: 48px 52px 44px; margin-bottom: 40px; color: #fff; background: var(--ink);
  border-radius: calc(var(--radius) * 2.4);
  box-shadow: 0 2px 6px rgba(23,27,25,.18), 0 30px 56px -36px rgba(23,27,25,.85);
}
#main .pg-hero-photo { position: absolute; z-index: -2; top: 0; right: 0; width: 56%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.9); }
#main .pg-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 44%, rgba(23,27,25,.74) 60%, rgba(23,27,25,.2) 86%, rgba(23,27,25,.08) 100%),
    radial-gradient(60% 90% at 0% 100%, rgba(246,191,20,.12) 0%, rgba(246,191,20,0) 70%);
}
#main .pg-hero::after {
  content: ""; position: absolute; z-index: -1; top: -12px; bottom: -12px; left: 47%; width: 12px;
  background: linear-gradient(180deg, var(--yellow), var(--yellow-hover)); transform: skew(-16deg);
}
#main .pg-hero-copy { position: relative; max-width: 590px; }
#main .pg-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
#main .pg-kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--yellow); }
#main .pg-hero h1 { color: #fff; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.045em; margin: 12px 0 14px; }
#main .pg-intro { color: #cfd3d0; font-size: 16px; line-height: 1.6; margin: 0; max-width: 540px; }

/* The postcode check, in the banner: the reason most people open the page. */
#main .pg-check { margin-top: 26px; padding: 20px 20px 16px; border-radius: 18px; max-width: 520px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 34px -24px rgba(0,0,0,.9); }
#main .pg-check-title { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; letter-spacing: -.02em; margin: 0 0 6px; }
#main .pg-check-title .icon { width: 20px; height: 20px; color: var(--yellow); }
#main .pg-check > p { color: #c3c9c4; font-size: 13.5px; line-height: 1.55; margin: 0 0 12px; }
#main .pg-check-form { display: flex; gap: 8px; margin: 0; padding: 5px; border-radius: 14px; background: #fff; }
#main .pg-check-form input { flex: 1; min-width: 0; width: auto; min-height: 48px; border: 0; padding: 8px 14px; font-size: 18px; font-weight: 800; letter-spacing: .12em; background: transparent; color: var(--ink); }
#main .pg-check-form input:focus { outline: none; box-shadow: none; }
#main .pg-check-form:focus-within { box-shadow: 0 0 0 3px rgba(246,191,20,.55); }
#main .pg-check-form .button { min-height: 48px; border-radius: 10px; padding-inline: 20px; }
#main .pg-check-status:empty { display: none; }
#main .pg-check-status { margin: 12px 0 0; padding: 10px 13px; border-radius: 11px; background: rgba(246,191,20,.14); color: #fff3cc; font-size: 13.5px; line-height: 1.5; }

#main .pg-section-title { font-size: clamp(24px, 2.4vw, 31px); letter-spacing: -.035em; margin: 0 0 18px; }

/* --- Delivery: the two ways --------------------------------------------- */
#main .dl-options { margin-bottom: 40px; }
#main .dl-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
#main .dl-option {
  position: relative; overflow: hidden; padding: 28px 30px 26px; background: #fff; border: 1px solid #ecebe5; border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 2px rgba(23,27,25,.05), 0 8px 16px -8px rgba(23,27,25,.12), 0 28px 48px -34px rgba(23,27,25,.45);
}
#main .dl-option::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--yellow), var(--yellow-hover)); }
#main .dl-option h3 { font-size: 22px; letter-spacing: -.03em; margin: 16px 0 10px; }
#main .dl-option p { font-size: 15px; line-height: 1.7; color: #454d48; margin: 0 0 12px; }
#main .dl-option-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(145deg, #ffd75a, #e5ad03); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,0,0,.14), 0 12px 20px -10px rgba(229,173,3,.85); }
#main .dl-option-icon .icon { width: 26px; height: 26px; }
#main .dl-option-icon.is-ink { background: linear-gradient(145deg, #454e48, #171b19); color: var(--yellow); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 12px 20px -10px rgba(23,27,25,.7); }
#main .dl-address { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fbfaf7; border: 1px solid #f0eee7; }
#main .dl-address .icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; color: #8a6b00; }
#main .dl-note { display: flex; gap: 10px; padding: 13px 15px; border-radius: 12px; background: #fbfaf7; border: 1px solid #f0eee7; border-left: 3px solid var(--yellow); font-size: 14px !important; }
#main .dl-note .icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; color: #8a6b00; }
#main .dl-zones { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#main .dl-zones li { padding: 10px 13px; border-radius: 11px; background: #fbfaf7; font-size: 14px; }
#main .dl-zones small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* --- Numbered steps (both pages) ------------------------------------------ */
#main .pg-steps-band { margin-bottom: 40px; padding: 30px 30px 32px; border-radius: 22px; background: linear-gradient(135deg, #fbfaf6 0%, var(--paper) 100%); border: 1px solid #efece4; }
#main .pg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#main .pg-step { position: relative; padding: 22px 22px 20px; border-radius: 16px; background: #fff; border: 1px solid #ecebe5;
  box-shadow: 0 1px 2px rgba(23,27,25,.04), 0 16px 30px -24px rgba(23,27,25,.45); }
#main .pg-step h3 { font-size: 17px; letter-spacing: -.02em; margin: 14px 0 6px; }
#main .pg-step p { font-size: 14.5px; line-height: 1.6; color: #4c5450; margin: 0; }
#main .pg-step-no { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink); color: var(--yellow); font-size: 17px; font-weight: 900; box-shadow: 0 8px 14px -8px rgba(23,27,25,.7); }

/* --- Special handling and who to ask -------------------------------------- */
#main .dl-pair { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; }
#main .dl-special { display: flex; gap: 18px; align-items: flex-start; padding: 28px 30px; border-radius: 20px; background: #fff; border: 1px solid #ecebe5;
  box-shadow: 0 1px 2px rgba(23,27,25,.04), 0 22px 40px -32px rgba(23,27,25,.5); }
#main .dl-special .dl-option-icon { flex-shrink: 0; }
#main .dl-special h2, #main .dl-ask h2 { font-size: 21px; letter-spacing: -.03em; margin: 0 0 8px; }
#main .dl-special p { font-size: 15px; line-height: 1.7; color: #454d48; margin: 0; }
#main .dl-ask { position: relative; overflow: hidden; padding: 28px 30px; border-radius: 20px; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, #2a302d 0%, var(--ink) 60%); box-shadow: 0 2px 4px rgba(23,27,25,.2), 0 24px 44px -30px rgba(23,27,25,.8); }
#main .dl-ask::after { content: ""; position: absolute; top: -20px; right: 46px; width: 12px; height: 120px; background: linear-gradient(180deg, var(--yellow), var(--yellow-hover)); transform: skew(-22deg); opacity: .85; }
#main .dl-ask h2 { color: #fff; }
#main .dl-ask p { color: #cfd3d0; font-size: 15px; line-height: 1.65; margin: 0 0 18px; max-width: 460px; }
#main .dl-ask-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#main .dl-pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px 10px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); overflow-wrap: anywhere; }
#main .dl-pill .icon { width: 17px; height: 17px; color: var(--yellow); flex-shrink: 0; }
#main .dl-pill:hover { background: rgba(255,255,255,.15); border-color: rgba(246,191,20,.55); }
#main .dl-ask-button { min-height: 46px; border-radius: 12px; }
#main .dl-ask-button .icon { width: 16px; height: 16px; }
#main .dl-staff-note { margin-top: 28px; }

/* --- Quote: the banner explains the three steps --------------------------- */
#main .qt-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: center; }
#main .qt-hero::before { background: radial-gradient(70% 120% at 100% 0%, #2f3833 0%, rgba(23,27,25,0) 60%), radial-gradient(60% 90% at 0% 100%, rgba(246,191,20,.12) 0%, rgba(246,191,20,0) 70%); }
#main .qt-hero::after { left: auto; right: 455px; }
#main .qt-hero-steps { position: relative; padding: 22px 22px 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
#main .qt-hero-steps h2 { color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
#main .qt-hero-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
#main .qt-hero-steps li { display: flex; gap: 13px; align-items: flex-start; }
#main .qt-hero-steps .pg-step-no { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, #ffd75a, #e5ad03); color: var(--ink); font-size: 15px; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 14px -8px rgba(229,173,3,.8); }
#main .qt-hero-steps li span:last-child { font-size: 13.5px; line-height: 1.5; color: #c3c9c4; }
#main .qt-hero-steps strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
#main .qt-facts { display: flex; flex-wrap: wrap; margin: 22px 0 0; padding: 0; }
#main .qt-facts > div { display: flex; flex-direction: column; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.16); }
#main .qt-facts > div:first-child { padding-left: 0; border-left: 0; }
#main .qt-facts dd { order: 1; margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--yellow); }
#main .qt-facts > div + div dd { color: #fff; }
#main .qt-facts dt { order: 2; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fa6a1; }

/* --- Quote: empty ---------------------------------------------------------- */
#main .qt-empty { text-align: center; padding: 54px 28px 50px; border-radius: 22px; background: radial-gradient(90% 120% at 50% 0%, #fbfaf6 0%, #fff 70%); border: 1px solid #ecebe5;
  box-shadow: 0 1px 2px rgba(23,27,25,.04), 0 24px 44px -34px rgba(23,27,25,.5); }
#main .qt-empty-icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; margin-bottom: 16px;
  background: linear-gradient(145deg, #ffd75a, #e5ad03); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,0,0,.14), 0 14px 24px -12px rgba(229,173,3,.85); }
#main .qt-empty-icon .icon { width: 32px; height: 32px; }
#main .qt-empty h2 { font-size: 26px; letter-spacing: -.03em; margin: 0 0 8px; }
#main .qt-empty p { color: #4c5450; font-size: 15.5px; margin: 0 auto 22px; max-width: 460px; }
#main .qt-empty-button { min-height: 52px; border-radius: 12px; padding-inline: 26px; box-shadow: 0 14px 24px -16px rgba(180,132,0,.95); }
#main .qt-empty-button .icon { width: 17px; height: 17px; }
#main .qt-empty-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }

/* --- Quote: the list and the request -------------------------------------- */
#main .qt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 26px; align-items: start; }
#main .qt-lines { padding: 24px 26px 10px; border-radius: 20px; background: #fff; border: 1px solid #ecebe5;
  box-shadow: 0 1px 2px rgba(23,27,25,.04), 0 22px 40px -32px rgba(23,27,25,.5); }
#main .qt-lines-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 6px; }
#main .qt-lines-head h2 { font-size: 21px; letter-spacing: -.03em; margin: 0; }
#main .qt-line { grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; padding: 16px 0; border-bottom: 1px solid #f0eee7; }
#main .qt-line:last-child { border-bottom: 0; }
#main .qt-line .thumb { width: 92px; height: 92px; padding: 0; border-radius: 14px; border-color: #ecebe5; background: #f7f6f2; display: block; }
#main .qt-line .thumb .photo { width: 100%; height: 100%; object-fit: contain; background: transparent; }
#main .qt-line h3 { font-size: 16px; line-height: 1.3; margin-bottom: 6px; }
#main .qt-line h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
#main .qt-line .meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
#main .qt-tag { padding: 2px 9px; border-radius: 999px; background: #fff4cc; color: #6b5200; font-weight: 700; font-size: 12px; }
#main .qt-sku { padding: 2px 9px; border-radius: 999px; background: var(--paper); font-size: 12px; }
#main .qt-breakdown { font-size: 13px; color: #59615c; margin: 0; }
#main .qt-line-side { text-align: right; }
#main .qt-line .line-total { font-size: 19px; letter-spacing: -.02em; }

#main .qt-summary { padding: 0; overflow: hidden; border: 1px solid #ecebe5; border-radius: 20px; background: #fff;
  box-shadow: 0 2px 4px rgba(23,27,25,.04), 0 34px 60px -40px rgba(23,27,25,.6); }
#main .qt-summary-top { padding: 22px 24px 18px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #2c3530 0%, var(--ink) 60%); }
#main .qt-summary-top h2 { color: #fff; font-size: 19px; margin-bottom: 12px; }
#main .qt-summary-top .calc-row { color: #c3c9c4; }
#main .qt-summary-top .calc-row span:last-child { color: #fff; }
#main .qt-summary-top .calc-total { border-top-color: rgba(255,255,255,.14); color: #fff; }
#main .qt-summary-top .calc-total strong { color: var(--yellow); }
#main .qt-summary-top .calc-note { color: #aeb5af; }
#main .qt-summary .enquiry-form { padding: 8px 24px 0; }
#main .qt-summary .form-field input, #main .qt-summary .form-field textarea { border-radius: 11px; min-height: 46px; }
#main .qt-submit { min-height: 54px; border-radius: 12px; font-size: 16px; box-shadow: 0 14px 24px -16px rgba(180,132,0,.95); }
#main .qt-submit .icon { width: 17px; height: 17px; }
#main .qt-after { padding: 0 24px 22px; margin-top: 12px; }

/* --- Narrower screens ----------------------------------------------------- */
@media (max-width: 1100px) {
  #main .qt-hero { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  #main .qt-hero::after { display: none; }
  #main .qt-layout { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 900px) {
  #main .qt-layout, #main .dl-pair { grid-template-columns: minmax(0, 1fr); }
  #main .qt-summary { position: static; }
}
@media (max-width: 860px) {
  #main .pg-hero { padding: 190px 26px 30px; }
  #main .qt-hero { padding-top: 34px; }
  #main .pg-hero-photo { width: 100%; height: 230px; }
  #main .pg-hero::before { background: linear-gradient(180deg, rgba(23,27,25,.1) 0px, rgba(23,27,25,.65) 150px, var(--ink) 230px, var(--ink) 100%); }
  #main .qt-hero::before { background: radial-gradient(60% 90% at 0% 100%, rgba(246,191,20,.12) 0%, rgba(246,191,20,0) 70%); }
  #main .pg-hero::after { display: none; }
  #main .dl-option-grid, #main .pg-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  #main .pg-hero { padding: 170px 18px 22px; border-radius: 18px; margin-bottom: 30px; }
  #main .qt-hero { padding-top: 28px; }
  #main .pg-hero-photo { height: 200px; }
  #main .pg-check { padding: 16px 14px 14px; }
  #main .pg-check-form { flex-wrap: wrap; }
  #main .pg-check-form .button { flex: 1 1 100%; }
  #main .dl-option, #main .dl-special, #main .dl-ask, #main .qt-lines { padding: 22px 18px; border-radius: 16px; }
  #main .dl-special { flex-direction: column; }
  #main .pg-steps-band { padding: 22px 16px; border-radius: 18px; }
  #main .qt-line { grid-template-columns: 72px minmax(0, 1fr); }
  #main .qt-line .thumb { width: 72px; height: 72px; }
  #main .qt-line-side { grid-column: 2; display: flex; justify-content: space-between; align-items: center; text-align: left; }
  #main .qt-summary-top, #main .qt-summary .enquiry-form { padding-inline: 18px; }
  #main .qt-after { padding: 0 18px 18px; }
}
