:root {
  --ink: #20282b;
  --muted: #667276;
  --line: #dce3df;
  --surface: #ffffff;
  --surface-soft: #f4f7f5;
  --brand: #1f5a46;
  --brand-dark: #113b31;
  --accent: #c47a2c;
  --accent-soft: #fff3e5;
  --focus: #168e9e;
  --shadow: 0 18px 50px rgba(20, 34, 36, 0.14);
  --radius: 8px;
  --mobile-header-height: 73px;
  --page-h1-size: clamp(1.7rem, 2.55vw, 2.55rem);
  --product-title-size: 0.78rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--brand-dark);
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  overflow: visible;
}

.header-inner {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 260px;
  min-width: 260px;
  position: relative;
  z-index: 2;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.brand-name,
.brand-line {
  display: block;
}

.brand-name {
  font-weight: 800;
  font-size: 1.22rem;
  line-height: 1.1;
}

.brand-line {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.25;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  position: static;
  align-self: stretch;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.28rem;
  min-width: 0;
  flex-wrap: nowrap;
  min-height: 100%;
}

.nav-item {
  position: relative;
  flex: 0 0 auto;
  min-height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.62rem 0.66rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-dark);
  background: var(--surface-soft);
  outline: none;
}

.nav-link.is-active,
.nav-item.is-active > .nav-link {
  color: #fff;
  background: var(--brand);
  box-shadow: none;
  outline: none;
}

.nav-link.is-active:hover,
.nav-link.is-active:focus,
.nav-item.is-active > .nav-link:hover,
.nav-item.is-active > .nav-link:focus {
  color: #fff;
  background: var(--brand-dark);
}

.nav-parent::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: min(680px, calc(100vw - 40px));
  transform: translateY(0);
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.has-menu:hover .mega-menu,
.has-menu:focus-within .mega-menu,
.has-menu.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 0.75rem;
}

.mega-menu.is-narrow .mega-grid {
  grid-template-columns: 1fr;
}

.mega-grid a {
  display: block;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.mega-grid a:hover,
.mega-grid a:focus {
  background: var(--surface-soft);
  color: var(--brand-dark);
  outline: none;
}

.home-hero {
  position: relative;
  min-height: clamp(500px, 46vw, 650px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background-color: #fbfcfb;
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.home-hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 68% center;
}

.home-brand-lockup {
  margin: 0 0 1.7rem;
  color: #173652;
  font-size: clamp(2.85rem, 5vw, 4.7rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.98), 0 0 8px rgba(255, 255, 255, 0.9), 0 0 18px rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
}

.home-brand-lockup strong {
  font-weight: 900;
}

.home-hero h1 {
  max-width: 560px;
  margin: 0;
  color: #173652;
  font-size: var(--page-h1-size);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.98), 0 0 8px rgba(255, 255, 255, 0.9), 0 0 18px rgba(255, 255, 255, 0.62);
}

.home-hero-rule {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 1.4rem;
  background: #39813d;
  box-shadow: 0 0 7px rgba(255, 255, 255, 0.95);
}

.home-hero-copy {
  max-width: 470px;
  margin: 1.25rem 0 0;
  color: #2f3133;
  font-weight: 500;
  -webkit-text-stroke: 0.36px currentColor;
  font-size: 1.1rem;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 1), 0 0 3px rgba(255, 255, 255, 0.96), 0 0 8px rgba(255, 255, 255, 0.75);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.home-hero .hero-actions .button {
  min-width: 172px;
  box-shadow: 0 5px 14px rgba(20, 52, 43, 0.24), 0 1px 3px rgba(255, 255, 255, 0.72);
}

.button.button-outline {
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-dark);
}

.button.button-outline:hover,
.button.button-outline:focus {
  background: #fff;
  border-color: var(--brand-dark);
  outline: none;
}

.home-benefits {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.home-benefits-inner {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: 2rem 0;
}

.home-benefit {
  min-width: 0;
  padding: 0.25rem;
  text-align: center;
}

.home-benefit-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 0.8rem;
  place-items: center;
  border-radius: 50%;
  background: #e8f2e8;
  color: var(--brand);
}

