/* MotoModSEA brand theme — ice blue + silver + cool graphite */
html {
  overflow-x: clip;
}

:root {
  --mm-bg: #F2F4F6;
  --mm-bg-elevated: #FFFFFF;
  --mm-ink: #1A1D21;
  --mm-ink-muted: #5C6570;
  --mm-line: #D5DBE1;
  --mm-ice: #00B7C9;
  --mm-ice-deep: #007A8A;
  --mm-ice-soft: #E6F7F9;
  --mm-silver: #C5CCD3;
  --mm-silver-bright: #E8ECF0;
  --mm-menu: #1A1D21;
  --mm-container: 1488px;
  /* Soft radius — modern but not pill-shaped */
  --mm-radius: 8px;
  --mm-radius-sm: 6px;

  --bs-primary: #00B7C9;
  --bs-primary-rgb: 0, 183, 201;
  --bs-link-color: #00B7C9;
  --bs-link-hover-color: #007A8A;
  --bs-primary-text-emphasis: #005864;
  --bs-primary-bg-subtle: #E6F7F9;
  --bs-primary-border-subtle: #7AD4DE;
  --bs-focus-ring-color: rgba(0, 183, 201, 0.25);
  --bs-link-color-rgb: 0, 183, 201;
  --bs-link-hover-color-rgb: 0, 122, 138;
}

/* Widescreen layout — override Bootstrap 1140 container */
@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: var(--mm-container);
  }
}

.btn-primary {
  --bs-btn-color: #fff !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-active-color: #fff !important;
  --bs-btn-disabled-color: #fff !important;
}

.form-check-input:checked,
.form-check-input[type="checkbox"]:indeterminate {
  background-color: var(--mm-ice);
  border-color: var(--mm-ice);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: #7AD4DE;
  box-shadow: 0 0 0 0.25rem rgba(0, 183, 201, 0.25);
}

/* Global soft corners for inputs & buttons */
.btn,
.form-control,
.form-select,
.form-control-lg,
.input-group-text,
.page-link {
  border-radius: var(--mm-radius) !important;
}

.btn-sm,
.form-control-sm,
.form-select-sm {
  border-radius: var(--mm-radius-sm) !important;
}

.btn-lg,
.form-control-lg {
  border-radius: var(--mm-radius) !important;
}

/* Attached input + button groups keep a single outer capsule */
.input-group > .form-control,
.input-group > .form-select,
.input-group > .form-floating {
  border-radius: 0 !important;
}

.input-group > :first-child,
.input-group > :first-child.form-control,
.input-group > :first-child.form-select,
.input-group > :first-child.btn,
.input-group > :first-child.input-group-text {
  border-top-left-radius: var(--mm-radius) !important;
  border-bottom-left-radius: var(--mm-radius) !important;
}

.input-group > :last-child,
.input-group > :last-child.form-control,
.input-group > :last-child.form-select,
.input-group > :last-child.btn,
.input-group > :last-child.input-group-text {
  border-top-right-radius: var(--mm-radius) !important;
  border-bottom-right-radius: var(--mm-radius) !important;
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--mm-ice);
}

.nav-pills {
  --bs-nav-pills-link-active-bg: var(--mm-ice);
}

.pagination {
  --bs-pagination-active-bg: var(--mm-ice);
  --bs-pagination-active-border-color: var(--mm-ice);
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(0, 183, 201, 0.25);
}

.list-group {
  --bs-list-group-active-bg: var(--mm-ice);
  --bs-list-group-active-border-color: var(--mm-ice);
}

.progress {
  --bs-progress-bar-bg: var(--mm-ice);
}

html {
  background-color: var(--mm-bg);
}

body {
  font-family: "Source Sans 3", "Open Sans", sans-serif;
  font-weight: 400;
  color: var(--mm-ink-muted);
  font-size: 14px;
  line-height: 1.55;
  background-color: var(--mm-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-weight: 600;
  color: var(--mm-ink);
  letter-spacing: 0.01em;
}

a {
  color: var(--mm-ice);
}

a:hover {
  color: var(--mm-ice-deep);
}

/* Top bar */
#top {
  background-color: var(--mm-bg-elevated);
  border-bottom: 1px solid var(--mm-silver);
}

#top .nav > .list-inline > .list-inline-item,
#top .nav > .list-inline .list-inline-item > a,
#top .nav > .list-inline .list-inline-item .dropdown > a,
#top .btn-link {
  color: var(--mm-ink-muted);
  text-shadow: none;
}

#top .btn-link:hover,
#top a:hover {
  color: var(--mm-ice);
}

/* Header */
.header-wrap {
  background-color: var(--mm-bg-elevated);
  border-bottom: 1px solid var(--mm-silver-bright);
}

/* Header search — one field; icon button sits inside on the right */
#search.input-group {
  position: relative;
  display: block;
  width: 100%;
  flex-wrap: nowrap;
}

#search .form-control,
#search .form-control-lg {
  width: 100%;
  border-color: var(--mm-silver);
  border-radius: var(--mm-radius) !important;
  padding-right: 48px;
}

#search .form-control-lg:focus {
  border-color: var(--mm-ice);
  box-shadow: 0 0 0 0.15rem rgba(0, 183, 201, 0.2);
}

#search .btn {
  position: absolute;
  right: 6px;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  transform: translateY(-50%);
  border: 0 !important;
  border-radius: var(--mm-radius-sm) !important;
  background: transparent !important;
  color: var(--mm-ice) !important;
  box-shadow: none !important;
}

#search .btn:hover,
#search .btn:focus {
  background: var(--mm-ice-soft) !important;
  color: var(--mm-ice-deep) !important;
}

.header-cart-wrap .btn-default {
  border-color: var(--mm-silver);
  color: var(--mm-ink);
}

.header-cart-wrap .btn-default:hover {
  border-color: var(--mm-ice);
  color: var(--mm-ice);
}

/* Menu — graphite bar, ice hover
   Note: do NOT put margin-bottom on #menu inside .menu-wrap —
   the wrap is full-width black, so that margin becomes empty tall bar
   and makes links look "stuck" to the top. */
.menu-wrap {
  background-color: var(--mm-menu);
  border-bottom: 1px solid #0F1114;
  margin-bottom: 20px;
}

#menu {
  margin-bottom: 0;
  min-height: 0;
  border-radius: 0;
  align-items: stretch;
}

#menu.navbar {
  padding: 0;
  --bs-navbar-padding-y: 0;
  --bs-navbar-padding-x: 0;
}

#menu .navbar-collapse {
  align-items: stretch;
}

#menu .navbar-nav {
  align-items: stretch;
  min-height: 44px;
}

#menu .navbar-nav > li {
  position: relative;
}

#menu .navbar-nav > li > a,
#menu .navbar-nav > li > .nav-link {
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
  display: flex;
  align-items: center;
  padding: 0 18px;
  min-height: 44px;
  line-height: 1.2;
}

#menu #category {
  line-height: 44px;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#menu .navbar-nav > li:hover > a,
#menu .navbar-nav > li:focus-within > a {
  background-color: var(--mm-ice);
  color: #fff !important;
}

/* Desktop submenu: OC uses CSS hover, but BS5 only positions
   .dropdown-menu[data-bs-popper] — without Popper the panel floats wrong. */
