/* Brand colours (from the logo). Change these to restyle the whole site.
   Text colours below were checked for good contrast (4.5:1 or better). */
:root {
  --brand: #0277BD;       /* deep blue: buttons, links */
  --brand-dark: #01609A;  /* button hover */
  --sky: #29B6F6;         /* sky blue: backgrounds and decoration only (too light for text) */
  --coral: #E5484D;       /* coral: decoration only */
  --coral-text: #C4363B;  /* deeper coral, safe for small text and badges */
  --yellow: #FFC93C;      /* small accents, always with dark text */
  --green: #4CC38A;       /* small accents, always with dark text */
  --ink: #0B2A45;         /* dark blue: headings, footer */
  --tint: #F3FAFE;        /* hero background */
  --tile: #EEF7FD;        /* category tiles, photo backgrounds */
  --bg: #ffffff;
  --text: #1A2433;
  --muted: #4F5B6B;
  --line: #DCE7EF;
  --wa: #157a42;          /* WhatsApp green */
  --wa-dark: #0f5f33;
  --open: #157a42;
  --closed: #b42c2c;
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; }
[hidden] { display: none !important; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i .f { fill: currentColor; stroke: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

.eyebrow {
  margin: 0 0 8px; color: var(--coral-text); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- header ---------- */

.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; }
/* thin multicolour stripe, matching the logo */
.site-header::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--sky) 0 25%, var(--coral) 25% 50%, var(--yellow) 50% 75%, var(--green) 75%);
}
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; }
.logo { display: flex; align-items: center; min-width: 0; min-height: 68px; }
.logo img { height: 52px; width: auto; }

.nav { display: flex; gap: 22px; justify-content: center; order: 3; flex: 1 0 100%; margin: 0 -16px; border-top: 1px solid var(--line); }
.nav a {
  color: var(--text); text-decoration: none; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 12px 2px; border-bottom: 2px solid transparent;
}
.nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--coral); }

