/* Shared cookie builder and fully simulated checkout. */
.order-page, .checkout-page { background: var(--cream, #f5eedc); color: var(--ink, #49392e); font-family: var(--sans, "DM Sans", Arial, sans-serif); }
.order-page *, .checkout-page * { box-sizing: border-box; }
.order-page [hidden], .checkout-page [hidden] { display: none !important; }
.order-page button, .order-page input, .order-page textarea, .checkout-page button, .checkout-page input, .checkout-page textarea { font: inherit; }
.commerce-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.commerce-skip { position: fixed; left: 20px; top: -100px; z-index: 200; padding: 12px 18px; color: #fff; background: #40513e; border-radius: 8px; }
.commerce-skip:focus { top: 15px; }
.order-page :focus-visible, .checkout-page :focus-visible { outline: 3px solid #577048; outline-offset: 4px; }
.order-page button, .checkout-page button { cursor: pointer; }
.order-page button:disabled, .checkout-page button:disabled { cursor: not-allowed; opacity: .5; }
.commerce-back { display: inline-flex; align-items: center; gap: 9px; color: var(--muted, #716757); font-size: 12px; font-weight: 600; text-decoration: none; }
.commerce-back:hover { color: var(--olive, #40513e); text-decoration: underline; text-underline-offset: 4px; }
.order-intro { padding-top: 33px; padding-bottom: 40px; text-align: center; }
.order-intro > .commerce-back { display: flex; justify-content: flex-start; margin-bottom: 31px; }
.order-intro > .eyebrow { margin: 0 0 14px; }
.order-intro h1 { font-family: var(--display, "Caprasimo", Georgia, serif); font-weight: 400; font-size: clamp(42px, 4.4vw, 62px); line-height: 1.08; margin: 0; letter-spacing: -.045em; }
.order-intro h1 .handwritten { display: inline-block; font-size: 1.18em; color: var(--olive, #40513e); line-height: 1; transform: rotate(-3deg); }
.order-intro-copy { max-width: 500px; margin: 22px auto 0; color: var(--muted, #716757); font-size: 14px; line-height: 1.75; }
.sample-price-note { margin: 15px 0 0; font-size: 10px; letter-spacing: .06em; color: var(--muted, #716757); }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, 1fr); gap: 34px; align-items: start; }
.box-builder { background: var(--paper, #fffaf0); border: 1px solid var(--line, #d0c7ae); border-radius: 25px; padding: 32px; }
.builder-step { margin: 0; padding: 0 0 29px; border: 0; min-width: 0; }
.builder-step + .builder-step { padding-top: 27px; border-top: 1px solid var(--line, #d0c7ae); }
.builder-step legend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.builder-step + .builder-step legend { padding-top: 27px; }
.step-tag { display: inline-flex; justify-content: center; align-items: center; width: 27px; height: 27px; flex-shrink: 0; border-radius: 50%; border: 1px solid #89937d; color: var(--olive, #40513e); background: #eef0e3; font-size: 9px; letter-spacing: .02em; }
.step-description { margin: 9px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted, #716757); }
.size-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 21px; }
.size-option, .flavor-option { display: block; position: relative; min-width: 0; cursor: pointer; }
.size-option > input, .flavor-option > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-option-content { display: flex; align-items: center; gap: 12px; border: 1px solid #c9c2af; border-radius: 12px; background: #fffdf7; padding: 16px 13px; min-height: 85px; transition: background .18s, border-color .18s, box-shadow .18s; }
.size-option input:checked + .size-option-content { border-color: #526348; background: #edf0e3; box-shadow: 0 0 0 1px #526348; }
.size-option input:focus-visible + .size-option-content, .flavor-option input:focus-visible + .flavor-option-content { outline: 3px solid #577048; outline-offset: 4px; }
.size-icon { font-family: var(--display, "Caprasimo", Georgia, serif); font-size: 28px; line-height: 1; color: #526348; min-width: 30px; text-align: center; }
.size-option-content strong { display: block; font-size: 13px; font-weight: 700; }
.size-option-content small { display: block; margin-top: 5px; font-size: 10px; line-height: 1.4; color: var(--muted, #716757); }
.size-price { margin-left: auto; white-space: nowrap; font-size: 13px; font-weight: 700; }
.flavor-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 19px; }
.flavor-option-content { position: relative; display: flex; flex-direction: column; min-height: 100%; background: #fffdf7; border: 1px solid #cec5af; border-radius: 13px; overflow: hidden; transition: border-color .18s, box-shadow .18s, background .18s; }
.flavor-option-content > img { width: 100%; aspect-ratio: 1.25 / 1; display: block; object-fit: cover; }
.flavor-option-text { display: flex; flex-direction: column; gap: 5px; padding: 13px 10px 14px; }
.flavor-option-text strong { font-size: 12px; line-height: 1.4; font-weight: 700; }
.flavor-option-text small { font-size: 9px; line-height: 1.5; color: var(--muted, #716757); }
.flavor-option input:checked + .flavor-option-content { border-color: #526348; box-shadow: 0 0 0 1px #526348; background: #edf0e3; }
.flavor-check { position: absolute; right: 8px; top: 8px; width: 22px; height: 22px; display: grid; place-items: center; background: #40513e; color: #fffaf0; border-radius: 50%; font-size: 12px; opacity: 0; }
.flavor-option input:checked + .flavor-option-content .flavor-check { opacity: 1; }
.flavor-option-mixed { grid-column: 1 / -1; }
.flavor-option-mixed .flavor-option-content { flex-direction: row; align-items: center; min-height: 73px; gap: 13px; padding: 10px 16px; border-style: dashed; }
.flavor-option-mixed .flavor-option-text { padding: 0; }
.flavor-option-mixed .flavor-option-text strong { font-size: 13px; }
.flavor-option-mixed .flavor-check { top: 25px; right: 16px; }
.mixed-cookie-art { display: flex; align-items: center; padding: 4px; flex: 0 0 78px; }
.mixed-cookie-art > span { display: block; position: relative; width: 31px; height: 31px; border-radius: 48% 52% 47% 53%; background: #d4b478; border: 1px solid #b2925a; box-shadow: 1px 2px 0 #ac8b4733; }
.mixed-cookie-art > span + span { margin-left: -10px; }
.mixed-cookie-art > span:first-child { background: radial-gradient(circle at 36% 35%, #65432b 2px, transparent 3px), radial-gradient(circle at 65% 62%, #65432b 2px, transparent 3px), #d7b372; }
.mixed-cookie-art > span:nth-child(2) { background: #e8d3a0; transform: translateY(-4px); }
.mixed-cookie-art > span:nth-child(3) { background: radial-gradient(circle, #9b673d 1px, transparent 1px), #c8a16c; background-size: 8px 8px; }
.mix-builder { margin-top: 18px; padding: 20px; border: 1px solid #c5c7b2; border-radius: 14px; background: #f2f2e7; }
.mix-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mix-heading h3 { margin: 0; font-size: 15px; }
.mix-heading > span { border-radius: 99px; padding: 5px 9px; background: #f1dfd0; color: #783b28; font-size: 10px; font-weight: 700; white-space: nowrap; }
.mix-heading > span.is-complete { color: #40513e; background: #dce4cd; }
.mix-help { color: var(--muted, #716757); font-size: 10px; line-height: 1.65; margin: 9px 0 16px; }
.mix-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #d3d5c3; }
.mix-label { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 600; }
.mix-label img { width: 33px; height: 33px; object-fit: cover; border-radius: 7px; }
.quantity-control { display: inline-flex; align-items: center; height: 35px; background: #fffdf7; border: 1px solid #bab8a1; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.quantity-control button { display: grid; place-items: center; border: 0; width: 32px; height: 100%; min-height: 32px; color: #40513e; background: transparent; font-size: 18px; line-height: 1; padding: 0; }
.quantity-control button:hover:not(:disabled) { background: #e6ebda; }
.quantity-control button:focus-visible { outline: 2px solid #40513e; outline-offset: -3px; }
.quantity-control input { -moz-appearance: textfield; appearance: textfield; width: 33px; min-width: 0; border: 0; padding: 0; background: transparent; color: var(--ink, #49392e); text-align: center; font-size: 12px; font-weight: 600; outline-offset: -3px !important; height: 100%; }
.quantity-control input::-webkit-outer-spin-button, .quantity-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-control > span { min-width: 27px; text-align: center; font-size: 11px; font-weight: 600; }
.mix-status { font-size: 10px; color: #40513e; margin: 12px 0 0; line-height: 1.6; }
.mix-status.is-error, .inline-error, .builder-message.is-error { color: #90412b; }
.box-quantity-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.box-quantity-row label { font-weight: 600; font-size: 13px; }
.box-quantity-row .step-description { margin-top: 4px; font-size: 11px; }
.box-quantity-control { height: 42px; }
.box-quantity-control button { width: 36px; }
.box-quantity-control input { width: 37px; font-size: 14px; }
.inline-error { font-size: 11px; line-height: 1.6; margin: 10px 0 0; }
.builder-add-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 23px; border-top: 1px solid var(--line, #d0c7ae); }
.price-caption { display: block; font-size: 10px; color: var(--muted, #716757); }
.builder-add-row strong { display: block; margin-top: 4px; font-family: var(--display, "Caprasimo", Georgia, serif); font-size: 28px; font-weight: 400; }
.builder-add-row small { display: block; font-size: 9px; margin-top: 5px; color: var(--muted, #716757); line-height: 1.5; }
.order-page .button { min-height: 47px; font-size: 12px; }
.builder-message { margin: 14px 0 0; font-size: 11px; line-height: 1.7; color: var(--olive, #40513e); }
.builder-message:empty, .bag-panel .inline-error:empty { display: none; }
.mix-heading h3, .bag-item-details h3, .bag-empty h3, .checkout-item-description h3, .receipt-note h3 { font-family: var(--sans, "DM Sans", Arial, sans-serif); letter-spacing: 0; }
.bag-panel { position: sticky; top: 110px; background: #e8ebdb; border: 1px solid #bfc6ae; border-radius: 23px; padding: 27px 25px; scroll-margin-top: 110px; }
.bag-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.bag-title-row .eyebrow { font-size: 8px; margin: 0 0 9px; }
.bag-title-row h2 { font-family: var(--display, "Caprasimo", Georgia, serif); font-weight: 400; font-size: 25px; letter-spacing: -.04em; margin: 0; }
.bag-count-badge { display: flex; align-items: center; justify-content: center; width: 30px; height: 35px; border: 1px solid #7b8a6f; background: #f6f6ec; border-radius: 6px; font-size: 12px; font-weight: 700; color: #40513e; }
.bag-empty { text-align: center; padding: 25px 13px 34px; border-top: 1px solid #c9cfbc; }
.bag-empty-icon { font-size: 40px; color: #778b66; }
.bag-empty h3 { font-size: 14px; margin: 14px 0 9px; }
.bag-empty p { color: #66715e; font-size: 11px; line-height: 1.7; max-width: 220px; margin: 0 auto; }
.bag-item { display: flex; gap: 13px; padding: 19px 0; border-top: 1px solid #c3cab5; }
.bag-item-image { width: 60px; height: 65px; border: 1px solid #c9c6b0; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.bag-item-details { min-width: 0; flex: 1; }
.bag-item-details h3 { margin: 0 0 5px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.bag-item-size { margin: 0; font-size: 9px; color: #66715e; line-height: 1.6; }
.bag-mix-description { font-size: 9px; line-height: 1.7; color: #66715e; margin: 5px 0 0; }
.bag-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.bag-quantity { height: 30px; border-color: #b0b9a1; }
.bag-quantity button { width: 27px; min-height: 28px; font-size: 16px; }
.bag-item-price { font-size: 12px; white-space: nowrap; }
.remove-item { border: 0; background: none; padding: 0; margin: 9px 0 0; font-size: 9px !important; text-decoration: underline; text-underline-offset: 3px; color: #66715e; }
.remove-item:hover { color: #49392e; }
.bag-totals { border-top: 1px solid #b8c2a9; padding-top: 20px; margin-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.bag-totals strong { font-size: 21px; letter-spacing: -.035em; }
.bag-cookie-count { color: #63715c; font-size: 10px; margin: 8px 0 19px; }
.checkout-link { width: 100%; justify-content: space-between; }
.checkout-link.is-disabled { opacity: .45; cursor: not-allowed; }
.bag-fine-print { color: #5e6c57; font-size: 9px; line-height: 1.7; text-align: center; max-width: 275px; margin: 14px auto 0; }
.order-kind-note { padding-top: 46px; padding-bottom: 49px; text-align: center; }
.order-kind-note .handwritten { font-size: 27px; line-height: 1.25; color: var(--olive, #40513e); }
.order-kind-note p { font-size: 10px; color: var(--muted, #716757); margin: 11px 0 0; }
.commerce-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line, #d0c7ae); padding-top: 27px; padding-bottom: 30px; }
.commerce-footer p, .commerce-footer > a:last-child { font-size: 10px; line-height: 1.6; color: var(--muted, #716757); }
.commerce-footer > a:last-child { text-decoration: none; }
.commerce-footer > a:last-child:hover { text-decoration: underline; }
.commerce-footer-links { display: flex; align-items: center; gap: 19px; font-size: 10px; color: var(--muted, #716757); }
.commerce-footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.noscript-message { font-size: 14px; padding-top: 20px; padding-bottom: 20px; }

/* A deliberately clean, entirely local demo payment screen. */
.checkout-page { background: #fff; }
.checkout-header { display: flex; align-items: center; justify-content: space-between; gap: 25px; width: min(100%, 1440px); margin: 0 auto; padding: 25px clamp(24px, 5vw, 72px); border-bottom: 1px solid #e6e3da; background: #fffdf8; }
.checkout-header .brand { text-decoration: none; }
.checkout-shell { display: grid; grid-template-columns: 46% 54%; min-height: calc(100vh - 160px); max-width: 1440px; margin: 0 auto; }
.checkout-summary { background: #eff0e4; border-right: 1px solid #e2e5d7; padding: 57px clamp(28px, 5vw, 72px) 60px; }
.checkout-summary-inner { max-width: 420px; margin-left: auto; }
.checkout-summary .eyebrow { font-size: 9px; margin: 0 0 20px; }
.checkout-summary h1 { font-family: var(--display, "Caprasimo", Georgia, serif); font-size: clamp(33px, 3.4vw, 47px); line-height: 1.13; letter-spacing: -.04em; margin: 0; font-weight: 400; }
.checkout-summary h1 .handwritten { font-size: 1.17em; color: #40513e; line-height: 1.1; }
.checkout-summary-copy { color: #68715f; font-size: 12px; line-height: 1.75; margin: 20px 0 35px; }
.checkout-item { display: grid; grid-template-columns: 61px minmax(0, 1fr) auto; align-items: start; gap: 15px; margin: 0 0 23px; }
.checkout-item-image { position: relative; }
.checkout-item-image img { display: block; width: 61px; height: 64px; border-radius: 11px; border: 1px solid #d0d0bb; object-fit: cover; }
.checkout-item-count { position: absolute; right: -5px; top: -6px; display: flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 50%; background: #5f6f52; color: #fff; font-size: 9px; }
.checkout-item-description { padding-top: 5px; }
.checkout-item-description h3 { margin: 0 0 5px; font-size: 12px; line-height: 1.5; }
.checkout-item-description p { font-size: 9px; line-height: 1.6; margin: 0; color: #66715d; }
.checkout-item-description .checkout-item-mix { margin-top: 5px; }
.checkout-item-price { padding-top: 6px; font-size: 12px; white-space: nowrap; }
.checkout-summary-empty { font-size: 12px; color: #66715d; line-height: 1.7; padding: 12px 0 20px; }
.checkout-totals { border-top: 1px solid #c8cfba; padding-top: 22px; margin: 27px 0 0; }
.checkout-totals > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; margin-bottom: 17px; }
.checkout-totals dd { margin: 0; font-weight: 600; }
.checkout-totals .checkout-total { border-top: 1px solid #c8cfba; padding-top: 20px; margin-top: 20px; font-size: 15px; }
.checkout-total dd { font-size: 28px; letter-spacing: -.04em; }
.checkout-pricing-note { font-size: 9px; color: #68745f; line-height: 1.7; margin: 0; }
.fulfillment-note { display: flex; gap: 13px; padding: 18px; margin-top: 32px; background: #fbfbf2; border: 1px solid #cdd2be; border-radius: 12px; }
.fulfillment-note > span { font-size: 24px; line-height: 1.2; color: #758963; }
.fulfillment-note strong { display: block; font-size: 10px; margin-bottom: 6px; }
.fulfillment-note p { color: #66715d; font-size: 10px; line-height: 1.6; margin: 0; }
.payment-panel { background: #fff; padding: 49px clamp(28px, 5vw, 72px) 53px; color: #343b34; }
.payment-inner { max-width: 440px; margin: 0 auto 0 0; }
.demo-checkout-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #d4ddcb; border-radius: 6px; background: #f4f7ef; color: #506244; font-size: 10px; font-weight: 600; margin: 0 0 27px; }
.demo-checkout-badge > span { width: 6px; height: 6px; border-radius: 50%; background: #758b60; }
.payment-panel h2 { font-family: var(--sans, "DM Sans", Arial, sans-serif); font-size: 25px; font-weight: 700; letter-spacing: -.05em; line-height: 1.2; margin: 0 0 11px; color: #303930; }
.payment-intro { color: #73796f; font-size: 12px; line-height: 1.7; margin: 0 0 27px; }
.payment-panel fieldset { border: 0; min-width: 0; padding: 0; margin: 0; }
.checkout-contact > legend { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0; margin-bottom: 18px; font-size: 12px; font-weight: 700; }
.sample-fill { font-size: 10px !important; color: #526e41; font-weight: 600; background: none; border: 0; border-bottom: 1px solid #a9ba99; padding: 0 0 3px; }
.sample-fill:hover { color: #2e4d22; border-color: #526e41; }
.commerce-field { margin-bottom: 17px; min-width: 0; }
.commerce-field label { display: block; font-size: 11px; font-weight: 600; color: #4b5549; margin-bottom: 7px; }
.commerce-field label span { font-weight: 400; color: #626d59; margin-left: 4px; }
.commerce-field input, .commerce-field textarea { display: block; width: 100%; min-width: 0; border: 1px solid #cdd3c8; background: #fff; border-radius: 7px; padding: 11px 13px; color: #35402f; font-size: 13px; line-height: 1.5; box-shadow: 0 1px 2px #222f1707; }
.commerce-field input { height: 43px; }
.commerce-field textarea { resize: vertical; min-height: 68px; max-height: 220px; }
.commerce-field input::placeholder, .commerce-field textarea::placeholder { color: #626d59; opacity: 1; }
.commerce-field input:focus, .commerce-field textarea:focus { border-color: #7f986d; outline: 3px solid #a4bb8b33; outline-offset: 0; }
.field-hint { font-size: 10px; color: #626d59; line-height: 1.6; margin: 7px 0 0; }
.payment-panel .test-payment-fields { border-top: 1px solid #e3e7de; padding-top: 24px; margin-top: 6px; }
.test-payment-fields > legend { padding-top: 24px; font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.test-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 14px; border: 1px solid #cdd3c8; border-bottom: 0; border-radius: 8px 8px 0 0; background: #f7f8f5; font-size: 11px; font-weight: 600; }
.test-card-chip { width: 24px; height: 17px; border: 1px solid #99a38f; border-radius: 3px; background: linear-gradient(90deg, transparent 30%, #aab29f 30%, #aab29f 34%, transparent 34%, transparent 65%, #aab29f 65%, #aab29f 69%, transparent 69%), linear-gradient(transparent 44%, #aab29f 44%, #aab29f 50%, transparent 50%), #e4e7dc; }
.test-card-inputs { border: 1px solid #cdd3c8; border-radius: 0 0 8px 8px; overflow: hidden; }
.test-card-inputs .commerce-field { margin: 0; padding: 11px 13px 9px; }
.test-card-inputs label { font-size: 9px; color: #626d59; margin-bottom: 2px; font-weight: 400; }
.test-card-inputs input { padding: 0; height: 25px; min-height: 0; background: transparent; border: 0; box-shadow: none; color: #69735f; font-size: 13px; border-radius: 0; cursor: default; }
.test-card-inputs input:focus { outline: 0; }
.test-card-bottom { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dce1d6; background: #fafbf8; }
.test-card-bottom > div + div { border-left: 1px solid #dce1d6; }
.payment-panel .demo-outcome { display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px dashed #cbd4c2; border-radius: 8px; margin-top: 21px; padding: 12px; background: #fcfdfb; }
.demo-outcome > legend { display: block; float: left; margin: 0; padding: 6px 0; font-size: 10px; color: #748068; }
.outcome-options { display: inline-flex; align-items: center; border: 1px solid #d2d9ca; border-radius: 5px; overflow: hidden; background: #fff; }
.outcome-options label { position: relative; cursor: pointer; }
.outcome-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.outcome-options span { display: block; padding: 7px 10px; font-size: 9px; color: #718063; }
.outcome-options input:checked + span { background: #e7eddf; color: #405633; font-weight: 700; }
.outcome-options input:focus-visible + span { outline: 2px solid #577048; outline-offset: -2px; }
.checkout-message { border: 1px solid #e8baaa; background: #fff5ef; border-radius: 7px; padding: 12px; font-size: 11px; line-height: 1.7; color: #924631; margin: 19px 0 0; }
.demo-pay-button { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 10px; background: #405c35; color: #fff; font-size: 12px !important; font-weight: 600; border: 1px solid #405c35; border-radius: 7px; margin-top: 23px; padding: 12px 15px; box-shadow: 0 1px 2px #30402421; transition: background .15s; }
.demo-pay-button:hover:not(:disabled) { background: #334b2a; }
.payment-promise { font-size: 10px; line-height: 1.7; color: #626d59; text-align: center; margin: 13px auto 0; max-width: 350px; }
.payment-spinner { width: 14px; height: 14px; border: 2px solid #ffffff55; border-top-color: #fff; border-radius: 50%; animation: demo-spin .65s linear infinite; }
@keyframes demo-spin { to { transform: rotate(360deg); } }
.checkout-empty { padding-top: 10px; }
.checkout-empty .empty-cookie { display: block; font-size: 53px; color: #7d9669; margin: 3px 0 20px; }
.checkout-empty p { color: #73796f; font-size: 13px; line-height: 1.75; margin: 0 0 25px; }
.checkout-empty .button { font-size: 12px; }
.checkout-success { padding-top: 3px; }
.success-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #b7c9a7; background: #eef4e6; color: #526e41; font-size: 25px; margin-bottom: 24px; }
.checkout-success .eyebrow { font-size: 8px; color: #7b8871; margin: 0 0 13px; }
.checkout-success h2 { font-size: 29px; line-height: 1.2; margin-bottom: 12px; }
.success-lede { font-size: 13px; color: #737c6b; line-height: 1.7; margin: 0 0 17px; }
.success-no-charge { padding: 14px; border: 1px solid #cbd8c0; border-radius: 8px; background: #f4f8ee; color: #506b40; font-size: 12px; font-weight: 600; line-height: 1.6; }
.demo-receipt { padding: 20px 0 0; margin: 0; }
.demo-receipt > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; font-size: 11px; line-height: 1.6; margin-bottom: 13px; }
.demo-receipt dt { color: #626d59; }
.demo-receipt dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.demo-receipt .receipt-amount { border-top: 1px solid #dbe3d3; padding-top: 16px; margin-top: 19px; align-items: center; }
.receipt-amount dd { font-size: 21px; font-weight: 700; }
.receipt-note { padding: 14px; background: #f7f8f3; border-radius: 7px; margin-top: 21px; }
.receipt-note h3 { font-size: 11px; margin: 0 0 6px; }
.receipt-note p { margin: 0; color: #738068; font-size: 11px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.receipt-fine-print { margin: 20px 0 23px; color: #626d59; font-size: 10px; line-height: 1.8; }
.checkout-success .button { width: 100%; font-size: 12px; }
.receipt-home-link { display: block; width: fit-content; margin: 18px auto 0; color: #6c7e5e; font-size: 11px; text-underline-offset: 3px; }
.checkout-footer { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 22px; border-top: 1px solid #e3e7dc; background: #fffdf8; font-size: 9px; color: #626d59; }
.checkout-footer a { color: #617352; text-decoration: none; }
.checkout-footer a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .order-layout { grid-template-columns: minmax(0, 1.45fr) minmax(285px, 1fr); gap: 22px; }
  .box-builder { padding: 25px; }
  .size-options { grid-template-columns: 1fr; gap: 10px; }
  .size-option-content { min-height: 73px; padding: 13px; }
  .size-price { font-size: 15px; }
  .bag-panel { padding: 23px 20px; }
  .bag-title-row h2 { font-size: 22px; }
  .bag-item { gap: 10px; }
  .bag-item-image { width: 48px; height: 55px; }
  .checkout-summary { padding-left: 35px; padding-right: 35px; }
  .payment-panel { padding-left: 35px; padding-right: 35px; }
}
@media (max-width: 820px) {
  .order-intro { padding-top: 27px; }
  .order-intro h1 { font-size: 48px; }
  .order-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .box-builder { padding: 27px; }
  .bag-panel { position: static; padding: 27px; }
  .size-options { grid-template-columns: 1fr 1fr; }
  .bag-item-image { width: 64px; height: 68px; }
  .bag-item-bottom { max-width: 300px; }
  .bag-title-row h2 { font-size: 27px; }
  .commerce-footer { flex-wrap: wrap; }
  .commerce-footer p { margin: 0; }
  .checkout-header { padding: 23px 27px; }
  .checkout-header .brand { font-size: 26px; }
  .checkout-header .commerce-back { font-size: 10px; }
  .checkout-shell { grid-template-columns: 1fr; min-height: 0; }
  .checkout-summary { padding: 35px 27px 32px; border-right: 0; border-bottom: 1px solid #d7ddcd; }
  .checkout-summary-inner { max-width: 500px; margin: 0 auto; }
  .checkout-summary h1 { font-size: 37px; }
  .checkout-summary h1 br { display: none; }
  .checkout-summary h1 .handwritten { display: block; font-size: 1.2em; }
  .checkout-summary-copy { margin: 14px 0 25px; }
  .checkout-summary .eyebrow { margin-bottom: 16px; }
  .checkout-totals { margin-top: 22px; }
  .fulfillment-note { margin-top: 22px; }
  .payment-panel { padding: 36px 27px 44px; }
  .payment-inner { max-width: 500px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .order-intro { padding-top: 24px; padding-bottom: 31px; }
  .order-intro > .commerce-back { font-size: 10px; margin-bottom: 30px; }
  .order-intro h1 { font-size: 43px; }
  .order-intro-copy { font-size: 12px; margin-top: 20px; }
  .desktop-break { display: none; }
  .order-intro .eyebrow { font-size: 8px; }
  .box-builder { padding: 22px 18px; border-radius: 19px; }
  .builder-step legend { font-size: 15px; gap: 10px; }
  .step-tag { width: 25px; height: 25px; font-size: 8px; }
  .size-options { grid-template-columns: 1fr; }
  .size-option-content { padding: 13px 15px; }
  .size-option-content strong { font-size: 13px; }
  .size-option-content small { font-size: 10px; }
  .flavor-options { grid-template-columns: 1fr; gap: 10px; }
  .flavor-option-text { padding: 10px 14px; }
  .flavor-option-text strong { font-size: 13px; }
  .flavor-option-text small { font-size: 10px; }
  .flavor-option-content { border-radius: 9px; flex-direction: row; align-items: center; }
  .flavor-option-content > img { width: 84px; height: 84px; flex-shrink: 0; aspect-ratio: auto; }
  .flavor-check { top: 5px; right: 5px; width: 18px; height: 18px; font-size: 10px; }
  .flavor-option-mixed .flavor-option-content { padding: 10px 12px; gap: 8px; }
  .mix-builder { padding: 15px 12px; }
  .mix-heading h3 { font-size: 13px; }
  .mix-label { gap: 7px; font-size: 10px; }
  .mix-label img { width: 27px; height: 29px; }
  .quantity-control button { width: 27px; }
  .quantity-control input { width: 28px; }
  .box-quantity-row { gap: 10px; }
  .box-quantity-row label { font-size: 12px; }
  .box-quantity-row .step-description { font-size: 10px; }
  .box-quantity-control button { width: 32px; }
  .box-quantity-control input { width: 34px; }
  .builder-add-row { align-items: stretch; flex-direction: column; gap: 18px; }
  .builder-add-row > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 15px; align-items: center; }
  .builder-add-row strong { grid-column: 2; grid-row: 1 / 3; margin: 0; font-size: 28px; }
  .builder-add-row small { margin: 0; }
  .builder-add-row > .button { width: 100%; justify-content: space-between; }
  .bag-panel { padding: 24px 20px; border-radius: 19px; scroll-margin-top: 100px; }
  .bag-title-row h2 { font-size: 25px; }
  .bag-item-image { width: 53px; height: 60px; }
  .order-kind-note { padding-top: 33px; padding-bottom: 35px; }
  .order-kind-note .handwritten { font-size: 25px; }
  .commerce-footer { gap: 20px; padding-top: 24px; padding-bottom: 26px; }
  .commerce-footer .brand { width: 100%; }
  .commerce-footer p, .commerce-footer > a:last-child { font-size: 9px; }
  .checkout-header { padding: 20px 22px; gap: 13px; }
  .checkout-header .brand { font-size: 24px; }
  .checkout-header .brand span { font-size: 6px; }
  .checkout-header .commerce-back { font-size: 9px; gap: 5px; }
  .checkout-summary { padding: 31px 24px; }
  .checkout-summary h1 { font-size: 35px; }
  .checkout-item { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; }
  .checkout-item-image img { width: 54px; height: 58px; }
  .checkout-item-price { font-size: 11px; }
  .checkout-item-description h3 { font-size: 11px; }
  .payment-panel { padding: 31px 24px 40px; }
  .payment-panel h2 { font-size: 25px; }
  .demo-checkout-badge { font-size: 9px; }
  .checkout-contact > legend { font-size: 12px; }
  .commerce-field input, .commerce-field textarea { font-size: 16px; }
  .test-card-inputs input { font-size: 13px; }
  .demo-outcome > legend { font-size: 9px; }
  .outcome-options span { padding: 7px 8px; font-size: 9px; }
  .demo-pay-button { font-size: 12px !important; }
  .demo-receipt > div { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; font-size: 10px; }
  .checkout-footer { font-size: 8px; gap: 12px 18px; padding: 19px 24px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .size-option-content, .flavor-option-content, .demo-pay-button { transition: none; }
  .payment-spinner { animation: none; }
}