@media (min-width: 992px) {
  #menu .nav-item.dropdown {
    position: relative;
  }

  #menu .nav-item.dropdown > .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    z-index: 1050;
    display: none;
    min-width: 220px;
    margin: 0;
    padding: 8px 0 0;
    border: 1px solid var(--mm-silver);
    border-top: 2px solid var(--mm-ice);
    border-radius: 0 0 2px 2px;
    background: var(--mm-bg-elevated);
    box-shadow: 0 10px 28px rgba(26, 29, 33, 0.16);
    inset: auto;
    transform: none !important;
  }

  #menu .nav-item.dropdown:hover > .dropdown-menu,
  #menu .nav-item.dropdown:focus-within > .dropdown-menu {
    display: block;
  }

  #menu .dropdown-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 4px 0;
  }

  #menu .dropdown-inner > ul {
    display: block;
    min-width: 200px;
    margin: 0;
    padding: 0 4px;
    list-style: none;
    border-right: 1px solid var(--mm-silver-bright);
  }

  #menu .dropdown-inner > ul:last-child {
    border-right: none;
  }

  #menu .dropdown-inner a,
  #menu .dropdown-inner .nav-link {
    display: block;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 8px 16px;
    color: var(--mm-ink) !important;
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.35;
    border-radius: 0;
    white-space: nowrap;
  }

  #menu .dropdown-inner a:hover,
  #menu .dropdown-inner .nav-link:hover {
    background-color: var(--mm-ice-soft);
    color: var(--mm-ice-deep) !important;
  }

  #menu .see-all {
    display: block;
    margin: 0;
    padding: 10px 16px;
    border-top: 1px solid var(--mm-silver-bright);
    border-radius: 0;
    background: #F7F9FA;
    color: var(--mm-ice-deep) !important;
    font-family: Barlow, "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
  }

  #menu .see-all:hover,
  #menu .see-all:focus {
    background-color: var(--mm-ice);
    color: #fff !important;
  }
}

@media (max-width: 991.98px) {
  #menu .dropdown-menu {
    position: static;
    display: none;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none !important;
  }

  #menu .nav-item.dropdown:hover > .dropdown-menu,
  #menu .nav-item.dropdown:focus-within > .dropdown-menu,
  #menu .navbar-collapse.show .dropdown-menu {
    display: block;
  }

  #menu .dropdown-inner {
    display: block;
    padding: 0 0 0 12px;
  }

  #menu .dropdown-inner > ul {
    display: block;
    border: 0;
  }

  #menu .dropdown-inner a,
  #menu .dropdown-inner .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 8px 12px;
    text-transform: none;
    font-size: 13px;
    letter-spacing: 0;
    min-height: 0;
  }

  #menu .dropdown-inner a:hover,
  #menu .see-all:hover {
    background: rgba(0, 183, 201, 0.25);
    color: #fff !important;
  }

  #menu .see-all {
    border: 0;
    color: var(--mm-ice) !important;
    padding: 8px 12px 12px 24px;
    background: transparent;
    text-transform: none;
  }
}

.navbar-light .navbar-toggler {
  background-color: var(--mm-ice);
  background-image: none;
  border-color: var(--mm-ice-deep);
  margin: 6px 0;
}

/* Content shell */
#content {
  min-height: 600px;
}

/* Breadcrumb — no box; content stays container-width; full-bleed divider */
.breadcrumb {
  --bs-breadcrumb-divider: ">";
  --bs-breadcrumb-divider-color: var(--mm-silver);
  --bs-breadcrumb-item-active-color: var(--mm-ink);
  --bs-breadcrumb-item-padding-x: 0;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 20px;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  list-style: none;
}

.breadcrumb::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--mm-silver-bright);
  pointer-events: none;
}

.breadcrumb > li.breadcrumb-item {
  text-shadow: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  white-space: normal;
  font-size: 13px;
  line-height: 1.4;
  color: var(--mm-ink);
}

.breadcrumb > li.breadcrumb-item::before,
.breadcrumb > li.breadcrumb-item + .breadcrumb-item::before {
  float: none !important;
  display: inline-block;
  padding: 0 8px;
  color: var(--mm-silver);
  content: ">" !important;
  font-weight: 400;
}

.breadcrumb > li.breadcrumb-item:first-of-type::before,
.breadcrumb > li.breadcrumb-item:first-child::before {
  content: none !important;
  display: none;
  padding: 0;
}

.breadcrumb > li.breadcrumb-item > a {
  color: var(--mm-ink-muted);
  text-decoration: none;
  padding: 0;
}

.breadcrumb > li.breadcrumb-item > a:hover {
  color: var(--mm-ice);
}

.breadcrumb > li.breadcrumb-item:last-child,
.breadcrumb > li.breadcrumb-item.active {
  color: var(--mm-ink);
  font-weight: 400;
}

/* Buttons */
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--mm-ice);
  --bs-btn-border-color: var(--mm-ice);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--mm-ice-deep);
  --bs-btn-hover-border-color: var(--mm-ice-deep);
  --bs-btn-focus-shadow-rgb: 0, 183, 201;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--mm-ice-deep);
  --bs-btn-active-border-color: #006677;
  color: #fff;
  background-color: var(--mm-ice);
  border-color: var(--mm-ice);
  border-radius: var(--mm-radius);
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background-color: var(--mm-ice-deep);
  border-color: var(--mm-ice-deep);
}

.btn-default {
  border: 1px solid var(--mm-silver);
  background-color: var(--mm-bg-elevated);
  color: var(--mm-ink-muted);
  border-radius: var(--mm-radius);
}

.btn-default:hover {
  color: var(--mm-ice-deep);
  border-color: var(--mm-ice);
  background-color: var(--mm-ice-soft);
}

.btn-light {
  border-color: var(--mm-silver);
}

.btn-outline-primary {
  --bs-btn-color: var(--mm-ice);
  --bs-btn-border-color: var(--mm-ice);
  --bs-btn-hover-bg: var(--mm-ice);
  --bs-btn-hover-border-color: var(--mm-ice);
  --bs-btn-active-bg: var(--mm-ice-deep);
  --bs-btn-active-border-color: var(--mm-ice-deep);
}

/* Product cards */
.product-thumb {
  border: 1px solid var(--mm-silver-bright);
  background-color: var(--mm-bg-elevated);
  border-radius: 2px;
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-thumb:hover {
  box-shadow: none;
  border-color: var(--mm-silver);
  outline: 1px solid var(--mm-ice);
  outline-offset: -1px;
  z-index: 3;
}

.product-thumb .image {
  margin-bottom: 8px !important;
  aspect-ratio: 1 / 1;
  max-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.product-thumb .image > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-thumb .image img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-thumb .content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-thumb .description {
  padding: 0 10px 10px !important;
}

.product-thumb h4 {
  position: relative;
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
}

.product-thumb h4 .p-name {
  color: var(--mm-ink);
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-decoration: none;
  word-break: break-word;
}

.product-thumb:hover h4 .p-name {
  -webkit-line-clamp: unset;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  padding: 0 2px 6px;
  background: var(--mm-bg-elevated);
  box-shadow: 0 8px 16px rgba(26, 29, 33, 0.08);
}

.product-thumb .button-group button {
  background-color: var(--mm-ink);
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-weight: 600;
}

.product-thumb .button-group button:hover {
  background-color: var(--mm-ice);
}

.product-thumb .button-group button + button {
  border-left: 1px solid #2A2F36;
}

.product-main-image {
  border: 1px solid var(--mm-silver-bright);
  background: var(--mm-bg-elevated);
}

.product-description .price-wrap,
.product-description .model-wrap {
  border-bottom: 1px solid var(--mm-line);
}

/* —— Product detail (PDP) —— */
.mm-pdp {
  padding-bottom: 48px;
}

.mm-pdp > .container {
  max-width: var(--mm-container);
}

.mm-pdp-hero {
  align-items: flex-start;
  margin-bottom: 8px;
}

.mm-pdp-gallery {
  position: sticky;
  top: 16px;
}

.mm-pdp-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #f7f9fb 0%, #eef2f5 100%);
  border: 1px solid var(--mm-silver-bright);
  aspect-ratio: 1 / 1;
}

.mm-pdp-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 28px;
}

