/* Klient — Dziś / Tydzień / Plan / Konto */

.wrap-client { max-width: 720px; }

.pay-banner,
.choice-banner,
.ending-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.pay-banner {
  background: color-mix(in srgb, var(--clay) 16%, #fffaf3);
  border: 1px solid color-mix(in srgb, var(--clay) 35%, var(--line));
}

.choice-banner {
  background: var(--olive-soft);
  border: 1px solid color-mix(in srgb, var(--olive) 28%, var(--line));
}

.ending-banner {
  background: color-mix(in srgb, var(--gold) 22%, #fffaf3);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line));
}

.pay-banner strong,
.choice-banner strong,
.ending-banner strong { display: block; }

.free-day-frame {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.85rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--olive) 28%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--olive-soft) 80%, #fff), #fffaf3);
  box-shadow: var(--shadow);
}

.free-day-frame strong {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.today-next-line {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.today-next-line strong {
  text-transform: none;
}

.today-meal-card {
  margin-bottom: 1.15rem;
}

.today-meal-card .day-title {
  font-size: 1.45rem;
  margin: 0;
}

.today-meal-card .set-name {
  margin-top: 0.35rem;
}

.today-meal-actions {
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.today-hero {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.today-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  box-shadow: var(--shadow);
  background: var(--olive-soft);
}

.today-cover-empty {
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--clay) 35%, #fff), transparent 55%),
    var(--olive-soft);
}

.today-hero-body { display: grid; gap: 0.55rem; }

.status-axis {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0.35rem;
}

.status-axis li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--muted);
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--line);
  flex: 0 0 auto;
}

.status-axis li.is-done { color: var(--olive); }
.status-axis li.is-done .status-dot { background: var(--olive); }
.status-axis li.is-current { color: var(--clay-deep); }
.status-axis li.is-current .status-dot {
  background: var(--clay);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--clay) 25%, transparent);
}

.cutoff-hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--clay-deep);
  font-weight: 650;
}

.today-empty { text-align: left; }
.today-dishes { display: grid; gap: 0.75rem; }

.day-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.55rem 0.75rem;
}

.day-chip {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--olive-soft);
  color: var(--olive);
}

