﻿/* Shared page layouts extracted from style.css.
   Cart, checkout, orders, track, and order-status markup depends on these rules.
   Loaded before the theme skin so each store can override color. */
.notice { padding: 14px 16px; border-radius: var(--radius); background: var(--cream-2); border: 1px solid var(--line); }
.notice.error { border-color: #e8b4b4; background: #fdf2f2; color: #922b21; }
.notice.success { border-color: #b8e0c8; background: #f0fdf4; }
.notice.warning { border-color: #f0d78c; background: var(--mango-pale); }
.mini-copy { font-size: .85rem; color: var(--muted); margin: 0; }
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state p { margin: 0; font-size: 1.05rem; font-weight: 700; }
.empty-state .sub { margin-top: 8px; font-size: .92rem; font-weight: 400; color: var(--muted); }

.catalog-pagination { margin-top: 32px; }
.pagination-inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pagination-btn, .pagination-num {
  padding: 8px 14px;
  border-radius: var(--radius-round);
  border: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 700;
}
.pagination-num.is-active { background: var(--berry); color: var(--cream); border-color: var(--berry); }
.pagination-btn.is-disabled { opacity: .4; pointer-events: none; }

/* â”€â”€ Track & Support: cold-chain courier desk (unique to Appily-Four) â”€â”€ */
.page-coldchain-desk .page-main { background: var(--cream); }

.coldchain-hero {
  position: relative;
  padding: 40px 0 0;
  background: linear-gradient(165deg, #e8f4fc 0%, var(--cream-2) 45%, var(--cream) 100%);
  overflow: hidden;
}
.coldchain-hero-ice {
  position: absolute;
  inset: 0;
  opacity: .45;
  background:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,.9) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.85) 0 2px, transparent 3px),
    radial-gradient(circle at 44% 62%, rgba(255,255,255,.75) 0 1px, transparent 2px),
    radial-gradient(circle at 90% 70%, rgba(255,255,255,.8) 0 2px, transparent 3px);
  pointer-events: none;
}
.coldchain-hero-inner {
  position: relative;
  padding-bottom: 36px;
  max-width: 640px;
}
.coldchain-kicker {
  margin: 0 0 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #2a7a9e;
}
.coldchain-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.08;
  color: var(--ink);
}
.coldchain-hero h1 em {
  font-style: italic;
  color: var(--berry);
}
.coldchain-lede {
  margin: 14px 0 0;
  font-size: .98rem;
  color: var(--muted);
  max-width: 48ch;
}
.coldchain-hero-ridge {
  height: 22px;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%);
}

.coldchain-desk { padding: 8px 0 64px; }
.coldchain-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 340px);
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}

