/**
 * Product page (catalog/product-mh.tpl), v3.
 *
 * One grid (.mh-p):
 *   >= 1200px  gallery | info | buy column (sticky, spans the whole page)
 *              body (anchor nav + sections) under gallery + info
 *   992-1199   gallery | info, buy under info, body full width
 *   < 992      single column, buy bar fixed at the bottom of the screen
 *
 * Partials styled here: _partials/mh-product-gallery.tpl, product-prices.tpl,
 * product-add-to-cart.tpl, modules kixproductquestions (tabcontent/list),
 * productcomments (product-comments-list / item prototype), ps_crossselling and
 * ps_categoryproducts (rails, shared with other pages).
 * Loaded on product pages by _partials/stylesheets.tpl. Bump ?v= on every change.
 */

:root {
  --mh-navy: #0c193a;
  --mh-orange: #e65021;
  --mh-orange-dark: #cf4419;
  --mh-green: #1f9d55;
  --mh-green-soft: #ecf8f1;
  --mh-amber: #b37a00;
  --mh-amber-soft: #fdf6e6;
  --mh-line: #e6e9ef;
  --mh-line-2: #d5dae3;
  --mh-text: #475266;
  --mh-muted: #7d8799;
  --mh-soft: #f5f7fa;
  --mh-media: #f4f5f7;
  --mh-radius: 18px;
  --mh-shadow: 0 1px 2px rgba(12, 25, 58, 0.04), 0 10px 30px rgba(12, 25, 58, 0.07);
}

html {
  scroll-behavior: smooth;
}

#main.mh-product {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px 48px; /* aligned on the header */
  color: var(--mh-text);
}

.mh-product [id] {
  scroll-margin-top: 84px;
}

.mh-product :focus {
  outline: none;
}

.mh-product :focus-visible {
  outline: 2px solid var(--mh-navy);
  outline-offset: 2px;
}

/* Breadcrumb (rendered by the layout, above #main) */
#product .breadcrumb {
  max-width: 1440px;
  margin: 0 auto !important;
  padding: 18px 15px 0 !important;
  font-size: 13px;
  background: none !important;
}

#product .breadcrumb a,
#product .breadcrumb li,
#product .breadcrumb span {
  color: var(--mh-muted) !important;
}

#product .breadcrumb a:hover {
  color: var(--mh-orange) !important;
}

/* ================================================================== */
/* Grid                                                               */
/* ================================================================== */
.mh-p {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 360px;
  grid-template-areas:
    'gallery info buy'
    'body    body buy';
  column-gap: 48px;
  align-items: start;
  margin: 22px 0 0;
}

.mh-p__gallery {
  grid-area: gallery;
  min-width: 0;
}

.mh-p__panel {
  grid-area: info;
  min-width: 0;
  padding-top: 4px;
}

.mh-p__buy {
  grid-area: buy;
  position: sticky;
  top: 16px;
  min-width: 0;
}

.mh-p__body {
  grid-area: body;
  min-width: 0;
  margin-top: 56px;
}

/* ================================================================== */
/* Gallery                                                            */
/* ================================================================== */
.mh-product .page-content--product {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.mh-gallery {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  margin: 0 !important;
}

.mh-gallery > [class*='col-'],
.mh-gallery > .mh-gallery__main,
.mh-gallery > .thumb-list {
  flex: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
}

.mh-gallery > .thumb-list {
  order: 2;
}

/* Soft media background, no frame: white product shots melt into it */
.mh-gallery .products-imagescover {
  margin: 0 !important;
  overflow: hidden;
  background: var(--mh-media);
  border: 0 !important;
  border-radius: 20px;
}

.mh-gallery .products-imagescover .slick-list,
.mh-gallery .products-imagescover .slick-track,
.mh-gallery .products-imagescover .slick-slide,
.mh-gallery .products-imagescover .product-img {
  outline: none !important;
}

.mh-gallery .products-imagescover .product-img .rc,
.mh-gallery .products-imagescover .ratio1_1 {
  display: block;
  position: relative;
  height: auto !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  cursor: zoom-in;
}

.mh-gallery .products-imagescover .rc::before,
.mh-gallery .products-imagescover .rc::after {
  content: none !important;
}

.mh-gallery .products-imagescover picture {
  display: block;
  position: absolute;
  inset: 0;
}

.mh-gallery .products-imagescover img {
  position: absolute !important;
  inset: 6% !important;
  width: 88% !important;
  height: 88% !important;
  max-width: none !important;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: none !important;
}

/* Dots (mobile only, see responsive) */
.mh-gallery .products-imagescover .slick-dots {
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: 14px !important;
  left: 0 !important;
  display: none !important;
  justify-content: center;
  gap: 6px;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  transform: none !important;
}

.mh-gallery .products-imagescover .slick-dots li {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}

.mh-gallery .products-imagescover .slick-dots button {
  display: block;
  width: 7px !important;
  height: 7px !important;
  padding: 0 !important;
  font-size: 0 !important;
  background: #cfd5df !important;
  border: 0 !important;
  border-radius: 999px !important;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.mh-gallery .products-imagescover .slick-dots button::before {
  content: none !important;
}

.mh-gallery .products-imagescover .slick-dots .slick-active button {
  width: 18px !important;
  background: var(--mh-navy) !important;
}

/* Thumbnails: same soft tiles, active = navy ring */
.mh-gallery .product-thumbs {
  margin: 0 -5px;
}

.mh-gallery .product-thumbs .slick-list,
.mh-gallery .product-thumbs .slick-track,
.mh-gallery .product-thumbs .slick-slide,
.mh-gallery .product-thumbs .product-thumb {
  outline: none !important;
}

.mh-gallery .product-thumbs .product-thumb {
  margin: 0;
  padding: 3px 5px;
  cursor: pointer;
}

.mh-gallery .product-thumbs .rc {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 8px;
  overflow: hidden;
  background: var(--mh-media);
  border: 0 !important;
  border-radius: 12px;
  box-shadow: none;
  transition: box-shadow 0.15s ease, opacity 0.15s ease;
}

.mh-gallery .product-thumbs .rc::before,
.mh-gallery .product-thumbs .rc::after {
  content: none !important;
}

.mh-gallery .product-thumbs img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: none !important;
}

.mh-gallery .product-thumbs .product-thumb:not(.slick-current) .rc {
  opacity: 0.75;
}

.mh-gallery .product-thumbs .product-thumb:hover .rc {
  opacity: 1;
}

.mh-gallery .product-thumbs .slick-current .rc {
  opacity: 1;
  box-shadow: inset 0 0 0 2px var(--mh-navy);
}

/* Zoom + photo count */
.mh-gallery .btn-zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #fff;
  border: 0 !important;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(12, 25, 58, 0.12);
}

