﻿/* Solid sampled colours: no tint, gradient or transparent colour overlay. */
html[data-category] body.home-page {background:#fff !important;}
html[data-category] body .topbar,
html[data-category] body .app-page-header {background:var(--category-color) !important;background-image:none !important;backdrop-filter:none !important;}
html[data-category] body .topbar .brand-name,
html[data-category] body .topbar .location-pill,
html[data-category] body .topbar .location-pill svg,
html[data-category] body .app-page-header h1 {color:#fff !important;}
html[data-category] body .topbar .search-bar {background:#fff !important;}
.category-options {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 18px;}
.category-options .category-option {display:flex;align-items:center;justify-content:center;text-align:center;min-width:0;min-height:68px;padding:10px 3px;border:0;border-radius:24px;background:var(--option-bg) !important;background-image:none !important;color:var(--option-color) !important;font:600 clamp(10px,3.1vw,16px)/1.25 'Poppins',sans-serif;text-decoration:none;cursor:pointer;box-sizing:border-box;}
.category-options .category-option:hover {filter:none;}
.category-options .category-option.selected {box-shadow:0 0 0 2px #fff,0 0 0 4px var(--option-color);}
.category-options .category-option:focus-visible {outline:3px solid #151515;outline-offset:4px;}
#category-message {padding:12px;margin:0 0 16px;border:1px solid var(--category-color);border-radius:12px;color:#151515;background:#fff;}
@media(min-width:768px){.category-options{gap:16px}.category-options .category-option{min-height:78px;font-size:16px;}}
/* Remove the previous blue tab theme around the new navigation. */
html[data-category] .home-page .home-tab-module {
 --d1-bg:#fff !important; --d1-panel:#fff !important; --d1-ink:#151515 !important;
 background:#fff !important; box-shadow:none; overflow:visible;
}

.category-options .category-option {flex-direction:column;gap:6px;}
.category-icon {width:26px;height:26px;flex-shrink:0;}
@media(min-width:768px){.category-options .category-option{flex-direction:row;gap:10px}.category-icon{width:30px;height:30px}}

/* Compact, balanced mobile category labels. */
.category-mobile-break {display:none;}
.category-options .category-option.selected {box-shadow:inset 0 0 0 1.5px var(--option-color);}
@media(max-width:767px){
 .category-options {gap:10px 8px;margin-bottom:18px;padding:2px 0;}
 .category-options .category-option {
  min-height:88px;padding:10px 4px 8px;border-radius:18px;gap:6px;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:12px;font-weight:600;
  line-height:1.25;letter-spacing:0;-webkit-text-size-adjust:100%;text-size-adjust:100%;
 }
 .category-options .category-option>span {display:flex;flex-direction:column;justify-content:center;min-height:30px;max-width:100%;white-space:normal;}
 .category-options .category-icon {width:23px;height:23px;stroke-width:1.8;}
 .category-mobile-break {display:block;}
}
@media(max-width:374px){.category-options .category-option{font-size:11px;}}

/* Text-only rectangular navigation, as requested. */
.category-options .category-option {min-height:54px;height:54px;border-radius:12px;padding:8px 4px;gap:0;}
.category-options .category-icon {display:none;}
.category-options .category-option>span {min-height:0;}
@media(min-width:768px){.category-options .category-option{height:58px;min-height:58px;}}

/* Display the original supplied artwork as eight independently linked image windows. */
.category-options .category-option {position:relative;overflow:hidden;aspect-ratio:490/196;min-height:0;height:auto;padding:0;border-radius:999px;background:#fff!important;}
.category-options .category-art {position:absolute;width:417.959184%;max-width:none;height:auto;left:var(--art-left);top:var(--art-top);pointer-events:none;}
.category-options .category-option>span {position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.category-options .category-option.selected {box-shadow:none;outline:2px solid var(--option-color);outline-offset:3px;}
@media(max-width:599px){.category-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}}

.category-navigation {box-sizing:border-box;margin:0;padding:26px 24px 0;}

/* Client palette and shared navigation, 10 October 2026. */
.category-options .category-option[data-category=food]{--option-bg:#F6D000!important}
.category-options .category-option[data-category=fresh]{--option-bg:#2EBD85!important}
.category-options .category-option[data-category=auto]{--option-bg:#E91E63!important}
.category-options .category-option[data-category=hotels]{--option-bg:#3B82F6!important}
.category-options .category-option[data-category=agriculture]{--option-bg:#8B5CF6!important}
.category-options .category-option[data-category=market]{--option-bg:#06B6D4!important}
.category-options .category-option[data-category=services]{--option-bg:#FB7185!important}
.category-options .category-option[data-category=jobs]{--option-bg:#64748B!important}
.category-options .category-option{background:var(--option-bg)!important;color:#0000CD!important;box-shadow:inset 0 2px 3px #fff6,inset 0 -3px 5px #0002;min-height:44px;aspect-ratio:490/196;font-size:clamp(10px,2.8vw,16px);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:700}
.category-options .category-art{display:none}
.category-options .category-option>span{position:static;width:auto;height:auto;margin:0;padding:4px;overflow:visible;clip-path:none;white-space:normal;line-height:1.2}
.category-options .category-option.selected{outline:2px solid #0000CD;outline-offset:3px}
.category-more{display:flex;justify-content:space-between;gap:14px;font-size:12px;margin:2px 0 14px}
.all-category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html[data-category] .topbar{border-radius:0 0 32px 32px;overflow:hidden;padding-bottom:18px}
.vendor-directory{max-width:1100px;margin:0 auto;padding-bottom:110px}
.vendor-directory .module-card a{overflow-wrap:anywhere}
.food-browser{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding:18px 14px 100px;align-items:start}
.food-filter-tabs{display:flex;flex-direction:column;gap:8px;position:sticky;top:12px;max-height:70vh;overflow:auto}
.food-filter-tabs .chip{white-space:normal;text-align:left;padding:12px 10px;border-radius:12px;width:100%;min-height:44px}
.food-browser>.section{padding:0;min-width:0}
.food-browser .r-card-lg{min-width:0;flex-wrap:wrap}
.food-browser .r-thumb-sq{width:64px;height:64px;flex-shrink:0}
.food-browser .r-body{min-width:0;flex:1}
.food-browser .r-title{font-size:15px;overflow-wrap:anywhere}
.food-browser .section-head h3{font-size:16px}
.food-browser .section-head .see-all{display:none}
@media(min-width:768px){.food-browser{grid-template-columns:160px minmax(0,1fr);padding:22px 24px 100px}.food-browser .r-thumb-sq{width:100px;height:100px}}
@media(prefers-reduced-motion:reduce){.hscroll{scroll-behavior:auto!important}}

.food-browser [hidden],.vendor-directory [hidden]{display:none!important}

.food-filter-tabs [data-cuisine-tabs]{display:flex;flex-direction:column;gap:8px}
.category-options .category-option{width:100%}
