/* Compact shopping header and footer, with search below the offers. */
.topbar .container{min-height:56px}
.topbar .top-right{margin-left:auto;min-width:0}
.topbar .lang{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #e4dcc7;border-radius:7px;background:#fff}
.topbar .lang button{min-height:44px;padding:7px 14px;border:1px solid transparent;border-radius:4px;font-size:1rem;line-height:1.6;color:#6d6555;white-space:nowrap}
.topbar .lang button.active{background:#806a2e;border-color:#806a2e;color:#fff;font-weight:600}
.topbar .lang button:hover{background:#f4efdf;color:#6c5724}
.topbar .lang button.active:hover{background:#6c5724;color:#fff}
.topbar .lang button:focus-visible{outline:3px solid #a98a3c;outline-offset:3px}
.lang button[lang=km],.language-km{font-family:'Noto Sans Khmer','Leelawadee UI','DM Sans',Arial,sans-serif}
.language-km .brand-hero-copy,.language-km .brand-day-photo figcaption>span:first-child{min-width:0}
.language-km .brand-day-photo strong{line-height:1.9;overflow-wrap:anywhere}
.header-main{min-height:92px;gap:30px;flex-wrap:nowrap;padding-top:14px;padding-bottom:14px}
.header-main .platform-brand{width:auto;max-width:70%;flex-direction:row;align-items:center;justify-content:flex-start;gap:18px;padding:0}
.header-main .platform-brand .brand-logo{width:116px;flex-shrink:0}
.header-main .platform-title{font-size:1.875rem;letter-spacing:0;line-height:1.3}
.header-actions{margin-left:auto;gap:22px}
.nav-wrap .main-nav{height:auto;min-height:52px;display:flex;flex-wrap:nowrap;gap:32px;padding-top:0;padding-bottom:0;overflow-x:auto;scrollbar-width:none}
.main-nav::-webkit-scrollbar{display:none}
.nav-label-short{display:none}
.main-nav>a{flex-shrink:0;display:inline-flex;align-items:center;min-height:52px;padding:12px 0;font-size:.9375rem}
.language-en .header-main .platform-title,.language-km .header-main .platform-title{max-width:290px;font-size:1.3rem;line-height:1.5}
.storefront-home>.weekly-section{padding-top:27px;padding-bottom:20px}
.storefront-home .weekly-section>.section-head{align-items:center;margin-bottom:16px}
.storefront-home .weekly-section .section-head h2{font-size:1.7rem}
.storefront-home .weekly-section .section-head .kicker{display:none}
.storefront-home .weekly-section .section-head p{font-size:.9375rem}
.storefront-home .weekly-hint{display:none}
.storefront-home>.merged-catalog{border-top:0;margin-top:0;padding-top:10px}
.storefront-home .catalog-discovery{background:#faf9f5;padding:22px 24px;margin-bottom:28px}
.storefront-home .catalog-product-search>label{min-width:80px}
/* Keep supplier photos complete and proportional in the regular catalog. */
.merged-catalog .product-image{aspect-ratio:1 / 1;height:auto;overflow:hidden;background:#fff}
.merged-catalog .product-image img{position:absolute;inset:0;display:block;width:100%;height:100%;box-sizing:border-box;padding:12px;object-fit:contain;object-position:center;transform:none}
.site-footer{padding:27px 0 21px;border-top:1px solid #e5dcc6;background:#faf9f5}
.site-footer .footer-main{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:25px;padding-bottom:22px}
.footer-brand{display:flex;align-items:center;gap:22px;min-width:0}
.footer-brand strong{display:block;font-size:1rem;line-height:1.5;color:#51472f}
.footer-brand small{display:block;margin-top:6px;font-size:.875rem;line-height:1.7;color:#81765d}
.footer-contact{display:flex;align-items:center;gap:12px;padding:11px 16px;border:1px solid #d9ccaa;border-radius:6px;background:white;color:#80672b;white-space:nowrap}
.footer-contact span{font-size:.875rem}
.footer-contact strong{font-size:1rem;font-weight:600}
.site-footer .footer-bottom{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:18px 28px;border-top:1px solid #e8e1d1;padding-top:18px}
.site-footer .footer-links{height:auto;min-height:0;overflow:visible;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;font-size:.875rem;line-height:1.7}
.site-footer .footer-links>*{white-space:nowrap}
.site-footer .footer-legal{font-size:.8125rem;line-height:1.8;color:#8b806a;margin-left:auto}
@media(max-width:800px){
 .header-main{min-height:78px;gap:16px}
 .header-main .platform-brand{gap:13px;max-width:calc(100% - 108px)}
 .header-main .platform-brand .brand-logo{width:95px}
 .header-main .platform-title{font-size:1.5rem}
 .header-actions{gap:12px}
 .header-actions .label{display:none}
 .main-nav .nav-promo{display:none}
 .nav-wrap .main-nav{gap:26px}
 .language-en .header-main .platform-title,.language-km .header-main .platform-title{font-size:1.05rem;max-width:250px}
 .site-footer .footer-legal{margin-left:0;width:100%}
}
@media(max-width:560px){
 .topbar .container{min-height:58px;padding-top:4px;padding-bottom:4px;justify-content:flex-end}
 .topbar .top-left{display:none}
 .topbar .lang button{font-size:.9375rem;padding:7px 13px}
 .header-main{min-height:76px;gap:10px;padding-top:16px;padding-bottom:16px}
 .header-main .platform-brand{flex:1;min-width:0;max-width:none;gap:10px}
 .header-main .platform-brand .brand-logo{width:78px}
 .header-main .platform-title{font-size:clamp(1rem,4.7vw,1.25rem);line-height:1.35;white-space:nowrap}
 .header-actions{gap:3px;margin-left:0}
 .header-actions button{justify-content:center;min-width:40px;min-height:44px;padding:7px 4px}
 .header-actions svg{width:20px;height:20px}
 .nav-wrap .main-nav{min-height:49px;gap:0;justify-content:space-between;overflow-x:auto}
 .main-nav>a{min-height:49px;font-size:.875rem;padding:12px 4px;line-height:1.5}
 .main-nav>a .nav-label-full{display:none}
 .main-nav>a .nav-label-short{display:inline}
 .main-nav>a:first-child{padding-left:0}
 .main-nav>a:last-of-type{padding-right:0}
 .language-en .nav-wrap .main-nav,.language-km .nav-wrap .main-nav{justify-content:flex-start;gap:18px}
 .language-en .main-nav>a,.language-km .main-nav>a{font-size:.875rem;padding-left:0;padding-right:0}
 .language-en .header-main,.language-km .header-main{gap:10px}
 .language-en .header-main .platform-title,.language-km .header-main .platform-title{font-size:.875rem;white-space:normal;max-width:170px;line-height:1.5}
 .language-en .header-main .platform-brand .brand-logo,.language-km .header-main .platform-brand .brand-logo{width:65px}
 .storefront-home>.weekly-section{padding-top:22px;padding-bottom:14px}
 .storefront-home .weekly-section>.section-head{flex-direction:row;gap:12px;margin-bottom:14px}
 .storefront-home .weekly-section .section-head h2{font-size:1.4rem}
 .storefront-home .weekly-section .section-head p{font-size:.875rem;line-height:1.6;max-width:220px;margin-top:6px}
 .storefront-home .weekly-section .section-head .text-link{white-space:nowrap;font-size:.8125rem}
 .storefront-home .weekly-section>.catalog-caption{font-size:.75rem;line-height:1.7;margin-top:10px}
 .storefront-home>.merged-catalog{padding-top:6px}
 .storefront-home .catalog-discovery{padding:17px 14px;margin-bottom:25px}
 .storefront-home .catalog-product-search>label{font-size:1rem;margin-bottom:11px}
 .storefront-home .catalog-search-input{min-height:46px}
 .storefront-home .catalog-search-input input{font-size:.875rem}
 .storefront-home .catalog-search-input .btn{font-size:.875rem}
 .merged-catalog .product-image img{padding:8px}
 .storefront-home .catalog-fulfillment{margin-top:16px}
 .storefront-home .catalog-fulfillment-label{margin-bottom:9px}
 .storefront-home .delivery-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
 .storefront-home .delivery-filters button{padding:8px 2px;font-size:.875rem;white-space:nowrap}
 .storefront-home .delivery-filters svg{display:none}
 .storefront-home .catalog-policy{font-size:.8125rem;line-height:1.7;margin-top:14px;padding-top:13px}
 .storefront-home .merged-catalog>.section-head h2{font-size:1.4rem}
 .storefront-home .merged-catalog>.section-head p{font-size:.875rem;line-height:1.7}
 .site-footer{padding-top:22px;padding-bottom:20px}
 .site-footer .footer-main{align-items:center;gap:15px;padding-bottom:19px}
 .footer-brand>span{display:block}
 .footer-brand strong{font-size:.9375rem}
 .footer-brand small{display:none}
 .footer-contact{padding:8px 11px;flex-direction:column;align-items:flex-start;gap:2px}
 .footer-contact span{font-size:.8125rem}
 .footer-contact strong{font-size:.9375rem;letter-spacing:.02em}
 .site-footer .footer-bottom{gap:16px;padding-top:18px}
 .site-footer .footer-links{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:13px 20px;font-size:.875rem}
 .site-footer .footer-links>*{text-align:left;line-height:1.7}
 .site-footer .footer-legal{font-size:.75rem;line-height:1.8}
}
@media(max-width:370px){
 .header-main .platform-brand .brand-logo{width:64px}
 .header-main .platform-brand{gap:8px}
 .header-actions button{min-width:35px;padding-left:3px;padding-right:3px}
 .main-nav>a{font-size:.875rem;padding-left:6px;padding-right:6px}
}
