/* Weekly preview overlay. Additive. Preview hosts only.
   No auto-scroll. Weekly six is $40. */
html[data-wp] .obx-lab-switch { display: none !important; }

/* Extra room so the weekly card clears the pick bar without scrolling it into view */
#boxBuilder { padding-bottom: 7.5rem; }

.wp-priority {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, #c8a15a 45%, #efe4d2);
  background: color-mix(in srgb, #f7f0e2 88%, #fff);
  color: #3a2a22;
  font-size: 0.88rem;
  line-height: 1.45;
}
.wp-priority b { font-weight: 650; }

.wp-complete, .wp-review {
  margin: 0.7rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, #5b2a4a 22%, #efe4d2);
  background: #fffaf3;
  color: #3a2a22;
  font-size: 0.92rem;
  line-height: 1.45;
}
.wp-complete[hidden], .wp-review[hidden],
.wp-chat[hidden], .wp-ask[hidden] { display: none !important; }

.wp-complete a, .wp-review a, .wp-addons a, .wp-faq-link {
  color: #5b2a4a;
  font-weight: 650;
  text-underline-offset: 2px;
}

/* Unified Rolls / Matcha / Brownies / Extras flow inside the same builder panel */
#boxBuilder .flavor-picker > #wpFlow { margin: 0 0 0.85rem; }
#wpFlow .wp-flow-lead { margin: 0 0 0.65rem; }
#wpFlow .wp-flow-lead .rp-line {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #6b5346;
}
#wpFlow .wp-flow-lead .rp-line a { color: #5b2a4a; font-weight: 650; text-underline-offset: 2px; }

.wp-flow-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, #5b2a4a 18%, #efe4d2);
  background: color-mix(in srgb, #f7f0e2 70%, #fff);
}
.wp-flow-tab {
  appearance: none;
  min-height: 44px;
  min-width: 0;
  padding: 0.4rem 0.2rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5b2a4a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.wp-flow-tab.is-on,
.wp-flow-tab[aria-selected="true"] {
  background: #5b2a4a;
  color: #fffaf3;
  box-shadow: 0 0 0 1px color-mix(in srgb, #c8a15a 80%, #5b2a4a);
}
.wp-flow-tab:focus-visible { outline: 3px solid #c8a15a; outline-offset: 2px; }
.wp-flow-tab[hidden] { display: none !important; }

.wp-flow-summary {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #3a2a22;
}
.wp-flow-pane { margin: 0.7rem 0 0; min-width: 0; }
.wp-flow-pane[hidden], #wpPaneRolls { display: none !important; }

html[data-wp-flow]:not([data-wp-flow="rolls"]) #boxBuilder .flavor-picker > :not(#wpFlow):not(#addToCartBtn):not(#wpReview):not(#premiumUpchargeNotice),
html[data-wp-flow]:not([data-wp-flow="rolls"]) #boxBuilder #flavorWheelMount,
html[data-wp-flow]:not([data-wp-flow="rolls"]) #boxBuilder #flavorWheelOpus,
html[data-wp-flow]:not([data-wp-flow="rolls"]) #boxBuilder #flavorWheelSol,
html[data-wp-flow]:not([data-wp-flow="rolls"]) #boxBuilder .obx-guide,
html[data-wp-flow]:not([data-wp-flow="rolls"]) #boxBuilder .obx-tap {
  display: none !important;
}
#boxBuilder .flavor-picker > #wpFlow { margin: 0 0 0.85rem; }

/* Flatten the old standalone matcha card once it lives in the Matcha pane */
#wpPaneMatcha #matchaUpsell.mx-upsell {
  display: grid;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#wpPaneMatcha #matchaUpsell[hidden] { display: none !important; }
#wpPaneMatcha #matchaUpsell .mx-upsell-body { min-width: 0; }
#wpPaneMatcha #matchaUpsell .mx-upsell-eyebrow { color: #5b2a4a; }
#wpPaneMatcha .mx-upsell-picks button,
#wpPaneMatcha .mx-upsell-picks button.is-added {
  border-radius: 999px;
}
#wpPaneMatcha .mx-upsell-picks button.is-added,
#wpPaneMatcha .mx-upsell-picks button[aria-pressed="true"] {
  background: #5b2a4a;
  border-color: #5b2a4a;
  color: #fffaf3;
  box-shadow: 0 0 0 1px #c8a15a;
}
#wpPaneMatcha .mx-upsell-picks button.is-added small { color: color-mix(in srgb, #c8a15a 55%, #fffaf3); }