.mm-pdp-main img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.mm-pdp-main:hover img {
  transform: scale(1.03);
}

.mm-pdp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--mm-ink);
  box-shadow: 0 4px 14px rgba(26, 29, 33, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
  z-index: 2;
}

.mm-pdp-stage:hover .mm-pdp-nav,
.mm-pdp-nav:focus-visible {
  opacity: 1;
}

.mm-pdp-nav:hover {
  background: var(--mm-ice);
  color: #fff;
}

.mm-pdp-prev { left: 12px; }
.mm-pdp-next { right: 12px; }

.mm-pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.mm-pdp-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--mm-bg-elevated);
  box-shadow: inset 0 0 0 1px var(--mm-silver-bright);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mm-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.mm-pdp-thumb:hover {
  border-color: var(--mm-silver);
}

.mm-pdp-thumb.is-active {
  border-color: var(--mm-ice);
  box-shadow: none;
}

.mm-pdp-buy {
  padding: 8px 0 0;
}

.mm-pdp-kicker {
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mm-ice-deep);
  margin-bottom: 8px;
}

.mm-pdp-title {
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--mm-ink);
  margin: 0 0 14px;
}

.mm-pdp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  color: var(--mm-ink-muted);
  font-size: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mm-line);
}

.mm-pdp-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E6A800;
}

.mm-pdp-jump {
  color: var(--mm-ink-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mm-pdp-jump:hover {
  color: var(--mm-ice);
}

.mm-pdp-price {
  margin-bottom: 18px;
}

.mm-pdp-price-now {
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--mm-ice-deep);
  line-height: 1.1;
}

.mm-pdp-price-was {
  margin-left: 10px;
  font-size: 1.1rem;
  color: var(--mm-ink-muted);
  text-decoration: line-through;
}

.mm-pdp-tax {
  margin-top: 4px;
  font-size: 13px;
  color: var(--mm-ink-muted);
}

.mm-pdp-facts {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--mm-ice-soft);
  border: 1px solid rgba(0, 183, 201, 0.18);
}

.mm-pdp-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  font-size: 14px;
  color: var(--mm-ink-muted);
}

.mm-pdp-facts strong {
  color: var(--mm-ink);
  font-weight: 600;
}

.mm-pdp-options h3 {
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.mm-pdp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.mm-pdp-qty {
  width: auto;
  max-width: 140px;
  border: 1px solid var(--mm-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.mm-pdp-qty .btn {
  border: 0;
  background: transparent;
  color: var(--mm-ink);
  width: 38px;
}

.mm-pdp-qty .form-control {
  border: 0;
  text-align: center;
  font-weight: 600;
  box-shadow: none;
  min-width: 48px;
}

.mm-pdp-cart {
  flex: 1 1 180px;
  min-height: 48px;
  border-radius: 10px;
  background: var(--mm-ice);
  border-color: var(--mm-ice);
  color: #fff;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mm-pdp-cart:hover,
.mm-pdp-cart:focus {
  background: var(--mm-ice-deep);
  border-color: var(--mm-ice-deep);
  color: #fff;
}

.mm-pdp-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--mm-line);
  background: #fff;
  color: var(--mm-ink-muted);
}

.mm-pdp-icon:hover {
  border-color: var(--mm-ice);
  color: var(--mm-ice);
}

.mm-pdp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--mm-line);
  font-size: 13px;
  color: var(--mm-ink-muted);
}

.mm-pdp-trust i {
  color: var(--mm-ice);
  margin-right: 6px;
}

/* Sticky section nav — full width under hero */
.mm-pdp-sticky {
  position: sticky;
  top: 0;
  z-index: 1020;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--mm-line);
  border-bottom: 1px solid var(--mm-line);
  box-shadow: 0 6px 18px rgba(26, 29, 33, 0.04);
}

.mm-pdp-sticky-inner {
  max-width: var(--mm-container);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

.mm-pdp-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: none;
}

.mm-pdp-tabs::-webkit-scrollbar {
  display: none;
}

.mm-pdp-tab {
  flex: 0 0 auto;
  padding: 16px 14px;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--mm-ink-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.mm-pdp-tab:hover {
  color: var(--mm-ink);
}

.mm-pdp-tab.is-active {
  color: var(--mm-ice-deep);
  border-bottom-color: var(--mm-ice);
}

.mm-pdp-sticky-cart {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--mm-ink);
  border-color: var(--mm-ink);
  color: #fff;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-weight: 600;
  font-size: 13px;
}

.mm-pdp-sticky-cart:hover {
  background: var(--mm-ice);
  border-color: var(--mm-ice);
  color: #fff;
}

.mm-pdp-panels {
  max-width: var(--mm-container);
  padding-top: 28px;
}

.mm-pdp-section {
  scroll-margin-top: 72px;
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--mm-line);
}

.mm-pdp-section:last-of-type {
  border-bottom: 0;
}

.mm-pdp-section-title {
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--mm-ink);
}

.mm-pdp-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mm-ink);
}

.mm-pdp-description img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px auto;
}

.mm-pdp-description table {
  width: 100% !important;
  max-width: 100%;
}

.mm-pdp-spec-table {
  --bs-table-bg: transparent;
  border: 1px solid var(--mm-line);
}

.mm-pdp-spec-table thead th {
  background: var(--mm-ice-soft);
  color: var(--mm-ink);
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-weight: 700;
}

.mm-pdp-spec-table td:first-child {
  width: 32%;
  color: var(--mm-ink-muted);
  background: #fafbfc;
}

.mm-pdp-tags {
  margin-top: 20px;
  color: var(--mm-ink-muted);
  font-size: 14px;
}

.mm-pdp-tags a {
  color: var(--mm-ice-deep);
}

.mm-pdp-back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 1040;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(26, 29, 33, 0.18);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--mm-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  box-shadow: 0 8px 20px rgba(26, 29, 33, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.mm-pdp-back-top:hover {
  background: var(--mm-ice-soft);
  color: var(--mm-ice-deep);
  border-color: rgba(0, 183, 201, 0.35);
}

.mm-pdp-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .mm-pdp-gallery {
    position: static;
  }

  .mm-pdp-stage {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }

  .mm-pdp-nav {
    opacity: 1;
  }

  .mm-pdp-sticky-inner {
    min-height: 52px;
  }

  .mm-pdp-tab {
    padding: 14px 10px;
    font-size: 13px;
  }

  .mm-pdp-sticky-cart span,
  .mm-pdp-sticky-cart {
    font-size: 12px;
    padding: 0 12px;
  }
}

@media (max-width: 575.98px) {
  .mm-pdp-thumb {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }

  .mm-pdp-price-now {
    font-size: 1.65rem;
  }

  .mm-pdp-actions {
    flex-wrap: wrap;
  }

  .mm-pdp-cart {
    flex: 1 1 100%;
    order: 1;
  }

  .mm-pdp-qty {
    order: 0;
  }
}

.price {
  color: var(--mm-ink);
}

.price-new {
  color: var(--mm-ice-deep);
  font-weight: 700;
}

/* Forms / tabs */
.nav-tabs .nav-link.active {
  color: var(--mm-ice-deep);
  border-color: var(--mm-line) var(--mm-line) var(--mm-bg-elevated);
}

.nav-tabs .nav-link:hover {
  border-color: var(--mm-silver-bright) var(--mm-silver-bright) var(--mm-line);
  color: var(--mm-ice);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--mm-ice);
  box-shadow: 0 0 0 0.2rem rgba(0, 183, 201, 0.18);
}