.dispatch-chit-wrap { perspective: 900px; }
.dispatch-chit {
  position: relative;
  background: var(--white);
  border: 2px solid rgba(28, 18, 34, 0.14);
  border-radius: 6px 6px 16px 16px;
  padding: 28px 26px 26px;
  box-shadow: 8px 10px 0 rgba(42, 122, 158, 0.12);
  transform: rotate(-0.4deg);
}
.chit-clip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 28px;
  background: linear-gradient(180deg, #8a8f98, #5c6168);
  border-radius: 4px 4px 2px 2px;
  box-shadow: 0 3px 0 rgba(28, 18, 34, 0.2);
}
.chit-clip::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 8px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
}
.chit-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.chit-barcode {
  font-family: ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--ink);
  padding: 8px 10px;
  background: var(--cream-2);
  border: 1px dashed rgba(28, 18, 34, 0.2);
  border-radius: 4px;
  white-space: nowrap;
}
.chit-label {
  margin: 0 0 4px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2a7a9e;
}
.chit-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}
.chit-note {
  margin: 0 0 20px;
  font-size: .88rem;
  color: var(--muted);
}
.chit-form { display: grid; gap: 14px; }
.chit-field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--berry);
}
.chit-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(42, 122, 158, 0.25);
  border-radius: var(--radius);
  font: inherit;
  background: #f8fcff;
}
.chit-field input:focus {
  outline: 2px solid rgba(42, 122, 158, 0.35);
  border-color: #2a7a9e;
}
.chit-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.fresh-desk {
  background: linear-gradient(180deg, var(--kiwi-pale), var(--white));
  border: 1.5px solid rgba(107, 170, 60, 0.25);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
}
.fresh-desk-title {
  margin: 0 0 14px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kiwi);
}
.fresh-stickers { display: grid; gap: 10px; }
.fresh-sticker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(28, 18, 34, 0.08);
  box-shadow: 0 4px 14px rgba(28, 18, 34, 0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fresh-sticker:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(28, 18, 34, 0.08);
}
.sticker-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: .9rem;
  background: var(--cream-2);
}
.sticker-text { display: grid; gap: 2px; }
.sticker-text strong { font-size: .86rem; }
.sticker-text span { font-size: .74rem; color: var(--muted); }
.fresh-sticker.sticker-orders .sticker-icon { background: var(--mango-pale); color: var(--berry); }
.fresh-sticker.sticker-ship .sticker-icon { background: #e8f4fc; color: #2a7a9e; }
.fresh-sticker.sticker-refund .sticker-icon { background: var(--kiwi-pale); color: var(--kiwi); }
.fresh-desk-foot {
  margin: 16px 0 0;
  font-size: .78rem;
  color: var(--muted);
  word-break: break-all;
}

.chain-passport-zone { max-width: 760px; }
.chain-passport {
  background: var(--white);
  border: 2px solid rgba(42, 122, 158, 0.2);
  border-radius: 8px 8px 20px 20px;
  padding: 24px 26px 28px;
  position: relative;
  box-shadow: var(--shadow);
}
.passport-perforation {
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 6px;
  background: radial-gradient(circle, var(--cream-2) 3px, transparent 3px) repeat-x;
  background-size: 10px 6px;
  transform: translateY(-3px);
}
.passport-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.passport-stamp {
  display: inline-block;
  padding: 6px 14px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 3px;
  transform: rotate(-4deg);
}
.passport-stamp-ok {
  color: var(--cream);
  background: var(--kiwi);
  border: 2px solid #508246;
}
.passport-stamp-warn {
  color: var(--cream);
  background: var(--berry);
  border: 2px solid var(--mango);
  margin-bottom: 12px;
}
.passport-status {
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-round);
  background: #e8f4fc;
  color: #2a7a9e;
}
.passport-order-id {
  margin: 0 0 16px;
  font-family: ui-monospace, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .04em;
}
.passport-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 22px;
}
.passport-stats div {
  padding: 12px;
  background: var(--cream-2);
  border-radius: var(--radius);
  text-align: center;
}
.passport-stats dt {
  margin: 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.passport-stats dd {
  margin: 6px 0 0;
  font-size: .95rem;
  font-weight: 800;
  color: var(--berry);
}

.coldchain-rail {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  margin: 0 0 22px;
  padding: 18px 12px;
  background: linear-gradient(180deg, #f0f9ff, var(--cream));
  border: 1px solid rgba(42, 122, 158, 0.15);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}
.coldchain-node {
  flex: 1;
  min-width: 72px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.coldchain-bubble {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(42, 122, 158, 0.2);
  position: relative;
}
.coldchain-temp {
  font-size: .62rem;
  font-weight: 800;
  color: #2a7a9e;
}
.coldchain-label {
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--muted);
}
.coldchain-connector {
  flex: 0 0 18px;
  height: 2px;
  margin-top: 22px;
  background: rgba(42, 122, 158, 0.2);
  border-radius: 1px;
}
.coldchain-node.is-done .coldchain-bubble {
  background: #e8f4fc;
  border-color: #2a7a9e;
}
.coldchain-node.is-done .coldchain-label { color: var(--ink); }
.coldchain-node.is-current .coldchain-bubble {
  background: #2a7a9e;
  border-color: #2a7a9e;
  box-shadow: 0 0 0 4px rgba(42, 122, 158, 0.2);
}
.coldchain-node.is-current .coldchain-temp { color: var(--cream); }
.coldchain-node.is-current .coldchain-label { color: var(--berry); font-weight: 800; }

.chain-passport-miss h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.passport-miss-note {
  margin: 0 0 18px;
  font-size: .92rem;
  color: var(--muted);
  max-width: 42ch;
}

.chain-passport-idle {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border: 2px dashed rgba(42, 122, 158, 0.22);
  border-radius: var(--radius-lg);
}
.passport-idle-icon {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: .7;
}
.chain-passport-idle p {
  margin: 0;
  font-size: .95rem;
  color: var(--muted);
  max-width: 36ch;
  margin-inline: auto;
}

@media (max-width: 960px) {
  .coldchain-layout { grid-template-columns: 1fr; }
  .dispatch-chit { transform: none; }
  .passport-stats { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .coldchain-rail { flex-wrap: wrap; justify-content: center; }
  .coldchain-connector { display: none; }
  .coldchain-node { min-width: 64px; }
  .chit-head { flex-direction: column; }
}

/* â”€â”€ Cart: woven picking basket (unique to Appily-Four) â”€â”€ */
.page-picking-basket .page-main { background: var(--cream); }

.basket-cart { padding-bottom: 64px; }
.basket-cart-hero {
  position: relative;
  padding: 36px 0 0;
  background: linear-gradient(180deg, #f3e8dc 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.basket-weave {
  position: absolute;
  inset: 0;
  opacity: .5;
  background:
    repeating-linear-gradient(45deg, rgba(139, 90, 43, 0.06) 0 3px, transparent 3px 12px),
    repeating-linear-gradient(-45deg, rgba(139, 90, 43, 0.05) 0 3px, transparent 3px 12px);
}
.basket-handle {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 48px;
  border: 4px solid #8b5a2b;
  border-bottom: 0;
  border-radius: 60px 60px 0 0;
  opacity: .35;
}
.basket-hero-inner {
  position: relative;
  text-align: center;
  padding-bottom: 32px;
}
.basket-kicker {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8b5a2b;
}
.basket-cart-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--ink);
}
.basket-cart-hero h1 em {
  font-style: italic;
  color: var(--berry);
}
.basket-lede {
  margin: 12px auto 0;
  max-width: 48ch;
  font-size: .95rem;
  color: var(--muted);
}
.basket-rim {
  height: 28px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 0%);
  margin-top: -4px;
}

.basket-body { padding-top: 8px; }

.basket-empty {
  text-align: center;
  padding: 48px 24px 56px;
  background: var(--white);
  border: 2px dashed rgba(139, 90, 43, 0.25);
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin: 0 auto;
}
.basket-empty-vessel {
  position: relative;
  width: 140px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(180deg, #e8dcc8, #d4c4a8);
  border: 3px solid #8b5a2b;
  box-shadow: inset 0 -12px 24px rgba(28, 18, 34, 0.08);
}
.empty-weave {
  position: absolute;
  inset: 12px 16px 20px;
  border-radius: 0 0 40% 40%;
  background:
    repeating-linear-gradient(90deg, rgba(139, 90, 43, 0.12) 0 4px, transparent 4px 10px);
}
.empty-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: rgba(123, 30, 75, 0.45);
}
.basket-empty h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--berry);
}
.basket-empty p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .92rem;
}

