:root {
  --ml-buyer-ink: #162d44;
  --ml-buyer-muted: #4b6379;
  --ml-buyer-primary: #235d91;
  --ml-buyer-line: #d7e3ee;
  --ml-buyer-panel: #f1f6fb;
}

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

.ml-home-intro, .ml-home-more, .ml-cart-checkout,
.product-scope, .ml-buyer-modal, .ml-search-suggestions {
  color: var(--ml-buyer-ink);
}

.ml-home-intro :focus-visible, .ml-home-more :focus-visible,
.ml-cart-checkout :focus-visible, .product-scope :focus-visible,
.ml-buyer-modal :focus-visible, .ml-search-suggestions :focus-visible {
  outline: 3px solid #316ab0;
  outline-offset: 3px;
}

.ml-home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 56px);
  padding-block: 28px 20px;
}

html body #wrapper2 .ml-home-intro h1 {
  margin: 0 0 10px;
  max-width: 19ch;
  padding: 0;
  font-size: clamp(29px, 3.35vw, 52px);
  line-height: 1.08;
  text-transform: none;
  color: var(--ml-buyer-ink);
}

.ml-home-intro__copy p {
  color: var(--ml-buyer-muted);
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.ml-home-intro__media {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3 / 2;
  background: #e4eaf0;
}

.ml-home-intro__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 56%;
}

.ml-home-quick, .ml-home-actions, .ml-home-more nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ml-home-quick a, .ml-home-more nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-height: 44px;
  color: var(--ml-buyer-ink);
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--ml-buyer-line);
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.25;
}

.ml-home-quick a:hover, .ml-home-more nav a:hover {
  border-color: var(--ml-buyer-primary);
}

.ml-home-actions { margin-top: 14px; }

.ml-buyer-primary, .ml-cart-checkout a.ml-checkout-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 15px;
  color: #fff !important;
  background: var(--ml-buyer-primary);
  border: 1px solid var(--ml-buyer-primary);
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.25;
}

.ml-buyer-primary:hover, .ml-cart-checkout a.ml-checkout-jump:hover {
  background: #184d7c;
}

.ml-home-help {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 7px;
  color: var(--ml-buyer-primary);
  text-decoration: underline;
  text-underline-offset: .16em;
}

.ml-home-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-block: 0 18px;
}

.ml-home-shipping {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ml-buyer-primary);
}

.ml-home-search {
  display: none;
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 0 12px;
  border: 1px solid #bfcfdd;
  border-radius: 9px;
  background: #fff;
}

.ml-home-search input, .ml-home-search button {
  box-sizing: border-box;
  min-height: 46px;
  min-width: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--ml-buyer-ink);
  font: inherit;
}

.ml-home-search input { padding-inline: 11px 4px; font-size: 16px; }

.ml-home-search button {
  font-weight: 700;
  padding: 0 12px;
  background: var(--ml-buyer-primary);
  color: #fff;
  border-radius: 0 8px 8px 0;
}

form.ml-search-has-suggestions { position: relative; }

.ml-search-suggestions {
  position: absolute;
  top: calc(100% + 5px);
  inset-inline: 0;
  z-index: 1204;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--ml-buyer-line);
  border-radius: 9px;
  box-shadow: 0 8px 22px #142f4826;
}

.ml-search-suggestions[hidden] { display: none; }

.ml-search-suggestions a {
  display: block;
  min-height: 44px;
  padding: 9px;
  border-radius: 5px;
  line-height: 1.3;
  color: var(--ml-buyer-ink);
  text-decoration: none;
  text-align: left;
}

.ml-search-suggestions a:hover, .ml-search-suggestions a:focus {
  background: var(--ml-buyer-panel);
}

.ml-search-suggestions small {
  display: block;
  margin-top: 3px;
  color: var(--ml-buyer-muted);
}

html body #wrapper2 .ml-cart-content {
  float: none;
  width: 100%;
  background: #f5f8fc;
  padding: 0 0 20px;
}

html body:has(.ml-cart-checkout), html body:has(.ml-cart-checkout) #wrapper2,
html body:has(.ml-cart-checkout) #main, html body #wrapper2 .ml-cart-checkout {
  background: #f5f8fc !important;
}

