:root {
  --steel-blue: #0080C7;
  --steel-blue-dark: #005A94;
  --leaf-green: #43A047;
  --gold: #E8A93D;
  --charcoal: #14232C;
  --steel-100: #EFF6FA;
  --steel-200: #D8E7EF;
  --warm-100: #FFF8EC;
  --warm-white: #FFFFFF;
  --ink: #16232B;
  --ink-soft: #55666E;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.eyebrow, .cat-eyebrow, .belt-caption {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

/* header / nav */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: #fff;
  border-bottom: 3px solid var(--steel-100);
  position: sticky;
  top: 0;
  z-index: 40;
  flex-wrap: wrap;
  gap: 14px;
}
.logo-wrap img { height: 92px; width: auto; display: block; }
nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; font-weight: 500; flex-wrap: wrap; }
nav > a, .nav-item > .nav-label { color: var(--ink); position: relative; padding: 6px 0; cursor: pointer; }
nav > a:hover, .nav-item:hover .nav-label { color: var(--steel-blue); }
.nav-cta {
  background: var(--gold);
  color: #402D06 !important;
  padding: 11px 22px !important;
  border-radius: 4px;
  font-weight: 600 !important;
}
.nav-item { position: relative; }
.nav-item .nav-label {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; margin: 0; outline: none;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  font: inherit; font-weight: 500; color: inherit; cursor: pointer; padding: 6px 0;
}
.nav-item .nav-label:focus { outline: none; }
.nav-item .nav-label::-moz-focus-inner { border: 0; }
.nav-item .nav-label svg { width: 11px; height: 11px; }
.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--steel-200);
  border-top: 3px solid var(--steel-blue);
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(20,50,70,0.14);
  padding: 18px;
  width: 480px;
  display: none;
}
.mega-menu.open { display: block; }
.mega-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 14px;
}
.mega-search input {
  border: none; background: transparent; outline: none;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 13.5px; flex: 1; color: var(--ink);
}
.mega-search svg { width: 15px; height: 15px; color: var(--ink-soft); flex-shrink: 0; }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.mega-links a { font-size: 13.5px; padding: 6px 4px; border-radius: 3px; color: var(--ink-soft); }
.mega-links a:hover { background: var(--steel-100); color: var(--steel-blue-dark); }

