:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --panel: #ffffff;
  --sub: #eef1f5;
  --border: #e2e6ec;
  --fg: #1f2a37;
  --muted: #6b7280;
  --accent: #16a34a;        /* Highland green — links, headings */
  --accent-dark: #14532d;
  --cta: #ea8a1e;           /* orange — primary buttons */
  --cta-dark: #cf7710;
  --radius: 6px;
  --shadow: 0 6px 22px rgba(17, 24, 39, .09);
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .06);
  --maxw: 1200px;
  --font: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg); font-family: var(--font);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
main { flex: 1; width: 100%; }
img { max-width: 100%; }
code { font-family: "Consolas", "SF Mono", monospace; background: var(--sub); padding: 1px 5px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; }

/* ---------- top bar + nav ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; background: #fff;
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.brand a { font-weight: 800; font-size: 22px; letter-spacing: .3px; color: var(--accent-dark); text-transform: uppercase; }
.brand a span { color: var(--cta); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav > a, .has-menu > a { color: var(--fg); font-weight: 600; font-size: 15px; cursor: pointer; }
.nav > a:hover, .has-menu > a:hover, .nav > a.active, .has-menu > a.active { color: var(--accent); }

/* products dropdown */
.has-menu { position: relative; }
.menu {
  position: absolute; left: 0; top: 100%; margin-top: 10px; min-width: 260px;
  list-style: none; padding: 8px; margin-left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: var(--shadow); display: none;
}
.has-menu:hover .menu, .has-menu.open .menu { display: block; }
.menu > li { padding: 2px 0; }
.menu .menu-cat { display: block; padding: 8px 10px; border-radius: 6px; font-weight: 700; color: var(--accent-dark); }
.menu .menu-cat:hover { background: var(--bg-alt); color: var(--accent); }
.menu .submenu { list-style: none; margin: 0 0 4px; padding: 0 0 0 10px; }
.menu .submenu a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--muted); font-size: 14px; }
.menu .submenu a:hover { background: var(--bg-alt); color: var(--fg); }
.nav-toggle { display: none; background: var(--accent-dark); color: #fff; border: 0; border-radius: 6px; font-size: 20px; line-height: 1; padding: 6px 12px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; text-align: center; border: 0;
  font-family: var(--font); font-weight: 700; font-size: 14px; letter-spacing: .2px;
  padding: 11px 20px; border-radius: var(--radius); color: #fff; background: var(--cta);
  box-shadow: var(--shadow-sm); transition: background .12s ease, transform .04s ease, box-shadow .12s ease;
}
.btn:hover { background: var(--cta-dark); box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn.btn-lg { font-size: 16px; padding: 14px 28px; }
.btn.btn-wide { width: 100%; }
.btn.enquire { background: #fff; color: var(--accent); border: 1px solid var(--border); box-shadow: none; }
.btn.enquire:hover { background: var(--bg-alt); border-color: var(--accent); }

/* ---------- layout helpers ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 46px 24px; }
.section > h2 { font-size: 26px; margin: 0 0 24px; text-align: center; color: var(--accent-dark); }
.page-head { text-align: center; padding: 52px 24px 10px; max-width: var(--maxw); margin: 0 auto; }
.page-head h1 { font-size: 36px; margin: 0 0 8px; color: var(--accent-dark); }
.page-head p { color: var(--muted); margin: 0; }

/* ---------- hero ---------- */
.hero { background: var(--bg-alt); border-bottom: 1px solid var(--border); text-align: center; }
.hero h1 { max-width: var(--maxw); margin: 0 auto; padding: 76px 24px 0; font-size: 48px; color: var(--accent-dark); }
.hero > p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 14px auto 0; padding: 0 24px; }
.hero .btn { margin: 26px auto 76px; }

/* ---------- category cards (home) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  display: flex; flex-direction: column; gap: 6px; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform .12s ease, border-color .15s ease, box-shadow .15s ease;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.cat-card-name { font-size: 18px; font-weight: 700; color: var(--accent-dark); }
.cat-card-count { color: var(--muted); font-size: 13px; }

/* ---------- product grid + cards (the whole tile is a link) ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 8px; }
.product {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column; text-align: center;
  color: inherit; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .12s ease, border-color .15s ease, box-shadow .15s ease;
}
.product:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.product:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.p-media { aspect-ratio: 8 / 9; background: #fff; overflow: hidden; border-bottom: 1px solid var(--border); }
.p-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.p-media--ph { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; background: var(--sub); }
.p-body { padding: 16px 16px 20px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.p-name { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--accent-dark); }
.p-price { font-size: 18px; font-weight: 700; color: var(--fg); margin: 0 0 8px; }
.p-desc { color: var(--muted); font-size: 13.5px; margin: 0; }
.grid-subhead { font-size: 20px; margin: 28px 0 14px; color: var(--accent-dark); border-bottom: 2px solid var(--cta); display: inline-block; padding-bottom: 4px; }

/* ---------- shop (sidebar + main) ---------- */
.shop { max-width: var(--maxw); margin: 0 auto; padding: 24px; display: grid; grid-template-columns: 240px 1fr; gap: 30px; }
.shop-side {
  align-self: start; position: sticky; top: 84px; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--accent);
  border-radius: 12px; padding: 8px; box-shadow: var(--shadow);
}
.side-all {
  display: block; margin: 4px 4px 10px; padding: 11px 12px; border-radius: 8px;
  font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
  color: #fff; background: var(--accent); text-align: center; box-shadow: var(--shadow-sm);
  transition: background .12s ease;
}
.side-all:hover, .side-all.active { background: var(--accent-dark); }
.side-cat { border-top: 1px solid var(--border); }
.side-cat > a {
  display: block; padding: 12px 12px 12px 13px; border-left: 3px solid transparent;
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .4px;
  color: var(--accent-dark); transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.side-cat > a:hover { background: rgba(22, 163, 74, .07); border-left-color: var(--cta); color: var(--accent); }
.side-cat > a.active { background: rgba(22, 163, 74, .13); border-left-color: var(--accent); color: var(--accent-dark); }
.side-subs { display: flex; flex-direction: column; padding: 2px 0 8px; }
.side-subs a {
  position: relative; padding: 8px 12px 8px 26px; border-left: 3px solid transparent;
  color: var(--muted); font-size: 13.5px; transition: background .12s ease, color .12s ease;
}
.side-subs a::before { content: "\203A"; position: absolute; left: 14px; color: var(--cta); font-weight: 700; }
.side-subs a:hover { background: rgba(22, 163, 74, .05); color: var(--accent); }
.side-subs a.active { background: rgba(234, 138, 30, .1); border-left-color: var(--cta); color: var(--accent-dark); font-weight: 700; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.shop-head h1 { font-size: 26px; margin: 0; color: var(--accent-dark); }
.shop-search { background: #fff; border: 1px solid var(--border); border-radius: 6px; color: var(--fg); font-family: var(--font); padding: 10px 12px; min-width: 220px; }
.shop-search:focus { outline: none; border-color: var(--accent); }
.empty { color: var(--muted); padding: 30px 0; }

/* ---------- content pages (faqs / reviews / contact) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 10px 24px 52px; }
.faq { border-top: 1px solid var(--border); padding: 18px 0; }
.faq h3 { margin: 0 0 6px; font-size: 18px; color: var(--accent-dark); }
.faq p { margin: 0; color: var(--muted); }
.review { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--cta); letter-spacing: 2px; }
.review .who { color: var(--muted); font-size: 13px; margin-top: 8px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 6px; color: var(--fg); font-family: var(--font); padding: 10px 12px; font-size: 15px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }

/* ---------- product detail page ---------- */
.pdp { max-width: var(--maxw); margin: 0 auto; padding: 28px 24px 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pdp-media { position: relative; aspect-ratio: 8 / 9; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.pdp-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
#pdp-img { cursor: zoom-in; }
.pdp-media--ph { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 14px; background: var(--sub); }
.pdp-media--ph small { font-size: 12px; opacity: .8; }
.pdp-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,.92); color: var(--accent-dark); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; transition: background .12s ease, color .12s ease; }
.pdp-arrow:hover { background: #fff; color: var(--accent); }
.pdp-arrow.prev { left: 10px; }
.pdp-arrow.next { right: 10px; }
.pdp-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 7px; }
.pdp-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid var(--accent); background: rgba(255,255,255,.7); cursor: pointer; }
.pdp-dot.active { background: var(--accent); }

/* full-screen image viewer */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-arrow:hover { background: rgba(255,255,255,.25); }
.lb-arrow.prev { left: 20px; }
.lb-arrow.next { right: 20px; }
.pdp-info { align-self: start; }
.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.pdp-name { font-size: 32px; margin: 0 0 10px; color: var(--accent-dark); }
.pdp-price { font-size: 26px; font-weight: 700; color: var(--fg); margin: 0 0 4px; }
.pdp-price-note { color: var(--cta); font-size: 12.5px; font-weight: 600; margin: 0 0 16px; }
.pdp-desc { color: var(--muted); margin: 0 0 24px; }
.pdp-options { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.opt-group { display: flex; flex-direction: column; gap: 14px; }
.option span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.option select, .option input.opt-input { width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--border); border-radius: 6px; color: var(--fg); font-family: var(--font); padding: 10px 12px; font-size: 15px; }
.option select:focus, .option input.opt-input:focus { outline: none; border-color: var(--accent); }
.opt-fee { color: var(--cta); font-weight: 700; font-size: 12px; }
.pdp-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pdp-qty { display: flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 8px; padding: 4px; background: #fff; }
.pdp-qty-input { width: 52px; text-align: center; border: 0; background: transparent; color: var(--fg); font-family: var(--font); font-size: 15px; padding: 6px 0; -moz-appearance: textfield; }
.pdp-qty-input::-webkit-outer-spin-button, .pdp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-maxnote { color: var(--muted); font-size: 12.5px; margin: 8px 0 0; }
.pdp-oos { color: #dc2626; font-weight: 700; font-size: 17px; margin: 0; }
.pdp-added { color: #16a34a; font-weight: 700; font-size: 14px; min-height: 20px; margin: 12px 0 0; }
.pdp-back { margin-top: 24px; }
.pdp-back a { color: var(--muted); }
.pdp-back a:hover { color: var(--accent); }

/* ---------- cart ---------- */
.cart-badge { color: var(--cta); font-weight: 700; }
.cart-wrap { max-width: var(--maxw); margin: 0 auto; padding: 8px 24px 52px; display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-row { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.cart-name { font-weight: 700; color: var(--accent-dark); }
.cart-opts { color: var(--muted); font-size: 13px; margin-top: 3px; }
.cart-unit { color: var(--muted); font-size: 12px; margin-top: 3px; }
.cart-qty { display: flex; align-items: center; gap: 10px; }
.qbtn { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--border); background: #fff; color: var(--fg); font-size: 16px; cursor: pointer; line-height: 1; }
.qbtn:hover { border-color: var(--accent); color: var(--accent); }
.cart-line { font-weight: 700; color: var(--fg); min-width: 100px; text-align: right; }
.cart-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-family: var(--font); font-size: 13px; text-decoration: underline; }
.cart-remove:hover { color: #dc2626; }
.cart-summary { position: sticky; top: 84px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px; box-shadow: var(--shadow); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; font-size: 18px; margin-bottom: 8px; }
.cart-total strong { font-size: 26px; color: var(--accent-dark); }
.cart-tax { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.cart-grand { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 10px; margin-bottom: 14px; }
.cart-note { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.checkout-form { margin-bottom: 16px; }
.checkout-form .field { margin-bottom: 12px; }
.field-row { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 10px; }
.checkout-status { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.cart-clear { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--muted); cursor: pointer; font-family: var(--font); font-size: 13px; text-decoration: underline; }
.cart-clear:hover { color: #dc2626; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); margin-top: 24px; background: var(--bg-alt); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 8px; }
  .topbar.open .nav { display: flex; }
  .nav > a, .has-menu > a { padding: 11px 12px; }
  .has-menu { position: static; }
  .menu { position: static; display: block; box-shadow: none; border: 0; background: transparent; margin: 0 0 6px; padding-left: 12px; }
  .shop { grid-template-columns: 1fr; } .shop-side { position: static; }
  .pdp { grid-template-columns: 1fr; }
  .cart-wrap { grid-template-columns: 1fr; } .cart-summary { position: static; }
  .cart-row { grid-template-columns: 1fr auto; grid-template-areas: "info info" "qty line" "rm rm"; row-gap: 10px; }
  .cart-info { grid-area: info; } .cart-qty { grid-area: qty; } .cart-line { grid-area: line; } .cart-remove { grid-area: rm; text-align: left; }
}
@media (max-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } .cat-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 34px; } }