.mh-gallery .btn-zoom svg {
  width: 18px;
  height: 18px;
}

.mh-gallery .btn-zoom svg,
.mh-gallery .btn-zoom svg path {
  fill: var(--mh-navy) !important;
}

.mh-gallery__count {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 30px;
  color: var(--mh-navy);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(12, 25, 58, 0.1);
  pointer-events: none;
}

/* Badges */
.mh-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.mh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--mh-navy);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(12, 25, 58, 0.1);
}

.mh-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--mh-muted);
  border-radius: 50%;
}

.mh-badge--new::before {
  background: var(--mh-green);
}

.mh-badge--on-sale::before {
  background: var(--mh-orange);
}

.mh-badge--off {
  color: #fff;
  background: var(--mh-orange);
}

.mh-badge--off::before {
  content: none;
}

/* ================================================================== */
/* Info column                                                        */
/* ================================================================== */
.mh-p__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 16px;
}

.mh-p__brand {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mh-navy) !important;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 999px;
  transition: border-color 0.15s ease;
}

.mh-p__brand:hover {
  border-color: var(--mh-line-2);
}

.mh-p__brand img {
  display: block;
  width: auto;
  max-width: 104px;
  height: 22px;
  object-fit: contain;
}

.mh-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
}

.mh-pill__dot {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}

.mh-pill--ok {
  color: var(--mh-green);
  background: var(--mh-green-soft);
}

.mh-pill--order {
  color: var(--mh-amber);
  background: var(--mh-amber-soft);
}

.mh-product h1.mh-p__title {
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.022em;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.mh-product h1.mh-p__title::after {
  content: none !important;
}

.mh-p__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0 0 24px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--mh-line);
}

.mh-p__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--mh-text) !important;
  text-decoration: none !important;
}

.mh-p__rating strong {
  font-weight: 800;
  color: var(--mh-navy);
}

.mh-p__rating > span:last-child {
  text-decoration: underline;
  text-decoration-color: var(--mh-line-2);
  text-underline-offset: 3px;
}

.mh-p__rating:hover > span:last-child {
  color: var(--mh-navy);
}

/* Stars drawn from the average: --mh-rate = 0-100% */
.mh-stars {
  --mh-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E");
  display: inline-block;
  flex: 0 0 auto;
  width: 90px;
  height: 18px;
  background: linear-gradient(90deg, #f5a623 var(--mh-rate), #dfe3ea var(--mh-rate));
  -webkit-mask: var(--mh-star) left center / 18px 18px repeat-x;
  mask: var(--mh-star) left center / 18px 18px repeat-x;
}

.mh-stars--lg {
  width: 120px;
  height: 24px;
  -webkit-mask-size: 24px 24px;
  mask-size: 24px 24px;
}

.mh-p__ref {
  margin: 0;
  font-size: 13px;
  color: var(--mh-muted);
}

.mh-p__ref strong {
  font-weight: 600;
  color: var(--mh-text);
}

/* Short description */
.mh-p__lead,
.mh-p__lead p,
.mh-p__lead li {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: var(--mh-text) !important;
}

.mh-p__lead {
  margin: 0 0 6px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

.mh-p__lead p {
  margin: 0 0 8px !important;
}

.mh-p__lead p:last-child {
  margin-bottom: 0 !important;
}

.mh-p__lead strong {
  font-weight: 600;
  color: var(--mh-navy);
}

.mh-p__lead ul {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.mh-p__lead ul li {
  position: relative;
  padding-left: 22px;
}

.mh-p__lead ul li::before {
  content: '';
  position: absolute;
  top: 0.45em;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--mh-green);
  border-left: 2px solid var(--mh-green);
  transform: rotate(-45deg);
}

.mh-p__lead--clamp {
  max-height: 10em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}

.mh-p__more,
.mh-clamp__btn {
  display: inline-flex;
  align-items: center;
  margin: 6px 0 0;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--mh-orange) !important;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
}

.mh-p__more::after,
.mh-clamp__btn::after {
  content: '';
  width: 6px;
  height: 6px;
  margin: -3px 0 0 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin 0.2s ease;
}

.mh-p__more:hover,
.mh-clamp__btn:hover {
  color: var(--mh-orange-dark) !important;
}

/* Key specs */
.mh-p__keys {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 16px;
}

.mh-p__key {
  min-width: 0;
  padding: 13px 16px;
  border-bottom: 1px solid var(--mh-line);
}

.mh-p__key:nth-child(odd) {
  border-right: 1px solid var(--mh-line);
}

.mh-p__key:nth-last-child(-n + 2):nth-child(odd),
.mh-p__key:last-child {
  border-bottom: 0;
}

.mh-p__key dt {
  margin: 0 0 3px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--mh-muted);
}

