@charset "UTF-8";
@import url("variables.css");
@import url("layout.css");
@import url("components.css");
@import url("responsive.css");
.product-3col {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 40px;
  align-items: start; }

/* Prevent collapsing */
.product-left,
.product-center,
.product-right {
  min-width: 0; }

/* LEFT */
.product-left img {
  width: 100%;
  border-radius: 8px; }

/* GALLERY */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px; }

.gallery-thumbs img {
  width: 70px;
  cursor: pointer; }

/* CENTER */
.product-center h1 {
  font-size: 2rem;
  margin-bottom: 10px; }

.product-description {
  margin: 20px 0;
  line-height: 1.6; }

.product-features ul {
  padding-left: 20px; }

.product-features li {
  margin-bottom: 10px; }

/* RIGHT COLUMN */
.product-right {
  position: relative; }

.downloads-box {
  background: var(--color-light-gray);
  padding: 20px;
  border-radius: 8px;
  position: sticky;
  top: 120px; }

.downloads-box h3 {
  margin-top: 0; }

.downloads-box ul {
  padding-left: 20px; }

.downloads-box li {
  margin-bottom: 8px; }

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  margin: 0;
  background: var(--color-white);
  height: 100%; }

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent; }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: all 0.3s ease; }

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-primary);
  text-decoration: none; }

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0; }

.main-nav a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 350; }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0; }

.logo a {
  font-weight: bold;
  text-decoration: none;
  color: var(--color-primary); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing-lg);
  margin: 0;
  padding: 0; }

.main-nav a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 350; }

.site-header.shrink {
  border-bottom: 1px solid var(--color-light-gray);
  box-shadow: var(--shadow-sm); }

.site-header.shrink .header-inner {
  padding: 10px 0; }

.site-header.shrink .logo a {
  font-size: 1.2rem; }

.logo img {
  max-height: 60px;
  width: auto;
  display: block;
  transition: all 0.3s ease; }

.site-header.shrink .logo img {
  max-height: 40px; }

html, body {
  height: 100%;
  margin: 0; }

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; }

/* THIS is the key fix */
.site-main {
  flex: 1; }

.site-footer {
  background: var(--color-light-gray);
  padding: var(--spacing-md);
  text-align: center; }

/* HAMBURGER BUTTON */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer; }

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-dark);
  display: block; }

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100vw;
  box-sizing: border-box;
  padding: 120px 20px;
  background: var(--color-white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.3s ease; }

/* OPEN STATE */
.mobile-menu.active {
  right: 0; }

/* CLOSE BUTTON */
.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer; }

/* MOBILE NAV STYLING */
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center; }

.mobile-menu li {
  margin: 20px 0;
  font-weight: 350; }

.mobile-menu a {
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 350; }

@media (max-width: 768px) {
  .main-nav {
    display: none; }
  .menu-toggle {
    display: flex; } }

.hero {
  background: var(--color-light-gray);
  padding: 60px 0; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px; }

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-dark);
  line-height: 3.2rem; }

.hero-content p {
  margin-bottom: 20px;
  color: var(--color-gray);
  font-size: 1.1rem; }

.hero-image img {
  width: 100%;
  height: auto; }

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center; }
  .hero-image {
    order: -1; } }

.category-section {
  padding: 0vh 0; }

.section-title {
  text-align: left;
  margin-bottom: 40px;
  font-size: 2rem; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; }

.category-card {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: white; }

.category-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease; }

.category-card span {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 1.4rem;
  font-weight: bold;
  z-index: 2; }

/* DARK OVERLAY */
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: 0.3s; }

/* HOVER EFFECT */
.category-card:hover img {
  transform: scale(1.05); }

.category-card:hover::after {
  background: rgba(0, 0, 0, 0.2); }

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr; } }

.product-section {
  padding: 60px 0;
  background: var(--color-light-gray); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; }

/* PRODUCT CARD */
.card-product {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.3s; }

.card-product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md); }

.card-product a {
  text-decoration: none;
  color: inherit;
  display: block; }

