/* LOADMONT site styles — navy #0a2a5e / orange #f5a623 */
:root {
  --lm-navy: #0a2a5e;
  --lm-orange: #f5a623;
  --lm-grey: #f4f6f9;
  --lm-line: #e3e7ee;
  --lm-radius: 14px;
  --lm-shadow: 0 18px 40px rgba(10, 42, 94, .10);
}
body {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #222;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: 76px;
}
/* Every page is prerendered into the HTML, so nothing may depend on JS to become
   visible. Clients that ran the <head> bootstrap (html.lm-js) get a CSS-only fade —
   an animation always completes, unlike the old opacity flag that JS had to clear.
   Without the class the rule never applies and the content is simply visible. */
@keyframes lm-page-in { from { opacity: 0; } to { opacity: 1; } }
html.lm-js body { animation: lm-page-in .25s ease both; }
a { text-decoration: none; color: var(--lm-navy); }
img { max-width: 100%; }
::selection { background: var(--lm-orange); color: var(--lm-navy); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f0f2f6; }
::-webkit-scrollbar-thumb { background: #c3cbd8; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--lm-navy); }

/* ---------- header (transparent over hero, solid on scroll) ---------- */
.lm-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  height: 76px; background: transparent;
  transition: background .35s ease, box-shadow .35s ease;
}
.lm-header.scrolled {
  background: rgba(10, 42, 94, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .28);
}
/* pages with neither a hero nor a .lm-page-head (product/detail.html) leave the bar
   transparent over white content, so white nav text disappears at scroll 0 */