.mh-p__key dd {
  margin: 0;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--mh-navy);
}

/* ================================================================== */
/* Buy column                                                         */
/* ================================================================== */
.mh-buy {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 20px;
  box-shadow: var(--mh-shadow);
}

.mh-buy .product-actions {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

/* Price: HT and TTC share one slot, the header switch swaps them */
.mh-buy .mh-price {
  margin: 0 0 20px;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

.mh-price__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mh-price__main {
  margin: 0 !important;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
  color: var(--mh-navy);
  font-variant-numeric: tabular-nums;
}

.mh-price__main small {
  margin-left: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--mh-navy);
}

.mh-price--promo .mh-price__main {
  color: var(--mh-orange);
}

.mh-price__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 10px 0 0 !important;
  font-size: 14px;
  line-height: 1.4;
  color: var(--mh-muted);
}

.mh-price__sub s {
  color: var(--mh-muted);
}

.mh-price__off {
  height: 22px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
  color: #fff;
  background: var(--mh-orange);
  border-radius: 6px;
}

.mh-price [data-mh-tax='incl'],
html.mh-tax-incl .mh-price [data-mh-tax='excl'] {
  display: none !important;
}

html.mh-tax-incl .mh-price [data-mh-tax='incl'] {
  display: inline !important;
}

.mh-price .tax-shipping-delivery-label:empty {
  display: none;
}

.mh-price .product-unit-price,
.mh-price .price-ecotax,
.mh-price .product-pack-price {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--mh-muted);
}

/* Energy label (EU colours) */
.mh-energy {
  position: relative;
  flex: 0 0 auto;
  height: 28px;
  margin: 4px 12px 0 0;
  padding: 0 6px 0 10px;
  font-size: 15px;
  font-weight: 800;
  line-height: 28px;
  color: #fff;
  background: var(--mh-muted);
  border-radius: 4px 0 0 4px;
}

.mh-energy::after {
  content: '';
  position: absolute;
  top: 0;
  right: -12px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 12px solid;
  border-left-color: inherit;
}

.mh-energy-appp,
.mh-energy-app,
.mh-energy-ap,
.mh-energy-a { background: #00a651; border-color: #00a651; }
.mh-energy-b { background: #4cb848; border-color: #4cb848; }
.mh-energy-c { background: #b3cf2a; border-color: #b3cf2a; color: #1f2a10; }
.mh-energy-d { background: #f2d900; border-color: #f2d900; color: #3b3200; }
.mh-energy-e { background: #fcb814; border-color: #fcb814; color: #3b2a00; }
.mh-energy-f { background: #f36f21; border-color: #f36f21; }
.mh-energy-g { background: #e2231a; border-color: #e2231a; }

/* Combinations */
.mh-buy .product-variants {
  margin: 0 0 18px;
}

.mh-buy .product-variants > .product-variants-item,
.mh-buy .product-variants .clearfix {
  margin: 0 0 12px;
}

.mh-buy .product-variants .control-label,
.mh-buy .product-variants label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mh-navy);
}

.mh-buy .product-variants select {
  width: 100%;
  height: 48px;
  padding: 0 40px 0 14px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mh-navy);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230c193a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--mh-line-2);
  border-radius: 12px;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.mh-buy .product-variants select:focus {
  border-color: var(--mh-navy);
  outline: none;
}

/* Quantity + add to cart: one row */
.mh-buy .product-add-to-cart {
  margin: 0;
}

.mh-atc {
  display: flex !important;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin: 0 !important;
}

.mh-atc__qty {
  flex: 0 0 112px;
  width: 112px;
  height: 56px;
  margin: 0 !important;
  padding: 0 !important;
}

.mh-atc__btn {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

/* TouchSpin output: [-][input][+] inside one pill */
.mh-atc__qty .bootstrap-touchspin {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100% !important;
  height: 56px;
  margin: 0 !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--mh-line-2);
  border-radius: 14px;
}

.mh-atc__qty .bootstrap-touchspin > * {
  float: none !important;
  margin: 0 !important;
}

.mh-atc__qty .input-group-btn,
.mh-atc__qty .input-group-prepend,
.mh-atc__qty .input-group-append {
  display: flex !important;
  flex: 0 0 34px;
  width: 34px !important;
  margin: 0 !important;
}

.mh-atc__qty .js-touchspin {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: var(--mh-navy) !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mh-atc__qty .js-touchspin:hover {
  background: var(--mh-soft) !important;
}

.mh-atc__qty .js-touchspin .material-icons,
.mh-atc__qty .js-touchspin i {
  font-size: 18px;
}

.mh-atc__qty #quantity_wanted {
  flex: 1 1 auto;
  width: 100% !important;
  min-width: 0;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-align: center;
  color: var(--mh-navy) !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mh-atc__qty .bootstrap-touchspin-postfix,
.mh-atc__qty .bootstrap-touchspin-prefix {
  display: none !important;
}

.mh-buy .btn-add-to-cart {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100% !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: none !important;
  color: #fff !important;
  background: var(--mh-orange) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 22px rgba(230, 80, 33, 0.28) !important;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.mh-buy .btn-add-to-cart::before {
  content: '';
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3.5h2.6l2.4 11.2a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2l1.6-7.3H6.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3.5h2.6l2.4 11.2a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2l1.6-7.3H6.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mh-buy .btn-add-to-cart:hover {
  background: var(--mh-orange-dark) !important;
  box-shadow: 0 12px 26px rgba(230, 80, 33, 0.34) !important;
}

.mh-buy .btn-add-to-cart:active {
  transform: translateY(1px);
}

.mh-buy .btn-add-to-cart:disabled {
  opacity: 0.5;
  box-shadow: none !important;
}

.mh-buy .btn-add-to-cart.is--loading::before {
  display: none;
}

.mh-buy .btn-add-to-cart__spinner:empty {
  display: none;
}

.mh-buy .product-minimal-quantity {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--mh-muted);
}

.mh-buy .product-minimal-quantity:not(:has(*)):empty,
.mh-buy .tax-shipping-delivery-label:empty {
  display: none;
}

/* Delivery card */
.mh-ship {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 0;
  padding: 14px 16px;
  background: var(--mh-green-soft);
  border: 0;
  border-radius: 14px;
}

.mh-ship__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--mh-green);
  background: #fff;
  border-radius: 12px;
}

.mh-ship__txt {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

.mh-ship__label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mh-text);
}

.mh-ship .shipping-date,
.mh-ship .shipping-date .kl {
  margin: 1px 0 0;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: var(--mh-green) !important;
}

.mh-ship .shipping-title {
  display: none !important;
}

.mh-ship .shipping-details {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--mh-text);
}

.mh-ship .shipping-details:empty {
  display: none;
}

/* Made to order: amber */
.mh-ship:has(.shipping-info:not([data-delivery])) {
  background: var(--mh-amber-soft);
}

.mh-ship:has(.shipping-info:not([data-delivery])) .mh-ship__icon {
  color: var(--mh-amber);
}

.mh-ship:has(.shipping-info:not([data-delivery])) .shipping-date {
  color: var(--mh-amber) !important;
}

/* Services */
.mh-services {
  margin: 14px 0 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 20px;
}

.mh-services li {
  margin: 0;
}

.mh-services li + li {
  border-top: 1px solid var(--mh-line);
}

.mh-services a,
.mh-services button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 11px 10px;
  font-family: inherit;
  text-align: left;
  color: var(--mh-text) !important;
  background: none;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}

.mh-services a:hover,
.mh-services button:hover {
  background: var(--mh-soft);
}

.mh-services a::after,
.mh-services button::after {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-top: 2px solid var(--mh-line-2);
  border-right: 2px solid var(--mh-line-2);
  transform: rotate(45deg);
}

.mh-services__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--mh-navy);
  background: var(--mh-soft);
  border-radius: 11px;
}

