/* Appily-Ninetyseven ONLY — Platebelt Cart (exclusive shell)
   Isolated: no shared .page-cart / a97-cart.css / a36-cart.css /
   peer Wiretag · Furrow · Stencil · Cloche · Conveyor Bowl · Brickbond · Gumball.
   Conveyor oval plates · seasoning-tray promo · pass-window checkout.
   Scope root: body.page-a97-platebelt */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.page-a97-platebelt,
body.a97-belt.page-a97-platebelt {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--bt-ink);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(255, 51, 102, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 10%, rgba(0, 194, 160, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bt-field) 0%, var(--bt-mist) 45%, #EEF8F4 100%);
  -webkit-font-smoothing: antialiased;
}

/* Suppress legacy / peer cart chrome if a stray sheet is ever linked */
body.page-a97-platebelt .a97-cart,
body.page-a97-platebelt .a97-cart-layout,
body.page-a97-platebelt .a36-cart-creative,
body.page-a97-platebelt .wt-main,
body.page-a97-platebelt .sd-stack,
body.page-a97-platebelt .ledger-slip,
body.page-a97-platebelt .fu-furrow,
body.page-a97-platebelt .a94-slate {
  display: none !important;
}

.bt-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bt-ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.bt-skip:focus { left: 8px; top: 8px; }

/* —— Hop —— */
.bt-hop {
  position: relative;
  top: 0;
  z-index: 40;
  background: var(--bt-ink);
  color: #fff;
  border-bottom: 3px solid var(--bt-rose);
}
.bt-hop-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px var(--space-page);
}
.bt-hop-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  flex-shrink: 0;
}
.bt-hop-mark {
  width: 22px;
  height: 14px;
  border-radius: 50%;
  background: var(--bt-mint);
  border: 2px solid #fff;
  box-shadow: 4px 0 0 var(--bt-rose), 8px 0 0 var(--bt-gold);
}
.bt-hop-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-left: auto;
}
.bt-hop-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.bt-hop-links a:hover,
.bt-hop-links a[aria-current="page"] {
  color: var(--bt-gold);
  border-bottom-color: var(--bt-mint);
}
.bt-hop-toggle {
  display: none;
  margin-left: auto;
  min-height: 42px;
  min-width: 5.5rem;
  background: var(--bt-mint-deep);
  color: #fff;
  border: 3px solid var(--bt-ink);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.bt-hop-toggle:hover,
.bt-hop-toggle:focus-visible {
  background: var(--bt-mint);
  color: var(--bt-ink);
  outline: 3px solid var(--bt-gold);
  outline-offset: 2px;
}
.bt-hop-sheet a:focus-visible {
  outline: 3px solid var(--bt-gold);
  outline-offset: 2px;
}
.bt-hop-sheet {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px var(--space-page) 16px;
  background: var(--bt-ink-soft);
}
.bt-hop-sheet a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.bt-hop-sheet a[aria-current="page"],
.bt-hop-sheet a:hover {
  background: rgba(0, 194, 160, 0.25);
  color: var(--bt-gold);
}
.bt-hop.is-open .bt-hop-sheet { display: flex; }

@media (max-width: 760px) {
  .bt-hop-links { display: none; }
  .bt-hop-toggle { display: inline-flex; }
}

/* —— Mast —— */
.bt-mast {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px) var(--space-page) 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.bt-mast-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bt-mint-deep);
}
.bt-mast h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--bt-ink);
}
.bt-mast p {
  margin: 10px 0 0;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--bt-mute);
}
.bt-count {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bt-rose);
  color: #fff;
  border: 3px solid var(--bt-ink);
  box-shadow: 4px 4px 0 var(--bt-ink);
  text-align: center;
  line-height: 1.05;
}
.bt-count strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
}
.bt-count span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* —— Stage —— */
.bt-stage {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px var(--space-page) 48px;
  display: grid;
  gap: 24px;
}

/* Empty */
.bt-empty {
  background: var(--bt-plate);
  border: 3px solid var(--bt-ink);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-plate);
}
.bt-empty h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}
.bt-empty p {
  margin: 10px auto 20px;
  max-width: 28rem;
  color: var(--bt-mute);
}

/* Conveyor belt */
.bt-beltway {
  position: relative;
  background: var(--bt-belt);
  border: 3px solid var(--bt-ink);
  border-radius: var(--radius);
  padding: 22px 16px 28px;
  overflow: hidden;
}
.bt-beltway::before,
.bt-beltway::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--bt-gold) 0 16px,
    var(--bt-ink) 16px 28px
  );
  opacity: 0.9;
  pointer-events: none;
}
.bt-beltway::before { top: 0; }
.bt-beltway::after { bottom: 0; }