html body:has(.ml-cart-checkout)::before, html body:has(.ml-cart-checkout)::after,
html body:has(.ml-cart-checkout) #wrapper2::before, html body:has(.ml-cart-checkout) #wrapper2::after,
html body:has(.ml-cart-checkout) #main::before, html body:has(.ml-cart-checkout) #main::after,
html body #wrapper2 .ml-cart-checkout::before, html body #wrapper2 .ml-cart-checkout::after,
html body #wrapper2 .ml-cart-checkout .page_content::before, html body #wrapper2 .ml-cart-checkout .page_content::after {
  background: none !important;
  border: 0 !important;
  animation: none !important;
}

.ml-cart-checkout { isolation: isolate; }

html body #wrapper2 .ml-cart-checkout .page_heading,
html body #wrapper2 .ml-cart-checkout .page_header {
  margin: 0 0 14px;
}

.ml-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 31%);
  align-items: start;
  gap: 14px 22px;
}

.ml-checkout-grid .cart-list { grid-column: 1; min-width: 0; }
.ml-checkout-grid .ml-checkout-order { grid-column: 2; grid-row: 1 / span 2; }
.ml-checkout-grid .ml-checkout-form { grid-column: 1; min-width: 0; }

.ml-checkout-order {
  position: sticky;
  top: 95px;
  background: #fff;
  border: 1px solid var(--ml-buyer-line);
  border-radius: 12px;
  padding: 11px 14px 13px;
}

html body.ml-visual #wrapper2 .ml-checkout-order .cart_subtotal {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.ml-checkout-order .cart_subtotal h3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  margin: 0;
  padding: 6px 0;
  font-size: .97rem !important;
  line-height: 1.35 !important;
}

.ml-checkout-order .cart_subtotal h3:last-child {
  border-top: 1px solid var(--ml-buyer-line);
  font-weight: 750;
}

.ml-checkout-order .cart_subtotal .money { text-align: right; color: var(--ml-buyer-ink); }
.ml-checkout-order .ml-checkout-jump { width: 100%; margin-top: 8px; }
.ml-cart-checkout #onestep { scroll-margin-top: 95px; }

html body.ml-visual #wrapper2 .ml-cart-checkout .cart-item.ml-cart-row {
  display: grid !important;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 0;
  margin: 0 0 8px !important;
  padding: 10px !important;
  border: 1px solid var(--ml-buyer-line) !important;
  border-radius: 11px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body #wrapper2 .ml-cart-row::before,
html body #wrapper2 .ml-cart-row::after { display: none !important; content: none !important; }

html body #wrapper2 .ml-cart-row > div {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  min-width: 0;
}

html body.ml-visual #wrapper2 .ml-cart-checkout .ml-cart-row .item_image,
html body.ml-visual #wrapper2 .ml-cart-checkout .ml-cart-row .item_image a {
  width: 78px !important;
  height: 78px !important;
  min-height: 0 !important;
  margin: 0 !important;
}

html body.ml-visual #wrapper2 .ml-cart-checkout .ml-cart-row .item_image img {
  display: block;
  width: 78px !important;
  height: 78px !important;
  object-fit: contain !important;
  border-radius: 7px;
}

html body.ml-visual #wrapper2 .ml-cart-checkout .ml-cart-row .product_name {
  min-height: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  font-size: .94rem;
  line-height: 1.3;
}

.ml-cart-row .ml-cart-change {
  display: inline-block;
  margin: 3px 0;
  color: var(--ml-buyer-primary);
  text-decoration: underline;
  font-size: .85rem;
}

html body.ml-visual #wrapper2 .ml-cart-checkout .ml-cart-row .item_price,
html body.ml-visual #wrapper2 .ml-cart-checkout .ml-cart-row .total {
  margin: 3px 0 0 !important;
}

.ml-cart-row .item_price > .row { display: flex; flex-wrap: wrap; align-items: center; margin: 0; gap: 2px 8px; }
.ml-cart-row .item_price > .row::before, .ml-cart-row .item_price > .row::after { display: none; }
.ml-cart-row .item_price > .row > div { width: auto !important; float: none !important; padding: 0 !important; }
.ml-cart-row .item_price h3 { font-size: .9rem !important; margin: 0 !important; }