.mh-services strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mh-navy);
}

.mh-services small {
  display: block;
  font-size: 12.5px;
  color: var(--mh-muted);
}

/* Reassurance (diademscontentblocks) */
.mh-p__buy .diadems-reassurance-block {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mh-p__buy .diadems-reassurance-block .reassurance-items {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mh-p__buy .diadems-reassurance-block .reassurance-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  text-align: left !important;
  background: var(--mh-soft) !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.mh-p__buy .diadems-reassurance-block .reassurance-icon {
  flex: 0 0 auto;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
}

.mh-p__buy .diadems-reassurance-block .reassurance-icon img {
  width: 28px !important;
  height: 28px !important;
}

.mh-p__buy .diadems-reassurance-block .reassurance-text {
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

/* ================================================================== */
/* Anchor nav                                                         */
/* ================================================================== */
.mh-p-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 0 8px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--mh-line);
  backdrop-filter: saturate(1.4) blur(8px);
}

.mh-p-nav__in {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mh-p-nav__in::-webkit-scrollbar {
  display: none;
}

.mh-p-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 16px 14px 14px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--mh-muted) !important;
  border-bottom: 2px solid transparent;
  text-decoration: none !important;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.mh-p-nav a:first-child {
  padding-left: 0;
}

.mh-p-nav a:hover,
.mh-p-nav a.is-active {
  color: var(--mh-navy) !important;
  border-bottom-color: var(--mh-orange);
}

.mh-p-nav__count {
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  font-size: 11.5px;
  line-height: 20px;
  text-align: center;
  color: var(--mh-navy);
  background: var(--mh-soft);
  border-radius: 999px;
}

/* ================================================================== */
/* Sections                                                           */
/* ================================================================== */
.mh-p-sec {
  margin: 0;
  padding: 48px 0;
  border-bottom: 1px solid var(--mh-line);
}

.mh-p-sec__title,
.mh-product h2.mh-p-sec__title,
.mh-qa-head__title,
.mh-rev-head__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px !important;
  padding: 0 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.mh-p-sec__title::after,
.mh-product h2.mh-p-sec__title::after,
.mh-qa-head__title::after,
.mh-rev-head__title::after {
  content: none !important;
}

/* Specs: two columns of rows */
.mh-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  margin: 0;
}

.mh-specs__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mh-line);
}

.mh-specs dt {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--mh-muted);
}

.mh-specs dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--mh-navy);
}

/* Description */
.mh-product .product-description {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.75;
  color: #3d4656;
}

.mh-product .product-description h2 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em;
  text-align: left !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.mh-product .product-description h3 {
  margin: 30px 0 10px !important;
  padding: 0 !important;
  font-size: 18.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
}

.mh-product .product-description h2::after,
.mh-product .product-description h3::after {
  content: none !important;
}