.day-chip-ordered { background: color-mix(in srgb, var(--ok) 18%, #fff); color: #1f6b45; }
.day-chip-needs_choice { background: color-mix(in srgb, var(--clay) 18%, #fff); color: var(--clay-deep); }
.day-chip-skipped,
.day-chip-after_cutoff { background: #eee8df; color: #6b6358; }
.day-chip-pending_pay { background: color-mix(in srgb, var(--gold) 28%, #fff); color: #7a5310; }

.track-panel { display: grid; gap: 0.65rem; }
.track-phase {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}
.track-phase-en_route strong { color: var(--clay-deep); }
.track-phase-base strong { color: var(--olive); }
.track-queue {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
  margin: 0;
  font-size: 1.05rem;
}
.track-queue.is-soon strong { color: var(--clay-deep); }
.track-soon {
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--clay-deep);
  background: color-mix(in srgb, var(--clay) 14%, #fff);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.track-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e4dc;
  min-height: 240px;
  height: 260px;
}
.track-map iframe,
.track-map-live {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}
.track-map .leaflet-container {
  width: 100%;
  height: 100%;
  font: inherit;
}
.track-pin {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.track-pin-base { background: var(--olive); }
.track-pin-courier { background: var(--clay); }
.track-pin-home {
  background: #fff;
  border-color: var(--clay-deep);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--clay) 35%, transparent);
}
.track-map-note { margin: 0; font-size: 0.85rem; }

.hero-week {
  margin-bottom: 1.15rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--olive) 18%, var(--line));
  background:
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--clay) 16%, transparent), transparent 42%),
    linear-gradient(145deg, color-mix(in srgb, var(--olive-soft) 70%, #fff), #fffaf3 70%);
  box-shadow: var(--shadow);
}

.hero-week-copy { display: grid; gap: 0.3rem; }
.hero-week h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}
.hero-week-range {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 650;
  color: var(--ink);
}
.hero-week .hero-actions { margin-top: 0.85rem; }

.day-status {
  margin-left: auto;
  display: grid;
  justify-items: end;
  gap: 0.2rem;
  text-align: right;
}
.day-status .day-chip { margin-left: 0; }
.day-channel {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.2;
}
.day-card.is-ordered .day-channel {
  color: color-mix(in srgb, var(--olive) 75%, #4a443c);
}

.day-card.is-unordered {
  opacity: 0.78;
  box-shadow: none;
  filter: grayscale(0.72) saturate(0.25);
  background: color-mix(in srgb, var(--card) 86%, #d4cec4);
  border-color: color-mix(in srgb, var(--line) 75%, #b0a89c);
}
.day-card.is-unordered .day-num {
  background: #8f887c;
  color: #f4efe6;
}
.day-card.is-unordered .day-chip {
  filter: grayscale(0.4);
}
.day-chip-open {
  background: #ebe6dc;
  color: #6b6358;
}
.day-card.is-ordered {
  outline: 2px solid color-mix(in srgb, var(--ok) 35%, transparent);
  outline-offset: 0;
}

.dish-allergen-hit {
  outline: 2px solid color-mix(in srgb, var(--clay) 55%, transparent);
  outline-offset: 2px;
  border-radius: 14px;
}

.allergen-hit {
  background: color-mix(in srgb, var(--clay) 22%, #fff) !important;
  color: var(--clay-deep) !important;
  font-weight: 750;
}

.plan-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-plan-sub {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  line-height: 1.4;
}

.plan-card-list {
  display: grid;
  gap: 1rem;
}

.plan-card {
  display: grid;
  gap: 0.75rem;
}

.plan-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.plan-card-head strong {
  display: block;
  font-size: 1.1rem;
}

.plan-card-meta {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
}

.plan-channels {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--olive);
}

.plan-day-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.plan-day-sq {
  position: relative;
  width: 3.45rem;
  height: 3.45rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  line-height: 1;
  flex: 0 0 auto;
}

.plan-day-num {
  position: absolute;
  top: -0.28rem;
  right: -0.28rem;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: #fff;
  color: inherit;
  border: 1px solid currentColor;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.plan-day-ico {
  display: grid;
  place-items: center;
}

.ch-ico {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
}

.plan-day-sq.is-past {
  background: #e5e1d8;
  color: #6f685e;
  border-color: #d2ccc2;
}

.plan-day-sq.is-future {
  background: color-mix(in srgb, var(--clay) 16%, #fff7ef);
  color: var(--clay-deep);
  border-color: color-mix(in srgb, var(--clay) 35%, #e8d8c8);
}

.plan-day-sq.is-today {
  background: color-mix(in srgb, var(--ok) 22%, #fff);
  color: #1f6b45;
  border-color: color-mix(in srgb, var(--ok) 45%, #cfe8d8);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ok) 20%, transparent);
}

.plan-card-actions { margin-top: 0.15rem; }
.plan-credit { margin: 0; font-size: 0.88rem; }

.plan-footer-cta {
  margin: 1.6rem 0 0.5rem;
  display: grid;
  justify-items: stretch;
}
.plan-footer-cta .btn {
  width: 100%;
  text-align: center;
  min-height: 2.85rem;
}

.plan-day-list {
  display: grid;
  gap: 0.55rem;
}

.plan-day-row {
  padding: 0.55rem 0.6rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fffaf3;
}

.plan-day-row.is-past { opacity: 0.72; }
.plan-day-row.is-skipped { opacity: 0.55; }

.plan-day-row-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.1rem;
}

.plan-day-row-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  flex: 1 1 auto;
}

.plan-day-row-copy strong { font-size: 1rem; }

.plan-day-status {
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.45rem 0.15rem;
  text-align: right;
}

.plan-day-edit { display: block; }
.plan-day-edit > summary.plan-day-row-main {
  cursor: pointer;
  list-style: none;
}
.plan-day-edit > summary.plan-day-row-main::-webkit-details-marker { display: none; }

.plan-day-change {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 4.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--olive) 35%, var(--line));
  background: color-mix(in srgb, var(--olive-soft) 70%, #fff);
  color: var(--olive);
  font-weight: 750;
  font-size: 0.92rem;
}

.plan-day-edit[open] .plan-day-change {
  background: var(--olive);
  color: #fffaf3;
  border-color: var(--olive);
}

.plan-day-edit-body {
  margin-top: 0.55rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 0.65rem;
}

.plan-day-form {
  display: grid;
  gap: 0.7rem;
}

.plan-day-form .btn,
.plan-day-skip {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
}

.plan-day-skip {
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--clay-deep);
  font-weight: 700;
}

.plan-manage-more {
  margin-top: 1rem;
}
.plan-manage-more summary {
  cursor: pointer;
  font-weight: 750;
  font-size: 1.05rem;
  list-style: none;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}
.plan-manage-more summary::-webkit-details-marker { display: none; }
.plan-manage-more[open] summary { margin-bottom: 0.75rem; }

.plan-card-actions .btn {
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
}

@media (min-width: 720px) {
  .plan-footer-cta { justify-items: start; }
  .plan-footer-cta .btn { width: auto; min-width: 12rem; }
  .plan-day-skip { width: auto; }
}

.section-title {
  margin: 1.4rem 0 0.65rem;
  font-size: 1.25rem;
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.wizard-step {
  border: 1px solid var(--line);
  background: #fffaf3;
  border-radius: 999px;
  padding: 0.55rem 0.4rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
}

.wizard-step.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: #fffaf3;
}

.wizard-step.is-done {
  background: var(--olive-soft);
  color: var(--olive);
  border-color: color-mix(in srgb, var(--olive) 30%, var(--line));
}

.wizard-pane { display: grid; gap: 0.85rem; }

/* Konto */
.account-page {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.account-block {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
}

.account-page .account-block {
  margin-bottom: 0;
}

.account-block-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.account-block-summary {
  margin: 0.15rem 0 0;
  font-weight: 700;
  font-size: 1.02rem;
}

.account-hint {
  margin: 0;
  font-size: 0.88rem;
}

.account-allergens {
  margin: 0;
  padding: 0;
  border: 0;
}

.account-allergens legend {
  font-weight: 750;
  margin-bottom: 0.35rem;
}

.account-check {
  min-height: 2.5rem;
  align-items: center;
}

.account-push-btn {
  justify-self: start;
  min-height: 2.75rem;
}

.account-fold > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: 0.15rem;
  min-height: 2.75rem;
  align-content: center;
}

.account-fold > summary::-webkit-details-marker { display: none; }

.account-fold[open] > summary {
  padding-bottom: 0.55rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px dashed var(--line);
}

.account-fold-body {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.35rem;
}

.account-save {
  display: grid;
}

.account-save .btn {
  min-height: 2.85rem;
  width: 100%;
}

.account-addr-list {
  display: grid;
  gap: 0.45rem;
}

.account-addr {
  border: 1.5px solid color-mix(in srgb, var(--olive) 28%, var(--line));
  border-radius: 14px;
  background: #fffaf3;
  padding: 0.15rem 0.85rem;
}

.account-addr > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 3rem;
  font-weight: 650;
}

.account-addr > summary::-webkit-details-marker { display: none; }

.account-addr-main {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.account-addr-main strong {
  font-size: 0.98rem;
}

.account-addr-main .muted {
  font-size: 0.88rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-addr[open] {
  padding-bottom: 0.85rem;
}

.account-addr[open] > summary {
  margin-bottom: 0.55rem;
  border-bottom: 1px dashed var(--line);
}

.account-addr-form {
  display: grid;
  gap: 0.65rem;
}

.account-addr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.account-addr-actions .btn {
  min-height: 2.6rem;
}

.account-addr-add {
  margin-top: 0.15rem;
  border-style: dashed;
  background: transparent;
}

.account-addr-add > summary {
  color: var(--olive);
  font-weight: 750;
}

.account-foot {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.account-legal {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
}

.account-logout {
  margin: 0;
}

.account-logout-btn {
  width: 100%;
  min-height: 2.85rem;
  border-radius: 14px;
}

.nav-desktop { display: none; }

@media (min-width: 900px) {
  .wrap-client { max-width: 920px; }

  .today-hero {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }

  .today-cover {
    height: 100%;
    min-height: 280px;
  }

  body.has-dock .nav-desktop { display: inline-flex; }
  body.has-dock .dock { display: none; }
  body.has-dock { padding-bottom: 0; }
  body.has-dock .dev-switch { margin-bottom: 1rem; }
}

@media (max-width: 700px) {
  .wizard-step { font-size: 0.74rem; padding: 0.5rem 0.25rem; }
  .plan-head .btn { width: 100%; text-align: center; }
}

/* Nowy okres — zamówienie */
.order-allergen-hint {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
}

.back-row {
  margin: 0 0 0.75rem;
}

.back-btn {
  min-height: 2.75rem;
  padding-inline: 1rem;
  font-size: 0.95rem;
}

.order-plan-form {
  display: grid;
  gap: 0.9rem;
  /* miejsce na sticky — bez podwójnego „dołu” względem body.has-dock */
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

body.has-dock .order-plan-form {
  /* sticky nad dockiem (~4.5rem) + mały zapas; body już daje 6rem pod dock */
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

.order-defaults {
  display: grid;
  gap: 0.75rem;
}

.order-defaults-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.order-defaults-summary {
  margin: 0.15rem 0 0;
  font-weight: 700;
  font-size: 1.02rem;
}

.order-defaults-toggle {
  min-height: 2.75rem;
  flex: 0 0 auto;
}

.order-defaults-panel {
  gap: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--line);
}
.order-defaults-panel[hidden] { display: none !important; }
.order-defaults-panel:not([hidden]) { display: grid; }

.order-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.order-preset {
  min-height: 2.75rem;
  font-size: 0.95rem;
  padding: 0.45rem 0.25rem;
  background: #fffaf3;
  border: 1.5px solid color-mix(in srgb, var(--olive) 55%, var(--line));
  color: var(--olive);
  border-radius: 14px;
  font-weight: 750;
  box-shadow: none;
}

.order-preset:hover {
  border-color: var(--olive);
  background: color-mix(in srgb, var(--olive-soft) 70%, #fff);
}

.order-preset.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: #fffaf3;
}

.order-range-hint {
  margin: 0;
  font-size: 0.88rem;
}

.order-cal {
  display: grid;
  gap: 0.45rem;
}

.order-cal-head {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.order-day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem 0.3rem;
}

.order-day-empty {
  min-height: 4.2rem;
}

.order-day.is-blocked {
  opacity: .45;
  pointer-events: none;
}
.order-day.is-blocked .order-day-ico {
  font-size: .55rem;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
}
.card.is-unread {
  border-color: color-mix(in srgb, var(--clay) 45%, #e8e0d4);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--clay) 20%, transparent);
}
.plan-history-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .65rem 0;
  border-bottom: 1px solid #eee5d8;
}
.plan-history-row:last-child { border-bottom: 0; }
.order-day {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.order-day-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.order-day .order-day-sq {
  width: min(3.15rem, 100%);
  height: 3.15rem;
  background: #fffaf3;
  color: var(--ink);
  border: 1.5px solid color-mix(in srgb, var(--line) 70%, #b8b0a4);
  box-shadow: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.order-day .ch-ico {
  width: 1.65rem;
  height: 1.65rem;
}

.order-day.is-selected .order-day-sq {
  background: color-mix(in srgb, var(--ok) 26%, #fff);
  color: #1f6b45;
  border-color: color-mix(in srgb, var(--ok) 50%, #cfe8d8);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
  transform: scale(1.04);
}

.order-day.is-range-anchor .order-day-sq {
  outline: 2px dashed var(--clay);
  outline-offset: 2px;
}

.order-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, #fffaf3 94%, #fff);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(36, 28, 22, 0.08);
}

body.has-dock .order-sticky {
  bottom: calc(5.1rem + env(safe-area-inset-bottom, 0px));
}

.order-sticky-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.order-sticky-copy strong {
  font-size: 1.2rem;
}

.order-sticky-nudge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clay-deep);
}

.order-sticky-submit {
  min-height: 2.85rem;
  min-width: 8.5rem;
  white-space: nowrap;
}

.order-sticky-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.order-new-address {
  margin-top: 1rem;
}

.order-new-address summary {
  cursor: pointer;
  font-weight: 750;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  list-style: none;
}

.order-new-address summary::-webkit-details-marker { display: none; }
.order-new-address[open] summary { margin-bottom: 0.75rem; }

@media (min-width: 900px) {
  body.has-dock .order-sticky {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(920px, calc(100% - 2rem));
    border-radius: 18px 18px 0 0;
  }

  body.has-dock .order-plan-form {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}