html body #wrapper2 .ml-cart-row .quantity_box {
  display: inline-flex !important;
  align-items: center;
  gap: 3px;
  width: auto !important;
}

html body #wrapper2 .ml-cart-row .quantity_input {
  width: 42px !important;
  height: 44px !important;
  font-size: 16px !important;
  border: 1px solid var(--ml-buyer-line) !important;
}

html body #wrapper2 .ml-cart-checkout .quantity_box button,
html body.ml-visual #wrapper2 .ml-cart-checkout button[aria-label="Удалить товар из корзины"] {
  position: static;
  display: inline-grid;
  place-items: center;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  border: 1px solid var(--ml-buyer-line) !important;
  border-radius: 7px !important;
  padding: 0 !important;
  color: var(--ml-buyer-primary);
  background: var(--ml-buyer-panel);
  box-shadow: none;
}

html body #wrapper2 .ml-cart-row .item_remove { margin-left: 5px; }
html body #wrapper2 .ml-checkout-form .ml-checkout-section {
  margin: 0 0 10px;
  padding: clamp(10px, 2.5vw, 17px);
  min-width: 0;
  border: 1px solid var(--ml-buyer-line);
  background: #fff;
  border-radius: 11px;
}

html body #wrapper2 .ml-checkout-form h2,
html body.ml-visual #wrapper2 #onestep #ml-address-title {
  margin: 0 0 8px !important;
  color: var(--ml-buyer-ink);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.3;
  text-transform: none;
}

html body.ml-visual #wrapper2 #onestep #ml-address-title { margin-top: 10px !important; font-size: 1rem; }

.ml-checkout-form .ml-delivery-choice { display: flow-root; }
.ml-checkout-form .dychoose, .ml-checkout-form .delivery { width: 100%; float: none; padding: 0; }
.ml-checkout-form .ml-checkout-contacts, .ml-checkout-form .delivery.onestep, .ml-carrier-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  margin: 0;
  gap: 8px 11px;
}

.ml-checkout-form .ml-checkout-contacts::before,
.ml-checkout-form .ml-checkout-contacts::after { content: none; }

html body #wrapper2 .ml-checkout-form .form-group {
  width: auto;
  float: none;
  padding: 0;
  margin: 0;
}

.ml-checkout-form .form-group label {
  display: block;
  margin-bottom: 3px;
  line-height: 1.28;
}

html body #wrapper2 .ml-checkout-form .form-control {
  width: 100%;
  min-height: 44px;
  height: auto;
  font-size: 16px;
  padding: 7px 8px;
  line-height: 1.3;
  color: var(--ml-buyer-ink);
}

.ml-checkout-form .radio { margin: 3px 0; }
html body #wrapper2 #onestep .radio label,
.ml-receiving label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 9px;
  margin: 0;
  border: 1px solid var(--ml-buyer-line);
  border-radius: 8px;
  line-height: 1.28;
  color: var(--ml-buyer-ink);
}

html body #wrapper2 #onestep .radio label:has(:checked),
.ml-receiving label:has(:checked) {
  border-color: #739bbc;
  background: var(--ml-buyer-panel);
}

html body #wrapper2 #onestep .radio input[type="radio"], .ml-receiving input {
  position: static;
  flex: 0 0 18px;
  width: 18px;
  margin: 0 !important;
  accent-color: var(--ml-buyer-primary);
}

.ml-receiving {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  padding: 0;
  margin: 5px 0 9px;
  gap: 6px;
}

.ml-receiving legend { border: 0; margin: 0 0 5px; font-size: .9rem; font-weight: 650; }
.ml-carrier-fields { margin-top: 9px; }
.ml-carrier-map { display: inline-block; margin-top: 6px; color: var(--ml-buyer-primary); text-decoration: underline; }
.ml-checkout-form #ml-delivery-note, .ml-checkout-form #ml-checkout-summary {
  margin: 8px 0 !important;
  padding: 7px 10px !important;
  border-left: 3px solid #8aaac7 !important;
  background: var(--ml-buyer-panel) !important;
  line-height: 1.35 !important;
}