.lm-header.lm-solid {
  background: rgba(10, 42, 94, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lm-logo img { height: 60px; display: block; }
.lm-nav .nav-link {
  color: rgba(255,255,255,.88); font-weight: 600; font-size: 15px;
  padding: .5rem .9rem; position: relative;
}
.lm-nav .nav-link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem;
  height: 2px; background: var(--lm-orange); border-radius: 1px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.lm-nav .nav-link:hover { color: var(--lm-orange); }
.lm-nav .nav-link:hover::after, .lm-nav .nav-link.active::after { transform: scaleX(1); }
.lm-nav .nav-link.active { color: var(--lm-orange); }
.lm-collapse .nav-link::after { display: none; }
.lm-lang .btn {
  border: 1px solid rgba(255,255,255,.7); color: #fff;
  font-weight: 600; font-size: 13px; padding: .3rem .9rem; border-radius: 4px;
}
.lm-lang .btn:hover { background: #fff; color: var(--lm-navy); }
.lm-lang .dropdown-item.active { background: var(--lm-grey); color: var(--lm-navy); font-weight: 700; }
.lm-navbar-toggler {
  background: none; border: 0; width: 40px; height: 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer;
}
.lm-navbar-toggler span { display: block; height: 2px; background: #fff; border-radius: 2px; }
.lm-collapse { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--lm-navy); box-shadow: 0 8px 16px rgba(0,0,0,.3); padding: .5rem 1rem 1rem; }
.lm-collapse.show { display: block; }
.lm-collapse .nav-link { color: #fff; font-weight: 600; }
.lm-collapse .nav-link:hover, .lm-collapse .nav-link.active { color: var(--lm-orange); }

/* ---------- social hub ---------- */
.lm-social { padding: 72px 0 24px; }
.lm-social-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-radius);
  padding: 34px 18px 26px; height: 100%; transition: .25s;
}
.lm-social-card:hover { transform: translateY(-4px); box-shadow: var(--lm-shadow); border-color: transparent; }
.lm-social-card .ico svg { width: 46px; height: 46px; display: block; }
.lm-social-card .i-fb svg { fill: #1877f2; }
.lm-social-card .i-tk svg { fill: #111; }
.lm-social-card .i-wa svg { fill: #25d366; }
.lm-social-card .i-ig svg { fill: #e1306c; }
.lm-social-card .nm { font-size: 17px; font-weight: 800; color: var(--lm-navy); }
.lm-social-card .ac { font-size: 13px; color: #777; }

/* ---------- footer ---------- */
.lm-footer { position: relative; background: var(--lm-navy); color: rgba(255,255,255,.75); margin-top: 80px; padding: 56px 0 24px; font-size: 14px; }
.lm-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--lm-orange), #ffcf7a 35%, rgba(255,255,255,0) 100%);
}
.lm-footer .f-logo img { height: 40px; }
.lm-footer h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.lm-footer a { color: rgba(255,255,255,.75); display: block; margin-bottom: .5rem; }
.lm-footer a:hover { color: var(--lm-orange); }
.lm-footer .copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 13px; }

/* ---------- hero: headline band / 21:9 photo band / copy band ---------- */
.lm-hero {
  position: relative; width: 100%; margin: -76px 0 0; padding: 0;
  color: #fff; background: #0C0F14;
}
/* copy sits above the photo, so nothing is drawn over the machines */
.lm-hero-head { padding: 102px 0 34px; }
.lm-hero-head .container { position: relative; z-index: 2; }
.lm-hero-media { position: relative; width: 100%; aspect-ratio: 21 / 9; overflow: hidden; background: #111; }
/* soft seams: the photo band fades into the headline band above and the copy band below */
.lm-hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, #0C0F14 0%, rgba(12,15,20,.55) 10%, rgba(12,15,20,0) 24%),
    linear-gradient(0deg, #0C0F14 0%, rgba(12,15,20,.45) 9%, rgba(12,15,20,0) 22%);
}
/* hero slideshow: 5 slides, JS-driven (6s autoplay + manual arrows/dots), slow zoom on top */
.lm-hero-slide {
  position: absolute; inset: 0; opacity: 0;
  background: #111 center right/cover no-repeat;
  transition: opacity .9s ease;
  animation: lm-zoom 22s ease-in-out infinite alternate;
}
.lm-hero-slide.active { opacity: 1; }
.lm-hero-slide.s1 { background-image: url('/assets/img/hero-1.jpg'); }
.lm-hero-slide.s2 { background-image: url('/assets/img/hero-2.jpg'); }
.lm-hero-slide.s3 { background-image: url('/assets/img/hero-3.jpg'); }
.lm-hero-slide.s4 { background-image: url('/assets/img/hero-4.jpg'); }
.lm-hero-slide.s5 { background-image: url('/assets/img/hero-5.jpg'); }
.lm-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); background: rgba(17,20,26,.35);
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0 0 4px;
  transition: .25s;
}
.lm-hero-arrow:hover { background: var(--lm-orange); border-color: var(--lm-orange); color: #111; }
.lm-hero-arrow.prev { left: 22px; }
.lm-hero-arrow.next { right: 22px; }
.lm-hero-dots {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3;
  display: flex; gap: 10px; justify-content: center;
}
.lm-hero-dots .dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.35); cursor: pointer; transition: .25s;
}
.lm-hero-dots .dot.active { background: var(--lm-orange); transform: scale(1.3); }
@keyframes lm-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.lm-hero h1 {
  font-size: clamp(30px, 4.8vw, 62px); font-weight: 900; line-height: 1.12;
  max-width: 18ch; letter-spacing: 1px; margin: 0;
  animation: lm-fade-up .9s .05s both;
}
/* copy sits below the photo */
.lm-hero-foot { padding: 34px 0 48px; }
.lm-hero .hero-sub {
  font-size: clamp(14px, 1.8vw, 22px); letter-spacing: 2px; font-weight: 600;
  color: rgba(255,255,255,.82); max-width: 820px; margin: 0;
  animation: lm-fade-up .9s .25s both;
}
.lm-hero .hero-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; animation: lm-fade-up .9s .45s both; }
@keyframes lm-fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .lm-hero-head { padding: 92px 0 24px; }
  /* a 21:9 strip is too thin on a phone, so the band goes 4:3 */
  .lm-hero-media { aspect-ratio: 4 / 3; max-height: 58vh; }
  .lm-hero-foot { padding: 24px 0 32px; }
  .lm-hero h1 { letter-spacing: 0; }
}