.mh-product .product-description p,
.mh-product .product-description li {
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #3d4656 !important;
}

.mh-product .product-description p {
  margin: 0 0 14px;
}

.mh-product .product-description ul {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

.mh-product .product-description ul li {
  position: relative;
  margin: 0 0 6px;
  padding-left: 22px;
}

.mh-product .product-description ul li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  left: 4px;
  width: 7px;
  height: 7px;
  background: var(--mh-orange);
  border-radius: 50%;
}

.mh-product .product-description strong {
  font-weight: 700;
  color: var(--mh-navy);
}

.mh-product .product-description img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.mh-product .product-description table {
  width: 100%;
  margin: 16px 0;
  font-size: 14.5px;
  border-collapse: collapse;
}

.mh-product .product-description th,
.mh-product .product-description td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--mh-line);
}

/* Long description folded; full text stays in the page */
.mh-product .product-description.mh-clamp {
  max-height: 460px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}

.mh-product .product-description.mh-clamp.is-open {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.mh-clamp__btn {
  height: 44px;
  margin: 12px 0 0;
  padding: 0 18px;
  color: var(--mh-navy) !important;
  background: #fff;
  border: 1px solid var(--mh-line-2);
  border-radius: 999px;
}

.mh-clamp__btn:hover {
  color: var(--mh-navy) !important;
  border-color: var(--mh-navy);
}

.mh-clamp__btn[aria-expanded='true']::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

/* Documents */
.mh-docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mh-docs a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 12px 14px;
  color: var(--mh-navy) !important;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 14px;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.mh-docs a:hover {
  background: var(--mh-soft);
  border-color: var(--mh-line-2);
}

.mh-docs__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #c62828;
  background: #fdecea;
  border-radius: 10px;
}

.mh-docs__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.mh-docs__size {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--mh-muted);
}

/* Pagination (questions + reviews) */
.mh-pages {
  margin: 20px 0 0;
}

.mh-pages .pages,
.mh-pages .nums,
.mh-pages ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}

.mh-pages a,
.mh-pages b,
.mh-pages li > span,
.mh-pages button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mh-navy) !important;
  background: #fff !important;
  border: 1px solid var(--mh-line) !important;
  border-radius: 10px !important;
  text-decoration: none !important;
}

.mh-pages b,
.mh-pages .active > *,
.mh-pages .current,
.mh-pages [aria-current] {
  color: #fff !important;
  background: var(--mh-navy) !important;
  border-color: var(--mh-navy) !important;
}

/* ================================================================== */
/* Questions (kixproductquestions)                                    */
/* ================================================================== */
.mh-p-sec--qa {
  padding-bottom: 48px;
}

.mh-product #kixproductquestions {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.mh-qa-head,
.mh-rev-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
}

.mh-qa-head__title,
.mh-rev-head__title {
  margin-bottom: 4px !important;
}

.mh-qa-head__count,
.mh-rev-head__count {
  min-width: 30px;
  height: 26px;
  padding: 0 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  letter-spacing: 0;
  color: var(--mh-navy);
  background: var(--mh-soft);
  border-radius: 999px;
}

.mh-qa-head__sub,
.mh-rev-head__sub {
  margin: 0 !important;
  font-size: 14px;
  color: var(--mh-muted);
}

.mh-product .mh-qa-ask,
.mh-product .mh-rev-write {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  font-family: inherit;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  color: var(--mh-navy) !important;
  background: #fff !important;
  border: 1px solid var(--mh-line-2) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.mh-product .mh-qa-ask:hover,
.mh-product .mh-rev-write:hover {
  background: var(--mh-soft) !important;
  border-color: var(--mh-navy) !important;
}

.mh-qa-list {
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
  margin: 0;
  border-top: 1px solid var(--mh-line);
}

.mh-qa {
  margin: 0 !important;
  padding: 22px 0 !important;
  background: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mh-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mh-qa__row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
}

.mh-qa__row--a {
  margin-top: 14px;
}

.mh-qa__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 13px;
  font-weight: 800;
  color: var(--mh-navy);
  background: var(--mh-soft);
  border-radius: 10px;
}

.mh-qa__tag--a {
  color: var(--mh-green);
  background: var(--mh-green-soft);
}

.mh-qa__body {
  min-width: 0;
}

.mh-qa__text,
.mh-qa__text p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--mh-text) !important;
  overflow-wrap: anywhere;
}

.mh-qa__text--q {
  font-weight: 600 !important;
  color: var(--mh-navy) !important;
}

.mh-qa__text a {
  color: var(--mh-navy) !important;
  text-decoration: underline;
}

.mh-qa__meta {
  margin: 6px 0 0 !important;
  font-size: 12.5px;
  color: var(--mh-muted);
}

.mh-qa__team {
  font-weight: 700;
  color: var(--mh-green);
}

.mh-qa-empty {
  padding: 26px;
  text-align: center;
  background: var(--mh-soft);
  border-radius: 16px;
}

.mh-qa-empty p {
  margin: 0;
  font-size: 14.5px;
  color: var(--mh-text);
}

.mh-qa-empty strong {
  color: var(--mh-navy);
}

/* ================================================================== */
/* Reviews (productcomments)                                          */
/* ================================================================== */
.mh-product #product-comments-list-header {
  margin: 0 !important;
  padding: 48px 0 0 !important;
  background: none !important;
  border: 0 !important;
  border-top: 1px solid var(--mh-line) !important;
}

.mh-rev {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
}

.mh-rev--empty {
  display: block;
}

