:root {
  --mcom-night: #031a22;
  --mcom-petrol: #073845;
  --mcom-paper: #f3f6f5;
  --mcom-white: #fcfefd;
  --mcom-ink: #08252d;
  --mcom-muted: #5d6f75;
  --mcom-orange-text: #b54400;
  --mcom-line: #cbd7d7;
  --mcom-orange: #ff7417;
  --mcom-blue: #69c7e3;
  --mcom-sans: "Onest", Arial, sans-serif;
  --mcom-mono: "IBM Plex Mono", Consolas, monospace;
  --mcom-shell: min(1440px, calc(100% - 64px));
}

body.mcom-page {
  margin: 0;
  background: var(--mcom-paper);
  color: var(--mcom-ink);
  font-family: var(--mcom-sans);
  -webkit-font-smoothing: antialiased;
}

.mcom-page *,
.mcom-page *::before,
.mcom-page *::after {
  box-sizing: border-box;
}

.mcom-page a {
  color: inherit;
  text-decoration: none;
}

.mcom-page button,
.mcom-page input,
.mcom-page select,
.mcom-page textarea {
  font: inherit;
}

.mcom-page img {
  max-width: 100%;
  height: auto;
}

.mcom-page a,
.mcom-page button,
.mcom-page [role="button"] {
  touch-action: manipulation;
}

.mcom-page :focus-visible {
  outline: 3px solid var(--mcom-blue);
  outline-offset: 3px;
}

.mcom-shell {
  width: var(--mcom-shell);
  margin-inline: auto;
}

.mcom-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--mcom-orange);
  color: var(--mcom-night);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(calc(-100% - 20px));
  transition: transform 140ms ease;
}

.mcom-skip-link:focus {
  transform: translateY(0);
}

.mcom-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mcom-utility {
  background: var(--mcom-night);
  color: #a9c1c7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font: 500 11px/1 var(--mcom-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mcom-utility__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mcom-utility p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.mcom-utility a {
  color: var(--mcom-white);
}

.mcom-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--mcom-blue);
  box-shadow: 0 0 0 4px rgba(105, 199, 227, 0.1);
}

.mcom-header {
  position: relative;
  z-index: 50;
  background: rgba(252, 254, 253, 0.98);
  border-bottom: 1px solid var(--mcom-line);
}

.mcom-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 54px);
}

.mcom-brand {
  display: flex;
  width: clamp(190px, 14vw, 238px);
  flex: 0 0 auto;
}

.mcom-brand img,
.mcom-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.mcom-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.3vw, 26px);
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}

.mcom-nav a {
  position: relative;
  white-space: nowrap;
}

.mcom-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--mcom-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.mcom-nav a:hover::after,
.mcom-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mcom-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mcom-icon-button,
.mcom-menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--mcom-line);
  background: transparent;
  color: var(--mcom-petrol);
  cursor: pointer;
}

.mcom-icon-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.mcom-spec-link {
  font-size: 12px;
  font-weight: 600;
}

.mcom-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.mcom-button--orange {
  background: var(--mcom-orange);
  color: var(--mcom-night);
}

.mcom-menu-toggle,
.mcom-mobile-menu {
  display: none;
}

.mcom-search-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 22px 0;
  background: var(--mcom-white);
  border-bottom: 1px solid var(--mcom-line);
  box-shadow: 0 20px 40px rgba(3, 26, 34, 0.12);
}

.mcom-search-panel__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: end;
  gap: 28px;
}

.mcom-search-panel label {
  font-size: 13px;
  font-weight: 600;
}

.mcom-search-panel__inner > div {
  display: flex;
}

.mcom-search-panel input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--mcom-line);
  border-right: 0;
  outline: none;
}

.mcom-search-panel input:focus {
  border-color: var(--mcom-blue);
}

.mcom-search-panel button {
  width: 120px;
  border: 0;
  background: var(--mcom-petrol);
  color: white;
  cursor: pointer;
}

.mcom-spec-host {
  position: relative;
  flex: 0 0 auto;
}

.mcom-spec-host > #shop-basket {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.mcom-spec-host .hCart-icon {
  display: none;
}

.mcom-spec-host .hCart-cnt {
  margin: 0;
}

.mcom-spec-host .hCart-details {
  min-height: 42px;
  display: grid;
  align-content: center;
  gap: 4px;
  color: var(--mcom-ink);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}

.mcom-spec-host .hCart-details > span {
  color: var(--mcom-petrol);
  font: 600 12px/1 var(--mcom-mono);
}