/* Pagination — horizontal, compact, brand-aligned */
.pagination {
  --bs-pagination-padding-x: 0.75rem;
  --bs-pagination-padding-y: 0.4rem;
  --bs-pagination-font-size: 13px;
  --bs-pagination-color: var(--mm-ink-muted);
  --bs-pagination-bg: #fff;
  --bs-pagination-border-width: 1px;
  --bs-pagination-border-color: var(--mm-silver);
  --bs-pagination-hover-color: var(--mm-ice-deep);
  --bs-pagination-hover-bg: var(--mm-ice-soft);
  --bs-pagination-hover-border-color: var(--mm-ice);
  --bs-pagination-focus-color: var(--mm-ice-deep);
  --bs-pagination-focus-bg: var(--mm-ice-soft);
  --bs-pagination-focus-box-shadow: 0 0 0 0.15rem rgba(0, 183, 201, 0.2);
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: var(--mm-ice);
  --bs-pagination-active-border-color: var(--mm-ice);
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.pagination .page-item {
  display: inline-flex;
  float: none;
  margin: 0;
}

.pagination .page-item + .page-item .page-link {
  margin-left: 0;
}

.pagination .page-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  margin: 0;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--mm-ink-muted);
  background: #fff;
  border: 1px solid var(--mm-silver);
  border-radius: var(--mm-radius-sm) !important;
  text-decoration: none;
  box-shadow: none;
}

.pagination .page-item:first-child .page-link {
  border-radius: var(--mm-radius-sm) !important;
}

.pagination .page-item:last-child .page-link {
  border-radius: var(--mm-radius-sm) !important;
}

.pagination .page-item.active .page-link,
.pagination .page-item.active span.page-link {
  z-index: 2;
  color: #fff;
  background-color: var(--mm-ice);
  border-color: var(--mm-ice);
}

.pagination .page-link:hover {
  z-index: 3;
  color: var(--mm-ice-deep);
  background-color: var(--mm-ice-soft);
  border-color: var(--mm-ice);
}

.pagination .page-item.disabled .page-link {
  color: #AAB2BB;
  background: #F7F9FA;
  border-color: var(--mm-silver-bright);
}

/* Account tiles */
.account-list .list-unstyled a {
  border-color: var(--mm-silver);
  border-radius: var(--mm-radius);
  color: var(--mm-ink-muted);
}

.account-list .list-unstyled a:hover {
  background: var(--mm-ice);
  border-color: var(--mm-ice);
  color: #fff;
  box-shadow: none;
}

/* Footer — brand + explore + categories */
.mm-footer {
  margin-top: 0;
  background-color: var(--mm-ink);
  border-top: 1px solid #0F1114;
  color: var(--mm-silver);
}

.mm-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 36px 40px;
  padding: 44px 0 36px;
}

.mm-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none !important;
  color: #fff !important;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.mm-footer-logo-mark {
  height: 36px;
  width: auto;
  display: block;
  mix-blend-mode: lighten;
}

.mm-footer-blurb {
  margin: 0 0 18px;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(197, 204, 211, 0.92);
}

.mm-footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.4;
}

.mm-footer-contact a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.mm-footer-contact a span {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(197, 204, 211, 0.55);
}

.mm-footer-contact a:hover {
  color: var(--mm-ice);
}

.mm-footer-col h5 {
  margin: 0 0 16px;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.mm-footer-col h5::after {
  display: none;
}

.mm-footer-col ul.list-unstyled {
  margin: 0;
  padding: 0;
}

.mm-footer-col ul.list-unstyled li,
.mm-footer ul.list-unstyled li {
  margin: 0 0 10px;
  padding: 0;
  display: block;
  position: static;
}

.mm-footer-col ul.list-unstyled li::before,
.mm-footer ul.list-unstyled li::before {
  content: none !important;
  display: none !important;
}

.mm-footer-col ul.list-unstyled li a,
.mm-footer ul.list-unstyled li a {
  display: inline;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--mm-silver);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.mm-footer-col ul.list-unstyled li:hover a,
.mm-footer ul.list-unstyled li:hover a,
.mm-footer-col ul.list-unstyled li a:hover,
.mm-footer ul.list-unstyled li a:hover {
  margin: 0 !important;
  padding: 0 !important;
  color: #fff;
}

.mm-footer-copy {
  border-top: 1px solid #2A2F36;
  background: #121418;
  padding: 14px 0;
  color: rgba(197, 204, 211, 0.65);
  font-size: 13px;
}

.mm-footer-copy a {
  color: inherit;
}

@media (max-width: 991.98px) {
  .mm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
    padding: 36px 0 28px;
  }

  .mm-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .mm-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Soft highlight utility for quote / price strips later */
.mm-soft-panel {
  background: var(--mm-ice-soft);
  border: 1px solid var(--mm-silver-bright);
  border-radius: 2px;
  padding: 12px 16px;
}

/* Subtle entrance for product grids */
@keyframes mm-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-thumb {
  animation: mm-fade-up 0.35s ease both;
}

#menu .navbar-nav > li > a,
#menu .navbar-nav > li > .nav-link {
  transition: background-color 0.2s ease, color 0.2s ease;
}

@media (max-width: 991.98px) {
  #menu .navbar-nav {
    min-height: 0;
    padding: 8px 0;
  }

  #menu .navbar-nav > li > a,
  #menu .navbar-nav > li > .nav-link {
    min-height: 40px;
    padding: 0 12px;
  }
}

/* =========================================================
   MotoModSEA v2 — mosmotor-like minimal layout, ice brand
   ========================================================= */

.mm-body {
  background: #fff;
  color: var(--mm-ink-muted);
}

.mm-topbar {
  min-height: 32px;
  font-size: 12px;
  background: #fff;
  border-bottom: 1px solid var(--mm-silver-bright);
}

.mm-header {
  padding: 16px 0 !important;
  background: #fff;
  border-bottom: 0;
}

.mm-header-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
}

.mm-header-brand {
  min-width: 0;
  flex: 0 1 auto;
}

.mm-header-search {
  flex: 1 1 auto;
  width: auto;
  min-width: 260px;
  max-width: 420px;
  margin-left: auto;
}

.mm-header-search #search {
  width: 100%;
}

.mm-header-search #search .form-control-lg {
  height: 44px;
  padding: 0.45rem 48px 0.45rem 0.9rem;
  font-size: 14px;
}

.mm-header-search #search .btn {
  width: 34px;
  height: 34px;
}

.mm-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  text-decoration: none !important;
  color: var(--mm-ink) !important;
}

.mm-logo-mark {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 56px;
  max-height: 56px;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  /* Kill light cutout halos against the white header */
  mix-blend-mode: darken;
}

.mm-logo-name {
  display: block;
  min-width: 0;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-weight: 700;
  /* CSS font-size ≈ logo height * 0.75：大写字母实际可视高度约字号的 70%，要对齐 56px LOGO 需要更大字号 */
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #1a1d21;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .mm-header-row {
    gap: 28px;
  }

  .mm-header-search {
    min-width: 220px;
    max-width: 340px;
  }

  .mm-logo-mark {
    height: 52px;
    max-height: 52px;
  }

  .mm-logo-name {
    font-size: 32px;
  }
}

