/* KT Electricals — one stylesheet for every page. Colours come from the logo: red, black and the copper of the wire. */
:root {
  --color-background: #f4f2ee;
  --color-surface: #ffffff;
  --color-surface-2: #ece8e1;
  --color-ink: #161616;
  --color-muted: #5a5753;
  --color-primary: #a8362f;
  --color-primary-ink: #ffffff;
  --color-primary-hover: #8a2a24;
  --color-dark: #232220;
  --color-dark-2: #2e2c29;
  --color-copper: #b98552;
  --color-border: #ddd7cc;
  --color-destructive: #b3121a;
  --color-whatsapp: #1f7a4d;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-control: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--color-primary);
}
a:hover {
  color: var(--color-primary-hover);
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 800;
}
h3 {
  font-size: 1.12rem;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--color-copper);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- controls ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: var(--radius-control);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn svg {
  width: 20px;
  height: 20px;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-ink);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-primary-ink);
}
.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.btn-secondary:hover {
  background: var(--color-ink);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--color-ink);
}
.btn-light:hover {
  background: var(--color-surface-2);
  color: var(--color-ink);
}
.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}
.btn-whatsapp:hover {
  background: #17603c;
  color: #fff;
}
.btn-small {
  padding: 6px 12px;
  font-size: 0.875rem;
  border-width: 1px;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
}
.link-more {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
}
.link-more:hover {
  text-decoration: underline;
}
input,
textarea,
select {
  font: inherit;
  color: var(--color-ink);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  padding: 10px 12px;
  width: 100%;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 0;
  border-color: var(--color-primary);
}
label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-control);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.chip[aria-pressed="true"] {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}
.chip .n {
  opacity: 0.7;
  font-size: 0.8rem;
}
.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-ink);
}
.badge {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
}

/* ---------- top bar, header, category nav ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 7px var(--gutter);
  background: var(--color-dark);
  color: #d9d5cd;
  font-size: 0.84rem;
}
.topbar-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar a:hover {
  color: var(--color-copper);
}
.topbar svg {
  width: 15px;
  height: 15px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-surface);
  box-shadow: 0 1px 0 var(--color-border);
}
.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px var(--gutter);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-ink);
  text-decoration: none;
  flex: none;
}
.logo:hover {
  color: var(--color-ink);
}
.logo-img {
  height: 46px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.logo-text small {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.header-search {
  flex: 1;
  max-width: 480px;
  display: flex;
}
.header-search input {
  padding: 10px 14px;
  border-radius: var(--radius-control) 0 0 var(--radius-control);
  border-right: 0;
}
.header-search-btn {
  flex: none;
  width: 46px;
  border: 0;
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.header-search-btn:hover {
  background: var(--color-primary-hover);
}
.header-search-btn svg {
  width: 20px;
  height: 20px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.site-nav a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary);
}
.list-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  background: var(--color-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.list-btn:hover,
.list-btn[aria-current="page"] {
  background: var(--color-primary-hover);
  color: #fff;
}
.list-btn svg {
  width: 18px;
  height: 18px;
}
.cat-nav {
  display: flex;
  gap: 4px;
  padding: 0 var(--gutter);
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav:empty {
  display: none;
}
.cat-nav a {
  color: var(--color-ink);
  border-bottom: 3px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 14px;
  white-space: nowrap;
}
.cat-nav a:hover,
.cat-nav a[aria-current="page"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: #cfcac0;
  padding: 56px var(--gutter) 24px;
  margin-top: 80px;
  border-top: 3px solid var(--color-copper);
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--color-copper);
}
.logo-footer {
  color: #fff;
  margin-bottom: 14px;
}
.logo-footer .logo-img {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 4px;
  height: 52px;
}
.logo-footer .logo-text small {
  color: #a9a499;
}
.site-footer h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-copper);
  margin-bottom: 12px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  text-decoration: underline;
}
.copyright {
  margin: 36px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #a9a499;
}
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.wa-float:hover {
  color: #fff;
  background: #17603c;
}
.wa-float svg {
  width: 30px;
  height: 30px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 160%);
  z-index: 40;
  background: var(--color-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: transform 0.25s;
  border-left: 4px solid var(--color-copper);
}
.toast a {
  color: var(--color-copper);
  margin-left: 10px;
  font-weight: 700;
}
.toast.show {
  transform: translate(-50%, 0);
}

/* ---------- layout pieces ---------- */
.section {
  padding: 64px var(--gutter) 0;
}
.section-dark {
  background: var(--color-dark);
  color: #fff;
  padding-bottom: 64px;
  margin-top: 64px;
}
.section-dark h3 {
  color: #fff;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 0;
}
.kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 8px;
}
.kicker-light {
  color: var(--color-copper);
}
.lead {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 62ch;
}
.muted {
  color: var(--color-muted);
}
.page-head {
  padding: 40px var(--gutter) 8px;
}
.page-head h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
.page-banner {
  position: relative;
  padding: 72px var(--gutter) 56px;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.7) 55%, rgba(10, 10, 10, 0.35) 100%),
    var(--banner-img, none) center / cover no-repeat, var(--color-dark);
  color: #fff;
}
.page-banner h1 {
  max-width: 20ch;
}
.page-banner p {
  max-width: 60ch;
  color: #e2ded5;
  font-size: 1.1rem;
}
.crumbs {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 14px;
}
.crumbs a {
  color: var(--color-muted);
}
.page-banner .crumbs,
.page-banner .crumbs a {
  color: #cfcac0;
}
.state {
  padding: 40px 0;
  color: var(--color-muted);
}
.state-error {
  color: var(--color-destructive);
}
.prose {
  max-width: 70ch;
}