.card-product-image img {
  width: auto;
  max-height: 300px;
  text-align: center;
  margin: auto; }

.card-product-content {
  padding: 15px; }

.card-product-title {
  font-size: 1.1rem;
  margin-bottom: 10px; }

.card-product-category {
  font-size: 0.9rem;
  color: var(--color-gray); }

.product-archive {
  padding: 60px 0; }

.archive-header {
  margin-bottom: 40px; }

.archive-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px; }

.archive-header p {
  color: var(--color-gray);
  max-width: 600px; }

.single-product {
  padding: 60px 0; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; }

/* GALLERY */
.product-gallery img {
  width: 100%;
  border-radius: 8px; }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px; }

.gallery-thumbs img {
  width: 80px;
  cursor: pointer; }

/* INFO */
.product-subtitle {
  color: var(--color-gray);
  margin-bottom: 10px; }

.product-sku {
  font-size: 0.9rem;
  margin-bottom: 20px; }

.product-description {
  margin-bottom: 20px; }

.product-features ul {
  padding-left: 20px; }

.product-features li {
  margin-bottom: 8px; }

@media (max-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr; } }

/* PARENT MENU ITEM */
.main-nav li {
  position: relative;
  font-weight: 350; }

/* SUBMENU (HIDDEN BY DEFAULT) */
.main-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  font-weight: 350;
  background: var(--color-white);
  min-width: 220px;
  font-weight: 350;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  z-index: 1000; }

/* SHOW ON HOVER */
.main-nav li:hover > ul {
  display: block;
  font-weight: 350; }

/* SUBMENU ITEMS */
.main-nav ul ul li {
  width: 100%;
  font-weight: 350; }

/* LINKS */
.main-nav ul ul a {
  display: block;
  padding: 10px 20px;
  color: var(--color-dark);
  font-weight: 350; }

.main-nav ul ul a:hover {
  background: var(--color-light-gray); }

/* THIRD LEVEL */
.main-nav ul ul ul {
  left: 100%;
  top: 0; }

.product-3col {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 40px;
  margin-top: 40px; }

@media (max-width: 992px) {
  .product-3col {
    grid-template-columns: 1fr; }
  .product-right {
    order: 3; } }

/* LEFT */
.product-left img {
  width: 100%;
  border-radius: 8px; }

/* GALLERY */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px; }

.gallery-thumbs img {
  width: 70px;
  cursor: pointer; }

/* CENTER */
.product-center h1 {
  font-size: 2rem;
  margin-bottom: 10px; }

.product-description {
  margin: 20px 0;
  line-height: 1.6; }

.product-features ul {
  padding-left: 20px; }

.product-features li {
  margin-bottom: 10px; }

/* RIGHT COLUMN */
.product-right {
  position: relative; }

.product-right {
  position: sticky;
  top: 100px;
  align-self: start; }

.downloads-box {
  background: var(--color-light-gray);
  padding: 0 0 20px 0;
  border-radius: 8px;
  position: sticky;
  top: 120px; }

.downloads-box h3 {
  margin-top: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 5px 10px; }

.downloads-box h4 {
  margin-top: 0;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 2px 20px;
  font-weight: 350; }

.downloads-box ul {
  padding-left: 20px;
  list-style: none; }

.downloads-box li {
  margin-bottom: 8px;
  font-weight: 350; }

.downloads-box {
  background: #f9fafb;
  border: 1px solid var(--color-light-gray);
  border-radius: 10px;
  padding: 20px; }

.downloads-box h3 {
  margin-bottom: 15px; }

.downloads-box h4 {
  margin-top: 20px;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--color-white); }

.download-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-dark); }

/* ICON */
.download-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  /* PDF ICON (simple red block style) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c62828'%3E%3Cpath d='M6 2h9l5 5v15a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm8 1.5V8h4.5L14 3.5zM8 13h2a2 2 0 0 1 0 4H8v-4zm1 1v2h1a1 1 0 0 0 0-2H9zm4-1h1.5a1.5 1.5 0 0 1 0 3H14v1h-1v-4zm1 1v1h.5a.5.5 0 0 0 0-1H14zm4 0h-1v3h-1v-4h2v1z'/%3E%3C/svg%3E"); }

/* HOVER */
.download-item a:hover {
  color: var(--color-primary); }

