/* GENERATED by tools/bundle-home-css.mjs (in this repo; run: node tools/bundle-home-css.mjs . after editing) from promotion.css, v4/unified-builder.css, v4/storefront-tail.css, v4/quick-scenes.css, v4/storefront-recovery.css, v4/aesthetic.css. Edit those files, not this one. */
/* ---- promotion.css ---- */
.glaze-love{background:#38241e;color:var(--cream,#fff8ee);padding:24px;border-radius:18px;position:relative;isolation:isolate;border:1px solid #c39865;box-shadow:0 8px 30px #38241e20}
.glaze-love[hidden]{display:none!important}
.glaze-love::before{content:"";position:absolute;inset:7px;border:2px dotted #e7c995;border-radius:12px;pointer-events:none;opacity:.8}
.glaze-love-eyebrow{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#e8cb9b;margin:0 0 8px}
.glaze-love-code{font-family:'Glaze Display',Georgia,serif;font-size:clamp(24px,5vw,38px);letter-spacing:.05em;line-height:1.25;color:#fff7df;text-shadow:0 0 12px #f6bf6455;overflow-wrap:anywhere}
.glaze-love p{line-height:1.6;margin:8px 0 0;font-size:14px}
.glaze-love a{display:inline-block;background:#fff3dd;color:#38241e;border-radius:999px;padding:12px 22px;text-decoration:none;font-weight:800;margin-top:16px}
.glaze-love-home{max-width:1120px;margin:24px auto;text-align:center}
.glaze-love-home h2{font-family:'Glaze Display',Georgia,serif;font-size:clamp(26px,4vw,42px);line-height:1.15;margin:6px 0 12px}
.glaze-love-home .glaze-love-code{font-size:clamp(24px,4vw,34px)}
.glaze-love-terms{color:#ebd9bd;font-size:12px!important;max-width:760px;margin:14px auto 0!important}
.glaze-promo{padding:20px 0 0;border-top:1px solid var(--blush,#eadbc9);margin-top:20px}
.glaze-promo label{display:block;font-size:14px;font-weight:800;color:var(--deep-brown,#38241e);margin-bottom:9px}
.glaze-promo-entry{display:flex;gap:8px}
.glaze-promo input{min-width:0;width:100%;flex:1;border:1px solid #ad8768;border-radius:10px;background:#fffaf3;padding:13px 12px;font:16px system-ui;color:#38241e;text-transform:uppercase}
.glaze-promo button{border:0;border-radius:10px;background:var(--deep-brown,#38241e);color:#fff7e7;font:800 16px system-ui;padding:13px 20px;cursor:pointer}
.glaze-promo button:disabled{opacity:.6;cursor:wait}
.glaze-promo :focus-visible,.glaze-love a:focus-visible{outline:3px solid #aa6533;outline-offset:3px}
.glaze-promo-feedback{font-size:13px;line-height:1.5;margin:10px 0 0;min-height:20px;color:#554238}
.glaze-promo-feedback[data-error=true]{color:#9a3029}
.glaze-promo-remove{background:transparent!important;color:#67412c!important;text-decoration:underline;padding:8px 0!important;font-size:13px!important}
.glaze-promo-saving{color:#396044;font-weight:800}
.glaze-promo .glaze-love{margin-bottom:16px;padding:21px;text-align:center}
@keyframes glaze-lights{0%,100%{text-shadow:0 0 8px #f6bf6440}50%{text-shadow:0 0 16px #f6bf6480}}
@media(prefers-reduced-motion:no-preference){.glaze-love-code{animation:glaze-lights 4s ease-in-out infinite}}
@media(max-width:600px){.glaze-love-home{margin:16px}.glaze-love{padding:22px 18px}.glaze-promo button{padding:13px 16px}}

.glaze-promo-saving[hidden]{display:none!important}

/* ---- v4/unified-builder.css ---- */
/* Integrated controls for the existing storefront builders. */
#boxBuilder .flavor-btn:hover { transform: none; }
#boxBuilder .flavor-short-desc { display: block; -webkit-line-clamp: unset; overflow: visible; white-space: normal; }
#productBuilderTabs { max-width: none; margin-bottom: var(--world-gap, 1rem); touch-action: pan-y; }
#productBuilderTabs .om-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
#productBuilderTabs .om-card { flex-direction: row; justify-content: center; gap: .6rem; padding: .75rem .5rem; min-height: 4rem; }
#productBuilderTabs .om-card .om-txt { align-items: flex-start; }
#productBuilderTabs .om-label { text-align: left; }
#productBuilderTabs .om-note { margin: .7rem 0; text-align: left; }
#productBuilderTabs .om-label { display: none; }
#productBuilderTabs .om-card { flex-direction: row; min-height: 2.75rem; border-radius: var(--radius); padding: .5rem; }
#productBuilderTabs .om-card small, #productBuilderTabs .om-icons { display: none; }
#productBuilderTabs .om-card .om-txt { align-items: center; }
#productBuilderTabs .om-card b { margin: 0; }
.unified-shell { border: 1px solid var(--linen); border-radius: var(--radius); background: var(--cream); overflow-y: hidden; }
.unified-shell > .builder-world { width: 100%; max-width: none !important; box-sizing: border-box; }
.unified-shell section:not(.box-builder), #builderOrder section, #builderOrder nav { padding: 0 !important; }
.unified-shell .unified-resize { padding: 1rem !important; }
.unified-matcha-fulfillment { padding: 0 !important; }
.unified-shell .box-builder { margin: 0; box-shadow: none; border: 0; }
.unified-shell .builder-content { align-items: start; }
.unified-shell .box-visual { align-self: start; }
#matchaOrderPanel #matchaSection { padding: 2rem; background: var(--white); border-radius: var(--radius); }
#matchaSection .mx-stage { display: flex; flex-direction: column; text-align: center; margin: 0; padding: 1rem; background: none; }
#matchaSection .mx-cup { width: 8rem; }
#matchaSection .mx-add { display: grid; grid-template-columns: 1fr; margin: 0; gap: .65rem; }
#matchaSection .mx-btn { display: flex; align-items: center; gap: .7rem; text-align: left; padding: .7rem; background: var(--cream); border-color: var(--linen); }
#matchaSection .mx-btn .mx-mini { flex: none; width: 2.5rem; margin: 0; }
#matchaSection .mx-btn b { flex: 1; font-size: .9rem; }
#matchaSection .mx-btn small { color: var(--gold-text); font-size: .65rem; }
#matchaSection #matchaMilkRow { display: flex !important; flex-wrap: nowrap; gap: .5rem; }
#matchaSection #matchaMilkRow > * { flex: 1; width: auto; }
#matchaSection #matchaBuildBlock { align-items: start; }
#matchaSection .box-visual { align-self: start; }
#matchaSection .mx-tray { justify-content: center; }
#matchaSection .mx-start { display: none !important; }
.unified-matcha-fulfillment { margin: 1rem 0; }
.unified-allergy { max-width: none !important; margin-bottom: var(--world-gap,1rem) !important; }
.unified-size-label { font-weight: 700; color: var(--plum); margin-bottom: .75rem; }
#boxBuilder #sizesGrid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: .6rem; margin: 0 0 1.5rem; max-width: none; padding: 0; overflow: visible; }
#boxBuilder #sizesGrid .size-card { width: auto !important; min-width: 0 !important; padding: .85rem .5rem; transform: none; animation: none; text-align: center; border-radius: var(--radius); }
#boxBuilder #sizesGrid .size-card h3 { font-size: 1rem; }
#boxBuilder #sizesGrid .size-detail, #boxBuilder #sizesGrid .per-roll, #boxBuilder #sizesGrid .size-badge { display: none; }
#boxBuilder #sizesGrid .size-price { font-size: 1.25rem; margin: .2rem 0 0; }
#boxBuilder #sizesGrid .size-card[data-product="occasion-box"], #boxBuilder #sizesGrid .size-card[data-product="custom-box"], #boxBuilder #sizesGrid .subscription-card { grid-column: auto; }
#boxBuilder .builder-header { padding-top: 1rem; border-top: 1px solid var(--linen); }
.unified-help { color: var(--text-muted); font-size: .85rem; line-height: 1.55; margin: .7rem 0; }
.unified-order { border-top: 1px solid var(--linen); padding: 1.5rem 0 0 !important; margin-top: 1.5rem; }
.unified-order header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; }
.unified-order h3 { font-family: 'Glaze Display',Georgia,serif; font-weight: 400; font-size: 1.7rem; color: var(--plum); }
.unified-order ul { list-style: none; padding: 0; }
.unified-order li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--linen); }
.unified-order li p { margin: .2rem 0; font-size: .8rem; color: var(--text-muted); }
.unified-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.unified-actions button, .unified-order > button { min-height: 2.75rem; border: 1px solid var(--linen); border-radius: var(--radius); background: var(--cream); color: var(--plum); padding: .5rem .8rem; font: 600 .8rem 'DM Sans',sans-serif; cursor: pointer; }
.unified-actions button:focus-visible, .unified-order button:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.unified-status { font-size: .9rem; color: var(--plum); min-height: 1.5em; margin: .8rem 0; }
.unified-special { margin: 0 0 .6rem; }
.unified-special summary { min-height: 2.75rem; color: var(--plum); cursor: pointer; font-size: .85rem; font-weight: 600; }
.unified-special-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin-bottom: 1rem; }
.unified-special-choices .size-card { min-width: 0; padding: 1rem; }
.unified-special-choices .size-card h3 { font-size: 1.15rem; }
.unified-weekly { display: inline-flex; align-items: center; min-height: 2.75rem; margin-bottom: .5rem; font-size: .85rem; color: var(--plum); }
.unified-resize { border: 1px solid var(--honey-gold); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.unified-resize[hidden] { display: none; }
.unified-resize p { font-size: .9rem; color: var(--plum); margin-bottom: .75rem; }
.unified-resize button, .unified-cancel-edit { min-height: 2.75rem; border: 1px solid var(--linen); background: var(--cream); border-radius: var(--radius); color: var(--plum); padding: .5rem .8rem; margin-right: .5rem; cursor: pointer; font: 600 .85rem 'DM Sans',sans-serif; }
.unified-cancel-edit { margin-top: .6rem; }
#boxBuilder .box-grid.grid-2, #boxBuilder .box-grid.grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 15rem; }
#matchaBuildBlock { order: 0; }
#matchaMilkBlock { order: 1; }
#matchaRideNote { order: 2; }
#matchaDayBlock { order: 3; }
#matchaTimeBlock { order: 4; }
#matchaSection > .mx-wrap { display: flex; flex-direction: column; }
.savory-world > header { gap: var(--spacing-2); }
.savory-world .unified-size-label { margin-bottom: var(--spacing-2); }
.savory-world .box-builder > .sizes-grid { margin-bottom: var(--spacing-5); }
.savory-world .box-builder > .sizes-grid .size-card { padding: var(--spacing-3); }
.savory-world .box-builder > .sizes-grid .size-detail, .savory-world .box-builder > .sizes-grid .per-roll { display: none; }
.savory-world .box-builder > .sizes-grid .size-price { font-size: var(--font-size-xl); margin-top: var(--spacing-2); }
.savory-world .box-builder > .sizes-grid .size-card h3 { font-size: var(--font-size-sm); }
.savory-world .box-builder > .sizes-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.savory-world .unified-size-warning { color: var(--plum); }
.unified-gift { margin-bottom: 1rem; color: var(--plum); }
.unified-gift summary { cursor: pointer; min-height: 2.75rem; font-weight: 600; }
.unified-gift p { font-size: .85rem; line-height: 1.55; }
.unified-sticky-add { min-height: 2.75rem; border: 1px solid var(--honey-gold-dark); border-radius: var(--radius); padding: .65rem .85rem; font: 600 .85rem 'DM Sans',sans-serif; color: var(--ink); background: var(--honey-gold); cursor: pointer; }
.unified-sticky-add:disabled { opacity: .6; cursor: default; }
@media(max-width:640px) {
  #productBuilderTabs .om-icons { height: 1.75rem; }
  #productBuilderTabs .om-ic { height: 1.75rem; width: 1.5rem; }
  #productBuilderTabs .om-card { flex-direction: row; gap: .15rem; }
  #productBuilderTabs .om-card .om-txt { align-items: center; text-align: center; }
  #productBuilderTabs .om-card b { font-size: .8rem; }
  #productBuilderTabs .om-card small { font-size: .58rem; letter-spacing: .01em; }
  #boxBuilder { padding: 1rem; }
  #matchaOrderPanel #matchaSection { padding: 1rem; }
  #matchaSection .mx-visual { padding: 0; }
  #matchaSection .mx-stage { flex-direction: row; align-items: center; text-align: left; gap: 1rem; }
  #matchaSection .mx-cup { width: 4.5rem; }
  #matchaSection .mx-btn b { font-size: .8rem; }
  #matchaSection .mx-btn small { font-size: .6rem; }
  #boxBuilder #sizesGrid { gap: .4rem; }
  #boxBuilder #sizesGrid .size-card h3 { font-size: .78rem; }
  #boxBuilder #sizesGrid .size-price { font-size: 1.05rem; }
  #boxBuilder .builder-content { gap: 1rem; }
  #boxBuilder .box-visual { position: sticky; top: 0; align-self: center; padding-bottom: .75rem; }
  #boxBuilder .box-container { padding: .85rem; margin: 0 auto; }
  #boxBuilder .box-grid { max-width: 15rem; }
  #boxBuilder .builder-title { font-size: 1.35rem; }
  #boxBuilder .flavor-short-desc { font-size: .75rem; }
  .unified-order li { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .unified-allergy { padding: .75rem !important; }
  .unified-allergy > div:last-child { font-size: .75rem !important; }
  .unified-sticky-add { font-size: .75rem; padding: .6rem; }
  #stickyBar { display: flex !important; flex-wrap: wrap; gap: .5rem; }
  #stickyBarText { flex: 1 0 100%; font-size: .78rem; }
  #stickyBar .unified-sticky-add, #stickyBarBtn { flex: 1; }
  :root { --sticky-bar-height: 104px; }
  #glazeAssistant { bottom: calc(var(--sticky-bar-height) + 1rem) !important; }
  .savory-world .box-builder > .sizes-grid { gap: var(--spacing-1); }
  .savory-world .box-builder > .sizes-grid .size-card { padding: var(--spacing-2); }
}
/* Boxes are laid out before filling; the focused editor is the one menu below. */
#builderComposition, #builderComposition section { padding: 0 !important; }
.order-composition { margin-bottom: var(--world-gap,1rem); color: var(--plum); }
.order-composition h3 { font-family: 'Glaze Display',Georgia,serif; font-size: 2rem; font-weight: 400; margin: 0 0 .5rem; }
.composition-intro { font-size: .9rem; line-height: 1.5; margin-bottom: 1rem; color: var(--text-muted); }
.composition-actions { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; }
.composition-actions button, .composition-warning button { min-height: 2.75rem; padding: .6rem .9rem; border: 1px solid var(--linen); border-radius: var(--radius); color: var(--plum); background: var(--cream); font: 600 .85rem 'DM Sans',sans-serif; cursor: pointer; }
.composition-actions .composition-add { border-color: var(--honey-gold); }
.composition-actions button:disabled { opacity: .45; cursor: default; }
.composition-weekly { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text-muted); font-size: .8rem; }
#builderComposition .container-lineup { display: flex; align-items: center; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; padding: 1rem .5rem !important; margin: 0 -.5rem; }
#builderComposition .composition-box { display: flex; flex-direction: column; align-items: stretch; gap: 0; grid-template-columns: none; width: 14rem; min-width: 14rem; max-width: none; box-sizing: border-box; flex: 0 0 14rem; margin: 0; border: 1px solid var(--linen); border-radius: var(--radius); background: var(--cream); padding: .85rem; opacity: .8; transform: scale(.94); transition: transform .2s,opacity .2s,border-color .2s; scroll-snap-align: center; }
#builderComposition .composition-box.is-focused { opacity: 1; transform: scale(1); border: 2px solid var(--plum); box-shadow: 0 .3rem 1rem var(--linen); }
.container-focus { display: block; min-height: 2.75rem; width: 100%; border: 0; padding: .25rem; background: none; color: var(--plum); font: 600 1rem 'DM Sans',sans-serif; cursor: pointer; }
#builderComposition .container-preview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .3rem; padding: .5rem !important; border: 1px solid var(--linen); border-radius: var(--radius); background: var(--white); min-height: 6rem; margin: .5rem 0; }
.container-slot { display: grid; place-items: center; min-height: 2.75rem; min-width: 0; padding: .15rem; border: 1px dashed var(--linen); border-radius: var(--radius); background: var(--cream); color: var(--text-muted); font-size: 1.1rem; cursor: pointer; }
.container-slot.filled { border-style: solid; }
.container-slot svg { width: 100%; max-height: 3.3rem; }
.container-preview > p { grid-column: 1/-1; align-self: center; text-align: center; font-size: .8rem; }
#builderComposition .composition-box select { display: block; width: 100%; min-height: 2.75rem; border: 1px solid var(--linen); border-radius: var(--radius); background: var(--white); color: var(--plum); font: 600 .8rem 'DM Sans',sans-serif; padding: .5rem; }
.container-progress { min-height: 2.5em; font-size: .75rem; line-height: 1.4; margin: .6rem 0 0; }
.container-remove { min-height: 2.75rem; border: 0; background: none; color: var(--text-muted); font: .75rem 'DM Sans',sans-serif; cursor: pointer; text-decoration: underline; }
.composition-status { min-height: 1.5em; font-size: .85rem; margin: .4rem 0; }
#builderComposition .composition-warning { border: 1px solid var(--honey-gold); border-radius: var(--radius); padding: 1rem !important; font-size: .85rem; }
.composition-warning[hidden] { display: none; }
.composition-warning p { margin-bottom: .75rem; }
#builderComposition button:focus-visible, #builderComposition select:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
body.composition-active #addToCartBtn { display: none !important; }
.composition-embedded-savory .add-to-cart-btn { display: none !important; }
.composition-embedded-savory .builder-content { grid-template-columns: 1fr !important; }
body.composition-active #stickyBar { display: flex !important; flex-wrap: nowrap; }
body.composition-active #stickyBarText { flex: 1; }
body.composition-active #stickyBarBtn { flex: 0 0 auto; }
@media(max-width:640px) {
  .order-composition h3 { font-size: 1.6rem; }
  .composition-actions { gap: .35rem; }
  .composition-actions button { font-size: .75rem; padding: .5rem .65rem; }
  .composition-actions .composition-duplicate { font-size: .7rem; }
  #builderComposition .composition-box { width: 12.5rem; min-width: 12.5rem; flex-basis: 12.5rem; }
  body.composition-active #stickyBarText { font-size: .75rem; }
  :root { --sticky-bar-height: 80px; }
}
@media(prefers-reduced-motion:reduce) { #builderComposition .composition-box { transition: none; } }

#builderComposition .container-preview.two-column { grid-template-columns: repeat(2,minmax(0,1fr)); }

#builderComposition { margin: 0; padding: 0 !important; }
#builderComposition .composition-status:empty { display: none; }
#orderBoxPreview { padding: 0 !important; margin-bottom: 1.5rem; }
#orderBoxPreview h3 { font-family: 'Glaze Display',Georgia,serif; color: var(--plum); font-weight: 400; margin-bottom: .75rem; }
#orderBoxPreview .container-lineup { display: flex; gap: 1rem; overflow-x: auto; padding: .5rem 0 1.5rem; scroll-snap-type: x proximity; }
#orderBoxPreview .composition-box { flex: 0 0 15rem; border: 0; background: none; padding: 1rem; scroll-snap-align: start; }
#orderBoxPreview .container-preview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .3rem; margin-block: 1.5rem 1rem; min-height: 8rem; }
#orderBoxPreview .container-preview.box-container { padding: 1.75rem .75rem .75rem; }
#orderBoxPreview .container-preview.two-column { grid-template-columns: repeat(2,minmax(0,1fr)); }
#orderBoxPreview .savory-order-box { border-radius: .5rem; }
#orderBoxPreview .container-slot { position: relative; z-index: 1; border-radius: 50%; }
#orderBoxPreview .container-progress { color: var(--text-muted); }
#boxBuilder .box-visual { padding-top: 2rem; padding-bottom: 2rem; }

body.composition-active { padding-bottom: calc(var(--sticky-bar-height) + env(safe-area-inset-bottom,0px)); }
body.composition-active #glazeAssistant { bottom: calc(var(--sticky-bar-height) + 1rem) !important; }
body.composition-active #stickyBarBtn:disabled { opacity: .5; cursor: default; }
@media(max-width:640px) {
  #boxBuilder #sizesGrid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html { scroll-padding-bottom: calc(var(--sticky-bar-height) + 1rem); }
  body.composition-active #glazeAssistant { bottom: auto !important; height: fit-content; pointer-events: none; }
  body.composition-active #glazeAssistBubble, body.composition-active #glazeAssistPanel { pointer-events: auto; }
}

/* Specialty sizes stay available without competing with the box carousel. */
.compact-special-sizes { margin-top: 1rem; font-size: .8rem; }
.compact-special-sizes > summary { cursor: pointer; min-height: 2.75rem; display: flex; align-items: center; color: var(--text-muted); }
.compact-special-sizes .size-card { margin-bottom: .5rem; padding: .75rem; }
.compact-special-sizes .size-detail, .compact-special-sizes .per-roll { display: none; }
.compact-special-sizes .size-price { font-size: 1rem; }
.savory-dips { border-top: 1px solid var(--linen); padding-top: var(--spacing-4); width: 100%; }
.savory-dips summary { cursor: pointer; color: var(--plum); padding-block: var(--spacing-3); }

.dip-stepper .quick-fill-btn { min-width: 2.75rem; min-height: 2.75rem; padding: var(--spacing-2); }
.dip-stepper output { min-width: var(--spacing-5); text-align: center; color: var(--plum); }
.dip-stepper button:disabled { opacity: .4; cursor: default; }

#orderBoxPreview, #orderBoxPreview .container-preview { overflow: visible; }
#orderBoxPreview .container-lineup { scroll-padding-inline: 1rem; }
/* The selected box is both the size preview and the live packing surface. */
#boxBuilder #sizesGrid[hidden] { display: none !important; }
.box-size-carousel { padding: 0 !important; margin: 0 auto 1rem; width: 100%; max-width: 28rem; overflow: visible; }
.box-size-rail { position: relative; display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; width: 100%; padding: 0; }
.box-size-rail::-webkit-scrollbar { display: none; }
.box-size-slide { flex: 0 0 100%; width: 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; padding: 0; }
.box-size-caption { display: block; text-align: center; margin: 0; padding-block: .5rem; font: 600 1rem 'DM Sans',sans-serif; color: var(--plum); }
.box-size-stage { display: flex; align-items: center; justify-content: center; padding: 0; width: 100%; }
.box-size-nav { display: flex; justify-content: space-between; align-items: center; gap: .5rem; width: 100%; padding: 0; }
.box-size-nav p { margin: 0; text-align: center; font: .75rem 'DM Sans',sans-serif; color: var(--text-muted); }
.box-size-arrow { width: 2.75rem; min-height: 2.75rem; flex: 0 0 2.75rem; border: 1px solid var(--linen); border-radius: 50%; background: var(--cream); color: var(--plum); font: 1.15rem 'DM Sans',sans-serif; cursor: pointer; }
.box-size-arrow:disabled { opacity: .25; cursor: default; }
.box-size-arrow:focus-visible, .box-size-rail:focus-visible { outline: 2px solid var(--plum); outline-offset: -2px; }
#boxBuilder .box-size-stage .box-visual, .box-size-stage .box-visual { position: relative; top: auto; padding: 1.75rem .5rem 1.25rem; margin: 0; width: 100%; max-width: 22rem; align-self: center; }
#boxBuilder .box-size-stage .box-container, .box-size-stage .box-container { display: block; width: 100%; padding: 2rem 1.5rem 1.5rem; margin: 0; box-sizing: border-box; }
.box-size-stage .box-container::after, .container-preview.box-container::after { content: 'Glaze'; min-width: 0; width: auto; top: -.65rem; padding: .45rem 1.4rem; font-size: 1.1rem; }
.box-size-stage .box-container::before { top: 1rem; right: .65rem; left: .65rem; bottom: .65rem; }
#boxBuilder .box-size-stage .box-grid, .box-size-stage .box-grid { width: 100%; max-width: none; margin: 0; gap: .6rem; }
#boxBuilder .box-size-stage .box-grid.grid-2, #boxBuilder .box-size-stage .box-grid.grid-4, .box-size-stage .box-grid.grid-2, .box-size-stage .box-grid.grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.box-size-stage .box-grid.grid-6 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.box-size-stage .box-grid.grid-12 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.box-size-stage .roll-slot { width: 100%; height: auto; min-height: 0; min-width: 0; padding: 0; aspect-ratio: 1; box-sizing: border-box; animation: none; }
.box-size-stage .box-complete-badge { display: none !important; }
.savory-world .box-size-stage .box-container { border-radius: .55rem; }
.savory-world .box-size-stage .box-container::before { border-radius: .3rem; }
#boxBuilder .builder-content { display: block; }
#boxBuilder .builder-header, .savory-world .builder-header { border-top: 0; padding-top: 0; }
#matchaSection .box-size-carousel { order: -2; }
#matchaSection > .builder-header { order: -1; }
#matchaSection .mx-stage, #matchaSection #matchaStartCup, #matchaSection #matchaLine { display: none !important; }
#matchaSection .mx-visual::after { display: none; }
#matchaBuildBlock { display: block; }
.box-size-stage .cup-box .box-container { border-color: var(--honey-gold); }
.box-size-stage .cup-tray { display: grid; gap: .6rem; grid-template-columns: repeat(2,minmax(0,1fr)); background: var(--plum); }
.box-size-stage .cup-tray.tray-1 { grid-template-columns: 1fr; max-width: 10rem; margin-inline: auto; }
.box-size-stage .cup-tray.tray-6 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.box-size-stage .cup-tray.tray-12 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.box-size-stage .cup-box .grid-1 { width: 5rem !important; margin: auto !important; }
.box-size-stage .cup-box:has(.grid-1) { max-width: 11rem; }
.box-size-stage .mx-slot { height: auto; position: relative; z-index: 1; width: 100%; min-width: 0; min-height: 0; aspect-ratio: .7; border: 0; padding: 0; background: none; }
.box-size-stage .empty-cup { border: 2px dashed var(--honey-gold); border-radius: .5rem .5rem 1rem 1rem; aspect-ratio: .7; background: var(--cream); box-shadow: inset 0 0 .75rem var(--linen); opacity: .7; }
.box-size-stage .mx-select { width: 100%; height: 100%; padding: 0; min-height: 0; background: none; }
.box-size-stage .mx-slot svg { width: 100%; height: 100%; max-height: none; }
#boxBuilder .box-grid .roll-slot { overflow: hidden; }
@media(min-width:641px) { .box-size-carousel { max-width: 24rem; } }

.box-size-stage .roll-slot .roll-svg { width: calc(100% - .5rem); height: calc(100% - .5rem); max-width: none; max-height: none; }
.box-size-stage .box-visual::after { display: none; }
#matchaSection .box-size-stage .mx-visual { padding: 1.75rem .5rem 1.25rem !important; }
#matchaSection .box-size-stage #matchaTray { padding: 2rem 1.5rem 1.5rem !important; overflow: visible; }
#matchaSection #matchaSubheading, #matchaBuildBlock .flavor-picker > .picker-label { display: none; }
#matchaSection .box-size-stage .empty-cup { height: auto; background: var(--cream); border: 2px dashed var(--honey-gold); }

/* Order review: actual selections, one set of actions, and a quiet empty state. */
#order { background: var(--cream); padding-block: 2.5rem; }
#order > .section-inner > .section-subtitle { margin-bottom: 1.5rem; }
#order .order-container { gap: 1.5rem; }
#order .cart-section { background: var(--white); border: 1px solid var(--linen); border-radius: var(--radius); padding: 1.25rem; }
#order .cart-section > .order-step-label { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1rem; }
#order .cart-section .order-step-title { font-size: 1.15rem; }
#clearCartBtn { margin-left: auto; border: 1px solid var(--linen); background: var(--white); padding: .5rem .75rem; border-radius: .6rem; font-size: .75rem; color: var(--text-muted); }
#clearCartBtn[hidden], #order .order-step-label[hidden], #cartItems [hidden], #orderBoxPreview[hidden] { display: none !important; }
#orderBoxPreview .container-lineup { display: grid; grid-template-columns: 1fr; gap: 1rem; overflow: visible; padding: 0; }
#orderBoxPreview .composition-box { width: auto; min-width: 0; padding: 1rem; border: 1px solid var(--linen); border-radius: var(--radius); background: var(--cream); }
.container-title { margin: 0; color: var(--plum); font: 600 1rem 'DM Sans',sans-serif; }
#orderBoxPreview .container-preview { max-width: 16rem; margin: 1.75rem auto 1rem; min-height: 0; }
#orderBoxPreview .container-slot { pointer-events: none; cursor: default; }
#orderBoxPreview .container-progress { min-height: 0; margin-top: .5rem; font-weight: 600; color: var(--plum); font-size: .8rem; }
.container-contents { margin: .5rem 0 .75rem; font-size: .75rem; line-height: 1.6; color: var(--text-muted); }
.container-actions { display: flex; gap: .5rem; }
.container-edit, .container-remove { min-height: 2.75rem; border: 1px solid var(--linen); background: var(--white); border-radius: .6rem; padding: .5rem 1rem; font: 600 .8rem 'DM Sans',sans-serif; text-decoration: none; color: var(--plum); cursor: pointer; }
.container-remove { color: var(--text-muted); }
#cartEmpty { padding: 1.5rem .25rem; text-align: center; }
#cartEmpty .cart-empty-title { font-size: 1.4rem; }
#cartEmpty .cart-empty-sub { font-size: .85rem; margin: .5rem 0 1rem; }
#cartEmpty .cart-empty-cta { display: inline-flex; align-items: center; min-height: 2.75rem; background: var(--plum); color: var(--white); border: 0; border-radius: .65rem; padding: .6rem 1.2rem; font-size: .85rem; text-decoration: none; }
#order .cart-total { font-size: 1.05rem; }
.field-optional { color: var(--text-muted); font-size: .75rem; font-weight: 400; margin-left: .3rem; }
.early-matcha-request { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--plum); font-weight: 600; text-decoration: none; }
.early-matcha-note { display: block; font-size: .75rem; }

/* Flavor cards and the tray use the same cup illustrations. */
#matchaSection #matchaMilkRow { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
#matchaSection #matchaMilkRow .mx-win { min-height: 2.75rem; border-radius: .65rem; }
#matchaSection .mx-add { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
#matchaSection .mx-btn { display: grid; grid-template-columns: 1fr; justify-items: center; gap: .2rem; padding: .65rem; text-align: center; border-radius: .85rem; }
#matchaSection .mx-btn .mx-mini { width: 3.6rem; height: 5.2rem; }
#matchaSection .mx-btn .mx-mini svg { height: 100%; width: 100%; }
#matchaSection .mx-btn b { font-size: .8rem; line-height: 1.35; }
#matchaSection .mx-btn small { font-size: .8rem; color: var(--text-muted); }
#matchaSection .mx-btn:disabled { opacity: .45; }
#matchaAddRow .mx-add-prompt, #matchaAddRow .mx-cancel { grid-column: 1/-1; }
.box-size-stage .empty-cup, #matchaSection .box-size-stage .empty-cup { display: grid; place-items: center; border: 0; border-radius: 0; box-shadow: none; background: transparent; opacity: .85; }
.box-size-stage .empty-cup svg { display: block; width: 100%; height: 100%; }
#matchaSection .cup-tray .mx-slot.filled { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.box-size-stage .box-container { box-shadow: inset 0 .2rem .4rem var(--linen), 0 .35rem .65rem var(--linen); }

/* Wheel rows snap into a fixed center band, with keyboard and tap equivalents. */
.pickup-wheel-shell { position: relative; border: 1px solid var(--linen); border-radius: .85rem; background: var(--white); overflow: hidden; margin: .5rem 0 .75rem; }
.pickup-wheel-shell::after { content: ''; position: absolute; top: 50%; left: .5rem; right: .5rem; height: 3rem; transform: translateY(-50%); border-block: 1px solid var(--honey-gold); background: color-mix(in srgb, var(--honey-gold) 8%, transparent); border-radius: .4rem; pointer-events: none; }
#dateCardsScroll.pickup-wheel, #matchaDayRow.pickup-wheel, #matchaWindowRow.pickup-wheel { position: relative; display: block !important; height: 9rem; max-height: 9rem; overflow-y: auto; overflow-x: hidden; padding: 3rem .75rem !important; margin: 0; gap: 0; scroll-snap-type: y mandatory; overscroll-behavior-y: contain; scrollbar-width: none; mask-image: linear-gradient(transparent,black 28%,black 72%,transparent); }
.pickup-wheel::-webkit-scrollbar { display: none; }
#dateCardsScroll.pickup-wheel > button, #matchaDayRow.pickup-wheel > button, #matchaWindowRow.pickup-wheel > button { display: flex; align-items: center; justify-content: center; gap: .5rem; flex: none; width: 100%; min-width: 0; max-width: none; height: 3rem; min-height: 3rem; padding: .5rem !important; margin: 0 !important; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; transform: none !important; scroll-snap-align: center; color: var(--text-muted); font: 400 .95rem 'DM Sans',sans-serif; }
.pickup-wheel > button[aria-selected="true"] { font-weight: 700 !important; color: var(--plum) !important; }
.pickup-wheel > button:disabled { opacity: .45; }
#dateCardsScroll.pickup-wheel .dc-day, #dateCardsScroll.pickup-wheel .dc-num, #dateCardsScroll.pickup-wheel .dc-mon, #matchaDayRow.pickup-wheel .d-dow, #matchaDayRow.pickup-wheel .d-num { font: inherit; margin: 0; color: inherit; text-transform: none; letter-spacing: normal; }
#dateCardsScroll.pickup-wheel > button > div:not([class]), #dateCardsScroll.pickup-wheel .date-badge-full, #dateCardsScroll.pickup-wheel .date-card-status { display: none; }
#matchaDayRow.pickup-wheel .d-left { font-size: .65rem; margin: 0; }
.pickup-wheel > button:focus-visible { outline: 2px solid var(--plum); outline-offset: -2px; }
#order .date-scroll-wrap { margin: 0; }
@media(max-width:640px) { #order .cart-section { position: static; padding: 1rem; } #order .section-title { font-size: 2rem; } }
#orderBoxPreview .container-preview.many-slots { grid-template-columns: repeat(4,minmax(0,1fr)); }
#orderBoxPreview .container-slot { aspect-ratio: 1; min-height: 0; min-width: 0; height: auto; }
#orderBoxPreview .cup-preview .container-slot { aspect-ratio: .7; border: 0; background: transparent; border-radius: 0; }
#orderBoxPreview .cup-preview .container-slot svg { max-height: none; height: 100%; }
#orderBoxPreview .container-preview { box-shadow: inset 0 .15rem .25rem var(--linen), 0 .2rem .6rem var(--linen); }
.pickup-wheel .date-card::after, .pickup-wheel .date-card::before { display: none; }
#matchaSection > .builder-header { display: none; }
#matchaAddRow .mx-add-prompt { grid-column: 1/-1; font-size: .85rem; color: var(--plum); text-align: left; }
.early-matcha-request { border: 1px solid var(--linen); background: var(--white); border-radius: .6rem; padding: .45rem .65rem; margin-block: .6rem .35rem; font-size: .78rem; }

#orderBoxPreview .cup-preview.single-cup { grid-template-columns: 1fr; width: 7rem; }
#orderBoxPreview .cup-preview.two-column { max-width: 12rem; }
/* A shared flavor list, with each recipe packed in its own box. */
#productBuilderTabs [hidden], #savoryBuilderPanel { display: none !important; }
#productBuilderTabs .om-grid { display: flex; justify-content: flex-end; }
#productBuilderTabs .om-btn { flex: none; width: auto; min-height: 2.75rem; padding: .55rem .9rem; background: var(--cream); border: 1px solid var(--linen); border-radius: .6rem; font-size: .8rem; }
#boxBuilder .box-size-carousel[hidden], .active-box-nav[hidden], .cinnamon-discount[hidden], .shared-savory-dips[hidden] { display: none !important; }
.active-box-nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; padding: 0; margin-bottom: .75rem; }
.active-box-choice { min-height: 2.75rem; padding: .5rem .8rem; border: 1px solid var(--linen); border-radius: .6rem; background: var(--white); color: var(--plum); font: 600 .78rem 'DM Sans',sans-serif; }
.active-box-choice[aria-pressed=true] { border-color: var(--honey-gold-dark); background: var(--cream); }
.shared-savory-flavors { width: 100%; padding: 0 0 1.25rem !important; margin-bottom: 1rem; border-bottom: 1px solid var(--linen); }
.shared-savory-flavors h4 { font: 400 1.45rem 'Glaze Display',Georgia,serif; font-variant-ligatures: none; color: var(--plum); margin: 0 0 .45rem; }
.shared-savory-flavors > p { font-size: .78rem; color: var(--text-muted); line-height: 1.5; margin: .35rem 0 .75rem; }
.shared-savory-list { padding: 0; display: grid; gap: .5rem; }
.shared-savory-list .flavor-btn { width: 100%; min-width: 0; display: flex; align-items: center; gap: .7rem; padding: .7rem; text-align: left; }
.shared-savory-list .flavor-art { width: 3rem; height: 3rem; flex: 0 0 3rem; margin: 0; }
.shared-savory-list .flavor-info { flex: 1; padding: 0; min-width: 0; }
.shared-savory-list .flavor-name { display: block; font-size: .88rem; line-height: 1.35; }
.shared-savory-list .flavor-short-desc { display: block; font-size: .72rem; margin-top: .3rem; }
.savory-flavor-price { font-size: .8rem; font-weight: 700; color: var(--plum); }
.shared-halal-option { display: flex; gap: .65rem; align-items: center; min-height: 2.75rem; font-size: .75rem; line-height: 1.5; margin-top: .5rem; color: var(--ink); cursor: pointer; }
.shared-halal-option input { width: 1.15rem; height: 1.15rem; accent-color: var(--honey-gold-dark); flex: none; }
.shared-savory-status:empty { display: none; }
.shared-savory-dips { padding: .75rem 0 0 !important; }
.shared-savory-dips h5 { font: 600 .9rem 'DM Sans',sans-serif; margin: 0 0 .5rem; color: var(--plum); }
.shared-savory-dips p { font-size: .75rem; line-height: 1.5; color: var(--text-muted); margin-block: .5rem; }
.shared-dip-choices { display: flex; gap: .5rem; padding: 0; }
.shared-dip-choice { flex: 1; min-height: 2.75rem; padding: .5rem; border: 1px solid var(--linen); background: var(--white); color: var(--ink); border-radius: .6rem; font: 500 .75rem 'DM Sans',sans-serif; }
.shared-dip-choice[aria-pressed=true] { border-color: var(--honey-gold-dark); background: var(--cream); }
.shared-dip-extras { padding: 0; }
.shared-dip-row { padding: .3rem 0; display: flex; align-items: center; gap: .6rem; font-size: .75rem; color: var(--ink); }
.shared-dip-row > span { flex: 1; }
.shared-dip-row button { width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--linen); border-radius: .6rem; background: var(--white); color: var(--plum); font-size: 1rem; }
.shared-dip-row button:disabled { opacity: .35; }
.shared-dip-row output { min-width: 1rem; text-align: center; }
.savory-live-box .box-container { border-radius: .6rem; }
.savory-live-box .roll-slot { font: 1.5rem 'DM Sans',sans-serif; color: var(--gold-text); padding: .1rem; }
.savory-live-box .roll-slot.filled .roll-svg { animation: rollDrop .35s ease both; }
#boxBuilder.editing-savory .builder-header, #boxBuilder.editing-savory .quick-fill-row, #boxBuilder.editing-savory #quickFillBtn { display: none !important; }
.cinnamon-discount { max-width: 28rem; padding: .75rem 0 !important; margin: 0 auto 1rem; border-block: 1px solid var(--linen); }
.cinnamon-discount p { font-size: .75rem; line-height: 1.55; color: var(--text-muted); margin: 0; }
.discount-size { min-height: 2.75rem; margin-top: .5rem; padding: .5rem .85rem; border: 1px solid var(--honey-gold-dark); border-radius: .6rem; color: var(--plum); background: var(--cream); font: 600 .75rem 'DM Sans',sans-serif; }
@media(prefers-reduced-motion:reduce) { .savory-live-box .roll-slot.filled .roll-svg { animation: none; } }
#dateCardsScroll.pickup-wheel > button[hidden] { display: none !important; }

.box-size-rail { touch-action: pan-y; cursor: grab; scroll-behavior: auto; }
.box-size-rail.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.box-size-nav { border: 1px solid var(--honey-gold); border-radius: 2rem; padding: .25rem; background: var(--cream); box-shadow: 0 0 1rem color-mix(in srgb,var(--honey-gold) 22%,transparent); }
.box-size-nav p { position: relative; overflow: hidden; padding: .65rem .2rem; color: var(--ink); font-weight: 600; }
.box-size-nav p::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg,transparent 25%,rgba(255,255,255,.85) 50%,transparent 75%); transform: translateX(-130%); animation: swipe-shine 4s ease-in-out infinite; pointer-events: none; }
.box-size-arrow { background: var(--honey-gold-light); border-color: transparent; }
@keyframes swipe-shine { 45%,100% { transform: translateX(130%); } }
@media(prefers-reduced-motion:reduce) { .box-size-nav p::after { animation: none; display: none; } }

#boxBuilder .box-visual[hidden] { display: none !important; }

/* ---- v4/storefront-tail.css ---- */
/* The lower storefront uses the same paper, ink and warm gold as the box builder. */
.glaze-creators, .weekly-discovery, body .glaze-footer { background: var(--cream); color: var(--ink); }
.glaze-creators, .weekly-discovery { padding: 3.5rem 1.25rem; text-align: center; }
.tail-heading { max-width: 40rem; margin: 0 auto 1.75rem; }
.tail-eyebrow { color: var(--gold-text); font: 700 .7rem/1.5 'DM Sans',sans-serif; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .7rem; }
.tail-heading h2 { font: 400 clamp(2rem,5vw,3.4rem)/1.1 'Glaze Display',Georgia,serif; font-variant-ligatures: none; color: var(--plum); margin: 0 0 .8rem; }
.tail-heading > p:not(.tail-eyebrow):not(.weekly-price) { font-size: .95rem; color: var(--text-muted); line-height: 1.6; }
.tail-button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3rem; border-radius: .65rem; background: var(--honey-gold); border: 1px solid var(--honey-gold-dark); color: var(--ink); padding: .75rem 1.3rem; font: 700 .9rem/1.4 'DM Sans',sans-serif; text-decoration: none; }
.tail-button:hover { background: var(--honey-gold-light); }
.creator-filmstrip { display: flex; gap: 1rem; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; max-width: 66rem; margin: 0 auto; padding: .5rem 0 1rem; }
.creator-filmstrip::-webkit-scrollbar { display: none; }
.creator-filmstrip li { flex: 0 0 calc((100% - 2rem)/3); min-width: 0; scroll-snap-align: center; }
.creator-filmstrip a { display: block; position: relative; aspect-ratio: 9/14; overflow: hidden; border-radius: 1.2rem; background: var(--linen); color: var(--cream); text-decoration: none; }
.creator-filmstrip video { width: 100%; height: 100%; display: block; object-fit: cover; }
.creator-filmstrip strong { position: absolute; bottom: .75rem; left: .65rem; right: .65rem; width: fit-content; max-width: calc(100% - 1.3rem); background: var(--ink); padding: .35rem .55rem; border-radius: .4rem; font-size: .75rem; overflow-wrap: anywhere; }
.creator-controls { display: flex; justify-content: center; gap: .7rem; align-items: center; margin: .25rem 0 1.25rem; }
.creator-controls button { min-height: 2.75rem; min-width: 2.75rem; border: 1px solid var(--linen); border-radius: .6rem; background: var(--white); color: var(--ink); font: 600 .78rem 'DM Sans',sans-serif; padding: .5rem .8rem; cursor: pointer; }
.creator-footnote { font-size: .75rem; color: var(--text-muted); margin-top: .7rem; }
.weekly-discovery { border-block: 1px solid var(--linen); background: color-mix(in srgb,var(--linen) 45%,var(--cream)); }
.weekly-discovery .tail-heading { margin-bottom: 0; }
.weekly-price { font: 400 1.8rem 'Glaze Display',Georgia,serif; font-variant-ligatures: none; color: var(--plum); margin-top: 1rem; }
.weekly-price small { font: 400 .85rem 'DM Sans',sans-serif; color: var(--text-muted); }
.weekly-box-object { position: relative; display: block; width: min(100%,36rem); height: 22rem; padding: 0; margin: 0 auto; background: transparent; border: 0; cursor: grab; touch-action: pan-y; }
.weekly-box-object:active { cursor: grabbing; }
.weekly-box-object canvas { width: 100%; height: 100%; display: block; }
.weekly-box-fallback { width: 75%; max-height: 90%; object-fit: contain; border-radius: 1rem; margin: auto; }
.weekly-box-object[data-rendered] .weekly-box-fallback { display: none; }
.weekly-open { min-height: 2.75rem; padding: .55rem 1rem; border: 1px solid var(--honey-gold-dark); border-radius: .65rem; color: var(--plum); background: var(--cream); font: 700 .85rem 'DM Sans',sans-serif; cursor: pointer; }
.weekly-gesture { color: var(--text-muted); font-size: .7rem; margin-top: .6rem; }
.weekly-details { max-width: 32rem; margin: 1.8rem auto 0; padding: 1.6rem 0 0; border-top: 1px solid var(--honey-gold); text-align: left; }
.weekly-details[hidden] { display: none; }
.weekly-details h3 { font: 400 1.6rem/1.25 'Glaze Display',Georgia,serif; font-variant-ligatures: none; color: var(--plum); }
.weekly-details ol { list-style: decimal; padding: 0 0 0 1.2rem; margin: 1.2rem 0; }
.weekly-details li { font-size: .9rem; line-height: 1.6; margin-bottom: .8rem; padding-left: .3rem; color: var(--text-muted); }
.weekly-details strong { color: var(--ink); }
.weekly-details > p { font-size: .7rem; color: var(--text-muted); margin-top: .6rem; }
body footer.glaze-footer { padding: 2.5rem max(1.25rem,calc((100% - 60rem)/2)) 6rem; text-align: left; border: 0; }
.glaze-footer::before { content: none; }
.glaze-footer .footer-signoff { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.glaze-footer .footer-wordmark { font: 400 2.8rem 'Glaze Display',Georgia,serif; font-variant-ligatures: none; color: var(--plum); text-decoration: none; }
.glaze-footer .footer-signoff p { color: var(--text-muted); font-size: .8rem; }
.glaze-footer .footer-practical { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 0; }
.glaze-footer h3 { font: 700 .78rem 'DM Sans',sans-serif; margin: 0 0 .6rem; color: var(--ink); }
.glaze-footer p { font-size: .85rem; line-height: 1.65; color: var(--text-muted); }
.glaze-footer .footer-note { font-size: .7rem; margin-top: .4rem; }
.glaze-footer a { color: var(--plum); text-decoration: none; }
.glaze-footer nav a { display: flex; align-items: center; min-height: 2.75rem; font-size: .8rem; font-weight: 500; }
.glaze-footer a:hover { text-decoration: underline; text-underline-offset: .2rem; }
body .glaze-footer #for-business { background: transparent; color: var(--ink); padding: 1.25rem 0; margin-top: 1.2rem; border-block: 1px solid var(--linen); }
.glaze-footer #for-business::before { content: none; }
.glaze-footer .footer-business small { font-size: .7rem; color: var(--text-muted); }
.glaze-footer .footer-business a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.glaze-footer .footer-contact { display: flex; gap: 0 1.2rem; flex-wrap: wrap; margin-top: .8rem; }
.glaze-footer .footer-copyright { font-size: .65rem; margin-top: .75rem; }
.glaze-creators :focus-visible, .weekly-discovery :focus-visible, .glaze-footer :focus-visible { outline: 2px solid var(--plum); outline-offset: .25rem; }
@media(max-width:640px) {
  .creator-filmstrip { margin-inline: -.25rem; padding-inline: .25rem; }
  .creator-filmstrip li { flex-basis: 78%; }
  .weekly-box-object { height: 18rem; }
  .glaze-footer .footer-signoff { gap: .3rem; flex-direction: column; }
}
@media(prefers-reduced-motion:reduce) { .creator-filmstrip { scroll-behavior: auto; } }

#kitchen.glaze-creators { padding: 3rem 1.25rem; }
.reservation-story { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; max-width: 26rem; margin: 1.3rem auto 0; }
.reservation-story > span:not([aria-hidden]) { font-size: .65rem; color: var(--text-muted); }
.reservation-story strong { display: block; margin-top: .25rem; font-size: .8rem; padding: .5rem; border: 1px solid var(--linen); border-radius: .5rem; background: var(--cream); }
.reservation-daily strong { color: var(--text-muted); animation: reservation-stamp 6s ease-out infinite; }
.reservation-weekly strong { color: var(--ink); background: var(--honey-gold-light); border-color: var(--honey-gold); }
.reservation-story figcaption { grid-column: 1/-1; font-size: .7rem; color: var(--text-muted); }
@keyframes reservation-stamp { 0%,12% { opacity: .3; transform: scale(.95) rotate(-3deg); } 24%,100% { opacity: 1; transform: scale(1) rotate(-3deg); } }
#timeWindowGrid { grid-template-columns: 1fr !important; }
#timeWindowGrid .time-card { width: 100%; align-items: flex-start; padding: .9rem 1rem; background: var(--white); box-shadow: none; transform: none; border: 1px solid var(--linen); }
#timeWindowGrid .time-card.active { background: var(--cream); border: 2px solid var(--honey-gold-dark); }
#timeWindowGrid .time-icon { display: none; }
#timeWindowGrid .time-label { color: var(--ink); font-size: .95rem; }
#timeWindowGrid .time-range { font-size: .75rem; color: var(--text-muted); }
#deliveryConfirmPill { background: var(--cream); border-color: var(--linen); border-radius: .65rem; }
#deliveryConfirmPill .swirl-icon { display: none; }
#deliveryConfirmText { color: var(--ink); }
.pickup-availability { margin: .6rem 0; font-size: .75rem; color: var(--text-muted); line-height: 1.6; }
.pickup-availability strong { color: var(--ink); }
.pickup-availability-list { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .4rem; }
.pickup-availability-list button { min-height: 2.75rem; border-radius: .5rem; border: 1px solid var(--linen); background: var(--white); color: var(--ink); padding: .4rem .65rem; font: 500 .72rem 'DM Sans',sans-serif; }
.pickup-availability-list button[aria-pressed=true] { border-color: var(--honey-gold-dark); background: var(--cream); }
.pickup-availability-list small { display: block; font-size: .6rem; color: var(--text-muted); }
@media(prefers-reduced-motion:reduce) { .reservation-daily strong { animation: none; } }

.pickup-availability { padding: 0 !important; }
.pickup-availability-list { padding: 0; }

/* Mobile storefront polish. Keep all ordering actions on a warm paper surface. */
.allergen-board { border: 1px solid var(--honey-gold-dark); border-radius: .8rem; overflow: hidden; margin-bottom: 1.2rem; padding: 1rem; background: var(--cream); color: var(--ink); }
.allergen-board > header { display: flex; align-items: center; gap: .5rem; font: 600 .6rem/1.4 monospace; letter-spacing: .12em; padding-bottom: .7rem; border-bottom: 1px solid var(--linen); }
.allergen-board > header > :last-child { margin-left: auto; }
.allergen-signal { width: .45rem; height: .45rem; border-radius: 50%; background: var(--honey-gold-dark); box-shadow: 0 0 0 .2rem color-mix(in srgb,var(--honey-gold) 20%,transparent); animation: notice-signal 3s ease-in-out infinite; }
.allergen-board h3 { font: 400 1.55rem/1.2 'Glaze Display',Georgia,serif; font-variant-ligatures: none; margin: .85rem 0 .5rem; color: var(--ink); }
.allergen-board p { font-size: .76rem; line-height: 1.6; margin: .4rem 0; color: var(--text-muted); }
.allergen-board p.allergen-important { font-weight: 700; color: var(--ink); }
body .allergen-board footer { padding: .65rem 0 0; margin-top: .7rem; border-top: 1px solid var(--linen); background: transparent; text-align: left; }
.allergen-board footer strong { display: block; color: var(--ink); font-size: .78rem; line-height: 1.5; }
@keyframes notice-signal { 50% { box-shadow: 0 0 0 .35rem color-mix(in srgb,var(--honey-gold) 8%,transparent); } }
body.composition-active #stickyBar { left: .6rem; right: .6rem; bottom: max(.6rem,env(safe-area-inset-bottom)); max-width: 42rem; margin: auto; border: 1px solid var(--honey-gold); border-radius: 1rem; padding: .65rem .75rem; gap: .5rem; background: var(--cream); background-image: none; color: var(--ink); box-shadow: 0 .3rem 1.5rem color-mix(in srgb,var(--ink) 12%,transparent),0 0 1rem color-mix(in srgb,var(--honey-gold) 20%,transparent); animation: dock-glow 5s ease-in-out infinite; }
body.composition-active #stickyBarText { font: 600 .73rem/1.4 'DM Sans',sans-serif; color: var(--ink); white-space: normal; }
#stickyBar .sticky-clear { min-height: 2.75rem; border: 0; border-left: 1px solid var(--linen); padding: .4rem .65rem; background: transparent; color: var(--text-muted); font: 500 .65rem/1.25 'DM Sans',sans-serif; cursor: pointer; max-width: 4rem; }
#stickyBar .sticky-clear[hidden] { display: none; }
body.composition-active #stickyBarBtn { min-height: 2.75rem; padding: .65rem .85rem; font: 700 .75rem/1.3 'DM Sans',sans-serif; background: var(--honey-gold); color: var(--ink); border: 1px solid var(--honey-gold-dark); border-radius: .65rem; box-shadow: none; }
@keyframes dock-glow { 50% { box-shadow: 0 .3rem 1.5rem color-mix(in srgb,var(--ink) 12%,transparent),0 0 1.5rem color-mix(in srgb,var(--honey-gold) 35%,transparent); } }
@media(prefers-reduced-motion:reduce) { .allergen-signal,body.composition-active #stickyBar { animation: none; } }

#stickyBar .sticky-clear { border: 1px solid var(--linen); border-radius: .55rem; background: var(--white); color: var(--ink); font-weight: 600; padding: .4rem .5rem; }
.report-issue-trigger { position: absolute; right: .4rem; bottom: calc(100% + .5rem); min-height: 2.5rem; background: var(--cream); border: 1px solid var(--linen); border-radius: .55rem; padding: .4rem .7rem; color: var(--text-muted); font: 500 .68rem 'DM Sans',sans-serif; box-shadow: 0 .2rem .5rem color-mix(in srgb,var(--ink) 7%,transparent); cursor: pointer; }
#websiteIssueDialog { position: fixed; inset: 0; margin: auto; width: min(calc(100% - 1.5rem),28rem); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: 1.3rem; background: var(--cream); color: var(--ink); border: 1px solid var(--honey-gold); border-radius: 1rem; box-shadow: var(--shadow-lg); }
#websiteIssueDialog::backdrop { background: rgba(40,30,20,.45); }
#websiteIssueForm header { display: flex; align-items: flex-start; gap: .5rem; }
#websiteIssueForm h2 { font: 400 1.6rem/1.2 'Glaze Display',Georgia,serif; font-variant-ligatures: none; margin: 0; }
#websiteIssueForm header button { flex-shrink: 0; width: 2.75rem; height: 2.75rem; background: var(--white); border: 1px solid var(--linen); border-radius: .55rem; color: var(--ink); font-size: 1.4rem; }
#websiteIssueForm p { font-size: .8rem; line-height: 1.5; margin: .7rem 0; }
#websiteIssueForm label { display: block; font-size: .8rem; font-weight: 600; margin: 1rem 0 .4rem; }
#websiteIssueForm small { display: block; font-size: .65rem; font-weight: 400; color: var(--text-muted); }
#websiteIssueForm textarea,#websiteIssueForm input { display: block; width: 100%; border: 1px solid var(--linen); border-radius: .55rem; padding: .75rem; background: var(--white); color: var(--ink); font: 16px/1.5 'DM Sans',sans-serif; }
#websiteIssueForm textarea { min-height: 7rem; resize: vertical; }
#websiteIssueForm .issue-privacy { font-size: .65rem; color: var(--text-muted); }
#websiteIssueForm a { color: var(--plum); font-size: .75rem; text-underline-offset: .2rem; }
#websiteIssueForm [type=submit] { width: 100%; cursor: pointer; }
#websiteIssueForm [type=submit]:disabled { opacity: .6; cursor: wait; }
.hero .hero-content { min-width: 0; width: 100%; }

/* A bound guide: a quiet cover beside paper leaves that turn at the spine. */
.glaze-guide { padding: 3rem 1.25rem; background: var(--cream); }
.glaze-guide .tail-heading { text-align: center; margin-bottom: 2rem; }
.guide-binding { position: relative; display: grid; grid-template-columns: .8fr 1fr; max-width: 54rem; margin: auto; padding: .4rem; background: #b59a73; border-radius: .2rem .5rem .5rem .2rem; box-shadow: 0 1.3rem 2rem -.8rem color-mix(in srgb,var(--ink) 25%,transparent),.2rem .2rem 0 var(--linen); }
.guide-binding::after { content: ''; position: absolute; left: calc(44.44% - .1rem); top: .4rem; bottom: .4rem; width: .8rem; z-index: 5; background: linear-gradient(90deg,transparent,rgba(66,47,29,.17),transparent); pointer-events: none; }
.guide-cover { position: relative; display: flex; flex-direction: column; padding: 2rem; margin-right: .15rem; background: color-mix(in srgb,var(--linen) 65%,var(--cream)); color: var(--ink); border-radius: .15rem 0 0 .15rem; box-shadow: inset 0 0 0 1px #d8c9b2; }
.guide-cover-brand { font: 400 2.5rem/1 'Glaze Display',Georgia,serif; font-variant-ligatures: none; }
.guide-cover-edition { margin: 2.5rem 0 1rem; font-size: .6rem; letter-spacing: .2em; color: var(--gold-text); }
.guide-cover h3 { font: 400 2.25rem/1.15 'Glaze Display',Georgia,serif; font-variant-ligatures: none; color: var(--ink); margin: 0 0 1.5rem; }
.guide-cover > p:not(.guide-cover-edition) { font-size: .85rem; line-height: 1.9; color: var(--text-muted); }
.guide-cover-bottom { margin-top: auto; padding-top: 2rem; font-size: .55rem; letter-spacing: .16em; color: var(--text-muted); }
.guide-book { position: relative; perspective: 1000px; padding: 0; margin: 0; min-width: 0; touch-action: pan-y; user-select: none; cursor: grab; background: var(--linen); border-radius: 0 .25rem .25rem 0; box-shadow: .2rem .15rem 0 var(--cream),.35rem .3rem 0 var(--linen); }
.guide-page { position: absolute; inset: 0 0 auto; min-height: 29rem; width: 100%; padding: 2rem 1.8rem 3.6rem 2.2rem; background: var(--cream); border-radius: 0 .15rem .15rem 0; border: 1px solid var(--linen); transform-origin: left center; backface-visibility: hidden; overflow: hidden; }
.guide-page[hidden] { display: none; }
.guide-page::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--ink); opacity: var(--page-shade,0); }
.guide-page::before { content: ''; position: absolute; bottom: 0; right: 0; width: 1.2rem; height: 1.2rem; background: linear-gradient(135deg,transparent 50%,var(--linen) 51%,var(--cream)); }
.guide-book.is-turning .guide-page { transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.guide-page .guide-folio { margin: 0 0 2rem; padding-bottom: .75rem; border-bottom: 1px solid var(--linen); color: var(--gold-text); font: 600 .6rem/1.5 'DM Sans',sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.guide-page h3 { font: 400 clamp(1.7rem,3vw,2.2rem)/1.12 'Glaze Display',Georgia,serif; font-variant-ligatures: none; color: var(--ink); margin: 0 0 1.25rem; }
.guide-page p { font-size: .86rem; line-height: 1.7; color: var(--text-muted); margin: 0 0 1rem; }
.guide-page p.guide-lead { font-size: 1rem; line-height: 1.6; color: var(--ink); }
.guide-page strong { color: var(--ink); }
.guide-page .guide-margin-note { margin-top: 1.4rem; padding-top: .8rem; border-top: 1px solid var(--linen); font-size: .75rem; }
.guide-track-link { display: inline-flex; gap: 1rem; align-items: center; min-height: 2.75rem; color: var(--ink); font-size: .8rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--honey-gold-dark); }
body .guide-page-footer { position: absolute; bottom: 1.2rem; left: 2.2rem; right: 1.8rem; display: flex; justify-content: space-between; padding: .6rem 0 0; background: transparent; border-top: 1px solid var(--linen); font-size: .6rem; letter-spacing: .1em; color: var(--text-muted); }
.guide-controls { display: flex; justify-content: center; align-items: center; gap: .8rem; margin: 1.5rem 0 0; }
.guide-controls p { font-size: .72rem; color: var(--text-muted); text-align: center; }
.guide-controls button { min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--linen); border-radius: 50%; background: var(--cream); color: var(--ink); cursor: pointer; font-size: 1.2rem; }
.guide-controls button:disabled { opacity: .3; }
.guide-book:focus-visible,.guide-track-link:focus-visible { outline: 2px solid var(--honey-gold-dark); outline-offset: .3rem; }
.guide-area-map { position: relative; height: 11rem; min-height: 11rem; padding: 0; margin-bottom: 1rem; overflow: hidden; isolation: isolate; border: 1px solid var(--linen); background: var(--linen); }
.guide-area-map .leaflet-control-attribution { font-size: .5rem; }
.guide-map-caption { position: absolute; z-index: 500; bottom: 1.1rem; left: .3rem; right: .3rem; margin: 0!important; padding: .35rem; background: var(--cream); color: var(--ink); text-align: center; font: 600 .5rem/1.4 'DM Sans',sans-serif!important; pointer-events: none; }
.guide-area-map .leaflet-control-zoom { border: 1px solid var(--linen); box-shadow: none; }
#guideAreaMap .leaflet-control-zoom a { background: var(--cream); color: var(--ink); font-size: 1rem; width: 44px; height: 44px; line-height: 44px; }
@media(max-width:640px) {
  .glaze-guide { padding: 2.5rem 1rem; }
  .guide-binding { grid-template-columns: .75rem minmax(0,1fr); padding: .45rem .55rem .55rem .25rem; }
  .guide-cover { padding: 0; margin: 0; background: #b59a73; box-shadow: none; }
  .guide-cover > * { display: none; }
  .guide-binding::after { left: .7rem; top: .45rem; bottom: .55rem; width: .7rem; }
  .guide-page { padding: 1.4rem 1.25rem 3.3rem 1.45rem; min-height: 28rem; }
  .guide-page .guide-folio { margin-bottom: 1.6rem; }
  .guide-page p { font-size: .875rem; }
  .guide-page p.guide-lead { font-size: 1rem; }
  body .guide-page-footer { left: 1.45rem; right: 1.25rem; }
}
@media(prefers-reduced-motion:reduce) { .guide-book.is-turning .guide-page { transition: none; } }

.guide-book:active { cursor: grabbing; }
.guide-controls button:focus-visible { outline: 2px solid var(--honey-gold-dark); outline-offset: 3px; }

/* ---- v4/quick-scenes.css ---- */
/* The existing order shell reserves room for Home; Astryx owns the scene rail. */
:root{--quick-height:104px;--quick-plum:#4b2144;--quick-cream:#fff8ed;--quick-gold:#e9bb5a;--quick-line:#d7b994}
#announcementBar.quick-bar{height:var(--quick-height);padding:0 0 0 118px;background:#080b20;display:block;box-shadow:0 1px 0 #d8c6ab,0 5px 16px #352a2210;overflow:hidden}
#glaze-discovery-frame{width:100%;height:104px;border:0;display:block;background:#080b20}
@media(max-width:640px){#announcementBar.quick-bar{padding-left:62px}}
.quick-dialog{width:min(760px,calc(100vw - 24px));max-height:86dvh;padding:32px;border:1px solid var(--quick-line);border-radius:24px;background:var(--quick-cream);color:var(--quick-plum);box-shadow:0 28px 100px #26102666;font-family:inherit;margin:auto}
.quick-dialog::backdrop{background:#22102688;backdrop-filter:blur(6px)}
.quick-dialog-close{position:absolute;right:10px;top:10px;width:44px;height:44px;border:0;background:transparent;color:inherit;font-size:28px;cursor:pointer}
.quick-dialog h2{font-family:'Glaze Display',Georgia,serif;font-size:clamp(30px,5vw,46px);font-weight:500;line-height:1.12;margin:8px 0 24px;max-width:90%}
.quick-eyebrow{font-size:10px;font-weight:600;letter-spacing:.14em;margin:0}
.quick-flavor-rail{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;padding:3px 3px 14px}
.quick-flavor-rail button{flex:0 0 92px;border:1px solid #4b21441c;background:transparent;border-radius:12px;color:inherit;cursor:pointer;padding:7px;scroll-snap-align:start;min-height:110px;font-family:inherit}
.quick-flavor-rail button[aria-pressed=true]{border-color:var(--quick-plum);background:#edd7c9}
.quick-flavor-rail svg{width:65px;height:65px}.quick-flavor-rail small{display:block;font-size:10px;line-height:1.2}
.quick-flavor-detail,.quick-weekly-detail{display:grid;grid-template-columns:42% 1fr;gap:24px;align-items:center;padding-top:16px}
.quick-flavor-detail figure{margin:0}.quick-flavor-detail svg{width:100%;height:220px}.quick-weekly-detail>img{width:100%;height:240px;object-fit:contain}
.quick-dialog h3{font-family:'Glaze Display',Georgia,serif;font-size:29px;line-height:1.15;font-weight:500;margin:0 0 12px}
.quick-dialog p:not(.quick-eyebrow){font-size:14px;line-height:1.6}
.quick-primary{border:0;border-radius:100px;padding:14px 20px;background:var(--quick-plum);color:var(--quick-cream);font-size:13px;font-family:inherit;cursor:pointer;min-height:48px}.quick-primary:disabled{opacity:.5;cursor:default}
.quick-dialog button:focus-visible{outline:2px solid var(--quick-plum);outline-offset:2px}
html.v4 .nav{top:var(--quick-height)}
html.v4 .hero{padding-top:calc(var(--quick-height) + 68px)!important}
@media(max-width:640px){.quick-dialog{padding:26px 20px}.quick-flavor-detail,.quick-weekly-detail{gap:14px;grid-template-columns:34% 1fr}.quick-dialog h3{font-size:24px}.quick-flavor-detail svg,.quick-weekly-detail>img{height:160px}.quick-dialog h2{margin-bottom:18px}.quick-primary{padding:12px 14px}}
@media(prefers-reduced-motion:reduce){.quick-bar *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:640px){html.v4 .order-guide-inner{gap:2px}html.v4 .guide-step{min-width:0;gap:4px;padding-inline:4px}html.v4 .guide-label{font-size:9px;white-space:normal}html.v4 .guide-connector{min-width:6px}}

html.v4.v4-embedded .nav-brand{visibility:hidden}

/* ---- v4/storefront-recovery.css ---- */
/* Extend the original storefront's existing controls and brand tokens. */
:root { --storefront-header-height: 164px; }
html { scroll-padding-top: calc(var(--storefront-header-height) + 16px); }
#menu, #order, #productBuilderTabs, #boxBuilder, #buffalo-map {
  scroll-margin-top: calc(var(--storefront-header-height) + 16px);
}
#announcementBar.quick-bar { position: fixed; inset: 0 0 auto; z-index: 1001; height: 88px; padding: 0; }
#glaze-discovery-frame { height: 88px; }
.nav { top: 88px; }
.hero { padding-top: calc(var(--storefront-header-height) + 32px); }
.savory-launch {
  margin: 24px auto; padding: 24px; max-width: 680px;
  border: 1px solid var(--linen); border-radius: var(--radius);
  background: var(--cream); box-shadow: var(--shadow-sm);
}
.savory-launch-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--gold-text); }
.savory-launch h2 { font-family: 'Glaze Display', Georgia, serif; font-size: clamp(1.55rem, 4vw, 2.15rem); color: var(--plum); margin: 12px 0; }
.savory-launch p { font-size: .92rem; line-height: 1.65; margin: 8px 0; }
.savory-launch .hero-cta-primary { margin-top: 14px; }
body #for-business, body #buffalo-map.core-invitation, body .sub-banner, body footer { background: var(--plum-deep); }
body #for-business { padding-block: calc(var(--world-gap, 1rem) * 3); }
#buffalo-map.core-invitation {
  color: var(--cream); text-align: center; padding-block: calc(var(--world-gap, 1rem) * 2.5);
  border-top: 1px solid color-mix(in srgb, var(--honey-gold) 25%, transparent);
}
.core-invitation .section-title { color: var(--cream); }
.core-invitation .section-subtitle { color: var(--linen); margin-bottom: 0; }
.core-invitation .hero-cta { margin-top: var(--world-gap, 1rem); font-family: inherit; font-weight: 700; }
body .sub-banner { padding-block: calc(var(--world-gap, 1rem) * 2.5); border-top: 1px solid color-mix(in srgb, var(--honey-gold) 25%, transparent); }
.sub-banner::after { content: none; }
.sub-banner .sub-cta { text-decoration: none; }
body footer { padding-top: calc(var(--world-gap, 1rem) * 2.5); }
#productBuilderRail {
  overflow-y: hidden; border-radius: var(--radius); max-width: 100%;
}
#productBuilderRail > .builder-world { box-sizing: border-box; width: 100%; }
.cinnamon-product-photo { display: none; }
#matchaOrderPanel { padding: 24px !important; background: var(--cream); border: 1px solid var(--linen); border-radius: var(--radius); }
.date-card[data-resource-unavailable=true] { display: none !important; }
.om-card:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
@media (max-width: 768px) {
  :root { --storefront-header-height: 148px; }
  .hero { padding: calc(var(--storefront-header-height) + 24px) 20px 40px; }
  .savory-launch { padding: 18px; text-align: left; }
  .savory-launch .hero-cta-primary { display: flex; justify-content: center; width: 100%; }
  #matchaOrderPanel { padding: 16px !important; }
  .order-guide-inner { gap: 2px; }
  .guide-step { min-width: 0; gap: 4px; padding-inline: 4px; }
  .guide-label { font-size: 10px; white-space: normal; }
  .guide-connector { min-width: 6px; }
}

@media (max-width: 640px) {
  #glazeAssistant { top: calc(var(--storefront-nav-top, 0px) + (var(--storefront-header-height) - 40px) / 2) !important; right: 70px !important; bottom: auto !important; }
  #glazeAssistBubble { width: 40px !important; height: 40px !important; }
  #glazeAssistBubble img { width: 38px !important; height: 38px !important; }
}

@media (max-width: 768px) {
  :root { --storefront-header-height: var(--world-nav-height, 4.5rem); }
  html, body { overflow-x: clip; }
  html #announcementBar.quick-bar { position: relative; inset: auto; }
  #mainNav.nav { position: sticky; top: 0 !important; }
  .hero { padding-top: var(--world-gap, 1rem); }
}

/* ---- v4/aesthetic.css ---- */
/* ==========================================================================
   Glaze aesthetic pass (2026-10-30). Layered on top of the existing styles,
   loaded after them. Every block names its gallery entry so a reviewer can
   find the change, the screenshot, and the commit together.
   ========================================================================== */

/* --- 002 layout: photo-first hero ------------------------------------------ */
.hero-media {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(74, 25, 66, 0.18), 0 2px 6px rgba(74, 25, 66, 0.08);
  background: var(--linen);
  isolation: isolate;
}
.hero-media picture { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 55% 60%; }
.hero-media .hero-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(45, 25, 40, 0.28);
  z-index: 2;
}
.hero-media .hero-badge img { width: 100%; height: 100%; object-fit: contain; transform: none; }
.hero-media figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(253, 248, 240, 0.92);
  color: var(--plum);
  font: 600 0.78rem/1.2 'DM Sans', sans-serif;
  letter-spacing: 0.01em;
}
.hero .logo-slot { display: none; }

@media (max-width: 959px) {
  .hero { min-height: auto; padding-top: calc(96px + 14px); padding-bottom: 2.2rem; justify-content: flex-start; }
  .hero-media { width: min(100%, 560px); aspect-ratio: 5 / 4; max-height: 34svh; margin: 0 auto 1rem; border-radius: 24px; }
  .hero .mini-launch-kicker { margin-bottom: 0.6rem; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); line-height: 1.04; margin-bottom: 0.6rem; }
  .hero-content > p { font-size: 0.98rem; margin-top: 0.4rem !important; }
  .hero-media .hero-badge { width: 64px; height: 64px; left: 12px; bottom: 12px; }
}

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    column-gap: clamp(40px, 5vw, 88px);
    padding: 132px clamp(32px, 6vw, 96px) 72px;
    text-align: left;
  }
  .hero-content { grid-column: 1; grid-row: 1; max-width: 640px; justify-self: end; }
  .hero-media { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 5; height: min(calc(100svh - 236px), 700px); justify-self: start; align-self: center; }
  .hero-media .hero-badge { width: 96px; height: 96px; left: 20px; bottom: 20px; }
  .hero h1 { font-size: clamp(2.7rem, 3.9vw, 4.25rem); line-height: 1.02; }
  .hero-content > p { margin-left: 0 !important; margin-right: 0 !important; max-width: 34rem; }
  .hero-actions { align-items: flex-start; }
  .hero .mini-launch-kicker { margin-left: 0; }
  .hero .glaze-window { margin-left: 0; margin-right: 0; }
  .hero .scroll-indicator { display: none; }
}

/* --- 003 layout: no jump while loading -------------------------------------
   The discovery strip is filled in by a deferred script (quick-scenes.js), so on a slow
   phone the page first laid out without it and then shoved everything down 88px
   (CLS 1.04). Reserve the strip's final box from the first paint. */
/* 023: the discovery strip is off on home, so the bar is gone from the first paint
   (no reserved band, no jump) and the nav sits at the top. */
#announcementBar, #announcementBar.hidden { display: none !important; }
:root { --storefront-header-height: 76px; }
.nav, #mainNav { top: 0 !important; }
/* The builder module always adds body.composition-active on load, which restyles the sticky
   order bar; <body> now ships with that class so the bar has its final shape at first paint. */

/* --- 004 content: real photos on the flavor list ----------------------------
   Photos from Glaze's own posts replace the drawn medallions where a clean photo
   exists. The drawing stays in the DOM (hidden) as the fallback. */
.flavor-art.has-photo { width: 64px; height: 64px; border-radius: 14px; background: var(--linen); box-shadow: 0 0 0 1px rgba(74,25,66,0.08), 0 6px 14px rgba(74,25,66,0.12); }
.flavor-art.has-photo > svg { display: none; }
.flavor-art .flavor-photo { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; }
.flavor-art .flavor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .flavor-art.has-photo { width: 58px; height: 58px; border-radius: 12px; } }

/* --- 005 component: weekly club band -----------------------------------------
   Plum band with a real photo behind it, the settled pitch (six rolls, never sold out)
   and the savings math from live prices: six Classics at $7 = $42 vs $36 = 14% off. */
.weekly-discovery {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--plum-deep) !important; color: var(--cream) !important;
  border: 0 !important; padding: clamp(4rem, 9vw, 7rem) 1.25rem !important;
}
.weekly-bg { position: absolute; inset: -12% 0; z-index: -1; }
.weekly-bg picture, .weekly-bg img { display: block; width: 100%; height: 100%; object-fit: cover; background-size: cover; }
.weekly-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,12,38,0.86) 0%, rgba(58,19,54,0.78) 45%, rgba(42,12,38,0.94) 100%); }
.weekly-discovery .tail-eyebrow { color: var(--honey-gold-light); }
.weekly-discovery .tail-heading h2 { color: var(--cream); -webkit-text-fill-color: var(--cream); font-size: clamp(2.2rem, 5.6vw, 3.9rem); }
.weekly-discovery .tail-heading > p:not(.tail-eyebrow):not(.weekly-price) { color: rgba(253,248,240,0.86); }
.weekly-discovery .weekly-price { color: var(--cream); font-size: clamp(2.4rem, 6vw, 3.2rem); display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.weekly-discovery .weekly-price small { color: rgba(253,248,240,0.75); }
.weekly-save { font: 700 .8rem/1 'DM Sans', sans-serif; letter-spacing: .04em; text-transform: uppercase; background: var(--honey-gold); color: var(--ink); padding: .5rem .75rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(212,168,67,0.35); }
.weekly-discovery .weekly-math { font-size: .9rem !important; color: rgba(253,248,240,0.8) !important; max-width: 30rem; margin: .4rem auto 0; }
.weekly-start { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; padding: 1rem 1.6rem; border-radius: 999px; background: var(--honey-gold); color: var(--ink); font: 700 1rem/1 'DM Sans', sans-serif; text-decoration: none; box-shadow: 0 10px 28px rgba(212,168,67,0.32); }
.weekly-start:hover { background: var(--honey-gold-light); }
.weekly-discovery .reservation-story, .weekly-discovery .reservation-story figcaption, .weekly-discovery .weekly-gesture { color: rgba(253,248,240,0.8); }
.weekly-discovery .reservation-daily strong { background: rgba(253,248,240,0.08); color: rgba(253,248,240,0.55); border-color: rgba(253,248,240,0.18); }
.weekly-discovery .weekly-open { color: var(--cream); border-color: rgba(253,248,240,0.4); background: transparent; }
.weekly-discovery .weekly-details { color: var(--cream); }
.weekly-discovery .reservation-story > span { color: rgba(253,248,240,0.78); }

/* --- 006 component: one-tap matcha in the roll flow ------------------------- */
.mx-upsell { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; margin: 18px 0 6px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #EEF4E4, #F7F2E4); border: 1px solid rgba(65,91,51,0.18); }
.mx-upsell-media picture, .mx-upsell-media img { display: block; width: 112px; height: 112px; object-fit: cover; border-radius: 14px; background-size: cover; }
.mx-upsell-eyebrow { margin: 0; font: 700 .68rem/1.2 'DM Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #415B33; }
.mx-upsell-title { margin: 4px 0 10px; font: 500 1.35rem/1.1 'Glaze Display', Georgia, serif; color: var(--plum); }
.mx-upsell-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.mx-upsell-picks button { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 48px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid rgba(65,91,51,0.35); background: #fff; color: var(--ink); font: 600 .82rem/1.15 'DM Sans', sans-serif; cursor: pointer; }
.mx-upsell-picks button small { font-weight: 500; color: #415B33; }
.mx-upsell-picks button:hover { border-color: #415B33; }
.mx-upsell-picks button.is-added { background: #415B33; border-color: #415B33; color: #fff; }
.mx-upsell-picks button.is-added small { color: #DDE9CF; }
.mx-upsell-note { margin: 10px 0 0; font-size: .8rem; color: var(--text-muted); }
@media (max-width: 420px) { .mx-upsell { grid-template-columns: 84px 1fr; } .mx-upsell-media picture, .mx-upsell-media img { width: 84px; height: 84px; } }

/* --- 007 content: kitchen photo gallery -------------------------------------- */
.glaze-gallery { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--cream); text-align: center; overflow: hidden; }
.glaze-gallery .tail-heading { padding: 0 1.25rem; }
.glaze-gallery-row { list-style: none; margin: 2rem 0 0; padding: 0 1.25rem 1rem; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.glaze-gallery-row::-webkit-scrollbar { display: none; }
.glaze-gallery-row li { flex: 0 0 min(70vw, 300px); scroll-snap-align: center; }
.glaze-gallery-row figure { margin: 0; text-align: left; }
.glaze-gallery-row picture { display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background-size: cover; background-position: center; box-shadow: 0 14px 34px rgba(74,25,66,0.14); }
.glaze-gallery-row img { display: block; width: 100%; height: 100%; object-fit: cover; }
.glaze-gallery-row figcaption { margin-top: .6rem; font: 600 .82rem/1.3 'DM Sans', sans-serif; color: var(--text-muted); }
@media (min-width: 960px) { .glaze-gallery-row { padding: 0 clamp(32px, 6vw, 96px) 1rem; scroll-snap-type: x proximity; } }
.glaze-gallery .tail-heading { max-width: 54rem; }

/* --- 018 component: matcha add-on fixes (Codex must-fix 1 and 2) -------------
   .mx-upsell sets display:grid, which beat the [hidden] attribute, so a paused
   matcha board still showed the offer. And a part-filled tray now asks first. */
.mx-upsell[hidden] { display: none !important; }
.mx-upsell-confirm { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mx-upsell-confirm[hidden] { display: none; }
.mx-upsell-confirm button { min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid #415B33; background: #fff; color: #2D1928; font: 600 .82rem/1.2 'DM Sans', sans-serif; cursor: pointer; }
.mx-upsell-confirm button:first-child { background: #415B33; color: #fff; }
.mx-upsell-confirm button:focus-visible, .mx-upsell-picks button:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }

/* --- 020 motion: phones get the hero's single slow zoom from CSS, no GSAP ---- */
@keyframes glazeHeroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
html.motion-lite .hero-media picture img { animation: glazeHeroZoom 22s cubic-bezier(.25,.6,.3,1) 0.4s both; }
@media (prefers-reduced-motion: reduce) { html.motion-lite .hero-media picture img { animation: none; } }

/* --- 023 layout: the order bar only shows once the cart has something in it ----
   On a 390px phone the empty "Items $0.00" bar sat on top of the hero's Build Your
   Box button (judge fix 1). body ships with .cart-empty; v4/cart-bar.js removes it
   as soon as the cart has rolls, matcha or savory. */
body.composition-active.cart-empty #stickyBar { display: none !important; }
body.composition-active.cart-empty { padding-bottom: 0 !important; }
@media (max-width: 959px) {
  .hero { padding-top: 14px !important; }
}
/* body is a centered flex column, so without the strip the sticky nav shrank to its
   content width; stretch it, and drop the top padding that cleared the old strip. */
#mainNav.nav { align-self: stretch; width: 100%; }
body.composition-active { padding-top: 0 !important; }
/* Chat bubble sits in the nav row; keep it clear of the hamburger now the nav is full width. */
@media (max-width: 959px) { #glazeAssistant { right: 84px !important; } }

/* --- 024 component: the club pitch moves up into the hero (judge fix 3) -------
   Real math from live prices: six Classics at $7 = $42; the club is $36 (14% off). */
.hero-club { display: inline-flex !important; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none !important; border: 0 !important; padding: .55rem .9rem; border-radius: 16px; background: rgba(74,25,66,0.05); }
.hero-club-line { display: inline-flex; align-items: center; gap: .5rem; font: 600 1rem/1.25 'DM Sans', sans-serif; color: var(--plum); }
.hero-club-save { font: 700 .72rem/1 'DM Sans', sans-serif; letter-spacing: .05em; text-transform: uppercase; background: var(--honey-gold); color: var(--ink); padding: .38rem .55rem; border-radius: 999px; }
.hero-club-math { font: 500 .82rem/1.35 'DM Sans', sans-serif; color: var(--text-muted); }
.hero-club:hover .hero-club-line { text-decoration: underline; }
@media (min-width: 960px) { .hero-club { align-items: flex-start; } }

/* --- 025 typography: nothing readable under 12px on phones (judge fix 4) -------
   The judges counted 57 text bits under 12px; these selectors were 54 of them. */
@media (max-width: 959px) {
  .premium-tag, .back-in-stock-tag, .seasonal-new-tag, .skroll-new-tag, .peach-new-tag, .sold-out-badge,
  .tail-eyebrow, .flavor-divider, .mini-launch-kicker, .hero-club-save, .gw-eyebrow, .gw-meta,
  .mx-upsell-eyebrow, .guide-folio, .reservation-daily, .reservation-weekly, .weekly-gesture,
  .footer-note, .footer-copyright, .glaze-gallery-row figcaption, .hero-media figcaption,
  .flavor-btn small, .size-card small, .footer small, .glaze-footer small { font-size: 12px !important; }
  .gw-day-label { font-size: 12px !important; letter-spacing: .02em !important; }
  .flavor-divider span { font-size: 12px !important; }
}
@media (max-width: 959px) {
  .gw-cta > span, .mx-upsell-picks button small, .guide-page-footer > span, .guide-controls > p, .reservation-story > figcaption { font-size: 12px !important; }
}

/* --- 026 motion: no looping decoration (judge fix 5; TASTE: no fast loops) ------
   17 infinite loops ran on home: pulsing tags, shimmer on four flavor rows, a bouncing
   scroll arrow, a pulsing kicker, the allergen dot and the reservation stamp. All off.
   One-time reveals and the hero's single zoom remain. */
.mini-launch-kicker, .mini-launch-kicker *, .scroll-indicator, .scroll-indicator *, .flavor-btn.has-art, .flavor-btn.has-art::before, .flavor-btn.has-art::after,
.skroll-new-tag, .back-in-stock-tag, .pistachio-pop, .peach-new-tag, .seasonal-new-tag, .allergen-signal, .allergen-signal::before, .allergen-signal::after,
.reservation-story strong, .reservation-story strong::before, .reservation-story strong::after, [class*="swipe"] p, .unified-swipe-hint, .swipe-hint {
  animation: none !important;
}
.box-size-nav p::after { animation: none !important; display: none !important; }

/* ---- 029 Builder V3: photos in the box, the turn on tap, desktop two-column ---- */
.roll-slot .roll-svg[data-photo] { filter: drop-shadow(0 6px 10px rgba(45,25,40,0.18)); }
.roll-slot.filled:has(.roll-svg[data-photo]) { background: radial-gradient(circle at 50% 45%, #fff 0 55%, var(--linen, #E8DDD0) 100%); }
.flavor-btn .flavor-art { transform-style: preserve-3d; backface-visibility: visible; }
.flavor-btn .flavor-art.fx-turn { animation: glzTurn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 1; }
.flavor-btn .flavor-art.fx-turn, .flavor-btn .flavor-art.fx-glow { box-shadow: 0 0 0 3px rgba(212,168,67,0.95), 0 0 0 9px rgba(212,168,67,0.22), 0 10px 26px rgba(212,168,67,0.45); }
@keyframes glzTurn {
  0% { transform: perspective(420px) rotateY(0deg) scale(1); }
  45% { transform: perspective(420px) rotateY(200deg) scale(1.12); }
  100% { transform: perspective(420px) rotateY(360deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .flavor-btn .flavor-art.fx-turn { animation: none; } }

/* Round 2 (lane A, Matt Nov 1: "Kill the new V3 two-box layout"): the builder is one column again, like live
   (box on top, sizes under it, the full-width flavor list below; v4/r2/lane-a.css). The V3 photo tiles below
   stay as one flavor-list variant (?v-r2alist=3). */
@media (min-width: 1100px) {
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > :not(.flavor-btn) { grid-column: 1 / -1; }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn { position: relative; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; text-align: left; border-radius: 18px; }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn:active { transform: scale(0.985); }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn .flavor-art { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; margin: 0; display: grid; place-items: center; background: linear-gradient(160deg, #F6EEE3, #EADFD2); }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn .flavor-art > svg { width: 46%; height: auto; }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn .flavor-art.has-photo > svg { display: none; }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn .flavor-art .flavor-photo { width: 100%; height: 100%; }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn:hover .flavor-art { transform: none; }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn:hover .flavor-art .flavor-photo img { transform: scale(1.04); }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn .flavor-art .flavor-photo img { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn .flavor-art.fx-turn { animation: none; }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn .flavor-art.fx-turn .flavor-photo, #boxBuilder #flavorButtons > .flavor-btn .flavor-art.fx-turn > svg { animation: glzTurn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 1; }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn .flavor-art.fx-turn, #boxBuilder #flavorButtons > .flavor-btn .flavor-art.fx-glow { box-shadow: inset 0 0 0 3px rgba(212,168,67,0.95); }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn .flavor-info { padding: 12px 14px 14px; }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn .flavor-count-badge { position: absolute; top: 10px; right: 10px; box-shadow: 0 0 0 3px #fff; }
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn.seasonal-launch::after, #boxBuilder #flavorButtons > .flavor-btn.skroll-launch::after { z-index: 1; }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
  html[data-v-r2alist="c"] #boxBuilder #flavorButtons > .flavor-btn .flavor-art.fx-turn .flavor-photo { animation: none; }
}

/* ---- 030 Story video section ---- */
.glz-story { display: grid; gap: 22px; align-items: center; width: min(100% - 32px, 1120px); margin: 0 auto; padding: 56px 0 24px; }
.glz-story-copy h2 { font-family: 'Glaze Display', Georgia, serif; font-weight: 500; color: var(--plum, #4A1942); font-size: clamp(2.1rem, 8vw, 3.6rem); line-height: 1.05; margin: .2rem 0 .7rem; }
.glz-story-copy p { color: var(--text-muted, #5A4D44); font-size: 1.04rem; max-width: 34rem; }
.glz-story-media { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: #E8DDD0 url(/assets/glaze/pass/story-brulee-poster-480.webp) center / cover; box-shadow: 0 22px 50px rgba(74,25,66,0.18); }
.glz-story-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.glz-story-play { position: absolute; inset: auto auto 16px 16px; width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(253,248,240,0.92); box-shadow: 0 8px 22px rgba(45,25,40,0.25); cursor: pointer; display: grid; place-items: center; }
.glz-story-play span { width: 0; height: 0; border-left: 15px solid #4A1942; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.glz-story-play:focus-visible { outline: 3px solid #4A1942; outline-offset: 3px; }
@media (min-width: 960px) {
  .glz-story { grid-template-columns: 1fr minmax(340px, 440px); gap: 64px; padding: 96px 0 40px; }
}
.glz-story-copy { text-align: center; }
.glz-story-copy .tail-button { margin-top: 1.1rem; }
@media (min-width: 960px) { .glz-story-copy { text-align: left; } .glz-story-copy p { margin-left: 0; } }

/* ---- 031 Checkout toggle: line icons instead of emoji ---- */
#fulfillmentToggle .ff-ico { display: inline-block; vertical-align: -3px; margin-right: 4px; }

/* ---- 034 Review fixes (Codex, section pass) ---- */
/* One sequence: light up on tap (029 fx-glow), fly (existing), land with one 3D turn. */
.roll-slot .roll-svg[data-photo].bx-settle { animation: glzLand 0.5s cubic-bezier(0.22, 1, 0.36, 1) 1; transform-origin: 50% 50%; }
@keyframes glzLand {
  0% { transform: perspective(300px) rotateY(0deg) scale(0.92); }
  55% { transform: perspective(300px) rotateY(220deg) scale(1.06); }
  100% { transform: perspective(300px) rotateY(360deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .roll-slot .roll-svg[data-photo].bx-settle { animation: none; } }
.roll-slot[role="button"]:focus-visible { outline: 3px solid var(--plum, #4A1942); outline-offset: 3px; border-radius: 50%; }
/* Sticky box: ancestors must not be scroll containers on desktop. */
@media (min-width: 1100px) {
  #productBuilderRail.unified-shell, #classicBuilderPanel, #boxBuilder { overflow: visible; }
}
/* 12px floor and 44px targets. */
#fulfillmentToggle button span { font-size: 12px !important; }
.ribbon-color-circle { width: 44px !important; height: 44px !important; }
.ribbon-color-circle:focus-visible { outline: 3px solid var(--plum, #4A1942); outline-offset: 3px; }
/* Story video: a hidden button stays hidden; the toggle shows play or pause. */
.glz-story-play[hidden] { display: none; }
.glz-story-play.is-pause span { width: 14px; height: 18px; border: 0; margin: 0; background: linear-gradient(90deg, #4A1942 0 5px, transparent 5px 9px, #4A1942 9px 14px); }
@media (min-width: 1100px) {
  /* overflow-x:hidden makes these scroll containers, which kills position:sticky. clip clips the same way without that. */
  html body, #menu, #menu > .section-inner { overflow-x: clip; overflow-y: visible; }
}

/* ---- 036 Performance: the story still is a lazy <img>, not a CSS background ---- */
.glz-story-media { background: #E8DDD0; }
.glz-story-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.glz-story-video { position: relative; z-index: 1; }
.glz-story-media:not(.is-playing) .glz-story-video:not([poster]) { opacity: 0; }
.glz-story-play { z-index: 2; }

/* ---- 038 Kitchen band (second parallax band) ---- */
.kitchen-band { position: relative; isolation: isolate; overflow: hidden; color: #FDF8F0; padding: 88px 24px; text-align: center; }
.kitchen-band-bg { position: absolute; inset: -10% 0; z-index: -1; }
.kitchen-band-bg picture, .kitchen-band-bg img { display: block; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; }
.kitchen-band-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,12,38,0.70) 0%, rgba(42,12,38,0.55) 50%, rgba(42,12,38,0.80) 100%); }
.kitchen-band-copy { max-width: 36rem; margin: 0 auto; }
.kitchen-band .tail-eyebrow { color: #E5BE5E; }
.kitchen-band h2 { font-family: 'Glaze Display', Georgia, serif; font-weight: 500; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.05; margin: .3rem 0 .8rem; color: #FDF8F0; }
.kitchen-band p { color: rgba(253,248,240,0.92); font-size: 1.04rem; }
@media (min-width: 960px) { .kitchen-band { padding: 140px 24px; } }
@media (min-width: 1100px) {
  /* 034 made position:sticky work on desktop. The order guide was written sticky but never stuck on
     live (body overflow broke it); keep live's behavior so it doesn't float over every section. */
  .order-guide { position: relative; top: auto; }
}

/* ---- 039 Hostly funnel line in the home footer ---- */
.footer-hostly { font-size: .85rem; color: var(--text-muted, #5A4D44); margin-top: 1rem; }
.footer-hostly a { color: var(--plum, #4A1942); font-weight: 600; }

/* ---- 040 Motion budget fixes (Codex review of 038 / MOTION.md) ---- */
/* Static mode: reduced motion or Save-Data. Nothing animates, nothing transitions, no hover zooms. */
html.glz-static *, html.glz-static *::before, html.glz-static *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.glz-static .flavor-btn:hover .flavor-art, html.glz-static .flavor-btn:hover .flavor-art img, html.glz-static .roll-slot:hover,
html.glz-static .flavor-btn:active, html.glz-static .roll-slot.filled:active { transform: none !important; }
/* Legacy reveals: visible by default; hidden only on desktop with motion allowed once JS is ready; 0.8 s ease-out. */
.reveal, .reveal-scale, .reveal-left, .reveal-right, .step-card { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(0.22,1,0.36,1), transform .8s cubic-bezier(0.22,1,0.36,1); transition-delay: 0s !important; }
html.reveal-ready .reveal:not(.visible), html.reveal-ready .reveal-scale:not(.visible), html.reveal-ready .reveal-left:not(.visible), html.reveal-ready .reveal-right:not(.visible), html.reveal-ready .step-card:not(.visible) { opacity: 0; transform: translateY(24px); }
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-left, .reveal-right, .step-card { opacity: 1 !important; transform: none !important; transition: none !important; }
}
/* The order button never moves, shines or pulses. */
.add-to-cart-btn, .add-to-cart-btn.ready, .add-to-cart-btn:hover, .add-to-cart-btn.ready:hover, .add-to-cart-btn:active, .add-to-cart-btn.ready:active,
.submit-btn, .submit-btn:hover, .submit-btn:active { animation: none !important; transform: none !important; }
.add-to-cart-btn.ready::after { animation: none !important; display: none !important; }

/* ---- 041 Judge-panel fixes ---- */
/* Hero: phone photo shorter so the action, price and pickup line share the first screen. */
.hero-cta-note { margin: .55rem 0 0; font-size: 12.5px; color: var(--text-muted, #5A4D44); }
@media (max-width: 899px) { .hero-media { aspect-ratio: 3 / 2 !important; max-height: 34svh; } .hero-media picture, .hero-media picture img { height: 100%; } }
/* Badges: one quiet outline style. */
#flavorButtons .glz-badge { background: transparent !important; color: var(--plum, #4A1942) !important; border: 1px solid rgba(74,25,66,.28) !important; box-shadow: none !important; animation: none !important; font: 700 12px/1 'DM Sans', sans-serif !important; letter-spacing: .04em; padding: 3px 7px !important; border-radius: 99px !important; text-transform: uppercase; }
#flavorButtons .glz-badge[hidden] { display: none !important; }
.flavor-btn.seasonal-launch::after, .flavor-btn.skroll-launch::after { display: none !important; }
.flavor-btn.skroll-launch, .flavor-btn.seasonal-launch { background: #fff !important; border-color: rgba(74,25,66,.12) !important; }
/* Tray: a flat, calm box instead of the beveled plum tray with glow. */
.box-container { background: #EFE3D2; border: 1px solid rgba(74,25,66,.14); box-shadow: 0 14px 30px rgba(45,25,40,.10); }
.box-container::before { background: #FBF6EE; border: 1px solid rgba(74,25,66,.10); box-shadow: inset 0 1px 0 #fff; }
.box-container::after { background: #FBF6EE; box-shadow: none; border-color: rgba(74,25,66,.18); }
.box-container:has(.roll-slot.filled):not(:has(.roll-slot:not(.filled))) { box-shadow: 0 14px 30px rgba(45,25,40,.12), 0 0 0 2px rgba(212,168,67,.55); }
.roll-slot:not(.filled) { border: 1.5px solid rgba(74,25,66,.12) !important; background: #F4EADC !important; box-shadow: none !important; }
/* Phone: the order step strip goes (the builder shows its own count). */
@media (max-width: 899px) { .order-guide, .order-guide.visible { display: none !important; } }
/* Phone pick bar */
.glz-pickbar { position: fixed; left: .6rem; right: .6rem; bottom: max(.6rem, env(safe-area-inset-bottom)); z-index: 95; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem .6rem .55rem 1rem; border-radius: 16px; background: rgba(253,248,240,.97); border: 1px solid rgba(74,25,66,.14); box-shadow: 0 10px 30px rgba(45,25,40,.18); }
.glz-pickbar[hidden] { display: none; }
.glz-pickbar-count { font: 700 14px/1.2 'DM Sans', sans-serif; color: var(--plum, #4A1942); }
.glz-pickbar { min-height: 52px; }
.glz-pickbar-left { font: 600 14px/1.2 'DM Sans', sans-serif; color: var(--text-muted, #5A4D44); padding-right: .4rem; }
/* Room so the bar never covers the last flavor or the builder controls. */
body.glz-pickbar-on, body.composition-active.cart-empty.glz-pickbar-on { padding-bottom: 80px !important; }
@media (min-width: 900px) { .glz-pickbar { display: none !important; } }
/* Disclosures */
.glz-disclose { min-height: 44px; background: none; border: 0; padding: 0; color: var(--plum, #4A1942); font: 600 14px 'DM Sans', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#glzAddonsInner[hidden], #glzPromoInner[hidden] { display: none !important; }

/* ---- 042 Calmer first screen (taste judge): one primary action, no overlays on the hero photo ---- */
.glaze-window .gw-cta { display: none !important; }
.hero-media .hero-badge, .hero-media figcaption { display: none !important; }
/* 040 follow-up: static mode switched on after load shows any reveal still waiting. */
html.glz-static .reveal, html.glz-static .reveal-scale, html.glz-static .reveal-left, html.glz-static .reveal-right, html.glz-static .step-card, html.glz-static .rv, html.glz-static [data-reveal] { opacity: 1 !important; transform: none !important; visibility: visible !important; }

/* ---- 045 Lighter ordering UI ---- */
/* The full matcha builder waits until someone asks for matcha (builder-light.js). */
body:not(.glz-mx-open) #matchaOrderPanel { display: none !important; }
/* Allergy note: same safety text, a calm single block instead of a big yellow callout. */
.unified-allergy { background: transparent !important; border: 0 !important; border-left: 3px solid #D4A843 !important; border-radius: 0 !important; box-shadow: none !important; padding: .35rem 0 .35rem .85rem !important; text-align: left !important; font-size: 12.5px !important; color: var(--text-muted, #5A4D44) !important; max-width: 44rem; margin-inline: auto !important; }
/* Labels the tray already says. */
#boxBuilder .picker-label { display: none !important; }
#boxBuilder .builder-header .builder-title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Savory folded behind one row. */
.glz-savory-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .75rem; min-height: 52px; padding: .6rem 1rem; margin: 0 0 .75rem; border: 1px solid rgba(74,25,66,.14); border-radius: 14px; background: #fff; color: var(--ink, #2D1928); font: 500 14px/1.3 'DM Sans', sans-serif; text-align: left; cursor: pointer; grid-column: 1 / -1; }
.glz-savory-toggle b { color: var(--plum, #4A1942); }
.glz-chev { font-size: 20px; color: var(--plum, #4A1942); }
.shared-savory-flavors.glz-folded { display: none !important; }

/* ---- 046 Shorter flavor list on desktop (task 11) ---- */
@media (min-width: 1280px) {
  #boxBuilder #flavorButtons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-art { aspect-ratio: 5 / 4; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-info { padding: 10px 12px 12px; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-name { font-size: 15px; }
}
@media (min-width: 1100px) {
  #boxBuilder #flavorButtons > .flavor-btn .flavor-short-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
/* Jump chips: Premium / Classic */
.glz-jump { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 .9rem; grid-column: 1 / -1; }
.glz-jump button { min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(74,25,66,.18); background: #fff; color: var(--plum, #4A1942); font: 600 13px 'DM Sans', sans-serif; cursor: pointer; }
.glz-jump button:focus-visible { outline: 3px solid var(--plum, #4A1942); outline-offset: 2px; }

/* ---- 047 Judge round 4 + 045/046 review fixes ---- */
/* The "tap a flavor" cue comes back: judges couldn't see how to add a roll without it. */
#boxBuilder .picker-label { display: block !important; }
/* Phone hero: the offer first (headline, line, button, weekly box), then the photo, then the window. */
@media (max-width: 899px) {
  section.hero .hero-content { display: contents; }
  section.hero .mini-launch-kicker { order: 1; } section.hero h1 { order: 2; } section.hero .hero-content > p { order: 3; }
  section.hero .hero-actions { order: 4; } section.hero .hero-media { order: 5; margin-top: 1rem; } section.hero .glaze-window { order: 6; }
  section.hero .hero-content > * { padding-inline: 1.1rem; box-sizing: border-box; }
}
/* Weekly box: short terms and its own visible action. */
.hero-club-go { display: inline-flex; align-items: center; gap: .35rem; margin-top: .45rem; font-weight: 700; color: var(--plum, #4A1942); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
/* Size buttons replace the swipe hint. */
.glz-sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 .9rem; }
.glz-sizes button { min-height: 52px; display: grid; place-items: center; gap: 2px; padding: 6px 4px; border-radius: 14px; border: 1.5px solid rgba(74,25,66,.16); background: #fff; color: var(--ink, #2D1928); font: 600 13px/1.1 'DM Sans', sans-serif; cursor: pointer; }
.glz-sizes button b { font-size: 14px; color: var(--plum, #4A1942); }
.glz-sizes button.on { border-color: var(--plum, #4A1942); background: #FBF4EC; box-shadow: 0 6px 16px rgba(74,25,66,.1); }
.glz-sizes button:focus-visible { outline: 3px solid var(--plum, #4A1942); outline-offset: 2px; }
.box-size-carousel.glz-has-sizes .box-size-nav, .box-size-carousel.glz-has-sizes [class*="swipe"] { display: none !important; }
/* Checkout waits for an order: the details column shows once the cart has something in it. */
body.cart-empty #order .details-section { display: none !important; }

/* ---- 048 Conversion (judge round 5) ---- */
.hero-cta-from { font: 600 .82em 'DM Sans', sans-serif; opacity: .85; margin-left: .35rem; }
.hero-club.hero-club-lite { display: inline-block !important; background: none !important; border: 0 !important; box-shadow: none !important; padding: .4rem 0 !important; margin-top: .6rem; font: 600 14px/1.35 'DM Sans', sans-serif; color: var(--plum, #4A1942); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.hero-club-lite .hero-club-save { text-decoration: none; display: inline-block; margin-right: .35rem; vertical-align: 1px; }
@media (max-width: 899px) {
  section.hero .hero-media { order: 0 !important; aspect-ratio: 16 / 8 !important; max-height: 26svh; margin: .25rem 0 .9rem; }
  section.hero .mini-launch-kicker { order: 1; }
}
.glz-price-note { margin: -.35rem 0 .9rem; font-size: 12.5px; color: var(--text-muted, #5A4D44); text-align: center; }
.glz-reassure { margin: .9rem 0 0; padding: .7rem .9rem; border-radius: 12px; background: #F6EEE3; font-size: 13px; line-height: 1.5; color: var(--ink, #2D1928); }
.glz-pickbar-total { font: 700 14px 'DM Sans', sans-serif; color: var(--ink, #2D1928); margin-left: auto; padding-right: .75rem; }
/* No empty order card: the order section shows once the cart has something in it. */
/* The order section stays (anchor, deep links, partial boxes); while nothing is in the cart its empty
   card is a single compact line and the promo field stays out of the way. */
body.cart-empty #order .glaze-promo, body.cart-empty #order .section-subtitle { display: none !important; }
body.cart-empty #order { padding-block: 1.5rem !important; }
body.cart-empty #order .cart-empty { padding: .6rem 0 !important; }

/* ---- 049 Phone flavor list: six first, the rest behind "See all" ---- */
.glz-seeall { display: none; }
@media (max-width: 899px) {
  #flavorButtons.glz-short:not(.glz-all) > .flavor-btn:not(.glz-featured) { display: none !important; }
  .glz-seeall { display: flex; width: 100%; justify-content: center; align-items: center; min-height: 48px; margin: .75rem 0 0; border-radius: 14px; border: 1.5px solid var(--plum, #4A1942); background: #fff; color: var(--plum, #4A1942); font: 700 14px 'DM Sans', sans-serif; cursor: pointer; }
  .glz-seeall[hidden] { display: none !important; }
  .glz-seeall:focus-visible { outline: 3px solid var(--plum, #4A1942); outline-offset: 2px; }
}

/* ---- 050 Performance: skip style/layout/paint of sections far below the fold until they near the screen.
   html.glz-cv-off (set by the head script when the page opens on a #hash or any in-page link is used)
   turns it off for good, so anchor jumps always land on the real section.
   Under 900px only: desktop GSAP/ScrollTrigger (motion.js, min-width 900px) measures section positions once,
   and placeholder heights would put reveals and parallax in the wrong place. Phones have no GSAP. ---- */
@media (max-width: 899.98px) {
  html:not(.glz-cv-off) :is(#order, #how-it-works, #fresh-story, #glaze-gallery, #kitchen, .kitchen-band, #faq, #weekly-box, #glaze-footer) {
    content-visibility: auto; contain-intrinsic-size: auto 900px;
  }
}

/* ---- 051 Conversion (judge round 6): the phone pick bar's next step is a button ---- */
.glz-pickbar-next { min-height: 44px; padding: 0 1rem; border: 0; border-radius: 999px; background: var(--plum, #4A1942); color: var(--cream, #FDF8F0); font: 700 14px/1 'DM Sans', sans-serif; white-space: nowrap; cursor: pointer; }
.glz-pickbar-next:focus-visible { outline: 3px solid var(--gold, #C9A227); outline-offset: 2px; }
.glz-pickbar-next[hidden], .glz-pickbar-left[hidden] { display: none; }

/* ---- 052 Conversion (judge round 7): on phones, flavors start right under the box sizes ---- */
@media (max-width: 899.98px) {
  /* The size chips show each box's price and the pick bar keeps the live total, so the slide caption repeats them. */
  /* Cinnamon carousel only: savory and special boxes have no size chips, so they keep their captions. */
  #boxBuilder .box-size-carousel.glz-has-sizes .box-size-caption { display: none; }
  /* A compact tray for small boxes: same box, about half the height, still shows each roll as it lands.
     Twelve-roll and other big boxes keep the full tray so every slot stays big enough to tap. */
  #boxBuilder .box-size-rail .box-visual:has(.grid-2, .grid-4) { max-width: 200px; margin-inline: auto; }
  #boxBuilder .box-size-rail .box-visual:has(.grid-6) { max-width: 250px; margin-inline: auto; }
  #boxBuilder .glz-price-note { margin-block: .35rem .25rem; }
}
@media (max-width: 899.98px) {
  /* Offer first (five of six conversion runs in rounds 4, 6 and 7): headline, pickup line, Build Your Box,
     weekly line, then the photo, still inside the first screen. Overrides 048's photo-first order. */
  section.hero .hero-media { order: 5 !important; margin: 1rem 0 .4rem; }
}

/* ---- 053 Boot after first paint: the no-JS note at the top of the menu ---- */
.glz-noscript { margin: 1rem auto; max-width: 36rem; padding: .9rem 1rem; border-radius: 12px; background: #F6EEE3; color: var(--ink, #2D1928); font-size: 15px; line-height: 1.5; text-align: center; }

/* ---- 054 Conversion (judge round 8): every flavor row shows its action. Superseded by 060 (the round Add button). ---- */

/* ---- 055 Conversion (judge round 9) ---- */
/* The bar's button is guidance (it takes you to the flavors), so it's outlined, not a solid checkout button. */
.glz-pickbar-next { background: transparent; color: var(--plum, #4A1942); box-shadow: inset 0 0 0 2px var(--plum, #4A1942); }
.glz-pickbar-next:focus-visible { outline-color: var(--plum, #4A1942); }
@media (max-width: 899.98px) {
  /* The phone short list is six flavors, so the Premium/Classic jump chips only add a row before the first one.
     They come back with "See all". */
  body:has(#flavorButtons.glz-short:not(.glz-all)) #boxBuilder .glz-jump { display: none; }
}

/* ==== 060 Premium Build Your Box (Matt, Nov 1 9:24 AM): cards, tray and controls ====================
   One system for phone and desktop. Real Glaze photos only (hi-res sets, tools/flavor_photos.py); flavors
   without a photo get a typographic plate in their own colours, never a drawn or fake roll.
   Motion lives in v4/builder-motion.js (GSAP, lazy); this section is the still design and CSS states. */
#boxBuilder {
  --bx-ink: var(--ink, #2D1928); --bx-plum: var(--plum, #4A1942); --bx-gold: #C99A2E; --bx-cream: #FDF8F0;
  --bx-line: rgba(74, 25, 66, .09); --bx-shadow: 0 1px 2px rgba(45, 25, 40, .06), 0 10px 28px -12px rgba(45, 25, 40, .22);
  --bx-shadow-hi: 0 2px 4px rgba(45, 25, 40, .08), 0 22px 44px -18px rgba(45, 25, 40, .34);
  --bx-ease: cubic-bezier(.2, .8, .2, 1);
}
/* Cards ---------------------------------------------------------------------------------------- */
#boxBuilder #flavorButtons > .flavor-btn {
  position: relative; isolation: isolate; text-align: left;
  background: #fff !important; border: 1px solid var(--bx-line) !important; border-radius: 22px !important;
  box-shadow: var(--bx-shadow) !important; overflow: hidden;
  transition: transform .35s var(--bx-ease), box-shadow .35s var(--bx-ease), border-color .25s ease !important;
  -webkit-tap-highlight-color: transparent;
}
#boxBuilder #flavorButtons > .flavor-btn:active:not(:disabled) { transform: scale(.985); }
#boxBuilder #flavorButtons > .flavor-btn:focus-visible { outline: 3px solid var(--bx-plum); outline-offset: 3px; }
#boxBuilder #flavorButtons > .flavor-btn .flavor-art { position: relative; overflow: hidden; background: var(--ph, #EFE4D4); flex: none; }
#boxBuilder #flavorButtons > .flavor-btn .flavor-photo, #boxBuilder #flavorButtons > .flavor-btn .flavor-photo img {
  display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ph, #EFE4D4) !important;
}
#boxBuilder #flavorButtons > .flavor-btn .flavor-photo img { transition: transform .9s var(--bx-ease); transform-origin: 50% 55%; }
#boxBuilder #flavorButtons > .flavor-btn.has-art .flavor-art > svg { display: none !important; }
/* Illustrated rolls (062): every flavor on the same softly lit cream pedestal. */
#boxBuilder #flavorButtons > .flavor-btn .flavor-art { background: radial-gradient(120% 95% at 50% 38%, #FFFFFF 0%, #FBF4EA 46%, #F1E3CF 100%) !important; }
#boxBuilder #flavorButtons > .flavor-btn .flavor-art::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(45, 25, 40, .05);
}
#boxBuilder #flavorButtons > .flavor-btn .glz-illo { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
#boxBuilder #flavorButtons > .flavor-btn .glz-illo svg {
  width: 74%; height: auto; aspect-ratio: 1; overflow: visible;
  filter: drop-shadow(0 10px 12px rgba(74, 40, 15, .22));
  transition: transform 1.1s var(--bx-ease); transform-origin: 50% 49%;
}
/* Nov 15: keyed on the button class builder-premium.js sets, not :has(): a :has() followed by "> :not(...)" made Chrome restyle about 2,000 elements on every DOM insertion anywhere on the page (25 ms each, the box launch stalls) */
#boxBuilder #flavorButtons > .flavor-btn.glz-has-illo .flavor-art > :not(.glz-illo) { display: none !important; }
#boxBuilder #flavorButtons > .flavor-btn .flavor-name {
  font-family: 'Glaze Display', Georgia, serif !important; font-weight: 600 !important; letter-spacing: -.005em;
  color: var(--bx-ink) !important; line-height: 1.15 !important; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .45rem;
}
#boxBuilder #flavorButtons > .flavor-btn .flavor-short-desc {
  font: 400 14px/1.45 'DM Sans', system-ui, sans-serif !important; color: #6B5E55 !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Price: a quiet pill, not a gold blob. Premium flavors get a hairline gold ring. */
#boxBuilder #flavorButtons > .flavor-btn .premium-tag {
  order: 9; margin-left: auto; font: 700 13px/1 'DM Sans', sans-serif !important; letter-spacing: .01em;
  color: var(--bx-plum) !important; background: #F7EFE3 !important; border: 1px solid rgba(201, 154, 46, .55) !important;
  padding: .32rem .55rem !important; border-radius: 999px !important; box-shadow: none !important; text-shadow: none !important;
}
#boxBuilder #flavorButtons > .flavor-btn:not([data-premium="true"]) .premium-tag { border-color: var(--bx-line) !important; }
#boxBuilder #flavorButtons > .flavor-btn .glz-badge {
  font: 700 10.5px/1 'DM Sans', sans-serif !important; letter-spacing: .09em !important; text-transform: uppercase;
  color: var(--bx-plum) !important; background: #FBF5EA !important; border: 1px solid rgba(201, 154, 46, .6) !important; padding: .3rem .45rem !important; border-radius: 6px !important;
}
/* The Add button: one round control, same on every row and card. Picked cards keep it ("add another"). */
#boxBuilder #flavorButtons > .flavor-btn:not(.sold-out):not(:disabled)::after {
  content: '+' / 'Add' !important; display: grid !important; place-items: center; position: absolute !important;
  width: 44px !important; height: 44px !important; padding: 0 !important; border-radius: 50% !important; box-sizing: border-box;
  background: var(--bx-plum) !important; background-image: none !important; color: var(--bx-cream) !important;
  font: 400 26px/1 'DM Sans', sans-serif !important; opacity: 1 !important; animation: none !important;
  box-shadow: 0 6px 16px -6px rgba(74, 25, 66, .55) !important; pointer-events: none; z-index: 3 !important;
  transition: transform .3s var(--bx-ease), background-color .25s ease !important;
}
/* Count chip: how many of this flavor are in the box. */
#boxBuilder #flavorButtons > .flavor-btn .flavor-count-badge {
  position: absolute !important; z-index: 3; top: 10px; left: 10px; right: auto !important; bottom: auto !important; width: auto !important; margin: 0 !important;
  min-width: 30px !important; height: 30px !important; line-height: 30px !important; padding: 0 9px !important;
  background: var(--bx-plum) !important; color: var(--bx-cream) !important; font: 700 13px/30px 'DM Sans', sans-serif !important;
  border-radius: 999px !important; box-shadow: 0 0 0 2px #fff, 0 6px 14px -6px rgba(45, 25, 40, .5) !important;
}
#boxBuilder #flavorButtons > .flavor-btn.glz-picked { border-color: var(--bx-plum) !important; box-shadow: 0 0 0 2px var(--bx-plum), var(--bx-shadow-hi) !important; }
#boxBuilder #flavorButtons > .flavor-btn.sold-out { filter: grayscale(.6); opacity: .62; }
/* No photo yet: a typographic plate in the flavor's own colours (honest, not a fake roll). */
#boxBuilder #flavorButtons > .flavor-btn .glz-plate {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 10px;
  background: radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, .18), transparent 55%), var(--plate, linear-gradient(160deg, #6B3A2A, #3B1E16));
  color: #F6E7C8; font: italic 600 clamp(15px, 2.2vw, 22px)/1.1 'Glaze Display', Georgia, serif;
}
#boxBuilder #flavorButtons > .flavor-btn .glz-plate small { display: block; margin-top: .45rem; font: 600 10px/1 'DM Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; opacity: .7; font-style: normal; }
#boxBuilder #flavorButtons > .flavor-btn.glz-has-plate .flavor-art > :not(.glz-plate) { visibility: hidden; }
#boxBuilder #flavorButtons > .flavor-btn > .color-stripe { display: none !important; }
#boxBuilder #flavorButtons > .flavor-btn.glz-has-plate .flavor-art { background: transparent; }

/* Desktop and tablet: photo cards. */
@media (min-width: 900px) {
  /* Two big cards a row (three on very wide screens), so names and photos have room. */
  #boxBuilder #flavorButtons { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important; }
  #boxBuilder #flavorButtons > :not(.flavor-btn) { grid-column: 1 / -1; }
  #boxBuilder #flavorButtons > .flavor-btn { container-type: inline-size; }
  #boxBuilder #flavorButtons > .flavor-btn { display: flex !important; flex-direction: column !important; align-items: stretch !important; padding: 0 !important; min-height: 0 !important; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-art { width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; border-radius: 0 !important; margin: 0 !important; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-info { padding: 16px 18px 20px !important; gap: 7px; display: flex; flex-direction: column; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-name { font-size: 19px !important; }
  #boxBuilder #flavorButtons > .flavor-btn .premium-tag { position: absolute; top: 12px; right: 12px; margin: 0; background: rgba(255, 255, 255, .92) !important; backdrop-filter: none; }
  /* The Add button sits on the photo's bottom edge (photo is 4:3 of the card width). */
  #boxBuilder #flavorButtons > .flavor-btn::after { right: 14px !important; top: 150px !important; top: calc(75cqw - 22px) !important; bottom: auto !important; left: auto !important; transform: none !important; width: 46px !important; height: 46px !important; box-shadow: 0 0 0 3px #fff, 0 8px 18px -6px rgba(74, 25, 66, .55) !important; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-name { padding-right: 44px; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-count-badge { top: 12px; left: 12px; }
}
@media (min-width: 900px) and (hover: hover) {
  #boxBuilder #flavorButtons > .flavor-btn:hover:not(:disabled) { transform: translateY(-4px); box-shadow: var(--bx-shadow-hi) !important; }
  #boxBuilder #flavorButtons > .flavor-btn.glz-picked:hover:not(:disabled) { box-shadow: 0 0 0 2px var(--bx-plum), var(--bx-shadow-hi) !important; }
  #boxBuilder #flavorButtons > .flavor-btn:hover:not(:disabled) .glz-illo svg { transform: rotate(16deg) scale(1.06); }
  #boxBuilder #flavorButtons > .flavor-btn:hover:not(:disabled)::after { transform: scale(1.08) !important; background: #5E2354 !important; }
}
/* Phones: rows with a big square photo. */
@media (max-width: 899.98px) {
  #boxBuilder #flavorButtons > .flavor-btn { display: grid !important; grid-template-columns: 100px 1fr; align-items: center !important; gap: 14px !important; padding: 10px 14px 10px 10px !important; min-height: 120px; }
  /* Keep 049's short list: only the featured six show until "See all". */
  #boxBuilder #flavorButtons.glz-short:not(.glz-all) > .flavor-btn:not(.glz-featured) { display: none !important; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-art { width: 100px !important; height: 100px !important; border-radius: 16px !important; margin: 0 !important; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-info { padding: 0 !important; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-name { font-size: 17.5px !important; }
  #boxBuilder #flavorButtons > .flavor-btn .premium-tag { margin-left: 0; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-short-desc { font-size: 13.5px !important; }
  /* The Add button sits on the photo's bottom-right corner, so the text gets the whole row. */
  #boxBuilder #flavorButtons > .flavor-btn::after { left: 76px !important; top: 76px !important; right: auto !important; bottom: auto !important; transform: none !important; box-shadow: 0 0 0 3px #fff, 0 6px 14px -6px rgba(74, 25, 66, .55) !important; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-count-badge { top: 6px; left: 6px; }
  #boxBuilder #flavorButtons > .flavor-btn:active:not(:disabled)::after { transform: scale(.92) !important; }
  #boxBuilder #flavorButtons > .flavor-btn .flavor-info { padding-left: 14px !important; }
}

/* Size control: a segmented track with a sliding plum indicator (moved by builder-motion.js). */
#boxBuilder .glz-sizes { position: relative; isolation: isolate; background: #F4ECE0; border-radius: 18px; padding: 5px; gap: 4px !important; box-shadow: inset 0 1px 2px rgba(45, 25, 40, .08); }
#boxBuilder .glz-sizes button { position: relative; z-index: 1; background: transparent !important; border: 0 !important; border-radius: 14px !important; color: var(--bx-ink) !important; transition: color .3s ease !important; }
#boxBuilder .glz-sizes button[aria-pressed="true"] *, #boxBuilder .glz-sizes button[aria-pressed="true"] { color: var(--bx-cream) !important; }
#boxBuilder .glz-sizes button[aria-pressed="true"] { color: var(--bx-cream) !important; background: var(--bx-plum) !important; box-shadow: 0 8px 18px -10px rgba(74, 25, 66, .7) !important; }
#boxBuilder .glz-sizes.glz-has-indicator button[aria-pressed="true"] { background: transparent !important; box-shadow: none !important; }
#boxBuilder .glz-sizes .glz-size-ind { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 14px; background: var(--bx-plum); box-shadow: 0 8px 18px -10px rgba(74, 25, 66, .7); pointer-events: none; }

/* The tray: a real box. Deeper paper, slot wells, a lid edge. */
#boxBuilder .box-visual .box-container { border-radius: 22px !important; background: linear-gradient(180deg, #F3E6D2, #E9D7BC) !important; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -3px 8px rgba(120, 80, 40, .14), 0 24px 40px -22px rgba(74, 45, 20, .45) !important; }
#boxBuilder .box-visual .roll-slot { border-radius: 50% !important; background: radial-gradient(circle at 50% 42%, #FBF4E8, #EADBC4 70%) !important; box-shadow: inset 0 3px 6px rgba(120, 80, 40, .18), inset 0 -1px 0 rgba(255, 255, 255, .7) !important; }
#boxBuilder .box-visual .roll-slot.filled { background: transparent !important; box-shadow: none !important; }
@media (hover: none) {
  /* Touch screens: no hover zooms or lifts from earlier sections (041/046) or the storefront's own CSS. */
  #boxBuilder #flavorButtons > .flavor-btn, #boxBuilder #flavorButtons > .flavor-btn:hover { transform: none; }
  #boxBuilder #flavorButtons > .flavor-btn .glz-illo svg, #boxBuilder #flavorButtons > .flavor-btn:hover .glz-illo svg,
  #boxBuilder #flavorButtons > .flavor-btn .flavor-art, #boxBuilder #flavorButtons > .flavor-btn:hover .flavor-art { transform: none !important; }
  #boxBuilder #flavorButtons .shared-savory-list .flavor-btn, #boxBuilder #flavorButtons .shared-savory-list .flavor-btn:hover,
  #boxBuilder #flavorButtons .shared-savory-list .flavor-btn :is(.flavor-art, .flavor-art *, img, svg) { transform: none !important; }
}
/* Savory rows (inside #flavorButtons, in their own list) keep their row layout; they get the same round Add. */
#boxBuilder #flavorButtons .shared-savory-list .flavor-btn { position: relative; padding-right: 66px !important; border-radius: 18px !important; }
#boxBuilder #flavorButtons .shared-savory-list .flavor-btn:not(.sold-out):not(:disabled)::after {
  content: '+' / 'Add' !important; display: grid !important; place-items: center; position: absolute !important; inset: 50% 12px auto auto !important;
  transform: translateY(-50%) !important; width: 44px !important; height: 44px !important; padding: 0 !important; border-radius: 50% !important;
  background: var(--bx-plum) !important; background-image: none !important; color: var(--bx-cream) !important; font: 400 26px/1 'DM Sans', sans-serif !important;
  opacity: 1 !important; animation: none !important; box-shadow: 0 6px 16px -6px rgba(74, 25, 66, .55) !important; pointer-events: none; z-index: 3 !important;
}

/* ==== 061 Build Your Box motion support (v4/builder-motion.js, GSAP, lazy) ============================
   html.glz-bx-motion is set only when the motion layer is running, so these CSS animations stay the
   fallback until then and in static mode. */
html.glz-bx-motion .roll-slot .roll-svg.bx-settle, html.glz-bx-motion .roll-slot .roll-svg[data-photo].bx-settle { animation: none !important; }
html.glz-bx-motion .roll-slot .roll-svg.removing { animation: none !important; }
html.glz-bx-motion #flavorButtons > .bx-in { animation: none !important; }
.roll-slot { position: relative; }
.glz-ripple { position: absolute; inset: 4%; border-radius: 50%; border: 2px solid #D4A843; pointer-events: none; z-index: 2; }
.glz-plus1 { position: fixed; z-index: 9999; transform: translate(-50%, -50%); pointer-events: none;
  font: 800 15px/1 'DM Sans', sans-serif; color: #fff; background: #4A1942; padding: 6px 9px; border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(74, 25, 66, .6); }
.glz-sparks { position: fixed; inset: 0; pointer-events: none; z-index: 9998; overflow: hidden; }
.glz-sparks i { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF3C4, #D4A843 60%, #B07F1F); }
.glz-sparks i.glz-spark-plum { width: 7px; height: 7px; background: #6A2A5E; border-radius: 2px; }
.glz-complete { position: fixed; z-index: 9999; pointer-events: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 700 15px/1 'DM Sans', sans-serif; color: #FDF8F0; background: #4A1942; padding: 11px 16px 11px 12px; border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 18px 36px -14px rgba(74, 25, 66, .7); }
.glz-complete-check { width: 20px; height: 20px; border-radius: 50%; background: #D4A843; position: relative; flex: none; }
.glz-complete-check::after { content: ''; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #2D1928; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
html.glz-static .glz-plus1, html.glz-static .glz-sparks, html.glz-static .glz-complete, html.glz-static .glz-ripple { display: none !important; }

/* ==== 062 Illustrated builder (Matt, Nov 1 10:08: "I like animated better. Just more hi res animated.") ====
   Tray slots: the vector roll fills its slot (crisp at any size); no photo frame. */
#boxBuilder .roll-slot .roll-svg[data-illo] { width: calc(100% - 4px); height: calc(100% - 4px); max-width: none; max-height: none; inset: 2px;
  filter: drop-shadow(0 5px 7px rgba(57, 31, 18, .28)); }
#boxBuilder .roll-slot.filled:has(.roll-svg[data-illo]) { background: radial-gradient(circle at 50% 46%, #FFFDF8 0 52%, #EADBC4 100%) !important; }
@media (max-width: 899.98px) { #boxBuilder #flavorButtons > .flavor-btn .glz-illo svg { width: 86%; } }
#boxBuilder #flavorButtons .shared-savory-list .flavor-btn .flavor-art:has(.glz-illo) { width: 68px !important; height: 68px !important; flex: none; position: relative; background: radial-gradient(circle at 50% 40%, #FFFFFF, #F3E6D3) !important; border-radius: 50% !important; overflow: visible !important; }
#boxBuilder #flavorButtons .shared-savory-list .flavor-btn.glz-has-illo .flavor-art > :not(.glz-illo) { display: none !important; }
#boxBuilder #flavorButtons .shared-savory-list .flavor-btn .glz-illo { position: absolute; inset: 4%; display: block; }
#boxBuilder #flavorButtons .shared-savory-list .flavor-btn .glz-illo svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 6px rgba(74, 40, 15, .22)); }

/* ==== 063 Subscriptions inside Build Your Box (v4/builder-cadence.js; prices from the plans engine) ==== */
#boxBuilder .glz-cadence { margin: 14px 0 6px; }
#boxBuilder .glz-cad-title { margin: 0 0 8px; font: 700 12px/1 'DM Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #6B5E55; text-align: center; }
#boxBuilder .glz-cad-row { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 5px; border-radius: 18px; background: #F4ECE0; box-shadow: inset 0 1px 2px rgba(45, 25, 40, .08); }
#boxBuilder .glz-cad-row button { position: relative; z-index: 1; min-height: 56px; display: grid; place-items: center; gap: 2px; padding: 6px 4px; border: 0; border-radius: 14px; background: transparent; color: var(--ink, #2D1928); cursor: pointer; transition: color .3s ease; }
#boxBuilder .glz-cad-row button b { font: 700 13.5px/1.15 'DM Sans', sans-serif; }
#boxBuilder .glz-cad-row button small { font: 600 12.5px/1.1 'DM Sans', sans-serif; opacity: .8; min-height: 1em; }
#boxBuilder .glz-cad-row button[aria-checked="true"] { color: #FDF8F0; }
#boxBuilder .glz-cad-row button:focus-visible { outline: 3px solid #4A1942; outline-offset: 2px; }
#boxBuilder .glz-cad-ind { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 14px; background: #4A1942; box-shadow: 0 8px 18px -10px rgba(74, 25, 66, .7); pointer-events: none; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
html.glz-bx-motion #boxBuilder .glz-cad-ind, html.glz-static #boxBuilder .glz-cad-ind { transition: none; }
#boxBuilder .glz-cad-save { margin: 8px 0 0; min-height: 1.2em; text-align: center; font: 700 13px/1.3 'DM Sans', sans-serif; color: #4A1942; }
#boxBuilder .glz-cad-panel { margin-top: 10px; padding: 16px 16px 14px; border-radius: 18px; background: linear-gradient(180deg, #FFFFFF, #FBF5EA); border: 1px solid rgba(201, 154, 46, .45); box-shadow: 0 14px 30px -18px rgba(74, 25, 66, .45); text-align: left; }
#boxBuilder .glz-cad-name { margin: 0; font: 600 20px/1.15 'Glaze Display', Georgia, serif; color: #2D1928; }
#boxBuilder .glz-cad-price { margin: 4px 0 0; font: 500 15px/1.3 'DM Sans', sans-serif; color: #5A4D44; }
#boxBuilder .glz-cad-price strong { font: 800 22px/1 'DM Sans', sans-serif; color: #4A1942; margin-right: 2px; }
#boxBuilder .glz-cad-ph { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 6px; font: 700 10.5px/1.3 'DM Sans', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #6B5E55; border: 1px dashed rgba(107, 94, 85, .5); }
#boxBuilder .glz-cad-badge { display: inline-block; margin: 8px 0 0; padding: 5px 10px; border-radius: 999px; background: #D4A843; color: #2D1928; font: 800 12.5px/1.2 'DM Sans', sans-serif; }
#boxBuilder .glz-cad-terms { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font: 400 14px/1.45 'DM Sans', sans-serif; color: #4A3F39; }
#boxBuilder .glz-cad-terms li { position: relative; padding-left: 22px; }
#boxBuilder .glz-cad-terms li::before { content: ''; position: absolute; left: 2px; top: .38em; width: 12px; height: 12px; border-radius: 50%; background: #F1E3C4; box-shadow: inset 0 0 0 3px #D4A843; }
#boxBuilder .glz-cad-matcha { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 12px; min-height: 44px; border-radius: 12px; background: #F2F6EA; font: 600 14px/1.3 'DM Sans', sans-serif; color: #2D1928; cursor: pointer; }
#boxBuilder .glz-cad-matcha input { width: 20px; height: 20px; accent-color: #4A1942; }
#boxBuilder .glz-cad-start { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; min-height: 50px; border-radius: 999px; background: #4A1942; color: #FDF8F0; font: 700 16px/1 'DM Sans', sans-serif; text-decoration: none; box-shadow: 0 12px 24px -14px rgba(74, 25, 66, .8); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
#boxBuilder .glz-cad-start:focus-visible { outline: 3px solid #D4A843; outline-offset: 3px; }
@media (hover: hover) { #boxBuilder .glz-cad-start:hover { transform: translateY(-2px); } }
#boxBuilder .glz-cad-fine { margin: 8px 0 0; font: 400 12.5px/1.4 'DM Sans', sans-serif; color: #6B5E55; text-align: center; }
#boxBuilder .glz-cad-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#boxBuilder .glz-cad-row button small.is-ph { font-style: italic; }
#boxBuilder .glz-cad-matcha .glz-cad-madd { margin-left: auto; font-weight: 800; color: #4A1942; }
#boxBuilder .glz-cad-matcha .glz-cad-ph { margin-left: 6px; }
@media (max-width: 899.98px) {
  /* Judge round 11: tighter controls above the tray on phones so flavors start sooner. */
  #boxBuilder .glz-cadence { margin: 8px 0 2px; }
  #boxBuilder .glz-cad-title { margin-bottom: 6px; font-size: 11px; }
  #boxBuilder .glz-cad-row button { min-height: 48px; }
  #boxBuilder .glz-cad-save { margin-top: 6px; font-size: 12.5px; }
  #boxBuilder .glz-price-note { font-size: 12px; margin-block: .2rem .1rem; }
  #boxBuilder .box-size-rail .box-visual:has(.grid-2, .grid-4) { max-width: 170px; }
  #boxBuilder .box-size-rail .box-visual:has(.grid-6) { max-width: 220px; }
}
#boxBuilder .glz-cadence [hidden] { display: none !important; }
@media (max-width: 899.98px) {
  #boxBuilder .picker-label { display: none !important; }   /* every card has its own Add button */
  #boxBuilder #flavorButtons > .glz-savory-toggle { margin-top: 14px; }
}

/* Matt Nov 10: Every week is the premium hero option (plum/gold, VIP ribbon). 6-roll tab may show the settled weekly price only. */
#boxBuilder .glz-cad-row { overflow: visible; }
#boxBuilder .glz-cad-row button.glz-cad-week {
  overflow: visible;
  background: linear-gradient(165deg, #5C2153 0%, #3A1236 72%, #2D0E2B 100%);
  color: #FDF6E3;
  box-shadow: 0 10px 22px -12px rgba(74, 25, 66, .75), inset 0 0 0 1px rgba(212, 168, 67, .65);
}
#boxBuilder .glz-cad-row button.glz-cad-week,
#boxBuilder .glz-cad-row button.glz-cad-week[aria-checked="true"] { color: #FDF6E3; }
#boxBuilder .glz-cad-row button.glz-cad-week b { color: #F8E7B0; font-weight: 800; }
#boxBuilder .glz-cad-row button.glz-cad-week small { color: #F1E3C4; opacity: 1; }
#boxBuilder .glz-cad-row button.glz-cad-week[aria-checked="true"] {
  box-shadow: 0 12px 26px -10px rgba(74, 25, 66, .9), inset 0 0 0 2px #D4A843, 0 0 0 3px rgba(212, 168, 67, .25);
}
#boxBuilder .glz-cadence.is-week .glz-cad-ind {
  background: linear-gradient(180deg, #5C2153, #3A1236);
  box-shadow: 0 8px 18px -10px rgba(74, 25, 66, .7), inset 0 0 0 1.5px #D4A843;
}
#boxBuilder .glz-cad-vip {
  position: absolute;
  top: -7px;
  right: -5px;
  z-index: 2;
  display: inline-block;
  padding: 3px 8px 3px 7px;
  border-radius: 3px 8px 3px 8px;
  background: linear-gradient(180deg, #F0D27A, #C9962E);
  color: #2D1928;
  font: 800 8.5px/1 "DM Sans", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(45, 25, 40, .25);
  pointer-events: none;
  white-space: nowrap;
}
#boxBuilder .glz-sizes button .glz-week-hint {
  display: block;
  margin-top: 2px;
  font: 700 10px/1.2 "DM Sans", sans-serif;
  font-style: normal;
  letter-spacing: .02em;
  color: #4A1942;
}
#boxBuilder .glz-sizes button.is-weekly .glz-week-hint {
  color: #8A6B1E;
  font-weight: 800;
}