.wp-brownies h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: #3a2a22;
}
.wp-sub, .wp-brownies .wp-sub, #wpMatchaMilk .wp-sub {
  margin: 0 0 0.65rem;
  color: #6b5346;
  font-size: 0.84rem;
  line-height: 1.4;
}
.wp-weekly-only { font-weight: 650; color: #5b2a4a; }
.wp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 0.7rem;
}
.wp-chip, .wp-ask, .wp-chat-send, .wp-chat-handoff, .wp-brownie-edit {
  appearance: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, #5b2a4a 28%, #e6d7c4);
  background: #fffdf8;
  color: #3a2a22;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}
.wp-chip[aria-pressed="true"] {
  border-color: #5b2a4a;
  background: #5b2a4a;
  color: #fffaf3;
  box-shadow: 0 0 0 1px #c8a15a;
}
.wp-chip:focus-visible { outline: 3px solid #c8a15a; outline-offset: 2px; }
.wp-note, .wp-brownies .wp-note {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: #6b5346;
  line-height: 1.4;
  min-height: 0;
}
#wpPaneExtras #addonsSection { margin: 0; padding: 0; border: 0; background: transparent; }
#wpPaneExtras #addonsSection .addons-label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: #3a2a22;
}
#wpBrownieCart .wp-brownie-edit { margin-top: 0.35rem; }


.date-card.wp-held {
  outline: 2px solid color-mix(in srgb, #c8a15a 70%, transparent);
  outline-offset: 1px;
}
.date-card.wp-held .date-badge-full,
.date-card.wp-held .date-card-status {
  color: #5b2a4a;
}

#order .allergen-board { display: none !important; }
.wp-pay-allergy {
  margin: 0.75rem 0 0.35rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, #5b2a4a 20%, #efe4d2);
  background: #fffaf3;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #3a2a22;
}

.wp-allergy-confirm {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, #5b2a4a 24%, #efe4d2);
  background: #fffaf3;
  color: #3a2a22;
}
.wp-allergy-confirm h2 { margin: 0 0 0.45rem; font-size: 1.15rem; }
.wp-allergy-confirm p { margin: 0 0 0.75rem; line-height: 1.5; }
.wp-allergy-confirm label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 44px;
  font-weight: 650;
}
.wp-allergy-confirm input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }

