/* Basket promotion only, no global typography or payment/review selectors */
.aya-delivery-promo{box-sizing:border-box;--adp-art:url("/assets/delivery-promo-illustration-v1.jpg");margin:0 0 12px;font-family:inherit;color:#34262e;--adp-progress:.5;--adp-card:#fffafc;--adp-fill:#9bcbaa;position:relative;width:100%;height:106px;isolation:isolate;overflow:hidden;border:1px solid #eadfe5;border-radius:13px;background:#fffafc;box-shadow:0 2px 8px #3c6c4810;transition:background-color .65s ease,border-color .65s ease}
.aya-delivery-promo .adp-title{position:absolute;top:11px;inset-inline-start:18px;margin:0;font-size:12px;line-height:16px;font-weight:600;letter-spacing:-.12px}
.adp-message{position:absolute;top:31px;inset-inline-start:18px;inset-inline-end:12px;margin:0;font-size:13px;line-height:17px;font-weight:600;letter-spacing:-.2px;color:#382a31}
.aya-delivery-promo.adp-reached .adp-message{color:#187642}
.adp-lane{position:absolute;top:47px;left:18px;right:18px;height:38px;direction:ltr}
.adp-track{position:absolute;top:20px;left:0;right:0;height:7px;background:#e7e7e5;border-radius:20px;overflow:hidden}
.adp-fill{width:calc(var(--adp-progress)*100%);height:100%;border-radius:inherit;background:var(--adp-fill);transition:width .48s cubic-bezier(.25,.6,.3,1),background-color .65s ease}
.adp-destination{position:absolute;right:-1px;top:19px;width:9px;height:9px;border-radius:50%;border:1px solid #b7c9bb;background:#fafdfa;transition:opacity .25s}
.adp-reached .adp-destination{opacity:0}
.adp-traveler{position:absolute;top:0;left:clamp(0px,calc(var(--adp-progress)*100% - 47px),calc(100% - 59px));width:59px;height:38px;transition:left .48s cubic-bezier(.25,.6,.3,1);z-index:2}
.adp-illustration{position:absolute;inset:0;mix-blend-mode:multiply;transform-origin:60% 85%}
.adp-sprite{position:absolute;background-image:var(--adp-art);background-size:1371px 1148px;background-repeat:no-repeat;transform-origin:top left}
.adp-push-baker{background-position:-560px -355px;left:0;top:0;width:94px;height:108px;transform:scale(.35);clip-path:polygon(30% 9%,39% 3%,59% 3%,70% 10%,72% 18%,81% 27%,86% 42%,80% 51%,95% 57%,98% 67%,69% 66%,67% 82%,60% 86%,42% 84%,28% 85%,15% 73%,26% 57%,18% 55%,18% 50%,37% 52%,39% 47%,25% 42%,23% 30%,31% 25%,28% 18%)}
/* Original illustrated legs are hinged separately at the hips, not translated as a flat picture */
.adp-leg-step{position:absolute;inset:0}.adp-back-step{transform-origin:13px 28px}.adp-front-step{transform-origin:18px 28px}
.adp-push-leg{background-position:-560px -355px;left:0;top:0;width:94px;height:108px;transform:scale(.35)}
.adp-leg-back{clip-path:polygon(28% 72%,42% 80%,31% 87%,19% 91%,16% 100%,6% 100%,0% 87%,5% 77%,15% 73%)}
.adp-leg-front{clip-path:polygon(44% 77%,60% 78%,64% 88%,68% 91%,66% 98%,46% 98%,42% 84%)}
.adp-baker-torso{position:absolute;inset:0;transform-origin:28px 23px}
.adp-walking .adp-back-step{animation:adp-back-stride .48s linear}
.adp-walking .adp-front-step{animation:adp-front-stride .48s linear}
.adp-walking .adp-baker-torso{animation:adp-pushing-effort .48s ease-in-out}
/* Two readable poses and a high passing heel, held briefly instead of a tiny bounce */
@keyframes adp-back-stride{0%,100%{transform:translate(0,0) rotate(0)}12%,32%{transform:translate(0,-3px) rotate(-42deg)}46%,52%{transform:translate(0,-5px) rotate(-58deg)}64%,84%{transform:translate(0,2px) rotate(10deg)}}
@keyframes adp-front-stride{0%,100%{transform:translate(0,0) rotate(0)}12%,32%{transform:translate(0,0) rotate(28deg)}46%,52%{transform:translate(0,-2px) rotate(-10deg)}64%,84%{transform:translate(0,-1px) rotate(-42deg)}}
/* The hand contact point is the pivot, so her hands stay at the macaron */
@keyframes adp-pushing-effort{0%,50%,100%{transform:rotate(0)}12%,32%{transform:rotate(-3deg)}64%,84%{transform:rotate(3deg)}}
.adp-push-macaron{background-position:-637px -387px;left:28px;top:11px;width:97px;height:70px;transform:scale(.35);clip-path:ellipse(49% 47% at 50% 49%)}
.adp-happy{opacity:0;transition:opacity .16s}
.adp-happy-baker{background-image:url("/assets/aya-promo-happy-baker-v1.webp");background-position:0 0;background-size:100% 100%;left:2px;top:-3px;width:26.3736px;height:40px;transform:none;clip-path:none}
/* Both macarons use the exact same visible box, center and ellipse */
.adp-happy-macaron{background-image:url("/assets/aya-promo-happy-macaron-v1.webp");background-position:0 0;background-size:100% 100%;left:28px;top:11px;width:33.95px;height:24.5px;transform:none;clip-path:none}




.adp-macaron-sparkle{position:absolute;width:5px;height:7px;background:#c6a257;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
.adp-sparkle-one{left:30px;top:5px}.adp-sparkle-two{left:57px;top:7px;width:4px;height:6px}.adp-sparkle-three{left:60px;top:29px;width:3px;height:4px}

.adp-settled .adp-pushing{opacity:0}.adp-settled .adp-happy{opacity:1}

.adp-conditions{position:absolute;bottom:9px;inset-inline-start:18px;inset-inline-end:12px;margin:0;font-size:10.5px;line-height:13px;letter-spacing:-.1px;color:#66766b;font-weight:400}
.adp-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}
.adp-confetti i{position:absolute;left:var(--x);top:36px;width:4px;height:7px;border-radius:1px;background:var(--c);opacity:0;transform:rotate(var(--r))}
.adp-celebrating .adp-confetti i{animation:adp-confetti-pop .88s ease-out calc(var(--d) + var(--adp-confetti-elapsed,0ms)) both}
@keyframes adp-confetti-pop{0%{opacity:0;transform:translate(0,10px) rotate(var(--r))}12%{opacity:1}45%{opacity:.95;transform:translate(var(--dx),-24px) rotate(calc(var(--r) + 110deg))}100%{opacity:0;transform:translate(calc(var(--dx)*1.5),29px) rotate(calc(var(--r) + 220deg))}}

.aya-delivery-promo *, .aya-delivery-promo *::before,.aya-delivery-promo *::after{box-sizing:border-box}
.aya-delivery-promo .adp-title,.aya-delivery-promo .adp-message,.aya-delivery-promo .adp-conditions{padding:0;border:0;max-width:none;text-align:start}
.aya-delivery-promo .adp-title{margin:0;font-family:inherit;font-size:12px;line-height:16px;font-weight:600}
.aya-delivery-promo .adp-message{margin:0;font-size:13px;line-height:17px;font-weight:600}
.aya-delivery-promo .adp-conditions{margin:0;font-size:10.5px;line-height:13px;font-weight:400}
.aya-delivery-promo .adp-progress{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.aya-delivery-promo[dir=rtl] .adp-lane{transform:scaleX(-1)}
.aya-delivery-promo[dir=rtl] .adp-title{letter-spacing:0}
.aya-delivery-promo[dir=rtl] .adp-message{font-size:13px;letter-spacing:0}
@media(max-width:360px){.aya-delivery-promo .adp-title,.aya-delivery-promo .adp-message,.aya-delivery-promo .adp-conditions{inset-inline-start:13px}.aya-delivery-promo .adp-message{font-size:11.5px}.aya-delivery-promo .adp-conditions{font-size:9px}.aya-delivery-promo .adp-lane{left:13px;right:13px}}
@media(prefers-reduced-motion:reduce){.aya-delivery-promo,.aya-delivery-promo *,.aya-delivery-promo *::before,.aya-delivery-promo *::after{animation:none!important;transition:none!important}.aya-delivery-promo .adp-confetti{display:none}}
.aya-delivery-promo .adp-confetti i:nth-child(1){--x:58%;--c:#e8b74d;--dx:-18px;--r:0deg;--d:0ms}
.aya-delivery-promo .adp-confetti i:nth-child(2){--x:64%;--c:#ed9cba;--dx:-9px;--r:37deg;--d:35ms}
.aya-delivery-promo .adp-confetti i:nth-child(3){--x:70%;--c:#85c69d;--dx:0px;--r:74deg;--d:70ms}
.aya-delivery-promo .adp-confetti i:nth-child(4){--x:76%;--c:#cda4df;--dx:9px;--r:111deg;--d:0ms}
.aya-delivery-promo .adp-confetti i:nth-child(5){--x:82%;--c:#e8b74d;--dx:18px;--r:148deg;--d:35ms}
.aya-delivery-promo .adp-confetti i:nth-child(6){--x:88%;--c:#ed9cba;--dx:-18px;--r:185deg;--d:70ms}
.aya-delivery-promo .adp-confetti i:nth-child(7){--x:58%;--c:#85c69d;--dx:-9px;--r:222deg;--d:0ms}
.aya-delivery-promo .adp-confetti i:nth-child(8){--x:64%;--c:#cda4df;--dx:0px;--r:259deg;--d:35ms}
.aya-delivery-promo .adp-confetti i:nth-child(9){--x:70%;--c:#e8b74d;--dx:9px;--r:296deg;--d:70ms}
.aya-delivery-promo .adp-confetti i:nth-child(10){--x:76%;--c:#ed9cba;--dx:18px;--r:333deg;--d:0ms}
.aya-delivery-promo .adp-confetti i:nth-child(11){--x:82%;--c:#85c69d;--dx:-18px;--r:370deg;--d:35ms}
.aya-delivery-promo .adp-confetti i:nth-child(12){--x:88%;--c:#cda4df;--dx:-9px;--r:407deg;--d:70ms}
.aya-delivery-promo .adp-confetti i:nth-child(13){--x:58%;--c:#e8b74d;--dx:0px;--r:444deg;--d:0ms}
.aya-delivery-promo .adp-confetti i:nth-child(14){--x:64%;--c:#ed9cba;--dx:9px;--r:481deg;--d:35ms}
.aya-delivery-promo .adp-confetti i:nth-child(15){--x:70%;--c:#85c69d;--dx:18px;--r:518deg;--d:70ms}

.aya-delivery-promo .adp-happy{mix-blend-mode:normal}

/* One card inside the existing pinned basket footer, not a second fixed overlay */
#dialog-content:has(> #order-form.checkout-compact)>.checkout-promo-footer{flex-wrap:wrap;flex-shrink:0}
#dialog-content>.checkout-promo-footer>.checkout-promo-dock{flex:0 0 100%;width:100%;min-width:0}
#dialog-content>.checkout-promo-footer>.checkout-promo-dock:empty{display:none}
#dialog-content>.checkout-promo-footer>.checkout-promo-dock>.aya-delivery-promo{margin:0}
/* Footer height is naturally subtracted from this scroll pane, including the safe area */
#dialog-content>#order-form.checkout-compact{min-height:0}

/* Main browsing: extend the existing fixed footer within the shop panel at all widths */
:is(#mobile-basket,#start-order-bar)>.main-delivery-promo-dock{margin:0 0 8px;min-width:0}
.main-delivery-promo-dock>.aya-delivery-promo{margin:0}
.main-delivery-promo-dock[hidden],.main-promo-scroll-space[hidden]{display:none!important}
.main-promo-scroll-space{height:114px;pointer-events:none}
body:has(dialog[open]) :is(#mobile-basket,#start-order-bar)>.main-delivery-promo-dock{display:none!important}
/* A quiet, theme-aware blush only behind the active pinned checkout promo and actions */
#dialog-content>.dialog-footer.checkout-promo-footer:has(>.checkout-promo-dock>[data-aya-delivery-promo]),
:is(#mobile-basket,#start-order-bar,#main-promo-standalone).has-main-delivery-promo:has(>.main-delivery-promo-dock:not([hidden])>[data-aya-delivery-promo]){background:#f7dce8}
[data-theme=dark] #dialog-content>.dialog-footer.checkout-promo-footer:has(>.checkout-promo-dock>[data-aya-delivery-promo]),
[data-theme=dark] :is(#mobile-basket,#start-order-bar,#main-promo-standalone).has-main-delivery-promo:has(>.main-delivery-promo-dock:not([hidden])>[data-aya-delivery-promo]){background:var(--paper);background:color-mix(in srgb,var(--paper) 88%,var(--wine) 12%)}

/* Empty catalogue has no CTA: reuse the same fixed bar geometry without a fake button */
#main-promo-standalone[hidden]{display:none!important}
#main-promo-standalone>.main-delivery-promo-dock{margin:0;min-width:0}
.main-promo-scroll-space[data-layout=standalone]{height:calc(48px + env(safe-area-inset-bottom))}
