/* ==========================================================================
   Beyanlab Web Tema
   ========================================================================== */

:root {
  --blue: oklch(68% .13 234);
  --blue-dark: oklch(29% .09 258);
  --blue-light: oklch(63% .14 240);
  --ink: oklch(22% .03 254);
  --grey: oklch(55% .03 250);
  --line: oklch(91.8% .012 250);
  --soft: oklch(97.2% .008 245);
  --white: #ffffff;
  --navy: oklch(29% .09 258);
  --navy-deep: oklch(23% .08 260);
  --navy-foreground: oklch(99% .005 240);
  --brand: oklch(68% .13 234);
  --brand-foreground: #fff;
  --radius: 6px;
  --maxw: 1280px;
  --maxw-wide: 1280px;
  --gutter: 24px;
  --shadow: 0 8px 24px -12px oklch(29% .09 258 / .18);
  --shadow-lift: 0 12px 32px -12px oklch(29% .09 258 / .28);
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-head: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --gradient-hero: linear-gradient(100deg, oklch(23% .08 260) 0%, oklch(30% .1 258) 55%, oklch(36% .11 250) 100%);
}

* { box-sizing: border-box; }

h1, h2, h3, h4, h5, h6, .logo .mark, .btn, .main-nav a { font-family: var(--font-head); }
h1, h2, h3 { letter-spacing: -0.015em; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container.inner-layout,
.container.product-detail-layout {
  max-width: var(--maxw-wide);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ------------------------------ Buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn i { transition: transform 0.25s ease; }
.btn:hover i { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--soft); }
.btn-loading { display: none; }
.btn.is-loading .btn-loading,
.btn .btn-loading:not(.is-hidden) { display: inline; }
.btn .btn-text.is-hidden { display: none; }
.btn.is-loading { opacity: .85; pointer-events: none; }

.arrow::after {
  content: "";
  width: 16px; height: 8px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'><path d='M17 0l-1.4 1.4L19.2 5H0v2h19.2l-3.6 3.6L17 12l6-6z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'><path d='M17 0l-1.4 1.4L19.2 5H0v2h19.2l-3.6 3.6L17 12l6-6z'/></svg>") no-repeat center / contain;
  transition: transform 0.25s ease;
}
.btn:hover .arrow::after, .btn.arrow:hover::after { transform: translateX(4px); }

/* ------------------------------ Header ----------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--white) 95%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 18px rgba(16, 22, 31, 0.09); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 80px;
  max-width: var(--maxw);
  transition: height 0.3s ease;
}
.site-header.scrolled .header-inner { height: 66px; }

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo .mark {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--blue);
}
.logo .mark sup { font-size: 11px; top: -12px; }
.logo .tag {
  font-size: 8.5px;
  letter-spacing: 0.42em;
  color: var(--grey);
  margin-top: 4px;
  font-weight: 600;
}

.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--blue);
  transition: width 0.25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* Mega menu */
.mega { position: relative; }
.mega-toggle { display: inline-flex; align-items: center; gap: 5px; }
.mega-toggle .chevron { font-size: 10px; transition: transform 0.25s ease; }
.mega.open .mega-toggle .chevron { transform: rotate(180deg); }
.mega-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 920px; max-width: calc(100vw - 48px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(10, 79, 163, 0.14);
  padding: 28px; opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 101;
}
.mega-menu::before {
  content: ""; position: absolute; top: -9px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 16px; height: 16px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.mega:hover .mega-menu,
.mega.open .mega-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.main-nav .mega-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  min-width: 0; white-space: normal;
}
.main-nav .mega-card:hover {
  border-color: var(--blue-light); box-shadow: var(--shadow); transform: translateY(-3px);
}
.mega-card strong {
  font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: 0.01em;
  line-height: 1.35; text-transform: none; white-space: normal;
}
.mega-card span {
  font-size: 12.5px; line-height: 1.55; color: var(--grey); text-transform: none;
  letter-spacing: 0; display: block; word-wrap: break-word; overflow-wrap: break-word; white-space: normal;
}
.main-nav .mega-card::after { display: none; }
.mega-grid.three { grid-template-columns: repeat(3, 1fr); }
.main-nav .mega-card.prod { padding: 14px 14px 18px; gap: 10px; }
.mega-card .mega-thumb {
  display: block; overflow: hidden; border-radius: 10px; background: var(--soft);
  aspect-ratio: 16 / 10;
}
.mega-card .mega-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.main-nav .mega-card.prod:hover .mega-thumb img { transform: scale(1.06); }
.mega-footer {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: center;
}
/* Nav underline efektinin mega menü butonuna sızmasını engelle */
.main-nav .mega-menu .btn { color: #fff; }
.main-nav .mega-menu .btn::after { display: none; }
.main-nav .mega-menu .btn.arrow::after {
  display: inline-block; content: "→"; position: static; width: auto; height: auto;
  background: none; margin-left: 8px; transition: transform 0.25s ease;
}
.main-nav .mega-menu .btn.arrow:hover::after { transform: translateX(4px); }
.main-nav .mega-menu .btn-primary:hover { background: var(--blue-dark); color: #fff; }
.mega-footer .btn {
  padding: 13px 26px; font-size: 12px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(10, 79, 163, 0.22);
}

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang { position: relative; }
.lang-btn {
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 600;
  color: var(--grey); display: flex; align-items: center; gap: 6px;
}
.lang-menu {
  position: absolute; right: 0; top: 130%;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  min-width: 158px; padding: 6px 0; display: none; z-index: 60;
}
.lang-menu li { list-style: none; }
.lang-menu button {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 9px 16px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.lang-menu button:hover { background: var(--soft); color: var(--blue); }
.lang-menu button.is-active { background: var(--soft); color: var(--blue); font-weight: 600; }

.nav-toggle {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink); margin: 3px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ------------------------------- Hero ------------------------------------ */
.hero {
  position: relative;
  padding: 48px 0 80px;
  overflow: hidden;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  color: var(--navy-foreground);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--blue); display: block; }
.hero .sub {
  font-size: clamp(18px, 2.2vw, 27px);
  letter-spacing: 0.02em;
  color: #9aa3b0;
  font-weight: 500;
  margin: 8px 0 22px;
  text-transform: none;
}
.hero .keywords {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--blue); text-transform: none; margin-bottom: 34px;
}
.hero .btn {
  text-transform: none;
  letter-spacing: 0.02em;
}
.hero .keywords span + span::before { content: "•"; margin-right: 18px; color: var(--blue-light); }
.hero-media { position: relative; }
.hero-media img { border-radius: 10px; max-height: 520px; width: 100%; object-fit: cover; object-position: center 45%; }
.hero-stripes {
  position: absolute; top: 0; right: 0; width: 340px; height: 240px;
  background: repeating-linear-gradient(115deg, var(--blue) 0 14px, transparent 14px 40px);
  opacity: 0.5; pointer-events: none;
}
.hero-stripes.left {
  right: auto; left: 0; top: auto; bottom: 0; width: 200px; height: 190px;
  background: repeating-linear-gradient(115deg, #b9cfee 0 10px, transparent 10px 34px);
  opacity: 0.8;
}

/* Hero slider */
.hero-slider { position: relative; }
.hero-track { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; }
.hero-slide.is-active .hero-copy > * { animation: heroUp .6s ease both; }
.hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-slide.is-active .hero-media { animation: heroZoom .7s ease both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid #cfdcf1;
  background: rgba(255,255,255,.92); color: var(--blue); cursor: pointer;
  font-size: 16px; line-height: 1; z-index: 3; box-shadow: 0 6px 18px rgba(10,79,163,.12);
  transition: background .2s, color .2s;
}
.hero-nav:hover { background: var(--blue); color: #fff; }
.hero-nav:focus-visible, .hero-dots button:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 3px;
}
.hero-nav.prev { left: 14px; }
.hero-nav.next { right: 14px; }
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: flex; align-items: center; justify-content: center; gap: 14px; z-index: 3;
}
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.75); box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: width .25s, background .25s;
}
.hero-dots button[aria-selected="true"] { width: 30px; border-radius: 6px; background: var(--blue); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active .hero-copy > *,
  .hero-slide.is-active .hero-media { animation: none; }
}