.wp-chat {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  width: min(360px, calc(100vw - 24px));
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, #5b2a4a 20%, #e6d7c4);
  background: #fffdf8;
  box-shadow: 0 16px 40px rgba(58, 42, 34, 0.16);
  overflow: hidden;
}
.wp-chat header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid #efe4d2;
}
.wp-chat header strong { font-size: 0.95rem; }
.wp-chat header button {
  min-height: 44px;
  min-width: 44px;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.wp-chat-log {
  flex: 1 1 auto;
  overflow: auto;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.wp-chat-log p {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.wp-chat-log .me { align-self: flex-end; background: #5b2a4a; color: #fffaf3; }
.wp-chat-log .bot { align-self: flex-start; background: #f3ebe0; color: #3a2a22; }
.wp-chat form {
  display: flex;
  gap: 8px;
  padding: 0.65rem;
  border-top: 1px solid #efe4d2;
}
.wp-chat input[type="text"] {
  flex: 1 1 auto;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid #e6d7c4;
  padding: 0 0.75rem;
  font: inherit;
}
.wp-chat-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0.65rem 0.65rem; }
.wp-ask {
  margin: 0.85rem 0 0;
}

@media (max-width: 430px) {
  .wp-complete, .wp-review, .wp-priority, .wp-flow-summary, .wp-sub, .wp-note, #wpFlow .wp-flow-lead .rp-line { overflow-wrap: anywhere; }
  .wp-flow-tab { font-size: 0.72rem; padding: 0.35rem 0.15rem; }
  #wpFlow .wp-flow-tabs[data-wp-premium="1"] .wp-flow-tab {
    padding: 0.3rem 0.2rem;
    font-size: 0.68rem;
    gap: 0.14rem;
  }
  #wpFlow .wp-flow-tabs[data-wp-premium="1"] .wp-flow-ico svg { width: 12px; height: 12px; }
  #wpPaneMatcha #matchaUpsell { grid-template-columns: 72px 1fr; gap: 10px; }
  #wpPaneMatcha #matchaUpsell.mx-upsell { display: grid; }
  #wpPaneMatcha .mx-upsell-media picture,
  #wpPaneMatcha .mx-upsell-media img { width: 72px; height: 72px; }
}

/* Tray wells stay the same size. The active slot gets a gold + and ring, never a scale-up. */
html[data-wp] #boxBuilder .box-grid .roll-slot,
html[data-wp] #boxBuilder .box-grid .roll-slot:hover,
html[data-wp] #boxBuilder .box-grid .roll-slot:focus,
html[data-wp] #boxBuilder .box-grid .roll-slot:focus-visible,
html[data-wp] #boxBuilder .box-grid .roll-slot.obx-invite,
html[data-wp] #boxBuilder .box-grid .roll-slot:not(.filled):hover,
html[data-wp] #boxBuilder .box-grid .roll-slot.filled:hover {
  transform: none !important;
}
html[data-wp] #boxBuilder .box-grid .roll-slot:not(.filled):hover .plus-icon,
html[data-wp] #boxBuilder .box-grid .roll-slot:focus .plus-icon,
html[data-wp] #boxBuilder .box-grid .roll-slot.obx-invite .plus-icon {
  transform: none !important;
  color: var(--honey-gold, #D4A843);
}
html[data-wp] #boxBuilder .box-grid .roll-slot.obx-invite {
  box-shadow: inset 0 3px 8px rgba(120, 86, 46, 0.18), 0 0 0 2px rgba(212, 168, 67, 0.7);
}

/* Extras live in the flow pane — hide the old loose disclose control without touching the DOM every tick. */
html[data-wp] #boxBuilder .glz-disclose[aria-controls="glzAddonsInner"],
html[data-wp] #addonsSection > .glz-disclose {
  display: none !important;
}
html[data-wp] #addonsSection #glzAddonsInner {
  display: block !important;
}

/* ───────── STEP 2: hero 13.1 ───────── */
html[data-wp-hero="13.1"] section.hero {
  --wp-gold: #c8a15a;
  --wp-plum: #5b2a4a;
  --wp-cream: #f7f0e2;
  --wp-ink: #3a2a22;
}
html[data-wp-hero="13.1"] section.hero > .hero-content.wp-hero-shell { display: contents; }
html[data-wp-hero="13.1"] .wp-hero-top,
html[data-wp-hero="13.1"] .wp-hero-action {
  position: relative;
  z-index: 1;
  min-width: 0;
}
html[data-wp-hero="13.1"] #logoSlot,
html[data-wp-hero="13.1"] .wp-hero-top #logoSlot,
html[data-wp-hero="13.1"] .hero .logo-slot {
  display: block !important;
  position: relative;
  width: 160px !important;
  height: calc(160px * 449 / 847) !important;
  max-width: 58vw;
  margin: 0 auto 0.2rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}
