/* Item-card motion for the pickup widget: lift on hover, press on click/tap, and the "+" inverting. Each value is a Studio setting
   (Card interactions); the fallbacks below are the LVLUP defaults. Image zoom is the existing "Interactive image scale" setting. */
.hc-pickup-product-card{transition-property:border-radius,border-color,transform,box-shadow;transition-duration:var(--pickup-card-duration,220ms);transition-timing-function:var(--pickup-motion-easing,ease-out)}
.hc-pickup-add{transition:background-color var(--pickup-card-duration,220ms) var(--pickup-motion-easing,ease-out),color var(--pickup-card-duration,220ms) var(--pickup-motion-easing,ease-out),border-color var(--pickup-card-duration,220ms) var(--pickup-motion-easing,ease-out)}
/* Lift only where there is a real pointer; a touch screen has no hover, so it gets the press below instead. */
@media(hover:hover) and (pointer:fine){
  .hc-pickup-product-card:hover{transform:translateY(calc(var(--pickup-card-lift,3px)*-1))}
  .hc-pickup-product-card:hover .hc-pickup-add{background:var(--pickup-add-hover-bg,#141414);color:var(--pickup-add-hover-ink,#fff);border-color:var(--pickup-add-hover-bg,#141414)}
}
.hc-pickup-product-card:focus-visible .hc-pickup-add,.hc-pickup-product-card:active .hc-pickup-add{background:var(--pickup-add-hover-bg,#141414);color:var(--pickup-add-hover-ink,#fff);border-color:var(--pickup-add-hover-bg,#141414)}
.hc-pickup-product-card:active{transform:translateY(0) scale(var(--pickup-card-press,98%))}
@media(prefers-reduced-motion:reduce){.hc-pickup-product-card,.hc-pickup-product-card:hover,.hc-pickup-product-card:active{transform:none}}

/* "Added to your order" confirmation (see toast() in hanly-ordering-pickup.js). Dark card, item photo, View order button. */
.hc-pickup-toast{position:fixed;left:50%;bottom:max(28px,env(safe-area-inset-bottom));z-index:60;display:flex;align-items:center;gap:12px;width:max-content;max-width:min(92vw,440px);padding:10px 10px 10px 10px;background:#141414;color:var(--pickup-cream,#f4f0e8);border-radius:var(--pickup-interactive-radius,24px);box-shadow:0 16px 44px #14141447;transform:translateX(-50%);animation:hc-pickup-toast-in 260ms var(--pickup-motion-easing,ease-out) both}
.hc-pickup-toast.is-leaving{opacity:0;transform:translate(-50%,10px);transition:opacity 200ms ease-out,transform 200ms ease-out}
.hc-pickup-toast__thumb{flex:none;width:44px;height:44px;border-radius:calc(var(--pickup-rest-radius,7px)*1.6);object-fit:cover;background:#ffffff1f}
.hc-pickup-toast__copy{display:flex;flex-direction:column;min-width:0;gap:2px;line-height:1.25}
.hc-pickup-toast__copy strong{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hc-pickup-toast__copy span{font-size:12px;opacity:.72}
.hc-pickup-toast__action{flex:none;margin-left:auto;border:0;border-radius:999px;padding:9px 15px;background:var(--pickup-cream,#f4f0e8);color:#141414;font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background-color 180ms ease-out,color 180ms ease-out}
@media(hover:hover){.hc-pickup-toast__action:hover{background:#fff}}
.hc-pickup-toast__action:focus-visible{outline:2px solid var(--pickup-cream,#f4f0e8);outline-offset:2px}
@keyframes hc-pickup-toast-in{from{opacity:0;transform:translate(-50%,14px)}to{opacity:1;transform:translate(-50%,0)}}
@media(prefers-reduced-motion:reduce){.hc-pickup-toast{animation:none}.hc-pickup-toast.is-leaving{transition:none}}

/* "Back to menu" on the Pickup details screen, so nobody is stranded there. Closing from this screen also resets the next open to the menu. */
.hc-pickup-back-to-menu{display:inline-flex;align-items:center;gap:8px;margin:0 0 20px;padding:10px 16px 10px 12px;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background-color 180ms ease-out,color 180ms ease-out}
.hc-pickup-back-to-menu svg{width:18px;height:18px}
@media(hover:hover){.hc-pickup-back-to-menu:hover{background:#141414;color:#fff;border-color:#141414}}
.hc-pickup-back-to-menu:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* Drink detail photo. The base styles cap its width at the "detail image height" setting (380px desktop, 250px phone); these let it fill its column. Same selectors as the base so they win by order. */
@media(min-width:768px){
  .hc-pickup[data-pickup-presentation] .hc-pickup-detail__art{width:100%;position:sticky;top:0}
}
@media(max-width:767px){
  .hc-pickup[data-pickup-presentation] .hc-pickup-detail__art{width:100%;aspect-ratio:1;justify-self:stretch;overflow:hidden;border-radius:calc(var(--pickup-panel-radius,8px)*1.5)}
  .hc-pickup .hc-pickup-detail__close{inset-block-start:12px;inset-inline-end:12px;border-radius:50%;background:#f4f0e8e6;color:#141414;box-shadow:0 2px 10px #14141433;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
  .hc-pickup .hc-pickup-detail:has(>.hc-pickup-detail__close) .hc-pickup-detail__intro{padding-inline-end:0}
}

/* Toast button text was being overridden by the widget's button colours (cream on cream); pin it. */
.hc-pickup .hc-pickup-toast .hc-pickup-toast__action{color:#141414!important;background:var(--pickup-cream,#f4f0e8)!important;-webkit-text-fill-color:#141414}
@media(hover:hover){.hc-pickup .hc-pickup-toast .hc-pickup-toast__action:hover{background:#fff!important}}
.hc-pickup .hc-pickup-toast .hc-pickup-toast__copy strong{color:var(--pickup-cream,#f4f0e8)!important}
.hc-pickup .hc-pickup-toast .hc-pickup-toast__copy span{color:var(--pickup-cream,#f4f0e8)!important}

/* Order drawer entrance: shade fades, panel glides in, then its parts rise in one after another. Plays on open only (not when a quantity changes). */
.hc-pickup-directions{display:inline-block;margin:6px 0 10px;color:inherit;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.hc-pickup-directions:hover{text-decoration-thickness:2px}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart-shade{animation:hc-cart-shade 320ms ease-out both}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart{animation:hc-cart-panel 460ms cubic-bezier(.22,.8,.2,1) both}
.hc-pickup-cart-layer.is-entering :is(.hc-pickup-cart__head,.hc-pickup-card-kicker,.hc-pickup-cart-line,.hc-pickup-cart__bottom,.hc-pickup-cart-context>*){opacity:0;animation:hc-cart-rise 520ms cubic-bezier(.22,.8,.2,1) both;animation-delay:calc(160ms + var(--i,0)*70ms)}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart__head{--i:0}
.hc-pickup-cart-layer.is-entering .hc-pickup-order-card>.hc-pickup-card-kicker{--i:1}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart-line:nth-child(1){--i:2}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart-line:nth-child(2){--i:3}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart-line:nth-child(3){--i:4}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart-line:nth-child(n+4){--i:5}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart__bottom{--i:6}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart-context>:nth-child(1){--i:3}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart-context>:nth-child(2){--i:4}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart-context>:nth-child(3){--i:5}
.hc-pickup-cart-layer.is-entering .hc-pickup-cart-context>:nth-child(n+4){--i:6}
@keyframes hc-cart-shade{from{opacity:0}to{opacity:1}}
@keyframes hc-cart-panel{from{opacity:0;transform:translateX(56px)}to{opacity:1;transform:translateX(0)}}
@keyframes hc-cart-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.hc-pickup-cart-layer.is-entering *,.hc-pickup-cart-layer.is-entering{animation:none!important;opacity:1!important}}
/* cart thumbnails stay square (editorial rules set tall boxes) */
.hc-pickup[data-pickup-presentation=editorial] .hc-pickup-cart .hc-pickup-cart-line .hc-pickup-cart-line__image{height:auto;aspect-ratio:1}
