/* Brew Lab r6 visual layer. Original ordering, Square and notification styles remain intact. */
:root{--brew-olive:#34452F;--brew-sage:#A3B58E;--brew-cream:#FFFAF0;--brew-pink:#F5B4CE;--brew-page-bg:#FFFAF0;--brew-round:24px}
body{background:#eef0e8;color:#34452F}.app-shell{background:var(--brew-page-bg);box-shadow:0 5px 75px #283b2817}
.app-topbar{height:76px;background:var(--brew-header-bg,#FFFAF0);color:var(--brew-header-text,#34452F);background-image:var(--brew-header-image,none);background-size:cover;background-position:center;border-color:#34452F14}
.app-topbar .identity{color:inherit}.app-topbar .identity strong{font-size:20px;letter-spacing:-.045em}
.identity-icon{border-radius:13px;background:#fffdf7d8}.app-topbar .notification-bell{background:var(--brew-bell-bg,#FFFDF6)!important;color:var(--brew-bell-color,#34452F)!important;border-color:currentColor}
.app-topbar .service-chip,.app-topbar .service-chip.open,.app-topbar .service-chip.closed,.app-topbar .service-chip.break{background:var(--brew-status-bg,#FFFDF4)!important;color:var(--brew-status-text,#34452F)!important;border-color:currentColor}
.app-page{background:var(--brew-page-bg);background-image:var(--brew-page-image,none);background-size:cover;background-position:center;padding-bottom:40px}
.app-page .page-intro{margin:-19px -15px 21px;padding:28px 23px 16px;background:var(--page-header-bg,var(--brew-cream));color:var(--page-header-text,#34452F);background-image:var(--page-header-image,none);background-size:cover;background-position:center;border-radius:0 0 25px 25px}
.page-intro h1{font-size:clamp(30px,7vw,46px);font-weight:850;line-height:1.09;letter-spacing:-.06em;color:inherit}
.page-intro h1 em{font-family:Georgia,'Times New Roman',serif;font-weight:500;color:inherit}.page-intro .eyebrow{color:inherit;opacity:.72}.page-intro p{color:inherit;opacity:.72}
.hero{isolation:isolate;min-height:335px!important;background:var(--hero-bg,var(--brew-olive))!important;border-radius:var(--brew-round)!important;box-shadow:0 14px 30px #2b40272c}
.hero::after,.hero-glow{display:none!important}
#homePage .hero{padding:32px 23px 26px;position:relative;overflow:hidden}
#homePage .hero .eyebrow{color:#dce9d6;position:relative;z-index:2}
#homePage .hero h1{font-size:clamp(29px,6.4vw,48px);line-height:1.07;letter-spacing:-.05em;max-width:66%;font-weight:900;position:relative;z-index:2;margin:14px 0}
#homePage .hero h1 em{font-family:Georgia,serif;font-size:.99em;font-weight:500;font-style:italic;color:#FFF9E8}
#homePage .hero p:not(.customer-home-greeting){max-width:59%;font-size:13px;line-height:1.55;color:#e9f0df;position:relative;z-index:2}
#homePage .hero .hero-action{background:#FFFAF0;color:#34452F;border:0;border-radius:13px;font-weight:850;font-size:12px;min-height:46px;display:inline-flex;gap:8px;align-items:center;padding:12px 18px;position:relative;z-index:2}
#homePage .hero-mark{filter:none;opacity:1;width:40%;height:100%;right:0;bottom:0;object-fit:cover;object-position:center;border-radius:0 var(--brew-round) var(--brew-round) 0;z-index:0;pointer-events:none}
#homePage .hero::before{content:"";position:absolute;z-index:1;top:0;bottom:0;right:25%;width:23%;background:linear-gradient(90deg,var(--hero-bg,#34452F),transparent);pointer-events:none}
#homePage .hero:has(.hero-mark[src$="logo.png"]) .hero-mark{object-fit:contain;opacity:.23;padding:12px}
.customer-home-greeting{color:#e4efdd;z-index:3;position:relative}
.intro-note{border:none;border-radius:17px;margin-top:16px;background:#f0f0e7}.intro-sparkle{font-size:20px}.intro-note strong{color:#34452F}
.section-heading{margin-top:32px}.section-heading h2{color:var(--brew-olive);font-size:clamp(22px,5.5vw,29px);letter-spacing:-.05em}
.feature-card,.product-card{border-radius:var(--brew-round);border-color:#34452F19;box-shadow:0 7px 17px #253d2b10}
.feature-card{flex:0 0 min(78%,350px)}.feature-img{height:205px}.feature-body{padding:17px}.feature-body h3{font-size:17px}.feature-body p{font-size:12px}
.home-promo-banner{background:var(--promo-bg,#E8D9BF);margin-top:33px;min-height:207px;border-radius:var(--brew-round);display:grid;grid-template-columns:58% 42%;overflow:hidden;color:#34452F;box-shadow:0 8px 20px #34452F12}
.home-promo-content{position:relative;z-index:2;padding:23px 12px 23px 21px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.home-promo-content .eyebrow{font-size:9px;line-height:1.3;letter-spacing:.1em;color:#617664}
.home-promo-content h2{font-size:clamp(21px,5vw,30px);line-height:1.08;letter-spacing:-.048em;margin:8px 0 7px;max-width:270px}
.home-promo-content p{font-size:11px;line-height:1.45;color:#63715d;margin:0 0 12px}
.home-promo-button{border:0;border-radius:10px;background:var(--brew-olive);color:#FFFAF0;font-size:11px;min-height:42px;padding:10px 15px;font-weight:800}
.home-promo-visual{min-width:0;min-height:100%;overflow:hidden}.home-promo-visual img{width:100%;height:100%;object-fit:cover}
.home-promo-visual:has(img[src$="logo.png"]) img{object-fit:contain;padding:18px;opacity:.58}
.category-tile{border-radius:20px;background:#FFFEF9}.category-tile strong{color:var(--brew-olive)}
.filter-chip.active{background:var(--brew-olive);border-color:var(--brew-olive)}
#menuPage .product-grid{grid-template-columns:1fr;gap:15px}
#menuPage .product-card{display:grid;grid-template-columns:minmax(115px,39%) minmax(0,1fr);min-height:194px;overflow:hidden}
#menuPage .product-photo{height:100%;min-height:194px;aspect-ratio:auto}
#menuPage .product-photo img{width:100%;height:100%;object-fit:cover}
#menuPage .product-body{padding:15px 13px;display:flex;flex-direction:column;justify-content:center;min-width:0}
#menuPage .product-body h3{font-size:18px;line-height:1.15;letter-spacing:-.035em;margin:7px 0}
#menuPage .product-description{font-size:11px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#6f7c6c}
#menuPage .product-type{font-size:9px;letter-spacing:.1em}
#menuPage .product-footer{margin-top:auto;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
#menuPage .product-footer strong{font-size:15px;color:var(--brew-olive)}
#menuPage .product-footer .customize-btn{font-size:11px;background:var(--brew-olive);color:#FFFAF0;border-radius:10px;min-height:40px;padding:10px 12px;margin-left:auto}
#menuPage .product-card:has(img[src$="logo.png"]) .product-photo img{object-fit:contain;padding:17px;background:#f0f1e6}
.reward-summary{border:0;border-radius:28px;background:var(--brew-olive);box-shadow:0 12px 30px #20392327;padding:23px 20px 24px}
.reward-summary::after{display:none}.reward-summary h2{font-size:24px}.reward-summary p{font-size:12px}
.reward-beaker-scene{display:flex;gap:8px;align-items:center;justify-content:center;margin:14px auto 1px;max-width:460px;min-height:222px}
.reward-beaker-art{width:57%;max-width:205px;min-width:133px;overflow:visible;filter:drop-shadow(0 8px 7px #142f1d38)}
#rewardBeakerLiquid{transform-origin:center bottom;transition:transform .85s cubic-bezier(.15,.8,.25,1)}
.reward-beaker-progress{flex:1;min-width:95px;display:flex;flex-direction:column;gap:4px}
.reward-beaker-progress strong{font-size:clamp(37px,8vw,66px);line-height:1;letter-spacing:-.07em;color:#FFFAF0}.reward-beaker-progress strong span{font-size:.46em;color:#bdcfb9;font-weight:500;letter-spacing:0}
.reward-beaker-progress>span{font-size:11px;color:#dbe7d5}
.reward-stamp-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin:10px 0 18px}
.reward-stamp{aspect-ratio:1;border-radius:100%;font-size:10px;max-width:37px}.reward-stamp.earned{background:#f6e6bc;color:#34452F}
.reward-summary .outline-button{border-radius:12px;min-height:46px}
/* In-app Orders: read-only views, secured through Supabase SQL */
.orders-view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:#e9eee3;border-radius:16px;margin-bottom:13px}
.orders-view-tab{border:0;border-radius:12px;min-height:43px;background:transparent;font-size:12px;font-weight:800;color:#6d7d6b}
.orders-view-tab.active{background:#fffdf7;color:var(--brew-olive);box-shadow:0 2px 9px #1837221e}
.orders-inline-status{font-size:12px;color:#637662;line-height:1.5;margin:12px 2px}
.orders-dashboard-list{display:grid;gap:15px}.order-dashboard-card{background:#fffdf9;border:1px solid #34452F1b;border-radius:var(--brew-round);padding:18px;box-shadow:0 8px 18px #2f43280d}
.order-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.order-card-top strong{font-size:17px;color:var(--brew-olive)}
.order-card-status{border-radius:999px;padding:8px 11px;background:#e9eee0;color:#34523a;font-size:10px;font-weight:850}
.order-card-status.ready{background:#e0efd8}.order-card-status.declined{background:#f8e8e2;color:#9c4837}
.order-card-date{font-size:11px;color:#7a8979;margin:9px 0 16px}
.order-timeline{display:flex;align-items:flex-start;justify-content:space-between;gap:2px;margin:17px 0 9px}
.order-stage{flex:1;display:flex;align-items:center;flex-direction:column;gap:7px;color:#93a290;font-size:9px;text-align:center}
.order-stage>span:first-child{height:29px;width:29px;display:grid;place-items:center;border-radius:50%;border:2px solid #e5eae0;background:#fffefa;font-size:12px}
.order-stage.done{color:#3e6142;font-weight:750}.order-stage.done>span:first-child{background:#34452F;color:white;border-color:#34452F}
.order-detail-list{background:#f4f5ed;padding:12px;border-radius:14px;color:#61725f;font-size:11px}.order-detail-line{display:flex;align-items:center;justify-content:space-between;gap:10px;line-height:1.5;margin:5px 0}
.order-card-foot{border-top:1px solid #e7eadf;margin-top:14px;padding-top:13px;display:flex;justify-content:space-between;gap:7px;align-items:center;font-size:11px;color:#718370}
.order-card-foot strong{font-size:14px;color:#34452F}.order-card-foot a{color:#34452F;text-decoration:underline;font-weight:850}
.order-empty-card{background:#fffefa;border:1px dashed #afc3ae;border-radius:18px;padding:22px 15px;text-align:center;color:#6a7e68;font-size:12px;line-height:1.6}
.orders-bottom-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.orders-bottom-actions button{min-height:47px;white-space:normal;font-size:11px;padding:11px}
.orders-privacy-note{font-size:11px;color:#889487;line-height:1.6;margin:18px 0}
/* Raised center button: both beaker and Rewards label INSIDE the large olive dome */
.bottom-tabs.modern-tabs{grid-template-columns:repeat(5,minmax(0,1fr));height:76px;padding-bottom:env(safe-area-inset-bottom);background:#fffaf0f2;border-top:1px solid #34452F24;overflow:visible;box-shadow:0 -6px 22px #2d3d2914;backdrop-filter:blur(18px)}
.bottom-tabs.modern-tabs .tab{color:#788875;min-width:0;font-size:10px;font-weight:750;justify-content:center;gap:4px;position:relative;padding:5px 0}
.bottom-tabs.modern-tabs .tab .nav-icon{display:grid;place-items:center;width:24px;height:24px;color:inherit}
.bottom-tabs.modern-tabs .tab .nav-icon svg{width:22px;height:22px}
.bottom-tabs.modern-tabs .tab.active:not(.rewards-nav-tab){color:var(--brew-olive)}
.bottom-tabs.modern-tabs .rewards-nav-tab{overflow:visible;align-self:stretch;padding:0;z-index:2}
.bottom-tabs.modern-tabs .rewards-nav-bubble{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);height:clamp(94px,23vw,110px);width:clamp(94px,23vw,110px);border-radius:50%;background:var(--brew-olive);color:#FFFAF0;border:4px solid var(--brew-cream);box-shadow:0 8px 19px #20382245;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;transition:box-shadow .15s}
.bottom-tabs.modern-tabs .rewards-nav-beaker{width:42px;height:48px;display:block;flex:none}
.bottom-tabs.modern-tabs .rewards-nav-bubble>span{color:#FFFAF0;font-size:11px;font-weight:850;line-height:1.15}
.bottom-tabs.modern-tabs .rewards-nav-tab.active .rewards-nav-bubble{box-shadow:0 0 0 3px var(--brew-sage),0 9px 19px #20382255}
.bottom-tabs.modern-tabs .rewards-nav-tab:focus-visible .rewards-nav-bubble{outline:3px solid #c1dbc0;outline-offset:4px}
.cart-float{bottom:calc(80px + env(safe-area-inset-bottom))}.site-footer{padding-bottom:calc(105px + env(safe-area-inset-bottom))}
@media(max-width:580px){.app-topbar{height:69px;padding:0 14px}.app-page{padding:16px 15px 43px}.app-page .page-intro{margin-top:-16px}.identity strong{font-size:18px}.identity small{font-size:8px}
#homePage .hero{min-height:360px!important;padding:28px 18px}#homePage .hero h1{max-width:70%;font-size:clamp(28px,7.7vw,38px)}#homePage .hero p:not(.customer-home-greeting){max-width:60%;font-size:11px}#homePage .hero-mark{width:42%}
.bottom-tabs.modern-tabs{height:72px}.bottom-tabs.modern-tabs .rewards-nav-bubble{bottom:6px}
}
@media(max-width:380px){.home-promo-banner{grid-template-columns:61% 39%}.home-promo-content{padding:17px 12px}.home-promo-content h2{font-size:22px}#menuPage .product-card{grid-template-columns:38% 62%}#menuPage .product-body{padding:12px 10px}#menuPage .product-body h3{font-size:15px}#menuPage .product-footer .customize-btn{font-size:10px;min-height:36px;padding:8px}#homePage .hero h1{font-size:30px}.bottom-tabs.modern-tabs .rewards-nav-bubble{height:89px;width:89px}.bottom-tabs.modern-tabs .rewards-nav-beaker{height:40px;width:40px}.bottom-tabs.modern-tabs .rewards-nav-bubble>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){#rewardBeakerLiquid{transition:none}}

/* Before the live menu returns a real featured image, keep the brand watermark subtle. */
#homePage .hero:has(.hero-mark[src$="logo.png"]) .hero-mark{width:33%;height:55%;right:8px;bottom:10px;object-fit:contain;opacity:.11;padding:12px;border-radius:0}

/* r6 Home Refinement: clean specialty-coffee editorial layout; preserve all existing actions. */
:root{--brew-round:22px}
.app-topbar{background-color:var(--brew-header-bg,#34452F);color:var(--brew-header-text,#FFFAF0);background-image:var(--brew-header-image,none);border-color:transparent}
.app-topbar .identity{color:inherit}.app-topbar .identity strong{color:inherit}.app-topbar .identity small{color:inherit;opacity:.8}
.app-topbar .identity-icon{background:#fffdf2;border:1px solid #fff6e345}
.app-topbar .notification-bell{background:#FFFAF017;color:#FFFAF0;border-color:#fff9e851}
.app-topbar .service-chip{color:#FFFAF0;background:#FFFAF01c}
#homePage .hero{background:var(--hero-bg,#F1E7D7)!important;color:var(--banner-text,#34452F);min-height:344px!important;box-shadow:0 8px 24px #253b2b12}
#homePage .hero::before{background:linear-gradient(90deg,var(--hero-bg,#F1E7D7) 0%,transparent 100%);right:28%;width:23%}
#homePage .hero .eyebrow{color:var(--banner-text,#34452F);opacity:.65}
#homePage .hero h1{color:var(--banner-text,#34452F);max-width:67%;font-size:clamp(30px,7.3vw,42px);font-weight:850}
#homePage .hero h1 em{color:inherit;font-weight:500;font-family:Georgia,serif}
#homePage .hero p:not(.customer-home-greeting){color:var(--banner-text,#34452F);opacity:.8}
#homePage .hero .hero-action{color:var(--banner-button-text,#FFFAF0);background:var(--banner-button-bg,#34452F);min-height:46px;border-radius:999px;font-size:13px}
#homePage .hero-mark{right:0;width:44%;background-color:#DDCFB8;object-position:center center}
#homePage .hero:has(.hero-mark[src$="logo.png"]) .hero-mark{opacity:.3;object-fit:contain;width:40%;height:78%;right:0;bottom:10%;background:transparent;padding:22px}
.customer-home-greeting{color:var(--banner-text,#34452F)}
#homePage .hero .customer-home-greeting{color:var(--banner-text,#34452F)}
.intro-note{margin-top:14px;padding:14px 16px;border-radius:18px;background:#F1F0E6;color:#34452F;box-shadow:none}
.intro-note .intro-sparkle{font-size:22px}
.intro-note strong{font-size:13px}.intro-note p{font-size:11px;color:#66715F}
#homePage .section-heading{margin-top:27px;margin-bottom:13px}
#homePage .section-heading .eyebrow{color:#677865}
#homePage .feature-card{flex-basis:min(74%,290px);background:var(--page-card-bg,#FFFFFF);box-shadow:0 6px 18px #34452F12}
#homePage .feature-img{height:175px;background:#E9E2D5}
#homePage .feature-body{padding:14px 15px}.feature-body h3{color:#34452F;font-size:17px}
#homePage .feature-body .customize-btn{color:#FFFAF0;background:var(--page-button-bg,#34452F)}
.home-promo-banner{color:var(--banner-text,#34452F);border:1px solid #34452F0c}
.home-promo-content .eyebrow,.home-promo-content p{color:var(--banner-text,#34452F);opacity:.7}
.home-promo-content h2{color:var(--banner-text,#34452F);font-size:clamp(20px,5vw,29px)}
.home-promo-button{color:var(--banner-button-text,#FFFAF0);background:var(--banner-button-bg,#34452F);border-radius:999px;font-size:12px}
.home-rewards-strip{width:100%;border:1px solid #34452F1f;background:var(--page-card-bg,#FFFFFF);display:flex;align-items:center;text-align:left;gap:14px;border-radius:20px;padding:15px 16px;margin:24px 0 1px;box-shadow:0 7px 20px #34452F10;color:var(--home-rewards-title-color,#34452F);cursor:pointer;min-height:98px}
.home-rewards-strip-icon{height:59px;width:59px;flex:none;background:#E7EBD8;border-radius:16px;display:grid;place-items:center;color:#34452F}
.home-rewards-strip-icon svg{height:46px;width:46px}
.home-rewards-strip-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}
.home-rewards-strip-copy strong{font-size:19px;letter-spacing:-.035em}
.home-rewards-strip-copy small{font-size:11px;line-height:1.45;color:#6A7867}
.home-rewards-progress{height:8px;width:100%;max-width:210px;border-radius:999px;overflow:hidden;background:#E3E7DD;display:block}
.home-rewards-progress>span{display:block;height:100%;width:0%;border-radius:999px;background:#8CA46E;transition:width .5s ease}
.home-rewards-strip-arrow{font-size:24px;font-weight:500;color:#34452F}
.home-rewards-strip:focus-visible{outline:3px solid var(--brew-sage);outline-offset:2px}
#homePage .category-tile{background:var(--page-card-bg,#FFFFFF)}
.app-page .page-intro h1{color:inherit}
.app-page .page-intro h1 em{color:inherit}
#menuPage .product-card,.order-dashboard-card,.reward-history-item{background:var(--page-card-bg,#FFFFFF)}
#menuPage .customize-btn,#menuPage .product-footer .customize-btn{background:var(--page-button-bg,#34452F);color:var(--page-button-text,#FFFAF0)}
#menuPage .page-intro,#ordersPage .page-intro,#rewardsPage .page-intro,#accountPage .page-intro{border-bottom:1px solid #34452F10}
@media(max-width:380px){#homePage .hero{min-height:356px!important}#homePage .hero h1{font-size:29px;max-width:68%}#homePage .hero-mark{width:42%}.home-rewards-strip{padding:12px;gap:10px}.home-rewards-strip-icon{height:51px;width:51px}.home-rewards-strip-copy strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){.home-rewards-progress>span{transition:none}}

/* Keep the hero headline fully clear of the photograph on narrow iPhone widths. */
#homePage .hero h1{font-size:clamp(23px,5.7vw,32px);max-width:55%;line-height:1.13;overflow-wrap:normal;word-break:normal}
#homePage .hero h1 em{display:inline;white-space:normal}
#homePage .hero p:not(.customer-home-greeting){max-width:51%}
#homePage .hero::before{right:32%;width:25%}
@media(max-width:430px){#homePage .hero h1{font-size:clamp(23px,6.35vw,29px);max-width:57%}#homePage .hero-mark{width:43%}}
@media(max-width:360px){#homePage .hero h1{font-size:22px;max-width:58%}#homePage .hero p:not(.customer-home-greeting){max-width:53%;font-size:10px}}

/* r6 header refinement: a slightly taller top header, adjustable from App Studio. */
#studioAppHeader.app-topbar{height:var(--brew-header-height,104px);min-height:var(--brew-header-height,104px)}
#studioAppHeader .identity{min-width:0;flex:0 1 auto}
#studioAppHeader .identity>span:last-child{min-width:0}
#studioAppHeader #studioBrandName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:225px}
#studioHomeHeaderDescription{color:inherit;opacity:.85;font-size:9px;letter-spacing:.005em;font-weight:500;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#studioHomeHeaderDescription[hidden]{display:none!important}
@media(max-width:580px){
 #studioAppHeader.app-topbar{height:var(--brew-header-height,104px);min-height:var(--brew-header-height,104px)}
 #studioAppHeader #studioBrandName{max-width:145px}
 #studioHomeHeaderDescription{max-width:150px}
}
@media(max-width:365px){#studioAppHeader #studioBrandName{max-width:125px}#studioHomeHeaderDescription{max-width:125px}}

/* 2026-11-03: Slightly roomier top bar; design override still takes precedence. */
#studioAppHeader.app-topbar{box-sizing:border-box;padding-top:10px;padding-bottom:10px}
@media(max-width:580px){#studioAppHeader.app-topbar{padding-top:12px;padding-bottom:12px}}


/* r6 Home: three independent banner compositions, with an always-working CTA. */
#homePage .hero{padding:0!important;display:block;min-height:335px!important;background:var(--hero-bg,#F1E7D7)!important;color:var(--banner-text,#34452F)}
#homePage .hero .home-hero-content{position:relative;z-index:3;min-height:335px;width:58%;padding:31px 13px 25px 22px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:var(--banner-left-bg,var(--hero-bg,#F1E7D7));color:var(--banner-text,#34452F)}
#homePage .hero .home-hero-content .eyebrow,#homePage .hero .home-hero-content h1,#homePage .hero .home-hero-content h1 em,#homePage .hero .home-hero-content p{color:inherit}
#homePage .hero .home-hero-content h1{max-width:100%;font-size:clamp(22px,5.6vw,33px);line-height:1.12;margin:13px 0 12px}
#homePage .hero .home-hero-content p:not(.customer-home-greeting){max-width:100%;font-size:12px}
#homePage .hero .home-hero-content .hero-action{background:var(--banner-button-bg,#34452F);color:var(--banner-button-text,#FFFAF0);margin-top:10px;box-shadow:0 5px 15px #11251917}
#homePage .hero::before{display:none!important}
#homePage .hero .home-hero-visual{position:absolute;right:0;top:0;width:42%;height:100%;z-index:1;background:var(--banner-right-bg,#E8D9BF)}
#homePage .hero .home-hero-visual .hero-mark{position:absolute;inset:0!important;width:100%!important;height:100%!important;object-fit:cover;object-position:var(--banner-right-position,center);border-radius:0!important;opacity:1!important;padding:0!important;filter:none}
#homePage .hero[data-banner-layout="split-image"] .home-hero-content{background-image:var(--banner-left-image,none);background-size:cover;background-position:var(--banner-left-position,center);justify-content:flex-end}
#homePage .hero[data-banner-layout="split-image"] .home-hero-content>.eyebrow,#homePage .hero[data-banner-layout="split-image"] .home-hero-content>h1,#homePage .hero[data-banner-layout="split-image"] .home-hero-content>p:not(.customer-home-greeting){display:none!important}
#homePage .hero[data-banner-layout="split-image"] .home-hero-content .hero-action{box-shadow:0 4px 16px #17271880}
#homePage .hero[data-banner-layout="full"] .home-hero-visual{inset:0;width:100%;height:100%}
#homePage .hero[data-banner-layout="full"] .home-hero-visual .hero-mark{object-position:var(--banner-full-position,center)}
#homePage .hero[data-banner-layout="full"] .home-hero-content{position:absolute;inset:0;width:100%;height:100%;min-height:0;padding:25px;justify-content:flex-end;align-items:flex-start;background:transparent;pointer-events:none}
#homePage .hero[data-banner-layout="full"] .home-hero-content>.eyebrow,#homePage .hero[data-banner-layout="full"] .home-hero-content>h1,#homePage .hero[data-banner-layout="full"] .home-hero-content>p:not(.customer-home-greeting){display:none!important}
#homePage .hero[data-banner-layout="full"] .home-hero-content .hero-action{pointer-events:auto;box-shadow:0 6px 22px #101c1d60}
#homePage .hero[data-banner-layout="full"]::after{content:""!important;position:absolute;inset:60% 0 0!important;width:auto;height:auto;border:0;border-radius:0;background:linear-gradient(0deg,#111e1275,transparent);z-index:2;display:block!important;pointer-events:none}
.home-promo-banner{grid-template-columns:58% 42%;background:var(--promo-bg,#E8D9BF)}
.home-promo-banner .home-promo-content{background-color:var(--banner-left-bg,var(--promo-bg,#E8D9BF));color:var(--banner-text,#34452F)}
.home-promo-banner .home-promo-content .eyebrow,.home-promo-banner .home-promo-content h2,.home-promo-banner .home-promo-content p{color:inherit}
.home-promo-banner .home-promo-button{background:var(--banner-button-bg,#34452F);color:var(--banner-button-text,#FFFAF0)}
.home-promo-banner .home-promo-visual{background:var(--banner-right-bg,#E8D9BF);position:relative}
.home-promo-banner .home-promo-visual img{object-position:var(--banner-right-position,center)}
.home-promo-banner[data-banner-layout="split-image"] .home-promo-content{background-image:var(--banner-left-image,none);background-size:cover;background-position:var(--banner-left-position,center);justify-content:flex-end}
.home-promo-banner[data-banner-layout="split-image"] .home-promo-content>.eyebrow,.home-promo-banner[data-banner-layout="split-image"] .home-promo-content>h2,.home-promo-banner[data-banner-layout="split-image"] .home-promo-content>p{display:none!important}
.home-promo-banner[data-banner-layout="split-image"] .home-promo-button{box-shadow:0 4px 16px #17271880}
.home-promo-banner[data-banner-layout="full"]{position:relative;display:block}
.home-promo-banner[data-banner-layout="full"] .home-promo-visual{position:absolute;inset:0;z-index:1}
.home-promo-banner[data-banner-layout="full"] .home-promo-visual img{object-position:var(--banner-full-position,center)}
.home-promo-banner[data-banner-layout="full"] .home-promo-content{position:absolute;inset:0;z-index:3;background:transparent;pointer-events:none;justify-content:flex-end;align-items:flex-start;padding:18px}
.home-promo-banner[data-banner-layout="full"] .home-promo-content>.eyebrow,.home-promo-banner[data-banner-layout="full"] .home-promo-content>h2,.home-promo-banner[data-banner-layout="full"] .home-promo-content>p{display:none!important}
.home-promo-banner[data-banner-layout="full"] .home-promo-button{pointer-events:auto;box-shadow:0 4px 16px #17271880}
.home-promo-banner[data-banner-layout="full"]::after{content:"";position:absolute;inset:54% 0 0;z-index:2;background:linear-gradient(0deg,#101f136e,transparent);pointer-events:none}
/* r6 Menu cards: left photo 70%, right details 30%.
   Names stay on the right and wrap at word boundaries (e.g. The / Biscoff / Reaction).
   Price and Customize remain reachable at the bottom of the right-hand rail. */
#menuPage .product-card{grid-template-columns:minmax(0,70%) minmax(0,30%);min-height:218px}
#menuPage .product-photo{min-height:218px;overflow:hidden;aspect-ratio:auto}
#menuPage .product-photo img{width:100%;height:100%;object-fit:cover}
#menuPage .product-body{padding:12px 8px 10px;justify-content:flex-start;min-width:0;overflow:hidden}
#menuPage .product-body h3{font-size:clamp(15px,4.4vw,19px);line-height:1.13;margin:6px 0;white-space:pre-line;word-break:normal;overflow-wrap:break-word;hyphens:none}
#menuPage .product-description{flex:0 0 auto;font-size:10px;line-height:1.35;-webkit-line-clamp:3;margin:0 0 8px}
#menuPage .product-footer{margin-top:auto;display:flex;flex-direction:column;align-items:stretch;gap:7px;flex-wrap:nowrap;min-width:0}
#menuPage .product-footer strong{font-size:15px;line-height:1.15}
#menuPage .product-footer .customize-btn{width:100%;min-width:0;min-height:43px;padding:6px 4px;margin:0;font-size:clamp(9px,2.7vw,11px);line-height:1.15;white-space:normal;text-align:center}
@media(max-width:360px){#menuPage .product-card{grid-template-columns:minmax(0,70%) minmax(0,30%)}#menuPage .product-body{padding:10px 6px}#menuPage .product-body h3{font-size:14px}#menuPage .product-description{font-size:9.5px}#menuPage .product-footer .customize-btn{font-size:9px;min-height:44px;padding:6px 2px}}
/* Home featured images have their own stacked-card layout. Prevent any
   per-photo zoom/crop settings from painting over the title and CTA below. */
#homePage .feature-img{position:relative;overflow:hidden;isolation:isolate}
#homePage .feature-img img{display:block;width:100%;height:100%;object-fit:cover;max-width:100%}

/* r6 Menu height correction (2026-11-04): visual comparison shows earlier
   218px was a minimum, not the actual rendered card height. A 176px fixed
   height overshot the reduction. Use a balanced 260px, preserving 70/30 layout
   and full wrapped titles, price, and a full-size Customize control. */
#menuPage .product-card{height:260px;min-height:260px;grid-template-columns:minmax(0,70%) minmax(0,30%);align-items:stretch}
#menuPage .product-photo{height:260px;min-height:260px;overflow:hidden}
#menuPage .product-body{height:260px;min-height:0;padding:12px 8px 12px;justify-content:flex-start;gap:0;overflow:hidden}
#menuPage .product-type{font-size:9px;line-height:1.18;letter-spacing:.055em}
#menuPage .product-body h3{font-size:clamp(13px,3.85vw,17px);line-height:1.12;letter-spacing:-.045em;margin:8px 0 7px;white-space:pre-line;word-break:normal;overflow-wrap:break-word;hyphens:none}
#menuPage .product-description{font-size:10px;line-height:1.25;-webkit-line-clamp:3;max-height:39px;overflow:hidden;margin:1px 0 6px}
#menuPage .product-footer{margin-top:auto;gap:9px;display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap}
#menuPage .product-footer strong{font-size:15px;line-height:1.1}
#menuPage .product-footer .customize-btn{width:100%;min-width:0;min-height:44px;padding:7px 2px;font-size:clamp(9px,2.7vw,11px);line-height:1.1;white-space:normal}
@media(max-width:360px){#menuPage .product-card,#menuPage .product-photo,#menuPage .product-body{height:260px;min-height:260px}#menuPage .product-body{padding:10px 6px 10px}#menuPage .product-body h3{font-size:13px;line-height:1.1}#menuPage .product-description{font-size:9.5px;max-height:36px}#menuPage .product-footer .customize-btn{min-height:43px;font-size:9px}}


/* r6 header text-fit correction: use the available space rather than a 145px
   mobile hard-cap that can clip the last glyph of short brand names. Preserve
   ellipsis for genuinely long custom titles without overlapping the controls. */
#studioAppHeader .identity{flex:1 1 auto;min-width:0;width:0}
#studioAppHeader .identity-icon{flex-shrink:0}
#studioAppHeader .identity>span:last-child{min-width:0;flex:1 1 auto}
#studioAppHeader #studioBrandName{display:block;box-sizing:border-box;width:max-content;max-width:100%;padding-inline-end:.18em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:580px){#studioAppHeader #studioBrandName{max-width:100%}}
@media(max-width:365px){#studioAppHeader #studioBrandName{max-width:100%}}

/* r6 selected-button-only accent: never paint a header rail, section title,
   Rewards Lab title, item-type label or unselected navigation with accent. */
#homePage .section-heading:not(.second) h2{color:var(--home-featured-title-color,#34452F)}
#homePage .section-heading.second h2{color:var(--home-cravings-title-color,#34452F)}
#homePage .home-rewards-strip-copy strong{color:var(--home-rewards-title-color,#34452F)}
/* Keep muted descriptive labels and Rewards progress separate from accent. */
#menuPage .product-type{color:#677865}
#menuPage .filter-chip.active{background:var(--page-accent,#34452F);border-color:var(--page-accent,#34452F);color:var(--page-accent-ink,#FFFFFF)}
#ordersPage .orders-view-tab.active{background:var(--page-accent,#34452F);color:var(--page-accent-ink,#FFFFFF)}
/* Selected tab gets a colored icon pill. Text remains readable olive. */
.bottom-tabs.modern-tabs .tab.active:not(.rewards-nav-tab){color:var(--brew-olive,#34452F)}
.bottom-tabs.modern-tabs .tab.active:not(.rewards-nav-tab) .nav-icon{background:var(--brew-current-accent,#34452F);color:var(--brew-current-accent-ink,#FFFFFF);border-radius:999px;width:30px;height:30px}
/* Rewards is a special central button; only its selected ring uses accent. */
.bottom-tabs.modern-tabs .rewards-nav-tab.active .rewards-nav-bubble{box-shadow:0 0 0 3px var(--brew-current-accent,#34452F),0 9px 19px #20382255}