.mcom-spec-host .hCart-details > i {
  color: var(--mcom-orange-text);
}

.mcom-spec-host .cart-body {
  position: absolute;
  z-index: 60;
  top: calc(100% + 18px) !important;
  right: 0 !important;
  left: auto !important;
  width: min(410px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--mcom-line);
  background: var(--mcom-white);
  box-shadow: 0 24px 60px rgba(3, 26, 34, 0.2);
  color: var(--mcom-ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.mcom-spec-host #shop-basket.opened .cart-body {
  top: calc(100% + 18px) !important;
  right: 0 !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mcom-spec-host .cart-body > ul {
  max-height: 330px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

.mcom-spec-host .cart-body .mcom-spec-item {
  min-height: 76px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 16px;
  border-bottom: 1px solid var(--mcom-line);
  overflow: visible;
}

.mcom-spec-host .cart-body .mcom-spec-item img {
  position: static;
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 88%;
  border: 0;
}

.mcom-spec-host .order-amount {
  display: block;
  padding: 15px 18px 8px;
  color: var(--mcom-muted);
  font-size: 11px;
}

.mcom-spec-host .cart-links {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 18px;
  color: var(--mcom-muted);
  font-size: 11px;
}

.mcom-spec-host .cart-links a:first-child {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--mcom-orange);
  color: var(--mcom-night);
  font-weight: 750;
}

.mcom-spec-trigger {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mcom-ink);
  font: 600 12px/1 var(--mcom-sans);
  cursor: pointer;
}

.mcom-spec-trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.mcom-spec-trigger > b {
  min-width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  background: var(--mcom-orange);
  color: var(--mcom-night);
  font: 600 10px/1 var(--mcom-mono);
}

.mcom-spec-popover {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  width: min(410px, calc(100vw - 32px));
  padding: 0;
  background: var(--mcom-white);
  border: 1px solid var(--mcom-line);
  box-shadow: 0 24px 60px rgba(3, 26, 34, 0.2);
  color: var(--mcom-ink);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.mcom-spec-popover[hidden] {
  display: none;
}

.mcom-spec-popover__head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  background: var(--mcom-night);
  color: var(--mcom-white);
}

.mcom-spec-popover__head > div {
  display: grid;
  gap: 7px;
}

.mcom-spec-popover__head span {
  color: var(--mcom-blue);
  font: 500 9px/1 var(--mcom-mono);
  letter-spacing: 0.12em;
}

.mcom-spec-popover__head b {
  font-size: 16px;
}

.mcom-spec-popover__head button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.mcom-spec-list {
  max-height: 330px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.mcom-spec-item {
  display: grid;
  grid-template-columns: 58px 1fr 30px;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--mcom-line);
}

.mcom-spec-item__image {
  width: 58px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #eef2f1;
}

.mcom-spec-item__image img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

.mcom-spec-item > div {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.mcom-spec-item__name {
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mcom-spec-item > div > span {
  color: var(--mcom-muted);
  font: 500 9px/1 var(--mcom-mono);
  text-transform: uppercase;
}

.mcom-spec-item .sb-func {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--mcom-muted);
  font-size: 20px;
  cursor: pointer;
}

.mcom-spec-item .sb-func:hover {
  color: var(--mcom-orange-text);
}

.mcom-spec-empty {
  padding: 34px 22px;
  text-align: center;
}

.mcom-spec-empty b {
  display: block;
  margin-bottom: 8px;
}

.mcom-spec-empty p {
  margin: 0;
  color: var(--mcom-muted);
  font-size: 12px;
  line-height: 1.55;
}

.mcom-spec-popover__foot {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.mcom-spec-popover__foot p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 2px;
  color: var(--mcom-muted);
  font: 500 10px/1 var(--mcom-mono);
  text-transform: uppercase;
}

.mcom-spec-submit {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: var(--mcom-orange);
  color: var(--mcom-night);
  font-size: 12px;
  font-weight: 700;
}

.mcom-spec-clear {
  justify-self: center;
  color: var(--mcom-muted) !important;
  font-size: 10px;
}

.mcom-spec-loading {
  background: rgba(252, 254, 253, 0.75);
  backdrop-filter: blur(2px);
}

.mcom-footer {
  color: var(--mcom-ink);
  background: var(--mcom-white);
}

.mcom-footer__top {
  min-height: 150px;
  display: grid;
  grid-template-columns: 260px minmax(300px, 560px) auto;
  align-items: center;
  gap: 60px;
  border-bottom: 1px solid var(--mcom-line);
}

.mcom-footer__brand {
  width: 230px;
}

.mcom-footer__top p {
  color: var(--mcom-muted);
  font-size: 13px;
  line-height: 1.6;
}

.mcom-footer__mail {
  justify-self: end;
  font: 600 15px/1 var(--mcom-mono);
}

.mcom-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding-block: 58px;
}

.mcom-footer__links > div {
  display: grid;
  gap: 11px;
}

.mcom-footer__links b {
  margin-bottom: 10px;
  font: 600 10px/1 var(--mcom-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mcom-footer__links a {
  width: fit-content;
  color: var(--mcom-muted);
  font-size: 12px;
}

.mcom-footer__links a:hover {
  color: var(--mcom-orange);
}

.mcom-footer__bottom {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--mcom-line);
  color: #5d6f75;
  font: 500 9px/1.4 var(--mcom-mono);
  text-transform: uppercase;
}

.mcom-footer__bottom > div {
  display: flex;
  gap: 28px;
}

.mcom-footer__bottom > span:last-child {
  justify-self: end;
}

.mcom-powered {
  padding: 0 0 12px;
  color: #5d6f75;
  font: 400 9px/1.3 var(--mcom-mono);
  text-align: center;
}

@media (max-width: 1260px) {
  .mcom-nav a:nth-last-child(-n + 2) {
    display: none;
  }
}

@media (max-width: 980px) {
  :root {
    --mcom-shell: min(100% - 40px, 820px);
  }

  .mcom-nav,
  .mcom-header__actions .mcom-button,
  .mcom-spec-link {
    display: none;
  }

  .mcom-spec-trigger__label {
    display: none;
  }

  .mcom-spec-trigger {
    width: 42px;
    justify-content: center;
    border: 1px solid var(--mcom-line);
  }

  .mcom-spec-trigger > b {
    position: absolute;
    top: -4px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    font-size: 8px;
  }

  .mcom-header__actions {
    margin-left: auto;
  }

  .mcom-menu-toggle {
    display: grid;
    align-content: center;
    gap: 6px;
  }

  .mcom-menu-toggle > span:not(.mcom-sr-only) {
    width: 19px;
    height: 2px;
    background: currentColor;
  }

  .mcom-mobile-menu {
    position: absolute;
    right: 0;
    left: 0;
    padding: 18px 20px 28px;
    background: var(--mcom-white);
    border-bottom: 1px solid var(--mcom-line);
    box-shadow: 0 24px 40px rgba(3, 26, 34, 0.16);
  }

  .mcom-mobile-menu:not([hidden]) {
    display: grid;
  }

  .mcom-mobile-menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--mcom-line);
    font-weight: 600;
  }

  .mcom-footer__top {
    grid-template-columns: 230px 1fr;
    padding-block: 34px;
  }

  .mcom-footer__mail {
    grid-column: 2;
    justify-self: start;
  }

  .mcom-footer__bottom {
    grid-template-columns: 1fr auto;
  }

  .mcom-footer__bottom > span:last-child {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --mcom-shell: calc(100% - 28px);
  }

  .mcom-utility__inner p {
    display: none;
  }

  .mcom-utility__inner {
    justify-content: flex-end;
  }

  .mcom-header__inner {
    min-height: 72px;
    gap: 8px;
  }

  .mcom-brand {
    width: 144px;
    max-width: 44vw;
  }

  .mcom-header__actions {
    flex: 0 0 auto;
    gap: 8px;
    min-width: 0;
  }

  .mcom-icon-button,
  .mcom-menu-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .mcom-spec-host {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--mcom-line);
  }

  .mcom-spec-host > #shop-basket,
  .mcom-spec-host .hCart-cnt,
  .mcom-spec-host .hCart-details {
    width: 100%;
    height: 100%;
  }

  .mcom-spec-host .hCart-details {
    position: relative;
    min-height: 44px;
    display: block;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .mcom-spec-host .hCart-details > span,
  .mcom-spec-host .hCart-details > i {
    display: none;
  }

  .mcom-spec-host .hCart-details::before {
    content: "▤";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--mcom-petrol);
    font: 400 21px/1 var(--mcom-sans);
  }

  .mcom-search-panel__inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mcom-footer__top,
  .mcom-footer__bottom {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 24px;
  }

  .mcom-footer__mail {
    grid-column: 1;
  }

  .mcom-footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 44px 24px;
  }

  .mcom-footer__bottom > div {
    display: grid;
    gap: 8px;
  }

  .mcom-footer__bottom a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding-block: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mcom-page *,
  .mcom-page *::before,
  .mcom-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