.basket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 28px;
  align-items: start;
}

.basket-well {
  background: linear-gradient(180deg, #ebe1d2 0%, #e0d4c2 100%);
  border: 3px solid #8b5a2b;
  border-radius: 0 0 40% 40% / 0 0 12% 12%;
  padding: 28px 20px 32px;
  box-shadow:
    inset 0 8px 24px rgba(28, 18, 34, 0.08),
    0 16px 40px rgba(28, 18, 34, 0.08);
  position: relative;
}
.basket-well::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 6px;
  background: repeating-linear-gradient(90deg, #8b5a2b 0 8px, #c4a574 8px 16px);
  border-radius: 0 0 4px 4px;
}

.basket-picks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.basket-pick {
  display: grid;
  grid-template-columns: auto 72px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 18, 34, 0.08);
  box-shadow: 0 6px 18px rgba(28, 18, 34, 0.06);
  position: relative;
}
.pick-clip {
  position: absolute;
  top: -6px;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #8a8f98;
  box-shadow: 0 2px 0 rgba(28, 18, 34, 0.15);
}
.pick-num {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  justify-self: center;
}
.pick-fruit {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--mango-pale);
  box-shadow: inset 0 0 0 2px var(--white);
  background: var(--cream-2);
}
.pick-fruit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pick-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.4rem;
  color: var(--berry);
  opacity: .4;
}
.pick-details { min-width: 0; }
.pick-sku {
  display: inline-block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--berry);
  background: var(--mango-pale);
  padding: 2px 8px;
  border-radius: var(--radius-round);
  margin-bottom: 4px;
}
.pick-details h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.25;
}
.pick-details h2 a:hover { color: var(--berry); }
.basket-pick .pick-pack {
  margin: 0 0 4px;
  font-size: .82rem;
  color: var(--muted);
}
.pick-unit {
  font-size: .78rem;
  font-weight: 700;
  color: var(--kiwi);
}
.basket-pick .pick-qty {
  display: grid;
  gap: 4px;
  text-align: center;
}
.basket-pick .pick-qty label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.basket-pick .pick-qty input {
  width: 64px;
  padding: 8px;
  text-align: center;
  border: 1.5px solid rgba(123, 30, 75, 0.2);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  background: var(--cream);
}
.pick-line-total {
  text-align: right;
  min-width: 72px;
}
.pick-line-label {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.pick-line-total strong {
  font-size: 1.05rem;
  color: var(--berry);
}

.basket-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.basket-weigh-slip {
  position: sticky;
  top: 200px;
  background: #f8f6f2;
  border: 1px solid rgba(28, 18, 34, 0.12);
  padding: 22px 20px 18px;
  font-family: ui-monospace, 'Courier New', monospace;
  box-shadow: 0 8px 28px rgba(28, 18, 34, 0.08);
}
.weigh-slip-tear {
  height: 6px;
  background: radial-gradient(circle, #f8f6f2 2px, transparent 2px) repeat-x;
  background-size: 8px 6px;
  margin: 0 -20px;
}
.weigh-slip-tear-top { margin-bottom: 14px; transform: translateY(-22px); }
.weigh-slip-tear-bottom { margin-top: 14px; transform: translateY(18px); }
.weigh-slip-store {
  margin: 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.weigh-slip-title {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}
.weigh-slip-meta {
  margin: 6px 0 16px;
  font-size: .72rem;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(28, 18, 34, 0.2);
}
.weigh-slip-rows {
  margin: 0 0 14px;
  display: grid;
  gap: 8px;
}
.weigh-slip-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .82rem;
}
.weigh-slip-rows dt {
  margin: 0;
  color: var(--muted);
}
.weigh-slip-rows dd {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}
.weigh-slip-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  margin-bottom: 14px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-size: .88rem;
}
.weigh-slip-total strong {
  font-size: 1.2rem;
  color: var(--berry);
}
.weigh-slip-notes {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: .68rem;
  color: var(--muted);
  display: grid;
  gap: 4px;
}
.weigh-slip-notes li::before {
  content: 'Â· ';
}
.basket-checkout-btn { margin-bottom: 8px; }
.weigh-slip-barcode {
  text-align: center;
  font-size: .72rem;
  letter-spacing: .2em;
  color: rgba(28, 18, 34, 0.35);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .basket-layout { grid-template-columns: 1fr; }
  .basket-weigh-slip { position: static; order: -1; }
}

@media (max-width: 680px) {
  .basket-pick {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    gap: 10px 12px;
  }
  .pick-num { display: none; }
  .pick-clip { left: 12px; }
  .pick-fruit { width: 64px; height: 64px; }
  .basket-pick .pick-qty,
  .basket-pick .pick-line-total {
    grid-column: 2;
  }
  .basket-pick .pick-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
  }
  .pick-line-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

/* â”€â”€ Orders: cold-room dispatch shelf (unique to Appily-Four) â”€â”€ */
.page-coldroom-shelf .page-main { background: var(--cream); }

.coldroom-orders { padding-bottom: 64px; }
.coldroom-orders-hero {
  position: relative;
  padding: 36px 0 0;
  background: linear-gradient(180deg, #dceef5 0%, #e8f4fc 45%, var(--cream) 100%);
  overflow: hidden;
}
.coldroom-frost {
  position: absolute;
  inset: 0;
  opacity: .55;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.95) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.85) 0 2px, transparent 3px),
    radial-gradient(circle at 48% 68%, rgba(255,255,255,.75) 0 1px, transparent 2px);
  pointer-events: none;
}
.coldroom-hero-inner {
  position: relative;
  text-align: center;
  padding-bottom: 28px;
  max-width: 640px;
  margin-inline: auto;
}
.coldroom-kicker {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #2a7a9e;
}
.coldroom-orders-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--ink);
}
.coldroom-orders-hero h1 em {
  font-style: italic;
  color: var(--berry);
}
.coldroom-lede {
  margin: 12px auto 0;
  font-size: .95rem;
  color: var(--muted);
  max-width: 48ch;
}
.coldroom-shelf-rail {
  height: 8px;
  background: linear-gradient(180deg, #8a9aa8, #6b7a88);
  box-shadow: 0 4px 12px rgba(42, 122, 158, 0.2);
}

.coldroom-stage { padding-top: 28px; }
.coldroom-loading { text-align: center; max-width: 420px; margin: 0 auto 24px; }

.coldroom-guest { max-width: 480px; margin: 0 auto; }
.coldroom-door {
  text-align: center;
  padding: 48px 28px 52px;
  background: linear-gradient(180deg, #e8f4fc, var(--white));
  border: 2px solid rgba(42, 122, 158, 0.25);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.door-frost-ring {
  position: absolute;
  inset: 16px;
  border: 2px dashed rgba(42, 122, 158, 0.15);
  border-radius: var(--radius);
  pointer-events: none;
}
.door-lock {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: .75;
}
.coldroom-door h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--berry);
}
.coldroom-door p {
  margin: 0 0 20px;
  font-size: .92rem;
  color: var(--muted);
  max-width: 36ch;
  margin-inline: auto;
}
.coldroom-guest-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.coldroom-shelf-unit {
  position: relative;
  background: linear-gradient(180deg, #c8d4dc 0%, #b8c4cc 100%);
  border-radius: 8px;
  padding: 36px 24px 28px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.4),
    0 20px 50px rgba(28, 18, 34, 0.1);
}
.shelf-bracket {
  position: absolute;
  top: 12px;
  width: 12px;
  height: 28px;
  background: #6b7a88;
  border-radius: 2px;
}
.shelf-bracket-left { left: 16px; }
.shelf-bracket-right { right: 16px; }
.shelf-label {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(28, 18, 34, 0.45);
}

.crate-shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.crate-shelf-card {
  position: relative;
  background: var(--white);
  border: 2px solid rgba(28, 18, 34, 0.1);
  border-radius: 6px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 24px rgba(28, 18, 34, 0.08);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.crate-shelf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(28, 18, 34, 0.12);
}
.crate-slot-num {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(28, 18, 34, 0.25);
}
.crate-stencil {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .08em;
  color: rgba(28, 18, 34, 0.04);
  pointer-events: none;
}
.crate-card-vent {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 60%;
  background: repeating-linear-gradient(
    180deg,
    rgba(42, 122, 158, 0.15) 0 4px,
    transparent 4px 8px
  );
  border-radius: 0 3px 3px 0;
}

.crate-shelf-card.tone-tropical { border-top: 4px solid var(--mango); }
.crate-shelf-card.tone-citrus { border-top: 4px solid #e6b428; }
.crate-shelf-card.tone-berry { border-top: 4px solid var(--berry); }
.crate-shelf-card.tone-melon { border-top: 4px solid var(--kiwi); }

.crate-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 28px;
}
.crate-temp-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f4fc;
  border: 2px solid rgba(42, 122, 158, 0.25);
}
.crate-temp-icon {
  font-size: .55rem;
  line-height: 1;
  opacity: .7;
}
.crate-temp-code {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #2a7a9e;
}
.crate-temp-badge.crate-status-delivered { background: var(--kiwi-pale); border-color: var(--kiwi); }
.crate-temp-badge.crate-status-delivered .crate-temp-code { color: var(--kiwi); }
.crate-temp-badge.crate-status-shipped { background: #e8f4fc; border-color: #2a7a9e; }
.crate-temp-badge.crate-status-cancelled { background: #fdf2f2; border-color: #c0392b; }
.crate-temp-badge.crate-status-cancelled .crate-temp-code { color: #c0392b; }
.crate-temp-badge.crate-status-confirmed { background: var(--mango-pale); border-color: var(--mango); }
.crate-temp-badge.crate-status-confirmed .crate-temp-code { color: var(--berry); }

.crate-label {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.crate-card-id strong {
  font-size: .92rem;
  word-break: break-all;
  color: var(--ink);
}

.crate-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 10px;
  font-size: .78rem;
  color: var(--ink);
}
.crate-card-items {
  margin: 0 0 14px;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.45;
  padding: 10px 12px;
  background: var(--cream-2);
  border-radius: var(--radius);
  border-left: 3px solid rgba(42, 122, 158, 0.25);
}

.crate-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(28, 18, 34, 0.12);
}
.crate-card-total strong {
  font-size: 1.05rem;
  color: var(--berry);
}
.crate-status-text {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-round);
  background: var(--cream-2);
  color: var(--muted);
}
.crate-status-text.crate-status-delivered { background: var(--kiwi-pale); color: var(--kiwi); }
.crate-status-text.crate-status-shipped { background: #e8f4fc; color: #2a7a9e; }
.crate-status-text.crate-status-cancelled { background: #fdf2f2; color: #c0392b; }
.crate-status-text.crate-status-confirmed { background: var(--mango-pale); color: var(--berry); }
.crate-track-btn { margin-left: auto; }

.coldroom-empty {
  text-align: center;
  padding: 40px 24px 48px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px dashed rgba(42, 122, 158, 0.22);
  border-radius: var(--radius-lg);
  margin-top: 12px;
}
.empty-shelf-slots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.empty-shelf-slots span {
  width: 72px;
  height: 48px;
  border: 2px dashed rgba(42, 122, 158, 0.2);
  border-radius: 4px;
  background: rgba(232, 244, 252, 0.5);
}
.coldroom-empty h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--berry);
}
.coldroom-empty p {
  margin: 0 0 18px;
  font-size: .92rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .crate-shelf-grid { grid-template-columns: 1fr; }
  .coldroom-shelf-unit { padding: 32px 16px 24px; }
  .crate-card-foot { flex-direction: column; align-items: stretch; }
  .crate-track-btn { margin-left: 0; width: 100%; text-align: center; }
}

/* â”€â”€ Checkout: orchard packing bench (unique to Appily-Four) â”€â”€ */
.page-packing-bench .page-main { background: var(--cream); }

.packing-bench { padding-bottom: 64px; }
.packing-bench-hero {
  position: relative;
  padding: 32px 0 28px;
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  border-bottom: 3px solid var(--mango);
}
.packing-tape-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--berry) 0 24px,
    var(--mango) 24px 48px,
    var(--kiwi) 48px 72px,
    transparent 72px 80px
  );
  opacity: .85;
}
.packing-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.packing-kicker {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--berry);
}
.packing-bench-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--ink);
}
.packing-bench-hero h1 em {
  font-style: italic;
  color: var(--berry);
}
.packing-lede {
  margin: 10px 0 0;
  font-size: .95rem;
  color: var(--muted);
  max-width: 44ch;
}
.packing-badge {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid rgba(123, 30, 75, 0.15);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(255, 122, 51, 0.2);
  text-align: right;
}
.packing-badge-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.packing-badge-code {
  font-family: ui-monospace, monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--berry);
}
.packing-badge-qty {
  font-size: .78rem;
  color: var(--kiwi);
  font-weight: 700;
}