@media (max-width: 991.98px) {
  .mm-header-row {
    gap: 20px;
  }

  .mm-header-search {
    min-width: 180px;
    max-width: 260px;
  }

  .mm-logo-link {
    gap: 8px;
  }

  .mm-logo-mark {
    height: 46px;
    max-height: 46px;
  }

  .mm-logo-name {
    font-size: 26px;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 575.98px) {
  .mm-header-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .mm-header-brand {
    flex: 1 1 100%;
  }

  .mm-header-search {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-left: 0;
  }

  .mm-logo-mark {
    height: 40px;
    max-height: 40px;
  }

  .mm-logo-name {
    font-size: 22px;
    white-space: normal;
  }
}

.mm-nav.menu-wrap {
  margin-bottom: 0;
  background: var(--mm-ink);
}

.mm-main-nav {
  gap: 0;
}

.mm-main-nav > .nav-item > .nav-link {
  font-size: 13px !important;
  letter-spacing: 0.12em !important;
  padding: 0 28px !important;
}

/* Mega menu — L1 only by default; L2/L3 on hover */
@media (min-width: 992px) {
  .mm-products {
    position: relative !important;
  }

  .mm-products > .mm-mega.dropdown-menu {
    left: 0 !important;
    right: auto !important;
    width: auto;
    min-width: 280px;
    max-width: none;
    padding: 0;
    border: 0;
    border-top: 2px solid var(--mm-ice);
    border-radius: 0;
    box-shadow: 0 16px 36px rgba(26, 29, 33, 0.16);
    background: #fff;
  }

  .mm-mega-panel {
    position: relative;
    min-width: 280px;
  }

  .mm-mega-l1 {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    max-height: 70vh;
    overflow-y: auto;
  }

  .mm-mega-l1-item {
    position: static;
  }

  .mm-mega-l1-item > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 0 !important;
    padding: 10px 18px !important;
    font-family: "Source Sans 3", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--mm-ink) !important;
    background: transparent !important;
  }

  .mm-mega-l1-item > a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mm-mega-l1-item > a i {
    font-size: 11px;
    color: #9AA3AD;
  }

  .mm-mega-l1-item:hover > a,
  .mm-mega-l1-item:focus-within > a {
    background: var(--mm-ice-soft) !important;
    color: var(--mm-ice-deep) !important;
  }

  .mm-mega-l1-item:hover > a i,
  .mm-mega-l1-item:focus-within > a i {
    color: var(--mm-ice);
  }

  .mm-mega-l2 {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 280px;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    border-left: 1px solid var(--mm-silver-bright);
    box-shadow: 10px 12px 28px rgba(26, 29, 33, 0.12);
    z-index: 3;
  }

  .mm-mega-l1-item.has-children:hover > .mm-mega-l2,
  .mm-mega-l1-item.has-children:focus-within > .mm-mega-l2 {
    display: block;
  }

  .mm-mega-l2-head {
    padding: 12px 16px;
    border-bottom: 1px solid var(--mm-silver-bright);
    background: #F7F9FA;
  }

  .mm-mega-l2-head a {
    font-family: Barlow, "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mm-ink) !important;
  }

  .mm-mega-l2-list,
  .mm-mega-l3 {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    max-height: 60vh;
    overflow-y: auto;
  }

  .mm-mega-l2-item {
    position: relative;
  }

  .mm-mega-l2-item > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 0 !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--mm-ink-muted) !important;
    background: transparent !important;
  }

  .mm-mega-l2-item > a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mm-mega-l2-item:hover > a,
  .mm-mega-l2-item:focus-within > a {
    background: var(--mm-ice-soft) !important;
    color: var(--mm-ice-deep) !important;
  }

  .mm-mega-l3 {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 240px;
    background: #fff;
    border: 1px solid var(--mm-silver-bright);
    box-shadow: 8px 10px 24px rgba(26, 29, 33, 0.12);
    z-index: 4;
  }

  .mm-mega-l2-item.has-children:hover > .mm-mega-l3,
  .mm-mega-l2-item.has-children:focus-within > .mm-mega-l3 {
    display: block;
  }

  .mm-mega-l3 a {
    display: block;
    padding: 8px 14px;
    font-size: 12px;
    color: var(--mm-ink-muted) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mm-mega-l3 a:hover {
    background: var(--mm-ice-soft);
    color: var(--mm-ice-deep) !important;
  }

  .mm-mega-all {
    display: block;
    padding: 12px 18px;
    border-top: 1px solid var(--mm-silver-bright);
    background: #F7F9FA;
    font-family: Barlow, "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mm-ice-deep) !important;
  }

  .mm-mega-all:hover {
    background: var(--mm-ice);
    color: #fff !important;
  }

  .mm-about-menu.dropdown-menu {
    min-width: 220px;
    padding: 8px 0;
  }
}

@media (max-width: 991.98px) {
  .mm-mega {
    position: static !important;
    display: none;
    width: 100%;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .mm-products:hover > .mm-mega,
  .mm-products:focus-within > .mm-mega,
  .navbar-collapse.show .mm-mega {
    display: block;
  }

  .mm-mega-l1,
  .mm-mega-l2-list,
  .mm-mega-l3 {
    list-style: none;
    margin: 0;
    padding: 0 0 0 8px;
    max-height: none;
    overflow: visible;
  }

  .mm-mega-l2,
  .mm-mega-l3 {
    position: static;
    display: none;
    width: auto;
    border: 0;
    box-shadow: none;
    background: transparent;
    min-height: 0;
  }

  .mm-mega-l1-item.has-children:hover > .mm-mega-l2,
  .mm-mega-l1-item.has-children:focus-within > .mm-mega-l2,
  .mm-mega-l2-item.has-children:hover > .mm-mega-l3,
  .mm-mega-l2-item.has-children:focus-within > .mm-mega-l3 {
    display: block;
  }

  .mm-mega-l1-item > a,
  .mm-mega-l2-item > a,
  .mm-mega-l2-head a,
  .mm-mega-l3 a,
  .mm-mega-all {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .mm-mega-l2-head {
    padding: 8px 12px 4px;
    border: 0;
    background: transparent;
  }
}

/* Left category module — L1 only; children on hover */
.mm-cat-nav {
  border: 1px solid var(--mm-silver-bright);
  background: #fff;
}

.mm-cat-nav .mm-cat-item {
  position: relative;
  border-bottom: 1px solid var(--mm-silver-bright);
}

.mm-cat-nav .mm-cat-item:last-child {
  border-bottom: 0;
}

.mm-cat-nav .mm-cat-l1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  color: var(--mm-ink) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  background: #fff;
}

.mm-cat-nav .mm-cat-l1 i {
  font-size: 11px;
  color: #9AA3AD;
}

.mm-cat-nav .mm-cat-item.active > .mm-cat-l1,
.mm-cat-nav .mm-cat-item:hover > .mm-cat-l1 {
  background: var(--mm-ice);
  color: #fff !important;
}

.mm-cat-nav .mm-cat-item.active > .mm-cat-l1 i,
.mm-cat-nav .mm-cat-item:hover > .mm-cat-l1 i {
  color: #fff;
}

.mm-cat-nav .mm-cat-children {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 20;
  width: 260px;
  max-height: 70vh;
  overflow-y: auto;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--mm-silver);
  box-shadow: 8px 10px 24px rgba(26, 29, 33, 0.12);
}

.mm-cat-nav .mm-cat-item.has-children:hover > .mm-cat-children,
.mm-cat-nav .mm-cat-item.has-children:focus-within > .mm-cat-children {
  display: block;
}