.mh-rev-summary {
  position: sticky;
  top: 80px;
  padding: 24px;
  background: var(--mh-soft);
  border-radius: 20px;
}

.mh-rev-summary__score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 6px !important;
}

.mh-rev-summary__score strong {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--mh-navy);
}

.mh-rev-summary__score span {
  font-size: 16px;
  font-weight: 700;
  color: var(--mh-muted);
}

.mh-rev-summary__total {
  margin: 8px 0 18px !important;
  font-size: 13.5px;
  color: var(--mh-muted);
}

.mh-rev-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mh-rev-bars li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.mh-rev-bars__label {
  font-weight: 700;
  color: var(--mh-navy);
}

.mh-rev-bars__track {
  height: 8px;
  overflow: hidden;
  background: #e2e6ed;
  border-radius: 999px;
}

.mh-rev-bars__fill {
  display: block;
  height: 100%;
  background: #f5a623;
  border-radius: 999px;
}

.mh-rev-bars__n {
  text-align: right;
  color: var(--mh-muted);
}

.mh-rev-main {
  min-width: 0;
}

.mh-product .mh-rev-list {
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
  margin: 0 !important;
  border-top: 1px solid var(--mh-line);
}

.mh-product .mh-review {
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.mh-product .mh-review .review-card {
  display: block !important;
  min-height: 0 !important;
}

.mh-product .mh-review .review-card {
  margin: 0 !important;
  padding: 20px 0 !important;
  background: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mh-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mh-review__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
}

.mh-review__avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 800;
  color: var(--mh-navy);
  background: var(--mh-soft);
  border-radius: 50%;
}

.mh-review__who {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.mh-review__name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--mh-navy);
}

.mh-review__date {
  font-size: 12.5px;
  color: var(--mh-muted);
}

.mh-review__stars {
  display: flex !important;
  gap: 2px;
}

.mh-review__stars .star {
  display: inline-flex !important;
  width: 16px !important;
  height: 16px !important;
}

.mh-review__stars .star svg,
.mh-review__stars svg {
  width: 16px !important;
  height: 16px !important;
}

/* The module's own spacing (list gap, text padding) */
.mh-product #product-comments-list.mh-rev-list {
  gap: 0 !important;
}

.mh-product .mh-review .review-content {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

.mh-review__text,
.mh-review__text p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--mh-text) !important;
}

.mh-product #empty-product-comment {
  padding: 26px;
  text-align: center;
  background: var(--mh-soft);
  border: 0;
  border-radius: 16px;
}

/* ================================================================== */
/* Accessories: compact horizontal cards                              */
/* ================================================================== */
.mh-product .mh-acc {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row !important; /* the shared card grid swipes horizontally on phones */
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.mh-acc .mh-pcard {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  grid-template-areas: 'media body foot';
  align-items: center;
  min-height: 0;
  border-radius: 16px;
}

.mh-acc .mh-pcard .mh-pcard__media {
  grid-area: media;
  width: 96px;
  height: 96px;
  padding: 10px;
  background: var(--mh-media);
  border: 0;
}

.mh-acc .mh-pcard__media img {
  mix-blend-mode: multiply;
}

.mh-acc .mh-pcard__flags,
.mh-acc .mh-pcard__discount,
.mh-acc .mh-pcard__energy,
.mh-acc .mh-pcard__reviews,
.mh-acc .mh-pcard__delivery,
.mh-acc .mh-pcard__ref {
  display: none !important;
}

.mh-acc .mh-pcard__body {
  grid-area: body;
  padding: 10px 14px;
}

.mh-acc .mh-pcard__meta {
  height: auto;
  margin: 0 0 2px;
}

.mh-acc .mh-pcard__name {
  height: auto !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: 2;
}

.mh-acc .mh-pcard__foot {
  grid-area: foot;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 14px 10px 0;
  border: 0;
}

.mh-acc .mh-pcard__prices {
  display: block;
  text-align: right;
}

.mh-acc .mh-pcard__old {
  display: none;
}

.mh-acc .mh-pcard__price {
  font-size: 16px;
}

.mh-acc .mh-pcard .mh-pcard__btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

/* ================================================================== */
/* Product rails (ps_crossselling / ps_categoryproducts)              */
/* Not scoped to .mh-product: the module templates are shared.        */
/* ================================================================== */
.mh-related.mh-p-sec {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px 0;
  border: 0;
  border-top: 1px solid var(--mh-line);
}

.mh-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}

.mh-rail__head .mh-p-sec__title {
  margin: 0 !important;
}

.mh-rail__nav {
  display: flex;
  gap: 8px;
}

.mh-rail__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--mh-navy);
  background: #fff;
  border: 1px solid var(--mh-line-2);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.mh-rail__btn:hover {
  background: var(--mh-soft);
  border-color: var(--mh-navy);
}

.mh-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 16px) / 4);
  gap: 16px;
  margin: 0 -4px;
  padding: 4px 4px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.mh-rail__track::-webkit-scrollbar {
  display: none;
}

.mh-rail__item {
  min-width: 0;
  scroll-snap-align: start;
}

.mh-rail__item > .mh-pcard {
  height: 100%;
}

/* In the product body (next to the buy column): 3 visible */
.mh-p__body .mh-rail__track {
  grid-auto-columns: calc((100% - 2 * 16px) / 3);
}

/* ================================================================== */
/* Bottom buy bar (< 1200px)                                          */
/* ================================================================== */
.mh-p-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--mh-line);
  box-shadow: 0 -8px 30px rgba(12, 25, 58, 0.08);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.mh-p-bar.is-visible {
  transform: none;
}

