/* Dom Panino – extras: sticky header, mobile order bar, button press, interactive delivery map.
   Source: Dom Panino/code/dp-extra.css → wp-content/uploads/dom-panino/dp-extra.css (enqueued by snippet #202). */

/* ---------- header: "Start my order" CTA, sticky from 768px ---------- */
.dp-header [data-dp-cta] { padding: 14px 28px; }
@media (min-width: 768px) { body:not(.dp-in-funnel) .dp-header .dp-call { display: none; } }
body.dp-in-funnel .dp-header [data-dp-cta] { display: none; }
@media (min-width: 768px) {
  :root { --dp-hh: 93px; }
  body .dp-header { position: sticky; top: 0; z-index: 100; }
  body.admin-bar .dp-header { top: 32px; }
  /* things that already stick below the header */
  body .dp-step1__map, body .dp-summary--live, body .dp-checkout__side { top: calc(var(--dp-hh) + 24px); }
  body .dp-faq-sec__intro { top: calc(var(--dp-hh) + 32px); }
}
@media (max-width: 767px) {
  body:not(.dp-in-funnel) .dp-header [data-dp-cta] { display: none; }
  /* mobile order bar: every page except the order funnel; slides in once the hero (or, without one, the header) has scrolled away (dp.js) */
  body .dp-sticky-cta { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
  body .dp-sticky-cta.is-on { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
  body.dp-in-funnel .dp-sticky-cta { display: none; }
  body:not(.dp-in-funnel) { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- buttons: press-in hover (animation file) ---------- */
.dp-btn.dp-btn--pink:hover, .dp-btn.dp-btn--white:hover, .dp-sticky-cta__call:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #1c1c1c; }
.dp-btn.dp-btn--ink:hover { transform: none; opacity: .9; }

/* ---------- interactive delivery map (desktop/tablet) ---------- */
.dp-zone__map { position: relative; }
.dp-zone__map.dp-map-ready { aspect-ratio: 540 / 625; }
.dp-zone__map.dp-map-ready > .dp-zone__map-img { display: none; }
.dp-map { position: absolute; left: 0; top: 0; width: 540px; height: 625px; transform-origin: 0 0; transform: scale(var(--dp-k, 1)); overflow: hidden; background: #2e2b2b; line-height: normal; }
.dp-map .mbase { position: absolute; left: 0; top: 0; width: 540px; height: 668px; max-width: none; }
.dp-map .mov { position: absolute; inset: 0; overflow: visible; }
.dp-map .grow { transform-box: view-box; transform-origin: 270px 310px; }
.dp-map .ring { fill: none; stroke: var(--dp-muted-dark); stroke-width: 1; opacity: .4; }
.dp-map .rfill { fill: var(--dp-pink); opacity: .12; }
.dp-map .r10 { fill: none; stroke: var(--dp-pink); stroke-width: 2.5; stroke-dasharray: 8 8; }
.dp-map .route { stroke: var(--dp-pink); stroke-width: 2; stroke-dasharray: 4 6; opacity: .9; stroke-linecap: butt; transition: opacity .25s, stroke-width .25s; }
.dp-map .dot { fill: #fff; stroke: var(--dp-pink); stroke-width: 3; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .35s cubic-bezier(.34,1.56,.64,1); pointer-events: all; cursor: pointer; }
.dp-map .kitchen { fill: var(--dp-pink); stroke: #fff; stroke-width: 4; }
.dp-map .courier { fill: var(--dp-pink); stroke: var(--dp-ink); stroke-width: 2; opacity: 0; }
.dp-map .mpill { position: absolute; height: 30px; padding: 5px 12px; margin: 0; border-radius: 999px; background: #fff; border: 0; font-family: var(--dp-font-body), sans-serif; font-weight: 700; font-size: 14px; line-height: 20px; white-space: nowrap; text-align: center; color: var(--dp-ink); cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease, background .2s, box-shadow .2s; box-sizing: border-box; }
.dp-map .mpill.home { height: 34px; background: var(--dp-pink); border: 2px solid var(--dp-ink); cursor: default; padding: 5px 10px; }
.dp-map .rlabel { position: absolute; font-family: var(--dp-font-body), sans-serif; font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--dp-pink); opacity: 0; transition: opacity .5s; }
.dp-map.in .mpill, .dp-map.in .rlabel { opacity: 1; transform: none; }
.dp-map.in .dot { transform: scale(1); }
.dp-map.in .grow { animation: dpGrow .9s cubic-bezier(.22,1,.36,1) both; }
.dp-map.in .route { animation: dpFlow 1.1s linear infinite; }
.dp-map.in .kitchen { animation: dpBeat 3.2s ease-in-out 1.8s infinite; transform-box: fill-box; transform-origin: center; }
.dp-map:not(.in) .grow { transform: scale(0); }
/* hover / focus a suburb: highlight its route, dot and label */
.dp-map.focus .route { opacity: .25; }
.dp-map.focus .route.hl { opacity: 1; stroke-dasharray: none; stroke-width: 3; animation: none; }
.dp-map .dot.hl { transform: scale(1.5); }
.dp-map .mpill.hl { background: var(--dp-pink); box-shadow: 0 0 0 2px var(--dp-ink); }
.dp-map .mpill:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--dp-pink); }
@keyframes dpGrow { from { transform: scale(0); opacity: 0; } to { transform: scale(1); } }
@keyframes dpFlow { to { stroke-dashoffset: -10; } }
@keyframes dpBeat { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.18); } 16% { transform: scale(1); } }

/* ---------- order step 1: animated map + shop photo, form and card fit one screen (Figma update) ---------- */
.dp-step1__mapbox { position: relative; overflow: hidden; }
.dp-step1__mapbox.dp-map-ready > .dp-map-img { display: none; }
.dp-step1__photo { display: block; width: 100%; height: auto; }
@media (min-width: 1024px) {
  body .dp-funnel-sec:has(.dp-step1) { padding-top: 20px; padding-bottom: 40px; }
  body .dp-step1 { align-items: stretch; }
  body .dp-step1 .dp-funnel__head { margin-top: 12px; margin-bottom: 16px; gap: 8px; }
  body .dp-step1 .dp-funnel__title { font-size: 38px; line-height: 44px; }
  body .dp-step1 .dp-funnel__lead { font-size: 17px; line-height: 26px; }
  body .dp-step1 .dp-details { padding: 22px 28px; gap: 8px; }
  body .dp-step1 .dp-input { height: 48px; min-height: 48px; }
  body .dp-step1 .dp-toggle__opt { padding-top: 10px; padding-bottom: 10px; }
  body .dp-step1 .dp-result { padding-top: 10px; padding-bottom: 10px; }
  body .dp-step1__map { display: flex; flex-direction: column; gap: 13px; padding-bottom: 13px; background: #2e2b2b; align-self: stretch; height: auto; max-height: none; }
  body .dp-step1__mapbox { flex: 1 1 auto; min-height: 240px; }
  body .dp-step1__mapbox > .dp-map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
  body .dp-step1__photo { flex: 0 0 auto; width: calc(100% - 26px); margin: 0 13px; height: clamp(170px, 27vh, 300px); object-fit: cover; object-position: 50% 45%; border-radius: 16px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  body .dp-funnel-sec:has(.dp-step1) { padding-top: 12px; }
  body .dp-step1 .dp-funnel__head { margin-top: 8px; margin-bottom: 14px; gap: 6px; }
  body .dp-step1 .dp-row .dp-help { display: none; } /* rules still show as error messages when broken */
  body .dp-step1 .dp-funnel__title { font-size: 34px; line-height: 40px; }
  body .dp-step1 .dp-funnel__lead { font-size: 16px; line-height: 24px; }
  body .dp-step1 .dp-details { padding: 20px 24px; gap: 8px; }
  body .dp-step1 .dp-input { height: 44px; min-height: 44px; }
  body .dp-step1 .dp-help { font-size: 13px; line-height: 18px; }
  body .dp-step1 .dp-details > .dp-field:last-of-type .dp-help { display: none; }
}

/* ---------- hero strip: show each plate whole (cover cropped the widest plate, hero-5) ---------- */
body .dp-hero-strip__img { object-fit: contain; object-position: 50% 100%; }

/* ---------- mobile delivery map (Figma mobile frame: fewer suburbs, readable labels) ---------- */
.dp-zone__map-m { position: relative; }
.dp-zone__map-m.dp-map-ready { aspect-ratio: 540 / 625; }
.dp-zone__map-m.dp-map-ready > .dp-zone__map-img { display: none; }
.dp-map-labels { position: absolute; inset: 0; pointer-events: none; }
.dp-map-labels .mpill { position: absolute; pointer-events: auto; height: 27px; padding: 4px 10px; margin: 0; border: 0; border-radius: 999px; background: #fff; font-family: var(--dp-font-body), sans-serif; font-weight: 700; font-size: 13px; line-height: 19px; white-space: nowrap; color: var(--dp-ink); cursor: pointer; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease, background .2s, box-shadow .2s; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.dp-map-labels .mpill.home { height: 30px; padding: 3px 11px; background: var(--dp-pink); border: 2px solid var(--dp-ink); cursor: default; }
.dp-map-labels .rlabel { position: absolute; font-family: var(--dp-font-body), sans-serif; font-weight: 700; font-size: 10px; line-height: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dp-pink); opacity: 0; transition: opacity .5s; }
.dp-map-labels.in .mpill, .dp-map-labels.in .rlabel { opacity: 1; transform: none; }
.dp-map-labels .mpill.hl { background: var(--dp-pink); box-shadow: 0 0 0 2px var(--dp-ink); }
.dp-map-labels .mpill:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--dp-pink); }

/* ---------- mobile trust cards: same height (looks more consistent than the Figma auto heights) ---------- */
@media (max-width: 767px) {
  body .dp-trust__items { grid-auto-rows: 1fr; align-items: stretch; }
  body .dp-trust__item { height: 100%; box-sizing: border-box; }
}

/* ---------- checkout states: "Checking address" box is white (Figma Checkout States) ---------- */
body .dp-result--checking { background-color: #fff; }

/* ---------- step 2: per-item minimum tag (sweets: min 10) ---------- */
.dp-row-item__min { display: inline-flex; align-items: center; margin-left: 8px; padding: 1px 8px; border: 1.5px solid var(--dp-ink); border-radius: 999px; font-family: var(--dp-font-body), sans-serif; font-weight: 700; font-size: 12px; line-height: 16px; color: var(--dp-ink); white-space: nowrap; }

/* ---------- fixes 2026-11-16 ---------- */
/* order step 1: fields have a fixed height on desktop, so drop the vertical padding (the time dropdown text was clipped) */
@media (min-width: 1024px) {
  body .dp-step1 .dp-input { padding-top: 0; padding-bottom: 0; }
}
/* checkout: name field fills its column (a Breakdance rule set it to 50% by ID) */
body .dp-checkout #billing_first_name_field, body .dp-checkout #billing_last_name_field { width: 100% !important; }
/* checkout: payment column fills the main column (it was shrinking to its content and squeezing the pay button) */
body .dp-checkout .bde-order-review-column { width: 100% !important; max-width: none !important; flex: 1 1 auto !important; align-self: stretch !important; }

/* checkout: Stripe's hidden style-probe input (it copies our input styles) was 621px wide and caused sideways scroll */
#wc-stripe-hidden-style-input { width: 1px !important; max-width: 1px !important; }

/* thank-you photo on mobile (Figma Thank You Mobile, updated by Daryl 15 Nov): shown above the heading, 240px tall, cropped from about 39% down */
@media (max-width: 767px) {
  body .dp-thanks__media { display: block !important; order: -1; height: 240px; }
  body .dp-thanks__img { object-position: 50% 39%; }
}

/* ---------- bug fixes from the Figma check (2026-11-16) ---------- */
@media (max-width: 767px) {
  /* final CTA card: photo on top (Figma mobile), button text fits (no arrow, as in Figma), stars no longer 78px tall */
  body .dp-final__media { order: -1; }
  body .dp-final__fade { display: block !important; position: relative; height: 224px; border-radius: 24px; overflow: hidden; }
  body .dp-final .dp-btn .dp-ico { display: none; }
  body .dp-final .dp-btn { padding-left: 12px; padding-right: 12px; }
  body .dp-final .dp-stars { height: 14px; }
  body .dp-final .dp-stars svg { height: 14px; }
  /* benefits: the wide card used an 8px icon gap, the others 16px */
  body .dp-benefit--wide .dp-benefit__head { gap: 16px; }
}
/* checkout: no Apple Pay / Google Pay on this device - hide Stripe's "OR" divider and empty space (Figma state) */
body.dp-no-express #wc-stripe-express-checkout-button-separator { display: none !important; }
body.dp-no-express #wc-stripe-express-checkout-element { height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden; }
/* dp-stars flex basis: '0 0 78px' became the HEIGHT when a rating stacks in a column (mobile final card had 78px-tall stars) */
body .dp-stars { flex: 0 0 auto; }

/* ---------- checkout: card fields sit inside the details card, full width (Figma step 3) ----------
   Stripe's fields are iframes and must not be moved in the DOM, so the details card and the payment list are styled as one card. */
body .dp-checkout #customer_details { border-bottom-width: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 20px; box-shadow: 4px 0 0 #1c1c1c; }
body .dp-checkout .bde-order-review-column { margin-top: -17px; } /* 1px overlap: no hairline between the two halves */
body .dp-checkout #payment { box-shadow: none; background: transparent; } /* Breakdance's faint shadow drew a line where the two halves join */
body .dp-checkout #payment ul.payment_methods { border-top-width: 0; border-top-left-radius: 0; border-top-right-radius: 0; padding: 0 32px 32px; margin: 0 0 24px; box-shadow: 4px 0 0 #1c1c1c, 4px 4px 0 #1c1c1c; }
body .dp-checkout #payment li.payment_method_stripe > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body .dp-checkout #payment .payment_box.payment_method_stripe { margin: 0; background: #fff; border: 1.5px solid #1c1c1c; border-radius: 16px; padding: 16px; } /* Figma card box (Stripe uses the tabs layout, so it draws no panel of its own) */
body .dp-checkout #payment .payment_box.payment_method_stripe::before { display: none; }
body .dp-checkout #wc-stripe-upe-form, body .dp-checkout #wc-stripe-upe-form .wc-stripe-upe-element { width: 100% !important; max-width: none !important; min-width: 0; }
@media (max-width: 767px) { /* payment half matches the details card padding on mobile (20px) */
  body .dp-checkout #payment ul.payment_methods { padding: 0 20px 20px; }
  body .dp-checkout #customer_details { padding-bottom: 16px; }
}

/* ---------- step 2: $200 minimum shown as progress, Continue greyed out until reached (2026-11-16) ---------- */
.dp-progress { margin-top: 14px; }
.dp-progress[hidden], [data-dp-minline][hidden] { display: none !important; }
.dp-progress__track { height: 10px; border: 1.5px solid #1c1c1c; border-radius: 999px; background: #fff; overflow: hidden; }
.dp-progress__fill { display: block; height: 100%; width: 0; background: var(--dp-pink); transition: width .35s ease; }
.dp-progress__text { margin: 8px 0 0; font-family: var(--dp-font-body), sans-serif; font-size: 14px; line-height: 20px; color: var(--dp-ink); }
.dp-progress__text strong { font-weight: 700; }
.dp-progress.is-done .dp-progress__fill { background: var(--dp-ink); }
body [data-dp-continue].is-disabled, body [data-dp-continue].is-disabled:hover { background: #e7ddd4; color: #8a817c; border-color: #bdb3ae; box-shadow: none; transform: none; cursor: not-allowed; }
body [data-dp-continue].is-disabled .dp-ico { opacity: .5; }
/* phone bar: the pill fills up as the order grows */
.dp-orderbar { overflow: hidden; }
.dp-orderbar__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--dp-pink); opacity: .55; transition: width .35s ease; pointer-events: none; z-index: 0; }
.dp-orderbar:not(.is-short) .dp-orderbar__fill { display: none; }
.dp-orderbar__count, .dp-orderbar__action { position: relative; z-index: 1; }
body .dp-orderbar.is-short .dp-orderbar__action { cursor: default; text-decoration: none; }
/* phone bar: "$X to go" is info, not a button */
body .dp-orderbar .dp-orderbar__action.is-disabled, body .dp-orderbar .dp-orderbar__action.is-disabled:hover { background: transparent; border-color: transparent; color: var(--dp-ink); font-weight: 700; }

/* ---------- step 2: grouped order summary, - / + per line, "N added" on menu cards, phone order panel (2026-11-16) ---------- */
.dp-sgroup + .dp-sgroup { margin-top: 16px; }
.dp-sgroup__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 6px; font-family: var(--dp-font-body), sans-serif; font-weight: 700; font-size: 13px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--dp-ink); }
.dp-sgroup__head strong { font-size: 15px; letter-spacing: 0; }
.dp-sline { display: flex; align-items: center; gap: 10px; padding: 5px 0 5px 10px; font-family: var(--dp-font-body), sans-serif; color: var(--dp-ink); }
.dp-sline__name { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 20px; }
.dp-sline__step { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.dp-sline__btn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 1.5px solid var(--dp-ink); border-radius: 999px; background: #fff; color: var(--dp-ink); cursor: pointer; }
.dp-sline__btn--plus { background: var(--dp-pink); }
.dp-sline__btn svg { width: 14px; height: 14px; }
.dp-sline__btn:focus-visible { outline: 2px solid var(--dp-ink); outline-offset: 2px; }
.dp-sline__qty { min-width: 20px; text-align: center; font-weight: 700; font-size: 14px; }
.dp-sline__total { flex: 0 0 auto; min-width: 46px; text-align: right; font-size: 15px; font-weight: 700; }
/* closed menu cards: what's in them */
.dp-band__count { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 10px; border: 2px solid var(--dp-ink); border-radius: 999px; background: var(--dp-pink); font-family: var(--dp-font-body), sans-serif; font-weight: 700; font-size: 13px; line-height: 18px; letter-spacing: 0; text-transform: none; vertical-align: middle; white-space: nowrap; }
.dp-band__count[hidden] { display: none; }
.dp-omenu__group.has-items .dp-band { background-color: var(--dp-pink-light); }
/* the order panel close button only shows on phones */
.dp-summary__close { display: none; }
.dp-sheet-backdrop { display: none; }
@media (max-width: 1023px) {
  /* bottom bar: left half opens the order, right half continues */
  body .dp-orderbar__count { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
  body .dp-orderbar__count::after { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: translateY(2px) rotate(45deg); }
  body .dp-orderbar__action { border-left: 1.5px solid rgba(28,28,28,.35); padding-left: 14px; }
  /* the summary becomes a panel that slides up from the bottom */
  body .dp-summary--live { display: block !important; position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 120; max-height: 85vh; overflow-y: auto; margin: 0; border-radius: 24px 24px 0 0; border-bottom: 0; box-shadow: 0 -4px 0 #1c1c1c; transform: translateY(105%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  body .dp-summary--live.is-sheet-open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
  body .dp-summary__close { display: inline-flex; align-items: center; justify-content: center; position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; padding: 0; border: 1.5px solid var(--dp-ink); border-radius: 999px; background: #fff; color: var(--dp-ink); cursor: pointer; }
  body .dp-summary__close svg { width: 18px; height: 18px; }
  body .dp-sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(28,28,28,.45); }
  body .dp-sheet-backdrop[hidden] { display: none; }
  body.dp-sheet-open { overflow: hidden; }
}
/* date box: the whole box opens the picker */
.dp-step1 #dp-date { cursor: pointer; }

/* ---------- step 2 (Your lunch): tighter top, smaller heading, one-row sample lunch box (2026-11-16) ---------- */
body .dp-funnel-sec:has(.dp-step2) { padding-top: 32px; }
body .dp-step2 .dp-funnel__head { margin-top: 16px; gap: 10px; }
body .dp-step2 .dp-funnel__title { font-size: 36px; line-height: 42px; }
@media (min-width: 768px) {
  body .dp-step2 .dp-sample { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; }
  body .dp-step2 .dp-sample__text { flex-direction: column; align-items: flex-start; gap: 2px; margin: 0; }
  body .dp-step2 .dp-sample .dp-btn { flex: 0 0 auto; padding: 14px 22px; }
}
@media (max-width: 767px) {
  body .dp-funnel-sec:has(.dp-step2) { padding-top: 12px; }
  body .dp-step2 .dp-funnel__head { margin-top: 12px; }
  body .dp-step2 .dp-funnel__title { font-size: 28px; line-height: 34px; }
}
/* sample box stays one row on narrower desktops/tablets: text wraps, button says ADD THIS LUNCH */
@media (min-width: 768px) {
  body .dp-step2 .dp-sample { flex-wrap: nowrap; }
  body .dp-step2 .dp-sample__text { flex: 1 1 0; min-width: 0; }
}
@media (min-width: 768px) and (max-width: 1299px) {
  body .dp-step2 .dp-sample__more { display: none; }
  body .dp-step2 .dp-sample .dp-btn { padding: 12px 18px; font-size: 14px; }
}
/* sample button: normal word space between ADD THIS LUNCH and TO MY ORDER (the span is its own flex item) */
body .dp-sample .dp-btn { gap: 0; }
body .dp-sample__more { margin-left: .32em; }

/* ---------- step 2: item details pop-up (the main-page menu card, bigger) + (i) on each row (2026-11-16) ---------- */
.dp-row-item__img[data-dp-iopen], .dp-row-item__nametext { cursor: pointer; }
.dp-row-item__info { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: 6px; padding: 0; border: 0; background: none; color: inherit; vertical-align: -4px; cursor: pointer; border-radius: 999px; }
.dp-row-item__info svg { width: 18px; height: 18px; }
.dp-row-item__info:focus-visible { outline: 2px solid var(--dp-ink); outline-offset: 2px; }
.dp-funnel__hint { margin: 0; font-family: var(--dp-font-body), sans-serif; font-size: 14px; line-height: 20px; color: var(--dp-muted); }
.dp-imodal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.dp-imodal[hidden] { display: none; }
.dp-imodal__backdrop { position: absolute; inset: 0; background: rgba(28,28,28,.5); opacity: 0; transition: opacity .2s ease; }
.dp-imodal.is-open .dp-imodal__backdrop { opacity: 1; }
.dp-imodal__panel { position: relative; display: flex; flex-direction: column; width: min(480px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 2px solid var(--dp-ink); border-radius: 24px; box-shadow: var(--dp-shadow); opacity: 0; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
.dp-imodal.is-open .dp-imodal__panel { opacity: 1; transform: none; }
.dp-imodal__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 2px solid var(--dp-ink); border-radius: 999px; background: #fff; color: var(--dp-ink); cursor: pointer; }
.dp-imodal__close svg { width: 18px; height: 18px; }
.dp-imodal .dp-card.dp-card--modal { display: flex; flex-flow: column; gap: 0; padding: 0; border: 0; border-radius: 0; background: #fff; overflow: visible; }
.dp-imodal .dp-card.dp-card--modal:hover { background: #fff; }
.dp-imodal .dp-card--modal .dp-card__img { flex: none; width: 100%; height: 300px; border-radius: 22px 22px 0 0; object-fit: cover; }
.dp-imodal .dp-card--modal .dp-card__body { gap: 10px; padding: 24px 24px 16px; }
.dp-imodal .dp-card--modal .dp-card__title { font-family: var(--dp-font-display), sans-serif; font-weight: 400; font-size: 26px; line-height: 31px; }
.dp-imodal .dp-card--modal .dp-card__desc { font-size: 16px; line-height: 24px; }
.dp-imodal__bar { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding: 14px 24px 20px; background: #fff; border-top: 1.5px solid var(--dp-line); }
.dp-imodal__serving { margin: 0; font-family: var(--dp-font-body), sans-serif; font-size: 14px; line-height: 20px; color: var(--dp-muted); }
.dp-imodal__qty { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dp-imodal__qty[hidden] { display: none; }
.dp-imodal__num { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; font-family: var(--dp-font-body), sans-serif; font-weight: 700; font-size: 18px; }
.dp-imodal__total { font-family: var(--dp-font-display), sans-serif; font-weight: 400; font-size: 22px; color: var(--dp-ink); }
body.dp-imodal-open { overflow: hidden; }
@media (max-width: 767px) {
  .dp-imodal { align-items: flex-end; padding: 0; }
  .dp-imodal__panel { width: 100%; max-height: 90vh; border-bottom: 0; border-radius: 24px 24px 0 0; box-shadow: none; opacity: 1; transform: translateY(100%); transition: transform .25s ease; }
  .dp-imodal__panel::before { content: ""; position: absolute; top: 8px; left: 50%; z-index: 3; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(28,28,28,.25); }
  .dp-imodal .dp-card--modal .dp-card__img { height: 240px; }
  .dp-imodal .dp-card--modal .dp-card__body { gap: 8px; padding: 20px 20px 12px; }
  .dp-imodal .dp-card--modal .dp-card__title { font-family: var(--dp-font-display), sans-serif; font-weight: 400; font-size: 22px; line-height: 27px; }
  .dp-imodal .dp-card--modal .dp-card__desc { font-size: 15px; line-height: 22px; }
  .dp-imodal__bar { padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px)); }
}
/* ---------- checkout: express pay divider (Figma "or pay by card") ---------- */
body #wc-stripe-express-checkout-element { margin-bottom: 0 !important; } /* Stripe adds 12px: keeps the gap above "or pay by card" equal to the gap below */
body #wc-stripe-express-checkout-button-separator { margin: 8px 0 !important; font-family: var(--dp-font-body), sans-serif; font-size: 14px; font-weight: 400; line-height: 20px; color: var(--dp-muted); text-align: center; text-transform: none; letter-spacing: 0; }
/* ---------- checkout: edit delivery details in a modal ---------- */
.dp-emodal .dp-imodal__panel { padding: 28px 24px 24px; }
.dp-emodal__title { margin: 0 52px 16px 0; font-family: var(--dp-font-display), sans-serif; font-weight: 400; font-size: 26px; line-height: 31px; color: var(--dp-ink); }
.pac-container { z-index: 10000 !important; }
@media (max-width: 767px) {
  .dp-emodal .dp-imodal__panel { padding: 30px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .dp-emodal__title { font-size: 22px; line-height: 27px; }
}
/* ---------- step 2: edit delivery details inline in the summary ---------- */
.dp-summary__editbtn { padding: 0; border: 0; background: none; font: inherit; font-family: var(--dp-font-body), sans-serif; font-weight: 700; font-size: 13px; color: var(--dp-ink); text-decoration: underline; cursor: pointer; }
.dp-summary__editform { margin: 4px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--dp-line); }
body .dp-details.dp-details--inline { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; gap: 10px; }
body .dp-details--inline .dp-toggle__opt { padding-top: 8px; padding-bottom: 8px; font-size: 15px; }
body .dp-details--inline .dp-input { height: 44px; min-height: 44px; padding-top: 0; padding-bottom: 0; font-size: 15px; }
body .dp-details--inline .dp-row { gap: 10px; }
body .dp-details--inline .dp-label { font-size: 13px; }
body .dp-details--inline .dp-result { padding: 10px 12px; font-size: 14px; line-height: 20px; }
body .dp-details--inline .dp-result .dp-btn { margin-top: 8px; padding: 10px 18px; font-size: 14px; }
.dp-details__actions { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.dp-details__actions .dp-btn { padding: 12px 32px; }
.dp-details__cancel { padding: 0; border: 0; background: none; font: inherit; font-family: var(--dp-font-body), sans-serif; font-weight: 700; font-size: 15px; color: var(--dp-ink); text-decoration: underline; cursor: pointer; }
.pac-container { z-index: 1000; }
@media (min-width: 1024px) { body .dp-summary--live { max-height: calc(100vh - var(--dp-hh, 93px) - 48px); overflow-y: auto; } }
/* the details block is display:flex, so [hidden] needs help while the Edit form is open */
.dp-summary__details[hidden], .dp-summary__editform[hidden] { display: none !important; }