/* rotating banner */
.banner { position: relative; width: 100%; height: 420px; overflow: hidden; background: var(--charcoal); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.slide.active { opacity: 1; }
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,45,0.05) 0%, rgba(10,30,45,0.75) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 0 40px 34px;
}
.banner-text { max-width: 640px; }
.banner-text .eyebrow { color: var(--gold); display: block; margin-bottom: 10px; }
.banner-text h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 34px; line-height: 1.2; color: #fff; margin: 0 0 10px; }
.banner-text p { color: #E2ECF1; font-size: 14.5px; margin: 0 0 18px; max-width: 500px; }
.banner-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: var(--leaf-green); color: #fff; padding: 12px 22px; border-radius: 4px; font-weight: 600; font-size: 14px; display: inline-block; }
.btn-ghost { border: 1.5px solid #fff; color: #fff; padding: 12px 22px; border-radius: 4px; font-weight: 600; font-size: 14px; display: inline-block; }
.banner-dots { position: absolute; bottom: 20px; right: 40px; display: flex; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.dot.active { background: var(--gold); }

/* belt strip */
.belt-frame { position: relative; background: var(--steel-100); border-top: 2px solid var(--steel-200); border-bottom: 2px solid var(--steel-200); padding: 16px 0; overflow: hidden; }
.belt-caption { position: absolute; top: -10px; left: 40px; background: var(--gold); color: #402D06; padding: 3px 10px; border-radius: 2px; z-index: 2; }
.belt-track { display: flex; gap: 14px; width: max-content; animation: scrollBelt 42s linear infinite; }
.belt-item { width: 84px; height: 84px; border-radius: 4px; background-size: cover; background-position: center; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(20,50,70,0.12); }
@keyframes scrollBelt { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* generic section */
.section { padding: 60px 40px; max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--steel-blue); margin-bottom: 10px; }
.section-head h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 30px; margin: 0; color: var(--charcoal); }

/* category grid (homepage) */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { background: #fff; border: 1px solid var(--steel-200); border-top: 4px solid var(--accent, var(--steel-blue)); border-radius: 6px; overflow: hidden; transition: transform .15s, box-shadow .15s; display: block; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(20,50,70,0.12); }
.cat-img { height: 140px; width: 100%; object-fit: cover; display: block; background-color: var(--steel-100); }
.cat-body { padding: 16px 18px 20px; }
.cat-eyebrow { color: var(--accent, var(--steel-blue)); display:block; margin-bottom: 8px; }
.cat-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; margin: 0 0 8px; color: var(--charcoal); }
.cat-body p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* about strip */
.about { background: var(--warm-100); }
.about-inner { max-width: 1180px; margin: 0 auto; padding: 60px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 28px; margin: 0 0 18px; color: var(--charcoal); }
.about p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin: 0 0 14px; }
.plant-list { background: #fff; border: 1px solid var(--steel-200); border-top: 4px solid var(--steel-blue); border-radius: 6px; padding: 26px 30px; }
.plant-list .eyebrow { color: var(--steel-blue); display: block; margin-bottom: 14px; }
.plant-list h4 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; margin: 0 0 14px; color: var(--charcoal); }
.plant-list ul { margin: 0; padding: 0 0 0 18px; font-size: 14px; color: var(--ink-soft); line-height: 2; }

/* footer */
footer { background: var(--charcoal); color: #C9D2D6; padding: 50px 40px 24px; border-top: 4px solid var(--gold); }
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid #2A3B44; }
.footer-grid h4 { font-family: 'Space Grotesk', sans-serif; color: #fff; font-size: 14px; margin: 0 0 16px; }
.footer-grid p, .footer-grid a { font-size: 13.5px; line-height: 1.9; color: #A9B7BD; display: block; }
.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #C9D2D6; transition: background .15s, color .15s; }
.social-icon:hover { background: var(--gold); color: #402D06; }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #7C8B92; }

/* product slideshow (per category) */
.product-slideshow {
  position: relative;
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 0 40px;
}
.ps-frame {
  position: relative;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid var(--steel-200);
}
.ps-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; pointer-events: none;
  transition: opacity .7s ease;
  display: block;
}
.ps-slide.active { opacity: 1; pointer-events: auto; }
.ps-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,45,0.05) 40%, rgba(10,30,45,0.82) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px 26px;
}
.ps-overlay .ps-code { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 6px; }
.ps-overlay .ps-name { font-family: 'Space Grotesk', sans-serif; font-size: 18px; color: #fff; font-weight: 600; }
.ps-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal); font-size: 18px; z-index: 5;
  transition: background .15s;
}
.ps-arrow:hover { background: #fff; }
.ps-prev { left: 14px; }
.ps-next { right: 14px; }
.ps-dots { position: absolute; bottom: 14px; right: 20px; display: flex; gap: 7px; z-index: 5; }
.ps-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; cursor: pointer; padding: 0; }
.ps-dot.active { background: var(--gold); }
@media (max-width: 600px) {
  .ps-frame { height: 220px; }
  .product-slideshow { padding: 0 18px; }
}

/* breadcrumbs */
.breadcrumbs { max-width: 1180px; margin: 24px auto 0; padding: 0 40px; font-size: 13px; color: var(--ink-soft); }
.breadcrumbs a { color: var(--steel-blue-dark); }
.breadcrumbs a:hover { text-decoration: underline; }

/* page header banner (inner pages) */
.page-hero { background: var(--charcoal); color: #fff; padding: 40px 40px; }
.page-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; margin: 0; }
.page-hero .eyebrow { color: var(--gold); display: block; margin-bottom: 8px; }

/* subcategory chips */
.subcat-row { display: flex; flex-wrap: wrap; gap: 10px; max-width: 1180px; margin: 0 auto; padding: 24px 40px 0; }
.subcat-chip { padding: 8px 16px; border: 1px solid var(--steel-200); border-radius: 20px; font-size: 13.5px; color: var(--ink-soft); }
.subcat-chip.active, .subcat-chip:hover { background: var(--steel-blue); border-color: var(--steel-blue); color: #fff; }

/* product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1180px; margin: 0 auto; padding: 34px 40px 70px; }
.product-card { background: #fff; border: 1px solid var(--steel-200); border-radius: 6px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.product-card:hover { box-shadow: 0 10px 24px rgba(20,50,70,0.12); transform: translateY(-3px); }
.product-img { height: 190px; width: 100%; object-fit: cover; display: block; background-color: var(--steel-100); }
.product-body { padding: 14px 16px 18px; }
.product-code { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--steel-blue-dark); display: block; margin-bottom: 6px; }
.product-body h3 { font-size: 14.5px; font-weight: 600; margin: 0 0 6px; color: var(--charcoal); }
.product-body p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.empty-state { max-width: 1180px; margin: 0 auto; padding: 60px 40px; text-align: center; color: var(--ink-soft); }

/* static content pages */
.content-page { max-width: 860px; margin: 0 auto; padding: 44px 40px 70px; font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); }
.content-page h1 { font-family: 'Space Grotesk', sans-serif; color: var(--charcoal); }
.content-page h2, .content-page h3 { font-family: 'Space Grotesk', sans-serif; color: var(--charcoal); margin-top: 32px; }
.content-page table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.content-page table td, .content-page table th { border: 1px solid var(--steel-200); padding: 10px 12px; text-align: left; }
.content-page iframe { max-width: 100%; border-radius: 6px; }

/* contact form */
.contact-form { display: grid; gap: 14px; max-width: 480px; margin-top: 20px; }
.contact-form input, .contact-form textarea {
  padding: 12px 14px; border: 1px solid var(--steel-200); border-radius: 4px;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 14px;
}
.contact-form button {
  background: var(--leaf-green); color: #fff; border: none; padding: 13px 22px;
  border-radius: 4px; font-weight: 600; font-size: 14.5px; cursor: pointer; justify-self: start;
}
.form-success { background: #E9F6EB; color: #256029; padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; }

/* product card zoom icon (opens slideshow) */
.product-card { position: relative; }
.product-card-link { display: block; }
.zoom-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(20,35,44,0.72); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0; transition: opacity .15s, background .15s;
}
.product-card:hover .zoom-btn, .zoom-btn:focus { opacity: 1; }
.zoom-btn:hover { background: var(--steel-blue); }
.zoom-btn svg { width: 16px; height: 16px; }

.slideshow-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--charcoal); color: #fff; border: none; border-radius: 4px;
  padding: 10px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; margin-bottom: 4px;
}
.slideshow-trigger:hover { background: var(--steel-blue-dark); }
.slideshow-trigger svg { width: 15px; height: 15px; }