/* ---------- home: hero ---------- */
.hero {
  --hero-img: var(--hero-lg, none);
  position: relative;
  padding: 88px var(--gutter) 0;
  background: linear-gradient(90deg, rgba(30, 28, 26, 0.93) 0%, rgba(30, 28, 26, 0.8) 50%, rgba(30, 28, 26, 0.45) 100%),
    var(--hero-img, none) center / cover no-repeat, var(--color-dark);
  color: #fff;
  overflow: hidden;
}
@media (max-width: 700px) {
  .hero {
    --hero-img: var(--hero-sm, none);
  }
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--color-copper);
}
.hero-inner {
  max-width: 760px;
}
.hero h1 {
  color: #fff;
}
.hero .accent {
  color: #e0b98c;
  font-weight: 700;
  display: block;
}
.hero-lead {
  font-size: 1.15rem;
  color: #e2ded5;
  max-width: 58ch;
}
.hero-search {
  display: flex;
  margin: 26px 0 16px;
  max-width: 620px;
  box-shadow: var(--shadow);
}
.hero-search input {
  padding: 16px 18px;
  font-size: 1.05rem;
  border: 0;
  border-radius: var(--radius-control) 0 0 var(--radius-control);
}
.hero-search .btn {
  flex: none;
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 64px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  padding: 22px 0 26px;
}
.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.stat dd {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.stat dt {
  color: #cfcac0;
  font-size: 0.95rem;
}

/* ---------- home: brands ---------- */
.brand-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 22px var(--gutter);
}
.brand-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.brand-logo {
  display: grid;
  place-items: center;
  height: 56px;
  opacity: 0.85;
  transition: opacity 0.15s, transform 0.15s;
}
.brand-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.brand-logo img {
  max-height: 44px;
  max-width: 140px;
  object-fit: contain;
}
.brand-logo.is-featured img {
  max-height: 54px;
  max-width: 170px;
}
.grid {
  display: grid;
  gap: 20px;
}
.grid-featured {
  grid-template-columns: repeat(3, 1fr);
}
.feature-card {
  padding: 26px;
  gap: 12px;
  border-top: 3px solid var(--color-copper);
}
.feature-logo {
  height: 64px;
  display: flex;
  align-items: center;
}
.feature-logo img {
  max-height: 60px;
  max-width: 190px;
  object-fit: contain;
}
.feature-short {
  font-weight: 800;
  font-size: 1.1rem;
}
.feature-desc {
  color: var(--color-muted);
  font-size: 0.95rem;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feature-go {
  margin-top: auto;
  font-weight: 800;
  color: var(--color-primary);
}

/* ---------- cards ---------- */
.grid-cats {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.grid-products {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.grid-brands {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-ink);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #c9c1b2;
  box-shadow: var(--shadow);
  color: var(--color-ink);
}
.card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.card-link:hover {
  color: inherit;
}
.card-media {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-noimg {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-muted);
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px 10px;
}
.card-brand {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.card-title {
  font-weight: 700;
  line-height: 1.3;
}
.card-meta {
  font-size: 0.86rem;
  color: var(--color-muted);
}
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px 16px;
}
.card-view {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-ink);
}
.btn-add {
  font: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 7px 14px;
  border-radius: var(--radius-control);
  border: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
}
.btn-add:hover {
  background: var(--color-primary);
  color: #fff;
}
.cat-card .card-media {
  aspect-ratio: 4 / 3;
}
.cat-card .card-body {
  padding-bottom: 16px;
}
.row-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 240px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}
.row-scroll > * {
  scroll-snap-align: start;
}
.brand-card {
  padding: 24px;
  gap: 10px;
}
.brand-card .logo-box {
  height: 64px;
  display: flex;
  align-items: center;
}
.brand-card .logo-box img {
  max-height: 60px;
  max-width: 190px;
  object-fit: contain;
}
.brand-card p {
  color: var(--color-muted);
  margin: 0;
  font-size: 0.95rem;
}
.brand-card .go {
  margin-top: auto;
  font-weight: 800;
  color: var(--color-primary);
}