.bt-beltway-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0 8px;
}
.bt-beltway-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
}
.bt-beltway-head p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.bt-plates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

/* Oval plate row — not a card */
.bt-plate {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px 16px;
  align-items: center;
  background: var(--bt-plate);
  border: 3px solid var(--bt-ink);
  border-radius: 999px 48px 48px 999px;
  padding: 12px 18px 12px 12px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateX(-28px);
  animation: bt-plate-in var(--motion-slide) forwards;
  animation-delay: calc(var(--bt-i, 0) * 70ms);
  transition: transform 280ms var(--ease-out), opacity 220ms ease, box-shadow 220ms ease;
}
.bt-plate.is-shedding {
  transform: translateX(110%) rotate(8deg);
  opacity: 0;
  pointer-events: none;
}
@keyframes bt-plate-in {
  to { opacity: 1; transform: translateX(0); }
}

.bt-plate-thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bt-ink);
  background: var(--bt-mist);
  flex-shrink: 0;
  display: block;
}
.bt-plate-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bt-plate-thumb-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bt-mint), var(--bt-rose));
  opacity: 0.35;
}

.bt-plate-info h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}
.bt-plate-info h3 a {
  color: var(--bt-ink);
  text-decoration: none;
}
.bt-plate-info h3 a:hover { color: var(--bt-rose-deep); }
.bt-plate-meta {
  margin: 4px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bt-mute);
}
.bt-plate-unit {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bt-mint-deep);
}

.bt-plate-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 12px;
}

/* Qty capsule */
.bt-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--bt-field);
  border: 2px solid var(--bt-ink);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: box-shadow var(--motion-clack), border-color var(--motion-clack);
}
.bt-qty.is-flash {
  border-color: var(--bt-mint);
  box-shadow: 0 0 0 3px rgba(0, 194, 160, 0.45);
}
.bt-qty button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--bt-ink);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, transform var(--motion-clack);
}
.bt-qty button:hover,
.bt-qty button:focus-visible {
  background: var(--bt-mint);
  color: var(--bt-ink);
  outline: none;
}
.bt-qty button:focus-visible {
  box-shadow: inset 0 0 0 2px var(--bt-ink);
}
.bt-qty button:active { transform: scale(0.88); }
.bt-qty input {
  width: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bt-ink);
  appearance: textfield;
  -moz-appearance: textfield;
}
.bt-qty input::-webkit-outer-spin-button,
.bt-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bt-line-total {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--bt-ink);
  min-width: 4.5rem;
  text-align: right;
}

.bt-send-back {
  border: 0;
  background: transparent;
  color: var(--bt-rose-deep);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease;
}
.bt-send-back:hover,
.bt-send-back:focus-visible {
  border-bottom-color: var(--bt-rose);
  outline: none;
  color: var(--bt-rose-deep);
}

.bt-belt-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 0 8px;
}

@media (max-width: 700px) {
  .bt-plate {
    grid-template-columns: 64px 1fr;
    border-radius: 28px;
    padding: 12px;
  }
  .bt-plate-thumb { width: 56px; height: 56px; }
  .bt-plate-controls {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

/* Seasoning tray promo */
.bt-season {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  border: 3px solid var(--bt-ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bt-plate);
  box-shadow: var(--shadow-plate);
}
.bt-season-ship {
  background: linear-gradient(160deg, var(--bt-mist), var(--bt-plate));
  padding: 22px 20px;
  border-right: 3px dashed var(--bt-line);
}
.bt-season-ship h3,
.bt-season-promo h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}
.bt-season-ship p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--bt-mute);
}
.bt-season-ship em {
  font-style: normal;
  font-weight: 700;
  color: var(--bt-mint-deep);
}
.bt-season-promo {
  padding: 22px 20px;
  background: linear-gradient(160deg, #FFF0F4, var(--bt-plate));
  position: relative;
}
.bt-season-promo.is-open .bt-season-lid {
  transform: rotateX(-72deg);
  opacity: 0.35;
}
.bt-season-lid {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 48px;
  height: 28px;
  background: var(--bt-rose);
  border: 2px solid var(--bt-ink);
  border-radius: 6px 6px 2px 2px;
  transform-origin: top center;
  transition: transform 320ms var(--ease-spring), opacity 240ms ease;
  pointer-events: none;
}
.bt-season-lid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 14px;
  height: 6px;
  background: var(--bt-ink);
  border-radius: 3px;
  transform: translateX(-50%);
}
.bt-promo-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.bt-promo-row input {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--bt-ink);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.bt-promo-row input:focus {
  border-color: var(--bt-rose);
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.25);
}
.bt-promo-note {
  margin: 10px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}
.bt-promo-note.is-ok { color: var(--bt-mint-deep); }
.bt-promo-note.is-err { color: var(--bt-miss); }

