/* Customer area (delyvo.nl/app) — builds on /assets/css/style.css tokens. Logical properties only (RTL). */
html[dir="rtl"] body.ap { font-family: 'IBM Plex Sans Arabic', var(--dv-font); }
body.ap { background: var(--dv-bg); }
.ap-headbar { border-bottom: 1px solid var(--dv-line); }
.ap-lang { display: flex; gap: 4px; margin-inline-start: auto; }
.ap-lang a { padding: 6px 8px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--dv-ink-2); }
.ap-lang a.is-on { background: var(--dv-green-light); color: var(--dv-green-dark); }
.dv-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.dv-btn[disabled] { opacity: .5; cursor: not-allowed; }
.ap-main { padding-top: 24px; padding-bottom: 48px; min-height: 70vh; }
.ap-main:focus { outline: none; }
.ap-head { margin: 8px 0 18px; }
.ap-head h1 { font-size: clamp(26px, 4vw, 38px); }
.ap-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.ap-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dv-green); margin-bottom: 6px; }
.ap-h2 { font-size: 22px; margin-bottom: 6px; }
.ap-h3 { font-size: 18px; margin-bottom: 10px; }
.ap-h4 { font-size: 16px; margin: 0 0 8px; }
.ap-muted { color: var(--dv-ink-2); }
.ap-small { font-size: 14px; }
.ap-note { font-size: 13px; color: var(--dv-ink-2); margin-top: 14px; }
.ap-ok { color: var(--dv-green-dark); font-weight: 700; }
.ap-err { color: #B42318; font-weight: 600; }
.ap-danger { color: #B42318 !important; }
.ap-card { background: #fff; border: 1px solid var(--dv-line); border-radius: var(--dv-radius); padding: clamp(16px, 3vw, 26px); margin-bottom: 16px; }
.ap-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.ap-col--side { position: sticky; top: 84px; }
@media (max-width: 900px) { .ap-grid { grid-template-columns: 1fr; } .ap-col--side { position: static; order: -1; } }
.ap-banner { border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; font-weight: 600; font-size: 15px; }
.ap-banner--ok { background: var(--dv-green-light); color: var(--dv-green-dark); }
.ap-banner--info { background: #EEF4FF; color: #1D3A8A; }
.ap-banner--warn { background: #FFF6E5; color: #8A5300; }
.ap-banner--err { background: #FDECEA; color: #8A1C12; }
.ap-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.ap-steps li { flex: 0 0 auto; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--dv-line); color: var(--dv-ink-2); }
.ap-steps li.is-done { color: var(--dv-green-dark); border-color: var(--dv-green-light); background: var(--dv-green-light); }
.ap-steps li.is-on { color: #fff; background: var(--dv-green); border-color: var(--dv-green); }
.ap-form { display: grid; gap: 12px; }
.ap-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.ap-between { justify-content: space-between; align-items: center; }
.ap-grow { flex: 1 1 200px; }
.ap-w { flex: 0 1 110px; }
.ap-w2 { flex: 0 1 150px; }
.ap-field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.ap-field input, .ap-field select { font: inherit; font-weight: 500; font-size: 16px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--dv-line); border-radius: var(--dv-radius-sm); background: #fff; color: var(--dv-ink); width: 100%; }
.ap-field input:focus, .ap-field select:focus { outline: none; border-color: var(--dv-green); box-shadow: 0 0 0 3px var(--dv-green-light); }
.ap-code { letter-spacing: .4em; font-size: 22px !important; text-align: center; }
.ap-sub { border-top: 1px solid var(--dv-line); padding-top: 14px; margin-top: 14px; }
.ap-fs { border: 0; padding: 0; margin: 0 0 18px; }
.ap-fs legend { font-weight: 800; margin-bottom: 10px; padding: 0; }
.ap-choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ap-choices--3 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.ap-choice { position: relative; display: grid; gap: 4px; padding: 14px; border: 1.5px solid var(--dv-line); border-radius: var(--dv-radius-sm); cursor: pointer; background: #fff; }
.ap-choice input { position: absolute; opacity: 0; pointer-events: none; }
.ap-choice.is-on { border-color: var(--dv-green); box-shadow: 0 0 0 3px var(--dv-green-light); }
.ap-choice:focus-within { outline: 3px solid var(--dv-green); outline-offset: 2px; }
.ap-choice.is-off { opacity: .55; cursor: not-allowed; }
.ap-choice-t { font-weight: 800; }
.ap-choice-s { font-size: 13px; color: var(--dv-ink-2); }
.ap-choice-p { font-size: 14px; font-weight: 800; color: var(--dv-green-dark); }
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-chip { position: relative; cursor: pointer; }
.ap-chip input { position: absolute; opacity: 0; }
.ap-chip span { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--dv-line); font-weight: 700; font-size: 14px; background: #fff; }
.ap-chip.is-on span, .ap-chip input:checked + span { background: var(--dv-green); color: #fff; border-color: var(--dv-green); }
.ap-chip input:focus-visible + span { outline: 3px solid var(--dv-green); outline-offset: 2px; }
.ap-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; margin: 10px 0 4px; cursor: pointer; }
.ap-check input { width: 20px; height: 20px; accent-color: var(--dv-green); margin-top: 2px; flex: none; }
.ap-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.ap-dates ul { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ap-dates li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--dv-bg); border: 1px solid var(--dv-line); }
.ap-sum dl, .ap-dl { margin: 0; display: grid; gap: 8px; }
.ap-sum dl > div, .ap-dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.ap-dl > div { border-bottom: 1px dashed var(--dv-line); padding-bottom: 8px; }
.ap-sum dt, .ap-dl dt { color: var(--dv-ink-2); }
.ap-sum dd, .ap-dl dd { margin: 0; font-weight: 700; text-align: end; }
.ap-sum-total { border-top: 1px solid var(--dv-line); padding-top: 10px; font-size: 18px !important; }
.ap-sum-total dd small { font-weight: 500; font-size: 12px; color: var(--dv-ink-2); }
.ap-price { margin: 18px 0; background: var(--dv-bg); border-radius: var(--dv-radius-sm); padding: 14px; display: grid; gap: 6px; }
.ap-price > div { display: flex; justify-content: space-between; gap: 10px; }
.ap-price-total { border-top: 1px solid var(--dv-line); padding-top: 8px; font-weight: 800; font-size: 19px; }
.ap-billing { border: 1.5px solid var(--dv-green-light); border-radius: var(--dv-radius-sm); padding: 14px; margin: 14px 0; }
.ap-day { border-top: 1px solid var(--dv-line); padding-top: 14px; margin-top: 14px; }
.ap-slot { margin-bottom: 10px; }
.ap-slot-h { font-size: 13px; font-weight: 800; color: var(--dv-ink-2); margin-bottom: 6px; }
.ap-mealrow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 200px); gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.ap-mealgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 10px; }
.ap-meal { border: 1.5px solid var(--dv-line); border-radius: var(--dv-radius-sm); overflow: hidden; background: #fff; scroll-snap-align: start; display: flex; flex-direction: column; }
.ap-meal.is-on { border-color: var(--dv-green); box-shadow: 0 0 0 3px var(--dv-green-light); }
.ap-meal.is-off { opacity: .6; }
.ap-meal-img { all: unset; cursor: pointer; display: block; aspect-ratio: 4 / 3; background: var(--dv-bg); }
.ap-meal-img img { width: 100%; height: 100%; object-fit: cover; }
.ap-meal-img:focus-visible { outline: 3px solid var(--dv-green); outline-offset: -3px; }
.ap-meal-b { padding: 10px; display: grid; gap: 6px; flex: 1; align-content: space-between; }
.ap-meal-n { font-weight: 800; font-size: 14px; line-height: 1.25; }
.ap-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.ap-tabs button, .ap-tabs a { font: inherit; font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--dv-line); background: #fff; cursor: pointer; color: var(--dv-ink); }
.ap-tabs .is-on { background: var(--dv-ink); color: #fff; border-color: var(--dv-ink); }
.ap-tabs--nav { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.ap-tabs--nav a { flex: 0 0 auto; }
.ap-login { max-width: 520px; }
.ap-link { all: unset; cursor: pointer; color: var(--dv-green-dark); font-weight: 700; font-size: 14px; }
.ap-link[disabled] { color: var(--dv-ink-2); cursor: default; }
.ap-link:focus-visible { outline: 3px solid var(--dv-green); outline-offset: 2px; border-radius: 4px; }
.ap-sync { display: flex; gap: 14px; align-items: center; }
.ap-badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--dv-bg); border: 1px solid var(--dv-line); white-space: nowrap; }
.ap-badge--active { background: var(--dv-green-light); color: var(--dv-green-dark); border-color: var(--dv-green-light); }
.ap-badge--pending_payment, .ap-badge--payment_failed { background: #FFF6E5; color: #8A5300; border-color: #FFE2B0; }
.ap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ap-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--dv-line); flex-wrap: wrap; }
.ap-dayrow { border-top: 1px solid var(--dv-line); padding: 12px 0; display: grid; gap: 8px; }
.ap-item { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.ap-item-slot { font-size: 13px; color: var(--dv-ink-2); font-weight: 700; }
.ap-item-meal { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.ap-item-meal img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
@media (max-width: 560px) { .ap-item { grid-template-columns: 1fr auto; } .ap-item-slot { grid-column: 1 / -1; } }
.ap-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: end center; }
.ap-modal-scrim { position: absolute; inset: 0; background: rgba(20, 28, 22, .5); }
.ap-modal-box { position: relative; background: #fff; width: min(760px, 100%); max-height: 88vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 18px; }
@media (min-width: 700px) { .ap-modal { place-items: center; } .ap-modal-box { border-radius: 18px; } }
.ap-info { border-top: 1px solid var(--dv-line); margin-top: 14px; padding-top: 14px; display: grid; gap: 6px; }
.ap-wait { margin-top: 16px; border-top: 1px solid var(--dv-line); padding-top: 14px; display: grid; gap: 10px; }
.ap-stripe { margin: 14px 0; min-height: 120px; }
.ap-foot { padding-bottom: 32px; font-size: 14px; color: var(--dv-ink-2); }
.ap-foot a { text-decoration: underline; }

/* ==========================================================================
   Checkout flow (ck-*) — focused, photo-led, one primary action per step.
   Mobile first: sticky action bar in the thumb zone; desktop: content + sticky summary.
   ========================================================================== */
:root { --ck-ring: 0 0 0 3px rgba(79, 158, 116, .22); --ck-shadow: 0 1px 2px rgba(32, 40, 34, .06), 0 8px 24px rgba(32, 40, 34, .06); --ck-r: 18px; }
body.ap-flow { background: #F6F7F3; }
body.ap-flow .ap-foot { padding-bottom: 110px; }
.ap-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ck { padding-bottom: 24px; }
.ck-top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; margin: 4px 0 18px; }
.ck-back { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--dv-ink-2); padding: 8px 10px 8px 4px; border-radius: 10px; }
.ck-back:hover { color: var(--dv-ink); background: #fff; }
.ck-back:focus-visible { outline: 3px solid var(--dv-green); }
html[dir="rtl"] .ck-back svg { transform: scaleX(-1); }
.ck-step { font-size: 13px; font-weight: 800; color: var(--dv-ink-2); text-align: end; letter-spacing: .02em; }
.ck-progress { grid-column: 1 / -1; height: 6px; background: #E6EAE4; border-radius: 99px; overflow: hidden; }
.ck-progress span { display: block; height: 100%; background: linear-gradient(90deg, #6FBF92, var(--dv-green)); border-radius: 99px; transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.ck-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.ck-side { position: sticky; top: 88px; display: grid; gap: 14px; }
@media (max-width: 960px) { .ck-grid { grid-template-columns: 1fr; } .ck-side { position: static; order: 2; } }
.ck-h { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.025em; outline: none; }
.ck-h--xl { font-size: clamp(30px, 5vw, 48px); }
.ck-sub { color: var(--dv-ink-2); font-size: 16px; margin: 8px 0 22px; max-width: 40em; }
.ck-hint { font-size: 13.5px; color: var(--dv-ink-2); margin-top: 8px; }
.ck-center { text-align: center; }
.ck-muted { color: var(--dv-ink-2); font-weight: 500; }
.ck-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--dv-ink-2); margin-top: 22px; }
.ck-note svg { flex: none; margin-top: 2px; }
.ck-full { width: 100%; }
.ck-card { background: #fff; border-radius: var(--ck-r); box-shadow: var(--ck-shadow); padding: clamp(16px, 3vw, 24px); margin-bottom: 14px; }
.ck-card--flush { padding: 4px 0; }
.ck-card-h { font-weight: 800; margin-bottom: 8px; }
.ck-fs { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.ck-fs legend { font-weight: 800; font-size: 17px; margin-bottom: 12px; padding: 0; }
.ck-tick { position: absolute; top: 10px; inset-inline-end: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--dv-green); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .2s; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.is-on > .ck-tick, .is-on .ck-cat-img .ck-tick, .ck-meal-img .ck-tick { opacity: 1; transform: none; }

/* plan: category cards with a meal photo */
.ck-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ck-cat { position: relative; cursor: pointer; background: #fff; border-radius: var(--ck-r); box-shadow: var(--ck-shadow); overflow: hidden; display: flex; flex-direction: column; border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.ck-cat:hover { transform: translateY(-2px); }
.ck-cat input, .ck-seg input, .ck-dur input, .ck-wd input, .ck-addr input { position: absolute; opacity: 0; pointer-events: none; }
.ck-cat.is-on { border-color: var(--dv-green); box-shadow: var(--ck-ring), var(--ck-shadow); }
.ck-cat:focus-within { outline: 3px solid var(--dv-green); outline-offset: 2px; }
.ck-cat-img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--dv-green-light); }
.ck-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.ck-cat-emoji { display: grid; place-items: center; height: 100%; font-size: 44px; }
.ck-cat-b { padding: 14px 16px 16px; display: grid; gap: 4px; }
.ck-cat-b b { font-size: 17px; }
.ck-cat-b > span { font-size: 14px; color: var(--dv-ink-2); }
.ck-cat-meta { font-weight: 800; color: var(--dv-green-dark) !important; font-size: 13.5px !important; margin-top: 4px; }

/* segmented meal option */
.ck-segs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; background: #fff; padding: 6px; border-radius: 16px; box-shadow: var(--ck-shadow); }
.ck-seg { position: relative; cursor: pointer; border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; transition: background .15s; }
.ck-seg b { font-size: 15px; }
.ck-seg span { font-size: 12.5px; color: var(--dv-ink-2); }
.ck-seg:hover { background: var(--dv-bg); }
.ck-seg.is-on { background: var(--dv-ink); color: #fff; }
.ck-seg.is-on span { color: rgba(255, 255, 255, .75); }
.ck-seg:focus-within { outline: 3px solid var(--dv-green); outline-offset: 2px; }

/* duration cards */
.ck-durs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ck-dur { position: relative; cursor: pointer; background: #fff; border-radius: var(--ck-r); box-shadow: var(--ck-shadow); padding: 22px 16px 16px; display: grid; gap: 2px; text-align: center; border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.ck-dur:hover { transform: translateY(-2px); }
.ck-dur.is-on { border-color: var(--dv-green); box-shadow: var(--ck-ring), var(--ck-shadow); }
.ck-dur:focus-within { outline: 3px solid var(--dv-green); outline-offset: 2px; }
.ck-badge { position: absolute; top: -10px; inset-inline-start: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; background: var(--dv-ink); color: #fff; border-radius: 99px; padding: 4px 10px; }
html[dir="rtl"] .ck-badge { transform: translateX(50%); }
.ck-dur-n { font-size: 34px; line-height: 1; letter-spacing: -0.03em; }
.ck-dur-l { font-size: 13px; color: var(--dv-ink-2); }
.ck-dur-p { font-weight: 800; font-size: 18px; margin-top: 10px; }
.ck-dur-per { font-size: 12.5px; color: var(--dv-ink-2); }
.ck-save { justify-self: center; margin-top: 6px; font-size: 12px; font-weight: 800; color: var(--dv-green-dark); background: var(--dv-green-light); padding: 3px 9px; border-radius: 99px; }

/* schedule */
.ck-presets { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.ck-preset { font: inherit; font-size: 13.5px; font-weight: 700; padding: 7px 14px; border-radius: 99px; border: 1.5px dashed #C9D2C8; background: transparent; cursor: pointer; color: var(--dv-ink-2); }
.ck-preset.is-on { border-style: solid; border-color: var(--dv-green); color: var(--dv-green-dark); background: var(--dv-green-light); }
.ck-wds { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.ck-wd { position: relative; cursor: pointer; }
.ck-wd span { display: grid; place-items: center; height: 52px; border-radius: 14px; background: #fff; box-shadow: var(--ck-shadow); font-weight: 800; font-size: 14px; text-transform: capitalize; transition: .15s; }
.ck-wd.is-on span { background: var(--dv-green); color: #fff; box-shadow: none; }
.ck-wd input:focus-visible + span { outline: 3px solid var(--dv-green); outline-offset: 2px; }
.ck-dates { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ck-date { font: inherit; scroll-snap-align: start; cursor: pointer; border: 0; border-radius: 14px; background: #fff; box-shadow: var(--ck-shadow); padding: 10px 4px; display: grid; gap: 2px; text-align: center; color: var(--dv-ink); }
.ck-date span { font-size: 11.5px; color: var(--dv-ink-2); text-transform: capitalize; }
.ck-date b { font-size: 20px; }
.ck-date.is-on { background: var(--dv-ink); color: #fff; }
.ck-date.is-on span { color: rgba(255, 255, 255, .7); }
.ck-date:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; background: transparent; }
.ck-date:focus-visible { outline: 3px solid var(--dv-green); outline-offset: 2px; }
.ck-timeline { background: #fff; border-radius: var(--ck-r); box-shadow: var(--ck-shadow); padding: 16px; }
.ck-timeline-h { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-bottom: 10px; color: var(--dv-green-dark); }
.ck-timeline-h span { color: var(--dv-ink-2); font-size: 13.5px; }
.ck-timeline ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ck-timeline li { font-size: 13px; font-weight: 700; background: var(--dv-green-light); color: var(--dv-green-dark); border-radius: 99px; padding: 5px 11px; text-transform: capitalize; }

/* meals */
.ck-mealbar { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; background: #fff; border-radius: var(--ck-r); box-shadow: var(--ck-shadow); padding: 14px 16px; margin-bottom: 12px; }
.ck-meter { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: #E6EAE4; overflow: hidden; }
.ck-meter span { display: block; height: 100%; background: var(--dv-green); border-radius: 99px; transition: width .3s; }
.ck-chef { font: inherit; font-weight: 800; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; border: 0; cursor: pointer; padding: 9px 14px; border-radius: 99px; background: linear-gradient(135deg, #FFF3D6, #FFE2A8); color: #7A4B00; }
.ck-chef:disabled { opacity: .5; cursor: default; }
.ck-days { position: sticky; top: 60px; z-index: 5; display: grid; grid-auto-flow: column; grid-auto-columns: 58px; gap: 8px; overflow-x: auto; padding: 8px 2px 10px; background: #F6F7F3; scrollbar-width: none; }
.ck-day { font: inherit; position: relative; cursor: pointer; border: 0; border-radius: 14px; background: #fff; box-shadow: var(--ck-shadow); padding: 8px 4px 12px; display: grid; gap: 1px; text-align: center; color: var(--dv-ink); }
.ck-day span { font-size: 11.5px; color: var(--dv-ink-2); text-transform: capitalize; }
.ck-day b { font-size: 18px; }
.ck-day i { position: absolute; bottom: 5px; inset-inline-start: 50%; width: 6px; height: 6px; margin-inline-start: -3px; border-radius: 50%; background: #D5DBD3; }
.ck-day.is-part i { background: #F2B544; }
.ck-day.is-full i { background: var(--dv-green); }
.ck-day.is-on { background: var(--dv-ink); color: #fff; }
.ck-day.is-on span { color: rgba(255, 255, 255, .7); }
.ck-day:focus-visible { outline: 3px solid var(--dv-green); outline-offset: 2px; }
.ck-dayh { font-size: 20px; margin: 6px 0 10px; text-transform: capitalize; }
.ck-slot { margin-bottom: 18px; }
.ck-slot-h { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-bottom: 10px; font-size: 14px; }
.ck-slot-h > span:first-of-type { color: var(--dv-ink-2); }
.ck-slot-ok { margin-inline-start: auto; display: inline-flex; gap: 4px; align-items: center; font-weight: 800; font-size: 12.5px; color: var(--dv-green-dark); }
.ck-slot-auto { margin-inline-start: auto; font-size: 12.5px; color: var(--dv-ink-2); background: #fff; border-radius: 99px; padding: 3px 9px; }
.ck-meals { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
@media (max-width: 560px) { .ck-meals { grid-template-columns: 1fr 1fr; gap: 10px; } }
.ck-meal { background: #fff; border-radius: 16px; box-shadow: var(--ck-shadow); overflow: hidden; display: flex; flex-direction: column; border: 2px solid transparent; transition: border-color .15s; }
.ck-meal.is-on { border-color: var(--dv-green); }
.ck-meal.is-off { opacity: .55; }
.ck-meal-img { all: unset; cursor: zoom-in; position: relative; display: block; aspect-ratio: 4 / 3; background: var(--dv-green-light); }
.ck-meal-img img { width: 100%; height: 100%; object-fit: cover; }
.ck-meal-img:focus-visible { outline: 3px solid var(--dv-green); outline-offset: -3px; }
.ck-meal-b { padding: 10px 12px 12px; display: grid; gap: 4px; flex: 1; align-content: start; }
.ck-meal-n { font-weight: 800; font-size: 14.5px; line-height: 1.25; }
.ck-meal-m { font-size: 12.5px; color: var(--dv-ink-2); min-height: 1em; }
.ck-meal-x { font-size: 12.5px; font-weight: 700; color: #B42318; }
.ck-pick { font: inherit; margin-top: 4px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; justify-content: center; min-height: 40px; border-radius: 12px; border: 1.5px solid var(--dv-line); background: #fff; font-weight: 800; font-size: 14px; color: var(--dv-ink); }
.ck-pick:hover { border-color: var(--dv-ink); }
.ck-pick.is-on { background: var(--dv-green); border-color: var(--dv-green); color: #fff; }
.ck-pick:focus-visible { outline: 3px solid var(--dv-green); outline-offset: 2px; }

/* address */
.ck-addrs { display: grid; gap: 10px; margin-bottom: 12px; }
.ck-addr { position: relative; cursor: pointer; display: grid; gap: 2px; background: #fff; border-radius: 16px; box-shadow: var(--ck-shadow); padding: 16px 48px 16px 16px; border: 2px solid transparent; }
html[dir="rtl"] .ck-addr { padding: 16px 16px 16px 48px; }
.ck-addr span:last-child { font-size: 13.5px; color: var(--dv-ink-2); }
.ck-addr.is-on { border-color: var(--dv-green); }
.ck-addr .ck-tick { top: 50%; margin-top: -13px; }
.ck-addr:focus-within { outline: 3px solid var(--dv-green); outline-offset: 2px; }
.ck-addlink { all: unset; cursor: pointer; font-weight: 800; color: var(--dv-green-dark); padding: 8px 0; }
.ap-field input.is-locked { background: var(--dv-bg); color: var(--dv-ink-2); }

/* review */
.ck-rev { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px clamp(16px, 3vw, 24px); border-bottom: 1px solid #EEF1EC; }
.ck-rev:last-child { border-bottom: 0; }
.ck-rev-k { font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--dv-ink-2); margin-bottom: 3px; }
.ck-rev-v { font-weight: 700; }
.ck-thumbs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.ck-thumbs img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.ck-price { display: grid; gap: 8px; }
.ck-price > div { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.ck-price-total { border-top: 1px solid #EEF1EC; padding-top: 10px; font-weight: 800; font-size: 20px !important; }
.ck-free { color: var(--dv-green-dark); font-weight: 800; }
.ck-promo { margin-top: 12px; }
.ck-promo summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--dv-green-dark); }
.ck-promo form { margin-top: 10px; }
.ck-bill p + p { margin-top: 6px; }
.ck-switch { display: flex; gap: 12px; align-items: center; margin-top: 14px; cursor: pointer; font-weight: 700; position: relative; }
.ck-switch input { position: absolute; opacity: 0; }
.ck-switch-ui { flex: none; width: 46px; height: 28px; border-radius: 99px; background: #D5DBD3; position: relative; transition: background .2s; }
.ck-switch-ui::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.ck-switch input:checked + .ck-switch-ui { background: var(--dv-green); }
.ck-switch input:checked + .ck-switch-ui::after { transform: translateX(18px); }
html[dir="rtl"] .ck-switch input:checked + .ck-switch-ui::after { transform: translateX(-18px); }
.ck-switch input:focus-visible + .ck-switch-ui { outline: 3px solid var(--dv-green); outline-offset: 2px; }

/* summary + trust */
.ck-sum { background: #fff; border-radius: var(--ck-r); box-shadow: var(--ck-shadow); overflow: hidden; }
.ck-sum-img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.ck-sum-b { padding: 16px 18px 18px; }
.ck-sum-k { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--dv-ink-2); }
.ck-sum-t { font-weight: 800; font-size: 19px; margin: 2px 0 10px; }
.ck-sum dl { margin: 0; display: grid; gap: 7px; }
.ck-sum dl > div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.ck-sum dt { color: var(--dv-ink-2); }
.ck-sum dd { margin: 0; font-weight: 700; text-align: end; }
.ck-sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #EEF1EC; margin-top: 12px; padding-top: 12px; }
.ck-sum-total b { font-size: 22px; letter-spacing: -0.02em; }
.ck-sum-once { font-size: 12.5px; color: var(--dv-ink-2); margin-top: 4px; }
.ck-trust { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 10px; background: #fff; border-radius: var(--ck-r); box-shadow: var(--ck-shadow); }
.ck-trust li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 600; }
.ck-trust svg { color: var(--dv-green); flex: none; }
.ck-trust--row { background: transparent; box-shadow: none; padding: 0; margin: 22px 0 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
@media (max-width: 960px) { .ck-side .ck-trust { display: none; } }

/* sticky action bar */
.ck-bar { position: sticky; bottom: 0; z-index: 40; margin-top: 18px; }
.ck-bar-in { display: flex; gap: 14px; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-radius: 20px; box-shadow: 0 -2px 24px rgba(32, 40, 34, .12); padding: 12px 12px 12px 18px; }
html[dir="rtl"] .ck-bar-in { padding: 12px 18px 12px 12px; }
.ck-bar-sum { display: grid; line-height: 1.2; min-width: 0; }
.ck-bar-sum b { font-size: 20px; letter-spacing: -0.02em; }
.ck-bar-sum span { font-size: 12.5px; color: var(--dv-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-bar .dv-btn { flex: 0 0 auto; min-width: 160px; }
@media (max-width: 960px) {
  .ck-bar { position: fixed; inset-inline: 0; bottom: 0; margin: 0; padding: 0 10px calc(10px + env(safe-area-inset-bottom)); }
  .ck-grid { padding-bottom: 96px; }
}
@media (max-width: 380px) { .ck-bar .dv-btn { min-width: 0; padding: 0 18px; } }
.dv-btn.is-loading { position: relative; color: transparent !important; }
.dv-btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: ck-spin .7s linear infinite; }
.dv-btn--primary[disabled] { background: #A9C9B6; border-color: #A9C9B6; opacity: 1; }

/* intro (postcode) */
.ck-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 5vw, 56px); align-items: center; padding: clamp(8px, 3vw, 36px) 0; }
@media (max-width: 860px) { .ck-intro { grid-template-columns: 1fr; } .ck-intro-img { order: -1; } }
.ck-pc-row { display: flex; gap: 10px; }
.ck-pc-row input { flex: 1 1 auto; min-width: 0; font-size: 20px !important; font-weight: 800 !important; letter-spacing: .06em; min-height: 56px !important; text-transform: uppercase; }
@media (max-width: 480px) { .ck-pc-row { flex-direction: column; } }
.ck-intro-img { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-intro-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; box-shadow: var(--ck-shadow); }
.ck-intro-img img:nth-child(even) { transform: translateY(18px); }
@media (max-width: 860px) { .ck-intro-img { grid-template-columns: repeat(4, 1fr); } .ck-intro-img img { border-radius: 14px; } .ck-intro-img img:nth-child(even) { transform: translateY(8px); } }
.ck-wait { margin-top: 18px; background: #fff; border-radius: var(--ck-r); box-shadow: var(--ck-shadow); padding: 18px; display: grid; gap: 12px; }
.ck-wait-h { font-weight: 700; }

/* login */
.ck--login { display: grid; place-items: start center; padding-top: clamp(8px, 4vw, 40px); }
.ck-login-wrap { width: min(480px, 100%); }
.ck-login { padding: clamp(18px, 4vw, 28px); }
.ck-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--dv-bg); border-radius: 14px; padding: 4px; margin-bottom: 16px; }
.ck-tabs button { font: inherit; font-weight: 800; font-size: 14px; border: 0; border-radius: 10px; padding: 10px; cursor: pointer; background: transparent; color: var(--dv-ink-2); }
.ck-tabs button.is-on { background: #fff; color: var(--dv-ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.ck-code { font-family: ui-monospace, 'SF Mono', Menlo, monospace !important; font-size: 28px !important; font-weight: 800 !important; letter-spacing: .55em; text-align: center; min-height: 64px !important; padding-inline-start: .55em !important; }
.ck-login-sent { font-weight: 600; }
.ck-login-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* pay + done */
.ck-paysum { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #EEF1EC; font-weight: 700; }
.ck-paysum b { font-size: 24px; letter-spacing: -0.02em; }
.ck-stripe { min-height: 180px; margin: 6px 0 10px; }
.ck-paybtn { margin-top: 6px; }
.ck-paybtn svg { margin-inline-end: 4px; }
.ck-wait-pay { display: grid; place-items: center; gap: 14px; padding: 30px 0; text-align: center; color: var(--dv-ink-2); }
.ck-spin { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--dv-green-light); border-top-color: var(--dv-green); animation: ck-spin .8s linear infinite; }
@keyframes ck-spin { to { transform: rotate(360deg); } }
.ck-done { max-width: 560px; margin: clamp(12px, 5vw, 48px) auto; text-align: center; display: grid; gap: 10px; justify-items: center; }
.ck-done-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--dv-green); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(79, 158, 116, .35); animation: ck-pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.ck-done-ic svg { width: 38px; height: 38px; }
@keyframes ck-pop { from { transform: scale(.4); opacity: 0; } }
.ck-done-card { display: flex; gap: 12px; align-items: center; text-align: start; width: 100%; }
.ck-done-card svg { width: 28px; height: 28px; color: var(--dv-green); flex: none; }
.ck-done-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* skeletons */
.ck-skel { display: grid; gap: 12px; }
.ck-skel > div { height: 120px; border-radius: var(--ck-r); background: linear-gradient(90deg, #ECEFE9 25%, #F6F7F3 50%, #ECEFE9 75%); background-size: 200% 100%; animation: ck-shimmer 1.2s infinite; }
.ck-skel--line > div { height: 44px; }
.ck-skel--cards { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.ck-skel--cards > div { height: 220px; }
@keyframes ck-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ck-progress span, .ck-meter span, .ck-cat, .ck-dur, .ck-tick, .ck-switch-ui::after { transition: none; } .ck-skel > div, .ck-done-ic { animation: none; } }

/* ==========================================================================
   Customer portal (pt-*): phone first — bottom tab bar; desktop — top nav, two columns, capped widths.
   ========================================================================== */
body.ap:has(.pt) { background: #F6F7F3; }
.pt { max-width: 1080px; margin: 0 auto; padding-bottom: 96px; }
.pt-body { min-width: 0; }
.pt-h1, .pt-hello h1, .pt-mhead h1 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -0.02em; outline: none; margin: 4px 0 14px; }
.pt-h2 { font-size: 18px; margin-bottom: 12px; }
.pt-k { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--dv-ink-2); }
.pt-muted { color: var(--dv-ink-2); }
.pt-small { font-size: 13.5px; }
.pt-text { margin: 6px 0 12px; line-height: 1.55; }
.pt-full { width: 100%; }
.pt-card { background: #fff; border-radius: 18px; box-shadow: var(--ck-shadow); padding: clamp(16px, 2.6vw, 22px); margin-bottom: 14px; }
.pt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.pt-col--side { position: sticky; top: 84px; }
@media (max-width: 900px) { .pt-grid { grid-template-columns: 1fr; } .pt-col--side { position: static; } }

/* nav: top pills on desktop, fixed bottom bar on phones */
.pt-nav { display: flex; gap: 6px; background: #fff; border-radius: 16px; box-shadow: var(--ck-shadow); padding: 6px; margin: 4px 0 18px; }
.pt-nav-a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px; font-weight: 800; font-size: 14.5px; color: var(--dv-ink-2); }
.pt-nav-a svg { width: 22px; height: 22px; }
.pt-nav-a:hover { color: var(--dv-ink); background: var(--dv-bg); }
.pt-nav-a.is-on { background: var(--dv-ink); color: #fff; }
.pt-nav-a:focus-visible { outline: 3px solid var(--dv-green); outline-offset: 2px; }
@media (max-width: 760px) {
  .pt-nav { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; margin: 0; border-radius: 0; box-shadow: 0 -1px 0 var(--dv-line), 0 -6px 20px rgba(32, 40, 34, .06); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .pt-nav-a { flex-direction: column; gap: 2px; font-size: 11.5px; min-height: 54px; }
  .pt-nav-a.is-on { background: transparent; color: var(--dv-green-dark); }
  .pt-nav-a.is-on svg { stroke-width: 2.4; }
  body.ap:has(.pt) .ap-foot { padding-bottom: 96px; }
}

/* hello + alerts */
.pt-hello { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pt-hello h1 { margin: 4px 0 14px; }
.pt-alert { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; }
.pt-alert > div { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.pt-alert span { font-size: 13.5px; }
.pt-alert--pick { background: linear-gradient(135deg, #FFF6DD, #FFEFC4); color: #6B4400; }
.pt-alert--warn { background: #FFF6E5; color: #7A4B00; }
.pt-alert--info { background: #EEF4FF; color: #1D3A8A; }
p.pt-alert { display: block; }

/* chips */
.pt-chip { display: inline-flex; align-items: center; white-space: nowrap; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--dv-bg); color: var(--dv-ink-2); }
.pt-chip--ok { background: var(--dv-green-light); color: var(--dv-green-dark); }
.pt-chip--go { background: #E3EEFF; color: #1D4DB0; }
.pt-chip--warm { background: #FFF1D6; color: #8A5300; }
.pt-chip--bad { background: #FDECEA; color: #A0281A; }

/* next delivery hero */
.pt-next { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
@media (max-width: 640px) { .pt-next { grid-template-columns: 1fr; } }
.pt-next-img { position: relative; background: var(--dv-green-light); min-height: 180px; }
.pt-next-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
@media (max-width: 640px) { .pt-next-img { aspect-ratio: 16 / 9; min-height: 0; } }
.pt-next-img .pt-chip { position: absolute; top: 12px; inset-inline-start: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.pt-next-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--dv-green-dark); }
.pt-next-ph svg { width: 42px; height: 42px; }
.pt-next-b { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.pt-next-t { font-size: 22px; letter-spacing: -0.02em; text-transform: capitalize; }
.pt-next-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pt-next-items li { display: grid; gap: 1px; }
.pt-next-items small, .pt-sheet-items small { color: var(--dv-ink-2); font-size: 12.5px; }
.pt-slot { font-size: 12.5px; font-weight: 700; color: var(--dv-ink-2); }
.pt-deadline { font-size: 13.5px; color: #6B4400; background: #FFF7E2; border-radius: 10px; padding: 7px 10px; justify-self: start; }
.pt-next-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.pt-next--none { padding: 20px; display: block; }

/* week */
.pt-week-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.pt-week-head .pt-h2 { margin: 0; }
.pt-week-nav { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.pt-iconbtn { font: inherit; width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--dv-line); background: #fff; cursor: pointer; font-size: 20px; line-height: 1; color: var(--dv-ink); }
.pt-iconbtn:disabled { opacity: .35; cursor: default; }
.pt-iconbtn:focus-visible { outline: 3px solid var(--dv-green); outline-offset: 2px; }
html[dir="rtl"] .pt-iconbtn { transform: scaleX(-1); }
.pt-days { list-style: none; margin: 0; padding: 0; display: grid; }
.pt-days li + li { border-top: 1px solid #EEF1EC; }
.pt-day { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 46px 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-radius: 12px; }
.pt-day:hover { background: var(--dv-bg); }
.pt-day:focus-visible { outline: 3px solid var(--dv-green); outline-offset: -2px; }
.pt-day-date { display: grid; justify-items: center; line-height: 1.1; }
.pt-day-date b { font-size: 20px; }
.pt-day-date span { font-size: 12px; color: var(--dv-ink-2); text-transform: capitalize; }
.pt-thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; display: grid; place-items: center; background: var(--dv-green-light); color: var(--dv-green-dark); }
.pt-thumb svg { width: 24px; height: 24px; }
.pt-thumb--lg { width: 64px; height: 64px; flex: none; }
.pt-day-b { display: grid; gap: 2px; min-width: 0; }
.pt-day-b b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.pt-day-b > span { font-size: 13px; color: var(--dv-ink-2); display: flex; align-items: center; gap: 6px; }
.pt-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pt-dot--pick { background: #F2B544; }
@media (max-width: 420px) { .pt-day { grid-template-columns: 40px 46px minmax(0, 1fr); } .pt-day .pt-chip { grid-column: 3; justify-self: start; } .pt-thumb { width: 46px; height: 46px; } }

/* summary */
.pt-sum-t { font-size: 20px; margin: 2px 0 2px; }
.pt-meter { height: 8px; border-radius: 99px; background: #E6EAE4; overflow: hidden; margin: 14px 0; }
.pt-meter span { display: block; height: 100%; background: var(--dv-green); border-radius: 99px; }
.pt-dl { margin: 0 0 14px; display: grid; gap: 8px; }
.pt-dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.pt-dl dt { color: var(--dv-ink-2); }
.pt-dl dd { margin: 0; font-weight: 700; text-align: end; }
.pt-dl--wide > div { border-bottom: 1px solid #EEF1EC; padding-bottom: 8px; }

/* meals */
.pt-mhead { margin-bottom: 6px; }
.pt-mday { margin-top: 6px; }
.pt-mday-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.pt-mday-h h2 { font-size: 20px; text-transform: capitalize; }
.ck-day.is-lock { opacity: .55; }
.ck-day.is-lock i { background: #9AA59C; }
.pt-mslot { background: #fff; border-radius: 18px; box-shadow: var(--ck-shadow); padding: 14px; margin-bottom: 14px; }
.pt-slot-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 12px; }
.pt-slot-h > span:nth-child(2) { color: var(--dv-ink-2); font-size: 14px; }
.pt-save { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--dv-ink-2); }
.pt-save--ok { color: var(--dv-green-dark); }
.pt-save--err { color: #A0281A; }
.ck-spin--sm { width: 16px; height: 16px; border-width: 2px; }
.pt-locked-meal { display: flex; gap: 12px; align-items: center; }
.pt-nextday { width: 100%; }

/* manage */
.pt-back { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--dv-ink-2); margin-top: 4px; }
html[dir="rtl"] .pt-back svg { transform: scaleX(-1); }
.pt-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pt-opt { border: 1.5px solid #EEF1EC; border-radius: 14px; padding: 14px; display: grid; gap: 8px; align-content: start; }
.pt-opt h3 { font-size: 16px; }
.pt-opt p { font-size: 14px; color: var(--dv-ink-2); }
.pt-danger { border: 1.5px solid #F6D4CF; box-shadow: none; }
.pt-btn-danger { background: #fff; color: #A0281A; border: 1.5px solid #E8B4AC; }
.pt-btn-danger:hover { background: #FDECEA; }

/* settings */
.pt-subtabs { display: flex; margin-bottom: 14px; }
.pt-subtabs a { flex: 1; text-align: center; font-weight: 800; font-size: 14px; border-radius: 10px; padding: 10px; color: var(--dv-ink-2); }
.pt-subtabs a.is-on { background: #fff; color: var(--dv-ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.pt-list { list-style: none; margin: 0; padding: 0; }
.pt-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #EEF1EC; flex-wrap: wrap; }
.pt-list li:last-child { border-bottom: 0; }
.pt-list li > span:first-child { display: grid; gap: 2px; min-width: 0; }
.pt-list small { color: var(--dv-ink-2); font-size: 13px; }
.pt-rowacts { display: flex; gap: 14px; flex-wrap: wrap; }
.pt-links { padding: 4px 0; }
.pt-linkrow { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 2.6vw, 22px); font-weight: 700; border-bottom: 1px solid #EEF1EC; }
.pt-linkrow:last-child { border-bottom: 0; }
.pt-linkrow:hover { background: var(--dv-bg); }
.pt-linkrow:focus-visible { outline: 3px solid var(--dv-green); outline-offset: -3px; }
html[dir="rtl"] .pt-linkrow span[aria-hidden] { transform: scaleX(-1); }

/* empty state */
.pt-empty { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 32px 20px; }
.pt-empty-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--dv-green-light); color: var(--dv-green-dark); display: grid; place-items: center; }
.pt-empty-ic svg { width: 30px; height: 30px; }

/* dialog sheet (bottom sheet on phones) + toasts */
.pt-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: end center; }
.pt-scrim { position: absolute; inset: 0; background: rgba(20, 28, 22, .5); animation: pt-fade .15s; }
.pt-sheet { position: relative; width: min(560px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); animation: pt-up .22s cubic-bezier(.2, .8, .2, 1); padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 700px) { .pt-modal { place-items: center; } .pt-sheet { border-radius: 22px; } }
.pt-sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 20px 6px; position: sticky; top: 0; background: #fff; z-index: 1; }
.pt-sheet-head h2 { font-size: 19px; }
.pt-x { all: unset; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--dv-bg); font-size: 16px; }
.pt-x:focus-visible { outline: 3px solid var(--dv-green); }
.pt-sheet-img { width: 100%; max-height: 260px; object-fit: cover; }
.pt-sheet-body { padding: 8px 20px 16px; display: grid; gap: 10px; }
.pt-sheet-sub { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 700; text-transform: capitalize; }
.pt-sheet-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pt-sheet-items li { display: flex; gap: 12px; align-items: center; }
.pt-sheet-items li > div { display: grid; gap: 2px; }
.pt-sheet-actions { display: grid; gap: 10px; padding: 0 20px 20px; }
.pt-sheet-actions .dv-btn { width: 100%; }
.pt-move { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; background: var(--dv-bg); border-radius: 14px; padding: 14px; text-transform: capitalize; }
.pt-move > div { display: grid; gap: 2px; }
.pt-move span { font-size: 12.5px; color: var(--dv-ink-2); }
html[dir="rtl"] .pt-move > span { transform: scaleX(-1); }
.pt-bullets { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.pt-eta { font-weight: 800; font-size: 18px; }
.pt-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; border-inline-start: 2px solid var(--dv-green-light); padding-inline-start: 14px; }
.pt-timeline li { display: flex; justify-content: space-between; gap: 10px; }
.pt-timeline span { color: var(--dv-ink-2); font-size: 13.5px; }
.pt-macros { display: flex; gap: 8px; flex-wrap: wrap; }
.pt-macros > div { background: var(--dv-bg); border-radius: 10px; padding: 8px 12px; display: grid; }
.pt-macros span { font-size: 12px; color: var(--dv-ink-2); }
.pt-toasts { position: fixed; z-index: 4000; inset-inline: 0; bottom: 84px; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
@media (min-width: 761px) { .pt-toasts { bottom: 24px; } }
.pt-toast { pointer-events: auto; max-width: 520px; background: var(--dv-ink); color: #fff; border-radius: 14px; padding: 12px 16px; font-weight: 700; font-size: 14.5px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); animation: pt-up .2s; transition: opacity .3s, transform .3s; }
.pt-toast--err { background: #A0281A; }
.pt-toast--info { background: #1D3A8A; }
.pt-toast.is-out { opacity: 0; transform: translateY(8px); }
@keyframes pt-up { from { transform: translateY(16px); opacity: 0; } }
@keyframes pt-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pt-sheet, .pt-scrim, .pt-toast { animation: none; transition: none; } }

/* #003 one-hour delivery time choice */
.ck-time { margin: 6px 0 10px; }
.ck-time-h { font-weight: 600; margin: 0 0 6px; }
/* #015 star rating (radio buttons) */
.pt-stars { border: 0; padding: 0; margin: 0 0 10px; }
.pt-stars legend { font-weight: 600; margin-bottom: 4px; }
.pt-stars label { display: inline-flex; cursor: pointer; }
.pt-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pt-stars label > span[aria-hidden] { font-size: 30px; line-height: 1; padding: 2px 3px; color: #D6DDD9; transition: color .12s; }
.pt-stars label:has(~ label input:checked) > span[aria-hidden], .pt-stars label:has(input:checked) > span[aria-hidden] { color: #F59E0B; }
.pt-stars input:focus-visible + span { outline: 2px solid currentColor; border-radius: 4px; }
[dir="rtl"] .pt-stars { direction: ltr; text-align: right; }
.ck-lookup { margin-top: -4px; }

/* 2026-10-18 owner round (same as the apps): halal only on halal-marked dishes, partner restaurant on the photo, invite a friend */
.ck-halal { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; background: #0B7A4B; color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 800; line-height: 1.3; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.ck-halal::before { content: "✓"; font-size: 10px; }
.ck-halal--inline { position: static; box-shadow: none; }
.ck-partner { position: absolute; bottom: 8px; inset-inline-start: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 16px); background: rgba(255, 255, 255, .94); color: var(--dv-ink, #14231D); border-radius: 999px; padding: 3px 9px 3px 3px; font-size: 12px; font-weight: 700; line-height: 1.2; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
[dir="rtl"] .ck-partner { padding: 3px 3px 3px 9px; }
.ck-partner:not(:has(img)) { padding-inline: 9px; }
.ck-meal-img .ck-partner img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.ck-partner > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-meal-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pt-inv-code { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--dv-green-light, #E7F5EF); border: 1px dashed #9BD3BA; border-radius: 16px; padding: 14px 16px; margin: 12px 0; }
.pt-inv-code small { display: block; color: var(--dv-ink-2, #5B6B64); font-size: 12px; }
.pt-inv-code b { font: 800 24px/1.2 "SF Mono", Menlo, Consolas, monospace; letter-spacing: 3px; }
.pt-inv-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.pt-inv-enter summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.pt-inv-enter form { margin-top: 8px; }

/* ---- meal choices / build-your-own (docs/MEAL-OPTIONS.md) */
.ck-chosen { list-style: none; margin: 6px 0 2px; padding: 0; font-size: 12.5px; color: var(--dv-ink); line-height: 1.4; }
.ck-chosen li::before { content: "• "; color: var(--dv-green); font-weight: 800; }
.ck-build .pt-sheet-body { display: grid; gap: 14px; }
.ck-bgroup { border: 1.5px solid var(--dv-line); border-radius: 16px; padding: 12px 14px; margin: 0; }
.ck-bgroup.is-bad { border-color: #DC2626; box-shadow: 0 0 0 3px #FEE2E2; }
.ck-bgroup legend { display: flex; gap: 8px; align-items: center; padding: 0 4px; font-size: 15px; }
.ck-bcnt { font-size: 12px; font-weight: 800; color: var(--dv-green-dark); font-variant-numeric: tabular-nums; margin-inline-start: auto; }
.ck-btag { font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: #F1F5F9; color: #475569; }
.ck-btag.is-req { background: var(--dv-green-light); color: var(--dv-green-dark); }
.ck-bopt { font: inherit; width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 2px; background: none; border: 0; border-top: 1px solid var(--dv-line); cursor: pointer; text-align: start; color: var(--dv-ink); min-height: 44px; }
.ck-bopt:first-child { border-top: 0; }
.ck-bopt:disabled { cursor: not-allowed; opacity: .55; }
.ck-bopt em { font-style: normal; color: #DC2626; font-size: 12px; font-weight: 700; }
.ck-bmark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #94A3B8; display: inline-grid; place-items: center; color: #fff; }
.ck-bmark--box { border-radius: 6px; }
.ck-bopt.is-on .ck-bmark { background: var(--dv-green); border-color: var(--dv-green); }
.ck-bmark svg { width: 13px; height: 13px; }
.ck-bname { flex: 1; }
.ck-build .pt-sheet-actions { flex-wrap: wrap; }
.ck-build .pt-sheet-actions .dv-btn { width: 100%; }

/* iOS parity 2026-10-30: next-meal card (CUX-006), person tabs, favorites, menu search + filters */
.pt-addr { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: -6px 0 14px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: var(--ck-shadow); color: var(--dv-ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.pt-addr > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pt-addr svg { width: 16px; height: 16px; flex: none; color: var(--dv-green); }
.pt-seg { display: flex; gap: 2px; padding: 3px; margin: 0 0 12px; background: var(--dv-bg); border-radius: 12px; }
.pt-seg--pill { border-radius: 999px; background: #EEF1EF; }
.pt-seg-b { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 8px; border: 0; border-radius: 10px; background: transparent; color: var(--dv-ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pt-seg--pill .pt-seg-b { border-radius: 999px; min-height: 30px; }
.pt-seg-b span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-seg-b svg { width: 14px; height: 14px; flex: none; }
.pt-seg-b.is-on { background: #fff; color: var(--dv-ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pt-seg-b:focus-visible { outline: 3px solid var(--dv-green); outline-offset: 1px; }
.nx { margin-bottom: 14px; }
.nx-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 4px 6px; }
.nx-head .pt-k { margin: 0; }
.nx-head > span { display: inline-flex; align-items: center; gap: 10px; }
.nx-head .pt-iconbtn { width: 34px; height: 34px; display: inline-grid; place-items: center; color: var(--dv-green-dark); }
.nx-head .pt-iconbtn svg { width: 18px; height: 18px; }
.nx-card { margin-bottom: 6px; display: grid; gap: 14px; }
.nx-card .pt-seg { margin: 0; }
.nx-row { display: flex; align-items: center; gap: 14px; }
.nx-row-b { flex: 1; min-width: 0; display: grid; gap: 5px; justify-items: start; }
.nx-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--dv-green-light); color: var(--dv-green-dark); font-size: 13px; font-weight: 700; }
.nx-name { font-size: 18px; font-weight: 800; margin: 0; line-height: 1.25; }
.nx-img { width: 86px; height: 86px; flex: none; border-radius: 20px; object-fit: cover; box-shadow: 0 3px 8px rgba(0,0,0,.08); display: grid; place-items: center; background: var(--dv-green-light); }
.nx-img svg { width: 30px; height: 30px; color: var(--dv-green); }
.nx-dv { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dv-ink-2); }
.nx-dv b { font-size: 14px; color: var(--dv-ink); letter-spacing: .02em; }
.nx-dv .pt-iconbtn { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; }
.nx-dv .pt-iconbtn svg { width: 15px; height: 15px; }
.nx-stages { all: unset; cursor: pointer; display: flex; align-items: flex-start; width: 100%; }
.nx-stages:focus-visible { outline: 3px solid var(--dv-green); outline-offset: 4px; border-radius: 10px; }
.nx-stage { display: grid; justify-items: center; gap: 6px; min-width: 64px; }
.nx-stage i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--dv-line); background: #fff; color: #9AA5A0; font-size: 13px; font-weight: 800; }
.nx-stage i svg { width: 15px; height: 15px; }
.nx-stage b { font-size: 12.5px; font-weight: 600; color: var(--dv-ink-2); white-space: nowrap; }
.nx-stage.is-done i { background: var(--dv-green); border-color: var(--dv-green); color: #fff; box-shadow: 0 0 0 5px var(--dv-green-light); }
.nx-stage.is-done b { color: var(--dv-green-dark); }
.nx-stage.is-stop i { background: #B42318; border-color: #B42318; color: #fff; box-shadow: none; }
.nx-stage.is-stop b { color: #B42318; }
.nx-line { flex: 1; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--dv-line); }
.nx-line.is-done { background: var(--dv-green); }
.nx-line.is-half { background: linear-gradient(to right, var(--dv-green) 35%, var(--dv-line) 35%); }
html[dir="rtl"] .nx-line.is-half { background: linear-gradient(to left, var(--dv-green) 35%, var(--dv-line) 35%); }
.nx-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nx-track { min-height: 34px; padding: 0 14px; font-size: 14px; }
.nx-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pt-stack { display: grid; gap: 10px; }
.pt-timeline li.is-upcoming b { color: var(--dv-ink-2); font-weight: 500; }
.pt-timeline li.is-stopped b { color: #B42318; }
.ck-meal { position: relative; }
.ck-fav { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--dv-ink-2); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.ck-fav svg { width: 18px; height: 18px; fill: none; }
.ck-fav.is-on { color: #E0475B; }
.ck-fav.is-on svg { fill: currentColor; }
.ck-fav:focus-visible { outline: 3px solid var(--dv-green); outline-offset: 2px; }
.pt-sheet-head .ck-fav { position: static; box-shadow: none; background: var(--dv-bg); margin-inline-start: auto; margin-inline-end: 8px; }
.pt-mfilter { display: grid; gap: 10px; margin: 0 0 14px; }
.pt-search input { width: 100%; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--dv-line); background: #fff; font: inherit; font-size: 16px; }
.pt-search input:focus { outline: 3px solid var(--dv-green-light); border-color: var(--dv-green); }
.pt-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.pt-chips::-webkit-scrollbar { display: none; }
.pt-fchip { flex: none; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--dv-line); background: #fff; color: var(--dv-ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.pt-fchip.is-on { background: var(--dv-green); border-color: var(--dv-green); color: #fff; }
.pt-fchip:focus-visible { outline: 3px solid var(--dv-green); outline-offset: 2px; }
.pt-list li .ap-link { flex: none; }
.ck-card--people { display: grid; gap: 12px; margin-bottom: 14px; }
.ck-card--people .pt-seg { margin: 0; }
.ck-people { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ck-people > div:first-child { display: grid; gap: 2px; }
.ck-stepper { display: inline-flex; align-items: center; gap: 12px; }
.ck-stepper b { min-width: 18px; text-align: center; font-size: 18px; }
.ck-pplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ck-pplist li { display: flex; gap: 8px; flex-wrap: wrap; }
.ck-pplist span { color: var(--dv-ink-2); }

/* support rating (CSAT, 2026-11-03) */
.pt-rate { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: #F3F9F5; }
.pt-stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; margin-bottom: 6px; }
.pt-stars label { cursor: pointer; font-size: 26px; color: #CBD5D0; }
.pt-stars input { position: absolute; opacity: 0; width: 0; height: 0; }
.pt-stars input:checked ~ span, .pt-stars label:hover span, .pt-stars label:hover ~ label span, .pt-stars input:checked + span { color: #F5B301; }
.pt-stars label:has(input:checked) span, .pt-stars label:has(input:checked) ~ label span { color: #F5B301; }
