/* launch polish (owner approved 26 Nov 2026) */
.ai-launcher{left:auto!important;right:16px!important;transform:none!important}
main{padding-bottom:calc(var(--polish-bottom,0px) + 72px)!important}
a.back,.text-button,.legal a,footer a,.order-heading a,.fee-info,[class*=footer] a{min-height:44px;display:inline-flex;align-items:center}
.legal a,footer a{padding-inline:4px}
input[type=file]{width:100%;padding:14px;border:1.5px dashed #bbb;border-radius:12px;background:#fafafa;font:inherit;font-size:14px;color:#444}
input[type=file]::file-selector-button{margin-right:12px;padding:10px 16px;border:1.5px solid #111;border-radius:50px;background:#fff;color:#111;font:inherit;font-weight:700;cursor:pointer}
input[type=date]{min-height:48px;padding:0 14px;border:1px solid #ccc;border-radius:10px;background:#fff;font:inherit;color:#111;width:100%;box-sizing:border-box}
input[type=date]::-webkit-calendar-picker-indicator{opacity:.8;cursor:pointer}
.store-links,.drawer-apps{display:none!important}
.legal a,footer a,[class*=footer] a{display:inline-block!important;min-height:0!important;padding:10px 2px!important}

/* AI Support Chat: small round button so it never covers the page (owner 27 Nov 2026) */
.ai-support-launcher,.ai-launcher{width:46px!important;height:46px!important;min-width:0!important;min-height:0!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-size:0!important;gap:0!important;line-height:0!important}
.ai-support-launcher>*:not(img):not(svg),.ai-launcher>*:not(img):not(svg){display:none!important}.ai-support-launcher img,.ai-support-launcher svg,.ai-launcher img,.ai-launcher svg{width:22px!important;height:22px!important;margin:0!important}

/* Pickup shop icon black like the bike when not selected (owner 27 Nov 2026) */
.fulfilment button[data-mode="pickup"]:not([aria-pressed="true"]) img{filter:brightness(0)!important}

/* Address bar: arrow sits right after the address, everything centred (owner 27 Nov 2026) */
.market #market-address{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important}.market #market-address>span{flex:0 1 auto!important;min-width:0}.market #market-address .address-chevron{flex:none;margin:0!important;align-self:center}

/* Shop cards smaller, 2 per row like Uber Eats (owner 27 Nov 2026) */
.market-shop-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 12px!important}
@media(min-width:760px) and (max-width:1023px){.market-shop-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.market-shops img{aspect-ratio:1.6!important;border-radius:10px!important}.market-shops h3{font-size:15px!important;margin:7px 0 2px!important}.market-shops p{font-size:13px!important;margin:2px 0!important}
.market-toggle button:not([aria-pressed="true"]):not(.active):not([aria-selected="true"]) img{filter:brightness(0)!important}
/* Shop cards like Uber Eats on computers (owner 28 Nov 2026): 4 per row, wide short photo, smaller text. Phones unchanged. */
@media(min-width:1024px){
 .market-shop-row,.market-shops{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px 16px!important}
 .market-shops img,.market-shops .review-shop-image{aspect-ratio:2.4!important;max-height:none!important;border-radius:10px!important}
 .market-shops h3{font-size:16px!important;margin:8px 0 2px!important}.market-shops p{font-size:13px!important}
}
@media(min-width:2400px){.market-shop-row,.market-shops{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
/* Header like Uber Eats (owner 28 Nov 2026): grey address pill with pin and arrow; grey Delivery/Pickup switch, chosen side white. No red. */
.market #market-address{background:#eee!important;border:0!important;border-radius:999px!important;padding:8px 14px!important;min-height:40px!important;display:flex!important;align-items:center!important;gap:8px!important;color:#111!important}
.market #market-address #address-mode{display:none!important}
.market #market-address #address-text{font-size:15px!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.market #market-address::after{content:''!important;flex:none;width:7px;height:7px;border:solid #111;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);margin-left:4px}
.market .market-toggle{background:#eee!important;border:0!important;border-radius:999px!important;padding:4px!important;gap:0!important;display:inline-flex!important}
.market .market-toggle button{background:transparent!important;color:#111!important;border:0!important;border-radius:999px!important;font-weight:700!important;padding:6px 16px!important;min-height:32px!important;box-shadow:none!important}
.market .market-toggle button[aria-pressed="true"]{background:#fff!important;color:#111!important;box-shadow:0 1px 3px rgba(0,0,0,.18)!important}
.market .market-toggle button::before,.market .market-toggle button img,.market .market-toggle button svg{display:none!important}
/* Phones: 2 shops per row, every card exactly the same size (owner 28 Nov 2026) */
@media(max-width:1023px){.market-shops img,.market-shops .review-shop-image{aspect-ratio:1.6!important;max-height:none!important;width:100%!important;object-fit:cover!important}
 .market-shops h3{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}}
/* No browser focus colour (the orange box), owner 28 Nov 2026 */
input:focus,textarea:focus,select:focus{outline:none!important}
input:not([type=checkbox]):not([type=radio]):focus-visible,textarea:focus-visible{box-shadow:inset 0 0 0 2px #111!important}
button:focus-visible,a:focus-visible,[role=button]:focus-visible,summary:focus-visible{outline:2px solid #111!important;outline-offset:2px!important}
.market-shop-row{grid-auto-flow:row!important;grid-auto-columns:auto!important;overflow-x:visible!important}
/* Room under the last footer links so the round chat button never covers them at the end of the page (robot step 1) */
body:has(.ai-support-launcher) #site-footer::after{content:'';display:block;height:120px}
/* Offline notice, same as the customer app's (robot step 1) */
.app-offline{position:sticky;top:0;padding:12px 18px;background:#fafafa;border-bottom:1px solid #ddd;font-size:14px;z-index:110}.app-offline[hidden]{display:none!important}
/* No jumps while the shops load (robot step 1): the department row and the shop list keep their space until filled */
.market #department-list:empty{min-height:41px}
.market #shops:not([data-settled]){min-height:100vh}

/* Owner 3 Dec 2026: footer links sit on the right of the page; Uzogo and its line stay on the left. */
footer .footergrid{display:flex!important;flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;column-gap:clamp(28px,4vw,72px)!important}
footer .footergrid>div:first-child{flex:1 1 auto;margin-right:auto}
footer .footergrid>div:not(:first-child),footer #columns>div{flex:none;min-width:0}
footer #columns{display:contents!important}
@media (max-width:700px){footer .footergrid>div:first-child{flex-basis:100%}}
/* Owner 3 Dec 2026: the reCAPTCHA line sits in the middle of the bottom row (its own line at the very bottom on phones). */
footer .legal span{flex:none!important}
footer .legal .legal-recaptcha{flex:1;margin:0;text-align:center;font-size:13px;line-height:1.4;color:#666}
footer .legal .legal-recaptcha a{display:inline!important;padding:0!important;margin:0!important;font:inherit!important;color:inherit;text-decoration:underline}
@media (max-width:700px){footer .legal{flex-wrap:wrap}footer .legal .legal-recaptcha{order:9;flex-basis:100%}}

/* Colour rule (B2 item 21, Dec 2026): red only on the logo, the food symbol, map pins, progress bars and the open
   bottom-tab symbol. Badges, pills, dots and buttons are black or grey; warning words are amber. */
html body .shop-cart-badge,html body .app-cart-count,html body [class*=cart-badge]{background:#111!important;color:#fff!important}
html body .ol-pill.red{color:#444!important;border-color:#c9c9c9!important}
html body .nt-dot{background:#111!important}
html body .primary,html body .app-primary,html body .dish-footer #dish-add,html body.shop-page button.shop-plus,html body .filter-footer button[type=submit],
html body.market #market-retry,html body #cart-panel .cart-browse-shops,html body #ai-chat-dialog .primary,html body #uzogo-load-recovery button,html body #offline-retry{background:#111!important;border-color:#111!important;color:#fff!important}
html body .primary:disabled,html body .app-primary:disabled{background:#bbb!important;border-color:#bbb!important}
html body .fulfilment button[aria-pressed=true]{background:#111!important;color:#fff!important}
html body .ai-switch input:checked+span{background:#111!important;border-color:#111!important}
html body .error,html body .stale-note,html body .photo-error,html body #ai-chat-dialog #ai-chat-status:not(:empty),html body #dish-stock,html body .co-status{color:#b45309!important}
html body .app-status{color:#111!important}
html body .error-box,html body #order-error{border-left-color:#b45309!important}
html body .timeline .current{color:#111!important}
html body .cart-edit-options,html body #cart-panel .shop-minus{color:#111!important}
/* Bigger tap areas (B2 accessibility, Dec 2026): small links and switches get at least 44 px to tap; the look stays the same. */
html body a#guest{display:inline-block;padding:14px 12px;margin:-14px -12px}
html body .cx-switch::before{content:'';position:absolute;inset:-7px -4px}
html body .np-sw::after{content:'';position:absolute;inset:-11px -4px}
html body a.nt-gear{min-height:44px;box-sizing:border-box}
html body .mr-star{min-width:44px;min-height:44px}
html body a.uz-help{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
html body button#top-help{min-width:44px}
html body button[data-icon=bell],html body .market-actions button[aria-label=Notifications]{min-width:44px}
html body a.shop-see-reviews{display:inline-block;padding:12px 0;margin:-12px 0}
html body .rs-upd button,html body a.rs-back,html body a.co-back,html body a.ml-back{min-height:44px}
/* Large text on small phones (B2 item 19): the View cart bar and the Pickup/Delivery choice must fit the screen. They shrink and wrap instead of running off the edges. */
html body #shop-cart-bar{max-width:calc(100% - 20px)!important;box-sizing:border-box;flex-wrap:wrap;column-gap:10px;row-gap:2px;height:auto}
html body #shop-cart-bar span{white-space:normal;min-width:0;overflow-wrap:anywhere}
html body .fulfilment{flex-wrap:wrap;box-sizing:border-box;max-width:100%}
html body .fulfilment button{flex:1 1 7.5em;min-width:0;white-space:normal;overflow-wrap:anywhere}
/* Colour rule, more places (B2 item 21, 5 Dec 2026): messages, small buttons, badges and chosen options that only show
   in some states (an error, a chosen filter, a saved address, the AI help box) were still red. Black/grey, warnings amber. */
html body .cu-err,html body .pm-err,html body .da-err,html body #remove-error,html body #address-validation,html body #place-dialog .pd-err,
html body #ai-chat-status:not(:empty),html body.manage-page dialog [role=alert]:not(:empty),html body #cx-failed strong{color:#b45309!important}
html body.manage-page .sign-out,html body .da-del{color:#111!important;border-color:#111!important}
html body .detail-actions button{color:#111!important}
html body .verification-badge{color:#111!important;border-color:#999!important}
html body .address-steps li[aria-current]{color:#111!important;border-color:#111!important}
html body .place-options label:has(input:checked),html body .selected-address{border-color:#111!important;background:#f5f5f5!important}
html body .place-options input,html body .default-choice input,html body #filter-form input{accent-color:#111!important}
html body .address-default-badge{background:#eee!important;color:#111!important}
html body .favorite-remove{color:#111!important}html body .favorite-card .favorite-remove svg{fill:#111!important;stroke:#111!important}
html body .fav-deal,html body .market-shops .shop-offer,html body .sp-deal{background:#eee!important;color:#111!important}
html body .review-shop-image,html body #cart-panel .cart-empty-icon,html body .market-drawer-profile>svg{background:#f2f2f2!important;color:#111!important}
html body #department-list button[aria-pressed=true],html body .market-categories button[aria-pressed=true]{background:#eee!important;color:#111!important}
html body #open-now[aria-pressed=true],html body .market-filters .quick-filter[aria-pressed=true]{background:#eee!important;border-color:#111!important}
@media(hover:hover){html body .market-filters button:hover,html body.market #market-clear-filters:hover{background:#f2f2f2!important;border-color:#111!important}}
html body .market-filters button:active{background:#e5e5e5!important;border-color:#111!important}
html body .ai-support-launcher{border-color:#111!important}
html body .terms-section mark.current-match{outline-color:#111!important}
/* Grey words dark enough to read (B2 accessibility): the next refund step was #777 (4.47:1). */
html body .rs-st.next b{color:#666!important}
/* Bigger tap areas, more places (B2 accessibility, 5 Dec 2026): the look stays the same. */
html body .cu-who a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;margin:0 -8px}
html body a.fo-link,html body button.fo-link{display:inline-flex;align-items:center;min-height:44px;padding:0 6px!important;margin:-12px -6px}
html body #order-unavailable a{display:inline-flex;align-items:center;min-height:44px}
html body .nt-mark{min-height:44px}
html body .ol-name a{display:inline-block;padding:11px 0;margin:-11px 0}
html body a.hc-brand{min-height:44px}
/* The + button and the number box in the cart (shop page) were still red/pink: the old rule above used "body .shop-page", but
   shop-page is a class of <body> itself. */
html body #cart-panel .card-quantity:has(output){background:#f2f2f2!important}
html body.shop-page #dish-panel button.shop-plus:disabled,html body.shop-page #cart-panel button.shop-plus:disabled{background:#eee!important;color:#666!important}