/* ---------- home: industries, why, steps, cta ---------- */
.grid-industries {
  grid-template-columns: repeat(4, 1fr);
}
.industry {
  background: var(--color-dark-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.industry img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.industry-body {
  padding: 18px 20px 22px;
  border-top: 2px solid var(--color-copper);
}
.industry-body p {
  margin: 0;
  color: #cfcac0;
  font-size: 0.95rem;
}
.grid-why {
  grid-template-columns: repeat(4, 1fr);
}
.why {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.why-icon {
  display: block;
  width: 36px;
  height: 36px;
  color: var(--color-copper);
  margin-bottom: 12px;
}
.why p {
  margin: 0;
  color: var(--color-muted);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.step p {
  margin: 0;
  color: var(--color-muted);
}
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 64px var(--gutter) 0;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: var(--color-dark);
  border-left: 4px solid var(--color-copper);
  color: #fff;
}
.cta-band h2 {
  margin: 0 0 6px;
}
.cta-band p {
  margin: 0;
  color: #d8d3ca;
}
.cta-band .btn svg {
  color: var(--color-whatsapp);
}
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.visit h2 {
  font-size: 1.5rem;
}

/* ---------- catalogue ---------- */
.catalog {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 32px var(--gutter) 0;
  align-items: start;
}
.filters {
  position: sticky;
  top: 150px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  max-height: calc(100vh - 170px);
  overflow: auto;
}
.filters h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin: 18px 0 8px;
}
.filters h2:first-child {
  margin-top: 0;
}
.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.filter-list button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 8px;
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font: inherit;
  color: var(--color-ink);
  text-align: left;
  cursor: pointer;
}
.filter-list button:hover {
  background: var(--color-surface-2);
}
.filter-list button[aria-pressed="true"] {
  background: var(--color-ink);
  color: #fff;
  font-weight: 700;
}
.filter-list .n {
  opacity: 0.7;
  font-size: 0.85rem;
}
.filter-list button:disabled {
  opacity: 0.4;
  cursor: default;
}
.catalog-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.catalog-top input {
  flex: 1;
  min-width: 220px;
  padding: 13px 14px;
}
.result-count {
  color: var(--color-muted);
  font-size: 0.95rem;
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.brand-banner {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-copper);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 20px;
}
.brand-banner img {
  max-height: 60px;
  max-width: 170px;
  object-fit: contain;
  flex: none;
}
.brand-banner p {
  margin: 0;
  color: var(--color-muted);
}
.listing-intro {
  max-width: 75ch;
  margin-bottom: 20px;
}
.listing-intro p {
  margin: 0 0 6px;
}
.listing-intro .muted {
  font-size: 0.92rem;
}
.filters-toggle {
  display: none;
}

/* ---------- product page ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: 44px;
  padding: 8px var(--gutter) 0;
  align-items: start;
}
.product-media {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  position: sticky;
  top: 150px;
}
.product-media img {
  max-height: 100%;
  object-fit: contain;
}
.product-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.product-brand img {
  max-height: 36px;
  max-width: 130px;
  object-fit: contain;
}
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 18px 0 28px;
}
.qty {
  width: 90px;
}
.spec {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 8px 20px 20px;
  overflow-x: auto;
}
.spec table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.95rem;
}
.spec td,
.spec th {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.spec tr:first-child td,
.spec th {
  font-weight: 700;
  background: var(--color-dark);
  color: #fff;
}
.spec td p {
  margin: 0;
}
.spec .code-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.spec .code {
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
}

/* ---------- enquiry list ---------- */
.enquiry {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 8px var(--gutter) 0;
  align-items: start;
}
.enquiry-items {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.enquiry-row {
  display: grid;
  grid-template-columns: 1fr 100px auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
}
.enquiry-row:last-child {
  border-bottom: 0;
}
.enquiry-row .what strong {
  display: block;
}
.enquiry-row .what span {
  color: var(--color-muted);
  font-size: 0.9rem;
}
.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-copper);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  gap: 14px;
  position: sticky;
  top: 150px;
}
.panel h2 {
  font-size: 1.2rem;
  margin: 0;
}
.panel .btn {
  width: 100%;
}
.form-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0;
}