.mh-p-bar__in {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}

.mh-p-bar__img {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: var(--mh-media);
  border-radius: 10px;
  mix-blend-mode: multiply;
}

.mh-p-bar__txt {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.mh-p-bar__name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--mh-text);
}

.mh-p-bar__price {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--mh-navy);
}

.mh-p-bar__price small {
  font-size: 12px;
  font-weight: 600;
  color: var(--mh-muted);
}

.mh-p-bar [data-mh-tax='incl'],
html.mh-tax-incl .mh-p-bar [data-mh-tax='excl'] {
  display: none;
}

html.mh-tax-incl .mh-p-bar [data-mh-tax='incl'] {
  display: inline;
}

.mh-p-bar__btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: var(--mh-orange);
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.mh-p-bar__btn:hover {
  background: var(--mh-orange-dark);
}

/* ================================================================== */
/* Responsive                                                         */
/* ================================================================== */
@media (min-width: 1200px) {
  .mh-p-bar {
    display: none;
  }
}

/* Chat bubble (assistant module) stays above the buy bar */
@media (max-width: 1199.98px) {
  html.mh-p-bar-on .ips-fab-wrapper {
    bottom: 84px !important;
    transition: bottom 0.25s ease;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .mh-p {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 336px;
    column-gap: 32px;
  }

  .mh-product h1.mh-p__title {
    font-size: 26px !important;
  }

  .mh-buy {
    padding: 20px;
  }

  .mh-price__main {
    font-size: 34px;
  }

  .mh-atc__qty {
    flex-basis: 104px;
    width: 104px;
  }

  .mh-rev {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
  }

  .mh-product .mh-acc {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1199.98px) {
  .mh-p {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      'gallery info'
      'gallery buy'
      'body    body';
    column-gap: 32px;
  }

  .mh-p__gallery {
    grid-row: 1 / span 2;
    position: sticky;
    top: 16px;
  }

  .mh-p__buy {
    position: static;
    margin-top: 24px;
  }
}

@media (max-width: 991.98px) {
  #main.mh-product {
    padding: 0 16px 32px;
  }

  #product .breadcrumb {
    padding: 12px 16px 0 !important;
  }

  .mh-p {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'gallery'
      'info'
      'buy'
      'body';
    margin-top: 12px;
  }

  .mh-p__gallery {
    grid-row: auto;
    position: static;
    margin: 0 0 22px;
  }

  .mh-gallery > .thumb-list {
    display: none !important;
  }

  .mh-gallery .products-imagescover .slick-dots {
    display: flex !important;
  }

  .mh-p__buy {
    margin-top: 20px;
  }

  .mh-p__body {
    margin-top: 36px;
  }

  .mh-p-nav {
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 16px;
  }

  .mh-specs {
    grid-template-columns: minmax(0, 1fr);
  }

  .mh-rev {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .mh-rev-summary {
    position: static;
  }

  .mh-p__body .mh-rail__track,
  .mh-rail__track {
    grid-auto-columns: calc((100% - 16px) / 2.3);
  }
}

@media (max-width: 575.98px) {
  /* Edge-to-edge gallery */
  .mh-p__gallery {
    margin: 0 -16px 18px;
  }

  .mh-gallery .products-imagescover {
    border-radius: 0;
  }

  .mh-product h1.mh-p__title {
    font-size: 22px !important;
  }

  .mh-p__sub {
    margin-bottom: 18px;
    padding-bottom: 16px;
  }

  .mh-buy {
    padding: 18px 16px;
  }

  .mh-price__main {
    font-size: 32px;
  }

  .mh-atc__qty {
    flex-basis: 100px;
    width: 100px;
    height: 52px;
  }

  .mh-atc__qty .bootstrap-touchspin {
    height: 52px;
  }

  .mh-buy .btn-add-to-cart {
    height: 52px !important;
    font-size: 15px !important;
  }

  .mh-p-sec {
    padding: 34px 0;
  }

  .mh-p-sec__title,
  .mh-product h2.mh-p-sec__title,
  .mh-qa-head__title,
  .mh-rev-head__title,
  .mh-product .product-description h2 {
    font-size: 21px !important;
  }

  .mh-product .mh-qa-ask,
  .mh-product .mh-rev-write {
    width: 100%;
    justify-content: center;
  }

  .mh-specs__row {
    gap: 10px;
    padding: 10px 0;
  }

  .mh-specs dt,
  .mh-specs dd {
    font-size: 13.5px;
  }

  .mh-docs {
    grid-template-columns: minmax(0, 1fr);
  }

  .mh-product .mh-acc {
    grid-template-columns: minmax(0, 1fr);
  }

  .mh-acc .mh-pcard {
    grid-template-columns: 80px minmax(0, 1fr) auto;
  }

  .mh-acc .mh-pcard .mh-pcard__media {
    width: 80px;
    height: 80px;
  }

  .mh-rail__nav {
    display: none;
  }

  .mh-p__body .mh-rail__track,
  .mh-rail__track {
    grid-auto-columns: 72%;
    margin: 0 -16px;
    padding: 4px 16px 12px;
    scroll-padding: 0 16px;
  }

  .mh-p-bar__img {
    display: none;
  }

  .mh-p-bar__btn {
    height: 46px;
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mh-p-bar {
    transition: none;
  }
}

/* ================================================================== */
/* v4: thumbnails without the theme frame                             */
/* ================================================================== */
.mh-gallery .product-thumbs .product-thumb,
.mh-gallery .product-thumbs .product-thumb.slick-current,
.mh-gallery .product-thumbs .product-thumb.slick-active {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ================================================================== */
/* Folded bands: questions + reviews (closed by default)              */
/* ================================================================== */
.mh-p-sec--qa {
  padding: 48px 0 0 !important;
  border-bottom: 0 !important;
}

.mh-product #product-comments-list-header.mh-fold,
.mh-product #kixproductquestions.mh-fold {
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid var(--mh-line) !important;
  border-radius: 20px !important;
}

.mh-product #product-comments-list-header.mh-fold {
  margin: 16px 0 0 !important;
}

.mh-fold {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--mh-line) !important;
  border-radius: 20px !important;
  transition: box-shadow 0.2s ease;
}