.ml-checkout-consent { font-size: .91rem; margin-top: 10px; }
.ml-checkout-consent .ml-consent-info, .ml-checkout-next, .ml-checkout-certificate {
  color: var(--ml-buyer-muted);
  margin: 6px 0 0;
  font-size: .88rem;
  line-height: 1.35;
}

.ml-checkout-form .ml-field-error { display: block; color: #a52929; margin-top: 4px; font-size: .89rem; }
html body #wrapper2 .ml-checkout-form [aria-invalid="true"] { border-color: #b43c3c !important; }
html body #wrapper2 .ml-checkout-form .basket_submit_button {
  width: 100%;
  min-height: 48px;
  margin: 9px 0 0;
  padding: 10px;
  color: #fff !important;
  background: var(--ml-buyer-primary) !important;
  border: 1px solid var(--ml-buyer-primary) !important;
  border-radius: 9px !important;
  font-weight: 700;
}

html body #wrapper2 .ml-cart-checkout .ml-ux-cart-help { margin: 15px 0 0; }

.ml-cart-checkout .ml-ux-cart-help #ml-chat-btn { position: relative !important; inset: auto !important; }

html body #wrapper2 .ml-stock-enquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #91b0ca;
  border-radius: 8px;
  background: #edf4fb;
  color: #214f77;
  padding: 8px 10px;
  text-align: center;
  font-weight: 650;
  white-space: normal;
}