/* ---------- buttons ---------- */
.lm-btn {
  display: inline-block; background: var(--lm-orange); color: #111; font-weight: 700;
  padding: 12px 30px; border-radius: 6px; border: 1px solid var(--lm-orange); transition: .25s;
}
.lm-btn:hover { background: #ffb733; color: #111; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 166, 35, .35); }
.lm-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.lm-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.lm-btn-outline { background: transparent; color: var(--lm-navy); border-color: var(--lm-navy); }
.lm-btn-outline:hover { background: var(--lm-navy); color: #fff; }

/* ---------- sections ---------- */
.lm-section { padding: 92px 0 8px; }
.lm-sec-title { font-size: 34px; font-weight: 800; color: var(--lm-navy); letter-spacing: .3px; }
.lm-sec-title::after { content: ""; display: block; width: 40px; height: 4px; background: linear-gradient(90deg, var(--lm-orange), #ffcf7a); border-radius: 2px; margin-top: 12px; }
.lm-sec-sub { color: #666; margin-top: 12px; }

/* ---------- scroll reveal ---------- */
/* Same rule as body: without JS the blocks must stay visible, so only clients that
   ran the head bootstrap start hidden. */
.lm-reveal { transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
/* `:not(.in)` is load-bearing. A bare `html.lm-js .lm-reveal` scores (0,2,1) while the
   reveal rule `.lm-reveal.in` scores only (0,2,0) — the hidden state would win the cascade
   and pin every block at opacity 0 forever, even after JS adds `.in`. */
html.lm-js .lm-reveal:not(.in) { opacity: 0; }
.lm-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lm-reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html.lm-js body { animation: none; }
  .lm-hero::after, .lm-hero h1, .lm-hero .hero-sub, .lm-hero .hero-cta, .lm-scroll { animation: none; }
}

/* ---------- stats ---------- */
.lm-stat { background: var(--lm-grey); border-radius: 8px; padding: 28px 20px; text-align: center; height: 100%; }
.lm-stat .num { font-size: 36px; font-weight: 800; color: var(--lm-navy); }
.lm-stat .num span { color: var(--lm-orange); }
.lm-stat .lbl { color: #666; font-size: 14px; margin-top: 6px; }

/* ---------- category / about cards ---------- */
.lm-cat-card {
  background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-radius); overflow: hidden;
  transition: .25s; height: 100%; display: flex; flex-direction: column;
}
.lm-cat-card:hover { transform: translateY(-4px); box-shadow: var(--lm-shadow); border-color: transparent; }
.lm-cat-card .ph { aspect-ratio: 4 / 3; height: auto; background: #fff; border-bottom: 1px solid var(--lm-line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* show the whole machine inside the frame (no cropping).
   The white is painted on the <img> itself, so the letterbox area stays white
   no matter what the surrounding container colour is. */
.lm-cat-card .ph img { width: 100%; height: 100%; object-fit: contain; padding: 0; background: #fff; display: block; transition: transform .45s ease; }
.lm-cat-card:hover .ph img { transform: scale(1.04); }
.lm-cat-card .bd { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lm-cat-card h3 { font-size: 19px; font-weight: 800; color: var(--lm-navy); margin: 0; }
.lm-cat-card p { font-size: 14px; color: #666; flex: 1; }
.lm-cat-card .more { font-weight: 700; color: var(--lm-orange); font-size: 14px; }

.lm-about-block { background: var(--lm-grey); border-radius: 10px; padding: 44px; display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.lm-about-block .txt { flex: 1 1 380px; }
.lm-about-block .pic { flex: 1 1 320px; }
.lm-about-block .pic img, .lm-about-block .pic video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 8px; }

.lm-why-card { border-left: 4px solid var(--lm-orange); background: #fff; border-radius: 0 8px 8px 0; box-shadow: 0 6px 18px rgba(10,42,94,.08); padding: 26px; height: 100%; }
.lm-why-card h3 { font-size: 17px; font-weight: 800; color: var(--lm-navy); }
.lm-why-card p { font-size: 14px; color: #666; margin: 0; }

/* ---------- page head (inner pages) ---------- */
.lm-page-head { position: relative; background: linear-gradient(135deg, #0a2a5e 0%, #10367a 60%, #16418c 100%); color: #fff; padding: 130px 0 56px; margin: -76px 0 48px; overflow: hidden; }
.lm-page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--lm-orange), rgba(245,166,35,0) 75%); }
.lm-page-head h1 { font-size: 36px; font-weight: 800; margin: 0; letter-spacing: .5px; }
.lm-page-head p { opacity: .8; margin: 8px 0 0; }

/* ---------- product list ---------- */
/* category tabs live only in the sticky filter bar of the product pages
   (see .lm-filterbar rules below) — the old pill styling was removed so no
   navy .active background can fight with the underline treatment */
.lm-cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.lm-cat-tabs button, .lm-cat-tabs a { cursor: pointer; }
.lm-product-card {
  background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-radius); overflow: hidden;
  transition: .25s; height: 100%; display: flex; flex-direction: column;
}
.lm-product-card:hover { transform: translateY(-4px); box-shadow: var(--lm-shadow); border-color: transparent; }
.lm-product-card .ph { aspect-ratio: 4 / 3; height: auto; background: #fff; border-bottom: 1px solid var(--lm-line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lm-product-card .ph img { width: 100%; height: 100%; object-fit: cover; padding: 0; display: block; transition: transform .45s ease; }
.lm-product-card:hover .ph img { transform: scale(1.06); }
.lm-product-card .bd { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.lm-product-card .model { color: var(--lm-orange); font-weight: 800; font-size: 13px; letter-spacing: .5px; }
.lm-product-card h3 { font-size: 16px; font-weight: 700; color: var(--lm-navy); margin: 0; }
.lm-product-card .dlink { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; color: var(--lm-navy); }
.lm-product-card .dlink:hover { color: var(--lm-orange); }

/* ---------- product detail ---------- */
.lm-detail-img { background: #fff; border: 1px solid var(--lm-line); border-radius: 10px; padding: 30px; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.lm-detail-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 8px; box-shadow: 0 6px 22px rgba(10,42,94,.12); background: #fff; }
.lm-detail-title { font-size: 30px; font-weight: 800; color: var(--lm-navy); margin: 0; }
.lm-detail-model { color: var(--lm-orange); font-weight: 800; letter-spacing: 1px; font-size: 14px; }
.lm-spec-card { background: var(--lm-grey); border-radius: 8px; padding: 16px 12px; text-align: center; height: 100%; }
.lm-spec-card .v { font-size: 17px; font-weight: 800; color: var(--lm-navy); overflow-wrap: anywhere; line-height: 1.3; }
.lm-spec-card .t { font-size: 12px; color: #777; margin-top: 4px; }
.lm-spec-group { background: #fff; border: 1px solid var(--lm-line); border-radius: 8px; overflow: hidden; }
.lm-spec-group h4 { background: var(--lm-navy); color: #fff; font-size: 15px; font-weight: 700; padding: 12px 18px; margin: 0; }
.lm-spec-group table { width: 100%; font-size: 14px; margin: 0; }
.lm-spec-group td { padding: 10px 18px; border-bottom: 1px solid var(--lm-line); }
.lm-spec-group td:first-child { color: #666; width: 55%; }
.lm-spec-group td:last-child { font-weight: 600; color: var(--lm-navy); }
.lm-spec-group tr:last-child td { border-bottom: 0; }

/* ---------- cases ---------- */
.lm-case-card { border-radius: var(--lm-radius); overflow: hidden; position: relative; aspect-ratio: 4 / 3; height: auto; display: flex; align-items: flex-end; box-shadow: 0 10px 26px rgba(10,42,94,.10); }
.lm-case-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.lm-case-card:hover img { transform: scale(1.05); }
.lm-case-card .cap { position: relative; z-index: 1; color: #fff; padding: 22px; width: 100%; background: linear-gradient(transparent, rgba(10,42,94,.88)); }
.lm-case-card .cap h3 { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.lm-case-card .cap p { font-size: 13px; opacity: .85; margin: 0; }
.lm-case-card .cap a.lm-case-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--lm-orange); }
.lm-case-card .cap a.lm-case-link:hover { color: #ffb733; text-decoration: underline; }

/* ---------- about page ---------- */
.lm-about-sec { margin-bottom: 46px; }
.lm-about-sec h2 { font-size: 24px; font-weight: 800; color: var(--lm-navy); margin-bottom: 14px; }
.lm-about-sec h2::before { content: ""; display: inline-block; width: 6px; height: 22px; background: var(--lm-orange); border-radius: 3px; margin-right: 12px; vertical-align: -2px; }
.lm-about-sec p { color: #444; line-height: 1.85; }

/* ---------- contact ---------- */
.lm-info-card { background: var(--lm-grey); border-radius: var(--lm-radius); padding: 26px; }
.lm-info-card .t { font-size: 13px; font-weight: 800; color: var(--lm-orange); text-transform: uppercase; letter-spacing: 1px; }
.lm-info-card .v { color: var(--lm-navy); font-weight: 600; margin-top: 4px; }
.lm-form { background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-radius); padding: 34px; box-shadow: var(--lm-shadow); }
.lm-form .form-control { border-color: var(--lm-line); padding: 12px 14px; }
.lm-form .form-control:focus { border-color: var(--lm-navy); box-shadow: 0 0 0 .2rem rgba(10,42,94,.08); }
.lm-form-ok { display: none; background: #eaf7ec; color: #1d7a34; border: 1px solid #bfe5c6; border-radius: 6px; padding: 12px 16px; margin-top: 16px; font-weight: 600; }

/* ============================================================================
   PREMIUM PRODUCT PAGES — catalog + machine detail
   Design direction: dark graphite stage, large model type, numbers-first layout,
   orange reserved for actions only. Scoped to .lm-catalog / .lm-machine-page so
   the rest of the site keeps its current look.
   ============================================================================ */
:root {
  --lm-ink: #0b1220;
  --lm-ink-2: #111a2b;
  --lm-body: #424a57;
  --lm-muted: #7b8492;
  --lm-hair: #eef0f3;
}

.lm-eyebrow {
  margin: 0 0 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lm-orange);
}

/* ---------- catalog header ---------- */
.lm-catalog-head {
  margin: -76px 0 0; padding: 150px 0 62px; color: var(--lm-ink);
  background: #fff;
  border-bottom: 1px solid var(--lm-hair);
}
.lm-catalog-head h1 {
  margin: 0; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.06;
}
.lm-catalog-sub {
  margin: 16px 0 0; max-width: 620px; font-size: 16px; line-height: 1.75;
  color: var(--lm-body);
}

/* ---------- sticky category filter ---------- */
.lm-filterbar {
  position: sticky; top: 76px; z-index: 20;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lm-line);
}
.lm-filterbar .lm-cat-tabs {
  margin: 0; padding: 4px 0; gap: 30px; flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none;
}
.lm-filterbar .lm-cat-tabs::-webkit-scrollbar { display: none; }
.lm-filterbar .lm-cat-tabs a {
  position: relative; border: 0; background: none; border-radius: 0;
  padding: 16px 0; font-size: 14px; font-weight: 600; color: var(--lm-muted);
  white-space: nowrap;
}
.lm-filterbar .lm-cat-tabs a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--lm-orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.lm-filterbar .lm-cat-tabs a:hover { color: var(--lm-ink); }
.lm-filterbar .lm-cat-tabs a.active {
  background: none; border: 0; border-radius: 0; color: var(--lm-ink); font-weight: 700;
}
.lm-filterbar .lm-cat-tabs a.active::after { transform: scaleX(1); }

/* ---------- machine grid ---------- */
.lm-catalog { padding: 56px 0 96px; }
.lm-machine {
  display: block; height: 100%; overflow: hidden; background: #fff;
  border: 1px solid #e8eaee; border-radius: 18px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lm-machine:hover {
  transform: translateY(-6px); border-color: transparent;
  box-shadow: 0 28px 60px rgba(11, 18, 32, .12);
}
.lm-machine-media { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.lm-machine-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.lm-machine:hover .lm-machine-media img { transform: scale(1.04); }
.lm-machine-ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--lm-muted); }
.lm-machine-body { padding: 20px 22px 22px; }
.lm-machine-type {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #98a0ae;
}
.lm-machine-model {
  margin-top: 6px; font-size: 30px; font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; color: var(--lm-ink);
}
.lm-machine-name { margin: 6px 0 0; font-size: 13.5px; font-weight: 500; color: #68707e; }
.lm-machine-specs {
  display: flex; gap: 26px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--lm-hair);
}
.lm-machine-spec { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: #9aa2ae; line-height: 1.3; }
.lm-machine-spec b { font-size: 14px; font-weight: 700; color: var(--lm-ink); font-variant-numeric: tabular-nums; }
.lm-machine-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 13px; font-weight: 700; color: var(--lm-orange);
}
.lm-machine-cta::after { content: "→"; transition: transform .25s ease; }
.lm-machine:hover .lm-machine-cta::after { transform: translateX(4px); }
.lm-empty { margin-top: 40px; color: var(--lm-muted); }

/* ---------- machine detail ---------- */
.lm-machine-hero {
  margin: -76px 0 0; padding: 136px 0 80px; color: var(--lm-ink);
  background: #fff;
  border-bottom: 1px solid var(--lm-hair);
}
.lm-crumb { margin-bottom: 34px; }
.lm-crumb a { font-size: 13px; font-weight: 600; color: #8a92a0; }
.lm-crumb a:hover { color: var(--lm-orange); }
/* no card, border or shadow around the machine — it sits straight on white */
.lm-machine-stage { background: #fff; padding: 0; }
.lm-machine-stage img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block;
  border-radius: 12px; background: #fff;
}
/* disclosure for AI-rendered product images (kept for future use) */
.lm-ai-note {
  margin: 14px 0 0; padding-left: 12px; border-left: 2px solid #d5dae2;
  font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.5);
}
.lm-machine-title {
  margin: 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; color: var(--lm-ink);
}
.lm-machine-lead {
  margin: 16px 0 0; max-width: 520px; font-size: 15.5px; line-height: 1.75;
  color: var(--lm-body);
}
.lm-keygrid-label {
  margin: 30px 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: #98a0ae;
}
.lm-keygrid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: #e8eaee; border-radius: 12px; overflow: hidden;
}
.lm-key { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #f7f8fa; }
/* an odd number of keys would leave a bare grid cell showing the divider colour */
.lm-keygrid > .lm-key:last-child:nth-child(odd) { grid-column: span 2; }
.lm-key .v { font-size: 24px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--lm-ink); }
.lm-key .t { font-size: 11.5px; color: #7b8492; }
.lm-machine-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lm-machine-actions .lm-btn { padding: 14px 32px; border-radius: 8px; }
.lm-machine-actions .lm-btn-ghost { border: 1px solid #d5dae2; color: var(--lm-ink); padding: 14px 28px; border-radius: 8px; }
.lm-machine-actions .lm-btn-ghost:hover { border-color: var(--lm-ink); background: #fff; }

.lm-machine-section { padding: 88px 0; border-bottom: 1px solid var(--lm-hair); }
.lm-machine-h2 {
  margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 800;
  letter-spacing: -.02em; color: var(--lm-ink);
}
.lm-machine-desc p { margin: 0 0 16px; font-size: 16px; line-height: 1.9; color: var(--lm-body); }
.lm-machine-desc p:last-child { margin-bottom: 0; font-size: 14.5px; color: var(--lm-muted); }
.lm-section-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 34px; }

.lm-spec-block { height: 100%; padding-top: 18px; border-top: 2px solid var(--lm-ink); }
.lm-spec-block h4 {
  margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--lm-ink);
}
.lm-spec-block dl { margin: 0; }
.lm-spec-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid #f2f4f7; font-size: 14px;
}
.lm-spec-row dt { margin: 0; color: var(--lm-muted); }
.lm-spec-row dd { margin: 0; font-weight: 600; color: #101820; text-align: right; font-variant-numeric: tabular-nums; }

.lm-machine-cta-band { padding: 72px 0; background: #f4f6f9; color: var(--lm-ink); border-top: 1px solid var(--lm-hair); }
.lm-machine-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lm-machine-cta-band .lm-machine-h2 { color: var(--lm-ink); }
.lm-machine-cta-band .lm-btn { padding: 14px 34px; border-radius: 8px; }

@media (max-width: 991px) {
  .lm-catalog-head { padding: 128px 0 48px; }
  .lm-machine-hero { padding: 116px 0 56px; }
  .lm-machine-section { padding: 60px 0; }
}
@media (max-width: 575px) {
  .lm-filterbar { top: 64px; }
  .lm-machine-model { font-size: 26px; }
  .lm-machine-specs { gap: 18px; }
  .lm-key .v { font-size: 20px; }
  .lm-machine-actions .lm-btn, .lm-machine-actions .lm-btn-ghost { width: 100%; text-align: center; }
}
