/* Loumies service-day entries (PAID release only): the two Home entries, the "Pickup day" line, the calendar of published days and the one-step checkout.
   Approved tokens only (--pink, --yellow, --ink, --cream, --mist, --display). */

/* ---------- Home: Order Now / Order for Later, in the white space beside the headline ---------- */
.svc-entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 16px; max-width: 520px; }
.svc-entry { display: grid; align-content: start; gap: 5px; padding: 14px 14px 14px; border: 1px solid rgba(46, 61, 74, .22); background: var(--cream); }
.svc-kicker { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.svc-entry > strong { font-family: var(--display); font-size: 21px; line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.lh-hero-side .svc-entry p.svc-state { margin: 0; max-width: none; font-size: 13.5px; line-height: 1.35; color: rgba(46, 61, 74, .9); }
.svc-next { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.svc-demo { font-size: 11.5px; line-height: 1.3; color: rgba(46, 61, 74, .75); }
.svc-btn { margin-top: 6px; width: 100%; min-height: 44px; padding: 10px 12px; }
.svc-btn[disabled] { opacity: .5; cursor: not-allowed; }
.svc-btn-alt { background: var(--ink); }

/* ---------- the picked day, carried on the menu, basket and checkout ---------- */
.svc-chip-wrap { max-width: 1380px; margin: 0 auto; padding: 14px clamp(16px, 5vw, 80px) 0; }
.svc-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--mist); border-left: 4px solid var(--pink); }
.svc-chip[data-empty="true"] { border-left-color: var(--yellow); }
.svc-chip-text { display: grid; gap: 1px; min-width: 0; }
.svc-chip-text small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(46, 61, 74, .75); }
.svc-chip-text strong { font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.svc-chip-basket { margin: 0 18px 8px; }

/* ---------- the calendar of published days ---------- */
body.svc-locked { overflow: hidden; }
.svc-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(46, 61, 74, .55); }
.svc-modal-card { width: min(100%, 420px); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--white); padding: 20px 20px 18px; box-shadow: var(--shadow); }
.svc-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.svc-modal-head h2 { margin: 2px 0 0; font-size: 34px; line-height: 1; text-transform: uppercase; }
.svc-modal-note { margin: 10px 0; font-size: 14px; line-height: 1.4; color: rgba(46, 61, 74, .88); }
.svc-month { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; }
.svc-month strong { font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.svc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.svc-dow { text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: rgba(46, 61, 74, .7); padding: 2px 0; }
.svc-cell { aspect-ratio: 1; min-height: 40px; border: 1px solid transparent; background: none; font: inherit; font-size: 15px; color: rgba(46, 61, 74, .35); }
.svc-cell.svc-open { border-color: var(--pink); color: var(--ink); font-weight: 800; background: var(--cream); cursor: pointer; }
.svc-cell.svc-open:hover, .svc-cell.svc-open:focus-visible { background: var(--pink); color: white; outline: 2px solid var(--ink); outline-offset: 1px; }
.svc-cell.svc-picked { background: var(--pink); color: white; }
.svc-cell.svc-off { text-decoration: line-through; text-decoration-thickness: 1px; cursor: not-allowed; }
.svc-blank { border: 0; }
.svc-legend { margin: 12px 0 0; font-size: 12.5px; color: rgba(46, 61, 74, .8); }
.svc-key { display: inline-block; width: 11px; height: 11px; margin: 0 4px 0 8px; vertical-align: -1px; border: 1px solid rgba(46, 61, 74, .35); }
.svc-key.svc-open { border-color: var(--pink); background: var(--cream); }

/* ---------- checkout: Time & details ---------- */
.flow-steps-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-chosen { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--mist); border-left: 4px solid var(--pink); }
.svc-chosen > div { display: grid; gap: 1px; }
.svc-chosen small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(46, 61, 74, .75); }
.svc-chosen strong { font-size: 18px; }
.svc-day-options { display: grid; gap: 8px; }
.svc-day { text-align: left; cursor: pointer; }

@media (max-width: 700px) {
  .svc-entries { grid-template-columns: 1fr; max-width: none; }
  .svc-chip { align-items: flex-start; flex-direction: column; gap: 6px; }
  .flow-steps-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* the window picker sits across the whole form, in lunch and dinner groups */
.checkout-form .schedule-fieldset { grid-column: 1 / -1; min-width: 0; }
.window-group { margin: 0 0 10px; }
.window-group > b { display: block; margin: 8px 0 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(46, 61, 74, .75); }
.window-group .window-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.window-group .window-choice strong { font-family: var(--body); font-size: 16px; text-transform: none; letter-spacing: 0; line-height: 1.2; }
.window-group .window-choice > span { display: grid; gap: 2px; }

/* request states: a request is neither a failure nor a payment */
.state-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; font-size: 30px; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.state-wait { background: var(--yellow); color: var(--ink); }
.state-ok { background: var(--pink); color: white; }
.window-group .window-choice { min-height: 0; padding: 12px; align-items: center; }

/* Home (Oct 30): the two entries sit at the foot of the 'We're back' panel, full width of the panel */
.lh-where-svc { display: block; }
.lh-where-svc .svc-entries { max-width: none; margin: 0; }
.lh-where-svc .svc-entry { background: #fff; }
.lh-where-svc .svc-entry p.svc-state { margin: 0; font-size: 13.5px; line-height: 1.35; }
