.drink-control { position:relative; text-align:center; }
.drink-button { display:block; cursor:pointer; touch-action:manipulation; }
.drink-vector { display:block; width:clamp(210px,31vw,298px); height:auto; }
.drink-button:active { transform:translateY(3px) scale(.94,.9); filter:drop-shadow(0 5px 9px rgba(125,90,10,.15)); }
.drink-details { position:absolute; top:calc(100% + 28px); left:50%; width:min(320px,85vw); transform:translate(-50%,8px); opacity:0; visibility:hidden; transition:opacity .18s ease,transform .18s ease; color:#4b3a12; font-family:system-ui,sans-serif; pointer-events:none; }
.is-revealed .drink-details { opacity:1; visibility:visible; transform:translate(-50%,0); }
#drink-price { display:block; font-size:30px; font-weight:750; letter-spacing:-1px; }
.drink-hint { display:block; font-size:13px; margin-top:6px; line-height:1.5; }
@media(prefers-reduced-motion:reduce){ .drink-details{transition:none;} .drink-button:active{transform:none;} }
@media(max-height:480px){.drink-vector{width:160px;} .drink-details{top:calc(100% + 12px);} #drink-price{font-size:23px;} }
.drink-social-footer { position:fixed; z-index:2; bottom:0; left:0; right:0; padding:18px 20px max(22px,env(safe-area-inset-bottom)); background:linear-gradient(transparent,#fffaf0 35%); }
.drink-social-footer nav { display:flex; justify-content:center; gap:8px 20px; max-width:760px; margin:0 auto; }
.drink-social-footer a { display:flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:0 6px; color:#685936; text-decoration:none; font:500 12px/1.3 system-ui,sans-serif; border-radius:12px; transition:background .18s,color .18s,transform .18s; }
.drink-social-footer svg { width:17px; height:17px; flex-shrink:0; fill:currentColor; }
.drink-social-footer a:hover { color:#251e0d; background:#fff0b5; transform:translateY(-2px); }
.drink-social-footer a:focus-visible { outline:2px solid #685936; outline-offset:3px; }
body.home .drink-stage { padding-bottom:130px; }
@media(max-width:540px){ .drink-social-footer {padding:12px 18px max(16px,env(safe-area-inset-bottom));} .drink-social-footer nav {display:grid;grid-template-columns:repeat(3,1fr);gap:2px 8px;max-width:360px;} body.home .drink-stage {padding-bottom:160px;} }
@media(max-height:550px){ .drink-vector{width:140px;} .drink-details {top:calc(100% + 8px);} #drink-price{font-size:23px;} body.home .drink-stage{padding-top:12px;padding-bottom:130px;} }
@media(prefers-reduced-motion:reduce){.drink-social-footer a{transition:none;} .drink-social-footer a:hover{transform:none;} }
.drink-checkout,.drink-privacy { box-sizing:border-box; width:min(460px,calc(100% - 28px)); max-height:calc(100dvh - 32px); overflow:auto; overscroll-behavior:contain; padding:38px 28px 26px; border:1px solid #eadfbf; border-radius:26px; background:#fffdf6; color:#352a12; box-shadow:0 24px 90px #352a1240; font:15px/1.6 system-ui,sans-serif; }
.drink-checkout::backdrop,.drink-privacy::backdrop {background:#30280d55;backdrop-filter:blur(5px);}
.drink-checkout [hidden],.drink-privacy [hidden] {display:none!important;}
.drink-checkout h2,.drink-privacy h2 {margin:0 0 12px;line-height:1.2;font:750 28px/1.2 system-ui,sans-serif;letter-spacing:-.6px;}
.drink-checkout p {margin:12px 0;}
.drink-close {position:absolute;right:12px;top:10px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;font:28px/1 system-ui;color:#685936;cursor:pointer;}
.drink-close:hover {background:#f5edda;}
.drink-eyebrow {font-size:10px;font-weight:750;letter-spacing:1.5px;color:#7a682f;}
.drink-checkout .drink-checkout-total {font-size:40px;font-weight:750;line-height:1.2;letter-spacing:-1.5px;margin-bottom:8px;}
.drink-test-label {display:inline-block;font-size:11px;font-weight:650;padding:4px 10px;border-radius:20px;background:#fff0af;color:#655014;}
.drink-payment-fields {margin-top:18px;}
.drink-card-label,.drink-payment-note {font-size:12px;color:#746746;}
.drink-pay,.drink-back,.drink-retry {width:100%;min-height:48px;margin-top:18px;border:0;border-radius:14px;background:#ffe637;color:#292009;font:700 15px system-ui,sans-serif;cursor:pointer;transition:transform .15s,background .15s;}
.drink-pay:hover,.drink-back:hover,.drink-retry:hover {background:#f6d921;}
.drink-pay:active,.drink-back:active {transform:scale(.98,.96);}
.drink-pay:disabled,.drink-retry:disabled {opacity:.55;cursor:wait;}
.drink-checkout-message {font-size:13px;color:#685223;}
.drink-privacy-link {display:block;min-height:44px;margin:0 auto;padding:8px 12px;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;color:#746746;font:12px system-ui,sans-serif;cursor:pointer;}
.drink-social-footer .drink-privacy-link {min-height:28px;padding:4px;}
.drink-thanks {text-align:center;padding:18px 0;}
.drink-thanks>span {display:block;font-size:52px;margin-bottom:16px;}
.drink-checkout button:focus-visible,.drink-privacy button:focus-visible,.drink-privacy-link:focus-visible {outline:2px solid #745b16;outline-offset:3px;}
@media(max-width:540px){.drink-checkout,.drink-privacy{padding:36px 20px 20px;border-radius:22px;}}
@media(prefers-reduced-motion:reduce){.drink-pay,.drink-back,.drink-retry{transition:none;}.drink-pay:active,.drink-back:active{transform:none;}}

body.home { margin:0; background:#fffaf0; color:#352a12; font-family:system-ui,sans-serif; }
body.home .wp-site-blocks { padding:0; min-height:100svh; display:flex; flex-direction:column; }
body.home .wp-site-blocks>header,body.home .wp-site-blocks>footer,body.home .wp-block-post-title {display:none!important;}
body.home .wp-site-blocks>main,body.home .entry-content {padding:0!important;margin:0!important;max-width:none!important;}
body.home .entry-content>.drink-stage {max-width:none!important;margin:0!important;}
.drink-stage {min-height:calc(100svh - 124px);display:grid;place-items:center;padding:44px 24px 30px;box-sizing:border-box;background:radial-gradient(ellipse at 50% 35%,#fff0ba 0%,#fff7e5 40%,#fffaf0 75%);}
.drink-shell {width:100%;max-width:910px;text-align:center;}
.drink-gamer {display:block;width:72px;height:72px;margin:0 auto 20px;transform:rotate(-7deg);filter:drop-shadow(0 8px 10px #70541b17);}
.drink-gamer svg {display:block;width:100%;height:100%;}
.drink-kicker {font:700 10px/1.5 system-ui,sans-serif;letter-spacing:2.5px;color:#8d784f;margin:0 0 12px;}
.drink-shell h1 {font:800 clamp(36px,5.2vw,58px)/1.07 system-ui,sans-serif;letter-spacing:-2.5px;margin:0 0 15px;}
.drink-shell h1 span {position:relative;z-index:0;white-space:nowrap;}
.drink-shell h1 span:after {content:'';position:absolute;z-index:-1;left:-4px;right:-5px;bottom:4px;height:18px;background:#ffe637;transform:rotate(-2deg);border-radius:5px;}
.drink-intro {font:400 15px/1.6 system-ui,sans-serif;color:#827354;margin:0 0 32px;}
.drink-options {display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.drink-choice {appearance:none;width:100%;border:2px solid #eddfbd;border-radius:25px;padding:22px 12px 18px;background:#fffdf7bd;cursor:pointer;color:#352a12;box-shadow:0 7px 20px #76571b06;transition:transform .18s,box-shadow .18s,border-color .18s,background .18s;touch-action:manipulation;}
.drink-choice:hover {transform:translateY(-6px);box-shadow:0 14px 27px #76571b10;border-color:#dcc786;}
.drink-choice[aria-pressed=true] {border-color:#b5942b;background:#fff5ce;box-shadow:0 7px 22px #76571b14;}
.drink-choice:active {transform:translateY(2px) scale(.97,.94);}
.drink-choice:focus-visible,.drink-continue:focus-visible {outline:3px solid #745b16;outline-offset:4px;}
.drink-art {display:block;width:100px;height:100px;margin:0 auto 15px;}
.drink-art svg {display:block;width:100%;height:100%;}
.drink-name {display:block;font:700 15px/1.4 system-ui,sans-serif;}
.drink-price {display:block;font:800 28px/1.4 system-ui,sans-serif;letter-spacing:-.8px;margin:4px 0;}
.drink-tag {display:block;font:400 10px/1.5 system-ui,sans-serif;color:#8e7c58;}
.drink-selection {margin:22px auto 0;}
.drink-selection p {font:500 12px/1.5 system-ui,sans-serif;color:#8b7750;min-height:18px;margin:0 0 10px;}
.drink-continue {border:0;border-radius:16px;min-height:50px;padding:12px 26px;background:#ffe637;color:#352a12;font:700 14px/1.4 system-ui,sans-serif;cursor:pointer;transition:transform .15s,background .15s;}
.drink-continue:hover {background:#f6d921;}
.drink-continue:active {transform:scale(.97,.95);}
.drink-continue:disabled {background:#eee5cf;color:#9e906f;cursor:default;}
.drink-contribution-note {font:400 10px/1.7 system-ui,sans-serif;color:#988665;margin:17px 0 0;}
.drink-social-footer {position:static;padding:10px 20px max(20px,env(safe-area-inset-bottom));background:#fffaf0;}
.drink-social-footer nav {gap:6px 17px;}
.drink-social-footer .drink-privacy-link {margin-top:4px;}
.drink-checkout-name {font-weight:600;color:#8d784f;}
body.admin-bar .drink-stage {min-height:calc(100svh - 156px);}
@media(max-width:640px){.drink-stage{padding:26px 18px 24px;min-height:calc(100svh - 160px);}.drink-gamer{width:58px;height:58px;margin-bottom:16px;}.drink-shell h1{letter-spacing:-1.6px;}.drink-options{grid-template-columns:repeat(2,1fr);gap:11px;max-width:420px;margin:0 auto;}.drink-intro{font-size:13px;margin-bottom:22px;}.drink-choice{padding:15px 9px 13px;border-radius:21px;}.drink-art{width:72px;height:72px;margin-bottom:8px;}.drink-name{font-size:14px;}.drink-price{font-size:23px;margin:2px 0;}.drink-tag{font-size:9px;}.drink-selection{margin-top:18px;}.drink-continue{width:min(100%,360px);}.drink-social-footer nav{display:grid;grid-template-columns:repeat(3,1fr);max-width:360px;gap:2px 8px;}.drink-contribution-note{max-width:270px;margin:14px auto 0;}}
@media(prefers-reduced-motion:reduce){.drink-choice,.drink-continue{transition:none;}.drink-choice:hover,.drink-choice:active,.drink-continue:active{transform:none;}}
body.home .wp-site-blocks>main>.wp-block-group.alignfull {margin:0!important;padding:0!important;width:auto!important;}
body.home .drink-stage {padding:44px 24px 30px;}
@media(max-width:640px){body.home .drink-stage {padding:26px 18px 24px;}}

/* Let the page and footer share the available screen height. */
body.home {min-height:100dvh;display:flex;flex-direction:column;}
body.home .wp-site-blocks {flex:1;min-height:0;}
body.home .wp-site-blocks>main {flex:1;display:grid;}
body.home .wp-site-blocks>main>.wp-block-group.alignfull,
body.home .entry-content {display:grid;}
body.home .drink-stage,
body.home.admin-bar .drink-stage {min-height:0;}
body.home .drink-social-footer {flex:none;margin:0;}
@media(max-height:800px){
  body.home .drink-stage {padding:20px 18px 14px;}
  .drink-gamer {width:48px;height:48px;margin-bottom:10px;}
  .drink-kicker {margin-bottom:8px;}
  .drink-shell h1 {font-size:40px;margin-bottom:10px;}
  .drink-intro {margin-bottom:16px;}
  .drink-choice {padding:12px 9px 10px;}
  .drink-art {width:64px;height:64px;margin-bottom:7px;}
  .drink-selection {margin-top:14px;}
  .drink-contribution-note {margin-top:10px;}
  .drink-social-footer {padding-top:6px;padding-bottom:max(10px,env(safe-area-inset-bottom));}
}
@media(max-height:740px){
  body.home .drink-stage {padding-top:12px;padding-bottom:10px;}
  .drink-gamer {width:34px;height:34px;margin-bottom:6px;}
  .drink-shell h1 {font-size:32px;margin-bottom:6px;}
  .drink-intro {font-size:12px;margin-bottom:10px;}
  .drink-art {width:48px;height:48px;margin-bottom:4px;}
  .drink-choice {padding:8px;border-radius:16px;}
  .drink-selection {margin-top:10px;}
  .drink-selection p {margin-bottom:6px;}
}
@media(max-height:500px) and (min-width:641px){
  .drink-gamer {display:none;}
  .drink-options {max-width:700px;margin:0 auto;}
  .drink-social-footer nav {display:flex;}
}
@media(max-height:500px) and (min-width:641px){
  body.home .drink-stage {padding-top:6px;padding-bottom:4px;}
  .drink-intro {display:none;}
  .drink-contribution-note {margin-top:6px;}
}