.hsearch summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; color: var(--ink);
}
.hsearch summary::-webkit-details-marker { display: none; }
.hsearch summary .i { width: 22px; height: 22px; }
.hsearch[open] summary { background: var(--tile); }
.hsearch form {
  position: absolute; left: 0; right: 0; top: 76px; z-index: 20; display: flex; gap: 8px;
  padding: 10px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 16px rgba(11, 42, 69, .08);
}
.hsearch input { flex: 1; min-width: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px; border-radius: var(--radius); border: 1.5px solid var(--brand);
  font: inherit; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; background: var(--brand); color: #fff;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline { background: var(--bg); color: var(--brand); }
.btn-outline:hover { background: var(--tile); }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-line { background: transparent; color: var(--wa-dark); border-color: var(--line); }
.btn-line:hover { background: #eef6f1; border-color: var(--wa); }
.btn-sm { min-height: 42px; padding: 8px 10px; font-size: .72rem; letter-spacing: .05em; width: 100%; }
.btn-sm .i { width: 17px; height: 17px; }

.search {
  width: 100%; min-height: 46px; padding: 10px 14px; font: inherit;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg);
}
.search:focus { outline: none; border-color: var(--brand); }

/* ---------- open / closed ---------- */

.status { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; margin: 0; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status.is-open .dot { background: var(--green); box-shadow: 0 0 0 2px #d6f3e5; }
.status.is-open { color: var(--open); }
.status.is-closed { color: var(--closed); }

/* ---------- home: hero ---------- */

.hero { background: var(--tint); }
.hero .wrap { padding-top: 28px; padding-bottom: 28px; }
.hero h1 {
  margin: 0; font-size: 2.3rem; font-weight: 900; letter-spacing: .01em;
  text-transform: uppercase; color: var(--ink); overflow-wrap: anywhere;
}
.script { margin: 6px 0 12px; font: italic 1.45rem/1.2 Georgia, "Times New Roman", serif; color: var(--brand); }
.lead { margin: 0 0 20px; color: var(--muted); max-width: 34em; }
.hero-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-buttons .btn { padding: 10px 6px; font-size: .74rem; letter-spacing: .05em; }
.hero-media { position: relative; margin-top: 22px; border-radius: var(--radius); overflow: hidden; background: var(--tile); aspect-ratio: 3 / 2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .status {
  position: absolute; left: 12px; top: 12px; background: #fff; padding: 6px 12px;
  border-radius: 999px; font-size: .82rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

/* ---------- home: sections ---------- */

.section { padding: 32px 0 4px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2, .section-title {
  margin: 0; font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.section-title { text-align: center; margin-bottom: 18px; }
.section-title::after { content: ""; display: block; width: 40px; height: 3px; margin: 8px auto 0; border-radius: 2px; background: var(--coral); }
.more {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.more .i { width: 16px; height: 16px; }

.tiles {
  display: grid; grid-auto-flow: column; grid-auto-columns: 104px; gap: 10px;
  overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none;
}
.tiles::-webkit-scrollbar { display: none; }
.tile {
  scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 6px 12px; background: var(--tile); border-radius: var(--radius);
  text-decoration: none; color: var(--text); font-size: .8rem; font-weight: 600; text-align: center; line-height: 1.25;
}
.tile:hover { background: #dff0fb; }

/* popular products: one row you swipe sideways (no auto-rotation) */
.row-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 10px;
  overflow-x: auto; margin: 0 -16px; padding: 0 16px 8px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: thin;
}
.row-scroll > * { scroll-snap-align: start; }
.tile-art { width: 56px; height: 56px; display: grid; place-items: center; color: var(--brand); }
.tile-art .i { width: 38px; height: 38px; stroke-width: 1.4; }
.tile-art img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }

/* ---------- product cards (home + products page) ---------- */

.grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.ph {
  position: relative; aspect-ratio: 1; background: var(--tile) center / 36% no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9cde6' stroke-width='1.4'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.info { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.info h3 { font-size: .9rem; margin: 0; font-weight: 600; line-height: 1.3; }
.price { margin: 0 0 auto; font-weight: 800; color: var(--ink); }
.price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 4px; white-space: nowrap; }
.price.ask { color: var(--muted); font-weight: 600; font-style: italic; }
.badge {
  position: absolute; top: 8px; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: #fff;
}
.badge-off { right: 8px; background: var(--coral-text); }
.badge-out { left: 8px; background: #4b4f58; }
.card.out .ph img { filter: grayscale(1); opacity: .55; }
.card.out h3, .card.out .price { color: var(--muted); }

/* ---------- home: benefits strip + WhatsApp channel ---------- */

.benefits { display: grid; gap: 0; margin-top: 32px; border-radius: var(--radius); overflow: hidden; }
.benefit { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.benefit .i { width: 36px; height: 36px; stroke-width: 1.4; }
.benefit h3 { margin: 0; font-size: .9rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.benefit p { margin: 2px 0 0; font-size: .88rem; }
.benefit:nth-child(1) { background: var(--brand); color: #fff; }
.benefit:nth-child(2) { background: var(--sky); color: var(--ink); }
.benefit:nth-child(3) { background: var(--yellow); color: var(--ink); }

.channel {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 16px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
}
.channel > .i { width: 40px; height: 40px; color: var(--wa); stroke-width: 1.5; }
.channel div { flex: 1 1 200px; }
.channel h2 { margin: 0; font-size: .95rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.channel p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.channel .btn { flex: 1 1 100%; }

/* ---------- products page ---------- */

.page-band { background: var(--tint); padding: 22px 0 20px; border-bottom: 1px solid var(--line); }
.page-title {
  font-size: 1.8rem; margin: 0 0 6px; color: var(--ink); font-weight: 900;
  letter-spacing: .02em; text-transform: uppercase;
}
.search-box { position: relative; display: block; }
.search-box .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box .search { padding-left: 44px; }
.tools {
  position: sticky; top: 0; z-index: 5; background: var(--bg);
  padding: 10px 0 8px; border-bottom: 1px solid var(--line);
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 38px; padding: 6px 14px; border-radius: var(--radius); font: inherit; font-size: .85rem;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.count { color: var(--muted); font-size: .85rem; margin: 10px 0 0; }
.cat h2 { font-size: 1rem; margin: 24px 0 12px; padding-left: 10px; border-left: 4px solid var(--coral); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.cat h2 small { color: var(--muted); font-weight: 400; letter-spacing: 0; }
.empty { text-align: center; padding: 32px 0; color: var(--muted); }
.loading { color: var(--muted); padding: 24px 0; }

/* ---------- visit page ---------- */

.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 14px; }
.visit { padding-top: 20px; }
.panel h2 { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin: 0 0 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.panel h2 .i { color: var(--brand); }
.note { margin-top: 8px !important; font-size: .85rem; color: var(--muted); }
.btn-block { width: 100%; margin-bottom: 14px; }
.panel p { margin: 0 0 6px; }
.map { border-radius: var(--radius); overflow: hidden; margin: 0 0 14px; aspect-ratio: 4 / 3; background: var(--tile); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-load {
  width: 100%; height: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  color: var(--brand); background: var(--tile);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.map-load .i { width: 40px; height: 40px; }
.map-load small { font-weight: 400; color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; }
.hours tr.today { font-weight: 800; color: var(--brand); }
.hours small { font-weight: 400; }
.contact-list { display: grid; gap: 10px; margin-top: 12px; }

/* ---------- footer ---------- */

.site-footer { margin-top: 40px; background: var(--ink); color: #C5D3E3; font-size: .9rem; padding-bottom: calc(84px + env(safe-area-inset-bottom)); /* room for the bottom bar on phones */ }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 28px; }
.foot-badge { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; }
.foot-badge img { height: 40px; width: auto; }
.foot-about { margin: 12px 0 14px; max-width: 30em; }
.site-footer h2 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--sky); display: inline-block; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-footer h2 + .foot-list { margin-top: 2px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-list li { display: flex; gap: 10px; align-items: flex-start; }
.foot-list .i { width: 18px; height: 18px; margin-top: 2px; color: var(--sky); }
#hours-short li { justify-content: space-between; max-width: 240px; }
.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #2E4C6B; border-radius: 50%; }
.social a:hover { background: var(--brand); border-color: var(--brand); text-decoration: none; }
.social .i { width: 18px; height: 18px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; padding-bottom: 20px; font-size: .82rem; color: #9DB1C7; position: relative;
}
.foot-bottom::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; border-top: 1px solid #23415F; }
.payments { display: flex; flex-wrap: wrap; gap: 6px; }
.pay {
  display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 4px;
  background: #fff; color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .02em;
}
.pay-mpesa { color: #3a9a35; }
.pay-airtelmoney { color: #e40000; }
.pay-visa { color: #1a1f71; font-style: italic; font-size: .82rem; }
.pay-cash { color: #2e6b3c; text-transform: uppercase; }

.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -4px 12px rgba(11, 42, 69, .08);
}
.bottom-bar .btn { min-height: 46px; }

/* ---------- larger screens ---------- */

@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row-scroll { grid-auto-columns: 30%; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .channel .btn { flex: 0 0 auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .site-footer { padding-bottom: 0; }
  .bottom-bar { display: none; }
  .logo { min-height: 80px; }
  .logo img { height: 56px; }
  .nav { order: 0; flex: 0 1 auto; margin: 0; border: 0; gap: 30px; }
  .nav a { padding: 26px 2px 24px; }
  .hsearch form { top: 84px; padding-left: max(16px, calc((100% - 1160px) / 2 + 16px)); padding-right: max(16px, calc((100% - 1160px) / 2 + 16px)); }
  .hero .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
  .hero h1 { font-size: 3.4rem; }
  .script { font-size: 2rem; }
  .hero-buttons { display: flex; }
  .hero-buttons .btn { padding: 10px 24px; }
  .hero-media { margin: 0; aspect-ratio: 4 / 3; }
  .tiles { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, 128px); justify-content: center; gap: 14px; overflow: visible; margin: 0; padding: 0; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .hero-buttons .btn { font-size: .82rem; letter-spacing: .08em; }
  .row-scroll { grid-auto-columns: calc((100% - 56px) / 5); gap: 14px; margin: 0; padding: 0 0 10px; }
  .section { padding-top: 44px; }
  .page-band { padding: 36px 0 32px; }
  .page-title { font-size: 2.4rem; }
  .visit { padding-top: 28px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 32px; padding-top: 48px; }
  .visit { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; align-items: start; }
}