/* ---------- about / contact ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  padding: 40px var(--gutter) 0;
  align-items: start;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.info-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-photo .shop-photo img {
  aspect-ratio: 3 / 4;
}

/* ---------- shop photos ---------- */
.shop-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.shop-gallery-3 {
  grid-template-columns: repeat(3, 1fr);
}
.shop-photo {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.shop-photo a {
  display: block;
}
.shop-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.3s;
}
.shop-photo a:hover img {
  transform: scale(1.03);
}
.shop-photo figcaption {
  padding: 12px 16px 14px;
  border-top: 2px solid var(--color-copper);
  font-size: 0.93rem;
  color: var(--color-muted);
}

/* ---------- small screens ---------- */
@media (max-width: 1100px) {
  .header-main {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .header-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .site-nav {
    margin-left: auto;
  }
  .grid-industries,
  .grid-why,
  .shop-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1000px) {
  .product,
  .enquiry,
  .two-col,
  .visit {
    grid-template-columns: 1fr;
  }
  .product-media,
  .panel {
    position: static;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .catalog {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
    max-height: none;
    display: none;
  }
  .filters.open {
    display: block;
  }
  .filters-toggle {
    display: inline-flex;
  }
  .grid-featured {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}
@media (max-width: 760px) {
  .topbar > span:first-child,
  .topbar a[href^="mailto"] {
    display: none;
  }
  .site-nav a {
    font-size: 0.92rem;
  }
  .topbar {
    justify-content: center;
  }
  .site-nav {
    order: 4;
    flex-basis: 100%;
    margin-left: 0;
    gap: 16px;
    overflow-x: auto;
  }
  .list-btn span:not(.badge) {
    display: none;
  }
  .list-btn {
    margin-left: auto;
  }
  .logo-text small {
    display: none;
  }
  .hero {
    padding-top: 56px;
  }
  .hero-search .btn {
    padding: 13px 16px;
  }
  .steps,
  .grid-industries,
  .grid-why,
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-band {
    padding: 28px 24px;
  }
  .enquiry-row {
    grid-template-columns: 1fr 80px;
  }
  .enquiry-row .remove {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .grid-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-add {
    width: 100%;
  }
  .brand-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .brand-strip-inner {
    justify-content: center;
  }
}
.page-banner .kicker {
  color: var(--color-copper);
}

/* ---------- product page: model picker ---------- */
.product h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
}
.product-intro {
  color: var(--color-muted);
  margin: 6px 0 20px;
  max-width: 62ch;
}
.product-intro p {
  margin: 0 0 8px;
}
.picker {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.picker-step {
  padding: 20px 22px 22px;
  border-bottom: 1px solid var(--color-border);
}
.picker-step h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.picker-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  font-size: 0.85rem;
  flex: none;
}
.picker-help {
  margin: 0 0 12px 36px;
  color: var(--color-muted);
  font-size: 0.92rem;
}
.picker-options {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.picker-rows {
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}
.picker-variants {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.picker-rows-wide {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.pick {
  font: inherit;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-background);
  color: var(--color-ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.pick:hover:not(:disabled) {
  border-color: var(--color-copper);
  background: #fff;
}
.pick:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.pick.is-on {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--color-primary);
}
.pick:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pick-main {
  font-weight: 700;
}
.pick-sub,
.pick-hint {
  font-size: 0.84rem;
  color: var(--color-muted);
  line-height: 1.35;
}
.pick-code {
  margin-top: 6px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-ink);
}
.pick:disabled .pick-code {
  font-family: inherit;
  font-weight: 400;
}
.picker-result {
  padding: 20px 22px 22px;
  background: var(--color-surface-2);
  border-left: 4px solid var(--color-copper);
}
.picker-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}
.picker-code {
  margin: 2px 0 0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.picker-desc {
  margin: 2px 0 12px;
  color: var(--color-ink);
  font-weight: 600;
}
.picker-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px 20px;
  margin: 0 0 18px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.picker-facts:empty {
  display: none;
}
.picker-facts div {
  min-width: 0;
}
.picker-facts dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}
.picker-facts dd {
  margin: 1px 0 0;
  font-size: 0.95rem;
}
.picker-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: #fff;
  overflow: hidden;
}
.stepper button {
  font: inherit;
  font-size: 1.2rem;
  width: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--color-ink);
}
.stepper button:hover {
  background: var(--color-surface-2);
}
.stepper input {
  width: 56px;
  border: 0;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-radius: 0;
  text-align: center;
  font: inherit;
  font-weight: 700;
  padding: 10px 4px;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.all-models {
  margin-top: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.all-models summary {
  cursor: pointer;
  padding: 14px 20px;
  font-weight: 700;
}
.all-models .spec-table {
  padding: 0 20px 16px;
  overflow-x: auto;
}
.all-models table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.all-models td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
.all-models tr:first-child td {
  font-weight: 700;
  background: var(--color-dark);
  color: #fff;
  white-space: normal;
}
.all-models tr[data-pick-row] {
  cursor: pointer;
}
.all-models tr[data-pick-row]:hover td,
.all-models tr.is-on td {
  background: #f7efe6;
}
.all-models .code {
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
}
@media (max-width: 760px) {
  .picker-step,
  .picker-result {
    padding: 16px;
  }
  .picker-help {
    margin-left: 0;
  }
  .picker-variants {
    grid-template-columns: 1fr 1fr;
  }
  .picker-buy .btn {
    flex: 1 1 100%;
  }
}

.twin-link {
  margin: -8px 0 16px;
  padding: 10px 14px;
  border-left: 3px solid var(--color-copper);
  background: var(--color-surface);
  border-radius: var(--radius-control);
  font-size: 0.95rem;
}

/* ---------- buying guides and listing extras ---------- */
.guide-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.guide-links li {
  padding: 6px 0;
  border-top: 1px solid var(--color-border);
}
.guide-links li:first-child {
  border-top: 0;
}
aside .panel + .panel {
  margin-top: 16px;
}
.prose .spec-table {
  margin: 12px 0 20px;
  overflow-x: auto;
}
.prose .spec-table table {
  width: 100%;
  border-collapse: collapse;
}
.prose .spec-table td {
  border: 1px solid var(--color-border);
  padding: 8px 10px;
  vertical-align: top;
}
.prose .spec-table tr:first-child td {
  font-weight: 700;
  background: var(--color-surface);
}
.listing-extra {
  max-width: 900px;
  margin-top: 40px;
}
.faq + .faq {
  margin-top: 28px;
}
.faq h2 {
  font-size: 1.4rem;
  margin: 0 0 14px;
}
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  padding: 12px 16px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
}
.faq details p {
  margin: 10px 0 0;
  color: var(--color-muted);
}

/* ---------- gland size finder ---------- */
.gland-finder {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin: 8px 0 24px;
}
.gland-finder-page {
  margin: 8px var(--gutter) 32px;
  max-width: 1000px;
}
.gland-finder h2 {
  font-size: 1.25rem;
  margin: 0 0 4px;
}
.gland-finder h3 {
  font-size: 1rem;
  margin: 14px 0 6px;
}
.gf-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.gf-fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
}
.gf-fields label[hidden] {
  display: none;
}
.gf-fields select,
.gf-fields input {
  font: inherit;
  font-weight: 400;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: #fff;
}
.gf-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--color-background);
  border-radius: var(--radius-control);
  padding: 10px 12px;
  margin-bottom: 6px;
}
.gf-note {
  color: var(--color-muted);
  font-size: 0.88rem;
}
.gland-finder .spec-table {
  overflow-x: auto;
}
.gland-finder .spec-table table {
  width: 100%;
  border-collapse: collapse;
}
.gland-finder .spec-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 8px 6px;
  vertical-align: middle;
}
.gland-finder .spec-table tr:first-child td {
  font-weight: 700;
}