.mm-cat-nav .mm-cat-children a {
  display: block;
  padding: 8px 14px;
  color: var(--mm-ink-muted) !important;
  font-size: 13px;
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mm-cat-nav .mm-cat-children a:hover,
.mm-cat-nav .mm-cat-children a.active {
  background: var(--mm-ice-soft);
  color: var(--mm-ice-deep) !important;
}

@media (max-width: 991.98px) {
  .mm-cat-nav .mm-cat-children {
    position: static;
    width: auto;
    max-height: none;
    border: 0;
    border-top: 1px solid var(--mm-silver-bright);
    box-shadow: none;
    padding-left: 8px;
  }
}

/* Home sections */
.mm-home {
  background: #fff;
}

.mm-hero {
  margin: 0;
}

.mm-hero .carousel-item img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

.mm-hero .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.45;
}

.mm-hero .carousel-indicators .active {
  opacity: 1;
  background: var(--mm-ice);
}

.mm-section {
  padding: 64px 0;
}

.mm-section + .mm-section {
  border-top: 1px solid var(--mm-silver-bright);
}

.mm-kicker {
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mm-ice);
  margin-bottom: 10px;
}

.mm-section-title {
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mm-ink);
  margin: 0 0 28px;
}

.mm-discover {
  text-align: center;
  padding: 72px 0;
  background:
    linear-gradient(180deg, #F7FAFB 0%, #FFFFFF 100%);
}

.mm-discover .mm-section-title {
  margin-bottom: 20px;
}

.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--mm-ink);
  border-radius: var(--mm-radius);
  background: var(--mm-ink);
  color: #fff !important;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mm-btn:hover {
  background: var(--mm-ice);
  border-color: var(--mm-ice);
  color: #fff !important;
}

.mm-btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 11px;
  width: 100%;
  margin-top: 8px;
}

.mm-main-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.mm-main-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: #F4F6F8;
  text-decoration: none !important;
}

.mm-main-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.mm-main-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 10px;
  background: linear-gradient(transparent, rgba(26, 29, 33, 0.78));
  color: #fff;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mm-main-card:hover img {
  transform: scale(1.03);
}

.mm-product-grid {
  display: grid;
  gap: 16px 12px;
}

.mm-home .mm-product-grid {
  gap: 20px 18px;
}

.mm-product-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mm-home .mm-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--mm-silver-bright);
  border-radius: var(--mm-radius);
  padding: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mm-home .mm-product-card:hover {
  border-color: #7AD4DE;
  transform: translateY(-2px);
}

.mm-home .mm-product-thumb {
  display: block;
  background: #F5F7F9;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: var(--mm-radius-sm);
}

.mm-home .mm-product-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.mm-home .mm-product-card:hover .mm-product-thumb img {
  transform: scale(1.03);
}

.mm-home .mm-product-name {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 4px;
  min-height: 2.7em;
}

.mm-home .mm-product-price {
  margin-top: auto;
  margin-bottom: 0;
  font-size: 13px;
}

.mm-home .mm-btn-sm {
  min-height: 32px;
  margin-top: 8px;
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.mm-product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  min-width: 0;
}

.mm-product-thumb {
  display: block;
  background: #F5F7F9;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: var(--mm-radius-sm);
}

.mm-product-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.mm-product-card:hover .mm-product-thumb img {
  transform: scale(1.04);
}

.mm-product-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
  min-height: 2.7em;
}

.mm-product-name a {
  color: var(--mm-ink) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mm-product-name a:hover {
  color: var(--mm-ice) !important;
}

.mm-product-price {
  margin-top: auto;
  margin-bottom: 2px;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--mm-ink);
}

.mm-price-new {
  color: var(--mm-ice-deep);
}

.mm-price-old {
  margin-left: 6px;
  color: #9AA3AD;
  text-decoration: line-through;
  font-weight: 500;
  font-size: 12px;
}

.mm-home .mm-btn-sm {
  min-height: 34px;
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.mm-about-home {
  background: #F2F4F6;
}

.mm-about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.mm-about-copy p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 58ch;
}

.mm-markets {
  color: var(--mm-ink);
}

.mm-about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mm-stat {
  background: #fff;
  border: 1px solid var(--mm-silver-bright);
  padding: 18px 16px;
}

.mm-stat strong {
  display: block;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 22px;
  color: var(--mm-ink);
  margin-bottom: 4px;
}

.mm-stat span {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mm-ink-muted);
}

.mm-new-arrivals,
.mm-hot-selling {
  background: #fff;
}

/* Keep space between page content / pagination and footer */
main {
  padding-bottom: 48px;
}

body:has(.mm-home) main,
body:has(.mm-contact-page) main {
  padding-bottom: 0;
}

#content .pagination {
  margin: 20px 0 8px !important;
}

#product-list + .row,
.mm-paging-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  margin-bottom: 24px;
  padding-bottom: 8px;
}

.mm-paging-row .pagination {
  margin: 0 !important;
}

.mm-paging-center {
  justify-content: center;
}

/* Search page */
.mm-search-page .mm-search-panel {
  margin: 0 0 22px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--mm-silver-bright);
}

.mm-search-panel-label {
  margin-bottom: 12px;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--mm-ink);
}

.mm-search-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: start;
}

.mm-search-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mm-search-actions {
  display: flex;
  align-items: flex-start;
  padding-top: 0;
}

.mm-search-actions .btn {
  min-width: 120px;
  height: 38px;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-weight: 600;
}

.mm-search-result-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mm-search-result-title {
  margin: 0;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mm-ink);
}

.mm-search-result-bar .mm-cat-toolbar {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.mm-search-empty {
  margin: 24px 0;
  color: var(--mm-ink-muted);
}

@media (max-width: 991.98px) {
  .mm-search-fields {
    grid-template-columns: 1fr;
  }

  .mm-search-actions .btn {
    width: 100%;
  }
}

/* Category list page */
.mm-category-page .mm-cat-heading {
  margin: 0 0 18px;
  font-family: "Barlow", sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--mm-ink);
  letter-spacing: 0.02em;
}

.mm-cat-intro {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mm-silver-bright);
}

.mm-cat-intro-thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--mm-silver-bright);
  flex-shrink: 0;
}

.mm-cat-intro-text {
  color: var(--mm-ink-muted);
  font-size: 14px;
  line-height: 1.6;
}

.mm-cat-section-title {
  margin: 0 0 14px;
  font-family: "Barlow", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mm-ink);
}

.mm-cat-subcats {
  margin-bottom: 28px;
}

.mm-cat-subcat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mm-cat-subcat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  text-decoration: none;
  color: var(--mm-ink);
  background: #fff;
  border: 1px solid var(--mm-silver-bright);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.mm-cat-subcat:hover {
  border-color: var(--mm-ice);
  color: var(--mm-ice-deep);
}

.mm-cat-subcat-thumb {
  display: block;
  width: 72px;
  height: 72px;
}

.mm-cat-subcat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-cat-subcat-name {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.mm-cat-subcat-count {
  font-size: 12px;
  color: var(--mm-ink-muted);
}

.mm-cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--mm-silver-bright);
}

.mm-cat-toolbar-views {
  display: inline-flex;
  gap: 6px;
}

.mm-cat-toolbar-views .btn {
  min-width: 40px;
  border: 1px solid var(--mm-silver-bright);
  background: #fff;
  color: var(--mm-ink-muted);
}

.mm-cat-toolbar-views .btn.active,
.mm-cat-toolbar-views .btn:hover {
  border-color: var(--mm-ice);
  color: var(--mm-ice-deep);
  background: var(--mm-ice-soft);
}

.mm-cat-toolbar-sorts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.mm-cat-toolbar-sorts .input-group {
  width: auto;
  min-width: 200px;
}

/* Shared product item bits */
.mm-ali-media {
  display: block;
  overflow: hidden;
  background: #fafafa;
}

.mm-ali-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.mm-ali-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #222;
  text-decoration: none;
  line-height: 1.4;
}

.mm-ali-title:hover {
  color: var(--mm-ice-deep);
}

