/* Fix01: header only. Original storefront design retained. */
.preview-note{background:#444c4d;color:#fff;text-align:center;padding:7px 12px;font:10px/1.5 GeistMono,monospace}
.shared-brand .layer-masthead,.shared-brand:not(.compact) .layer-masthead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:center;gap:24px;padding:20px 5%;min-height:96px;box-sizing:border-box}
.shared-brand .layer-wordmark{display:flex;align-items:center;justify-content:flex-start;width:110px;min-height:56px;margin:0;align-self:center}
.shared-brand .layer-wordmark img{display:block;width:100%;height:auto;margin:0}
.shared-brand .layer-masthead nav{display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-content:normal;gap:24px;width:100%;margin:0;order:initial}
.shared-brand .layer-masthead nav a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0;box-sizing:border-box;line-height:1.2;position:relative;white-space:nowrap}
.shared-brand .layer-masthead nav a.active:after{bottom:5px;left:50%;right:auto;width:35px;transform:translateX(-50%)}
@media(max-width:600px){
.shared-brand .layer-masthead,.shared-brand:not(.compact) .layer-masthead{grid-template-columns:1fr 2fr;gap:12px;padding:12px 20px;min-height:84px}
.shared-brand .layer-wordmark{width:76px;min-height:56px}
.shared-brand .layer-masthead nav{grid-template-columns:1fr 1fr;gap:8px;font-size:13px;width:100%;order:initial}
.shared-brand .layer-masthead nav a{min-height:48px;padding:0}
}

.shared-brand .layer-masthead nav{grid-column:2;grid-row:1}.shared-brand .layer-wordmark img{width:100%;max-width:none}

/* Fix02: plain partner cutoff explanation. */
.partner-order-rules{padding-left:20px;margin:16px 0;line-height:1.8}.partner-order-rules li+li{margin-top:10px}.partner-order-timezone{font-size:12px;color:var(--muted)}

/* Fix03: break names at spaces, preserve compound-word hyphens. */
#retail-grid>.product-card>.card-title>a,.product-card .card-title a{overflow-wrap:normal;word-break:normal;hyphens:none}

/* Fix04: one central axis for catalog photo, name, price and action. */
#retail-grid>.product-card>.card-title{text-align:center;justify-items:center}
#retail-grid>.product-card>.card-title>a{width:100%;text-align:center;text-wrap:balance}
#retail-grid>.product-card>.card-title>.card-price{width:100%;text-align:center}

/* Fix05: center the complete action area, including quantity replacement. */
#retail-grid>.product-card>.card-actions{display:flex;flex-direction:row;justify-content:center;align-items:center;justify-self:stretch;width:100%;min-width:0}
#retail-grid>.product-card>.card-actions>.quick-add,
#retail-grid>.product-card>.card-actions>.quick-qty{flex:none;width:min(100%,240px);min-width:0;max-width:100%;margin-inline:auto;box-sizing:border-box}

/* Fix06: compact photo-to-menu transition; hero copy scrolls away naturally. */
.shared-brand:not(.functional){height:85svh;min-height:560px;max-height:760px}
.shared-brand:not(.functional) .layer-center{inset:124px 20px 52px;opacity:1;filter:none;transform:none}
.shared-brand:not(.functional) .layer-center.is-hidden{visibility:visible;pointer-events:auto}
.paper-menu{padding-top:26px}
.menu-heading{display:flex;flex-direction:column;align-items:center;gap:14px;margin:0 0 16px;padding:0 0 14px;text-align:center}
.menu-heading h2.script{max-width:100%;margin:0;font-size:clamp(28px,3vw,38px);line-height:1.35;text-align:center;text-wrap:balance}
.menu-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;width:min(100%,440px);margin-inline:auto}
.menu-heading .cats{grid-column:2;grid-row:1;display:grid;grid-template-columns:1fr 1fr;gap:4px;width:100%;min-width:0;padding:4px;border:1px solid #d9b0bf;border-radius:999px;background:#f7e9ee}
.menu-heading .cats button{min-width:0;min-height:44px;padding:9px 10px;border:0;border-radius:999px;font-size:14px;color:#444c4d;background:transparent;transition:background .18s ease-out,color .18s ease-out}
.menu-heading .cats button.active{background:#e8b7c8;color:#343d3b}
.menu-heading .cats button.active:after{display:none}
.menu-navigation .menu-search{grid-column:3;grid-row:1;justify-self:end}
.menu-search>summary{background:#f7e9ee;border:1px solid #e2c6d0}
.delivery-art-note{font-size:12px;line-height:1.7;color:var(--muted);margin:14px 0 18px;max-width:52ch}
@media(max-width:600px){
 .shared-brand:not(.functional){height:70svh;min-height:480px;max-height:600px}
 .shared-brand:not(.functional) .layer-center{inset:104px 14px 40px}
 .paper-menu{padding-top:22px}
 .menu-heading{gap:12px;margin-bottom:14px;padding-bottom:12px;align-items:center}
 .menu-heading h2.script{font-size:clamp(20px,5.4vw,24px);line-height:1.35}
 .menu-navigation{gap:8px}
 .menu-heading .cats{gap:3px;padding:3px}
 .menu-heading .cats button{font-size:13px;padding-inline:8px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){.menu-heading .cats button{transition:none}}

/* Trim verified transparent layout margins while retaining original product pixel scale. */
#retail-grid>.product-card>a{position:relative;aspect-ratio:10/7;overflow:hidden}
#retail-grid>.product-card>a:has(.drink-visual){aspect-ratio:10/9}
#retail-grid>.product-card>a>.visual{position:absolute;inset:auto 0 auto 0;top:50%;width:100%;height:auto;aspect-ratio:1;transform:translateY(-50%)}