@media (max-width: 720px) {
  .bt-season { grid-template-columns: 1fr; }
  .bt-season-ship { border-right: 0; border-bottom: 3px dashed var(--bt-line); }
}

/* Pass window — in-flow checkout path (not sidebar) */
.bt-pass {
  background: var(--bt-ink);
  color: #fff;
  border: 3px solid var(--bt-ink);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 28px;
  align-items: end;
  box-shadow: 0 10px 0 var(--bt-rose);
  position: relative;
  overflow: hidden;
}
.bt-pass::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: repeating-linear-gradient(
    180deg,
    var(--bt-mint) 0 12px,
    var(--bt-gold) 12px 24px,
    var(--bt-rose) 24px 36px
  );
}
.bt-pass-kicker {
  margin: 0 0 4px;
  padding-left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bt-mint);
}
.bt-pass h2 {
  margin: 0;
  padding-left: 12px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
}
.bt-score {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 12px;
  list-style: none;
}
.bt-score li {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.bt-score li.is-due {
  background: rgba(255, 183, 3, 0.18);
  border-color: var(--bt-gold);
}
.bt-score span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.bt-score strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.bt-score li.is-due strong { color: var(--bt-gold); }
.bt-pass-note {
  margin: 12px 0 0;
  padding-left: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}
.bt-pass-note em {
  font-style: normal;
  font-weight: 700;
  color: var(--bt-mint);
}

.bt-pass-path {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: min(100%, 220px);
}
.bt-pass-path .bt-btn--mint {
  position: relative;
  overflow: hidden;
}
.bt-pass-path .bt-btn--mint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-120%);
  transition: transform var(--motion-wipe);
}
.bt-pass-path .bt-btn--mint:hover::after {
  transform: translateX(120%);
}
.bt-pass-path .bt-btn--mint:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--bt-gold);
}

@media (max-width: 720px) {
  .bt-pass { grid-template-columns: 1fr; }
  .bt-score { grid-template-columns: 1fr; }
  .bt-pass-path { min-width: 0; }
}

/* Buttons */
.bt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 8.5rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 3px solid var(--bt-ink);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}
.bt-btn:focus-visible {
  outline: 3px solid var(--bt-mint);
  outline-offset: 3px;
}
.bt-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--bt-ink);
}
.bt-btn--rose {
  background: var(--bt-rose-deep);
  color: #fff;
  box-shadow: 4px 4px 0 var(--bt-ink);
}
.bt-btn--rose:hover,
.bt-btn--rose:focus-visible {
  background: var(--bt-rose);
  color: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--bt-ink);
}
.bt-btn--mint {
  background: var(--bt-mint-deep);
  color: #fff;
  box-shadow: 4px 4px 0 var(--bt-gold);
}
.bt-btn--mint:hover,
.bt-btn--mint:focus-visible {
  background: var(--bt-mint);
  color: var(--bt-ink);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--bt-gold);
}
.bt-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.bt-btn--ghost:hover,
.bt-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}
.bt-btn--ghost-ink {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.bt-btn--ghost-ink:hover,
.bt-btn--ghost-ink:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.bt-belt-foot .bt-btn--ghost-ink {
  color: #fff;
}
.bt-belt-foot .bt-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.bt-beltway .bt-btn--ghost,
.bt-season .bt-btn--ghost {
  color: var(--bt-ink);
  border-color: var(--bt-ink);
  background: var(--bt-plate, #fff);
}
.bt-beltway .bt-btn--ghost:hover,
.bt-beltway .bt-btn--ghost:focus-visible,
.bt-season .bt-btn--ghost:hover,
.bt-season .bt-btn--ghost:focus-visible {
  background: var(--bt-mint);
  color: var(--bt-ink);
  border-color: var(--bt-ink);
}
.bt-empty .bt-btn--rose { /* keep */ }

.bt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-page) 16px;
}
.bt-links a {
  color: var(--bt-ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--bt-mint);
  padding-bottom: 2px;
}
.bt-links a:hover {
  color: var(--bt-rose-deep);
  border-bottom-color: var(--bt-rose);
}

.bt-foot-mini {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px var(--space-page) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.85rem;
  color: var(--bt-mute);
}
.bt-foot-mini a {
  color: var(--bt-mute);
  text-decoration: none;
  font-weight: 600;
}
.bt-foot-mini a:hover { color: var(--bt-rose); }

@media (prefers-reduced-motion: reduce) {
  .bt-plate,
  .bt-qty,
  .bt-season-lid,
  .bt-pass-path .bt-btn--mint::after {
    animation: none !important;
    transition: none !important;
  }
  .bt-plate { opacity: 1; transform: none; }
}