.mm-ali-price {
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}

.mm-ali-price .price-old {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
}

.mm-ali-meta {
  font-size: 12px;
  color: #888;
}

.mm-ali-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 32px;
  padding: 0 16px;
  border: 1px solid #222;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mm-ali-btn:hover {
  background: var(--mm-ice);
  border-color: var(--mm-ice);
  color: #fff;
}

/* Grid mode: 4 columns × 4 rows = 16 */
.mm-ali-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Search grid: 5 columns × 4 rows = 20 */
.mm-ali-grid.mm-ali-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mm-ali-grid .mm-ali-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mm-ali-grid .mm-ali-item:hover {
  border-color: #d0d0d0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.mm-ali-grid .mm-ali-media {
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid #f0f0f0;
}

.mm-ali-grid .mm-ali-item:hover .mm-ali-media img {
  transform: scale(1.03);
}

.mm-ali-grid .mm-ali-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 0;
  flex: 1;
}

.mm-ali-grid .mm-ali-title {
  min-height: calc(1.4em * 2);
  font-size: 14px;
}

.mm-ali-grid .mm-ali-price {
  font-size: 18px;
}

.mm-ali-grid .mm-ali-side {
  padding: 8px 14px 14px;
  margin-top: auto;
}

/* List mode: Alibaba-style horizontal rows */
.mm-ali-list {
  display: block;
  background: #fff;
  border: 1px solid #e8e8e8;
}

.mm-ali-list .mm-ali-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 16px;
  border-bottom: 1px solid #edf0f3;
  background: #fff;
}

.mm-ali-list .mm-ali-item:last-child {
  border-bottom: none;
}

.mm-ali-list .mm-ali-item:hover {
  background: #fafbfc;
}

.mm-ali-list .mm-ali-media {
  width: 140px;
  height: 140px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
}

.mm-ali-list .mm-ali-item:hover .mm-ali-media img {
  transform: scale(1.03);
}

.mm-ali-list .mm-ali-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.mm-ali-list .mm-ali-title {
  font-size: 15px;
  font-weight: 500;
}

.mm-ali-list .mm-ali-price {
  font-size: 22px;
}

.mm-ali-list .mm-ali-meta {
  font-size: 13px;
}

.mm-ali-list .mm-ali-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.mm-ali-list .mm-ali-btn {
  min-width: 118px;
  height: 36px;
}

@media (max-width: 1399.98px) {
  .mm-ali-grid.mm-ali-grid-5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .mm-ali-grid,
  .mm-ali-grid.mm-ali-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mm-ali-grid,
  .mm-ali-grid.mm-ali-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mm-ali-grid .mm-ali-price {
    font-size: 16px;
  }

  .mm-ali-list .mm-ali-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 12px;
  }

  .mm-ali-list .mm-ali-media {
    width: 96px;
    height: 96px;
  }

  .mm-ali-list .mm-ali-price {
    font-size: 18px;
  }

  .mm-ali-list .mm-ali-side {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-right: 0;
  }

  .mm-ali-list .mm-ali-btn {
    width: 100%;
  }
}

@media (max-width: 419.98px) {
  .mm-ali-grid,
  .mm-ali-grid.mm-ali-grid-5 {
    grid-template-columns: 1fr;
  }
}

.mm-hot-side {
  margin-top: 8px;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid var(--mm-silver-bright);
}

.mm-hot-side-title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--mm-ice);
  font-family: "Barlow", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--mm-ink);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mm-hot-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-hot-side-list li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--mm-silver-bright);
}

.mm-hot-side-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.mm-hot-side-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border: 1px solid var(--mm-silver-bright);
  overflow: hidden;
}

.mm-hot-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-hot-side-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mm-hot-side-name {
  font-size: 13px;
  line-height: 1.35;
  color: var(--mm-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mm-hot-side-item:hover .mm-hot-side-name {
  color: var(--mm-ice-deep);
}

.mm-hot-side-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-ice-deep);
}

.mm-hot-side-price .price-old {
  margin-left: 4px;
  font-weight: 400;
  font-size: 12px;
  color: var(--mm-ink-muted);
  text-decoration: line-through;
}

@media (max-width: 991.98px) {
  .mm-cat-subcat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .mm-cat-subcat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-cat-toolbar-sorts {
    width: 100%;
  }

  .mm-cat-toolbar-sorts .input-group {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 1399.98px) {
  .mm-product-grid-5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .mm-main-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mm-product-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mm-section {
    padding: 44px 0;
  }

  .mm-main-grid,
  .mm-product-grid-5,
  .mm-about-grid,
  .mm-about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .mm-hero .carousel-item img {
    max-height: 220px;
  }

  .pagination .page-link {
    min-width: 32px;
    height: 32px;
  }
}

@media (max-width: 575.98px) {
  .mm-main-grid,
  .mm-product-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* —— Company profile / About Us (Alibaba-inspired, no left nav) —— */
.mm-company-page {
  padding-bottom: 40px;
}

.mm-company {
  background: #fff;
  border: 1px solid var(--mm-silver-bright);
  border-radius: var(--mm-radius);
  padding: 28px 32px 36px;
  animation: mm-company-enter 0.55s ease both;
}

@keyframes mm-company-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mm-company-head {
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mm-silver-bright);
}

.mm-company-title {
  margin: 0;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mm-ink);
}

.mm-company-block {
  padding: 22px 0 8px;
}

.mm-company-block + .mm-company-block {
  border-top: 1px solid var(--mm-silver-bright);
  margin-top: 10px;
}

.mm-company-section-title {
  margin: 0 0 16px;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--mm-ink);
}

.mm-company-sub {
  margin: 0 0 14px;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--mm-ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mm-company-album-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mm-ice-deep);
  font-weight: 600;
}

.mm-company-album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mm-company-album-item {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--mm-bg);
  border-radius: var(--mm-radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mm-company-album-item:hover,
.mm-company-album-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26, 29, 33, 0.12);
  outline: none;
}

.mm-company-album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.mm-company-album-item:hover img {
  transform: scale(1.04);
}

.mm-company-basic {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.85fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}

.mm-company-basic-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mm-ink);
}

.mm-company-score {
  background: linear-gradient(160deg, var(--mm-ice-soft) 0%, #fff 55%);
  border: 1px solid #bfe8ee;
  border-radius: var(--mm-radius);
  padding: 18px 18px 14px;
}

.mm-company-score-main {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid #c9e8ed;
}

.mm-company-score-num {
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--mm-ice-deep);
}

.mm-company-score-num span {
  font-size: 18px;
  font-weight: 600;
  color: var(--mm-ink-muted);
}

.mm-company-score-meta strong {
  display: block;
  font-size: 15px;
  color: var(--mm-ink);
}

.mm-company-score-meta span {
  font-size: 13px;
  color: var(--mm-ink-muted);
}

.mm-company-kpi {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-company-kpi li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--mm-silver-bright);
}

.mm-company-kpi li:last-child {
  border-bottom: 0;
}

.mm-company-kpi span {
  color: var(--mm-ink-muted);
}

.mm-company-kpi strong {
  color: var(--mm-ink);
  font-weight: 650;
}

.mm-company-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--mm-silver-bright);
  border-radius: var(--mm-radius-sm);
}

.mm-company-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 14px;
}

.mm-company-table th,
.mm-company-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--mm-silver-bright);
  border-right: 1px solid var(--mm-silver-bright);
  vertical-align: top;
  text-align: left;
}

.mm-company-table tr:last-child th,
.mm-company-table tr:last-child td {
  border-bottom: 0;
}

.mm-company-table th:last-child,
.mm-company-table td:last-child {
  border-right: 0;
}