.download-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-dark); }

/* BASE ICON */
.download-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat; }

/* PDF */
.download-item[data-filetype="pdf"] .download-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c62828' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h9l5 5v15a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }

/* DWG (blue) */
.download-item[data-filetype="dwg"] .download-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230156a3' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3C/svg%3E"); }

/* ZIP (orange) */
.download-item[data-filetype="zip"] .download-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ef6c00' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h12v20H6z'/%3E%3C/svg%3E"); }

/* IMAGE FILES */
.download-item[data-filetype="jpg"] .download-icon,
.download-item[data-filetype="png"] .download-icon,
.download-item[data-filetype="jpeg"] .download-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234caf50' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3C/svg%3E"); }

/* FALLBACK */
.download-item .download-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23777' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3C/svg%3E"); }

.download-item {
  margin-bottom: 10px; }

.download-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--color-light-gray);
  text-decoration: none;
  color: var(--color-dark);
  transition: all 0.2s ease; }

.download-item a:hover {
  background: var(--color-primary);
  color: #fff; }

.main-image img {
  width: 100%;
  border: 1px solid var(--color-light-gray);
  border-radius: 8px; }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px; }

.gallery-thumbs img {
  width: 60px;
  cursor: pointer;
  border: 1px solid var(--color-light-gray);
  border-radius: 6px;
  transition: 0.2s; }

.gallery-thumbs img:hover {
  border-color: var(--color-primary); }

.product-specs {
  margin-top: 30px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px; }

.spec-table td {
  padding: 10px;
  border-bottom: 1px solid var(--color-light-gray); }

.spec-name {
  font-weight: 600;
  width: 40%;
  background: #f9fafb; }

.product-specs {
  margin-top: 30px; }

.product-specs h3 {
  margin-bottom: 15px; }

/* TABLE */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden; }

/* ROWS */
.spec-table tr {
  border-bottom: 1px solid var(--color-light-gray); }

/* CELLS */
.spec-table td {
  padding: 12px;
  vertical-align: top; }

/* LEFT COLUMN */
.spec-name {
  font-weight: 600;
  width: 40%;
  background: var(--color-light-gray); }

/* RIGHT COLUMN */
.spec-value {
  width: 60%; }

.header-top {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray); }

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0; }

.logo img {
  max-height: 70px; }

.header-social {
  display: flex;
  gap: 15px; }

.header-social a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: bold; }

.header-nav {
  background: var(--color-primary); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; }

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 40px; }

.main-nav a {
  color: white;
  font-weight: 600; }

.main-nav a:hover {
  opacity: 0.8; }

.main-nav ul ul {
  background: white; }

.main-nav ul ul a {
  color: var(--color-dark); }

@media (max-width: 768px) {
  /* STACK TOP */
  .header-top-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center; }
  /* NAV ROW */
  .nav-inner {
    justify-content: space-between; }
  /* HIDE DESKTOP MENU */
  .main-nav {
    display: none; }
  /* SHOW HAMBURGER */
  .menu-toggle {
    display: flex; } }

@media (max-width: 768px) {
  .nav-inner {
    justify-content: center; } }

.menu-toggle span {
  background: white; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 99999;
  display: none;
  padding: 80px 20px; }

.mobile-menu.active {
  display: block; }

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  color: var(--color-dark);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100000;
  /* ensure it's above everything */ }

.menu-close:hover {
  opacity: 0.7; }

.menu-toggle {
  display: none; }

@media (max-width: 768px) {
  .menu-toggle {
    display: flex; }
  .main-nav {
    display: none; } }

@media (max-width: 768px) {
  .nav-inner {
    justify-content: center; } }

.menu-close {
  position: fixed;
  /* 👈 THIS IS THE KEY CHANGE */
  top: 20px;
  right: 20px;
  font-size: 32px;
  color: var(--color-dark);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100000; }