html[data-wp-hero="13.1"] #logoSlot {
  background-color: #5b2a4a !important;
  -webkit-mask: url("/assets/glaze/core/glaze-wordmark-official.png") center / contain no-repeat;
  mask: url("/assets/glaze/core/glaze-wordmark-official.png") center / contain no-repeat;
}
html[data-wp-hero="13.1"] #logoSlot img,
html[data-wp-hero="13.1"] #logoSlot .wp-wordmark,
html[data-wp-hero="13.1"] #logoSlot .wp-wordmark-face {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
html[data-wp-hero="13.1"] .mini-launch-kicker {
  display: block;
  text-align: center;
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b2a4a;
}
html[data-wp-hero="13.1"] .wp-hero-top h1 {
  margin: 0 auto;
  max-width: 18ch;
  text-align: center;
  font-size: clamp(2.25rem, 8vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.024em;
  font-weight: 400;
  color: #3a2a22;
  text-wrap: balance;
}
html[data-wp-hero="13.1"] .wp-hero-sub {
  margin: 0.7rem auto 0 !important;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.45;
  color: #3a2a22;
}
html[data-wp-hero="13.1"] .wp-hero-sub .h1-sig {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding-bottom: 0.16em;
  font-style: italic;
  font-weight: 400;
}
html[data-wp-hero="13.1"] .wp-hero-sub .h1-sig::after {
  content: "";
  position: absolute;
  left: -0.02em;
  right: 0.02em;
  bottom: -0.02em;
  height: 0.26em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11.5C58 6 120 3.5 178 5.2c44 1.3 86 4.6 119 8.3' fill='none' stroke='%23B8902D' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M40 13.6c50-3.4 104-4.4 160-2.6' fill='none' stroke='%23B8902D' stroke-width='1.1' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  pointer-events: none;
}
html[data-wp-hero="13.1"] .hero-cta-note {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, #5b2a4a 72%, #c4b5a6);
}
html[data-wp-hero="13.1"] a.wp-byb-cta,
html[data-wp-hero="13.1"] .hero-actions a.hero-cta-primary.wp-byb-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: 28rem;
  min-height: 60px;
  margin: 0.85rem 0 0;
  padding: 0.45rem 0.55rem 0.45rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #e0c16e 0%, #c8a15a 48%, #b8902d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 248, 230, 0.55), 0 8px 20px -12px rgba(91, 42, 74, 0.45);
  color: #3a2a22;
  text-decoration: none;
  text-align: left;
}
html[data-wp-hero="13.1"] .wp-byb-copy { display: flex; flex-direction: column; line-height: 1.15; }
html[data-wp-hero="13.1"] .wp-byb-label { font-weight: 750; font-size: 1.02rem; color: #3a2a22; }
html[data-wp-hero="13.1"] .wp-byb-cta .hero-cta-from {
  display: block;
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, #3a2a22 80%, #5b2a4a);
}
html[data-wp-hero="13.1"] .wp-byb-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #5b2a4a;
  color: #fffaf3;
}
html[data-wp-hero="13.1"] .wp-byb-cta:active { transform: translateY(1px); }
html[data-wp-hero="13.1"] .wp-byb-cta:focus-visible { outline: 3px solid #5b2a4a; outline-offset: 3px; }

#wpWeeklyRoom {
  display: grid;
  gap: 1.25rem;
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 2.5rem;
  background: #f7f0e2;
}
#wpWeeklyRoom .wp-weekly-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b2a4a;
}
#wpWeeklyRoom h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.15;
  color: #3a2a22;
  font-weight: 400;
}
#wpWeeklyRoom .wp-weekly-head p { margin: 0; max-width: 36rem; color: #3a2a22; line-height: 1.45; }
#wpWeeklyRoom .wp-weekly-photo { margin: 0; }
#wpWeeklyRoom .wp-weekly-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid #c8a15a;
}
#wpWeeklyRoom .wp-weekly-photo figcaption {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: #6b5346;
}
#wpWeeklyRoom .r2c-funnel { margin-top: 0; max-width: none; }
html[data-wp-hero="13.1"] section.hero .r2c-funnel,
html[data-wp-hero="13.1"] .wp-hero-action .r2c-funnel { display: none !important; }
html[data-wp-hero="13.1"] #r2cHero .r2c-count,
html[data-wp-hero="13.1"] #r2cHero .cn9-pill:has(.cn9-num),
html[data-wp-hero="13.1"] #r2cHero .cn9-num { display: none !important; }

