:root {
  --accent: var(--lm-blue-500);
  --accent-dark: var(--lm-blue-300);
  --bg: var(--lm-slate-950);
  --card: var(--lm-slate-850);
  --text: var(--lm-text-primary);
  --muted: var(--lm-text-secondary);
  --border: var(--lm-glass-edge);
  --radius: var(--lm-radius-2);
  --surface-soft: var(--lm-slate-900);
  --surface-raised: var(--lm-slate-800);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-root { padding: var(--lm-space-0); }

.site-header.lm-menu-bar {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: var(--lm-menu-bar-height);
  margin: var(--lm-space-0);
  padding: var(--lm-space-2) max(var(--lm-space-4), calc((100vw - 1120px) / 2));
  border: 0;
  border-bottom: var(--lm-border-standard) solid var(--lm-glass-edge);
  border-radius: var(--lm-radius-0);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.16)), var(--lm-slate-900);
  box-shadow: var(--lm-shadow-2);
}

.site-header .lm-menu-bar__action {
  flex: 0 0 auto;
  white-space: nowrap;
}

.is-disabled {
  color: var(--lm-text-disabled);
  cursor: default;
  pointer-events: none;
  background: none;
  box-shadow: none;
  text-decoration: none;
}

.lm-footer__empty { color: var(--lm-text-disabled); }

.site-hero {
  width: 100%;
  border-bottom: var(--lm-border-standard) solid var(--lm-glass-edge);
  background: var(--lm-slate-900);
  box-shadow: var(--lm-shadow-2);
}

.site-hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.why-choose-us {
  max-width: 1120px;
  margin: var(--lm-space-0) auto;
  padding: var(--lm-space-6) var(--lm-space-5) var(--lm-space-7);
}

.why-choose-us__heading {
  margin-bottom: var(--lm-space-5);
}

.why-choose-us__eyebrow {
  margin: var(--lm-space-0) var(--lm-space-0) var(--lm-space-2);
  color: var(--lm-gold-100);
  font-size: var(--lm-font-size-sm);
  font-weight: 650;
}

.why-choose-us__heading h1 {
  margin: var(--lm-space-0);
  color: var(--lm-text-primary);
  font-size: var(--lm-font-size-display);
  line-height: var(--lm-line-height);
}

.why-choose-us__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--lm-space-5);
}

.about-us {
  position: relative;
  overflow: hidden;
  border-top: var(--lm-border-standard) solid var(--lm-glass-edge);
  border-bottom: var(--lm-border-standard) solid var(--lm-glass-edge);
  background: radial-gradient(ellipse at 12% 0%, var(--lm-about-highlight), var(--lm-transparent) 45%), var(--lm-about-surface);
  box-shadow: var(--lm-shadow-2);
}

.about-us__inner {
  max-width: 1120px;
  margin: var(--lm-space-0) auto;
  padding: var(--lm-space-7) var(--lm-space-5);
}

.about-us__eyebrow {
  margin: var(--lm-space-0) var(--lm-space-0) var(--lm-space-4);
  color: var(--lm-gold-100);
  font-size: var(--lm-font-size-sm);
  font-weight: 650;
}

.about-us__layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.5fr);
  align-items: start;
  gap: var(--lm-space-7);
}

.about-us__brand {
  display: grid;
  gap: var(--lm-space-1);
  margin: var(--lm-space-0);
  color: var(--lm-text-primary);
  font-size: var(--lm-font-size-display);
  font-weight: 700;
  line-height: var(--lm-line-height);
}

.about-us__brand span { color: var(--lm-blue-100); }

.about-us__copy {
  display: grid;
  gap: var(--lm-space-4);
  max-width: 760px;
}

.about-us__lead {
  margin: var(--lm-space-0);
  color: var(--lm-text-primary);
  font-size: var(--lm-font-size-xl);
  font-weight: 600;
  line-height: var(--lm-line-height);
}