/* ------------------------------ Sections --------------------------------- */
.section { padding: 84px 0; }
.section.soft { background: linear-gradient(180deg, #f4f8fe 0%, #eef4fd 100%); }

.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--blue);
  text-transform: uppercase;
}
.section-head .rule { width: 66px; height: 3px; background: var(--blue); margin: 14px auto 0; }
.section-head p { color: var(--grey); max-width: 640px; margin: 16px auto 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-grid--media-first .about-media { order: -1; }
.about h2 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; text-transform: none; }
.about h2 .muted { color: #9aa3b0; display: block; font-weight: 700; font-size: 0.62em; letter-spacing: 0.04em; }
.about h2 .accent { color: var(--blue); display: block; }
.about .lead,
.about .text-content > p:first-child { font-weight: 700; margin: 22px 0 14px; color: var(--ink); }
.about p,
.about .text-content { color: var(--grey); }
.about .text-content p { margin: 0 0 14px; line-height: 1.7; }
.about .text-content p:last-child { margin-bottom: 0; }
.about .about-copy .btn { margin-top: 22px; }
.about-media img,
.about-media .about-img { border-radius: 8px; box-shadow: var(--shadow); width: 100%; max-height: 420px; object-fit: cover; object-position: center 55%; }
.about-video { position: relative; }
.about-video-play {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(10, 79, 163, .92); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 0; border-top: 1px solid #d7e3f5; border-bottom: 1px solid #d7e3f5; padding: 26px 0;
}
.stats-section { padding-top: 0; padding-bottom: 0; }
.stats-section .container { padding-top: 0; padding-bottom: 0; }
.about + .stats-section { margin-top: -1px; }
.about .stats { margin-top: 58px; border-bottom: 0; }
.stat { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 6px 10px; border-right: 1px solid #d7e3f5; }
.stat:last-child { border-right: 0; }
.stat svg { width: 38px; height: 38px; stroke: var(--blue); fill: none; stroke-width: 1.4; flex: none; }
.stat .num { font-size: 30px; font-weight: 800; color: var(--blue); line-height: 1; }
.stat .lbl { font-size: 10.5px; letter-spacing: 0.06em; text-transform: none; color: var(--grey); font-weight: 600; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(var(--values-cols, 6), 1fr);
  gap: 16px;
}
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 16px; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  color: inherit; text-decoration: none; display: block;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c9dcf6; }
.value-card svg { width: 42px; height: 42px; margin: 0 auto 16px; stroke: var(--blue); fill: none; stroke-width: 1.3; display: block; }
.value-card .value-icon { display: flex; align-items: center; justify-content: center; min-height: 42px; margin: 0 auto 16px; color: var(--blue); }
.value-card .value-icon svg { margin: 0; width: 42px; height: 42px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.value-card .value-icon i { font-size: 42px; line-height: 1; color: currentColor; }
.value-card .value-icon img { width: 42px; height: 42px; object-fit: contain; }
.value-card h3 { margin: 0 0 12px; font-size: 14px; color: var(--blue); font-weight: 700; }
.value-card p { margin: 0; font-size: 13px; color: var(--grey); line-height: 1.55; }
.values-section .section-head h2 { text-transform: none; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(var(--why-cols, 5), 1fr);
  gap: 18px;
}
.why-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit; text-decoration: none; display: block;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-thumb { position: relative; aspect-ratio: 1 / 0.78; overflow: hidden; background: var(--soft, #eef4fd); }
.why-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.why-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #dbe9fb, #eef4fd); }
.why-card:hover .why-thumb img { transform: scale(1.06); }
.why-num {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; border: 3px solid #fff;
}
.why-body { padding: 30px 16px 26px; text-align: center; }
.why-body h3 { margin: 0 0 8px; font-size: 15px; color: var(--blue); }
.why-body p { margin: 0; font-size: 13px; color: var(--grey); }
.why-section .section-head h2 { text-transform: none; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 24px 18px; display: flex; gap: 14px; align-items: center;
  transition: all 0.25s ease;
}
.product-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card .idx { font-size: 12px; font-weight: 800; color: #b9cfee; }
.product-card h3 { margin: 0; font-size: 14.5px; font-weight: 600; }
.product-more { text-align: center; margin-top: 36px; }

/* Technical */
.tech-section .section-head h2 { text-transform: none; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tech-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tech-table caption {
  caption-side: top; text-align: left; font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: none; color: var(--blue); padding: 0 0 10px;
}
.tech-table th, .tech-table td { padding: 11px 16px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tech-table th { background: var(--soft); font-size: 11px; letter-spacing: 0.04em; text-transform: none; color: var(--grey); }
.tech-table tr:last-child td { border-bottom: 0; }
.tech-note { color: var(--grey); font-size: 14px; margin-top: 18px; }

/* CTA */
.cta {
  position: relative; color: #fff; overflow: hidden;
  background: var(--blue-dark);
}
.cta img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.cta .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #063573 12%, rgba(6, 53, 115, 0.55) 60%, rgba(6, 53, 115, 0.15) 100%); }
.cta .container { position: relative; padding-top: 78px; padding-bottom: 78px; }
.cta h2 { margin: 0 0 16px; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.2; font-weight: 800; text-transform: none; }
.cta p { margin: 0 0 28px; max-width: 460px; color: #d7e5fa; }

/* Contact */
.contact-section .section-head h2 { text-transform: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; }
.contact-info li { list-style: none; display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info ul { margin: 0; padding: 0; }
.contact-info svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.5; flex: none; margin-top: 4px; }
.contact-info strong { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.contact-info span { color: var(--ink); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 14px; background: #fff; color: var(--ink); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 79, 163, 0.12);
}
.field.error input, .field.error textarea { border-color: #d33; }
.field .msg { font-size: 12px; color: #d33; margin-top: 4px; display: none; }
.field.error .msg { display: block; }
.form-alert {
  display: none; margin-bottom: 18px; padding: 12px 16px; border-radius: var(--radius);
  background: #e8f5ec; color: #1c6b38; font-size: 14px; border: 1px solid #bfe3cb;
}
.form-alert.is-visible { display: block; }
.form-alert.is-error { background: #fdecea; color: #9b1c1c; border-color: #f5c2c0; }
.contact-side { display: grid; gap: 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: color-mix(in oklab, var(--navy-foreground) 70%, transparent); padding: 56px 0 0; }
.footer-top { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.site-footer .logo .mark { color: #fff; }
.site-footer .logo .tag { color: #8794a6; }
.site-footer .logo .logo-img {
  display: block;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--blue);
  display: grid; place-items: center; transition: background 0.25s ease;
}
.socials a:hover { background: var(--blue-light); }
.socials svg { width: 16px; height: 16px; fill: #fff; }
.footer-bottom { margin-top: 34px; border-top: 1px solid #1b2635; padding: 18px 0; text-align: center; font-size: 12.5px; color: #7b8798; }

/* Back to top */
#backToTop {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer;
  display: none; place-items: center; box-shadow: var(--shadow); z-index: 90;
}
#backToTop svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ----------------------------- Responsive -------------------------------- */
@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-top: 1px solid var(--line); display: none; box-shadow: var(--shadow);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 18px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mega-menu {
    position: static; transform: none; width: 100%; max-width: none;
    box-shadow: none; border: 0; border-bottom: 1px solid var(--line);
    padding: 0 0 18px; margin-bottom: 8px; opacity: 1; visibility: visible; display: none;
  }
  .mega-menu::before { display: none; }
  .mega:hover .mega-menu { display: none; transform: none; }
  .mega.open .mega-menu { display: block; transform: none; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mega-grid.three { grid-template-columns: 1fr; }
  .main-nav .mega-card {
    display: flex; flex-direction: column;
    padding: 14px 14px 18px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav .mega-card .mega-thumb { aspect-ratio: 16 / 10; }
  .mega-footer { margin-top: 16px; padding-top: 16px; }
  .mega-toggle { width: 100%; justify-content: space-between; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .hero { background: linear-gradient(180deg, #fff 0%, #eaf2fd 100%); padding: 110px 0 70px; }
  .hero-grid, .about-grid, .tech-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid--media-first .about-media { order: -1; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 320px; }
  .hero-nav { width: 40px; height: 40px; top: auto; bottom: -6px; }
  .hero-nav.prev { left: 12px; }
  .hero-nav.next { right: 12px; }
  .hero-controls { position: static; margin-top: 26px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stat:nth-child(2) { border-right: 0; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .values-grid, .why-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .hero { padding: 100px 0 64px; }
  .hero h1 { font-size: clamp(30px, 9vw, 42px); }
  .hero .sub { margin-bottom: 16px; }
  .hero .keywords { margin-bottom: 24px; font-size: 11px; gap: 8px 14px; }
  .hero-media img { max-height: 240px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; min-height: 48px; }
  .hero-nav { width: 44px; height: 44px; }
  .hero-dots button { height: 14px; }
  .hero-dots button[aria-selected="true"] { width: 32px; }
  .hero-play { width: 34px; height: 34px; }
}

/* ------------------------- About image height ---------------------------- */
.about-media img.about-img { max-height: 340px; width: 100%; object-fit: cover; object-position: center 55%; }

/* --------------------------- Generic carousel ---------------------------- */
.carousel-wrap { position: relative; }
.carousel {
  display: flex !important; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px 2px 10px; cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.carousel.dragging a { pointer-events: none; }
.carousel img { -webkit-user-drag: none; user-select: none; }
.carousel > * {
  flex: 0 0 calc((100% - (var(--per) - 1) * 18px) / var(--per));
  min-width: 0; scroll-snap-align: start;
}
.car-nav {
  position: absolute; top: 42%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid #cfdcf1;
  background: rgba(255,255,255,.96); color: var(--blue); cursor: pointer;
  font-size: 18px; line-height: 1; z-index: 4; box-shadow: 0 6px 18px rgba(10,79,163,.14);
  transition: background .2s, color .2s;
}
.car-nav:hover { background: var(--blue); color: #fff; }
.car-nav:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.car-nav.prev { left: -18px; }
.car-nav.next { right: -18px; }
.car-nav[disabled] { opacity: .35; cursor: default; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.car-dots button { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #c3d4ee; cursor: pointer; padding: 0; transition: width .25s, background .25s; }
.car-dots button[aria-selected="true"] { width: 26px; border-radius: 6px; background: var(--blue); }
.hero-slider { cursor: grab; }
.hero-slider.dragging { cursor: grabbing; }

/* ----------------------- Category cards (Products) ----------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(var(--cat-cols, 3), minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; }
}
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c9dcf6; }
.cat-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-thumb img { transform: scale(1.05); }
.cat-body { padding: 22px 20px 24px; }
.cat-body h3 { margin: 0 0 8px; font-size: 17px; color: var(--blue); font-weight: 700; }
.cat-body p { margin: 0 0 14px; font-size: 13.5px; color: var(--grey); }
.cat-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

/* -------------------------- Featured products ---------------------------- */
.fp-grid { display: grid; grid-template-columns: repeat(var(--fp-cols, 3), minmax(0, 1fr)); gap: 22px; }
.fp-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.fp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fp-thumb { position: relative; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; display: block; }
.fp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s ease; }
.fp-card:hover .fp-thumb img { transform: scale(1.06); }
.fp-badge { position: absolute; top: 12px; left: 12px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-body { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: block !important; visibility: visible !important; opacity: 1 !important; }
.fp-card--name .fp-body,
.fp-card--name_description .fp-body { border-top: 0; }
.fp-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #12263a; line-height: 1.35; }
.fp-title a { color: inherit; text-decoration: none; }
.fp-title a:hover { color: var(--blue); }
.fp-desc { margin: 0 0 14px; font-size: 13px; color: var(--grey); line-height: 1.45; }
.fp-body h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #12263a; }
.fp-body p { margin: 0 0 14px; font-size: 13px; color: var(--grey); }
.fp-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); text-decoration: none; }
@media (max-width: 992px) {
  .fp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fp-grid { grid-template-columns: 1fr; }
}

/* ------------------------------- News ------------------------------------ */
.news-grid { display: grid; grid-template-columns: repeat(var(--news-cols, 2), minmax(0, 1fr)); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.news-card:hover { box-shadow: var(--shadow); }
.news-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-tag { position: absolute; top: 14px; left: 14px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.news-body { padding: 22px 22px 24px; }
.news-date { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); font-weight: 600; }
.news-body h3 { margin: 8px 0 10px; font-size: 18px; line-height: 1.35; }
.news-body h3 a:hover { color: var(--blue); }
.news-body p { margin: 0 0 14px; font-size: 14px; color: var(--grey); }
.news-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

/* ---------------------------- Rich footer -------------------------------- */
.footer-cols { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 34px; padding-bottom: 40px; }
.footer-col h4 { margin: 0 0 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 700; }
.footer-col.brand p { font-size: 13.5px; color: #97a3b4; margin: 18px 0 20px; max-width: 320px; }
.site-footer .footer-nav { display: block; }
.site-footer .footer-nav li { margin-bottom: 10px; }
.site-footer .footer-nav a { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 400; color: #a8b3c2; }
.site-footer .footer-nav a:hover { color: #fff; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13.5px; color: #a8b3c2; }
.footer-contact svg { width: 18px; height: 18px; stroke: var(--blue-light); fill: none; stroke-width: 1.6; flex: none; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.newsletter { margin-top: 18px; }
.newsletter label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8794a6; margin-bottom: 8px; font-weight: 700; }
.nl-row { display: flex; gap: 8px; }
.nl-row input {
  flex: 1 1 auto; min-width: 0; padding: 10px 12px; border-radius: var(--radius);
  border: 1px solid #24334a; background: #111c2c; color: #e6ecf5; font: inherit; font-size: 13px;
}
.nl-row input:focus { outline: 0; border-color: var(--blue-light); }
.nl-msg { display: none; margin-top: 8px; font-size: 12.5px; color: #7ed6a1; }
.nl-msg.show { display: block; }
.site-footer .footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  text-align: left;
}
.site-footer .footer-bottom-left {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
}
.site-footer .footer-credit {
  display: inline-flex; align-items: center; gap: 8px; color: #9aa6b8; text-decoration: none;
}
.site-footer .footer-credit:hover { color: #fff; }
.site-footer .footer-credit img {
  height: 22px; width: auto; display: block; opacity: 0.92;
}
.site-footer .footer-credit:hover img { opacity: 1; }
.site-footer .footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-footer .footer-bottom a:hover { color: #fff; }

@media (max-width: 1100px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .car-nav.prev { left: 4px; }
  .car-nav.next { right: 4px; }
}
@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel { --per: 2 !important; }
  .about-media img.about-img { max-height: 260px; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .carousel { --per: 1 !important; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .site-footer .footer-bottom-left { justify-content: center; }
  .site-footer .footer-bottom ul { justify-content: center; }
}

/* ---------------------------- Search strip -------------------------------- */
.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; }
.search-strip {
  position: relative;
  z-index: 5;
  padding: 34px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border-bottom: 1px solid #e8effa;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e2eaf6;
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  box-shadow: 0 14px 34px -18px rgba(10, 79, 163, .45), 0 2px 6px rgba(16, 32, 56, .05);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.search-box:focus-within {
  border-color: var(--blue);
  box-shadow: 0 18px 40px -18px rgba(10, 79, 163, .55), 0 0 0 4px rgba(10, 79, 163, .10);
}
.search-box .search-ico { display: flex; color: var(--blue); flex: 0 0 auto; }
.search-box input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: #14213d;
  padding: 12px 0;
  -webkit-appearance: none;
  appearance: none;
}
.search-box input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-box input::placeholder { color: #93a3bb; }
.search-clear {
  display: none;
  border: 0;
  background: #eef3fb;
  color: #5b6b85;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 18px; line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.search-clear:hover { background: #e0e9f7; color: #14213d; }
.search-box.has-value .search-clear { display: block; }
.search-btn {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 13px 30px;
  letter-spacing: .04em;
}
.search-hit { animation: searchPulse 1.6s ease; }
@keyframes searchPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(10, 79, 163, 0); }
  25% { box-shadow: 0 0 0 4px rgba(10, 79, 163, .25); }
}
@media (max-width: 900px) {
  .search-strip { padding: 28px 0; }
}
@media (max-width: 640px) {
  .search-strip { padding: 22px 0; }
  .search-box { flex-wrap: wrap; border-radius: 22px; padding: 10px 12px; }
  .search-box input[type="search"] { font-size: 15px; padding: 8px 0; }
  .search-btn { width: 100%; margin-top: 6px; }
}

/* ===================== MATERIALS ===================== */
.material-grid{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.material-chip{display:inline-flex;align-items:center;padding:10px 18px;border:1px solid #dbe6f5;background:#fff;border-radius:999px;font-weight:600;font-size:14px;color:#0a4fa3;box-shadow:0 2px 8px rgba(10,79,163,.06);transition:.2s;cursor:pointer;text-decoration:none}
.material-chip:hover{background:#0a4fa3;color:#fff;border-color:#0a4fa3;transform:translateY(-2px)}
@media(max-width:600px){.material-chip{padding:8px 14px;font-size:13px}}

.material-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.material-cards--name_image{grid-template-columns:repeat(5,minmax(0,1fr))}
.material-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line,#e6eef8);border-radius:10px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.material-card:hover{transform:translateY(-4px);box-shadow:var(--shadow,0 10px 30px rgba(10,79,163,.12));border-color:#c9dcf6}
.material-card-thumb{aspect-ratio:4/3;background:var(--soft,#f5f8fc);overflow:hidden}
.material-card-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}
.material-card:hover .material-card-thumb img{transform:scale(1.05)}
.material-card-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#e8f0fa,#f7fafc)}
.material-card-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px}
.material-card-body strong{font-size:15px;color:var(--blue,#0a4fa3);font-weight:700}
.material-card-body span{font-size:13px;color:var(--grey,#6b7c93);line-height:1.45}
.material-cards--name_image .material-card-body{padding:12px 14px 14px;text-align:center}
.material-cards--name_image .material-card-body strong{font-size:14px}
@media(max-width:992px){
  .material-cards,.material-cards--name_image{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
  .material-cards,.material-cards--name_image{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ========================= INNER PAGES ========================== */
.inner-page { padding-top: 0; }
.page-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background: var(--gradient-hero);
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,53,115,.88) 0%, rgba(10,79,163,.72) 45%, rgba(10,79,163,.25) 100%);
}
.page-hero-inner { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 48px; color: #fff; }
.page-hero h1 {
  margin: 10px 0 8px; color: #fff; font-weight: 800;
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -0.01em;
}
.page-hero p { margin: 0; max-width: 620px; color: rgba(255,255,255,.88); font-size: 16px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.85); }
.breadcrumb a { color: #fff; opacity: .85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }

.inner-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.inner-layout.no-sidebar { grid-template-columns: 1fr; }
.side-nav {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 100px;
  background: #fff;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.side-nav h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.side-nav ul { list-style: none; margin: 0 0 18px; padding: 0; }
.side-nav li + li { border-top: 1px solid var(--line); }
.side-nav a { display: block; padding: 11px 0; font-size: 14px; font-weight: 600; color: var(--ink); transition: color .2s, padding-left .2s; }
.side-nav a:hover, .side-nav a.is-active { color: var(--blue); padding-left: 6px; }
.side-nav .side-cta,
.side-nav a.btn.btn-primary.side-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  padding: 12px 18px;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.side-nav .side-cta:hover,
.side-nav a.btn.btn-primary.side-cta:hover,
.side-nav a.side-cta.is-active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  padding-left: 18px;
}

.inner-content h2 { font-size: 24px; margin: 34px 0 12px; }
.inner-content .lead { font-size: 19px; color: var(--ink); font-weight: 500; }
.inner-content p { color: var(--grey); }
.content-img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 10px; margin: 26px 0; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 28px; color: var(--grey); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") no-repeat center / 100%;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") no-repeat center / 100%;
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.stat-box { background: var(--soft); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat-box strong { display: block; font-size: 28px; color: var(--blue); font-weight: 800; }
.stat-box span { font-size: 13px; color: var(--grey); }

.about-vm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 10px;
}
.about-vm-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.about-vm-label {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ink);
}
.about-vm-card p {
  margin: 0;
  color: var(--grey);
  line-height: 1.7;
}

.about-values { margin-top: 28px; }
.about-values > h2 { margin-bottom: 8px; }
.about-values-intro { margin: 0 0 18px; color: var(--grey); }
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.about-value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.about-value-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--ink);
}
.about-value-card p {
  margin: 0;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.65;
}

.inner-cta {
  margin-top: 34px; padding: 24px 26px; border-radius: var(--radius);
  background: var(--soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.inner-cta strong { display: block; font-size: 17px; }
.inner-cta span { color: var(--grey); font-size: 14px; }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 40px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-light); }
.contact-card .ci { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; background: var(--soft); color: var(--blue); align-items: center; justify-content: center; margin-bottom: 14px; }
.contact-card .ci svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-card strong { display: block; font-size: 15px; margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 14px; color: var(--grey); line-height: 1.6; }
.contact-card a:hover { color: var(--blue); }
.contact-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: start; }
.contact-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; box-shadow: var(--shadow); }
.contact-form h2 { margin: 0 0 18px; font-size: 22px; }
.map-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 320px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-note { margin-top: 20px; background: var(--soft); border-radius: var(--radius); padding: 22px; }
.contact-note h4 { margin: 0 0 8px; font-size: 15px; }
.contact-note p { margin: 0; font-size: 14px; color: var(--grey); }
.contact-note a { color: var(--blue); font-weight: 600; }

@media (max-width: 980px) {
  .inner-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; max-height: none; overflow: visible; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .about-vm-grid { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero { min-height: 230px; }
  .stat-row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
}

/* ===================== BLOG LIST & DETAIL ===================== */
.blog-grid { grid-template-columns: repeat(2, 1fr); }
.pagination { display: flex; align-items: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fff; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.widget-title { margin-top: 26px; }
.widget-posts { list-style: none; margin: 0; padding: 0; }
.widget-posts li { border-top: 1px solid var(--line); }
.widget-posts li:first-child { border-top: 0; }
.widget-posts a { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.widget-posts img { width: 68px; height: 52px; object-fit: cover; border-radius: 6px; flex: none; }
.widget-posts strong { display: block; font-size: 13px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.widget-posts em { display: block; font-style: normal; font-size: 11px; color: var(--grey); margin-top: 4px; }
.widget-posts a:hover strong { color: var(--blue); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tag-cloud a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; color: var(--grey); background: #fff; }
.tag-cloud a:hover { border-color: var(--blue); color: var(--blue); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: var(--grey); margin-bottom: 16px; }
.news-tag.static { position: static; }
.post h2 { margin-top: 28px; }
.post blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--blue); background: #f4f8fd; border-radius: 0 10px 10px 0; font-size: 15.5px; color: var(--ink); }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; font-size: 13px; color: var(--grey); }
.post-tags a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; color: var(--grey); }
.post-tags a:hover { border-color: var(--blue); color: var(--blue); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.post-nav a { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: #fff; }
.post-nav a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.post-nav em { display: block; font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; font-weight: 700; }
.post-nav strong { font-size: 14.5px; line-height: 1.35; color: var(--ink); font-weight: 600; }
.post-nav .next { text-align: right; }
.related-title { margin: 34px 0 18px; }

/* ===================== CATALOG LIST ===================== */
.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.catalog-count { color: var(--grey); font-size: 14px; }
.catalog-count strong { color: var(--blue); font-weight: 800; }
.catalog-list { display: grid; gap: 28px; }

.catalog-filters-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px;
}
.catalog-filters-head h4 { margin: 0; }
.catalog-filters-clear { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.catalog-filters-details { border: 0; }
.catalog-filters-summary {
  display: none;
  list-style: none;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--grey);
  padding: 2px 0 4px;
}
.catalog-filters-summary::-webkit-details-marker { display: none; }
.catalog-filters-summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid var(--grey);
  border-bottom: 2px solid var(--grey);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex: none;
}
.catalog-filters-details[open] > .catalog-filters-summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.catalog-filters-form { display: grid; gap: 16px; }
.catalog-filter-group { display: grid; gap: 8px; }
.catalog-filter-label {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--grey);
}
.catalog-filter-input {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  font-size: 14px; color: var(--ink); background: #fff;
}
.catalog-filter-input:focus { outline: none; border-color: var(--blue); }
.catalog-filter-checks { display: grid; gap: 8px; max-height: 220px; overflow: auto; padding-right: 4px; }
.catalog-check {
  display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; align-items: center;
  font-size: 13.5px; color: var(--ink); cursor: pointer;
}
.catalog-check input { margin: 0; }
.catalog-check em { font-style: normal; font-size: 11px; color: var(--grey); font-weight: 700; }
.catalog-check-icon { grid-template-columns: 16px 28px 1fr auto; }
.catalog-check-icon img { width: 28px; height: 28px; object-fit: contain; }
.catalog-filter-submit { width: 100%; justify-content: center; }

.catalog-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow); padding: 28px 28px 22px;
}
.catalog-card-title { margin: 0 0 12px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.catalog-card-title a { color: var(--ink); }
.catalog-card-title a:hover { color: var(--blue); }
.catalog-features {
  list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px;
}
.catalog-features li {
  position: relative; padding-left: 18px; color: var(--grey); font-size: 14.5px; line-height: 1.55;
}
.catalog-features li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--blue);
}

.catalog-card-body {
  display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 22px; align-items: start;
}
.catalog-image-wrap {
  display: block; width: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
  padding: 0; cursor: zoom-in; transition: border-color .2s, box-shadow .2s;
}
.catalog-image-wrap:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
.catalog-image-wrap img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; padding: 10px; }
.catalog-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.catalog-badges span,
.catalog-badges a {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
  border-radius: 6px; background: #3a3f47; color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
}
.catalog-badges a:hover { background: var(--blue); color: #fff; }
.catalog-badges span.is-match,
.catalog-badges a.is-match { background: var(--blue); }

.catalog-specs-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.catalog-specs-table thead th {
  background: #eceff3; color: var(--ink); font-size: 11.5px; font-weight: 700;
  text-align: left; padding: 7px 10px;
}
.catalog-specs-table thead th:first-child { border-radius: 6px 0 0 6px; }
.catalog-specs-table thead th:last-child { border-radius: 0 6px 6px 0; }
.catalog-specs-table tbody td {
  background: #f7f8fa; padding: 7px 10px; font-size: 12.5px; color: var(--ink);
}
.catalog-specs-table tbody tr:nth-child(even) td { background: #eef1f5; }
.catalog-specs-table tbody td:first-child { border-radius: 6px 0 0 6px; font-weight: 700; }
.catalog-specs-table tbody td:last-child { border-radius: 0 6px 6px 0; }

/* Interlocking variant matrix (product cards) — Gemini-adapted */
.variant-matrix {
  --vm-head: #ebebeb;
  --vm-code: #edf0f4;
  --vm-border: #b8bec5;
  --vm-ink: #2b353e;
  --vm-muted: #5a6673;
  --vm-badge: #f2f5f8;
  --vm-badge-border: #8e98a4;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: visible;
  padding: 4px 0 2px;
}
.variant-matrix-head {
  display: flex;
  align-items: center;
  min-height: 32px;
  background: var(--vm-head);
  border: 1px solid var(--vm-border);
  border-radius: 8px;
  padding: 0 8px;
  position: relative;
  overflow: visible;
  width: 100%;
  min-width: 0;
}
.variant-matrix-code-h {
  width: clamp(96px, 22%, 140px);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--vm-ink);
  padding-left: 8px;
  line-height: 1.15;
}
.variant-matrix-cols-h {
  flex: 1;
  display: flex;
  gap: 6px;
  align-items: center;
  min-height: 32px;
  min-width: 0;
}
.variant-matrix-badge {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: -4px;
  margin-bottom: -1px;
}
.variant-matrix-badge-bg {
  position: absolute;
  inset: 0;
  background: var(--vm-badge);
  border: 1px solid var(--vm-badge-border);
  border-radius: 7px;
  transform: perspective(25px) rotateX(8deg);
  transform-origin: top center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.variant-matrix-badge-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3px 2px;
  max-width: 100%;
}
.variant-matrix-badge-content .vm-label {
  font-weight: 700;
  font-size: 12px;
  color: #1e2832;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.variant-matrix-badge-content .vm-unit {
  font-size: 10px;
  color: var(--vm-muted);
  margin-top: 1px;
  font-weight: 500;
}

.variant-matrix-row {
  display: flex;
  align-items: center;
  min-height: 34px;
  background: #fff;
  border: 1px solid var(--vm-border);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
}
.variant-matrix-row.is-match {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(10, 79, 163, .16);
}
.variant-matrix-row.is-match .variant-matrix-code {
  background: rgba(10, 79, 163, .12);
  color: var(--blue);
}
.variant-matrix-code {
  width: clamp(96px, 22%, 140px);
  flex-shrink: 0;
  align-self: stretch;
  background: var(--vm-code);
  display: flex;
  align-items: center;
  padding: 4px 14px 4px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #2c3e50;
  position: relative;
  z-index: 1;
  overflow-wrap: anywhere;
}
.variant-matrix-code::after {
  content: "";
  position: absolute;
  top: 0;
  right: -8px;
  width: 16px;
  height: 100%;
  background: var(--vm-code);
  border-right: 1px solid var(--vm-border);
  transform: skewX(18deg);
  transform-origin: top right;
  z-index: 2;
}
.variant-matrix-cols {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 34px;
  min-width: 0;
  padding-left: 14px;
  padding-right: 6px;
}
.variant-matrix-col {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-size: 12.5px;
  color: #333;
  padding: 4px 4px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.catalog-feature-icons {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px;
}
.catalog-feature-icon {
  width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; background: #fff;
}
.catalog-feature-icon img { width: 34px; height: 34px; object-fit: contain; }
.catalog-card-specs {
  min-width: 0;
  max-width: 100%;
}
.catalog-card-actions { margin-top: 18px; display: flex; justify-content: flex-end; }

.category-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}
.category-card {
  display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow);
  color: inherit; transition: transform .2s, box-shadow .2s;
}
.category-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 23, 42, .08); }
.category-card-media { display: block; aspect-ratio: 4/3; overflow: hidden; background: #f4f6f8; }
.category-card-media img { width: 100%; height: 100%; object-fit: cover; }
.category-card strong, .category-card span, .category-card em { padding: 0 18px; }
.category-card strong { font-size: 17px; color: var(--ink); }
.category-card span { color: var(--grey); font-size: 13.5px; line-height: 1.5; }
.category-card em { font-style: normal; color: var(--blue); font-size: 12px; font-weight: 700; padding-bottom: 18px; }

/* ===================== PRODUCT DETAIL ===================== */
.product-detail-layout { display: grid; gap: 40px; }
.product-detail-main {
  display: grid; grid-template-columns: minmax(320px, 480px) 1fr; gap: 40px; align-items: start;
}
.product-detail-image {
  display: block; width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden;
  box-shadow: var(--shadow); padding: 0; cursor: zoom-in; text-align: left;
}
.product-detail-image img {
  width: 100%; aspect-ratio: 1; object-fit: contain; display: block; padding: 24px;
}
.product-detail-thumbs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px;
}
.product-gallery-thumb {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.product-gallery-thumb img {
  width: 100%; aspect-ratio: 1; object-fit: contain; display: block; padding: 8px;
}
.product-gallery-thumb:hover,
.product-gallery-thumb.is-active {
  border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue);
}
.product-detail-meta {
  display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 10px;
  font-size: 13px; color: var(--grey);
}
.product-detail-meta a { color: var(--blue); font-weight: 700; }
.product-detail-title {
  margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; color: var(--ink);
}
.product-detail-grade { margin: 0 0 16px; color: var(--grey); font-size: 15px; }
.product-detail-specs,
.product-detail-docs,
.product-detail-block { margin-top: 28px; }
.product-detail-specs h2,
.product-detail-docs h2,
.product-detail-block h2 {
  margin: 0 0 14px; font-size: 22px;
}
.product-detail-block h3 { margin: 22px 0 10px; font-size: 17px; }
.product-richtext { color: var(--grey); line-height: 1.7; }
.product-richtext p { margin: 0 0 12px; }
.product-doc-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.product-doc-note { font-size: 13px; color: var(--grey); }

.product-detail-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start;
}
.product-quote-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow); padding: 24px; position: sticky; top: 100px;
}
.product-quote-head span {
  display: inline-block; margin-bottom: 8px; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 800; color: var(--blue);
}
.product-quote-head h2 { margin: 0 0 8px; font-size: 22px; }
.product-quote-head p { margin: 0 0 18px; color: var(--grey); font-size: 14px; }
.product-quote-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px;
}
.product-quote-fields label { display: grid; gap: 6px; }
.product-quote-fields label.is-full { grid-column: 1 / -1; }
.product-quote-fields span { font-size: 12px; font-weight: 700; color: var(--grey); letter-spacing: .04em; text-transform: uppercase; }
.product-quote-fields input,
.product-quote-fields select,
.product-quote-fields textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px;
  font: inherit; color: var(--ink); background: #fff;
}
.product-quote-fields input:focus,
.product-quote-fields select:focus,
.product-quote-fields textarea:focus { outline: none; border-color: var(--blue); }
.product-quote-fields .invalid-feedback,
.product-quote-fields em.invalid-feedback {
  font-style: normal; color: #c0392b; font-size: 12px; min-height: 0;
}
.product-quote-fields .is-invalid { border-color: #c0392b; }
.product-quote-privacy {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px;
  font-size: 13px; color: var(--grey);
}
.product-quote-privacy a { color: var(--blue); }
.product-quote-card .btn { width: 100%; justify-content: center; }
.quote-success-message { text-align: center; padding: 12px 0; }
.quote-success-message strong { display: block; margin-bottom: 8px; font-size: 18px; }
.quote-success-message p { color: var(--grey); margin: 0 0 14px; }
.is-hidden { display: none !important; }

.related-products-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.related-product-card {
  display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: #fff; color: inherit; box-shadow: var(--shadow);
}
.related-product-card:hover { border-color: var(--blue); }
.related-product-media { display: block; aspect-ratio: 1; background: #f6f8fb; }
.related-product-media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.related-product-card strong,
.related-product-card em { padding: 0 12px; }
.related-product-card strong { font-size: 13.5px; color: var(--ink); line-height: 1.35; }
.related-product-card em {
  font-style: normal; color: var(--grey); font-size: 11.5px; padding-bottom: 12px;
}

/* Image lightbox */
.image-lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 16, 28, .82); padding: 24px;
}
.image-lightbox.is-open { display: flex; }
.image-lightbox img {
  max-width: min(960px, 92vw); max-height: 86vh; width: auto; height: auto;
  object-fit: contain; border-radius: 8px; background: #fff; padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.image-lightbox-close {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px;
  border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.image-lightbox-close:hover { background: #fff; }

@media (max-width: 980px) {
  .product-detail-main,
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-quote-card { position: static; }
  .related-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .product-quote-fields { grid-template-columns: 1fr; }
  .related-products-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .catalog-card-body { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .category-grid { grid-template-columns: 1fr; }
  .catalog-card { padding: 20px 16px; }
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
}

/* ===================== GLOBAL RESPONSIVE HARDENING ===================== */
html { overflow-x: clip; }
body { overflow-x: clip; }
.container {
  width: min(100%, var(--maxw));
  max-width: var(--maxw);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container.inner-layout,
.container.product-detail-layout {
  width: min(100%, var(--maxw-wide));
  max-width: var(--maxw-wide);
}
.header-inner {
  width: min(100%, var(--maxw-wide));
  max-width: var(--maxw-wide);
  margin-inline: auto;
  box-sizing: border-box;
}
img, svg, video, iframe, canvas { max-width: 100%; height: auto; }
table { max-width: 100%; }
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.table-responsive .catalog-specs-table,
.table-responsive .tech-table {
  min-width: 420px;
}
.catalog-card,
.catalog-card-specs,
.product-detail-copy,
.product-detail-content,
.inner-content {
  min-width: 0;
}
.breadcrumb {
  flex-wrap: wrap;
  row-gap: 6px;
  max-width: 100%;
}
.breadcrumb a,
.breadcrumb span {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.page-hero-inner { max-width: 100%; }
.product-richtext,
.inner-content,
.post {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.product-richtext img,
.inner-content img,
.post img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
  .container.inner-layout,
  .container.product-detail-layout {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 980px) {
  .section { padding: 56px 0; }
  :root { --gutter: 20px; }
  .container,
  .container.inner-layout,
  .container.product-detail-layout {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .page-hero { min-height: 250px; }
  .page-hero-inner { padding-top: 44px; padding-bottom: 36px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 40px); }
  .page-hero p { font-size: 15px; }
  .catalog-filters { order: -1; }
  .catalog-filters-summary { display: flex; margin-bottom: 12px; }
  .catalog-filters-head { display: none; }
  .catalog-filter-checks { max-height: 160px; }
  .catalog-toolbar { gap: 12px; }
  .catalog-toolbar .btn { width: 100%; justify-content: center; }
  .catalog-card-title { font-size: clamp(20px, 5.5vw, 26px); }
  .catalog-feature-icons { justify-content: flex-start; }
  .catalog-card-actions { justify-content: stretch; }
  .catalog-card-actions .btn { width: 100%; justify-content: center; }
  .product-detail-title { font-size: clamp(24px, 6.5vw, 34px); }
  .product-detail-meta { gap: 8px 12px; }
  .product-doc-links { gap: 8px; }
  .product-doc-links .btn { flex: 1 1 auto; justify-content: center; }
  .product-quote-card { padding: 20px 16px; }
  .mega-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .container,
  .container.inner-layout,
  .container.product-detail-layout {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .header-inner { height: 66px; gap: 10px; }
  .site-header .logo-img { max-height: 40px; }
  .lang-switch .lang-btn span:last-child { display: none; }
  .page-hero { min-height: 210px; }
  .page-hero-inner { padding-top: 36px; padding-bottom: 28px; }
  .breadcrumb { font-size: 11px; gap: 6px; letter-spacing: .04em; }
  .catalog-list { gap: 18px; }
  .catalog-card { padding: 18px 14px 16px; }
  .catalog-features li { font-size: 14px; }
  .catalog-badges span,
  .catalog-badges a { min-height: 30px; font-size: 11px; padding: 0 10px; }
  .catalog-specs-table thead th,
  .catalog-specs-table tbody td { padding: 6px 8px; font-size: 12px; white-space: nowrap; }
  .variant-matrix { gap: 4px; padding-top: 6px; }
  .variant-matrix-head,
  .variant-matrix-row { min-width: 0; min-height: 30px; }
  .variant-matrix-code-h,
  .variant-matrix-code { width: clamp(84px, 28%, 118px); font-size: 11.5px; padding: 3px 10px 3px 8px; }
  .variant-matrix-badge { min-height: 36px; }
  .variant-matrix-badge-content .vm-label { font-size: 11px; }
  .variant-matrix-cols { min-height: 30px; padding-left: 12px; }
  .variant-matrix-col { font-size: 11.5px; padding: 3px 2px; }
  .catalog-feature-icon { width: 48px; height: 48px; }
  .catalog-feature-icon img { width: 28px; height: 28px; }
  .table-responsive .catalog-specs-table,
  .table-responsive .tech-table { min-width: 480px; }
  .product-detail-image img { padding: 16px; }
  .product-detail-thumbs { grid-template-columns: 1fr 1fr; }
  .product-quote-card .btn { min-height: 48px; }
  .product-quote-privacy { align-items: flex-start; }
  .btn { max-width: 100%; }
  .values-grid,
  .why-grid,
  .product-grid { grid-template-columns: 1fr; }
  .material-cards,
  .material-cards--name_image { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .pagination { justify-content: center; }
  .pagination a,
  .pagination span { min-width: 36px; height: 36px; padding: 0 10px; }
  .footer-cols { grid-template-columns: 1fr; }
  .nl-row { flex-direction: column; }
  .nl-row .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 18px 14px; }
  .stat-row { grid-template-columns: 1fr; }
  .about-vm-grid,
  .about-values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .hero-cta .btn,
  .catalog-card-actions .btn,
  .catalog-filter-submit,
  .product-quote-card .btn { width: 100%; }
  .lang-menu { right: 0; left: auto; min-width: 140px; }
}

/* ===================== BEYANLAB WEB TEMA OVERRIDES ===================== */
/* Header — HTML tasarımı: h-20, xl nav, lg actions, underline yok */
.site-header {
  z-index: 50;
  background: color-mix(in oklab, var(--white) 95%, transparent);
}
.site-header.scrolled { box-shadow: none; }
.header-inner {
  height: 80px;
  gap: 24px;
}
.site-header.scrolled .header-inner { height: 80px; }
.site-header .logo { flex-direction: row; align-items: center; flex-shrink: 0; }
.site-header .logo-img,
.site-header.scrolled .logo-img {
  height: 44px;
  max-height: 44px;
  width: auto;
}

.main-nav { display: none; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: none;
  color: color-mix(in oklab, var(--navy) 80%, transparent);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.main-nav a::after { display: none !important; content: none; width: 0 !important; }
.main-nav a:hover,
.main-nav a.active { color: var(--brand); }
.main-nav .has-children { position: relative; }
.main-nav .nav-caret {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.main-nav .nav-sub {
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.main-nav .nav-sub a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.main-nav .nav-sub a::after { display: none !important; }

.mobile-nav-actions { display: none; }

.header-actions {
  display: none;
  align-items: center;
  gap: 8px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--navy);
  background: #fff;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}
.lang-btn:hover { background: var(--soft); }
.lang-btn svg,
.header-shop svg,
.header-dealer svg,
.nav-toggle svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  flex-shrink: 0;
}
.btn-navy {
  background: var(--navy);
  color: var(--navy-foreground);
  border-color: var(--navy);
}
.btn-navy:hover { opacity: .9; color: #fff; }
.header-shop,
.header-dealer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.header-actions .btn { display: inline-flex !important; }
.header-actions .btn svg { flex-shrink: 0; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
}
.nav-toggle span { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

@media (min-width: 1024px) {
  .header-actions { display: flex; }
}
@media (max-width: 1279px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 101;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 12px;
  }
  .main-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .main-nav .has-children > a { display: flex; align-items: center; justify-content: space-between; }
  .main-nav .nav-sub {
    display: block;
    position: static;
    min-width: 0;
    padding: 0 0 8px 12px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .main-nav .nav-sub a { padding: 8px 0; font-size: 12px; }
  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 24px 20px;
  }
  .mobile-nav-actions .btn {
    justify-content: center;
    width: 100%;
  }
  .nav-toggle { display: inline-flex !important; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .mobile-nav-actions { display: none; }
}
@media (max-width: 640px) {
  .header-inner { height: 80px; gap: 16px; }
  .site-header .logo-img,
  .site-header.scrolled .logo-img { height: 40px; max-height: 40px; }
}
@media (min-width: 1280px) {
  .main-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 0;
  }
  .main-nav a {
    display: inline;
    padding: 8px 0;
    border-bottom: 0;
  }
  .main-nav .has-children:hover > .nav-sub,
  .main-nav .has-children:focus-within > .nav-sub {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 120;
  }
  .mobile-nav-actions { display: none; }
  .nav-toggle { display: none !important; }
}

.hero {
  position: relative;
  min-height: 75vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
  color: var(--navy-foreground);
}
.hero-slider { position: relative; min-height: 75vh; display: flex; flex-direction: column; justify-content: center; }
.hero-bgs { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-img {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 100%;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-bg-img.is-active { opacity: .6; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, oklch(0.23 0.08 260 / 0.97) 0%, oklch(0.25 0.09 258 / 0.85) 45%, oklch(0.25 0.09 258 / 0.25) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 75vh;
  padding-top: 32px;
  padding-bottom: 168px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy-col { max-width: 42rem; }
.hero-track { position: relative; }
.hero-slide {
  display: none;
}
.hero-slide.is-active { display: block; }
.hero-slide.is-active > * { animation: heroUp .55s ease both; }
.hero-slide.is-active > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active > *:nth-child(3) { animation-delay: .16s; }
.hero h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-foreground);
}
.hero h1 .accent { color: var(--brand); display: inline; font-weight: 800; }
.hero .sub {
  margin: 20px 0 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  text-transform: none;
  color: color-mix(in oklab, var(--navy-foreground) 80%, transparent);
}
.hero-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.6);
  color: var(--navy-foreground);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.hero-cta-link:hover { background: #fff; color: var(--navy); }
.hero-stripes { display: none; }
.hero-keywords, .hero .keywords { display: none; }

.hero-controls {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  justify-content: flex-start;
  margin-top: 40px;
  padding: 0;
  z-index: 3;
}
.hero-dots {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-dots button,
.hero-dot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: color-mix(in oklab, var(--navy-foreground) 60%, transparent);
  box-shadow: none;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  border-radius: 0;
}
.hero-dots button.is-active,
.hero-dots button[aria-selected="true"],
.hero-dot.is-active,
.hero-dot[aria-selected="true"] {
  color: var(--navy-foreground);
  width: auto !important;
  background: none;
}
.hero-dot-num { line-height: 1; }
.hero-dot-bar {
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,.25);
}
.hero-dot.is-active .hero-dot-bar,
.hero-dot[aria-selected="true"] .hero-dot-bar { background: var(--brand); }

.hero-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.7);
  box-shadow: none;
  cursor: pointer;
  z-index: 4;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hero-nav svg { width: 28px; height: 28px; max-width: none; }
.hero-nav:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-nav.prev { left: 8px; }
.hero-nav.next { right: 8px; }

.hero-highlights-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  z-index: 3;
  pointer-events: none;
}
.hero-highlights-wrap .container {
  pointer-events: none;
}
.hero-highlights {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-lift);
  pointer-events: auto;
  width: 100%;
}
.hero-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  padding: 20px;
}
.hero-highlight svg {
  width: 24px;
  height: 24px;
  max-width: none;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--brand);
  stroke: currentColor;
}
.hero-highlight-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0;
}
.hero-highlight-text {
  margin: 4px 0 0;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--grey);
}

@media (min-width: 1024px) {
  .hero-bg-img { width: 62%; }
  .hero-inner { padding-top: 40px; padding-bottom: 168px; }
  .hero h1 { font-size: 3.75rem; line-height: 1.1; }
  .hero .sub { font-size: 1.125rem; }
  .hero-nav { display: flex; }
  .hero-highlights {
    margin-left: auto;
    width: 45%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-inner { padding-bottom: 168px; }
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand); opacity: .9; }
.btn-outline { color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: transparent; }

.page-hero-overlay { display: none; }
.page-hero-dots {
  position: absolute; inset: 0; opacity: .15; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 22px 22px;
}
.page-hero-inner { color: var(--navy-foreground); }
.page-hero h1 { color: var(--navy-foreground); font-weight: 700; }
.page-hero p { color: color-mix(in oklab, var(--navy-foreground) 75%, transparent); }
.breadcrumb { color: color-mix(in oklab, var(--navy-foreground) 60%, transparent); text-transform: uppercase; }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-current { color: var(--brand); }
.breadcrumb-sep { width: 12px; height: 12px; opacity: .7; }
.page-hero-rule { margin-top: 24px; height: 4px; width: 64px; border-radius: 999px; background: var(--brand); }

.section.soft { background: color-mix(in oklab, var(--soft) 60%, transparent); }
.section-head h2 { text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.section-head .rule { background: var(--brand); }

.why-us-section {
  background: color-mix(in oklab, var(--soft) 60%, transparent);
  padding: 40px 0;
}
.why-us-grid {
  display: grid;
  gap: 40px;
}
.why-us-copy { max-width: 360px; }
.why-us-rule {
  width: 48px;
  height: 2px;
  background: var(--brand);
}
.why-us-copy h2 {
  margin: 20px 0 0;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
}
.why-us-copy p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey);
}
.why-us-cta {
  margin-top: 24px;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.why-us-items {
  display: grid;
  gap: 24px;
}
.why-us-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
}
.why-us-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--brand) 30%, var(--line));
  background: #fff;
  color: var(--brand);
}
.why-us-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-us-icon i { font-size: 20px; line-height: 1; color: currentColor; }
.why-us-icon img { width: 20px; height: 20px; object-fit: contain; }
.why-us-item-body h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
}
.why-us-item-body p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--grey);
}
@media (min-width: 640px) {
  .why-us-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: 0.8fr 1.4fr;
    align-items: start;
    gap: 40px;
  }
  .why-us-copy { max-width: none; }
}

.home-cats-section { padding: 40px 0; background: #fff; }
.home-cats-section .section-head { margin-bottom: 40px; }
.home-cats-section .cat-grid {
  gap: 20px;
}
.home-cats-section .cat-grid--row {
  display: flex;
  flex-wrap: nowrap;
}
.home-cats-section .cat-grid--row .cat-card {
  flex: 1 1 0;
  min-width: 0;
}
.home-cats-section .cat-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.home-cats-section .cat-card:hover { box-shadow: var(--shadow-lift); }
.home-cats-section .cat-thumb {
  aspect-ratio: auto;
  height: 112px;
}
.home-cats-section .cat-body { padding: 16px; }
.home-cats-section .cat-body h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
  text-transform: none;
}
.home-cats-section .cat-card:hover .cat-body h3 { color: var(--brand); }
.home-cats-section .cat-body p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--grey);
}
.home-cats-section .product-more { margin-top: 32px; }
.home-cats-section .carousel-wrap { margin: 0; }
.home-cats-section .cat-grid.carousel {
  gap: 20px;
  padding: 4px 2px 8px;
  touch-action: pan-x;
}
.home-cats-section .cat-grid.carousel > .cat-card {
  flex: 0 0 calc((100% - (var(--per) - 1) * 20px) / var(--per));
}
@media (max-width: 1100px) {
  .home-cats-section .cat-grid--row {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .home-cats-section .cat-grid--row::-webkit-scrollbar { display: none; }
  .home-cats-section .cat-grid--row .cat-card {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: start;
  }
}
@media (max-width: 640px) {
  .home-cats-section .cat-grid--row .cat-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

.stats-section {
  padding-top: 8px;
  padding-bottom: 40px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 8px 8px;
  background: var(--gradient-hero);
  border-radius: 12px;
  overflow: hidden;
  color: var(--navy-foreground);
}
.stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 24px 12px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stats .stat:last-child { border-right: 0; }
.stats .num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}
.stats .lbl {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.65);
  margin-top: 0;
}
.stats svg { display: none; }

main > .section,
.brands-section,
.why-us-section,
.home-cats-section,
.network-section,
.news-section,
.partners-section {
  padding-top: 40px;
  padding-bottom: 40px;
}
.section-head { margin-bottom: 28px; }
.home-cats-section .section-head { margin-bottom: 28px; }
.home-cats-section .product-more { margin-top: 24px; }
.brands-section .product-more { margin-top: 24px; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}
.brand-card {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.brand-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); }
.brand-card img { max-height: 48px; width: 100%; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 15px; }
.brand-desc { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }
.brand-card-more {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  gap: 8px;
}
.brand-card-more:hover { border-color: var(--brand); }

.brands-listing .brand-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.brands-listing .brand-card {
  min-height: 144px;
  padding: 22px 16px;
  gap: 8px;
  text-decoration: none;
}
.brands-listing .brand-card img { max-height: 80px; }
.brands-rep-cta {
  margin-top: 48px;
  padding: 32px 36px;
  border-radius: var(--radius);
  background: var(--gradient-hero);
}
.brands-rep-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 22px;
}
.brands-rep-cta p {
  margin: 0 0 20px;
  max-width: 42rem;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 1.6;
}
@media (min-width: 640px) {
  .brands-listing .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .brands-listing .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.brand-more-dots {
  display: flex;
  gap: 6px;
}
.brand-more-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grey);
}

.news-card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.news-body h3 { font-size: 14px; font-family: var(--font-head); font-weight: 800; color: var(--navy); }
.news-body h3 a { color: inherit; text-decoration: none; }
.news-body h3 a:hover { color: var(--brand); }
.news-body p { font-size: 12px; line-height: 1.6; }
.news-date { font-size: 11px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.news-link { color: var(--brand); letter-spacing: 0; text-transform: none; font-size: 11px; }
.news-section {
  padding: 40px 0;
  background: #fff;
}
.news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  text-align: left;
}
.news-head h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
}
.news-head .rule {
  margin: 14px 0 0;
  width: 66px;
  height: 3px;
  background: var(--brand);
}
.news-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
}
.news-all:hover { opacity: .85; }
.news-section .news-grid {
  gap: 20px;
  grid-template-columns: 1fr;
}
.news-section .news-thumb { height: 160px; aspect-ratio: auto; }
.news-section .news-body { padding: 20px; }
@media (min-width: 640px) {
  .news-section .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .news-section .news-grid { grid-template-columns: repeat(var(--news-cols, 4), minmax(0, 1fr)); }
}
.fp-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.fp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.site-footer h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.site-footer .footer-col.brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #97a3b4;
  margin: 18px 0 20px;
  max-width: 320px;
}
.site-footer .socials { margin-top: 4px; }
.site-footer .socials a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 6px;
}
.site-footer .socials a:hover { background: var(--brand); }
.site-footer .footer-contact svg { stroke: var(--brand); }
.site-footer .footer-bottom { border-top-color: rgba(255,255,255,.1); }
.site-footer .footer-bottom-left { color: #9aa6b8; }
#backToTop { background: var(--brand); }

@media (max-width: 1100px) {
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .header-shop, .header-dealer { display: none; }
}
@media (max-width: 640px) {
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .stat {
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .stats .stat:nth-child(2n) { border-right: 0; }
  .stats .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

.network-section {
  padding: 40px 0;
  background: color-mix(in oklab, var(--soft) 60%, transparent);
}
.network-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 25px 50px -12px oklch(29% .09 258 / .25);
}
.network-grid {
  display: grid;
}
.network-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  background: var(--navy-deep);
  color: var(--navy-foreground);
}
.network-kicker {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.network-copy h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
}
.network-copy p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: color-mix(in oklab, var(--navy-foreground) 80%, transparent);
}
.network-cta {
  margin-top: 24px;
  width: fit-content;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: .06em;
  color: #fff;
  background: transparent;
  border-color: color-mix(in oklab, #fff 40%, transparent);
}
.network-cta:hover {
  background: color-mix(in oklab, #fff 10%, transparent);
  color: #fff;
  border-color: #fff;
}
.network-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in oklab, #fff 10%, transparent);
}
.network-highlight svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
}
.network-highlight-value {
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.network-highlight-label {
  font-size: 11px;
  color: color-mix(in oklab, var(--navy-foreground) 65%, transparent);
}
.network-map {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: color-mix(in oklab, var(--soft) 40%, #fff);
}
.network-map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .9;
}
.network-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.network-pin.is-hq { width: 32px; height: 32px; }
.network-pin-dot {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--brand);
  box-shadow: 0 4px 10px oklch(29% .09 258 / .25);
  transition: transform .2s ease;
}
.network-pin.is-hq .network-pin-dot {
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  z-index: 2;
}
.network-pin:hover .network-pin-dot { transform: scale(1.25); }
.network-pin-mid {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 50%, transparent);
}
.network-pin-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 30%, transparent);
  animation: network-ping 1.4s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes network-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.network-tooltip {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 20;
  width: 176px;
  padding: 12px;
  border-radius: 8px;
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity .25s ease, transform .25s ease;
}
.network-tooltip strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
}
.network-tooltip p {
  margin: 4px 0 0;
  font-size: 11px;
  color: color-mix(in oklab, #fff 70%, transparent);
}
.network-tooltip-hq {
  width: 208px;
  padding: 16px;
  text-align: left;
  background: color-mix(in oklab, #fff 90%, transparent);
  color: var(--navy);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  border-radius: 12px;
}
.network-tooltip-hq::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  margin-left: -8px;
  border: 8px solid transparent;
  border-top-color: color-mix(in oklab, #fff 90%, transparent);
}
.network-tooltip-hq p { color: var(--grey); }
.network-tooltip-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.network-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 24px;
  padding: 0 4px;
  border-radius: 2px;
  background: #c8102e;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}
.network-tooltip-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 10px;
}
.network-tooltip-meta span:first-child {
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
}
.network-pin:hover .network-tooltip,
.network-pin:focus-within .network-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}
.network-legend {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 12px;
  border-radius: 8px;
  background: color-mix(in oklab, #fff 80%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.network-legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  color: var(--navy);
}
.network-legend-row + .network-legend-row { margin-top: 8px; }
.network-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
}
.network-legend-hq {
  position: relative;
  width: 10px;
  height: 10px;
}
.network-legend-hq-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 40%, transparent);
  animation: network-ping 1.4s cubic-bezier(0, 0, .2, 1) infinite;
}
.network-legend-hq .network-legend-dot {
  position: relative;
  background: color-mix(in oklab, var(--brand) 60%, transparent);
}
.network-regions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}
.network-region {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.network-region-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.network-region-icon {
  flex: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 16%, #fff);
  color: var(--brand);
}
.network-region-icon svg { width: 14px; height: 14px; }
.network-region h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}
.network-region p {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.65;
  color: var(--grey);
}
@media (min-width: 640px) {
  .network-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .network-grid { grid-template-columns: 0.9fr 1.7fr; }
  .network-copy { padding: 48px; }
  .network-copy h2 { font-size: 36px; }
  .network-map { min-height: 520px; padding: 32px; }
  .network-legend { right: 24px; bottom: 24px; }
  .network-regions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.partners-section {
  padding: 40px 0;
  background: color-mix(in oklab, var(--soft) 50%, #fff);
  border-top: 1px solid var(--line);
}
.partners-section .section-head { text-align: center; margin-bottom: 32px; }
.partners-section .section-head h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
}
.partners-section .section-head .rule { margin: 14px auto 0; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: color-mix(in oklab, var(--navy) 70%, transparent);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
}
.partner-card img {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
@media (min-width: 1024px) {
  .partners-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ===================== DEALER AUTH ===================== */
.dealer-auth-section { padding-top: 48px; padding-bottom: 72px; }
.dealer-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}
.dealer-auth-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}
.dealer-auth-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
  color: var(--navy);
}
.dealer-auth-lead {
  margin: -8px 0 20px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.6;
}
.dealer-auth-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fff;
}
.dealer-auth-input:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 79, 163, 0.12);
}
.dealer-auth-input svg { flex: none; color: var(--grey); }
.dealer-auth-card .field .dealer-auth-input input,
.dealer-auth-input input {
  width: 100%;
  border: 0 !important;
  box-shadow: none !important;
  padding: 11px 0 !important;
  background: transparent;
  font: inherit;
  font-size: 14px;
}
.dealer-auth-card .field .dealer-auth-input input:focus {
  outline: 0;
}
.dealer-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 4px 0 20px;
  font-size: 13px;
}
.dealer-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
}
.dealer-auth-remember input { width: 16px; height: 16px; accent-color: var(--navy); }
.dealer-auth-row a { color: var(--blue); font-weight: 600; }
.dealer-auth-submit {
  width: 100%;
  justify-content: center;
}
.dealer-auth-back {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
.dealer-auth-aside {
  background: var(--gradient-hero);
  border-radius: var(--radius);
  padding: 36px 40px;
  color: var(--navy-foreground);
}
.dealer-auth-aside h2 {
  margin: 0;
  font-size: 22px;
  color: var(--navy-foreground);
}
.dealer-auth-aside p {
  margin: 12px 0 0;
  color: color-mix(in oklab, var(--navy-foreground) 75%, transparent);
  font-size: 14px;
  line-height: 1.7;
}
.dealer-auth-aside ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.dealer-auth-aside li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  color: color-mix(in oklab, var(--navy-foreground) 82%, transparent);
}
.dealer-auth-aside li span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.dealer-auth-aside .btn { margin-top: 28px; }
.dealer-auth-meta {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  color: var(--grey);
  font-size: 14px;
}
.dealer-auth-meta li { margin-bottom: 6px; }
.dealer-auth-meta strong { color: var(--navy); }
@media (max-width: 900px) {
  .dealer-auth-grid { grid-template-columns: 1fr; }
  .dealer-auth-aside { padding: 28px 24px; }
}

