/* ==========================================================================
   machinesmanufacturer.com — MM Machine Manufacturers
   Design system, 2026 rebuild. Built on Bootstrap 5.3.
   Load AFTER bootstrap.min.css. Replaces style1.css, tabs.css, animate.css,
   owl.carousel.min.css and owl.theme.default.min.css for these templates.
   --------------------------------------------------------------------------
   The one bold idea: machines ship with a riveted spec nameplate. The whole
   site borrows that object — a hard-edged panel with a double keyline and a
   notched corner — and a measurement rule (tick marks) as the section mark.
   Used once per surface. Everything else stays quiet.
   --------------------------------------------------------------------------
   01 Tokens
   02 Base + typography
   03 Section mark (the measure rule)
   04 Buttons
   05 Topbar + header + mega menu
   06 Hero + nameplate frame
   07 Capability rule
   08 Category plates
   09 Product + article cards
   10 Content bands (spec rows, industries, sequence, ports)
   11 FAQ
   12 CTA band
   13 Page head + breadcrumb
   14 Sidebar rail
   15 Product detail
   16 Listing rows, alphabet index, pagination
   17 Forms
   18 CMS rich text
   19 Footer + float stack
   20 Back to top, utilities, motion, print
   ========================================================================== */

/* 01 Tokens ============================================================== */
:root {
  --mm-ink:    #08171a;   /* deep teal-black: header, hero, footer */
  --mm-ink-2:  #0d272c;   /* raised surface on ink */
  --mm-deep:   #0c4a50;   /* structural teal */
  --mm-teal:   #12868c;   /* mid teal: links, active */
  --mm-cyan:   #00d9e1;   /* the inherited accent. One job only. */
  --mm-cyan-d: #00a9b0;   /* cyan that passes contrast on white */

  --mm-body:   #2b3a3d;   /* copy */
  --mm-mute:   #5d6c6f;   /* secondary copy */
  --mm-line:   #d9e1e2;   /* hairlines */
  --mm-line-2: #eef2f3;   /* faint hairlines */
  --mm-steel:  #f2f6f6;   /* tinted surface */
  --mm-white:  #ffffff;

  --mm-head: "Bricolage Grotesque", "Arial Narrow", Helvetica, sans-serif;
  --mm-text: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;

  --mm-r:     3px;        /* the only radius on the site */
  --mm-shade: 0 1px 2px rgba(8, 23, 26, .06);
  --mm-lift:  0 18px 44px rgba(8, 23, 26, .14);

  --mm-band: 86px;        /* vertical rhythm between bands */

  /* Bootstrap overrides */
  --bs-primary: #0c4a50;
  --bs-primary-rgb: 12, 74, 80;
  --bs-body-color: #2b3a3d;
  --bs-body-font-family: var(--mm-text);
  --bs-border-color: #d9e1e2;
  --bs-link-color: #0c4a50;
  --bs-link-hover-color: #12868c;
}
@media (max-width: 991.98px) { :root { --mm-band: 58px; } }

