html {touch-action:pan-x pan-y}
@media (prefers-reduced-motion:no-preference) {
  #options[open],#cart[open] {animation:yoko-sheet-in 200ms cubic-bezier(.2,.75,.28,1) both}
  #options[open]::backdrop,#cart[open]::backdrop {animation:yoko-shade-in 160ms ease-out both}
  #products .card img,.card em,.choice input+span,.detail-actions button {transition:transform 140ms ease-out,background-color 140ms ease-out,border-color 140ms ease-out}
  #products .card:active img,.card:active em,.choice:active input+span,.detail-actions button:active {transform:scale(.96)}
  #extras .choice input:checked+span::after {animation:yoko-check-in 150ms ease-out}
  @keyframes yoko-sheet-in {from {opacity:.35;transform:translateY(14px)} to {opacity:1;transform:translateY(0)}}
  @keyframes yoko-shade-in {from {opacity:0} to {opacity:1}}
  @keyframes yoko-check-in {from {transform:scale(.8);opacity:.4} to {transform:scale(1);opacity:1}}
}
@media (prefers-reduced-motion:no-preference) {
  :where(button,a[href],summary,.choice) {transition:scale 120ms cubic-bezier(.2,.8,.25,1);-webkit-tap-highlight-color:transparent}
  :where(button:not(:disabled),a[href],summary,.choice):active {scale:.97}
}

.brand-heading::after {display:none}
.brand-mark {display:block;width:88px;height:44px;object-fit:contain;object-position:left center;margin-bottom:8px}
.greeting {flex:0 0 clamp(80px,24vw,132px);overflow:hidden;border-radius:18px}
.greeting img {display:block;width:100%;height:auto}
.dock #cartTop,.history-dock #cartLink {border-radius:40px;min-height:44px;padding:7px clamp(8px,2vw,16px);color:#fff;background:#84274e;box-shadow:0 3px 9px #84274e25;gap:5px}
.dock #count,.history-dock #cartCount {display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border-radius:20px;background:white;color:#802847;font-size:12px}
.dock #historyBtn svg,.history-dock #historyLink svg {height:21px;width:21px;flex:none}
#options .detail-actions #add {flex:1}
@media(max-width:370px){.dock>div,.history-dock>div {gap:2px;padding-inline:4px}.dock button,.history-dock a {gap:3px;padding-inline:4px;font-size:12px}}
#cart > .dock {position:static;flex:none;width:100%;background:white}
#cart:has(> .dock) footer {padding-bottom:12px}
#cart:has(> .dock) {max-height:96dvh}
#cart .sheet-body {min-height:0}
#menuPage[hidden],#cart[hidden] {display:none}
main#cart:not([hidden]) {display:block;position:static;width:min(100%,680px);height:auto;max-height:none;margin:0 auto;padding:0 0 calc(85px + env(safe-area-inset-bottom));border-radius:0}
main#cart .sheet-head {background:white;padding-block:20px 10px;border:0}
main#cart .sheet-body {overflow:visible}
main#cart footer {max-height:none;overflow:visible;border-top:1px solid var(--line)}
main#cart:has(#lines:empty) .pickup-name,main#cart:has(#lines:empty) .refund-policy {display:none}
.dock :is(#menuHome,#menuLink,#historyBtn,#historyLink,#cartTop,#cartLink) {
  border-radius:40px;background:transparent;color:var(--ink);box-shadow:none;font-weight:400
}
.dock :is(#menuHome,#menuLink,#historyBtn,#historyLink,#cartTop,#cartLink)[aria-current="page"] {
  background:#84274e;color:white;box-shadow:0 3px 9px #84274e25;font-weight:700
}
.dock :is(#count,#cartCount) {background:#f6e3eb;color:#782847}
.dock [aria-current="page"] :is(#count,#cartCount) {background:white;color:#782847}
#cart #total:not([hidden]) {display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:12px 0 22px;padding:12px 16px;border-radius:12px;background:#faf3f5;font-size:16px}
#cart #totalAmount {font-size:24px;color:#782847;font-variant-numeric:tabular-nums}
#cart footer:has(#cancelPayment[hidden]) #testPay {grid-column:1/-1;grid-row:auto}
main#cart:not([hidden]) {padding-bottom:calc(var(--cart-footer-height,180px) + 16px)}
main#cart footer {position:fixed;inset-inline:0;bottom:0;z-index:2;width:min(100%,680px);margin-inline:auto;box-sizing:border-box;padding-bottom:max(12px,env(safe-area-inset-bottom));background:white;box-shadow:0 -4px 14px #4023330a}
@media(max-height:480px) {
  main#cart footer .refund-policy {max-height:20dvh;overflow-y:auto}
}

.dock[hidden],#cart:has(#payPanel:not([hidden])) #continueShopping {display:none}
#cart footer #continueShopping {grid-column:1/-1;grid-row:auto;min-height:44px;background:white;color:#782847;border:1px solid #dfc7d1}
#cart footer #continueShopping::before {content:none}
