.bc-cart-heading,
.bc-cart-contact h3,
.bc-cart-item-title,
.bc-cart-total,
.bc-cart-price {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}
.bc-cart-heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.bc-cart-heading:focus { outline: none; }
.bc-cart-items, .bc-cart-flavors {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bc-cart-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}
.bc-cart-item:first-child { border-top: 0; padding-top: .25rem; }
.bc-cart-item-info { flex: 1; min-width: 0; }
.bc-cart-photo {
  width: clamp(3.4rem, 6vw, 5.75rem);
  aspect-ratio: 1;
  object-fit: cover;
  flex: none;
  border-radius: .55rem;
}
.bc-cart-item-title { display: block; font-size: 1.12rem; line-height: 1.22; }
.bc-cart-flavors { color: var(--muted); margin-top: .4rem; font-size: .9rem; line-height: 1.45; }
.bc-cart-item-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 .65rem;
  margin-top: .25rem;
}
.bc-cart-link {
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: .2rem;
  padding: .55rem 0;
  font: 600 .85rem/1.3 system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.bc-cart-price { margin-left: auto; font-size: 1.12rem; white-space: nowrap; }
.bc-cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .65rem;
  padding: .95rem 0;
  border-block: 1px solid var(--line);
  font-size: 1.23rem;
  font-weight: 600;
}
.bc-cart-total strong { font-size: 1.65rem; line-height: 1.1; }
.bc-cart-empty, .bc-cart-note, .bc-cart-notice { color: var(--muted); line-height: 1.48; }
.bc-cart-note { font-size: .95rem; margin: .95rem 0; }
.bc-cart-notice { font-size: .95rem; font-weight: 600; }
.bc-cart-pickup { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; padding: 1rem 0 .2rem; }
.bc-cart-pickup strong, .bc-cart-pickup small { display: block; }
.bc-cart-label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .2rem; }
.bc-cart-pickup strong { font-size: 1rem; color: var(--ink); }
.bc-cart-pickup small { font-size: .86rem; color: var(--muted); margin-top: .2rem; }
.bc-cart-primary {
  width: 100%;
  min-height: 2.9rem;
  margin: .2rem 0;
  padding: .72rem 1rem;
  color: var(--on-accent);
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: .5rem;
  font: 600 1.08rem/1.25 Georgia, serif;
  cursor: pointer;
}
.bc-cart-dialog {
  box-sizing: border-box;
  width: min(34rem, calc(100% - 2rem));
  max-width: none;
  max-height: 90dvh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1rem 5rem #0a1a2840;
  overscroll-behavior: contain;
}
.bc-cart-dialog::backdrop { background: rgb(10 22 29 / .55); }
.bc-cart-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem clamp(1rem, 4vw, 1.8rem) .3rem;
}
.bc-cart-close {
  min-height: 2.75rem;
  margin-left: auto;
  padding: .4rem .9rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--surface);
  font: 600 .9rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.bc-cart-dialog-body { padding: .6rem clamp(1rem, 4vw, 1.8rem) 1.5rem; }
.bc-cart-dialog-body .bc-cart-pickup { padding: .25rem 0 1rem; }
.bc-cart-dialog-body .bc-cart-total + .bc-cart-pickup { padding: 1rem 0 .15rem; }
.bc-cart-dialog-body .bc-cart-primary { margin-top: .6rem; }
.bc-cart-contact-summary { display: grid; gap: .15rem; margin: 0 0 1.15rem; overflow-wrap: anywhere; }
.bc-cart-contact-summary > span:last-child { color: var(--muted); font-size: .92rem; }
.bc-cart-contact [hidden] { display: none; }
.bc-cart-contact { display: grid; gap: 1rem; margin: 1.4rem 0 0; }
.bc-cart-contact h3 { margin: 0; font-size: 1.55rem; line-height: 1.16; }
.bc-cart-contact p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.bc-cart-contact label, .bc-cart-contact legend { font-size: .94rem; font-weight: 600; }
.bc-cart-contact input:is([type="text"], [type="tel"], [type="email"]) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 2.85rem;
  padding: .65rem .8rem;
  margin-top: .4rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .4rem;
  font: 1rem/1.35 system-ui, sans-serif;
}
.bc-cart-contact fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.bc-cart-contact legend { padding: 0; margin-bottom: .5rem; }
.bc-cart-choices { display: flex; flex-wrap: wrap; gap: .45rem; }
.bc-cart-choices label {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .35rem;
  min-height: 2.75rem;
  padding: 0 .5rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  cursor: pointer;
}
.bc-cart-choices input { margin: 0; accent-color: var(--accent); }
.bc-cart-choices label:has(input:checked) { border-color: var(--accent); background: var(--surface); }
.bc-cart-payment label { flex-basis: 100%; justify-content: flex-start; padding: .55rem .7rem; }
.bc-card-test, .bc-cart-contact .bc-card-test {
  padding: .65rem .8rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .45rem;
}
.bc-cart-sms {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  cursor: pointer;
}
.bc-cart-sms input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--accent);
}
.bc-cart-status {
  display: inline-block;
  margin: -.25rem 0 .25rem;
  color: var(--ink);
  background: var(--surface);
  font-weight: 650;
  padding: .28rem .6rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
}
.bc-cart-dialog :focus-visible, .bc-cart-link:focus-visible, .bc-cart-primary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.bc-cart-dialog .bc-cart-heading:focus-visible { outline: none; }
@media (max-width: 650px) {
  .bc-cart-dialog {
    width: 100%;
    max-height: 94dvh;
    border-radius: 1rem 1rem 0 0;
    margin: auto 0 0;
  }
  .bc-cart-dialog-body { padding-bottom: max(1.4rem, env(safe-area-inset-bottom)); }
  .bc-cart-dialog .bc-cart-link { min-height: 2.75rem; }
}
.bc-receipt {
  display: grid; justify-items: start; gap: 1rem; overflow-wrap: anywhere;
  max-width: 40rem; margin: clamp(1.5rem, 6vw, 5rem) auto;
  padding: clamp(1rem, 5vw, 2.5rem);
}
.bc-receipt .bc-cart-heading { margin: 0; }
.bc-receipt .bc-cart-items, .bc-receipt .bc-cart-pickup { width: 100%; }
.bc-receipt .bc-cart-primary { text-align: center; text-decoration: none; }
.bc-receipt-total { font: 600 1.5rem/1.2 Georgia, serif; }
.bc-order-lookup { width: min(100%, 27rem); margin: 0; }
.bc-order-lookup[hidden] { display: none; }
#status-message:empty { position: absolute; }
.bc-order-status-facts { margin: 1rem 0 0; }
.bc-order-status-facts dt { margin-block-start: .65rem; font-weight: 600; }
.bc-order-status-facts dd { margin-inline-start: 0; }
.bc-status-items { margin-block-start: 1.25rem; }
.bc-status-items h3 { margin-block-end: .65rem; }
.bc-status-items .bc-cart-flavors { display: block; }
.bc-stripe-checkout { width: 100%; min-width: 0; }
