:root {
  --primary: #0758b0;
  --primary-bright: #087ed2;
  --primary-dark: #064b9b;
  --primary-light: #dceefa;
  --background: #eaf4fd;
  --surface: #fff;
  --text: #102656;
  --muted: #64717d;
  --border: #d8e6f4;
  --shadow-card: 0 4px 14px rgb(21 68 112 / 10%);
  --green: #0758b0;
  --light: #e3f2fc;
  --line: #d8e6f4;
  --soft: #edf6fd;
  --ride-green: #0758b0;
  --ride-bright: #087ed2;
  --ride-ink: #102656;
  --ride-muted: #64717d;
  --ride-line: #d8e6f4;
  --ride-canvas: #eaf4fd;
}

.site-header,
.site-header.fixed-top-header {
  min-height: clamp(104px, 27vw, 116px);
  align-content: start;
  gap: 4px;
  padding-top: 6px;
  padding-bottom: 12px;
  color: #fff;
  border: 0;
  background: #0756a1 url("./assets/header-waterfront.svg") center bottom / 100% 100% no-repeat;
}
.site-header .header-brand-row { position: relative; gap: 4px; }
.site-header .header-home { align-content: center; }
.site-header .brand-title { font-size: clamp(19px, 5.4vw, 30px); line-height: 1.05; }
.site-header .brand-subtitle { font-size: clamp(9px, 2.5vw, 12px); line-height: 1.25; }
.site-header .header-menu,
.site-header .header-notifications,
.site-header .header-action { width: 38px; min-height: 44px; padding: 6px; }
.site-header .header-action .ui-icon,
.site-header .header-menu .ui-icon,
.site-header .header-notifications .ui-icon { width: 24px; height: 24px; }
.site-header .header-beta-badge { position: absolute; top: 100%; left: 42px; z-index: 1; }
.site-header .header-context {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "location weather" "location date";
  align-items: end;
}
.site-header .header-location { width: min(70%, 300px); min-height: 28px; }
.site-header .header-weather { min-height: 28px; }
.site-header .header-weather-copy strong { font-size: 15px; }
.site-header .header-date { font-size: 10px; }
.site-header .brand-title { color: #fff; }
.site-header .brand-title span { color: #ffdc00; }
.site-header .brand-subtitle,
.site-header .header-date { color: #fff; }
.site-header .header-location { color: #123669; background: #e4f3fc; }
.site-header .header-cart-count:not([hidden]) { border-color: #0755a4; }
.site-header :is(a, button, summary):focus-visible { outline-color: #ffdc00; }
.site-header .access-button:is([aria-pressed="true"], [aria-current="page"]) {
  border-color: #0758b0;
  background: linear-gradient(120deg, #087ed2, #0755a4);
}
.site-header .access-menu-icon,
.site-header .access-button .access-option-icon { color: #0758b0; background: #e3f2fc; }

.home-page { background: var(--background); }
.home-page .screen { gap: 16px; background: var(--background); }
.home-page .fixed-top-header {
  padding-top: 6px;
  padding-bottom: 12px;
}
.home-page .fixed-top-header .header-home { color: #fff; }
.home-page .site-header .brand-subtitle { color: #fff; }
.home-page .fixed-top-header .header-location {
  width: 58%;
  min-height: 30px;
  flex: none;
  color: #123669;
  background: #e4f3fc;
}
.home-page .fixed-top-header .header-weather { color: #fff; }
.home-page .header-weather-copy strong { color: #fff; }
.home-page .site-header .header-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "location weather" "location date";
}
.home-page .site-header .header-location { width: min(70%, 300px); }
.home-page .site-header .header-date { justify-self: end; }
.home-page .search-trigger,
.home-page .prayer-strip,
.home-page .service-section,
.home-page .promo-card,
.home-page .composer-card,
.home-page .feed-post {
  border-color: #d8e6f4;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.home-page .search-trigger { min-height: 48px; color: #6a737c; }
.home-page .prayer-strip { height: 58px; background: #fff; }
.home-page .prayer-strip-time { color: #606a74; }
.home-page .prayer-strip-time strong,
.home-page .prayer-strip-time.is-next strong { color: #064b9b; }
.home-page .prayer-strip-time.is-next { color: #064b9b; background: #fff0a9; }
.home-page .service-section { padding: 14px 6px 10px; }
.home-page .service-section .section-heading { padding: 0 6px 10px; }
.home-page .service-section .section-heading h2 {
  position: relative;
  color: #102656;
  font-size: clamp(20px, 5vw, 25px);
  font-weight: 800;
}
.home-page .service-section .section-heading h2::after {
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: #ffda00;
  content: "";
}
.home-page .service-section .category-tile {
  min-height: 94px;
  padding: 6px 0;
  border: 0;
  border-radius: 14px;
  background: #e0f1fc;
  box-shadow: none;
}
.home-page .service-section .category-icon { width: min(100%, 54px); background: transparent; }
.home-page .category-icon img { mix-blend-mode: multiply; }
.home-page .category-label { color: #152431; font-weight: 700; }
.home-page .service-section .category-availability { color: #0758b0; }
.home-page .promo-card { overflow: hidden; }
.home-page .promo-visual { border-radius: 14px; }
.home-page .promo-copy {
  position: absolute;
  inset: 7% auto 7% 4.5%;
  display: flex;
  width: 34%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2cqw;
  color: #fff;
  text-align: left;
}
.home-page .promo-title { font-size: clamp(14px, 4.8cqw, 42px); font-weight: 850; line-height: .98; }
.home-page .promo-description { font-size: clamp(8px, 2.2cqw, 20px); font-weight: 600; line-height: 1.15; }
.home-page .promo-button {
  padding: .8cqw 2cqw;
  border-radius: 99px;
  color: #073a76;
  background: #ffda00;
  font-size: clamp(8px, 2.3cqw, 20px);
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.home-page .promo-cta { color: #0758b0; font-size: 15px; }
.home-page .promo-dots .hotspot[aria-pressed="true"]::before { background: #087ed2; }
.home-page .fixed-bottom-nav { border-color: #e5eef7; background: #fff; }
.home-page .fixed-bottom-nav .hotspot[data-nav] { color: #6d7176; }
.home-page .fixed-bottom-nav .hotspot[aria-current="page"],
.home-page .fixed-bottom-nav .hotspot.is-active { color: #0755a4; background: #d5efff; }
.home-page .fixed-bottom-nav [data-nav="Kongsi"] .nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #064b9b;
  background: #ffcf00;
}
.home-page .fixed-bottom-nav .nav-icon .ui-icon { width: 26px; height: 26px; }
.home-page .dialog { border-color: #d8e6f4; }

.food-page,
.market-page,
.admin-page,
.ride-page,
.auth-page,
.privacy-page { background: #eaf4fd; }
.market-hero { background: linear-gradient(120deg, #064b9b, #087ed2); }
.market-hero a { color: #073a76; background: #ffda00; }
.market-page .market-primary,
.market-chips a[aria-current=true],
.market-nav .market-sell-nav svg { color: #fff; background: #0758b0; border-color: #0758b0; }
.market-nav a[aria-current=page],
.market-card strong,
.market-price { color: #0758b0; }
.market-page .market-card,
.market-detail-copy,
.market-filters,
.admin-panel,
.admin-stat,
.auth-page .auth-card,
.privacy-page main { border-color: #d8e6f4; box-shadow: 0 4px 14px rgb(21 68 112 / 8%); }
.admin-page { color: #17335a; }
.admin-sticky-header { background: #eaf4fd; }
.admin-page .admin-primary { border-color: #0758b0; background: #0758b0; }
.admin-sidebar nav button[aria-current=page],
.admin-subnav [aria-current=page] { color: #0758b0; background: #e3f2fc; border-color: #cce5f7; }
.admin-wordmark > span { background: linear-gradient(145deg, #087ed2, #0755a4); }
.admin-stat-icon,
.admin-module-heading-icon { color: #0758b0; background: #e3f2fc; }
.admin-chart-bar { background: linear-gradient(#42a7eb, #0758b0); }
.auth-page .brand span { color: #0758b0; }
.auth-page .primary-button,
.auth-page .onboarding-dialog .primary-button { border-color: #0758b0; background: #0758b0; }
.auth-page .onboarding-kicker { color: #0758b0; }
.auth-page .onboarding-kicker::before { background: #087ed2; }
.privacy-page main h1 { color: #0758b0; }

@media (max-width: 359px) {
  .site-header .header-menu,
  .site-header .header-notifications,
  .site-header .header-action { width: 34px; }
  .home-page .service-section .category-label { font-size: 10px; }
}