html body .ml-stock__badge.ml-stock__badge--variant { background: #e9f0f7; color: #254c70; }
html body .ml-stock__badge.ml-stock__badge--variant::before { background: #527faa !important; box-shadow: none !important; }
.ml-liner-size-guide a { text-decoration: underline; }
html body #wrapper2 .product-scope .ml-liner-choice .ml-liner-add { min-height: 46px; width: 100%; }
html body #wrapper2 .product-scope .ml-liner-choice { margin-block: 8px; }
html body #wrapper2 .product-scope .ml-liner-variants label { min-height: 44px; min-width: 48px; }
html body #wrapper2 .product-scope .ml-liner-choice p { margin: 3px 0 6px; }
.ml-liner-size-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  color: var(--ml-buyer-muted);
  font-size: .9rem;
}
.ml-caleo-compare {
  margin: 10px 0 0;
  padding: 0 11px 9px;
  border: 1px solid #d4e3ef;
  border-radius: 8px;
  background: #f6fafe;
  color: #203b56;
}
.ml-caleo-compare:not([open]) { padding-bottom: 0; }
.ml-caleo-compare summary {
  padding: 10px 0;
  min-height: 44px;
  cursor: pointer;
  color: #234e74;
  font-weight: 650;
}
.ml-caleo-compare dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 10px;
  margin: 0 0 8px;
}
.ml-caleo-compare summary:focus-visible { outline: 2px solid #316ab0; outline-offset: 2px; }
.ml-caleo-compare dd { margin: 0; }
.ml-caleo-compare a { text-decoration: underline; text-underline-offset: 2px; }
.ml-image-zoom { display: inline-flex; align-items: center; min-height: 44px; color: var(--ml-buyer-primary); text-decoration: underline; }
.ml-image-zoom .ml-photo-zoom-icon { display: none; }
.ml-variant-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 7px; }
.ml-variant-chips button {
  min-height: 44px;
  min-width: 44px;
  padding: 5px 9px;
  border: 1px solid var(--ml-buyer-line);
  border-radius: 7px;
  background: #fff;
  color: var(--ml-buyer-ink);
}
.ml-variant-chips button[aria-pressed="true"] { background: #e4f0fc; border-color: #527faa; }

.ml-buyer-modal {
  width: min(92vw, 540px);
  max-height: 88vh;
  padding: 18px;
  border: 1px solid var(--ml-buyer-line);
  border-radius: 14px;
  background: #fff;
  z-index: 1600;
}

.ml-buyer-modal::backdrop { background: #11263e80; }
.ml-buyer-modal h2 { margin: 0 0 7px; font-size: 1.35rem; }
.ml-buyer-modal p { margin: 2px 0 12px; color: var(--ml-buyer-muted); }
.ml-buyer-modal .ml-buyer-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ml-buyer-modal .ml-buyer-secondary {
  padding: 8px 11px;
  min-height: 44px;
  border: 1px solid var(--ml-buyer-line);
  border-radius: 8px;
  color: var(--ml-buyer-primary);
  background: #fff;
  font-weight: 650;
}
.ml-buyer-modal img { display: block; max-width: 100%; max-height: 68vh; margin: 9px auto; object-fit: contain; }
.ml-search-articles > summary { cursor: pointer; min-height: 44px; padding: 8px; }
.ml-search-article__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

html body #wrapper2 .collection-scope .ml-section-filter { padding-block: 8px; margin-block: 8px; }
html body #wrapper2 .collection-scope .ml-section-filter__status { margin: 3px 0 !important; }
html body #wrapper2 .collection-scope .ml-section-filter__more > summary { min-height: 44px; display: flex; align-items: center; }
.ml-section-filter__fields select { min-height: 44px; }
.ml-bottom-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 7px 0; }

@media (max-width: 991px) {
  .ml-home-search { display: grid; }
}

@media (max-width: 767px) {
  .ml-home-intro { grid-template-columns: 1fr; gap: 11px; padding-block: 8px 9px; }
  html body #wrapper2 .ml-home-intro h1 { font-size: clamp(28px, 7.4vw, 36px); line-height: 1.09; max-width: 22ch; }
  .ml-home-intro__copy p { margin-bottom: 11px; font-size: .96rem; }
  .ml-home-intro__media { aspect-ratio: 2.45 / 1; border-radius: 10px; }
  .ml-home-intro__media img { object-position: 55% 58%; }
  .ml-home-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .ml-home-quick a { font-size: .88rem; min-height: 44px; padding: 5px; }
  .ml-home-actions { margin-top: 7px; gap: 4px 8px; }
  .ml-home-actions a { font-size: .9rem; }
  .ml-home-more { padding-bottom: 11px; gap: 4px; }
  .ml-home-more nav a { font-size: .83rem; }
  .ml-checkout-grid { display: block; }
  .ml-checkout-order { position: static; padding: 7px 10px; margin: 0 0 9px; }
  .ml-checkout-order .ml-checkout-jump { min-height: 42px; margin-top: 4px; }
  .ml-cart-checkout #onestep { scroll-margin-top: 58px; }
  html body #wrapper2 .ml-cart-checkout .page_heading { font-size: clamp(24px, 6vw, 33px); }
  html body.ml-visual #wrapper2 .ml-cart-checkout .cart-item.ml-cart-row { grid-template-columns: 58px minmax(0, 1fr); }
  html body.ml-visual #wrapper2 .ml-cart-checkout .ml-cart-row .item_image,
  html body.ml-visual #wrapper2 .ml-cart-checkout .ml-cart-row .item_image a,
  html body.ml-visual #wrapper2 .ml-cart-checkout .ml-cart-row .item_image img {
    width: 58px !important;
    height: 58px !important;
  }
  .ml-checkout-form .ml-checkout-contacts, .ml-checkout-form .delivery.onestep, .ml-carrier-fields { gap: 6px; }
  .ml-checkout-form [data-ml-address-field="street"], .ml-checkout-form [data-ml-address-field="country"],
  .ml-checkout-form [data-ml-address-field="city"], .ml-carrier-fields .form-group, .ml-contact-optional {
    grid-column: 1 / -1;
  }
  html body.ml-visual #wrapper2 .product-scope .ml-liner-variants { margin: 4px 0 6px !important; }
  html body.ml-visual #wrapper2 .product-scope .product_price { margin: 6px 0 !important; }
  html body.ml-visual #wrapper2 .product-scope .ml-stock { margin: 3px 0 !important; }
  html body.ml-visual #wrapper2 .product-scope .ml-stock__note,
  html body.ml-visual #wrapper2 .product-scope .ml-stock .ml-order-question { display: inline; margin: 0 0 0 5px !important; }
  html body #wrapper2 .collection-scope .ml-section-filter { gap: 4px; }
  html body #wrapper2 .collection-scope .sort_by { margin-block: 3px !important; padding-block: 0 !important; }
  html body #wrapper2 .collection-scope .ml-section-filter__more > summary { font-size: .94rem; }
  .ml-mobile-compact-nav { display: none !important; }
}