.mm-company-table th {
  width: 16%;
  font-weight: 600;
  color: var(--mm-ink-muted);
  background: #f7f9fa;
  white-space: nowrap;
}

.mm-company-table td {
  width: 34%;
  color: var(--mm-ink);
}

.mm-company-table-single th {
  width: 28%;
}

.mm-company-table-single td {
  width: auto;
}

.mm-company-markets thead th {
  background: #f0f4f6;
  color: var(--mm-ink);
  font-weight: 650;
  white-space: normal;
}

.mm-company-markets td:nth-child(2),
.mm-company-markets th:nth-child(2),
.mm-company-markets td:nth-child(3),
.mm-company-markets th:nth-child(3) {
  width: 22%;
  text-align: center;
}

.mm-company-check {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mm-ice-soft);
  color: var(--mm-ice-deep);
  font-size: 12px;
  font-weight: 700;
}

.mm-company-markets-inline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.mm-company-markets-inline li {
  position: relative;
  padding-left: 12px;
}

.mm-company-markets-inline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mm-ice);
}

.mm-company-perf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mm-company-perf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--mm-silver-bright);
  border-radius: var(--mm-radius-sm);
  overflow: hidden;
}

.mm-company-perf-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--mm-silver-bright);
  font-size: 14px;
}

.mm-company-perf-list li:last-child {
  border-bottom: 0;
}

.mm-company-perf-list span {
  color: var(--mm-ink-muted);
}

.mm-company-perf-list strong {
  color: var(--mm-ink);
}

.mm-company-lightbox {
  border: 0;
  padding: 0;
  max-width: min(920px, 92vw);
  background: transparent;
}

.mm-company-lightbox::backdrop {
  background: rgba(16, 20, 24, 0.72);
}

.mm-company-lightbox img {
  display: block;
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--mm-radius);
  background: #111;
}

.mm-company-lightbox-close {
  position: absolute;
  top: -36px;
  right: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 991.98px) {
  .mm-company {
    padding: 20px 16px 28px;
  }

  .mm-company-basic,
  .mm-company-perf-grid {
    grid-template-columns: 1fr;
  }

  .mm-company-table th {
    white-space: normal;
  }
}

@media (max-width: 767.98px) {
  .mm-company-album-grid {
    grid-template-columns: 1fr;
  }

  .mm-company-table,
  .mm-company-table tbody,
  .mm-company-table tr,
  .mm-company-table th,
  .mm-company-table td {
    display: block;
    width: 100% !important;
  }

  .mm-company-table tr {
    padding: 4px 0 10px;
    border-bottom: 1px solid var(--mm-silver-bright);
  }

  .mm-company-table th,
  .mm-company-table td {
    border: 0 !important;
    padding: 4px 12px;
  }

  .mm-company-table th {
    background: transparent;
    padding-top: 10px;
  }

  .mm-company-markets thead {
    display: none;
  }

  .mm-company-markets tbody td:nth-child(2),
  .mm-company-markets tbody td:nth-child(3) {
    text-align: left;
  }
}

/* —— Contact Us —— */
.mm-contact-page {
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(0, 183, 201, 0.08), transparent 60%),
    linear-gradient(180deg, #f7f9fa 0%, #fff 42%, #f2f4f6 100%);
  padding-bottom: 56px;
}

.mm-contact-breadcrumb {
  margin: 0;
}

.mm-contact-hero {
  min-height: clamp(220px, 32vh, 320px);
  display: flex;
  align-items: center;
  text-align: center;
  padding: 40px 0 36px;
  animation: mm-company-enter 0.5s ease both;
}

.mm-contact-hero h1 {
  margin: 0 0 12px;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mm-ink);
}

.mm-contact-hero-meta {
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--mm-ink-muted);
  font-size: 14px;
}

.mm-contact-hero-meta a {
  color: var(--mm-ice-deep);
  text-decoration: none;
}

.mm-contact-hero-meta a:hover {
  color: var(--mm-ice);
}

.mm-contact-form-section {
  padding: 0 0 28px;
}

.mm-contact-form-card,
.mm-contact-products-card,
.mm-contact-info-card {
  background: #fff;
  border: 1px solid var(--mm-silver-bright);
  border-radius: 12px;
  padding: 28px 30px 30px;
  animation: mm-company-enter 0.55s ease both;
}

.mm-contact-form-intro {
  margin-bottom: 22px;
}

.mm-contact-form-intro h2,
.mm-contact-products-card h2,
.mm-contact-info-card h2 {
  margin: 0 0 8px;
  font-family: Barlow, "Source Sans 3", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--mm-ink);
}

.mm-contact-form-intro p {
  margin: 0;
  color: var(--mm-ink-muted);
  font-size: 14px;
  line-height: 1.6;
}

.mm-contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  margin-bottom: 16px;
}

.mm-contact-form .mm-field {
  margin-bottom: 16px;
}

.mm-contact-form .mm-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-ink);
}

.mm-contact-form .mm-field.required label::after {
  content: " *";
  color: #c0392b;
}

.mm-contact-form .form-control {
  min-height: 46px;
  border-color: #d8dee4;
  background: #fbfcfd;
}

.mm-contact-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.mm-contact-form-actions {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.mm-contact-submit {
  min-width: 220px;
  cursor: pointer;
}

.mm-contact-secondary {
  padding-top: 8px;
}

.mm-contact-split {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 22px;
  align-items: stretch;
}

.mm-contact-products-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 18px 18px;
}

.mm-contact-products-card h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.mm-contact-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin-top: 0;
}

.mm-contact-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--mm-silver-bright);
  border-radius: var(--mm-radius);
  padding: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mm-contact-product-card:hover {
  border-color: #7AD4DE;
  transform: translateY(-2px);
}

.mm-contact-product-card .mm-product-thumb {
  margin-bottom: 10px;
}

.mm-contact-product-card:hover .mm-product-thumb img {
  transform: scale(1.03);
}

.mm-contact-product-card .mm-product-name {
  margin-bottom: 4px;
  min-height: 2.7em;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.mm-contact-product-card .mm-product-price {
  margin-top: auto;
  margin-bottom: 0;
  font-size: 13px;
}

.mm-contact-product-card .mm-btn-sm {
  min-height: 32px;
  margin-top: 8px;
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.mm-contact-empty {
  margin: 12px 0 0;
  color: var(--mm-ink-muted);
}

.mm-contact-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  text-align: left;
  padding: 40px 36px;
}

.mm-contact-info-card h2 {
  margin-bottom: 4px;
}

.mm-contact-info-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  max-width: none;
  width: 100%;
}

.mm-contact-info-list li {
  padding: 14px 0;
  border-top: 1px solid var(--mm-silver-bright);
}

.mm-contact-info-list li:last-child {
  padding-bottom: 0;
}

.mm-contact-info-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mm-ink-muted);
}

.mm-contact-info-list a,
.mm-contact-info-list p,
.mm-contact-info-list span:not(.mm-contact-info-label) {
  color: var(--mm-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  text-decoration: none;
}

.mm-contact-info-list a:hover {
  color: var(--mm-ice-deep);
}

.mm-contact-info-list p {
  margin: 0;
}

@media (max-width: 991.98px) {
  .mm-contact-split,
  .mm-contact-form-grid {
    grid-template-columns: 1fr;
  }

  .mm-contact-form-card,
  .mm-contact-products-card,
  .mm-contact-info-card {
    padding: 22px 18px;
  }
}

@media (max-width: 575.98px) {
  .mm-contact-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
  }

  .mm-contact-hero {
    min-height: 180px;
    padding: 36px 0 24px;
  }
}