/* lightbox / slideshow overlay */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(10,18,24,0.94);
  z-index: 1000; display: none; align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner { max-width: 960px; width: 100%; display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: #fff; border-radius: 8px; overflow: hidden; }
.lightbox-image-wrap { position: relative; background: var(--steel-100); display: flex; align-items: center; justify-content: center; min-height: 340px; }
.lightbox-image-wrap img { width: 100%; height: 100%; object-fit: contain; max-height: 520px; }
.lightbox-body { padding: 30px 28px; display: flex; flex-direction: column; }
.lightbox-code { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--steel-blue-dark); margin-bottom: 8px; }
.lightbox-name { font-family: 'Space Grotesk', sans-serif; font-size: 19px; color: var(--charcoal); margin: 0 0 12px; }
.lightbox-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.7; flex: 1; }
.lightbox-link { margin-top: 16px; color: var(--steel-blue-dark); font-size: 13.5px; font-weight: 600; }
.lightbox-counter { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-soft); margin-top: 18px; }
.lightbox-close {
  position: absolute; top: -44px; right: 0; background: none; border: none; color: #fff;
  font-size: 30px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.9); color: var(--charcoal); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.lightbox-arrow.prev { left: -22px; }
.lightbox-arrow.next { right: -22px; }
.lightbox-arrow:hover { background: var(--gold); }
.lightbox-controls { position: relative; }
.lightbox-play-toggle {
  display: inline-flex; align-items: center; gap: 6px; background: var(--steel-100);
  border: 1px solid var(--steel-200); border-radius: 4px; padding: 7px 12px;
  font-size: 12.5px; color: var(--ink-soft); cursor: pointer; margin-top: 14px; width: fit-content;
}
.lightbox-play-toggle:hover { background: var(--steel-200); }

@media (max-width: 720px) {
  .lightbox-inner { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .lightbox-arrow.prev { left: 6px; }
  .lightbox-arrow.next { right: 6px; }
  .lightbox-close { top: -40px; right: 0; }
}

/* plant photo gallery (re-rolling plant page) */
.photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 10px;
}
.photo-card { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--steel-200); }
.photo-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.photo-zoom {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0;
  background: rgba(20,35,44,0); opacity: 1; display: flex; align-items: center; justify-content: center;
  color: transparent; transition: background .15s, color .15s;
}
.photo-zoom:hover { background: rgba(20,35,44,0.45); color: #fff; }
.photo-zoom svg { width: 26px; height: 26px; }
@media (max-width: 720px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* responsive */
@media (max-width: 960px) {
  .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { gap: 16px; }
  .logo-wrap img { height: 64px; }
}
@media (max-width: 600px) {
  .cat-grid, .product-grid { grid-template-columns: 1fr; }
  header, .utility-bar { padding-left: 18px; padding-right: 18px; }
  .banner { height: 300px; }
  .banner-text h1 { font-size: 24px; }
}
