/* KAYA fits every screen (2026-11-18).
   Loaded last on customer pages. Layout and text size only:
   no checkout, order, payment or ABA selectors or behaviour. */

/* Tablets held upright (761-1023px): the full text menu does not fit next to the
   logo, so keep Cart, language and the menu button; the menu button has every link. */
@media screen and (min-width:761px) and (max-width:1023px){
 html:root body:not(#kaya-fit) .kaya-header-shortcuts a{display:none!important}
 html:root body:not(#kaya-fit) .kaya-header-shortcuts{margin-right:4px!important}
}

/* Very large monitors (wider than 1920px): these two sections used side padding that
   kept growing with the screen until the content was squeezed into a thin strip.
   Hold them at the 1920px layout instead. */
@media screen and (min-width:1921px){
 html:root body:not(#kaya-fit) #limited.limited-section,
 html:root body:not(#kaya-fit) #order-your-way.order-way-section{padding-left:300px!important;padding-right:300px!important}
}

/* Readable small text: nothing a customer needs to read is below 11px,
   buttons are at least 13px, and Khmer labels are at least 12px. */
html:root body:not(#kaya-fit) .size-guide .size-chip span,
html:root body:not(#kaya-fit) .badge-pill,html:root body:not(#kaya-fit) .badge-pill span,
html:root body:not(#kaya-fit) .kaya-hours-eyebrow,html:root body:not(#kaya-fit) .kaya-hours-today>span,
html:root body:not(#kaya-fit) .section-kicker,
html:root body:not(#kaya-fit) .kaya-footer-hours small,
html:root body:not(#kaya-fit) .site-footer .footer-bottom span,
html:root body:not(#kaya-fit) .hub-hours-kicker,html:root body:not(#kaya-fit) .hub-hours-note,
html:root body:not(#kaya-fit) .account-card .eyebrow,html:root body:not(#kaya-fit) .account-card .trust-stack span,
html:root body:not(#kaya-fit) .policy-kicker,html:root body:not(#kaya-fit) .policy-updated,
html:root body:not(#kaya-fit) .policy-footer,html:root body:not(#kaya-fit) .policy-footer a{font-size:11px!important}
html:root body:not(#kaya-fit) .kaya-feature-coming small,
html:root body:not(#kaya-fit) .feature-note span,
html:root body:not(#kaya-fit) #pickup-guide li small,
html:root body:not(#kaya-fit) .social-copy small,
html:root body:not(#kaya-fit) .kaya-hours-line small{font-size:12px!important}
@media screen and (max-width:600px){html:root body:not(#kaya-fit) .product-bottom .action-btn{font-size:13px!important}}
html:root body:not(#kaya-fit) .kaya-three-info-grid .section-kicker.section-kicker{font-size:11px!important}
html:root body:not(#kaya-fit) .kaya-hours-status>span{font-size:11px!important}
html:root body:not(#kaya-fit) .social-copy strong{font-size:12px!important}
/* Paused / closed banner: the second line is readable on phones (owner-approved 2026-11-18). */
html:root body:not(#kaya-fit) .shop-status-banner span{font-size:12px!important;line-height:1.4!important}

/* Phone tap targets (2026-11-23 audit): main controls reach 44px; footer links reach 28px
   (WCAG 2.5.8 is 24px) without spreading the list out. The language buttons and
   "See the menu" get invisible hit areas in kaya-premium-look.css. */
@media screen and (max-width:760px){
 html:root body:not(#kaya-fit) .nav-toggle{min-width:44px!important;min-height:44px!important}
 html:root body:not(#kaya-fit) .product-bottom .quick-add-btn{min-height:44px!important}
 html:root body:not(#kaya-fit) :is(.footer-main,.footer-brand-block) a{display:inline-block;padding-block:5px;margin-block:-2px}
}

/* 12px floor (2026-11-24 audit): the labels, badges, chips and footer lines that were
   11px (or 11.5px) are now 12px (the hours eyebrow stays 11px so its Khmer line does not wrap). Colours, weights, spacing and layout are untouched. */
html:root body:not(#kaya-fit) :is(.limited-badge,.order-way-badge,.cutlery-zoom-hint,.limited-browse-note,.limited-browse-note span,.kp-day-tag,.kaya-hours-heading small,.kaya-footer-hours small,.footer-location,.footer-contact,.footer-link-group strong,.site-footer .footer-bottom span,.social-link span,.support-link span,.badge-pill span,.size-guide .size-chip :is(span,strong),.size-bar .size-mini span,.kaya-three-info-grid .section-kicker.section-kicker,.kaya-hero-kicker,.kaya-header-language .lang-btn){font-size:12px!important}

/* Menu card title button (2026-11-24 accessibility): the card title opens the product details for
   keyboard and screen-reader users (the card itself stays clickable for mouse and touch). It looks
   exactly like the plain title it replaced. */
html:root body:not(#kaya-fit) .product-open-btn{display:inline!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important;min-width:0!important;min-height:0!important;width:auto!important;height:auto!important;font:inherit!important;color:inherit!important;letter-spacing:inherit!important;line-height:inherit!important;text-align:inherit!important;text-transform:inherit!important;transform:none!important;-webkit-appearance:none;appearance:none;cursor:pointer}
html:root body:not(#kaya-fit) .product-open-btn:focus-visible{border-radius:6px!important}

/* Keyboard focus ring (2026-11-24 accessibility): same 3px ring and offset, in a deeper brass.
   The pale gold used before was only 1.9:1 on the cream background; WCAG asks for 3:1. */
html:root body:not(#kaya-fit) :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline-color:#9A7328!important}
