/* Furniture For Functions: brand layer on top of bootstrap-grid (grid + flex/spacing utilities only). */
:root {
  --fff-green: #86c34e;
  --fff-green-dark: #4e7a23;
  --fff-lime: #c9d93a;
  --fff-ink: #1f1f1f;
  --fff-muted: #5c5c5c;
  --fff-line: #e3e3e3;
  --fff-bg: #f5f6f3;
  --fff-radius: 0.5rem;
  --fff-font: Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--fff-font); color: var(--fff-ink); background: var(--fff-bg); line-height: 1.6; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fff-green-dark); }
a:hover { color: #2f4d12; }
h1, h2, h3 { line-height: 1.25; margin-block: 0 0.75rem; }
h1 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); }
h2 { font-size: 1.3rem; }
:focus-visible { outline: 3px solid var(--fff-lime); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 1rem; inset-block-start: -3rem; background: #000; color: #fff; padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { inset-block-start: 0.5rem; }

/* Top bar */
.topbar { background: #000; color: #ddd; font-size: 0.875rem; padding-block: 0.4rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--fff-green); }

/* Header */
.site-header { background: linear-gradient(135deg, #5e9e2f 0%, var(--fff-green) 55%, #a5d36f 100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: #fff; text-decoration: none; }
.brand img { width: auto; height: 4.5rem; border-radius: 0.35rem; }
.brand__name { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-shadow: 0 1px 2px rgb(0 0 0 / 0.25); }
.brand__tag { display: block; font-size: 0.8rem; font-weight: 400; letter-spacing: 0.02em; text-transform: none; }
.site-header:hover .brand { color: #fff; }

/* Nav */
.site-nav { background: linear-gradient(#2b2b2b, #0d0d0d); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.site-nav a { display: block; color: #fff; text-decoration: none; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; padding: 0.85rem 1rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--fff-green); color: #000; }
.nav-toggle { display: none; background: none; border: 2px solid #fff; color: #fff; border-radius: 0.35rem; padding: 0.4rem 0.7rem; font: inherit; cursor: pointer; }
@media (max-width: 767.98px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
  .site-nav ul { display: none; flex-direction: column; padding-block-end: 0.5rem; }
  .site-nav.is-open ul { display: flex; }
  .site-nav a { padding-block: 0.7rem; border-block-start: 1px solid #333; }
  .brand img { height: 3.25rem; }
  .brand__name { font-size: 1.05rem; }
}

/* Layout */
main { padding-block: 1.5rem 3rem; }
.panel { background: #fff; border-radius: var(--fff-radius); padding: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); box-shadow: 0 1px 3px rgb(0 0 0 / 0.07); }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0 0 1rem; font-size: 0.875rem; color: var(--fff-muted); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 0.35rem; color: #aaa; }
.breadcrumb a { color: var(--fff-green-dark); text-decoration: none; }

/* Category sidebar */
.catnav { background: #fff; border-radius: var(--fff-radius); overflow: hidden; box-shadow: 0 1px 3px rgb(0 0 0 / 0.07); }
.catnav summary, .catnav__title { background: var(--fff-green); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.75rem 1rem; margin: 0; font-size: 0.95rem; }
.catnav summary { cursor: pointer; }
.catnav h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fff-muted); margin: 0; padding: 0.75rem 1rem 0.25rem; }
.catnav ul { list-style: none; margin: 0; padding: 0 0 0.25rem; }
.catnav a { display: block; padding: 0.35rem 1rem 0.35rem 1.5rem; text-decoration: none; color: var(--fff-ink); }
.catnav a:hover, .catnav a[aria-current="page"] { background: #eef6e6; color: var(--fff-green-dark); font-weight: 700; }
@media (min-width: 992px) { .catnav summary { pointer-events: none; list-style: none; } .catnav summary::-webkit-details-marker { display: none; } }

/* Cards */
.card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--fff-radius); overflow: hidden; text-decoration: none; color: var(--fff-ink); box-shadow: 0 1px 3px rgb(0 0 0 / 0.08); transition: transform 0.15s, box-shadow 0.15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgb(0 0 0 / 0.12); color: var(--fff-ink); }
.card__img { aspect-ratio: 1; background: #fff; padding: 0.5rem; }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__body { padding: 0.75rem 1rem 1rem; border-block-start: 3px solid var(--fff-green); flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 0.5rem; }
.card__title { font-weight: 700; margin: 0; font-size: 1rem; }
.card__more { font-size: 0.85rem; color: var(--fff-green-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: inherit; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 0.8rem 1.5rem; border: 0; cursor: pointer; }
.btn--primary { background: var(--fff-green-dark); color: #fff; }
.btn--primary:hover { background: #2f4d12; color: #fff; }
.btn--ghost { background: #fff; color: var(--fff-green-dark); border: 2px solid var(--fff-green-dark); }

/* Hero */
.hero { background: linear-gradient(120deg, #0d0d0d 0%, #1f2a14 55%, #4e7a23 100%); color: #fff; border-radius: var(--fff-radius); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); margin-block-end: 1.5rem; }
.hero h1 { color: #fff; max-width: 34ch; }
.hero p { max-width: 60ch; color: #eee; }
.notice { border-inline-start: 4px solid var(--fff-green); background: #f2f8ec; padding: 0.75rem 1rem; border-radius: 0 var(--fff-radius) var(--fff-radius) 0; }

/* Product */
.gallery__main { display: block; width: 100%; padding: 0; border: 1px solid var(--fff-line); border-radius: var(--fff-radius); background: #fff; aspect-ratio: 1; cursor: zoom-in; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 0.5rem; margin: 0.75rem 0 0; padding: 0 0 0.25rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery__thumbs button { flex: 0 0 auto; width: 5rem; aspect-ratio: 1; padding: 0.15rem; background: #fff; border: 2px solid var(--fff-line); border-radius: 0.35rem; cursor: pointer; scroll-snap-align: start; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--fff-green-dark); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery__hint { font-size: 0.8rem; color: var(--fff-muted); margin-block-start: 0.4rem; }
.enquire { background: #f2f8ec; border-radius: var(--fff-radius); padding: 1rem 1.25rem; margin-block: 1rem 1.5rem; }
.enquire p { margin: 0 0 0.75rem; }
.prose ul { padding-inline-start: 1.25rem; }
.prose p { margin-block: 0 0.9rem; }
.table-wrap { overflow-x: auto; margin-block: 1rem; -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; min-width: 100%; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--fff-line); padding: 0.45rem 0.7rem; text-align: start; vertical-align: top; }
.prose tr:first-child td { background: #eef6e6; font-weight: 700; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(0 0 0 / 0.97); color: #fff; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.6); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; background: #fff; touch-action: pan-y; user-select: none; }
.lightbox button { position: absolute; background: rgb(255 255 255 / 0.12); color: #fff; border: 0; border-radius: 50%; width: 3rem; height: 3rem; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--fff-green); color: #000; }
.lightbox__close { inset-block-start: 1rem; inset-inline-end: 1rem; }
.lightbox__prev { inset-inline-start: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { inset-inline-end: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; inset-block-end: 1rem; inset-inline: 0; text-align: center; font-size: 0.95rem; }

/* Footer */
.site-footer { background: #111; color: #ccc; padding-block: 2rem 1.25rem; font-size: 0.9rem; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-block-end: 0.3rem; }
.site-footer address { font-style: normal; }
.site-footer__legal { border-block-start: 1px solid #333; margin-block-start: 1.5rem; padding-block-start: 1rem; color: #999; }

/* Small helpers not included in bootstrap-grid */
.topbar__links { display: flex; flex-wrap: wrap; column-gap: 1.25rem; }
.text-muted { color: var(--fff-muted); }
.small { font-size: 0.875rem; }
.h6 { font-size: 1rem; }
.gap-2 { gap: 0.5rem; }