@media (max-width: 959.98px) {
  html[data-wp-hero="13.1"] section.hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 2.25rem;
  }
  html[data-wp-hero="13.1"] section.hero > #r2cHero {
    order: 0;
    width: 100%;
    margin: 0.45rem 0 0;
    padding: 0;
    overflow: hidden;
  }
  html[data-wp-hero="13.1"] #r2cHero .cn9-stage {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 3 / 2 !important;
    max-height: clamp(132px, 18svh, 160px) !important;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 0 0 1px #c8a15a;
  }
  html[data-wp-hero="13.1"] #r2cHero .cn9-card {
    width: 88% !important;
    margin-left: -44% !important;
    top: 0 !important;
  }
  html[data-wp-hero="13.1"] #r2cHero .cn9-face {
    aspect-ratio: 3 / 2 !important;
    border-radius: 16px !important;
  }
  html[data-wp-hero="13.1"] #r2cHero .cn9-bub,
  html[data-wp-hero="13.1"] #r2cHero .cn9-coms,
  html[data-wp-hero="13.1"] #r2cHero .cn9-num,
  html[data-wp-hero="13.1"] #r2cHero .cn9-pill:has(.cn9-num),
  html[data-wp-hero="13.1"] #r2cHero .cn9-pick { display: none !important; }
  html[data-wp-hero="13.1"] #r2cHero .cn9-ctl { margin-top: 8px; }
  html[data-wp-hero="13.1"] .wp-hero-top { order: -1; text-align: center; padding-top: 0.35rem; }
  html[data-wp-hero="13.1"] .wp-hero-action { order: 1; text-align: center; }
  html[data-wp-hero="13.1"] .wp-hero-action .hero-actions { display: flex; flex-direction: column; align-items: center; }
  html[data-wp-hero="13.1"] #r2cHero .r2c-stage {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
    max-height: clamp(132px, 18svh, 160px) !important;
    margin-inline: auto;
    border-radius: 16px;
    box-shadow: 0 0 0 1px #c8a15a;
    overflow: hidden;
  }
  html[data-wp-hero="13.1"] #r2cHero .r2c-slide { width: 88%; margin-left: -44%; top: 0; }
  html[data-wp-hero="13.1"] #r2cHero .r2c-comments,
  html[data-wp-hero="13.1"] #r2cHero .r2c-src { display: none; }
  html[data-wp-hero="13.1"] #r2cHero .r2c-ctl { margin-top: 10px; }
  html[data-wp-hero="13.1"] #r2cHero .cn9-ctl { margin-top: 4px; }
  html[data-wp-hero="13.1"] .wp-hero-top { padding-top: 0.15rem; }
  html[data-wp-hero="13.1"] .mini-launch-kicker { margin-bottom: 0.28rem; }
  html[data-wp-hero="13.1"] .wp-hero-top h1 { font-size: 1.95rem; }
  html[data-wp-hero="13.1"] .wp-hero-sub { margin-top: 0.45rem !important; font-size: 0.95rem; line-height: 1.38; }
  html[data-wp-hero="13.1"] #r2cHero .r2c-count,
  html[data-wp-hero="13.1"] #r2cHero .r2c-comments,
  html[data-wp-hero="13.1"] #r2cHero .r2c-cap { display: none !important; }

  /* First-screen fold: shorter Top bar 2 photo strip, CTA under carousel controls */
  html[data-wp-hero="13.1"] .topbar-v2 .tb9-cards { padding: 8px clamp(16px, 3vw, 32px) 10px; scroll-padding-inline: clamp(16px, 3vw, 32px); }
  html[data-wp-hero="13.1"] .topbar-v2 .tb9-card { width: 120px; height: 70px; border-radius: 18px; }
  html[data-wp-hero="13.1"] .topbar-v2 .tb9-card b { top: 6px; left: 6px; padding: 4px 8px; font-size: 11px; }
  html[data-wp-hero="13.1"] .topbar-v2 .tb9-card small { bottom: 6px; left: 6px; padding: 3px 7px; font-size: 9.5px; }
  html[data-wp-hero="13.1"] section.hero > #r2cHero { margin: 0.3rem 0 0; }
  html[data-wp-hero="13.1"] .wp-hero-action,
  html[data-wp-hero="13.1"] .wp-hero-action .hero-actions { display: contents; }
  html[data-wp-hero="13.1"] a.wp-byb-cta {
    order: 1;
    margin: 0.55rem auto 0;
  }
  html[data-wp-hero="13.1"] .wp-hero-sub { order: 2; }
  html[data-wp-hero="13.1"] .hero-cta-note { order: 3; }
}
@media (min-width: 960px) {
  html[data-wp-hero="13.1"] section.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "top photo" "action photo";
    column-gap: 2.5rem;
    align-items: start;
  }
  html[data-wp-hero="13.1"] .wp-hero-top { grid-area: top; text-align: left; }
  html[data-wp-hero="13.1"] .wp-hero-top #logoSlot,
  html[data-wp-hero="13.1"] .wp-hero-top .mini-launch-kicker,
  html[data-wp-hero="13.1"] .wp-hero-top h1 { margin-left: 0; text-align: left; justify-content: flex-start; }
  html[data-wp-hero="13.1"] #logoSlot,
  html[data-wp-hero="13.1"] .hero .logo-slot {
    width: 260px !important;
    height: calc(260px * 449 / 847) !important;
    margin-left: 0 !important;
  }
  html[data-wp-hero="13.1"] .wp-hero-top h1 { font-size: clamp(2.6rem, 3.6vw, 3.6rem); max-width: 14ch; }
  html[data-wp-hero="13.1"] .wp-hero-action { grid-area: action; text-align: left; }
  html[data-wp-hero="13.1"] .wp-hero-sub { margin-left: 0 !important; }
  html[data-wp-hero="13.1"] a.wp-byb-cta { max-width: 24rem; }
  html[data-wp-hero="13.1"] section.hero > #r2cHero {
    grid-area: photo;
    width: 100%;
    max-width: 620px;
    margin: 0;
    justify-self: end;
  }
  #wpWeeklyRoom {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    column-gap: 2rem;
    padding-inline: clamp(24px, 4vw, 48px);
  }
  #wpWeeklyRoom .wp-weekly-head { grid-column: 2; }
  #wpWeeklyRoom .wp-weekly-photo { grid-column: 1; grid-row: 1 / span 2; }
  #wpWeeklyRoom .r2c-funnel { grid-column: 2; }
}