.packing-stage { padding-top: 28px; }
.packing-timeline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.packing-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-round);
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.packing-step.is-active {
  background: var(--mango-pale);
  border-color: rgba(255, 122, 51, 0.35);
  color: var(--berry);
}
.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mango);
}

.packing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}

.packing-clipboard {
  position: relative;
  background: #f7f2ea;
  border: 2px solid rgba(139, 90, 43, 0.2);
  border-radius: 6px 6px 12px 12px;
  box-shadow: 0 16px 40px rgba(28, 18, 34, 0.08);
}
.clipboard-clip {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 32px;
  background: linear-gradient(180deg, #9a9ea6, #6b7078);
  border-radius: 6px 6px 2px 2px;
  box-shadow: 0 4px 0 rgba(28, 18, 34, 0.15);
  z-index: 2;
}
.clipboard-clip::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 10px;
  background: rgba(255,255,255,.2);
  border-radius: 2px;
}
.clipboard-body {
  padding: 32px 28px 28px;
  background:
    linear-gradient(rgba(123, 30, 75, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 30, 75, 0.025) 1px, transparent 1px),
    #fffdf9;
  background-size: 22px 22px;
  border-radius: 0 0 10px 10px;
}
.packing-error { margin-bottom: 18px; }

.packing-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.packing-segment legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--berry);
  margin-bottom: 14px;
  padding: 0;
}
.segment-stamp {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 800;
  color: var(--cream);
}
.segment-stamp-a { background: var(--mango); }
.segment-stamp-b { background: var(--berry); }
.segment-stamp-c { background: var(--kiwi); }