.menu-close {
  font-weight: bold;
  line-height: 1; }

.category-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; }

.category-card {
  display: block;
  text-decoration: none; }

.category-image img {
  width: 100%;
  border-radius: 8px; }

nav {
  text-transform: uppercase;
  font-weight: 900; }

.literature {
  padding: 60px 0; }

.literature-group {
  margin-bottom: 40px; }

.literature-list {
  list-style: none;
  padding: 0; }

.literature-item {
  margin-bottom: 10px; }

.literature-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-dark); }

/* THE END OF THE WORLD AS WE KNOW IT */
/* =========================
   LITERATURE PAGE
========================= */
/* =========================
   LITERATURE LIST (HORIZONTAL CARD)
========================= */
.literature .content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  flex-direction: column;
  gap: 16px;
  margin-top: 30px; }

/* Card Layout */
.literature .loop {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  padding: 16px;
  transition: all 0.25s ease; }

/* Hover */
.literature .loop:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px); }

/* LEFT SIDE IMAGE */
.literature .loop .img img {
  width: 100%;
  max-width: 100px;
  height: auto;
  object-fit: contain; }

/* Remove HR */
.literature .loop .img hr {
  display: none; }

/* RIGHT SIDE CONTENT WRAPPER */
.literature .loop .title,
.literature .loop .link {
  display: block; }

/* Title */
.literature .loop .title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px; }

/* Link */
.literature .loop .link a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none; }

.literature .loop .link a:hover {
  text-decoration: underline; }

/* Optional icon spacing */
.literature .loop .link i {
  margin-right: 6px; }

/* Page title */
.literature h1 {
  font-size: 32px;
  margin-bottom: 10px; }

/* Container spacing */
.literature {
  padding: 40px 0; }

.single-product .loop {
  display: grid;
  grid-template-columns: 120px 1fr; }

.single-product .loop .info {
  display: flex;
  flex-direction: column;
  justify-content: center; }

.product-center h1 {
  font-size: 32px;
  margin-bottom: 10px; }

.product-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px; }

.product-sku {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px; }

.product-left {
  overflow: hidden;
  /* prevents spillover */ }

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  /* 🔥 THIS IS THE KEY */
  gap: 5px;
  margin-top: 10px;
  max-width: 100%; }

.gallery-thumbs img {
  width: 60px;
  height: auto;
  flex-shrink: 0;
  /* prevents weird squishing */ }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px; }

.gallery-thumbs img {
  width: 100%;
  height: auto;
  cursor: pointer; }

.product-left img {
  max-width: 100%;
  height: auto; }

.pagination {
  text-align: center;
  margin: 10px 0; }

.pagination a,
.pagination span {
  display: inline-block;
  padding: 3px 5px;
  margin: .3vh;
  border: 1px solid var(--color-light-gray);
  background: var(--color-grey);
  text-decoration: none;
  border-radius: 3px;
  font-size: 95%;
  color: var(--color-dark); }

.pagination a:hover {
  background: var(--color-dark);
  color: var(--color-white); }

.pagination .current {
  background: var(--color-primary);
  /* your mule green */
  color: #fff;
  border-color: #2c5d3f; }

.pagination .current {
  pointer-events: none;
  cursor: default;
  font-weight: bold; }

.vendor-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px; }

.vendor-card {
  border: 1px solid #ddd;
  padding: 15px;
  background: #fff;
  border-radius: 6px;
  transition: 0.2s; }

.vendor-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }

.vendor-card h3 {
  margin-top: 0;
  font-size: 18px; }

.vendor-card a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none; }

.vendor-card p {
  margin: 5px 0;
  font-size: 14px; }

.vendor-card a {
  color: #2e7d32;
  text-decoration: none;
  font-weight: 500; }

.vendor-card a:hover {
  text-decoration: underline; }