.mh-fold.is-open {
  box-shadow: var(--mh-shadow);
}

.mh-band {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 10px;
}

.mh-band__h {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  text-transform: none !important;
}

.mh-band__h::after {
  content: none !important;
}

.mh-band__toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  font-family: inherit;
  text-align: left;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.mh-band__toggle:hover {
  background: var(--mh-soft);
}

.mh-band__icon,
.mh-band__score {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: var(--mh-navy);
  background: var(--mh-soft);
  border-radius: 16px;
}

.mh-band__score {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--mh-navy);
}

.mh-band__txt {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mh-band__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--mh-navy);
}

.mh-band__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mh-muted);
}

.mh-band__meta strong {
  font-weight: 800;
  color: var(--mh-navy);
}

.mh-band__chev {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--mh-soft);
  border-radius: 50%;
}

.mh-band__chev::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid var(--mh-navy);
  border-bottom: 2px solid var(--mh-navy);
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin 0.2s ease;
}

.mh-fold.is-open .mh-band__chev::before {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.mh-band .mh-qa-ask,
.mh-band .mh-rev-write {
  flex: 0 0 auto;
}

.mh-fold__panel {
  display: none;
  padding: 0 24px 8px;
  border-top: 1px solid var(--mh-line);
}

.mh-fold.is-open .mh-fold__panel {
  display: block;
}

.mh-fold .mh-qa-list {
  border-top: 0;
}

.mh-fold .mh-qa:last-child {
  border-bottom: 0 !important;
}

.mh-fold .mh-pages {
  margin: 4px 0 20px;
}

.mh-fold .mh-rev {
  padding: 24px 0 16px;
}

.mh-fold .mh-rev-list {
  border-top: 0 !important;
}

.mh-fold .mh-qa-empty {
  margin: 20px 0;
}

/* ================================================================== */
/* Fullscreen photo viewer (mh-product-gallery.tpl)                   */
/* ================================================================== */
html.mh-zoom-on,
html.mh-zoom-on body {
  overflow: hidden;
}

.mh-zoom {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #fff;
}

.mh-zoom.is-open {
  display: grid;
  animation: mh-zoom-in 0.18s ease;
}

@keyframes mh-zoom-in {
  from {
    opacity: 0;
  }
}

.mh-zoom__stage {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 56px 0 16px;
  overflow: hidden;
  cursor: zoom-out;
}

.mh-zoom__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.25s ease;
  user-select: none;
}

.mh-zoom__stage.is-zoomed img {
  transform: scale(2.2);
  cursor: zoom-out;
}

.mh-zoom__close,
.mh-zoom__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--mh-navy);
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(12, 25, 58, 0.08);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mh-zoom__close:hover,
.mh-zoom__nav:hover {
  background: var(--mh-soft);
  border-color: var(--mh-line-2);
}

.mh-zoom__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.mh-zoom__nav {
  align-self: center;
  justify-self: center;
  grid-row: 1;
}

.mh-zoom__nav--prev {
  grid-column: 1;
}

.mh-zoom__nav--next {
  grid-column: 3;
}

.mh-zoom.is-single .mh-zoom__nav,
.mh-zoom.is-single .mh-zoom__thumbs {
  display: none;
}

.mh-zoom__bar {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 16px 18px;
}

.mh-zoom__count {
  font-size: 13px;
  font-weight: 700;
  color: var(--mh-muted);
}

.mh-zoom__thumbs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mh-zoom__thumbs button {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 6px;
  background: var(--mh-media);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
}

.mh-zoom__thumbs button:hover {
  opacity: 1;
}

.mh-zoom__thumbs button.is-active {
  opacity: 1;
  box-shadow: inset 0 0 0 2px var(--mh-navy);
}

.mh-zoom__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 767.98px) {
  .mh-zoom {
    grid-template-columns: 0 minmax(0, 1fr) 0;
  }

  .mh-zoom__nav {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }

  .mh-zoom__nav--prev {
    left: 8px;
  }

  .mh-zoom__nav--next {
    right: 8px;
  }

  .mh-zoom__thumbs button {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 575.98px) {
  .mh-band {
    flex-wrap: wrap;
    padding: 8px 8px 14px;
  }

  .mh-band__toggle {
    gap: 12px;
    padding: 8px;
  }

  .mh-band__icon,
  .mh-band__score {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .mh-band__title {
    font-size: 17px;
  }

  .mh-band__meta {
    font-size: 13px;
  }

  .mh-band .mh-qa-ask,
  .mh-band .mh-rev-write {
    width: calc(100% - 16px);
    margin: 0 8px !important;
  }

  .mh-fold__panel {
    padding: 0 16px 8px;
  }
}

/* Counters in the folded bands: plain figures (the modules style .questions-count / .comments-count) */
.mh-band__meta strong.questions-count,
.mh-band__meta strong.comments-count {
  display: inline !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: var(--mh-navy) !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}
