.box-section {
  --box-ink: #28231f;
  --box-line: #e6e3df;
  --box-muted: #746f69;
  max-width: 1360px;
  margin: 0 auto;
  scroll-margin-top: 0;
  padding: 100px 64px 100px;
  color: var(--box-ink);
  font-family: "DM Sans", sans-serif;
}
.box-section *, .box-dialog * { box-sizing: border-box; }
.box-section button, .box-dialog button, .box-dialog input { font: inherit; }
.box-section button, .box-dialog button { -webkit-tap-highlight-color: transparent; }
.box-section-heading { margin-bottom: 74px; }
.box-section-heading h2 { margin: 0; font-size: clamp(52px, 6.5vw, 88px); font-weight: 550; letter-spacing: -0.04em; line-height: 1.02; }
.box-section-heading > p { margin: 25px 0 0; font-size: 18px; letter-spacing: -0.02em; }
.box-builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 90px; }
.box-art-column { padding-top: 26px; position: sticky; top: 110px; }
.box-paper { max-width: 458px; margin: 0 auto; padding: 25px 26px 21px; border: 1px solid #dedad5; background: #fff; box-shadow: 0 22px 45px -30px #28231f50, 0 2px 4px #28231f06; transform: rotate(-2deg); }
.box-paper-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 23px; }
.box-wordmark { font-size: 25px; line-height: 1; font-weight: 700; letter-spacing: -0.075em; }
.box-wordmark > span { color: var(--blue); }
.box-paper-count { font-size: 12px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.box-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; isolation: isolate; }
.box-slot { position: relative; aspect-ratio: 1; border: 1px solid #eae7e3; display: grid; place-items: center; overflow: visible; }
.box-slot-number { color: #b4afa9; font-size: 11px; font-variant-numeric: tabular-nums; }
/* Keep every pastry above neighbouring slot borders while it slides across them. */
.box-slot .food { display: block; width: 124%; height: 124%; position: absolute; inset: -12%; z-index: 1; filter: drop-shadow(1px 5px 4px #28231f12); }
.box-flight-layer { position:fixed; inset:0; overflow:hidden; pointer-events:none; z-index:40; }
.box-flight-layer .box-flying-pastry { position:absolute; left:0; top:0; margin:0; transform-origin:50% 50%; will-change:transform; pointer-events:none; }
.box-paper-footer { padding-top: 23px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.box-stamp { display: grid; place-content: center; width: 100px; height: 49px; flex: 0 0 auto; border: 1.5px solid currentColor; border-radius: 50%; color: var(--blue-ink); text-align: center; transform: rotate(-7deg); font-size: 11px; line-height: 1.05; }
.box-stamp strong { font-size: 17px; font-weight: 650; letter-spacing: -0.04em; }
.box-sharing-note { font-size: 12px; line-height: 1.45; color: var(--box-muted); text-align: right; }
.box-sharing-note em { color: var(--blue-ink); font-weight: 500; }
.box-art-note { margin: 28px 0 0; color: var(--box-muted); text-align: center; font-size: 12px; letter-spacing: 0.005em; }
.box-selection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.box-selection-heading h3 { font-weight: 500; font-size: 29px; line-height: 1.2; letter-spacing: -0.04em; margin: 0; }
.box-selection-heading > span { font-size: 13px; color: var(--box-muted); font-variant-numeric: tabular-nums; }
.box-products { border-top: 1px solid var(--box-line); }
.box-product { min-height: 88px; display: grid; grid-template-columns: 61px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--box-line); }
.box-product-food { display: block; width: 64px; height: 64px; margin-left: -3px; }
.box-product-copy h4 { font-size: 14px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; margin: 0; }
.box-product-copy p { font-size: 10px; line-height: 1.5; color: var(--box-muted); margin: 4px 0 0; }
.box-stepper { display: flex; align-items: center; gap: 0; }
.box-stepper button { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 44px; padding: 0; border: 0; background: transparent; color: var(--box-ink); font-size: 20px; cursor: pointer; position: relative; isolation: isolate; line-height: 1; }
.box-stepper button::before { position: absolute; inset: 6px; border: 1px solid var(--box-line); border-radius: 50%; content: ""; z-index: -1; transition: background 160ms ease, transform 160ms ease; }
.box-stepper .box-plus { color: #fff; }
.box-stepper .box-plus::before { border-color: var(--box-ink); background: var(--box-ink); }
.box-stepper button:not(:disabled):hover::before { transform: scale(1.09); }
.box-stepper button:disabled { cursor: default; color: #b8b2ac; }
.box-stepper .box-plus:disabled::before { background: #fff; border-color: var(--box-line); }
.box-stepper .box-minus:disabled::before { border-color: #eeeae6; }
.box-stepper output { min-width: 17px; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.box-product:has(.box-minus:not(:disabled)) output { color: var(--blue-ink); font-weight: 650; }
.box-stepper .box-plus:not(:disabled):hover::before { background: var(--blue-ink); border-color: var(--blue-ink); }
.box-text-button { min-height: 44px; padding: 9px 0; margin-top: 8px; background: none; border: 0; color: inherit; font-size: 12px !important; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #b8b1a9; text-decoration-thickness: 1px; cursor: pointer; }
.box-quick-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: 24px; }
.box-text-button:hover { text-decoration-color: currentColor; }
.box-text-button:disabled { color:#918a82; cursor:default; text-decoration-color:transparent; }
.box-action { margin-top: 22px; }
.box-status { min-height: 36px; font-size: 12px; line-height: 1.55; margin: 0 0 12px; }
.box-enquire { min-height: 54px; width: 100%; border: 1px solid var(--blue-ink); border-radius: 0; padding: 16px 24px; background: var(--blue-ink); color: #fff; font-size: 13px !important; letter-spacing: -0.01em; font-weight: 500 !important; line-height: 1.5; cursor: pointer; transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
.box-enquire:hover:not(:disabled) { background: var(--blue-hover); border-color: var(--blue-hover); }
.box-enquire:disabled { background: #fff; border-color: #d5d0ca; color: #79736e; cursor: default; }
.box-demo-note { margin: 13px 0 0; color: #79736e; font-size: 10px; line-height: 1.6; }
.box-section button:focus-visible, .box-dialog button:focus-visible, .box-dialog input:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 4px; }
.box-dialog { width: min(680px, calc(100vw - 32px)); max-height: min(92dvh, 920px); padding: 28px 36px 30px; color: var(--ink); border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 100px #28231f33; font-family: "DM Sans", sans-serif; overscroll-behavior: contain; }
.box-dialog::backdrop { background: #28231f55; backdrop-filter: blur(5px); }
.box-dialog-close { position: absolute; right: 10px; top: 10px; height: 44px; width: 44px; border: 0; padding: 0; background: transparent; color: var(--ink); font-size: 27px !important; cursor: pointer; }
.box-dialog-brand { font-size: 25px; font-weight: 750; letter-spacing: -0.06em; line-height: 1; }
.box-dialog-brand > span { color: var(--blue); }
.box-enquiry-parcel { margin: 18px 0 20px; border-bottom: 1px dashed #d9d5cf; }
.box-enquiry-pastries { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; gap: 3px; }
.box-enquiry-pastries .food { width: min(100%, 70px); justify-self: center; }
.box-parcel-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); }
.box-parcel-caption .box-text-button { margin: 0; font-size: 11px !important; }
.box-dialog h2 { margin: 0 0 8px; font-size: 36px; font-weight: 550; letter-spacing: -0.04em; line-height: 1.08; }
.box-dialog-description { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.box-details-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 8px; }
.box-dialog h3 { font-size: 12px; margin: 0; font-weight: 550; }
.box-details-heading .box-example { margin: 0; font-size: 11px !important; }
.box-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.box-form-grid label { display: grid; align-content: start; gap: 7px; font-size: 12px; }
.box-field-caption { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.box-field-tick { color: var(--blue-ink); opacity: 0; transform: scale(.6); transition: opacity 160ms ease, transform 200ms ease; font-size: 14px; line-height: 1; }
.is-complete .box-field-tick { opacity: 1; transform: scale(1); }
.box-form-grid input { width: 100%; min-width: 0; min-height: 45px; border: 1px solid #d8d3cd; background: #fff; color: var(--ink); border-radius: 0; font-size: 16px; padding: 10px 12px; color-scheme: light; transition: border-color 160ms ease; }
.box-form-grid input::placeholder { color: #918a82; opacity: 1; }
.box-form-grid .is-complete input { border-color: #aebdeb; }
.box-form-submit { margin-top: 22px; }
.box-dialog .box-demo-note { text-align: center; margin-top: 10px; }
.box-inbox { margin: 20px 0; border: 1px solid var(--line); padding: 20px 22px; box-shadow: 0 8px 20px -18px #28231f60; }
.box-receipt-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed #d9d5cf; margin-bottom: 18px; }
.box-inbox-subject { margin: 0; font-size: 16px; font-weight: 550; letter-spacing: -0.03em; }
.box-ready-stamp { display: grid; place-content: center; width: 94px; height: 48px; flex: 0 0 auto; border: 1.5px solid currentColor; border-radius: 50%; color: var(--blue-ink); text-align: center; transform: rotate(-7deg); font-size: 11px; line-height: 1; }
.box-ready-stamp strong { font-size: 16px; letter-spacing: -0.04em; font-weight: 650; }
.box-inbox dl { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 12px; margin: 0; font-size: 12px; line-height: 1.6; }
.box-inbox dt { color: var(--muted); }
.box-inbox dd { margin: 0; overflow-wrap: anywhere; }
.box-inbox-order { margin-top: 18px; border-top: 1px dashed #d9d5cf; padding-top: 16px; }
.box-inbox-order ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.box-inbox-order li { font-size: 11px; color: var(--muted); line-height: 1.5; }
.box-receipt-signoff { color: var(--blue-ink); font-size: 11px; margin-top: 18px; }
.box-confirmation[hidden], #box-enquiry-view[hidden] { display: none; }
.box-dialog[data-less-motion] .box-field-tick, .box-dialog[data-less-motion] input { transition: none; }
@media (min-width: 560px) {
  .box-inbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 20px; margin: 14px 0; padding: 16px 20px; }
  .box-receipt-heading { grid-column: 1 / -1; margin: 0; padding-bottom: 10px; }
  .box-ready-stamp { width: 86px; height: 40px; }
  .box-inbox dl { align-content: start; }
  .box-inbox-order { margin: 0; padding: 0 0 0 20px; border-top: 0; border-left: 1px dashed #d9d5cf; }
  .box-inbox-order ul { grid-template-columns: minmax(0, 1fr); }
  .box-receipt-signoff { grid-column: 1 / -1; margin: 0; }
}
@media (min-width: 1400px) { .box-builder { gap: 110px; } }
@media (max-width: 1100px) { .box-section { padding-inline: 40px; } .box-builder { gap: 44px; } .box-product { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 6px; } .box-product-food { width: 52px; height: 52px; } .box-product-copy p { display: none; } .box-paper { padding: 21px; } }
@media (max-width: 760px) {
  .box-section { padding: 90px 24px 100px; }
  .box-section-heading { margin-bottom: 46px; }
  .box-section-heading h2 { font-size: clamp(48px, 10.7vw, 72px); }
  .box-section-heading > p { font-size: 16px; margin-top: 20px; }
  .box-builder { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .box-art-column { padding-top: 0; position: static; max-width: 500px; width: 100%; justify-self: center; }
  .box-paper { padding: 24px; transform: rotate(-1.5deg); }
  .box-art-note { margin-top: 24px; }
  .box-selection { max-width: 500px; width: 100%; justify-self: center; }
  .box-product { grid-template-columns: 57px minmax(0, 1fr) auto; gap: 8px; min-height: 84px; }
  .box-product-food { height: 61px; width: 61px; }
  .box-product-copy p { display: block; }
  .box-selection-heading h3 { font-size: 28px; }
  .box-dialog { padding: 24px 22px; }
  .box-dialog h2 { font-size: 31px; }
}
@media (max-width: 390px) { .box-section { padding-inline: 18px; } .box-product { grid-template-columns: 43px minmax(0, 1fr) auto; gap: 5px; } .box-product-food { width: 48px; height: 48px; } .box-product-copy h4 { font-size: 13px; } .box-product-copy p { font-size: 9px; } .box-paper { padding: 18px; } .box-form-grid { grid-template-columns: minmax(0, 1fr); } .box-inbox-order ul { grid-template-columns: minmax(0, 1fr); } .box-dialog { padding-inline: 18px; } .box-inbox { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .box-section *, .box-dialog * { animation: none !important; transition: none !important; } }
/* Keep the selected pastries in view while a phone user chooses their six. */
@media (max-width:760px) {
  .box-builder { display:block; }
  .box-art-column { position:sticky; top:72px; z-index:12; max-width:none; padding:12px 0 16px; background:#fff; }
  .box-paper { max-width:230px; padding:12px; }
  .box-paper-header { padding-bottom:10px; }
  .box-wordmark { font-size:20px; }
  .box-paper-footer { padding-top:12px; gap:10px; }
  .box-stamp { width:67px; height:34px; font-size:8px; border-width:1px; }
  .box-stamp strong { font-size:12px; }
  .box-sharing-note { font-size:9px; }
  .box-slots { gap:5px; }
  .box-art-note { display:none; }
  .box-selection { margin-top:32px; }
}