/* 02 Base + typography =================================================== */
html { scroll-behavior: smooth; }
body {
  font-family: var(--mm-text);
  font-size: 16px;
  line-height: 1.62;
  color: var(--mm-body);
  background: var(--mm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--mm-head);
  color: var(--mm-ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.018em;
}
h1, .h1 { font-size: clamp(2.05rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.032em; }
h2, .h2 { font-size: clamp(1.6rem, 3.1vw, 2.4rem); letter-spacing: -.026em; }
h3, .h3 { font-size: clamp(1.12rem, 1.7vw, 1.35rem); }
h4, .h4 { font-size: 1.08rem; }

p { margin-bottom: 1rem; max-width: 74ch; }
a { color: var(--mm-deep); text-decoration: none; transition: color .16s ease; }
a:hover, a:focus { color: var(--mm-teal); text-decoration: underline; }
strong, b { font-weight: 600; color: var(--mm-ink); }
img { max-width: 100%; height: auto; }
hr { border-color: var(--mm-line); opacity: 1; }

:focus-visible {
  outline: 3px solid var(--mm-cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

.mm-band    { padding: var(--mm-band) 0; }
.mm-band--t { padding: calc(var(--mm-band) * .62) 0; }
.mm-steel   { background: var(--mm-steel); }
.mm-ink-bg  { background: var(--mm-ink); color: rgba(255,255,255,.8); }
.mm-lead    { font-size: 1.07rem; color: var(--mm-mute); }
.mm-measure { max-width: 66ch; }

.mm-skip {
  position: absolute; left: -9999px; top: 0; z-index: 1080;
  background: var(--mm-ink); color: #fff; padding: 12px 20px;
}
.mm-skip:focus { left: 0; color: #fff; }

/* 03 Section mark — a measurement rule ================================== */
/* Tick marks, not a decorative underline: the subject is precision-made
   equipment, so the mark reads as a scale. One per section, never more. */
.mm-mark { margin-bottom: 34px; }
.mm-mark > h2, .mm-mark > h1, .mm-mark > .h2 { margin: 0 0 12px; }
.mm-mark p { color: var(--mm-mute); margin-bottom: 0; }
.mm-mark--c { text-align: center; }
.mm-mark--c p { margin-left: auto; margin-right: auto; }

.mm-rule {
  display: block; width: 88px; height: 11px; margin-bottom: 20px;
  background:
    linear-gradient(to right, var(--mm-cyan) 0 2px, transparent 2px) repeat-x left bottom / 11px 7px,
    linear-gradient(to right, var(--mm-deep) 0 100%) no-repeat left bottom / 88px 2px;
}
.mm-mark--c .mm-rule { margin-left: auto; margin-right: auto; }
.mm-ink-bg .mm-rule, .mm-hero .mm-rule, .mm-cta .mm-rule {
  background:
    linear-gradient(to right, var(--mm-cyan) 0 2px, transparent 2px) repeat-x left bottom / 11px 7px,
    linear-gradient(to right, rgba(255,255,255,.5) 0 100%) no-repeat left bottom / 88px 2px;
}

/* 04 Buttons ============================================================= */
.mm-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mm-head); font-weight: 600; font-size: .98rem;
  padding: 13px 27px; border: 2px solid transparent; border-radius: var(--mm-r);
  cursor: pointer; text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.mm-btn:hover, .mm-btn:focus { text-decoration: none; }
.mm-btn--solid   { background: var(--mm-ink); border-color: var(--mm-ink); color: #fff; }
.mm-btn--solid:hover, .mm-btn--solid:focus { background: var(--mm-deep); border-color: var(--mm-deep); color: #fff; }
.mm-btn--cyan    { background: var(--mm-cyan); border-color: var(--mm-cyan); color: var(--mm-ink); }
.mm-btn--cyan:hover, .mm-btn--cyan:focus { background: #6df0f5; border-color: #6df0f5; color: var(--mm-ink); }
.mm-btn--line    { background: transparent; border-color: var(--mm-deep); color: var(--mm-deep); }
.mm-btn--line:hover, .mm-btn--line:focus { background: var(--mm-deep); color: #fff; }
.mm-btn--ghost   { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.mm-btn--ghost:hover, .mm-btn--ghost:focus { background: #fff; border-color: #fff; color: var(--mm-ink); }
.mm-btn--sm      { padding: 9px 18px; font-size: .88rem; }
.mm-btn--block   { width: 100%; justify-content: center; }

/* Inline text link with a cyan keyline */
.mm-link {
  font-family: var(--mm-head); font-weight: 600; font-size: .92rem;
  color: var(--mm-deep); border-bottom: 2px solid var(--mm-cyan); padding-bottom: 2px;
}
.mm-link:hover, .mm-link:focus { text-decoration: none; border-bottom-color: var(--mm-deep); color: var(--mm-teal); }

/* 05 Topbar + header ==================================================== */
.mm-topbar { background: var(--mm-ink); color: rgba(255,255,255,.76); font-size: .85rem; }
.mm-topbar a { color: rgba(255,255,255,.76); }
.mm-topbar a:hover { color: var(--mm-cyan); text-decoration: none; }
.mm-topbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; }
.mm-topbar ul { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.mm-topbar li { display: flex; align-items: center; gap: 7px; }

.mm-header { background: #fff; border-bottom: 1px solid var(--mm-line); }
.mm-header .navbar { padding: 0; }
.mm-brand { display: inline-flex; align-items: center; padding: 13px 0; }
.mm-brand img { height: 50px; width: auto; }

.mm-nav .nav-link {
  font-family: var(--mm-head); font-weight: 600; font-size: 1rem;
  color: var(--mm-ink); padding: 26px 15px; position: relative;
}
.mm-nav .nav-link:hover, .mm-nav .nav-link:focus, .mm-nav .nav-link.active { color: var(--mm-deep); }
.mm-nav .nav-link.active::after, .mm-nav .nav-link:hover::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 17px;
  height: 3px; background: var(--mm-cyan);
}

/* Mega menu: every top category linked from every page. */
.mm-nav .dropdown-menu {
  border: 1px solid var(--mm-line); border-top: 3px solid var(--mm-cyan);
  border-radius: 0 0 var(--mm-r) var(--mm-r);
  box-shadow: var(--mm-lift); padding: 16px; margin-top: 0;
}
.mm-mega { min-width: 640px; }
.mm-mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px 18px; }
.mm-nav .dropdown-item {
  font-size: .94rem; padding: 9px 12px; border-radius: 2px;
  color: var(--mm-body); white-space: normal;
}
.mm-nav .dropdown-item:hover, .mm-nav .dropdown-item:focus { background: var(--mm-steel); color: var(--mm-deep); }
.mm-mega__all {
  display: block; margin-top: 12px; padding-top: 13px;
  border-top: 1px solid var(--mm-line);
  font-family: var(--mm-head); font-weight: 600; color: var(--mm-deep);
}

.mm-header__act { display: flex; align-items: center; gap: 12px; }
.mm-search { display: flex; border: 1px solid var(--mm-line); border-radius: var(--mm-r); overflow: hidden; background: var(--mm-steel); }
.mm-search input { border: 0; background: transparent; padding: 10px 14px; font-size: .92rem; min-width: 165px; color: var(--mm-body); }
.mm-search input:focus { outline: none; background: #fff; }
.mm-search button {
  border: 0; background: var(--mm-ink); color: #fff; padding: 10px 16px;
  font-family: var(--mm-head); font-weight: 600; font-size: .9rem;
}
.mm-search button:hover { background: var(--mm-deep); }

.navbar-toggler { border: 1px solid var(--mm-line); border-radius: var(--mm-r); padding: 8px 11px; }
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 1199.98px) { .mm-nav .nav-link { padding-left: 11px; padding-right: 11px; font-size: .96rem; } .mm-search input { min-width: 120px; } }
@media (max-width: 991.98px) {
  .mm-brand img { height: 40px; }
  .mm-nav .nav-link { padding: 12px 0; border-bottom: 1px solid var(--mm-line-2); }
  .mm-nav .nav-link.active::after, .mm-nav .nav-link:hover::after { display: none; }
  .mm-nav .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 10px 10px; min-width: 0; }
  .mm-mega { min-width: 0; }
  .mm-mega__grid { grid-template-columns: 1fr; }
  .mm-header__act { flex-direction: column; align-items: stretch; padding: 14px 0; gap: 10px; }
  .mm-search input { width: 100%; }
}

.mm-header.is-stuck {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  box-shadow: var(--mm-lift);
}
.mm-header.is-stuck .mm-nav .nav-link { padding-top: 19px; padding-bottom: 19px; }

/* 06 Hero + nameplate frame ============================================= */
.mm-hero { position: relative; background: var(--mm-ink); color: #fff; overflow: hidden; }
.mm-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 88% 12%, rgba(0,217,225,.20) 0%, rgba(12,74,80,0) 58%),
    linear-gradient(180deg, #08171a 0%, #0a2126 100%);
}
/* Faint machined grid — sits behind content, never competes with it. */
.mm-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .28;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}
.mm-hero > .container { position: relative; z-index: 2; }
.mm-hero__in { padding: 76px 0 86px; }
.mm-hero h1 { color: #fff; max-width: 17ch; }
.mm-hero__sub { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 54ch; margin-top: 20px; }
.mm-hero__act { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.mm-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.mm-hero__tags a {
  display: inline-block; font-size: .86rem; color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.24); border-radius: var(--mm-r);
  padding: 6px 14px; background: rgba(255,255,255,.05);
}
.mm-hero__tags a:hover { background: #fff; border-color: #fff; color: var(--mm-ink); text-decoration: none; }

/* The nameplate: double keyline, notched top-right corner, spec strip. */
.mm-plate { position: relative; background: var(--mm-ink-2); border: 1px solid rgba(255,255,255,.16); padding: 10px; }
.mm-plate::before {
  content: ""; position: absolute; inset: 4px; border: 1px solid rgba(0,217,225,.32); pointer-events: none;
}
.mm-plate::after {
  content: ""; position: absolute; top: -1px; right: -1px; width: 30px; height: 30px;
  background: linear-gradient(225deg, var(--mm-cyan) 0 50%, transparent 50%);
}
.mm-plate__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mm-plate__spec { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.14); margin-top: 10px; }
.mm-plate__spec div { padding: 14px 12px 6px; }
.mm-plate__spec div + div { border-left: 1px solid rgba(255,255,255,.14); }
.mm-plate__spec b { display: block; font-family: var(--mm-head); font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1; }
.mm-plate__spec span { display: block; font-size: .78rem; color: rgba(255,255,255,.64); margin-top: 6px; }

@media (max-width: 991.98px) {
  .mm-hero__in { padding: 52px 0 60px; }
  .mm-hero__fig { margin-top: 36px; }
}

/* 07 Capability rule ==================================================== */
/* Four facts on one ruled line. Reads as a spec strip, not four cards. */
.mm-facts { border-bottom: 1px solid var(--mm-line); background: #fff; }
.mm-facts .row > div { padding: 26px 22px; }
.mm-facts .row > div + div { border-left: 1px solid var(--mm-line); }
.mm-facts h3 { font-size: 1rem; margin: 0 0 5px; }
.mm-facts p { font-size: .9rem; color: var(--mm-mute); margin: 0; }
.mm-facts i { color: var(--mm-cyan-d); font-size: 1.35rem; display: block; margin-bottom: 11px; }
@media (max-width: 767.98px) {
  .mm-facts .row > div + div { border-left: 0; border-top: 1px solid var(--mm-line); }
}

/* 08 Category plates ==================================================== */
.mm-plates { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
@media (max-width: 991.98px) { .mm-plates { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; } }
@media (max-width: 575.98px) { .mm-plates { grid-template-columns: 1fr; } }

.mm-tile {
  display: flex; flex-direction: column; height: 100%; background: #fff;
  border: 1px solid var(--mm-line); border-radius: var(--mm-r); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.mm-tile:hover { border-color: var(--mm-deep); box-shadow: var(--mm-shade); text-decoration: none; }
.mm-tile__img { display: block; aspect-ratio: 4 / 3; background: var(--mm-steel); overflow: hidden; }
.mm-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mm-tile:hover .mm-tile__img img { transform: scale(1.04); }
/* Nameplate bar */
.mm-tile__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 17px 18px; border-top: 3px solid var(--mm-cyan); margin-top: auto;
}
.mm-tile__bar span {
  font-family: var(--mm-head); font-weight: 700; font-size: 1.03rem;
  color: var(--mm-ink); line-height: 1.25;
}
.mm-tile__bar i { margin-left: auto; color: var(--mm-cyan-d); transition: transform .18s ease; }
.mm-tile:hover .mm-tile__bar i { transform: translateX(4px); }

/* 09 Product + article cards ============================================ */
.mm-card {
  display: flex; flex-direction: column; height: 100%; background: #fff;
  border: 1px solid var(--mm-line); border-radius: var(--mm-r); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.mm-card:hover { border-color: var(--mm-deep); box-shadow: var(--mm-shade); }
.mm-card__img { display: block; aspect-ratio: 1 / 1; background: var(--mm-steel); overflow: hidden; }
.mm-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .35s ease; }
.mm-card:hover .mm-card__img img { transform: scale(1.045); }
.mm-card__body { padding: 17px 18px 19px; display: flex; flex-direction: column; flex: 1 1 auto; }
.mm-card__body h3 { font-size: 1.02rem; margin: 0 0 7px; line-height: 1.3; }
.mm-card__body h3 a { color: var(--mm-ink); }
.mm-card__body h3 a:hover { color: var(--mm-deep); text-decoration: none; }
.mm-card__code { font-size: .81rem; color: var(--mm-mute); margin: 0 0 11px; }
.mm-card__ex { font-size: .91rem; color: var(--mm-mute); margin: 0 0 13px; }
.mm-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }

.mm-post { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--mm-line); border-radius: var(--mm-r); overflow: hidden; }
.mm-post:hover { border-color: var(--mm-deep); text-decoration: none; }
.mm-post__img { aspect-ratio: 16 / 10; background: var(--mm-steel); overflow: hidden; }
.mm-post__img img { width: 100%; height: 100%; object-fit: cover; }
.mm-post__body { padding: 18px 20px 22px; }
.mm-post__date { font-size: .8rem; color: var(--mm-cyan-d); font-weight: 600; margin: 0 0 8px; }
.mm-post__body h3 { font-size: 1.05rem; margin: 0 0 8px; line-height: 1.3; }
.mm-post__body p { font-size: .9rem; color: var(--mm-mute); margin: 0; }

/* 10 Content bands ====================================================== */
/* Spec rows: label left, explanation right, ruled. Not a card grid. */
.mm-specrows { border-top: 1px solid var(--mm-line); }
.mm-specrow {
  display: flex; flex-wrap: wrap; gap: 8px 34px;
  padding: 24px 0; border-bottom: 1px solid var(--mm-line);
}
.mm-specrow > h3 { flex: 0 0 260px; margin: 0; font-size: 1.1rem; }
.mm-specrow > p { flex: 1 1 340px; margin: 0; color: var(--mm-mute); font-size: .96rem; }
@media (max-width: 767.98px) { .mm-specrow > h3 { flex-basis: 100%; } }

.mm-ind {
  display: block; height: 100%; padding: 22px 24px; background: #fff;
  border: 1px solid var(--mm-line); border-left: 4px solid var(--mm-cyan);
  border-radius: 0 var(--mm-r) var(--mm-r) 0;
  transition: border-left-color .18s ease;
}
.mm-ind:hover { border-left-color: var(--mm-deep); text-decoration: none; }
.mm-ind h3 { font-size: 1.02rem; margin: 0 0 6px; }
.mm-ind p { font-size: .9rem; color: var(--mm-mute); margin: 0; }

/* Ordering sequence — numbered because it genuinely is a sequence. */
.mm-seq { counter-reset: mmstep; list-style: none; margin: 0; padding: 0; }
.mm-seq li { position: relative; padding-left: 70px; margin-bottom: 30px; }
.mm-seq li::before {
  counter-increment: mmstep; content: counter(mmstep, decimal-leading-zero);
  position: absolute; left: 0; top: -3px;
  width: 48px; height: 48px; border: 2px solid var(--mm-line); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mm-head); font-weight: 800; font-size: 1.2rem; color: var(--mm-deep);
}
.mm-seq li:not(:last-child)::after {
  content: ""; position: absolute; left: 24px; top: 48px; bottom: -30px; width: 2px; background: var(--mm-line);
}
.mm-seq h3 { font-size: 1.05rem; margin: 0 0 5px; }
.mm-seq p { font-size: .94rem; color: var(--mm-mute); margin: 0; }

.mm-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 9px; }
.mm-chips li {
  font-size: .89rem; padding: 8px 15px; border-radius: var(--mm-r);
  background: #fff; border: 1px solid var(--mm-line); color: var(--mm-body);
}
.mm-ink-bg .mm-chips li, .mm-cta .mm-chips li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.88); }

/* 11 FAQ ================================================================ */
.mm-faq .accordion-item { border: 1px solid var(--mm-line); border-radius: var(--mm-r) !important; margin-bottom: 12px; overflow: hidden; }
.mm-faq .accordion-button {
  font-family: var(--mm-head); font-weight: 600; font-size: 1.02rem;
  color: var(--mm-ink); background: #fff; padding: 19px 22px;
}
.mm-faq .accordion-button:not(.collapsed) { background: var(--mm-steel); color: var(--mm-deep); box-shadow: none; }
.mm-faq .accordion-button:focus { box-shadow: none; border-color: var(--mm-deep); }
.mm-faq .accordion-button::after { background-size: 1rem; }
.mm-faq .accordion-body { padding: 4px 22px 22px; color: var(--mm-mute); }
.mm-faq .accordion-body p:last-child { margin-bottom: 0; }

/* 12 CTA band =========================================================== */
.mm-cta { background: var(--mm-ink); color: #fff; position: relative; overflow: hidden; }
.mm-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 140% at 92% 50%, rgba(0,217,225,.17) 0%, transparent 60%);
}
.mm-cta > .container { position: relative; z-index: 2; }
.mm-cta h2 { color: #fff; }
.mm-cta p { color: rgba(255,255,255,.8); margin-bottom: 0; }
.mm-cta__act { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 991.98px) { .mm-cta__act { margin-top: 22px; } }

/* 13 Page head + breadcrumb ============================================ */
.mm-pagehead { position: relative; background: var(--mm-ink); color: #fff; padding: 54px 0 48px; overflow: hidden; }
.mm-pagehead::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(110% 130% at 85% 0%, rgba(0,217,225,.17) 0%, transparent 58%);
}
.mm-pagehead > .container { position: relative; z-index: 2; }
.mm-pagehead h1, .mm-pagehead .h1 { color: #fff; margin: 0 0 12px; font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
.mm-crumb, .mm-pagehead .breadcrumbs {
  font-size: .9rem; color: rgba(255,255,255,.7);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px;
  list-style: none; margin: 0; padding: 0;
}
.mm-crumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.38); }
.mm-crumb a, .mm-pagehead .breadcrumbs a { color: rgba(255,255,255,.92); }
.mm-crumb a:hover, .mm-pagehead .breadcrumbs a:hover { color: var(--mm-cyan); text-decoration: none; }

/* 14 Sidebar rail ====================================================== */
.mm-rail { border: 1px solid var(--mm-line); border-radius: var(--mm-r); overflow: hidden; background: #fff; margin-bottom: 24px; }
.mm-rail__t {
  background: var(--mm-ink); color: #fff; padding: 16px 20px;
  font-family: var(--mm-head); font-weight: 700; font-size: 1.02rem;
  display: flex; align-items: center; gap: 10px;
}
.mm-rail ul, .mm-rail ul ul { list-style: none; margin: 0; padding: 0; }
.mm-rail > ul > li { border-bottom: 1px solid var(--mm-line-2); }
.mm-rail > ul > li:last-child { border-bottom: 0; }
.mm-rail > ul > li > a {
  display: block; padding: 13px 20px; font-size: .95rem; font-weight: 500; color: var(--mm-ink);
}
.mm-rail > ul > li > a:hover { background: var(--mm-steel); color: var(--mm-deep); text-decoration: none; }
.mm-rail > ul > li.active > a { background: var(--mm-steel); color: var(--mm-deep); box-shadow: inset 4px 0 0 var(--mm-cyan); }
.mm-rail .submenu { background: var(--mm-steel); padding: 4px 0 8px; border-top: 1px solid var(--mm-line-2); }
.mm-rail .submenu li a { display: block; padding: 8px 20px 8px 34px; font-size: .89rem; color: var(--mm-mute); position: relative; }
.mm-rail .submenu li a::before { content: ""; position: absolute; left: 20px; top: 17px; width: 7px; height: 1px; background: var(--mm-mute); }
.mm-rail .submenu li a:hover { color: var(--mm-deep); text-decoration: none; }
.mm-rail .submenu-toogle {
  position: absolute; right: 0; top: 0; width: 46px; height: 46px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--mm-mute);
}
.mm-rail .submenu-toogle::before { content: "\f107"; font-family: "FontAwesome"; }
.mm-rail .has-child { position: relative; }

.mm-railcta { border: 1px solid var(--mm-line); border-radius: var(--mm-r); padding: 24px 22px; background: var(--mm-steel); }
.mm-railcta h3 { font-size: 1.03rem; margin: 0 0 8px; }
.mm-railcta p { font-size: .9rem; color: var(--mm-mute); }

/* 15 Product detail ==================================================== */
.mm-gallery { border: 1px solid var(--mm-line); border-radius: var(--mm-r); background: #fff; padding: 18px; }
.mm-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.mm-gallery .rslides { list-style: none; margin: 0; padding: 0; }

.mm-pdp h1 { font-size: clamp(1.55rem, 2.9vw, 2.2rem); margin-bottom: 18px; }
.mm-specs { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--mm-line); }
.mm-specs li { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--mm-line-2); font-size: .95rem; }
.mm-specs li > span:first-child { flex: 0 0 152px; color: var(--mm-mute); }
.mm-specs li > span:last-child { flex: 1 1 200px; color: var(--mm-ink); font-weight: 500; }

.mm-pdp__act { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.mm-pdp__act form { margin: 0; }
.mm-assure { list-style: none; margin: 0; padding: 18px 22px; background: var(--mm-steel); border-radius: var(--mm-r); font-size: .9rem; }
.mm-assure li { padding-left: 22px; position: relative; margin-bottom: 7px; color: var(--mm-mute); }
.mm-assure li:last-child { margin-bottom: 0; }
.mm-assure li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; background: var(--mm-cyan); }

.mm-tabs { border-bottom: 2px solid var(--mm-line); margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.mm-tabs li a {
  display: block; cursor: pointer; padding: 13px 24px;
  font-family: var(--mm-head); font-weight: 600; font-size: 1rem;
  color: var(--mm-mute); border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.mm-tabs li a:hover { color: var(--mm-deep); text-decoration: none; }
.mm-tabs li a.active { color: var(--mm-ink); border-bottom-color: var(--mm-cyan); }

/* 16 Listing rows, alphabet, pagination ================================ */
.mm-row {
  display: flex; flex-wrap: wrap; gap: 24px; padding: 22px;
  border: 1px solid var(--mm-line); border-radius: var(--mm-r); margin-bottom: 18px; background: #fff;
}
.mm-row:hover { border-color: var(--mm-deep); }
.mm-row__img { flex: 0 0 190px; max-width: 190px; }
.mm-row__img img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: var(--mm-steel); border-radius: 2px; padding: 10px; }
.mm-row__body { flex: 1 1 320px; }
.mm-row__body h2, .mm-row__body h3 { font-size: 1.14rem; margin: 0 0 8px; }
.mm-row__body p { font-size: .93rem; color: var(--mm-mute); margin-bottom: 10px; }
@media (max-width: 575.98px) { .mm-row__img { flex: 0 0 100%; max-width: 100%; } }

.mm-alpha { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.mm-alpha a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--mm-line); border-radius: var(--mm-r); background: #fff;
  color: var(--mm-ink); font-family: var(--mm-head); font-weight: 600; font-size: .92rem;
}
.mm-alpha a:hover, .mm-alpha a.is-on { background: var(--mm-ink); border-color: var(--mm-ink); color: #fff; text-decoration: none; }

.mm-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 34px; }
.mm-pager a, .mm-pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--mm-line); border-radius: var(--mm-r); color: var(--mm-ink); font-size: .92rem;
}
.mm-pager a:hover { background: var(--mm-ink); border-color: var(--mm-ink); color: #fff; text-decoration: none; }
.mm-pager .is-on { background: var(--mm-ink); border-color: var(--mm-ink); color: #fff; }

.mm-empty { text-align: center; padding: 66px 20px; border: 1px dashed var(--mm-line); border-radius: var(--mm-r); }
.mm-empty h2 { font-size: 1.4rem; margin-bottom: 10px; }
.mm-empty p { color: var(--mm-mute); margin: 0 auto 22px; max-width: 46ch; }

/* 17 Forms ============================================================= */
.mm-form { border: 1px solid var(--mm-line); border-radius: var(--mm-r); padding: 30px; background: #fff; }
.mm-form label { font-size: .89rem; font-weight: 500; color: var(--mm-ink); margin-bottom: 6px; display: block; }
.mm-form .form-control {
  border: 1px solid var(--mm-line); border-radius: var(--mm-r);
  padding: 12px 14px; font-size: .95rem; color: var(--mm-body); background: #fff;
}
.mm-form .form-control:focus { border-color: var(--mm-deep); box-shadow: 0 0 0 3px rgba(0,217,225,.2); }
.mm-form textarea.form-control { min-height: 132px; }
.mm-captcha { display: flex; align-items: center; gap: 12px; }
.mm-captcha .sum {
  font-family: var(--mm-head); font-weight: 700; font-size: 1.08rem;
  background: var(--mm-steel); border: 1px solid var(--mm-line); border-radius: var(--mm-r);
  padding: 10px 16px; color: var(--mm-ink); white-space: nowrap;
}
.mm-alert { border-radius: var(--mm-r); padding: 14px 18px; font-size: .95rem; margin-bottom: 22px; border: 1px solid; }
.mm-alert--ok  { background: #edfaf3; border-color: #bee6ce; color: #1c6b3d; }
.mm-alert--err { background: #fdf1f1; border-color: #f0c7c7; color: #9c2b2b; }

.mm-contact { border: 1px solid var(--mm-line); border-radius: var(--mm-r); padding: 26px; height: 100%; background: var(--mm-steel); }
.mm-contact ul { list-style: none; margin: 0; padding: 0; }
.mm-contact li { padding: 14px 0; border-bottom: 1px solid var(--mm-line); font-size: .95rem; }
.mm-contact li:last-child { border-bottom: 0; }
.mm-contact li span { display: block; color: var(--mm-mute); font-size: .84rem; margin-bottom: 3px; }

/* 18 CMS rich text ===================================================== */
/* Category and product copy is editor HTML. Normalise it so an inline
   <font color> or a 700px table cannot break the grid. */
.mm-rte { font-size: .97rem; color: var(--mm-body); }
.mm-rte h1, .mm-rte h2 { font-size: 1.42rem; margin: 28px 0 12px; }
.mm-rte h3, .mm-rte h4 { font-size: 1.1rem; margin: 22px 0 10px; }
.mm-rte p { margin-bottom: 14px; max-width: 78ch; }
.mm-rte ul, .mm-rte ol { padding-left: 22px; margin-bottom: 16px; }
.mm-rte li { margin-bottom: 7px; }
.mm-rte img { height: auto; border-radius: 2px; }
.mm-rte font { color: inherit !important; font-size: inherit !important; font-family: inherit !important; }
.mm-rte table {
  width: 100% !important; border-collapse: collapse; margin: 18px 0; font-size: .92rem;
  display: block; overflow-x: auto;
}
.mm-rte table td, .mm-rte table th { border: 1px solid var(--mm-line); padding: 10px 14px; }
.mm-rte table tr:nth-child(odd) td { background: var(--mm-steel); }
.mm-rte table th { background: var(--mm-ink); color: #fff; font-weight: 600; text-align: left; }

/* 19 Footer + float stack ============================================== */
.mm-footer { background: var(--mm-ink); color: rgba(255,255,255,.7); padding-top: 62px; font-size: .93rem; }
.mm-footer h2, .mm-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.mm-footer a { color: rgba(255,255,255,.7); }
.mm-footer a:hover { color: var(--mm-cyan); text-decoration: none; }
.mm-footer ul { list-style: none; margin: 0; padding: 0; }
.mm-footer li { margin-bottom: 9px; }
.mm-footer__logo { height: 44px; width: auto; margin-bottom: 18px; }
.mm-footer__about { max-width: 40ch; }
.mm-footer__mail { color: #fff; font-weight: 500; }
.mm-footer__cols { column-gap: 26px; }
@media (min-width: 768px) { .mm-footer__cols { column-count: 2; } }
.mm-footer__cols li { break-inside: avoid; }
.mm-footer__bot { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.13); padding: 22px 0; font-size: .85rem; color: rgba(255,255,255,.58); }
.mm-footer__seo { font-size: .84rem; color: rgba(255,255,255,.48); line-height: 1.7; margin: 0; max-width: none; }

/* Floating contact stack (replaces the old .support / .inner-fabs pair) */
.mm-float { position: fixed; right: 18px; bottom: 76px; z-index: 1041; display: flex; flex-direction: column; gap: 10px; }
.mm-float a {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.15rem; box-shadow: var(--mm-lift);
}
.mm-float a:hover { color: #fff; text-decoration: none; filter: brightness(1.08); }
.mm-float__mail { background: var(--mm-deep); }
.mm-float__wa   { background: #25d366; }

/* 20 Back to top, utilities, motion, print ============================= */
.mm-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 1040;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--mm-ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease;
  box-shadow: var(--mm-lift);
}
.mm-top.is-on { opacity: 1; visibility: visible; }
.mm-top:hover { background: var(--mm-deep); color: #fff; }

.mm-divider { height: 1px; background: var(--mm-line); border: 0; margin: 0; }
.text-teal { color: var(--mm-deep) !important; }
.bg-steel  { background: var(--mm-steel) !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .mm-topbar, .mm-header, .mm-footer, .mm-top, .mm-float, .mm-cta, .mm-rail, .mm-hero, .mm-pagehead { display: none !important; }
  body { color: #000; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