.packing-tape-divider {
  margin: 22px 0;
  height: 12px;
  position: relative;
  overflow: hidden;
}
.packing-tape-divider span {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(
    -2deg,
    rgba(255, 122, 51, 0.35) 0 8px,
    rgba(255, 122, 51, 0.15) 8px 16px
  );
  transform: rotate(-0.5deg);
  border-radius: 2px;
}

.packing-fields {
  display: grid;
  gap: 14px;
}
.packing-fields-duo { grid-template-columns: 1fr 1fr; }
.packing-fields-route { grid-template-columns: 1fr 1fr; }
.packing-field-wide { grid-column: 1 / -1; }
.field-tag {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 6px;
}
.packing-field input,
.packing-field textarea,
.packing-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(123, 30, 75, 0.18);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}
.packing-field input:focus,
.packing-field textarea:focus,
.packing-field select:focus {
  outline: none;
  border-color: var(--mango);
  box-shadow: 0 0 0 3px rgba(255, 122, 51, 0.12);
}
.field-hint {
  display: block;
  margin-top: 4px;
  font-size: .72rem;
  color: var(--muted);
}

.packing-pay-single {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  background: var(--kiwi-pale);
  border: 1.5px solid rgba(107, 170, 60, 0.35);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--ink);
}
.pay-sticker {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--kiwi);
  color: var(--cream);
  font-size: .85rem;
  font-weight: 800;
}
.packing-pay-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pay-sticker-option {
  cursor: pointer;
}
.pay-sticker-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pay-sticker-body {
  display: block;
  padding: 12px 16px;
  background: var(--white);
  border: 2px dashed rgba(123, 30, 75, 0.25);
  border-radius: var(--radius);
  font-size: .86rem;
  font-weight: 700;
  transition: background .2s, border-color .2s, transform .2s;
}
.pay-sticker-option input:checked + .pay-sticker-body {
  background: var(--mango-pale);
  border-style: solid;
  border-color: var(--mango);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 122, 51, 0.15);
}