.about-us__body {
  margin: var(--lm-space-0);
  color: var(--lm-text-secondary);
  font-size: var(--lm-font-size-md);
  line-height: var(--lm-line-height);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.page-title {
  font-size: 1.5rem;
  margin: 0 0 4px;
}

.page-sub {
  color: var(--muted);
  margin: 0 0 24px;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--card);
  box-shadow: var(--lm-shadow-1);
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lm-shadow-1);
}

.card-img {
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--surface-soft);
}

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

.card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: 1.04rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.card-title:hover { color: var(--accent-dark); }

.card-summary {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.container--product {
  max-width: 1120px;
  padding: 32px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}

.product-hero__media {
  min-width: 0;
}

.product-hero__slider {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-hero__viewport {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-soft);
  box-shadow: var(--lm-shadow-2);
  aspect-ratio: 4 / 3;
}

.product-hero__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform var(--lm-duration, 180ms) var(--lm-ease-out, ease-out);
}

.product-hero__slide {
  flex: 0 0 100%;
  margin: 0;
  width: 100%;
  height: 100%;
}

.product-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--surface-soft);
}

.product-hero__media-empty {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted);
}

.product-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--lm-radius-pill, 999px);
  background: rgba(0, 0, 0, 0.55);
  color: var(--lm-text-primary, #f4f0e8);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.product-hero__nav:hover { background: rgba(0, 0, 0, 0.75); }

.product-hero__nav--prev { left: 12px; }
.product-hero__nav--next { right: 12px; }

.product-hero__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.product-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: var(--lm-radius-pill, 999px);
  background: var(--surface-raised);
  cursor: pointer;
}

.product-hero__dot.is-active { background: var(--accent); }

.product-hero__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-hero__title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--text);
}

.product-hero__description {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  white-space: pre-line;
}

.product-hero__video {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.product-spec {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-spec__title {
  margin: 0;
  font-size: 1.35rem;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.product-spec__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--lm-shadow-1);
  table-layout: fixed;
}

.product-spec__table thead th {
  text-align: left;
  padding: 12px 16px;
  background: var(--surface-raised);
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.product-spec__table th,
.product-spec__table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: break-word;
}

.product-spec__table tbody th {
  width: 32%;
  font-weight: 600;
  color: var(--text);
}

.product-spec__table td { color: var(--muted); }

.product-spec__table tbody tr:last-child th,
.product-spec__table tbody tr:last-child td { border-bottom: none; }

.product-related {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-related__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.product-related__head h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--text);
}

.product-related__sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.product-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.product-related__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--lm-shadow-1);
  transition: transform var(--lm-duration, 180ms) var(--lm-ease-out, ease-out),
              border-color var(--lm-duration, 180ms) var(--lm-ease-out, ease-out);
}

.product-related__card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-dark);
}

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

.product-related__media {
  background: var(--surface-soft);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.product-related__name {
  margin: 0;
  padding: 12px 14px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.video-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.video-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.video-link {
  display: block;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.video-link:hover { background: var(--surface-raised); }

.hide { display: none; }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 20px 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 760px) {
  .site-header .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-mail { white-space: normal; }
}

@media (max-width: 640px) {
  .why-choose-us { padding: var(--lm-space-5) var(--lm-space-4) var(--lm-space-6); }
  .why-choose-us__grid { grid-template-columns: minmax(0, 1fr); }
  .about-us__inner { padding: var(--lm-space-6) var(--lm-space-4); }
  .about-us__layout { grid-template-columns: minmax(0, 1fr); gap: var(--lm-space-4); }
  .grid { grid-template-columns: 1fr; }
  .card-img img { height: 150px; }
  .video-wrap iframe { height: 260px; }

  .product-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .product-hero__title { font-size: 1.5rem; }
  .container--product { gap: 28px; padding: 24px 16px 48px; }
  .product-related__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (max-width: 620px) {
  .site-header .lm-menu-bar__nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-header .lm-menu-bar__action {
    margin-left: auto;
  }
}