@media (max-width: 360px) {
  .ml-home-actions { align-items: stretch; }
  .ml-home-actions a { width: 100%; justify-content: center; }
  .ml-home-search button { padding-inline: 8px; }
}

.ml-product-enquiry { margin: 6px 0; }
html body #wrapper2 .ml-order-secondary #add-to-cart {
  border: 1px solid #91b0ca !important;
  background: #edf4fb !important;
  color: #214f77 !important;
}
.ml-checkout-order .cart_subtotal .money { max-width: 19ch; overflow-wrap: anywhere; }
.ml-checkout-order .cart_subtotal .money span { white-space: normal; }

/* Bootstrap clearfix elements must not occupy cells of the new layout. */
.ml-home-intro::before, .ml-home-intro::after,
.ml-home-more::before, .ml-home-more::after {
  content: none !important;
  display: none !important;
}
html body #wrapper2 .ml-home-intro { grid-auto-flow: row; }
.ml-home-intro__media { aspect-ratio: 16 / 10; }

html body.ml-ux-cart #wrapper2 .ml-cart-checkout #ml-chat-btn#ml-chat-btn#ml-chat-btn {
  position: relative !important;
  inset: auto !important;
}
html body.ml-ux-cart #wrapper2 #ml-chat-btn#ml-chat-btn#ml-chat-btn::before,
html body.ml-ux-cart #wrapper2 #ml-chat-btn#ml-chat-btn#ml-chat-btn::after {
  display: none !important;
  animation: none !important;
}
html body #wrapper2 .ml-cart-row .quantity_input {
  padding: 0 2px !important;
  text-indent: 0 !important;
  text-align: center !important;
  color: var(--ml-buyer-ink) !important;
}
.ml-contact-optional { grid-column: 1 / -1; }
.ml-contact-optional summary { min-height: 44px; padding: 9px 0; color: var(--ml-buyer-primary); cursor: pointer; }
.ml-contact-optional .form-group { margin: 5px 0 !important; }
html body #wrapper2 .product-scope .ml-shipping-at-purchase { order: 6; margin: 6px 0; }
html body #wrapper2 .product-scope .product_price .currency { margin-inline-start: .16em; }
html body #wrapper2 .product-scope .ml-stock__badge--variant::before { content: none !important; }
html body #wrapper2 .product-scope .ml-stock:has(.ml-stock__badge--variant) .ml-order-question { display: none !important; }
html body #wrapper2 .product-scope #elevatezoom { position: relative; }
html body #wrapper2 .product-scope #elevatezoom .ml-image-zoom {
  position: absolute;
  z-index: 6;
  bottom: 4px;
  right: 5px;
  padding: 0 8px;
  border-radius: 7px;
  background: #fff;
  font-size: .84rem;
}

