* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- Header ---------- */

#header {
  margin-bottom: 2rem;
}

.site-header {
  background: #1a1a2e;
  color: #fff;
  padding: 0.75rem 0;
  border-bottom: 0.5rem solid #4a7c59;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.logo {
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
}

.header-contact {
  font-size: 0.85rem;
  color: #ccc;
}

.header-contact a {
  color: #ccc;
  text-decoration: none;
}

.header-contact a:hover {
  color: #fff;
}

/* Hamburger (mobile) */

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label::before,
.nav-toggle-label::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle:checked ~ .nav-toggle-label span {
  opacity: 0;
}

.nav-toggle:checked ~ .nav-toggle-label::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked ~ .nav-toggle-label::after {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  order: 3;
  width: 100%;
  display: none;
}

.nav-toggle:checked ~ .site-nav {
  display: block;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-nav a {
  display: block;
  padding: 0.6rem 0;
  color: #ccc;
  text-decoration: none;
}

.site-nav a:hover {
  color: #fff;
}

/* Dropdown (pure HTML/CSS) */

.site-nav li {
  position: relative;
}

.submenu {
  list-style: none;
}

@media (max-width: 767px) {
  .submenu {
    padding-left: 1.25rem;
    border-top: none;
  }
}

/* ---------- Category / product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.15);
  transform: translateY(-2px);
}

.product-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d33f49 0%, #f5b942 100%);
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-product-img {
  margin-bottom: 1.5rem;
}

.article-product-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
}

.workitgreen-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  background: #4a7c59;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.workitgreen-link:hover {
  background: #3a6347;
}

.thumb-green {
  background: linear-gradient(135deg, #4a7c59 0%, #9db5a4 100%);
}

.thumb-gray {
  background: linear-gradient(135deg, #5b6670 0%, #d97b29 100%);
}

.thumb-teal {
  background: linear-gradient(135deg, #2a6e5a 0%, #7fb069 100%);
}

.thumb-blue {
  background: linear-gradient(135deg, #3a5998 0%, #5ba0d9 100%);
}

.thumb-flis {
  background: linear-gradient(135deg, #8b7d6b 0%, #c4b8a8 100%);
}

.thumb-beige {
  background: linear-gradient(135deg, #c2a67a 0%, #e8d5b7 100%);
}

.thumb-army {
  background: linear-gradient(135deg, #3d5a3a 0%, #7a9e6c 100%);
}

.thumb-brown {
  background: linear-gradient(135deg, #5c3a1e 0%, #b8860b 100%);
}

.thumb-brown-light {
  background: linear-gradient(135deg, #8b6914 0%, #d4a843 100%);
}

.thumb-work {
  background: linear-gradient(135deg, #3a6657 0%, #7ba690 100%);
}

.thumb-vectran {
  background: linear-gradient(135deg, #2c4a6e 0%, #5b8bbf 100%);
}

.thumb-light {
  background: linear-gradient(135deg, #c4b8a8 0%, #e8e0d4 100%);
}

.product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h2 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.product-info p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.product-more {
  color: #1a1a2e;
  font-weight: bold;
  margin-top: auto;
}

/* ---------- Main ---------- */

main {
  flex: 1;
  padding: 1.5rem 0 2.5rem;
}

main h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

main h2 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  margin: 1.5rem 0 0.5rem;
}

main p,
main ul {
  margin-bottom: 1rem;
}

main ul {
  padding-left: 1.25rem;
}

/* ---------- Article ---------- */

.article {
  max-width: 800px;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #555;
}

.article-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
/*  border-bottom: 2px solid #eee; */
}

.article-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: #555;
  margin-top: 0.5rem;
}

/* ---------- Contact box ---------- */

#contact {
  float: right;
  width: 280px;
  margin: 3rem 0 1.5rem 1.5rem;
  padding: 1.25rem;
  background: #f0f7f2;
  border: 1px solid #d4e4d7;
  border-radius: 8px;
}

#contact h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #4a7c59;
}

#contact p {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0;
}

#contact a {
  color: #4a7c59;
  font-weight: bold;
}

@media (max-width: 767px) {
  #contact {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem;
  }
}

.spec-list {
  list-style: none;
  padding-left: 0;
}

blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #4a7c59;
  background: #f5f5f7;
  border-radius: 0 4px 4px 0;
}

blockquote footer {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
}

.spec-table th {
  background: #f5f5f7;
  width: 30%;
  white-space: nowrap;
}

.color-list li strong {
  color: #1a1a2e;
}

/* ---------- Footer ---------- */

#footer {
  margin-top: 2rem;
}

.site-footer {
  background: #1a1a2e;
  color: #ccc;
  text-align: left;
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  line-height: 1.8;
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
}

/* ---------- Form ---------- */

form label {
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}

form button {
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  width: 100%;
}

form button:hover {
  background: #33335c;
}

/* ---------- Desktop ---------- */

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .header-contact {
    font-size: 0.9rem;
  }

  .nav-toggle-label {
    display: none;
  }

  .site-nav {
    order: 0;
    width: auto;
    display: block !important;
  }

  .site-nav > ul {
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
    border-top: none;
  }

  .site-nav > ul > li > a {
    padding: 0.25rem 0;
  }

  /* Dropdown on desktop: opens on hover/keyboard focus */
  .site-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -0.75rem;
    min-width: 180px;
    padding: 0.5rem 0;
    border-top: none;
    background: #1a1a2e;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 10;
  }

  .site-nav .submenu a {
    padding: 0.6rem 1rem;
    white-space: nowrap;
  }

  /* invisible bridge so the menu doesn't close between link and panel */
  .site-nav .submenu::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
  }

  .site-nav .has-submenu:hover .submenu,
  .site-nav .has-submenu:focus-within .submenu {
    display: block;
  }

  main {
    padding: 2.5rem 0 3.5rem;
  }

  form button {
    width: auto;
  }

  .spec-table th {
    width: 25%;
  }
}

/* Spec table stacked on mobile */
@media (max-width: 575px) {
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table tr {
    border-bottom: none;
  }

  .spec-table td {
    border-top: none;
    margin-bottom: -1px;
  }
}