html.glz-static[data-wp-hero="13.1"] .wp-byb-cta,
html[data-wp-hero="13.1"] .wp-hero-top,
html[data-wp-hero="13.1"] .wp-hero-action,
html[data-wp-hero="13.1"] #r2cHero {
  opacity: 1 !important;
  transform: none !important;
}

/* ───────── Box-opening transition (item 14) ───────── */
.wp-boxopen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: transparent;
}
.wp-boxopen[hidden] { display: none !important; }
.wp-boxopen-stage { width: min(260px, 70vw); }
.wp-boxopen-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1.15 / 1;
  transform: scale(0.86);
  opacity: 0;
}
.wp-boxopen.is-on .wp-boxopen-box { opacity: 1; transform: scale(1); transition: transform 0.45s ease, opacity 0.3s ease; }
.wp-boxopen-body {
  position: absolute;
  inset: 28% 6% 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  border-radius: 10px 10px 14px 14px;
  background: #f3e6d0;
  border: 1.5px solid #c8a15a;
  box-shadow: 0 16px 36px -18px rgba(91, 42, 74, 0.45);
}
.wp-boxopen-well {
  border-radius: 50%;
  background: #efe0c8;
  box-shadow: inset 0 2px 6px rgba(120, 86, 46, 0.2);
}
.wp-boxopen-lid {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 6%;
  height: 38%;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, #fff8ee, #f0e0c8);
  border: 1.5px solid #c8a15a;
  transform-origin: top center;
  color: #5b2a4a;
  font: 700 1.05rem/1 "Glaze Display", Georgia, serif;
  letter-spacing: 0.02em;
}
.wp-boxopen.is-open .wp-boxopen-lid {
  transform: rotateX(-118deg) translateY(-6%);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wp-boxopen.is-gone { opacity: 0; transition: opacity 0.28s ease; }
html.glz-static .wp-boxopen { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .wp-boxopen { display: none !important; }
  html[data-wp-hero="13.1"] .wp-byb-cta { transition: none; }
}

/* ───────── 12a What happens next card ───────── */
html[data-wp] #how-it-works .guide-binding,
html[data-wp] #how-it-works .guide-controls,
html[data-wp] #how-it-works .guide-cover,
html[data-wp] #how-it-works .guide-book,
html[data-wp] #how-it-works #guideAreaMap { display: none !important; }
html[data-wp] #how-it-works { padding-inline: 24px; }
#wpNextCard {
  max-width: 64rem;
  margin: 1rem auto 0;
  padding: 0.85rem;
  border-radius: 28px;
  background: #efe6d6;
  border: 1px solid color-mix(in srgb, #c8a15a 28%, #efe6d6);
}
.wp-next-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 0.85rem;
}
.wp-next-seg {
  appearance: none;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.wp-next-seg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  margin-top: -4px;
  border-radius: 999px;
  background: color-mix(in srgb, #5b2a4a 12%, #efe6d6);
}
.wp-next-seg.is-on::after { background: #b8902d; }
.wp-next-seg:focus-visible { outline: 3px solid #c8a15a; outline-offset: 3px; }
.wp-next-stage { position: relative; min-height: 22rem; }
.wp-next-pane {
  display: grid;
  gap: 1rem;
}
.wp-next-pane[hidden] { display: none !important; }
.wp-next-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: 18px;
}
.wp-next-copy { padding: 0.4rem 0.4rem 0.8rem; color: #3a2a22; }
.wp-next-folio {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8902d;
}
.wp-next-copy h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  font-weight: 400;
  color: #3a211c;
}
.wp-next-copy p { margin: 0 0 0.55rem; line-height: 1.5; color: #5a4a42; }
.wp-next-track {
  display: inline-block;
  margin-top: 0.4rem;
  color: #3a211c;
  font-weight: 700;
  text-underline-offset: 5px;
}
@media (min-width: 800px) {
  .wp-next-pane { grid-template-columns: 1.05fr 1fr; align-items: stretch; min-height: 26rem; }
  .wp-next-stage { min-height: 26rem; }
  .wp-next-copy { padding: 1.4rem 1.5rem 1.2rem 1rem; display: flex; flex-direction: column; justify-content: center; }
  .wp-next-photo img { max-height: none; height: 100%; }
}

/* ───────── 12b Phone 17 as a full-bleed mobile app ───────── */
.wp-phone-head { display: none; }
@media (max-width: 699.98px) {
  html[data-wp] .wp-phone-head {
    display: block;
    padding: 1.5rem 24px 0.6rem;
    background: #f7f0e2;
  }
  html[data-wp] .wp-phone-kicker {
    margin: 0 0 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5b2a4a;
  }
  html[data-wp] #wpPhoneTitle {
    margin: 0;
    font-size: 1.7rem;
    line-height: 1.15;
    font-weight: 400;
    color: #3a2a22;
  }
  html[data-wp][data-v-phone="17"] #phoneTakeoverStage,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-device,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-bezel,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-screen {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    filter: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb {
    display: block !important;
    padding: 0 0 calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-dome,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-orbit,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-floor,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-disc,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-chrome,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-status,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-side,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-arrow,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-bezel::after {
    display: none !important;
    animation: none !important;
  }
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-track {
    display: block !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
    scroll-snap-type: none !important;
    transform: none !important;
  }
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-panel {
    display: none;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
    transform: none !important;
  }
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-panel.orb-live,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-panel.is-on,
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-panel[aria-hidden="false"] {
    display: block !important;
  }
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-h { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  html[data-wp][data-v-phone="17"] #phoneTakeoverOpus .orb-tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding: 0.25rem 0.4rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    background: #fffaf3;
    border-top: 1px solid color-mix(in srgb, #c8a15a 40%, #efe4d2);
    box-shadow: 0 -8px 24px -18px rgba(91, 42, 74, 0.35);
  }
  html[data-wp][data-wp-phone-app="1"] #stickyBar { display: none !important; }
}

/* ───────── Premium compact flow tabs ───────── */
#wpFlow .wp-flow-tabs[data-wp-premium="1"] {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: stretch;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 4px;
  gap: 0;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #5b2a4a 16%, #efe4d2);
  background: color-mix(in srgb, #f7f0e2 78%, #fff);
}
#wpFlow { text-align: center; }
#wpFlow .wp-flow-lead,
#wpFlow .wp-flow-summary,
#wpFlow .wp-flow-pane { text-align: left; }
#wpFlow .wp-flow-tabs[data-wp-premium="1"] {
  overflow: hidden;
}
.wp-flow-ink {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6e4b3 0%, #e5c56a 100%);
  box-shadow: inset 0 0 0 1.5px #c8a15a, 0 1px 2px rgba(91, 42, 74, 0.08);
  transform: translateX(0);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}
#wpFlow .wp-flow-tabs[data-wp-premium="1"] .wp-flow-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  padding: 0.35rem 0.7rem;
  background: transparent;
  color: #5b2a4a;
  box-shadow: none;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
#wpFlow .wp-flow-tabs[data-wp-premium="1"] .wp-flow-tab.is-on,
#wpFlow .wp-flow-tabs[data-wp-premium="1"] .wp-flow-tab[aria-selected="true"] {
  background: transparent;
  color: #3a2a22;
  box-shadow: none;
}
.wp-flow-ico { display: none !important; }
.wp-flow-count { font-weight: 650; color: #b8902d; }

@media (min-width: 700px) {
  #wpFlow .wp-flow-tabs[data-wp-premium="1"] {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  #wpFlow .wp-flow-tabs[data-wp-premium="1"] .wp-flow-tab {
    flex: 0 1 auto;
    padding: 0.4rem 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wp-flow-ink { transition: none; }
  .wp-boxopen, .wp-boxopen * { transition: none !important; animation: none !important; }
}

/* ───────── Exhibit 1 + What happens next (ported from the exhibit lab) ───────── */
#wpWhn {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  background: var(--cream, #fbf6ee);
  color: var(--plum, #5b2a4a);
  opacity: 1 !important;
  transform: none !important;
}
/* lane-h hides generic .whn (the old phone storybook). The lab card reuses that class. */
#wpWhn .whn {
  display: block !important;
  width: auto !important;
  max-width: 1120px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 28px 16px 64px !important;
  background: none !important;
  position: relative !important;
  aspect-ratio: auto !important;
}
#wpWhn .whn-copy {
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  cursor: auto;
}
#wpWhn .whn-media img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}
#wpExhibit {
  width: 100%;
  margin: 0;
  padding: 0;
}
html[data-wp-exhibit] #how-it-works,
html[data-wp-exhibit] #phoneTakeoverStage,
html[data-wp-exhibit] #phoneTakeoverOpus,
html[data-wp-exhibit] #phoneTakeoverSol,
html[data-wp-exhibit] #phoneTakeoverSwitcher,
html[data-wp-exhibit] .pn9-switcher,
html[data-wp-exhibit] #faq,
html[data-wp-exhibit] #weekly-box,
html[data-wp-exhibit] #glaze-gallery,
html[data-wp-exhibit] #kitchen,
html[data-wp-exhibit] #fresh-story,
html[data-wp-exhibit] #wpNextCard,
html[data-wp-exhibit] #wpPhoneHead {
  display: none !important;
}
@media (max-width: 899.98px) {
  html[data-wp-exhibit] .core-peek,
  html[data-wp-exhibit] .core-edge,
  html[data-wp-exhibit] .core-smart { display: none !important; }
  html[data-wp-exhibit-app="1"] #stickyBar,
  html[data-wp-exhibit-app="1"] #glazeAssistant { display: none !important; }
}