/* ===================== DEALER PANEL ===================== */
.dealer-panel-section { padding-top: 36px; padding-bottom: 72px; }
.dealer-panel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.dealer-panel-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.dealer-panel-nav a.is-active,
.dealer-panel-nav a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.dealer-panel-nav-cart { margin-left: auto; }
.dealer-panel-title {
  margin: 0 0 20px;
  font-size: 20px;
  color: var(--navy);
}
.dealer-home-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.dealer-home-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.dealer-home-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--navy);
}
.dealer-home-card p {
  margin: 0 0 16px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.6;
}
.dealer-home-card span { color: var(--blue); font-weight: 700; font-size: 13px; }
.dealer-home-card:hover { border-color: var(--blue); }
.dealer-panel-logout { margin-top: 28px; }
.dealer-panel-logout .btn { width: auto; }
.dealer-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.dealer-brand-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.dealer-brand-card img { max-height: 36px; max-width: 100%; object-fit: contain; }
.dealer-brand-card strong { font-size: 16px; }
.dealer-brand-card span { color: var(--grey); font-size: 13px; }
.dealer-brand-card:hover { border-color: var(--blue); }
.dealer-catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}
.dealer-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}
.dealer-search input[type="text"] {
  flex: 1;
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit;
}
.dealer-table-wrap { overflow-x: auto; }
.dealer-table { width: 100%; border-collapse: collapse; background: #fff; }
.dealer-table th,
.dealer-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}
.dealer-table th { color: var(--grey); font-weight: 600; font-size: 12px; }
.dealer-table .muted,
.dealer-empty,
.dealer-cart .muted { color: var(--grey); }
.dealer-price-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
}
.dealer-empty { text-align: center; padding: 28px 8px; }
.dealer-add-form {
  display: flex;
  gap: 6px;
  align-items: center;
}
.dealer-add-form input[type="number"] {
  width: 88px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  font: inherit;
}
.dealer-add-form .btn { padding: 8px 12px; font-size: 12px; }
.dealer-cart {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  position: sticky;
  top: 88px;
}
.dealer-cart h3 { margin: 0 0 12px; font-size: 16px; color: var(--navy); }
.dealer-cart-list { list-style: none; margin: 0 0 16px; padding: 0; }
.dealer-cart-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.dealer-cart-list li > div { display: flex; flex-direction: column; gap: 2px; }
.dealer-cart-remove {
  border: 0;
  background: transparent;
  color: var(--grey);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.dealer-cart-total {
  margin: 12px 0 16px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.dealer-cart-total .dealer-price-stack { text-align: right; }
.dealer-confirm-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.dealer-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.dealer-pagination { margin-top: 20px; }
.dealer-pagination nav,
.dealer-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dealer-pagination a,
.dealer-pagination span {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
}
@media (max-width: 900px) {
  .dealer-home-cards,
  .dealer-catalog { grid-template-columns: 1fr; }
  .dealer-cart { position: static; }
}

