:root {
  --ink: #142033;
  --muted: #5e6b7d;
  --line: #dde4ed;
  --panel: #f6f8fb;
  --white: #ffffff;
  --accent: #c62828;
  --accent-dark: #971d1d;
  --gold: #f2b84b;
  --blue: #1d5b8f;
  --green: #26734d;
  --shadow: 0 14px 36px rgba(19, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.utility {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  padding: 8px max(20px, 5vw);
  color: var(--white);
  background: #182536;
  font-size: 18px;
  font-weight: 700;
}

.contact-menu,
.cart-menu {
  position: relative;
}

.contact-trigger,
.cart-trigger {
  border: 0;
  padding: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cart-trigger {
  position: relative;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 0 currentColor;
}

.cart-count {
  position: absolute;
  top: -9px;
  right: -14px;
  display: none;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  padding: 2px 6px;
  color: var(--white);
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
  line-height: 16px;
  text-align: center;
}

.cart-count.active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-dropdown,
.cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  display: none;
  min-width: 270px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 5px 5px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-menu:hover .contact-dropdown,
.contact-menu:focus-within .contact-dropdown,
.contact-menu.open .contact-dropdown {
  display: block;
}

.cart-menu:hover .cart-dropdown,
.cart-menu:focus-within .cart-dropdown,
.cart-menu.open .cart-dropdown {
  display: none;
}

.cart-dropdown p {
  margin: 8px 0 12px;
  color: var(--muted);
}

.cart-dropdown a {
  color: var(--accent);
  font-weight: 800;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none !important;
}

.cart-drawer.open {
  display: block !important;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 32, 0);
  transition: background 160ms ease;
}

.cart-drawer.open .cart-drawer-backdrop {
  background: rgba(12, 20, 32, 0.42);
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--white);
  box-shadow: -18px 0 40px rgba(19, 32, 51, 0.24);
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 28px;
}

.cart-drawer-list {
  flex: 1;
  overflow: auto;
  padding: 18px;
}

.cart-line-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line-thumb {
  display: grid;
  place-items: center;
  min-height: 74px;
  border: 1px dashed #bac7d4;
  border-radius: 5px;
  background: var(--panel);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.cart-drawer-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.cart-drawer-footer .checkout-button,
.cart-drawer-footer .clear-btn {
  justify-content: center;
  text-align: center;
}

.quantity-stepper {
  display: inline-grid;
  grid-template-columns: 38px 52px 38px;
  align-items: center;
  width: fit-content;
  margin: 10px 0 8px;
  border: 4px solid var(--accent);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.quantity-stepper button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 32px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.quantity-stepper span {
  display: grid;
  place-items: center;
  min-width: 52px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.nav {
  display: grid;
  grid-template-columns: auto auto minmax(300px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px max(20px, 5vw);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.site-search {
  display: flex;
  justify-self: stretch;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin-left: 0;
}

.site-search input {
  width: 100%;
  min-width: 0;
  border: 2px solid var(--ink);
  border-right: 0;
  border-radius: 4px 0 0 4px;
  padding: 13px 14px;
  font-size: 18px;
}

.site-search button {
  min-width: 96px;
}

.site-search button,
.primary,
.quote-form button {
  border: 0;
  border-radius: 4px;
  padding: 15px 20px;
  color: var(--white);
  background: var(--accent);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.site-search button {
  border-radius: 0 4px 4px 0;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 21px;
  font-weight: 800;
  white-space: nowrap;
}

.shipping-note {
  justify-self: end;
  white-space: nowrap;
}

.products-menu {
  position: relative;
  padding: 18px 0;
}

.products-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.mega-menu {
  position: absolute;
  top: calc(100% - 18px);
  left: 0;
  display: none;
  grid-template-columns: 290px minmax(430px, 1fr);
  width: min(900px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  min-height: 430px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 6px 6px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.products-menu:hover .mega-menu,
.products-menu:focus-within .mega-menu,
.products-menu.open .mega-menu {
  display: grid;
}

.mega-models {
  max-height: 540px;
  overflow: auto;
  padding: 16px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.mega-model {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.mega-model:hover,
.mega-model.active {
  color: var(--white);
  background: var(--accent);
}

.mega-model span {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.75;
}

.mega-detail {
  padding: 30px;
}

.mega-detail h3 {
  margin: 0 0 14px;
  font-size: 34px;
}

.mega-detail p {
  color: var(--muted);
  font-size: 18px;
}

.mega-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.mega-option {
  display: block;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 16px;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  line-height: 1.35;
}

.mega-option strong {
  font-size: 20px;
}

.mega-option span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.mega-option:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.quote-link {
  color: var(--accent);
}

.shipping-note {
  display: inline-flex;
  min-width: auto;
  justify-content: center;
  margin-left: auto;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #182536;
}

.hero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 20, 32, 0.9), rgba(12, 20, 32, 0.52), rgba(12, 20, 32, 0.08));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  padding: 54px max(20px, 5vw);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-overlay p:not(.eyebrow) {
  max-width: 620px;
  color: #e8eef5;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.secondary {
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 4px;
  padding: 13px 20px;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.trust-strip div {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.trust-strip strong {
  color: var(--accent);
  font-size: 26px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.categories,
.product-browser,
.about,
.quote-section {
  padding: 64px max(20px, 5vw);
}

.shop-header {
  padding: 58px max(20px, 5vw) 34px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.shop-header h1 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(38px, 6vw, 64px);
}

.shop-header p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

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

.category-card {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.category-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.category-card span {
  color: var(--muted);
  font-size: 14px;
}

.product-browser {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  background: var(--panel);
}

.filters {
  position: sticky;
  top: 116px;
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.filters label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid #bfccd9;
  border-radius: 4px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

.clear-btn {
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.product-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.product-toolbar select {
  max-width: 180px;
}

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

.browse-prompt {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.browse-panel {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.model-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.model-pill {
  border: 1px solid #bfccd9;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.model-pill:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.product-card-link {
  color: inherit;
}

.product-card:hover,
.product-card:focus {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  outline: none;
  transform: translateY(-2px);
}

.product-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.22;
}

.product-thumb {
  display: grid;
  place-items: center;
  min-height: 130px;
  margin: -2px -2px 16px;
  border: 1px dashed #bac7d4;
  border-radius: 5px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-thumb.has-image {
  min-height: 170px;
  border-style: solid;
  background: var(--white);
}

.product-thumb img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: contain;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.view-listing {
  margin-top: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.add-cart-small,
.checkout-small {
  border: 0;
  border-radius: 4px;
  padding: 11px 10px;
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.add-cart-small {
  background: var(--accent);
}

.add-cart-small.added {
  background: var(--green);
}

.checkout-small {
  background: var(--ink);
}

.tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--white);
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.status {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.status.warning {
  color: var(--accent-dark);
}

.price {
  font-size: 20px;
  font-weight: 800;
}

.product-page {
  padding: 38px max(20px, 5vw) 70px;
  background: var(--panel);
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 800;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-photo-large {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 520px;
  border: 1px dashed #aebccc;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(198, 40, 40, 0.08), rgba(29, 91, 143, 0.08)),
    var(--panel);
  color: var(--muted);
  text-align: center;
}

.product-photo-large span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-photo-large strong {
  color: var(--ink);
  font-size: 42px;
}

.product-photo-large img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: contain;
  border-radius: 4px;
}

.product-purchase {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-purchase h1 {
  margin: 14px 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

.listing-category {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.listing-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.listing-specs div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.listing-specs dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.listing-specs dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.listing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.quantity-control {
  display: grid;
  max-width: 180px;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 14px;
}

.checkout-button {
  border: 0;
  border-radius: 4px;
  padding: 13px 18px;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.checkout-actions .clear-btn {
  display: inline-flex;
  align-items: center;
}

.product-description {
  margin-top: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.product-description h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
}

.product-description p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}

.checkout-page {
  background: var(--panel);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1.2fr);
  gap: 28px;
  padding: 38px max(20px, 5vw) 70px;
}

.order-summary,
.checkout-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.summary-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.summary-item .product-thumb {
  min-height: 130px;
  margin: 0;
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-form .full,
.checkout-form button,
.checkout-form #checkoutMessage {
  grid-column: 1 / -1;
}

.checkout-form button {
  border: 0;
  border-radius: 4px;
  padding: 15px 20px;
  color: var(--white);
  background: var(--accent);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.about p:last-child {
  color: var(--muted);
  font-size: 19px;
}

.photo-gallery {
  padding: 44px max(20px, 5vw) 56px;
  background: var(--panel);
}

.gallery-copy {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 18px;
}

.gallery-copy h2 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.12;
}

.gallery-frame {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 1180px;
  min-height: 520px;
  margin: 0 auto;
  overflow: visible;
  background: transparent;
}

.gallery-frame img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: contain;
  padding: 18px;
  background: transparent;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(20, 32, 51, 0.18);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.16);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-arrow:hover,
.gallery-arrow:focus {
  color: var(--white);
  background: var(--accent);
  outline: none;
}

.gallery-prev {
  left: 18px;
}

.gallery-next {
  right: 18px;
}

.gallery-caption {
  max-width: 1180px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.quote-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  background: #182536;
  color: var(--white);
}

.quote-section .eyebrow {
  color: var(--gold);
}

.quote-copy p:not(.eyebrow) {
  color: #dbe5ef;
  font-size: 18px;
}

.contact-card {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  font-size: 20px;
  font-weight: 800;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-form .full,
.quote-form button {
  grid-column: 1 / -1;
}

.site-footer {
  color: var(--ink);
  background: #f4f5f7;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(3, minmax(180px, 0.85fr));
  gap: 44px;
  align-items: start;
  padding: 56px max(24px, 4vw) 64px;
}

.footer-brand img {
  display: block;
  width: min(320px, 100%);
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.footer-column h2 {
  margin: 0 0 26px;
  color: #07111f;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #07111f;
  background: transparent;
  font: inherit;
  font-size: 20px;
  text-align: left;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px max(24px, 4vw);
  color: var(--white);
  background: #202020;
}

.footer-bottom a,
.footer-bottom span {
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.footer-bottom p {
  margin: 10px 0 0;
  color: var(--white);
  font-size: 18px;
}

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

  .nav-links {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .site-search {
    margin-left: 0;
  }

  .products-menu {
    position: static;
  }

  .mega-menu {
    left: 20px;
    width: calc(100vw - 40px);
    top: 210px;
    grid-template-columns: 1fr;
  }

  .mega-models {
    max-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip,
  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .browse-prompt {
    grid-template-columns: 1fr;
  }

  .product-browser,
  .about,
  .quote-section,
  .product-detail,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .gallery-copy {
    display: block;
  }

  .filters {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .utility {
    flex-direction: column;
    gap: 8px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .footer-column h2 {
    margin-bottom: 16px;
  }

  .footer-column a {
    margin-bottom: 13px;
    font-size: 18px;
  }

  .site-search {
    flex-direction: column;
  }

  .site-search input,
  .site-search button {
    border: 2px solid var(--ink);
    border-radius: 4px;
  }

  .hero,
  .hero img {
    min-height: 560px;
    height: 560px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(12, 20, 32, 0.74), rgba(12, 20, 32, 0.88));
  }

  .gallery-copy h2 {
    font-size: 27px;
  }

  .gallery-frame {
    min-height: 330px;
  }

  .gallery-frame img {
    height: 330px;
    padding: 12px;
  }

  .gallery-arrow {
    width: 42px;
    height: 42px;
    font-size: 34px;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .trust-strip,
  .category-grid,
  .product-grid,
  .mega-options,
  .quote-form,
  .checkout-form,
  .summary-item {
    grid-template-columns: 1fr;
  }

  .product-toolbar,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .product-toolbar select {
    max-width: none;
  }

  .product-detail {
    padding: 18px;
  }

  .product-photo-large {
    min-height: 300px;
  }

  .listing-specs {
    grid-template-columns: 1fr;
  }
}

.woocommerce-product-browser .product-grid {
  align-items: stretch;
}

.woocommerce-product-browser .product-card {
  list-style: none;
}

.woocommerce-product-browser .button,
.woocommerce-product-actions .button,
.woocommerce-cart-form .button,
.woocommerce-checkout .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border: 0;
  border-radius: 999px;
  background: #1d4f45;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  min-height: 44px;
  padding: 0.8rem 1rem;
  text-decoration: none;
}

.woocommerce-product-browser .button:hover,
.woocommerce-product-actions .button:hover,
.woocommerce-cart-form .button:hover,
.woocommerce-checkout .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: #123c35;
  color: #fff;
}

.woocommerce-product-browser .added_to_cart {
  color: #1d4f45;
  font-weight: 800;
  margin-left: 0.75rem;
  text-decoration: none;
}

.woocommerce-ordering select,
.woocommerce .quantity input.qty {
  border: 1px solid #d6ded9;
  border-radius: 999px;
  color: #16352f;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
}

.woocommerce .quantity input.qty {
  max-width: 90px;
  text-align: center;
}

.woocommerce-product-actions form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.woocommerce-product-actions .single_add_to_cart_button {
  min-width: 150px;
}

.wc-filter-list {
  display: grid;
  gap: 0.55rem;
}

.wc-filter-list a {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe4df;
  border-radius: 8px;
  color: #173a33;
  display: flex;
  font-weight: 800;
  justify-content: space-between;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
}

.wc-filter-list a.active,
.wc-filter-list a:hover {
  background: #edf6f2;
  border-color: #1d4f45;
}

.woocommerce-pagination {
  margin-top: 2rem;
}

.woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
  border: 1px solid #d6ded9;
  border-radius: 999px;
  color: #173a33;
  display: inline-flex;
  font-weight: 800;
  min-width: 42px;
  padding: 0.6rem 0.85rem;
  text-decoration: none;
}

.woocommerce-pagination span.current {
  background: #1d4f45;
  border-color: #1d4f45;
  color: #fff;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: #f4f8f6;
  border: 1px solid #dbe4df;
  border-radius: 8px;
  color: #173a33;
  margin: 1rem auto;
  max-width: 1180px;
  padding: 1rem;
}

.woocommerce-error {
  border-color: #c77c62;
}

.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-checkout,
.woocommerce-order,
.woocommerce-page-content {
  margin: 2rem auto;
  max-width: 1180px;
  padding: 0 1.25rem;
}

.woocommerce table.shop_table {
  background: #fff;
  border: 1px solid #dbe4df;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-bottom: 1px solid #edf2ef;
  padding: 0.9rem;
  text-align: left;
}

.woocommerce-checkout input,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  border: 1px solid #d6ded9;
  border-radius: 8px;
  min-height: 42px;
  padding: 0.65rem 0.8rem;
}