.vendor-card a[href^="mailto:"] {
  color: #1565c0; }

#front-page {
  display: grid;
  grid-template-columns: 70% 1fr;
  grid-template-areas: "cat menuCat";
  max-width: 1300px;
  margin: 2vh auto;
  grid-gap: 2vh; }
  @media (max-width: 790px) {
    #front-page {
      display: block; } }
  #front-page .cat {
    grid-area: cat; }
  #front-page .menuCat {
    grid-area: menuCat;
    background: var(--color-light-gray);
    margin: 6px 3px;
    padding: 2vh;
    border-radius: 3px; }
    #front-page .menuCat .category-sidemenu img {
      max-width: 100%;
      text-align: center;
      display: flex; }

.product-certifications {
  margin-top: 25px; }

.product-certifications h3 {
  margin-bottom: 10px;
  font-size: 1.2rem; }

.certification-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  flex-wrap: wrap;
  align-items: center; }

.cert-item img {
  height: 90px;
  width: auto;
  object-fit: contain; }

.cert-item-text {
  background: #f1f1f1;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.85rem; }

/* CERTIFICATIONS BLOCK */
.product-right .product-certifications {
  margin-top: 25px; }

.product-right .product-certifications h3 {
  margin-bottom: 10px;
  font-size: 1.2rem; }

/* FORCE FLEX LAYOUT */
.product-right .certification-logos {
  display: grid !important;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center; }

/* FORCE IMAGE SIZE (THIS IS THE BIG FIX) */
.product-right .cert-item img {
  height: auto !important;
  width: 100% !important;
  max-width: none !important;
  object-fit: contain;
  display: block; }

/* FALLBACK TEXT STYLE */
.product-right .cert-item-text {
  background: #f1f1f1;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.85rem; }

/* PRODUCT CARD CERTIFICATIONS */
.product-card-certs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
  align-items: center; }

.product-card-certs img {
  height: 42px;
  width: auto;
  object-fit: contain;
  max-width: none; }

.product-filters {
  margin-bottom: 20px; }

.product-filters select {
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 4px; }

/* CARD LAYOUT */
.card-product {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  transition: 0.2s ease;
  height: 100%; }

.card-product:hover {
  transform: translateY(-4px); }

/* IMAGE */
.card-product-image img {
  max-width: 100%;
  height: auto; }

/* TITLE */
.card-product-title {
  font-size: 1.1rem;
  margin: 10px 0 5px; }

/* CERTIFICATIONS */
.product-card-certs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px; }

.product-card-certs img {
  height: 18px;
  width: auto; }

/* EXCERPT */
.card-product-excerpt {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.4; }

/* CATEGORY BADGES */
.card-product-category {
  display: flex;
  flex-wrap: wrap;
  gap: 6px; }

.category-badge {
  background: #f1f1f1;
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  color: #333; }

/* GRID CONTAINER */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 5vh 2vh;
  margin-bottom: 12vh; }

.card-product {
  display: flex;
  flex-direction: column;
  height: 100%; }

.card-product-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1; }

.card-product-category {
  margin-top: auto; }

.card-product-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center; }

.card-product-image img {
  max-height: 100%;
  object-fit: contain; }

.card-product:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); }

.card-product-image img {
  max-height: 100%;
  object-fit: contain; }

/* OPTIONAL: style fallback differently */
.card-product-image img[alt="Site Logo"] {
  opacity: 0.5;
  max-height: 120px; }

.fallback-logo {
  opacity: 0.4;
  max-height: 120px; }

.no-image-label {
  font-size: 0.7rem;
  color: #888;
  margin-top: 5px;
  display: block; }

.related-products {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee; }

.related-products h2 {
  margin-bottom: 20px; }

.side-featured-product {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #eee; }

.side-featured-product h4 {
  font-size: 1rem;
  margin-bottom: 10px; }

.side-product-image {
  text-align: center;
  margin-bottom: 8px; }

.side-product-image img {
  max-width: 100%;
  height: auto; }

.side-product-title {
  font-size: 0.9rem;
  text-align: center;
  color: #333; }

/* subtle hover */
.side-featured-product a:hover {
  opacity: 0.85; }

/*# sourceMappingURL=main.map */