.packing-form-foot { margin-top: 24px; }
.packing-policy {
  margin: 0 0 16px;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}
.packing-policy a {
  color: var(--berry);
  font-weight: 700;
}
.packing-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.packing-seal-btn { margin-left: auto; }

.crate-lid-summary {
  position: sticky;
  top: 200px;
}
.crate-lid-open {
  position: relative;
  height: 24px;
  margin-bottom: -8px;
  z-index: 1;
}
.lid-flap {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 20px;
  background: linear-gradient(180deg, #c4a574, #a88858);
  border: 2px solid #8b5a2b;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  transform: perspective(120px) rotateX(25deg);
  transform-origin: bottom center;
}
.lid-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #8b5a2b;
  border-radius: 2px;
}
.crate-lid-inner {
  position: relative;
  background: var(--white);
  border: 3px solid #8b5a2b;
  border-radius: 0 0 12px 12px;
  padding: 22px 20px 24px;
  box-shadow: 0 16px 40px rgba(28, 18, 34, 0.1);
}
.crate-lid-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px dashed rgba(139, 90, 43, 0.25);
}
.crate-lid-stencil {
  display: inline-block;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  color: rgba(139, 90, 43, 0.5);
  margin-bottom: 6px;
}
.crate-lid-head h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--berry);
}
.crate-lid-head p {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
}

.crate-lid-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}
.crate-lid-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
}
.crate-lid-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--mango-pale);
  background: var(--cream-2);
}
.crate-lid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.crate-lid-thumb-empty {
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--berry);
  opacity: .35;
}
.crate-lid-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.crate-lid-info strong {
  font-size: .84rem;
  line-height: 1.25;
}
.crate-lid-info span {
  font-size: .72rem;
  color: var(--muted);
}
.crate-lid-price {
  font-size: .88rem;
  font-weight: 800;
  color: var(--berry);
  white-space: nowrap;
}

.crate-lid-totals {
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
  font-size: .84rem;
}
.crate-lid-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.crate-lid-totals dt { margin: 0; color: var(--muted); }
.crate-lid-totals dd { margin: 0; font-weight: 700; }
.crate-lid-grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  margin-bottom: 12px;
  border-top: 2px solid var(--berry);
  border-bottom: 2px solid var(--berry);
  font-size: .9rem;
}
.crate-lid-grand strong {
  font-size: 1.25rem;
  color: var(--berry);
}
.crate-lid-notes {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .72rem;
  color: var(--muted);
  display: grid;
  gap: 4px;
}
.crate-lid-notes li::before { content: 'Â· '; }
.crate-lid-ready {
  position: absolute;
  top: 18px;
  right: 16px;
  padding: 6px 12px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--kiwi);
  border: 2px solid var(--kiwi);
  transform: rotate(8deg);
  opacity: .7;
}

