/* Flexible content sizing, with a separate composition for the stack preview. */
.page-shell { margin-inline:auto; }
.main-column,.side-column,.product-copy,.story-description,.signup-form { min-width:0; }
.school h2 { white-space:normal; }
.email-field input { font-size:16px; }
.product-copy h3,.product-copy p { overflow-wrap:break-word; }

@media (min-width:761px) and (max-width:999px) {
  .site-header { padding-inline:12px; gap:16px; }
  .navigation { gap:14px; font-size:12px; }
  .brand { font-size:17px; gap:8px; }
  .header-actions { gap:10px; }
  .school .pill-button { padding-inline:15px; }
  .rolling-pin { display:none; }
}
@media (max-width:760px) {
  :root { --radius:28px; }
  .page-shell { padding-inline:10px; }
  .site-header { position:relative; padding-inline:8px; }
  .menu-toggle { min-width:44px; min-height:44px; }
  .navigation { max-height:calc(100dvh - 110px); overflow-y:auto; }
  .add-button { width:44px; height:44px; }
  .text-button,.counter-link,.back-to-top { min-height:44px; display:inline-flex; align-items:center; }
  .counter-link { display:block; }
  .product-row { gap:10px; }
  .product-copy h3 { font-size:14px; line-height:1.4; }
  .product-copy p { font-size:12px; }
  .picks { padding-inline:20px; }
  .email-field { flex-wrap:wrap; }
  .email-field input { flex:1 1 180px; }
  .email-field button { min-height:44px; }
  .close-button { width:44px; height:44px; flex-shrink:0; }
  .quantity-control button { width:44px; height:44px; }
  .cart-item-copy { min-width:0; }
  .cart-dialog { padding:24px 20px; }
}
@media (max-width:440px) {
  .site-header { padding-inline:4px; }
  .header-actions { gap:6px; }
  .brand { font-size:16px; gap:7px; }
  .brand-mark { width:30px; height:36px; font-size:35px; }
  .picks { padding-inline:16px; }
  .product-row { display:grid; grid-template-columns:44px minmax(0,1fr) auto 44px; gap:8px; }
  .product-thumb { width:44px; height:52px; }
  .product-copy p { font-size:11px; }
  .picks-heading { gap:12px; }
  .handdrawn-star { display:none; }
  .story,.club,.journey { padding-inline:20px; }
  .journey-stage-bottom { flex-wrap:wrap; font-size:7px; }
  .journey-progress { min-width:40px; }
  .site-footer { grid-template-columns:1fr; padding-inline:16px; }
  .back-to-top { grid-column:1; grid-row:auto; }
}

/* The iframe shows a complete opening composition, without nested scrolling. */
html.is-showcase-preview { overflow:hidden; scroll-behavior:auto; }
.is-showcase-preview body { overflow:hidden; }
.is-showcase-preview .page-shell { padding:0 12px 72px; height:100svh; }
.is-showcase-preview .site-header { height:clamp(64px,11svh,100px); }
.is-showcase-preview .bakery-grid { height:calc(100svh - clamp(64px,11svh,100px) - 72px); }
.is-showcase-preview .main-column { height:100%; }
.is-showcase-preview .hero { height:100%; min-height:0; flex:1; }
.is-showcase-preview .picks { display:none; }
.is-showcase-preview .hero h1 { top:25%; font-size:clamp(60px,9vw,145px); }
.is-showcase-preview .hero-image-wrap { inset:20px 15% 90px; }
.is-showcase-preview .hero-bottom { bottom:22px; left:24px; right:24px; }
.is-showcase-preview .price-sticker { top:49%; width:clamp(110px,12vw,155px); height:clamp(84px,9vw,113px); }
.is-showcase-preview .price-sticker strong { font-size:clamp(36px,4vw,50px); }
.is-showcase-preview .side-column { height:100%; align-self:stretch; }
.is-showcase-preview .school { flex:1 1 48%; min-height:0; padding:18px 14px 0; }
.is-showcase-preview .school h2 { font-size:clamp(22px,2.8vw,42px); margin:6px 0; }
.is-showcase-preview .school>p { font-size:11px; }
.is-showcase-preview .baker-image { flex:1; min-height:0; height:0; width:85%; margin:8px auto 0; object-position:center bottom; }
.is-showcase-preview .school-note { display:none; }
.is-showcase-preview .school-actions { bottom:16px; }
.is-showcase-preview .school .pill-button { font-size:13px; padding:14px 22px; }
.is-showcase-preview .rolling-pin { display:none; }
.is-showcase-preview .daily { flex:1 1 52%; min-height:0; padding:18px 16px; justify-content:space-between; }
.is-showcase-preview .daily h2 { font-size:clamp(28px,3vw,44px); margin:8px 0 0; }
.is-showcase-preview .tart-image-wrap { flex:1; min-height:0; margin:4px 0; }
.is-showcase-preview .daily-tart { width:100%; height:100%; }
.is-showcase-preview .daily-price { width:65px; height:52px; font-size:25px; }
.is-showcase-preview .daily>p { font-size:11px; margin:6px 0; }
.is-showcase-preview .daily .text-button { min-height:0; font-size:8px; }
@media (max-width:760px) {
  .is-showcase-preview .page-shell { padding-inline:10px; }
  .is-showcase-preview .side-column,.is-showcase-preview .menu-toggle { display:none; }
  .is-showcase-preview .hero h1 { font-size:clamp(58px,17vw,118px); top:28%; letter-spacing:-3px; }
  .is-showcase-preview .hero-image-wrap { inset:32px 8% 95px; }
  .is-showcase-preview .hero-topline { left:20px; right:20px; top:20px; }
  .is-showcase-preview .hero-bottom { left:18px; right:18px; gap:12px; }
  .is-showcase-preview .hero-bottom p { font-size:11px; }
  .is-showcase-preview .price-sticker { left:40%; top:51%; width:126px; height:92px; }
  .is-showcase-preview .flavor-button { width:44px; height:48px; }
  .is-showcase-preview .hero-spark { width:40px; }
}
@media (min-width:761px) and (max-height:600px) {
  .is-showcase-preview .daily { display:none; }
  .is-showcase-preview .school { flex:1; }
  .is-showcase-preview .hero h1 { font-size:clamp(58px,8vw,110px); top:20%; }
  .is-showcase-preview .hero-note { display:none; }
}
@media (max-height:440px) {
  .is-showcase-preview .hero-topline,.is-showcase-preview .hero-spark { display:none; }
  .is-showcase-preview .hero h1 { top:12%; font-size:clamp(40px,12svh,70px); }
  .is-showcase-preview .hero-image-wrap { inset:0 22% 54px; }
  .is-showcase-preview .hero-bottom { bottom:12px; }
  .is-showcase-preview .price-sticker { top:30%; left:55%; width:100px; height:75px; }
  .is-showcase-preview .price-sticker strong { font-size:30px; }
  .is-showcase-preview .flavor-button { height:40px; width:40px; }
}