/* Matcha cards in the Matcha pane, painted from /api/matcha */
#wpPaneMatcha { overflow: visible; }
#wpMatchaMenu { display: grid; gap: 0.55rem; margin: 0.15rem 0 0; }
#wpMatchaMenu .wp-matcha-lead { margin: 0 0 0.1rem; font-weight: 700; font-size: 1.05rem; color: #3a2a22; }
#wpMatchaMenu .wp-matcha-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  width: 100%;
  min-height: 64px;
  padding: 0.8rem 0.95rem;
  border: 1px solid color-mix(in srgb, #5b2a4a 12%, #efe4d2);
  border-radius: 16px;
  background: #fffaf3;
  color: #3a2a22;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
#wpMatchaMenu .wp-matcha-card:focus-visible { outline: 3px solid #c8a15a; outline-offset: 2px; }
#wpMatchaMenu .wp-matcha-copy { display: grid; gap: 0.15rem; min-width: 0; }
#wpMatchaMenu .wp-matcha-name { font-weight: 700; font-size: 0.98rem; color: #3a2a22; }
#wpMatchaMenu .wp-matcha-blurb { font-size: 0.78rem; line-height: 1.35; color: #6b5346; }
#wpMatchaMenu .wp-matcha-price { flex: none; font-weight: 700; font-size: 0.98rem; color: #5b2a4a; }
#wpPaneMatcha #matchaUpsell[data-wp-replaced="1"] { display: none !important; }


/* Preview variant pills on the sticky top bar must not cover Weekly Box copy. */
html[data-wp] .topbar-v2 > .glzv,
html[data-wp-hero] .topbar-v2 > .glzv,
html[data-wp] #r2cBar > .glzv {
  position: fixed !important;
  top: auto !important;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  right: 12px !important;
  left: auto !important;
  z-index: 80;
  max-width: calc(100vw - 24px);
}
html[data-wp] #wpWeeklyRoom,
html[data-wp] #r2cFunnel {
  padding-bottom: 4.75rem;
}