@media (max-width: 960px) {
  .packing-layout { grid-template-columns: 1fr; }
  .crate-lid-summary { position: static; order: -1; }
  .packing-fields-duo,
  .packing-fields-route { grid-template-columns: 1fr; }
  .packing-seal-btn { margin-left: 0; width: 100%; }
  .packing-actions { flex-direction: column; align-items: stretch; }
}

/* â”€â”€ Order status: orchard journey board (unique to Appily-Four) â”€â”€ */
.page-journey-board .page-main,
.page-journey-lost .page-main { background: var(--cream); }

.journey-board { padding-bottom: 64px; }
.journey-hero {
  position: relative;
  padding: 36px 0 32px;
  background: linear-gradient(135deg, var(--kiwi-pale) 0%, var(--cream-2) 50%, var(--mango-pale) 100%);
  overflow: hidden;
}
.journey-road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  opacity: .2;
  background:
    radial-gradient(circle at 10% 80%, var(--kiwi) 0 3px, transparent 4px),
    radial-gradient(circle at 30% 60%, var(--mango) 0 2px, transparent 3px),
    radial-gradient(circle at 55% 75%, var(--berry) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 55%, var(--kiwi) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 70%, var(--mango) 0 3px, transparent 4px);
}
.journey-road::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(107, 170, 60, 0.4) 0 16px, transparent 16px 28px);
  border-radius: 2px;
}
.journey-hero-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.journey-kicker {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--kiwi);
}
.journey-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--ink);
}
.journey-hero h1 em {
  font-style: italic;
  color: var(--berry);
}
.journey-lede {
  margin: 10px 0 0;
  font-size: .95rem;
  color: var(--muted);
  max-width: 46ch;
}
.journey-board-badge {
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  background: var(--white);
  border: 2px solid rgba(107, 170, 60, 0.25);
  border-radius: var(--radius);
  text-align: right;
  box-shadow: 4px 4px 0 rgba(107, 170, 60, 0.15);
}
.board-badge-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.board-badge-code {
  font-family: ui-monospace, monospace;
  font-size: 1rem;
  font-weight: 800;
  color: var(--kiwi);
}

.journey-stage { padding-top: 28px; }

.journey-departure-card {
  position: relative;
  margin-bottom: 28px;
  background: var(--white);
  border: 2px solid rgba(28, 18, 34, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.departure-label-strip {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--berry) 0 20px,
    var(--mango) 20px 40px,
    var(--kiwi) 40px 60px
  );
}
.journey-departure-card.tone-ripe .departure-label-strip {
  background: linear-gradient(90deg, var(--kiwi), #508246);
}
.journey-departure-card.tone-transit .departure-label-strip {
  background: linear-gradient(90deg, #2a7a9e, #5a9ec4);
}
.journey-departure-card.tone-spoiled .departure-label-strip {
  background: linear-gradient(90deg, #c0392b, var(--berry));
}
.journey-departure-card.tone-packed .departure-label-strip {
  background: linear-gradient(90deg, var(--mango), #e6b428);
}
.departure-body { padding: 24px 26px 26px; }
.departure-kicker {
  margin: 0 0 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.departure-order-id {
  margin: 0 0 10px;
  font-family: ui-monospace, monospace;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  word-break: break-all;
}
.departure-status {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-round);
  background: var(--mango-pale);
  color: var(--berry);
}
.journey-departure-card.tone-ripe .departure-status { background: var(--kiwi-pale); color: var(--kiwi); }
.journey-departure-card.tone-transit .departure-status { background: #e8f4fc; color: #2a7a9e; }
.journey-departure-card.tone-spoiled .departure-status { background: #fdf2f2; color: #c0392b; }
.departure-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
}
.departure-meta div {
  padding: 12px;
  background: var(--cream-2);
  border-radius: var(--radius);
}
.departure-meta dt {
  margin: 0 0 4px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.departure-meta dd {
  margin: 0;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 22px;
}
.journey-route-panel { grid-column: 1; grid-row: 1; }
.journey-manifest-panel { grid-column: 2; grid-row: 1 / 3; }
.journey-quality-desk { grid-column: 1; grid-row: 2; }

.journey-panel-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--berry);
}

.journey-route-panel,
.journey-manifest-panel,
.journey-quality-desk {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  box-shadow: 0 8px 24px rgba(28, 18, 34, 0.05);
}

.journey-cancelled {
  text-align: center;
  padding: 24px 16px;
  background: #fdf2f2;
  border: 2px dashed rgba(192, 57, 43, 0.3);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.journey-cancel-stamp {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 14px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: #c0392b;
  border: 2px solid #c0392b;
  transform: rotate(-4deg);
}
.journey-cancelled p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
}

.journey-vine {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 0;
  position: relative;
}
.journey-vine::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: linear-gradient(180deg, var(--kiwi), var(--mango), var(--berry));
  border-radius: 2px;
  opacity: .35;
}
.journey-milestone {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  position: relative;
}
.milestone-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  border: 2px solid var(--line);
  font-size: 1.1rem;
  z-index: 1;
}
.journey-milestone.is-done .milestone-icon {
  background: var(--kiwi-pale);
  border-color: var(--kiwi);
}
.journey-milestone.is-active .milestone-icon {
  background: var(--mango-pale);
  border-color: var(--mango);
  box-shadow: 0 0 0 4px rgba(255, 122, 51, 0.2);
  transform: scale(1.08);
}
.milestone-copy strong {
  display: block;
  font-size: .9rem;
  color: var(--ink);
}
.milestone-copy span {
  font-size: .78rem;
  color: var(--muted);
}
.journey-milestone.is-active .milestone-copy strong { color: var(--berry); }

.journey-address-card {
  padding: 16px;
  background: var(--cream-2);
  border-radius: var(--radius);
  border-left: 4px solid var(--kiwi);
}
.journey-address-card h4 {
  margin: 0 0 8px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--berry);
}
.journey-address-card p {
  margin: 0 0 4px;
  font-size: .88rem;
  color: var(--ink);
  line-height: 1.45;
}
.journey-phone {
  margin-top: 8px !important;
  font-weight: 700;
  color: var(--muted);
}

.journey-manifest-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px dashed rgba(139, 90, 43, 0.2);
}
.manifest-stencil {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .1em;
  color: rgba(139, 90, 43, 0.35);
}
.journey-manifest-head h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--berry);
}
.journey-manifest-head p {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
}