@media (max-width: 767px) {
  .ml-home-intro__media { aspect-ratio: 2.45 / 1; }
  html body.ml-visual.ml-ux-product #wrapper2 #main {
    margin-top: 5px !important;
    padding-top: 6px !important;
  }
  html body.ml-visual.ml-ux-product #wrapper2 #main .breadcrumb {
    margin-block: 4px 6px !important;
    padding-block: 6px !important;
  }
  html body.ml-visual #wrapper2 .product-scope .product_wrap .product_name {
    padding-top: 10px !important;
  }
  html body.ml-visual #wrapper2 .product-scope .product_name .page_header {
    margin-bottom: 7px !important;
  }
  html body.ml-visual.ml-ux-product #wrapper2 .product-scope #elevatezoom {
    --ml-product-photo-size: clamp(210px, 65vw, 286px);
    width: min(100%, var(--ml-product-photo-size)) !important;
    height: var(--ml-product-photo-size) !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 3px auto 10px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #fff !important;
  }
  html body.ml-visual #wrapper2 .product-scope #elevatezoom img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    border-radius: 0;
    margin: 0 !important;
    object-fit: contain !important;
  }
  html body #wrapper2 .product-scope #elevatezoom .ml-image-zoom {
    inset: 0;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 7px;
    background: transparent;
    border-radius: inherit;
    text-decoration: none;
  }
  html body #wrapper2 .product-scope #elevatezoom .ml-image-zoom:focus-visible {
    outline: 3px solid #316ab0;
    outline-offset: -3px;
  }
  .ml-image-zoom-label { display: none; }
  .ml-image-zoom .ml-photo-zoom-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #dae4ed;
    border-radius: 50%;
    background: #fff;
    font-size: 17px;
    box-shadow: 0 2px 8px #172c4720;
  }
  .ml-buyer-modal.ml-photo-modal {
    width: min(94vw, 540px);
    padding: 12px;
  }
  .ml-buyer-modal.ml-photo-modal img {
    width: 100%;
    max-height: 70vh;
    border-radius: 8px;
  }

  html body.ml-visual #wrapper2 :is(.collection-scope, .search-scope) .product_listing_main .product[itemtype] .product_img {
    --ml-list-photo-size: clamp(176px, 56vw, 232px);
    width: min(100%, var(--ml-list-photo-size)) !important;
    height: var(--ml-list-photo-size) !important;
    min-height: 0 !important;
    margin: 0 auto 11px !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 10px !important;
    background: #f6f7f9 !important;
  }
  html body.ml-visual #wrapper2 :is(.collection-scope, .search-scope) .product_listing_main .product[itemtype] .product_img :is(a, .ins) {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body.ml-visual #wrapper2 :is(.collection-scope, .search-scope) .product_listing_main .product[itemtype] .product_img img {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain !important;
    transform: none !important;
  }
  html body #wrapper2 .product-scope .ml-liner-choice[data-model^="6Y9"] .ml-liner-variants label {
    min-width: 48px;
    gap: 3px;
    padding: 5px 7px;
  }
  html body.ml-buying-panel-visible #ml-chat-btn#ml-chat-btn#ml-chat-btn {
    visibility: hidden !important;
  }
}

.ml-cart-row .ml-cart-change {
  display: block;
  width: fit-content;
  margin-block: 3px 0;
}
html body #wrapper2 .ml-liner-purchase-row {
  display: flex;
  align-items: end;
  gap: 7px;
}
html body #wrapper2 .ml-liner-purchase-row .ml-liner-amount {
  display: block;
  flex: 0 0 auto;
  margin: 0 !important;
  color: var(--ml-buyer-muted);
  font-size: .85rem;
}
html body #wrapper2 .ml-liner-purchase-row .ml-liner-amount input {
  display: block;
  height: 44px;
  width: 58px;
  padding-inline: 5px;
  margin: 2px 0 0;
  text-align: center;
}
html body #wrapper2 .ml-liner-purchase-row .ml-liner-add {
  flex: 1 1 auto;
  margin: 0 !important;
}

@media(max-width:767px) {
  html body #wrapper2 .product-scope .ml-liner-choice[data-model^="6Y9"] .ml-liner-variants:has([data-liner-size]) {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 5px;
    padding: 0;
  }
  html body #wrapper2 .product-scope .ml-liner-choice[data-model^="6Y9"] .ml-liner-variants label {
    display: grid;
    place-items: center;
    position: relative;
    min-width: 0;
    min-height: 44px;
    margin: 0 !important;
    padding: 4px !important;
  }
  html body #wrapper2 .product-scope .ml-liner-choice[data-model^="6Y9"] .ml-liner-variants label input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
  }
  html body #wrapper2 .product-scope .ml-liner-choice[data-model^="6Y9"] .ml-liner-variants label:has(input:checked) {
    background: #e4f0fc;
    border-color: #527faa;
  }
  html body #wrapper2 .product-scope .ml-liner-choice[data-model^="6Y9"] .ml-liner-variants label:has(input:focus-visible) {
    outline: 2px solid #316ab0;
    outline-offset: 2px;
  }
}