.home-benefit-icon svg {
  width: 32px;
  height: 32px;
}

.home-benefit h2 {
  margin: 0;
  color: #173652;
  font-size: 0.86rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-benefit p {
  margin: 0.38rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus {
  background: var(--brand-dark);
  outline: none;
}

.button:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.82;
}

.button:disabled:hover,
.button:disabled:focus {
  background: var(--line);
}

.button-secondary {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
}

.button-secondary:hover,
.button-secondary:focus {
  background: var(--accent-soft);
  outline: none;
}

.section,
.page-heading {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding: 4rem max(16px, calc((100% - 1180px) / 2));
  background: var(--surface-soft);
}

.page-heading {
  padding: 4.5rem 0 2.5rem;
}

.page-heading h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.page-heading h1 {
  font-size: var(--page-h1-size);
}

.page-heading p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-heading.compact {
  margin-bottom: 1rem;
}

body[data-page="category"] .page-heading {
  padding: 2.2rem 0 1rem;
}

body[data-page="category"] .page-heading .eyebrow {
  display: none;
}

body[data-page="category"] .page-heading h1 {
  font-size: var(--page-h1-size);
}

body[data-page="category"] .page-heading p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 0.55rem;
  font-size: 0.93rem;
}

body[data-page="category"] .section:not(.section-muted) {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

body[data-page="quote"] .page-heading {
  width: min(900px, calc(100% - 32px));
  padding: 2.5rem 0 1rem;
}

body[data-page="quote"] .page-heading h1 {
  font-size: var(--page-h1-size);
}

body[data-page="category"] .section-heading.compact {
  margin-bottom: 0.75rem;
}

body[data-page="category"] .section-heading.compact .eyebrow {
  display: none;
}

body[data-page="category"] .section-heading.compact h2 {
  font-size: 1.25rem;
}

body[data-page="category"] .filter-grid {
  gap: 0.75rem;
}

body[data-page="category"] .filter-card-icon {
  width: 30px;
  height: 30px;
  font-size: 0.78rem;
}

body[data-page="category"] .filter-card-title {
  font-size: 0.86rem;
  font-weight: 800;
}

body[data-page="category"] .filter-card-meta {
  font-size: 0.74rem;
}

.catalog-page {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 108px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.filter-panel-header {
  padding: 1rem 1rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.filter-panel-header h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.filter-panel {
  padding: 1rem;
}

.filter-group {
  margin: 0 0 1rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
}

.filter-group h3 {
  margin: 0 0 0.65rem;
  color: var(--brand-dark);
  font-size: 0.84rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkbox-list {
  display: grid;
  gap: 0.52rem;
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.91rem;
  line-height: 1.3;
  cursor: pointer;
}

.check-option input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0.13rem 0 0;
  accent-color: var(--brand);
}

.filter-result-count {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.filter-clear {
  width: 100%;
  border-color: var(--line);
  background: #fff;
  color: var(--brand-dark);
}

.filter-clear:hover,
.filter-clear:focus {
  border-color: var(--brand);
  background: var(--surface-soft);
  outline: none;
}

.filter-clear:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.filter-panel-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-dark);
  font-weight: 900;
  cursor: pointer;
}

.filter-toggle-count {
  display: inline-grid;
  min-width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
}

.catalog-content {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.catalog-heading h1 {
  margin: 0;
  font-size: var(--page-h1-size);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.site-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.site-breadcrumb a {
  color: var(--brand);
  text-decoration: none;
}

.site-breadcrumb a:hover,
.site-breadcrumb a:focus {
  color: var(--brand-dark);
  text-decoration: underline;
  outline: none;
}

.catalog-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.catalog-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0 1rem;
}

.catalog-results-bar .product-count {
  margin: 0;
  white-space: nowrap;
}

.catalog-controls {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.sort-control,
.page-size-control {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-height: 40px;
  padding: 0 2.3rem 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
}

.page-size-control[hidden] {
  display: none;
}

.sort-control::after,
.page-size-control::after {
  content: "";
  position: absolute;
  right: 0.78rem;
  top: 50%;
  width: 0.52rem;
  height: 0.52rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.control-label {
  color: var(--muted);
  white-space: nowrap;
}

.select-display {
  margin-left: 0.68rem;
  color: var(--ink);
  white-space: nowrap;
}

.sort-control select,
.page-size-control select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.sort-control:focus-within,
.page-size-control:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(22, 142, 158, 0.16);
}

.sort-control select:focus-visible,
.page-size-control select:focus-visible {
  outline: none;
}

.view-toggle {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.view-toggle-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.view-toggle-button:last-child {
  border-right: 0;
}

.view-toggle-button:hover,
.view-toggle-button:focus-visible,
.view-toggle-button.is-active {
  background: var(--surface-soft);
  color: var(--brand-dark);
}

.view-toggle-button:focus-visible {
  outline: 2px solid rgba(22, 142, 158, 0.24);
  outline-offset: -2px;
}

.view-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  grid-template-rows: repeat(2, 5px);
  gap: 3px;
}

.view-icon-grid span,
.view-icon-list span {
  display: block;
  background: currentColor;
}

.view-icon-list {
  display: grid;
  gap: 3px;
  width: 15px;
}

.view-icon-list span {
  height: 3px;
  border-radius: 999px;
}

.catalog-content .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  scroll-margin-top: 112px;
}

.product-grid.is-list-view {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.product-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-overview-grid,
.filter-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.category-card,
.filter-card,
.product-card,
.contact-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.category-card {
  min-height: 164px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.category-card:hover,
.category-card:focus {
  border-color: var(--brand);
  box-shadow: 0 12px 30px rgba(26, 61, 53, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.category-icon,
.filter-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--brand);
  font-weight: 900;
}

.category-card-title,
.filter-card-title {
  display: block;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.2;
}

.category-card-meta,
.filter-card-meta,
.product-meta,
.product-count,
.small-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-card {
  min-height: 90px;
  padding: 0.62rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.45rem;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.filter-card:hover,
.filter-card:focus,
.filter-card.is-active {
  border-color: var(--brand);
  outline: none;
}

.filter-card.is-active {
  background: #f0f7f3;
}

.filter-card:hover {
  transform: translateY(-2px);
}

.filter-card.is-active .filter-card-icon {
  background: var(--brand);
  color: #fff;
}

.product-list-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.68rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.product-list-item:hover,
.product-list-item:focus-within {
  border-color: var(--brand);
  box-shadow: 0 8px 18px rgba(26, 61, 53, 0.08);
}

.product-list-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  aspect-ratio: 1;
  padding: 0.25rem;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

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

.product-list-main {
  min-width: 0;
}

.product-list-title {
  color: var(--ink);
  font-size: var(--product-title-size);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.product-list-title:hover,
.product-list-title:focus {
  color: var(--brand);
  text-decoration: underline;
  outline: none;
}

.product-list-main .product-meta {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.68rem;
  line-height: 1.2;
}

.product-list-main .product-card-pack {
  margin: 0.32rem 0 0;
}

.product-list-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
  white-space: nowrap;
}

.text-action {
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font-weight: 900;
}

.text-action:hover,
.text-action:focus {
  color: var(--brand-dark);
  text-decoration: underline;
  outline: none;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.product-card-link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.product-card:hover,
.product-card:focus-within {
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(26, 61, 53, 0.1);
  transform: translateY(-1px);
}

.product-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0.4rem;
  background: var(--surface-soft);
}

.product-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.16s ease;
}

.product-card img.is-hover-loading {
  opacity: 0.72;
}

@media (prefers-reduced-motion: reduce) {
  .product-card img {
    transition: none;
  }
}

.product-card-body {
  display: flex;
  flex-direction: column;
  padding: 0.72rem 0.76rem 0.15rem;
}

.product-meta {
  margin: 0 0 0.4rem;
  color: var(--brand);
  font-weight: 800;
}

.product-card .product-meta {
  margin-bottom: 0.28rem;
  font-size: 0.66rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.product-card h3,
.product-card-title {
  display: -webkit-box;
  margin: 0 0 0.56rem;
  min-height: calc(var(--product-title-size) * 2.5);
  overflow: hidden;
  font-size: var(--product-title-size);
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-list-title {
  display: -webkit-box;
  max-height: calc(var(--product-title-size) * 2.5);
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-pack {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: 0.62rem 0.76rem 0.82rem;
}

.product-card-actions .product-action-button {
  min-width: 0;
  width: 100%;
}

.product-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.48rem 0.58rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.product-action-add {
  background: var(--brand);
  color: #fff;
}

.product-action-add:hover,
.product-action-add:focus {
  background: var(--brand-dark);
  color: #fff;
  outline: none;
}

.product-action-choice {
  border-color: rgba(196, 122, 44, 0.48);
  background: var(--accent-soft);
  color: var(--accent);
}

.product-action-choice:hover,
.product-action-choice:focus {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  outline: none;
}

.product-choice-panel {
  padding: 0.58rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.product-card > .product-choice-panel {
  margin: -0.38rem 0.76rem 0.82rem;
}

.product-list-item > .product-choice-panel {
  grid-column: 1 / -1;
  margin-top: 0.1rem;
}

.matching-product-copy .product-choice-panel {
  width: 100%;
}

.product-choice-label {
  margin: 0 0 0.42rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.product-choice-option {
  min-height: 30px;
  padding: 0.38rem 0.5rem;
  border: 1px solid rgba(31, 90, 70, 0.24);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
}

.product-choice-option:hover,
.product-choice-option:focus {
  border-color: var(--brand);
  background: #fff;
  color: var(--brand-dark);
  outline: none;
}

.product-choice-status {
  min-height: 1rem;
  margin: 0.42rem 0 0;
  color: var(--brand);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.3;
}

.product-list-actions .product-action-button,
.matching-product-copy .product-action-button {
  flex: 0 0 104px;
  width: 104px;
  min-height: 32px;
  padding: 0.46rem 0.56rem;
  font-size: 0.7rem;
}

.product-list-actions .text-link,
.matching-product-copy .text-link {
  flex: 0 0 82px;
  width: 82px;
}

.product-list-actions .text-link,
.matching-product-copy .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.43rem 0.48rem;
  border: 1px solid rgba(31, 90, 70, 0.28);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.product-list-actions .text-link:hover,
.product-list-actions .text-link:focus,
.matching-product-copy .text-link:hover,
.matching-product-copy .text-link:focus {
  border-color: var(--brand);
  background: var(--surface-soft);
  color: var(--brand-dark);
  text-decoration: none;
  outline: none;
}

.text-link {
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  color: var(--brand-dark);
  text-decoration: underline;
  outline: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.catalog-pagination[hidden] {
  display: none;
}

.pagination-button,
.pagination-ellipsis {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.pagination-button {
  cursor: pointer;
}

.pagination-button:hover,
.pagination-button:focus-visible,
.pagination-button.is-active {
  border-color: var(--brand);
  background: var(--surface-soft);
  color: var(--brand-dark);
}

.pagination-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pagination-ellipsis {
  display: inline-grid;
  place-items: center;
  color: var(--muted);
}

.product-detail-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
  text-decoration: underline;
  outline: none;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.product-media {
  display: grid;
  gap: 0.9rem;
}

.product-detail-main-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.product-image-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.product-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--surface-soft);
  cursor: pointer;
  overflow: hidden;
}

.product-thumb.is-active {
  border-color: var(--brand);
}

.product-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.product-detail-info {
  min-width: 0;
}

.product-detail-info h1 {
  margin: 0;
  font-size: var(--page-h1-size);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.variant-selector {
  margin-top: 1rem;
}

.variant-selector-label {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.variant-option {
  min-height: 38px;
  padding: 0.52rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.variant-option:hover,
.variant-option:focus,
.variant-option.is-active {
  border-color: var(--brand);
  outline: none;
}

.variant-option.is-active {
  background: var(--brand);
  color: #fff;
}

.variant-helper {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.product-spec-list {
  margin: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.product-spec-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.product-spec-list dt {
  color: var(--muted);
  font-weight: 800;
}

.product-spec-list dd {
  margin: 0;
  font-weight: 700;
}

.size-details-block {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.size-details-block.is-selected {
  border-color: rgba(31, 90, 70, 0.42);
  background: var(--surface-soft);
}

.size-details-block h2 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  line-height: 1.2;
}

.size-details-prompt {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.size-details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.size-detail-cell {
  min-width: 0;
  padding: 0.68rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.size-detail-cell span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.size-detail-cell strong {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.88rem;
  line-height: 1.25;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.quote-add-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.quote-add-copy {
  display: grid;
  gap: 0.15rem;
}

.quote-add-label {
  font-weight: 900;
}

.quote-add-total {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.quantity-stepper {
  display: inline-grid;
  grid-template-columns: 42px 72px 42px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.quantity-stepper button {
  min-height: 42px;
  border: 0;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
}

.quantity-stepper button:hover,
.quantity-stepper button:focus {
  background: var(--accent-soft);
}

.quantity-stepper input {
  width: 72px;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  -moz-appearance: textfield;
}

.quantity-stepper input::-webkit-outer-spin-button,
.quantity-stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.quote-status {
  min-height: 1.45rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-weight: 800;
}

.quote-status a {
  color: var(--brand);
  text-decoration: none;
}

.quote-status a:hover,
.quote-status a:focus {
  color: var(--brand-dark);
  text-decoration: underline;
  outline: none;
}

.product-detail-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.product-detail-section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
}

.product-detail-section p {
  max-width: 880px;
  color: var(--muted);
}

.product-description-list {
  display: grid;
  gap: 0.62rem;
  max-width: 900px;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.product-description-list li {
  padding-left: 0.1rem;
}

.matching-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.matching-product-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.matching-product-thumb {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1;
  padding: 0.25rem;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

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

.matching-product-copy {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.matching-product-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.matching-product-title:hover,
.matching-product-title:focus {
  color: var(--brand);
  text-decoration: underline;
  outline: none;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.option-list span {
  display: inline-flex;
  padding: 0.42rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.quote-review-section {
  padding-top: 0;
  padding-bottom: 1.5rem;
  max-width: 900px;
}

.quote-review {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.quote-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.quote-review-header .eyebrow {
  margin: 0;
}

.quote-review-header h2 {
  margin: 0.12rem 0 0;
  font-size: 1.35rem;
}

.quote-clear {
  border-color: var(--line);
}

.quote-line-list {
  display: grid;
  gap: 0.75rem;
}

.quote-line-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.quote-line-title {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.quote-line-title:hover,
.quote-line-title:focus {
  color: var(--brand);
  text-decoration: underline;
  outline: none;
}

.quote-line-meta {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.quote-line-quantities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.quote-line-quantities span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.quote-line-quantities strong {
  color: var(--brand-dark);
}

.quote-line-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quote-remove {
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font-weight: 900;
}

.quote-remove:hover,
.quote-remove:focus {
  color: var(--brand-dark);
  text-decoration: underline;
  outline: none;
}

.quote-empty-state {
  padding: 0.95rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 800;
}

.form-section {
  max-width: 900px;
  padding-top: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-form {
  padding: 1.25rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form label span {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.85rem;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.button:focus-visible,
.nav-toggle:focus-visible,
.filter-panel-toggle:focus-visible,
.check-option input:focus-visible,
.filter-card:focus-visible,
.category-card:focus-visible,
.product-card-link:focus-visible,
.product-image-link:focus-visible,
.quantity-stepper button:focus-visible,
.quantity-stepper input:focus-visible,
.quote-remove:focus-visible {
  outline: 3px solid rgba(22, 142, 158, 0.34);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--brand-dark);
  font-weight: 800;
}

.contact-card {
  padding: 1.25rem;
}

.contact-card h2 {
  margin: 0 0 1rem;
}

.contact-card dl,
.contact-card dd {
  margin: 0;
}

.contact-card address {
  margin: 0;
  font-style: normal;
  line-height: 1.55;
}

.contact-card div {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.contact-card dt {
  color: var(--muted);
  font-weight: 800;
}

.contact-card a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus {
  text-decoration: underline;
  outline: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  font-size: 0.86rem;
  font-style: normal;
  text-align: right;
}

.footer-inner a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus {
  text-decoration: underline;
  outline: none;
}

.footer-contact .footer-address {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

@media (max-width: 1440px) and (min-width: 1361px) {
  .header-inner {
    width: min(1360px, calc(100% - 32px));
    gap: 1rem;
  }

  .brand {
    flex-basis: 230px;
    min-width: 230px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    font-size: 0.76rem;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-line {
    font-size: 0.8rem;
  }

  .nav-link {
    min-height: 44px;
    padding: 0.54rem 0.46rem;
    font-size: 0.78rem;
  }

  .nav-parent::after {
    width: 0.32rem;
    height: 0.32rem;
    margin-left: 0.25rem;
  }
}

@media (max-width: 1250px) {
  .catalog-content .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .home-hero-inner {
    padding: 3.5rem 0;
  }

  .home-hero h1 {
    max-width: 500px;
  }

  .catalog-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .catalog-content .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .product-detail-layout {
    gap: 1.25rem;
  }
}

@media (max-width: 1360px) {
  body {
    padding-top: var(--mobile-header-height);
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    background: #fff;
    backdrop-filter: none;
  }

  .header-inner {
    width: min(100% - 32px, 1180px);
    min-height: 72px;
    justify-content: space-between;
    gap: 1rem;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 60px);
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 0.74rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-line {
    font-size: 0.78rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 1001;
    display: none;
    width: 100%;
    max-height: calc(100vh - var(--mobile-header-height));
    max-height: calc(100dvh - var(--mobile-header-height));
    overflow-y: auto;
    padding: 1rem;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(20, 34, 36, 0.16);
    transform: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    display: block;
    min-height: auto;
  }

  .nav-item {
    display: block;
    min-height: 0;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    padding: 0.8rem 0.9rem;
    font-size: 1rem;
  }

  .mega-menu {
    position: static;
    display: none;
    width: auto;
    padding: 0 0 0.85rem 0.65rem;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border: 0;
    box-shadow: none;
  }

  .has-menu:hover .mega-menu,
  .has-menu:focus-within .mega-menu {
    display: none;
    transform: none;
  }

  .has-menu.is-open .mega-menu {
    display: block;
  }

  .mega-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {
  .home-hero-inner {
    width: min(100% - 32px, 1180px);
  }

  .home-benefits-inner {
    width: min(100% - 32px, 1180px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .catalog-page {
    padding-top: 1.25rem;
  }

  .filter-panel-toggle {
    display: flex;
  }

  .catalog-layout {
    display: block;
  }

  .catalog-sidebar {
    position: static;
    display: none;
    margin-bottom: 1rem;
  }

  .catalog-sidebar.is-open {
    display: block;
  }

  .catalog-toolbar {
    display: block;
  }

  .catalog-results-bar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .catalog-controls {
    flex-wrap: wrap;
    justify-content: flex-start;
    min-width: 0;
  }

  .catalog-content .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-content .product-grid.is-list-view {
    grid-template-columns: 1fr;
  }

  .size-details-grid,
  .matching-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .brand-line {
    display: none;
  }

  .home-hero-inner {
    padding: 2.5rem 0;
  }

  .home-brand-lockup {
    margin-bottom: 1.25rem;
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .home-hero h1 {
    max-width: 500px;
  }

  .home-hero-copy {
    max-width: 440px;
    font-size: 0.95rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero .hero-actions .button {
    width: min(100%, 360px);
  }

  .home-hero-media img {
    object-position: 84% center;
  }

  .home-benefits-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-benefit {
    padding: 0.25rem;
  }

  .home-benefit:last-child {
    grid-column: 1 / -1;
  }

  .category-overview-grid,
  .filter-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  body[data-page="category"] .catalog-content .product-grid:not(.is-list-view) {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .category-card,
  .filter-card {
    min-height: 150px;
    padding: 0.85rem;
  }

  body[data-page="category"] .filter-card {
    min-height: 90px;
    padding: 0.62rem;
  }

  body[data-page="category"] .filter-card-icon {
    width: 30px;
    height: 30px;
    font-size: 0.74rem;
  }

  body[data-page="category"] .filter-card-title {
    font-size: 0.82rem;
  }

  .category-card-title,
  .filter-card-title,
  .product-card h3,
  .product-card-title {
    font-size: var(--product-title-size);
  }

  .category-card-meta,
  .filter-card-meta,
  .product-meta,
  .product-count {
    font-size: 0.82rem;
  }

  .section,
  .page-heading,
  .section-muted {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .product-heading {
    display: block;
  }

  .catalog-results-bar {
    display: grid;
  }

  .catalog-controls {
    width: 100%;
  }

  .sort-control,
  .page-size-control {
    flex: 1 1 auto;
  }

  .sort-control select,
  .page-size-control select {
    width: 100%;
  }

  .product-list-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .product-list-thumb {
    width: 58px;
  }

  .product-list-actions {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .product-card-actions {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .product-card-actions .product-action-button {
    width: 100%;
  }

  .contact-layout,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem 0;
  }

  .footer-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
    text-align: left;
  }

  .product-detail-page {
    padding-top: 1.5rem;
  }

  .product-image-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-spec-list div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .variant-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .size-details-grid,
  .matching-products-grid {
    grid-template-columns: 1fr;
  }

  .matching-product-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .matching-product-thumb {
    width: 58px;
  }

  .quote-add-panel,
  .product-detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .product-detail-actions .button,
  .product-detail-actions .text-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .quote-add-panel .quantity-stepper,
  .quote-line-controls .quantity-stepper {
    width: 100%;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .quote-add-panel .quantity-stepper input,
  .quote-line-controls .quantity-stepper input {
    width: 100%;
  }

  .quote-review-header {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-line-item {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .quote-line-controls {
    align-items: stretch;
    flex-direction: column;
  }
}

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

@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  :root {
    --mobile-header-height: 60px;
  }

  body {
    padding-top: 0;
  }

  .site-header {
    position: sticky;
    background: #fff;
  }

  .header-inner {
    min-height: var(--mobile-header-height);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 0.7rem;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .home-benefits-inner {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .home-benefit {
    grid-column: span 2;
  }

  .home-benefit:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .home-benefit:last-child {
    grid-column: 4 / span 2;
  }

  .home-benefit-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 0.65rem;
  }

  .home-benefit-icon svg {
    width: 28px;
    height: 28px;
  }

  .home-benefit h2 {
    font-size: 0.78rem;
  }

  .home-benefit p {
    font-size: 0.74rem;
  }

  .catalog-page {
    padding-top: 0.75rem;
  }

  .filter-panel-toggle {
    min-height: 42px;
    margin-bottom: 0.75rem;
    padding: 0.55rem 0.75rem;
  }

  .catalog-toolbar {
    padding-bottom: 0.75rem;
  }

  .site-breadcrumb {
    margin-bottom: 0.25rem;
    font-size: 0.78rem;
  }

  .catalog-heading h1 {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
  }

  .catalog-results-bar {
    gap: 0.55rem;
    padding: 0.55rem 0 0.7rem;
  }

  .catalog-controls {
    gap: 0.45rem;
  }

  .sort-control,
  .page-size-control {
    min-height: 38px;
    font-size: 0.78rem;
  }

  .view-toggle-button {
    width: 38px;
    height: 38px;
  }

  .product-grid.is-list-view {
    gap: 0.5rem;
  }

  .product-list-item {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.55rem;
  }

  .product-list-thumb {
    width: 62px;
  }

  .product-list-main .product-meta {
    margin-bottom: 0.12rem;
    font-size: 0.64rem;
  }

  .product-list-title {
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .product-list-main .product-card-pack {
    margin-top: 0.22rem;
    font-size: 0.7rem;
  }

  .product-list-actions {
    grid-column: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .product-list-actions .product-action-button,
  .matching-product-copy .product-action-button {
    flex-basis: 96px;
    width: 96px;
  }

  .product-list-actions .text-link,
  .matching-product-copy .text-link {
    flex-basis: 78px;
    width: 78px;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .category-card,
  .filter-card {
    padding: 0.72rem;
  }

  .product-card-body {
    padding: 0.72rem 0.72rem 0.15rem;
  }

  .category-icon,
  .filter-card-icon {
    width: 40px;
    height: 40px;
  }
}