.journey-manifest-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}
.journey-manifest-row {
  display: grid;
  grid-template-columns: 40px auto 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid rgba(28, 18, 34, 0.06);
}
.manifest-fruit {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--mango-pale);
}
.manifest-fruit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.manifest-fruit-empty {
  display: grid;
  place-items: center;
  background: var(--cream-2);
  color: var(--berry);
  opacity: .35;
  font-size: .9rem;
}
.manifest-num {
  font-size: .68rem;
  font-weight: 800;
  color: var(--muted);
}
.manifest-name {
  font-size: .84rem;
  font-weight: 600;
  min-width: 0;
  line-height: 1.25;
}
.manifest-qty {
  font-size: .78rem;
  color: var(--muted);
}
.manifest-amt {
  font-size: .88rem;
  font-weight: 800;
  color: var(--berry);
  white-space: nowrap;
}
.journey-manifest-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 0;
  border-top: 2px solid var(--berry);
  font-size: .9rem;
}
.journey-manifest-total strong {
  font-size: 1.2rem;
  color: var(--berry);
}

.quality-desk-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.quality-desk-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--berry);
  color: var(--cream);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.quality-desk-head h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--berry);
}
.quality-desk-head p {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
}
.quality-desk-form {
  display: grid;
  gap: 14px;
}
.quality-label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 6px;
}
.quality-field input,
.quality-field select,
.quality-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(123, 30, 75, 0.18);
  border-radius: var(--radius);
  font: inherit;
  background: var(--cream);
}
.quality-field input:focus,
.quality-field select:focus,
.quality-field textarea:focus {
  outline: none;
  border-color: var(--mango);
  box-shadow: 0 0 0 3px rgba(255, 122, 51, 0.12);
}
.quality-log {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.quality-log h4 {
  margin: 0 0 12px;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.quality-log-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.quality-log-item:last-child { border-bottom: 0; }
.quality-log-item strong {
  display: block;
  font-size: .86rem;
  color: var(--berry);
  margin-bottom: 4px;
}
.quality-log-item p {
  margin: 0 0 4px;
  font-size: .84rem;
  color: var(--ink);
  line-height: 1.45;
}
.quality-log-item time {
  font-size: .72rem;
  color: var(--muted);
}

.journey-foot-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed rgba(123, 30, 75, 0.2);
}

/* 404 lost crate */
.journey-lost {
  padding: 64px 0 80px;
}
.journey-lost-wrap {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.journey-lost-crate {
  width: 120px;
  height: 90px;
  margin: 0 auto 24px;
  border-radius: 0 0 40% 40% / 0 0 100% 100%;
  background: linear-gradient(180deg, #e8dcc8, #d4c4a8);
  border: 3px solid #8b5a2b;
  display: grid;
  place-items: center;
  position: relative;
}
.lost-crate-mark {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(123, 30, 75, 0.4);
}
.journey-lost h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--berry);
}
.journey-lost p {
  margin: 0 0 22px;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.55;
}
.journey-lost-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 960px) {
  .journey-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .journey-route-panel,
  .journey-manifest-panel,
  .journey-quality-desk {
    grid-column: 1;
    grid-row: auto;
  }
  .departure-meta { grid-template-columns: 1fr 1fr; }
  .journey-manifest-row {
    grid-template-columns: 40px 1fr auto;
    grid-template-rows: auto auto;
  }
  .manifest-num { display: none; }
  .manifest-qty,
  .manifest-amt { grid-column: 2; }
  .manifest-amt { justify-self: end; }
}

@media (max-width: 520px) {
  .departure-meta { grid-template-columns: 1fr; }
  .journey-foot-nav { flex-direction: column; }
  .journey-foot-nav .btn { width: 100%; text-align: center; }
}


